@ansible/ansible-ui-framework 2.4.590 → 2.4.592

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,467 @@
1
+ (function(){"use strict";function lg(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in e)){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(e)}class cg{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?la.isErrorNoTelemetry(t)?new la(t.message+`
2
+
3
+ `+t.stack):new Error(t.message+`
4
+
5
+ `+t.stack):t},0)}}emit(t){this.listeners.forEach(n=>{n(t)})}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}}const fg=new cg;function gp(e){pg(e)||fg.onUnexpectedError(e)}function yp(e){if(e instanceof Error){const{name:t,message:n}=e,r=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:r,noTelemetry:la.isErrorNoTelemetry(e)}}return e}const kl="Canceled";function pg(e){return e instanceof dg?!0:e instanceof Error&&e.name===kl&&e.message===kl}class dg extends Error{constructor(){super(kl),this.name=this.message}}class la extends Error{constructor(t){super(t),this.name="CodeExpectedError"}static fromError(t){if(t instanceof la)return t;const n=new la;return n.message=t.message,n.stack=t.stack,n}static isErrorNoTelemetry(t){return t.name==="CodeExpectedError"}}class vs extends Error{constructor(t){super(t||"An unexpected bug occurred."),Object.setPrototypeOf(this,vs.prototype)}}function hg(e){const t=this;let n=!1,r;return function(){return n||(n=!0,r=e.apply(t,arguments)),r}}var zo;(function(e){function t(ve){return ve&&typeof ve=="object"&&typeof ve[Symbol.iterator]=="function"}e.is=t;const n=Object.freeze([]);function r(){return n}e.empty=r;function*i(ve){yield ve}e.single=i;function s(ve){return t(ve)?ve:i(ve)}e.wrap=s;function a(ve){return ve||n}e.from=a;function*o(ve){for(let we=ve.length-1;we>=0;we--)yield ve[we]}e.reverse=o;function u(ve){return!ve||ve[Symbol.iterator]().next().done===!0}e.isEmpty=u;function l(ve){return ve[Symbol.iterator]().next().value}e.first=l;function v(ve,we){for(const Le of ve)if(we(Le))return!0;return!1}e.some=v;function c(ve,we){for(const Le of ve)if(we(Le))return Le}e.find=c;function*_(ve,we){for(const Le of ve)we(Le)&&(yield Le)}e.filter=_;function*S(ve,we){let Le=0;for(const ae of ve)yield we(ae,Le++)}e.map=S;function*Q(...ve){for(const we of ve)for(const Le of we)yield Le}e.concat=Q;function Z(ve,we,Le){let ae=Le;for(const Ee of ve)ae=we(ae,Ee);return ae}e.reduce=Z;function*M(ve,we,Le=ve.length){for(we<0&&(we+=ve.length),Le<0?Le+=ve.length:Le>ve.length&&(Le=ve.length);we<Le;we++)yield ve[we]}e.slice=M;function he(ve,we=Number.POSITIVE_INFINITY){const Le=[];if(we===0)return[Le,ve];const ae=ve[Symbol.iterator]();for(let Ee=0;Ee<we;Ee++){const He=ae.next();if(He.done)return[Le,e.empty()];Le.push(He.value)}return[Le,{[Symbol.iterator](){return ae}}]}e.consume=he})(zo||(zo={}));function dA(e){return e}function hA(e,t){}function Dp(e){if(zo.is(e)){const t=[];for(const n of e)if(n)try{n.dispose()}catch(r){t.push(r)}if(t.length===1)throw t[0];if(t.length>1)throw new AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}else if(e)return e.dispose(),e}function mg(...e){return ao(()=>Dp(e))}function ao(e){return{dispose:hg(()=>{e()})}}class ca{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{Dp(this._toDispose)}finally{this._toDispose.clear()}}add(t){if(!t)return t;if(t===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?ca.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(t),t}deleteAndLeak(t){t&&this._toDispose.has(t)&&this._toDispose.delete(t)}}ca.DISABLE_DISPOSED_WARNING=!1;class oo{constructor(){this._store=new ca,this._store}dispose(){this._store.dispose()}_register(t){if(t===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(t)}}oo.None=Object.freeze({dispose(){}});class Er{constructor(t){this.element=t,this.next=Er.Undefined,this.prev=Er.Undefined}}Er.Undefined=new Er(void 0);class gg{constructor(){this._first=Er.Undefined,this._last=Er.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Er.Undefined}clear(){let t=this._first;for(;t!==Er.Undefined;){const n=t.next;t.prev=Er.Undefined,t.next=Er.Undefined,t=n}this._first=Er.Undefined,this._last=Er.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,n){const r=new Er(t);if(this._first===Er.Undefined)this._first=r,this._last=r;else if(n){const s=this._last;this._last=r,r.prev=s,s.next=r}else{const s=this._first;this._first=r,r.next=s,s.prev=r}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(r))}}shift(){if(this._first!==Er.Undefined){const t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==Er.Undefined){const t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==Er.Undefined&&t.next!==Er.Undefined){const n=t.prev;n.next=t.next,t.next.prev=n}else t.prev===Er.Undefined&&t.next===Er.Undefined?(this._first=Er.Undefined,this._last=Er.Undefined):t.next===Er.Undefined?(this._last=this._last.prev,this._last.next=Er.Undefined):t.prev===Er.Undefined&&(this._first=this._first.next,this._first.prev=Er.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==Er.Undefined;)yield t.element,t=t.next}}const yg=globalThis.performance&&typeof globalThis.performance.now=="function";class Qo{static create(t){return new Qo(t)}constructor(t){this._now=yg&&t===!1?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}}var Pl;(function(e){e.None=()=>oo.None;function t(qe,Ft){return c(qe,()=>{},0,void 0,!0,void 0,Ft)}e.defer=t;function n(qe){return(Ft,qt=null,tn)=>{let Dt=!1,At;return At=qe(Pt=>{if(!Dt)return At?At.dispose():Dt=!0,Ft.call(qt,Pt)},null,tn),Dt&&At.dispose(),At}}e.once=n;function r(qe,Ft,qt){return l((tn,Dt=null,At)=>qe(Pt=>tn.call(Dt,Ft(Pt)),null,At),qt)}e.map=r;function i(qe,Ft,qt){return l((tn,Dt=null,At)=>qe(Pt=>{Ft(Pt),tn.call(Dt,Pt)},null,At),qt)}e.forEach=i;function s(qe,Ft,qt){return l((tn,Dt=null,At)=>qe(Pt=>Ft(Pt)&&tn.call(Dt,Pt),null,At),qt)}e.filter=s;function a(qe){return qe}e.signal=a;function o(...qe){return(Ft,qt=null,tn)=>{const Dt=mg(...qe.map(At=>At(Pt=>Ft.call(qt,Pt))));return v(Dt,tn)}}e.any=o;function u(qe,Ft,qt,tn){let Dt=qt;return r(qe,At=>(Dt=Ft(Dt,At),Dt),tn)}e.reduce=u;function l(qe,Ft){let qt;const tn={onWillAddFirstListener(){qt=qe(Dt.fire,Dt)},onDidRemoveLastListener(){qt==null||qt.dispose()}},Dt=new Ri(tn);return Ft==null||Ft.add(Dt),Dt.event}function v(qe,Ft){return Ft instanceof Array?Ft.push(qe):Ft&&Ft.add(qe),qe}function c(qe,Ft,qt=100,tn=!1,Dt=!1,At,Pt){let Kt,Cn,On,Pn=0,Lr;const Zr={leakWarningThreshold:At,onWillAddFirstListener(){Kt=qe(Hi=>{Pn++,Cn=Ft(Cn,Hi),tn&&!On&&(Yr.fire(Cn),Cn=void 0),Lr=()=>{const di=Cn;Cn=void 0,On=void 0,(!tn||Pn>1)&&Yr.fire(di),Pn=0},typeof qt=="number"?(clearTimeout(On),On=setTimeout(Lr,qt)):On===void 0&&(On=0,queueMicrotask(Lr))})},onWillRemoveListener(){Dt&&Pn>0&&(Lr==null||Lr())},onDidRemoveLastListener(){Lr=void 0,Kt.dispose()}},Yr=new Ri(Zr);return Pt==null||Pt.add(Yr),Yr.event}e.debounce=c;function _(qe,Ft=0,qt){return e.debounce(qe,(tn,Dt)=>tn?(tn.push(Dt),tn):[Dt],Ft,void 0,!0,void 0,qt)}e.accumulate=_;function S(qe,Ft=(tn,Dt)=>tn===Dt,qt){let tn=!0,Dt;return s(qe,At=>{const Pt=tn||!Ft(At,Dt);return tn=!1,Dt=At,Pt},qt)}e.latch=S;function Q(qe,Ft,qt){return[e.filter(qe,Ft,qt),e.filter(qe,tn=>!Ft(tn),qt)]}e.split=Q;function Z(qe,Ft=!1,qt=[],tn){let Dt=qt.slice(),At=qe(Cn=>{Dt?Dt.push(Cn):Kt.fire(Cn)});tn&&tn.add(At);const Pt=()=>{Dt==null||Dt.forEach(Cn=>Kt.fire(Cn)),Dt=null},Kt=new Ri({onWillAddFirstListener(){At||(At=qe(Cn=>Kt.fire(Cn)),tn&&tn.add(At))},onDidAddFirstListener(){Dt&&(Ft?setTimeout(Pt):Pt())},onDidRemoveLastListener(){At&&At.dispose(),At=null}});return tn&&tn.add(Kt),Kt.event}e.buffer=Z;function M(qe,Ft){return(tn,Dt,At)=>{const Pt=Ft(new ve);return qe(function(Kt){const Cn=Pt.evaluate(Kt);Cn!==he&&tn.call(Dt,Cn)},void 0,At)}}e.chain=M;const he=Symbol("HaltChainable");class ve{constructor(){this.steps=[]}map(Ft){return this.steps.push(Ft),this}forEach(Ft){return this.steps.push(qt=>(Ft(qt),qt)),this}filter(Ft){return this.steps.push(qt=>Ft(qt)?qt:he),this}reduce(Ft,qt){let tn=qt;return this.steps.push(Dt=>(tn=Ft(tn,Dt),tn)),this}latch(Ft=(qt,tn)=>qt===tn){let qt=!0,tn;return this.steps.push(Dt=>{const At=qt||!Ft(Dt,tn);return qt=!1,tn=Dt,At?Dt:he}),this}evaluate(Ft){for(const qt of this.steps)if(Ft=qt(Ft),Ft===he)break;return Ft}}function we(qe,Ft,qt=tn=>tn){const tn=(...Kt)=>Pt.fire(qt(...Kt)),Dt=()=>qe.on(Ft,tn),At=()=>qe.removeListener(Ft,tn),Pt=new Ri({onWillAddFirstListener:Dt,onDidRemoveLastListener:At});return Pt.event}e.fromNodeEventEmitter=we;function Le(qe,Ft,qt=tn=>tn){const tn=(...Kt)=>Pt.fire(qt(...Kt)),Dt=()=>qe.addEventListener(Ft,tn),At=()=>qe.removeEventListener(Ft,tn),Pt=new Ri({onWillAddFirstListener:Dt,onDidRemoveLastListener:At});return Pt.event}e.fromDOMEventEmitter=Le;function ae(qe){return new Promise(Ft=>n(qe)(Ft))}e.toPromise=ae;function Ee(qe){const Ft=new Ri;return qe.then(qt=>{Ft.fire(qt)},()=>{Ft.fire(void 0)}).finally(()=>{Ft.dispose()}),Ft.event}e.fromPromise=Ee;function He(qe,Ft){return Ft(void 0),qe(qt=>Ft(qt))}e.runAndSubscribe=He;function Et(qe,Ft){let qt=null;function tn(At){qt==null||qt.dispose(),qt=new ca,Ft(At,qt)}tn(void 0);const Dt=qe(At=>tn(At));return ao(()=>{Dt.dispose(),qt==null||qt.dispose()})}e.runAndSubscribeWithStore=Et;class $e{constructor(Ft,qt){this._observable=Ft,this._counter=0,this._hasChanged=!1;const tn={onWillAddFirstListener:()=>{Ft.addObserver(this)},onDidRemoveLastListener:()=>{Ft.removeObserver(this)}};this.emitter=new Ri(tn),qt&&qt.add(this.emitter)}beginUpdate(Ft){this._counter++}handlePossibleChange(Ft){}handleChange(Ft,qt){this._hasChanged=!0}endUpdate(Ft){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function ze(qe,Ft){return new $e(qe,Ft).emitter.event}e.fromObservable=ze;function _t(qe){return Ft=>{let qt=0,tn=!1;const Dt={beginUpdate(){qt++},endUpdate(){qt--,qt===0&&(qe.reportChanges(),tn&&(tn=!1,Ft()))},handlePossibleChange(){},handleChange(){tn=!0}};return qe.addObserver(Dt),qe.reportChanges(),{dispose(){qe.removeObserver(Dt)}}}}e.fromObservableLight=_t})(Pl||(Pl={}));class fa{constructor(t){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${t}_${fa._idPool++}`,fa.all.add(this)}start(t){this._stopWatch=new Qo,this.listenerCount=t}stop(){if(this._stopWatch){const t=this._stopWatch.elapsed();this.durations.push(t),this.elapsedOverall+=t,this.invocationCount+=1,this._stopWatch=void 0}}}fa.all=new Set,fa._idPool=0;let Dg=-1;class bg{constructor(t,n=Math.random().toString(18).slice(2,5)){this.threshold=t,this.name=n,this._warnCountdown=0}dispose(){var t;(t=this._stacks)===null||t===void 0||t.clear()}check(t,n){const r=this.threshold;if(r<=0||n<r)return;this._stacks||(this._stacks=new Map);const i=this._stacks.get(t.value)||0;if(this._stacks.set(t.value,i+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=r*.5;let s,a=0;for(const[o,u]of this._stacks)(!s||a<u)&&(s=o,a=u);console.warn(`[${this.name}] potential listener LEAK detected, having ${n} listeners already. MOST frequent listener (${a}):`),console.warn(s)}return()=>{const s=this._stacks.get(t.value)||0;this._stacks.set(t.value,s-1)}}}class Bl{static create(){var t;return new Bl((t=new Error().stack)!==null&&t!==void 0?t:"")}constructor(t){this.value=t}print(){console.warn(this.value.split(`
6
+ `).slice(2).join(`
7
+ `))}}class Ml{constructor(t){this.value=t}}const vg=2;class Ri{constructor(t){var n,r,i,s,a;this._size=0,this._options=t,this._leakageMon=!((n=this._options)===null||n===void 0)&&n.leakWarningThreshold?new bg((i=(r=this._options)===null||r===void 0?void 0:r.leakWarningThreshold)!==null&&i!==void 0?i:Dg):void 0,this._perfMon=!((s=this._options)===null||s===void 0)&&s._profName?new fa(this._options._profName):void 0,this._deliveryQueue=(a=this._options)===null||a===void 0?void 0:a.deliveryQueue}dispose(){var t,n,r,i;this._disposed||(this._disposed=!0,((t=this._deliveryQueue)===null||t===void 0?void 0:t.current)===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),(r=(n=this._options)===null||n===void 0?void 0:n.onDidRemoveLastListener)===null||r===void 0||r.call(n),(i=this._leakageMon)===null||i===void 0||i.dispose())}get event(){var t;return(t=this._event)!==null&&t!==void 0||(this._event=(n,r,i)=>{var s,a,o,u,l;if(this._leakageMon&&this._size>this._leakageMon.threshold*3)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),oo.None;if(this._disposed)return oo.None;r&&(n=n.bind(r));const v=new Ml(n);let c;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(v.stack=Bl.create(),c=this._leakageMon.check(v.stack,this._size+1)),this._listeners?this._listeners instanceof Ml?((l=this._deliveryQueue)!==null&&l!==void 0||(this._deliveryQueue=new Eg),this._listeners=[this._listeners,v]):this._listeners.push(v):((a=(s=this._options)===null||s===void 0?void 0:s.onWillAddFirstListener)===null||a===void 0||a.call(s,this),this._listeners=v,(u=(o=this._options)===null||o===void 0?void 0:o.onDidAddFirstListener)===null||u===void 0||u.call(o,this)),this._size++;const _=ao(()=>{c==null||c(),this._removeListener(v)});return i instanceof ca?i.add(_):Array.isArray(i)&&i.push(_),_}),this._event}_removeListener(t){var n,r,i,s;if((r=(n=this._options)===null||n===void 0?void 0:n.onWillRemoveListener)===null||r===void 0||r.call(n,this),!this._listeners)return;if(this._size===1){this._listeners=void 0,(s=(i=this._options)===null||i===void 0?void 0:i.onDidRemoveLastListener)===null||s===void 0||s.call(i,this),this._size=0;return}const a=this._listeners,o=a.indexOf(t);if(o===-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--,a[o]=void 0;const u=this._deliveryQueue.current===this;if(this._size*vg<=a.length){let l=0;for(let v=0;v<a.length;v++)a[v]?a[l++]=a[v]:u&&(this._deliveryQueue.end--,l<this._deliveryQueue.i&&this._deliveryQueue.i--);a.length=l}}_deliver(t,n){var r;if(!t)return;const i=((r=this._options)===null||r===void 0?void 0:r.onListenerError)||gp;if(!i){t.value(n);return}try{t.value(n)}catch(s){i(s)}}_deliverQueue(t){const n=t.current._listeners;for(;t.i<t.end;)this._deliver(n[t.i++],t.value);t.reset()}fire(t){var n,r,i,s;if(!((n=this._deliveryQueue)===null||n===void 0)&&n.current&&(this._deliverQueue(this._deliveryQueue),(r=this._perfMon)===null||r===void 0||r.stop()),(i=this._perfMon)===null||i===void 0||i.start(this._size),this._listeners)if(this._listeners instanceof Ml)this._deliver(this._listeners,t);else{const a=this._deliveryQueue;a.enqueue(this,t,this._listeners.length),this._deliverQueue(a)}(s=this._perfMon)===null||s===void 0||s.stop()}hasListeners(){return this._size>0}}class Eg{constructor(){this.i=-1,this.end=0}enqueue(t,n,r){this.i=0,this.end=r,this.current=t,this.value=n}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}function Ag(e){return typeof e=="string"}function Cg(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}function Il(e){const t=[];for(const n of Cg(e))typeof e[n]=="function"&&t.push(n);return t}function xg(e,t){const n=i=>function(){const s=Array.prototype.slice.call(arguments,0);return t(i,s)},r={};for(const i of e)r[i]=n(i);return r}let Sg=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function wg(e,t){let n;return t.length===0?n=e:n=e.replace(/\{(\d+)\}/g,(r,i)=>{const s=i[0],a=t[s];let o=r;return typeof a=="string"?o=a:(typeof a=="number"||typeof a=="boolean"||a===void 0||a===null)&&(o=String(a)),o}),Sg&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function Ar(e,t,...n){return wg(t,n)}function mA(e){}var Ol;const pa="en";let jl=!1,Rl=!1,$l=!1,bp=!1,Xo,Vl=pa,vp=pa,Fg,$i;const Vi=typeof self=="object"?self:typeof global=="object"?global:{};let ti;typeof Vi.vscode<"u"&&typeof Vi.vscode.process<"u"?ti=Vi.vscode.process:typeof process<"u"&&(ti=process);const Ng=typeof((Ol=ti==null?void 0:ti.versions)===null||Ol===void 0?void 0:Ol.electron)=="string"&&(ti==null?void 0:ti.type)==="renderer";if(typeof navigator=="object"&&!Ng)$i=navigator.userAgent,jl=$i.indexOf("Windows")>=0,Rl=$i.indexOf("Macintosh")>=0,($i.indexOf("Macintosh")>=0||$i.indexOf("iPad")>=0||$i.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>0,$l=$i.indexOf("Linux")>=0,($i==null?void 0:$i.indexOf("Mobi"))>=0,bp=!0,Ar({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),Xo=pa,Vl=Xo,vp=navigator.language;else if(typeof ti=="object"){jl=ti.platform==="win32",Rl=ti.platform==="darwin",$l=ti.platform==="linux",$l&&ti.env.SNAP&&ti.env.SNAP_REVISION,ti.env.CI||ti.env.BUILD_ARTIFACTSTAGINGDIRECTORY,Xo=pa,Vl=pa;const e=ti.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),n=t.availableLanguages["*"];Xo=t.locale,vp=t.osLocale,Vl=n||pa,Fg=t._translationsConfigFile}catch{}}else console.error("Unable to resolve platform.");const uo=jl,_g=Rl;bp&&Vi.importScripts;const Ki=$i,Tg=typeof Vi.postMessage=="function"&&!Vi.importScripts;(()=>{if(Tg){const e=[];Vi.addEventListener("message",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let r=0,i=e.length;r<i;r++){const s=e[r];if(s.id===n.data.vscodeScheduleAsyncWork){e.splice(r,1),s.callback();return}}});let t=0;return n=>{const r=++t;e.push({id:r,callback:n}),Vi.postMessage({vscodeScheduleAsyncWork:r},"*")}}return e=>setTimeout(e)})();const Lg=!!(Ki&&Ki.indexOf("Chrome")>=0);Ki&&Ki.indexOf("Firefox")>=0,!Lg&&Ki&&Ki.indexOf("Safari")>=0,Ki&&Ki.indexOf("Edg/")>=0,Ki&&Ki.indexOf("Android")>=0;class kg{constructor(t){this.fn=t,this.lastCache=void 0,this.lastArgKey=void 0}get(t){const n=JSON.stringify(t);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this.fn(t)),this.lastCache}}class Ep{constructor(t){this.executor=t,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(t){this._error=t}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var da;function Pg(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Bg(e){return e.split(/\r\n|\r|\n/)}function Mg(e){for(let t=0,n=e.length;t<n;t++){const r=e.charCodeAt(t);if(r!==32&&r!==9)return t}return-1}function Ig(e,t=e.length-1){for(let n=t;n>=0;n--){const r=e.charCodeAt(n);if(r!==32&&r!==9)return n}return-1}function Ap(e){return e>=65&&e<=90}function ql(e){return 55296<=e&&e<=56319}function Og(e){return 56320<=e&&e<=57343}function jg(e,t){return(e-55296<<10)+(t-56320)+65536}function Rg(e,t,n){const r=e.charCodeAt(n);if(ql(r)&&n+1<t){const i=e.charCodeAt(n+1);if(Og(i))return jg(r,i)}return r}const $g=/^[\t\n\r\x20-\x7E]*$/;function Vg(e){return $g.test(e)}class $s{static getInstance(t){return da.cache.get(Array.from(t))}static getLocales(){return da._locales.value}constructor(t){this.confusableDictionary=t}isAmbiguous(t){return this.confusableDictionary.has(t)}getPrimaryConfusable(t){return this.confusableDictionary.get(t)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}da=$s,$s.ambiguousCharacterData=new Ep(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),$s.cache=new kg(e=>{function t(l){const v=new Map;for(let c=0;c<l.length;c+=2)v.set(l[c],l[c+1]);return v}function n(l,v){const c=new Map(l);for(const[_,S]of v)c.set(_,S);return c}function r(l,v){if(!l)return v;const c=new Map;for(const[_,S]of l)v.has(_)&&c.set(_,S);return c}const i=da.ambiguousCharacterData.value;let s=e.filter(l=>!l.startsWith("_")&&l in i);s.length===0&&(s=["_default"]);let a;for(const l of s){const v=t(i[l]);a=r(a,v)}const o=t(i._common),u=n(o,a);return new da(u)}),$s._locales=new Ep(()=>Object.keys(da.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class Es{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(Es.getRawData())),this._data}static isInvisibleCharacter(t){return Es.getData().has(t)}static get codePoints(){return Es.getData()}}Es._data=void 0;const qg="$initialize";class Ug{constructor(t,n,r,i){this.vsWorker=t,this.req=n,this.method=r,this.args=i,this.type=0}}class Cp{constructor(t,n,r,i){this.vsWorker=t,this.seq=n,this.res=r,this.err=i,this.type=1}}class Wg{constructor(t,n,r,i){this.vsWorker=t,this.req=n,this.eventName=r,this.arg=i,this.type=2}}class Gg{constructor(t,n,r){this.vsWorker=t,this.req=n,this.event=r,this.type=3}}class Jg{constructor(t,n){this.vsWorker=t,this.req=n,this.type=4}}class Yg{constructor(t){this._workerId=-1,this._handler=t,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(t){this._workerId=t}sendMessage(t,n){const r=String(++this._lastSentReq);return new Promise((i,s)=>{this._pendingReplies[r]={resolve:i,reject:s},this._send(new Ug(this._workerId,r,t,n))})}listen(t,n){let r=null;const i=new Ri({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,i),this._send(new Wg(this._workerId,r,t,n))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new Jg(this._workerId,r)),r=null}});return i.event}handleMessage(t){!t||!t.vsWorker||this._workerId!==-1&&t.vsWorker!==this._workerId||this._handleMessage(t)}_handleMessage(t){switch(t.type){case 1:return this._handleReplyMessage(t);case 0:return this._handleRequestMessage(t);case 2:return this._handleSubscribeEventMessage(t);case 3:return this._handleEventMessage(t);case 4:return this._handleUnsubscribeEventMessage(t)}}_handleReplyMessage(t){if(!this._pendingReplies[t.seq]){console.warn("Got reply to unknown seq");return}const n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let r=t.err;t.err.$isError&&(r=new Error,r.name=t.err.name,r.message=t.err.message,r.stack=t.err.stack),n.reject(r);return}n.resolve(t.res)}_handleRequestMessage(t){const n=t.req;this._handler.handleMessage(t.method,t.args).then(i=>{this._send(new Cp(this._workerId,n,i,void 0))},i=>{i.detail instanceof Error&&(i.detail=yp(i.detail)),this._send(new Cp(this._workerId,n,void 0,yp(i)))})}_handleSubscribeEventMessage(t){const n=t.req,r=this._handler.handleEvent(t.eventName,t.arg)(i=>{this._send(new Gg(this._workerId,n,i))});this._pendingEvents.set(n,r)}_handleEventMessage(t){if(!this._pendingEmitters.has(t.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(t.req).fire(t.event)}_handleUnsubscribeEventMessage(t){if(!this._pendingEvents.has(t.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(t.req).dispose(),this._pendingEvents.delete(t.req)}_send(t){const n=[];if(t.type===0)for(let r=0;r<t.args.length;r++)t.args[r]instanceof ArrayBuffer&&n.push(t.args[r]);else t.type===1&&t.res instanceof ArrayBuffer&&n.push(t.res);this._handler.sendMessage(t,n)}}function xp(e){return e[0]==="o"&&e[1]==="n"&&Ap(e.charCodeAt(2))}function Sp(e){return/^onDynamic/.test(e)&&Ap(e.charCodeAt(9))}function Hg(e,t,n){const r=a=>function(){const o=Array.prototype.slice.call(arguments,0);return t(a,o)},i=a=>function(o){return n(a,o)},s={};for(const a of e){if(Sp(a)){s[a]=i(a);continue}if(xp(a)){s[a]=n(a,void 0);continue}s[a]=r(a)}return s}class zg{constructor(t,n){this._requestHandlerFactory=n,this._requestHandler=null,this._protocol=new Yg({sendMessage:(r,i)=>{t(r,i)},handleMessage:(r,i)=>this._handleMessage(r,i),handleEvent:(r,i)=>this._handleEvent(r,i)})}onmessage(t){this._protocol.handleMessage(t)}_handleMessage(t,n){if(t===qg)return this.initialize(n[0],n[1],n[2],n[3]);if(!this._requestHandler||typeof this._requestHandler[t]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+t));try{return Promise.resolve(this._requestHandler[t].apply(this._requestHandler,n))}catch(r){return Promise.reject(r)}}_handleEvent(t,n){if(!this._requestHandler)throw new Error("Missing requestHandler");if(Sp(t)){const r=this._requestHandler[t].call(this._requestHandler,n);if(typeof r!="function")throw new Error(`Missing dynamic event ${t} on request handler.`);return r}if(xp(t)){const r=this._requestHandler[t];if(typeof r!="function")throw new Error(`Missing event ${t} on request handler.`);return r}throw new Error(`Malformed event name ${t}`)}initialize(t,n,r,i){this._protocol.setWorkerId(t);const o=Hg(i,(u,l)=>this._protocol.sendMessage(u,l),(u,l)=>this._protocol.listen(u,l));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(o),Promise.resolve(Il(this._requestHandler))):(n&&(typeof n.baseUrl<"u"&&delete n.baseUrl,typeof n.paths<"u"&&typeof n.paths.vs<"u"&&delete n.paths.vs,typeof n.trustedTypesPolicy!==void 0&&delete n.trustedTypesPolicy,n.catchError=!0,globalThis.require.config(n)),new Promise((u,l)=>{const v=globalThis.require;v([r],c=>{if(this._requestHandler=c.create(o),!this._requestHandler){l(new Error("No RequestHandler!"));return}u(Il(this._requestHandler))},l)}))}}class As{constructor(t,n,r,i){this.originalStart=t,this.originalLength=n,this.modifiedStart=r,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function wp(e,t){return(t<<5)-t+e|0}function Qg(e,t){t=wp(149417,t);for(let n=0,r=e.length;n<r;n++)t=wp(e.charCodeAt(n),t);return t}class Fp{constructor(t){this.source=t}getElements(){const t=this.source,n=new Int32Array(t.length);for(let r=0,i=t.length;r<i;r++)n[r]=t.charCodeAt(r);return n}}function Xg(e,t,n){return new Cs(new Fp(e),new Fp(t)).ComputeDiff(n).changes}class ha{static Assert(t,n){if(!t)throw new Error(n)}}class ma{static Copy(t,n,r,i,s){for(let a=0;a<s;a++)r[i+a]=t[n+a]}static Copy2(t,n,r,i,s){for(let a=0;a<s;a++)r[i+a]=t[n+a]}}class Np{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 As(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(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class Cs{constructor(t,n,r=null){this.ContinueProcessingPredicate=r,this._originalSequence=t,this._modifiedSequence=n;const[i,s,a]=Cs._getElements(t),[o,u,l]=Cs._getElements(n);this._hasStrings=a&&l,this._originalStringElements=i,this._originalElementsOrHash=s,this._modifiedStringElements=o,this._modifiedElementsOrHash=u,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(t){return t.length>0&&typeof t[0]=="string"}static _getElements(t){const n=t.getElements();if(Cs._isStringArray(n)){const r=new Int32Array(n.length);for(let i=0,s=n.length;i<s;i++)r[i]=Qg(n[i],0);return[n,r,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]}ElementsAreEqual(t,n){return this._originalElementsOrHash[t]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[t]===this._modifiedStringElements[n]:!0}ElementsAreStrictEqual(t,n){if(!this.ElementsAreEqual(t,n))return!1;const r=Cs._getStrictElement(this._originalSequence,t),i=Cs._getStrictElement(this._modifiedSequence,n);return r===i}static _getStrictElement(t,n){return typeof t.getStrictElement=="function"?t.getStrictElement(n):null}OriginalElementsAreEqual(t,n){return this._originalElementsOrHash[t]!==this._originalElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[t]===this._originalStringElements[n]:!0}ModifiedElementsAreEqual(t,n){return this._modifiedElementsOrHash[t]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._modifiedStringElements[t]===this._modifiedStringElements[n]:!0}ComputeDiff(t){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,t)}_ComputeDiff(t,n,r,i,s){const a=[!1];let o=this.ComputeDiffRecursive(t,n,r,i,a);return s&&(o=this.PrettifyChanges(o)),{quitEarly:a[0],changes:o}}ComputeDiffRecursive(t,n,r,i,s){for(s[0]=!1;t<=n&&r<=i&&this.ElementsAreEqual(t,r);)t++,r++;for(;n>=t&&i>=r&&this.ElementsAreEqual(n,i);)n--,i--;if(t>n||r>i){let c;return r<=i?(ha.Assert(t===n+1,"originalStart should only be one more than originalEnd"),c=[new As(t,0,r,i-r+1)]):t<=n?(ha.Assert(r===i+1,"modifiedStart should only be one more than modifiedEnd"),c=[new As(t,n-t+1,r,0)]):(ha.Assert(t===n+1,"originalStart should only be one more than originalEnd"),ha.Assert(r===i+1,"modifiedStart should only be one more than modifiedEnd"),c=[]),c}const a=[0],o=[0],u=this.ComputeRecursionPoint(t,n,r,i,a,o,s),l=a[0],v=o[0];if(u!==null)return u;if(!s[0]){const c=this.ComputeDiffRecursive(t,l,r,v,s);let _=[];return s[0]?_=[new As(l+1,n-(l+1)+1,v+1,i-(v+1)+1)]:_=this.ComputeDiffRecursive(l+1,n,v+1,i,s),this.ConcatenateChanges(c,_)}return[new As(t,n-t+1,r,i-r+1)]}WALKTRACE(t,n,r,i,s,a,o,u,l,v,c,_,S,Q,Z,M,he,ve){let we=null,Le=null,ae=new Np,Ee=n,He=r,Et=S[0]-M[0]-i,$e=-1073741824,ze=this.m_forwardHistory.length-1;do{const _t=Et+t;_t===Ee||_t<He&&l[_t-1]<l[_t+1]?(c=l[_t+1],Q=c-Et-i,c<$e&&ae.MarkNextChange(),$e=c,ae.AddModifiedElement(c+1,Q),Et=_t+1-t):(c=l[_t-1]+1,Q=c-Et-i,c<$e&&ae.MarkNextChange(),$e=c-1,ae.AddOriginalElement(c,Q+1),Et=_t-1-t),ze>=0&&(l=this.m_forwardHistory[ze],t=l[0],Ee=1,He=l.length-1)}while(--ze>=-1);if(we=ae.getReverseChanges(),ve[0]){let _t=S[0]+1,qe=M[0]+1;if(we!==null&&we.length>0){const Ft=we[we.length-1];_t=Math.max(_t,Ft.getOriginalEnd()),qe=Math.max(qe,Ft.getModifiedEnd())}Le=[new As(_t,_-_t+1,qe,Z-qe+1)]}else{ae=new Np,Ee=a,He=o,Et=S[0]-M[0]-u,$e=1073741824,ze=he?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const _t=Et+s;_t===Ee||_t<He&&v[_t-1]>=v[_t+1]?(c=v[_t+1]-1,Q=c-Et-u,c>$e&&ae.MarkNextChange(),$e=c+1,ae.AddOriginalElement(c+1,Q+1),Et=_t+1-s):(c=v[_t-1],Q=c-Et-u,c>$e&&ae.MarkNextChange(),$e=c,ae.AddModifiedElement(c+1,Q+1),Et=_t-1-s),ze>=0&&(v=this.m_reverseHistory[ze],s=v[0],Ee=1,He=v.length-1)}while(--ze>=-1);Le=ae.getChanges()}return this.ConcatenateChanges(we,Le)}ComputeRecursionPoint(t,n,r,i,s,a,o){let u=0,l=0,v=0,c=0,_=0,S=0;t--,r--,s[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const Q=n-t+(i-r),Z=Q+1,M=new Int32Array(Z),he=new Int32Array(Z),ve=i-r,we=n-t,Le=t-r,ae=n-i,He=(we-ve)%2===0;M[ve]=t,he[we]=n,o[0]=!1;for(let Et=1;Et<=Q/2+1;Et++){let $e=0,ze=0;v=this.ClipDiagonalBound(ve-Et,Et,ve,Z),c=this.ClipDiagonalBound(ve+Et,Et,ve,Z);for(let qe=v;qe<=c;qe+=2){qe===v||qe<c&&M[qe-1]<M[qe+1]?u=M[qe+1]:u=M[qe-1]+1,l=u-(qe-ve)-Le;const Ft=u;for(;u<n&&l<i&&this.ElementsAreEqual(u+1,l+1);)u++,l++;if(M[qe]=u,u+l>$e+ze&&($e=u,ze=l),!He&&Math.abs(qe-we)<=Et-1&&u>=he[qe])return s[0]=u,a[0]=l,Ft<=he[qe]&&1447>0&&Et<=1447+1?this.WALKTRACE(ve,v,c,Le,we,_,S,ae,M,he,u,n,s,l,i,a,He,o):null}const _t=($e-t+(ze-r)-Et)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate($e,_t))return o[0]=!0,s[0]=$e,a[0]=ze,_t>0&&1447>0&&Et<=1447+1?this.WALKTRACE(ve,v,c,Le,we,_,S,ae,M,he,u,n,s,l,i,a,He,o):(t++,r++,[new As(t,n-t+1,r,i-r+1)]);_=this.ClipDiagonalBound(we-Et,Et,we,Z),S=this.ClipDiagonalBound(we+Et,Et,we,Z);for(let qe=_;qe<=S;qe+=2){qe===_||qe<S&&he[qe-1]>=he[qe+1]?u=he[qe+1]-1:u=he[qe-1],l=u-(qe-we)-ae;const Ft=u;for(;u>t&&l>r&&this.ElementsAreEqual(u,l);)u--,l--;if(he[qe]=u,He&&Math.abs(qe-ve)<=Et&&u<=M[qe])return s[0]=u,a[0]=l,Ft>=M[qe]&&1447>0&&Et<=1447+1?this.WALKTRACE(ve,v,c,Le,we,_,S,ae,M,he,u,n,s,l,i,a,He,o):null}if(Et<=1447){let qe=new Int32Array(c-v+2);qe[0]=ve-v+1,ma.Copy2(M,v,qe,1,c-v+1),this.m_forwardHistory.push(qe),qe=new Int32Array(S-_+2),qe[0]=we-_+1,ma.Copy2(he,_,qe,1,S-_+1),this.m_reverseHistory.push(qe)}}return this.WALKTRACE(ve,v,c,Le,we,_,S,ae,M,he,u,n,s,l,i,a,He,o)}PrettifyChanges(t){for(let n=0;n<t.length;n++){const r=t[n],i=n<t.length-1?t[n+1].originalStart:this._originalElementsOrHash.length,s=n<t.length-1?t[n+1].modifiedStart:this._modifiedElementsOrHash.length,a=r.originalLength>0,o=r.modifiedLength>0;for(;r.originalStart+r.originalLength<i&&r.modifiedStart+r.modifiedLength<s&&(!a||this.OriginalElementsAreEqual(r.originalStart,r.originalStart+r.originalLength))&&(!o||this.ModifiedElementsAreEqual(r.modifiedStart,r.modifiedStart+r.modifiedLength));){const l=this.ElementsAreStrictEqual(r.originalStart,r.modifiedStart);if(this.ElementsAreStrictEqual(r.originalStart+r.originalLength,r.modifiedStart+r.modifiedLength)&&!l)break;r.originalStart++,r.modifiedStart++}const u=[null];if(n<t.length-1&&this.ChangesOverlap(t[n],t[n+1],u)){t[n]=u[0],t.splice(n+1,1),n--;continue}}for(let n=t.length-1;n>=0;n--){const r=t[n];let i=0,s=0;if(n>0){const c=t[n-1];i=c.originalStart+c.originalLength,s=c.modifiedStart+c.modifiedLength}const a=r.originalLength>0,o=r.modifiedLength>0;let u=0,l=this._boundaryScore(r.originalStart,r.originalLength,r.modifiedStart,r.modifiedLength);for(let c=1;;c++){const _=r.originalStart-c,S=r.modifiedStart-c;if(_<i||S<s||a&&!this.OriginalElementsAreEqual(_,_+r.originalLength)||o&&!this.ModifiedElementsAreEqual(S,S+r.modifiedLength))break;const Z=(_===i&&S===s?5:0)+this._boundaryScore(_,r.originalLength,S,r.modifiedLength);Z>l&&(l=Z,u=c)}r.originalStart-=u,r.modifiedStart-=u;const v=[null];if(n>0&&this.ChangesOverlap(t[n-1],t[n],v)){t[n-1]=v[0],t.splice(n,1),n++;continue}}if(this._hasStrings)for(let n=1,r=t.length;n<r;n++){const i=t[n-1],s=t[n],a=s.originalStart-i.originalStart-i.originalLength,o=i.originalStart,u=s.originalStart+s.originalLength,l=u-o,v=i.modifiedStart,c=s.modifiedStart+s.modifiedLength,_=c-v;if(a<5&&l<20&&_<20){const S=this._findBetterContiguousSequence(o,l,v,_,a);if(S){const[Q,Z]=S;(Q!==i.originalStart+i.originalLength||Z!==i.modifiedStart+i.modifiedLength)&&(i.originalLength=Q-i.originalStart,i.modifiedLength=Z-i.modifiedStart,s.originalStart=Q+a,s.modifiedStart=Z+a,s.originalLength=u-s.originalStart,s.modifiedLength=c-s.modifiedStart)}}}return t}_findBetterContiguousSequence(t,n,r,i,s){if(n<s||i<s)return null;const a=t+n-s+1,o=r+i-s+1;let u=0,l=0,v=0;for(let c=t;c<a;c++)for(let _=r;_<o;_++){const S=this._contiguousSequenceScore(c,_,s);S>0&&S>u&&(u=S,l=c,v=_)}return u>0?[l,v]:null}_contiguousSequenceScore(t,n,r){let i=0;for(let s=0;s<r;s++){if(!this.ElementsAreEqual(t+s,n+s))return 0;i+=this._originalStringElements[t+s].length}return i}_OriginalIsBoundary(t){return t<=0||t>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[t])}_OriginalRegionIsBoundary(t,n){if(this._OriginalIsBoundary(t)||this._OriginalIsBoundary(t-1))return!0;if(n>0){const r=t+n;if(this._OriginalIsBoundary(r-1)||this._OriginalIsBoundary(r))return!0}return!1}_ModifiedIsBoundary(t){return t<=0||t>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[t])}_ModifiedRegionIsBoundary(t,n){if(this._ModifiedIsBoundary(t)||this._ModifiedIsBoundary(t-1))return!0;if(n>0){const r=t+n;if(this._ModifiedIsBoundary(r-1)||this._ModifiedIsBoundary(r))return!0}return!1}_boundaryScore(t,n,r,i){const s=this._OriginalRegionIsBoundary(t,n)?1:0,a=this._ModifiedRegionIsBoundary(r,i)?1:0;return s+a}ConcatenateChanges(t,n){const r=[];if(t.length===0||n.length===0)return n.length>0?n:t;if(this.ChangesOverlap(t[t.length-1],n[0],r)){const i=new Array(t.length+n.length-1);return ma.Copy(t,0,i,0,t.length-1),i[t.length-1]=r[0],ma.Copy(n,1,i,t.length,n.length-1),i}else{const i=new Array(t.length+n.length);return ma.Copy(t,0,i,0,t.length),ma.Copy(n,0,i,t.length,n.length),i}}ChangesOverlap(t,n,r){if(ha.Assert(t.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),ha.Assert(t.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),t.originalStart+t.originalLength>=n.originalStart||t.modifiedStart+t.modifiedLength>=n.modifiedStart){const i=t.originalStart;let s=t.originalLength;const a=t.modifiedStart;let o=t.modifiedLength;return t.originalStart+t.originalLength>=n.originalStart&&(s=n.originalStart+n.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=n.modifiedStart&&(o=n.modifiedStart+n.modifiedLength-t.modifiedStart),r[0]=new As(i,s,a,o),!0}else return r[0]=null,!1}ClipDiagonalBound(t,n,r,i){if(t>=0&&t<i)return t;const s=r,a=i-r-1,o=n%2===0;if(t<0){const u=s%2===0;return o===u?0:1}else{const u=a%2===0;return o===u?i-1:i-2}}}let ga;if(typeof Vi.vscode<"u"&&typeof Vi.vscode.process<"u"){const e=Vi.vscode.process;ga={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process<"u"?ga={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:ga={get platform(){return uo?"win32":_g?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const Ko=ga.cwd,Kg=ga.env,Zg=ga.platform,e1=65,t1=97,n1=90,r1=122,xs=46,Qr=47,mi=92,Ss=58,i1=63;class _p extends Error{constructor(t,n,r){let i;typeof n=="string"&&n.indexOf("not ")===0?(i="must not be",n=n.replace(/^not /,"")):i="must be";const s=t.indexOf(".")!==-1?"property":"argument";let a=`The "${t}" ${s} ${i} of type ${n}`;a+=`. Received type ${typeof r}`,super(a),this.code="ERR_INVALID_ARG_TYPE"}}function s1(e,t){if(e===null||typeof e!="object")throw new _p(t,"Object",e)}function Pr(e,t){if(typeof e!="string")throw new _p(t,"string",e)}const ws=Zg==="win32";function Kn(e){return e===Qr||e===mi}function Ul(e){return e===Qr}function Fs(e){return e>=e1&&e<=n1||e>=t1&&e<=r1}function Zo(e,t,n,r){let i="",s=0,a=-1,o=0,u=0;for(let l=0;l<=e.length;++l){if(l<e.length)u=e.charCodeAt(l);else{if(r(u))break;u=Qr}if(r(u)){if(!(a===l-1||o===1))if(o===2){if(i.length<2||s!==2||i.charCodeAt(i.length-1)!==xs||i.charCodeAt(i.length-2)!==xs){if(i.length>2){const v=i.lastIndexOf(n);v===-1?(i="",s=0):(i=i.slice(0,v),s=i.length-1-i.lastIndexOf(n)),a=l,o=0;continue}else if(i.length!==0){i="",s=0,a=l,o=0;continue}}t&&(i+=i.length>0?`${n}..`:"..",s=2)}else i.length>0?i+=`${n}${e.slice(a+1,l)}`:i=e.slice(a+1,l),s=l-a-1;a=l,o=0}else u===xs&&o!==-1?++o:o=-1}return i}function Tp(e,t){s1(t,"pathObject");const n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const ui={resolve(...e){let t="",n="",r=!1;for(let i=e.length-1;i>=-1;i--){let s;if(i>=0){if(s=e[i],Pr(s,"path"),s.length===0)continue}else t.length===0?s=Ko():(s=Kg[`=${t}`]||Ko(),(s===void 0||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&s.charCodeAt(2)===mi)&&(s=`${t}\\`));const a=s.length;let o=0,u="",l=!1;const v=s.charCodeAt(0);if(a===1)Kn(v)&&(o=1,l=!0);else if(Kn(v))if(l=!0,Kn(s.charCodeAt(1))){let c=2,_=c;for(;c<a&&!Kn(s.charCodeAt(c));)c++;if(c<a&&c!==_){const S=s.slice(_,c);for(_=c;c<a&&Kn(s.charCodeAt(c));)c++;if(c<a&&c!==_){for(_=c;c<a&&!Kn(s.charCodeAt(c));)c++;(c===a||c!==_)&&(u=`\\\\${S}\\${s.slice(_,c)}`,o=c)}}}else o=1;else Fs(v)&&s.charCodeAt(1)===Ss&&(u=s.slice(0,2),o=2,a>2&&Kn(s.charCodeAt(2))&&(l=!0,o=3));if(u.length>0)if(t.length>0){if(u.toLowerCase()!==t.toLowerCase())continue}else t=u;if(r){if(t.length>0)break}else if(n=`${s.slice(o)}\\${n}`,r=l,l&&t.length>0)break}return n=Zo(n,!r,"\\",Kn),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){Pr(e,"path");const t=e.length;if(t===0)return".";let n=0,r,i=!1;const s=e.charCodeAt(0);if(t===1)return Ul(s)?"\\":e;if(Kn(s))if(i=!0,Kn(e.charCodeAt(1))){let o=2,u=o;for(;o<t&&!Kn(e.charCodeAt(o));)o++;if(o<t&&o!==u){const l=e.slice(u,o);for(u=o;o<t&&Kn(e.charCodeAt(o));)o++;if(o<t&&o!==u){for(u=o;o<t&&!Kn(e.charCodeAt(o));)o++;if(o===t)return`\\\\${l}\\${e.slice(u)}\\`;o!==u&&(r=`\\\\${l}\\${e.slice(u,o)}`,n=o)}}}else n=1;else Fs(s)&&e.charCodeAt(1)===Ss&&(r=e.slice(0,2),n=2,t>2&&Kn(e.charCodeAt(2))&&(i=!0,n=3));let a=n<t?Zo(e.slice(n),!i,"\\",Kn):"";return a.length===0&&!i&&(a="."),a.length>0&&Kn(e.charCodeAt(t-1))&&(a+="\\"),r===void 0?i?`\\${a}`:a:i?`${r}\\${a}`:`${r}${a}`},isAbsolute(e){Pr(e,"path");const t=e.length;if(t===0)return!1;const n=e.charCodeAt(0);return Kn(n)||t>2&&Fs(n)&&e.charCodeAt(1)===Ss&&Kn(e.charCodeAt(2))},join(...e){if(e.length===0)return".";let t,n;for(let s=0;s<e.length;++s){const a=e[s];Pr(a,"path"),a.length>0&&(t===void 0?t=n=a:t+=`\\${a}`)}if(t===void 0)return".";let r=!0,i=0;if(typeof n=="string"&&Kn(n.charCodeAt(0))){++i;const s=n.length;s>1&&Kn(n.charCodeAt(1))&&(++i,s>2&&(Kn(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i<t.length&&Kn(t.charCodeAt(i));)i++;i>=2&&(t=`\\${t.slice(i)}`)}return ui.normalize(t)},relative(e,t){if(Pr(e,"from"),Pr(t,"to"),e===t)return"";const n=ui.resolve(e),r=ui.resolve(t);if(n===r||(e=n.toLowerCase(),t=r.toLowerCase(),e===t))return"";let i=0;for(;i<e.length&&e.charCodeAt(i)===mi;)i++;let s=e.length;for(;s-1>i&&e.charCodeAt(s-1)===mi;)s--;const a=s-i;let o=0;for(;o<t.length&&t.charCodeAt(o)===mi;)o++;let u=t.length;for(;u-1>o&&t.charCodeAt(u-1)===mi;)u--;const l=u-o,v=a<l?a:l;let c=-1,_=0;for(;_<v;_++){const Q=e.charCodeAt(i+_);if(Q!==t.charCodeAt(o+_))break;Q===mi&&(c=_)}if(_!==v){if(c===-1)return r}else{if(l>v){if(t.charCodeAt(o+_)===mi)return r.slice(o+_+1);if(_===2)return r.slice(o+_)}a>v&&(e.charCodeAt(i+_)===mi?c=_:_===2&&(c=3)),c===-1&&(c=0)}let S="";for(_=i+c+1;_<=s;++_)(_===s||e.charCodeAt(_)===mi)&&(S+=S.length===0?"..":"\\..");return o+=c,S.length>0?`${S}${r.slice(o,u)}`:(r.charCodeAt(o)===mi&&++o,r.slice(o,u))},toNamespacedPath(e){if(typeof e!="string"||e.length===0)return e;const t=ui.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===mi){if(t.charCodeAt(1)===mi){const n=t.charCodeAt(2);if(n!==i1&&n!==xs)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(Fs(t.charCodeAt(0))&&t.charCodeAt(1)===Ss&&t.charCodeAt(2)===mi)return`\\\\?\\${t}`;return e},dirname(e){Pr(e,"path");const t=e.length;if(t===0)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(t===1)return Kn(i)?e:".";if(Kn(i)){if(n=r=1,Kn(e.charCodeAt(1))){let o=2,u=o;for(;o<t&&!Kn(e.charCodeAt(o));)o++;if(o<t&&o!==u){for(u=o;o<t&&Kn(e.charCodeAt(o));)o++;if(o<t&&o!==u){for(u=o;o<t&&!Kn(e.charCodeAt(o));)o++;if(o===t)return e;o!==u&&(n=r=o+1)}}}}else Fs(i)&&e.charCodeAt(1)===Ss&&(n=t>2&&Kn(e.charCodeAt(2))?3:2,r=n);let s=-1,a=!0;for(let o=t-1;o>=r;--o)if(Kn(e.charCodeAt(o))){if(!a){s=o;break}}else a=!1;if(s===-1){if(n===-1)return".";s=n}return e.slice(0,s)},basename(e,t){t!==void 0&&Pr(t,"ext"),Pr(e,"path");let n=0,r=-1,i=!0,s;if(e.length>=2&&Fs(e.charCodeAt(0))&&e.charCodeAt(1)===Ss&&(n=2),t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,o=-1;for(s=e.length-1;s>=n;--s){const u=e.charCodeAt(s);if(Kn(u)){if(!i){n=s+1;break}}else o===-1&&(i=!1,o=s+1),a>=0&&(u===t.charCodeAt(a)?--a===-1&&(r=s):(a=-1,r=o))}return n===r?r=o:r===-1&&(r=e.length),e.slice(n,r)}for(s=e.length-1;s>=n;--s)if(Kn(e.charCodeAt(s))){if(!i){n=s+1;break}}else r===-1&&(i=!1,r=s+1);return r===-1?"":e.slice(n,r)},extname(e){Pr(e,"path");let t=0,n=-1,r=0,i=-1,s=!0,a=0;e.length>=2&&e.charCodeAt(1)===Ss&&Fs(e.charCodeAt(0))&&(t=r=2);for(let o=e.length-1;o>=t;--o){const u=e.charCodeAt(o);if(Kn(u)){if(!s){r=o+1;break}continue}i===-1&&(s=!1,i=o+1),u===xs?n===-1?n=o:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||i===-1||a===0||a===1&&n===i-1&&n===r+1?"":e.slice(n,i)},format:Tp.bind(null,"\\"),parse(e){Pr(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.length;let r=0,i=e.charCodeAt(0);if(n===1)return Kn(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(Kn(i)){if(r=1,Kn(e.charCodeAt(1))){let c=2,_=c;for(;c<n&&!Kn(e.charCodeAt(c));)c++;if(c<n&&c!==_){for(_=c;c<n&&Kn(e.charCodeAt(c));)c++;if(c<n&&c!==_){for(_=c;c<n&&!Kn(e.charCodeAt(c));)c++;c===n?r=c:c!==_&&(r=c+1)}}}}else if(Fs(i)&&e.charCodeAt(1)===Ss){if(n<=2)return t.root=t.dir=e,t;if(r=2,Kn(e.charCodeAt(2))){if(n===3)return t.root=t.dir=e,t;r=3}}r>0&&(t.root=e.slice(0,r));let s=-1,a=r,o=-1,u=!0,l=e.length-1,v=0;for(;l>=r;--l){if(i=e.charCodeAt(l),Kn(i)){if(!u){a=l+1;break}continue}o===-1&&(u=!1,o=l+1),i===xs?s===-1?s=l:v!==1&&(v=1):s!==-1&&(v=-1)}return o!==-1&&(s===-1||v===0||v===1&&s===o-1&&s===a+1?t.base=t.name=e.slice(a,o):(t.name=e.slice(a,s),t.base=e.slice(a,o),t.ext=e.slice(s,o))),a>0&&a!==r?t.dir=e.slice(0,a-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},a1=(()=>{if(ws){const e=/\\/g;return()=>{const t=Ko().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>Ko()})(),gi={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:a1();Pr(i,"path"),i.length!==0&&(t=`${i}/${t}`,n=i.charCodeAt(0)===Qr)}return t=Zo(t,!n,"/",Ul),n?`/${t}`:t.length>0?t:"."},normalize(e){if(Pr(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===Qr,n=e.charCodeAt(e.length-1)===Qr;return e=Zo(e,!t,"/",Ul),e.length===0?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute(e){return Pr(e,"path"),e.length>0&&e.charCodeAt(0)===Qr},join(...e){if(e.length===0)return".";let t;for(let n=0;n<e.length;++n){const r=e[n];Pr(r,"path"),r.length>0&&(t===void 0?t=r:t+=`/${r}`)}return t===void 0?".":gi.normalize(t)},relative(e,t){if(Pr(e,"from"),Pr(t,"to"),e===t||(e=gi.resolve(e),t=gi.resolve(t),e===t))return"";const n=1,r=e.length,i=r-n,s=1,a=t.length-s,o=i<a?i:a;let u=-1,l=0;for(;l<o;l++){const c=e.charCodeAt(n+l);if(c!==t.charCodeAt(s+l))break;c===Qr&&(u=l)}if(l===o)if(a>o){if(t.charCodeAt(s+l)===Qr)return t.slice(s+l+1);if(l===0)return t.slice(s+l)}else i>o&&(e.charCodeAt(n+l)===Qr?u=l:l===0&&(u=0));let v="";for(l=n+u+1;l<=r;++l)(l===r||e.charCodeAt(l)===Qr)&&(v+=v.length===0?"..":"/..");return`${v}${t.slice(s+u)}`},toNamespacedPath(e){return e},dirname(e){if(Pr(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===Qr;let n=-1,r=!0;for(let i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===Qr){if(!r){n=i;break}}else r=!1;return n===-1?t?"/":".":t&&n===1?"//":e.slice(0,n)},basename(e,t){t!==void 0&&Pr(t,"ext"),Pr(e,"path");let n=0,r=-1,i=!0,s;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,o=-1;for(s=e.length-1;s>=0;--s){const u=e.charCodeAt(s);if(u===Qr){if(!i){n=s+1;break}}else o===-1&&(i=!1,o=s+1),a>=0&&(u===t.charCodeAt(a)?--a===-1&&(r=s):(a=-1,r=o))}return n===r?r=o:r===-1&&(r=e.length),e.slice(n,r)}for(s=e.length-1;s>=0;--s)if(e.charCodeAt(s)===Qr){if(!i){n=s+1;break}}else r===-1&&(i=!1,r=s+1);return r===-1?"":e.slice(n,r)},extname(e){Pr(e,"path");let t=-1,n=0,r=-1,i=!0,s=0;for(let a=e.length-1;a>=0;--a){const o=e.charCodeAt(a);if(o===Qr){if(!i){n=a+1;break}continue}r===-1&&(i=!1,r=a+1),o===xs?t===-1?t=a:s!==1&&(s=1):t!==-1&&(s=-1)}return t===-1||r===-1||s===0||s===1&&t===r-1&&t===n+1?"":e.slice(t,r)},format:Tp.bind(null,"/"),parse(e){Pr(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.charCodeAt(0)===Qr;let r;n?(t.root="/",r=1):r=0;let i=-1,s=0,a=-1,o=!0,u=e.length-1,l=0;for(;u>=r;--u){const v=e.charCodeAt(u);if(v===Qr){if(!o){s=u+1;break}continue}a===-1&&(o=!1,a=u+1),v===xs?i===-1?i=u:l!==1&&(l=1):i!==-1&&(l=-1)}if(a!==-1){const v=s===0&&n?1:s;i===-1||l===0||l===1&&i===a-1&&i===s+1?t.base=t.name=e.slice(v,a):(t.name=e.slice(v,i),t.base=e.slice(v,a),t.ext=e.slice(i,a))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};gi.win32=ui.win32=ui,gi.posix=ui.posix=gi,ws?ui.normalize:gi.normalize,ws?ui.resolve:gi.resolve,ws?ui.relative:gi.relative,ws?ui.dirname:gi.dirname,ws?ui.basename:gi.basename,ws?ui.extname:gi.extname,ws?ui.sep:gi.sep;const o1=/^\w[\w\d+.-]*$/,u1=/^\//,l1=/^\/\//;function c1(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!o1.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!u1.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(l1.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function f1(e,t){return!e&&!t?"file":e}function p1(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==qi&&(t=qi+t):t=qi;break}return t}const Cr="",qi="/",d1=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;let Wl=class Ll{static isUri(t){return t instanceof Ll?!0: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":!1}constructor(t,n,r,i,s,a=!1){typeof t=="object"?(this.scheme=t.scheme||Cr,this.authority=t.authority||Cr,this.path=t.path||Cr,this.query=t.query||Cr,this.fragment=t.fragment||Cr):(this.scheme=f1(t,a),this.authority=n||Cr,this.path=p1(this.scheme,r||Cr),this.query=i||Cr,this.fragment=s||Cr,c1(this,a))}get fsPath(){return Gl(this,!1)}with(t){if(!t)return this;let{scheme:n,authority:r,path:i,query:s,fragment:a}=t;return n===void 0?n=this.scheme:n===null&&(n=Cr),r===void 0?r=this.authority:r===null&&(r=Cr),i===void 0?i=this.path:i===null&&(i=Cr),s===void 0?s=this.query:s===null&&(s=Cr),a===void 0?a=this.fragment:a===null&&(a=Cr),n===this.scheme&&r===this.authority&&i===this.path&&s===this.query&&a===this.fragment?this:new ya(n,r,i,s,a)}static parse(t,n=!1){const r=d1.exec(t);return r?new ya(r[2]||Cr,eu(r[4]||Cr),eu(r[5]||Cr),eu(r[7]||Cr),eu(r[9]||Cr),n):new ya(Cr,Cr,Cr,Cr,Cr)}static file(t){let n=Cr;if(uo&&(t=t.replace(/\\/g,qi)),t[0]===qi&&t[1]===qi){const r=t.indexOf(qi,2);r===-1?(n=t.substring(2),t=qi):(n=t.substring(2,r),t=t.substring(r)||qi)}return new ya("file",n,t,Cr,Cr)}static from(t,n){return new ya(t.scheme,t.authority,t.path,t.query,t.fragment,n)}static joinPath(t,...n){if(!t.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let r;return uo&&t.scheme==="file"?r=Ll.file(ui.join(Gl(t,!0),...n)).path:r=gi.join(t.path,...n),t.with({path:r})}toString(t=!1){return Jl(this,t)}toJSON(){return this}static revive(t){var n,r;if(t){if(t instanceof Ll)return t;{const i=new ya(t);return i._formatted=(n=t.external)!==null&&n!==void 0?n:null,i._fsPath=t._sep===Lp&&(r=t.fsPath)!==null&&r!==void 0?r:null,i}}else return t}};const Lp=uo?1:void 0;class ya extends Wl{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=Gl(this,!1)),this._fsPath}toString(t=!1){return t?Jl(this,!0):(this._formatted||(this._formatted=Jl(this,!1)),this._formatted)}toJSON(){const t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=Lp),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}}const kp={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 Pp(e,t,n){let r,i=-1;for(let s=0;s<e.length;s++){const a=e.charCodeAt(s);if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===45||a===46||a===95||a===126||t&&a===47||n&&a===91||n&&a===93||n&&a===58)i!==-1&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),r!==void 0&&(r+=e.charAt(s));else{r===void 0&&(r=e.substr(0,s));const o=kp[a];o!==void 0?(i!==-1&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),r+=o):i===-1&&(i=s)}}return i!==-1&&(r+=encodeURIComponent(e.substring(i))),r!==void 0?r:e}function h1(e){let t;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);r===35||r===63?(t===void 0&&(t=e.substr(0,n)),t+=kp[r]):t!==void 0&&(t+=e[n])}return t!==void 0?t:e}function Gl(e,t){let n;return e.authority&&e.path.length>1&&e.scheme==="file"?n=`//${e.authority}${e.path}`:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?t?n=e.path.substr(1):n=e.path[1].toLowerCase()+e.path.substr(2):n=e.path,uo&&(n=n.replace(/\//g,"\\")),n}function Jl(e,t){const n=t?h1:Pp;let r="",{scheme:i,authority:s,path:a,query:o,fragment:u}=e;if(i&&(r+=i,r+=":"),(s||i==="file")&&(r+=qi,r+=qi),s){let l=s.indexOf("@");if(l!==-1){const v=s.substr(0,l);s=s.substr(l+1),l=v.lastIndexOf(":"),l===-1?r+=n(v,!1,!1):(r+=n(v.substr(0,l),!1,!1),r+=":",r+=n(v.substr(l+1),!1,!0)),r+="@"}s=s.toLowerCase(),l=s.lastIndexOf(":"),l===-1?r+=n(s,!1,!0):(r+=n(s.substr(0,l),!1,!0),r+=s.substr(l))}if(a){if(a.length>=3&&a.charCodeAt(0)===47&&a.charCodeAt(2)===58){const l=a.charCodeAt(1);l>=65&&l<=90&&(a=`/${String.fromCharCode(l+32)}:${a.substr(3)}`)}else if(a.length>=2&&a.charCodeAt(1)===58){const l=a.charCodeAt(0);l>=65&&l<=90&&(a=`${String.fromCharCode(l+32)}:${a.substr(2)}`)}r+=n(a,!0,!1)}return o&&(r+="?",r+=n(o,!1,!1)),u&&(r+="#",r+=t?u:Pp(u,!1,!1)),r}function Bp(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+Bp(e.substr(3)):e}}const Mp=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function eu(e){return e.match(Mp)?e.replace(Mp,t=>Bp(t)):e}let Zi=class ua{constructor(t,n){this.lineNumber=t,this.column=n}with(t=this.lineNumber,n=this.column){return t===this.lineNumber&&n===this.column?this:new ua(t,n)}delta(t=0,n=0){return this.with(this.lineNumber+t,this.column+n)}equals(t){return ua.equals(this,t)}static equals(t,n){return!t&&!n?!0:!!t&&!!n&&t.lineNumber===n.lineNumber&&t.column===n.column}isBefore(t){return ua.isBefore(this,t)}static isBefore(t,n){return t.lineNumber<n.lineNumber?!0:n.lineNumber<t.lineNumber?!1:t.column<n.column}isBeforeOrEqual(t){return ua.isBeforeOrEqual(this,t)}static isBeforeOrEqual(t,n){return t.lineNumber<n.lineNumber?!0:n.lineNumber<t.lineNumber?!1:t.column<=n.column}static compare(t,n){const r=t.lineNumber|0,i=n.lineNumber|0;if(r===i){const s=t.column|0,a=n.column|0;return s-a}return r-i}clone(){return new ua(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(t){return new ua(t.lineNumber,t.column)}static isIPosition(t){return t&&typeof t.lineNumber=="number"&&typeof t.column=="number"}},Gr=class Vr{constructor(t,n,r,i){t>r||t===r&&n>i?(this.startLineNumber=r,this.startColumn=i,this.endLineNumber=t,this.endColumn=n):(this.startLineNumber=t,this.startColumn=n,this.endLineNumber=r,this.endColumn=i)}isEmpty(){return Vr.isEmpty(this)}static isEmpty(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn}containsPosition(t){return Vr.containsPosition(this,t)}static containsPosition(t,n){return!(n.lineNumber<t.startLineNumber||n.lineNumber>t.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<t.startColumn||n.lineNumber===t.endLineNumber&&n.column>t.endColumn)}static strictContainsPosition(t,n){return!(n.lineNumber<t.startLineNumber||n.lineNumber>t.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<=t.startColumn||n.lineNumber===t.endLineNumber&&n.column>=t.endColumn)}containsRange(t){return Vr.containsRange(this,t)}static containsRange(t,n){return!(n.startLineNumber<t.startLineNumber||n.endLineNumber<t.startLineNumber||n.startLineNumber>t.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<t.startColumn||n.endLineNumber===t.endLineNumber&&n.endColumn>t.endColumn)}strictContainsRange(t){return Vr.strictContainsRange(this,t)}static strictContainsRange(t,n){return!(n.startLineNumber<t.startLineNumber||n.endLineNumber<t.startLineNumber||n.startLineNumber>t.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<=t.startColumn||n.endLineNumber===t.endLineNumber&&n.endColumn>=t.endColumn)}plusRange(t){return Vr.plusRange(this,t)}static plusRange(t,n){let r,i,s,a;return n.startLineNumber<t.startLineNumber?(r=n.startLineNumber,i=n.startColumn):n.startLineNumber===t.startLineNumber?(r=n.startLineNumber,i=Math.min(n.startColumn,t.startColumn)):(r=t.startLineNumber,i=t.startColumn),n.endLineNumber>t.endLineNumber?(s=n.endLineNumber,a=n.endColumn):n.endLineNumber===t.endLineNumber?(s=n.endLineNumber,a=Math.max(n.endColumn,t.endColumn)):(s=t.endLineNumber,a=t.endColumn),new Vr(r,i,s,a)}intersectRanges(t){return Vr.intersectRanges(this,t)}static intersectRanges(t,n){let r=t.startLineNumber,i=t.startColumn,s=t.endLineNumber,a=t.endColumn;const o=n.startLineNumber,u=n.startColumn,l=n.endLineNumber,v=n.endColumn;return r<o?(r=o,i=u):r===o&&(i=Math.max(i,u)),s>l?(s=l,a=v):s===l&&(a=Math.min(a,v)),r>s||r===s&&i>a?null:new Vr(r,i,s,a)}equalsRange(t){return Vr.equalsRange(this,t)}static equalsRange(t,n){return!t&&!n?!0:!!t&&!!n&&t.startLineNumber===n.startLineNumber&&t.startColumn===n.startColumn&&t.endLineNumber===n.endLineNumber&&t.endColumn===n.endColumn}getEndPosition(){return Vr.getEndPosition(this)}static getEndPosition(t){return new Zi(t.endLineNumber,t.endColumn)}getStartPosition(){return Vr.getStartPosition(this)}static getStartPosition(t){return new Zi(t.startLineNumber,t.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(t,n){return new Vr(this.startLineNumber,this.startColumn,t,n)}setStartPosition(t,n){return new Vr(t,n,this.endLineNumber,this.endColumn)}collapseToStart(){return Vr.collapseToStart(this)}static collapseToStart(t){return new Vr(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}collapseToEnd(){return Vr.collapseToEnd(this)}static collapseToEnd(t){return new Vr(t.endLineNumber,t.endColumn,t.endLineNumber,t.endColumn)}delta(t){return new Vr(this.startLineNumber+t,this.startColumn,this.endLineNumber+t,this.endColumn)}static fromPositions(t,n=t){return new Vr(t.lineNumber,t.column,n.lineNumber,n.column)}static lift(t){return t?new Vr(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null}static isIRange(t){return t&&typeof t.startLineNumber=="number"&&typeof t.startColumn=="number"&&typeof t.endLineNumber=="number"&&typeof t.endColumn=="number"}static areIntersectingOrTouching(t,n){return!(t.endLineNumber<n.startLineNumber||t.endLineNumber===n.startLineNumber&&t.endColumn<n.startColumn||n.endLineNumber<t.startLineNumber||n.endLineNumber===t.startLineNumber&&n.endColumn<t.startColumn)}static areIntersecting(t,n){return!(t.endLineNumber<n.startLineNumber||t.endLineNumber===n.startLineNumber&&t.endColumn<=n.startColumn||n.endLineNumber<t.startLineNumber||n.endLineNumber===t.startLineNumber&&n.endColumn<=t.startColumn)}static compareRangesUsingStarts(t,n){if(t&&n){const s=t.startLineNumber|0,a=n.startLineNumber|0;if(s===a){const o=t.startColumn|0,u=n.startColumn|0;if(o===u){const l=t.endLineNumber|0,v=n.endLineNumber|0;if(l===v){const c=t.endColumn|0,_=n.endColumn|0;return c-_}return l-v}return o-u}return s-a}return(t?1:0)-(n?1:0)}static compareRangesUsingEnds(t,n){return t.endLineNumber===n.endLineNumber?t.endColumn===n.endColumn?t.startLineNumber===n.startLineNumber?t.startColumn-n.startColumn:t.startLineNumber-n.startLineNumber:t.endColumn-n.endColumn:t.endLineNumber-n.endLineNumber}static spansMultipleLines(t){return t.endLineNumber>t.startLineNumber}toJSON(){return this}};function m1(e,t,n=(r,i)=>r===i){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}function*g1(e,t){let n,r;for(const i of e)r!==void 0&&t(r,i)?n.push(i):(n&&(yield n),n=[i]),r=i;n&&(yield n)}function y1(e,t){for(let n=0;n<=e.length;n++)t(n===0?void 0:e[n-1],n===e.length?void 0:e[n])}function D1(e,t){for(let n=0;n<e.length;n++)t(n===0?void 0:e[n-1],e[n],n+1===e.length?void 0:e[n+1])}function b1(e,t){for(const n of t)e.push(n)}var Ip;(function(e){function t(s){return s<0}e.isLessThan=t;function n(s){return s<=0}e.isLessThanOrEqual=n;function r(s){return s>0}e.isGreaterThan=r;function i(s){return s===0}e.isNeitherLessOrGreaterThan=i,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(Ip||(Ip={}));function tu(e,t){return(n,r)=>t(e(n),e(r))}const nu=(e,t)=>e-t;function v1(e){return(t,n)=>-e(t,n)}function Op(e){return e<0?0:e>255?255:e|0}function Da(e){return e<0?0:e>4294967295?4294967295:e|0}class E1{constructor(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(t,n){t=Da(t);const r=this.values,i=this.prefixSum,s=n.length;return s===0?!1:(this.values=new Uint32Array(r.length+s),this.values.set(r.subarray(0,t),0),this.values.set(r.subarray(t),t+s),this.values.set(n,t),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(t,n){return t=Da(t),n=Da(n),this.values[t]===n?!1:(this.values[t]=n,t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),!0)}removeValues(t,n){t=Da(t),n=Da(n);const r=this.values,i=this.prefixSum;if(t>=r.length)return!1;const s=r.length-t;return n>=s&&(n=s),n===0?!1:(this.values=new Uint32Array(r.length-n),this.values.set(r.subarray(0,t),0),this.values.set(r.subarray(t+n),t),this.prefixSum=new Uint32Array(this.values.length),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(t){return t<0?0:(t=Da(t),this._getPrefixSum(t))}_getPrefixSum(t){if(t<=this.prefixSumValidIndex[0])return this.prefixSum[t];let n=this.prefixSumValidIndex[0]+1;n===0&&(this.prefixSum[0]=this.values[0],n++),t>=this.values.length&&(t=this.values.length-1);for(let r=n;r<=t;r++)this.prefixSum[r]=this.prefixSum[r-1]+this.values[r];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],t),this.prefixSum[t]}getIndexOf(t){t=Math.floor(t),this.getTotalSum();let n=0,r=this.values.length-1,i=0,s=0,a=0;for(;n<=r;)if(i=n+(r-n)/2|0,s=this.prefixSum[i],a=s-this.values[i],t<a)r=i-1;else if(t>=s)n=i+1;else break;return new A1(i,t-a)}}class A1{constructor(t,n){this.index=t,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=t,this.remainder=n}}class C1{constructor(t,n,r,i){this._uri=t,this._lines=n,this._eol=r,this._versionId=i,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(t){t.eol&&t.eol!==this._eol&&(this._eol=t.eol,this._lineStarts=null);const n=t.changes;for(const r of n)this._acceptDeleteRange(r.range),this._acceptInsertText(new Zi(r.range.startLineNumber,r.range.startColumn),r.text);this._versionId=t.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const t=this._eol.length,n=this._lines.length,r=new Uint32Array(n);for(let i=0;i<n;i++)r[i]=this._lines[i].length+t;this._lineStarts=new E1(r)}}_setLineText(t,n){this._lines[t]=n,this._lineStarts&&this._lineStarts.setValue(t,this._lines[t].length+this._eol.length)}_acceptDeleteRange(t){if(t.startLineNumber===t.endLineNumber){if(t.startColumn===t.endColumn)return;this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.startLineNumber-1].substring(t.endColumn-1));return}this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.endLineNumber-1].substring(t.endColumn-1)),this._lines.splice(t.startLineNumber,t.endLineNumber-t.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(t.startLineNumber,t.endLineNumber-t.startLineNumber)}_acceptInsertText(t,n){if(n.length===0)return;const r=Bg(n);if(r.length===1){this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+r[0]+this._lines[t.lineNumber-1].substring(t.column-1));return}r[r.length-1]+=this._lines[t.lineNumber-1].substring(t.column-1),this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+r[0]);const i=new Uint32Array(r.length-1);for(let s=1;s<r.length;s++)this._lines.splice(t.lineNumber+s-1,0,r[s]),i[s-1]=r[s].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(t.lineNumber,i)}}const x1="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function S1(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of x1)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}const jp=S1();function w1(e){let t=jp;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const Rp=new gg;Rp.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Yl(e,t,n,r,i){if(i||(i=zo.first(Rp)),n.length>i.maxLen){let l=e-i.maxLen/2;return l<0?l=0:r+=l,n=n.substring(l,e+i.maxLen/2),Yl(e,t,n,r,i)}const s=Date.now(),a=e-1-r;let o=-1,u=null;for(let l=1;!(Date.now()-s>=i.timeBudget);l++){const v=a-i.windowSize*l;t.lastIndex=Math.max(0,v);const c=F1(t,n,a,o);if(!c&&u||(u=c,v<=0))break;o=v}if(u){const l={word:u[0],startColumn:r+1+u.index,endColumn:r+1+u.index+u[0].length};return t.lastIndex=0,l}return null}function F1(e,t,n,r){let i;for(;i=e.exec(t);){const s=i.index||0;if(s<=n&&e.lastIndex>=n)return i;if(r>0&&s>r)return null}return null}class Hl{constructor(t){const n=Op(t);this._defaultValue=n,this._asciiMap=Hl._createAsciiMap(n),this._map=new Map}static _createAsciiMap(t){const n=new Uint8Array(256);return n.fill(t),n}set(t,n){const r=Op(n);t>=0&&t<256?this._asciiMap[t]=r:this._map.set(t,r)}get(t){return t>=0&&t<256?this._asciiMap[t]:this._map.get(t)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class N1{constructor(t,n,r){const i=new Uint8Array(t*n);for(let s=0,a=t*n;s<a;s++)i[s]=r;this._data=i,this.rows=t,this.cols=n}get(t,n){return this._data[t*this.cols+n]}set(t,n,r){this._data[t*this.cols+n]=r}}class _1{constructor(t){let n=0,r=0;for(let s=0,a=t.length;s<a;s++){const[o,u,l]=t[s];u>n&&(n=u),o>r&&(r=o),l>r&&(r=l)}n++,r++;const i=new N1(r,n,0);for(let s=0,a=t.length;s<a;s++){const[o,u,l]=t[s];i.set(o,u,l)}this._states=i,this._maxCharCode=n}nextState(t,n){return n<0||n>=this._maxCharCode?0:this._states.get(t,n)}}let zl=null;function T1(){return zl===null&&(zl=new _1([[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]])),zl}let lo=null;function L1(){if(lo===null){lo=new Hl(0);const e=` <>'"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…`;for(let n=0;n<e.length;n++)lo.set(e.charCodeAt(n),1);const t=".,;:";for(let n=0;n<t.length;n++)lo.set(t.charCodeAt(n),2)}return lo}class ru{static _createLink(t,n,r,i,s){let a=s-1;do{const o=n.charCodeAt(a);if(t.get(o)!==2)break;a--}while(a>i);if(i>0){const o=n.charCodeAt(i-1),u=n.charCodeAt(a);(o===40&&u===41||o===91&&u===93||o===123&&u===125)&&a--}return{range:{startLineNumber:r,startColumn:i+1,endLineNumber:r,endColumn:a+2},url:n.substring(i,a+1)}}static computeLinks(t,n=T1()){const r=L1(),i=[];for(let s=1,a=t.getLineCount();s<=a;s++){const o=t.getLineContent(s),u=o.length;let l=0,v=0,c=0,_=1,S=!1,Q=!1,Z=!1,M=!1;for(;l<u;){let he=!1;const ve=o.charCodeAt(l);if(_===13){let we;switch(ve){case 40:S=!0,we=0;break;case 41:we=S?0:1;break;case 91:Z=!0,Q=!0,we=0;break;case 93:Z=!1,we=Q?0:1;break;case 123:M=!0,we=0;break;case 125:we=M?0:1;break;case 39:case 34:case 96:c===ve?we=1:c===39||c===34||c===96?we=0:we=1;break;case 42:we=c===42?1:0;break;case 124:we=c===124?1:0;break;case 32:we=Z?0:1;break;default:we=r.get(ve)}we===1&&(i.push(ru._createLink(r,o,s,v,l)),he=!0)}else if(_===12){let we;ve===91?(Q=!0,we=0):we=r.get(ve),we===1?he=!0:_=13}else _=n.nextState(_,ve),_===0&&(he=!0);he&&(_=1,S=!1,Q=!1,M=!1,v=l+1,c=ve),l++}_===13&&i.push(ru._createLink(r,o,s,v,u))}return i}}function k1(e){return!e||typeof e.getLineCount!="function"||typeof e.getLineContent!="function"?[]:ru.computeLinks(e)}class Ql{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(t,n,r,i,s){if(t&&n){const a=this.doNavigateValueSet(n,s);if(a)return{range:t,value:a}}if(r&&i){const a=this.doNavigateValueSet(i,s);if(a)return{range:r,value:a}}return null}doNavigateValueSet(t,n){const r=this.numberReplace(t,n);return r!==null?r:this.textReplace(t,n)}numberReplace(t,n){const r=Math.pow(10,t.length-(t.lastIndexOf(".")+1));let i=Number(t);const s=parseFloat(t);return!isNaN(i)&&!isNaN(s)&&i===s?i===0&&!n?null:(i=Math.floor(i*r),i+=n?r:-r,String(i/r)):null}textReplace(t,n){return this.valueSetsReplace(this._defaultValueSet,t,n)}valueSetsReplace(t,n,r){let i=null;for(let s=0,a=t.length;i===null&&s<a;s++)i=this.valueSetReplace(t[s],n,r);return i}valueSetReplace(t,n,r){let i=t.indexOf(n);return i>=0?(i+=r?1:-1,i<0?i=t.length-1:i%=t.length,t[i]):null}}Ql.INSTANCE=new Ql;const $p=Object.freeze(function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});var iu;(function(e){function t(n){return n===e.None||n===e.Cancelled||n instanceof su?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Pl.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:$p})})(iu||(iu={}));class su{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?$p:(this._emitter||(this._emitter=new Ri),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class P1{constructor(t){this._token=void 0,this._parentListener=void 0,this._parentListener=t&&t.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new su),this._token}cancel(){this._token?this._token instanceof su&&this._token.cancel():this._token=iu.Cancelled}dispose(t=!1){var n;t&&this.cancel(),(n=this._parentListener)===null||n===void 0||n.dispose(),this._token?this._token instanceof su&&this._token.dispose():this._token=iu.None}}class Xl{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(t,n){this._keyCodeToStr[t]=n,this._strToKeyCode[n.toLowerCase()]=t}keyCodeToStr(t){return this._keyCodeToStr[t]}strToKeyCode(t){return this._strToKeyCode[t.toLowerCase()]||0}}const au=new Xl,Kl=new Xl,Zl=new Xl,B1=new Array(230),M1=Object.create(null),I1=Object.create(null);(function(){const e="",t=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[1,1,"Hyper",0,e,0,e,e,e],[1,2,"Super",0,e,0,e,e,e],[1,3,"Fn",0,e,0,e,e,e],[1,4,"FnLock",0,e,0,e,e,e],[1,5,"Suspend",0,e,0,e,e,e],[1,6,"Resume",0,e,0,e,e,e],[1,7,"Turbo",0,e,0,e,e,e],[1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[1,9,"WakeUp",0,e,0,e,e,e],[0,10,"KeyA",31,"A",65,"VK_A",e,e],[0,11,"KeyB",32,"B",66,"VK_B",e,e],[0,12,"KeyC",33,"C",67,"VK_C",e,e],[0,13,"KeyD",34,"D",68,"VK_D",e,e],[0,14,"KeyE",35,"E",69,"VK_E",e,e],[0,15,"KeyF",36,"F",70,"VK_F",e,e],[0,16,"KeyG",37,"G",71,"VK_G",e,e],[0,17,"KeyH",38,"H",72,"VK_H",e,e],[0,18,"KeyI",39,"I",73,"VK_I",e,e],[0,19,"KeyJ",40,"J",74,"VK_J",e,e],[0,20,"KeyK",41,"K",75,"VK_K",e,e],[0,21,"KeyL",42,"L",76,"VK_L",e,e],[0,22,"KeyM",43,"M",77,"VK_M",e,e],[0,23,"KeyN",44,"N",78,"VK_N",e,e],[0,24,"KeyO",45,"O",79,"VK_O",e,e],[0,25,"KeyP",46,"P",80,"VK_P",e,e],[0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[0,27,"KeyR",48,"R",82,"VK_R",e,e],[0,28,"KeyS",49,"S",83,"VK_S",e,e],[0,29,"KeyT",50,"T",84,"VK_T",e,e],[0,30,"KeyU",51,"U",85,"VK_U",e,e],[0,31,"KeyV",52,"V",86,"VK_V",e,e],[0,32,"KeyW",53,"W",87,"VK_W",e,e],[0,33,"KeyX",54,"X",88,"VK_X",e,e],[0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[0,36,"Digit1",22,"1",49,"VK_1",e,e],[0,37,"Digit2",23,"2",50,"VK_2",e,e],[0,38,"Digit3",24,"3",51,"VK_3",e,e],[0,39,"Digit4",25,"4",52,"VK_4",e,e],[0,40,"Digit5",26,"5",53,"VK_5",e,e],[0,41,"Digit6",27,"6",54,"VK_6",e,e],[0,42,"Digit7",28,"7",55,"VK_7",e,e],[0,43,"Digit8",29,"8",56,"VK_8",e,e],[0,44,"Digit9",30,"9",57,"VK_9",e,e],[0,45,"Digit0",21,"0",48,"VK_0",e,e],[1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,e,0,e,e,e],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[1,64,"F1",59,"F1",112,"VK_F1",e,e],[1,65,"F2",60,"F2",113,"VK_F2",e,e],[1,66,"F3",61,"F3",114,"VK_F3",e,e],[1,67,"F4",62,"F4",115,"VK_F4",e,e],[1,68,"F5",63,"F5",116,"VK_F5",e,e],[1,69,"F6",64,"F6",117,"VK_F6",e,e],[1,70,"F7",65,"F7",118,"VK_F7",e,e],[1,71,"F8",66,"F8",119,"VK_F8",e,e],[1,72,"F9",67,"F9",120,"VK_F9",e,e],[1,73,"F10",68,"F10",121,"VK_F10",e,e],[1,74,"F11",69,"F11",122,"VK_F11",e,e],[1,75,"F12",70,"F12",123,"VK_F12",e,e],[1,76,"PrintScreen",0,e,0,e,e,e],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL",e,e],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[1,80,"Home",14,"Home",36,"VK_HOME",e,e],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[1,83,"End",13,"End",35,"VK_END",e,e],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK",e,e],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE",e,e],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD",e,e],[1,94,"NumpadEnter",3,e,0,e,e,e],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1",e,e],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2",e,e],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3",e,e],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4",e,e],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5",e,e],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6",e,e],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7",e,e],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8",e,e],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9",e,e],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0",e,e],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102",e,e],[1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[1,108,"Power",0,e,0,e,e,e],[1,109,"NumpadEqual",0,e,0,e,e,e],[1,110,"F13",71,"F13",124,"VK_F13",e,e],[1,111,"F14",72,"F14",125,"VK_F14",e,e],[1,112,"F15",73,"F15",126,"VK_F15",e,e],[1,113,"F16",74,"F16",127,"VK_F16",e,e],[1,114,"F17",75,"F17",128,"VK_F17",e,e],[1,115,"F18",76,"F18",129,"VK_F18",e,e],[1,116,"F19",77,"F19",130,"VK_F19",e,e],[1,117,"F20",78,"F20",131,"VK_F20",e,e],[1,118,"F21",79,"F21",132,"VK_F21",e,e],[1,119,"F22",80,"F22",133,"VK_F22",e,e],[1,120,"F23",81,"F23",134,"VK_F23",e,e],[1,121,"F24",82,"F24",135,"VK_F24",e,e],[1,122,"Open",0,e,0,e,e,e],[1,123,"Help",0,e,0,e,e,e],[1,124,"Select",0,e,0,e,e,e],[1,125,"Again",0,e,0,e,e,e],[1,126,"Undo",0,e,0,e,e,e],[1,127,"Cut",0,e,0,e,e,e],[1,128,"Copy",0,e,0,e,e,e],[1,129,"Paste",0,e,0,e,e,e],[1,130,"Find",0,e,0,e,e,e],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1",e,e],[1,136,"KanaMode",0,e,0,e,e,e],[0,137,"IntlYen",0,e,0,e,e,e],[1,138,"Convert",0,e,0,e,e,e],[1,139,"NonConvert",0,e,0,e,e,e],[1,140,"Lang1",0,e,0,e,e,e],[1,141,"Lang2",0,e,0,e,e,e],[1,142,"Lang3",0,e,0,e,e,e],[1,143,"Lang4",0,e,0,e,e,e],[1,144,"Lang5",0,e,0,e,e,e],[1,145,"Abort",0,e,0,e,e,e],[1,146,"Props",0,e,0,e,e,e],[1,147,"NumpadParenLeft",0,e,0,e,e,e],[1,148,"NumpadParenRight",0,e,0,e,e,e],[1,149,"NumpadBackspace",0,e,0,e,e,e],[1,150,"NumpadMemoryStore",0,e,0,e,e,e],[1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[1,152,"NumpadMemoryClear",0,e,0,e,e,e],[1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR",e,e],[1,156,"NumpadClearEntry",0,e,0,e,e,e],[1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[1,0,e,6,"Alt",18,"VK_MENU",e,e],[1,0,e,57,"Meta",91,"VK_COMMAND",e,e],[1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[1,165,"BrightnessUp",0,e,0,e,e,e],[1,166,"BrightnessDown",0,e,0,e,e,e],[1,167,"MediaPlay",0,e,0,e,e,e],[1,168,"MediaRecord",0,e,0,e,e,e],[1,169,"MediaFastForward",0,e,0,e,e,e],[1,170,"MediaRewind",0,e,0,e,e,e],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP",e,e],[1,174,"Eject",0,e,0,e,e,e],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[1,180,"SelectTask",0,e,0,e,e,e],[1,181,"LaunchScreenSaver",0,e,0,e,e,e],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[1,189,"ZoomToggle",0,e,0,e,e,e],[1,190,"MailReply",0,e,0,e,e,e],[1,191,"MailForward",0,e,0,e,e,e],[1,192,"MailSend",0,e,0,e,e,e],[1,0,e,114,"KeyInComposition",229,e,e,e],[1,0,e,116,"ABNT_C2",194,"VK_ABNT_C2",e,e],[1,0,e,96,"OEM_8",223,"VK_OEM_8",e,e],[1,0,e,0,e,0,"VK_KANA",e,e],[1,0,e,0,e,0,"VK_HANGUL",e,e],[1,0,e,0,e,0,"VK_JUNJA",e,e],[1,0,e,0,e,0,"VK_FINAL",e,e],[1,0,e,0,e,0,"VK_HANJA",e,e],[1,0,e,0,e,0,"VK_KANJI",e,e],[1,0,e,0,e,0,"VK_CONVERT",e,e],[1,0,e,0,e,0,"VK_NONCONVERT",e,e],[1,0,e,0,e,0,"VK_ACCEPT",e,e],[1,0,e,0,e,0,"VK_MODECHANGE",e,e],[1,0,e,0,e,0,"VK_SELECT",e,e],[1,0,e,0,e,0,"VK_PRINT",e,e],[1,0,e,0,e,0,"VK_EXECUTE",e,e],[1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[1,0,e,0,e,0,"VK_HELP",e,e],[1,0,e,0,e,0,"VK_APPS",e,e],[1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[1,0,e,0,e,0,"VK_PACKET",e,e],[1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[1,0,e,0,e,0,"VK_ATTN",e,e],[1,0,e,0,e,0,"VK_CRSEL",e,e],[1,0,e,0,e,0,"VK_EXSEL",e,e],[1,0,e,0,e,0,"VK_EREOF",e,e],[1,0,e,0,e,0,"VK_PLAY",e,e],[1,0,e,0,e,0,"VK_ZOOM",e,e],[1,0,e,0,e,0,"VK_NONAME",e,e],[1,0,e,0,e,0,"VK_PA1",e,e],[1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],n=[],r=[];for(const i of t){const[s,a,o,u,l,v,c,_,S]=i;if(r[a]||(r[a]=!0,M1[o]=a,I1[o.toLowerCase()]=a),!n[u]){if(n[u]=!0,!l)throw new Error(`String representation missing for key code ${u} around scan code ${o}`);au.define(u,l),Kl.define(u,_||l),Zl.define(u,S||_||l)}v&&(B1[v]=u)}})();var Vp;(function(e){function t(o){return au.keyCodeToStr(o)}e.toString=t;function n(o){return au.strToKeyCode(o)}e.fromString=n;function r(o){return Kl.keyCodeToStr(o)}e.toUserSettingsUS=r;function i(o){return Zl.keyCodeToStr(o)}e.toUserSettingsGeneral=i;function s(o){return Kl.strToKeyCode(o)||Zl.strToKeyCode(o)}e.fromUserSettings=s;function a(o){if(o>=98&&o<=113)return null;switch(o){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return au.keyCodeToStr(o)}e.toElectronAccelerator=a})(Vp||(Vp={}));function O1(e,t){const n=(t&65535)<<16>>>0;return(e|n)>>>0}class Ai extends Gr{constructor(t,n,r,i){super(t,n,r,i),this.selectionStartLineNumber=t,this.selectionStartColumn=n,this.positionLineNumber=r,this.positionColumn=i}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(t){return Ai.selectionsEqual(this,t)}static selectionsEqual(t,n){return t.selectionStartLineNumber===n.selectionStartLineNumber&&t.selectionStartColumn===n.selectionStartColumn&&t.positionLineNumber===n.positionLineNumber&&t.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(t,n){return this.getDirection()===0?new Ai(this.startLineNumber,this.startColumn,t,n):new Ai(t,n,this.startLineNumber,this.startColumn)}getPosition(){return new Zi(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Zi(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(t,n){return this.getDirection()===0?new Ai(t,n,this.endLineNumber,this.endColumn):new Ai(this.endLineNumber,this.endColumn,t,n)}static fromPositions(t,n=t){return new Ai(t.lineNumber,t.column,n.lineNumber,n.column)}static fromRange(t,n){return n===0?new Ai(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new Ai(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}static liftSelection(t){return new Ai(t.selectionStartLineNumber,t.selectionStartColumn,t.positionLineNumber,t.positionColumn)}static selectionsArrEqual(t,n){if(t&&!n||!t&&n)return!1;if(!t&&!n)return!0;if(t.length!==n.length)return!1;for(let r=0,i=t.length;r<i;r++)if(!this.selectionsEqual(t[r],n[r]))return!1;return!0}static isISelection(t){return t&&typeof t.selectionStartLineNumber=="number"&&typeof t.selectionStartColumn=="number"&&typeof t.positionLineNumber=="number"&&typeof t.positionColumn=="number"}static createWithDirection(t,n,r,i,s){return s===0?new Ai(t,n,r,i):new Ai(r,i,t,n)}}const qp=Object.create(null);function k(e,t){if(Ag(t)){const n=qp[t];if(n===void 0)throw new Error(`${e} references an unknown codicon: ${t}`);t=n}return qp[e]=t,{id:e}}const Tn={add:k("add",6e4),plus:k("plus",6e4),gistNew:k("gist-new",6e4),repoCreate:k("repo-create",6e4),lightbulb:k("lightbulb",60001),lightBulb:k("light-bulb",60001),repo:k("repo",60002),repoDelete:k("repo-delete",60002),gistFork:k("gist-fork",60003),repoForked:k("repo-forked",60003),gitPullRequest:k("git-pull-request",60004),gitPullRequestAbandoned:k("git-pull-request-abandoned",60004),recordKeys:k("record-keys",60005),keyboard:k("keyboard",60005),tag:k("tag",60006),tagAdd:k("tag-add",60006),tagRemove:k("tag-remove",60006),gitPullRequestLabel:k("git-pull-request-label",60006),person:k("person",60007),personFollow:k("person-follow",60007),personOutline:k("person-outline",60007),personFilled:k("person-filled",60007),gitBranch:k("git-branch",60008),gitBranchCreate:k("git-branch-create",60008),gitBranchDelete:k("git-branch-delete",60008),sourceControl:k("source-control",60008),mirror:k("mirror",60009),mirrorPublic:k("mirror-public",60009),star:k("star",60010),starAdd:k("star-add",60010),starDelete:k("star-delete",60010),starEmpty:k("star-empty",60010),comment:k("comment",60011),commentAdd:k("comment-add",60011),alert:k("alert",60012),warning:k("warning",60012),search:k("search",60013),searchSave:k("search-save",60013),logOut:k("log-out",60014),signOut:k("sign-out",60014),logIn:k("log-in",60015),signIn:k("sign-in",60015),eye:k("eye",60016),eyeUnwatch:k("eye-unwatch",60016),eyeWatch:k("eye-watch",60016),circleFilled:k("circle-filled",60017),primitiveDot:k("primitive-dot",60017),closeDirty:k("close-dirty",60017),debugBreakpoint:k("debug-breakpoint",60017),debugBreakpointDisabled:k("debug-breakpoint-disabled",60017),debugHint:k("debug-hint",60017),primitiveSquare:k("primitive-square",60018),edit:k("edit",60019),pencil:k("pencil",60019),info:k("info",60020),issueOpened:k("issue-opened",60020),gistPrivate:k("gist-private",60021),gitForkPrivate:k("git-fork-private",60021),lock:k("lock",60021),mirrorPrivate:k("mirror-private",60021),close:k("close",60022),removeClose:k("remove-close",60022),x:k("x",60022),repoSync:k("repo-sync",60023),sync:k("sync",60023),clone:k("clone",60024),desktopDownload:k("desktop-download",60024),beaker:k("beaker",60025),microscope:k("microscope",60025),vm:k("vm",60026),deviceDesktop:k("device-desktop",60026),file:k("file",60027),fileText:k("file-text",60027),more:k("more",60028),ellipsis:k("ellipsis",60028),kebabHorizontal:k("kebab-horizontal",60028),mailReply:k("mail-reply",60029),reply:k("reply",60029),organization:k("organization",60030),organizationFilled:k("organization-filled",60030),organizationOutline:k("organization-outline",60030),newFile:k("new-file",60031),fileAdd:k("file-add",60031),newFolder:k("new-folder",60032),fileDirectoryCreate:k("file-directory-create",60032),trash:k("trash",60033),trashcan:k("trashcan",60033),history:k("history",60034),clock:k("clock",60034),folder:k("folder",60035),fileDirectory:k("file-directory",60035),symbolFolder:k("symbol-folder",60035),logoGithub:k("logo-github",60036),markGithub:k("mark-github",60036),github:k("github",60036),terminal:k("terminal",60037),console:k("console",60037),repl:k("repl",60037),zap:k("zap",60038),symbolEvent:k("symbol-event",60038),error:k("error",60039),stop:k("stop",60039),variable:k("variable",60040),symbolVariable:k("symbol-variable",60040),array:k("array",60042),symbolArray:k("symbol-array",60042),symbolModule:k("symbol-module",60043),symbolPackage:k("symbol-package",60043),symbolNamespace:k("symbol-namespace",60043),symbolObject:k("symbol-object",60043),symbolMethod:k("symbol-method",60044),symbolFunction:k("symbol-function",60044),symbolConstructor:k("symbol-constructor",60044),symbolBoolean:k("symbol-boolean",60047),symbolNull:k("symbol-null",60047),symbolNumeric:k("symbol-numeric",60048),symbolNumber:k("symbol-number",60048),symbolStructure:k("symbol-structure",60049),symbolStruct:k("symbol-struct",60049),symbolParameter:k("symbol-parameter",60050),symbolTypeParameter:k("symbol-type-parameter",60050),symbolKey:k("symbol-key",60051),symbolText:k("symbol-text",60051),symbolReference:k("symbol-reference",60052),goToFile:k("go-to-file",60052),symbolEnum:k("symbol-enum",60053),symbolValue:k("symbol-value",60053),symbolRuler:k("symbol-ruler",60054),symbolUnit:k("symbol-unit",60054),activateBreakpoints:k("activate-breakpoints",60055),archive:k("archive",60056),arrowBoth:k("arrow-both",60057),arrowDown:k("arrow-down",60058),arrowLeft:k("arrow-left",60059),arrowRight:k("arrow-right",60060),arrowSmallDown:k("arrow-small-down",60061),arrowSmallLeft:k("arrow-small-left",60062),arrowSmallRight:k("arrow-small-right",60063),arrowSmallUp:k("arrow-small-up",60064),arrowUp:k("arrow-up",60065),bell:k("bell",60066),bold:k("bold",60067),book:k("book",60068),bookmark:k("bookmark",60069),debugBreakpointConditionalUnverified:k("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:k("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:k("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:k("debug-breakpoint-data-unverified",60072),debugBreakpointData:k("debug-breakpoint-data",60073),debugBreakpointDataDisabled:k("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:k("debug-breakpoint-log-unverified",60074),debugBreakpointLog:k("debug-breakpoint-log",60075),debugBreakpointLogDisabled:k("debug-breakpoint-log-disabled",60075),briefcase:k("briefcase",60076),broadcast:k("broadcast",60077),browser:k("browser",60078),bug:k("bug",60079),calendar:k("calendar",60080),caseSensitive:k("case-sensitive",60081),check:k("check",60082),checklist:k("checklist",60083),chevronDown:k("chevron-down",60084),dropDownButton:k("drop-down-button",60084),chevronLeft:k("chevron-left",60085),chevronRight:k("chevron-right",60086),chevronUp:k("chevron-up",60087),chromeClose:k("chrome-close",60088),chromeMaximize:k("chrome-maximize",60089),chromeMinimize:k("chrome-minimize",60090),chromeRestore:k("chrome-restore",60091),circle:k("circle",60092),circleOutline:k("circle-outline",60092),debugBreakpointUnverified:k("debug-breakpoint-unverified",60092),circleSlash:k("circle-slash",60093),circuitBoard:k("circuit-board",60094),clearAll:k("clear-all",60095),clippy:k("clippy",60096),closeAll:k("close-all",60097),cloudDownload:k("cloud-download",60098),cloudUpload:k("cloud-upload",60099),code:k("code",60100),collapseAll:k("collapse-all",60101),colorMode:k("color-mode",60102),commentDiscussion:k("comment-discussion",60103),compareChanges:k("compare-changes",60157),creditCard:k("credit-card",60105),dash:k("dash",60108),dashboard:k("dashboard",60109),database:k("database",60110),debugContinue:k("debug-continue",60111),debugDisconnect:k("debug-disconnect",60112),debugPause:k("debug-pause",60113),debugRestart:k("debug-restart",60114),debugStart:k("debug-start",60115),debugStepInto:k("debug-step-into",60116),debugStepOut:k("debug-step-out",60117),debugStepOver:k("debug-step-over",60118),debugStop:k("debug-stop",60119),debug:k("debug",60120),deviceCameraVideo:k("device-camera-video",60121),deviceCamera:k("device-camera",60122),deviceMobile:k("device-mobile",60123),diffAdded:k("diff-added",60124),diffIgnored:k("diff-ignored",60125),diffModified:k("diff-modified",60126),diffRemoved:k("diff-removed",60127),diffRenamed:k("diff-renamed",60128),diff:k("diff",60129),discard:k("discard",60130),editorLayout:k("editor-layout",60131),emptyWindow:k("empty-window",60132),exclude:k("exclude",60133),extensions:k("extensions",60134),eyeClosed:k("eye-closed",60135),fileBinary:k("file-binary",60136),fileCode:k("file-code",60137),fileMedia:k("file-media",60138),filePdf:k("file-pdf",60139),fileSubmodule:k("file-submodule",60140),fileSymlinkDirectory:k("file-symlink-directory",60141),fileSymlinkFile:k("file-symlink-file",60142),fileZip:k("file-zip",60143),files:k("files",60144),filter:k("filter",60145),flame:k("flame",60146),foldDown:k("fold-down",60147),foldUp:k("fold-up",60148),fold:k("fold",60149),folderActive:k("folder-active",60150),folderOpened:k("folder-opened",60151),gear:k("gear",60152),gift:k("gift",60153),gistSecret:k("gist-secret",60154),gist:k("gist",60155),gitCommit:k("git-commit",60156),gitCompare:k("git-compare",60157),gitMerge:k("git-merge",60158),githubAction:k("github-action",60159),githubAlt:k("github-alt",60160),globe:k("globe",60161),grabber:k("grabber",60162),graph:k("graph",60163),gripper:k("gripper",60164),heart:k("heart",60165),home:k("home",60166),horizontalRule:k("horizontal-rule",60167),hubot:k("hubot",60168),inbox:k("inbox",60169),issueClosed:k("issue-closed",60324),issueReopened:k("issue-reopened",60171),issues:k("issues",60172),italic:k("italic",60173),jersey:k("jersey",60174),json:k("json",60175),bracket:k("bracket",60175),kebabVertical:k("kebab-vertical",60176),key:k("key",60177),law:k("law",60178),lightbulbAutofix:k("lightbulb-autofix",60179),linkExternal:k("link-external",60180),link:k("link",60181),listOrdered:k("list-ordered",60182),listUnordered:k("list-unordered",60183),liveShare:k("live-share",60184),loading:k("loading",60185),location:k("location",60186),mailRead:k("mail-read",60187),mail:k("mail",60188),markdown:k("markdown",60189),megaphone:k("megaphone",60190),mention:k("mention",60191),milestone:k("milestone",60192),gitPullRequestMilestone:k("git-pull-request-milestone",60192),mortarBoard:k("mortar-board",60193),move:k("move",60194),multipleWindows:k("multiple-windows",60195),mute:k("mute",60196),noNewline:k("no-newline",60197),note:k("note",60198),octoface:k("octoface",60199),openPreview:k("open-preview",60200),package:k("package",60201),paintcan:k("paintcan",60202),pin:k("pin",60203),play:k("play",60204),run:k("run",60204),plug:k("plug",60205),preserveCase:k("preserve-case",60206),preview:k("preview",60207),project:k("project",60208),pulse:k("pulse",60209),question:k("question",60210),quote:k("quote",60211),radioTower:k("radio-tower",60212),reactions:k("reactions",60213),references:k("references",60214),refresh:k("refresh",60215),regex:k("regex",60216),remoteExplorer:k("remote-explorer",60217),remote:k("remote",60218),remove:k("remove",60219),replaceAll:k("replace-all",60220),replace:k("replace",60221),repoClone:k("repo-clone",60222),repoForcePush:k("repo-force-push",60223),repoPull:k("repo-pull",60224),repoPush:k("repo-push",60225),report:k("report",60226),requestChanges:k("request-changes",60227),rocket:k("rocket",60228),rootFolderOpened:k("root-folder-opened",60229),rootFolder:k("root-folder",60230),rss:k("rss",60231),ruby:k("ruby",60232),saveAll:k("save-all",60233),saveAs:k("save-as",60234),save:k("save",60235),screenFull:k("screen-full",60236),screenNormal:k("screen-normal",60237),searchStop:k("search-stop",60238),server:k("server",60240),settingsGear:k("settings-gear",60241),settings:k("settings",60242),shield:k("shield",60243),smiley:k("smiley",60244),sortPrecedence:k("sort-precedence",60245),splitHorizontal:k("split-horizontal",60246),splitVertical:k("split-vertical",60247),squirrel:k("squirrel",60248),starFull:k("star-full",60249),starHalf:k("star-half",60250),symbolClass:k("symbol-class",60251),symbolColor:k("symbol-color",60252),symbolCustomColor:k("symbol-customcolor",60252),symbolConstant:k("symbol-constant",60253),symbolEnumMember:k("symbol-enum-member",60254),symbolField:k("symbol-field",60255),symbolFile:k("symbol-file",60256),symbolInterface:k("symbol-interface",60257),symbolKeyword:k("symbol-keyword",60258),symbolMisc:k("symbol-misc",60259),symbolOperator:k("symbol-operator",60260),symbolProperty:k("symbol-property",60261),wrench:k("wrench",60261),wrenchSubaction:k("wrench-subaction",60261),symbolSnippet:k("symbol-snippet",60262),tasklist:k("tasklist",60263),telescope:k("telescope",60264),textSize:k("text-size",60265),threeBars:k("three-bars",60266),thumbsdown:k("thumbsdown",60267),thumbsup:k("thumbsup",60268),tools:k("tools",60269),triangleDown:k("triangle-down",60270),triangleLeft:k("triangle-left",60271),triangleRight:k("triangle-right",60272),triangleUp:k("triangle-up",60273),twitter:k("twitter",60274),unfold:k("unfold",60275),unlock:k("unlock",60276),unmute:k("unmute",60277),unverified:k("unverified",60278),verified:k("verified",60279),versions:k("versions",60280),vmActive:k("vm-active",60281),vmOutline:k("vm-outline",60282),vmRunning:k("vm-running",60283),watch:k("watch",60284),whitespace:k("whitespace",60285),wholeWord:k("whole-word",60286),window:k("window",60287),wordWrap:k("word-wrap",60288),zoomIn:k("zoom-in",60289),zoomOut:k("zoom-out",60290),listFilter:k("list-filter",60291),listFlat:k("list-flat",60292),listSelection:k("list-selection",60293),selection:k("selection",60293),listTree:k("list-tree",60294),debugBreakpointFunctionUnverified:k("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:k("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:k("debug-breakpoint-function-disabled",60296),debugStackframeActive:k("debug-stackframe-active",60297),circleSmallFilled:k("circle-small-filled",60298),debugStackframeDot:k("debug-stackframe-dot",60298),debugStackframe:k("debug-stackframe",60299),debugStackframeFocused:k("debug-stackframe-focused",60299),debugBreakpointUnsupported:k("debug-breakpoint-unsupported",60300),symbolString:k("symbol-string",60301),debugReverseContinue:k("debug-reverse-continue",60302),debugStepBack:k("debug-step-back",60303),debugRestartFrame:k("debug-restart-frame",60304),callIncoming:k("call-incoming",60306),callOutgoing:k("call-outgoing",60307),menu:k("menu",60308),expandAll:k("expand-all",60309),feedback:k("feedback",60310),gitPullRequestReviewer:k("git-pull-request-reviewer",60310),groupByRefType:k("group-by-ref-type",60311),ungroupByRefType:k("ungroup-by-ref-type",60312),account:k("account",60313),gitPullRequestAssignee:k("git-pull-request-assignee",60313),bellDot:k("bell-dot",60314),debugConsole:k("debug-console",60315),library:k("library",60316),output:k("output",60317),runAll:k("run-all",60318),syncIgnored:k("sync-ignored",60319),pinned:k("pinned",60320),githubInverted:k("github-inverted",60321),debugAlt:k("debug-alt",60305),serverProcess:k("server-process",60322),serverEnvironment:k("server-environment",60323),pass:k("pass",60324),stopCircle:k("stop-circle",60325),playCircle:k("play-circle",60326),record:k("record",60327),debugAltSmall:k("debug-alt-small",60328),vmConnect:k("vm-connect",60329),cloud:k("cloud",60330),merge:k("merge",60331),exportIcon:k("export",60332),graphLeft:k("graph-left",60333),magnet:k("magnet",60334),notebook:k("notebook",60335),redo:k("redo",60336),checkAll:k("check-all",60337),pinnedDirty:k("pinned-dirty",60338),passFilled:k("pass-filled",60339),circleLargeFilled:k("circle-large-filled",60340),circleLarge:k("circle-large",60341),circleLargeOutline:k("circle-large-outline",60341),combine:k("combine",60342),gather:k("gather",60342),table:k("table",60343),variableGroup:k("variable-group",60344),typeHierarchy:k("type-hierarchy",60345),typeHierarchySub:k("type-hierarchy-sub",60346),typeHierarchySuper:k("type-hierarchy-super",60347),gitPullRequestCreate:k("git-pull-request-create",60348),runAbove:k("run-above",60349),runBelow:k("run-below",60350),notebookTemplate:k("notebook-template",60351),debugRerun:k("debug-rerun",60352),workspaceTrusted:k("workspace-trusted",60353),workspaceUntrusted:k("workspace-untrusted",60354),workspaceUnspecified:k("workspace-unspecified",60355),terminalCmd:k("terminal-cmd",60356),terminalDebian:k("terminal-debian",60357),terminalLinux:k("terminal-linux",60358),terminalPowershell:k("terminal-powershell",60359),terminalTmux:k("terminal-tmux",60360),terminalUbuntu:k("terminal-ubuntu",60361),terminalBash:k("terminal-bash",60362),arrowSwap:k("arrow-swap",60363),copy:k("copy",60364),personAdd:k("person-add",60365),filterFilled:k("filter-filled",60366),wand:k("wand",60367),debugLineByLine:k("debug-line-by-line",60368),inspect:k("inspect",60369),layers:k("layers",60370),layersDot:k("layers-dot",60371),layersActive:k("layers-active",60372),compass:k("compass",60373),compassDot:k("compass-dot",60374),compassActive:k("compass-active",60375),azure:k("azure",60376),issueDraft:k("issue-draft",60377),gitPullRequestClosed:k("git-pull-request-closed",60378),gitPullRequestDraft:k("git-pull-request-draft",60379),debugAll:k("debug-all",60380),debugCoverage:k("debug-coverage",60381),runErrors:k("run-errors",60382),folderLibrary:k("folder-library",60383),debugContinueSmall:k("debug-continue-small",60384),beakerStop:k("beaker-stop",60385),graphLine:k("graph-line",60386),graphScatter:k("graph-scatter",60387),pieChart:k("pie-chart",60388),bracketDot:k("bracket-dot",60389),bracketError:k("bracket-error",60390),lockSmall:k("lock-small",60391),azureDevops:k("azure-devops",60392),verifiedFilled:k("verified-filled",60393),newLine:k("newline",60394),layout:k("layout",60395),layoutActivitybarLeft:k("layout-activitybar-left",60396),layoutActivitybarRight:k("layout-activitybar-right",60397),layoutPanelLeft:k("layout-panel-left",60398),layoutPanelCenter:k("layout-panel-center",60399),layoutPanelJustify:k("layout-panel-justify",60400),layoutPanelRight:k("layout-panel-right",60401),layoutPanel:k("layout-panel",60402),layoutSidebarLeft:k("layout-sidebar-left",60403),layoutSidebarRight:k("layout-sidebar-right",60404),layoutStatusbar:k("layout-statusbar",60405),layoutMenubar:k("layout-menubar",60406),layoutCentered:k("layout-centered",60407),layoutSidebarRightOff:k("layout-sidebar-right-off",60416),layoutPanelOff:k("layout-panel-off",60417),layoutSidebarLeftOff:k("layout-sidebar-left-off",60418),target:k("target",60408),indent:k("indent",60409),recordSmall:k("record-small",60410),errorSmall:k("error-small",60411),arrowCircleDown:k("arrow-circle-down",60412),arrowCircleLeft:k("arrow-circle-left",60413),arrowCircleRight:k("arrow-circle-right",60414),arrowCircleUp:k("arrow-circle-up",60415),heartFilled:k("heart-filled",60420),map:k("map",60421),mapFilled:k("map-filled",60422),circleSmall:k("circle-small",60423),bellSlash:k("bell-slash",60424),bellSlashDot:k("bell-slash-dot",60425),commentUnresolved:k("comment-unresolved",60426),gitPullRequestGoToChanges:k("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:k("git-pull-request-new-changes",60428),searchFuzzy:k("search-fuzzy",60429),commentDraft:k("comment-draft",60430),send:k("send",60431),sparkle:k("sparkle",60432),insert:k("insert",60433),mic:k("mic",60434),dialogError:k("dialog-error","error"),dialogWarning:k("dialog-warning","warning"),dialogInfo:k("dialog-info","info"),dialogClose:k("dialog-close","close"),treeItemExpanded:k("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:k("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:k("tree-filter-on-type-off","list-selection"),treeFilterClear:k("tree-filter-clear","close"),treeItemLoading:k("tree-item-loading","loading"),menuSelection:k("menu-selection","check"),menuSubmenu:k("menu-submenu","chevron-right"),menuBarMore:k("menubar-more","more"),scrollbarButtonLeft:k("scrollbar-button-left","triangle-left"),scrollbarButtonRight:k("scrollbar-button-right","triangle-right"),scrollbarButtonUp:k("scrollbar-button-up","triangle-up"),scrollbarButtonDown:k("scrollbar-button-down","triangle-down"),toolBarMore:k("toolbar-more","more"),quickInputBack:k("quick-input-back","arrow-left")};var ec=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(a){a(s)})}return new(n||(n=Promise))(function(s,a){function o(v){try{l(r.next(v))}catch(c){a(c)}}function u(v){try{l(r.throw(v))}catch(c){a(c)}}function l(v){v.done?s(v.value):i(v.value).then(o,u)}l((r=r.apply(e,t||[])).next())})};class j1{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new Ri,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(t){this._onDidChange.fire({changedLanguages:t,changedColorMap:!1})}register(t,n){return this._tokenizationSupports.set(t,n),this.handleChange([t]),ao(()=>{this._tokenizationSupports.get(t)===n&&(this._tokenizationSupports.delete(t),this.handleChange([t]))})}get(t){return this._tokenizationSupports.get(t)||null}registerFactory(t,n){var r;(r=this._factories.get(t))===null||r===void 0||r.dispose();const i=new R1(this,t,n);return this._factories.set(t,i),ao(()=>{const s=this._factories.get(t);!s||s!==i||(this._factories.delete(t),s.dispose())})}getOrCreate(t){return ec(this,void 0,void 0,function*(){const n=this.get(t);if(n)return n;const r=this._factories.get(t);return!r||r.isResolved?null:(yield r.resolve(),this.get(t))})}isResolved(t){if(this.get(t))return!0;const r=this._factories.get(t);return!!(!r||r.isResolved)}setColorMap(t){this._colorMap=t,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class R1 extends oo{get isResolved(){return this._isResolved}constructor(t,n,r){super(),this._registry=t,this._languageId=n,this._factory=r,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return ec(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return ec(this,void 0,void 0,function*(){const t=yield this._factory.tokenizationSupport;this._isResolved=!0,t&&!this._isDisposed&&this._register(this._registry.register(this._languageId,t))})}}class $1{constructor(t,n,r){this.offset=t,this.type=n,this.language=r,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}var Up;(function(e){const t=new Map;t.set(0,Tn.symbolMethod),t.set(1,Tn.symbolFunction),t.set(2,Tn.symbolConstructor),t.set(3,Tn.symbolField),t.set(4,Tn.symbolVariable),t.set(5,Tn.symbolClass),t.set(6,Tn.symbolStruct),t.set(7,Tn.symbolInterface),t.set(8,Tn.symbolModule),t.set(9,Tn.symbolProperty),t.set(10,Tn.symbolEvent),t.set(11,Tn.symbolOperator),t.set(12,Tn.symbolUnit),t.set(13,Tn.symbolValue),t.set(15,Tn.symbolEnum),t.set(14,Tn.symbolConstant),t.set(15,Tn.symbolEnum),t.set(16,Tn.symbolEnumMember),t.set(17,Tn.symbolKeyword),t.set(27,Tn.symbolSnippet),t.set(18,Tn.symbolText),t.set(19,Tn.symbolColor),t.set(20,Tn.symbolFile),t.set(21,Tn.symbolReference),t.set(22,Tn.symbolCustomColor),t.set(23,Tn.symbolFolder),t.set(24,Tn.symbolTypeParameter),t.set(25,Tn.account),t.set(26,Tn.issues);function n(s){let a=t.get(s);return a||(console.info("No codicon found for CompletionItemKind "+s),a=Tn.symbolProperty),a}e.toIcon=n;const 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",27),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);function i(s,a){let o=r.get(s);return typeof o>"u"&&!a&&(o=9),o}e.fromString=i})(Up||(Up={}));var Wp;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(Wp||(Wp={}));var Gp;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(Gp||(Gp={}));var Jp;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(Jp||(Jp={})),Ar("Array","array"),Ar("Boolean","boolean"),Ar("Class","class"),Ar("Constant","constant"),Ar("Constructor","constructor"),Ar("Enum","enumeration"),Ar("EnumMember","enumeration member"),Ar("Event","event"),Ar("Field","field"),Ar("File","file"),Ar("Function","function"),Ar("Interface","interface"),Ar("Key","key"),Ar("Method","method"),Ar("Module","module"),Ar("Namespace","namespace"),Ar("Null","null"),Ar("Number","number"),Ar("Object","object"),Ar("Operator","operator"),Ar("Package","package"),Ar("Property","property"),Ar("String","string"),Ar("Struct","struct"),Ar("TypeParameter","type parameter"),Ar("Variable","variable");var Yp;(function(e){const t=new Map;t.set(0,Tn.symbolFile),t.set(1,Tn.symbolModule),t.set(2,Tn.symbolNamespace),t.set(3,Tn.symbolPackage),t.set(4,Tn.symbolClass),t.set(5,Tn.symbolMethod),t.set(6,Tn.symbolProperty),t.set(7,Tn.symbolField),t.set(8,Tn.symbolConstructor),t.set(9,Tn.symbolEnum),t.set(10,Tn.symbolInterface),t.set(11,Tn.symbolFunction),t.set(12,Tn.symbolVariable),t.set(13,Tn.symbolConstant),t.set(14,Tn.symbolString),t.set(15,Tn.symbolNumber),t.set(16,Tn.symbolBoolean),t.set(17,Tn.symbolArray),t.set(18,Tn.symbolObject),t.set(19,Tn.symbolKey),t.set(20,Tn.symbolNull),t.set(21,Tn.symbolEnumMember),t.set(22,Tn.symbolStruct),t.set(23,Tn.symbolEvent),t.set(24,Tn.symbolOperator),t.set(25,Tn.symbolTypeParameter);function n(r){let i=t.get(r);return i||(console.info("No codicon found for SymbolKind "+r),i=Tn.symbolProperty),i}e.toIcon=n})(Yp||(Yp={}));var Hp;(function(e){function t(n){return!n||typeof n!="object"?!1:typeof n.id=="string"&&typeof n.title=="string"}e.is=t})(Hp||(Hp={}));var zp;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(zp||(zp={})),new j1;var Qp;(function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"})(Qp||(Qp={}));var Xp;(function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"})(Xp||(Xp={}));var Kp;(function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"})(Kp||(Kp={}));var Zp;(function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"})(Zp||(Zp={}));var ed;(function(e){e[e.Deprecated=1]="Deprecated"})(ed||(ed={}));var td;(function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(td||(td={}));var nd;(function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"})(nd||(nd={}));var rd;(function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"})(rd||(rd={}));var id;(function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(id||(id={}));var sd;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(sd||(sd={}));var ad;(function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"})(ad||(ad={}));var od;(function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.ariaRequired=5]="ariaRequired",e[e.autoClosingBrackets=6]="autoClosingBrackets",e[e.autoClosingComments=7]="autoClosingComments",e[e.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=9]="autoClosingDelete",e[e.autoClosingOvertype=10]="autoClosingOvertype",e[e.autoClosingQuotes=11]="autoClosingQuotes",e[e.autoIndent=12]="autoIndent",e[e.automaticLayout=13]="automaticLayout",e[e.autoSurround=14]="autoSurround",e[e.bracketPairColorization=15]="bracketPairColorization",e[e.guides=16]="guides",e[e.codeLens=17]="codeLens",e[e.codeLensFontFamily=18]="codeLensFontFamily",e[e.codeLensFontSize=19]="codeLensFontSize",e[e.colorDecorators=20]="colorDecorators",e[e.colorDecoratorsLimit=21]="colorDecoratorsLimit",e[e.columnSelection=22]="columnSelection",e[e.comments=23]="comments",e[e.contextmenu=24]="contextmenu",e[e.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",e[e.cursorBlinking=26]="cursorBlinking",e[e.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",e[e.cursorStyle=28]="cursorStyle",e[e.cursorSurroundingLines=29]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",e[e.cursorWidth=31]="cursorWidth",e[e.disableLayerHinting=32]="disableLayerHinting",e[e.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",e[e.domReadOnly=34]="domReadOnly",e[e.dragAndDrop=35]="dragAndDrop",e[e.dropIntoEditor=36]="dropIntoEditor",e[e.emptySelectionClipboard=37]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",e[e.extraEditorClassName=39]="extraEditorClassName",e[e.fastScrollSensitivity=40]="fastScrollSensitivity",e[e.find=41]="find",e[e.fixedOverflowWidgets=42]="fixedOverflowWidgets",e[e.folding=43]="folding",e[e.foldingStrategy=44]="foldingStrategy",e[e.foldingHighlight=45]="foldingHighlight",e[e.foldingImportsByDefault=46]="foldingImportsByDefault",e[e.foldingMaximumRegions=47]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=49]="fontFamily",e[e.fontInfo=50]="fontInfo",e[e.fontLigatures=51]="fontLigatures",e[e.fontSize=52]="fontSize",e[e.fontWeight=53]="fontWeight",e[e.fontVariations=54]="fontVariations",e[e.formatOnPaste=55]="formatOnPaste",e[e.formatOnType=56]="formatOnType",e[e.glyphMargin=57]="glyphMargin",e[e.gotoLocation=58]="gotoLocation",e[e.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",e[e.hover=60]="hover",e[e.inDiffEditor=61]="inDiffEditor",e[e.inlineSuggest=62]="inlineSuggest",e[e.letterSpacing=63]="letterSpacing",e[e.lightbulb=64]="lightbulb",e[e.lineDecorationsWidth=65]="lineDecorationsWidth",e[e.lineHeight=66]="lineHeight",e[e.lineNumbers=67]="lineNumbers",e[e.lineNumbersMinChars=68]="lineNumbersMinChars",e[e.linkedEditing=69]="linkedEditing",e[e.links=70]="links",e[e.matchBrackets=71]="matchBrackets",e[e.minimap=72]="minimap",e[e.mouseStyle=73]="mouseStyle",e[e.mouseWheelScrollSensitivity=74]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=75]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=76]="multiCursorMergeOverlapping",e[e.multiCursorModifier=77]="multiCursorModifier",e[e.multiCursorPaste=78]="multiCursorPaste",e[e.multiCursorLimit=79]="multiCursorLimit",e[e.occurrencesHighlight=80]="occurrencesHighlight",e[e.overviewRulerBorder=81]="overviewRulerBorder",e[e.overviewRulerLanes=82]="overviewRulerLanes",e[e.padding=83]="padding",e[e.pasteAs=84]="pasteAs",e[e.parameterHints=85]="parameterHints",e[e.peekWidgetDefaultFocus=86]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=87]="definitionLinkOpensInPeek",e[e.quickSuggestions=88]="quickSuggestions",e[e.quickSuggestionsDelay=89]="quickSuggestionsDelay",e[e.readOnly=90]="readOnly",e[e.readOnlyMessage=91]="readOnlyMessage",e[e.renameOnType=92]="renameOnType",e[e.renderControlCharacters=93]="renderControlCharacters",e[e.renderFinalNewline=94]="renderFinalNewline",e[e.renderLineHighlight=95]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=96]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=97]="renderValidationDecorations",e[e.renderWhitespace=98]="renderWhitespace",e[e.revealHorizontalRightPadding=99]="revealHorizontalRightPadding",e[e.roundedSelection=100]="roundedSelection",e[e.rulers=101]="rulers",e[e.scrollbar=102]="scrollbar",e[e.scrollBeyondLastColumn=103]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=104]="scrollBeyondLastLine",e[e.scrollPredominantAxis=105]="scrollPredominantAxis",e[e.selectionClipboard=106]="selectionClipboard",e[e.selectionHighlight=107]="selectionHighlight",e[e.selectOnLineNumbers=108]="selectOnLineNumbers",e[e.showFoldingControls=109]="showFoldingControls",e[e.showUnused=110]="showUnused",e[e.snippetSuggestions=111]="snippetSuggestions",e[e.smartSelect=112]="smartSelect",e[e.smoothScrolling=113]="smoothScrolling",e[e.stickyScroll=114]="stickyScroll",e[e.stickyTabStops=115]="stickyTabStops",e[e.stopRenderingLineAfter=116]="stopRenderingLineAfter",e[e.suggest=117]="suggest",e[e.suggestFontSize=118]="suggestFontSize",e[e.suggestLineHeight=119]="suggestLineHeight",e[e.suggestOnTriggerCharacters=120]="suggestOnTriggerCharacters",e[e.suggestSelection=121]="suggestSelection",e[e.tabCompletion=122]="tabCompletion",e[e.tabIndex=123]="tabIndex",e[e.unicodeHighlighting=124]="unicodeHighlighting",e[e.unusualLineTerminators=125]="unusualLineTerminators",e[e.useShadowDOM=126]="useShadowDOM",e[e.useTabStops=127]="useTabStops",e[e.wordBreak=128]="wordBreak",e[e.wordSeparators=129]="wordSeparators",e[e.wordWrap=130]="wordWrap",e[e.wordWrapBreakAfterCharacters=131]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=132]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=133]="wordWrapColumn",e[e.wordWrapOverride1=134]="wordWrapOverride1",e[e.wordWrapOverride2=135]="wordWrapOverride2",e[e.wrappingIndent=136]="wrappingIndent",e[e.wrappingStrategy=137]="wrappingStrategy",e[e.showDeprecated=138]="showDeprecated",e[e.inlayHints=139]="inlayHints",e[e.editorClassName=140]="editorClassName",e[e.pixelRatio=141]="pixelRatio",e[e.tabFocusMode=142]="tabFocusMode",e[e.layoutInfo=143]="layoutInfo",e[e.wrappingInfo=144]="wrappingInfo",e[e.defaultColorDecorators=145]="defaultColorDecorators",e[e.colorDecoratorsActivatedOn=146]="colorDecoratorsActivatedOn",e[e.inlineCompletionsAccessibilityVerbose=147]="inlineCompletionsAccessibilityVerbose"})(od||(od={}));var ud;(function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(ud||(ud={}));var ld;(function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"})(ld||(ld={}));var cd;(function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"})(cd||(cd={}));var fd;(function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"})(fd||(fd={}));var pd;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(pd||(pd={}));var dd;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(dd||(dd={}));var hd;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(hd||(hd={}));var tc;(function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.F20=78]="F20",e[e.F21=79]="F21",e[e.F22=80]="F22",e[e.F23=81]="F23",e[e.F24=82]="F24",e[e.NumLock=83]="NumLock",e[e.ScrollLock=84]="ScrollLock",e[e.Semicolon=85]="Semicolon",e[e.Equal=86]="Equal",e[e.Comma=87]="Comma",e[e.Minus=88]="Minus",e[e.Period=89]="Period",e[e.Slash=90]="Slash",e[e.Backquote=91]="Backquote",e[e.BracketLeft=92]="BracketLeft",e[e.Backslash=93]="Backslash",e[e.BracketRight=94]="BracketRight",e[e.Quote=95]="Quote",e[e.OEM_8=96]="OEM_8",e[e.IntlBackslash=97]="IntlBackslash",e[e.Numpad0=98]="Numpad0",e[e.Numpad1=99]="Numpad1",e[e.Numpad2=100]="Numpad2",e[e.Numpad3=101]="Numpad3",e[e.Numpad4=102]="Numpad4",e[e.Numpad5=103]="Numpad5",e[e.Numpad6=104]="Numpad6",e[e.Numpad7=105]="Numpad7",e[e.Numpad8=106]="Numpad8",e[e.Numpad9=107]="Numpad9",e[e.NumpadMultiply=108]="NumpadMultiply",e[e.NumpadAdd=109]="NumpadAdd",e[e.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=111]="NumpadSubtract",e[e.NumpadDecimal=112]="NumpadDecimal",e[e.NumpadDivide=113]="NumpadDivide",e[e.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",e[e.ABNT_C1=115]="ABNT_C1",e[e.ABNT_C2=116]="ABNT_C2",e[e.AudioVolumeMute=117]="AudioVolumeMute",e[e.AudioVolumeUp=118]="AudioVolumeUp",e[e.AudioVolumeDown=119]="AudioVolumeDown",e[e.BrowserSearch=120]="BrowserSearch",e[e.BrowserHome=121]="BrowserHome",e[e.BrowserBack=122]="BrowserBack",e[e.BrowserForward=123]="BrowserForward",e[e.MediaTrackNext=124]="MediaTrackNext",e[e.MediaTrackPrevious=125]="MediaTrackPrevious",e[e.MediaStop=126]="MediaStop",e[e.MediaPlayPause=127]="MediaPlayPause",e[e.LaunchMediaPlayer=128]="LaunchMediaPlayer",e[e.LaunchMail=129]="LaunchMail",e[e.LaunchApp2=130]="LaunchApp2",e[e.Clear=131]="Clear",e[e.MAX_VALUE=132]="MAX_VALUE"})(tc||(tc={}));var nc;(function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"})(nc||(nc={}));var rc;(function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"})(rc||(rc={}));var md;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(md||(md={}));var gd;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(gd||(gd={}));var yd;(function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"})(yd||(yd={}));var Dd;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(Dd||(Dd={}));var bd;(function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"})(bd||(bd={}));var vd;(function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"})(vd||(vd={}));var Ed;(function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"})(Ed||(Ed={}));var Ad;(function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"})(Ad||(Ad={}));var Cd;(function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"})(Cd||(Cd={}));var ic;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(ic||(ic={}));var xd;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(xd||(xd={}));var Sd;(function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"})(Sd||(Sd={}));var wd;(function(e){e[e.Deprecated=1]="Deprecated"})(wd||(wd={}));var Fd;(function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"})(Fd||(Fd={}));var Nd;(function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"})(Nd||(Nd={}));var _d;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(_d||(_d={}));var Td;(function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"})(Td||(Td={}));class co{static chord(t,n){return O1(t,n)}}co.CtrlCmd=2048,co.Shift=1024,co.Alt=512,co.WinCtrl=256;function V1(){return{editor:void 0,languages:void 0,CancellationTokenSource:P1,Emitter:Ri,KeyCode:tc,KeyMod:co,Position:Zi,Range:Gr,Selection:Ai,SelectionDirection:ic,MarkerSeverity:nc,MarkerTag:rc,Uri:Wl,Token:$1}}var Ld;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(Ld||(Ld={}));var kd;(function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"})(kd||(kd={}));var Pd;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(Pd||(Pd={}));var Bd;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(Bd||(Bd={}));function q1(e,t,n,r,i){if(r===0)return!0;const s=t.charCodeAt(r-1);if(e.get(s)!==0||s===13||s===10)return!0;if(i>0){const a=t.charCodeAt(r);if(e.get(a)!==0)return!0}return!1}function U1(e,t,n,r,i){if(r+i===n)return!0;const s=t.charCodeAt(r+i);if(e.get(s)!==0||s===13||s===10)return!0;if(i>0){const a=t.charCodeAt(r+i-1);if(e.get(a)!==0)return!0}return!1}function W1(e,t,n,r,i){return q1(e,t,n,r,i)&&U1(e,t,n,r,i)}class G1{constructor(t,n){this._wordSeparators=t,this._searchRegex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(t){this._searchRegex.lastIndex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(t){const n=t.length;let r;do{if(this._prevMatchStartIndex+this._prevMatchLength===n||(r=this._searchRegex.exec(t),!r))return null;const i=r.index,s=r[0].length;if(i===this._prevMatchStartIndex&&s===this._prevMatchLength){if(s===0){Rg(t,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=i,this._prevMatchLength=s,!this._wordSeparators||W1(this._wordSeparators,t,n,i,s))return r}while(r);return null}}function J1(e,t="Unreachable"){throw new Error(t)}function ou(e){if(!e()){debugger;e(),gp(new vs("Assertion Failed"))}}function Md(e,t){let n=0;for(;n<e.length-1;){const r=e[n],i=e[n+1];if(!t(r,i))return!1;n++}return!0}class Y1{static computeUnicodeHighlights(t,n,r){const i=r?r.startLineNumber:1,s=r?r.endLineNumber:t.getLineCount(),a=new Id(n),o=a.getCandidateCodePoints();let u;o==="allNonBasicAscii"?u=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):u=new RegExp(`${H1(Array.from(o))}`,"g");const l=new G1(null,u),v=[];let c=!1,_,S=0,Q=0,Z=0;e:for(let M=i,he=s;M<=he;M++){const ve=t.getLineContent(M),we=ve.length;l.reset(0);do if(_=l.next(ve),_){let Le=_.index,ae=_.index+_[0].length;if(Le>0){const $e=ve.charCodeAt(Le-1);ql($e)&&Le--}if(ae+1<we){const $e=ve.charCodeAt(ae-1);ql($e)&&ae++}const Ee=ve.substring(Le,ae);let He=Yl(Le+1,jp,ve,0);He&&He.endColumn<=Le+1&&(He=null);const Et=a.shouldHighlightNonBasicASCII(Ee,He?He.word:null);if(Et!==0){Et===3?S++:Et===2?Q++:Et===1?Z++:J1();const $e=1e3;if(v.length>=$e){c=!0;break e}v.push(new Gr(M,Le+1,M,ae+1))}}while(_)}return{ranges:v,hasMore:c,ambiguousCharacterCount:S,invisibleCharacterCount:Q,nonBasicAsciiCharacterCount:Z}}static computeUnicodeHighlightReason(t,n){const r=new Id(n);switch(r.shouldHighlightNonBasicASCII(t,null)){case 0:return null;case 2:return{kind:1};case 3:{const s=t.codePointAt(0),a=r.ambiguousCharacters.getPrimaryConfusable(s),o=$s.getLocales().filter(u=>!$s.getInstance(new Set([...n.allowedLocales,u])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(a),notAmbiguousInLocales:o}}case 1:return{kind:2}}}}function H1(e,t){return`[${Pg(e.map(r=>String.fromCodePoint(r)).join(""))}]`}class Id{constructor(t){this.options=t,this.allowedCodePoints=new Set(t.allowedCodePoints),this.ambiguousCharacters=$s.getInstance(new Set(t.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const t=new Set;if(this.options.invisibleCharacters)for(const n of Es.codePoints)Od(String.fromCodePoint(n))||t.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())t.add(n);for(const n of this.allowedCodePoints)t.delete(n);return t}shouldHighlightNonBasicASCII(t,n){const r=t.codePointAt(0);if(this.allowedCodePoints.has(r))return 0;if(this.options.nonBasicASCII)return 1;let i=!1,s=!1;if(n)for(const a of n){const o=a.codePointAt(0),u=Vg(a);i=i||u,!u&&!this.ambiguousCharacters.isAmbiguous(o)&&!Es.isInvisibleCharacter(o)&&(s=!0)}return!i&&s?0:this.options.invisibleCharacters&&!Od(t)&&Es.isInvisibleCharacter(r)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(r)?3:0}}function Od(e){return e===" "||e===`
8
+ `||e===" "}class uu{constructor(t,n,r){this.changes=t,this.moves=n,this.hitTimeout=r}}class z1{constructor(t,n){this.lineRangeMapping=t,this.changes=n}}class tr{static addRange(t,n){let r=0;for(;r<n.length&&n[r].endExclusive<t.start;)r++;let i=r;for(;i<n.length&&n[i].start<=t.endExclusive;)i++;if(r===i)n.splice(r,0,t);else{const s=Math.min(t.start,n[r].start),a=Math.max(t.endExclusive,n[i-1].endExclusive);n.splice(r,i-r,new tr(s,a))}}static tryCreate(t,n){if(!(t>n))return new tr(t,n)}static ofLength(t){return new tr(0,t)}constructor(t,n){if(this.start=t,this.endExclusive=n,t>n)throw new vs(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(t){return new tr(this.start+t,this.endExclusive+t)}deltaStart(t){return new tr(this.start+t,this.endExclusive)}deltaEnd(t){return new tr(this.start,this.endExclusive+t)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(t){return this.start===t.start&&this.endExclusive===t.endExclusive}containsRange(t){return this.start<=t.start&&t.endExclusive<=this.endExclusive}contains(t){return this.start<=t&&t<this.endExclusive}join(t){return new tr(Math.min(this.start,t.start),Math.max(this.endExclusive,t.endExclusive))}intersect(t){const n=Math.max(this.start,t.start),r=Math.min(this.endExclusive,t.endExclusive);if(n<=r)return new tr(n,r)}slice(t){return t.slice(this.start,this.endExclusive)}clip(t){if(this.isEmpty)throw new vs(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,t))}clipCyclic(t){if(this.isEmpty)throw new vs(`Invalid clipping range: ${this.toString()}`);return t<this.start?this.endExclusive-(this.start-t)%this.length:t>=this.endExclusive?this.start+(t-this.start)%this.length:t}forEach(t){for(let n=this.start;n<this.endExclusive;n++)t(n)}}function fo(e,t){const n=po(e,t);return n===-1?void 0:e[n]}function po(e,t,n=0,r=e.length){let i=n,s=r;for(;i<s;){const a=Math.floor((i+s)/2);t(e[a])?i=a+1:s=a}return i-1}function Q1(e,t){const n=sc(e,t);return n===e.length?void 0:e[n]}function sc(e,t,n=0,r=e.length){let i=n,s=r;for(;i<s;){const a=Math.floor((i+s)/2);t(e[a])?s=a:i=a+1}return i}class ho{constructor(t){this._array=t,this._findLastMonotonousLastIdx=0}findLastMonotonous(t){if(ho.assertInvariants){if(this._prevFindLastPredicate){for(const r of this._array)if(this._prevFindLastPredicate(r)&&!t(r))throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.")}this._prevFindLastPredicate=t}const n=po(this._array,t,this._findLastMonotonousLastIdx);return this._findLastMonotonousLastIdx=n+1,n===-1?void 0:this._array[n]}}ho.assertInvariants=!1;class sr{static fromRange(t){return new sr(t.startLineNumber,t.endLineNumber)}static joinMany(t){if(t.length===0)return[];let n=new es(t[0].slice());for(let r=1;r<t.length;r++)n=n.getUnion(new es(t[r].slice()));return n.ranges}static ofLength(t,n){return new sr(t,t+n)}static deserialize(t){return new sr(t[0],t[1])}constructor(t,n){if(t>n)throw new vs(`startLineNumber ${t} cannot be after endLineNumberExclusive ${n}`);this.startLineNumber=t,this.endLineNumberExclusive=n}contains(t){return this.startLineNumber<=t&&t<this.endLineNumberExclusive}get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}delta(t){return new sr(this.startLineNumber+t,this.endLineNumberExclusive+t)}deltaLength(t){return new sr(this.startLineNumber,this.endLineNumberExclusive+t)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(t){return new sr(Math.min(this.startLineNumber,t.startLineNumber),Math.max(this.endLineNumberExclusive,t.endLineNumberExclusive))}toString(){return`[${this.startLineNumber},${this.endLineNumberExclusive})`}intersect(t){const n=Math.max(this.startLineNumber,t.startLineNumber),r=Math.min(this.endLineNumberExclusive,t.endLineNumberExclusive);if(n<=r)return new sr(n,r)}intersectsStrict(t){return this.startLineNumber<t.endLineNumberExclusive&&t.startLineNumber<this.endLineNumberExclusive}overlapOrTouch(t){return this.startLineNumber<=t.endLineNumberExclusive&&t.startLineNumber<=this.endLineNumberExclusive}equals(t){return this.startLineNumber===t.startLineNumber&&this.endLineNumberExclusive===t.endLineNumberExclusive}toInclusiveRange(){return this.isEmpty?null:new Gr(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)}toExclusiveRange(){return new Gr(this.startLineNumber,1,this.endLineNumberExclusive,1)}mapToLineArray(t){const n=[];for(let r=this.startLineNumber;r<this.endLineNumberExclusive;r++)n.push(t(r));return n}forEach(t){for(let n=this.startLineNumber;n<this.endLineNumberExclusive;n++)t(n)}serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}includes(t){return this.startLineNumber<=t&&t<this.endLineNumberExclusive}toOffsetRange(){return new tr(this.startLineNumber-1,this.endLineNumberExclusive-1)}}class es{constructor(t=[]){this._normalizedRanges=t}get ranges(){return this._normalizedRanges}addRange(t){if(t.length===0)return;const n=sc(this._normalizedRanges,i=>i.endLineNumberExclusive>=t.startLineNumber),r=po(this._normalizedRanges,i=>i.startLineNumber<=t.endLineNumberExclusive)+1;if(n===r)this._normalizedRanges.splice(n,0,t);else if(n===r-1){const i=this._normalizedRanges[n];this._normalizedRanges[n]=i.join(t)}else{const i=this._normalizedRanges[n].join(this._normalizedRanges[r-1]).join(t);this._normalizedRanges.splice(n,r-n,i)}}contains(t){const n=fo(this._normalizedRanges,r=>r.startLineNumber<=t);return!!n&&n.endLineNumberExclusive>t}getUnion(t){if(this._normalizedRanges.length===0)return t;if(t._normalizedRanges.length===0)return this;const n=[];let r=0,i=0,s=null;for(;r<this._normalizedRanges.length||i<t._normalizedRanges.length;){let a=null;if(r<this._normalizedRanges.length&&i<t._normalizedRanges.length){const o=this._normalizedRanges[r],u=t._normalizedRanges[i];o.startLineNumber<u.startLineNumber?(a=o,r++):(a=u,i++)}else r<this._normalizedRanges.length?(a=this._normalizedRanges[r],r++):(a=t._normalizedRanges[i],i++);s===null?s=a:s.endLineNumberExclusive>=a.startLineNumber?s=new sr(s.startLineNumber,Math.max(s.endLineNumberExclusive,a.endLineNumberExclusive)):(n.push(s),s=a)}return s!==null&&n.push(s),new es(n)}subtractFrom(t){const n=sc(this._normalizedRanges,a=>a.endLineNumberExclusive>=t.startLineNumber),r=po(this._normalizedRanges,a=>a.startLineNumber<=t.endLineNumberExclusive)+1;if(n===r)return new es([t]);const i=[];let s=t.startLineNumber;for(let a=n;a<r;a++){const o=this._normalizedRanges[a];o.startLineNumber>s&&i.push(new sr(s,o.startLineNumber)),s=o.endLineNumberExclusive}return s<t.endLineNumberExclusive&&i.push(new sr(s,t.endLineNumberExclusive)),new es(i)}toString(){return this._normalizedRanges.map(t=>t.toString()).join(", ")}getIntersection(t){const n=[];let r=0,i=0;for(;r<this._normalizedRanges.length&&i<t._normalizedRanges.length;){const s=this._normalizedRanges[r],a=t._normalizedRanges[i],o=s.intersect(a);o&&!o.isEmpty&&n.push(o),s.endLineNumberExclusive<a.endLineNumberExclusive?r++:i++}return new es(n)}getWithDelta(t){return new es(this._normalizedRanges.map(n=>n.delta(t)))}}class Ns{static inverse(t,n,r){const i=[];let s=1,a=1;for(const u of t){const l=new os(new sr(s,u.original.startLineNumber),new sr(a,u.modified.startLineNumber),void 0);l.modified.isEmpty||i.push(l),s=u.original.endLineNumberExclusive,a=u.modified.endLineNumberExclusive}const o=new os(new sr(s,n+1),new sr(a,r+1),void 0);return o.modified.isEmpty||i.push(o),i}constructor(t,n){this.original=t,this.modified=n}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new Ns(this.modified,this.original)}join(t){return new Ns(this.original.join(t.original),this.modified.join(t.modified))}}class os extends Ns{constructor(t,n,r){super(t,n),this.innerChanges=r}flip(){var t;return new os(this.modified,this.original,(t=this.innerChanges)===null||t===void 0?void 0:t.map(n=>n.flip()))}}class mo{constructor(t,n){this.originalRange=t,this.modifiedRange=n}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new mo(this.modifiedRange,this.originalRange)}}const X1=3;class K1{computeDiff(t,n,r){var i;const a=new ty(t,n,{maxComputationTime:r.maxComputationTimeMs,shouldIgnoreTrimWhitespace:r.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),o=[];let u=null;for(const l of a.changes){let v;l.originalEndLineNumber===0?v=new sr(l.originalStartLineNumber+1,l.originalStartLineNumber+1):v=new sr(l.originalStartLineNumber,l.originalEndLineNumber+1);let c;l.modifiedEndLineNumber===0?c=new sr(l.modifiedStartLineNumber+1,l.modifiedStartLineNumber+1):c=new sr(l.modifiedStartLineNumber,l.modifiedEndLineNumber+1);let _=new os(v,c,(i=l.charChanges)===null||i===void 0?void 0:i.map(S=>new mo(new Gr(S.originalStartLineNumber,S.originalStartColumn,S.originalEndLineNumber,S.originalEndColumn),new Gr(S.modifiedStartLineNumber,S.modifiedStartColumn,S.modifiedEndLineNumber,S.modifiedEndColumn))));u&&(u.modified.endLineNumberExclusive===_.modified.startLineNumber||u.original.endLineNumberExclusive===_.original.startLineNumber)&&(_=new os(u.original.join(_.original),u.modified.join(_.modified),u.innerChanges&&_.innerChanges?u.innerChanges.concat(_.innerChanges):void 0),o.pop()),o.push(_),u=_}return ou(()=>Md(o,(l,v)=>v.original.startLineNumber-l.original.endLineNumberExclusive===v.modified.startLineNumber-l.modified.endLineNumberExclusive&&l.original.endLineNumberExclusive<v.original.startLineNumber&&l.modified.endLineNumberExclusive<v.modified.startLineNumber)),new uu(o,[],a.quitEarly)}}function jd(e,t,n,r){return new Cs(e,t,n).ComputeDiff(r)}let Rd=class{constructor(t){const n=[],r=[];for(let i=0,s=t.length;i<s;i++)n[i]=ac(t[i],1),r[i]=oc(t[i],1);this.lines=t,this._startColumns=n,this._endColumns=r}getElements(){const t=[];for(let n=0,r=this.lines.length;n<r;n++)t[n]=this.lines[n].substring(this._startColumns[n]-1,this._endColumns[n]-1);return t}getStrictElement(t){return this.lines[t]}getStartLineNumber(t){return t+1}getEndLineNumber(t){return t+1}createCharSequence(t,n,r){const i=[],s=[],a=[];let o=0;for(let u=n;u<=r;u++){const l=this.lines[u],v=t?this._startColumns[u]:1,c=t?this._endColumns[u]:l.length+1;for(let _=v;_<c;_++)i[o]=l.charCodeAt(_-1),s[o]=u+1,a[o]=_,o++;!t&&u<r&&(i[o]=10,s[o]=u+1,a[o]=l.length+1,o++)}return new Z1(i,s,a)}};class Z1{constructor(t,n,r){this._charCodes=t,this._lineNumbers=n,this._columns=r}toString(){return"["+this._charCodes.map((t,n)=>(t===10?"\\n":String.fromCharCode(t))+`-(${this._lineNumbers[n]},${this._columns[n]})`).join(", ")+"]"}_assertIndex(t,n){if(t<0||t>=n.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(t){return t>0&&t===this._lineNumbers.length?this.getEndLineNumber(t-1):(this._assertIndex(t,this._lineNumbers),this._lineNumbers[t])}getEndLineNumber(t){return t===-1?this.getStartLineNumber(t+1):(this._assertIndex(t,this._lineNumbers),this._charCodes[t]===10?this._lineNumbers[t]+1:this._lineNumbers[t])}getStartColumn(t){return t>0&&t===this._columns.length?this.getEndColumn(t-1):(this._assertIndex(t,this._columns),this._columns[t])}getEndColumn(t){return t===-1?this.getStartColumn(t+1):(this._assertIndex(t,this._columns),this._charCodes[t]===10?1:this._columns[t]+1)}}class ba{constructor(t,n,r,i,s,a,o,u){this.originalStartLineNumber=t,this.originalStartColumn=n,this.originalEndLineNumber=r,this.originalEndColumn=i,this.modifiedStartLineNumber=s,this.modifiedStartColumn=a,this.modifiedEndLineNumber=o,this.modifiedEndColumn=u}static createFromDiffChange(t,n,r){const i=n.getStartLineNumber(t.originalStart),s=n.getStartColumn(t.originalStart),a=n.getEndLineNumber(t.originalStart+t.originalLength-1),o=n.getEndColumn(t.originalStart+t.originalLength-1),u=r.getStartLineNumber(t.modifiedStart),l=r.getStartColumn(t.modifiedStart),v=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),c=r.getEndColumn(t.modifiedStart+t.modifiedLength-1);return new ba(i,s,a,o,u,l,v,c)}}function ey(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,i=e.length;r<i;r++){const s=e[r],a=s.originalStart-(n.originalStart+n.originalLength),o=s.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(a,o)<X1?(n.originalLength=s.originalStart+s.originalLength-n.originalStart,n.modifiedLength=s.modifiedStart+s.modifiedLength-n.modifiedStart):(t.push(s),n=s)}return t}class go{constructor(t,n,r,i,s){this.originalStartLineNumber=t,this.originalEndLineNumber=n,this.modifiedStartLineNumber=r,this.modifiedEndLineNumber=i,this.charChanges=s}static createFromDiffResult(t,n,r,i,s,a,o){let u,l,v,c,_;if(n.originalLength===0?(u=r.getStartLineNumber(n.originalStart)-1,l=0):(u=r.getStartLineNumber(n.originalStart),l=r.getEndLineNumber(n.originalStart+n.originalLength-1)),n.modifiedLength===0?(v=i.getStartLineNumber(n.modifiedStart)-1,c=0):(v=i.getStartLineNumber(n.modifiedStart),c=i.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),a&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&s()){const S=r.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),Q=i.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);if(S.getElements().length>0&&Q.getElements().length>0){let Z=jd(S,Q,s,!0).changes;o&&(Z=ey(Z)),_=[];for(let M=0,he=Z.length;M<he;M++)_.push(ba.createFromDiffChange(Z[M],S,Q))}}return new go(u,l,v,c,_)}}class ty{constructor(t,n,r){this.shouldComputeCharChanges=r.shouldComputeCharChanges,this.shouldPostProcessCharChanges=r.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=r.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=r.shouldMakePrettyDiff,this.originalLines=t,this.modifiedLines=n,this.original=new Rd(t),this.modified=new Rd(n),this.continueLineDiff=$d(r.maxComputationTime),this.continueCharDiff=$d(r.maxComputationTime===0?0:Math.min(r.maxComputationTime,5e3))}computeDiff(){if(this.original.lines.length===1&&this.original.lines[0].length===0)return this.modified.lines.length===1&&this.modified.lines[0].length===0?{quitEarly:!1,changes:[]}:{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:void 0}]};if(this.modified.lines.length===1&&this.modified.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:void 0}]};const t=jd(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),n=t.changes,r=t.quitEarly;if(this.shouldIgnoreTrimWhitespace){const o=[];for(let u=0,l=n.length;u<l;u++)o.push(go.createFromDiffResult(this.shouldIgnoreTrimWhitespace,n[u],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:r,changes:o}}const i=[];let s=0,a=0;for(let o=-1,u=n.length;o<u;o++){const l=o+1<u?n[o+1]:null,v=l?l.originalStart:this.originalLines.length,c=l?l.modifiedStart:this.modifiedLines.length;for(;s<v&&a<c;){const _=this.originalLines[s],S=this.modifiedLines[a];if(_!==S){{let Q=ac(_,1),Z=ac(S,1);for(;Q>1&&Z>1;){const M=_.charCodeAt(Q-2),he=S.charCodeAt(Z-2);if(M!==he)break;Q--,Z--}(Q>1||Z>1)&&this._pushTrimWhitespaceCharChange(i,s+1,1,Q,a+1,1,Z)}{let Q=oc(_,1),Z=oc(S,1);const M=_.length+1,he=S.length+1;for(;Q<M&&Z<he;){const ve=_.charCodeAt(Q-1),we=_.charCodeAt(Z-1);if(ve!==we)break;Q++,Z++}(Q<M||Z<he)&&this._pushTrimWhitespaceCharChange(i,s+1,Q,M,a+1,Z,he)}}s++,a++}l&&(i.push(go.createFromDiffResult(this.shouldIgnoreTrimWhitespace,l,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),s+=l.originalLength,a+=l.modifiedLength)}return{quitEarly:r,changes:i}}_pushTrimWhitespaceCharChange(t,n,r,i,s,a,o){if(this._mergeTrimWhitespaceCharChange(t,n,r,i,s,a,o))return;let u;this.shouldComputeCharChanges&&(u=[new ba(n,r,n,i,s,a,s,o)]),t.push(new go(n,n,s,s,u))}_mergeTrimWhitespaceCharChange(t,n,r,i,s,a,o){const u=t.length;if(u===0)return!1;const l=t[u-1];return l.originalEndLineNumber===0||l.modifiedEndLineNumber===0?!1:l.originalEndLineNumber===n&&l.modifiedEndLineNumber===s?(this.shouldComputeCharChanges&&l.charChanges&&l.charChanges.push(new ba(n,r,n,i,s,a,s,o)),!0):l.originalEndLineNumber+1===n&&l.modifiedEndLineNumber+1===s?(l.originalEndLineNumber=n,l.modifiedEndLineNumber=s,this.shouldComputeCharChanges&&l.charChanges&&l.charChanges.push(new ba(n,r,n,i,s,a,s,o)),!0):!1}}function ac(e,t){const n=Mg(e);return n===-1?t:n+1}function oc(e,t){const n=Ig(e);return n===-1?t:n+2}function $d(e){if(e===0)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}class us{static trivial(t,n){return new us([new Mr(tr.ofLength(t.length),tr.ofLength(n.length))],!1)}static trivialTimedOut(t,n){return new us([new Mr(tr.ofLength(t.length),tr.ofLength(n.length))],!0)}constructor(t,n){this.diffs=t,this.hitTimeout=n}}class Mr{static invert(t,n){const r=[];return y1(t,(i,s)=>{r.push(Mr.fromOffsetPairs(i?i.getEndExclusives():ts.zero,s?s.getStarts():new ts(n,(i?i.seq2Range.endExclusive-i.seq1Range.endExclusive:0)+n)))}),r}static fromOffsetPairs(t,n){return new Mr(new tr(t.offset1,n.offset1),new tr(t.offset2,n.offset2))}constructor(t,n){this.seq1Range=t,this.seq2Range=n}swap(){return new Mr(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(t){return new Mr(this.seq1Range.join(t.seq1Range),this.seq2Range.join(t.seq2Range))}delta(t){return t===0?this:new Mr(this.seq1Range.delta(t),this.seq2Range.delta(t))}deltaStart(t){return t===0?this:new Mr(this.seq1Range.deltaStart(t),this.seq2Range.deltaStart(t))}deltaEnd(t){return t===0?this:new Mr(this.seq1Range.deltaEnd(t),this.seq2Range.deltaEnd(t))}intersect(t){const n=this.seq1Range.intersect(t.seq1Range),r=this.seq2Range.intersect(t.seq2Range);if(!(!n||!r))return new Mr(n,r)}getStarts(){return new ts(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new ts(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class ts{constructor(t,n){this.offset1=t,this.offset2=n}toString(){return`${this.offset1} <-> ${this.offset2}`}}ts.zero=new ts(0,0),ts.max=new ts(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class yo{isValid(){return!0}}yo.instance=new yo;class ny{constructor(t){if(this.timeout=t,this.startTime=Date.now(),this.valid=!0,t<=0)throw new vs("timeout must be positive")}isValid(){if(!(Date.now()-this.startTime<this.timeout)&&this.valid){this.valid=!1;debugger}return this.valid}}class uc{constructor(t,n){this.width=t,this.height=n,this.array=[],this.array=new Array(t*n)}get(t,n){return this.array[t+n*this.width]}set(t,n,r){this.array[t+n*this.width]=r}}function lc(e){return e===32||e===9}class va{static getKey(t){let n=this.chrKeys.get(t);return n===void 0&&(n=this.chrKeys.size,this.chrKeys.set(t,n)),n}constructor(t,n,r){this.range=t,this.lines=n,this.source=r,this.histogram=[];let i=0;for(let s=t.startLineNumber-1;s<t.endLineNumberExclusive-1;s++){const a=n[s];for(let u=0;u<a.length;u++){i++;const l=a[u],v=va.getKey(l);this.histogram[v]=(this.histogram[v]||0)+1}i++;const o=va.getKey(`
9
+ `);this.histogram[o]=(this.histogram[o]||0)+1}this.totalCount=i}computeSimilarity(t){var n,r;let i=0;const s=Math.max(this.histogram.length,t.histogram.length);for(let a=0;a<s;a++)i+=Math.abs(((n=this.histogram[a])!==null&&n!==void 0?n:0)-((r=t.histogram[a])!==null&&r!==void 0?r:0));return 1-i/(this.totalCount+t.totalCount)}}va.chrKeys=new Map;class ry{compute(t,n,r=yo.instance,i){if(t.length===0||n.length===0)return us.trivial(t,n);const s=new uc(t.length,n.length),a=new uc(t.length,n.length),o=new uc(t.length,n.length);for(let Q=0;Q<t.length;Q++)for(let Z=0;Z<n.length;Z++){if(!r.isValid())return us.trivialTimedOut(t,n);const M=Q===0?0:s.get(Q-1,Z),he=Z===0?0:s.get(Q,Z-1);let ve;t.getElement(Q)===n.getElement(Z)?(Q===0||Z===0?ve=0:ve=s.get(Q-1,Z-1),Q>0&&Z>0&&a.get(Q-1,Z-1)===3&&(ve+=o.get(Q-1,Z-1)),ve+=i?i(Q,Z):1):ve=-1;const we=Math.max(M,he,ve);if(we===ve){const Le=Q>0&&Z>0?o.get(Q-1,Z-1):0;o.set(Q,Z,Le+1),a.set(Q,Z,3)}else we===M?(o.set(Q,Z,0),a.set(Q,Z,1)):we===he&&(o.set(Q,Z,0),a.set(Q,Z,2));s.set(Q,Z,we)}const u=[];let l=t.length,v=n.length;function c(Q,Z){(Q+1!==l||Z+1!==v)&&u.push(new Mr(new tr(Q+1,l),new tr(Z+1,v))),l=Q,v=Z}let _=t.length-1,S=n.length-1;for(;_>=0&&S>=0;)a.get(_,S)===3?(c(_,S),_--,S--):a.get(_,S)===1?_--:S--;return c(-1,-1),u.reverse(),new us(u,!1)}}class Vd{compute(t,n,r=yo.instance){if(t.length===0||n.length===0)return us.trivial(t,n);const i=t,s=n;function a(Z,M){for(;Z<i.length&&M<s.length&&i.getElement(Z)===s.getElement(M);)Z++,M++;return Z}let o=0;const u=new iy;u.set(0,a(0,0));const l=new sy;l.set(0,u.get(0)===0?null:new qd(null,0,0,u.get(0)));let v=0;e:for(;;){if(o++,!r.isValid())return us.trivialTimedOut(i,s);const Z=-Math.min(o,s.length+o%2),M=Math.min(o,i.length+o%2);for(v=Z;v<=M;v+=2){const he=v===M?-1:u.get(v+1),ve=v===Z?-1:u.get(v-1)+1,we=Math.min(Math.max(he,ve),i.length),Le=we-v;if(we>i.length||Le>s.length)continue;const ae=a(we,Le);u.set(v,ae);const Ee=we===he?l.get(v+1):l.get(v-1);if(l.set(v,ae!==we?new qd(Ee,we,Le,ae-we):Ee),u.get(v)===i.length&&u.get(v)-v===s.length)break e}}let c=l.get(v);const _=[];let S=i.length,Q=s.length;for(;;){const Z=c?c.x+c.length:0,M=c?c.y+c.length:0;if((Z!==S||M!==Q)&&_.push(new Mr(new tr(Z,S),new tr(M,Q))),!c)break;S=c.x,Q=c.y,c=c.prev}return _.reverse(),new us(_,!1)}}class qd{constructor(t,n,r,i){this.prev=t,this.x=n,this.y=r,this.length=i}}class iy{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(t){return t<0?(t=-t-1,this.negativeArr[t]):this.positiveArr[t]}set(t,n){if(t<0){if(t=-t-1,t>=this.negativeArr.length){const r=this.negativeArr;this.negativeArr=new Int32Array(r.length*2),this.negativeArr.set(r)}this.negativeArr[t]=n}else{if(t>=this.positiveArr.length){const r=this.positiveArr;this.positiveArr=new Int32Array(r.length*2),this.positiveArr.set(r)}this.positiveArr[t]=n}}}class sy{constructor(){this.positiveArr=[],this.negativeArr=[]}get(t){return t<0?(t=-t-1,this.negativeArr[t]):this.positiveArr[t]}set(t,n){t<0?(t=-t-1,this.negativeArr[t]=n):this.positiveArr[t]=n}}class ay{constructor(){this.map=new Map}add(t,n){let r=this.map.get(t);r||(r=new Set,this.map.set(t,r)),r.add(n)}delete(t,n){const r=this.map.get(t);r&&(r.delete(n),r.size===0&&this.map.delete(t))}forEach(t,n){const r=this.map.get(t);r&&r.forEach(n)}get(t){const n=this.map.get(t);return n||new Set}}class lu{constructor(t,n,r){this.lines=t,this.considerWhitespaceChanges=r,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let i=!1;n.start>0&&n.endExclusive>=t.length&&(n=new tr(n.start-1,n.endExclusive),i=!0),this.lineRange=n,this.firstCharOffsetByLine[0]=0;for(let s=this.lineRange.start;s<this.lineRange.endExclusive;s++){let a=t[s],o=0;if(i)o=a.length,a="",i=!1;else if(!r){const u=a.trimStart();o=a.length-u.length,a=u.trimEnd()}this.additionalOffsetByLine.push(o);for(let u=0;u<a.length;u++)this.elements.push(a.charCodeAt(u));s<t.length-1&&(this.elements.push(`
10
+ `.charCodeAt(0)),this.firstCharOffsetByLine[s-this.lineRange.start+1]=this.elements.length)}this.additionalOffsetByLine.push(0)}toString(){return`Slice: "${this.text}"`}get text(){return this.getText(new tr(0,this.length))}getText(t){return this.elements.slice(t.start,t.endExclusive).map(n=>String.fromCharCode(n)).join("")}getElement(t){return this.elements[t]}get length(){return this.elements.length}getBoundaryScore(t){const n=Wd(t>0?this.elements[t-1]:-1),r=Wd(t<this.elements.length?this.elements[t]:-1);if(n===6&&r===7)return 0;let i=0;return n!==r&&(i+=10,n===0&&r===1&&(i+=1)),i+=Ud(n),i+=Ud(r),i}translateOffset(t){if(this.lineRange.isEmpty)return new Zi(this.lineRange.start+1,1);const n=po(this.firstCharOffsetByLine,r=>r<=t);return new Zi(this.lineRange.start+n+1,t-this.firstCharOffsetByLine[n]+this.additionalOffsetByLine[n]+1)}translateRange(t){return Gr.fromPositions(this.translateOffset(t.start),this.translateOffset(t.endExclusive))}findWordContaining(t){if(t<0||t>=this.elements.length||!cc(this.elements[t]))return;let n=t;for(;n>0&&cc(this.elements[n-1]);)n--;let r=t;for(;r<this.elements.length&&cc(this.elements[r]);)r++;return new tr(n,r)}countLinesIn(t){return this.translateOffset(t.endExclusive).lineNumber-this.translateOffset(t.start).lineNumber}isStronglyEqual(t,n){return this.elements[t]===this.elements[n]}extendToFullLines(t){var n,r;const i=(n=fo(this.firstCharOffsetByLine,a=>a<=t.start))!==null&&n!==void 0?n:0,s=(r=Q1(this.firstCharOffsetByLine,a=>t.endExclusive<=a))!==null&&r!==void 0?r:this.elements.length;return new tr(i,s)}}function cc(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}const oy={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function Ud(e){return oy[e]}function Wd(e){return e===10?7:e===13?6:lc(e)?5:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:e===-1?3:4}function uy(e,t,n,r,i,s){let{moves:a,excludedChanges:o}=ly(e,t,n,s);if(!s.isValid())return[];const u=e.filter(v=>!o.has(v)),l=cy(u,r,i,t,n,s);return b1(a,l),a=fy(a),a=a.filter(v=>v.original.toOffsetRange().slice(t).map(_=>_.trim()).join(`
11
+ `).length>=10),a=py(e,a),a}function ly(e,t,n,r){const i=[],s=e.filter(u=>u.modified.isEmpty&&u.original.length>=3).map(u=>new va(u.original,t,u)),a=new Set(e.filter(u=>u.original.isEmpty&&u.modified.length>=3).map(u=>new va(u.modified,n,u))),o=new Set;for(const u of s){let l=-1,v;for(const c of a){const _=u.computeSimilarity(c);_>l&&(l=_,v=c)}if(l>.9&&v&&(a.delete(v),i.push(new Ns(u.range,v.range)),o.add(u.source),o.add(v.source)),!r.isValid())return{moves:i,excludedChanges:o}}return{moves:i,excludedChanges:o}}function cy(e,t,n,r,i,s){const a=[],o=new ay;for(const _ of e)for(let S=_.original.startLineNumber;S<_.original.endLineNumberExclusive-2;S++){const Q=`${t[S-1]}:${t[S+1-1]}:${t[S+2-1]}`;o.add(Q,{range:new sr(S,S+3)})}const u=[];e.sort(tu(_=>_.modified.startLineNumber,nu));for(const _ of e){let S=[];for(let Q=_.modified.startLineNumber;Q<_.modified.endLineNumberExclusive-2;Q++){const Z=`${n[Q-1]}:${n[Q+1-1]}:${n[Q+2-1]}`,M=new sr(Q,Q+3),he=[];o.forEach(Z,({range:ve})=>{for(const Le of S)if(Le.originalLineRange.endLineNumberExclusive+1===ve.endLineNumberExclusive&&Le.modifiedLineRange.endLineNumberExclusive+1===M.endLineNumberExclusive){Le.originalLineRange=new sr(Le.originalLineRange.startLineNumber,ve.endLineNumberExclusive),Le.modifiedLineRange=new sr(Le.modifiedLineRange.startLineNumber,M.endLineNumberExclusive),he.push(Le);return}const we={modifiedLineRange:M,originalLineRange:ve};u.push(we),he.push(we)}),S=he}if(!s.isValid())return[]}u.sort(v1(tu(_=>_.modifiedLineRange.length,nu)));const l=new es,v=new es;for(const _ of u){const S=_.modifiedLineRange.startLineNumber-_.originalLineRange.startLineNumber,Q=l.subtractFrom(_.modifiedLineRange),Z=v.subtractFrom(_.originalLineRange).getWithDelta(S),M=Q.getIntersection(Z);for(const he of M.ranges){if(he.length<3)continue;const ve=he,we=he.delta(-S);a.push(new Ns(we,ve)),l.addRange(ve),v.addRange(we)}}a.sort(tu(_=>_.original.startLineNumber,nu));const c=new ho(e);for(let _=0;_<a.length;_++){const S=a[_],Q=c.findLastMonotonous(Ee=>Ee.original.startLineNumber<=S.original.startLineNumber),Z=fo(e,Ee=>Ee.modified.startLineNumber<=S.modified.startLineNumber),M=Math.max(S.original.startLineNumber-Q.original.startLineNumber,S.modified.startLineNumber-Z.modified.startLineNumber),he=c.findLastMonotonous(Ee=>Ee.original.startLineNumber<S.original.endLineNumberExclusive),ve=fo(e,Ee=>Ee.modified.startLineNumber<S.modified.endLineNumberExclusive),we=Math.max(he.original.endLineNumberExclusive-S.original.endLineNumberExclusive,ve.modified.endLineNumberExclusive-S.modified.endLineNumberExclusive);let Le;for(Le=0;Le<M;Le++){const Ee=S.original.startLineNumber-Le-1,He=S.modified.startLineNumber-Le-1;if(Ee>r.length||He>i.length||l.contains(He)||v.contains(Ee)||!Gd(r[Ee-1],i[He-1],s))break}Le>0&&(v.addRange(new sr(S.original.startLineNumber-Le,S.original.startLineNumber)),l.addRange(new sr(S.modified.startLineNumber-Le,S.modified.startLineNumber)));let ae;for(ae=0;ae<we;ae++){const Ee=S.original.endLineNumberExclusive+ae,He=S.modified.endLineNumberExclusive+ae;if(Ee>r.length||He>i.length||l.contains(He)||v.contains(Ee)||!Gd(r[Ee-1],i[He-1],s))break}ae>0&&(v.addRange(new sr(S.original.endLineNumberExclusive,S.original.endLineNumberExclusive+ae)),l.addRange(new sr(S.modified.endLineNumberExclusive,S.modified.endLineNumberExclusive+ae))),(Le>0||ae>0)&&(a[_]=new Ns(new sr(S.original.startLineNumber-Le,S.original.endLineNumberExclusive+ae),new sr(S.modified.startLineNumber-Le,S.modified.endLineNumberExclusive+ae)))}return a}function Gd(e,t,n){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;const i=new Vd().compute(new lu([e],new tr(0,1),!1),new lu([t],new tr(0,1),!1),n);let s=0;const a=Mr.invert(i.diffs,e.length);for(const v of a)v.seq1Range.forEach(c=>{lc(e.charCodeAt(c))||s++});function o(v){let c=0;for(let _=0;_<e.length;_++)lc(v.charCodeAt(_))||c++;return c}const u=o(e.length>t.length?e:t);return s/u>.6&&u>10}function fy(e){if(e.length===0)return e;e.sort(tu(n=>n.original.startLineNumber,nu));const t=[e[0]];for(let n=1;n<e.length;n++){const r=t[t.length-1],i=e[n],s=i.original.startLineNumber-r.original.endLineNumberExclusive,a=i.modified.startLineNumber-r.modified.endLineNumberExclusive;if(s>=0&&a>=0&&s+a<=2){t[t.length-1]=r.join(i);continue}t.push(i)}return t}function py(e,t){const n=new ho(e);return t=t.filter(r=>{const i=n.findLastMonotonous(o=>o.original.endLineNumberExclusive<r.original.endLineNumberExclusive)||new Ns(new sr(1,1),new sr(1,1)),s=fo(e,o=>o.modified.endLineNumberExclusive<r.modified.endLineNumberExclusive);return i!==s}),t}function Jd(e,t,n){let r=n;return r=dy(e,t,r),r=hy(e,t,r),r}function dy(e,t,n){if(n.length===0)return n;const r=[];r.push(n[0]);for(let s=1;s<n.length;s++){const a=r[r.length-1];let o=n[s];if(o.seq1Range.isEmpty||o.seq2Range.isEmpty){const u=o.seq1Range.start-a.seq1Range.endExclusive;let l;for(l=1;l<=u&&!(e.getElement(o.seq1Range.start-l)!==e.getElement(o.seq1Range.endExclusive-l)||t.getElement(o.seq2Range.start-l)!==t.getElement(o.seq2Range.endExclusive-l));l++);if(l--,l===u){r[r.length-1]=new Mr(new tr(a.seq1Range.start,o.seq1Range.endExclusive-u),new tr(a.seq2Range.start,o.seq2Range.endExclusive-u));continue}o=o.delta(-l)}r.push(o)}const i=[];for(let s=0;s<r.length-1;s++){const a=r[s+1];let o=r[s];if(o.seq1Range.isEmpty||o.seq2Range.isEmpty){const u=a.seq1Range.start-o.seq1Range.endExclusive;let l;for(l=0;l<u&&!(!e.isStronglyEqual(o.seq1Range.start+l,o.seq1Range.endExclusive+l)||!t.isStronglyEqual(o.seq2Range.start+l,o.seq2Range.endExclusive+l));l++);if(l===u){r[s+1]=new Mr(new tr(o.seq1Range.start+u,a.seq1Range.endExclusive),new tr(o.seq2Range.start+u,a.seq2Range.endExclusive));continue}l>0&&(o=o.delta(l))}i.push(o)}return r.length>0&&i.push(r[r.length-1]),i}function hy(e,t,n){if(!e.getBoundaryScore||!t.getBoundaryScore)return n;for(let r=0;r<n.length;r++){const i=r>0?n[r-1]:void 0,s=n[r],a=r+1<n.length?n[r+1]:void 0,o=new tr(i?i.seq1Range.start+1:0,a?a.seq1Range.endExclusive-1:e.length),u=new tr(i?i.seq2Range.start+1:0,a?a.seq2Range.endExclusive-1:t.length);s.seq1Range.isEmpty?n[r]=Yd(s,e,t,o,u):s.seq2Range.isEmpty&&(n[r]=Yd(s.swap(),t,e,u,o).swap())}return n}function Yd(e,t,n,r,i){let a=1;for(;e.seq1Range.start-a>=r.start&&e.seq2Range.start-a>=i.start&&n.isStronglyEqual(e.seq2Range.start-a,e.seq2Range.endExclusive-a)&&a<100;)a++;a--;let o=0;for(;e.seq1Range.start+o<r.endExclusive&&e.seq2Range.endExclusive+o<i.endExclusive&&n.isStronglyEqual(e.seq2Range.start+o,e.seq2Range.endExclusive+o)&&o<100;)o++;if(a===0&&o===0)return e;let u=0,l=-1;for(let v=-a;v<=o;v++){const c=e.seq2Range.start+v,_=e.seq2Range.endExclusive+v,S=e.seq1Range.start+v,Q=t.getBoundaryScore(S)+n.getBoundaryScore(c)+n.getBoundaryScore(_);Q>l&&(l=Q,u=v)}return e.delta(u)}function my(e,t,n){const r=[];for(const i of n){const s=r[r.length-1];if(!s){r.push(i);continue}i.seq1Range.start-s.seq1Range.endExclusive<=2||i.seq2Range.start-s.seq2Range.endExclusive<=2?r[r.length-1]=new Mr(s.seq1Range.join(i.seq1Range),s.seq2Range.join(i.seq2Range)):r.push(i)}return r}function gy(e,t,n){const r=[];let i;function s(){if(!i)return;const o=i.s1Range.length-i.deleted;i.s2Range.length-i.added,Math.max(i.deleted,i.added)+(i.count-1)>o&&r.push(new Mr(i.s1Range,i.s2Range)),i=void 0}for(const o of n){let u=function(S,Q){var Z,M,he,ve;if(!i||!i.s1Range.containsRange(S)||!i.s2Range.containsRange(Q))if(i&&!(i.s1Range.endExclusive<S.start&&i.s2Range.endExclusive<Q.start)){const ae=tr.tryCreate(i.s1Range.endExclusive,S.start),Ee=tr.tryCreate(i.s2Range.endExclusive,Q.start);i.deleted+=(Z=ae==null?void 0:ae.length)!==null&&Z!==void 0?Z:0,i.added+=(M=Ee==null?void 0:Ee.length)!==null&&M!==void 0?M:0,i.s1Range=i.s1Range.join(S),i.s2Range=i.s2Range.join(Q)}else s(),i={added:0,deleted:0,count:0,s1Range:S,s2Range:Q};const we=S.intersect(o.seq1Range),Le=Q.intersect(o.seq2Range);i.count++,i.deleted+=(he=we==null?void 0:we.length)!==null&&he!==void 0?he:0,i.added+=(ve=Le==null?void 0:Le.length)!==null&&ve!==void 0?ve:0};const l=e.findWordContaining(o.seq1Range.start-1),v=t.findWordContaining(o.seq2Range.start-1),c=e.findWordContaining(o.seq1Range.endExclusive),_=t.findWordContaining(o.seq2Range.endExclusive);l&&c&&v&&_&&l.equals(c)&&v.equals(_)?u(l,v):(l&&v&&u(l,v),c&&_&&u(c,_))}return s(),yy(n,r)}function yy(e,t){const n=[];for(;e.length>0||t.length>0;){const r=e[0],i=t[0];let s;r&&(!i||r.seq1Range.start<i.seq1Range.start)?s=e.shift():s=t.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 Dy(e,t,n){let r=n;if(r.length===0)return r;let i=0,s;do{s=!1;const a=[r[0]];for(let o=1;o<r.length;o++){let v=function(_,S){const Q=new tr(l.seq1Range.endExclusive,u.seq1Range.start);return e.getText(Q).replace(/\s/g,"").length<=4&&(_.seq1Range.length+_.seq2Range.length>5||S.seq1Range.length+S.seq2Range.length>5)};const u=r[o],l=a[a.length-1];v(l,u)?(s=!0,a[a.length-1]=a[a.length-1].join(u)):a.push(u)}r=a}while(i++<10&&s);return r}function by(e,t,n){let r=n;if(r.length===0)return r;let i=0,s;do{s=!1;const o=[r[0]];for(let u=1;u<r.length;u++){let c=function(S,Q){const Z=new tr(v.seq1Range.endExclusive,l.seq1Range.start);if(e.countLinesIn(Z)>5||Z.length>500)return!1;const he=e.getText(Z).trim();if(he.length>20||he.split(/\r\n|\r|\n/).length>1)return!1;const ve=e.countLinesIn(S.seq1Range),we=S.seq1Range.length,Le=t.countLinesIn(S.seq2Range),ae=S.seq2Range.length,Ee=e.countLinesIn(Q.seq1Range),He=Q.seq1Range.length,Et=t.countLinesIn(Q.seq2Range),$e=Q.seq2Range.length,ze=2*40+50;function _t(qe){return Math.min(qe,ze)}return Math.pow(Math.pow(_t(ve*40+we),1.5)+Math.pow(_t(Le*40+ae),1.5),1.5)+Math.pow(Math.pow(_t(Ee*40+He),1.5)+Math.pow(_t(Et*40+$e),1.5),1.5)>Math.pow(Math.pow(ze,1.5),1.5)*1.3};const l=r[u],v=o[o.length-1];c(v,l)?(s=!0,o[o.length-1]=o[o.length-1].join(l)):o.push(l)}r=o}while(i++<10&&s);const a=[];return D1(r,(o,u,l)=>{let v=u;function c(he){return he.length>0&&he.trim().length<=3&&u.seq1Range.length+u.seq2Range.length>100}const _=e.extendToFullLines(u.seq1Range),S=e.getText(new tr(_.start,u.seq1Range.start));c(S)&&(v=v.deltaStart(-S.length));const Q=e.getText(new tr(u.seq1Range.endExclusive,_.endExclusive));c(Q)&&(v=v.deltaEnd(Q.length));const Z=Mr.fromOffsetPairs(o?o.getEndExclusives():ts.zero,l?l.getStarts():ts.max),M=v.intersect(Z);a.push(M)}),a}class Hd{constructor(t,n){this.trimmedHash=t,this.lines=n}getElement(t){return this.trimmedHash[t]}get length(){return this.trimmedHash.length}getBoundaryScore(t){const n=t===0?0:zd(this.lines[t-1]),r=t===this.lines.length?0:zd(this.lines[t]);return 1e3-(n+r)}getText(t){return this.lines.slice(t.start,t.endExclusive).join(`
12
+ `)}isStronglyEqual(t,n){return this.lines[t]===this.lines[n]}}function zd(e){let t=0;for(;t<e.length&&(e.charCodeAt(t)===32||e.charCodeAt(t)===9);)t++;return t}class vy{constructor(){this.dynamicProgrammingDiffing=new ry,this.myersDiffingAlgorithm=new Vd}computeDiff(t,n,r){if(t.length<=1&&m1(t,n,(ae,Ee)=>ae===Ee))return new uu([],[],!1);if(t.length===1&&t[0].length===0||n.length===1&&n[0].length===0)return new uu([new os(new sr(1,t.length+1),new sr(1,n.length+1),[new mo(new Gr(1,1,t.length,t[0].length+1),new Gr(1,1,n.length,n[0].length+1))])],[],!1);const i=r.maxComputationTimeMs===0?yo.instance:new ny(r.maxComputationTimeMs),s=!r.ignoreTrimWhitespace,a=new Map;function o(ae){let Ee=a.get(ae);return Ee===void 0&&(Ee=a.size,a.set(ae,Ee)),Ee}const u=t.map(ae=>o(ae.trim())),l=n.map(ae=>o(ae.trim())),v=new Hd(u,t),c=new Hd(l,n),_=(()=>v.length+c.length<1700?this.dynamicProgrammingDiffing.compute(v,c,i,(ae,Ee)=>t[ae]===n[Ee]?n[Ee].length===0?.1:1+Math.log(1+n[Ee].length):.99):this.myersDiffingAlgorithm.compute(v,c))();let S=_.diffs,Q=_.hitTimeout;S=Jd(v,c,S),S=Dy(v,c,S);const Z=[],M=ae=>{if(s)for(let Ee=0;Ee<ae;Ee++){const He=he+Ee,Et=ve+Ee;if(t[He]!==n[Et]){const $e=this.refineDiff(t,n,new Mr(new tr(He,He+1),new tr(Et,Et+1)),i,s);for(const ze of $e.mappings)Z.push(ze);$e.hitTimeout&&(Q=!0)}}};let he=0,ve=0;for(const ae of S){ou(()=>ae.seq1Range.start-he===ae.seq2Range.start-ve);const Ee=ae.seq1Range.start-he;M(Ee),he=ae.seq1Range.endExclusive,ve=ae.seq2Range.endExclusive;const He=this.refineDiff(t,n,ae,i,s);He.hitTimeout&&(Q=!0);for(const Et of He.mappings)Z.push(Et)}M(t.length-he);const we=Qd(Z,t,n);let Le=[];return r.computeMoves&&(Le=this.computeMoves(we,t,n,u,l,i,s)),ou(()=>{function ae(He,Et){if(He.lineNumber<1||He.lineNumber>Et.length)return!1;const $e=Et[He.lineNumber-1];return!(He.column<1||He.column>$e.length+1)}function Ee(He,Et){return!(He.startLineNumber<1||He.startLineNumber>Et.length+1||He.endLineNumberExclusive<1||He.endLineNumberExclusive>Et.length+1)}for(const He of we){if(!He.innerChanges)return!1;for(const Et of He.innerChanges)if(!(ae(Et.modifiedRange.getStartPosition(),n)&&ae(Et.modifiedRange.getEndPosition(),n)&&ae(Et.originalRange.getStartPosition(),t)&&ae(Et.originalRange.getEndPosition(),t)))return!1;if(!Ee(He.modified,n)||!Ee(He.original,t))return!1}return!0}),new uu(we,Le,Q)}computeMoves(t,n,r,i,s,a,o){return uy(t,n,r,i,s,a).map(v=>{const c=this.refineDiff(n,r,new Mr(v.original.toOffsetRange(),v.modified.toOffsetRange()),a,o),_=Qd(c.mappings,n,r,!0);return new z1(v,_)})}refineDiff(t,n,r,i,s){const a=new lu(t,r.seq1Range,s),o=new lu(n,r.seq2Range,s),u=a.length+o.length<500?this.dynamicProgrammingDiffing.compute(a,o,i):this.myersDiffingAlgorithm.compute(a,o,i);let l=u.diffs;return l=Jd(a,o,l),l=gy(a,o,l),l=my(a,o,l),l=by(a,o,l),{mappings:l.map(c=>new mo(a.translateRange(c.seq1Range),o.translateRange(c.seq2Range))),hitTimeout:u.hitTimeout}}}function Qd(e,t,n,r=!1){const i=[];for(const s of g1(e.map(a=>Ey(a,t,n)),(a,o)=>a.original.overlapOrTouch(o.original)||a.modified.overlapOrTouch(o.modified))){const a=s[0],o=s[s.length-1];i.push(new os(a.original.join(o.original),a.modified.join(o.modified),s.map(u=>u.innerChanges[0])))}return ou(()=>!r&&i.length>0&&i[0].original.startLineNumber!==i[0].modified.startLineNumber?!1:Md(i,(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)),i}function Ey(e,t,n){let r=0,i=0;e.modifiedRange.endColumn===1&&e.originalRange.endColumn===1&&e.originalRange.startLineNumber+r<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+r<=e.modifiedRange.endLineNumber&&(i=-1),e.modifiedRange.startColumn-1>=n[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+i&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+i&&(r=1);const s=new sr(e.originalRange.startLineNumber+r,e.originalRange.endLineNumber+1+i),a=new sr(e.modifiedRange.startLineNumber+r,e.modifiedRange.endLineNumber+1+i);return new os(s,a,[e])}const Xd={getLegacy:()=>new K1,getDefault:()=>new vy};function _s(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}class Jr{constructor(t,n,r,i=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,t))|0,this.g=Math.min(255,Math.max(0,n))|0,this.b=Math.min(255,Math.max(0,r))|0,this.a=_s(Math.max(Math.min(1,i),0),3)}static equals(t,n){return t.r===n.r&&t.g===n.g&&t.b===n.b&&t.a===n.a}}class Ti{constructor(t,n,r,i){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=_s(Math.max(Math.min(1,n),0),3),this.l=_s(Math.max(Math.min(1,r),0),3),this.a=_s(Math.max(Math.min(1,i),0),3)}static equals(t,n){return t.h===n.h&&t.s===n.s&&t.l===n.l&&t.a===n.a}static fromRGBA(t){const n=t.r/255,r=t.g/255,i=t.b/255,s=t.a,a=Math.max(n,r,i),o=Math.min(n,r,i);let u=0,l=0;const v=(o+a)/2,c=a-o;if(c>0){switch(l=Math.min(v<=.5?c/(2*v):c/(2-2*v),1),a){case n:u=(r-i)/c+(r<i?6:0);break;case r:u=(i-n)/c+2;break;case i:u=(n-r)/c+4;break}u*=60,u=Math.round(u)}return new Ti(u,l,v,s)}static _hue2rgb(t,n,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(n-t)*6*r:r<1/2?n:r<2/3?t+(n-t)*(2/3-r)*6:t}static toRGBA(t){const n=t.h/360,{s:r,l:i,a:s}=t;let a,o,u;if(r===0)a=o=u=i;else{const l=i<.5?i*(1+r):i+r-i*r,v=2*i-l;a=Ti._hue2rgb(v,l,n+1/3),o=Ti._hue2rgb(v,l,n),u=Ti._hue2rgb(v,l,n-1/3)}return new Jr(Math.round(a*255),Math.round(o*255),Math.round(u*255),s)}}class Ea{constructor(t,n,r,i){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=_s(Math.max(Math.min(1,n),0),3),this.v=_s(Math.max(Math.min(1,r),0),3),this.a=_s(Math.max(Math.min(1,i),0),3)}static equals(t,n){return t.h===n.h&&t.s===n.s&&t.v===n.v&&t.a===n.a}static fromRGBA(t){const n=t.r/255,r=t.g/255,i=t.b/255,s=Math.max(n,r,i),a=Math.min(n,r,i),o=s-a,u=s===0?0:o/s;let l;return o===0?l=0:s===n?l=((r-i)/o%6+6)%6:s===r?l=(i-n)/o+2:l=(n-r)/o+4,new Ea(Math.round(l*60),u,s,t.a)}static toRGBA(t){const{h:n,s:r,v:i,a:s}=t,a=i*r,o=a*(1-Math.abs(n/60%2-1)),u=i-a;let[l,v,c]=[0,0,0];return n<60?(l=a,v=o):n<120?(l=o,v=a):n<180?(v=a,c=o):n<240?(v=o,c=a):n<300?(l=o,c=a):n<=360&&(l=a,c=o),l=Math.round((l+u)*255),v=Math.round((v+u)*255),c=Math.round((c+u)*255),new Jr(l,v,c,s)}}let qr=class ji{static fromHex(t){return ji.Format.CSS.parseHex(t)||ji.red}static equals(t,n){return!t&&!n?!0:!t||!n?!1:t.equals(n)}get hsla(){return this._hsla?this._hsla:Ti.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:Ea.fromRGBA(this.rgba)}constructor(t){if(t)if(t instanceof Jr)this.rgba=t;else if(t instanceof Ti)this._hsla=t,this.rgba=Ti.toRGBA(t);else if(t instanceof Ea)this._hsva=t,this.rgba=Ea.toRGBA(t);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(t){return!!t&&Jr.equals(this.rgba,t.rgba)&&Ti.equals(this.hsla,t.hsla)&&Ea.equals(this.hsva,t.hsva)}getRelativeLuminance(){const t=ji._relativeLuminanceForComponent(this.rgba.r),n=ji._relativeLuminanceForComponent(this.rgba.g),r=ji._relativeLuminanceForComponent(this.rgba.b),i=.2126*t+.7152*n+.0722*r;return _s(i,4)}static _relativeLuminanceForComponent(t){const n=t/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(t){const n=this.getRelativeLuminance(),r=t.getRelativeLuminance();return n>r}isDarkerThan(t){const n=this.getRelativeLuminance(),r=t.getRelativeLuminance();return n<r}lighten(t){return new ji(new Ti(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*t,this.hsla.a))}darken(t){return new ji(new Ti(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*t,this.hsla.a))}transparent(t){const{r:n,g:r,b:i,a:s}=this.rgba;return new ji(new Jr(n,r,i,s*t))}isTransparent(){return this.rgba.a===0}isOpaque(){return this.rgba.a===1}opposite(){return new ji(new Jr(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}makeOpaque(t){if(this.isOpaque()||t.rgba.a!==1)return this;const{r:n,g:r,b:i,a:s}=this.rgba;return new ji(new Jr(t.rgba.r-s*(t.rgba.r-n),t.rgba.g-s*(t.rgba.g-r),t.rgba.b-s*(t.rgba.b-i),1))}toString(){return this._toString||(this._toString=ji.Format.CSS.format(this)),this._toString}static getLighterColor(t,n,r){if(t.isLighterThan(n))return t;r=r||.5;const i=t.getRelativeLuminance(),s=n.getRelativeLuminance();return r=r*(s-i)/s,t.lighten(r)}static getDarkerColor(t,n,r){if(t.isDarkerThan(n))return t;r=r||.5;const i=t.getRelativeLuminance(),s=n.getRelativeLuminance();return r=r*(i-s)/i,t.darken(r)}};qr.white=new qr(new Jr(255,255,255,1)),qr.black=new qr(new Jr(0,0,0,1)),qr.red=new qr(new Jr(255,0,0,1)),qr.blue=new qr(new Jr(0,0,255,1)),qr.green=new qr(new Jr(0,255,0,1)),qr.cyan=new qr(new Jr(0,255,255,1)),qr.lightgrey=new qr(new Jr(211,211,211,1)),qr.transparent=new qr(new Jr(0,0,0,0)),function(e){(function(t){(function(n){function r(S){return S.rgba.a===1?`rgb(${S.rgba.r}, ${S.rgba.g}, ${S.rgba.b})`:e.Format.CSS.formatRGBA(S)}n.formatRGB=r;function i(S){return`rgba(${S.rgba.r}, ${S.rgba.g}, ${S.rgba.b}, ${+S.rgba.a.toFixed(2)})`}n.formatRGBA=i;function s(S){return S.hsla.a===1?`hsl(${S.hsla.h}, ${(S.hsla.s*100).toFixed(2)}%, ${(S.hsla.l*100).toFixed(2)}%)`:e.Format.CSS.formatHSLA(S)}n.formatHSL=s;function a(S){return`hsla(${S.hsla.h}, ${(S.hsla.s*100).toFixed(2)}%, ${(S.hsla.l*100).toFixed(2)}%, ${S.hsla.a.toFixed(2)})`}n.formatHSLA=a;function o(S){const Q=S.toString(16);return Q.length!==2?"0"+Q:Q}function u(S){return`#${o(S.rgba.r)}${o(S.rgba.g)}${o(S.rgba.b)}`}n.formatHex=u;function l(S,Q=!1){return Q&&S.rgba.a===1?e.Format.CSS.formatHex(S):`#${o(S.rgba.r)}${o(S.rgba.g)}${o(S.rgba.b)}${o(Math.round(S.rgba.a*255))}`}n.formatHexA=l;function v(S){return S.isOpaque()?e.Format.CSS.formatHex(S):e.Format.CSS.formatRGBA(S)}n.format=v;function c(S){const Q=S.length;if(Q===0||S.charCodeAt(0)!==35)return null;if(Q===7){const Z=16*_(S.charCodeAt(1))+_(S.charCodeAt(2)),M=16*_(S.charCodeAt(3))+_(S.charCodeAt(4)),he=16*_(S.charCodeAt(5))+_(S.charCodeAt(6));return new e(new Jr(Z,M,he,1))}if(Q===9){const Z=16*_(S.charCodeAt(1))+_(S.charCodeAt(2)),M=16*_(S.charCodeAt(3))+_(S.charCodeAt(4)),he=16*_(S.charCodeAt(5))+_(S.charCodeAt(6)),ve=16*_(S.charCodeAt(7))+_(S.charCodeAt(8));return new e(new Jr(Z,M,he,ve/255))}if(Q===4){const Z=_(S.charCodeAt(1)),M=_(S.charCodeAt(2)),he=_(S.charCodeAt(3));return new e(new Jr(16*Z+Z,16*M+M,16*he+he))}if(Q===5){const Z=_(S.charCodeAt(1)),M=_(S.charCodeAt(2)),he=_(S.charCodeAt(3)),ve=_(S.charCodeAt(4));return new e(new Jr(16*Z+Z,16*M+M,16*he+he,(16*ve+ve)/255))}return null}n.parseHex=c;function _(S){switch(S){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}})(t.CSS||(t.CSS={}))})(e.Format||(e.Format={}))}(qr||(qr={}));function Kd(e){const t=[];for(const n of e){const r=Number(n);(r||r===0&&n.replace(/\s/g,"")!=="")&&t.push(r)}return t}function fc(e,t,n,r){return{red:e/255,blue:n/255,green:t/255,alpha:r}}function Do(e,t){const n=t.index,r=t[0].length;if(!n)return;const i=e.positionAt(n);return{startLineNumber:i.lineNumber,startColumn:i.column,endLineNumber:i.lineNumber,endColumn:i.column+r}}function Ay(e,t){if(!e)return;const n=qr.Format.CSS.parseHex(t);if(n)return{range:e,color:fc(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}function Zd(e,t,n){if(!e||t.length!==1)return;const i=t[0].values(),s=Kd(i);return{range:e,color:fc(s[0],s[1],s[2],n?s[3]:1)}}function eh(e,t,n){if(!e||t.length!==1)return;const i=t[0].values(),s=Kd(i),a=new qr(new Ti(s[0],s[1]/100,s[2]/100,n?s[3]:1));return{range:e,color:fc(a.rgba.r,a.rgba.g,a.rgba.b,a.rgba.a)}}function bo(e,t){return typeof e=="string"?[...e.matchAll(t)]:e.findMatches(t)}function Cy(e){const t=[],r=bo(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(r.length>0)for(const i of r){const s=i.filter(l=>l!==void 0),a=s[1],o=s[2];if(!o)continue;let u;if(a==="rgb"){const l=/^\(\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;u=Zd(Do(e,i),bo(o,l),!1)}else if(a==="rgba"){const l=/^\(\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;u=Zd(Do(e,i),bo(o,l),!0)}else if(a==="hsl"){const l=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;u=eh(Do(e,i),bo(o,l),!1)}else if(a==="hsla"){const l=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;u=eh(Do(e,i),bo(o,l),!0)}else a==="#"&&(u=Ay(Do(e,i),a+o));u&&t.push(u)}return t}function xy(e){return!e||typeof e.getValue!="function"||typeof e.positionAt!="function"?[]:Cy(e)}var Ts=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(a){a(s)})}return new(n||(n=Promise))(function(s,a){function o(v){try{l(r.next(v))}catch(c){a(c)}}function u(v){try{l(r.throw(v))}catch(c){a(c)}}function l(v){v.done?s(v.value):i(v.value).then(o,u)}l((r=r.apply(e,t||[])).next())})};class Sy extends C1{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(t){const n=[];for(let r=0;r<this._lines.length;r++){const i=this._lines[r],s=this.offsetAt(new Zi(r+1,1)),a=i.matchAll(t);for(const o of a)(o.index||o.index===0)&&(o.index=o.index+s),n.push(o)}return n}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(t){return this._lines[t-1]}getWordAtPosition(t,n){const r=Yl(t.column,w1(n),this._lines[t.lineNumber-1],0);return r?new Gr(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn):null}words(t){const n=this._lines,r=this._wordenize.bind(this);let i=0,s="",a=0,o=[];return{*[Symbol.iterator](){for(;;)if(a<o.length){const u=s.substring(o[a].start,o[a].end);a+=1,yield u}else if(i<n.length)s=n[i],o=r(s,t),a=0,i+=1;else break}}}getLineWords(t,n){const r=this._lines[t-1],i=this._wordenize(r,n),s=[];for(const a of i)s.push({word:r.substring(a.start,a.end),startColumn:a.start+1,endColumn:a.end+1});return s}_wordenize(t,n){const r=[];let i;for(n.lastIndex=0;(i=n.exec(t))&&i[0].length!==0;)r.push({start:i.index,end:i.index+i[0].length});return r}getValueInRange(t){if(t=this._validateRange(t),t.startLineNumber===t.endLineNumber)return this._lines[t.startLineNumber-1].substring(t.startColumn-1,t.endColumn-1);const n=this._eol,r=t.startLineNumber-1,i=t.endLineNumber-1,s=[];s.push(this._lines[r].substring(t.startColumn-1));for(let a=r+1;a<i;a++)s.push(this._lines[a]);return s.push(this._lines[i].substring(0,t.endColumn-1)),s.join(n)}offsetAt(t){return t=this._validatePosition(t),this._ensureLineStarts(),this._lineStarts.getPrefixSum(t.lineNumber-2)+(t.column-1)}positionAt(t){t=Math.floor(t),t=Math.max(0,t),this._ensureLineStarts();const n=this._lineStarts.getIndexOf(t),r=this._lines[n.index].length;return{lineNumber:1+n.index,column:1+Math.min(n.remainder,r)}}_validateRange(t){const n=this._validatePosition({lineNumber:t.startLineNumber,column:t.startColumn}),r=this._validatePosition({lineNumber:t.endLineNumber,column:t.endColumn});return n.lineNumber!==t.startLineNumber||n.column!==t.startColumn||r.lineNumber!==t.endLineNumber||r.column!==t.endColumn?{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:r.lineNumber,endColumn:r.column}:t}_validatePosition(t){if(!Zi.isIPosition(t))throw new Error("bad position");let{lineNumber:n,column:r}=t,i=!1;if(n<1)n=1,r=1,i=!0;else if(n>this._lines.length)n=this._lines.length,r=this._lines[n-1].length+1,i=!0;else{const s=this._lines[n-1].length+1;r<1?(r=1,i=!0):r>s&&(r=s,i=!0)}return i?{lineNumber:n,column:r}:t}}class Vs{constructor(t,n){this._host=t,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(t){return this._models[t]}_getModels(){const t=[];return Object.keys(this._models).forEach(n=>t.push(this._models[n])),t}acceptNewModel(t){this._models[t.url]=new Sy(Wl.parse(t.url),t.lines,t.EOL,t.versionId)}acceptModelChanged(t,n){if(!this._models[t])return;this._models[t].onEvents(n)}acceptRemovedModel(t){this._models[t]&&delete this._models[t]}computeUnicodeHighlights(t,n,r){return Ts(this,void 0,void 0,function*(){const i=this._getModel(t);return i?Y1.computeUnicodeHighlights(i,n,r):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(t,n,r,i){return Ts(this,void 0,void 0,function*(){const s=this._getModel(t),a=this._getModel(n);return!s||!a?null:Vs.computeDiff(s,a,r,i)})}static computeDiff(t,n,r,i){const s=i==="advanced"?Xd.getDefault():Xd.getLegacy(),a=t.getLinesContent(),o=n.getLinesContent(),u=s.computeDiff(a,o,r),l=u.changes.length>0?!1:this._modelsAreIdentical(t,n);function v(c){return c.map(_=>{var S;return[_.original.startLineNumber,_.original.endLineNumberExclusive,_.modified.startLineNumber,_.modified.endLineNumberExclusive,(S=_.innerChanges)===null||S===void 0?void 0:S.map(Q=>[Q.originalRange.startLineNumber,Q.originalRange.startColumn,Q.originalRange.endLineNumber,Q.originalRange.endColumn,Q.modifiedRange.startLineNumber,Q.modifiedRange.startColumn,Q.modifiedRange.endLineNumber,Q.modifiedRange.endColumn])]})}return{identical:l,quitEarly:u.hitTimeout,changes:v(u.changes),moves:u.moves.map(c=>[c.lineRangeMapping.original.startLineNumber,c.lineRangeMapping.original.endLineNumberExclusive,c.lineRangeMapping.modified.startLineNumber,c.lineRangeMapping.modified.endLineNumberExclusive,v(c.changes)])}}static _modelsAreIdentical(t,n){const r=t.getLineCount(),i=n.getLineCount();if(r!==i)return!1;for(let s=1;s<=r;s++){const a=t.getLineContent(s),o=n.getLineContent(s);if(a!==o)return!1}return!0}computeMoreMinimalEdits(t,n,r){return Ts(this,void 0,void 0,function*(){const i=this._getModel(t);if(!i)return n;const s=[];let a;n=n.slice(0).sort((u,l)=>{if(u.range&&l.range)return Gr.compareRangesUsingStarts(u.range,l.range);const v=u.range?0:1,c=l.range?0:1;return v-c});let o=0;for(let u=1;u<n.length;u++)Gr.getEndPosition(n[o].range).equals(Gr.getStartPosition(n[u].range))?(n[o].range=Gr.fromPositions(Gr.getStartPosition(n[o].range),Gr.getEndPosition(n[u].range)),n[o].text+=n[u].text):(o++,n[o]=n[u]);n.length=o+1;for(let{range:u,text:l,eol:v}of n){if(typeof v=="number"&&(a=v),Gr.isEmpty(u)&&!l)continue;const c=i.getValueInRange(u);if(l=l.replace(/\r\n|\n|\r/g,i.eol),c===l)continue;if(Math.max(l.length,c.length)>Vs._diffLimit){s.push({range:u,text:l});continue}const _=Xg(c,l,r),S=i.offsetAt(Gr.lift(u).getStartPosition());for(const Q of _){const Z=i.positionAt(S+Q.originalStart),M=i.positionAt(S+Q.originalStart+Q.originalLength),he={text:l.substr(Q.modifiedStart,Q.modifiedLength),range:{startLineNumber:Z.lineNumber,startColumn:Z.column,endLineNumber:M.lineNumber,endColumn:M.column}};i.getValueInRange(he.range)!==he.text&&s.push(he)}}return typeof a=="number"&&s.push({eol:a,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s})}computeLinks(t){return Ts(this,void 0,void 0,function*(){const n=this._getModel(t);return n?k1(n):null})}computeDefaultDocumentColors(t){return Ts(this,void 0,void 0,function*(){const n=this._getModel(t);return n?xy(n):null})}textualSuggest(t,n,r,i){return Ts(this,void 0,void 0,function*(){const s=new Qo,a=new RegExp(r,i),o=new Set;e:for(const u of t){const l=this._getModel(u);if(l){for(const v of l.words(a))if(!(v===n||!isNaN(Number(v)))&&(o.add(v),o.size>Vs._suggestionsLimit))break e}}return{words:Array.from(o),duration:s.elapsed()}})}computeWordRanges(t,n,r,i){return Ts(this,void 0,void 0,function*(){const s=this._getModel(t);if(!s)return Object.create(null);const a=new RegExp(r,i),o=Object.create(null);for(let u=n.startLineNumber;u<n.endLineNumber;u++){const l=s.getLineWords(u,a);for(const v of l){if(!isNaN(Number(v.word)))continue;let c=o[v.word];c||(c=[],o[v.word]=c),c.push({startLineNumber:u,startColumn:v.startColumn,endLineNumber:u,endColumn:v.endColumn})}}return o})}navigateValueSet(t,n,r,i,s){return Ts(this,void 0,void 0,function*(){const a=this._getModel(t);if(!a)return null;const o=new RegExp(i,s);n.startColumn===n.endColumn&&(n={startLineNumber:n.startLineNumber,startColumn:n.startColumn,endLineNumber:n.endLineNumber,endColumn:n.endColumn+1});const u=a.getValueInRange(n),l=a.getWordAtPosition({lineNumber:n.startLineNumber,column:n.startColumn},o);if(!l)return null;const v=a.getValueInRange(l);return Ql.INSTANCE.navigateValueSet(n,u,l,v,r)})}loadForeignModule(t,n,r){const a={host:xg(r,(o,u)=>this._host.fhr(o,u)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(a,n),Promise.resolve(Il(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(t,n){if(!this._foreignModule||typeof this._foreignModule[t]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+t));try{return Promise.resolve(this._foreignModule[t].apply(this._foreignModule,n))}catch(r){return Promise.reject(r)}}}Vs._diffLimit=1e5,Vs._suggestionsLimit=1e4,typeof importScripts=="function"&&(globalThis.monaco=V1());let pc=!1;function th(e){if(pc)return;pc=!0;const t=new zg(n=>{globalThis.postMessage(n)},n=>new Vs(n,e));globalThis.onmessage=n=>{t.onmessage(n.data)}}globalThis.onmessage=e=>{pc||th(null)};function wy(e){self.onmessage=()=>{th((t,n)=>Object.create(e(t,n)))}}var Fy=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))},nh=function(){function e(t,n,r,i){this._uri=t,this._languageId=n,this._version=r,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(t){if(t){var n=this.offsetAt(t.start),r=this.offsetAt(t.end);return this._content.substring(n,r)}return this._content},e.prototype.update=function(t,n){for(var r=0,i=t;r<i.length;r++){var s=i[r];if(e.isIncremental(s)){var a=ih(s.range),o=this.offsetAt(a.start),u=this.offsetAt(a.end);this._content=this._content.substring(0,o)+s.text+this._content.substring(u,this._content.length);var l=Math.max(a.start.line,0),v=Math.max(a.end.line,0),c=this._lineOffsets,_=rh(s.text,!1,o);if(v-l===_.length)for(var S=0,Q=_.length;S<Q;S++)c[S+l+1]=_[S];else _.length<1e4?c.splice.apply(c,Fy([l+1,v-l],_,!1)):this._lineOffsets=c=c.slice(0,l+1).concat(_,c.slice(v+1));var Z=s.text.length-(u-o);if(Z!==0)for(var S=l+1+_.length,Q=c.length;S<Q;S++)c[S]=c[S]+Z}else if(e.isFull(s))this._content=s.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received")}this._version=n},e.prototype.getLineOffsets=function(){return this._lineOffsets===void 0&&(this._lineOffsets=rh(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(t){t=Math.max(Math.min(t,this._content.length),0);var n=this.getLineOffsets(),r=0,i=n.length;if(i===0)return{line:0,character:t};for(;r<i;){var s=Math.floor((r+i)/2);n[s]>t?i=s:r=s+1}var a=r-1;return{line:a,character:t-n[a]}},e.prototype.offsetAt=function(t){var n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;var r=n[t.line],i=t.line+1<n.length?n[t.line+1]:this._content.length;return Math.max(Math.min(r+t.character,i),r)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e.isIncremental=function(t){var n=t;return n!=null&&typeof n.text=="string"&&n.range!==void 0&&(n.rangeLength===void 0||typeof n.rangeLength=="number")},e.isFull=function(t){var n=t;return n!=null&&typeof n.text=="string"&&n.range===void 0&&n.rangeLength===void 0},e}(),dc;(function(e){function t(i,s,a,o){return new nh(i,s,a,o)}e.create=t;function n(i,s,a){if(i instanceof nh)return i.update(s,a),i;throw new Error("TextDocument.update: document must be created by TextDocument.create")}e.update=n;function r(i,s){for(var a=i.getText(),o=hc(s.map(Ny),function(Q,Z){var M=Q.range.start.line-Z.range.start.line;return M===0?Q.range.start.character-Z.range.start.character:M}),u=0,l=[],v=0,c=o;v<c.length;v++){var _=c[v],S=i.offsetAt(_.range.start);if(S<u)throw new Error("Overlapping edit");S>u&&l.push(a.substring(u,S)),_.newText.length&&l.push(_.newText),u=i.offsetAt(_.range.end)}return l.push(a.substr(u)),l.join("")}e.applyEdits=r})(dc||(dc={}));function hc(e,t){if(e.length<=1)return e;var n=e.length/2|0,r=e.slice(0,n),i=e.slice(n);hc(r,t),hc(i,t);for(var s=0,a=0,o=0;s<r.length&&a<i.length;){var u=t(r[s],i[a]);u<=0?e[o++]=r[s++]:e[o++]=i[a++]}for(;s<r.length;)e[o++]=r[s++];for(;a<i.length;)e[o++]=i[a++];return e}function rh(e,t,n){n===void 0&&(n=0);for(var r=t?[n]:[],i=0;i<e.length;i++){var s=e.charCodeAt(i);(s===13||s===10)&&(s===13&&i+1<e.length&&e.charCodeAt(i+1)===10&&i++,r.push(n+i+1))}return r}function ih(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function Ny(e){var t=ih(e.range);return t!==e.range?{newText:e.newText,range:t}:e}function _y(e,t=!1){const n=e.length;let r=0,i="",s=0,a=16,o=0,u=0,l=0,v=0,c=0;function _(we,Le){let ae=0,Ee=0;for(;ae<we||!Le;){let He=e.charCodeAt(r);if(He>=48&&He<=57)Ee=Ee*16+He-48;else if(He>=65&&He<=70)Ee=Ee*16+He-65+10;else if(He>=97&&He<=102)Ee=Ee*16+He-97+10;else break;r++,ae++}return ae<we&&(Ee=-1),Ee}function S(we){r=we,i="",s=0,a=16,c=0}function Q(){let we=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&Aa(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46)if(r++,r<e.length&&Aa(e.charCodeAt(r)))for(r++;r<e.length&&Aa(e.charCodeAt(r));)r++;else return c=3,e.substring(we,r);let Le=r;if(r<e.length&&(e.charCodeAt(r)===69||e.charCodeAt(r)===101))if(r++,(r<e.length&&e.charCodeAt(r)===43||e.charCodeAt(r)===45)&&r++,r<e.length&&Aa(e.charCodeAt(r))){for(r++;r<e.length&&Aa(e.charCodeAt(r));)r++;Le=r}else c=3;return e.substring(we,Le)}function Z(){let we="",Le=r;for(;;){if(r>=n){we+=e.substring(Le,r),c=2;break}const ae=e.charCodeAt(r);if(ae===34){we+=e.substring(Le,r),r++;break}if(ae===92){if(we+=e.substring(Le,r),r++,r>=n){c=2;break}switch(e.charCodeAt(r++)){case 34:we+='"';break;case 92:we+="\\";break;case 47:we+="/";break;case 98:we+="\b";break;case 102:we+="\f";break;case 110:we+=`
13
+ `;break;case 114:we+="\r";break;case 116:we+=" ";break;case 117:const He=_(4,!0);He>=0?we+=String.fromCharCode(He):c=4;break;default:c=5}Le=r;continue}if(ae>=0&&ae<=31)if(vo(ae)){we+=e.substring(Le,r),c=2;break}else c=6;r++}return we}function M(){if(i="",c=0,s=r,u=o,v=l,r>=n)return s=n,a=17;let we=e.charCodeAt(r);if(mc(we)){do r++,i+=String.fromCharCode(we),we=e.charCodeAt(r);while(mc(we));return a=15}if(vo(we))return r++,i+=String.fromCharCode(we),we===13&&e.charCodeAt(r)===10&&(r++,i+=`
14
+ `),o++,l=r,a=14;switch(we){case 123:return r++,a=1;case 125:return r++,a=2;case 91:return r++,a=3;case 93:return r++,a=4;case 58:return r++,a=6;case 44:return r++,a=5;case 34:return r++,i=Z(),a=10;case 47:const Le=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<n&&!vo(e.charCodeAt(r));)r++;return i=e.substring(Le,r),a=12}if(e.charCodeAt(r+1)===42){r+=2;const ae=n-1;let Ee=!1;for(;r<ae;){const He=e.charCodeAt(r);if(He===42&&e.charCodeAt(r+1)===47){r+=2,Ee=!0;break}r++,vo(He)&&(He===13&&e.charCodeAt(r)===10&&r++,o++,l=r)}return Ee||(r++,c=1),i=e.substring(Le,r),a=13}return i+=String.fromCharCode(we),r++,a=16;case 45:if(i+=String.fromCharCode(we),r++,r===n||!Aa(e.charCodeAt(r)))return a=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=Q(),a=11;default:for(;r<n&&he(we);)r++,we=e.charCodeAt(r);if(s!==r){switch(i=e.substring(s,r),i){case"true":return a=8;case"false":return a=9;case"null":return a=7}return a=16}return i+=String.fromCharCode(we),r++,a=16}}function he(we){if(mc(we)||vo(we))return!1;switch(we){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function ve(){let we;do we=M();while(we>=12&&we<=15);return we}return{setPosition:S,getPosition:()=>r,scan:t?ve:M,getToken:()=>a,getTokenValue:()=>i,getTokenOffset:()=>s,getTokenLength:()=>r-s,getTokenStartLine:()=>u,getTokenStartCharacter:()=>s-v,getTokenError:()=>c}}function mc(e){return e===32||e===9}function vo(e){return e===10||e===13}function Aa(e){return e>=48&&e<=57}var sh;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(sh||(sh={}));var cu;(function(e){e.DEFAULT={allowTrailingComma:!1}})(cu||(cu={}));function Ty(e,t=[],n=cu.DEFAULT){let r=null,i=[];const s=[];function a(u){Array.isArray(i)?i.push(u):r!==null&&(i[r]=u)}return Ly(e,{onObjectBegin:()=>{const u={};a(u),s.push(i),i=u,r=null},onObjectProperty:u=>{r=u},onObjectEnd:()=>{i=s.pop()},onArrayBegin:()=>{const u=[];a(u),s.push(i),i=u,r=null},onArrayEnd:()=>{i=s.pop()},onLiteralValue:a,onError:(u,l,v)=>{t.push({error:u,offset:l,length:v})}},n),i[0]}function gc(e){switch(e.type){case"array":return e.children.map(gc);case"object":const t=Object.create(null);for(let n of e.children){const r=n.children[1];r&&(t[n.children[0].value]=gc(r))}return t;case"null":case"string":case"number":case"boolean":return e.value;default:return}}function Ly(e,t,n=cu.DEFAULT){const r=_y(e,!1),i=[];function s(qe){return qe?()=>qe(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function a(qe){return qe?()=>qe(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice()):()=>!0}function o(qe){return qe?Ft=>qe(Ft,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function u(qe){return qe?Ft=>qe(Ft,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice()):()=>!0}const l=a(t.onObjectBegin),v=u(t.onObjectProperty),c=s(t.onObjectEnd),_=a(t.onArrayBegin),S=s(t.onArrayEnd),Q=u(t.onLiteralValue),Z=o(t.onSeparator),M=s(t.onComment),he=o(t.onError),ve=n&&n.disallowComments,we=n&&n.allowTrailingComma;function Le(){for(;;){const qe=r.scan();switch(r.getTokenError()){case 4:ae(14);break;case 5:ae(15);break;case 3:ae(13);break;case 1:ve||ae(11);break;case 2:ae(12);break;case 6:ae(16);break}switch(qe){case 12:case 13:ve?ae(10):M();break;case 16:ae(1);break;case 15:case 14:break;default:return qe}}}function ae(qe,Ft=[],qt=[]){if(he(qe),Ft.length+qt.length>0){let tn=r.getToken();for(;tn!==17;){if(Ft.indexOf(tn)!==-1){Le();break}else if(qt.indexOf(tn)!==-1)break;tn=Le()}}}function Ee(qe){const Ft=r.getTokenValue();return qe?Q(Ft):(v(Ft),i.push(Ft)),Le(),!0}function He(){switch(r.getToken()){case 11:const qe=r.getTokenValue();let Ft=Number(qe);isNaN(Ft)&&(ae(2),Ft=0),Q(Ft);break;case 7:Q(null);break;case 8:Q(!0);break;case 9:Q(!1);break;default:return!1}return Le(),!0}function Et(){return r.getToken()!==10?(ae(3,[],[2,5]),!1):(Ee(!1),r.getToken()===6?(Z(":"),Le(),_t()||ae(4,[],[2,5])):ae(5,[],[2,5]),i.pop(),!0)}function $e(){l(),Le();let qe=!1;for(;r.getToken()!==2&&r.getToken()!==17;){if(r.getToken()===5){if(qe||ae(4,[],[]),Z(","),Le(),r.getToken()===2&&we)break}else qe&&ae(6,[],[]);Et()||ae(4,[],[2,5]),qe=!0}return c(),r.getToken()!==2?ae(7,[2],[]):Le(),!0}function ze(){_(),Le();let qe=!0,Ft=!1;for(;r.getToken()!==4&&r.getToken()!==17;){if(r.getToken()===5){if(Ft||ae(4,[],[]),Z(","),Le(),r.getToken()===4&&we)break}else Ft&&ae(6,[],[]);qe?(i.push(0),qe=!1):i[i.length-1]++,_t()||ae(4,[],[4,5]),Ft=!0}return S(),qe||i.pop(),r.getToken()!==4?ae(8,[4],[]):Le(),!0}function _t(){switch(r.getToken()){case 3:return ze();case 1:return $e();case 10:return Ee(!0);default:return He()}}return Le(),r.getToken()===17?n.allowEmptyContent?!0:(ae(4,[],[]),!1):_t()?(r.getToken()!==17&&ae(9,[],[]),!0):(ae(4,[],[]),!1)}var ah;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(ah||(ah={}));var oh;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(oh||(oh={}));const ky=Ty,Py=gc;var uh;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(uh||(uh={}));var lh;(()=>{var e={470:i=>{function s(u){if(typeof u!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(u))}function a(u,l){for(var v,c="",_=0,S=-1,Q=0,Z=0;Z<=u.length;++Z){if(Z<u.length)v=u.charCodeAt(Z);else{if(v===47)break;v=47}if(v===47){if(!(S===Z-1||Q===1))if(S!==Z-1&&Q===2){if(c.length<2||_!==2||c.charCodeAt(c.length-1)!==46||c.charCodeAt(c.length-2)!==46){if(c.length>2){var M=c.lastIndexOf("/");if(M!==c.length-1){M===-1?(c="",_=0):_=(c=c.slice(0,M)).length-1-c.lastIndexOf("/"),S=Z,Q=0;continue}}else if(c.length===2||c.length===1){c="",_=0,S=Z,Q=0;continue}}l&&(c.length>0?c+="/..":c="..",_=2)}else c.length>0?c+="/"+u.slice(S+1,Z):c=u.slice(S+1,Z),_=Z-S-1;S=Z,Q=0}else v===46&&Q!==-1?++Q:Q=-1}return c}var o={resolve:function(){for(var u,l="",v=!1,c=arguments.length-1;c>=-1&&!v;c--){var _;c>=0?_=arguments[c]:(u===void 0&&(u=process.cwd()),_=u),s(_),_.length!==0&&(l=_+"/"+l,v=_.charCodeAt(0)===47)}return l=a(l,!v),v?l.length>0?"/"+l:"/":l.length>0?l:"."},normalize:function(u){if(s(u),u.length===0)return".";var l=u.charCodeAt(0)===47,v=u.charCodeAt(u.length-1)===47;return(u=a(u,!l)).length!==0||l||(u="."),u.length>0&&v&&(u+="/"),l?"/"+u:u},isAbsolute:function(u){return s(u),u.length>0&&u.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var u,l=0;l<arguments.length;++l){var v=arguments[l];s(v),v.length>0&&(u===void 0?u=v:u+="/"+v)}return u===void 0?".":o.normalize(u)},relative:function(u,l){if(s(u),s(l),u===l||(u=o.resolve(u))===(l=o.resolve(l)))return"";for(var v=1;v<u.length&&u.charCodeAt(v)===47;++v);for(var c=u.length,_=c-v,S=1;S<l.length&&l.charCodeAt(S)===47;++S);for(var Q=l.length-S,Z=_<Q?_:Q,M=-1,he=0;he<=Z;++he){if(he===Z){if(Q>Z){if(l.charCodeAt(S+he)===47)return l.slice(S+he+1);if(he===0)return l.slice(S+he)}else _>Z&&(u.charCodeAt(v+he)===47?M=he:he===0&&(M=0));break}var ve=u.charCodeAt(v+he);if(ve!==l.charCodeAt(S+he))break;ve===47&&(M=he)}var we="";for(he=v+M+1;he<=c;++he)he!==c&&u.charCodeAt(he)!==47||(we.length===0?we+="..":we+="/..");return we.length>0?we+l.slice(S+M):(S+=M,l.charCodeAt(S)===47&&++S,l.slice(S))},_makeLong:function(u){return u},dirname:function(u){if(s(u),u.length===0)return".";for(var l=u.charCodeAt(0),v=l===47,c=-1,_=!0,S=u.length-1;S>=1;--S)if((l=u.charCodeAt(S))===47){if(!_){c=S;break}}else _=!1;return c===-1?v?"/":".":v&&c===1?"//":u.slice(0,c)},basename:function(u,l){if(l!==void 0&&typeof l!="string")throw new TypeError('"ext" argument must be a string');s(u);var v,c=0,_=-1,S=!0;if(l!==void 0&&l.length>0&&l.length<=u.length){if(l.length===u.length&&l===u)return"";var Q=l.length-1,Z=-1;for(v=u.length-1;v>=0;--v){var M=u.charCodeAt(v);if(M===47){if(!S){c=v+1;break}}else Z===-1&&(S=!1,Z=v+1),Q>=0&&(M===l.charCodeAt(Q)?--Q==-1&&(_=v):(Q=-1,_=Z))}return c===_?_=Z:_===-1&&(_=u.length),u.slice(c,_)}for(v=u.length-1;v>=0;--v)if(u.charCodeAt(v)===47){if(!S){c=v+1;break}}else _===-1&&(S=!1,_=v+1);return _===-1?"":u.slice(c,_)},extname:function(u){s(u);for(var l=-1,v=0,c=-1,_=!0,S=0,Q=u.length-1;Q>=0;--Q){var Z=u.charCodeAt(Q);if(Z!==47)c===-1&&(_=!1,c=Q+1),Z===46?l===-1?l=Q:S!==1&&(S=1):l!==-1&&(S=-1);else if(!_){v=Q+1;break}}return l===-1||c===-1||S===0||S===1&&l===c-1&&l===v+1?"":u.slice(l,c)},format:function(u){if(u===null||typeof u!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof u);return function(l,v){var c=v.dir||v.root,_=v.base||(v.name||"")+(v.ext||"");return c?c===v.root?c+_:c+"/"+_:_}(0,u)},parse:function(u){s(u);var l={root:"",dir:"",base:"",ext:"",name:""};if(u.length===0)return l;var v,c=u.charCodeAt(0),_=c===47;_?(l.root="/",v=1):v=0;for(var S=-1,Q=0,Z=-1,M=!0,he=u.length-1,ve=0;he>=v;--he)if((c=u.charCodeAt(he))!==47)Z===-1&&(M=!1,Z=he+1),c===46?S===-1?S=he:ve!==1&&(ve=1):S!==-1&&(ve=-1);else if(!M){Q=he+1;break}return S===-1||Z===-1||ve===0||ve===1&&S===Z-1&&S===Q+1?Z!==-1&&(l.base=l.name=Q===0&&_?u.slice(1,Z):u.slice(Q,Z)):(Q===0&&_?(l.name=u.slice(1,S),l.base=u.slice(1,Z)):(l.name=u.slice(Q,S),l.base=u.slice(Q,Z)),l.ext=u.slice(S,Z)),Q>0?l.dir=u.slice(0,Q-1):_&&(l.dir="/"),l},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,i.exports=o}},t={};function n(i){var s=t[i];if(s!==void 0)return s.exports;var a=t[i]={exports:{}};return e[i](a,a.exports,n),a.exports}n.d=(i,s)=>{for(var a in s)n.o(s,a)&&!n.o(i,a)&&Object.defineProperty(i,a,{enumerable:!0,get:s[a]})},n.o=(i,s)=>Object.prototype.hasOwnProperty.call(i,s),n.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var r={};(()=>{var i;if(n.r(r),n.d(r,{URI:()=>M,Utils:()=>_t}),typeof process=="object")i=process.platform==="win32";else if(typeof navigator=="object"){var s=navigator.userAgent;i=s.indexOf("Windows")>=0}var a,o,u=(a=function(Dt,At){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Pt,Kt){Pt.__proto__=Kt}||function(Pt,Kt){for(var Cn in Kt)Object.prototype.hasOwnProperty.call(Kt,Cn)&&(Pt[Cn]=Kt[Cn])},a(Dt,At)},function(Dt,At){if(typeof At!="function"&&At!==null)throw new TypeError("Class extends value "+String(At)+" is not a constructor or null");function Pt(){this.constructor=Dt}a(Dt,At),Dt.prototype=At===null?Object.create(At):(Pt.prototype=At.prototype,new Pt)}),l=/^\w[\w\d+.-]*$/,v=/^\//,c=/^\/\//;function _(Dt,At){if(!Dt.scheme&&At)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'.concat(Dt.authority,'", path: "').concat(Dt.path,'", query: "').concat(Dt.query,'", fragment: "').concat(Dt.fragment,'"}'));if(Dt.scheme&&!l.test(Dt.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(Dt.path){if(Dt.authority){if(!v.test(Dt.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(c.test(Dt.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}var S="",Q="/",Z=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,M=function(){function Dt(At,Pt,Kt,Cn,On,Pn){Pn===void 0&&(Pn=!1),typeof At=="object"?(this.scheme=At.scheme||S,this.authority=At.authority||S,this.path=At.path||S,this.query=At.query||S,this.fragment=At.fragment||S):(this.scheme=function(Lr,Zr){return Lr||Zr?Lr:"file"}(At,Pn),this.authority=Pt||S,this.path=function(Lr,Zr){switch(Lr){case"https":case"http":case"file":Zr?Zr[0]!==Q&&(Zr=Q+Zr):Zr=Q}return Zr}(this.scheme,Kt||S),this.query=Cn||S,this.fragment=On||S,_(this,Pn))}return Dt.isUri=function(At){return At instanceof Dt||!!At&&typeof At.authority=="string"&&typeof At.fragment=="string"&&typeof At.path=="string"&&typeof At.query=="string"&&typeof At.scheme=="string"&&typeof At.fsPath=="string"&&typeof At.with=="function"&&typeof At.toString=="function"},Object.defineProperty(Dt.prototype,"fsPath",{get:function(){return Ee(this,!1)},enumerable:!1,configurable:!0}),Dt.prototype.with=function(At){if(!At)return this;var Pt=At.scheme,Kt=At.authority,Cn=At.path,On=At.query,Pn=At.fragment;return Pt===void 0?Pt=this.scheme:Pt===null&&(Pt=S),Kt===void 0?Kt=this.authority:Kt===null&&(Kt=S),Cn===void 0?Cn=this.path:Cn===null&&(Cn=S),On===void 0?On=this.query:On===null&&(On=S),Pn===void 0?Pn=this.fragment:Pn===null&&(Pn=S),Pt===this.scheme&&Kt===this.authority&&Cn===this.path&&On===this.query&&Pn===this.fragment?this:new ve(Pt,Kt,Cn,On,Pn)},Dt.parse=function(At,Pt){Pt===void 0&&(Pt=!1);var Kt=Z.exec(At);return Kt?new ve(Kt[2]||S,ze(Kt[4]||S),ze(Kt[5]||S),ze(Kt[7]||S),ze(Kt[9]||S),Pt):new ve(S,S,S,S,S)},Dt.file=function(At){var Pt=S;if(i&&(At=At.replace(/\\/g,Q)),At[0]===Q&&At[1]===Q){var Kt=At.indexOf(Q,2);Kt===-1?(Pt=At.substring(2),At=Q):(Pt=At.substring(2,Kt),At=At.substring(Kt)||Q)}return new ve("file",Pt,At,S,S)},Dt.from=function(At){var Pt=new ve(At.scheme,At.authority,At.path,At.query,At.fragment);return _(Pt,!0),Pt},Dt.prototype.toString=function(At){return At===void 0&&(At=!1),He(this,At)},Dt.prototype.toJSON=function(){return this},Dt.revive=function(At){if(At){if(At instanceof Dt)return At;var Pt=new ve(At);return Pt._formatted=At.external,Pt._fsPath=At._sep===he?At.fsPath:null,Pt}return At},Dt}(),he=i?1:void 0,ve=function(Dt){function At(){var Pt=Dt!==null&&Dt.apply(this,arguments)||this;return Pt._formatted=null,Pt._fsPath=null,Pt}return u(At,Dt),Object.defineProperty(At.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=Ee(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),At.prototype.toString=function(Pt){return Pt===void 0&&(Pt=!1),Pt?He(this,!0):(this._formatted||(this._formatted=He(this,!1)),this._formatted)},At.prototype.toJSON=function(){var Pt={$mid:1};return this._fsPath&&(Pt.fsPath=this._fsPath,Pt._sep=he),this._formatted&&(Pt.external=this._formatted),this.path&&(Pt.path=this.path),this.scheme&&(Pt.scheme=this.scheme),this.authority&&(Pt.authority=this.authority),this.query&&(Pt.query=this.query),this.fragment&&(Pt.fragment=this.fragment),Pt},At}(M),we=((o={})[58]="%3A",o[47]="%2F",o[63]="%3F",o[35]="%23",o[91]="%5B",o[93]="%5D",o[64]="%40",o[33]="%21",o[36]="%24",o[38]="%26",o[39]="%27",o[40]="%28",o[41]="%29",o[42]="%2A",o[43]="%2B",o[44]="%2C",o[59]="%3B",o[61]="%3D",o[32]="%20",o);function Le(Dt,At,Pt){for(var Kt=void 0,Cn=-1,On=0;On<Dt.length;On++){var Pn=Dt.charCodeAt(On);if(Pn>=97&&Pn<=122||Pn>=65&&Pn<=90||Pn>=48&&Pn<=57||Pn===45||Pn===46||Pn===95||Pn===126||At&&Pn===47||Pt&&Pn===91||Pt&&Pn===93||Pt&&Pn===58)Cn!==-1&&(Kt+=encodeURIComponent(Dt.substring(Cn,On)),Cn=-1),Kt!==void 0&&(Kt+=Dt.charAt(On));else{Kt===void 0&&(Kt=Dt.substr(0,On));var Lr=we[Pn];Lr!==void 0?(Cn!==-1&&(Kt+=encodeURIComponent(Dt.substring(Cn,On)),Cn=-1),Kt+=Lr):Cn===-1&&(Cn=On)}}return Cn!==-1&&(Kt+=encodeURIComponent(Dt.substring(Cn))),Kt!==void 0?Kt:Dt}function ae(Dt){for(var At=void 0,Pt=0;Pt<Dt.length;Pt++){var Kt=Dt.charCodeAt(Pt);Kt===35||Kt===63?(At===void 0&&(At=Dt.substr(0,Pt)),At+=we[Kt]):At!==void 0&&(At+=Dt[Pt])}return At!==void 0?At:Dt}function Ee(Dt,At){var Pt;return Pt=Dt.authority&&Dt.path.length>1&&Dt.scheme==="file"?"//".concat(Dt.authority).concat(Dt.path):Dt.path.charCodeAt(0)===47&&(Dt.path.charCodeAt(1)>=65&&Dt.path.charCodeAt(1)<=90||Dt.path.charCodeAt(1)>=97&&Dt.path.charCodeAt(1)<=122)&&Dt.path.charCodeAt(2)===58?At?Dt.path.substr(1):Dt.path[1].toLowerCase()+Dt.path.substr(2):Dt.path,i&&(Pt=Pt.replace(/\//g,"\\")),Pt}function He(Dt,At){var Pt=At?ae:Le,Kt="",Cn=Dt.scheme,On=Dt.authority,Pn=Dt.path,Lr=Dt.query,Zr=Dt.fragment;if(Cn&&(Kt+=Cn,Kt+=":"),(On||Cn==="file")&&(Kt+=Q,Kt+=Q),On){var Yr=On.indexOf("@");if(Yr!==-1){var Hi=On.substr(0,Yr);On=On.substr(Yr+1),(Yr=Hi.lastIndexOf(":"))===-1?Kt+=Pt(Hi,!1,!1):(Kt+=Pt(Hi.substr(0,Yr),!1,!1),Kt+=":",Kt+=Pt(Hi.substr(Yr+1),!1,!0)),Kt+="@"}(Yr=(On=On.toLowerCase()).lastIndexOf(":"))===-1?Kt+=Pt(On,!1,!0):(Kt+=Pt(On.substr(0,Yr),!1,!0),Kt+=On.substr(Yr))}if(Pn){if(Pn.length>=3&&Pn.charCodeAt(0)===47&&Pn.charCodeAt(2)===58)(di=Pn.charCodeAt(1))>=65&&di<=90&&(Pn="/".concat(String.fromCharCode(di+32),":").concat(Pn.substr(3)));else if(Pn.length>=2&&Pn.charCodeAt(1)===58){var di;(di=Pn.charCodeAt(0))>=65&&di<=90&&(Pn="".concat(String.fromCharCode(di+32),":").concat(Pn.substr(2)))}Kt+=Pt(Pn,!0,!1)}return Lr&&(Kt+="?",Kt+=Pt(Lr,!1,!1)),Zr&&(Kt+="#",Kt+=At?Zr:Le(Zr,!1,!1)),Kt}function Et(Dt){try{return decodeURIComponent(Dt)}catch{return Dt.length>3?Dt.substr(0,3)+Et(Dt.substr(3)):Dt}}var $e=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function ze(Dt){return Dt.match($e)?Dt.replace($e,function(At){return Et(At)}):Dt}var _t,qe=n(470),Ft=function(Dt,At,Pt){if(Pt||arguments.length===2)for(var Kt,Cn=0,On=At.length;Cn<On;Cn++)!Kt&&Cn in At||(Kt||(Kt=Array.prototype.slice.call(At,0,Cn)),Kt[Cn]=At[Cn]);return Dt.concat(Kt||Array.prototype.slice.call(At))},qt=qe.posix||qe,tn="/";(function(Dt){Dt.joinPath=function(At){for(var Pt=[],Kt=1;Kt<arguments.length;Kt++)Pt[Kt-1]=arguments[Kt];return At.with({path:qt.join.apply(qt,Ft([At.path],Pt,!1))})},Dt.resolvePath=function(At){for(var Pt=[],Kt=1;Kt<arguments.length;Kt++)Pt[Kt-1]=arguments[Kt];var Cn=At.path,On=!1;Cn[0]!==tn&&(Cn=tn+Cn,On=!0);var Pn=qt.resolve.apply(qt,Ft([Cn],Pt,!1));return On&&Pn[0]===tn&&!At.authority&&(Pn=Pn.substring(1)),At.with({path:Pn})},Dt.dirname=function(At){if(At.path.length===0||At.path===tn)return At;var Pt=qt.dirname(At.path);return Pt.length===1&&Pt.charCodeAt(0)===46&&(Pt=""),At.with({path:Pt})},Dt.basename=function(At){return qt.basename(At.path)},Dt.extname=function(At){return qt.extname(At.path)}})(_t||(_t={}))})(),lh=r})();const{URI:Ci,Utils:yA}=lh;var ch;(function(e){function t(n){return typeof n=="string"}e.is=t})(ch||(ch={}));var yc;(function(e){function t(n){return typeof n=="string"}e.is=t})(yc||(yc={}));var fh;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(fh||(fh={}));var fu;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(fu||(fu={}));var Xr;(function(e){function t(r,i){return r===Number.MAX_VALUE&&(r=fu.MAX_VALUE),i===Number.MAX_VALUE&&(i=fu.MAX_VALUE),{line:r,character:i}}e.create=t;function n(r){var i=r;return wt.objectLiteral(i)&&wt.uinteger(i.line)&&wt.uinteger(i.character)}e.is=n})(Xr||(Xr={}));var $n;(function(e){function t(r,i,s,a){if(wt.uinteger(r)&&wt.uinteger(i)&&wt.uinteger(s)&&wt.uinteger(a))return{start:Xr.create(r,i),end:Xr.create(s,a)};if(Xr.is(r)&&Xr.is(i))return{start:r,end:i};throw new Error("Range#create called with invalid arguments[".concat(r,", ").concat(i,", ").concat(s,", ").concat(a,"]"))}e.create=t;function n(r){var i=r;return wt.objectLiteral(i)&&Xr.is(i.start)&&Xr.is(i.end)}e.is=n})($n||($n={}));var Ca;(function(e){function t(r,i){return{uri:r,range:i}}e.create=t;function n(r){var i=r;return wt.objectLiteral(i)&&$n.is(i.range)&&(wt.string(i.uri)||wt.undefined(i.uri))}e.is=n})(Ca||(Ca={}));var Dc;(function(e){function t(r,i,s,a){return{targetUri:r,targetRange:i,targetSelectionRange:s,originSelectionRange:a}}e.create=t;function n(r){var i=r;return wt.objectLiteral(i)&&$n.is(i.targetRange)&&wt.string(i.targetUri)&&$n.is(i.targetSelectionRange)&&($n.is(i.originSelectionRange)||wt.undefined(i.originSelectionRange))}e.is=n})(Dc||(Dc={}));var bc;(function(e){function t(r,i,s,a){return{red:r,green:i,blue:s,alpha:a}}e.create=t;function n(r){var i=r;return wt.objectLiteral(i)&&wt.numberRange(i.red,0,1)&&wt.numberRange(i.green,0,1)&&wt.numberRange(i.blue,0,1)&&wt.numberRange(i.alpha,0,1)}e.is=n})(bc||(bc={}));var ph;(function(e){function t(r,i){return{range:r,color:i}}e.create=t;function n(r){var i=r;return wt.objectLiteral(i)&&$n.is(i.range)&&bc.is(i.color)}e.is=n})(ph||(ph={}));var dh;(function(e){function t(r,i,s){return{label:r,textEdit:i,additionalTextEdits:s}}e.create=t;function n(r){var i=r;return wt.objectLiteral(i)&&wt.string(i.label)&&(wt.undefined(i.textEdit)||Sr.is(i))&&(wt.undefined(i.additionalTextEdits)||wt.typedArray(i.additionalTextEdits,Sr.is))}e.is=n})(dh||(dh={}));var hh;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(hh||(hh={}));var vc;(function(e){function t(r,i,s,a,o,u){var l={startLine:r,endLine:i};return wt.defined(s)&&(l.startCharacter=s),wt.defined(a)&&(l.endCharacter=a),wt.defined(o)&&(l.kind=o),wt.defined(u)&&(l.collapsedText=u),l}e.create=t;function n(r){var i=r;return wt.objectLiteral(i)&&wt.uinteger(i.startLine)&&wt.uinteger(i.startLine)&&(wt.undefined(i.startCharacter)||wt.uinteger(i.startCharacter))&&(wt.undefined(i.endCharacter)||wt.uinteger(i.endCharacter))&&(wt.undefined(i.kind)||wt.string(i.kind))}e.is=n})(vc||(vc={}));var Ec;(function(e){function t(r,i){return{location:r,message:i}}e.create=t;function n(r){var i=r;return wt.defined(i)&&Ca.is(i.location)&&wt.string(i.message)}e.is=n})(Ec||(Ec={}));var Xn;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(Xn||(Xn={}));var Ac;(function(e){e.Unnecessary=1,e.Deprecated=2})(Ac||(Ac={}));var mh;(function(e){function t(n){var r=n;return wt.objectLiteral(r)&&wt.string(r.href)}e.is=t})(mh||(mh={}));var xi;(function(e){function t(r,i,s,a,o,u){var l={range:r,message:i};return wt.defined(s)&&(l.severity=s),wt.defined(a)&&(l.code=a),wt.defined(o)&&(l.source=o),wt.defined(u)&&(l.relatedInformation=u),l}e.create=t;function n(r){var i,s=r;return wt.defined(s)&&$n.is(s.range)&&wt.string(s.message)&&(wt.number(s.severity)||wt.undefined(s.severity))&&(wt.integer(s.code)||wt.string(s.code)||wt.undefined(s.code))&&(wt.undefined(s.codeDescription)||wt.string((i=s.codeDescription)===null||i===void 0?void 0:i.href))&&(wt.string(s.source)||wt.undefined(s.source))&&(wt.undefined(s.relatedInformation)||wt.typedArray(s.relatedInformation,Ec.is))}e.is=n})(xi||(xi={}));var qs;(function(e){function t(r,i){for(var s=[],a=2;a<arguments.length;a++)s[a-2]=arguments[a];var o={title:r,command:i};return wt.defined(s)&&s.length>0&&(o.arguments=s),o}e.create=t;function n(r){var i=r;return wt.defined(i)&&wt.string(i.title)&&wt.string(i.command)}e.is=n})(qs||(qs={}));var Sr;(function(e){function t(s,a){return{range:s,newText:a}}e.replace=t;function n(s,a){return{range:{start:s,end:s},newText:a}}e.insert=n;function r(s){return{range:s,newText:""}}e.del=r;function i(s){var a=s;return wt.objectLiteral(a)&&wt.string(a.newText)&&$n.is(a.range)}e.is=i})(Sr||(Sr={}));var xa;(function(e){function t(r,i,s){var a={label:r};return i!==void 0&&(a.needsConfirmation=i),s!==void 0&&(a.description=s),a}e.create=t;function n(r){var i=r;return wt.objectLiteral(i)&&wt.string(i.label)&&(wt.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(wt.string(i.description)||i.description===void 0)}e.is=n})(xa||(xa={}));var si;(function(e){function t(n){var r=n;return wt.string(r)}e.is=t})(si||(si={}));var Ls;(function(e){function t(s,a,o){return{range:s,newText:a,annotationId:o}}e.replace=t;function n(s,a,o){return{range:{start:s,end:s},newText:a,annotationId:o}}e.insert=n;function r(s,a){return{range:s,newText:"",annotationId:a}}e.del=r;function i(s){var a=s;return Sr.is(a)&&(xa.is(a.annotationId)||si.is(a.annotationId))}e.is=i})(Ls||(Ls={}));var pu;(function(e){function t(r,i){return{textDocument:r,edits:i}}e.create=t;function n(r){var i=r;return wt.defined(i)&&hu.is(i.textDocument)&&Array.isArray(i.edits)}e.is=n})(pu||(pu={}));var Eo;(function(e){function t(r,i,s){var a={kind:"create",uri:r};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(a.options=i),s!==void 0&&(a.annotationId=s),a}e.create=t;function n(r){var i=r;return i&&i.kind==="create"&&wt.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||wt.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||wt.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||si.is(i.annotationId))}e.is=n})(Eo||(Eo={}));var Ao;(function(e){function t(r,i,s,a){var o={kind:"rename",oldUri:r,newUri:i};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(o.options=s),a!==void 0&&(o.annotationId=a),o}e.create=t;function n(r){var i=r;return i&&i.kind==="rename"&&wt.string(i.oldUri)&&wt.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||wt.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||wt.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||si.is(i.annotationId))}e.is=n})(Ao||(Ao={}));var Co;(function(e){function t(r,i,s){var a={kind:"delete",uri:r};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(a.options=i),s!==void 0&&(a.annotationId=s),a}e.create=t;function n(r){var i=r;return i&&i.kind==="delete"&&wt.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||wt.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||wt.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||si.is(i.annotationId))}e.is=n})(Co||(Co={}));var Cc;(function(e){function t(n){var r=n;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(function(i){return wt.string(i.kind)?Eo.is(i)||Ao.is(i)||Co.is(i):pu.is(i)}))}e.is=t})(Cc||(Cc={}));var du=function(){function e(t,n){this.edits=t,this.changeAnnotations=n}return e.prototype.insert=function(t,n,r){var i,s;if(r===void 0?i=Sr.insert(t,n):si.is(r)?(s=r,i=Ls.insert(t,n,r)):(this.assertChangeAnnotations(this.changeAnnotations),s=this.changeAnnotations.manage(r),i=Ls.insert(t,n,s)),this.edits.push(i),s!==void 0)return s},e.prototype.replace=function(t,n,r){var i,s;if(r===void 0?i=Sr.replace(t,n):si.is(r)?(s=r,i=Ls.replace(t,n,r)):(this.assertChangeAnnotations(this.changeAnnotations),s=this.changeAnnotations.manage(r),i=Ls.replace(t,n,s)),this.edits.push(i),s!==void 0)return s},e.prototype.delete=function(t,n){var r,i;if(n===void 0?r=Sr.del(t):si.is(n)?(i=n,r=Ls.del(t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=Ls.del(t,i)),this.edits.push(r),i!==void 0)return i},e.prototype.add=function(t){this.edits.push(t)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(t){if(t===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},e}(),gh=function(){function e(t){this._annotations=t===void 0?Object.create(null):t,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(t,n){var r;if(si.is(t)?r=t:(r=this.nextId(),n=t),this._annotations[r]!==void 0)throw new Error("Id ".concat(r," is already in use."));if(n===void 0)throw new Error("No annotation provided for id ".concat(r));return this._annotations[r]=n,this._size++,r},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();(function(){function e(t){var n=this;this._textEditChanges=Object.create(null),t!==void 0?(this._workspaceEdit=t,t.documentChanges?(this._changeAnnotations=new gh(t.changeAnnotations),t.changeAnnotations=this._changeAnnotations.all(),t.documentChanges.forEach(function(r){if(pu.is(r)){var i=new du(r.edits,n._changeAnnotations);n._textEditChanges[r.textDocument.uri]=i}})):t.changes&&Object.keys(t.changes).forEach(function(r){var i=new du(t.changes[r]);n._textEditChanges[r]=i})):this._workspaceEdit={}}return Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(t){if(hu.is(t)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var n={uri:t.uri,version:t.version},r=this._textEditChanges[n.uri];if(!r){var i=[],s={textDocument:n,edits:i};this._workspaceEdit.documentChanges.push(s),r=new du(i,this._changeAnnotations),this._textEditChanges[n.uri]=r}return r}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var r=this._textEditChanges[t];if(!r){var i=[];this._workspaceEdit.changes[t]=i,r=new du(i),this._textEditChanges[t]=r}return r}},e.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new gh,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(t,n,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i;xa.is(n)||si.is(n)?i=n:r=n;var s,a;if(i===void 0?s=Eo.create(t,r):(a=si.is(i)?i:this._changeAnnotations.manage(i),s=Eo.create(t,r,a)),this._workspaceEdit.documentChanges.push(s),a!==void 0)return a},e.prototype.renameFile=function(t,n,r,i){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var s;xa.is(r)||si.is(r)?s=r:i=r;var a,o;if(s===void 0?a=Ao.create(t,n,i):(o=si.is(s)?s:this._changeAnnotations.manage(s),a=Ao.create(t,n,i,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},e.prototype.deleteFile=function(t,n,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i;xa.is(n)||si.is(n)?i=n:r=n;var s,a;if(i===void 0?s=Co.create(t,r):(a=si.is(i)?i:this._changeAnnotations.manage(i),s=Co.create(t,r,a)),this._workspaceEdit.documentChanges.push(s),a!==void 0)return a},e})();var yh;(function(e){function t(r){return{uri:r}}e.create=t;function n(r){var i=r;return wt.defined(i)&&wt.string(i.uri)}e.is=n})(yh||(yh={}));var Dh;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){var i=r;return wt.defined(i)&&wt.string(i.uri)&&wt.integer(i.version)}e.is=n})(Dh||(Dh={}));var hu;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){var i=r;return wt.defined(i)&&wt.string(i.uri)&&(i.version===null||wt.integer(i.version))}e.is=n})(hu||(hu={}));var bh;(function(e){function t(r,i,s,a){return{uri:r,languageId:i,version:s,text:a}}e.create=t;function n(r){var i=r;return wt.defined(i)&&wt.string(i.uri)&&wt.string(i.languageId)&&wt.integer(i.version)&&wt.string(i.text)}e.is=n})(bh||(bh={}));var ls;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(n){var r=n;return r===e.PlainText||r===e.Markdown}e.is=t})(ls||(ls={}));var xo;(function(e){function t(n){var r=n;return wt.objectLiteral(n)&&ls.is(r.kind)&&wt.string(r.value)}e.is=t})(xo||(xo={}));var Si;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(Si||(Si={}));var ni;(function(e){e.PlainText=1,e.Snippet=2})(ni||(ni={}));var vh;(function(e){e.Deprecated=1})(vh||(vh={}));var Eh;(function(e){function t(r,i,s){return{newText:r,insert:i,replace:s}}e.create=t;function n(r){var i=r;return i&&wt.string(i.newText)&&$n.is(i.insert)&&$n.is(i.replace)}e.is=n})(Eh||(Eh={}));var xc;(function(e){e.asIs=1,e.adjustIndentation=2})(xc||(xc={}));var Ah;(function(e){function t(n){var r=n;return r&&(wt.string(r.detail)||r.detail===void 0)&&(wt.string(r.description)||r.description===void 0)}e.is=t})(Ah||(Ah={}));var Sc;(function(e){function t(n){return{label:n}}e.create=t})(Sc||(Sc={}));var wc;(function(e){function t(n,r){return{items:n||[],isIncomplete:!!r}}e.create=t})(wc||(wc={}));var mu;(function(e){function t(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function n(r){var i=r;return wt.string(i)||wt.objectLiteral(i)&&wt.string(i.language)&&wt.string(i.value)}e.is=n})(mu||(mu={}));var Ch;(function(e){function t(n){var r=n;return!!r&&wt.objectLiteral(r)&&(xo.is(r.contents)||mu.is(r.contents)||wt.typedArray(r.contents,mu.is))&&(n.range===void 0||$n.is(n.range))}e.is=t})(Ch||(Ch={}));var xh;(function(e){function t(n,r){return r?{label:n,documentation:r}:{label:n}}e.create=t})(xh||(xh={}));var Sh;(function(e){function t(n,r){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var a={label:n};return wt.defined(r)&&(a.documentation=r),wt.defined(i)?a.parameters=i:a.parameters=[],a}e.create=t})(Sh||(Sh={}));var wh;(function(e){e.Text=1,e.Read=2,e.Write=3})(wh||(wh={}));var Fh;(function(e){function t(n,r){var i={range:n};return wt.number(r)&&(i.kind=r),i}e.create=t})(Fh||(Fh={}));var ns;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(ns||(ns={}));var Nh;(function(e){e.Deprecated=1})(Nh||(Nh={}));var _h;(function(e){function t(n,r,i,s,a){var o={name:n,kind:r,location:{uri:s,range:i}};return a&&(o.containerName=a),o}e.create=t})(_h||(_h={}));var Th;(function(e){function t(n,r,i,s){return s!==void 0?{name:n,kind:r,location:{uri:i,range:s}}:{name:n,kind:r,location:{uri:i}}}e.create=t})(Th||(Th={}));var Lh;(function(e){function t(r,i,s,a,o,u){var l={name:r,detail:i,kind:s,range:a,selectionRange:o};return u!==void 0&&(l.children=u),l}e.create=t;function n(r){var i=r;return i&&wt.string(i.name)&&wt.number(i.kind)&&$n.is(i.range)&&$n.is(i.selectionRange)&&(i.detail===void 0||wt.string(i.detail))&&(i.deprecated===void 0||wt.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}e.is=n})(Lh||(Lh={}));var ks;(function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"})(ks||(ks={}));var gu;(function(e){e.Invoked=1,e.Automatic=2})(gu||(gu={}));var kh;(function(e){function t(r,i,s){var a={diagnostics:r};return i!=null&&(a.only=i),s!=null&&(a.triggerKind=s),a}e.create=t;function n(r){var i=r;return wt.defined(i)&&wt.typedArray(i.diagnostics,xi.is)&&(i.only===void 0||wt.typedArray(i.only,wt.string))&&(i.triggerKind===void 0||i.triggerKind===gu.Invoked||i.triggerKind===gu.Automatic)}e.is=n})(kh||(kh={}));var cs;(function(e){function t(r,i,s){var a={title:r},o=!0;return typeof i=="string"?(o=!1,a.kind=i):qs.is(i)?a.command=i:a.edit=i,o&&s!==void 0&&(a.kind=s),a}e.create=t;function n(r){var i=r;return i&&wt.string(i.title)&&(i.diagnostics===void 0||wt.typedArray(i.diagnostics,xi.is))&&(i.kind===void 0||wt.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||qs.is(i.command))&&(i.isPreferred===void 0||wt.boolean(i.isPreferred))&&(i.edit===void 0||Cc.is(i.edit))}e.is=n})(cs||(cs={}));var Fc;(function(e){function t(r,i){var s={range:r};return wt.defined(i)&&(s.data=i),s}e.create=t;function n(r){var i=r;return wt.defined(i)&&$n.is(i.range)&&(wt.undefined(i.command)||qs.is(i.command))}e.is=n})(Fc||(Fc={}));var Ph;(function(e){function t(r,i){return{tabSize:r,insertSpaces:i}}e.create=t;function n(r){var i=r;return wt.defined(i)&&wt.uinteger(i.tabSize)&&wt.boolean(i.insertSpaces)}e.is=n})(Ph||(Ph={}));var Bh;(function(e){function t(r,i,s){return{range:r,target:i,data:s}}e.create=t;function n(r){var i=r;return wt.defined(i)&&$n.is(i.range)&&(wt.undefined(i.target)||wt.string(i.target))}e.is=n})(Bh||(Bh={}));var yu;(function(e){function t(r,i){return{range:r,parent:i}}e.create=t;function n(r){var i=r;return wt.objectLiteral(i)&&$n.is(i.range)&&(i.parent===void 0||e.is(i.parent))}e.is=n})(yu||(yu={}));var Mh;(function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"})(Mh||(Mh={}));var Ih;(function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"})(Ih||(Ih={}));var Oh;(function(e){function t(n){var r=n;return wt.objectLiteral(r)&&(r.resultId===void 0||typeof r.resultId=="string")&&Array.isArray(r.data)&&(r.data.length===0||typeof r.data[0]=="number")}e.is=t})(Oh||(Oh={}));var jh;(function(e){function t(r,i){return{range:r,text:i}}e.create=t;function n(r){var i=r;return i!=null&&$n.is(i.range)&&wt.string(i.text)}e.is=n})(jh||(jh={}));var Rh;(function(e){function t(r,i,s){return{range:r,variableName:i,caseSensitiveLookup:s}}e.create=t;function n(r){var i=r;return i!=null&&$n.is(i.range)&&wt.boolean(i.caseSensitiveLookup)&&(wt.string(i.variableName)||i.variableName===void 0)}e.is=n})(Rh||(Rh={}));var $h;(function(e){function t(r,i){return{range:r,expression:i}}e.create=t;function n(r){var i=r;return i!=null&&$n.is(i.range)&&(wt.string(i.expression)||i.expression===void 0)}e.is=n})($h||($h={}));var Vh;(function(e){function t(r,i){return{frameId:r,stoppedLocation:i}}e.create=t;function n(r){var i=r;return wt.defined(i)&&$n.is(r.stoppedLocation)}e.is=n})(Vh||(Vh={}));var Nc;(function(e){e.Type=1,e.Parameter=2;function t(n){return n===1||n===2}e.is=t})(Nc||(Nc={}));var _c;(function(e){function t(r){return{value:r}}e.create=t;function n(r){var i=r;return wt.objectLiteral(i)&&(i.tooltip===void 0||wt.string(i.tooltip)||xo.is(i.tooltip))&&(i.location===void 0||Ca.is(i.location))&&(i.command===void 0||qs.is(i.command))}e.is=n})(_c||(_c={}));var qh;(function(e){function t(r,i,s){var a={position:r,label:i};return s!==void 0&&(a.kind=s),a}e.create=t;function n(r){var i=r;return wt.objectLiteral(i)&&Xr.is(i.position)&&(wt.string(i.label)||wt.typedArray(i.label,_c.is))&&(i.kind===void 0||Nc.is(i.kind))&&i.textEdits===void 0||wt.typedArray(i.textEdits,Sr.is)&&(i.tooltip===void 0||wt.string(i.tooltip)||xo.is(i.tooltip))&&(i.paddingLeft===void 0||wt.boolean(i.paddingLeft))&&(i.paddingRight===void 0||wt.boolean(i.paddingRight))}e.is=n})(qh||(qh={}));var Uh;(function(e){function t(n){var r=n;return wt.objectLiteral(r)&&yc.is(r.uri)&&wt.string(r.name)}e.is=t})(Uh||(Uh={}));var Wh;(function(e){function t(s,a,o,u){return new By(s,a,o,u)}e.create=t;function n(s){var a=s;return!!(wt.defined(a)&&wt.string(a.uri)&&(wt.undefined(a.languageId)||wt.string(a.languageId))&&wt.uinteger(a.lineCount)&&wt.func(a.getText)&&wt.func(a.positionAt)&&wt.func(a.offsetAt))}e.is=n;function r(s,a){for(var o=s.getText(),u=i(a,function(Q,Z){var M=Q.range.start.line-Z.range.start.line;return M===0?Q.range.start.character-Z.range.start.character:M}),l=o.length,v=u.length-1;v>=0;v--){var c=u[v],_=s.offsetAt(c.range.start),S=s.offsetAt(c.range.end);if(S<=l)o=o.substring(0,_)+c.newText+o.substring(S,o.length);else throw new Error("Overlapping edit");l=_}return o}e.applyEdits=r;function i(s,a){if(s.length<=1)return s;var o=s.length/2|0,u=s.slice(0,o),l=s.slice(o);i(u,a),i(l,a);for(var v=0,c=0,_=0;v<u.length&&c<l.length;){var S=a(u[v],l[c]);S<=0?s[_++]=u[v++]:s[_++]=l[c++]}for(;v<u.length;)s[_++]=u[v++];for(;c<l.length;)s[_++]=l[c++];return s}})(Wh||(Wh={}));var By=function(){function e(t,n,r,i){this._uri=t,this._languageId=n,this._version=r,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(t){if(t){var n=this.offsetAt(t.start),r=this.offsetAt(t.end);return this._content.substring(n,r)}return this._content},e.prototype.update=function(t,n){this._content=t.text,this._version=n,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var t=[],n=this._content,r=!0,i=0;i<n.length;i++){r&&(t.push(i),r=!1);var s=n.charAt(i);r=s==="\r"||s===`
15
+ `,s==="\r"&&i+1<n.length&&n.charAt(i+1)===`
16
+ `&&i++}r&&n.length>0&&t.push(n.length),this._lineOffsets=t}return this._lineOffsets},e.prototype.positionAt=function(t){t=Math.max(Math.min(t,this._content.length),0);var n=this.getLineOffsets(),r=0,i=n.length;if(i===0)return Xr.create(0,t);for(;r<i;){var s=Math.floor((r+i)/2);n[s]>t?i=s:r=s+1}var a=r-1;return Xr.create(a,t-n[a])},e.prototype.offsetAt=function(t){var n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;var r=n[t.line],i=t.line+1<n.length?n[t.line+1]:this._content.length;return Math.max(Math.min(r+t.character,i),r)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}(),wt;(function(e){var t=Object.prototype.toString;function n(S){return typeof S<"u"}e.defined=n;function r(S){return typeof S>"u"}e.undefined=r;function i(S){return S===!0||S===!1}e.boolean=i;function s(S){return t.call(S)==="[object String]"}e.string=s;function a(S){return t.call(S)==="[object Number]"}e.number=a;function o(S,Q,Z){return t.call(S)==="[object Number]"&&Q<=S&&S<=Z}e.numberRange=o;function u(S){return t.call(S)==="[object Number]"&&-2147483648<=S&&S<=2147483647}e.integer=u;function l(S){return t.call(S)==="[object Number]"&&0<=S&&S<=2147483647}e.uinteger=l;function v(S){return t.call(S)==="[object Function]"}e.func=v;function c(S){return S!==null&&typeof S=="object"}e.objectLiteral=c;function _(S,Q){return Array.isArray(S)&&S.every(Q)}e.typedArray=_})(wt||(wt={}));const Tc=Symbol.for("yaml.alias"),Lc=Symbol.for("yaml.document"),Ps=Symbol.for("yaml.map"),Gh=Symbol.for("yaml.pair"),fs=Symbol.for("yaml.scalar"),Sa=Symbol.for("yaml.seq"),Li=Symbol.for("yaml.node.type"),rs=e=>!!e&&typeof e=="object"&&e[Li]===Tc,So=e=>!!e&&typeof e=="object"&&e[Li]===Lc,Ir=e=>!!e&&typeof e=="object"&&e[Li]===Ps,mr=e=>!!e&&typeof e=="object"&&e[Li]===Gh,Jn=e=>!!e&&typeof e=="object"&&e[Li]===fs,Or=e=>!!e&&typeof e=="object"&&e[Li]===Sa;function Br(e){if(e&&typeof e=="object")switch(e[Li]){case Ps:case Sa:return!0}return!1}function br(e){if(e&&typeof e=="object")switch(e[Li]){case Tc:case Ps:case fs:case Sa:return!0}return!1}const My=e=>(Jn(e)||Br(e))&&!!e.anchor,Us=Symbol("break visit"),Iy=Symbol("skip children"),wo=Symbol("remove node");function _r(e,t){const n=Oy(t);So(e)?wa(null,e.contents,n,Object.freeze([e]))===wo&&(e.contents=null):wa(null,e,n,Object.freeze([]))}_r.BREAK=Us,_r.SKIP=Iy,_r.REMOVE=wo;function wa(e,t,n,r){const i=jy(e,t,n,r);if(br(i)||mr(i))return Ry(e,r,i),wa(e,i,n,r);if(typeof i!="symbol"){if(Br(t)){r=Object.freeze(r.concat(t));for(let s=0;s<t.items.length;++s){const a=wa(s,t.items[s],n,r);if(typeof a=="number")s=a-1;else{if(a===Us)return Us;a===wo&&(t.items.splice(s,1),s-=1)}}}else if(mr(t)){r=Object.freeze(r.concat(t));const s=wa("key",t.key,n,r);if(s===Us)return Us;s===wo&&(t.key=null);const a=wa("value",t.value,n,r);if(a===Us)return Us;a===wo&&(t.value=null)}}return i}function Oy(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function jy(e,t,n,r){var i,s,a,o,u;if(typeof n=="function")return n(e,t,r);if(Ir(t))return(i=n.Map)==null?void 0:i.call(n,e,t,r);if(Or(t))return(s=n.Seq)==null?void 0:s.call(n,e,t,r);if(mr(t))return(a=n.Pair)==null?void 0:a.call(n,e,t,r);if(Jn(t))return(o=n.Scalar)==null?void 0:o.call(n,e,t,r);if(rs(t))return(u=n.Alias)==null?void 0:u.call(n,e,t,r)}function Ry(e,t,n){const r=t[t.length-1];if(Br(r))r.items[e]=n;else if(mr(r))e==="key"?r.key=n:r.value=n;else if(So(r))r.contents=n;else{const i=rs(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}const $y={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},Vy=e=>e.replace(/[!,[\]{}]/g,t=>$y[t]);class li{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},li.defaultYaml,t),this.tags=Object.assign({},li.defaultTags,n)}clone(){const t=new li(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new li(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:li.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},li.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:li.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},li.defaultTags),this.atNextDocument=!1);const r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;const[s,a]=r;return this.tags[s]=a,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[s]=r;if(s==="1.1"||s==="1.2")return this.yaml.version=s,!0;{const a=/^\d+\.\d+$/.test(s);return n(6,`Unsupported YAML version ${s}`,a),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const a=t.slice(2,-1);return a==="!"||a==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),a)}const[,r,i]=t.match(/^(.*!)([^!]*)$/);i||n(`The ${t} tag has no suffix`);const s=this.tags[r];if(s)try{return s+decodeURIComponent(i)}catch(a){return n(String(a)),null}return r==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,r]of Object.entries(this.tags))if(t.startsWith(r))return n+Vy(t.substring(r.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);let i;if(t&&r.length>0&&br(t.contents)){const s={};_r(t.contents,(a,o)=>{br(o)&&o.tag&&(s[o.tag]=!0)}),i=Object.keys(s)}else i=[];for(const[s,a]of r)s==="!!"&&a==="tag:yaml.org,2002:"||(!t||i.some(o=>o.startsWith(a)))&&n.push(`%TAG ${s} ${a}`);return n.join(`
17
+ `)}}li.defaultYaml={explicit:!1,version:"1.2"},li.defaultTags={"!!":"tag:yaml.org,2002:"};function Jh(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function Yh(e){const t=new Set;return _r(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}function Hh(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function qy(e,t){const n=[],r=new Map;let i=null;return{onAnchor:s=>{n.push(s),i||(i=Yh(e));const a=Hh(t,i);return i.add(a),a},setAnchors:()=>{for(const s of n){const a=r.get(s);if(typeof a=="object"&&a.anchor&&(Jn(a.node)||Br(a.node)))a.node.anchor=a.anchor;else{const o=new Error("Failed to resolve repeated object (this should not happen)");throw o.source=s,o}}},sourceObjects:r}}function Fa(e,t,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let i=0,s=r.length;i<s;++i){const a=r[i],o=Fa(e,r,String(i),a);o===void 0?delete r[i]:o!==a&&(r[i]=o)}else if(r instanceof Map)for(const i of Array.from(r.keys())){const s=r.get(i),a=Fa(e,r,i,s);a===void 0?r.delete(i):a!==s&&r.set(i,a)}else if(r instanceof Set)for(const i of Array.from(r)){const s=Fa(e,r,i,i);s===void 0?r.delete(i):s!==i&&(r.delete(i),r.add(s))}else for(const[i,s]of Object.entries(r)){const a=Fa(e,r,i,s);a===void 0?delete r[i]:a!==s&&(r[i]=a)}return e.call(t,n,r)}function ki(e,t,n){if(Array.isArray(e))return e.map((r,i)=>ki(r,String(i),n));if(e&&typeof e.toJSON=="function"){if(!n||!My(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=s=>{r.res=s,delete n.onCreate};const i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return typeof e=="bigint"&&!(n!=null&&n.keep)?Number(e):e}class kc{constructor(t){Object.defineProperty(this,Li,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:s}={}){if(!So(t))throw new TypeError("A document argument is required");const a={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},o=ki(this,"",a);if(typeof i=="function")for(const{count:u,res:l}of a.anchors.values())i(l,u);return typeof s=="function"?Fa(s,{"":o},"",o):o}}class Pc extends kc{constructor(t){super(Tc),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let n;return _r(t,{Node:(r,i)=>{if(i===this)return _r.BREAK;i.anchor===this.source&&(n=i)}}),n}toJSON(t,n){if(!n)return{source:this.source};const{anchors:r,doc:i,maxAliasCount:s}=n,a=this.resolve(i);if(!a){const u=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(u)}let o=r.get(a);if(o||(ki(a,null,n),o=r.get(a)),!o||o.res===void 0){const u="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(u)}if(s>=0&&(o.count+=1,o.aliasCount===0&&(o.aliasCount=Du(i,a,r)),o.count*o.aliasCount>s)){const u="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(u)}return o.res}toString(t,n,r){const i=`*${this.source}`;if(t){if(Jh(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const s=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(s)}if(t.implicitKey)return`${i} `}return i}}function Du(e,t,n){if(rs(t)){const r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(Br(t)){let r=0;for(const i of t.items){const s=Du(e,i,n);s>r&&(r=s)}return r}else if(mr(t)){const r=Du(e,t.key,n),i=Du(e,t.value,n);return Math.max(r,i)}return 1}const zh=e=>!e||typeof e!="function"&&typeof e!="object";class Zn extends kc{constructor(t){super(fs),this.value=t}toJSON(t,n){return n!=null&&n.keep?this.value:ki(this.value,t,n)}toString(){return String(this.value)}}Zn.BLOCK_FOLDED="BLOCK_FOLDED",Zn.BLOCK_LITERAL="BLOCK_LITERAL",Zn.PLAIN="PLAIN",Zn.QUOTE_DOUBLE="QUOTE_DOUBLE",Zn.QUOTE_SINGLE="QUOTE_SINGLE";const Uy="tag:yaml.org,2002:";function Wy(e,t,n){if(t){const r=n.filter(s=>s.tag===t),i=r.find(s=>!s.format)??r[0];if(!i)throw new Error(`Tag ${t} not found`);return i}return n.find(r=>{var i;return((i=r.identify)==null?void 0:i.call(r,e))&&!r.format})}function Fo(e,t,n){var c,_,S;if(So(e)&&(e=e.contents),br(e))return e;if(mr(e)){const Q=(_=(c=n.schema[Ps]).createNode)==null?void 0:_.call(c,n.schema,null,n);return Q.items.push(e),Q}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:i,onTagObj:s,schema:a,sourceObjects:o}=n;let u;if(r&&e&&typeof e=="object"){if(u=o.get(e),u)return u.anchor||(u.anchor=i(e)),new Pc(u.anchor);u={anchor:null,node:null},o.set(e,u)}t!=null&&t.startsWith("!!")&&(t=Uy+t.slice(2));let l=Wy(e,t,a.tags);if(!l){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const Q=new Zn(e);return u&&(u.node=Q),Q}l=e instanceof Map?a[Ps]:Symbol.iterator in Object(e)?a[Sa]:a[Ps]}s&&(s(l),delete n.onTagObj);const v=l!=null&&l.createNode?l.createNode(n.schema,e,n):typeof((S=l==null?void 0:l.nodeClass)==null?void 0:S.from)=="function"?l.nodeClass.from(n.schema,e,n):new Zn(e);return t?v.tag=t:l.default||(v.tag=l.tag),u&&(u.node=v),v}function bu(e,t,n){let r=n;for(let i=t.length-1;i>=0;--i){const s=t[i];if(typeof s=="number"&&Number.isInteger(s)&&s>=0){const a=[];a[s]=r,r=a}else r=new Map([[s,r]])}return Fo(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const No=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class vu extends kc{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(r=>br(r)||mr(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(No(t))this.add(n);else{const[r,...i]=t,s=this.get(r,!0);if(Br(s))s.addIn(i,n);else if(s===void 0&&this.schema)this.set(r,bu(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}deleteIn(t){const[n,...r]=t;if(r.length===0)return this.delete(n);const i=this.get(n,!0);if(Br(i))return i.deleteIn(r);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}getIn(t,n){const[r,...i]=t,s=this.get(r,!0);return i.length===0?!n&&Jn(s)?s.value:s:Br(s)?s.getIn(i,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!mr(n))return!1;const r=n.value;return r==null||t&&Jn(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(t){const[n,...r]=t;if(r.length===0)return this.has(n);const i=this.get(n,!0);return Br(i)?i.hasIn(r):!1}setIn(t,n){const[r,...i]=t;if(i.length===0)this.set(r,n);else{const s=this.get(r,!0);if(Br(s))s.setIn(i,n);else if(s===void 0&&this.schema)this.set(r,bu(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}}vu.maxFlowStringSingleLineLength=60;const Gy=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function ps(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Bs=(e,t,n)=>e.endsWith(`
18
+ `)?ps(n,t):n.includes(`
19
+ `)?`
20
+ `+ps(n,t):(e.endsWith(" ")?"":" ")+n,Qh="flow",Bc="block",Eu="quoted";function Au(e,t,n="flow",{indentAtStart:r,lineWidth:i=80,minContentWidth:s=20,onFold:a,onOverflow:o}={}){if(!i||i<0)return e;const u=Math.max(1+s,1+i-t.length);if(e.length<=u)return e;const l=[],v={};let c=i-t.length;typeof r=="number"&&(r>i-Math.max(2,s)?l.push(0):c=i-r);let _,S,Q=!1,Z=-1,M=-1,he=-1;n===Bc&&(Z=Xh(e,Z),Z!==-1&&(c=Z+u));for(let we;we=e[Z+=1];){if(n===Eu&&we==="\\"){switch(M=Z,e[Z+1]){case"x":Z+=3;break;case"u":Z+=5;break;case"U":Z+=9;break;default:Z+=1}he=Z}if(we===`
21
+ `)n===Bc&&(Z=Xh(e,Z)),c=Z+u,_=void 0;else{if(we===" "&&S&&S!==" "&&S!==`
22
+ `&&S!==" "){const Le=e[Z+1];Le&&Le!==" "&&Le!==`
23
+ `&&Le!==" "&&(_=Z)}if(Z>=c)if(_)l.push(_),c=_+u,_=void 0;else if(n===Eu){for(;S===" "||S===" ";)S=we,we=e[Z+=1],Q=!0;const Le=Z>he+1?Z-2:M-1;if(v[Le])return e;l.push(Le),v[Le]=!0,c=Le+u,_=void 0}else Q=!0}S=we}if(Q&&o&&o(),l.length===0)return e;a&&a();let ve=e.slice(0,l[0]);for(let we=0;we<l.length;++we){const Le=l[we],ae=l[we+1]||e.length;Le===0?ve=`
24
+ ${t}${e.slice(0,ae)}`:(n===Eu&&v[Le]&&(ve+=`${e[Le]}\\`),ve+=`
25
+ ${t}${e.slice(Le+1,ae)}`)}return ve}function Xh(e,t){let n=e[t+1];for(;n===" "||n===" ";){do n=e[t+=1];while(n&&n!==`
26
+ `);n=e[t+1]}return t}const Cu=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),xu=e=>/^(%|---|\.\.\.)/m.test(e);function Jy(e,t,n){if(!t||t<0)return!1;const r=t-n,i=e.length;if(i<=r)return!1;for(let s=0,a=0;s<i;++s)if(e[s]===`
27
+ `){if(s-a>r)return!0;if(a=s+1,i-a<=r)return!1}return!0}function _o(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,s=t.indent||(xu(e)?" ":"");let a="",o=0;for(let u=0,l=n[u];l;l=n[++u])if(l===" "&&n[u+1]==="\\"&&n[u+2]==="n"&&(a+=n.slice(o,u)+"\\ ",u+=1,o=u,l="\\"),l==="\\")switch(n[u+1]){case"u":{a+=n.slice(o,u);const v=n.substr(u+2,4);switch(v){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:v.substr(0,2)==="00"?a+="\\x"+v.substr(2):a+=n.substr(u,6)}u+=5,o=u+1}break;case"n":if(r||n[u+2]==='"'||n.length<i)u+=1;else{for(a+=n.slice(o,u)+`
28
+
29
+ `;n[u+2]==="\\"&&n[u+3]==="n"&&n[u+4]!=='"';)a+=`
30
+ `,u+=2;a+=s,n[u+2]===" "&&(a+="\\"),u+=1,o=u+1}break;default:u+=1}return a=o?a+n.slice(o):n,r?a:Au(a,s,Eu,Cu(t,!1))}function Mc(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
31
+ `)||/[ \t]\n|\n[ \t]/.test(e))return _o(e,t);const n=t.indent||(xu(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
32
+ ${n}`)+"'";return t.implicitKey?r:Au(r,n,Qh,Cu(t,!1))}function Na(e,t){const{singleQuote:n}=t.options;let r;if(n===!1)r=_o;else{const i=e.includes('"'),s=e.includes("'");i&&!s?r=Mc:s&&!i?r=_o:r=n?Mc:_o}return r(e,t)}let Ic;try{Ic=new RegExp(`(^|(?<!
33
+ ))
34
+ +(?!
35
+ |$)`,"g")}catch{Ic=/\n+(?!\n|$)/g}function Su({comment:e,type:t,value:n},r,i,s){const{blockQuote:a,commentString:o,lineWidth:u}=r.options;if(!a||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return Na(n,r);const l=r.indent||(r.forceBlockIndent||xu(n)?" ":""),v=a==="literal"?!0:a==="folded"||t===Zn.BLOCK_FOLDED?!1:t===Zn.BLOCK_LITERAL?!0:!Jy(n,u,l.length);if(!n)return v?`|
36
+ `:`>
37
+ `;let c,_;for(_=n.length;_>0;--_){const Ee=n[_-1];if(Ee!==`
38
+ `&&Ee!==" "&&Ee!==" ")break}let S=n.substring(_);const Q=S.indexOf(`
39
+ `);Q===-1?c="-":n===S||Q!==S.length-1?(c="+",s&&s()):c="",S&&(n=n.slice(0,-S.length),S[S.length-1]===`
40
+ `&&(S=S.slice(0,-1)),S=S.replace(Ic,`$&${l}`));let Z=!1,M,he=-1;for(M=0;M<n.length;++M){const Ee=n[M];if(Ee===" ")Z=!0;else if(Ee===`
41
+ `)he=M;else break}let ve=n.substring(0,he<M?he+1:M);ve&&(n=n.substring(ve.length),ve=ve.replace(/\n+/g,`$&${l}`));let Le=(v?"|":">")+(Z?l?"2":"1":"")+c;if(e&&(Le+=" "+o(e.replace(/ ?[\r\n]+/g," ")),i&&i()),v)return n=n.replace(/\n+/g,`$&${l}`),`${Le}
42
+ ${l}${ve}${n}${S}`;n=n.replace(/\n+/g,`
43
+ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`);const ae=Au(`${ve}${n}${S}`,l,Bc,Cu(r,!0));return`${Le}
44
+ ${l}${ae}`}function Yy(e,t,n,r){const{type:i,value:s}=e,{actualString:a,implicitKey:o,indent:u,indentStep:l,inFlow:v}=t;if(o&&s.includes(`
45
+ `)||v&&/[[\]{},]/.test(s))return Na(s,t);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return o||v||!s.includes(`
46
+ `)?Na(s,t):Su(e,t,n,r);if(!o&&!v&&i!==Zn.PLAIN&&s.includes(`
47
+ `))return Su(e,t,n,r);if(xu(s)){if(u==="")return t.forceBlockIndent=!0,Su(e,t,n,r);if(o&&u===l)return Na(s,t)}const c=s.replace(/\n+/g,`$&
48
+ ${u}`);if(a){const _=Z=>{var M;return Z.default&&Z.tag!=="tag:yaml.org,2002:str"&&((M=Z.test)==null?void 0:M.test(c))},{compat:S,tags:Q}=t.doc.schema;if(Q.some(_)||S!=null&&S.some(_))return Na(s,t)}return o?c:Au(c,u,Qh,Cu(t,!1))}function Oc(e,t,n,r){const{implicitKey:i,inFlow:s}=t,a=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:o}=e;o!==Zn.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(a.value)&&(o=Zn.QUOTE_DOUBLE);const u=v=>{switch(v){case Zn.BLOCK_FOLDED:case Zn.BLOCK_LITERAL:return i||s?Na(a.value,t):Su(a,t,n,r);case Zn.QUOTE_DOUBLE:return _o(a.value,t);case Zn.QUOTE_SINGLE:return Mc(a.value,t);case Zn.PLAIN:return Yy(a,t,n,r);default:return null}};let l=u(o);if(l===null){const{defaultKeyType:v,defaultStringType:c}=t.options,_=i&&v||c;if(l=u(_),l===null)throw new Error(`Unsupported default string type ${_}`)}return l}function Kh(e,t){const n=Object.assign({blockQuote:!0,commentString:Gy,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):" ",inFlow:r,options:n}}function Hy(e,t){var i;if(t.tag){const s=e.filter(a=>a.tag===t.tag);if(s.length>0)return s.find(a=>a.format===t.format)??s[0]}let n,r;if(Jn(t)){r=t.value;const s=e.filter(a=>{var o;return(o=a.identify)==null?void 0:o.call(a,r)});n=s.find(a=>a.format===t.format)??s.find(a=>!a.format)}else r=t,n=e.find(s=>s.nodeClass&&r instanceof s.nodeClass);if(!n){const s=((i=r==null?void 0:r.constructor)==null?void 0:i.name)??typeof r;throw new Error(`Tag not resolved for ${s} value`)}return n}function zy(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const i=[],s=(Jn(e)||Br(e))&&e.anchor;s&&Jh(s)&&(n.add(s),i.push(`&${s}`));const a=e.tag?e.tag:t.default?null:t.tag;return a&&i.push(r.directives.tagString(a)),i.join(" ")}function _a(e,t,n,r){var u;if(mr(e))return e.toString(t,n,r);if(rs(e)){if(t.doc.directives)return e.toString(t);if((u=t.resolvedAliases)!=null&&u.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let i;const s=br(e)?e:t.doc.createNode(e,{onTagObj:l=>i=l});i||(i=Hy(t.doc.schema.tags,s));const a=zy(s,i,t);a.length>0&&(t.indentAtStart=(t.indentAtStart??0)+a.length+1);const o=typeof i.stringify=="function"?i.stringify(s,t,n,r):Jn(s)?Oc(s,t,n,r):s.toString(t,n,r);return a?Jn(s)||o[0]==="{"||o[0]==="["?`${a} ${o}`:`${a}
49
+ ${t.indent}${o}`:o}function Qy({key:e,value:t},n,r,i){const{allNullValues:s,doc:a,indent:o,indentStep:u,options:{commentString:l,indentSeq:v,simpleKeys:c}}=n;let _=br(e)&&e.comment||null;if(c){if(_)throw new Error("With simple keys, key nodes cannot have comments");if(Br(e)){const He="With simple keys, collection cannot be used as a key value";throw new Error(He)}}let S=!c&&(!e||_&&t==null&&!n.inFlow||Br(e)||(Jn(e)?e.type===Zn.BLOCK_FOLDED||e.type===Zn.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!S&&(c||!s),indent:o+u});let Q=!1,Z=!1,M=_a(e,n,()=>Q=!0,()=>Z=!0);if(!S&&!n.inFlow&&M.length>1024){if(c)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");S=!0}if(n.inFlow){if(s||t==null)return Q&&r&&r(),M===""?"?":S?`? ${M}`:M}else if(s&&!c||t==null&&S)return M=`? ${M}`,_&&!Q?M+=Bs(M,n.indent,l(_)):Z&&i&&i(),M;Q&&(_=null),S?(_&&(M+=Bs(M,n.indent,l(_))),M=`? ${M}
50
+ ${o}:`):(M=`${M}:`,_&&(M+=Bs(M,n.indent,l(_))));let he,ve,we;br(t)?(he=!!t.spaceBefore,ve=t.commentBefore,we=t.comment):(he=!1,ve=null,we=null,t&&typeof t=="object"&&(t=a.createNode(t))),n.implicitKey=!1,!S&&!_&&Jn(t)&&(n.indentAtStart=M.length+1),Z=!1,!v&&u.length>=2&&!n.inFlow&&!S&&Or(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let Le=!1;const ae=_a(t,n,()=>Le=!0,()=>Z=!0);let Ee=" ";if(_||he||ve){if(Ee=he?`
51
+ `:"",ve){const He=l(ve);Ee+=`
52
+ ${ps(He,n.indent)}`}ae===""&&!n.inFlow?Ee===`
53
+ `&&(Ee=`
54
+
55
+ `):Ee+=`
56
+ ${n.indent}`}else if(!S&&Br(t)){const He=ae[0],Et=ae.indexOf(`
57
+ `),$e=Et!==-1,ze=n.inFlow??t.flow??t.items.length===0;if($e||!ze){let _t=!1;if($e&&(He==="&"||He==="!")){let qe=ae.indexOf(" ");He==="&"&&qe!==-1&&qe<Et&&ae[qe+1]==="!"&&(qe=ae.indexOf(" ",qe+1)),(qe===-1||Et<qe)&&(_t=!0)}_t||(Ee=`
58
+ ${n.indent}`)}}else(ae===""||ae[0]===`
59
+ `)&&(Ee="");return M+=Ee+ae,n.inFlow?Le&&r&&r():we&&!Le?M+=Bs(M,n.indent,l(we)):Z&&i&&i(),M}function Zh(e,t){(e==="debug"||e==="warn")&&(typeof process<"u"&&process.emitWarning?process.emitWarning(t):console.warn(t))}const em="<<";function tm(e,t,{key:n,value:r}){if(e!=null&&e.doc.schema.merge&&Xy(n))if(r=rs(r)?r.resolve(e.doc):r,Or(r))for(const i of r.items)jc(e,t,i);else if(Array.isArray(r))for(const i of r)jc(e,t,i);else jc(e,t,r);else{const i=ki(n,"",e);if(t instanceof Map)t.set(i,ki(r,i,e));else if(t instanceof Set)t.add(i);else{const s=Ky(n,i,e),a=ki(r,s,e);s in t?Object.defineProperty(t,s,{value:a,writable:!0,enumerable:!0,configurable:!0}):t[s]=a}}return t}const Xy=e=>e===em||Jn(e)&&e.value===em&&(!e.type||e.type===Zn.PLAIN);function jc(e,t,n){const r=e&&rs(n)?n.resolve(e.doc):n;if(!Ir(r))throw new Error("Merge sources must be maps or map aliases");const i=r.toJSON(null,e,Map);for(const[s,a]of i)t instanceof Map?t.has(s)||t.set(s,a):t instanceof Set?t.add(s):Object.prototype.hasOwnProperty.call(t,s)||Object.defineProperty(t,s,{value:a,writable:!0,enumerable:!0,configurable:!0});return t}function Ky(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(br(e)&&(n!=null&&n.doc)){const r=Kh(n.doc,{});r.anchors=new Set;for(const s of n.anchors.keys())r.anchors.add(s.anchor);r.inFlow=!0,r.inStringifyKey=!0;const i=e.toString(r);if(!n.mapKeyWarned){let s=JSON.stringify(i);s.length>40&&(s=s.substring(0,36)+'..."'),Zh(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${s}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return i}return JSON.stringify(t)}function Rc(e,t,n){const r=Fo(e,void 0,n),i=Fo(t,void 0,n);return new ci(r,i)}class ci{constructor(t,n=null){Object.defineProperty(this,Li,{value:Gh}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return br(n)&&(n=n.clone(t)),br(r)&&(r=r.clone(t)),new ci(n,r)}toJSON(t,n){const r=n!=null&&n.mapAsMap?new Map:{};return tm(n,r,this)}toString(t,n,r){return t!=null&&t.doc?Qy(this,t,n,r):JSON.stringify(this)}}function nm(e,t,n){return(t.inFlow??e.flow?eD:Zy)(e,t,n)}function Zy({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:s,onChompKeep:a,onComment:o}){const{indent:u,options:{commentString:l}}=n,v=Object.assign({},n,{indent:s,type:null});let c=!1;const _=[];for(let Q=0;Q<t.length;++Q){const Z=t[Q];let M=null;if(br(Z))!c&&Z.spaceBefore&&_.push(""),wu(n,_,Z.commentBefore,c),Z.comment&&(M=Z.comment);else if(mr(Z)){const ve=br(Z.key)?Z.key:null;ve&&(!c&&ve.spaceBefore&&_.push(""),wu(n,_,ve.commentBefore,c))}c=!1;let he=_a(Z,v,()=>M=null,()=>c=!0);M&&(he+=Bs(he,s,l(M))),c&&M&&(c=!1),_.push(r+he)}let S;if(_.length===0)S=i.start+i.end;else{S=_[0];for(let Q=1;Q<_.length;++Q){const Z=_[Q];S+=Z?`
60
+ ${u}${Z}`:`
61
+ `}}return e?(S+=`
62
+ `+ps(l(e),u),o&&o()):c&&a&&a(),S}function eD({comment:e,items:t},n,{flowChars:r,itemIndent:i,onComment:s}){const{indent:a,indentStep:o,flowCollectionPadding:u,options:{commentString:l}}=n;i+=o;const v=Object.assign({},n,{indent:i,inFlow:!0,type:null});let c=!1,_=0;const S=[];for(let he=0;he<t.length;++he){const ve=t[he];let we=null;if(br(ve))ve.spaceBefore&&S.push(""),wu(n,S,ve.commentBefore,!1),ve.comment&&(we=ve.comment);else if(mr(ve)){const ae=br(ve.key)?ve.key:null;ae&&(ae.spaceBefore&&S.push(""),wu(n,S,ae.commentBefore,!1),ae.comment&&(c=!0));const Ee=br(ve.value)?ve.value:null;Ee?(Ee.comment&&(we=Ee.comment),Ee.commentBefore&&(c=!0)):ve.value==null&&(ae!=null&&ae.comment)&&(we=ae.comment)}we&&(c=!0);let Le=_a(ve,v,()=>we=null);he<t.length-1&&(Le+=","),we&&(Le+=Bs(Le,i,l(we))),!c&&(S.length>_||Le.includes(`
63
+ `))&&(c=!0),S.push(Le),_=S.length}let Q;const{start:Z,end:M}=r;if(S.length===0)Q=Z+M;else if(c||(c=S.reduce((ve,we)=>ve+we.length+2,2)>vu.maxFlowStringSingleLineLength),c){Q=Z;for(const he of S)Q+=he?`
64
+ ${o}${a}${he}`:`
65
+ `;Q+=`
66
+ ${a}${M}`}else Q=`${Z}${u}${S.join(" ")}${u}${M}`;return e&&(Q+=Bs(Q,a,l(e)),s&&s()),Q}function wu({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,"")),r){const s=ps(t(r),e);n.push(s.trimStart())}}function Ws(e,t){const n=Jn(t)?t.value:t;for(const r of e)if(mr(r)&&(r.key===t||r.key===n||Jn(r.key)&&r.key.value===n))return r}class Pi extends vu{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(Ps,t),this.items=[]}static from(t,n,r){const{keepUndefined:i,replacer:s}=r,a=new this(t),o=(u,l)=>{if(typeof s=="function")l=s.call(n,u,l);else if(Array.isArray(s)&&!s.includes(u))return;(l!==void 0||i)&&a.items.push(Rc(u,l,r))};if(n instanceof Map)for(const[u,l]of n)o(u,l);else if(n&&typeof n=="object")for(const u of Object.keys(n))o(u,n[u]);return typeof t.sortMapEntries=="function"&&a.items.sort(t.sortMapEntries),a}add(t,n){var a;let r;mr(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new ci(t,t==null?void 0:t.value):r=new ci(t.key,t.value);const i=Ws(this.items,r.key),s=(a=this.schema)==null?void 0:a.sortMapEntries;if(i){if(!n)throw new Error(`Key ${r.key} already set`);Jn(i.value)&&zh(r.value)?i.value.value=r.value:i.value=r.value}else if(s){const o=this.items.findIndex(u=>s(r,u)<0);o===-1?this.items.push(r):this.items.splice(o,0,r)}else this.items.push(r)}delete(t){const n=Ws(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const r=Ws(this.items,t),i=r==null?void 0:r.value;return(!n&&Jn(i)?i.value:i)??void 0}has(t){return!!Ws(this.items,t)}set(t,n){this.add(new ci(t,n),!0)}toJSON(t,n,r){const i=r?new r:n!=null&&n.mapAsMap?new Map:{};n!=null&&n.onCreate&&n.onCreate(i);for(const s of this.items)tm(n,i,s);return i}toString(t,n,r){if(!t)return JSON.stringify(this);for(const i of this.items)if(!mr(i))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),nm(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}}const Ta={collection:"map",default:!0,nodeClass:Pi,tag:"tag:yaml.org,2002:map",resolve(e,t){return Ir(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>Pi.from(e,t,n)};class Gs extends vu{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(Sa,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=Fu(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const r=Fu(t);if(typeof r!="number")return;const i=this.items[r];return!n&&Jn(i)?i.value:i}has(t){const n=Fu(t);return typeof n=="number"&&n<this.items.length}set(t,n){const r=Fu(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);const i=this.items[r];Jn(i)&&zh(n)?i.value=n:this.items[r]=n}toJSON(t,n){const r=[];n!=null&&n.onCreate&&n.onCreate(r);let i=0;for(const s of this.items)r.push(ki(s,String(i++),n));return r}toString(t,n,r){return t?nm(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+" ",onChompKeep:r,onComment:n}):JSON.stringify(this)}static from(t,n,r){const{replacer:i}=r,s=new this(t);if(n&&Symbol.iterator in Object(n)){let a=0;for(let o of n){if(typeof i=="function"){const u=n instanceof Set?o:String(a++);o=i.call(n,u,o)}s.items.push(Fo(o,void 0,r))}}return s}}function Fu(e){let t=Jn(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}const La={collection:"seq",default:!0,nodeClass:Gs,tag:"tag:yaml.org,2002:seq",resolve(e,t){return Or(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>Gs.from(e,t,n)},Nu={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),Oc(e,t,n,r)}},_u={identify:e=>e==null,createNode:()=>new Zn(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Zn(null),stringify:({source:e},t)=>typeof e=="string"&&_u.test.test(e)?e:t.options.nullStr},$c={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new Zn(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&$c.test.test(e)){const r=e[0]==="t"||e[0]==="T";if(t===r)return e}return t?n.options.trueStr:n.options.falseStr}};function Ui({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r=="bigint")return String(r);const i=typeof r=="number"?r:Number(r);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let s=JSON.stringify(r);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let a=s.indexOf(".");a<0&&(a=s.length,s+=".");let o=t-(s.length-a-1);for(;o-- >0;)s+="0"}return s}const rm={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Ui},im={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Ui(e)}},sm={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new Zn(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:Ui},Tu=e=>typeof e=="bigint"||Number.isInteger(e),Vc=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function am(e,t,n){const{value:r}=e;return Tu(r)&&r>=0?n+r.toString(t):Ui(e)}const om={identify:e=>Tu(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Vc(e,2,8,n),stringify:e=>am(e,8,"0o")},um={identify:Tu,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Vc(e,0,10,n),stringify:Ui},lm={identify:e=>Tu(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Vc(e,2,16,n),stringify:e=>am(e,16,"0x")},tD=[Ta,La,Nu,_u,$c,om,um,lm,rm,im,sm];function cm(e){return typeof e=="bigint"||Number.isInteger(e)}const Lu=({value:e})=>JSON.stringify(e),nD=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:Lu},{identify:e=>e==null,createNode:()=>new Zn(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Lu},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:Lu},{identify:cm,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>cm(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:Lu}],rD={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},iD=[Ta,La].concat(nD,rD),qc={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof Buffer=="function")return Buffer.from(e,"base64");if(typeof atob=="function"){const n=atob(e.replace(/[\n\r]/g,"")),r=new Uint8Array(n.length);for(let i=0;i<n.length;++i)r[i]=n.charCodeAt(i);return r}else return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},r,i,s){const a=n;let o;if(typeof Buffer=="function")o=a instanceof Buffer?a.toString("base64"):Buffer.from(a.buffer).toString("base64");else if(typeof btoa=="function"){let u="";for(let l=0;l<a.length;++l)u+=String.fromCharCode(a[l]);o=btoa(u)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t||(t=Zn.BLOCK_LITERAL),t!==Zn.QUOTE_DOUBLE){const u=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),l=Math.ceil(o.length/u),v=new Array(l);for(let c=0,_=0;c<l;++c,_+=u)v[c]=o.substr(_,u);o=v.join(t===Zn.BLOCK_LITERAL?`
67
+ `:" ")}return Oc({comment:e,type:t,value:o},r,i,s)}};function fm(e,t){if(Or(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!mr(r)){if(Ir(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const i=r.items[0]||new ci(new Zn(null));if(r.commentBefore&&(i.key.commentBefore=i.key.commentBefore?`${r.commentBefore}
68
+ ${i.key.commentBefore}`:r.commentBefore),r.comment){const s=i.value??i.key;s.comment=s.comment?`${r.comment}
69
+ ${s.comment}`:r.comment}r=i}e.items[n]=mr(r)?r:new ci(r)}}else t("Expected a sequence for this tag");return e}function pm(e,t,n){const{replacer:r}=n,i=new Gs(e);i.tag="tag:yaml.org,2002:pairs";let s=0;if(t&&Symbol.iterator in Object(t))for(let a of t){typeof r=="function"&&(a=r.call(t,String(s++),a));let o,u;if(Array.isArray(a))if(a.length===2)o=a[0],u=a[1];else throw new TypeError(`Expected [key, value] tuple: ${a}`);else if(a&&a instanceof Object){const l=Object.keys(a);if(l.length===1)o=l[0],u=a[o];else throw new TypeError(`Expected tuple with one key, not ${l.length} keys`)}else o=a;i.items.push(Rc(o,u,n))}return i}const Uc={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:fm,createNode:pm};class ka extends Gs{constructor(){super(),this.add=Pi.prototype.add.bind(this),this.delete=Pi.prototype.delete.bind(this),this.get=Pi.prototype.get.bind(this),this.has=Pi.prototype.has.bind(this),this.set=Pi.prototype.set.bind(this),this.tag=ka.tag}toJSON(t,n){if(!n)return super.toJSON(t);const r=new Map;n!=null&&n.onCreate&&n.onCreate(r);for(const i of this.items){let s,a;if(mr(i)?(s=ki(i.key,"",n),a=ki(i.value,s,n)):s=ki(i,"",n),r.has(s))throw new Error("Ordered maps must not include duplicate keys");r.set(s,a)}return r}static from(t,n,r){const i=pm(t,n,r),s=new this;return s.items=i.items,s}}ka.tag="tag:yaml.org,2002:omap";const Wc={collection:"seq",identify:e=>e instanceof Map,nodeClass:ka,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=fm(e,t),r=[];for(const{key:i}of n.items)Jn(i)&&(r.includes(i.value)?t(`Ordered maps must not include duplicate keys: ${i.value}`):r.push(i.value));return Object.assign(new ka,n)},createNode:(e,t,n)=>ka.from(e,t,n)};function dm({value:e,source:t},n){return t&&(e?hm:mm).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const hm={identify:e=>e===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Zn(!0),stringify:dm},mm={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new Zn(!1),stringify:dm},sD={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Ui},aD={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Ui(e)}},oD={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new Zn(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(n!==-1){const r=e.substring(n+1).replace(/_/g,"");r[r.length-1]==="0"&&(t.minFractionDigits=r.length)}return t},stringify:Ui},To=e=>typeof e=="bigint"||Number.isInteger(e);function ku(e,t,n,{intAsBigInt:r}){const i=e[0];if((i==="-"||i==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}const a=BigInt(e);return i==="-"?BigInt(-1)*a:a}const s=parseInt(e,n);return i==="-"?-1*s:s}function Gc(e,t,n){const{value:r}=e;if(To(r)){const i=r.toString(t);return r<0?"-"+n+i.substr(1):n+i}return Ui(e)}const uD={identify:To,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>ku(e,2,2,n),stringify:e=>Gc(e,2,"0b")},lD={identify:To,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>ku(e,1,8,n),stringify:e=>Gc(e,8,"0")},cD={identify:To,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>ku(e,0,10,n),stringify:Ui},fD={identify:To,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>ku(e,2,16,n),stringify:e=>Gc(e,16,"0x")};class Pa extends Pi{constructor(t){super(t),this.tag=Pa.tag}add(t){let n;mr(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new ci(t.key,null):n=new ci(t,null),Ws(this.items,n.key)||this.items.push(n)}get(t,n){const r=Ws(this.items,t);return!n&&mr(r)?Jn(r.key)?r.key.value:r.key:r}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const r=Ws(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new ci(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,r);throw new Error("Set items must all have null values")}static from(t,n,r){const{replacer:i}=r,s=new this(t);if(n&&Symbol.iterator in Object(n))for(let a of n)typeof i=="function"&&(a=i.call(n,a,a)),s.items.push(Rc(a,null,r));return s}}Pa.tag="tag:yaml.org,2002:set";const Jc={collection:"map",identify:e=>e instanceof Set,nodeClass:Pa,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>Pa.from(e,t,n),resolve(e,t){if(Ir(e)){if(e.hasAllNullValues(!0))return Object.assign(new Pa,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function Yc(e,t){const n=e[0],r=n==="-"||n==="+"?e.substring(1):e,i=a=>t?BigInt(a):Number(a),s=r.replace(/_/g,"").split(":").reduce((a,o)=>a*i(60)+i(o),i(0));return n==="-"?i(-1)*s:s}function gm(e){let{value:t}=e,n=a=>a;if(typeof t=="bigint")n=a=>BigInt(a);else if(isNaN(t)||!isFinite(t))return Ui(e);let r="";t<0&&(r="-",t*=n(-1));const i=n(60),s=[t%i];return t<60?s.unshift(0):(t=(t-s[0])/i,s.unshift(t%i),t>=60&&(t=(t-s[0])/i,s.unshift(t))),r+s.map(a=>String(a).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const ym={identify:e=>typeof e=="bigint"||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>Yc(e,n),stringify:gm},Dm={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>Yc(e,!1),stringify:gm},Pu={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(Pu.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,i,s,a,o]=t.map(Number),u=t[7]?Number((t[7]+"00").substr(1,3)):0;let l=Date.UTC(n,r-1,i,s||0,a||0,o||0,u);const v=t[8];if(v&&v!=="Z"){let c=Yc(v,!1);Math.abs(c)<30&&(c*=60),l-=6e4*c}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},bm=[Ta,La,Nu,_u,hm,mm,uD,lD,cD,fD,sD,aD,oD,qc,Wc,Uc,Jc,ym,Dm,Pu],vm=new Map([["core",tD],["failsafe",[Ta,La,Nu]],["json",iD],["yaml11",bm],["yaml-1.1",bm]]),Em={binary:qc,bool:$c,float:sm,floatExp:im,floatNaN:rm,floatTime:Dm,int:um,intHex:lm,intOct:om,intTime:ym,map:Ta,null:_u,omap:Wc,pairs:Uc,seq:La,set:Jc,timestamp:Pu},pD={"tag:yaml.org,2002:binary":qc,"tag:yaml.org,2002:omap":Wc,"tag:yaml.org,2002:pairs":Uc,"tag:yaml.org,2002:set":Jc,"tag:yaml.org,2002:timestamp":Pu};function Hc(e,t){let n=vm.get(t);if(!n)if(Array.isArray(e))n=[];else{const r=Array.from(vm.keys()).filter(i=>i!=="yaml11").map(i=>JSON.stringify(i)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${r} or define customTags array`)}if(Array.isArray(e))for(const r of e)n=n.concat(r);else typeof e=="function"&&(n=e(n.slice()));return n.map(r=>{if(typeof r!="string")return r;const i=Em[r];if(i)return i;const s=Object.keys(Em).map(a=>JSON.stringify(a)).join(", ");throw new Error(`Unknown custom tag "${r}"; use one of ${s}`)})}const dD=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class zc{constructor({compat:t,customTags:n,merge:r,resolveKnownTags:i,schema:s,sortMapEntries:a,toStringDefaults:o}){this.compat=Array.isArray(t)?Hc(t,"compat"):t?Hc(null,t):null,this.merge=!!r,this.name=typeof s=="string"&&s||"core",this.knownTags=i?pD:{},this.tags=Hc(n,this.name),this.toStringOptions=o??null,Object.defineProperty(this,Ps,{value:Ta}),Object.defineProperty(this,fs,{value:Nu}),Object.defineProperty(this,Sa,{value:La}),this.sortMapEntries=typeof a=="function"?a:a===!0?dD:null}clone(){const t=Object.create(zc.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}function hD(e,t){var u;const n=[];let r=t.directives===!0;if(t.directives!==!1&&e.directives){const l=e.directives.toString(e);l?(n.push(l),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const i=Kh(e,t),{commentString:s}=i.options;if(e.commentBefore){n.length!==1&&n.unshift("");const l=s(e.commentBefore);n.unshift(ps(l,""))}let a=!1,o=null;if(e.contents){if(br(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const c=s(e.contents.commentBefore);n.push(ps(c,""))}i.forceBlockIndent=!!e.comment,o=e.contents.comment}const l=o?void 0:()=>a=!0;let v=_a(e.contents,i,()=>o=null,l);o&&(v+=Bs(v,"",s(o))),(v[0]==="|"||v[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${v}`:n.push(v)}else n.push(_a(e.contents,i));if((u=e.directives)!=null&&u.docEnd)if(e.comment){const l=s(e.comment);l.includes(`
70
+ `)?(n.push("..."),n.push(ps(l,""))):n.push(`... ${l}`)}else n.push("...");else{let l=e.comment;l&&a&&(l=l.replace(/^\n+/,"")),l&&((!a||o)&&n[n.length-1]!==""&&n.push(""),n.push(ps(s(l),"")))}return n.join(`
71
+ `)+`
72
+ `}class Bu{constructor(t,n,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Li,{value:Lc});let i=null;typeof n=="function"||Array.isArray(n)?i=n:r===void 0&&n&&(r=n,n=void 0);const s=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},r);this.options=s;let{version:a}=s;r!=null&&r._directives?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(a=this.directives.yaml.version)):this.directives=new li({version:a}),this.setSchema(a,r),this.contents=t===void 0?null:this.createNode(t,i,r)}clone(){const t=Object.create(Bu.prototype,{[Li]:{value:Lc}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=br(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){Ba(this.contents)&&this.contents.add(t)}addIn(t,n){Ba(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const r=Yh(this);t.anchor=!n||r.has(n)?Hh(n||"a",r):n}return new Pc(t.anchor)}createNode(t,n,r){let i;if(typeof n=="function")t=n.call({"":t},"",t),i=n;else if(Array.isArray(n)){const M=ve=>typeof ve=="number"||ve instanceof String||ve instanceof Number,he=n.filter(M).map(String);he.length>0&&(n=n.concat(he)),i=n}else r===void 0&&n&&(r=n,n=void 0);const{aliasDuplicateObjects:s,anchorPrefix:a,flow:o,keepUndefined:u,onTagObj:l,tag:v}=r??{},{onAnchor:c,setAnchors:_,sourceObjects:S}=qy(this,a||"a"),Q={aliasDuplicateObjects:s??!0,keepUndefined:u??!1,onAnchor:c,onTagObj:l,replacer:i,schema:this.schema,sourceObjects:S},Z=Fo(t,v,Q);return o&&Br(Z)&&(Z.flow=!0),_(),Z}createPair(t,n,r={}){const i=this.createNode(t,null,r),s=this.createNode(n,null,r);return new ci(i,s)}delete(t){return Ba(this.contents)?this.contents.delete(t):!1}deleteIn(t){return No(t)?this.contents==null?!1:(this.contents=null,!0):Ba(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return Br(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return No(t)?!n&&Jn(this.contents)?this.contents.value:this.contents:Br(this.contents)?this.contents.getIn(t,n):void 0}has(t){return Br(this.contents)?this.contents.has(t):!1}hasIn(t){return No(t)?this.contents!==void 0:Br(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=bu(this.schema,[t],n):Ba(this.contents)&&this.contents.set(t,n)}setIn(t,n){No(t)?this.contents=n:this.contents==null?this.contents=bu(this.schema,Array.from(t),n):Ba(this.contents)&&this.contents.setIn(t,n)}setSchema(t,n={}){typeof t=="number"&&(t=String(t));let r;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new li({version:"1.1"}),r={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new li({version:t}),r={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,r=null;break;default:{const i=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${i}`)}}if(n.schema instanceof Object)this.schema=n.schema;else if(r)this.schema=new zc(Object.assign(r,n));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:t,jsonArg:n,mapAsMap:r,maxAliasCount:i,onAnchor:s,reviver:a}={}){const o={anchors:new Map,doc:this,keep:!t,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},u=ki(this.contents,n??"",o);if(typeof s=="function")for(const{count:l,res:v}of o.anchors.values())s(v,l);return typeof a=="function"?Fa(a,{"":u},"",u):u}toJSON(t,n){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:n})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const n=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${n}`)}return hD(this,t)}}function Ba(e){if(Br(e))return!0;throw new Error("Expected a YAML collection as document contents")}class Am extends Error{constructor(t,n,r,i){super(),this.name=t,this.code=r,this.message=i,this.pos=n}}class Lo extends Am{constructor(t,n,r){super("YAMLParseError",t,n,r)}}class mD extends Am{constructor(t,n,r){super("YAMLWarning",t,n,r)}}const Cm=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(o=>t.linePos(o));const{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let s=i-1,a=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(s>=60&&a.length>80){const o=Math.min(s-39,a.length-79);a="…"+a.substring(o),s-=o-1}if(a.length>80&&(a=a.substring(0,79)+"…"),r>1&&/^ *$/.test(a.substring(0,s))){let o=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);o.length>80&&(o=o.substring(0,79)+`…
73
+ `),a=o+a}if(/[^ ]/.test(a)){let o=1;const u=n.linePos[1];u&&u.line===r&&u.col>i&&(o=Math.max(1,Math.min(u.col-i,80-s)));const l=" ".repeat(s)+"^".repeat(o);n.message+=`:
74
+
75
+ ${a}
76
+ ${l}
77
+ `}};function Ma(e,{flow:t,indicator:n,next:r,offset:i,onError:s,startOnNewline:a}){let o=!1,u=a,l=a,v="",c="",_=!1,S=!1,Q=!1,Z=null,M=null,he=null,ve=null,we=null;for(const Ee of e)switch(Q&&(Ee.type!=="space"&&Ee.type!=="newline"&&Ee.type!=="comma"&&s(Ee.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),Q=!1),Ee.type){case"space":!t&&u&&n!=="doc-start"&&Ee.source[0]===" "&&s(Ee,"TAB_AS_INDENT","Tabs are not allowed as indentation"),l=!0;break;case"comment":{l||s(Ee,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const He=Ee.source.substring(1)||" ";v?v+=c+He:v=He,c="",u=!1;break}case"newline":u?v?v+=Ee.source:o=!0:c+=Ee.source,u=!0,_=!0,(Z||M)&&(S=!0),l=!0;break;case"anchor":Z&&s(Ee,"MULTIPLE_ANCHORS","A node can have at most one anchor"),Ee.source.endsWith(":")&&s(Ee.offset+Ee.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),Z=Ee,we===null&&(we=Ee.offset),u=!1,l=!1,Q=!0;break;case"tag":{M&&s(Ee,"MULTIPLE_TAGS","A node can have at most one tag"),M=Ee,we===null&&(we=Ee.offset),u=!1,l=!1,Q=!0;break}case n:(Z||M)&&s(Ee,"BAD_PROP_ORDER",`Anchors and tags must be after the ${Ee.source} indicator`),ve&&s(Ee,"UNEXPECTED_TOKEN",`Unexpected ${Ee.source} in ${t??"collection"}`),ve=Ee,u=!1,l=!1;break;case"comma":if(t){he&&s(Ee,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),he=Ee,u=!1,l=!1;break}default:s(Ee,"UNEXPECTED_TOKEN",`Unexpected ${Ee.type} token`),u=!1,l=!1}const Le=e[e.length-1],ae=Le?Le.offset+Le.source.length:i;return Q&&r&&r.type!=="space"&&r.type!=="newline"&&r.type!=="comma"&&(r.type!=="scalar"||r.source!=="")&&s(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:he,found:ve,spaceBefore:o,comment:v,hasNewline:_,hasNewlineAfterProp:S,anchor:Z,tag:M,end:ae,start:we??ae}}function ko(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(`
78
+ `))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if(ko(t.key)||ko(t.value))return!0}return!1;default:return!0}}function Qc(e,t,n){if((t==null?void 0:t.type)==="flow-collection"){const r=t.end[0];r.indent===e&&(r.source==="]"||r.source==="}")&&ko(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function xm(e,t,n){const{uniqueKeys:r}=e.options;if(r===!1)return!1;const i=typeof r=="function"?r:(s,a)=>s===a||Jn(s)&&Jn(a)&&s.value===a.value&&!(s.value==="<<"&&e.schema.merge);return t.some(s=>i(s.key,n))}const Sm="All mapping items must start at the same column";function gD({composeNode:e,composeEmptyNode:t},n,r,i,s){var v;const a=(s==null?void 0:s.nodeClass)??Pi,o=new a(n.schema);n.atRoot&&(n.atRoot=!1);let u=r.offset,l=null;for(const c of r.items){const{start:_,key:S,sep:Q,value:Z}=c,M=Ma(_,{indicator:"explicit-key-ind",next:S??(Q==null?void 0:Q[0]),offset:u,onError:i,startOnNewline:!0}),he=!M.found;if(he){if(S&&(S.type==="block-seq"?i(u,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in S&&S.indent!==r.indent&&i(u,"BAD_INDENT",Sm)),!M.anchor&&!M.tag&&!Q){l=M.end,M.comment&&(o.comment?o.comment+=`
79
+ `+M.comment:o.comment=M.comment);continue}(M.hasNewlineAfterProp||ko(S))&&i(S??_[_.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else((v=M.found)==null?void 0:v.indent)!==r.indent&&i(u,"BAD_INDENT",Sm);const ve=M.end,we=S?e(n,S,M,i):t(n,ve,_,null,M,i);n.schema.compat&&Qc(r.indent,S,i),xm(n,o.items,we)&&i(ve,"DUPLICATE_KEY","Map keys must be unique");const Le=Ma(Q??[],{indicator:"map-value-ind",next:Z,offset:we.range[2],onError:i,startOnNewline:!S||S.type==="block-scalar"});if(u=Le.end,Le.found){he&&((Z==null?void 0:Z.type)==="block-map"&&!Le.hasNewline&&i(u,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&M.start<Le.found.offset-1024&&i(we.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const ae=Z?e(n,Z,Le,i):t(n,u,Q,null,Le,i);n.schema.compat&&Qc(r.indent,Z,i),u=ae.range[2];const Ee=new ci(we,ae);n.options.keepSourceTokens&&(Ee.srcToken=c),o.items.push(Ee)}else{he&&i(we.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),Le.comment&&(we.comment?we.comment+=`
80
+ `+Le.comment:we.comment=Le.comment);const ae=new ci(we);n.options.keepSourceTokens&&(ae.srcToken=c),o.items.push(ae)}}return l&&l<u&&i(l,"IMPOSSIBLE","Map comment with trailing content"),o.range=[r.offset,u,l??u],o}function yD({composeNode:e,composeEmptyNode:t},n,r,i,s){const a=(s==null?void 0:s.nodeClass)??Gs,o=new a(n.schema);n.atRoot&&(n.atRoot=!1);let u=r.offset,l=null;for(const{start:v,value:c}of r.items){const _=Ma(v,{indicator:"seq-item-ind",next:c,offset:u,onError:i,startOnNewline:!0});if(!_.found)if(_.anchor||_.tag||c)c&&c.type==="block-seq"?i(_.end,"BAD_INDENT","All sequence items must start at the same column"):i(u,"MISSING_CHAR","Sequence item without - indicator");else{l=_.end,_.comment&&(o.comment=_.comment);continue}const S=c?e(n,c,_,i):t(n,_.end,v,null,_,i);n.schema.compat&&Qc(r.indent,c,i),u=S.range[2],o.items.push(S)}return o.range=[r.offset,u,l??u],o}function Po(e,t,n,r){let i="";if(e){let s=!1,a="";for(const o of e){const{source:u,type:l}=o;switch(l){case"space":s=!0;break;case"comment":{n&&!s&&r(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const v=u.substring(1)||" ";i?i+=a+v:i=v,a="";break}case"newline":i&&(a+=u),s=!0;break;default:r(o,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=u.length}}return{comment:i,offset:t}}const Xc="Block collections are not allowed within flow collections",Kc=e=>e&&(e.type==="block-map"||e.type==="block-seq");function DD({composeNode:e,composeEmptyNode:t},n,r,i,s){const a=r.start.source==="{",o=a?"flow map":"flow sequence",u=(s==null?void 0:s.nodeClass)??(a?Pi:Gs),l=new u(n.schema);l.flow=!0;const v=n.atRoot;v&&(n.atRoot=!1);let c=r.offset+r.start.source.length;for(let M=0;M<r.items.length;++M){const he=r.items[M],{start:ve,key:we,sep:Le,value:ae}=he,Ee=Ma(ve,{flow:o,indicator:"explicit-key-ind",next:we??(Le==null?void 0:Le[0]),offset:c,onError:i,startOnNewline:!1});if(!Ee.found){if(!Ee.anchor&&!Ee.tag&&!Le&&!ae){M===0&&Ee.comma?i(Ee.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`):M<r.items.length-1&&i(Ee.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${o}`),Ee.comment&&(l.comment?l.comment+=`
81
+ `+Ee.comment:l.comment=Ee.comment),c=Ee.end;continue}!a&&n.options.strict&&ko(we)&&i(we,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(M===0)Ee.comma&&i(Ee.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`);else if(Ee.comma||i(Ee.start,"MISSING_CHAR",`Missing , between ${o} items`),Ee.comment){let He="";e:for(const Et of ve)switch(Et.type){case"comma":case"space":break;case"comment":He=Et.source.substring(1);break e;default:break e}if(He){let Et=l.items[l.items.length-1];mr(Et)&&(Et=Et.value??Et.key),Et.comment?Et.comment+=`
82
+ `+He:Et.comment=He,Ee.comment=Ee.comment.substring(He.length+1)}}if(!a&&!Le&&!Ee.found){const He=ae?e(n,ae,Ee,i):t(n,Ee.end,Le,null,Ee,i);l.items.push(He),c=He.range[2],Kc(ae)&&i(He.range,"BLOCK_IN_FLOW",Xc)}else{const He=Ee.end,Et=we?e(n,we,Ee,i):t(n,He,ve,null,Ee,i);Kc(we)&&i(Et.range,"BLOCK_IN_FLOW",Xc);const $e=Ma(Le??[],{flow:o,indicator:"map-value-ind",next:ae,offset:Et.range[2],onError:i,startOnNewline:!1});if($e.found){if(!a&&!Ee.found&&n.options.strict){if(Le)for(const qe of Le){if(qe===$e.found)break;if(qe.type==="newline"){i(qe,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}Ee.start<$e.found.offset-1024&&i($e.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else ae&&("source"in ae&&ae.source&&ae.source[0]===":"?i(ae,"MISSING_CHAR",`Missing space after : in ${o}`):i($e.start,"MISSING_CHAR",`Missing , or : between ${o} items`));const ze=ae?e(n,ae,$e,i):$e.found?t(n,$e.end,Le,null,$e,i):null;ze?Kc(ae)&&i(ze.range,"BLOCK_IN_FLOW",Xc):$e.comment&&(Et.comment?Et.comment+=`
83
+ `+$e.comment:Et.comment=$e.comment);const _t=new ci(Et,ze);if(n.options.keepSourceTokens&&(_t.srcToken=he),a){const qe=l;xm(n,qe.items,Et)&&i(He,"DUPLICATE_KEY","Map keys must be unique"),qe.items.push(_t)}else{const qe=new Pi(n.schema);qe.flow=!0,qe.items.push(_t),l.items.push(qe)}c=ze?ze.range[2]:$e.end}}const _=a?"}":"]",[S,...Q]=r.end;let Z=c;if(S&&S.source===_)Z=S.offset+S.source.length;else{const M=o[0].toUpperCase()+o.substring(1),he=v?`${M} must end with a ${_}`:`${M} in block collection must be sufficiently indented and end with a ${_}`;i(c,v?"MISSING_CHAR":"BAD_INDENT",he),S&&S.source.length!==1&&Q.unshift(S)}if(Q.length>0){const M=Po(Q,Z,n.options.strict,i);M.comment&&(l.comment?l.comment+=`
84
+ `+M.comment:l.comment=M.comment),l.range=[r.offset,Z,M.offset]}else l.range=[r.offset,Z,Z];return l}function Zc(e,t,n,r,i,s){const a=n.type==="block-map"?gD(e,t,n,r,s):n.type==="block-seq"?yD(e,t,n,r,s):DD(e,t,n,r,s),o=a.constructor;return i==="!"||i===o.tagName?(a.tag=o.tagName,a):(i&&(a.tag=i),a)}function bD(e,t,n,r,i){var c;const s=r?t.directives.tagName(r.source,_=>i(r,"TAG_RESOLVE_FAILED",_)):null,a=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!r||!s||s==="!"||s===Pi.tagName&&a==="map"||s===Gs.tagName&&a==="seq"||!a)return Zc(e,t,n,i,s);let o=t.schema.tags.find(_=>_.tag===s&&_.collection===a);if(!o){const _=t.schema.knownTags[s];if(_&&_.collection===a)t.schema.tags.push(Object.assign({},_,{default:!1})),o=_;else return _!=null&&_.collection?i(r,"BAD_COLLECTION_TYPE",`${_.tag} used for ${a} collection, but expects ${_.collection}`,!0):i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,!0),Zc(e,t,n,i,s)}const u=Zc(e,t,n,i,s,o),l=((c=o.resolve)==null?void 0:c.call(o,u,_=>i(r,"TAG_RESOLVE_FAILED",_),t.options))??u,v=br(l)?l:new Zn(l);return v.range=u.range,v.tag=s,o!=null&&o.format&&(v.format=o.format),v}function vD(e,t,n){const r=e.offset,i=ED(e,t,n);if(!i)return{value:"",type:null,comment:"",range:[r,r,r]};const s=i.mode===">"?Zn.BLOCK_FOLDED:Zn.BLOCK_LITERAL,a=e.source?AD(e.source):[];let o=a.length;for(let Z=a.length-1;Z>=0;--Z){const M=a[Z][1];if(M===""||M==="\r")o=Z;else break}if(o===0){const Z=i.chomp==="+"&&a.length>0?`
85
+ `.repeat(Math.max(1,a.length-1)):"";let M=r+i.length;return e.source&&(M+=e.source.length),{value:Z,type:s,comment:i.comment,range:[r,M,M]}}let u=e.indent+i.indent,l=e.offset+i.length,v=0;for(let Z=0;Z<o;++Z){const[M,he]=a[Z];if(he===""||he==="\r")i.indent===0&&M.length>u&&(u=M.length);else{if(M.length<u){const ve="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";n(l+M.length,"MISSING_CHAR",ve)}i.indent===0&&(u=M.length),v=Z;break}l+=M.length+he.length+1}for(let Z=a.length-1;Z>=o;--Z)a[Z][0].length>u&&(o=Z+1);let c="",_="",S=!1;for(let Z=0;Z<v;++Z)c+=a[Z][0].slice(u)+`
86
+ `;for(let Z=v;Z<o;++Z){let[M,he]=a[Z];l+=M.length+he.length+1;const ve=he[he.length-1]==="\r";if(ve&&(he=he.slice(0,-1)),he&&M.length<u){const Le=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;n(l-he.length-(ve?2:1),"BAD_INDENT",Le),M=""}s===Zn.BLOCK_LITERAL?(c+=_+M.slice(u)+he,_=`
87
+ `):M.length>u||he[0]===" "?(_===" "?_=`
88
+ `:!S&&_===`
89
+ `&&(_=`
90
+
91
+ `),c+=_+M.slice(u)+he,_=`
92
+ `,S=!0):he===""?_===`
93
+ `?c+=`
94
+ `:_=`
95
+ `:(c+=_+he,_=" ",S=!1)}switch(i.chomp){case"-":break;case"+":for(let Z=o;Z<a.length;++Z)c+=`
96
+ `+a[Z][0].slice(u);c[c.length-1]!==`
97
+ `&&(c+=`
98
+ `);break;default:c+=`
99
+ `}const Q=r+i.length+e.source.length;return{value:c,type:s,comment:i.comment,range:[r,Q,Q]}}function ED({offset:e,props:t},n,r){if(t[0].type!=="block-scalar-header")return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:i}=t[0],s=i[0];let a=0,o="",u=-1;for(let _=1;_<i.length;++_){const S=i[_];if(!o&&(S==="-"||S==="+"))o=S;else{const Q=Number(S);!a&&Q?a=Q:u===-1&&(u=e+_)}}u!==-1&&r(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let l=!1,v="",c=i.length;for(let _=1;_<t.length;++_){const S=t[_];switch(S.type){case"space":l=!0;case"newline":c+=S.source.length;break;case"comment":n&&!l&&r(S,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),c+=S.source.length,v=S.source.substring(1);break;case"error":r(S,"UNEXPECTED_TOKEN",S.message),c+=S.source.length;break;default:{const Q=`Unexpected token in block scalar header: ${S.type}`;r(S,"UNEXPECTED_TOKEN",Q);const Z=S.source;Z&&typeof Z=="string"&&(c+=Z.length)}}}return{mode:s,indent:a,chomp:o,comment:v,length:c}}function AD(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),s=[r!=null&&r[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let a=1;a<t.length;a+=2)s.push([t[a],t[a+1]]);return s}function CD(e,t,n){const{offset:r,type:i,source:s,end:a}=e;let o,u;const l=(_,S,Q)=>n(r+_,S,Q);switch(i){case"scalar":o=Zn.PLAIN,u=xD(s,l);break;case"single-quoted-scalar":o=Zn.QUOTE_SINGLE,u=SD(s,l);break;case"double-quoted-scalar":o=Zn.QUOTE_DOUBLE,u=wD(s,l);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[r,r+s.length,r+s.length]}}const v=r+s.length,c=Po(a,v,t,n);return{value:u,type:o,comment:c.comment,range:[r,v,c.offset]}}function xD(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${e[0]}`;break}case"@":case"`":{n=`reserved character ${e[0]}`;break}}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),wm(e)}function SD(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),wm(e.slice(1,-1)).replace(/''/g,"'")}function wm(e){let t,n;try{t=new RegExp(`(.*?)(?<![ ])[ ]*\r?
100
+ `,"sy"),n=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
101
+ `,"sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let i=r[1],s=" ",a=t.lastIndex;for(n.lastIndex=a;r=n.exec(e);)r[1]===""?s===`
102
+ `?i+=s:s=`
103
+ `:(i+=s+r[1],s=" "),a=n.lastIndex;const o=/[ \t]*(.*)/sy;return o.lastIndex=a,r=o.exec(e),i+s+((r==null?void 0:r[1])??"")}function wD(e,t){let n="";for(let r=1;r<e.length-1;++r){const i=e[r];if(!(i==="\r"&&e[r+1]===`
104
+ `))if(i===`
105
+ `){const{fold:s,offset:a}=FD(e,r);n+=s,r=a}else if(i==="\\"){let s=e[++r];const a=ND[s];if(a)n+=a;else if(s===`
106
+ `)for(s=e[r+1];s===" "||s===" ";)s=e[++r+1];else if(s==="\r"&&e[r+1]===`
107
+ `)for(s=e[++r+1];s===" "||s===" ";)s=e[++r+1];else if(s==="x"||s==="u"||s==="U"){const o={x:2,u:4,U:8}[s];n+=_D(e,r+1,o,t),r+=o}else{const o=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),n+=o}}else if(i===" "||i===" "){const s=r;let a=e[r+1];for(;a===" "||a===" ";)a=e[++r+1];a!==`
108
+ `&&!(a==="\r"&&e[r+2]===`
109
+ `)&&(n+=r>s?e.slice(s,r+1):i)}else n+=i}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}function FD(e,t){let n="",r=e[t+1];for(;(r===" "||r===" "||r===`
110
+ `||r==="\r")&&!(r==="\r"&&e[t+2]!==`
111
+ `);)r===`
112
+ `&&(n+=`
113
+ `),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}const ND={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
114
+ `,r:"\r",t:" ",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function _D(e,t,n,r){const i=e.substr(t,n),a=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;if(isNaN(a)){const o=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),o}return String.fromCodePoint(a)}function Fm(e,t,n,r){const{value:i,type:s,comment:a,range:o}=t.type==="block-scalar"?vD(t,e.options.strict,r):CD(t,e.options.strict,r),u=n?e.directives.tagName(n.source,c=>r(n,"TAG_RESOLVE_FAILED",c)):null,l=n&&u?TD(e.schema,i,u,n,r):t.type==="scalar"?LD(e,i,t,r):e.schema[fs];let v;try{const c=l.resolve(i,_=>r(n??t,"TAG_RESOLVE_FAILED",_),e.options);v=Jn(c)?c:new Zn(c)}catch(c){const _=c instanceof Error?c.message:String(c);r(n??t,"TAG_RESOLVE_FAILED",_),v=new Zn(i)}return v.range=o,v.source=i,s&&(v.type=s),u&&(v.tag=u),l.format&&(v.format=l.format),a&&(v.comment=a),v}function TD(e,t,n,r,i){var o;if(n==="!")return e[fs];const s=[];for(const u of e.tags)if(!u.collection&&u.tag===n)if(u.default&&u.test)s.push(u);else return u;for(const u of s)if((o=u.test)!=null&&o.test(t))return u;const a=e.knownTags[n];return a&&!a.collection?(e.tags.push(Object.assign({},a,{default:!1,test:void 0})),a):(i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[fs])}function LD({directives:e,schema:t},n,r,i){const s=t.tags.find(a=>{var o;return a.default&&((o=a.test)==null?void 0:o.test(n))})||t[fs];if(t.compat){const a=t.compat.find(o=>{var u;return o.default&&((u=o.test)==null?void 0:u.test(n))})??t[fs];if(s.tag!==a.tag){const o=e.tagString(s.tag),u=e.tagString(a.tag),l=`Value may be parsed as either ${o} or ${u}`;i(r,"TAG_RESOLVE_FAILED",l,!0)}}return s}function kD(e,t,n){if(t){n===null&&(n=t.length);for(let r=n-1;r>=0;--r){let i=t[r];switch(i.type){case"space":case"comment":case"newline":e-=i.source.length;continue}for(i=t[++r];(i==null?void 0:i.type)==="space";)e+=i.source.length,i=t[++r];break}}return e}const PD={composeNode:Nm,composeEmptyNode:ef};function Nm(e,t,n,r){const{spaceBefore:i,comment:s,anchor:a,tag:o}=n;let u,l=!0;switch(t.type){case"alias":u=BD(e,t,r),(a||o)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":u=Fm(e,t,o,r),a&&(u.anchor=a.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":u=bD(PD,e,t,o,r),a&&(u.anchor=a.source.substring(1));break;default:{const v=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",v),u=ef(e,t.offset,void 0,null,n,r),l=!1}}return a&&u.anchor===""&&r(a,"BAD_ALIAS","Anchor cannot be an empty string"),i&&(u.spaceBefore=!0),s&&(t.type==="scalar"&&t.source===""?u.comment=s:u.commentBefore=s),e.options.keepSourceTokens&&l&&(u.srcToken=t),u}function ef(e,t,n,r,{spaceBefore:i,comment:s,anchor:a,tag:o,end:u},l){const v={type:"scalar",offset:kD(t,n,r),indent:-1,source:""},c=Fm(e,v,o,l);return a&&(c.anchor=a.source.substring(1),c.anchor===""&&l(a,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(c.spaceBefore=!0),s&&(c.comment=s,c.range[2]=u),c}function BD({options:e},{offset:t,source:n,end:r},i){const s=new Pc(n.substring(1));s.source===""&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),s.source.endsWith(":")&&i(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const a=t+n.length,o=Po(r,a,e.strict,i);return s.range=[t,a,o.offset],o.comment&&(s.comment=o.comment),s}function MD(e,t,{offset:n,start:r,value:i,end:s},a){const o=Object.assign({_directives:t},e),u=new Bu(void 0,o),l={atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},v=Ma(r,{indicator:"doc-start",next:i??(s==null?void 0:s[0]),offset:n,onError:a,startOnNewline:!0});v.found&&(u.directives.docStart=!0,i&&(i.type==="block-map"||i.type==="block-seq")&&!v.hasNewline&&a(v.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=i?Nm(l,i,v,a):ef(l,v.end,r,null,v,a);const c=u.contents.range[2],_=Po(s,c,!1,a);return _.comment&&(u.comment=_.comment),u.range=[n,c,_.offset],u}function Bo(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+(typeof n=="string"?n.length:1)]}function _m(e){var i;let t="",n=!1,r=!1;for(let s=0;s<e.length;++s){const a=e[s];switch(a[0]){case"#":t+=(t===""?"":r?`
115
+
116
+ `:`
117
+ `)+(a.substring(1)||" "),n=!0,r=!1;break;case"%":((i=e[s+1])==null?void 0:i[0])!=="#"&&(s+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}class Tm{constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(n,r,i,s)=>{const a=Bo(n);s?this.warnings.push(new mD(a,r,i)):this.errors.push(new Lo(a,r,i))},this.directives=new li({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:r,afterEmptyLine:i}=_m(this.prelude);if(r){const s=t.contents;if(n)t.comment=t.comment?`${t.comment}
118
+ ${r}`:r;else if(i||t.directives.docStart||!s)t.commentBefore=r;else if(Br(s)&&!s.flow&&s.items.length>0){let a=s.items[0];mr(a)&&(a=a.key);const o=a.commentBefore;a.commentBefore=o?`${r}
119
+ ${o}`:r}else{const a=s.commentBefore;s.commentBefore=a?`${r}
120
+ ${a}`:r}}n?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:_m(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,n=!1,r=-1){for(const i of t)yield*this.next(i);yield*this.end(n,r)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,(n,r,i)=>{const s=Bo(t);s[0]+=n,this.onError(s,"BAD_DIRECTIVE",r,i)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=MD(this.options,this.directives,t,this.onError);this.atDirectives&&!n.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(n,!1),this.doc&&(yield this.doc),this.doc=n,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const n=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,r=new Lo(Bo(t),"UNEXPECTED_TOKEN",n);this.atDirectives||!this.doc?this.errors.push(r):this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){const r="Unexpected doc-end without preceding document";this.errors.push(new Lo(Bo(t),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=!0;const n=Po(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),n.comment){const r=this.doc.comment;this.doc.comment=r?`${r}
121
+ ${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new Lo(Bo(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,n=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const r=Object.assign({_directives:this.directives},this.options),i=new Bu(void 0,r);this.atDirectives&&this.onError(n,"MISSING_CHAR","Missing directives-end indicator line"),i.range=[0,n,n],this.decorate(i,!1),yield i}}}const Lm=e=>"type"in e?Mu(e):Iu(e);function Mu(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=Mu(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=Iu(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=Iu(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=Iu(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function Iu({start:e,key:t,sep:n,value:r}){let i="";for(const s of e)i+=s.source;if(t&&(i+=Mu(t)),n)for(const s of n)i+=s.source;return r&&(i+=Mu(r)),i}const tf=Symbol("break visit"),ID=Symbol("skip children"),km=Symbol("remove item");function Js(e,t){"type"in e&&e.type==="document"&&(e={start:e.start,value:e.value}),Pm(Object.freeze([]),e,t)}Js.BREAK=tf,Js.SKIP=ID,Js.REMOVE=km,Js.itemAtPath=(e,t)=>{let n=e;for(const[r,i]of t){const s=n==null?void 0:n[r];if(s&&"items"in s)n=s.items[i];else return}return n},Js.parentCollection=(e,t)=>{const n=Js.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],i=n==null?void 0:n[r];if(i&&"items"in i)return i;throw new Error("Parent collection not found")};function Pm(e,t,n){let r=n(t,e);if(typeof r=="symbol")return r;for(const i of["key","value"]){const s=t[i];if(s&&"items"in s){for(let a=0;a<s.items.length;++a){const o=Pm(Object.freeze(e.concat([[i,a]])),s.items[a],n);if(typeof o=="number")a=o-1;else{if(o===tf)return tf;o===km&&(s.items.splice(a,1),a-=1)}}typeof r=="function"&&i==="key"&&(r=r(t,e))}}return typeof r=="function"?r(t,e):r}const Bm="\uFEFF",Mm="",Im="",nf="",OD=e=>!!e&&"items"in e,rf=e=>!!e&&(e.type==="scalar"||e.type==="single-quoted-scalar"||e.type==="double-quoted-scalar"||e.type==="block-scalar");function jD(e){switch(e){case Bm:return"byte-order-mark";case Mm:return"doc-mode";case Im:return"flow-error-end";case nf:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
122
+ `:case`\r
123
+ `:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function Bi(e){switch(e){case void 0:case" ":case`
124
+ `:case"\r":case" ":return!0;default:return!1}}const Om="0123456789ABCDEFabcdef".split(""),RD="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),sf=",[]{}".split(""),$D=` ,[]{}
125
+ \r `.split(""),af=e=>!e||$D.includes(e);class VD{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,n=!1){t&&(this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null),this.atEnd=!n;let r=this.next??"stream";for(;r&&(n||this.hasChars(1));)r=yield*this.parseNext(r)}atLineEnd(){let t=this.pos,n=this.buffer[t];for(;n===" "||n===" ";)n=this.buffer[++t];return!n||n==="#"||n===`
126
+ `?!0:n==="\r"?this.buffer[t+1]===`
127
+ `:!1}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let n=this.buffer[t];if(this.indentNext>0){let r=0;for(;n===" ";)n=this.buffer[++r+t];if(n==="\r"){const i=this.buffer[r+t+1];if(i===`
128
+ `||!i&&!this.atEnd)return t+r+1}return n===`
129
+ `||r>=this.indentNext||!n&&!this.atEnd?t+r:-1}if(n==="-"||n==="."){const r=this.buffer.substr(t,3);if((r==="---"||r==="...")&&Bi(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return(typeof t!="number"||t!==-1&&t<this.pos)&&(t=this.buffer.indexOf(`
130
+ `,this.pos),this.lineEndPos=t),t===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[t-1]==="\r"&&(t-=1),this.buffer.substring(this.pos,t))}hasChars(t){return this.pos+t<=this.buffer.length}setNext(t){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=t,null}peek(t){return this.buffer.substr(this.pos,t)}*parseNext(t){switch(t){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let t=this.getLine();if(t===null)return this.setNext("stream");if(t[0]===Bm&&(yield*this.pushCount(1),t=t.substring(1)),t[0]==="%"){let n=t.length;const r=t.indexOf("#");if(r!==-1){const s=t[r-1];(s===" "||s===" ")&&(n=r-1)}for(;;){const s=t[n-1];if(s===" "||s===" ")n-=1;else break}const i=(yield*this.pushCount(n))+(yield*this.pushSpaces(!0));return yield*this.pushCount(t.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){const n=yield*this.pushSpaces(!0);return yield*this.pushCount(t.length-n),yield*this.pushNewline(),"stream"}return yield Mm,yield*this.parseLineStart()}*parseLineStart(){const t=this.charAt(0);if(!t&&!this.atEnd)return this.setNext("line-start");if(t==="-"||t==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const n=this.peek(3);if(n==="---"&&Bi(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if(n==="..."&&Bi(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!Bi(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,n]=this.peek(2);if(!n&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&Bi(n)){const r=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=r,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(t===null)return this.setNext("doc");let n=yield*this.pushIndicators();switch(t[n]){case"#":yield*this.pushCount(t.length-n);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(af),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return n+=yield*this.parseBlockScalarHeader(),n+=yield*this.pushSpaces(!0),yield*this.pushCount(t.length-n),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,n,r=-1;do t=yield*this.pushNewline(),t>0?(n=yield*this.pushSpaces(!1),this.indentValue=r=n):n=0,n+=yield*this.pushSpaces(!0);while(t+n>0);const i=this.getLine();if(i===null)return this.setNext("flow");if((r!==-1&&r<this.indentNext&&i[0]!=="#"||r===0&&(i.startsWith("---")||i.startsWith("..."))&&Bi(i[3]))&&!(r===this.indentNext-1&&this.flowLevel===1&&(i[0]==="]"||i[0]==="}")))return this.flowLevel=0,yield Im,yield*this.parseLineStart();let s=0;for(;i[s]===",";)s+=yield*this.pushCount(1),s+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(s+=yield*this.pushIndicators(),i[s]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-s),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(af),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const a=this.charAt(1);if(this.flowKey||Bi(a)||a===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const t=this.charAt(0);let n=this.buffer.indexOf(t,this.pos+1);if(t==="'")for(;n!==-1&&this.buffer[n+1]==="'";)n=this.buffer.indexOf("'",n+2);else for(;n!==-1;){let s=0;for(;this.buffer[n-1-s]==="\\";)s+=1;if(s%2===0)break;n=this.buffer.indexOf('"',n+1)}const r=this.buffer.substring(0,n);let i=r.indexOf(`
131
+ `,this.pos);if(i!==-1){for(;i!==-1;){const s=this.continueScalar(i+1);if(s===-1)break;i=r.indexOf(`
132
+ `,s)}i!==-1&&(n=i-(r[i-1]==="\r"?2:1))}if(n===-1){if(!this.atEnd)return this.setNext("quoted-scalar");n=this.buffer.length}return yield*this.pushToIndex(n+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let t=this.pos;for(;;){const n=this.buffer[++t];if(n==="+")this.blockScalarKeep=!0;else if(n>"0"&&n<="9")this.blockScalarIndent=Number(n)-1;else if(n!=="-")break}return yield*this.pushUntil(n=>Bi(n)||n==="#")}*parseBlockScalar(){let t=this.pos-1,n=0,r;e:for(let i=this.pos;r=this.buffer[i];++i)switch(r){case" ":n+=1;break;case`
133
+ `:t=i,n=0;break;case"\r":{const s=this.buffer[i+1];if(!s&&!this.atEnd)return this.setNext("block-scalar");if(s===`
134
+ `)break}default:break e}if(!r&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=n:this.indentNext+=this.blockScalarIndent;do{const i=this.continueScalar(t+1);if(i===-1)break;t=this.buffer.indexOf(`
135
+ `,i)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}if(!this.blockScalarKeep)do{let i=t-1,s=this.buffer[i];s==="\r"&&(s=this.buffer[--i]);const a=i;for(;s===" "||s===" ";)s=this.buffer[--i];if(s===`
136
+ `&&i>=this.pos&&i+1+n>a)t=i;else break}while(!0);return yield nf,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let n=this.pos-1,r=this.pos-1,i;for(;i=this.buffer[++r];)if(i===":"){const s=this.buffer[r+1];if(Bi(s)||t&&s===",")break;n=r}else if(Bi(i)){let s=this.buffer[r+1];if(i==="\r"&&(s===`
137
+ `?(r+=1,i=`
138
+ `,s=this.buffer[r+1]):n=r),s==="#"||t&&sf.includes(s))break;if(i===`
139
+ `){const a=this.continueScalar(r+1);if(a===-1)break;r=Math.max(r,a-2)}}else{if(t&&sf.includes(i))break;n=r}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield nf,yield*this.pushToIndex(n+1,!0),t?"flow":"doc")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,n){const r=this.buffer.slice(this.pos,t);return r?(yield r,this.pos+=r.length,r.length):(n&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(af))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if(Bi(n)||t&&sf.includes(n))return t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2,n=this.buffer[t];for(;!Bi(n)&&n!==">";)n=this.buffer[++t];return yield*this.pushToIndex(n===">"?t+1:t,!1)}else{let t=this.pos+1,n=this.buffer[t];for(;n;)if(RD.includes(n))n=this.buffer[++t];else if(n==="%"&&Om.includes(this.buffer[t+1])&&Om.includes(this.buffer[t+2]))n=this.buffer[t+=3];else break;return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return t===`
140
+ `?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===`
141
+ `?yield*this.pushCount(2):0}*pushSpaces(t){let n=this.pos-1,r;do r=this.buffer[++n];while(r===" "||t&&r===" ");const i=n-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=n),i}*pushUntil(t){let n=this.pos,r=this.buffer[n];for(;!t(r);)r=this.buffer[++n];return yield*this.pushToIndex(n,!1)}}class jm{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let n=0,r=this.lineStarts.length;for(;n<r;){const s=n+r>>1;this.lineStarts[s]<t?n=s+1:r=s}if(this.lineStarts[n]===t)return{line:n+1,col:1};if(n===0)return{line:0,col:t};const i=this.lineStarts[n-1];return{line:n,col:t-i+1}}}}function Wi(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function Rm(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function $m(e){switch(e==null?void 0:e.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function Ou(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function Ia(e){var n;if(e.length===0)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;((n=e[++t])==null?void 0:n.type)==="space";);return e.splice(t,e.length)}function Vm(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!Wi(t.start,"explicit-key-ind")&&!Wi(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,$m(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class of{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new VD,this.onNewLine=t}*parse(t,n=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const r of this.lexer.lex(t,n))yield*this.next(r);n||(yield*this.end())}*next(t){if(this.source=t,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}const n=jD(t);if(n)if(n==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=n,yield*this.step(),n){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&t[0]===" "&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const r=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:r,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if(this.type==="doc-end"&&(!t||t.type!=="doc-end")){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){const n=t??this.stack.pop();if(n)if(this.stack.length===0)yield n;else{const r=this.peek(1);switch(n.type==="block-scalar"?n.indent="indent"in r?r.indent:0:n.type==="flow-collection"&&r.type==="document"&&(n.indent=0),n.type==="flow-collection"&&Vm(n),r.type){case"document":r.value=n;break;case"block-scalar":r.props.push(n);break;case"block-map":{const i=r.items[r.items.length-1];if(i.value){r.items.push({start:[],key:n,sep:[]}),this.onKeyLine=!0;return}else if(i.sep)i.value=n;else{Object.assign(i,{key:n,sep:[]}),this.onKeyLine=!Wi(i.start,"explicit-key-ind");return}break}case"block-seq":{const i=r.items[r.items.length-1];i.value?r.items.push({start:[],value:n}):i.value=n;break}case"flow-collection":{const i=r.items[r.items.length-1];!i||i.value?r.items.push({start:[],key:n,sep:[]}):i.sep?i.value=n:Object.assign(i,{key:n,sep:[]});return}default:yield*this.pop(),yield*this.pop(n)}if((r.type==="document"||r.type==="block-map"||r.type==="block-seq")&&(n.type==="block-map"||n.type==="block-seq")){const i=n.items[n.items.length-1];i&&!i.sep&&!i.value&&i.start.length>0&&Rm(i.start)===-1&&(n.indent===0||i.start.every(s=>s.type!=="comment"||s.indent<n.indent))&&(r.type==="document"?r.end=i.start:r.items.push({start:i.start}),n.items.splice(-1,1))}}else{const r="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:r}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const t={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&t.start.push(this.sourceToken),this.stack.push(t);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(t){if(t.value)return yield*this.lineEnd(t);switch(this.type){case"doc-start":{Rm(t.start)!==-1?(yield*this.pop(),yield*this.step()):t.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":t.start.push(this.sourceToken);return}const n=this.startBlockValue(t);n?this.stack.push(n):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(t){if(this.type==="map-value-ind"){const n=Ou(this.peek(2)),r=Ia(n);let i;t.end?(i=t.end,i.push(this.sourceToken),delete t.end):i=[this.sourceToken];const s={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:r,key:t,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(t)}*blockScalar(t){switch(this.type){case"space":case"comment":case"newline":t.props.push(this.sourceToken);return;case"scalar":if(t.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let n=this.source.indexOf(`
142
+ `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
143
+ `,n)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(t){var r;const n=t.items[t.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,n.value){const i="end"in n.value?n.value.end:void 0,s=Array.isArray(i)?i[i.length-1]:void 0;(s==null?void 0:s.type)==="comment"?i==null||i.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else if(n.sep)n.sep.push(this.sourceToken);else{if(this.atIndentedComment(n.start,t.indent)){const i=t.items[t.items.length-2],s=(r=i==null?void 0:i.value)==null?void 0:r.end;if(Array.isArray(s)){Array.prototype.push.apply(s,n.start),s.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return}if(this.indent>=t.indent){const i=!this.onKeyLine&&this.indent===t.indent&&n.sep;let s=[];if(i&&n.sep&&!n.value){const a=[];for(let o=0;o<n.sep.length;++o){const u=n.sep[o];switch(u.type){case"newline":a.push(o);break;case"space":break;case"comment":u.indent>t.indent&&(a.length=0);break;default:a.length=0}}a.length>=2&&(s=n.sep.splice(a[1]))}switch(this.type){case"anchor":case"tag":i||n.value?(s.push(this.sourceToken),t.items.push({start:s}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"explicit-key-ind":!n.sep&&!Wi(n.start,"explicit-key-ind")?n.start.push(this.sourceToken):i||n.value?(s.push(this.sourceToken),t.items.push({start:s})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}),this.onKeyLine=!0;return;case"map-value-ind":if(Wi(n.start,"explicit-key-ind"))if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(Wi(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]});else if($m(n.key)&&!Wi(n.sep,"newline")){const a=Ia(n.start),o=n.key,u=n.sep;u.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:o,sep:u}]})}else s.length>0?n.sep=n.sep.concat(s,this.sourceToken):n.sep.push(this.sourceToken);else if(Wi(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const a=Ia(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||i?t.items.push({start:s,key:null,sep:[this.sourceToken]}):Wi(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const a=this.flowScalar(this.type);i||n.value?(t.items.push({start:s,key:a,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(a):(Object.assign(n,{key:a,sep:[]}),this.onKeyLine=!0);return}default:{const a=this.startBlockValue(t);if(a){i&&a.type!=="block-seq"&&Wi(n.start,"explicit-key-ind")&&t.items.push({start:s}),this.stack.push(a);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){var r;const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const i="end"in n.value?n.value.end:void 0,s=Array.isArray(i)?i[i.length-1]:void 0;(s==null?void 0:s.type)==="comment"?i==null||i.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const i=t.items[t.items.length-2],s=(r=i==null?void 0:i.value)==null?void 0:r.end;if(Array.isArray(s)){Array.prototype.push.apply(s,n.start),s.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;n.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;n.value||Wi(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return}if(this.indent>t.indent){const i=this.startBlockValue(t);if(i){this.stack.push(i);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){const n=t.items[t.items.length-1];if(this.type==="flow-error-end"){let r;do yield*this.pop(),r=this.peek(1);while(r&&r.type==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!n||n.sep?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return;case"map-value-ind":!n||n.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!n||n.value?t.items.push({start:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const i=this.flowScalar(this.type);!n||n.value?t.items.push({start:[],key:i,sep:[]}):n.sep?this.stack.push(i):Object.assign(n,{key:i,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const r=this.startBlockValue(t);r?this.stack.push(r):(yield*this.pop(),yield*this.step())}else{const r=this.peek(2);if(r.type==="block-map"&&(this.type==="map-value-ind"&&r.indent===t.indent||this.type==="newline"&&!r.items[r.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&r.type!=="flow-collection"){const i=Ou(r),s=Ia(i);Vm(t);const a=t.end.splice(1,t.end.length);a.push(this.sourceToken);const o={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:s,key:t,sep:a}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let n=this.source.indexOf(`
144
+ `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
145
+ `,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=Ou(t),r=Ia(n);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r}]}}case"map-value-ind":{this.onKeyLine=!0;const n=Ou(t),r=Ia(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,n){return this.type!=="comment"||this.indent<=n?!1:t.every(r=>r.type==="newline"||r.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function qD(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new jm||null,prettyErrors:t}}function UD(e,t={}){const{lineCounter:n,prettyErrors:r}=qD(t),i=new of(n==null?void 0:n.addNewLine),s=new Tm(t);let a=null;for(const o of s.compose(i.parse(e),!0,e.length))if(!a)a=o;else if(a.options.logLevel!=="silent"){a.errors.push(new Lo(o.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return r&&n&&(a.errors.forEach(Cm(e,n)),a.warnings.forEach(Cm(e,n))),a}function WD(e,t,n){let r;typeof t=="function"?r=t:n===void 0&&t&&typeof t=="object"&&(n=t);const i=UD(e,n);if(!i)return null;if(i.warnings.forEach(s=>Zh(i.options.logLevel,s)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}var qm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function GD(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function is(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function Um(e,t){for(var n="",r=0,i=-1,s=0,a,o=0;o<=e.length;++o){if(o<e.length)a=e.charCodeAt(o);else{if(a===47)break;a=47}if(a===47){if(!(i===o-1||s===1))if(i!==o-1&&s===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){var u=n.lastIndexOf("/");if(u!==n.length-1){u===-1?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf("/")),i=o,s=0;continue}}else if(n.length===2||n.length===1){n="",r=0,i=o,s=0;continue}}t&&(n.length>0?n+="/..":n="..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,s=0}else a===46&&s!==-1?++s:s=-1}return n}function JD(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}var Oa={resolve:function(){for(var t="",n=!1,r,i=arguments.length-1;i>=-1&&!n;i--){var s;i>=0?s=arguments[i]:(r===void 0&&(r=process.cwd()),s=r),is(s),s.length!==0&&(t=s+"/"+t,n=s.charCodeAt(0)===47)}return t=Um(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(is(t),t.length===0)return".";var n=t.charCodeAt(0)===47,r=t.charCodeAt(t.length-1)===47;return t=Um(t,!n),t.length===0&&!n&&(t="."),t.length>0&&r&&(t+="/"),n?"/"+t:t},isAbsolute:function(t){return is(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,n=0;n<arguments.length;++n){var r=arguments[n];is(r),r.length>0&&(t===void 0?t=r:t+="/"+r)}return t===void 0?".":Oa.normalize(t)},relative:function(t,n){if(is(t),is(n),t===n||(t=Oa.resolve(t),n=Oa.resolve(n),t===n))return"";for(var r=1;r<t.length&&t.charCodeAt(r)===47;++r);for(var i=t.length,s=i-r,a=1;a<n.length&&n.charCodeAt(a)===47;++a);for(var o=n.length,u=o-a,l=s<u?s:u,v=-1,c=0;c<=l;++c){if(c===l){if(u>l){if(n.charCodeAt(a+c)===47)return n.slice(a+c+1);if(c===0)return n.slice(a+c)}else s>l&&(t.charCodeAt(r+c)===47?v=c:c===0&&(v=0));break}var _=t.charCodeAt(r+c),S=n.charCodeAt(a+c);if(_!==S)break;_===47&&(v=c)}var Q="";for(c=r+v+1;c<=i;++c)(c===i||t.charCodeAt(c)===47)&&(Q.length===0?Q+="..":Q+="/..");return Q.length>0?Q+n.slice(a+v):(a+=v,n.charCodeAt(a)===47&&++a,n.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(is(t),t.length===0)return".";for(var n=t.charCodeAt(0),r=n===47,i=-1,s=!0,a=t.length-1;a>=1;--a)if(n=t.charCodeAt(a),n===47){if(!s){i=a;break}}else s=!1;return i===-1?r?"/":".":r&&i===1?"//":t.slice(0,i)},basename:function(t,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');is(t);var r=0,i=-1,s=!0,a;if(n!==void 0&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var o=n.length-1,u=-1;for(a=t.length-1;a>=0;--a){var l=t.charCodeAt(a);if(l===47){if(!s){r=a+1;break}}else u===-1&&(s=!1,u=a+1),o>=0&&(l===n.charCodeAt(o)?--o===-1&&(i=a):(o=-1,i=u))}return r===i?i=u:i===-1&&(i=t.length),t.slice(r,i)}else{for(a=t.length-1;a>=0;--a)if(t.charCodeAt(a)===47){if(!s){r=a+1;break}}else i===-1&&(s=!1,i=a+1);return i===-1?"":t.slice(r,i)}},extname:function(t){is(t);for(var n=-1,r=0,i=-1,s=!0,a=0,o=t.length-1;o>=0;--o){var u=t.charCodeAt(o);if(u===47){if(!s){r=o+1;break}continue}i===-1&&(s=!1,i=o+1),u===46?n===-1?n=o:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||i===-1||a===0||a===1&&n===i-1&&n===r+1?"":t.slice(n,i)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return JD("/",t)},parse:function(t){is(t);var n={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return n;var r=t.charCodeAt(0),i=r===47,s;i?(n.root="/",s=1):s=0;for(var a=-1,o=0,u=-1,l=!0,v=t.length-1,c=0;v>=s;--v){if(r=t.charCodeAt(v),r===47){if(!l){o=v+1;break}continue}u===-1&&(l=!1,u=v+1),r===46?a===-1?a=v:c!==1&&(c=1):a!==-1&&(c=-1)}return a===-1||u===-1||c===0||c===1&&a===u-1&&a===o+1?u!==-1&&(o===0&&i?n.base=n.name=t.slice(1,u):n.base=n.name=t.slice(o,u)):(o===0&&i?(n.name=t.slice(1,a),n.base=t.slice(1,u)):(n.name=t.slice(o,a),n.base=t.slice(o,u)),n.ext=t.slice(a,u)),o>0?n.dir=t.slice(0,o-1):i&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};Oa.posix=Oa;var Ys=Oa,Wm={exports:{}};(function(e,t){(function(n){e.exports=n()})(function(){var n=(Xt,st)=>()=>(st||Xt((st={exports:{}}).exports,st),st.exports),r=n((Xt,st)=>{var Xe=function(ot){return ot&&ot.Math==Math&&ot};st.exports=Xe(typeof globalThis=="object"&&globalThis)||Xe(typeof window=="object"&&window)||Xe(typeof self=="object"&&self)||Xe(typeof qm=="object"&&qm)||function(){return this}()||Function("return this")()}),i=n((Xt,st)=>{st.exports=function(Xe){try{return!!Xe()}catch{return!0}}}),s=n((Xt,st)=>{var Xe=i();st.exports=!Xe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=n((Xt,st)=>{var Xe=i();st.exports=!Xe(function(){var ot=(function(){}).bind();return typeof ot!="function"||ot.hasOwnProperty("prototype")})}),o=n((Xt,st)=>{var Xe=a(),ot=Function.prototype.call;st.exports=Xe?ot.bind(ot):function(){return ot.apply(ot,arguments)}}),u=n(Xt=>{var st={}.propertyIsEnumerable,Xe=Object.getOwnPropertyDescriptor,ot=Xe&&!st.call({1:2},1);Xt.f=ot?function(rt){var St=Xe(this,rt);return!!St&&St.enumerable}:st}),l=n((Xt,st)=>{st.exports=function(Xe,ot){return{enumerable:!(Xe&1),configurable:!(Xe&2),writable:!(Xe&4),value:ot}}}),v=n((Xt,st)=>{var Xe=a(),ot=Function.prototype,rt=ot.call,St=Xe&&ot.bind.bind(rt,rt);st.exports=Xe?St:function(Mt){return function(){return rt.apply(Mt,arguments)}}}),c=n((Xt,st)=>{var Xe=v(),ot=Xe({}.toString),rt=Xe("".slice);st.exports=function(St){return rt(ot(St),8,-1)}}),_=n((Xt,st)=>{var Xe=v(),ot=i(),rt=c(),St=Object,Mt=Xe("".split);st.exports=ot(function(){return!St("z").propertyIsEnumerable(0)})?function(Ht){return rt(Ht)=="String"?Mt(Ht,""):St(Ht)}:St}),S=n((Xt,st)=>{st.exports=function(Xe){return Xe==null}}),Q=n((Xt,st)=>{var Xe=S(),ot=TypeError;st.exports=function(rt){if(Xe(rt))throw ot("Can't call method on "+rt);return rt}}),Z=n((Xt,st)=>{var Xe=_(),ot=Q();st.exports=function(rt){return Xe(ot(rt))}}),M=n((Xt,st)=>{var Xe=typeof document=="object"&&document.all,ot=typeof Xe>"u"&&Xe!==void 0;st.exports={all:Xe,IS_HTMLDDA:ot}}),he=n((Xt,st)=>{var Xe=M(),ot=Xe.all;st.exports=Xe.IS_HTMLDDA?function(rt){return typeof rt=="function"||rt===ot}:function(rt){return typeof rt=="function"}}),ve=n((Xt,st)=>{var Xe=he(),ot=M(),rt=ot.all;st.exports=ot.IS_HTMLDDA?function(St){return typeof St=="object"?St!==null:Xe(St)||St===rt}:function(St){return typeof St=="object"?St!==null:Xe(St)}}),we=n((Xt,st)=>{var Xe=r(),ot=he(),rt=function(St){return ot(St)?St:void 0};st.exports=function(St,Mt){return arguments.length<2?rt(Xe[St]):Xe[St]&&Xe[St][Mt]}}),Le=n((Xt,st)=>{var Xe=v();st.exports=Xe({}.isPrototypeOf)}),ae=n((Xt,st)=>{var Xe=we();st.exports=Xe("navigator","userAgent")||""}),Ee=n((Xt,st)=>{var Xe=r(),ot=ae(),rt=Xe.process,St=Xe.Deno,Mt=rt&&rt.versions||St&&St.version,Ht=Mt&&Mt.v8,Ut,zt;Ht&&(Ut=Ht.split("."),zt=Ut[0]>0&&Ut[0]<4?1:+(Ut[0]+Ut[1])),!zt&&ot&&(Ut=ot.match(/Edge\/(\d+)/),(!Ut||Ut[1]>=74)&&(Ut=ot.match(/Chrome\/(\d+)/),Ut&&(zt=+Ut[1]))),st.exports=zt}),He=n((Xt,st)=>{var Xe=Ee(),ot=i();st.exports=!!Object.getOwnPropertySymbols&&!ot(function(){var rt=Symbol();return!String(rt)||!(Object(rt)instanceof Symbol)||!Symbol.sham&&Xe&&Xe<41})}),Et=n((Xt,st)=>{var Xe=He();st.exports=Xe&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),$e=n((Xt,st)=>{var Xe=we(),ot=he(),rt=Le(),St=Et(),Mt=Object;st.exports=St?function(Ht){return typeof Ht=="symbol"}:function(Ht){var Ut=Xe("Symbol");return ot(Ut)&&rt(Ut.prototype,Mt(Ht))}}),ze=n((Xt,st)=>{var Xe=String;st.exports=function(ot){try{return Xe(ot)}catch{return"Object"}}}),_t=n((Xt,st)=>{var Xe=he(),ot=ze(),rt=TypeError;st.exports=function(St){if(Xe(St))return St;throw rt(ot(St)+" is not a function")}}),qe=n((Xt,st)=>{var Xe=_t(),ot=S();st.exports=function(rt,St){var Mt=rt[St];return ot(Mt)?void 0:Xe(Mt)}}),Ft=n((Xt,st)=>{var Xe=o(),ot=he(),rt=ve(),St=TypeError;st.exports=function(Mt,Ht){var Ut,zt;if(Ht==="string"&&ot(Ut=Mt.toString)&&!rt(zt=Xe(Ut,Mt))||ot(Ut=Mt.valueOf)&&!rt(zt=Xe(Ut,Mt))||Ht!=="string"&&ot(Ut=Mt.toString)&&!rt(zt=Xe(Ut,Mt)))return zt;throw St("Can't convert object to primitive value")}}),qt=n((Xt,st)=>{st.exports=!1}),tn=n((Xt,st)=>{var Xe=r(),ot=Object.defineProperty;st.exports=function(rt,St){try{ot(Xe,rt,{value:St,configurable:!0,writable:!0})}catch{Xe[rt]=St}return St}}),Dt=n((Xt,st)=>{var Xe=r(),ot=tn(),rt="__core-js_shared__",St=Xe[rt]||ot(rt,{});st.exports=St}),At=n((Xt,st)=>{var Xe=qt(),ot=Dt();(st.exports=function(rt,St){return ot[rt]||(ot[rt]=St!==void 0?St:{})})("versions",[]).push({version:"3.26.1",mode:Xe?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Pt=n((Xt,st)=>{var Xe=Q(),ot=Object;st.exports=function(rt){return ot(Xe(rt))}}),Kt=n((Xt,st)=>{var Xe=v(),ot=Pt(),rt=Xe({}.hasOwnProperty);st.exports=Object.hasOwn||function(St,Mt){return rt(ot(St),Mt)}}),Cn=n((Xt,st)=>{var Xe=v(),ot=0,rt=Math.random(),St=Xe(1 .toString);st.exports=function(Mt){return"Symbol("+(Mt===void 0?"":Mt)+")_"+St(++ot+rt,36)}}),On=n((Xt,st)=>{var Xe=r(),ot=At(),rt=Kt(),St=Cn(),Mt=He(),Ht=Et(),Ut=ot("wks"),zt=Xe.Symbol,dn=zt&&zt.for,Dn=Ht?zt:zt&&zt.withoutSetter||St;st.exports=function(En){if(!rt(Ut,En)||!(Mt||typeof Ut[En]=="string")){var hn="Symbol."+En;Mt&&rt(zt,En)?Ut[En]=zt[En]:Ht&&dn?Ut[En]=dn(hn):Ut[En]=Dn(hn)}return Ut[En]}}),Pn=n((Xt,st)=>{var Xe=o(),ot=ve(),rt=$e(),St=qe(),Mt=Ft(),Ht=On(),Ut=TypeError,zt=Ht("toPrimitive");st.exports=function(dn,Dn){if(!ot(dn)||rt(dn))return dn;var En=St(dn,zt),hn;if(En){if(Dn===void 0&&(Dn="default"),hn=Xe(En,dn,Dn),!ot(hn)||rt(hn))return hn;throw Ut("Can't convert object to primitive value")}return Dn===void 0&&(Dn="number"),Mt(dn,Dn)}}),Lr=n((Xt,st)=>{var Xe=Pn(),ot=$e();st.exports=function(rt){var St=Xe(rt,"string");return ot(St)?St:St+""}}),Zr=n((Xt,st)=>{var Xe=r(),ot=ve(),rt=Xe.document,St=ot(rt)&&ot(rt.createElement);st.exports=function(Mt){return St?rt.createElement(Mt):{}}}),Yr=n((Xt,st)=>{var Xe=s(),ot=i(),rt=Zr();st.exports=!Xe&&!ot(function(){return Object.defineProperty(rt("div"),"a",{get:function(){return 7}}).a!=7})}),Hi=n(Xt=>{var st=s(),Xe=o(),ot=u(),rt=l(),St=Z(),Mt=Lr(),Ht=Kt(),Ut=Yr(),zt=Object.getOwnPropertyDescriptor;Xt.f=st?zt:function(dn,Dn){if(dn=St(dn),Dn=Mt(Dn),Ut)try{return zt(dn,Dn)}catch{}if(Ht(dn,Dn))return rt(!Xe(ot.f,dn,Dn),dn[Dn])}}),di=n((Xt,st)=>{var Xe=s(),ot=i();st.exports=Xe&&ot(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),zi=n((Xt,st)=>{var Xe=ve(),ot=String,rt=TypeError;st.exports=function(St){if(Xe(St))return St;throw rt(ot(St)+" is not an object")}}),rr=n(Xt=>{var st=s(),Xe=Yr(),ot=di(),rt=zi(),St=Lr(),Mt=TypeError,Ht=Object.defineProperty,Ut=Object.getOwnPropertyDescriptor,zt="enumerable",dn="configurable",Dn="writable";Xt.f=st?ot?function(En,hn,Ne){if(rt(En),hn=St(hn),rt(Ne),typeof En=="function"&&hn==="prototype"&&"value"in Ne&&Dn in Ne&&!Ne[Dn]){var Fn=Ut(En,hn);Fn&&Fn[Dn]&&(En[hn]=Ne.value,Ne={configurable:dn in Ne?Ne[dn]:Fn[dn],enumerable:zt in Ne?Ne[zt]:Fn[zt],writable:!1})}return Ht(En,hn,Ne)}:Ht:function(En,hn,Ne){if(rt(En),hn=St(hn),rt(Ne),Xe)try{return Ht(En,hn,Ne)}catch{}if("get"in Ne||"set"in Ne)throw Mt("Accessors not supported");return"value"in Ne&&(En[hn]=Ne.value),En}}),nl=n((Xt,st)=>{var Xe=s(),ot=rr(),rt=l();st.exports=Xe?function(St,Mt,Ht){return ot.f(St,Mt,rt(1,Ht))}:function(St,Mt,Ht){return St[Mt]=Ht,St}}),vf=n((Xt,st)=>{var Xe=s(),ot=Kt(),rt=Function.prototype,St=Xe&&Object.getOwnPropertyDescriptor,Mt=ot(rt,"name"),Ht=Mt&&(function(){}).name==="something",Ut=Mt&&(!Xe||Xe&&St(rt,"name").configurable);st.exports={EXISTS:Mt,PROPER:Ht,CONFIGURABLE:Ut}}),Ga=n((Xt,st)=>{var Xe=v(),ot=he(),rt=Dt(),St=Xe(Function.toString);ot(rt.inspectSource)||(rt.inspectSource=function(Mt){return St(Mt)}),st.exports=rt.inspectSource}),Ef=n((Xt,st)=>{var Xe=r(),ot=he(),rt=Xe.WeakMap;st.exports=ot(rt)&&/native code/.test(String(rt))}),kr=n((Xt,st)=>{var Xe=At(),ot=Cn(),rt=Xe("keys");st.exports=function(St){return rt[St]||(rt[St]=ot(St))}}),rl=n((Xt,st)=>{st.exports={}}),Af=n((Xt,st)=>{var Xe=Ef(),ot=r(),rt=ve(),St=nl(),Mt=Kt(),Ht=Dt(),Ut=kr(),zt=rl(),dn="Object already initialized",Dn=ot.TypeError,En=ot.WeakMap,hn,Ne,Fn,jn=function(je){return Fn(je)?Ne(je):hn(je,{})},er=function(je){return function(ri){var bs;if(!rt(ri)||(bs=Ne(ri)).type!==je)throw Dn("Incompatible receiver, "+je+" required");return bs}};Xe||Ht.state?(Qn=Ht.state||(Ht.state=new En),Qn.get=Qn.get,Qn.has=Qn.has,Qn.set=Qn.set,hn=function(je,ri){if(Qn.has(je))throw Dn(dn);return ri.facade=je,Qn.set(je,ri),ri},Ne=function(je){return Qn.get(je)||{}},Fn=function(je){return Qn.has(je)}):(wr=Ut("state"),zt[wr]=!0,hn=function(je,ri){if(Mt(je,wr))throw Dn(dn);return ri.facade=je,St(je,wr,ri),ri},Ne=function(je){return Mt(je,wr)?je[wr]:{}},Fn=function(je){return Mt(je,wr)});var Qn,wr;st.exports={set:hn,get:Ne,has:Fn,enforce:jn,getterFor:er}}),hs=n((Xt,st)=>{var Xe=i(),ot=he(),rt=Kt(),St=s(),Mt=vf().CONFIGURABLE,Ht=Ga(),Ut=Af(),zt=Ut.enforce,dn=Ut.get,Dn=Object.defineProperty,En=St&&!Xe(function(){return Dn(function(){},"length",{value:8}).length!==8}),hn=String(String).split("String"),Ne=st.exports=function(Fn,jn,er){String(jn).slice(0,7)==="Symbol("&&(jn="["+String(jn).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),er&&er.getter&&(jn="get "+jn),er&&er.setter&&(jn="set "+jn),(!rt(Fn,"name")||Mt&&Fn.name!==jn)&&(St?Dn(Fn,"name",{value:jn,configurable:!0}):Fn.name=jn),En&&er&&rt(er,"arity")&&Fn.length!==er.arity&&Dn(Fn,"length",{value:er.arity});try{er&&rt(er,"constructor")&&er.constructor?St&&Dn(Fn,"prototype",{writable:!1}):Fn.prototype&&(Fn.prototype=void 0)}catch{}var Qn=zt(Fn);return rt(Qn,"source")||(Qn.source=hn.join(typeof jn=="string"?jn:"")),Fn};Function.prototype.toString=Ne(function(){return ot(this)&&dn(this).source||Ht(this)},"toString")}),Ja=n((Xt,st)=>{var Xe=he(),ot=rr(),rt=hs(),St=tn();st.exports=function(Mt,Ht,Ut,zt){zt||(zt={});var dn=zt.enumerable,Dn=zt.name!==void 0?zt.name:Ht;if(Xe(Ut)&&rt(Ut,Dn,zt),zt.global)dn?Mt[Ht]=Ut:St(Ht,Ut);else{try{zt.unsafe?Mt[Ht]&&(dn=!0):delete Mt[Ht]}catch{}dn?Mt[Ht]=Ut:ot.f(Mt,Ht,{value:Ut,enumerable:!1,configurable:!zt.nonConfigurable,writable:!zt.nonWritable})}return Mt}}),ms=n((Xt,st)=>{var Xe=Math.ceil,ot=Math.floor;st.exports=Math.trunc||function(rt){var St=+rt;return(St>0?ot:Xe)(St)}}),Ro=n((Xt,st)=>{var Xe=ms();st.exports=function(ot){var rt=+ot;return rt!==rt||rt===0?0:Xe(rt)}}),Cf=n((Xt,st)=>{var Xe=Ro(),ot=Math.max,rt=Math.min;st.exports=function(St,Mt){var Ht=Xe(St);return Ht<0?ot(Ht+Mt,0):rt(Ht,Mt)}}),xf=n((Xt,st)=>{var Xe=Ro(),ot=Math.min;st.exports=function(rt){return rt>0?ot(Xe(rt),9007199254740991):0}}),ea=n((Xt,st)=>{var Xe=xf();st.exports=function(ot){return Xe(ot.length)}}),il=n((Xt,st)=>{var Xe=Z(),ot=Cf(),rt=ea(),St=function(Mt){return function(Ht,Ut,zt){var dn=Xe(Ht),Dn=rt(dn),En=ot(zt,Dn),hn;if(Mt&&Ut!=Ut){for(;Dn>En;)if(hn=dn[En++],hn!=hn)return!0}else for(;Dn>En;En++)if((Mt||En in dn)&&dn[En]===Ut)return Mt||En||0;return!Mt&&-1}};st.exports={includes:St(!0),indexOf:St(!1)}}),Sf=n((Xt,st)=>{var Xe=v(),ot=Kt(),rt=Z(),St=il().indexOf,Mt=rl(),Ht=Xe([].push);st.exports=function(Ut,zt){var dn=rt(Ut),Dn=0,En=[],hn;for(hn in dn)!ot(Mt,hn)&&ot(dn,hn)&&Ht(En,hn);for(;zt.length>Dn;)ot(dn,hn=zt[Dn++])&&(~St(En,hn)||Ht(En,hn));return En}}),$o=n((Xt,st)=>{st.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),wf=n(Xt=>{var st=Sf(),Xe=$o(),ot=Xe.concat("length","prototype");Xt.f=Object.getOwnPropertyNames||function(rt){return st(rt,ot)}}),Ff=n(Xt=>{Xt.f=Object.getOwnPropertySymbols}),sl=n((Xt,st)=>{var Xe=we(),ot=v(),rt=wf(),St=Ff(),Mt=zi(),Ht=ot([].concat);st.exports=Xe("Reflect","ownKeys")||function(Ut){var zt=rt.f(Mt(Ut)),dn=St.f;return dn?Ht(zt,dn(Ut)):zt}}),al=n((Xt,st)=>{var Xe=Kt(),ot=sl(),rt=Hi(),St=rr();st.exports=function(Mt,Ht,Ut){for(var zt=ot(Ht),dn=St.f,Dn=rt.f,En=0;En<zt.length;En++){var hn=zt[En];!Xe(Mt,hn)&&!(Ut&&Xe(Ut,hn))&&dn(Mt,hn,Dn(Ht,hn))}}}),Nf=n((Xt,st)=>{var Xe=i(),ot=he(),rt=/#|\.prototype\./,St=function(dn,Dn){var En=Ht[Mt(dn)];return En==zt?!0:En==Ut?!1:ot(Dn)?Xe(Dn):!!Dn},Mt=St.normalize=function(dn){return String(dn).replace(rt,".").toLowerCase()},Ht=St.data={},Ut=St.NATIVE="N",zt=St.POLYFILL="P";st.exports=St}),Ya=n((Xt,st)=>{var Xe=r(),ot=Hi().f,rt=nl(),St=Ja(),Mt=tn(),Ht=al(),Ut=Nf();st.exports=function(zt,dn){var Dn=zt.target,En=zt.global,hn=zt.stat,Ne,Fn,jn,er,Qn,wr;if(En?Fn=Xe:hn?Fn=Xe[Dn]||Mt(Dn,{}):Fn=(Xe[Dn]||{}).prototype,Fn)for(jn in dn){if(Qn=dn[jn],zt.dontCallGetSet?(wr=ot(Fn,jn),er=wr&&wr.value):er=Fn[jn],Ne=Ut(En?jn:Dn+(hn?".":"#")+jn,zt.forced),!Ne&&er!==void 0){if(typeof Qn==typeof er)continue;Ht(Qn,er)}(zt.sham||er&&er.sham)&&rt(Qn,"sham",!0),St(Fn,jn,Qn,zt)}}}),ol=n((Xt,st)=>{var Xe=c();st.exports=Array.isArray||function(ot){return Xe(ot)=="Array"}}),_f=n((Xt,st)=>{var Xe=TypeError,ot=9007199254740991;st.exports=function(rt){if(rt>ot)throw Xe("Maximum allowed index exceeded");return rt}}),Tf=n((Xt,st)=>{var Xe=c(),ot=v();st.exports=function(rt){if(Xe(rt)==="Function")return ot(rt)}}),Ha=n((Xt,st)=>{var Xe=Tf(),ot=_t(),rt=a(),St=Xe(Xe.bind);st.exports=function(Mt,Ht){return ot(Mt),Ht===void 0?Mt:rt?St(Mt,Ht):function(){return Mt.apply(Ht,arguments)}}}),ul=n((Xt,st)=>{var Xe=ol(),ot=ea(),rt=_f(),St=Ha(),Mt=function(Ht,Ut,zt,dn,Dn,En,hn,Ne){for(var Fn=Dn,jn=0,er=hn?St(hn,Ne):!1,Qn,wr;jn<dn;)jn in zt&&(Qn=er?er(zt[jn],jn,Ut):zt[jn],En>0&&Xe(Qn)?(wr=ot(Qn),Fn=Mt(Ht,Ut,Qn,wr,Fn,En-1)-1):(rt(Fn+1),Ht[Fn]=Qn),Fn++),jn++;return Fn};st.exports=Mt}),Lf=n((Xt,st)=>{var Xe=On(),ot=Xe("toStringTag"),rt={};rt[ot]="z",st.exports=String(rt)==="[object z]"}),gs=n((Xt,st)=>{var Xe=Lf(),ot=he(),rt=c(),St=On(),Mt=St("toStringTag"),Ht=Object,Ut=rt(function(){return arguments}())=="Arguments",zt=function(dn,Dn){try{return dn[Dn]}catch{}};st.exports=Xe?rt:function(dn){var Dn,En,hn;return dn===void 0?"Undefined":dn===null?"Null":typeof(En=zt(Dn=Ht(dn),Mt))=="string"?En:Ut?rt(Dn):(hn=rt(Dn))=="Object"&&ot(Dn.callee)?"Arguments":hn}}),ys=n((Xt,st)=>{var Xe=v(),ot=i(),rt=he(),St=gs(),Mt=we(),Ht=Ga(),Ut=function(){},zt=[],dn=Mt("Reflect","construct"),Dn=/^\s*(?:class|function)\b/,En=Xe(Dn.exec),hn=!Dn.exec(Ut),Ne=function(jn){if(!rt(jn))return!1;try{return dn(Ut,zt,jn),!0}catch{return!1}},Fn=function(jn){if(!rt(jn))return!1;switch(St(jn)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return hn||!!En(Dn,Ht(jn))}catch{return!0}};Fn.sham=!0,st.exports=!dn||ot(function(){var jn;return Ne(Ne.call)||!Ne(Object)||!Ne(function(){jn=!0})||jn})?Fn:Ne}),kf=n((Xt,st)=>{var Xe=ol(),ot=ys(),rt=ve(),St=On(),Mt=St("species"),Ht=Array;st.exports=function(Ut){var zt;return Xe(Ut)&&(zt=Ut.constructor,ot(zt)&&(zt===Ht||Xe(zt.prototype))?zt=void 0:rt(zt)&&(zt=zt[Mt],zt===null&&(zt=void 0))),zt===void 0?Ht:zt}}),Ds=n((Xt,st)=>{var Xe=kf();st.exports=function(ot,rt){return new(Xe(ot))(rt===0?0:rt)}}),ll=n(()=>{var Xt=Ya(),st=ul(),Xe=_t(),ot=Pt(),rt=ea(),St=Ds();Xt({target:"Array",proto:!0},{flatMap:function(Mt){var Ht=ot(this),Ut=rt(Ht),zt;return Xe(Mt),zt=St(Ht,0),zt.length=st(zt,Ht,Ht,Ut,0,1,Mt,arguments.length>1?arguments[1]:void 0),zt}})}),cl=n((Xt,st)=>{st.exports={}}),Pf=n((Xt,st)=>{var Xe=On(),ot=cl(),rt=Xe("iterator"),St=Array.prototype;st.exports=function(Mt){return Mt!==void 0&&(ot.Array===Mt||St[rt]===Mt)}}),fl=n((Xt,st)=>{var Xe=gs(),ot=qe(),rt=S(),St=cl(),Mt=On(),Ht=Mt("iterator");st.exports=function(Ut){if(!rt(Ut))return ot(Ut,Ht)||ot(Ut,"@@iterator")||St[Xe(Ut)]}}),Bf=n((Xt,st)=>{var Xe=o(),ot=_t(),rt=zi(),St=ze(),Mt=fl(),Ht=TypeError;st.exports=function(Ut,zt){var dn=arguments.length<2?Mt(Ut):zt;if(ot(dn))return rt(Xe(dn,Ut));throw Ht(St(Ut)+" is not iterable")}}),pl=n((Xt,st)=>{var Xe=o(),ot=zi(),rt=qe();st.exports=function(St,Mt,Ht){var Ut,zt;ot(St);try{if(Ut=rt(St,"return"),!Ut){if(Mt==="throw")throw Ht;return Ht}Ut=Xe(Ut,St)}catch(dn){zt=!0,Ut=dn}if(Mt==="throw")throw Ht;if(zt)throw Ut;return ot(Ut),Ht}}),Mf=n((Xt,st)=>{var Xe=Ha(),ot=o(),rt=zi(),St=ze(),Mt=Pf(),Ht=ea(),Ut=Le(),zt=Bf(),dn=fl(),Dn=pl(),En=TypeError,hn=function(Fn,jn){this.stopped=Fn,this.result=jn},Ne=hn.prototype;st.exports=function(Fn,jn,er){var Qn=er&&er.that,wr=!!(er&&er.AS_ENTRIES),je=!!(er&&er.IS_RECORD),ri=!!(er&&er.IS_ITERATOR),bs=!!(er&&er.INTERRUPTED),Rs=Xe(jn,Qn),Di,ss,Ur,Qa,Hr,Xa,as,ta=function(ai){return Di&&Dn(Di,"normal",ai),new hn(!0,ai)},na=function(ai){return wr?(rt(ai),bs?Rs(ai[0],ai[1],ta):Rs(ai[0],ai[1])):bs?Rs(ai,ta):Rs(ai)};if(je)Di=Fn.iterator;else if(ri)Di=Fn;else{if(ss=dn(Fn),!ss)throw En(St(Fn)+" is not iterable");if(Mt(ss)){for(Ur=0,Qa=Ht(Fn);Qa>Ur;Ur++)if(Hr=na(Fn[Ur]),Hr&&Ut(Ne,Hr))return Hr;return new hn(!1)}Di=zt(Fn,ss)}for(Xa=je?Fn.next:Di.next;!(as=ot(Xa,Di)).done;){try{Hr=na(as.value)}catch(ai){Dn(Di,"throw",ai)}if(typeof Hr=="object"&&Hr&&Ut(Ne,Hr))return Hr}return new hn(!1)}}),dl=n((Xt,st)=>{var Xe=Lr(),ot=rr(),rt=l();st.exports=function(St,Mt,Ht){var Ut=Xe(Mt);Ut in St?ot.f(St,Ut,rt(0,Ht)):St[Ut]=Ht}}),za=n(()=>{var Xt=Ya(),st=Mf(),Xe=dl();Xt({target:"Object",stat:!0},{fromEntries:function(ot){var rt={};return st(ot,function(St,Mt){Xe(rt,St,Mt)},{AS_ENTRIES:!0}),rt}})}),hl=n((Xt,st)=>{var Xe=hs(),ot=rr();st.exports=function(rt,St,Mt){return Mt.get&&Xe(Mt.get,St,{getter:!0}),Mt.set&&Xe(Mt.set,St,{setter:!0}),ot.f(rt,St,Mt)}}),ml=n((Xt,st)=>{var Xe=zi();st.exports=function(){var ot=Xe(this),rt="";return ot.hasIndices&&(rt+="d"),ot.global&&(rt+="g"),ot.ignoreCase&&(rt+="i"),ot.multiline&&(rt+="m"),ot.dotAll&&(rt+="s"),ot.unicode&&(rt+="u"),ot.unicodeSets&&(rt+="v"),ot.sticky&&(rt+="y"),rt}}),gl=n(()=>{var Xt=r(),st=s(),Xe=hl(),ot=ml(),rt=i(),St=Xt.RegExp,Mt=St.prototype,Ht=st&&rt(function(){var Ut=!0;try{St(".","d")}catch{Ut=!1}var zt={},dn="",Dn=Ut?"dgimsy":"gimsy",En=function(jn,er){Object.defineProperty(zt,jn,{get:function(){return dn+=er,!0}})},hn={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};Ut&&(hn.hasIndices="d");for(var Ne in hn)En(Ne,hn[Ne]);var Fn=Object.getOwnPropertyDescriptor(Mt,"flags").get.call(zt);return Fn!==Dn||dn!==Dn});Ht&&Xe(Mt,"flags",{configurable:!0,get:ot})}),If=n(()=>{var Xt=Ya(),st=r();Xt({global:!0,forced:st.globalThis!==st},{globalThis:st})}),Of=n(()=>{If()}),Vo=n(()=>{var Xt=Ya(),st=ul(),Xe=Pt(),ot=ea(),rt=Ro(),St=Ds();Xt({target:"Array",proto:!0},{flat:function(){var Mt=arguments.length?arguments[0]:void 0,Ht=Xe(this),Ut=ot(Ht),zt=St(Ht,0);return zt.length=st(zt,Ht,Ht,Ut,0,Mt===void 0?1:rt(Mt)),zt}})}),jf=n((Xt,st)=>{var Xe=["cliName","cliCategory","cliDescription"],ot=["_"],rt=["languageId"];function St(m,A){if(m==null)return{};var p=Mt(m,A),b,D;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(m);for(D=0;D<f.length;D++)b=f[D],!(A.indexOf(b)>=0)&&Object.prototype.propertyIsEnumerable.call(m,b)&&(p[b]=m[b])}return p}function Mt(m,A){if(m==null)return{};var p={},b=Object.keys(m),D,f;for(f=0;f<b.length;f++)D=b[f],!(A.indexOf(D)>=0)&&(p[D]=m[D]);return p}ll(),za(),gl(),Of(),Vo();var Ht=Object.create,Ut=Object.defineProperty,zt=Object.getOwnPropertyDescriptor,dn=Object.getOwnPropertyNames,Dn=Object.getPrototypeOf,En=Object.prototype.hasOwnProperty,hn=(m,A)=>function(){return m&&(A=(0,m[dn(m)[0]])(m=0)),A},Ne=(m,A)=>function(){return A||(0,m[dn(m)[0]])((A={exports:{}}).exports,A),A.exports},Fn=(m,A)=>{for(var p in A)Ut(m,p,{get:A[p],enumerable:!0})},jn=(m,A,p,b)=>{if(A&&typeof A=="object"||typeof A=="function")for(let D of dn(A))!En.call(m,D)&&D!==p&&Ut(m,D,{get:()=>A[D],enumerable:!(b=zt(A,D))||b.enumerable});return m},er=(m,A,p)=>(p=m!=null?Ht(Dn(m)):{},jn(A||!m||!m.__esModule?Ut(p,"default",{value:m,enumerable:!0}):p,m)),Qn=m=>jn(Ut({},"__esModule",{value:!0}),m),wr,je=hn({"<define:process>"(){wr={env:{},argv:[]}}}),ri=Ne({"package.json"(m,A){A.exports={version:"2.8.8"}}}),bs=Ne({"node_modules/diff/lib/diff/base.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0}),m.default=A;function A(){}A.prototype={diff:function(D,f){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=d.callback;typeof d=="function"&&(h=d,d={}),this.options=d;var E=this;function x($){return h?(setTimeout(function(){h(void 0,$)},0),!0):$}D=this.castInput(D),f=this.castInput(f),D=this.removeEmpty(this.tokenize(D)),f=this.removeEmpty(this.tokenize(f));var B=f.length,T=D.length,P=1,C=B+T,w=[{newPos:-1,components:[]}],j=this.extractCommon(w[0],f,D,0);if(w[0].newPos+1>=B&&j+1>=T)return x([{value:this.join(f),count:f.length}]);function X(){for(var $=-1*P;$<=P;$+=2){var K=void 0,G=w[$-1],re=w[$+1],te=(re?re.newPos:0)-$;G&&(w[$-1]=void 0);var De=G&&G.newPos+1<B,N=re&&0<=te&&te<T;if(!De&&!N){w[$]=void 0;continue}if(!De||N&&G.newPos<re.newPos?(K=b(re),E.pushComponent(K.components,void 0,!0)):(K=G,K.newPos++,E.pushComponent(K.components,!0,void 0)),te=E.extractCommon(K,f,D,$),K.newPos+1>=B&&te+1>=T)return x(p(E,K.components,f,D,E.useLongestToken));w[$]=K}P++}if(h)(function $(){setTimeout(function(){if(P>C)return h();X()||$()},0)})();else for(;P<=C;){var ne=X();if(ne)return ne}},pushComponent:function(D,f,d){var h=D[D.length-1];h&&h.added===f&&h.removed===d?D[D.length-1]={count:h.count+1,added:f,removed:d}:D.push({count:1,added:f,removed:d})},extractCommon:function(D,f,d,h){for(var E=f.length,x=d.length,B=D.newPos,T=B-h,P=0;B+1<E&&T+1<x&&this.equals(f[B+1],d[T+1]);)B++,T++,P++;return P&&D.components.push({count:P}),D.newPos=B,T},equals:function(D,f){return this.options.comparator?this.options.comparator(D,f):D===f||this.options.ignoreCase&&D.toLowerCase()===f.toLowerCase()},removeEmpty:function(D){for(var f=[],d=0;d<D.length;d++)D[d]&&f.push(D[d]);return f},castInput:function(D){return D},tokenize:function(D){return D.split("")},join:function(D){return D.join("")}};function p(D,f,d,h,E){for(var x=0,B=f.length,T=0,P=0;x<B;x++){var C=f[x];if(C.removed){if(C.value=D.join(h.slice(P,P+C.count)),P+=C.count,x&&f[x-1].added){var w=f[x-1];f[x-1]=f[x],f[x]=w}}else{if(!C.added&&E){var j=d.slice(T,T+C.count);j=j.map(function(ne,$){var K=h[P+$];return K.length>ne.length?K:ne}),C.value=D.join(j)}else C.value=D.join(d.slice(T,T+C.count));T+=C.count,C.added||(P+=C.count)}}var X=f[B-1];return B>1&&typeof X.value=="string"&&(X.added||X.removed)&&D.equals("",X.value)&&(f[B-2].value+=X.value,f.pop()),f}function b(D){return{newPos:D.newPos,components:D.components.slice(0)}}}}),Rs=Ne({"node_modules/diff/lib/diff/array.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0}),m.diffArrays=D,m.arrayDiff=void 0;var A=p(bs());function p(f){return f&&f.__esModule?f:{default:f}}var b=new A.default;m.arrayDiff=b,b.tokenize=function(f){return f.slice()},b.join=b.removeEmpty=function(f){return f};function D(f,d,h){return b.diff(f,d,h)}}}),Di=Ne({"src/document/doc-builders.js"(m,A){je();function p(R){return{type:"concat",parts:R}}function b(R){return{type:"indent",contents:R}}function D(R,y){return{type:"align",contents:y,n:R}}function f(R){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:y.id,contents:R,break:!!y.shouldBreak,expandedStates:y.expandedStates}}function d(R){return D(Number.NEGATIVE_INFINITY,R)}function h(R){return D({type:"root"},R)}function E(R){return D(-1,R)}function x(R,y){return f(R[0],Object.assign(Object.assign({},y),{},{expandedStates:R}))}function B(R){return{type:"fill",parts:R}}function T(R,y){let L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:R,flatContents:y,groupId:L.groupId}}function P(R,y){return{type:"indent-if-break",contents:R,groupId:y.groupId,negate:y.negate}}function C(R){return{type:"line-suffix",contents:R}}var w={type:"line-suffix-boundary"},j={type:"break-parent"},X={type:"trim"},ne={type:"line",hard:!0},$={type:"line",hard:!0,literal:!0},K={type:"line"},G={type:"line",soft:!0},re=p([ne,j]),te=p([$,j]),De={type:"cursor",placeholder:Symbol("cursor")};function N(R,y){let L=[];for(let I=0;I<y.length;I++)I!==0&&L.push(R),L.push(y[I]);return p(L)}function J(R,y,L){let I=R;if(y>0){for(let q=0;q<Math.floor(y/L);++q)I=b(I);I=D(y%L,I),I=D(Number.NEGATIVE_INFINITY,I)}return I}function F(R,y){return{type:"label",label:R,contents:y}}A.exports={concat:p,join:N,line:K,softline:G,hardline:re,literalline:te,group:f,conditionalGroup:x,fill:B,lineSuffix:C,lineSuffixBoundary:w,cursor:De,breakParent:j,ifBreak:T,trim:X,indent:b,indentIfBreak:P,align:D,addAlignmentToDoc:J,markAsRoot:h,dedentToRoot:d,dedent:E,hardlineWithoutBreakParent:ne,literallineWithoutBreakParent:$,label:F}}}),ss=Ne({"src/common/end-of-line.js"(m,A){je();function p(d){let h=d.indexOf("\r");return h>=0?d.charAt(h+1)===`
146
+ `?"crlf":"cr":"lf"}function b(d){switch(d){case"cr":return"\r";case"crlf":return`\r
147
+ `;default:return`
148
+ `}}function D(d,h){let E;switch(h){case`
149
+ `:E=/\n/g;break;case"\r":E=/\r/g;break;case`\r
150
+ `:E=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(h)}.`)}let x=d.match(E);return x?x.length:0}function f(d){return d.replace(/\r\n?/g,`
151
+ `)}A.exports={guessEndOfLine:p,convertEndOfLineToChars:b,countEndOfLineChars:D,normalizeEndOfLine:f}}}),Ur=Ne({"src/utils/get-last.js"(m,A){je();var p=b=>b[b.length-1];A.exports=p}});function Qa(){let{onlyFirst:m=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(A,m?void 0:"g")}var Hr=hn({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){je()}});function Xa(m){if(typeof m!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof m}\``);return m.replace(Qa(),"")}var as=hn({"node_modules/strip-ansi/index.js"(){je(),Hr()}});function ta(m){return Number.isInteger(m)?m>=4352&&(m<=4447||m===9001||m===9002||11904<=m&&m<=12871&&m!==12351||12880<=m&&m<=19903||19968<=m&&m<=42182||43360<=m&&m<=43388||44032<=m&&m<=55203||63744<=m&&m<=64255||65040<=m&&m<=65049||65072<=m&&m<=65131||65281<=m&&m<=65376||65504<=m&&m<=65510||110592<=m&&m<=110593||127488<=m&&m<=127569||131072<=m&&m<=262141):!1}var na=hn({"node_modules/is-fullwidth-code-point/index.js"(){je()}}),ai=Ne({"node_modules/emoji-regex/index.js"(m,A){je(),A.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),yl={};Fn(yl,{default:()=>Dl});function Dl(m){if(typeof m!="string"||m.length===0||(m=Xa(m),m.length===0))return 0;m=m.replace((0,bl.default)()," ");let A=0;for(let p=0;p<m.length;p++){let b=m.codePointAt(p);b<=31||b>=127&&b<=159||b>=768&&b<=879||(b>65535&&p++,A+=ta(b)?2:1)}return A}var bl,Rf=hn({"node_modules/string-width/index.js"(){je(),as(),na(),bl=er(ai())}}),vl=Ne({"src/utils/get-string-width.js"(m,A){je();var p=(Rf(),Qn(yl)).default,b=/[^\x20-\x7F]/;function D(f){return f?b.test(f)?p(f):f.length:0}A.exports=D}}),ra=Ne({"src/document/doc-utils.js"(m,A){je();var p=Ur(),{literalline:b,join:D}=Di(),f=y=>Array.isArray(y)||y&&y.type==="concat",d=y=>{if(Array.isArray(y))return y;if(y.type!=="concat"&&y.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return y.parts},h={};function E(y,L,I,q){let U=[y];for(;U.length>0;){let z=U.pop();if(z===h){I(U.pop());continue}if(I&&U.push(z,h),!L||L(z)!==!1)if(f(z)||z.type==="fill"){let ie=d(z);for(let ce=ie.length,ge=ce-1;ge>=0;--ge)U.push(ie[ge])}else if(z.type==="if-break")z.flatContents&&U.push(z.flatContents),z.breakContents&&U.push(z.breakContents);else if(z.type==="group"&&z.expandedStates)if(q)for(let ie=z.expandedStates.length,ce=ie-1;ce>=0;--ce)U.push(z.expandedStates[ce]);else U.push(z.contents);else z.contents&&U.push(z.contents)}}function x(y,L){let I=new Map;return q(y);function q(z){if(I.has(z))return I.get(z);let ie=U(z);return I.set(z,ie),ie}function U(z){if(Array.isArray(z))return L(z.map(q));if(z.type==="concat"||z.type==="fill"){let ie=z.parts.map(q);return L(Object.assign(Object.assign({},z),{},{parts:ie}))}if(z.type==="if-break"){let ie=z.breakContents&&q(z.breakContents),ce=z.flatContents&&q(z.flatContents);return L(Object.assign(Object.assign({},z),{},{breakContents:ie,flatContents:ce}))}if(z.type==="group"&&z.expandedStates){let ie=z.expandedStates.map(q),ce=ie[0];return L(Object.assign(Object.assign({},z),{},{contents:ce,expandedStates:ie}))}if(z.contents){let ie=q(z.contents);return L(Object.assign(Object.assign({},z),{},{contents:ie}))}return L(z)}}function B(y,L,I){let q=I,U=!1;function z(ie){let ce=L(ie);if(ce!==void 0&&(U=!0,q=ce),U)return!1}return E(y,z),q}function T(y){if(y.type==="group"&&y.break||y.type==="line"&&y.hard||y.type==="break-parent")return!0}function P(y){return B(y,T,!1)}function C(y){if(y.length>0){let L=p(y);!L.expandedStates&&!L.break&&(L.break="propagated")}return null}function w(y){let L=new Set,I=[];function q(z){if(z.type==="break-parent"&&C(I),z.type==="group"){if(I.push(z),L.has(z))return!1;L.add(z)}}function U(z){z.type==="group"&&I.pop().break&&C(I)}E(y,q,U,!0)}function j(y){return y.type==="line"&&!y.hard?y.soft?"":" ":y.type==="if-break"?y.flatContents||"":y}function X(y){return x(y,j)}var ne=(y,L)=>y&&y.type==="line"&&y.hard&&L&&L.type==="break-parent";function $(y){if(!y)return y;if(f(y)||y.type==="fill"){let L=d(y);for(;L.length>1&&ne(...L.slice(-2));)L.length-=2;if(L.length>0){let I=$(p(L));L[L.length-1]=I}return Array.isArray(y)?L:Object.assign(Object.assign({},y),{},{parts:L})}switch(y.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let L=$(y.contents);return Object.assign(Object.assign({},y),{},{contents:L})}case"if-break":{let L=$(y.breakContents),I=$(y.flatContents);return Object.assign(Object.assign({},y),{},{breakContents:L,flatContents:I})}}return y}function K(y){return $(re(y))}function G(y){switch(y.type){case"fill":if(y.parts.every(I=>I===""))return"";break;case"group":if(!y.contents&&!y.id&&!y.break&&!y.expandedStates)return"";if(y.contents.type==="group"&&y.contents.id===y.id&&y.contents.break===y.break&&y.contents.expandedStates===y.expandedStates)return y.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!y.contents)return"";break;case"if-break":if(!y.flatContents&&!y.breakContents)return"";break}if(!f(y))return y;let L=[];for(let I of d(y)){if(!I)continue;let[q,...U]=f(I)?d(I):[I];typeof q=="string"&&typeof p(L)=="string"?L[L.length-1]+=q:L.push(q),L.push(...U)}return L.length===0?"":L.length===1?L[0]:Array.isArray(y)?L:Object.assign(Object.assign({},y),{},{parts:L})}function re(y){return x(y,L=>G(L))}function te(y){let L=[],I=y.filter(Boolean);for(;I.length>0;){let q=I.shift();if(q){if(f(q)){I.unshift(...d(q));continue}if(L.length>0&&typeof p(L)=="string"&&typeof q=="string"){L[L.length-1]+=q;continue}L.push(q)}}return L}function De(y){return x(y,L=>Array.isArray(L)?te(L):L.parts?Object.assign(Object.assign({},L),{},{parts:te(L.parts)}):L)}function N(y){return x(y,L=>typeof L=="string"&&L.includes(`
152
+ `)?J(L):L)}function J(y){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:b;return D(L,y.split(`
153
+ `)).parts}function F(y){if(y.type==="line")return!0}function R(y){return B(y,F,!1)}A.exports={isConcat:f,getDocParts:d,willBreak:P,traverseDoc:E,findInDoc:B,mapDoc:x,propagateBreaks:w,removeLines:X,stripTrailingHardline:K,normalizeParts:te,normalizeDoc:De,cleanDoc:re,replaceTextEndOfLine:J,replaceEndOfLine:N,canBreak:R}}}),$f=Ne({"src/document/doc-printer.js"(m,A){je();var{convertEndOfLineToChars:p}=ss(),b=Ur(),D=vl(),{fill:f,cursor:d,indent:h}=Di(),{isConcat:E,getDocParts:x}=ra(),B,T=1,P=2;function C(){return{value:"",length:0,queue:[]}}function w(G,re){return X(G,{type:"indent"},re)}function j(G,re,te){return re===Number.NEGATIVE_INFINITY?G.root||C():re<0?X(G,{type:"dedent"},te):re?re.type==="root"?Object.assign(Object.assign({},G),{},{root:G}):X(G,{type:typeof re=="string"?"stringAlign":"numberAlign",n:re},te):G}function X(G,re,te){let De=re.type==="dedent"?G.queue.slice(0,-1):[...G.queue,re],N="",J=0,F=0,R=0;for(let ie of De)switch(ie.type){case"indent":I(),te.useTabs?y(1):L(te.tabWidth);break;case"stringAlign":I(),N+=ie.n,J+=ie.n.length;break;case"numberAlign":F+=1,R+=ie.n;break;default:throw new Error(`Unexpected type '${ie.type}'`)}return U(),Object.assign(Object.assign({},G),{},{value:N,length:J,queue:De});function y(ie){N+=" ".repeat(ie),J+=te.tabWidth*ie}function L(ie){N+=" ".repeat(ie),J+=ie}function I(){te.useTabs?q():U()}function q(){F>0&&y(F),z()}function U(){R>0&&L(R),z()}function z(){F=0,R=0}}function ne(G){if(G.length===0)return 0;let re=0;for(;G.length>0&&typeof b(G)=="string"&&/^[\t ]*$/.test(b(G));)re+=G.pop().length;if(G.length>0&&typeof b(G)=="string"){let te=b(G).replace(/[\t ]*$/,"");re+=b(G).length-te.length,G[G.length-1]=te}return re}function $(G,re,te,De,N){let J=re.length,F=[G],R=[];for(;te>=0;){if(F.length===0){if(J===0)return!0;F.push(re[--J]);continue}let{mode:y,doc:L}=F.pop();if(typeof L=="string")R.push(L),te-=D(L);else if(E(L)||L.type==="fill"){let I=x(L);for(let q=I.length-1;q>=0;q--)F.push({mode:y,doc:I[q]})}else switch(L.type){case"indent":case"align":case"indent-if-break":case"label":F.push({mode:y,doc:L.contents});break;case"trim":te+=ne(R);break;case"group":{if(N&&L.break)return!1;let I=L.break?T:y,q=L.expandedStates&&I===T?b(L.expandedStates):L.contents;F.push({mode:I,doc:q});break}case"if-break":{let I=(L.groupId?B[L.groupId]||P:y)===T?L.breakContents:L.flatContents;I&&F.push({mode:y,doc:I});break}case"line":if(y===T||L.hard)return!0;L.soft||(R.push(" "),te--);break;case"line-suffix":De=!0;break;case"line-suffix-boundary":if(De)return!1;break}}return!1}function K(G,re){B={};let te=re.printWidth,De=p(re.endOfLine),N=0,J=[{ind:C(),mode:T,doc:G}],F=[],R=!1,y=[];for(;J.length>0;){let{ind:I,mode:q,doc:U}=J.pop();if(typeof U=="string"){let z=De!==`
154
+ `?U.replace(/\n/g,De):U;F.push(z),N+=D(z)}else if(E(U)){let z=x(U);for(let ie=z.length-1;ie>=0;ie--)J.push({ind:I,mode:q,doc:z[ie]})}else switch(U.type){case"cursor":F.push(d.placeholder);break;case"indent":J.push({ind:w(I,re),mode:q,doc:U.contents});break;case"align":J.push({ind:j(I,U.n,re),mode:q,doc:U.contents});break;case"trim":N-=ne(F);break;case"group":switch(q){case P:if(!R){J.push({ind:I,mode:U.break?T:P,doc:U.contents});break}case T:{R=!1;let z={ind:I,mode:P,doc:U.contents},ie=te-N,ce=y.length>0;if(!U.break&&$(z,J,ie,ce))J.push(z);else if(U.expandedStates){let ge=b(U.expandedStates);if(U.break){J.push({ind:I,mode:T,doc:ge});break}else for(let fe=1;fe<U.expandedStates.length+1;fe++)if(fe>=U.expandedStates.length){J.push({ind:I,mode:T,doc:ge});break}else{let _e=U.expandedStates[fe],se={ind:I,mode:P,doc:_e};if($(se,J,ie,ce)){J.push(se);break}}}else J.push({ind:I,mode:T,doc:U.contents});break}}U.id&&(B[U.id]=b(J).mode);break;case"fill":{let z=te-N,{parts:ie}=U;if(ie.length===0)break;let[ce,ge]=ie,fe={ind:I,mode:P,doc:ce},_e={ind:I,mode:T,doc:ce},se=$(fe,[],z,y.length>0,!0);if(ie.length===1){se?J.push(fe):J.push(_e);break}let Ue={ind:I,mode:P,doc:ge},me={ind:I,mode:T,doc:ge};if(ie.length===2){se?J.push(Ue,fe):J.push(me,_e);break}ie.splice(0,2);let ue={ind:I,mode:q,doc:f(ie)},Ve=ie[0];$({ind:I,mode:P,doc:[ce,ge,Ve]},[],z,y.length>0,!0)?J.push(ue,Ue,fe):se?J.push(ue,me,fe):J.push(ue,me,_e);break}case"if-break":case"indent-if-break":{let z=U.groupId?B[U.groupId]:q;if(z===T){let ie=U.type==="if-break"?U.breakContents:U.negate?U.contents:h(U.contents);ie&&J.push({ind:I,mode:q,doc:ie})}if(z===P){let ie=U.type==="if-break"?U.flatContents:U.negate?h(U.contents):U.contents;ie&&J.push({ind:I,mode:q,doc:ie})}break}case"line-suffix":y.push({ind:I,mode:q,doc:U.contents});break;case"line-suffix-boundary":y.length>0&&J.push({ind:I,mode:q,doc:{type:"line",hard:!0}});break;case"line":switch(q){case P:if(U.hard)R=!0;else{U.soft||(F.push(" "),N+=1);break}case T:if(y.length>0){J.push({ind:I,mode:q,doc:U},...y.reverse()),y.length=0;break}U.literal?I.root?(F.push(De,I.root.value),N=I.root.length):(F.push(De),N=0):(N-=ne(F),F.push(De+I.value),N=I.length);break}break;case"label":J.push({ind:I,mode:q,doc:U.contents});break}J.length===0&&y.length>0&&(J.push(...y.reverse()),y.length=0)}let L=F.indexOf(d.placeholder);if(L!==-1){let I=F.indexOf(d.placeholder,L+1),q=F.slice(0,L).join(""),U=F.slice(L+1,I).join(""),z=F.slice(I+1).join("");return{formatted:q+U+z,cursorNodeStart:q.length,cursorNodeText:U}}return{formatted:F.join("")}}A.exports={printDocToString:K}}}),Vf=Ne({"src/document/doc-debug.js"(m,A){je();var{isConcat:p,getDocParts:b}=ra();function D(d){if(!d)return"";if(p(d)){let h=[];for(let E of b(d))if(p(E))h.push(...D(E).parts);else{let x=D(E);x!==""&&h.push(x)}return{type:"concat",parts:h}}return d.type==="if-break"?Object.assign(Object.assign({},d),{},{breakContents:D(d.breakContents),flatContents:D(d.flatContents)}):d.type==="group"?Object.assign(Object.assign({},d),{},{contents:D(d.contents),expandedStates:d.expandedStates&&d.expandedStates.map(D)}):d.type==="fill"?{type:"fill",parts:d.parts.map(D)}:d.contents?Object.assign(Object.assign({},d),{},{contents:D(d.contents)}):d}function f(d){let h=Object.create(null),E=new Set;return x(D(d));function x(T,P,C){if(typeof T=="string")return JSON.stringify(T);if(p(T)){let w=b(T).map(x).filter(Boolean);return w.length===1?w[0]:`[${w.join(", ")}]`}if(T.type==="line"){let w=Array.isArray(C)&&C[P+1]&&C[P+1].type==="break-parent";return T.literal?w?"literalline":"literallineWithoutBreakParent":T.hard?w?"hardline":"hardlineWithoutBreakParent":T.soft?"softline":"line"}if(T.type==="break-parent")return Array.isArray(C)&&C[P-1]&&C[P-1].type==="line"&&C[P-1].hard?void 0:"breakParent";if(T.type==="trim")return"trim";if(T.type==="indent")return"indent("+x(T.contents)+")";if(T.type==="align")return T.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+x(T.contents)+")":T.n<0?"dedent("+x(T.contents)+")":T.n.type==="root"?"markAsRoot("+x(T.contents)+")":"align("+JSON.stringify(T.n)+", "+x(T.contents)+")";if(T.type==="if-break")return"ifBreak("+x(T.breakContents)+(T.flatContents?", "+x(T.flatContents):"")+(T.groupId?(T.flatContents?"":', ""')+`, { groupId: ${B(T.groupId)} }`:"")+")";if(T.type==="indent-if-break"){let w=[];T.negate&&w.push("negate: true"),T.groupId&&w.push(`groupId: ${B(T.groupId)}`);let j=w.length>0?`, { ${w.join(", ")} }`:"";return`indentIfBreak(${x(T.contents)}${j})`}if(T.type==="group"){let w=[];T.break&&T.break!=="propagated"&&w.push("shouldBreak: true"),T.id&&w.push(`id: ${B(T.id)}`);let j=w.length>0?`, { ${w.join(", ")} }`:"";return T.expandedStates?`conditionalGroup([${T.expandedStates.map(X=>x(X)).join(",")}]${j})`:`group(${x(T.contents)}${j})`}if(T.type==="fill")return`fill([${T.parts.map(w=>x(w)).join(", ")}])`;if(T.type==="line-suffix")return"lineSuffix("+x(T.contents)+")";if(T.type==="line-suffix-boundary")return"lineSuffixBoundary";if(T.type==="label")return`label(${JSON.stringify(T.label)}, ${x(T.contents)})`;throw new Error("Unknown doc type "+T.type)}function B(T){if(typeof T!="symbol")return JSON.stringify(String(T));if(T in h)return h[T];let P=String(T).slice(7,-1)||"symbol";for(let C=0;;C++){let w=P+(C>0?` #${C}`:"");if(!E.has(w))return E.add(w),h[T]=`Symbol.for(${JSON.stringify(w)})`}}}A.exports={printDocToDebug:f}}}),Nn=Ne({"src/document/index.js"(m,A){je(),A.exports={builders:Di(),printer:$f(),utils:ra(),debug:Vf()}}}),El={};Fn(El,{default:()=>qf});function qf(m){if(typeof m!="string")throw new TypeError("Expected a string");return m.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Uf=hn({"node_modules/escape-string-regexp/index.js"(){je()}}),Al=Ne({"node_modules/semver/internal/debug.js"(m,A){je();var p=typeof wr=="object"&&wr.env&&wr.env.NODE_DEBUG&&/\bsemver\b/i.test(wr.env.NODE_DEBUG)?function(){for(var b=arguments.length,D=new Array(b),f=0;f<b;f++)D[f]=arguments[f];return console.error("SEMVER",...D)}:()=>{};A.exports=p}}),Y=Ne({"node_modules/semver/internal/constants.js"(m,A){je();var p="2.0.0",b=256,D=Number.MAX_SAFE_INTEGER||9007199254740991,f=16;A.exports={SEMVER_SPEC_VERSION:p,MAX_LENGTH:b,MAX_SAFE_INTEGER:D,MAX_SAFE_COMPONENT_LENGTH:f}}}),g=Ne({"node_modules/semver/internal/re.js"(m,A){je();var{MAX_SAFE_COMPONENT_LENGTH:p}=Y(),b=Al();m=A.exports={};var D=m.re=[],f=m.src=[],d=m.t={},h=0,E=(x,B,T)=>{let P=h++;b(x,P,B),d[x]=P,f[P]=B,D[P]=new RegExp(B,T?"g":void 0)};E("NUMERICIDENTIFIER","0|[1-9]\\d*"),E("NUMERICIDENTIFIERLOOSE","[0-9]+"),E("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),E("MAINVERSION",`(${f[d.NUMERICIDENTIFIER]})\\.(${f[d.NUMERICIDENTIFIER]})\\.(${f[d.NUMERICIDENTIFIER]})`),E("MAINVERSIONLOOSE",`(${f[d.NUMERICIDENTIFIERLOOSE]})\\.(${f[d.NUMERICIDENTIFIERLOOSE]})\\.(${f[d.NUMERICIDENTIFIERLOOSE]})`),E("PRERELEASEIDENTIFIER",`(?:${f[d.NUMERICIDENTIFIER]}|${f[d.NONNUMERICIDENTIFIER]})`),E("PRERELEASEIDENTIFIERLOOSE",`(?:${f[d.NUMERICIDENTIFIERLOOSE]}|${f[d.NONNUMERICIDENTIFIER]})`),E("PRERELEASE",`(?:-(${f[d.PRERELEASEIDENTIFIER]}(?:\\.${f[d.PRERELEASEIDENTIFIER]})*))`),E("PRERELEASELOOSE",`(?:-?(${f[d.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${f[d.PRERELEASEIDENTIFIERLOOSE]})*))`),E("BUILDIDENTIFIER","[0-9A-Za-z-]+"),E("BUILD",`(?:\\+(${f[d.BUILDIDENTIFIER]}(?:\\.${f[d.BUILDIDENTIFIER]})*))`),E("FULLPLAIN",`v?${f[d.MAINVERSION]}${f[d.PRERELEASE]}?${f[d.BUILD]}?`),E("FULL",`^${f[d.FULLPLAIN]}$`),E("LOOSEPLAIN",`[v=\\s]*${f[d.MAINVERSIONLOOSE]}${f[d.PRERELEASELOOSE]}?${f[d.BUILD]}?`),E("LOOSE",`^${f[d.LOOSEPLAIN]}$`),E("GTLT","((?:<|>)?=?)"),E("XRANGEIDENTIFIERLOOSE",`${f[d.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),E("XRANGEIDENTIFIER",`${f[d.NUMERICIDENTIFIER]}|x|X|\\*`),E("XRANGEPLAIN",`[v=\\s]*(${f[d.XRANGEIDENTIFIER]})(?:\\.(${f[d.XRANGEIDENTIFIER]})(?:\\.(${f[d.XRANGEIDENTIFIER]})(?:${f[d.PRERELEASE]})?${f[d.BUILD]}?)?)?`),E("XRANGEPLAINLOOSE",`[v=\\s]*(${f[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${f[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${f[d.XRANGEIDENTIFIERLOOSE]})(?:${f[d.PRERELEASELOOSE]})?${f[d.BUILD]}?)?)?`),E("XRANGE",`^${f[d.GTLT]}\\s*${f[d.XRANGEPLAIN]}$`),E("XRANGELOOSE",`^${f[d.GTLT]}\\s*${f[d.XRANGEPLAINLOOSE]}$`),E("COERCE",`(^|[^\\d])(\\d{1,${p}})(?:\\.(\\d{1,${p}}))?(?:\\.(\\d{1,${p}}))?(?:$|[^\\d])`),E("COERCERTL",f[d.COERCE],!0),E("LONETILDE","(?:~>?)"),E("TILDETRIM",`(\\s*)${f[d.LONETILDE]}\\s+`,!0),m.tildeTrimReplace="$1~",E("TILDE",`^${f[d.LONETILDE]}${f[d.XRANGEPLAIN]}$`),E("TILDELOOSE",`^${f[d.LONETILDE]}${f[d.XRANGEPLAINLOOSE]}$`),E("LONECARET","(?:\\^)"),E("CARETTRIM",`(\\s*)${f[d.LONECARET]}\\s+`,!0),m.caretTrimReplace="$1^",E("CARET",`^${f[d.LONECARET]}${f[d.XRANGEPLAIN]}$`),E("CARETLOOSE",`^${f[d.LONECARET]}${f[d.XRANGEPLAINLOOSE]}$`),E("COMPARATORLOOSE",`^${f[d.GTLT]}\\s*(${f[d.LOOSEPLAIN]})$|^$`),E("COMPARATOR",`^${f[d.GTLT]}\\s*(${f[d.FULLPLAIN]})$|^$`),E("COMPARATORTRIM",`(\\s*)${f[d.GTLT]}\\s*(${f[d.LOOSEPLAIN]}|${f[d.XRANGEPLAIN]})`,!0),m.comparatorTrimReplace="$1$2$3",E("HYPHENRANGE",`^\\s*(${f[d.XRANGEPLAIN]})\\s+-\\s+(${f[d.XRANGEPLAIN]})\\s*$`),E("HYPHENRANGELOOSE",`^\\s*(${f[d.XRANGEPLAINLOOSE]})\\s+-\\s+(${f[d.XRANGEPLAINLOOSE]})\\s*$`),E("STAR","(<|>)?=?\\s*\\*"),E("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),E("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),W=Ne({"node_modules/semver/internal/parse-options.js"(m,A){je();var p=["includePrerelease","loose","rtl"],b=D=>D?typeof D!="object"?{loose:!0}:p.filter(f=>D[f]).reduce((f,d)=>(f[d]=!0,f),{}):{};A.exports=b}}),xe=Ne({"node_modules/semver/internal/identifiers.js"(m,A){je();var p=/^[0-9]+$/,b=(f,d)=>{let h=p.test(f),E=p.test(d);return h&&E&&(f=+f,d=+d),f===d?0:h&&!E?-1:E&&!h?1:f<d?-1:1},D=(f,d)=>b(d,f);A.exports={compareIdentifiers:b,rcompareIdentifiers:D}}}),ke=Ne({"node_modules/semver/classes/semver.js"(m,A){je();var p=Al(),{MAX_LENGTH:b,MAX_SAFE_INTEGER:D}=Y(),{re:f,t:d}=g(),h=W(),{compareIdentifiers:E}=xe(),x=class{constructor(B,T){if(T=h(T),B instanceof x){if(B.loose===!!T.loose&&B.includePrerelease===!!T.includePrerelease)return B;B=B.version}else if(typeof B!="string")throw new TypeError(`Invalid Version: ${B}`);if(B.length>b)throw new TypeError(`version is longer than ${b} characters`);p("SemVer",B,T),this.options=T,this.loose=!!T.loose,this.includePrerelease=!!T.includePrerelease;let P=B.trim().match(T.loose?f[d.LOOSE]:f[d.FULL]);if(!P)throw new TypeError(`Invalid Version: ${B}`);if(this.raw=B,this.major=+P[1],this.minor=+P[2],this.patch=+P[3],this.major>D||this.major<0)throw new TypeError("Invalid major version");if(this.minor>D||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>D||this.patch<0)throw new TypeError("Invalid patch version");P[4]?this.prerelease=P[4].split(".").map(C=>{if(/^[0-9]+$/.test(C)){let w=+C;if(w>=0&&w<D)return w}return C}):this.prerelease=[],this.build=P[5]?P[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(B){if(p("SemVer.compare",this.version,this.options,B),!(B instanceof x)){if(typeof B=="string"&&B===this.version)return 0;B=new x(B,this.options)}return B.version===this.version?0:this.compareMain(B)||this.comparePre(B)}compareMain(B){return B instanceof x||(B=new x(B,this.options)),E(this.major,B.major)||E(this.minor,B.minor)||E(this.patch,B.patch)}comparePre(B){if(B instanceof x||(B=new x(B,this.options)),this.prerelease.length&&!B.prerelease.length)return-1;if(!this.prerelease.length&&B.prerelease.length)return 1;if(!this.prerelease.length&&!B.prerelease.length)return 0;let T=0;do{let P=this.prerelease[T],C=B.prerelease[T];if(p("prerelease compare",T,P,C),P===void 0&&C===void 0)return 0;if(C===void 0)return 1;if(P===void 0)return-1;if(P!==C)return E(P,C)}while(++T)}compareBuild(B){B instanceof x||(B=new x(B,this.options));let T=0;do{let P=this.build[T],C=B.build[T];if(p("prerelease compare",T,P,C),P===void 0&&C===void 0)return 0;if(C===void 0)return 1;if(P===void 0)return-1;if(P!==C)return E(P,C)}while(++T)}inc(B,T){switch(B){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",T);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",T);break;case"prepatch":this.prerelease.length=0,this.inc("patch",T),this.inc("pre",T);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",T),this.inc("pre",T);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let P=this.prerelease.length;for(;--P>=0;)typeof this.prerelease[P]=="number"&&(this.prerelease[P]++,P=-2);P===-1&&this.prerelease.push(0)}T&&(E(this.prerelease[0],T)===0?isNaN(this.prerelease[1])&&(this.prerelease=[T,0]):this.prerelease=[T,0]);break;default:throw new Error(`invalid increment argument: ${B}`)}return this.format(),this.raw=this.version,this}};A.exports=x}}),Pe=Ne({"node_modules/semver/functions/compare.js"(m,A){je();var p=ke(),b=(D,f,d)=>new p(D,d).compare(new p(f,d));A.exports=b}}),Ke=Ne({"node_modules/semver/functions/lt.js"(m,A){je();var p=Pe(),b=(D,f,d)=>p(D,f,d)<0;A.exports=b}}),ht=Ne({"node_modules/semver/functions/gte.js"(m,A){je();var p=Pe(),b=(D,f,d)=>p(D,f,d)>=0;A.exports=b}}),$t=Ne({"src/utils/arrayify.js"(m,A){je(),A.exports=(p,b)=>Object.entries(p).map(D=>{let[f,d]=D;return Object.assign({[b]:f},d)})}}),it=Ne({"node_modules/outdent/lib/index.js"(m,A){je(),Object.defineProperty(m,"__esModule",{value:!0}),m.outdent=void 0;function p(){for(var $=[],K=0;K<arguments.length;K++)$[K]=arguments[K]}function b(){return typeof WeakMap<"u"?new WeakMap:D()}function D(){return{add:p,delete:p,get:p,set:p,has:function($){return!1}}}var f=Object.prototype.hasOwnProperty,d=function($,K){return f.call($,K)};function h($,K){for(var G in K)d(K,G)&&($[G]=K[G]);return $}var E=/^[ \t]*(?:\r\n|\r|\n)/,x=/(?:\r\n|\r|\n)[ \t]*$/,B=/^(?:[\r\n]|$)/,T=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,P=/^[ \t]*[\r\n][ \t\r\n]*$/;function C($,K,G){var re=0,te=$[0].match(T);te&&(re=te[1].length);var De="(\\r\\n|\\r|\\n).{0,"+re+"}",N=new RegExp(De,"g");K&&($=$.slice(1));var J=G.newline,F=G.trimLeadingNewline,R=G.trimTrailingNewline,y=typeof J=="string",L=$.length,I=$.map(function(q,U){return q=q.replace(N,"$1"),U===0&&F&&(q=q.replace(E,"")),U===L-1&&R&&(q=q.replace(x,"")),y&&(q=q.replace(/\r\n|\n|\r/g,function(z){return J})),q});return I}function w($,K){for(var G="",re=0,te=$.length;re<te;re++)G+=$[re],re<te-1&&(G+=K[re]);return G}function j($){return d($,"raw")&&d($,"length")}function X($){var K=b(),G=b();function re(De){for(var N=[],J=1;J<arguments.length;J++)N[J-1]=arguments[J];if(j(De)){var F=De,R=(N[0]===re||N[0]===ne)&&P.test(F[0])&&B.test(F[1]),y=R?G:K,L=y.get(F);if(L||(L=C(F,R,$),y.set(F,L)),N.length===0)return L[0];var I=w(L,R?N.slice(1):N);return I}else return X(h(h({},$),De||{}))}var te=h(re,{string:function(De){return C([De],!1,$)[0]}});return te}var ne=X({trimLeadingNewline:!0,trimTrailingNewline:!0});if(m.outdent=ne,m.default=ne,typeof A<"u")try{A.exports=ne,Object.defineProperty(ne,"__esModule",{value:!0}),ne.default=ne,ne.outdent=ne}catch{}}}),gt=Ne({"src/main/core-options.js"(m,A){je();var{outdent:p}=it(),b="Config",D="Editor",f="Format",d="Other",h="Output",E="Global",x="Special",B={cursorOffset:{since:"1.4.0",category:x,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:p`
155
+ Print (to stderr) where a cursor at the given position would move to after formatting.
156
+ This option cannot be used with --range-start and --range-end.
157
+ `,cliCategory:D},endOfLine:{since:"1.15.0",category:E,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:p`
158
+ Maintain existing
159
+ (mixed values within one file are normalised by looking at what's used after the first line)
160
+ `}]},filepath:{since:"1.4.0",category:x,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:d,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:x,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:d},parser:{since:"0.0.10",category:E,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:T=>typeof T=="string"||typeof T=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:E,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:T=>typeof T=="string"||typeof T=="object",cliName:"plugin",cliCategory:b},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:E,description:p`
161
+ Custom directory that contains prettier plugins in node_modules subdirectory.
162
+ Overrides default behavior when plugins are searched relatively to the location of Prettier.
163
+ Multiple values are accepted.
164
+ `,exception:T=>typeof T=="string"||typeof T=="object",cliName:"plugin-search-dir",cliCategory:b},printWidth:{since:"0.0.0",category:E,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:x,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:p`
165
+ Format code ending at a given character offset (exclusive).
166
+ The range will extend forwards to the end of the selected statement.
167
+ This option cannot be used with --cursor-offset.
168
+ `,cliCategory:D},rangeStart:{since:"1.4.0",category:x,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:p`
169
+ Format code starting at a given character offset.
170
+ The range will extend backwards to the start of the first line containing the selected statement.
171
+ This option cannot be used with --cursor-offset.
172
+ `,cliCategory:D},requirePragma:{since:"1.7.0",category:x,type:"boolean",default:!1,description:p`
173
+ Require either '@prettier' or '@format' to be present in the file's first docblock comment
174
+ in order for it to be formatted.
175
+ `,cliCategory:d},tabWidth:{type:"int",category:E,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:E,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:E,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};A.exports={CATEGORY_CONFIG:b,CATEGORY_EDITOR:D,CATEGORY_FORMAT:f,CATEGORY_OTHER:d,CATEGORY_OUTPUT:h,CATEGORY_GLOBAL:E,CATEGORY_SPECIAL:x,options:B}}}),Tt=Ne({"src/main/support.js"(m,A){je();var p={compare:Pe(),lt:Ke(),gte:ht()},b=$t(),D=ri().version,f=gt().options;function d(){let{plugins:E=[],showUnreleased:x=!1,showDeprecated:B=!1,showInternal:T=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},P=D.split("-",1)[0],C=E.flatMap($=>$.languages||[]).filter(j),w=b(Object.assign({},...E.map($=>{let{options:K}=$;return K}),f),"name").filter($=>j($)&&X($)).sort(($,K)=>$.name===K.name?0:$.name<K.name?-1:1).map(ne).map($=>{$=Object.assign({},$),Array.isArray($.default)&&($.default=$.default.length===1?$.default[0].value:$.default.filter(j).sort((G,re)=>p.compare(re.since,G.since))[0].value),Array.isArray($.choices)&&($.choices=$.choices.filter(G=>j(G)&&X(G)),$.name==="parser"&&h($,C,E));let K=Object.fromEntries(E.filter(G=>G.defaultOptions&&G.defaultOptions[$.name]!==void 0).map(G=>[G.name,G.defaultOptions[$.name]]));return Object.assign(Object.assign({},$),{},{pluginDefaults:K})});return{languages:C,options:w};function j($){return x||!("since"in $)||$.since&&p.gte(P,$.since)}function X($){return B||!("deprecated"in $)||$.deprecated&&p.lt(P,$.deprecated)}function ne($){return T?$:St($,Xe)}}function h(E,x,B){let T=new Set(E.choices.map(P=>P.value));for(let P of x)if(P.parsers){for(let C of P.parsers)if(!T.has(C)){T.add(C);let w=B.find(X=>X.parsers&&X.parsers[C]),j=P.name;w&&w.name&&(j+=` (plugin: ${w.name})`),E.choices.push({value:C,description:j})}}}A.exports={getSupportInfo:d}}}),jt=Ne({"src/utils/is-non-empty-array.js"(m,A){je();function p(b){return Array.isArray(b)&&b.length>0}A.exports=p}}),kt=Ne({"src/utils/text/skip.js"(m,A){je();function p(h){return(E,x,B)=>{let T=B&&B.backwards;if(x===!1)return!1;let{length:P}=E,C=x;for(;C>=0&&C<P;){let w=E.charAt(C);if(h instanceof RegExp){if(!h.test(w))return C}else if(!h.includes(w))return C;T?C--:C++}return C===-1||C===P?C:!1}}var b=p(/\s/),D=p(" "),f=p(",; "),d=p(/[^\n\r]/);A.exports={skipWhitespace:b,skipSpaces:D,skipToLineEnd:f,skipEverythingButNewLine:d}}}),Jt=Ne({"src/utils/text/skip-inline-comment.js"(m,A){je();function p(b,D){if(D===!1)return!1;if(b.charAt(D)==="/"&&b.charAt(D+1)==="*"){for(let f=D+2;f<b.length;++f)if(b.charAt(f)==="*"&&b.charAt(f+1)==="/")return f+2}return D}A.exports=p}}),Gt=Ne({"src/utils/text/skip-trailing-comment.js"(m,A){je();var{skipEverythingButNewLine:p}=kt();function b(D,f){return f===!1?!1:D.charAt(f)==="/"&&D.charAt(f+1)==="/"?p(D,f):f}A.exports=b}}),Zt=Ne({"src/utils/text/skip-newline.js"(m,A){je();function p(b,D,f){let d=f&&f.backwards;if(D===!1)return!1;let h=b.charAt(D);if(d){if(b.charAt(D-1)==="\r"&&h===`
176
+ `)return D-2;if(h===`
177
+ `||h==="\r"||h==="\u2028"||h==="\u2029")return D-1}else{if(h==="\r"&&b.charAt(D+1)===`
178
+ `)return D+2;if(h===`
179
+ `||h==="\r"||h==="\u2028"||h==="\u2029")return D+1}return D}A.exports=p}}),vn=Ne({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(m,A){je();var p=Jt(),b=Zt(),D=Gt(),{skipSpaces:f}=kt();function d(h,E){let x=null,B=E;for(;B!==x;)x=B,B=f(h,B),B=p(h,B),B=D(h,B),B=b(h,B);return B}A.exports=d}}),ye=Ne({"src/common/util.js"(m,A){je();var{default:p}=(Uf(),Qn(El)),b=Ur(),{getSupportInfo:D}=Tt(),f=jt(),d=vl(),{skipWhitespace:h,skipSpaces:E,skipToLineEnd:x,skipEverythingButNewLine:B}=kt(),T=Jt(),P=Gt(),C=Zt(),w=vn(),j=me=>me[me.length-2];function X(me){return(ue,Ve,tt)=>{let Ge=tt&&tt.backwards;if(Ve===!1)return!1;let{length:dt}=ue,be=Ve;for(;be>=0&&be<dt;){let Me=ue.charAt(be);if(me instanceof RegExp){if(!me.test(Me))return be}else if(!me.includes(Me))return be;Ge?be--:be++}return be===-1||be===dt?be:!1}}function ne(me,ue){let Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},tt=E(me,Ve.backwards?ue-1:ue,Ve),Ge=C(me,tt,Ve);return tt!==Ge}function $(me,ue,Ve){for(let tt=ue;tt<Ve;++tt)if(me.charAt(tt)===`
180
+ `)return!0;return!1}function K(me,ue,Ve){let tt=Ve(ue)-1;tt=E(me,tt,{backwards:!0}),tt=C(me,tt,{backwards:!0}),tt=E(me,tt,{backwards:!0});let Ge=C(me,tt,{backwards:!0});return tt!==Ge}function G(me,ue){let Ve=null,tt=ue;for(;tt!==Ve;)Ve=tt,tt=x(me,tt),tt=T(me,tt),tt=E(me,tt);return tt=P(me,tt),tt=C(me,tt),tt!==!1&&ne(me,tt)}function re(me,ue,Ve){return G(me,Ve(ue))}function te(me,ue,Ve){return w(me,Ve(ue))}function De(me,ue,Ve){return me.charAt(te(me,ue,Ve))}function N(me,ue){let Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return E(me,Ve.backwards?ue-1:ue,Ve)!==ue}function J(me,ue){let Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,tt=0;for(let Ge=Ve;Ge<me.length;++Ge)me[Ge]===" "?tt=tt+ue-tt%ue:tt++;return tt}function F(me,ue){let Ve=me.lastIndexOf(`
181
+ `);return Ve===-1?0:J(me.slice(Ve+1).match(/^[\t ]*/)[0],ue)}function R(me,ue){let Ve={quote:'"',regex:/"/g,escaped:"&quot;"},tt={quote:"'",regex:/'/g,escaped:"&apos;"},Ge=ue==="'"?tt:Ve,dt=Ge===tt?Ve:tt,be=Ge;if(me.includes(Ge.quote)||me.includes(dt.quote)){let Me=(me.match(Ge.regex)||[]).length,ct=(me.match(dt.regex)||[]).length;be=Me>ct?dt:Ge}return be}function y(me,ue){let Ve=me.slice(1,-1),tt=ue.parser==="json"||ue.parser==="json5"&&ue.quoteProps==="preserve"&&!ue.singleQuote?'"':ue.__isInHtmlAttribute?"'":R(Ve,ue.singleQuote?"'":'"').quote;return L(Ve,tt,!(ue.parser==="css"||ue.parser==="less"||ue.parser==="scss"||ue.__embeddedInHtml))}function L(me,ue,Ve){let tt=ue==='"'?"'":'"',Ge=/\\(.)|(["'])/gs,dt=me.replace(Ge,(be,Me,ct)=>Me===tt?Me:ct===ue?"\\"+ct:ct||(Ve&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Me)?Me:"\\"+Me));return ue+dt+ue}function I(me){return me.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function q(me,ue){let Ve=me.match(new RegExp(`(${p(ue)})+`,"g"));return Ve===null?0:Ve.reduce((tt,Ge)=>Math.max(tt,Ge.length/ue.length),0)}function U(me,ue){let Ve=me.match(new RegExp(`(${p(ue)})+`,"g"));if(Ve===null)return 0;let tt=new Map,Ge=0;for(let dt of Ve){let be=dt.length/ue.length;tt.set(be,!0),be>Ge&&(Ge=be)}for(let dt=1;dt<Ge;dt++)if(!tt.get(dt))return dt;return Ge+1}function z(me,ue){(me.comments||(me.comments=[])).push(ue),ue.printed=!1,ue.nodeDescription=Ue(me)}function ie(me,ue){ue.leading=!0,ue.trailing=!1,z(me,ue)}function ce(me,ue,Ve){ue.leading=!1,ue.trailing=!1,Ve&&(ue.marker=Ve),z(me,ue)}function ge(me,ue){ue.leading=!1,ue.trailing=!0,z(me,ue)}function fe(me,ue){let{languages:Ve}=D({plugins:ue.plugins}),tt=Ve.find(Ge=>{let{name:dt}=Ge;return dt.toLowerCase()===me})||Ve.find(Ge=>{let{aliases:dt}=Ge;return Array.isArray(dt)&&dt.includes(me)})||Ve.find(Ge=>{let{extensions:dt}=Ge;return Array.isArray(dt)&&dt.includes(`.${me}`)});return tt&&tt.parsers[0]}function _e(me){return me&&me.type==="front-matter"}function se(me){let ue=new WeakMap;return function(Ve){return ue.has(Ve)||ue.set(Ve,Symbol(me)),ue.get(Ve)}}function Ue(me){let ue=me.type||me.kind||"(unknown type)",Ve=String(me.name||me.id&&(typeof me.id=="object"?me.id.name:me.id)||me.key&&(typeof me.key=="object"?me.key.name:me.key)||me.value&&(typeof me.value=="object"?"":String(me.value))||me.operator||"");return Ve.length>20&&(Ve=Ve.slice(0,19)+"…"),ue+(Ve?" "+Ve:"")}A.exports={inferParserByLanguage:fe,getStringWidth:d,getMaxContinuousCount:q,getMinNotPresentContinuousCount:U,getPenultimate:j,getLast:b,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:w,getNextNonSpaceNonCommentCharacterIndex:te,getNextNonSpaceNonCommentCharacter:De,skip:X,skipWhitespace:h,skipSpaces:E,skipToLineEnd:x,skipEverythingButNewLine:B,skipInlineComment:T,skipTrailingComment:P,skipNewline:C,isNextLineEmptyAfterIndex:G,isNextLineEmpty:re,isPreviousLineEmpty:K,hasNewline:ne,hasNewlineInRange:$,hasSpaces:N,getAlignmentSize:J,getIndentSize:F,getPreferredQuote:R,printString:y,printNumber:I,makeString:L,addLeadingComment:ie,addDanglingComment:ce,addTrailingComment:ge,isFrontMatterNode:_e,isNonEmptyArray:f,createGroupIdMapper:se}}}),ee={};Fn(ee,{basename:()=>Ct,default:()=>Fr,delimiter:()=>or,dirname:()=>Oe,extname:()=>Rt,isAbsolute:()=>Fe,join:()=>Be,normalize:()=>le,relative:()=>Ae,resolve:()=>H,sep:()=>Wn});function O(m,A){for(var p=0,b=m.length-1;b>=0;b--){var D=m[b];D==="."?m.splice(b,1):D===".."?(m.splice(b,1),p++):p&&(m.splice(b,1),p--)}if(A)for(;p--;p)m.unshift("..");return m}function H(){for(var m="",A=!1,p=arguments.length-1;p>=-1&&!A;p--){var b=p>=0?arguments[p]:"/";if(typeof b!="string")throw new TypeError("Arguments to path.resolve must be strings");b&&(m=b+"/"+m,A=b.charAt(0)==="/")}return m=O(Qt(m.split("/"),function(D){return!!D}),!A).join("/"),(A?"/":"")+m||"."}function le(m){var A=Fe(m),p=bi(m,-1)==="/";return m=O(Qt(m.split("/"),function(b){return!!b}),!A).join("/"),!m&&!A&&(m="."),m&&p&&(m+="/"),(A?"/":"")+m}function Fe(m){return m.charAt(0)==="/"}function Be(){var m=Array.prototype.slice.call(arguments,0);return le(Qt(m,function(A,p){if(typeof A!="string")throw new TypeError("Arguments to path.join must be strings");return A}).join("/"))}function Ae(m,A){m=H(m).substr(1),A=H(A).substr(1);function p(x){for(var B=0;B<x.length&&x[B]==="";B++);for(var T=x.length-1;T>=0&&x[T]==="";T--);return B>T?[]:x.slice(B,T-B+1)}for(var b=p(m.split("/")),D=p(A.split("/")),f=Math.min(b.length,D.length),d=f,h=0;h<f;h++)if(b[h]!==D[h]){d=h;break}for(var E=[],h=d;h<b.length;h++)E.push("..");return E=E.concat(D.slice(d)),E.join("/")}function Oe(m){var A=ln(m),p=A[0],b=A[1];return!p&&!b?".":(b&&(b=b.substr(0,b.length-1)),p+b)}function Ct(m,A){var p=ln(m)[2];return A&&p.substr(-1*A.length)===A&&(p=p.substr(0,p.length-A.length)),p}function Rt(m){return ln(m)[3]}function Qt(m,A){if(m.filter)return m.filter(A);for(var p=[],b=0;b<m.length;b++)A(m[b],b,m)&&p.push(m[b]);return p}var An,ln,Wn,or,Fr,bi,hi=hn({"node-modules-polyfills:path"(){je(),An=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,ln=function(m){return An.exec(m).slice(1)},Wn="/",or=":",Fr={extname:Rt,basename:Ct,dirname:Oe,sep:Wn,delimiter:or,relative:Ae,join:Be,isAbsolute:Fe,normalize:le,resolve:H},bi="ab".substr(-1)==="b"?function(m,A,p){return m.substr(A,p)}:function(m,A,p){return A<0&&(A=m.length+A),m.substr(A,p)}}}),yt=Ne({"node-modules-polyfills-commonjs:path"(m,A){je();var p=(hi(),Qn(ee));if(p&&p.default){A.exports=p.default;for(let b in p)A.exports[b]=p[b]}else p&&(A.exports=p)}}),rn=Ne({"src/common/errors.js"(m,A){je();var p=class extends Error{},b=class extends Error{},D=class extends Error{},f=class extends Error{};A.exports={ConfigError:p,DebugError:b,UndefinedParserError:D,ArgExpansionBailout:f}}}),gn={};Fn(gn,{__assign:()=>de,__asyncDelegator:()=>Yf,__asyncGenerator:()=>Jf,__asyncValues:()=>Hf,__await:()=>vi,__awaiter:()=>Xi,__classPrivateFieldGet:()=>Kf,__classPrivateFieldSet:()=>Zf,__createBinding:()=>ia,__decorate:()=>lr,__exportStar:()=>Ka,__extends:()=>Sn,__generator:()=>Oi,__importDefault:()=>Xf,__importStar:()=>Qf,__makeTemplateObject:()=>zf,__metadata:()=>Qi,__param:()=>Ii,__read:()=>Cl,__rest:()=>Yn,__spread:()=>Wf,__spreadArrays:()=>Gf,__values:()=>qo});function Sn(m,A){pe(m,A);function p(){this.constructor=m}m.prototype=A===null?Object.create(A):(p.prototype=A.prototype,new p)}function Yn(m,A){var p={};for(var b in m)Object.prototype.hasOwnProperty.call(m,b)&&A.indexOf(b)<0&&(p[b]=m[b]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,b=Object.getOwnPropertySymbols(m);D<b.length;D++)A.indexOf(b[D])<0&&Object.prototype.propertyIsEnumerable.call(m,b[D])&&(p[b[D]]=m[b[D]]);return p}function lr(m,A,p,b){var D=arguments.length,f=D<3?A:b===null?b=Object.getOwnPropertyDescriptor(A,p):b,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")f=Reflect.decorate(m,A,p,b);else for(var h=m.length-1;h>=0;h--)(d=m[h])&&(f=(D<3?d(f):D>3?d(A,p,f):d(A,p))||f);return D>3&&f&&Object.defineProperty(A,p,f),f}function Ii(m,A){return function(p,b){A(p,b,m)}}function Qi(m,A){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(m,A)}function Xi(m,A,p,b){function D(f){return f instanceof p?f:new p(function(d){d(f)})}return new(p||(p=Promise))(function(f,d){function h(B){try{x(b.next(B))}catch(T){d(T)}}function E(B){try{x(b.throw(B))}catch(T){d(T)}}function x(B){B.done?f(B.value):D(B.value).then(h,E)}x((b=b.apply(m,A||[])).next())})}function Oi(m,A){var p={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},b,D,f,d;return d={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function h(x){return function(B){return E([x,B])}}function E(x){if(b)throw new TypeError("Generator is already executing.");for(;p;)try{if(b=1,D&&(f=x[0]&2?D.return:x[0]?D.throw||((f=D.return)&&f.call(D),0):D.next)&&!(f=f.call(D,x[1])).done)return f;switch(D=0,f&&(x=[x[0]&2,f.value]),x[0]){case 0:case 1:f=x;break;case 4:return p.label++,{value:x[1],done:!1};case 5:p.label++,D=x[1],x=[0];continue;case 7:x=p.ops.pop(),p.trys.pop();continue;default:if(f=p.trys,!(f=f.length>0&&f[f.length-1])&&(x[0]===6||x[0]===2)){p=0;continue}if(x[0]===3&&(!f||x[1]>f[0]&&x[1]<f[3])){p.label=x[1];break}if(x[0]===6&&p.label<f[1]){p.label=f[1],f=x;break}if(f&&p.label<f[2]){p.label=f[2],p.ops.push(x);break}f[2]&&p.ops.pop(),p.trys.pop();continue}x=A.call(m,p)}catch(B){x=[6,B],D=0}finally{b=f=0}if(x[0]&5)throw x[1];return{value:x[0]?x[1]:void 0,done:!0}}}function ia(m,A,p,b){b===void 0&&(b=p),m[b]=A[p]}function Ka(m,A){for(var p in m)p!=="default"&&!A.hasOwnProperty(p)&&(A[p]=m[p])}function qo(m){var A=typeof Symbol=="function"&&Symbol.iterator,p=A&&m[A],b=0;if(p)return p.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&b>=m.length&&(m=void 0),{value:m&&m[b++],done:!m}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}function Cl(m,A){var p=typeof Symbol=="function"&&m[Symbol.iterator];if(!p)return m;var b=p.call(m),D,f=[],d;try{for(;(A===void 0||A-- >0)&&!(D=b.next()).done;)f.push(D.value)}catch(h){d={error:h}}finally{try{D&&!D.done&&(p=b.return)&&p.call(b)}finally{if(d)throw d.error}}return f}function Wf(){for(var m=[],A=0;A<arguments.length;A++)m=m.concat(Cl(arguments[A]));return m}function Gf(){for(var m=0,A=0,p=arguments.length;A<p;A++)m+=arguments[A].length;for(var b=Array(m),D=0,A=0;A<p;A++)for(var f=arguments[A],d=0,h=f.length;d<h;d++,D++)b[D]=f[d];return b}function vi(m){return this instanceof vi?(this.v=m,this):new vi(m)}function Jf(m,A,p){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var b=p.apply(m,A||[]),D,f=[];return D={},d("next"),d("throw"),d("return"),D[Symbol.asyncIterator]=function(){return this},D;function d(P){b[P]&&(D[P]=function(C){return new Promise(function(w,j){f.push([P,C,w,j])>1||h(P,C)})})}function h(P,C){try{E(b[P](C))}catch(w){T(f[0][3],w)}}function E(P){P.value instanceof vi?Promise.resolve(P.value.v).then(x,B):T(f[0][2],P)}function x(P){h("next",P)}function B(P){h("throw",P)}function T(P,C){P(C),f.shift(),f.length&&h(f[0][0],f[0][1])}}function Yf(m){var A,p;return A={},b("next"),b("throw",function(D){throw D}),b("return"),A[Symbol.iterator]=function(){return this},A;function b(D,f){A[D]=m[D]?function(d){return(p=!p)?{value:vi(m[D](d)),done:D==="return"}:f?f(d):d}:f}}function Hf(m){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var A=m[Symbol.asyncIterator],p;return A?A.call(m):(m=typeof qo=="function"?qo(m):m[Symbol.iterator](),p={},b("next"),b("throw"),b("return"),p[Symbol.asyncIterator]=function(){return this},p);function b(f){p[f]=m[f]&&function(d){return new Promise(function(h,E){d=m[f](d),D(h,E,d.done,d.value)})}}function D(f,d,h,E){Promise.resolve(E).then(function(x){f({value:x,done:h})},d)}}function zf(m,A){return Object.defineProperty?Object.defineProperty(m,"raw",{value:A}):m.raw=A,m}function Qf(m){if(m&&m.__esModule)return m;var A={};if(m!=null)for(var p in m)Object.hasOwnProperty.call(m,p)&&(A[p]=m[p]);return A.default=m,A}function Xf(m){return m&&m.__esModule?m:{default:m}}function Kf(m,A){if(!A.has(m))throw new TypeError("attempted to get private field on non-instance");return A.get(m)}function Zf(m,A,p){if(!A.has(m))throw new TypeError("attempted to set private field on non-instance");return A.set(m,p),p}var pe,de,We=hn({"node_modules/tslib/tslib.es6.js"(){je(),pe=function(m,A){return pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,b){p.__proto__=b}||function(p,b){for(var D in b)b.hasOwnProperty(D)&&(p[D]=b[D])},pe(m,A)},de=function(){return de=Object.assign||function(m){for(var A,p=1,b=arguments.length;p<b;p++){A=arguments[p];for(var D in A)Object.prototype.hasOwnProperty.call(A,D)&&(m[D]=A[D])}return m},de.apply(this,arguments)}}}),Ye=Ne({"node_modules/vnopts/lib/descriptors/api.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0}),m.apiDescriptor={key:A=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(A)?A:JSON.stringify(A),value(A){if(A===null||typeof A!="object")return JSON.stringify(A);if(Array.isArray(A))return`[${A.map(b=>m.apiDescriptor.value(b)).join(", ")}]`;let p=Object.keys(A);return p.length===0?"{}":`{ ${p.map(b=>`${m.apiDescriptor.key(b)}: ${m.apiDescriptor.value(A[b])}`).join(", ")} }`},pair:A=>{let{key:p,value:b}=A;return m.apiDescriptor.value({[p]:b})}}}}),Ze=Ne({"node_modules/vnopts/lib/descriptors/index.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=(We(),Qn(gn));A.__exportStar(Ye(),m)}}),et=Ne({"scripts/build/shims/chalk.cjs"(m,A){je();var p=b=>b;p.grey=p,p.red=p,p.bold=p,p.yellow=p,p.blue=p,p.default=p,A.exports=p}}),xt=Ne({"node_modules/vnopts/lib/handlers/deprecated/common.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=et();m.commonDeprecatedHandler=(p,b,D)=>{let{descriptor:f}=D,d=[`${A.default.yellow(typeof p=="string"?f.key(p):f.pair(p))} is deprecated`];return b&&d.push(`we now treat it as ${A.default.blue(typeof b=="string"?f.key(b):f.pair(b))}`),d.join("; ")+"."}}}),Nt=Ne({"node_modules/vnopts/lib/handlers/deprecated/index.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=(We(),Qn(gn));A.__exportStar(xt(),m)}}),en=Ne({"node_modules/vnopts/lib/handlers/invalid/common.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=et();m.commonInvalidHandler=(p,b,D)=>[`Invalid ${A.default.red(D.descriptor.key(p))} value.`,`Expected ${A.default.blue(D.schemas[p].expected(D))},`,`but received ${A.default.red(D.descriptor.value(b))}.`].join(" ")}}),an=Ne({"node_modules/vnopts/lib/handlers/invalid/index.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=(We(),Qn(gn));A.__exportStar(en(),m)}}),mn=Ne({"node_modules/vnopts/node_modules/leven/index.js"(m,A){je();var p=[],b=[];A.exports=function(D,f){if(D===f)return 0;var d=D;D.length>f.length&&(D=f,f=d);var h=D.length,E=f.length;if(h===0)return E;if(E===0)return h;for(;h>0&&D.charCodeAt(~-h)===f.charCodeAt(~-E);)h--,E--;if(h===0)return E;for(var x=0;x<h&&D.charCodeAt(x)===f.charCodeAt(x);)x++;if(h-=x,E-=x,h===0)return E;for(var B,T,P,C,w=0,j=0;w<h;)b[x+w]=D.charCodeAt(x+w),p[w]=++w;for(;j<E;)for(B=f.charCodeAt(x+j),P=j++,T=j,w=0;w<h;w++)C=B===b[x+w]?P:P+1,P=p[w],T=p[w]=P>T?C>T?T+1:C:C>P?P+1:C;return T}}}),Mn=Ne({"node_modules/vnopts/lib/handlers/unknown/leven.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=et(),p=mn();m.levenUnknownHandler=(b,D,f)=>{let{descriptor:d,logger:h,schemas:E}=f,x=[`Ignored unknown option ${A.default.yellow(d.pair({key:b,value:D}))}.`],B=Object.keys(E).sort().find(T=>p(b,T)<3);B&&x.push(`Did you mean ${A.default.blue(d.key(B))}?`),h.warn(x.join(" "))}}}),fr=Ne({"node_modules/vnopts/lib/handlers/unknown/index.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=(We(),Qn(gn));A.__exportStar(Mn(),m)}}),pr=Ne({"node_modules/vnopts/lib/handlers/index.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=(We(),Qn(gn));A.__exportStar(Nt(),m),A.__exportStar(an(),m),A.__exportStar(fr(),m)}}),qn=Ne({"node_modules/vnopts/lib/schema.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function p(f,d){let h=new f(d),E=Object.create(h);for(let x of A)x in d&&(E[x]=D(d[x],h,b.prototype[x].length));return E}m.createSchema=p;var b=class{constructor(f){this.name=f.name}static create(f){return p(this,f)}default(f){}expected(f){return"nothing"}validate(f,d){return!1}deprecated(f,d){return!1}forward(f,d){}redirect(f,d){}overlap(f,d,h){return f}preprocess(f,d){return f}postprocess(f,d){return f}};m.Schema=b;function D(f,d,h){return typeof f=="function"?function(){for(var E=arguments.length,x=new Array(E),B=0;B<E;B++)x[B]=arguments[B];return f(...x.slice(0,h-1),d,...x.slice(h-1))}:()=>f}}}),ar=Ne({"node_modules/vnopts/lib/schemas/alias.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=qn(),p=class extends A.Schema{constructor(b){super(b),this._sourceName=b.sourceName}expected(b){return b.schemas[this._sourceName].expected(b)}validate(b,D){return D.schemas[this._sourceName].validate(b,D)}redirect(b,D){return this._sourceName}};m.AliasSchema=p}}),nr=Ne({"node_modules/vnopts/lib/schemas/any.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=qn(),p=class extends A.Schema{expected(){return"anything"}validate(){return!0}};m.AnySchema=p}}),Wr=Ne({"node_modules/vnopts/lib/schemas/array.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=(We(),Qn(gn)),p=qn(),b=class extends p.Schema{constructor(f){var{valueSchema:d,name:h=d.name}=f,E=A.__rest(f,["valueSchema","name"]);super(Object.assign({},E,{name:h})),this._valueSchema=d}expected(f){return`an array of ${this._valueSchema.expected(f)}`}validate(f,d){if(!Array.isArray(f))return!1;let h=[];for(let E of f){let x=d.normalizeValidateResult(this._valueSchema.validate(E,d),E);x!==!0&&h.push(x.value)}return h.length===0?!0:{value:h}}deprecated(f,d){let h=[];for(let E of f){let x=d.normalizeDeprecatedResult(this._valueSchema.deprecated(E,d),E);x!==!1&&h.push(...x.map(B=>{let{value:T}=B;return{value:[T]}}))}return h}forward(f,d){let h=[];for(let E of f){let x=d.normalizeForwardResult(this._valueSchema.forward(E,d),E);h.push(...x.map(D))}return h}redirect(f,d){let h=[],E=[];for(let x of f){let B=d.normalizeRedirectResult(this._valueSchema.redirect(x,d),x);"remain"in B&&h.push(B.remain),E.push(...B.redirect.map(D))}return h.length===0?{redirect:E}:{redirect:E,remain:h}}overlap(f,d){return f.concat(d)}};m.ArraySchema=b;function D(f){let{from:d,to:h}=f;return{from:[d],to:h}}}}),cr=Ne({"node_modules/vnopts/lib/schemas/boolean.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=qn(),p=class extends A.Schema{expected(){return"true or false"}validate(b){return typeof b=="boolean"}};m.BooleanSchema=p}}),zr=Ne({"node_modules/vnopts/lib/utils.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});function A(C,w){let j=Object.create(null);for(let X of C){let ne=X[w];if(j[ne])throw new Error(`Duplicate ${w} ${JSON.stringify(ne)}`);j[ne]=X}return j}m.recordFromArray=A;function p(C,w){let j=new Map;for(let X of C){let ne=X[w];if(j.has(ne))throw new Error(`Duplicate ${w} ${JSON.stringify(ne)}`);j.set(ne,X)}return j}m.mapFromArray=p;function b(){let C=Object.create(null);return w=>{let j=JSON.stringify(w);return C[j]?!0:(C[j]=!0,!1)}}m.createAutoChecklist=b;function D(C,w){let j=[],X=[];for(let ne of C)w(ne)?j.push(ne):X.push(ne);return[j,X]}m.partition=D;function f(C){return C===Math.floor(C)}m.isInt=f;function d(C,w){if(C===w)return 0;let j=typeof C,X=typeof w,ne=["undefined","object","boolean","number","string"];return j!==X?ne.indexOf(j)-ne.indexOf(X):j!=="string"?Number(C)-Number(w):C.localeCompare(w)}m.comparePrimitive=d;function h(C){return C===void 0?{}:C}m.normalizeDefaultResult=h;function E(C,w){return C===!0?!0:C===!1?{value:w}:C}m.normalizeValidateResult=E;function x(C,w){let j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return C===!1?!1:C===!0?j?!0:[{value:w}]:"value"in C?[C]:C.length===0?!1:C}m.normalizeDeprecatedResult=x;function B(C,w){return typeof C=="string"||"key"in C?{from:w,to:C}:"from"in C?{from:C.from,to:C.to}:{from:w,to:C.to}}m.normalizeTransferResult=B;function T(C,w){return C===void 0?[]:Array.isArray(C)?C.map(j=>B(j,w)):[B(C,w)]}m.normalizeForwardResult=T;function P(C,w){let j=T(typeof C=="object"&&"redirect"in C?C.redirect:C,w);return j.length===0?{remain:w,redirect:j}:typeof C=="object"&&"remain"in C?{remain:C.remain,redirect:j}:{redirect:j}}m.normalizeRedirectResult=P}}),Dr=Ne({"node_modules/vnopts/lib/schemas/choice.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=qn(),p=zr(),b=class extends A.Schema{constructor(D){super(D),this._choices=p.mapFromArray(D.choices.map(f=>f&&typeof f=="object"?f:{value:f}),"value")}expected(D){let{descriptor:f}=D,d=Array.from(this._choices.keys()).map(x=>this._choices.get(x)).filter(x=>!x.deprecated).map(x=>x.value).sort(p.comparePrimitive).map(f.value),h=d.slice(0,-2),E=d.slice(-2);return h.concat(E.join(" or ")).join(", ")}validate(D){return this._choices.has(D)}deprecated(D){let f=this._choices.get(D);return f&&f.deprecated?{value:D}:!1}forward(D){let f=this._choices.get(D);return f?f.forward:void 0}redirect(D){let f=this._choices.get(D);return f?f.redirect:void 0}};m.ChoiceSchema=b}}),Tr=Ne({"node_modules/vnopts/lib/schemas/number.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=qn(),p=class extends A.Schema{expected(){return"a number"}validate(b,D){return typeof b=="number"}};m.NumberSchema=p}}),Za=Ne({"node_modules/vnopts/lib/schemas/integer.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=zr(),p=Tr(),b=class extends p.NumberSchema{expected(){return"an integer"}validate(D,f){return f.normalizeValidateResult(super.validate(D,f),D)===!0&&A.isInt(D)}};m.IntegerSchema=b}}),Uv=Ne({"node_modules/vnopts/lib/schemas/string.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=qn(),p=class extends A.Schema{expected(){return"a string"}validate(b){return typeof b=="string"}};m.StringSchema=p}}),Wv=Ne({"node_modules/vnopts/lib/schemas/index.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=(We(),Qn(gn));A.__exportStar(ar(),m),A.__exportStar(nr(),m),A.__exportStar(Wr(),m),A.__exportStar(cr(),m),A.__exportStar(Dr(),m),A.__exportStar(Za(),m),A.__exportStar(Tr(),m),A.__exportStar(Uv(),m)}}),Gv=Ne({"node_modules/vnopts/lib/defaults.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=Ye(),p=xt(),b=an(),D=Mn();m.defaultDescriptor=A.apiDescriptor,m.defaultUnknownHandler=D.levenUnknownHandler,m.defaultInvalidHandler=b.commonInvalidHandler,m.defaultDeprecatedHandler=p.commonDeprecatedHandler}}),Jv=Ne({"node_modules/vnopts/lib/normalize.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=Gv(),p=zr();m.normalize=(D,f,d)=>new b(f,d).normalize(D);var b=class{constructor(D,f){let{logger:d=console,descriptor:h=A.defaultDescriptor,unknown:E=A.defaultUnknownHandler,invalid:x=A.defaultInvalidHandler,deprecated:B=A.defaultDeprecatedHandler}=f||{};this._utils={descriptor:h,logger:d||{warn:()=>{}},schemas:p.recordFromArray(D,"name"),normalizeDefaultResult:p.normalizeDefaultResult,normalizeDeprecatedResult:p.normalizeDeprecatedResult,normalizeForwardResult:p.normalizeForwardResult,normalizeRedirectResult:p.normalizeRedirectResult,normalizeValidateResult:p.normalizeValidateResult},this._unknownHandler=E,this._invalidHandler=x,this._deprecatedHandler=B,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=p.createAutoChecklist()}normalize(D){let f={},d=[D],h=()=>{for(;d.length!==0;){let E=d.shift(),x=this._applyNormalization(E,f);d.push(...x)}};h();for(let E of Object.keys(this._utils.schemas)){let x=this._utils.schemas[E];if(!(E in f)){let B=p.normalizeDefaultResult(x.default(this._utils));"value"in B&&d.push({[E]:B.value})}}h();for(let E of Object.keys(this._utils.schemas)){let x=this._utils.schemas[E];E in f&&(f[E]=x.postprocess(f[E],this._utils))}return f}_applyNormalization(D,f){let d=[],[h,E]=p.partition(Object.keys(D),x=>x in this._utils.schemas);for(let x of h){let B=this._utils.schemas[x],T=B.preprocess(D[x],this._utils),P=p.normalizeValidateResult(B.validate(T,this._utils),T);if(P!==!0){let{value:X}=P,ne=this._invalidHandler(x,X,this._utils);throw typeof ne=="string"?new Error(ne):ne}let C=X=>{let{from:ne,to:$}=X;d.push(typeof $=="string"?{[$]:ne}:{[$.key]:$.value})},w=X=>{let{value:ne,redirectTo:$}=X,K=p.normalizeDeprecatedResult(B.deprecated(ne,this._utils),T,!0);if(K!==!1)if(K===!0)this._hasDeprecationWarned(x)||this._utils.logger.warn(this._deprecatedHandler(x,$,this._utils));else for(let{value:G}of K){let re={key:x,value:G};if(!this._hasDeprecationWarned(re)){let te=typeof $=="string"?{key:$,value:G}:$;this._utils.logger.warn(this._deprecatedHandler(re,te,this._utils))}}};p.normalizeForwardResult(B.forward(T,this._utils),T).forEach(C);let j=p.normalizeRedirectResult(B.redirect(T,this._utils),T);if(j.redirect.forEach(C),"remain"in j){let X=j.remain;f[x]=x in f?B.overlap(f[x],X,this._utils):X,w({value:X})}for(let{from:X,to:ne}of j.redirect)w({value:X,redirectTo:ne})}for(let x of E){let B=D[x],T=this._unknownHandler(x,B,this._utils);if(T)for(let P of Object.keys(T)){let C={[P]:T[P]};P in this._utils.schemas?d.push(C):Object.assign(f,C)}}return d}};m.Normalizer=b}}),Yv=Ne({"node_modules/vnopts/lib/index.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=(We(),Qn(gn));A.__exportStar(Ze(),m),A.__exportStar(pr(),m),A.__exportStar(Wv(),m),A.__exportStar(Jv(),m),A.__exportStar(qn(),m)}}),Hv=Ne({"src/main/options-normalizer.js"(m,A){je();var p=Yv(),b=Ur(),D={key:P=>P.length===1?`-${P}`:`--${P}`,value:P=>p.apiDescriptor.value(P),pair:P=>{let{key:C,value:w}=P;return w===!1?`--no-${C}`:w===!0?D.key(C):w===""?`${D.key(C)} without an argument`:`${D.key(C)}=${w}`}},f=P=>{let{colorsModule:C,levenshteinDistance:w}=P;return class extends p.ChoiceSchema{constructor(j){let{name:X,flags:ne}=j;super({name:X,choices:ne}),this._flags=[...ne].sort()}preprocess(j,X){if(typeof j=="string"&&j.length>0&&!this._flags.includes(j)){let ne=this._flags.find($=>w($,j)<3);if(ne)return X.logger.warn([`Unknown flag ${C.yellow(X.descriptor.value(j))},`,`did you mean ${C.blue(X.descriptor.value(ne))}?`].join(" ")),ne}return j}expected(){return"a flag"}}},d;function h(P,C){let{logger:w=!1,isCLI:j=!1,passThrough:X=!1,colorsModule:ne=null,levenshteinDistance:$=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},K=X?Array.isArray(X)?(J,F)=>X.includes(J)?{[J]:F}:void 0:(J,F)=>({[J]:F}):(J,F,R)=>{let y=R.schemas,L=St(y,ot);return p.levenUnknownHandler(J,F,Object.assign(Object.assign({},R),{},{schemas:L}))},G=j?D:p.apiDescriptor,re=E(C,{isCLI:j,colorsModule:ne,levenshteinDistance:$}),te=new p.Normalizer(re,{logger:w,unknown:K,descriptor:G}),De=w!==!1;De&&d&&(te._hasDeprecationWarned=d);let N=te.normalize(P);return De&&(d=te._hasDeprecationWarned),j&&N["plugin-search"]===!1&&(N["plugin-search-dir"]=!1),N}function E(P,C){let{isCLI:w,colorsModule:j,levenshteinDistance:X}=C,ne=[];w&&ne.push(p.AnySchema.create({name:"_"}));for(let $ of P)ne.push(x($,{isCLI:w,optionInfos:P,colorsModule:j,levenshteinDistance:X})),$.alias&&w&&ne.push(p.AliasSchema.create({name:$.alias,sourceName:$.name}));return ne}function x(P,C){let{isCLI:w,optionInfos:j,colorsModule:X,levenshteinDistance:ne}=C,{name:$}=P;if($==="plugin-search-dir"||$==="pluginSearchDirs")return p.AnySchema.create({name:$,preprocess(te){return te===!1||(te=Array.isArray(te)?te:[te]),te},validate(te){return te===!1?!0:te.every(De=>typeof De=="string")},expected(){return"false or paths to plugin search dir"}});let K={name:$},G,re={};switch(P.type){case"int":G=p.IntegerSchema,w&&(K.preprocess=Number);break;case"string":G=p.StringSchema;break;case"choice":G=p.ChoiceSchema,K.choices=P.choices.map(te=>typeof te=="object"&&te.redirect?Object.assign(Object.assign({},te),{},{redirect:{to:{key:P.name,value:te.redirect}}}):te);break;case"boolean":G=p.BooleanSchema;break;case"flag":G=f({colorsModule:X,levenshteinDistance:ne}),K.flags=j.flatMap(te=>[te.alias,te.description&&te.name,te.oppositeDescription&&`no-${te.name}`].filter(Boolean));break;case"path":G=p.StringSchema;break;default:throw new Error(`Unexpected type ${P.type}`)}if(P.exception?K.validate=(te,De,N)=>P.exception(te)||De.validate(te,N):K.validate=(te,De,N)=>te===void 0||De.validate(te,N),P.redirect&&(re.redirect=te=>te?{to:{key:P.redirect.option,value:P.redirect.value}}:void 0),P.deprecated&&(re.deprecated=!0),w&&!P.array){let te=K.preprocess||(De=>De);K.preprocess=(De,N,J)=>N.preprocess(te(Array.isArray(De)?b(De):De),J)}return P.array?p.ArraySchema.create(Object.assign(Object.assign(Object.assign({},w?{preprocess:te=>Array.isArray(te)?te:[te]}:{}),re),{},{valueSchema:G.create(K)})):G.create(Object.assign(Object.assign({},K),re))}function B(P,C,w){return h(P,C,w)}function T(P,C,w){return h(P,C,Object.assign({isCLI:!0},w))}A.exports={normalizeApiOptions:B,normalizeCliOptions:T}}}),oi=Ne({"src/language-js/loc.js"(m,A){je();var p=jt();function b(E){var x,B;let T=E.range?E.range[0]:E.start,P=(x=(B=E.declaration)===null||B===void 0?void 0:B.decorators)!==null&&x!==void 0?x:E.decorators;return p(P)?Math.min(b(P[0]),T):T}function D(E){return E.range?E.range[1]:E.end}function f(E,x){let B=b(E);return Number.isInteger(B)&&B===b(x)}function d(E,x){let B=D(E);return Number.isInteger(B)&&B===D(x)}function h(E,x){return f(E,x)&&d(E,x)}A.exports={locStart:b,locEnd:D,hasSameLocStart:f,hasSameLoc:h}}}),zv=Ne({"src/main/load-parser.js"(m,A){je(),A.exports=()=>{}}}),Qv=Ne({"scripts/build/shims/babel-highlight.cjs"(m,A){je();var p=et(),b={shouldHighlight:()=>!1,getChalk:()=>p};A.exports=b}}),Xv=Ne({"node_modules/@babel/code-frame/lib/index.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0}),m.codeFrameColumns=d,m.default=h;var A=Qv(),p=!1;function b(E){return{gutter:E.grey,marker:E.red.bold,message:E.red.bold}}var D=/\r\n|[\n\r\u2028\u2029]/;function f(E,x,B){let T=Object.assign({column:0,line:-1},E.start),P=Object.assign({},T,E.end),{linesAbove:C=2,linesBelow:w=3}=B||{},j=T.line,X=T.column,ne=P.line,$=P.column,K=Math.max(j-(C+1),0),G=Math.min(x.length,ne+w);j===-1&&(K=0),ne===-1&&(G=x.length);let re=ne-j,te={};if(re)for(let De=0;De<=re;De++){let N=De+j;if(!X)te[N]=!0;else if(De===0){let J=x[N-1].length;te[N]=[X,J-X+1]}else if(De===re)te[N]=[0,$];else{let J=x[N-De].length;te[N]=[0,J]}}else X===$?X?te[j]=[X,0]:te[j]=!0:te[j]=[X,$-X];return{start:K,end:G,markerLines:te}}function d(E,x){let B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},T=(B.highlightCode||B.forceColor)&&(0,A.shouldHighlight)(B),P=(0,A.getChalk)(B),C=b(P),w=(te,De)=>T?te(De):De,j=E.split(D),{start:X,end:ne,markerLines:$}=f(x,j,B),K=x.start&&typeof x.start.column=="number",G=String(ne).length,re=(T?(0,A.default)(E,B):E).split(D,ne).slice(X,ne).map((te,De)=>{let N=X+1+De,J=` ${` ${N}`.slice(-G)} |`,F=$[N],R=!$[N+1];if(F){let y="";if(Array.isArray(F)){let L=te.slice(0,Math.max(F[0]-1,0)).replace(/[^\t]/g," "),I=F[1]||1;y=[`
182
+ `,w(C.gutter,J.replace(/\d/g," "))," ",L,w(C.marker,"^").repeat(I)].join(""),R&&B.message&&(y+=" "+w(C.message,B.message))}return[w(C.marker,">"),w(C.gutter,J),te.length>0?` ${te}`:"",y].join("")}else return` ${w(C.gutter,J)}${te.length>0?` ${te}`:""}`}).join(`
183
+ `);return B.message&&!K&&(re=`${" ".repeat(G+1)}${B.message}
184
+ ${re}`),T?P.reset(re):re}function h(E,x,B){let T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!p){p=!0;let P="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(wr.emitWarning)wr.emitWarning(P,"DeprecationWarning");else{let C=new Error(P);C.name="DeprecationWarning",console.warn(new Error(P))}}return B=Math.max(B,0),d(E,{start:{column:B,line:x}},T)}}}),ep=Ne({"src/main/parser.js"(m,A){je();var{ConfigError:p}=rn(),b=oi();zv();var{locStart:D,locEnd:f}=b,d=Object.getOwnPropertyNames,h=Object.getOwnPropertyDescriptor;function E(T){let P={};for(let C of T.plugins)if(C.parsers)for(let w of d(C.parsers))Object.defineProperty(P,w,h(C.parsers,w));return P}function x(T){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:E(T);if(typeof T.parser=="function")return{parse:T.parser,astFormat:"estree",locStart:D,locEnd:f};if(typeof T.parser=="string"){if(Object.prototype.hasOwnProperty.call(P,T.parser))return P[T.parser];throw new p(`Couldn't resolve parser "${T.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function B(T,P){let C=E(P),w=Object.defineProperties({},Object.fromEntries(Object.keys(C).map(X=>[X,{enumerable:!0,get(){return C[X].parse}}]))),j=x(P,C);try{return j.preprocess&&(T=j.preprocess(T,P)),{text:T,ast:j.parse(T,w,P)}}catch(X){let{loc:ne}=X;if(ne){let{codeFrameColumns:$}=Xv();throw X.codeFrame=$(T,ne,{highlightCode:!0}),X.message+=`
185
+ `+X.codeFrame,X}throw X}}A.exports={parse:B,resolveParser:x}}}),x0=Ne({"src/main/options.js"(m,A){je();var p=yt(),{UndefinedParserError:b}=rn(),{getSupportInfo:D}=Tt(),f=Hv(),{resolveParser:d}=ep(),h={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function E(T){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},C=Object.assign({},T),w=D({plugins:T.plugins,showUnreleased:!0,showDeprecated:!0}).options,j=Object.assign(Object.assign({},h),Object.fromEntries(w.filter(G=>G.default!==void 0).map(G=>[G.name,G.default])));if(!C.parser){if(!C.filepath)(P.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),C.parser="babel";else if(C.parser=B(C.filepath,C.plugins),!C.parser)throw new b(`No parser could be inferred for file: ${C.filepath}`)}let X=d(f.normalizeApiOptions(C,[w.find(G=>G.name==="parser")],{passThrough:!0,logger:!1}));C.astFormat=X.astFormat,C.locEnd=X.locEnd,C.locStart=X.locStart;let ne=x(C);C.printer=ne.printers[C.astFormat];let $=Object.fromEntries(w.filter(G=>G.pluginDefaults&&G.pluginDefaults[ne.name]!==void 0).map(G=>[G.name,G.pluginDefaults[ne.name]])),K=Object.assign(Object.assign({},j),$);for(let[G,re]of Object.entries(K))(C[G]===null||C[G]===void 0)&&(C[G]=re);return C.parser==="json"&&(C.trailingComma="none"),f.normalizeApiOptions(C,w,Object.assign({passThrough:Object.keys(h)},P))}function x(T){let{astFormat:P}=T;if(!P)throw new Error("getPlugin() requires astFormat to be set");let C=T.plugins.find(w=>w.printers&&w.printers[P]);if(!C)throw new Error(`Couldn't find plugin for AST format "${P}"`);return C}function B(T,P){let C=p.basename(T).toLowerCase(),w=D({plugins:P}).languages.filter(j=>j.since!==null).find(j=>j.extensions&&j.extensions.some(X=>C.endsWith(X))||j.filenames&&j.filenames.some(X=>X.toLowerCase()===C));return w&&w.parsers[0]}A.exports={normalize:E,hiddenDefaults:h,inferParser:B}}}),Kv=Ne({"src/main/massage-ast.js"(m,A){je();function p(b,D,f){if(Array.isArray(b))return b.map(x=>p(x,D,f)).filter(Boolean);if(!b||typeof b!="object")return b;let d=D.printer.massageAstNode,h;d&&d.ignoredProperties?h=d.ignoredProperties:h=new Set;let E={};for(let[x,B]of Object.entries(b))!h.has(x)&&typeof B!="function"&&(E[x]=p(B,D,b));if(d){let x=d(b,E,f);if(x===null)return;if(x)return x}return E}A.exports=p}}),Uo=Ne({"scripts/build/shims/assert.cjs"(m,A){je();var p=()=>{};p.ok=p,p.strictEqual=p,A.exports=p}}),Rr=Ne({"src/main/comments.js"(m,A){je();var p=Uo(),{builders:{line:b,hardline:D,breakParent:f,indent:d,lineSuffix:h,join:E,cursor:x}}=Nn(),{hasNewline:B,skipNewline:T,skipSpaces:P,isPreviousLineEmpty:C,addLeadingComment:w,addDanglingComment:j,addTrailingComment:X}=ye(),ne=new WeakMap;function $(ie,ce,ge){if(!ie)return;let{printer:fe,locStart:_e,locEnd:se}=ce;if(ge){if(fe.canAttachComment&&fe.canAttachComment(ie)){let me;for(me=ge.length-1;me>=0&&!(_e(ge[me])<=_e(ie)&&se(ge[me])<=se(ie));--me);ge.splice(me+1,0,ie);return}}else if(ne.has(ie))return ne.get(ie);let Ue=fe.getCommentChildNodes&&fe.getCommentChildNodes(ie,ce)||typeof ie=="object"&&Object.entries(ie).filter(me=>{let[ue]=me;return ue!=="enclosingNode"&&ue!=="precedingNode"&&ue!=="followingNode"&&ue!=="tokens"&&ue!=="comments"&&ue!=="parent"}).map(me=>{let[,ue]=me;return ue});if(Ue){ge||(ge=[],ne.set(ie,ge));for(let me of Ue)$(me,ce,ge);return ge}}function K(ie,ce,ge,fe){let{locStart:_e,locEnd:se}=ge,Ue=_e(ce),me=se(ce),ue=$(ie,ge),Ve,tt,Ge=0,dt=ue.length;for(;Ge<dt;){let be=Ge+dt>>1,Me=ue[be],ct=_e(Me),ft=se(Me);if(ct<=Ue&&me<=ft)return K(Me,ce,ge,Me);if(ft<=Ue){Ve=Me,Ge=be+1;continue}if(me<=ct){tt=Me,dt=be;continue}throw new Error("Comment location overlaps with node location")}if(fe&&fe.type==="TemplateLiteral"){let{quasis:be}=fe,Me=R(be,ce,ge);Ve&&R(be,Ve,ge)!==Me&&(Ve=null),tt&&R(be,tt,ge)!==Me&&(tt=null)}return{enclosingNode:fe,precedingNode:Ve,followingNode:tt}}var G=()=>!1;function re(ie,ce,ge,fe){if(!Array.isArray(ie))return;let _e=[],{locStart:se,locEnd:Ue,printer:{handleComments:me={}}}=fe,{avoidAstMutation:ue,ownLine:Ve=G,endOfLine:tt=G,remaining:Ge=G}=me,dt=ie.map((be,Me)=>Object.assign(Object.assign({},K(ce,be,fe)),{},{comment:be,text:ge,options:fe,ast:ce,isLastComment:ie.length-1===Me}));for(let[be,Me]of dt.entries()){let{comment:ct,precedingNode:ft,enclosingNode:Yt,followingNode:Re,text:Se,options:Je,ast:Qe,isLastComment:bt}=Me;if(Je.parser==="json"||Je.parser==="json5"||Je.parser==="__js_expression"||Je.parser==="__vue_expression"||Je.parser==="__vue_ts_expression"){if(se(ct)-se(Qe)<=0){w(Qe,ct);continue}if(Ue(ct)-Ue(Qe)>=0){X(Qe,ct);continue}}let Lt;if(ue?Lt=[Me]:(ct.enclosingNode=Yt,ct.precedingNode=ft,ct.followingNode=Re,Lt=[ct,Se,Je,Qe,bt]),De(Se,Je,dt,be))ct.placement="ownLine",Ve(...Lt)||(Re?w(Re,ct):ft?X(ft,ct):j(Yt||Qe,ct));else if(N(Se,Je,dt,be))ct.placement="endOfLine",tt(...Lt)||(ft?X(ft,ct):Re?w(Re,ct):j(Yt||Qe,ct));else if(ct.placement="remaining",!Ge(...Lt))if(ft&&Re){let It=_e.length;It>0&&_e[It-1].followingNode!==Re&&J(_e,Se,Je),_e.push(Me)}else ft?X(ft,ct):Re?w(Re,ct):j(Yt||Qe,ct)}if(J(_e,ge,fe),!ue)for(let be of ie)delete be.precedingNode,delete be.enclosingNode,delete be.followingNode}var te=ie=>!/[\S\n\u2028\u2029]/.test(ie);function De(ie,ce,ge,fe){let{comment:_e,precedingNode:se}=ge[fe],{locStart:Ue,locEnd:me}=ce,ue=Ue(_e);if(se)for(let Ve=fe-1;Ve>=0;Ve--){let{comment:tt,precedingNode:Ge}=ge[Ve];if(Ge!==se||!te(ie.slice(me(tt),ue)))break;ue=Ue(tt)}return B(ie,ue,{backwards:!0})}function N(ie,ce,ge,fe){let{comment:_e,followingNode:se}=ge[fe],{locStart:Ue,locEnd:me}=ce,ue=me(_e);if(se)for(let Ve=fe+1;Ve<ge.length;Ve++){let{comment:tt,followingNode:Ge}=ge[Ve];if(Ge!==se||!te(ie.slice(ue,Ue(tt))))break;ue=me(tt)}return B(ie,ue)}function J(ie,ce,ge){let fe=ie.length;if(fe===0)return;let{precedingNode:_e,followingNode:se,enclosingNode:Ue}=ie[0],me=ge.printer.getGapRegex&&ge.printer.getGapRegex(Ue)||/^[\s(]*$/,ue=ge.locStart(se),Ve;for(Ve=fe;Ve>0;--Ve){let{comment:tt,precedingNode:Ge,followingNode:dt}=ie[Ve-1];p.strictEqual(Ge,_e),p.strictEqual(dt,se);let be=ce.slice(ge.locEnd(tt),ue);if(me.test(be))ue=ge.locStart(tt);else break}for(let[tt,{comment:Ge}]of ie.entries())tt<Ve?X(_e,Ge):w(se,Ge);for(let tt of[_e,se])tt.comments&&tt.comments.length>1&&tt.comments.sort((Ge,dt)=>ge.locStart(Ge)-ge.locStart(dt));ie.length=0}function F(ie,ce){let ge=ie.getValue();return ge.printed=!0,ce.printer.printComment(ie,ce)}function R(ie,ce,ge){let fe=ge.locStart(ce)-1;for(let _e=1;_e<ie.length;++_e)if(fe<ge.locStart(ie[_e]))return _e-1;return 0}function y(ie,ce){let ge=ie.getValue(),fe=[F(ie,ce)],{printer:_e,originalText:se,locStart:Ue,locEnd:me}=ce;if(_e.isBlockComment&&_e.isBlockComment(ge)){let Ve=B(se,me(ge))?B(se,Ue(ge),{backwards:!0})?D:b:" ";fe.push(Ve)}else fe.push(D);let ue=T(se,P(se,me(ge)));return ue!==!1&&B(se,ue)&&fe.push(D),fe}function L(ie,ce){let ge=ie.getValue(),fe=F(ie,ce),{printer:_e,originalText:se,locStart:Ue}=ce,me=_e.isBlockComment&&_e.isBlockComment(ge);if(B(se,Ue(ge),{backwards:!0})){let Ve=C(se,ge,Ue);return h([D,Ve?D:"",fe])}let ue=[" ",fe];return me||(ue=[h(ue),f]),ue}function I(ie,ce,ge,fe){let _e=[],se=ie.getValue();return!se||!se.comments||(ie.each(()=>{let Ue=ie.getValue();!Ue.leading&&!Ue.trailing&&(!fe||fe(Ue))&&_e.push(F(ie,ce))},"comments"),_e.length===0)?"":ge?E(D,_e):d([D,E(D,_e)])}function q(ie,ce,ge){let fe=ie.getValue();if(!fe)return{};let _e=fe.comments||[];ge&&(_e=_e.filter(ue=>!ge.has(ue)));let se=fe===ce.cursorNode;if(_e.length===0){let ue=se?x:"";return{leading:ue,trailing:ue}}let Ue=[],me=[];return ie.each(()=>{let ue=ie.getValue();if(ge&&ge.has(ue))return;let{leading:Ve,trailing:tt}=ue;Ve?Ue.push(y(ie,ce)):tt&&me.push(L(ie,ce))},"comments"),se&&(Ue.unshift(x),me.push(x)),{leading:Ue,trailing:me}}function U(ie,ce,ge,fe){let{leading:_e,trailing:se}=q(ie,ge,fe);return!_e&&!se?ce:[_e,ce,se]}function z(ie){if(ie)for(let ce of ie){if(!ce.printed)throw new Error('Comment "'+ce.value.trim()+'" was not printed. Please report this error!');delete ce.printed}}A.exports={attach:re,printComments:U,printCommentsSeparately:q,printDanglingComments:I,getSortedChildNodes:$,ensureAllCommentsPrinted:z}}}),Zv=Ne({"src/common/ast-path.js"(m,A){je();var p=Ur();function b(d,h){let E=D(d.stack,h);return E===-1?null:d.stack[E]}function D(d,h){for(let E=d.length-1;E>=0;E-=2){let x=d[E];if(x&&!Array.isArray(x)&&--h<0)return E}return-1}var f=class{constructor(d){this.stack=[d]}getName(){let{stack:d}=this,{length:h}=d;return h>1?d[h-2]:null}getValue(){return p(this.stack)}getNode(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return b(this,d)}getParentNode(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return b(this,d+1)}call(d){let{stack:h}=this,{length:E}=h,x=p(h);for(var B=arguments.length,T=new Array(B>1?B-1:0),P=1;P<B;P++)T[P-1]=arguments[P];for(let w of T)x=x[w],h.push(w,x);let C=d(this);return h.length=E,C}callParent(d){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,E=D(this.stack,h+1),x=this.stack.splice(E+1),B=d(this);return this.stack.push(...x),B}each(d){let{stack:h}=this,{length:E}=h,x=p(h);for(var B=arguments.length,T=new Array(B>1?B-1:0),P=1;P<B;P++)T[P-1]=arguments[P];for(let C of T)x=x[C],h.push(C,x);for(let C=0;C<x.length;++C)h.push(C,x[C]),d(this,C,x),h.length-=2;h.length=E}map(d){let h=[];for(var E=arguments.length,x=new Array(E>1?E-1:0),B=1;B<E;B++)x[B-1]=arguments[B];return this.each((T,P,C)=>{h[P]=d(T,P,C)},...x),h}try(d){let{stack:h}=this,E=[...h];try{return d()}finally{h.length=0,h.push(...E)}}match(){let d=this.stack.length-1,h=null,E=this.stack[d--];for(var x=arguments.length,B=new Array(x),T=0;T<x;T++)B[T]=arguments[T];for(let P of B){if(E===void 0)return!1;let C=null;if(typeof h=="number"&&(C=h,h=this.stack[d--],E=this.stack[d--]),P&&!P(E,h,C))return!1;h=this.stack[d--],E=this.stack[d--]}return!0}findAncestor(d){let h=this.stack.length-1,E=null,x=this.stack[h--];for(;x;){let B=null;if(typeof E=="number"&&(B=E,E=this.stack[h--],x=this.stack[h--]),E!==null&&d(x,E,B))return x;E=this.stack[h--],x=this.stack[h--]}}};A.exports=f}}),e2=Ne({"src/main/multiparser.js"(m,A){je();var{utils:{stripTrailingHardline:p}}=Nn(),{normalize:b}=x0(),D=Rr();function f(h,E,x,B){if(x.printer.embed&&x.embeddedLanguageFormatting==="auto")return x.printer.embed(h,E,(T,P,C)=>d(T,P,x,B,C),x)}function d(h,E,x,B){let{stripTrailingHardline:T=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},P=b(Object.assign(Object.assign(Object.assign({},x),E),{},{parentParser:x.parser,originalText:h}),{passThrough:!0}),C=ep().parse(h,P),{ast:w}=C;h=C.text;let j=w.comments;delete w.comments,D.attach(j,w,h,P),P[Symbol.for("comments")]=j||[],P[Symbol.for("tokens")]=w.tokens||[];let X=B(w,P);return D.ensureAllCommentsPrinted(j),T?typeof X=="string"?X.replace(/(?:\r?\n)*$/,""):p(X):X}A.exports={printSubtree:f}}}),t2=Ne({"src/main/ast-to-doc.js"(m,A){je();var p=Zv(),{builders:{hardline:b,addAlignmentToDoc:D},utils:{propagateBreaks:f}}=Nn(),{printComments:d}=Rr(),h=e2();function E(T,P){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:w}=P;w.preprocess&&(T=w.preprocess(T,P));let j=new Map,X=new p(T),ne=$();return C>0&&(ne=D([b,ne],C,P.tabWidth)),f(ne),ne;function $(G,re){return G===void 0||G===X?K(re):Array.isArray(G)?X.call(()=>K(re),...G):X.call(()=>K(re),G)}function K(G){let re=X.getValue(),te=re&&typeof re=="object"&&G===void 0;if(te&&j.has(re))return j.get(re);let De=B(X,P,$,G);return te&&j.set(re,De),De}}function x(T,P){let{originalText:C,[Symbol.for("comments")]:w,locStart:j,locEnd:X}=P,ne=j(T),$=X(T),K=new Set;for(let G of w)j(G)>=ne&&X(G)<=$&&(G.printed=!0,K.add(G));return{doc:C.slice(ne,$),printedComments:K}}function B(T,P,C,w){let j=T.getValue(),{printer:X}=P,ne,$;if(X.hasPrettierIgnore&&X.hasPrettierIgnore(T))({doc:ne,printedComments:$}=x(j,P));else{if(j)try{ne=h.printSubtree(T,C,P,E)}catch(K){if(globalThis.PRETTIER_DEBUG)throw K}ne||(ne=X.print(T,P,C,w))}return(!X.willPrintOwnComments||!X.willPrintOwnComments(T,P))&&(ne=d(T,ne,P,$)),ne}A.exports=E}}),n2=Ne({"src/main/range-util.js"(m,A){je();var p=Uo(),b=Rr(),D=w=>{let{parser:j}=w;return j==="json"||j==="json5"||j==="json-stringify"};function f(w,j){let X=[w.node,...w.parentNodes],ne=new Set([j.node,...j.parentNodes]);return X.find($=>B.has($.type)&&ne.has($))}function d(w){let j=w.length-1;for(;;){let X=w[j];if(X&&(X.type==="Program"||X.type==="File"))j--;else break}return w.slice(0,j+1)}function h(w,j,X){let{locStart:ne,locEnd:$}=X,K=w.node,G=j.node;if(K===G)return{startNode:K,endNode:G};let re=ne(w.node);for(let De of d(j.parentNodes))if(ne(De)>=re)G=De;else break;let te=$(j.node);for(let De of d(w.parentNodes)){if($(De)<=te)K=De;else break;if(K===G)break}return{startNode:K,endNode:G}}function E(w,j,X,ne){let $=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],K=arguments.length>5?arguments[5]:void 0,{locStart:G,locEnd:re}=X,te=G(w),De=re(w);if(!(j>De||j<te||K==="rangeEnd"&&j===te||K==="rangeStart"&&j===De)){for(let N of b.getSortedChildNodes(w,X)){let J=E(N,j,X,ne,[w,...$],K);if(J)return J}if(!ne||ne(w,$[0]))return{node:w,parentNodes:$}}}function x(w,j){return j!=="DeclareExportDeclaration"&&w!=="TypeParameterDeclaration"&&(w==="Directive"||w==="TypeAlias"||w==="TSExportAssignment"||w.startsWith("Declare")||w.startsWith("TSDeclare")||w.endsWith("Statement")||w.endsWith("Declaration"))}var B=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),T=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function P(w,j,X){if(!j)return!1;switch(w.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return x(j.type,X&&X.type);case"json":case"json5":case"json-stringify":return B.has(j.type);case"graphql":return T.has(j.kind);case"vue":return j.tag!=="root"}return!1}function C(w,j,X){let{rangeStart:ne,rangeEnd:$,locStart:K,locEnd:G}=j;p.ok($>ne);let re=w.slice(ne,$).search(/\S/),te=re===-1;if(!te)for(ne+=re;$>ne&&!/\S/.test(w[$-1]);--$);let De=E(X,ne,j,(R,y)=>P(j,R,y),[],"rangeStart"),N=te?De:E(X,$,j,R=>P(j,R),[],"rangeEnd");if(!De||!N)return{rangeStart:0,rangeEnd:0};let J,F;if(D(j)){let R=f(De,N);J=R,F=R}else({startNode:J,endNode:F}=h(De,N,j));return{rangeStart:Math.min(K(J),K(F)),rangeEnd:Math.max(G(J),G(F))}}A.exports={calculateRange:C,findNodeAtOffset:E}}}),r2=Ne({"src/main/core.js"(m,A){je();var{diffArrays:p}=Rs(),{printer:{printDocToString:b},debug:{printDocToDebug:D}}=Nn(),{getAlignmentSize:f}=ye(),{guessEndOfLine:d,convertEndOfLineToChars:h,countEndOfLineChars:E,normalizeEndOfLine:x}=ss(),B=x0().normalize,T=Kv(),P=Rr(),C=ep(),w=t2(),j=n2(),X="\uFEFF",ne=Symbol("cursor");function $(F,R,y){let L=R.comments;return L&&(delete R.comments,P.attach(L,R,F,y)),y[Symbol.for("comments")]=L||[],y[Symbol.for("tokens")]=R.tokens||[],y.originalText=F,L}function K(F,R){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!F||F.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:L,text:I}=C.parse(F,R);if(R.cursorOffset>=0){let ie=j.findNodeAtOffset(L,R.cursorOffset,R);ie&&ie.node&&(R.cursorNode=ie.node)}let q=$(I,L,R),U=w(L,R,y),z=b(U,R);if(P.ensureAllCommentsPrinted(q),y>0){let ie=z.formatted.trim();z.cursorNodeStart!==void 0&&(z.cursorNodeStart-=z.formatted.indexOf(ie)),z.formatted=ie+h(R.endOfLine)}if(R.cursorOffset>=0){let ie,ce,ge,fe,_e;if(R.cursorNode&&z.cursorNodeText?(ie=R.locStart(R.cursorNode),ce=I.slice(ie,R.locEnd(R.cursorNode)),ge=R.cursorOffset-ie,fe=z.cursorNodeStart,_e=z.cursorNodeText):(ie=0,ce=I,ge=R.cursorOffset,fe=0,_e=z.formatted),ce===_e)return{formatted:z.formatted,cursorOffset:fe+ge,comments:q};let se=[...ce];se.splice(ge,0,ne);let Ue=[..._e],me=p(se,Ue),ue=fe;for(let Ve of me)if(Ve.removed){if(Ve.value.includes(ne))break}else ue+=Ve.count;return{formatted:z.formatted,cursorOffset:ue,comments:q}}return{formatted:z.formatted,cursorOffset:-1,comments:q}}function G(F,R){let{ast:y,text:L}=C.parse(F,R),{rangeStart:I,rangeEnd:q}=j.calculateRange(L,R,y),U=L.slice(I,q),z=Math.min(I,L.lastIndexOf(`
186
+ `,I)+1),ie=L.slice(z,I).match(/^\s*/)[0],ce=f(ie,R.tabWidth),ge=K(U,Object.assign(Object.assign({},R),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:R.cursorOffset>I&&R.cursorOffset<=q?R.cursorOffset-I:-1,endOfLine:"lf"}),ce),fe=ge.formatted.trimEnd(),{cursorOffset:_e}=R;_e>q?_e+=fe.length-U.length:ge.cursorOffset>=0&&(_e=ge.cursorOffset+I);let se=L.slice(0,I)+fe+L.slice(q);if(R.endOfLine!=="lf"){let Ue=h(R.endOfLine);_e>=0&&Ue===`\r
187
+ `&&(_e+=E(se.slice(0,_e),`
188
+ `)),se=se.replace(/\n/g,Ue)}return{formatted:se,cursorOffset:_e,comments:ge.comments}}function re(F,R,y){return typeof R!="number"||Number.isNaN(R)||R<0||R>F.length?y:R}function te(F,R){let{cursorOffset:y,rangeStart:L,rangeEnd:I}=R;return y=re(F,y,-1),L=re(F,L,0),I=re(F,I,F.length),Object.assign(Object.assign({},R),{},{cursorOffset:y,rangeStart:L,rangeEnd:I})}function De(F,R){let{cursorOffset:y,rangeStart:L,rangeEnd:I,endOfLine:q}=te(F,R),U=F.charAt(0)===X;if(U&&(F=F.slice(1),y--,L--,I--),q==="auto"&&(q=d(F)),F.includes("\r")){let z=ie=>E(F.slice(0,Math.max(ie,0)),`\r
189
+ `);y-=z(y),L-=z(L),I-=z(I),F=x(F)}return{hasBOM:U,text:F,options:te(F,Object.assign(Object.assign({},R),{},{cursorOffset:y,rangeStart:L,rangeEnd:I,endOfLine:q}))}}function N(F,R){let y=C.resolveParser(R);return!y.hasPragma||y.hasPragma(F)}function J(F,R){let{hasBOM:y,text:L,options:I}=De(F,B(R));if(I.rangeStart>=I.rangeEnd&&L!==""||I.requirePragma&&!N(L,I))return{formatted:F,cursorOffset:R.cursorOffset,comments:[]};let q;return I.rangeStart>0||I.rangeEnd<L.length?q=G(L,I):(!I.requirePragma&&I.insertPragma&&I.printer.insertPragma&&!N(L,I)&&(L=I.printer.insertPragma(L)),q=K(L,I)),y&&(q.formatted=X+q.formatted,q.cursorOffset>=0&&q.cursorOffset++),q}A.exports={formatWithCursor:J,parse(F,R,y){let{text:L,options:I}=De(F,B(R)),q=C.parse(L,I);return y&&(q.ast=T(q.ast,I)),q},formatAST(F,R){R=B(R);let y=w(F,R);return b(y,R)},formatDoc(F,R){return J(D(F),Object.assign(Object.assign({},R),{},{parser:"__js_expression"})).formatted},printToDoc(F,R){R=B(R);let{ast:y,text:L}=C.parse(F,R);return $(L,y,R),w(y,R)},printDocToString(F,R){return b(F,B(R))}}}}),i2=Ne({"src/common/util-shared.js"(m,A){je();var{getMaxContinuousCount:p,getStringWidth:b,getAlignmentSize:D,getIndentSize:f,skip:d,skipWhitespace:h,skipSpaces:E,skipNewline:x,skipToLineEnd:B,skipEverythingButNewLine:T,skipInlineComment:P,skipTrailingComment:C,hasNewline:w,hasNewlineInRange:j,hasSpaces:X,isNextLineEmpty:ne,isNextLineEmptyAfterIndex:$,isPreviousLineEmpty:K,getNextNonSpaceNonCommentCharacterIndex:G,makeString:re,addLeadingComment:te,addDanglingComment:De,addTrailingComment:N}=ye();A.exports={getMaxContinuousCount:p,getStringWidth:b,getAlignmentSize:D,getIndentSize:f,skip:d,skipWhitespace:h,skipSpaces:E,skipNewline:x,skipToLineEnd:B,skipEverythingButNewLine:T,skipInlineComment:P,skipTrailingComment:C,hasNewline:w,hasNewlineInRange:j,hasSpaces:X,isNextLineEmpty:ne,isNextLineEmptyAfterIndex:$,isPreviousLineEmpty:K,getNextNonSpaceNonCommentCharacterIndex:G,makeString:re,addLeadingComment:te,addDanglingComment:De,addTrailingComment:N}}}),sa=Ne({"src/utils/create-language.js"(m,A){je(),A.exports=function(p,b){let{languageId:D}=p,f=St(p,rt);return Object.assign(Object.assign({linguistLanguageId:D},f),b(p))}}}),s2=Ne({"node_modules/esutils/lib/ast.js"(m,A){je(),function(){function p(E){if(E==null)return!1;switch(E.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function b(E){if(E==null)return!1;switch(E.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function D(E){if(E==null)return!1;switch(E.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function f(E){return D(E)||E!=null&&E.type==="FunctionDeclaration"}function d(E){switch(E.type){case"IfStatement":return E.alternate!=null?E.alternate:E.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return E.body}return null}function h(E){var x;if(E.type!=="IfStatement"||E.alternate==null)return!1;x=E.consequent;do{if(x.type==="IfStatement"&&x.alternate==null)return!0;x=d(x)}while(x);return!1}A.exports={isExpression:p,isStatement:D,isIterationStatement:b,isSourceElement:f,isProblematicIfStatement:h,trailingStatement:d}}()}}),S0=Ne({"node_modules/esutils/lib/code.js"(m,A){je(),function(){var p,b,D,f,d,h;b={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},p={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function E($){return 48<=$&&$<=57}function x($){return 48<=$&&$<=57||97<=$&&$<=102||65<=$&&$<=70}function B($){return $>=48&&$<=55}D=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function T($){return $===32||$===9||$===11||$===12||$===160||$>=5760&&D.indexOf($)>=0}function P($){return $===10||$===13||$===8232||$===8233}function C($){if($<=65535)return String.fromCharCode($);var K=String.fromCharCode(Math.floor(($-65536)/1024)+55296),G=String.fromCharCode(($-65536)%1024+56320);return K+G}for(f=new Array(128),h=0;h<128;++h)f[h]=h>=97&&h<=122||h>=65&&h<=90||h===36||h===95;for(d=new Array(128),h=0;h<128;++h)d[h]=h>=97&&h<=122||h>=65&&h<=90||h>=48&&h<=57||h===36||h===95;function w($){return $<128?f[$]:b.NonAsciiIdentifierStart.test(C($))}function j($){return $<128?d[$]:b.NonAsciiIdentifierPart.test(C($))}function X($){return $<128?f[$]:p.NonAsciiIdentifierStart.test(C($))}function ne($){return $<128?d[$]:p.NonAsciiIdentifierPart.test(C($))}A.exports={isDecimalDigit:E,isHexDigit:x,isOctalDigit:B,isWhiteSpace:T,isLineTerminator:P,isIdentifierStartES5:w,isIdentifierPartES5:j,isIdentifierStartES6:X,isIdentifierPartES6:ne}}()}}),a2=Ne({"node_modules/esutils/lib/keyword.js"(m,A){je(),function(){var p=S0();function b(w){switch(w){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function D(w,j){return!j&&w==="yield"?!1:f(w,j)}function f(w,j){if(j&&b(w))return!0;switch(w.length){case 2:return w==="if"||w==="in"||w==="do";case 3:return w==="var"||w==="for"||w==="new"||w==="try";case 4:return w==="this"||w==="else"||w==="case"||w==="void"||w==="with"||w==="enum";case 5:return w==="while"||w==="break"||w==="catch"||w==="throw"||w==="const"||w==="yield"||w==="class"||w==="super";case 6:return w==="return"||w==="typeof"||w==="delete"||w==="switch"||w==="export"||w==="import";case 7:return w==="default"||w==="finally"||w==="extends";case 8:return w==="function"||w==="continue"||w==="debugger";case 10:return w==="instanceof";default:return!1}}function d(w,j){return w==="null"||w==="true"||w==="false"||D(w,j)}function h(w,j){return w==="null"||w==="true"||w==="false"||f(w,j)}function E(w){return w==="eval"||w==="arguments"}function x(w){var j,X,ne;if(w.length===0||(ne=w.charCodeAt(0),!p.isIdentifierStartES5(ne)))return!1;for(j=1,X=w.length;j<X;++j)if(ne=w.charCodeAt(j),!p.isIdentifierPartES5(ne))return!1;return!0}function B(w,j){return(w-55296)*1024+(j-56320)+65536}function T(w){var j,X,ne,$,K;if(w.length===0)return!1;for(K=p.isIdentifierStartES6,j=0,X=w.length;j<X;++j){if(ne=w.charCodeAt(j),55296<=ne&&ne<=56319){if(++j,j>=X||($=w.charCodeAt(j),!(56320<=$&&$<=57343)))return!1;ne=B(ne,$)}if(!K(ne))return!1;K=p.isIdentifierPartES6}return!0}function P(w,j){return x(w)&&!d(w,j)}function C(w,j){return T(w)&&!h(w,j)}A.exports={isKeywordES5:D,isKeywordES6:f,isReservedWordES5:d,isReservedWordES6:h,isRestrictedWord:E,isIdentifierNameES5:x,isIdentifierNameES6:T,isIdentifierES5:P,isIdentifierES6:C}}()}}),o2=Ne({"node_modules/esutils/lib/utils.js"(m){je(),function(){m.ast=s2(),m.code=S0(),m.keyword=a2()}()}}),aa=Ne({"src/language-js/utils/is-block-comment.js"(m,A){je();var p=new Set(["Block","CommentBlock","MultiLine"]),b=D=>p.has(D==null?void 0:D.type);A.exports=b}}),u2=Ne({"src/language-js/utils/is-node-matches.js"(m,A){je();function p(D,f){let d=f.split(".");for(let h=d.length-1;h>=0;h--){let E=d[h];if(h===0)return D.type==="Identifier"&&D.name===E;if(D.type!=="MemberExpression"||D.optional||D.computed||D.property.type!=="Identifier"||D.property.name!==E)return!1;D=D.object}}function b(D,f){return f.some(d=>p(D,d))}A.exports=b}}),hr=Ne({"src/language-js/utils/index.js"(m,A){je();var p=o2().keyword.isIdentifierNameES5,{getLast:b,hasNewline:D,skipWhitespace:f,isNonEmptyArray:d,isNextLineEmptyAfterIndex:h,getStringWidth:E}=ye(),{locStart:x,locEnd:B,hasSameLocStart:T}=oi(),P=aa(),C=u2(),w="(?:(?=.)\\s)",j=new RegExp(`^${w}*:`),X=new RegExp(`^${w}*::`);function ne(oe){var vt,yn;return((vt=oe.extra)===null||vt===void 0?void 0:vt.parenthesized)&&P((yn=oe.trailingComments)===null||yn===void 0?void 0:yn[0])&&j.test(oe.trailingComments[0].value)}function $(oe){let vt=oe==null?void 0:oe[0];return P(vt)&&X.test(vt.value)}function K(oe,vt){if(!oe||typeof oe!="object")return!1;if(Array.isArray(oe))return oe.some(Hn=>K(Hn,vt));let yn=vt(oe);return typeof yn=="boolean"?yn:Object.values(oe).some(Hn=>K(Hn,vt))}function G(oe){return oe.type==="AssignmentExpression"||oe.type==="BinaryExpression"||oe.type==="LogicalExpression"||oe.type==="NGPipeExpression"||oe.type==="ConditionalExpression"||ct(oe)||ft(oe)||oe.type==="SequenceExpression"||oe.type==="TaggedTemplateExpression"||oe.type==="BindExpression"||oe.type==="UpdateExpression"&&!oe.prefix||Ni(oe)||oe.type==="TSNonNullExpression"}function re(oe){var vt,yn,Hn,zn,Ei,Nr;return oe.expressions?oe.expressions[0]:(vt=(yn=(Hn=(zn=(Ei=(Nr=oe.left)!==null&&Nr!==void 0?Nr:oe.test)!==null&&Ei!==void 0?Ei:oe.callee)!==null&&zn!==void 0?zn:oe.object)!==null&&Hn!==void 0?Hn:oe.tag)!==null&&yn!==void 0?yn:oe.argument)!==null&&vt!==void 0?vt:oe.expression}function te(oe,vt){if(vt.expressions)return["expressions",0];if(vt.left)return["left"];if(vt.test)return["test"];if(vt.object)return["object"];if(vt.callee)return["callee"];if(vt.tag)return["tag"];if(vt.argument)return["argument"];if(vt.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function De(oe){return oe=new Set(oe),vt=>oe.has(vt==null?void 0:vt.type)}var N=De(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),J=De(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function F(oe){let vt=oe.getParentNode();return oe.getName()==="declaration"&&J(vt)?vt:null}var R=De(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function y(oe){return oe.type==="NumericLiteral"||oe.type==="Literal"&&typeof oe.value=="number"}function L(oe){return oe.type==="UnaryExpression"&&(oe.operator==="+"||oe.operator==="-")&&y(oe.argument)}function I(oe){return oe.type==="StringLiteral"||oe.type==="Literal"&&typeof oe.value=="string"}var q=De(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),U=De(["FunctionExpression","ArrowFunctionExpression"]);function z(oe){return oe.type==="FunctionExpression"||oe.type==="ArrowFunctionExpression"&&oe.body.type==="BlockStatement"}function ie(oe){return ct(oe)&&oe.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(oe.callee.name)}var ce=De(["JSXElement","JSXFragment"]);function ge(oe,vt){if(oe.parentParser!=="markdown"&&oe.parentParser!=="mdx")return!1;let yn=vt.getNode();if(!yn.expression||!ce(yn.expression))return!1;let Hn=vt.getParentNode();return Hn.type==="Program"&&Hn.body.length===1}function fe(oe){return oe.kind==="get"||oe.kind==="set"}function _e(oe){return fe(oe)||T(oe,oe.value)}function se(oe){return(oe.type==="ObjectTypeProperty"||oe.type==="ObjectTypeInternalSlot")&&oe.value.type==="FunctionTypeAnnotation"&&!oe.static&&!_e(oe)}function Ue(oe){return(oe.type==="TypeAnnotation"||oe.type==="TSTypeAnnotation")&&oe.typeAnnotation.type==="FunctionTypeAnnotation"&&!oe.static&&!T(oe,oe.typeAnnotation)}var me=De(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function ue(oe){return ft(oe)||oe.type==="BindExpression"&&!!oe.object}var Ve=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);function tt(oe){return oe?!!((oe.type==="GenericTypeAnnotation"||oe.type==="TSTypeReference")&&!oe.typeParameters||Ve.has(oe.type)):!1}function Ge(oe){let vt=/^(?:before|after)(?:Each|All)$/;return oe.callee.type==="Identifier"&&vt.test(oe.callee.name)&&oe.arguments.length===1}var dt=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function be(oe){return C(oe,dt)}function Me(oe,vt){if(oe.type!=="CallExpression")return!1;if(oe.arguments.length===1){if(ie(oe)&&vt&&Me(vt))return U(oe.arguments[0]);if(Ge(oe))return ie(oe.arguments[0])}else if((oe.arguments.length===2||oe.arguments.length===3)&&(oe.arguments[0].type==="TemplateLiteral"||I(oe.arguments[0]))&&be(oe.callee))return oe.arguments[2]&&!y(oe.arguments[2])?!1:(oe.arguments.length===2?U(oe.arguments[1]):z(oe.arguments[1])&&Ot(oe.arguments[1]).length<=1)||ie(oe.arguments[1]);return!1}var ct=De(["CallExpression","OptionalCallExpression"]),ft=De(["MemberExpression","OptionalMemberExpression"]);function Yt(oe){let vt="expressions";oe.type==="TSTemplateLiteralType"&&(vt="types");let yn=oe[vt];return yn.length===0?!1:yn.every(Hn=>{if(wn(Hn))return!1;if(Hn.type==="Identifier"||Hn.type==="ThisExpression")return!0;if(ft(Hn)){let zn=Hn;for(;ft(zn);)if(zn.property.type!=="Identifier"&&zn.property.type!=="Literal"&&zn.property.type!=="StringLiteral"&&zn.property.type!=="NumericLiteral"||(zn=zn.object,wn(zn)))return!1;return zn.type==="Identifier"||zn.type==="ThisExpression"}return!1})}function Re(oe,vt){return oe==="+"||oe==="-"?oe+vt:vt}function Se(oe,vt){let yn=x(vt),Hn=f(oe,B(vt));return Hn!==!1&&oe.slice(yn,yn+2)==="/*"&&oe.slice(Hn,Hn+2)==="*/"}function Je(oe,vt){return ce(vt)?Bn(vt):wn(vt,un.Leading,yn=>D(oe,B(yn)))}function Qe(oe,vt){return vt.parser!=="json"&&I(oe.key)&&at(oe.key).slice(1,-1)===oe.key.value&&(p(oe.key.value)&&!(vt.parser==="babel-ts"&&oe.type==="ClassProperty"||vt.parser==="typescript"&&oe.type==="PropertyDefinition")||bt(oe.key.value)&&String(Number(oe.key.value))===oe.key.value&&(vt.parser==="babel"||vt.parser==="acorn"||vt.parser==="espree"||vt.parser==="meriyah"||vt.parser==="__babel_estree"))}function bt(oe){return/^(?:\d+|\d+\.\d+)$/.test(oe)}function Lt(oe,vt){let yn=/^[fx]?(?:describe|it|test)$/;return vt.type==="TaggedTemplateExpression"&&vt.quasi===oe&&vt.tag.type==="MemberExpression"&&vt.tag.property.type==="Identifier"&&vt.tag.property.name==="each"&&(vt.tag.object.type==="Identifier"&&yn.test(vt.tag.object.name)||vt.tag.object.type==="MemberExpression"&&vt.tag.object.property.type==="Identifier"&&(vt.tag.object.property.name==="only"||vt.tag.object.property.name==="skip")&&vt.tag.object.object.type==="Identifier"&&yn.test(vt.tag.object.object.name))}function It(oe){return oe.quasis.some(vt=>vt.value.raw.includes(`
190
+ `))}function pn(oe,vt){return(oe.type==="TemplateLiteral"&&It(oe)||oe.type==="TaggedTemplateExpression"&&It(oe.quasi))&&!D(vt,x(oe),{backwards:!0})}function In(oe){if(!wn(oe))return!1;let vt=b(ut(oe,un.Dangling));return vt&&!P(vt)}function kn(oe){if(oe.length<=1)return!1;let vt=0;for(let yn of oe)if(U(yn)){if(vt+=1,vt>1)return!0}else if(ct(yn)){for(let Hn of yn.arguments)if(U(Hn))return!0}return!1}function fn(oe){let vt=oe.getValue(),yn=oe.getParentNode();return ct(vt)&&ct(yn)&&yn.callee===vt&&vt.arguments.length>yn.arguments.length&&yn.arguments.length>0}function bn(oe,vt){if(vt>=2)return!1;let yn=Nr=>bn(Nr,vt+1),Hn=oe.type==="Literal"&&"regex"in oe&&oe.regex.pattern||oe.type==="RegExpLiteral"&&oe.pattern;if(Hn&&E(Hn)>5)return!1;if(oe.type==="Literal"||oe.type==="BigIntLiteral"||oe.type==="DecimalLiteral"||oe.type==="BooleanLiteral"||oe.type==="NullLiteral"||oe.type==="NumericLiteral"||oe.type==="RegExpLiteral"||oe.type==="StringLiteral"||oe.type==="Identifier"||oe.type==="ThisExpression"||oe.type==="Super"||oe.type==="PrivateName"||oe.type==="PrivateIdentifier"||oe.type==="ArgumentPlaceholder"||oe.type==="Import")return!0;if(oe.type==="TemplateLiteral")return oe.quasis.every(Nr=>!Nr.value.raw.includes(`
191
+ `))&&oe.expressions.every(yn);if(oe.type==="ObjectExpression")return oe.properties.every(Nr=>!Nr.computed&&(Nr.shorthand||Nr.value&&yn(Nr.value)));if(oe.type==="ArrayExpression")return oe.elements.every(Nr=>Nr===null||yn(Nr));if(ei(oe))return(oe.type==="ImportExpression"||bn(oe.callee,vt))&&vr(oe).every(yn);if(ft(oe))return bn(oe.object,vt)&&bn(oe.property,vt);let zn={"!":!0,"-":!0,"+":!0,"~":!0};if(oe.type==="UnaryExpression"&&zn[oe.operator])return bn(oe.argument,vt);let Ei={"++":!0,"--":!0};return oe.type==="UpdateExpression"&&Ei[oe.operator]?bn(oe.argument,vt):oe.type==="TSNonNullExpression"?bn(oe.expression,vt):!1}function at(oe){var vt,yn;return(vt=(yn=oe.extra)===null||yn===void 0?void 0:yn.raw)!==null&&vt!==void 0?vt:oe.raw}function Ce(oe){return oe}function pt(oe){return oe.filepath&&/\.tsx$/i.test(oe.filepath)}function Ie(oe){let vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return oe.trailingComma==="es5"&&vt==="es5"||oe.trailingComma==="all"&&(vt==="all"||vt==="es5")}function lt(oe,vt){switch(oe.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return lt(oe.left,vt);case"MemberExpression":case"OptionalMemberExpression":return lt(oe.object,vt);case"TaggedTemplateExpression":return oe.tag.type==="FunctionExpression"?!1:lt(oe.tag,vt);case"CallExpression":case"OptionalCallExpression":return oe.callee.type==="FunctionExpression"?!1:lt(oe.callee,vt);case"ConditionalExpression":return lt(oe.test,vt);case"UpdateExpression":return!oe.prefix&&lt(oe.argument,vt);case"BindExpression":return oe.object&&lt(oe.object,vt);case"SequenceExpression":return lt(oe.expressions[0],vt);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return lt(oe.expression,vt);default:return vt(oe)}}var nn={"==":!0,"!=":!0,"===":!0,"!==":!0},Wt={"*":!0,"/":!0,"%":!0},mt={">>":!0,">>>":!0,"<<":!0};function V(oe,vt){return!(nt(vt)!==nt(oe)||oe==="**"||nn[oe]&&nn[vt]||vt==="%"&&Wt[oe]||oe==="%"&&Wt[vt]||vt!==oe&&Wt[vt]&&Wt[oe]||mt[oe]&&mt[vt])}var Te=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((oe,vt)=>oe.map(yn=>[yn,vt])));function nt(oe){return Te.get(oe)}function Bt(oe){return!!mt[oe]||oe==="|"||oe==="^"||oe==="&"}function Vt(oe){var vt;if(oe.rest)return!0;let yn=Ot(oe);return((vt=b(yn))===null||vt===void 0?void 0:vt.type)==="RestElement"}var cn=new WeakMap;function Ot(oe){if(cn.has(oe))return cn.get(oe);let vt=[];return oe.this&&vt.push(oe.this),Array.isArray(oe.parameters)?vt.push(...oe.parameters):Array.isArray(oe.params)&&vt.push(...oe.params),oe.rest&&vt.push(oe.rest),cn.set(oe,vt),vt}function xr(oe,vt){let yn=oe.getValue(),Hn=0,zn=Ei=>vt(Ei,Hn++);yn.this&&oe.call(zn,"this"),Array.isArray(yn.parameters)?oe.each(zn,"parameters"):Array.isArray(yn.params)&&oe.each(zn,"params"),yn.rest&&oe.call(zn,"rest")}var on=new WeakMap;function vr(oe){if(on.has(oe))return on.get(oe);let vt=oe.arguments;return oe.type==="ImportExpression"&&(vt=[oe.source],oe.attributes&&vt.push(oe.attributes)),on.set(oe,vt),vt}function sn(oe,vt){let yn=oe.getValue();yn.type==="ImportExpression"?(oe.call(Hn=>vt(Hn,0),"source"),yn.attributes&&oe.call(Hn=>vt(Hn,1),"attributes")):oe.each(vt,"arguments")}function xn(oe){return oe.value.trim()==="prettier-ignore"&&!oe.unignore}function Bn(oe){return oe&&(oe.prettierIgnore||wn(oe,un.PrettierIgnore))}function ur(oe){let vt=oe.getValue();return Bn(vt)}var un={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Ln=(oe,vt)=>{if(typeof oe=="function"&&(vt=oe,oe=0),oe||vt)return(yn,Hn,zn)=>!(oe&un.Leading&&!yn.leading||oe&un.Trailing&&!yn.trailing||oe&un.Dangling&&(yn.leading||yn.trailing)||oe&un.Block&&!P(yn)||oe&un.Line&&!N(yn)||oe&un.First&&Hn!==0||oe&un.Last&&Hn!==zn.length-1||oe&un.PrettierIgnore&&!xn(yn)||vt&&!vt(yn))};function wn(oe,vt,yn){if(!d(oe==null?void 0:oe.comments))return!1;let Hn=Ln(vt,yn);return Hn?oe.comments.some(Hn):!0}function ut(oe,vt,yn){if(!Array.isArray(oe==null?void 0:oe.comments))return[];let Hn=Ln(vt,yn);return Hn?oe.comments.filter(Hn):oe.comments}var Fi=(oe,vt)=>{let{originalText:yn}=vt;return h(yn,B(oe))};function ei(oe){return ct(oe)||oe.type==="NewExpression"||oe.type==="ImportExpression"}function Un(oe){return oe&&(oe.type==="ObjectProperty"||oe.type==="Property"&&!oe.method&&oe.kind==="init")}function Gn(oe){return!!oe.__isUsingHackPipeline}var dr=Symbol("ifWithoutBlockAndSameLineComment");function Ni(oe){return oe.type==="TSAsExpression"||oe.type==="TSSatisfiesExpression"}A.exports={getFunctionParameters:Ot,iterateFunctionParametersPath:xr,getCallArguments:vr,iterateCallArgumentsPath:sn,hasRestParameter:Vt,getLeftSide:re,getLeftSidePathName:te,getParentExportDeclaration:F,getTypeScriptMappedTypeModifier:Re,hasFlowAnnotationComment:$,hasFlowShorthandAnnotationComment:ne,hasLeadingOwnLineComment:Je,hasNakedLeftSide:G,hasNode:K,hasIgnoreComment:ur,hasNodeIgnoreComment:Bn,identity:Ce,isBinaryish:me,isCallLikeExpression:ei,isEnabledHackPipeline:Gn,isLineComment:N,isPrettierIgnoreComment:xn,isCallExpression:ct,isMemberExpression:ft,isExportDeclaration:J,isFlowAnnotationComment:Se,isFunctionCompositionArgs:kn,isFunctionNotation:_e,isFunctionOrArrowExpression:U,isGetterOrSetter:fe,isJestEachTemplateLiteral:Lt,isJsxNode:ce,isLiteral:R,isLongCurriedCallExpression:fn,isSimpleCallArgument:bn,isMemberish:ue,isNumericLiteral:y,isSignedNumericLiteral:L,isObjectProperty:Un,isObjectType:q,isObjectTypePropertyAFunction:se,isSimpleType:tt,isSimpleNumber:bt,isSimpleTemplateLiteral:Yt,isStringLiteral:I,isStringPropSafeToUnquote:Qe,isTemplateOnItsOwnLine:pn,isTestCall:Me,isTheOnlyJsxElementInMarkdown:ge,isTSXFile:pt,isTypeAnnotationAFunction:Ue,isNextLineEmpty:Fi,needsHardlineAfterDanglingComment:In,rawText:at,shouldPrintComma:Ie,isBitwiseOperator:Bt,shouldFlatten:V,startsWithNoLookaheadToken:lt,getPrecedence:nt,hasComment:wn,getComments:ut,CommentCheckFlags:un,markerForIfWithoutBlockAndSameLineComment:dr,isTSTypeExpression:Ni}}}),eo=Ne({"src/language-js/print/template-literal.js"(m,A){je();var p=Ur(),{getStringWidth:b,getIndentSize:D}=ye(),{builders:{join:f,hardline:d,softline:h,group:E,indent:x,align:B,lineSuffixBoundary:T,addAlignmentToDoc:P},printer:{printDocToString:C},utils:{mapDoc:w}}=Nn(),{isBinaryish:j,isJestEachTemplateLiteral:X,isSimpleTemplateLiteral:ne,hasComment:$,isMemberExpression:K,isTSTypeExpression:G}=hr();function re(R,y,L){let I=R.getValue();if(I.type==="TemplateLiteral"&&X(I,R.getParentNode())){let ce=te(R,L,y);if(ce)return ce}let q="expressions";I.type==="TSTemplateLiteralType"&&(q="types");let U=[],z=R.map(y,q),ie=ne(I);return ie&&(z=z.map(ce=>C(ce,Object.assign(Object.assign({},L),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),U.push(T,"`"),R.each(ce=>{let ge=ce.getName();if(U.push(y()),ge<z.length){let{tabWidth:fe}=L,_e=ce.getValue(),se=D(_e.value.raw,fe),Ue=z[ge];if(!ie){let ue=I[q][ge];($(ue)||K(ue)||ue.type==="ConditionalExpression"||ue.type==="SequenceExpression"||G(ue)||j(ue))&&(Ue=[x([h,Ue]),h])}let me=se===0&&_e.value.raw.endsWith(`
192
+ `)?B(Number.NEGATIVE_INFINITY,Ue):P(Ue,se,fe);U.push(E(["${",me,T,"}"]))}},"quasis"),U.push("`"),U}function te(R,y,L){let I=R.getNode(),q=I.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(q.length>1||q.some(U=>U.length>0)){y.__inJestEach=!0;let U=R.map(L,"expressions");y.__inJestEach=!1;let z=[],ie=U.map(se=>"${"+C(se,Object.assign(Object.assign({},y),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),ce=[{hasLineBreak:!1,cells:[]}];for(let se=1;se<I.quasis.length;se++){let Ue=p(ce),me=ie[se-1];Ue.cells.push(me),me.includes(`
193
+ `)&&(Ue.hasLineBreak=!0),I.quasis[se].value.raw.includes(`
194
+ `)&&ce.push({hasLineBreak:!1,cells:[]})}let ge=Math.max(q.length,...ce.map(se=>se.cells.length)),fe=Array.from({length:ge}).fill(0),_e=[{cells:q},...ce.filter(se=>se.cells.length>0)];for(let{cells:se}of _e.filter(Ue=>!Ue.hasLineBreak))for(let[Ue,me]of se.entries())fe[Ue]=Math.max(fe[Ue],b(me));return z.push(T,"`",x([d,f(d,_e.map(se=>f(" | ",se.cells.map((Ue,me)=>se.hasLineBreak?Ue:Ue+" ".repeat(fe[me]-b(Ue))))))]),d,"`"),z}}function De(R,y){let L=R.getValue(),I=y();return $(L)&&(I=E([x([h,I]),h])),["${",I,T,"}"]}function N(R,y){return R.map(L=>De(L,y),"expressions")}function J(R,y){return w(R,L=>typeof L=="string"?y?L.replace(/(\\*)`/g,"$1$1\\`"):F(L):L)}function F(R){return R.replace(/([\\`]|\${)/g,"\\$1")}A.exports={printTemplateLiteral:re,printTemplateExpressions:N,escapeTemplateCharacters:J,uncookTemplateElementValue:F}}}),l2=Ne({"src/language-js/embed/markdown.js"(m,A){je();var{builders:{indent:p,softline:b,literalline:D,dedentToRoot:f}}=Nn(),{escapeTemplateCharacters:d}=eo();function h(x,B,T){let P=x.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(X,ne)=>"\\".repeat(ne.length/2)+"`"),C=E(P),w=C!=="";w&&(P=P.replace(new RegExp(`^${C}`,"gm"),""));let j=d(T(P,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",w?p([b,j]):[D,f(j)],b,"`"]}function E(x){let B=x.match(/^([^\S\n]*)\S/m);return B===null?"":B[1]}A.exports=h}}),c2=Ne({"src/language-js/embed/css.js"(m,A){je();var{isNonEmptyArray:p}=ye(),{builders:{indent:b,hardline:D,softline:f},utils:{mapDoc:d,replaceEndOfLine:h,cleanDoc:E}}=Nn(),{printTemplateExpressions:x}=eo();function B(C,w,j){let X=C.getValue(),ne=X.quasis.map(te=>te.value.raw),$=0,K=ne.reduce((te,De,N)=>N===0?De:te+"@prettier-placeholder-"+$+++"-id"+De,""),G=j(K,{parser:"scss"},{stripTrailingHardline:!0}),re=x(C,w);return T(G,X,re)}function T(C,w,j){if(w.quasis.length===1&&!w.quasis[0].value.raw.trim())return"``";let X=P(C,j);if(!X)throw new Error("Couldn't insert all the expressions");return["`",b([D,X]),f,"`"]}function P(C,w){if(!p(w))return C;let j=0,X=d(E(C),ne=>typeof ne!="string"||!ne.includes("@prettier-placeholder")?ne:ne.split(/@prettier-placeholder-(\d+)-id/).map(($,K)=>K%2===0?h($):(j++,w[$])));return w.length===j?X:null}A.exports=B}}),f2=Ne({"src/language-js/embed/graphql.js"(m,A){je();var{builders:{indent:p,join:b,hardline:D}}=Nn(),{escapeTemplateCharacters:f,printTemplateExpressions:d}=eo();function h(x,B,T){let P=x.getValue(),C=P.quasis.length;if(C===1&&P.quasis[0].value.raw.trim()==="")return"``";let w=d(x,B),j=[];for(let X=0;X<C;X++){let ne=P.quasis[X],$=X===0,K=X===C-1,G=ne.value.cooked,re=G.split(`
195
+ `),te=re.length,De=w[X],N=te>2&&re[0].trim()===""&&re[1].trim()==="",J=te>2&&re[te-1].trim()===""&&re[te-2].trim()==="",F=re.every(y=>/^\s*(?:#[^\n\r]*)?$/.test(y));if(!K&&/#[^\n\r]*$/.test(re[te-1]))return null;let R=null;F?R=E(re):R=T(G,{parser:"graphql"},{stripTrailingHardline:!0}),R?(R=f(R,!1),!$&&N&&j.push(""),j.push(R),!K&&J&&j.push("")):!$&&!K&&N&&j.push(""),De&&j.push(De)}return["`",p([D,b(D,j)]),D,"`"]}function E(x){let B=[],T=!1,P=x.map(C=>C.trim());for(let[C,w]of P.entries())w!==""&&(P[C-1]===""&&T?B.push([D,w]):B.push(w),T=!0);return B.length===0?null:b(D,B)}A.exports=h}}),p2=Ne({"src/language-js/embed/html.js"(m,A){je();var{builders:{indent:p,line:b,hardline:D,group:f},utils:{mapDoc:d}}=Nn(),{printTemplateExpressions:h,uncookTemplateElementValue:E}=eo(),x=0;function B(T,P,C,w,j){let{parser:X}=j,ne=T.getValue(),$=x;x=x+1>>>0;let K=L=>`PRETTIER_HTML_PLACEHOLDER_${L}_${$}_IN_JS`,G=ne.quasis.map((L,I,q)=>I===q.length-1?L.value.cooked:L.value.cooked+K(I)).join(""),re=h(T,P);if(re.length===0&&G.trim().length===0)return"``";let te=new RegExp(K("(\\d+)"),"g"),De=0,N=C(G,{parser:X,__onHtmlRoot(L){De=L.children.length}},{stripTrailingHardline:!0}),J=d(N,L=>{if(typeof L!="string")return L;let I=[],q=L.split(te);for(let U=0;U<q.length;U++){let z=q[U];if(U%2===0){z&&(z=E(z),w.__embeddedInHtml&&(z=z.replace(/<\/(script)\b/gi,"<\\/$1")),I.push(z));continue}let ie=Number(z);I.push(re[ie])}return I}),F=/^\s/.test(G)?" ":"",R=/\s$/.test(G)?" ":"",y=w.htmlWhitespaceSensitivity==="ignore"?D:F&&R?b:null;return f(y?["`",p([y,f(J)]),y,"`"]:["`",F,De>1?p(f(J)):f(J),R,"`"])}A.exports=B}}),d2=Ne({"src/language-js/embed.js"(m,A){je();var{hasComment:p,CommentCheckFlags:b,isObjectProperty:D}=hr(),f=l2(),d=c2(),h=f2(),E=p2();function x(N){if(P(N)||X(N)||ne(N)||C(N))return"css";if(G(N))return"graphql";if(te(N))return"html";if(w(N))return"angular";if(T(N))return"markdown"}function B(N,J,F,R){let y=N.getValue();if(y.type!=="TemplateLiteral"||De(y))return;let L=x(N);if(L){if(L==="markdown")return f(N,J,F);if(L==="css")return d(N,J,F);if(L==="graphql")return h(N,J,F);if(L==="html"||L==="angular")return E(N,J,F,R,{parser:L})}}function T(N){let J=N.getValue(),F=N.getParentNode();return F&&F.type==="TaggedTemplateExpression"&&J.quasis.length===1&&F.tag.type==="Identifier"&&(F.tag.name==="md"||F.tag.name==="markdown")}function P(N){let J=N.getValue(),F=N.getParentNode(),R=N.getParentNode(1);return R&&J.quasis&&F.type==="JSXExpressionContainer"&&R.type==="JSXElement"&&R.openingElement.name.name==="style"&&R.openingElement.attributes.some(y=>y.name.name==="jsx")||F&&F.type==="TaggedTemplateExpression"&&F.tag.type==="Identifier"&&F.tag.name==="css"||F&&F.type==="TaggedTemplateExpression"&&F.tag.type==="MemberExpression"&&F.tag.object.name==="css"&&(F.tag.property.name==="global"||F.tag.property.name==="resolve")}function C(N){return N.match(J=>J.type==="TemplateLiteral",(J,F)=>J.type==="ArrayExpression"&&F==="elements",(J,F)=>D(J)&&J.key.type==="Identifier"&&J.key.name==="styles"&&F==="value",...j)}function w(N){return N.match(J=>J.type==="TemplateLiteral",(J,F)=>D(J)&&J.key.type==="Identifier"&&J.key.name==="template"&&F==="value",...j)}var j=[(N,J)=>N.type==="ObjectExpression"&&J==="properties",(N,J)=>N.type==="CallExpression"&&N.callee.type==="Identifier"&&N.callee.name==="Component"&&J==="arguments",(N,J)=>N.type==="Decorator"&&J==="expression"];function X(N){let J=N.getParentNode();if(!J||J.type!=="TaggedTemplateExpression")return!1;let F=J.tag.type==="ParenthesizedExpression"?J.tag.expression:J.tag;switch(F.type){case"MemberExpression":return $(F.object)||K(F);case"CallExpression":return $(F.callee)||F.callee.type==="MemberExpression"&&(F.callee.object.type==="MemberExpression"&&($(F.callee.object.object)||K(F.callee.object))||F.callee.object.type==="CallExpression"&&$(F.callee.object.callee));case"Identifier":return F.name==="css";default:return!1}}function ne(N){let J=N.getParentNode(),F=N.getParentNode(1);return F&&J.type==="JSXExpressionContainer"&&F.type==="JSXAttribute"&&F.name.type==="JSXIdentifier"&&F.name.name==="css"}function $(N){return N.type==="Identifier"&&N.name==="styled"}function K(N){return/^[A-Z]/.test(N.object.name)&&N.property.name==="extend"}function G(N){let J=N.getValue(),F=N.getParentNode();return re(J,"GraphQL")||F&&(F.type==="TaggedTemplateExpression"&&(F.tag.type==="MemberExpression"&&F.tag.object.name==="graphql"&&F.tag.property.name==="experimental"||F.tag.type==="Identifier"&&(F.tag.name==="gql"||F.tag.name==="graphql"))||F.type==="CallExpression"&&F.callee.type==="Identifier"&&F.callee.name==="graphql")}function re(N,J){return p(N,b.Block|b.Leading,F=>{let{value:R}=F;return R===` ${J} `})}function te(N){return re(N.getValue(),"HTML")||N.match(J=>J.type==="TemplateLiteral",(J,F)=>J.type==="TaggedTemplateExpression"&&J.tag.type==="Identifier"&&J.tag.name==="html"&&F==="quasi")}function De(N){let{quasis:J}=N;return J.some(F=>{let{value:{cooked:R}}=F;return R===null})}A.exports=B}}),h2=Ne({"src/language-js/clean.js"(m,A){je();var p=aa(),b=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),D=d=>{for(let h of d.quasis)delete h.value};function f(d,h,E){if(d.type==="Program"&&delete h.sourceType,(d.type==="BigIntLiteral"||d.type==="BigIntLiteralTypeAnnotation")&&h.value&&(h.value=h.value.toLowerCase()),(d.type==="BigIntLiteral"||d.type==="Literal")&&h.bigint&&(h.bigint=h.bigint.toLowerCase()),d.type==="DecimalLiteral"&&(h.value=Number(h.value)),d.type==="Literal"&&h.decimal&&(h.decimal=Number(h.decimal)),d.type==="EmptyStatement"||d.type==="JSXText"||d.type==="JSXExpressionContainer"&&(d.expression.type==="Literal"||d.expression.type==="StringLiteral")&&d.expression.value===" ")return null;if((d.type==="Property"||d.type==="ObjectProperty"||d.type==="MethodDefinition"||d.type==="ClassProperty"||d.type==="ClassMethod"||d.type==="PropertyDefinition"||d.type==="TSDeclareMethod"||d.type==="TSPropertySignature"||d.type==="ObjectTypeProperty")&&typeof d.key=="object"&&d.key&&(d.key.type==="Literal"||d.key.type==="NumericLiteral"||d.key.type==="StringLiteral"||d.key.type==="Identifier")&&delete h.key,d.type==="JSXElement"&&d.openingElement.name.name==="style"&&d.openingElement.attributes.some(T=>T.name.name==="jsx"))for(let{type:T,expression:P}of h.children)T==="JSXExpressionContainer"&&P.type==="TemplateLiteral"&&D(P);d.type==="JSXAttribute"&&d.name.name==="css"&&d.value.type==="JSXExpressionContainer"&&d.value.expression.type==="TemplateLiteral"&&D(h.value.expression),d.type==="JSXAttribute"&&d.value&&d.value.type==="Literal"&&/["']|&quot;|&apos;/.test(d.value.value)&&(h.value.value=h.value.value.replace(/["']|&quot;|&apos;/g,'"'));let x=d.expression||d.callee;if(d.type==="Decorator"&&x.type==="CallExpression"&&x.callee.name==="Component"&&x.arguments.length===1){let T=d.expression.arguments[0].properties;for(let[P,C]of h.expression.arguments[0].properties.entries())switch(T[P].key.name){case"styles":C.value.type==="ArrayExpression"&&D(C.value.elements[0]);break;case"template":C.value.type==="TemplateLiteral"&&D(C.value);break}}if(d.type==="TaggedTemplateExpression"&&(d.tag.type==="MemberExpression"||d.tag.type==="Identifier"&&(d.tag.name==="gql"||d.tag.name==="graphql"||d.tag.name==="css"||d.tag.name==="md"||d.tag.name==="markdown"||d.tag.name==="html")||d.tag.type==="CallExpression")&&D(h.quasi),d.type==="TemplateLiteral"){var B;(!((B=d.leadingComments)===null||B===void 0)&&B.some(T=>p(T)&&["GraphQL","HTML"].some(P=>T.value===` ${P} `))||E.type==="CallExpression"&&E.callee.name==="graphql"||!d.leadingComments)&&D(h)}if(d.type==="InterpreterDirective"&&(h.value=h.value.trimEnd()),(d.type==="TSIntersectionType"||d.type==="TSUnionType")&&d.types.length===1)return h.types[0]}f.ignoredProperties=b,A.exports=f}}),w0={};Fn(w0,{EOL:()=>rp,arch:()=>m2,cpus:()=>P0,default:()=>j0,endianness:()=>F0,freemem:()=>L0,getNetworkInterfaces:()=>O0,hostname:()=>N0,loadavg:()=>_0,networkInterfaces:()=>I0,platform:()=>g2,release:()=>M0,tmpDir:()=>tp,tmpdir:()=>np,totalmem:()=>k0,type:()=>B0,uptime:()=>T0});function F0(){if(typeof xl>"u"){var m=new ArrayBuffer(2),A=new Uint8Array(m),p=new Uint16Array(m);if(A[0]=1,A[1]=2,p[0]===258)xl="BE";else if(p[0]===513)xl="LE";else throw new Error("unable to figure out endianess")}return xl}function N0(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function _0(){return[]}function T0(){return 0}function L0(){return Number.MAX_VALUE}function k0(){return Number.MAX_VALUE}function P0(){return[]}function B0(){return"Browser"}function M0(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function I0(){}function O0(){}function m2(){return"javascript"}function g2(){return"browser"}function tp(){return"/tmp"}var xl,np,rp,j0,y2=hn({"node-modules-polyfills:os"(){je(),np=tp,rp=`
196
+ `,j0={EOL:rp,tmpdir:np,tmpDir:tp,networkInterfaces:I0,getNetworkInterfaces:O0,release:M0,type:B0,cpus:P0,totalmem:k0,freemem:L0,uptime:T0,loadavg:_0,hostname:N0,endianness:F0}}}),D2=Ne({"node-modules-polyfills-commonjs:os"(m,A){je();var p=(y2(),Qn(w0));if(p&&p.default){A.exports=p.default;for(let b in p)A.exports[b]=p[b]}else p&&(A.exports=p)}}),b2=Ne({"node_modules/detect-newline/index.js"(m,A){je();var p=b=>{if(typeof b!="string")throw new TypeError("Expected a string");let D=b.match(/(?:\r?\n)/g)||[];if(D.length===0)return;let f=D.filter(h=>h===`\r
197
+ `).length,d=D.length-f;return f>d?`\r
198
+ `:`
199
+ `};A.exports=p,A.exports.graceful=b=>typeof b=="string"&&p(b)||`
200
+ `}}),v2=Ne({"node_modules/jest-docblock/build/index.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0}),m.extract=C,m.parse=j,m.parseWithComments=X,m.print=ne,m.strip=w;function A(){let K=D2();return A=function(){return K},K}function p(){let K=b(b2());return p=function(){return K},K}function b(K){return K&&K.__esModule?K:{default:K}}var D=/\*\/$/,f=/^\/\*\*?/,d=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,h=/(^|\s+)\/\/([^\r\n]*)/g,E=/^(\r?\n)+/,x=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,B=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,T=/(\r?\n|^) *\* ?/g,P=[];function C(K){let G=K.match(d);return G?G[0].trimLeft():""}function w(K){let G=K.match(d);return G&&G[0]?K.substring(G[0].length):K}function j(K){return X(K).pragmas}function X(K){let G=(0,p().default)(K)||A().EOL;K=K.replace(f,"").replace(D,"").replace(T,"$1");let re="";for(;re!==K;)re=K,K=K.replace(x,`${G}$1 $2${G}`);K=K.replace(E,"").trimRight();let te=Object.create(null),De=K.replace(B,"").replace(E,"").trimRight(),N;for(;N=B.exec(K);){let J=N[2].replace(h,"");typeof te[N[1]]=="string"||Array.isArray(te[N[1]])?te[N[1]]=P.concat(te[N[1]],J):te[N[1]]=J}return{comments:De,pragmas:te}}function ne(K){let{comments:G="",pragmas:re={}}=K,te=(0,p().default)(G)||A().EOL,De="/**",N=" *",J=" */",F=Object.keys(re),R=F.map(L=>$(L,re[L])).reduce((L,I)=>L.concat(I),[]).map(L=>`${N} ${L}${te}`).join("");if(!G){if(F.length===0)return"";if(F.length===1&&!Array.isArray(re[F[0]])){let L=re[F[0]];return`${De} ${$(F[0],L)[0]}${J}`}}let y=G.split(te).map(L=>`${N} ${L}`).join(te)+te;return De+te+(G?y:"")+(G&&F.length?N+te:"")+R+J}function $(K,G){return P.concat(G).map(re=>`@${K} ${re}`.trim())}}}),E2=Ne({"src/language-js/utils/get-shebang.js"(m,A){je();function p(b){if(!b.startsWith("#!"))return"";let D=b.indexOf(`
201
+ `);return D===-1?b:b.slice(0,D)}A.exports=p}}),R0=Ne({"src/language-js/pragma.js"(m,A){je();var{parseWithComments:p,strip:b,extract:D,print:f}=v2(),{normalizeEndOfLine:d}=ss(),h=E2();function E(T){let P=h(T);P&&(T=T.slice(P.length+1));let C=D(T),{pragmas:w,comments:j}=p(C);return{shebang:P,text:T,pragmas:w,comments:j}}function x(T){let P=Object.keys(E(T).pragmas);return P.includes("prettier")||P.includes("format")}function B(T){let{shebang:P,text:C,pragmas:w,comments:j}=E(T),X=b(C),ne=f({pragmas:Object.assign({format:""},w),comments:j.trimStart()});return(P?`${P}
202
+ `:"")+d(ne)+(X.startsWith(`
203
+ `)?`
204
+ `:`
205
+
206
+ `)+X}A.exports={hasPragma:x,insertPragma:B}}}),A2=Ne({"src/language-js/utils/is-type-cast-comment.js"(m,A){je();var p=aa();function b(D){return p(D)&&D.value[0]==="*"&&/@(?:type|satisfies)\b/.test(D.value)}A.exports=b}}),$0=Ne({"src/language-js/comments.js"(m,A){je();var{getLast:p,hasNewline:b,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:D,getNextNonSpaceNonCommentCharacter:f,hasNewlineInRange:d,addLeadingComment:h,addTrailingComment:E,addDanglingComment:x,getNextNonSpaceNonCommentCharacterIndex:B,isNonEmptyArray:T}=ye(),{getFunctionParameters:P,isPrettierIgnoreComment:C,isJsxNode:w,hasFlowShorthandAnnotationComment:j,hasFlowAnnotationComment:X,hasIgnoreComment:ne,isCallLikeExpression:$,getCallArguments:K,isCallExpression:G,isMemberExpression:re,isObjectProperty:te,isLineComment:De,getComments:N,CommentCheckFlags:J,markerForIfWithoutBlockAndSameLineComment:F}=hr(),{locStart:R,locEnd:y}=oi(),L=aa(),I=A2();function q(mt){return[Ce,Yt,Ue,fe,_e,se,tt,It,Qe,Lt,pn,In,dt,Re,Se].some(V=>V(mt))}function U(mt){return[ge,Yt,me,pn,fe,_e,se,tt,Re,Je,bt,Lt,bn,Se,Ie].some(V=>V(mt))}function z(mt){return[Ce,fe,_e,ue,ft,dt,Lt,ct,Me,pt,Se,at].some(V=>V(mt))}function ie(mt,V){let Te=(mt.body||mt.properties).find(nt=>{let{type:Bt}=nt;return Bt!=="EmptyStatement"});Te?h(Te,V):x(mt,V)}function ce(mt,V){mt.type==="BlockStatement"?ie(mt,V):h(mt,V)}function ge(mt){let{comment:V,followingNode:Te}=mt;return Te&&I(V)?(h(Te,V),!0):!1}function fe(mt){let{comment:V,precedingNode:Te,enclosingNode:nt,followingNode:Bt,text:Vt}=mt;if((nt==null?void 0:nt.type)!=="IfStatement"||!Bt)return!1;if(f(Vt,V,y)===")")return E(Te,V),!0;if(Te===nt.consequent&&Bt===nt.alternate){if(Te.type==="BlockStatement")E(Te,V);else{let cn=V.type==="SingleLine"||V.loc.start.line===V.loc.end.line,Ot=V.loc.start.line===Te.loc.start.line;cn&&Ot?x(Te,V,F):x(nt,V)}return!0}return Bt.type==="BlockStatement"?(ie(Bt,V),!0):Bt.type==="IfStatement"?(ce(Bt.consequent,V),!0):nt.consequent===Bt?(h(Bt,V),!0):!1}function _e(mt){let{comment:V,precedingNode:Te,enclosingNode:nt,followingNode:Bt,text:Vt}=mt;return(nt==null?void 0:nt.type)!=="WhileStatement"||!Bt?!1:f(Vt,V,y)===")"?(E(Te,V),!0):Bt.type==="BlockStatement"?(ie(Bt,V),!0):nt.body===Bt?(h(Bt,V),!0):!1}function se(mt){let{comment:V,precedingNode:Te,enclosingNode:nt,followingNode:Bt}=mt;return(nt==null?void 0:nt.type)!=="TryStatement"&&(nt==null?void 0:nt.type)!=="CatchClause"||!Bt?!1:nt.type==="CatchClause"&&Te?(E(Te,V),!0):Bt.type==="BlockStatement"?(ie(Bt,V),!0):Bt.type==="TryStatement"?(ce(Bt.finalizer,V),!0):Bt.type==="CatchClause"?(ce(Bt.body,V),!0):!1}function Ue(mt){let{comment:V,enclosingNode:Te,followingNode:nt}=mt;return re(Te)&&(nt==null?void 0:nt.type)==="Identifier"?(h(Te,V),!0):!1}function me(mt){let{comment:V,precedingNode:Te,enclosingNode:nt,followingNode:Bt,text:Vt}=mt,cn=Te&&!d(Vt,y(Te),R(V));return(!Te||!cn)&&((nt==null?void 0:nt.type)==="ConditionalExpression"||(nt==null?void 0:nt.type)==="TSConditionalType")&&Bt?(h(Bt,V),!0):!1}function ue(mt){let{comment:V,precedingNode:Te,enclosingNode:nt}=mt;return te(nt)&&nt.shorthand&&nt.key===Te&&nt.value.type==="AssignmentPattern"?(E(nt.value.left,V),!0):!1}var Ve=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function tt(mt){let{comment:V,precedingNode:Te,enclosingNode:nt,followingNode:Bt}=mt;if(Ve.has(nt==null?void 0:nt.type)){if(T(nt.decorators)&&!(Bt&&Bt.type==="Decorator"))return E(p(nt.decorators),V),!0;if(nt.body&&Bt===nt.body)return ie(nt.body,V),!0;if(Bt){if(nt.superClass&&Bt===nt.superClass&&Te&&(Te===nt.id||Te===nt.typeParameters))return E(Te,V),!0;for(let Vt of["implements","extends","mixins"])if(nt[Vt]&&Bt===nt[Vt][0])return Te&&(Te===nt.id||Te===nt.typeParameters||Te===nt.superClass)?E(Te,V):x(nt,V,Vt),!0}}return!1}var Ge=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function dt(mt){let{comment:V,precedingNode:Te,enclosingNode:nt,text:Bt}=mt;return nt&&Te&&f(Bt,V,y)==="("&&(nt.type==="Property"||nt.type==="TSDeclareMethod"||nt.type==="TSAbstractMethodDefinition")&&Te.type==="Identifier"&&nt.key===Te&&f(Bt,Te,y)!==":"||(Te==null?void 0:Te.type)==="Decorator"&&Ge.has(nt==null?void 0:nt.type)?(E(Te,V),!0):!1}var be=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function Me(mt){let{comment:V,precedingNode:Te,enclosingNode:nt,text:Bt}=mt;return f(Bt,V,y)!=="("?!1:Te&&be.has(nt==null?void 0:nt.type)?(E(Te,V),!0):!1}function ct(mt){let{comment:V,enclosingNode:Te,text:nt}=mt;if((Te==null?void 0:Te.type)!=="ArrowFunctionExpression")return!1;let Bt=B(nt,V,y);return Bt!==!1&&nt.slice(Bt,Bt+2)==="=>"?(x(Te,V),!0):!1}function ft(mt){let{comment:V,enclosingNode:Te,text:nt}=mt;return f(nt,V,y)!==")"?!1:Te&&(lt(Te)&&P(Te).length===0||$(Te)&&K(Te).length===0)?(x(Te,V),!0):((Te==null?void 0:Te.type)==="MethodDefinition"||(Te==null?void 0:Te.type)==="TSAbstractMethodDefinition")&&P(Te.value).length===0?(x(Te.value,V),!0):!1}function Yt(mt){let{comment:V,precedingNode:Te,enclosingNode:nt,followingNode:Bt,text:Vt}=mt;if((Te==null?void 0:Te.type)==="FunctionTypeParam"&&(nt==null?void 0:nt.type)==="FunctionTypeAnnotation"&&(Bt==null?void 0:Bt.type)!=="FunctionTypeParam"||((Te==null?void 0:Te.type)==="Identifier"||(Te==null?void 0:Te.type)==="AssignmentPattern")&&nt&&lt(nt)&&f(Vt,V,y)===")")return E(Te,V),!0;if((nt==null?void 0:nt.type)==="FunctionDeclaration"&&(Bt==null?void 0:Bt.type)==="BlockStatement"){let cn=(()=>{let Ot=P(nt);if(Ot.length>0)return D(Vt,y(p(Ot)));let xr=D(Vt,y(nt.id));return xr!==!1&&D(Vt,xr+1)})();if(R(V)>cn)return ie(Bt,V),!0}return!1}function Re(mt){let{comment:V,enclosingNode:Te}=mt;return(Te==null?void 0:Te.type)==="LabeledStatement"?(h(Te,V),!0):!1}function Se(mt){let{comment:V,enclosingNode:Te}=mt;return((Te==null?void 0:Te.type)==="ContinueStatement"||(Te==null?void 0:Te.type)==="BreakStatement")&&!Te.label?(E(Te,V),!0):!1}function Je(mt){let{comment:V,precedingNode:Te,enclosingNode:nt}=mt;return G(nt)&&Te&&nt.callee===Te&&nt.arguments.length>0?(h(nt.arguments[0],V),!0):!1}function Qe(mt){let{comment:V,precedingNode:Te,enclosingNode:nt,followingNode:Bt}=mt;return(nt==null?void 0:nt.type)==="UnionTypeAnnotation"||(nt==null?void 0:nt.type)==="TSUnionType"?(C(V)&&(Bt.prettierIgnore=!0,V.unignore=!0),Te?(E(Te,V),!0):!1):(((Bt==null?void 0:Bt.type)==="UnionTypeAnnotation"||(Bt==null?void 0:Bt.type)==="TSUnionType")&&C(V)&&(Bt.types[0].prettierIgnore=!0,V.unignore=!0),!1)}function bt(mt){let{comment:V,enclosingNode:Te}=mt;return te(Te)?(h(Te,V),!0):!1}function Lt(mt){let{comment:V,enclosingNode:Te,followingNode:nt,ast:Bt,isLastComment:Vt}=mt;return Bt&&Bt.body&&Bt.body.length===0?(Vt?x(Bt,V):h(Bt,V),!0):(Te==null?void 0:Te.type)==="Program"&&(Te==null?void 0:Te.body.length)===0&&!T(Te.directives)?(Vt?x(Te,V):h(Te,V),!0):(nt==null?void 0:nt.type)==="Program"&&(nt==null?void 0:nt.body.length)===0&&(Te==null?void 0:Te.type)==="ModuleExpression"?(x(nt,V),!0):!1}function It(mt){let{comment:V,enclosingNode:Te}=mt;return(Te==null?void 0:Te.type)==="ForInStatement"||(Te==null?void 0:Te.type)==="ForOfStatement"?(h(Te,V),!0):!1}function pn(mt){let{comment:V,precedingNode:Te,enclosingNode:nt,text:Bt}=mt;if((nt==null?void 0:nt.type)==="ImportSpecifier"||(nt==null?void 0:nt.type)==="ExportSpecifier")return h(nt,V),!0;let Vt=(Te==null?void 0:Te.type)==="ImportSpecifier"&&(nt==null?void 0:nt.type)==="ImportDeclaration",cn=(Te==null?void 0:Te.type)==="ExportSpecifier"&&(nt==null?void 0:nt.type)==="ExportNamedDeclaration";return(Vt||cn)&&b(Bt,y(V))?(E(Te,V),!0):!1}function In(mt){let{comment:V,enclosingNode:Te}=mt;return(Te==null?void 0:Te.type)==="AssignmentPattern"?(h(Te,V),!0):!1}var kn=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),fn=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function bn(mt){let{comment:V,enclosingNode:Te,followingNode:nt}=mt;return kn.has(Te==null?void 0:Te.type)&&nt&&(fn.has(nt.type)||L(V))?(h(nt,V),!0):!1}function at(mt){let{comment:V,enclosingNode:Te,followingNode:nt,text:Bt}=mt;return!nt&&((Te==null?void 0:Te.type)==="TSMethodSignature"||(Te==null?void 0:Te.type)==="TSDeclareFunction"||(Te==null?void 0:Te.type)==="TSAbstractMethodDefinition")&&f(Bt,V,y)===";"?(E(Te,V),!0):!1}function Ce(mt){let{comment:V,enclosingNode:Te,followingNode:nt}=mt;if(C(V)&&(Te==null?void 0:Te.type)==="TSMappedType"&&(nt==null?void 0:nt.type)==="TSTypeParameter"&&nt.constraint)return Te.prettierIgnore=!0,V.unignore=!0,!0}function pt(mt){let{comment:V,precedingNode:Te,enclosingNode:nt,followingNode:Bt}=mt;return(nt==null?void 0:nt.type)!=="TSMappedType"?!1:(Bt==null?void 0:Bt.type)==="TSTypeParameter"&&Bt.name?(h(Bt.name,V),!0):(Te==null?void 0:Te.type)==="TSTypeParameter"&&Te.constraint?(E(Te.constraint,V),!0):!1}function Ie(mt){let{comment:V,enclosingNode:Te,followingNode:nt}=mt;return!Te||Te.type!=="SwitchCase"||Te.test||!nt||nt!==Te.consequent[0]?!1:(nt.type==="BlockStatement"&&De(V)?ie(nt,V):x(Te,V),!0)}function lt(mt){return mt.type==="ArrowFunctionExpression"||mt.type==="FunctionExpression"||mt.type==="FunctionDeclaration"||mt.type==="ObjectMethod"||mt.type==="ClassMethod"||mt.type==="TSDeclareFunction"||mt.type==="TSCallSignatureDeclaration"||mt.type==="TSConstructSignatureDeclaration"||mt.type==="TSMethodSignature"||mt.type==="TSConstructorType"||mt.type==="TSFunctionType"||mt.type==="TSDeclareMethod"}function nn(mt,V){if((V.parser==="typescript"||V.parser==="flow"||V.parser==="acorn"||V.parser==="espree"||V.parser==="meriyah"||V.parser==="__babel_estree")&&mt.type==="MethodDefinition"&&mt.value&&mt.value.type==="FunctionExpression"&&P(mt.value).length===0&&!mt.value.returnType&&!T(mt.value.typeParameters)&&mt.value.body)return[...mt.decorators||[],mt.key,mt.value.body]}function Wt(mt){let V=mt.getValue(),Te=mt.getParentNode(),nt=Bt=>X(N(Bt,J.Leading))||X(N(Bt,J.Trailing));return(V&&(w(V)||j(V)||G(Te)&&nt(V))||Te&&(Te.type==="JSXSpreadAttribute"||Te.type==="JSXSpreadChild"||Te.type==="UnionTypeAnnotation"||Te.type==="TSUnionType"||(Te.type==="ClassDeclaration"||Te.type==="ClassExpression")&&Te.superClass===V))&&(!ne(mt)||Te.type==="UnionTypeAnnotation"||Te.type==="TSUnionType")}A.exports={handleOwnLineComment:q,handleEndOfLineComment:U,handleRemainingComment:z,getCommentChildNodes:nn,willPrintOwnComments:Wt}}}),to=Ne({"src/language-js/needs-parens.js"(m,A){je();var p=Ur(),b=jt(),{getFunctionParameters:D,getLeftSidePathName:f,hasFlowShorthandAnnotationComment:d,hasNakedLeftSide:h,hasNode:E,isBitwiseOperator:x,startsWithNoLookaheadToken:B,shouldFlatten:T,getPrecedence:P,isCallExpression:C,isMemberExpression:w,isObjectProperty:j,isTSTypeExpression:X}=hr();function ne(N,J){let F=N.getParentNode();if(!F)return!1;let R=N.getName(),y=N.getNode();if(J.__isInHtmlInterpolation&&!J.bracketSpacing&&re(y)&&te(N))return!0;if($(y))return!1;if(J.parser!=="flow"&&d(N.getValue()))return!0;if(y.type==="Identifier"){if(y.extra&&y.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(y.name)||R==="left"&&(y.name==="async"&&!F.await||y.name==="let")&&F.type==="ForOfStatement")return!0;if(y.name==="let"){var L;let q=(L=N.findAncestor(U=>U.type==="ForOfStatement"))===null||L===void 0?void 0:L.left;if(q&&B(q,U=>U===y))return!0}if(R==="object"&&y.name==="let"&&F.type==="MemberExpression"&&F.computed&&!F.optional){let q=N.findAncestor(z=>z.type==="ExpressionStatement"||z.type==="ForStatement"||z.type==="ForInStatement"),U=q?q.type==="ExpressionStatement"?q.expression:q.type==="ForStatement"?q.init:q.left:void 0;if(U&&B(U,z=>z===y))return!0}return!1}if(y.type==="ObjectExpression"||y.type==="FunctionExpression"||y.type==="ClassExpression"||y.type==="DoExpression"){var I;let q=(I=N.findAncestor(U=>U.type==="ExpressionStatement"))===null||I===void 0?void 0:I.expression;if(q&&B(q,U=>U===y))return!0}switch(F.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(R==="superClass"&&(y.type==="ArrowFunctionExpression"||y.type==="AssignmentExpression"||y.type==="AwaitExpression"||y.type==="BinaryExpression"||y.type==="ConditionalExpression"||y.type==="LogicalExpression"||y.type==="NewExpression"||y.type==="ObjectExpression"||y.type==="SequenceExpression"||y.type==="TaggedTemplateExpression"||y.type==="UnaryExpression"||y.type==="UpdateExpression"||y.type==="YieldExpression"||y.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return De(N,J)||y.type==="SequenceExpression";case"Decorator":{if(R==="expression"){if(w(y)&&y.computed)return!0;let q=!1,U=!1,z=y;for(;z;)switch(z.type){case"MemberExpression":U=!0,z=z.object;break;case"CallExpression":if(U||q)return J.parser!=="typescript";q=!0,z=z.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return J.parser!=="typescript";default:return!0}return!0}break}case"ArrowFunctionExpression":{if(R==="body"&&y.type!=="SequenceExpression"&&B(y,q=>q.type==="ObjectExpression"))return!0;break}}switch(y.type){case"UpdateExpression":if(F.type==="UnaryExpression")return y.prefix&&(y.operator==="++"&&F.operator==="+"||y.operator==="--"&&F.operator==="-");case"UnaryExpression":switch(F.type){case"UnaryExpression":return y.operator===F.operator&&(y.operator==="+"||y.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return R==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"BinaryExpression":return R==="left"&&F.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(F.type==="UpdateExpression"||y.operator==="in"&&K(N))return!0;if(y.operator==="|>"&&y.extra&&y.extra.parenthesized){let q=N.getParentNode(1);if(q.type==="BinaryExpression"&&q.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(F.type){case"TSSatisfiesExpression":case"TSAsExpression":return!X(y);case"ConditionalExpression":return X(y);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return R==="callee";case"ClassExpression":case"ClassDeclaration":return R==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return R==="object";case"AssignmentExpression":case"AssignmentPattern":return R==="left"&&(y.type==="TSTypeAssertion"||X(y));case"LogicalExpression":if(y.type==="LogicalExpression")return F.operator!==y.operator;case"BinaryExpression":{let{operator:q,type:U}=y;if(!q&&U!=="TSTypeAssertion")return!0;let z=P(q),ie=F.operator,ce=P(ie);return ce>z||R==="right"&&ce===z||ce===z&&!T(ie,q)?!0:ce<z&&q==="%"?ie==="+"||ie==="-":!!x(ie)}default:return!1}case"SequenceExpression":switch(F.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return R!=="expression";case"ArrowFunctionExpression":return R!=="body";default:return!0}case"YieldExpression":if(F.type==="UnaryExpression"||F.type==="AwaitExpression"||X(F)||F.type==="TSNonNullExpression")return!0;case"AwaitExpression":switch(F.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return R==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"ConditionalExpression":return R==="test";case"BinaryExpression":return!(!y.argument&&F.operator==="|>");default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if(R==="extendsType"&&F.type==="TSConditionalType"){if(y.type==="TSConditionalType")return!0;let{typeAnnotation:q}=y.returnType||y.typeAnnotation;if(q.type==="TSTypePredicate"&&q.typeAnnotation&&(q=q.typeAnnotation.typeAnnotation),q.type==="TSInferType"&&q.typeParameter.constraint)return!0}if(R==="checkType"&&F.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((F.type==="TSUnionType"||F.type==="TSIntersectionType")&&F.types.length>1&&(!y.types||y.types.length>1))return!0;case"TSInferType":if(y.type==="TSInferType"&&F.type==="TSRestType")return!1;case"TSTypeOperator":return F.type==="TSArrayType"||F.type==="TSOptionalType"||F.type==="TSRestType"||R==="objectType"&&F.type==="TSIndexedAccessType"||F.type==="TSTypeOperator"||F.type==="TSTypeAnnotation"&&N.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return R==="objectType"&&F.type==="TSIndexedAccessType"||R==="elementType"&&F.type==="TSArrayType";case"TypeofTypeAnnotation":return R==="objectType"&&(F.type==="IndexedAccessType"||F.type==="OptionalIndexedAccessType")||R==="elementType"&&F.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return F.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return F.type==="ArrayTypeAnnotation"||F.type==="NullableTypeAnnotation"||F.type==="IntersectionTypeAnnotation"||F.type==="UnionTypeAnnotation"||R==="objectType"&&(F.type==="IndexedAccessType"||F.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return F.type==="ArrayTypeAnnotation"||R==="objectType"&&(F.type==="IndexedAccessType"||F.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let q=F.type==="NullableTypeAnnotation"?N.getParentNode(1):F;return q.type==="UnionTypeAnnotation"||q.type==="IntersectionTypeAnnotation"||q.type==="ArrayTypeAnnotation"||R==="objectType"&&(q.type==="IndexedAccessType"||q.type==="OptionalIndexedAccessType")||q.type==="NullableTypeAnnotation"||F.type==="FunctionTypeParam"&&F.name===null&&D(y).some(U=>U.typeAnnotation&&U.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return R==="objectType"&&F.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof y.value=="string"&&F.type==="ExpressionStatement"&&!F.directive){let q=N.getParentNode(1);return q.type==="Program"||q.type==="BlockStatement"}return R==="object"&&F.type==="MemberExpression"&&typeof y.value=="number";case"AssignmentExpression":{let q=N.getParentNode(1);return R==="body"&&F.type==="ArrowFunctionExpression"?!0:R==="key"&&(F.type==="ClassProperty"||F.type==="PropertyDefinition")&&F.computed||(R==="init"||R==="update")&&F.type==="ForStatement"?!1:F.type==="ExpressionStatement"?y.left.type==="ObjectPattern":!(R==="key"&&F.type==="TSPropertySignature"||F.type==="AssignmentExpression"||F.type==="SequenceExpression"&&q&&q.type==="ForStatement"&&(q.init===F||q.update===F)||R==="value"&&F.type==="Property"&&q&&q.type==="ObjectPattern"&&q.properties.includes(F)||F.type==="NGChainedExpression")}case"ConditionalExpression":switch(F.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"ConditionalExpression":return R==="test";case"MemberExpression":case"OptionalMemberExpression":return R==="object";default:return!1}case"FunctionExpression":switch(F.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(F.type){case"BinaryExpression":return F.operator!=="|>"||y.extra&&y.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"MemberExpression":case"OptionalMemberExpression":return R==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return R==="test";default:return!1}case"ClassExpression":if(b(y.decorators))return!0;switch(F.type){case"NewExpression":return R==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let q=N.getParentNode(1);if(R==="object"&&F.type==="MemberExpression"||R==="callee"&&(F.type==="CallExpression"||F.type==="NewExpression")||F.type==="TSNonNullExpression"&&q.type==="MemberExpression"&&q.object===F)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(R==="callee"&&(F.type==="BindExpression"||F.type==="NewExpression")){let q=y;for(;q;)switch(q.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":q=q.object;break;case"TaggedTemplateExpression":q=q.tag;break;case"TSNonNullExpression":q=q.expression;break;default:return!1}}return!1;case"BindExpression":return R==="callee"&&(F.type==="BindExpression"||F.type==="NewExpression")||R==="object"&&w(F);case"NGPipeExpression":return!(F.type==="NGRoot"||F.type==="NGMicrosyntaxExpression"||F.type==="ObjectProperty"&&!(y.extra&&y.extra.parenthesized)||F.type==="ArrayExpression"||C(F)&&F.arguments[R]===y||R==="right"&&F.type==="NGPipeExpression"||R==="property"&&F.type==="MemberExpression"||F.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return R==="callee"||R==="left"&&F.type==="BinaryExpression"&&F.operator==="<"||F.type!=="ArrayExpression"&&F.type!=="ArrowFunctionExpression"&&F.type!=="AssignmentExpression"&&F.type!=="AssignmentPattern"&&F.type!=="BinaryExpression"&&F.type!=="NewExpression"&&F.type!=="ConditionalExpression"&&F.type!=="ExpressionStatement"&&F.type!=="JsExpressionRoot"&&F.type!=="JSXAttribute"&&F.type!=="JSXElement"&&F.type!=="JSXExpressionContainer"&&F.type!=="JSXFragment"&&F.type!=="LogicalExpression"&&!C(F)&&!j(F)&&F.type!=="ReturnStatement"&&F.type!=="ThrowStatement"&&F.type!=="TypeCastExpression"&&F.type!=="VariableDeclarator"&&F.type!=="YieldExpression";case"TypeAnnotation":return R==="returnType"&&F.type==="ArrowFunctionExpression"&&G(y)}return!1}function $(N){return N.type==="BlockStatement"||N.type==="BreakStatement"||N.type==="ClassBody"||N.type==="ClassDeclaration"||N.type==="ClassMethod"||N.type==="ClassProperty"||N.type==="PropertyDefinition"||N.type==="ClassPrivateProperty"||N.type==="ContinueStatement"||N.type==="DebuggerStatement"||N.type==="DeclareClass"||N.type==="DeclareExportAllDeclaration"||N.type==="DeclareExportDeclaration"||N.type==="DeclareFunction"||N.type==="DeclareInterface"||N.type==="DeclareModule"||N.type==="DeclareModuleExports"||N.type==="DeclareVariable"||N.type==="DoWhileStatement"||N.type==="EnumDeclaration"||N.type==="ExportAllDeclaration"||N.type==="ExportDefaultDeclaration"||N.type==="ExportNamedDeclaration"||N.type==="ExpressionStatement"||N.type==="ForInStatement"||N.type==="ForOfStatement"||N.type==="ForStatement"||N.type==="FunctionDeclaration"||N.type==="IfStatement"||N.type==="ImportDeclaration"||N.type==="InterfaceDeclaration"||N.type==="LabeledStatement"||N.type==="MethodDefinition"||N.type==="ReturnStatement"||N.type==="SwitchStatement"||N.type==="ThrowStatement"||N.type==="TryStatement"||N.type==="TSDeclareFunction"||N.type==="TSEnumDeclaration"||N.type==="TSImportEqualsDeclaration"||N.type==="TSInterfaceDeclaration"||N.type==="TSModuleDeclaration"||N.type==="TSNamespaceExportDeclaration"||N.type==="TypeAlias"||N.type==="VariableDeclaration"||N.type==="WhileStatement"||N.type==="WithStatement"}function K(N){let J=0,F=N.getValue();for(;F;){let R=N.getParentNode(J++);if(R&&R.type==="ForStatement"&&R.init===F)return!0;F=R}return!1}function G(N){return E(N,J=>J.type==="ObjectTypeAnnotation"&&E(J,F=>F.type==="FunctionTypeAnnotation"||void 0)||void 0)}function re(N){switch(N.type){case"ObjectExpression":return!0;default:return!1}}function te(N){let J=N.getValue(),F=N.getParentNode(),R=N.getName();switch(F.type){case"NGPipeExpression":if(typeof R=="number"&&F.arguments[R]===J&&F.arguments.length-1===R)return N.callParent(te);break;case"ObjectProperty":if(R==="value"){let y=N.getParentNode(1);return p(y.properties)===F}break;case"BinaryExpression":case"LogicalExpression":if(R==="right")return N.callParent(te);break;case"ConditionalExpression":if(R==="alternate")return N.callParent(te);break;case"UnaryExpression":if(F.prefix)return N.callParent(te);break}return!1}function De(N,J){let F=N.getValue(),R=N.getParentNode();return F.type==="FunctionExpression"||F.type==="ClassExpression"?R.type==="ExportDefaultDeclaration"||!ne(N,J):!h(F)||R.type!=="ExportDefaultDeclaration"&&ne(N,J)?!1:N.call(y=>De(y,J),...f(N,F))}A.exports=ne}}),V0=Ne({"src/language-js/print-preprocess.js"(m,A){je();function p(b,D){switch(D.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},b),{},{type:D.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:b,comments:[],rootMarker:D.rootMarker});default:return b}}A.exports=p}}),C2=Ne({"src/language-js/print/html-binding.js"(m,A){je();var{builders:{join:p,line:b,group:D,softline:f,indent:d}}=Nn();function h(x,B,T){let P=x.getValue();if(B.__onHtmlBindingRoot&&x.getName()===null&&B.__onHtmlBindingRoot(P,B),P.type==="File"){if(B.__isVueForBindingLeft)return x.call(C=>{let w=p([",",b],C.map(T,"params")),{params:j}=C.getValue();return j.length===1?w:["(",d([f,D(w)]),f,")"]},"program","body",0);if(B.__isVueBindings)return x.call(C=>p([",",b],C.map(T,"params")),"program","body",0)}}function E(x){switch(x.type){case"MemberExpression":switch(x.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return E(x.object)}return!1;case"Identifier":return!0;default:return!1}}A.exports={isVueEventBindingExpression:E,printHtmlBinding:h}}}),ip=Ne({"src/language-js/print/binaryish.js"(m,A){je();var{printComments:p}=Rr(),{getLast:b}=ye(),{builders:{join:D,line:f,softline:d,group:h,indent:E,align:x,indentIfBreak:B},utils:{cleanDoc:T,getDocParts:P,isConcat:C}}=Nn(),{hasLeadingOwnLineComment:w,isBinaryish:j,isJsxNode:X,shouldFlatten:ne,hasComment:$,CommentCheckFlags:K,isCallExpression:G,isMemberExpression:re,isObjectProperty:te,isEnabledHackPipeline:De}=hr(),N=0;function J(y,L,I){let q=y.getValue(),U=y.getParentNode(),z=y.getParentNode(1),ie=q!==U.body&&(U.type==="IfStatement"||U.type==="WhileStatement"||U.type==="SwitchStatement"||U.type==="DoWhileStatement"),ce=De(L)&&q.operator==="|>",ge=F(y,I,L,!1,ie);if(ie)return ge;if(ce)return h(ge);if(G(U)&&U.callee===q||U.type==="UnaryExpression"||re(U)&&!U.computed)return h([E([d,...ge]),d]);let fe=U.type==="ReturnStatement"||U.type==="ThrowStatement"||U.type==="JSXExpressionContainer"&&z.type==="JSXAttribute"||q.operator!=="|"&&U.type==="JsExpressionRoot"||q.type!=="NGPipeExpression"&&(U.type==="NGRoot"&&L.parser==="__ng_binding"||U.type==="NGMicrosyntaxExpression"&&z.type==="NGMicrosyntax"&&z.body.length===1)||q===U.body&&U.type==="ArrowFunctionExpression"||q!==U.body&&U.type==="ForStatement"||U.type==="ConditionalExpression"&&z.type!=="ReturnStatement"&&z.type!=="ThrowStatement"&&!G(z)||U.type==="TemplateLiteral",_e=U.type==="AssignmentExpression"||U.type==="VariableDeclarator"||U.type==="ClassProperty"||U.type==="PropertyDefinition"||U.type==="TSAbstractPropertyDefinition"||U.type==="ClassPrivateProperty"||te(U),se=j(q.left)&&ne(q.operator,q.left.operator);if(fe||R(q)&&!se||!R(q)&&_e)return h(ge);if(ge.length===0)return"";let Ue=X(q.right),me=ge.findIndex(be=>typeof be!="string"&&!Array.isArray(be)&&be.type==="group"),ue=ge.slice(0,me===-1?1:me+1),Ve=ge.slice(ue.length,Ue?-1:void 0),tt=Symbol("logicalChain-"+ ++N),Ge=h([...ue,E(Ve)],{id:tt});if(!Ue)return Ge;let dt=b(ge);return h([Ge,B(dt,{groupId:tt})])}function F(y,L,I,q,U){let z=y.getValue();if(!j(z))return[h(L())];let ie=[];ne(z.operator,z.left.operator)?ie=y.call(Ve=>F(Ve,L,I,!0,U),"left"):ie.push(h(L("left")));let ce=R(z),ge=(z.operator==="|>"||z.type==="NGPipeExpression"||z.operator==="|"&&I.parser==="__vue_expression")&&!w(I.originalText,z.right),fe=z.type==="NGPipeExpression"?"|":z.operator,_e=z.type==="NGPipeExpression"&&z.arguments.length>0?h(E([f,": ",D([f,": "],y.map(L,"arguments").map(Ve=>x(2,h(Ve))))])):"",se;if(ce)se=[fe," ",L("right"),_e];else{let Ve=De(I)&&fe==="|>"?y.call(tt=>F(tt,L,I,!0,U),"right"):L("right");se=[ge?f:"",fe,ge?" ":f,Ve,_e]}let Ue=y.getParentNode(),me=$(z.left,K.Trailing|K.Line),ue=me||!(U&&z.type==="LogicalExpression")&&Ue.type!==z.type&&z.left.type!==z.type&&z.right.type!==z.type;if(ie.push(ge?"":" ",ue?h(se,{shouldBreak:me}):se),q&&$(z)){let Ve=T(p(y,ie,I));return C(Ve)||Ve.type==="fill"?P(Ve):[Ve]}return ie}function R(y){return y.type!=="LogicalExpression"?!1:!!(y.right.type==="ObjectExpression"&&y.right.properties.length>0||y.right.type==="ArrayExpression"&&y.right.elements.length>0||X(y.right))}A.exports={printBinaryishExpression:J,shouldInlineLogicalExpression:R}}}),x2=Ne({"src/language-js/print/angular.js"(m,A){je();var{builders:{join:p,line:b,group:D}}=Nn(),{hasNode:f,hasComment:d,getComments:h}=hr(),{printBinaryishExpression:E}=ip();function x(P,C,w){let j=P.getValue();if(j.type.startsWith("NG"))switch(j.type){case"NGRoot":return[w("node"),d(j.node)?" //"+h(j.node)[0].value.trimEnd():""];case"NGPipeExpression":return E(P,C,w);case"NGChainedExpression":return D(p([";",b],P.map(X=>T(X)?w():["(",w(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[j.prefix,": ",j.value.trim()];case"NGMicrosyntax":return P.map((X,ne)=>[ne===0?"":B(X.getValue(),ne,j)?" ":[";",b],w()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(j.name)?j.name:JSON.stringify(j.name);case"NGMicrosyntaxExpression":return[w("expression"),j.alias===null?"":[" as ",w("alias")]];case"NGMicrosyntaxKeyedExpression":{let X=P.getName(),ne=P.getParentNode(),$=B(j,X,ne)||(X===1&&(j.key.name==="then"||j.key.name==="else")||X===2&&j.key.name==="else"&&ne.body[X-1].type==="NGMicrosyntaxKeyedExpression"&&ne.body[X-1].key.name==="then")&&ne.body[0].type==="NGMicrosyntaxExpression";return[w("key"),$?" ":": ",w("expression")]}case"NGMicrosyntaxLet":return["let ",w("key"),j.value===null?"":[" = ",w("value")]];case"NGMicrosyntaxAs":return[w("key")," as ",w("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(j.type)}.`)}}function B(P,C,w){return P.type==="NGMicrosyntaxKeyedExpression"&&P.key.name==="of"&&C===1&&w.body[0].type==="NGMicrosyntaxLet"&&w.body[0].value===null}function T(P){return f(P.getValue(),C=>{switch(C.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}A.exports={printAngular:x}}}),S2=Ne({"src/language-js/print/jsx.js"(m,A){je();var{printComments:p,printDanglingComments:b,printCommentsSeparately:D}=Rr(),{builders:{line:f,hardline:d,softline:h,group:E,indent:x,conditionalGroup:B,fill:T,ifBreak:P,lineSuffixBoundary:C,join:w},utils:{willBreak:j}}=Nn(),{getLast:X,getPreferredQuote:ne}=ye(),{isJsxNode:$,rawText:K,isCallExpression:G,isStringLiteral:re,isBinaryish:te,hasComment:De,CommentCheckFlags:N,hasNodeIgnoreComment:J}=hr(),F=to(),{willPrintOwnComments:R}=$0(),y=Se=>Se===""||Se===f||Se===d||Se===h;function L(Se,Je,Qe){let bt=Se.getValue();if(bt.type==="JSXElement"&&ct(bt))return[Qe("openingElement"),Qe("closingElement")];let Lt=bt.type==="JSXElement"?Qe("openingElement"):Qe("openingFragment"),It=bt.type==="JSXElement"?Qe("closingElement"):Qe("closingFragment");if(bt.children.length===1&&bt.children[0].type==="JSXExpressionContainer"&&(bt.children[0].expression.type==="TemplateLiteral"||bt.children[0].expression.type==="TaggedTemplateExpression"))return[Lt,...Se.map(Qe,"children"),It];bt.children=bt.children.map(V=>Yt(V)?{type:"JSXText",value:" ",raw:" "}:V);let pn=bt.children.some($),In=bt.children.filter(V=>V.type==="JSXExpressionContainer").length>1,kn=bt.type==="JSXElement"&&bt.openingElement.attributes.length>1,fn=j(Lt)||pn||kn||In,bn=Se.getParentNode().rootMarker==="mdx",at=Je.singleQuote?"{' '}":'{" "}',Ce=bn?" ":P([at,h]," "),pt=bt.openingElement&&bt.openingElement.name&&bt.openingElement.name.name==="fbt",Ie=I(Se,Je,Qe,Ce,pt),lt=bt.children.some(V=>ft(V));for(let V=Ie.length-2;V>=0;V--){let Te=Ie[V]===""&&Ie[V+1]==="",nt=Ie[V]===d&&Ie[V+1]===""&&Ie[V+2]===d,Bt=(Ie[V]===h||Ie[V]===d)&&Ie[V+1]===""&&Ie[V+2]===Ce,Vt=Ie[V]===Ce&&Ie[V+1]===""&&(Ie[V+2]===h||Ie[V+2]===d),cn=Ie[V]===Ce&&Ie[V+1]===""&&Ie[V+2]===Ce,Ot=Ie[V]===h&&Ie[V+1]===""&&Ie[V+2]===d||Ie[V]===d&&Ie[V+1]===""&&Ie[V+2]===h;nt&&lt||Te||Bt||cn||Ot?Ie.splice(V,2):Vt&&Ie.splice(V+1,2)}for(;Ie.length>0&&y(X(Ie));)Ie.pop();for(;Ie.length>1&&y(Ie[0])&&y(Ie[1]);)Ie.shift(),Ie.shift();let nn=[];for(let[V,Te]of Ie.entries()){if(Te===Ce){if(V===1&&Ie[V-1]===""){if(Ie.length===2){nn.push(at);continue}nn.push([at,d]);continue}else if(V===Ie.length-1){nn.push(at);continue}else if(Ie[V-1]===""&&Ie[V-2]===d){nn.push(at);continue}}nn.push(Te),j(Te)&&(fn=!0)}let Wt=lt?T(nn):E(nn,{shouldBreak:!0});if(bn)return Wt;let mt=E([Lt,x([d,Wt]),d,It]);return fn?mt:B([E([Lt,...Ie,It]),mt])}function I(Se,Je,Qe,bt,Lt){let It=[];return Se.each((pn,In,kn)=>{let fn=pn.getValue();if(fn.type==="JSXText"){let bn=K(fn);if(ft(fn)){let at=bn.split(dt);if(at[0]===""){if(It.push(""),at.shift(),/\n/.test(at[0])){let pt=kn[In+1];It.push(U(Lt,at[1],fn,pt))}else It.push(bt);at.shift()}let Ce;if(X(at)===""&&(at.pop(),Ce=at.pop()),at.length===0)return;for(let[pt,Ie]of at.entries())pt%2===1?It.push(f):It.push(Ie);if(Ce!==void 0)if(/\n/.test(Ce)){let pt=kn[In+1];It.push(U(Lt,X(It),fn,pt))}else It.push(bt);else{let pt=kn[In+1];It.push(q(Lt,X(It),fn,pt))}}else/\n/.test(bn)?bn.match(/\n/g).length>1&&It.push("",d):It.push("",bt)}else{let bn=Qe();It.push(bn);let at=kn[In+1];if(at&&ft(at)){let Ce=Me(K(at)).split(dt)[0];It.push(q(Lt,Ce,fn,at))}else It.push(d)}},"children"),It}function q(Se,Je,Qe,bt){return Se?"":Qe.type==="JSXElement"&&!Qe.closingElement||bt&&bt.type==="JSXElement"&&!bt.closingElement?Je.length===1?h:d:h}function U(Se,Je,Qe,bt){return Se?d:Je.length===1?Qe.type==="JSXElement"&&!Qe.closingElement||bt&&bt.type==="JSXElement"&&!bt.closingElement?d:h:d}function z(Se,Je,Qe){let bt=Se.getParentNode();if(!bt||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[bt.type])return Je;let Lt=Se.match(void 0,pn=>pn.type==="ArrowFunctionExpression",G,pn=>pn.type==="JSXExpressionContainer"),It=F(Se,Qe);return E([It?"":P("("),x([h,Je]),h,It?"":P(")")],{shouldBreak:Lt})}function ie(Se,Je,Qe){let bt=Se.getValue(),Lt=[];if(Lt.push(Qe("name")),bt.value){let It;if(re(bt.value)){let pn=K(bt.value).slice(1,-1).replace(/&apos;/g,"'").replace(/&quot;/g,'"'),{escaped:In,quote:kn,regex:fn}=ne(pn,Je.jsxSingleQuote?"'":'"');pn=pn.replace(fn,In);let{leading:bn,trailing:at}=Se.call(()=>D(Se,Je),"value");It=[bn,kn,pn,kn,at]}else It=Qe("value");Lt.push("=",It)}return Lt}function ce(Se,Je,Qe){let bt=Se.getValue(),Lt=(It,pn)=>It.type==="JSXEmptyExpression"||!De(It)&&(It.type==="ArrayExpression"||It.type==="ObjectExpression"||It.type==="ArrowFunctionExpression"||It.type==="AwaitExpression"&&(Lt(It.argument,It)||It.argument.type==="JSXElement")||G(It)||It.type==="FunctionExpression"||It.type==="TemplateLiteral"||It.type==="TaggedTemplateExpression"||It.type==="DoExpression"||$(pn)&&(It.type==="ConditionalExpression"||te(It)));return Lt(bt.expression,Se.getParentNode(0))?E(["{",Qe("expression"),C,"}"]):E(["{",x([h,Qe("expression")]),h,C,"}"])}function ge(Se,Je,Qe){let bt=Se.getValue(),Lt=bt.name&&De(bt.name)||bt.typeParameters&&De(bt.typeParameters);if(bt.selfClosing&&bt.attributes.length===0&&!Lt)return["<",Qe("name"),Qe("typeParameters")," />"];if(bt.attributes&&bt.attributes.length===1&&bt.attributes[0].value&&re(bt.attributes[0].value)&&!bt.attributes[0].value.value.includes(`
207
+ `)&&!Lt&&!De(bt.attributes[0]))return E(["<",Qe("name"),Qe("typeParameters")," ",...Se.map(Qe,"attributes"),bt.selfClosing?" />":">"]);let It=bt.attributes&&bt.attributes.some(In=>In.value&&re(In.value)&&In.value.value.includes(`
208
+ `)),pn=Je.singleAttributePerLine&&bt.attributes.length>1?d:f;return E(["<",Qe("name"),Qe("typeParameters"),x(Se.map(()=>[pn,Qe()],"attributes")),...fe(bt,Je,Lt)],{shouldBreak:It})}function fe(Se,Je,Qe){return Se.selfClosing?[f,"/>"]:_e(Se,Je,Qe)?[">"]:[h,">"]}function _e(Se,Je,Qe){let bt=Se.attributes.length>0&&De(X(Se.attributes),N.Trailing);return Se.attributes.length===0&&!Qe||(Je.bracketSameLine||Je.jsxBracketSameLine)&&(!Qe||Se.attributes.length>0)&&!bt}function se(Se,Je,Qe){let bt=Se.getValue(),Lt=[];Lt.push("</");let It=Qe("name");return De(bt.name,N.Leading|N.Line)?Lt.push(x([d,It]),d):De(bt.name,N.Leading|N.Block)?Lt.push(" ",It):Lt.push(It),Lt.push(">"),Lt}function Ue(Se,Je){let Qe=Se.getValue(),bt=De(Qe),Lt=De(Qe,N.Line),It=Qe.type==="JSXOpeningFragment";return[It?"<":"</",x([Lt?d:bt&&!It?" ":"",b(Se,Je,!0)]),Lt?d:"",">"]}function me(Se,Je,Qe){let bt=p(Se,L(Se,Je,Qe),Je);return z(Se,bt,Je)}function ue(Se,Je){let Qe=Se.getValue(),bt=De(Qe,N.Line);return[b(Se,Je,!bt),bt?d:""]}function Ve(Se,Je,Qe){let bt=Se.getValue();return["{",Se.call(Lt=>{let It=["...",Qe()],pn=Lt.getValue();return!De(pn)||!R(Lt)?It:[x([h,p(Lt,It,Je)]),h]},bt.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function tt(Se,Je,Qe){let bt=Se.getValue();if(bt.type.startsWith("JSX"))switch(bt.type){case"JSXAttribute":return ie(Se,Je,Qe);case"JSXIdentifier":return String(bt.name);case"JSXNamespacedName":return w(":",[Qe("namespace"),Qe("name")]);case"JSXMemberExpression":return w(".",[Qe("object"),Qe("property")]);case"JSXSpreadAttribute":return Ve(Se,Je,Qe);case"JSXSpreadChild":return Ve(Se,Je,Qe);case"JSXExpressionContainer":return ce(Se,Je,Qe);case"JSXFragment":case"JSXElement":return me(Se,Je,Qe);case"JSXOpeningElement":return ge(Se,Je,Qe);case"JSXClosingElement":return se(Se,Je,Qe);case"JSXOpeningFragment":case"JSXClosingFragment":return Ue(Se,Je);case"JSXEmptyExpression":return ue(Se,Je);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(bt.type)}.`)}}var Ge=`
209
+ \r `,dt=new RegExp("(["+Ge+"]+)"),be=new RegExp("[^"+Ge+"]"),Me=Se=>Se.replace(new RegExp("(?:^"+dt.source+"|"+dt.source+"$)"),"");function ct(Se){if(Se.children.length===0)return!0;if(Se.children.length>1)return!1;let Je=Se.children[0];return Je.type==="JSXText"&&!ft(Je)}function ft(Se){return Se.type==="JSXText"&&(be.test(K(Se))||!/\n/.test(K(Se)))}function Yt(Se){return Se.type==="JSXExpressionContainer"&&re(Se.expression)&&Se.expression.value===" "&&!De(Se.expression)}function Re(Se){let Je=Se.getValue(),Qe=Se.getParentNode();if(!Qe||!Je||!$(Je)||!$(Qe))return!1;let bt=Qe.children.indexOf(Je),Lt=null;for(let It=bt;It>0;It--){let pn=Qe.children[It-1];if(!(pn.type==="JSXText"&&!ft(pn))){Lt=pn;break}}return Lt&&Lt.type==="JSXExpressionContainer"&&Lt.expression.type==="JSXEmptyExpression"&&J(Lt.expression)}A.exports={hasJsxIgnoreComment:Re,printJsx:tt}}}),wi=Ne({"src/language-js/print/misc.js"(m,A){je();var{isNonEmptyArray:p}=ye(),{builders:{indent:b,join:D,line:f}}=Nn(),{isFlowAnnotationComment:d}=hr();function h(X){let ne=X.getValue();return!ne.optional||ne.type==="Identifier"&&ne===X.getParentNode().key?"":ne.type==="OptionalCallExpression"||ne.type==="OptionalMemberExpression"&&ne.computed?"?.":"?"}function E(X){return X.getValue().definite||X.match(void 0,(ne,$)=>$==="id"&&ne.type==="VariableDeclarator"&&ne.definite)?"!":""}function x(X,ne,$){let K=X.getValue();return K.typeArguments?$("typeArguments"):K.typeParameters?$("typeParameters"):""}function B(X,ne,$){let K=X.getValue();if(!K.typeAnnotation)return"";let G=X.getParentNode(),re=G.type==="DeclareFunction"&&G.id===K;return d(ne.originalText,K.typeAnnotation)?[" /*: ",$("typeAnnotation")," */"]:[re?"":": ",$("typeAnnotation")]}function T(X,ne,$){return["::",$("callee")]}function P(X,ne,$){let K=X.getValue();return p(K.modifiers)?[D(" ",X.map($,"modifiers"))," "]:""}function C(X,ne,$){return X.type==="EmptyStatement"?";":X.type==="BlockStatement"||$?[" ",ne]:b([f,ne])}function w(X,ne,$){return["...",$("argument"),B(X,ne,$)]}function j(X,ne){let $=X.slice(1,-1);if($.includes('"')||$.includes("'"))return X;let K=ne.singleQuote?"'":'"';return K+$+K}A.exports={printOptionalToken:h,printDefiniteToken:E,printFunctionTypeParameters:x,printBindExpressionCallee:T,printTypeScriptModifiers:P,printTypeAnnotation:B,printRestSpread:w,adjustClause:C,printDirective:j}}}),Wo=Ne({"src/language-js/print/array.js"(m,A){je();var{printDanglingComments:p}=Rr(),{builders:{line:b,softline:D,hardline:f,group:d,indent:h,ifBreak:E,fill:x}}=Nn(),{getLast:B,hasNewline:T}=ye(),{shouldPrintComma:P,hasComment:C,CommentCheckFlags:w,isNextLineEmpty:j,isNumericLiteral:X,isSignedNumericLiteral:ne}=hr(),{locStart:$}=oi(),{printOptionalToken:K,printTypeAnnotation:G}=wi();function re(J,F,R){let y=J.getValue(),L=[],I=y.type==="TupleExpression"?"#[":"[",q="]";if(y.elements.length===0)C(y,w.Dangling)?L.push(d([I,p(J,F),D,q])):L.push(I,q);else{let U=B(y.elements),z=!(U&&U.type==="RestElement"),ie=U===null,ce=Symbol("array"),ge=!F.__inJestEach&&y.elements.length>1&&y.elements.every((se,Ue,me)=>{let ue=se&&se.type;if(ue!=="ArrayExpression"&&ue!=="ObjectExpression")return!1;let Ve=me[Ue+1];if(Ve&&ue!==Ve.type)return!1;let tt=ue==="ArrayExpression"?"elements":"properties";return se[tt]&&se[tt].length>1}),fe=te(y,F),_e=z?ie?",":P(F)?fe?E(",","",{groupId:ce}):E(","):"":"";L.push(d([I,h([D,fe?N(J,F,R,_e):[De(J,F,"elements",R),_e],p(J,F,!0)]),D,q],{shouldBreak:ge,id:ce}))}return L.push(K(J),G(J,F,R)),L}function te(J,F){return J.elements.length>1&&J.elements.every(R=>R&&(X(R)||ne(R)&&!C(R.argument))&&!C(R,w.Trailing|w.Line,y=>!T(F.originalText,$(y),{backwards:!0})))}function De(J,F,R,y){let L=[],I=[];return J.each(q=>{L.push(I,d(y())),I=[",",b],q.getValue()&&j(q.getValue(),F)&&I.push(D)},R),L}function N(J,F,R,y){let L=[];return J.each((I,q,U)=>{let z=q===U.length-1;L.push([R(),z?y:","]),z||L.push(j(I.getValue(),F)?[f,f]:C(U[q+1],w.Leading|w.Line)?f:b)},"elements"),x(L)}A.exports={printArray:re,printArrayItems:De,isConciselyPrintedArray:te}}}),q0=Ne({"src/language-js/print/call-arguments.js"(m,A){je();var{printDanglingComments:p}=Rr(),{getLast:b,getPenultimate:D}=ye(),{getFunctionParameters:f,hasComment:d,CommentCheckFlags:h,isFunctionCompositionArgs:E,isJsxNode:x,isLongCurriedCallExpression:B,shouldPrintComma:T,getCallArguments:P,iterateCallArgumentsPath:C,isNextLineEmpty:w,isCallExpression:j,isStringLiteral:X,isObjectProperty:ne,isTSTypeExpression:$}=hr(),{builders:{line:K,hardline:G,softline:re,group:te,indent:De,conditionalGroup:N,ifBreak:J,breakParent:F},utils:{willBreak:R}}=Nn(),{ArgExpansionBailout:y}=rn(),{isConciselyPrintedArray:L}=Wo();function I(fe,_e,se){let Ue=fe.getValue(),me=Ue.type==="ImportExpression",ue=P(Ue);if(ue.length===0)return["(",p(fe,_e,!0),")"];if(ie(ue))return["(",se(["arguments",0]),", ",se(["arguments",1]),")"];let Ve=!1,tt=!1,Ge=ue.length-1,dt=[];C(fe,(Re,Se)=>{let Je=Re.getNode(),Qe=[se()];Se===Ge||(w(Je,_e)?(Se===0&&(tt=!0),Ve=!0,Qe.push(",",G,G)):Qe.push(",",K)),dt.push(Qe)});let be=!(me||Ue.callee&&Ue.callee.type==="Import")&&T(_e,"all")?",":"";function Me(){return te(["(",De([K,...dt]),be,K,")"],{shouldBreak:!0})}if(Ve||fe.getParentNode().type!=="Decorator"&&E(ue))return Me();let ct=z(ue),ft=U(ue,_e);if(ct||ft){if(ct?dt.slice(1).some(R):dt.slice(0,-1).some(R))return Me();let Re=[];try{fe.try(()=>{C(fe,(Se,Je)=>{ct&&Je===0&&(Re=[[se([],{expandFirstArg:!0}),dt.length>1?",":"",tt?G:K,tt?G:""],...dt.slice(1)]),ft&&Je===Ge&&(Re=[...dt.slice(0,-1),se([],{expandLastArg:!0})])})})}catch(Se){if(Se instanceof y)return Me();throw Se}return[dt.some(R)?F:"",N([["(",...Re,")"],ct?["(",te(Re[0],{shouldBreak:!0}),...Re.slice(1),")"]:["(",...dt.slice(0,-1),te(b(Re),{shouldBreak:!0}),")"],Me()])]}let Yt=["(",De([re,...dt]),J(be),re,")"];return B(fe)?Yt:te(Yt,{shouldBreak:dt.some(R)||Ve})}function q(fe){let _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return fe.type==="ObjectExpression"&&(fe.properties.length>0||d(fe))||fe.type==="ArrayExpression"&&(fe.elements.length>0||d(fe))||fe.type==="TSTypeAssertion"&&q(fe.expression)||$(fe)&&q(fe.expression)||fe.type==="FunctionExpression"||fe.type==="ArrowFunctionExpression"&&(!fe.returnType||!fe.returnType.typeAnnotation||fe.returnType.typeAnnotation.type!=="TSTypeReference"||ce(fe.body))&&(fe.body.type==="BlockStatement"||fe.body.type==="ArrowFunctionExpression"&&q(fe.body,!0)||fe.body.type==="ObjectExpression"||fe.body.type==="ArrayExpression"||!_e&&(j(fe.body)||fe.body.type==="ConditionalExpression")||x(fe.body))||fe.type==="DoExpression"||fe.type==="ModuleExpression"}function U(fe,_e){let se=b(fe),Ue=D(fe);return!d(se,h.Leading)&&!d(se,h.Trailing)&&q(se)&&(!Ue||Ue.type!==se.type)&&(fe.length!==2||Ue.type!=="ArrowFunctionExpression"||se.type!=="ArrayExpression")&&!(fe.length>1&&se.type==="ArrayExpression"&&L(se,_e))}function z(fe){if(fe.length!==2)return!1;let[_e,se]=fe;return _e.type==="ModuleExpression"&&ge(se)?!0:!d(_e)&&(_e.type==="FunctionExpression"||_e.type==="ArrowFunctionExpression"&&_e.body.type==="BlockStatement")&&se.type!=="FunctionExpression"&&se.type!=="ArrowFunctionExpression"&&se.type!=="ConditionalExpression"&&!q(se)}function ie(fe){return fe.length===2&&fe[0].type==="ArrowFunctionExpression"&&f(fe[0]).length===0&&fe[0].body.type==="BlockStatement"&&fe[1].type==="ArrayExpression"&&!fe.some(_e=>d(_e))}function ce(fe){return fe.type==="BlockStatement"&&(fe.body.some(_e=>_e.type!=="EmptyStatement")||d(fe,h.Dangling))}function ge(fe){return fe.type==="ObjectExpression"&&fe.properties.length===1&&ne(fe.properties[0])&&fe.properties[0].key.type==="Identifier"&&fe.properties[0].key.name==="type"&&X(fe.properties[0].value)&&fe.properties[0].value.value==="module"}A.exports=I}}),U0=Ne({"src/language-js/print/member.js"(m,A){je();var{builders:{softline:p,group:b,indent:D,label:f}}=Nn(),{isNumericLiteral:d,isMemberExpression:h,isCallExpression:E}=hr(),{printOptionalToken:x}=wi();function B(P,C,w){let j=P.getValue(),X=P.getParentNode(),ne,$=0;do ne=P.getParentNode($),$++;while(ne&&(h(ne)||ne.type==="TSNonNullExpression"));let K=w("object"),G=T(P,C,w),re=ne&&(ne.type==="NewExpression"||ne.type==="BindExpression"||ne.type==="AssignmentExpression"&&ne.left.type!=="Identifier")||j.computed||j.object.type==="Identifier"&&j.property.type==="Identifier"&&!h(X)||(X.type==="AssignmentExpression"||X.type==="VariableDeclarator")&&(E(j.object)&&j.object.arguments.length>0||j.object.type==="TSNonNullExpression"&&E(j.object.expression)&&j.object.expression.arguments.length>0||K.label==="member-chain");return f(K.label==="member-chain"?"member-chain":"member",[K,re?G:b(D([p,G]))])}function T(P,C,w){let j=w("property"),X=P.getValue(),ne=x(P);return X.computed?!X.property||d(X.property)?[ne,"[",j,"]"]:b([ne,"[",D([p,j]),p,"]"]):[ne,".",j]}A.exports={printMemberExpression:B,printMemberLookup:T}}}),w2=Ne({"src/language-js/print/member-chain.js"(m,A){je();var{printComments:p}=Rr(),{getLast:b,isNextLineEmptyAfterIndex:D,getNextNonSpaceNonCommentCharacterIndex:f}=ye(),d=to(),{isCallExpression:h,isMemberExpression:E,isFunctionOrArrowExpression:x,isLongCurriedCallExpression:B,isMemberish:T,isNumericLiteral:P,isSimpleCallArgument:C,hasComment:w,CommentCheckFlags:j,isNextLineEmpty:X}=hr(),{locEnd:ne}=oi(),{builders:{join:$,hardline:K,group:G,indent:re,conditionalGroup:te,breakParent:De,label:N},utils:{willBreak:J}}=Nn(),F=q0(),{printMemberLookup:R}=U0(),{printOptionalToken:y,printFunctionTypeParameters:L,printBindExpressionCallee:I}=wi();function q(U,z,ie){let ce=U.getParentNode(),ge=!ce||ce.type==="ExpressionStatement",fe=[];function _e(fn){let{originalText:bn}=z,at=f(bn,fn,ne);return bn.charAt(at)===")"?at!==!1&&D(bn,at+1):X(fn,z)}function se(fn){let bn=fn.getValue();h(bn)&&(T(bn.callee)||h(bn.callee))?(fe.unshift({node:bn,printed:[p(fn,[y(fn),L(fn,z,ie),F(fn,z,ie)],z),_e(bn)?K:""]}),fn.call(at=>se(at),"callee")):T(bn)?(fe.unshift({node:bn,needsParens:d(fn,z),printed:p(fn,E(bn)?R(fn,z,ie):I(fn,z,ie),z)}),fn.call(at=>se(at),"object")):bn.type==="TSNonNullExpression"?(fe.unshift({node:bn,printed:p(fn,"!",z)}),fn.call(at=>se(at),"expression")):fe.unshift({node:bn,printed:ie()})}let Ue=U.getValue();fe.unshift({node:Ue,printed:[y(U),L(U,z,ie),F(U,z,ie)]}),Ue.callee&&U.call(fn=>se(fn),"callee");let me=[],ue=[fe[0]],Ve=1;for(;Ve<fe.length&&(fe[Ve].node.type==="TSNonNullExpression"||h(fe[Ve].node)||E(fe[Ve].node)&&fe[Ve].node.computed&&P(fe[Ve].node.property));++Ve)ue.push(fe[Ve]);if(!h(fe[0].node))for(;Ve+1<fe.length&&T(fe[Ve].node)&&T(fe[Ve+1].node);++Ve)ue.push(fe[Ve]);me.push(ue),ue=[];let tt=!1;for(;Ve<fe.length;++Ve){if(tt&&T(fe[Ve].node)){if(fe[Ve].node.computed&&P(fe[Ve].node.property)){ue.push(fe[Ve]);continue}me.push(ue),ue=[],tt=!1}(h(fe[Ve].node)||fe[Ve].node.type==="ImportExpression")&&(tt=!0),ue.push(fe[Ve]),w(fe[Ve].node,j.Trailing)&&(me.push(ue),ue=[],tt=!1)}ue.length>0&&me.push(ue);function Ge(fn){return/^[A-Z]|^[$_]+$/.test(fn)}function dt(fn){return fn.length<=z.tabWidth}function be(fn){let bn=fn[1].length>0&&fn[1][0].node.computed;if(fn[0].length===1){let Ce=fn[0][0].node;return Ce.type==="ThisExpression"||Ce.type==="Identifier"&&(Ge(Ce.name)||ge&&dt(Ce.name)||bn)}let at=b(fn[0]).node;return E(at)&&at.property.type==="Identifier"&&(Ge(at.property.name)||bn)}let Me=me.length>=2&&!w(me[1][0].node)&&be(me);function ct(fn){let bn=fn.map(at=>at.printed);return fn.length>0&&b(fn).needsParens?["(",...bn,")"]:bn}function ft(fn){return fn.length===0?"":re(G([K,$(K,fn.map(ct))]))}let Yt=me.map(ct),Re=Yt,Se=Me?3:2,Je=me.flat(),Qe=Je.slice(1,-1).some(fn=>w(fn.node,j.Leading))||Je.slice(0,-1).some(fn=>w(fn.node,j.Trailing))||me[Se]&&w(me[Se][0].node,j.Leading);if(me.length<=Se&&!Qe)return B(U)?Re:G(Re);let bt=b(me[Me?1:0]).node,Lt=!h(bt)&&_e(bt),It=[ct(me[0]),Me?me.slice(1,2).map(ct):"",Lt?K:"",ft(me.slice(Me?2:1))],pn=fe.map(fn=>{let{node:bn}=fn;return bn}).filter(h);function In(){let fn=b(b(me)).node,bn=b(Yt);return h(fn)&&J(bn)&&pn.slice(0,-1).some(at=>at.arguments.some(x))}let kn;return Qe||pn.length>2&&pn.some(fn=>!fn.arguments.every(bn=>C(bn,0)))||Yt.slice(0,-1).some(J)||In()?kn=G(It):kn=[J(Re)||Lt?De:"",te([Re,It])],N("member-chain",kn)}A.exports=q}}),W0=Ne({"src/language-js/print/call-expression.js"(m,A){je();var{builders:{join:p,group:b}}=Nn(),D=to(),{getCallArguments:f,hasFlowAnnotationComment:d,isCallExpression:h,isMemberish:E,isStringLiteral:x,isTemplateOnItsOwnLine:B,isTestCall:T,iterateCallArgumentsPath:P}=hr(),C=w2(),w=q0(),{printOptionalToken:j,printFunctionTypeParameters:X}=wi();function ne(K,G,re){let te=K.getValue(),De=K.getParentNode(),N=te.type==="NewExpression",J=te.type==="ImportExpression",F=j(K),R=f(te);if(R.length>0&&(!J&&!N&&$(te,De)||R.length===1&&B(R[0],G.originalText)||!N&&T(te,De))){let I=[];return P(K,()=>{I.push(re())}),[N?"new ":"",re("callee"),F,X(K,G,re),"(",p(", ",I),")"]}let y=(G.parser==="babel"||G.parser==="babel-flow")&&te.callee&&te.callee.type==="Identifier"&&d(te.callee.trailingComments);if(y&&(te.callee.trailingComments[0].printed=!0),!J&&!N&&E(te.callee)&&!K.call(I=>D(I,G),"callee"))return C(K,G,re);let L=[N?"new ":"",J?"import":re("callee"),F,y?`/*:: ${te.callee.trailingComments[0].value.slice(2).trim()} */`:"",X(K,G,re),w(K,G,re)];return J||h(te.callee)?b(L):L}function $(K,G){if(K.callee.type!=="Identifier")return!1;if(K.callee.name==="require")return!0;if(K.callee.name==="define"){let re=f(K);return G.type==="ExpressionStatement"&&(re.length===1||re.length===2&&re[0].type==="ArrayExpression"||re.length===3&&x(re[0])&&re[1].type==="ArrayExpression")}return!1}A.exports={printCallExpression:ne}}}),Go=Ne({"src/language-js/print/assignment.js"(m,A){je();var{isNonEmptyArray:p,getStringWidth:b}=ye(),{builders:{line:D,group:f,indent:d,indentIfBreak:h,lineSuffixBoundary:E},utils:{cleanDoc:x,willBreak:B,canBreak:T}}=Nn(),{hasLeadingOwnLineComment:P,isBinaryish:C,isStringLiteral:w,isLiteral:j,isNumericLiteral:X,isCallExpression:ne,isMemberExpression:$,getCallArguments:K,rawText:G,hasComment:re,isSignedNumericLiteral:te,isObjectProperty:De}=hr(),{shouldInlineLogicalExpression:N}=ip(),{printCallExpression:J}=W0();function F(be,Me,ct,ft,Yt,Re){let Se=L(be,Me,ct,ft,Re),Je=ct(Re,{assignmentLayout:Se});switch(Se){case"break-after-operator":return f([f(ft),Yt,f(d([D,Je]))]);case"never-break-after-operator":return f([f(ft),Yt," ",Je]);case"fluid":{let Qe=Symbol("assignment");return f([f(ft),Yt,f(d(D),{id:Qe}),E,h(Je,{groupId:Qe})])}case"break-lhs":return f([ft,Yt," ",f(Je)]);case"chain":return[f(ft),Yt,D,Je];case"chain-tail":return[f(ft),Yt,d([D,Je])];case"chain-tail-arrow-chain":return[f(ft),Yt,Je];case"only-left":return ft}}function R(be,Me,ct){let ft=be.getValue();return F(be,Me,ct,ct("left"),[" ",ft.operator],"right")}function y(be,Me,ct){return F(be,Me,ct,ct("id")," =","init")}function L(be,Me,ct,ft,Yt){let Re=be.getValue(),Se=Re[Yt];if(!Se)return"only-left";let Je=!U(Se);if(be.match(U,z,bt=>!Je||bt.type!=="ExpressionStatement"&&bt.type!=="VariableDeclaration"))return Je?Se.type==="ArrowFunctionExpression"&&Se.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!Je&&U(Se.right)||P(Me.originalText,Se))return"break-after-operator";if(Se.type==="CallExpression"&&Se.callee.name==="require"||Me.parser==="json5"||Me.parser==="json")return"never-break-after-operator";if(q(Re)||ie(Re)||fe(Re)||_e(Re)&&T(ft))return"break-lhs";let Qe=tt(Re,ft,Me);return be.call(()=>I(be,Me,ct,Qe),Yt)?"break-after-operator":Qe||Se.type==="TemplateLiteral"||Se.type==="TaggedTemplateExpression"||Se.type==="BooleanLiteral"||X(Se)||Se.type==="ClassExpression"?"never-break-after-operator":"fluid"}function I(be,Me,ct,ft){let Yt=be.getValue();if(C(Yt)&&!N(Yt))return!0;switch(Yt.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:Je}=Yt;return C(Je)&&!N(Je)}case"ClassExpression":return p(Yt.decorators)}if(ft)return!1;let Re=Yt,Se=[];for(;;)if(Re.type==="UnaryExpression")Re=Re.argument,Se.push("argument");else if(Re.type==="TSNonNullExpression")Re=Re.expression,Se.push("expression");else break;return!!(w(Re)||be.call(()=>me(be,Me,ct),...Se))}function q(be){if(z(be)){let Me=be.left||be.id;return Me.type==="ObjectPattern"&&Me.properties.length>2&&Me.properties.some(ct=>De(ct)&&(!ct.shorthand||ct.value&&ct.value.type==="AssignmentPattern"))}return!1}function U(be){return be.type==="AssignmentExpression"}function z(be){return U(be)||be.type==="VariableDeclarator"}function ie(be){let Me=ce(be);if(p(Me)){let ct=be.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(Me.length>1&&Me.some(ft=>ft[ct]||ft.default))return!0}return!1}function ce(be){return ge(be)&&be.typeParameters&&be.typeParameters.params?be.typeParameters.params:null}function ge(be){return be.type==="TSTypeAliasDeclaration"||be.type==="TypeAlias"}function fe(be){if(be.type!=="VariableDeclarator")return!1;let{typeAnnotation:Me}=be.id;if(!Me||!Me.typeAnnotation)return!1;let ct=se(Me.typeAnnotation);return p(ct)&&ct.length>1&&ct.some(ft=>p(se(ft))||ft.type==="TSConditionalType")}function _e(be){return be.type==="VariableDeclarator"&&be.init&&be.init.type==="ArrowFunctionExpression"}function se(be){return Ue(be)&&be.typeParameters&&be.typeParameters.params?be.typeParameters.params:null}function Ue(be){return be.type==="TSTypeReference"||be.type==="GenericTypeAnnotation"}function me(be,Me,ct){let ft=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Yt=be.getValue(),Re=()=>me(be,Me,ct,!0);if(Yt.type==="TSNonNullExpression")return be.call(Re,"expression");if(ne(Yt)){if(J(be,Me,ct).label==="member-chain")return!1;let Se=K(Yt);return!(Se.length===0||Se.length===1&&Ve(Se[0],Me))||Ge(Yt,ct)?!1:be.call(Re,"callee")}return $(Yt)?be.call(Re,"object"):ft&&(Yt.type==="Identifier"||Yt.type==="ThisExpression")}var ue=.25;function Ve(be,Me){let{printWidth:ct}=Me;if(re(be))return!1;let ft=ct*ue;if(be.type==="ThisExpression"||be.type==="Identifier"&&be.name.length<=ft||te(be)&&!re(be.argument))return!0;let Yt=be.type==="Literal"&&"regex"in be&&be.regex.pattern||be.type==="RegExpLiteral"&&be.pattern;return Yt?Yt.length<=ft:w(be)?G(be).length<=ft:be.type==="TemplateLiteral"?be.expressions.length===0&&be.quasis[0].value.raw.length<=ft&&!be.quasis[0].value.raw.includes(`
210
+ `):j(be)}function tt(be,Me,ct){if(!De(be))return!1;Me=x(Me);let ft=3;return typeof Me=="string"&&b(Me)<ct.tabWidth+ft}function Ge(be,Me){let ct=dt(be);if(p(ct)){if(ct.length>1)return!0;if(ct.length===1){let Yt=ct[0];if(Yt.type==="TSUnionType"||Yt.type==="UnionTypeAnnotation"||Yt.type==="TSIntersectionType"||Yt.type==="IntersectionTypeAnnotation"||Yt.type==="TSTypeLiteral"||Yt.type==="ObjectTypeAnnotation")return!0}let ft=be.typeParameters?"typeParameters":"typeArguments";if(B(Me(ft)))return!0}return!1}function dt(be){return be.typeParameters&&be.typeParameters.params||be.typeArguments&&be.typeArguments.params}A.exports={printVariableDeclarator:y,printAssignmentExpression:R,printAssignment:F,isArrowFunctionVariableDeclarator:_e}}}),Sl=Ne({"src/language-js/print/function-parameters.js"(m,A){je();var{getNextNonSpaceNonCommentCharacter:p}=ye(),{printDanglingComments:b}=Rr(),{builders:{line:D,hardline:f,softline:d,group:h,indent:E,ifBreak:x},utils:{removeLines:B,willBreak:T}}=Nn(),{getFunctionParameters:P,iterateFunctionParametersPath:C,isSimpleType:w,isTestCall:j,isTypeAnnotationAFunction:X,isObjectType:ne,isObjectTypePropertyAFunction:$,hasRestParameter:K,shouldPrintComma:G,hasComment:re,isNextLineEmpty:te}=hr(),{locEnd:De}=oi(),{ArgExpansionBailout:N}=rn(),{printFunctionTypeParameters:J}=wi();function F(I,q,U,z,ie){let ce=I.getValue(),ge=P(ce),fe=ie?J(I,U,q):"";if(ge.length===0)return[fe,"(",b(I,U,!0,Ve=>p(U.originalText,Ve,De)===")"),")"];let _e=I.getParentNode(),se=j(_e),Ue=R(ce),me=[];if(C(I,(Ve,tt)=>{let Ge=tt===ge.length-1;Ge&&ce.rest&&me.push("..."),me.push(q()),!Ge&&(me.push(","),se||Ue?me.push(" "):te(ge[tt],U)?me.push(f,f):me.push(D))}),z){if(T(fe)||T(me))throw new N;return h([B(fe),"(",B(me),")"])}let ue=ge.every(Ve=>!Ve.decorators);return Ue&&ue?[fe,"(",...me,")"]:se?[fe,"(",...me,")"]:($(_e)||X(_e)||_e.type==="TypeAlias"||_e.type==="UnionTypeAnnotation"||_e.type==="TSUnionType"||_e.type==="IntersectionTypeAnnotation"||_e.type==="FunctionTypeAnnotation"&&_e.returnType===ce)&&ge.length===1&&ge[0].name===null&&ce.this!==ge[0]&&ge[0].typeAnnotation&&ce.typeParameters===null&&w(ge[0].typeAnnotation)&&!ce.rest?U.arrowParens==="always"?["(",...me,")"]:me:[fe,"(",E([d,...me]),x(!K(ce)&&G(U,"all")?",":""),d,")"]}function R(I){if(!I)return!1;let q=P(I);if(q.length!==1)return!1;let[U]=q;return!re(U)&&(U.type==="ObjectPattern"||U.type==="ArrayPattern"||U.type==="Identifier"&&U.typeAnnotation&&(U.typeAnnotation.type==="TypeAnnotation"||U.typeAnnotation.type==="TSTypeAnnotation")&&ne(U.typeAnnotation.typeAnnotation)||U.type==="FunctionTypeParam"&&ne(U.typeAnnotation)||U.type==="AssignmentPattern"&&(U.left.type==="ObjectPattern"||U.left.type==="ArrayPattern")&&(U.right.type==="Identifier"||U.right.type==="ObjectExpression"&&U.right.properties.length===0||U.right.type==="ArrayExpression"&&U.right.elements.length===0))}function y(I){let q;return I.returnType?(q=I.returnType,q.typeAnnotation&&(q=q.typeAnnotation)):I.typeAnnotation&&(q=I.typeAnnotation),q}function L(I,q){let U=y(I);if(!U)return!1;let z=I.typeParameters&&I.typeParameters.params;if(z){if(z.length>1)return!1;if(z.length===1){let ie=z[0];if(ie.constraint||ie.default)return!1}}return P(I).length===1&&(ne(U)||T(q))}A.exports={printFunctionParameters:F,shouldHugFunctionParameters:R,shouldGroupFunctionParameters:L}}}),wl=Ne({"src/language-js/print/type-annotation.js"(m,A){je();var{printComments:p,printDanglingComments:b}=Rr(),{isNonEmptyArray:D}=ye(),{builders:{group:f,join:d,line:h,softline:E,indent:x,align:B,ifBreak:T}}=Nn(),P=to(),{locStart:C}=oi(),{isSimpleType:w,isObjectType:j,hasLeadingOwnLineComment:X,isObjectTypePropertyAFunction:ne,shouldPrintComma:$}=hr(),{printAssignment:K}=Go(),{printFunctionParameters:G,shouldGroupFunctionParameters:re}=Sl(),{printArrayItems:te}=Wo();function De(U){if(w(U)||j(U))return!0;if(U.type==="UnionTypeAnnotation"||U.type==="TSUnionType"){let z=U.types.filter(ce=>ce.type==="VoidTypeAnnotation"||ce.type==="TSVoidKeyword"||ce.type==="NullLiteralTypeAnnotation"||ce.type==="TSNullKeyword").length,ie=U.types.some(ce=>ce.type==="ObjectTypeAnnotation"||ce.type==="TSTypeLiteral"||ce.type==="GenericTypeAnnotation"||ce.type==="TSTypeReference");if(U.types.length-1===z&&ie)return!0}return!1}function N(U,z,ie){let ce=z.semi?";":"",ge=U.getValue(),fe=[];return fe.push("opaque type ",ie("id"),ie("typeParameters")),ge.supertype&&fe.push(": ",ie("supertype")),ge.impltype&&fe.push(" = ",ie("impltype")),fe.push(ce),fe}function J(U,z,ie){let ce=z.semi?";":"",ge=U.getValue(),fe=[];ge.declare&&fe.push("declare "),fe.push("type ",ie("id"),ie("typeParameters"));let _e=ge.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[K(U,z,ie,fe," =",_e),ce]}function F(U,z,ie){let ce=U.getValue(),ge=U.map(ie,"types"),fe=[],_e=!1;for(let se=0;se<ge.length;++se)se===0?fe.push(ge[se]):j(ce.types[se-1])&&j(ce.types[se])?fe.push([" & ",_e?x(ge[se]):ge[se]]):!j(ce.types[se-1])&&!j(ce.types[se])?fe.push(x([" &",h,ge[se]])):(se>1&&(_e=!0),fe.push(" & ",se>1?x(ge[se]):ge[se]));return f(fe)}function R(U,z,ie){let ce=U.getValue(),ge=U.getParentNode(),fe=ge.type!=="TypeParameterInstantiation"&&ge.type!=="TSTypeParameterInstantiation"&&ge.type!=="GenericTypeAnnotation"&&ge.type!=="TSTypeReference"&&ge.type!=="TSTypeAssertion"&&ge.type!=="TupleTypeAnnotation"&&ge.type!=="TSTupleType"&&!(ge.type==="FunctionTypeParam"&&!ge.name&&U.getParentNode(1).this!==ge)&&!((ge.type==="TypeAlias"||ge.type==="VariableDeclarator"||ge.type==="TSTypeAliasDeclaration")&&X(z.originalText,ce)),_e=De(ce),se=U.map(ue=>{let Ve=ie();return _e||(Ve=B(2,Ve)),p(ue,Ve,z)},"types");if(_e)return d(" | ",se);let Ue=fe&&!X(z.originalText,ce),me=[T([Ue?h:"","| "]),d([h,"| "],se)];return P(U,z)?f([x(me),E]):ge.type==="TupleTypeAnnotation"&&ge.types.length>1||ge.type==="TSTupleType"&&ge.elementTypes.length>1?f([x([T(["(",E]),me]),E,T(")")]):f(fe?x(me):me)}function y(U,z,ie){let ce=U.getValue(),ge=[],fe=U.getParentNode(0),_e=U.getParentNode(1),se=U.getParentNode(2),Ue=ce.type==="TSFunctionType"||!((fe.type==="ObjectTypeProperty"||fe.type==="ObjectTypeInternalSlot")&&!fe.variance&&!fe.optional&&C(fe)===C(ce)||fe.type==="ObjectTypeCallProperty"||se&&se.type==="DeclareFunction"),me=Ue&&(fe.type==="TypeAnnotation"||fe.type==="TSTypeAnnotation"),ue=me&&Ue&&(fe.type==="TypeAnnotation"||fe.type==="TSTypeAnnotation")&&_e.type==="ArrowFunctionExpression";ne(fe)&&(Ue=!0,me=!0),ue&&ge.push("(");let Ve=G(U,ie,z,!1,!0),tt=ce.returnType||ce.predicate||ce.typeAnnotation?[Ue?" => ":": ",ie("returnType"),ie("predicate"),ie("typeAnnotation")]:"",Ge=re(ce,tt);return ge.push(Ge?f(Ve):Ve),tt&&ge.push(tt),ue&&ge.push(")"),f(ge)}function L(U,z,ie){let ce=U.getValue(),ge=ce.type==="TSTupleType"?"elementTypes":"types",fe=ce[ge],_e=D(fe),se=_e?E:"";return f(["[",x([se,te(U,z,ge,ie)]),T(_e&&$(z,"all")?",":""),b(U,z,!0),se,"]"])}function I(U,z,ie){let ce=U.getValue(),ge=ce.type==="OptionalIndexedAccessType"&&ce.optional?"?.[":"[";return[ie("objectType"),ge,ie("indexType"),"]"]}function q(U,z,ie){let ce=U.getValue();return[ce.postfix?"":ie,z("typeAnnotation"),ce.postfix?ie:""]}A.exports={printOpaqueType:N,printTypeAlias:J,printIntersectionType:F,printUnionType:R,printFunctionType:y,printTupleType:L,printIndexedAccessType:I,shouldHugType:De,printJSDocType:q}}}),Fl=Ne({"src/language-js/print/type-parameters.js"(m,A){je();var{printDanglingComments:p}=Rr(),{builders:{join:b,line:D,hardline:f,softline:d,group:h,indent:E,ifBreak:x}}=Nn(),{isTestCall:B,hasComment:T,CommentCheckFlags:P,isTSXFile:C,shouldPrintComma:w,getFunctionParameters:j,isObjectType:X,getTypeScriptMappedTypeModifier:ne}=hr(),{createGroupIdMapper:$}=ye(),{shouldHugType:K}=wl(),{isArrowFunctionVariableDeclarator:G}=Go(),re=$("typeParameters");function te(J,F,R,y){let L=J.getValue();if(!L[y])return"";if(!Array.isArray(L[y]))return R(y);let I=J.getNode(2),q=I&&B(I),U=J.match(ie=>!(ie[y].length===1&&X(ie[y][0])),void 0,(ie,ce)=>ce==="typeAnnotation",ie=>ie.type==="Identifier",G);if(L[y].length===0||!U&&(q||L[y].length===1&&(L[y][0].type==="NullableTypeAnnotation"||K(L[y][0]))))return["<",b(", ",J.map(R,y)),De(J,F),">"];let z=L.type==="TSTypeParameterInstantiation"?"":j(L).length===1&&C(F)&&!L[y][0].constraint&&J.getParentNode().type==="ArrowFunctionExpression"?",":w(F,"all")?x(","):"";return h(["<",E([d,b([",",D],J.map(R,y))]),z,d,">"],{id:re(L)})}function De(J,F){let R=J.getValue();if(!T(R,P.Dangling))return"";let y=!T(R,P.Line),L=p(J,F,y);return y?L:[L,f]}function N(J,F,R){let y=J.getValue(),L=[y.type==="TSTypeParameter"&&y.const?"const ":""],I=J.getParentNode();return I.type==="TSMappedType"?(I.readonly&&L.push(ne(I.readonly,"readonly")," "),L.push("[",R("name")),y.constraint&&L.push(" in ",R("constraint")),I.nameType&&L.push(" as ",J.callParent(()=>R("nameType"))),L.push("]"),L):(y.variance&&L.push(R("variance")),y.in&&L.push("in "),y.out&&L.push("out "),L.push(R("name")),y.bound&&L.push(": ",R("bound")),y.constraint&&L.push(" extends ",R("constraint")),y.default&&L.push(" = ",R("default")),L)}A.exports={printTypeParameter:N,printTypeParameters:te,getTypeParametersGroupId:re}}}),Jo=Ne({"src/language-js/print/property.js"(m,A){je();var{printComments:p}=Rr(),{printString:b,printNumber:D}=ye(),{isNumericLiteral:f,isSimpleNumber:d,isStringLiteral:h,isStringPropSafeToUnquote:E,rawText:x}=hr(),{printAssignment:B}=Go(),T=new WeakMap;function P(w,j,X){let ne=w.getNode();if(ne.computed)return["[",X("key"),"]"];let $=w.getParentNode(),{key:K}=ne;if(j.quoteProps==="consistent"&&!T.has($)){let G=($.properties||$.body||$.members).some(re=>!re.computed&&re.key&&h(re.key)&&!E(re,j));T.set($,G)}if((K.type==="Identifier"||f(K)&&d(D(x(K)))&&String(K.value)===D(x(K))&&!(j.parser==="typescript"||j.parser==="babel-ts"))&&(j.parser==="json"||j.quoteProps==="consistent"&&T.get($))){let G=b(JSON.stringify(K.type==="Identifier"?K.name:K.value.toString()),j);return w.call(re=>p(re,G,j),"key")}return E(ne,j)&&(j.quoteProps==="as-needed"||j.quoteProps==="consistent"&&!T.get($))?w.call(G=>p(G,/^\d/.test(K.value)?D(K.value):K.value,j),"key"):X("key")}function C(w,j,X){return w.getValue().shorthand?X("value"):B(w,j,X,P(w,j,X),":","value")}A.exports={printProperty:C,printPropertyKey:P}}}),Nl=Ne({"src/language-js/print/function.js"(m,A){je();var p=Uo(),{printDanglingComments:b,printCommentsSeparately:D}=Rr(),f=Ur(),{getNextNonSpaceNonCommentCharacterIndex:d}=ye(),{builders:{line:h,softline:E,group:x,indent:B,ifBreak:T,hardline:P,join:C,indentIfBreak:w},utils:{removeLines:j,willBreak:X}}=Nn(),{ArgExpansionBailout:ne}=rn(),{getFunctionParameters:$,hasLeadingOwnLineComment:K,isFlowAnnotationComment:G,isJsxNode:re,isTemplateOnItsOwnLine:te,shouldPrintComma:De,startsWithNoLookaheadToken:N,isBinaryish:J,isLineComment:F,hasComment:R,getComments:y,CommentCheckFlags:L,isCallLikeExpression:I,isCallExpression:q,getCallArguments:U,hasNakedLeftSide:z,getLeftSide:ie}=hr(),{locEnd:ce}=oi(),{printFunctionParameters:ge,shouldGroupFunctionParameters:fe}=Sl(),{printPropertyKey:_e}=Jo(),{printFunctionTypeParameters:se}=wi();function Ue(Se,Je,Qe,bt){let Lt=Se.getValue(),It=!1;if((Lt.type==="FunctionDeclaration"||Lt.type==="FunctionExpression")&&bt&&bt.expandLastArg){let bn=Se.getParentNode();q(bn)&&U(bn).length>1&&(It=!0)}let pn=[];Lt.type==="TSDeclareFunction"&&Lt.declare&&pn.push("declare "),Lt.async&&pn.push("async "),Lt.generator?pn.push("function* "):pn.push("function "),Lt.id&&pn.push(Je("id"));let In=ge(Se,Je,Qe,It),kn=Me(Se,Je,Qe),fn=fe(Lt,kn);return pn.push(se(Se,Qe,Je),x([fn?x(In):In,kn]),Lt.body?" ":"",Je("body")),Qe.semi&&(Lt.declare||!Lt.body)&&pn.push(";"),pn}function me(Se,Je,Qe){let bt=Se.getNode(),{kind:Lt}=bt,It=bt.value||bt,pn=[];return!Lt||Lt==="init"||Lt==="method"||Lt==="constructor"?It.async&&pn.push("async "):(p.ok(Lt==="get"||Lt==="set"),pn.push(Lt," ")),It.generator&&pn.push("*"),pn.push(_e(Se,Je,Qe),bt.optional||bt.key.optional?"?":""),bt===It?pn.push(ue(Se,Je,Qe)):It.type==="FunctionExpression"?pn.push(Se.call(In=>ue(In,Je,Qe),"value")):pn.push(Qe("value")),pn}function ue(Se,Je,Qe){let bt=Se.getNode(),Lt=ge(Se,Qe,Je),It=Me(Se,Qe,Je),pn=fe(bt,It),In=[se(Se,Je,Qe),x([pn?x(Lt):Lt,It])];return bt.body?In.push(" ",Qe("body")):In.push(Je.semi?";":""),In}function Ve(Se,Je,Qe,bt){let Lt=Se.getValue(),It=[];if(Lt.async&&It.push("async "),be(Se,Je))It.push(Qe(["params",0]));else{let In=bt&&(bt.expandLastArg||bt.expandFirstArg),kn=Me(Se,Qe,Je);if(In){if(X(kn))throw new ne;kn=x(j(kn))}It.push(x([ge(Se,Qe,Je,In,!0),kn]))}let pn=b(Se,Je,!0,In=>{let kn=d(Je.originalText,In,ce);return kn!==!1&&Je.originalText.slice(kn,kn+2)==="=>"});return pn&&It.push(" ",pn),It}function tt(Se,Je,Qe,bt,Lt,It){let pn=Se.getName(),In=Se.getParentNode(),kn=I(In)&&pn==="callee",fn=!!(Je&&Je.assignmentLayout),bn=It.body.type!=="BlockStatement"&&It.body.type!=="ObjectExpression"&&It.body.type!=="SequenceExpression",at=kn&&bn||Je&&Je.assignmentLayout==="chain-tail-arrow-chain",Ce=Symbol("arrow-chain");return It.body.type==="SequenceExpression"&&(Lt=x(["(",B([E,Lt]),E,")"])),x([x(B([kn||fn?E:"",x(C([" =>",h],Qe),{shouldBreak:bt})]),{id:Ce,shouldBreak:at})," =>",w(bn?B([h,Lt]):[" ",Lt],{groupId:Ce}),kn?T(E,"",{groupId:Ce}):""])}function Ge(Se,Je,Qe,bt){let Lt=Se.getValue(),It=[],pn=[],In=!1;if(function Ce(){let pt=Ve(Se,Je,Qe,bt);if(It.length===0)It.push(pt);else{let{leading:Ie,trailing:lt}=D(Se,Je);It.push([Ie,pt]),pn.unshift(lt)}In=In||Lt.returnType&&$(Lt).length>0||Lt.typeParameters||$(Lt).some(Ie=>Ie.type!=="Identifier"),Lt.body.type!=="ArrowFunctionExpression"||bt&&bt.expandLastArg?pn.unshift(Qe("body",bt)):(Lt=Lt.body,Se.call(Ce,"body"))}(),It.length>1)return tt(Se,bt,It,In,pn,Lt);let kn=It;if(kn.push(" =>"),!K(Je.originalText,Lt.body)&&(Lt.body.type==="ArrayExpression"||Lt.body.type==="ObjectExpression"||Lt.body.type==="BlockStatement"||re(Lt.body)||te(Lt.body,Je.originalText)||Lt.body.type==="ArrowFunctionExpression"||Lt.body.type==="DoExpression"))return x([...kn," ",pn]);if(Lt.body.type==="SequenceExpression")return x([...kn,x([" (",B([E,pn]),E,")"])]);let fn=(bt&&bt.expandLastArg||Se.getParentNode().type==="JSXExpressionContainer")&&!R(Lt),bn=bt&&bt.expandLastArg&&De(Je,"all"),at=Lt.body.type==="ConditionalExpression"&&!N(Lt.body,Ce=>Ce.type==="ObjectExpression");return x([...kn,x([B([h,at?T("","("):"",pn,at?T("",")"):""]),fn?[T(bn?",":""),E]:""])])}function dt(Se){let Je=$(Se);return Je.length===1&&!Se.typeParameters&&!R(Se,L.Dangling)&&Je[0].type==="Identifier"&&!Je[0].typeAnnotation&&!R(Je[0])&&!Je[0].optional&&!Se.predicate&&!Se.returnType}function be(Se,Je){if(Je.arrowParens==="always")return!1;if(Je.arrowParens==="avoid"){let Qe=Se.getValue();return dt(Qe)}return!1}function Me(Se,Je,Qe){let bt=Se.getValue(),Lt=Je("returnType");if(bt.returnType&&G(Qe.originalText,bt.returnType))return[" /*: ",Lt," */"];let It=[Lt];return bt.returnType&&bt.returnType.typeAnnotation&&It.unshift(": "),bt.predicate&&It.push(bt.returnType?" ":": ",Je("predicate")),It}function ct(Se,Je,Qe){let bt=Se.getValue(),Lt=Je.semi?";":"",It=[];bt.argument&&(Re(Je,bt.argument)?It.push([" (",B([P,Qe("argument")]),P,")"]):J(bt.argument)||bt.argument.type==="SequenceExpression"?It.push(x([T(" ("," "),B([E,Qe("argument")]),E,T(")")])):It.push(" ",Qe("argument")));let pn=y(bt),In=f(pn),kn=In&&F(In);return kn&&It.push(Lt),R(bt,L.Dangling)&&It.push(" ",b(Se,Je,!0)),kn||It.push(Lt),It}function ft(Se,Je,Qe){return["return",ct(Se,Je,Qe)]}function Yt(Se,Je,Qe){return["throw",ct(Se,Je,Qe)]}function Re(Se,Je){if(K(Se.originalText,Je))return!0;if(z(Je)){let Qe=Je,bt;for(;bt=ie(Qe);)if(Qe=bt,K(Se.originalText,Qe))return!0}return!1}A.exports={printFunction:Ue,printArrowFunction:Ge,printMethod:me,printReturnStatement:ft,printThrowStatement:Yt,printMethodInternal:ue,shouldPrintParamsWithoutParens:be}}}),sp=Ne({"src/language-js/print/decorators.js"(m,A){je();var{isNonEmptyArray:p,hasNewline:b}=ye(),{builders:{line:D,hardline:f,join:d,breakParent:h,group:E}}=Nn(),{locStart:x,locEnd:B}=oi(),{getParentExportDeclaration:T}=hr();function P(ne,$,K){let G=ne.getValue();return E([d(D,ne.map(K,"decorators")),j(G,$)?f:D])}function C(ne,$,K){return[d(f,ne.map(K,"declaration","decorators")),f]}function w(ne,$,K){let G=ne.getValue(),{decorators:re}=G;if(!p(re)||X(ne.getParentNode()))return;let te=G.type==="ClassExpression"||G.type==="ClassDeclaration"||j(G,$);return[T(ne)?f:te?h:"",d(D,ne.map(K,"decorators")),D]}function j(ne,$){return ne.decorators.some(K=>b($.originalText,B(K)))}function X(ne){if(ne.type!=="ExportDefaultDeclaration"&&ne.type!=="ExportNamedDeclaration"&&ne.type!=="DeclareExportDeclaration")return!1;let $=ne.declaration&&ne.declaration.decorators;return p($)&&x(ne)===x($[0])}A.exports={printDecorators:w,printClassMemberDecorators:P,printDecoratorsBeforeExport:C,hasDecoratorsBeforeExport:X}}}),Yo=Ne({"src/language-js/print/class.js"(m,A){je();var{isNonEmptyArray:p,createGroupIdMapper:b}=ye(),{printComments:D,printDanglingComments:f}=Rr(),{builders:{join:d,line:h,hardline:E,softline:x,group:B,indent:T,ifBreak:P}}=Nn(),{hasComment:C,CommentCheckFlags:w}=hr(),{getTypeParametersGroupId:j}=Fl(),{printMethod:X}=Nl(),{printOptionalToken:ne,printTypeAnnotation:$,printDefiniteToken:K}=wi(),{printPropertyKey:G}=Jo(),{printAssignment:re}=Go(),{printClassMemberDecorators:te}=sp();function De(U,z,ie){let ce=U.getValue(),ge=[];ce.declare&&ge.push("declare "),ce.abstract&&ge.push("abstract "),ge.push("class");let fe=ce.id&&C(ce.id,w.Trailing)||ce.typeParameters&&C(ce.typeParameters,w.Trailing)||ce.superClass&&C(ce.superClass)||p(ce.extends)||p(ce.mixins)||p(ce.implements),_e=[],se=[];if(ce.id&&_e.push(" ",ie("id")),_e.push(ie("typeParameters")),ce.superClass){let Ue=[L(U,z,ie),ie("superTypeParameters")],me=U.call(ue=>["extends ",D(ue,Ue,z)],"superClass");fe?se.push(h,B(me)):se.push(" ",me)}else se.push(y(U,z,ie,"extends"));if(se.push(y(U,z,ie,"mixins"),y(U,z,ie,"implements")),fe){let Ue;R(ce)?Ue=[..._e,T(se)]:Ue=T([..._e,se]),ge.push(B(Ue,{id:N(ce)}))}else ge.push(..._e,...se);return ge.push(" ",ie("body")),ge}var N=b("heritageGroup");function J(U){return P(E,"",{groupId:N(U)})}function F(U){return["superClass","extends","mixins","implements"].filter(z=>!!U[z]).length>1}function R(U){return U.typeParameters&&!C(U.typeParameters,w.Trailing|w.Line)&&!F(U)}function y(U,z,ie,ce){let ge=U.getValue();if(!p(ge[ce]))return"";let fe=f(U,z,!0,_e=>{let{marker:se}=_e;return se===ce});return[R(ge)?P(" ",h,{groupId:j(ge.typeParameters)}):h,fe,fe&&E,ce,B(T([h,d([",",h],U.map(ie,ce))]))]}function L(U,z,ie){let ce=ie("superClass");return U.getParentNode().type==="AssignmentExpression"?B(P(["(",T([x,ce]),x,")"],ce)):ce}function I(U,z,ie){let ce=U.getValue(),ge=[];return p(ce.decorators)&&ge.push(te(U,z,ie)),ce.accessibility&&ge.push(ce.accessibility+" "),ce.readonly&&ge.push("readonly "),ce.declare&&ge.push("declare "),ce.static&&ge.push("static "),(ce.type==="TSAbstractMethodDefinition"||ce.abstract)&&ge.push("abstract "),ce.override&&ge.push("override "),ge.push(X(U,z,ie)),ge}function q(U,z,ie){let ce=U.getValue(),ge=[],fe=z.semi?";":"";return p(ce.decorators)&&ge.push(te(U,z,ie)),ce.accessibility&&ge.push(ce.accessibility+" "),ce.declare&&ge.push("declare "),ce.static&&ge.push("static "),(ce.type==="TSAbstractPropertyDefinition"||ce.type==="TSAbstractAccessorProperty"||ce.abstract)&&ge.push("abstract "),ce.override&&ge.push("override "),ce.readonly&&ge.push("readonly "),ce.variance&&ge.push(ie("variance")),(ce.type==="ClassAccessorProperty"||ce.type==="AccessorProperty"||ce.type==="TSAbstractAccessorProperty")&&ge.push("accessor "),ge.push(G(U,z,ie),ne(U),K(U),$(U,z,ie)),[re(U,z,ie,ge," =","value"),fe]}A.exports={printClass:De,printClassMethod:I,printClassProperty:q,printHardlineAfterHeritage:J}}}),G0=Ne({"src/language-js/print/interface.js"(m,A){je();var{isNonEmptyArray:p}=ye(),{builders:{join:b,line:D,group:f,indent:d,ifBreak:h}}=Nn(),{hasComment:E,identity:x,CommentCheckFlags:B}=hr(),{getTypeParametersGroupId:T}=Fl(),{printTypeScriptModifiers:P}=wi();function C(w,j,X){let ne=w.getValue(),$=[];ne.declare&&$.push("declare "),ne.type==="TSInterfaceDeclaration"&&$.push(ne.abstract?"abstract ":"",P(w,j,X)),$.push("interface");let K=[],G=[];ne.type!=="InterfaceTypeAnnotation"&&K.push(" ",X("id"),X("typeParameters"));let re=ne.typeParameters&&!E(ne.typeParameters,B.Trailing|B.Line);return p(ne.extends)&&G.push(re?h(" ",D,{groupId:T(ne.typeParameters)}):D,"extends ",(ne.extends.length===1?x:d)(b([",",D],w.map(X,"extends")))),ne.id&&E(ne.id,B.Trailing)||p(ne.extends)?re?$.push(f([...K,d(G)])):$.push(f(d([...K,...G]))):$.push(...K,...G),$.push(" ",X("body")),f($)}A.exports={printInterface:C}}}),J0=Ne({"src/language-js/print/module.js"(m,A){je();var{isNonEmptyArray:p}=ye(),{builders:{softline:b,group:D,indent:f,join:d,line:h,ifBreak:E,hardline:x}}=Nn(),{printDanglingComments:B}=Rr(),{hasComment:T,CommentCheckFlags:P,shouldPrintComma:C,needsHardlineAfterDanglingComment:w,isStringLiteral:j,rawText:X}=hr(),{locStart:ne,hasSameLoc:$}=oi(),{hasDecoratorsBeforeExport:K,printDecoratorsBeforeExport:G}=sp();function re(q,U,z){let ie=q.getValue(),ce=U.semi?";":"",ge=[],{importKind:fe}=ie;return ge.push("import"),fe&&fe!=="value"&&ge.push(" ",fe),ge.push(F(q,U,z),J(q,U,z),y(q,U,z),ce),ge}function te(q,U,z){let ie=q.getValue(),ce=[];K(ie)&&ce.push(G(q,U,z));let{type:ge,exportKind:fe,declaration:_e}=ie;return ce.push("export"),(ie.default||ge==="ExportDefaultDeclaration")&&ce.push(" default"),T(ie,P.Dangling)&&(ce.push(" ",B(q,U,!0)),w(ie)&&ce.push(x)),_e?ce.push(" ",z("declaration")):ce.push(fe==="type"?" type":"",F(q,U,z),J(q,U,z),y(q,U,z)),N(ie,U)&&ce.push(";"),ce}function De(q,U,z){let ie=q.getValue(),ce=U.semi?";":"",ge=[],{exportKind:fe,exported:_e}=ie;return ge.push("export"),fe==="type"&&ge.push(" type"),ge.push(" *"),_e&&ge.push(" as ",z("exported")),ge.push(J(q,U,z),y(q,U,z),ce),ge}function N(q,U){if(!U.semi)return!1;let{type:z,declaration:ie}=q,ce=q.default||z==="ExportDefaultDeclaration";if(!ie)return!0;let{type:ge}=ie;return!!(ce&&ge!=="ClassDeclaration"&&ge!=="FunctionDeclaration"&&ge!=="TSInterfaceDeclaration"&&ge!=="DeclareClass"&&ge!=="DeclareFunction"&&ge!=="TSDeclareFunction"&&ge!=="EnumDeclaration")}function J(q,U,z){let ie=q.getValue();if(!ie.source)return"";let ce=[];return R(ie,U)||ce.push(" from"),ce.push(" ",z("source")),ce}function F(q,U,z){let ie=q.getValue();if(R(ie,U))return"";let ce=[" "];if(p(ie.specifiers)){let ge=[],fe=[];q.each(()=>{let _e=q.getValue().type;if(_e==="ExportNamespaceSpecifier"||_e==="ExportDefaultSpecifier"||_e==="ImportNamespaceSpecifier"||_e==="ImportDefaultSpecifier")ge.push(z());else if(_e==="ExportSpecifier"||_e==="ImportSpecifier")fe.push(z());else throw new Error(`Unknown specifier type ${JSON.stringify(_e)}`)},"specifiers"),ce.push(d(", ",ge)),fe.length>0&&(ge.length>0&&ce.push(", "),fe.length>1||ge.length>0||ie.specifiers.some(_e=>T(_e))?ce.push(D(["{",f([U.bracketSpacing?h:b,d([",",h],fe)]),E(C(U)?",":""),U.bracketSpacing?h:b,"}"])):ce.push(["{",U.bracketSpacing?" ":"",...fe,U.bracketSpacing?" ":"","}"]))}else ce.push("{}");return ce}function R(q,U){let{type:z,importKind:ie,source:ce,specifiers:ge}=q;return z!=="ImportDeclaration"||p(ge)||ie==="type"?!1:!/{\s*}/.test(U.originalText.slice(ne(q),ne(ce)))}function y(q,U,z){let ie=q.getNode();return p(ie.assertions)?[" assert {",U.bracketSpacing?" ":"",d(", ",q.map(z,"assertions")),U.bracketSpacing?" ":"","}"]:""}function L(q,U,z){let ie=q.getNode(),{type:ce}=ie,ge=[],fe=ce==="ImportSpecifier"?ie.importKind:ie.exportKind;fe&&fe!=="value"&&ge.push(fe," ");let _e=ce.startsWith("Import"),se=_e?"imported":"local",Ue=_e?"local":"exported",me=ie[se],ue=ie[Ue],Ve="",tt="";return ce==="ExportNamespaceSpecifier"||ce==="ImportNamespaceSpecifier"?Ve="*":me&&(Ve=z(se)),ue&&!I(ie)&&(tt=z(Ue)),ge.push(Ve,Ve&&tt?" as ":"",tt),ge}function I(q){if(q.type!=="ImportSpecifier"&&q.type!=="ExportSpecifier")return!1;let{local:U,[q.type==="ImportSpecifier"?"imported":"exported"]:z}=q;if(U.type!==z.type||!$(U,z))return!1;if(j(U))return U.value===z.value&&X(U)===X(z);switch(U.type){case"Identifier":return U.name===z.name;default:return!1}}A.exports={printImportDeclaration:re,printExportDeclaration:te,printExportAllDeclaration:De,printModuleSpecifier:L}}}),ap=Ne({"src/language-js/print/object.js"(m,A){je();var{printDanglingComments:p}=Rr(),{builders:{line:b,softline:D,group:f,indent:d,ifBreak:h,hardline:E}}=Nn(),{getLast:x,hasNewlineInRange:B,hasNewline:T,isNonEmptyArray:P}=ye(),{shouldPrintComma:C,hasComment:w,getComments:j,CommentCheckFlags:X,isNextLineEmpty:ne}=hr(),{locStart:$,locEnd:K}=oi(),{printOptionalToken:G,printTypeAnnotation:re}=wi(),{shouldHugFunctionParameters:te}=Sl(),{shouldHugType:De}=wl(),{printHardlineAfterHeritage:N}=Yo();function J(F,R,y){let L=R.semi?";":"",I=F.getValue(),q;I.type==="TSTypeLiteral"?q="members":I.type==="TSInterfaceBody"?q="body":q="properties";let U=I.type==="ObjectTypeAnnotation",z=[q];U&&z.push("indexers","callProperties","internalSlots");let ie=z.map(be=>I[be][0]).sort((be,Me)=>$(be)-$(Me))[0],ce=F.getParentNode(0),ge=U&&ce&&(ce.type==="InterfaceDeclaration"||ce.type==="DeclareInterface"||ce.type==="DeclareClass")&&F.getName()==="body",fe=I.type==="TSInterfaceBody"||ge||I.type==="ObjectPattern"&&ce.type!=="FunctionDeclaration"&&ce.type!=="FunctionExpression"&&ce.type!=="ArrowFunctionExpression"&&ce.type!=="ObjectMethod"&&ce.type!=="ClassMethod"&&ce.type!=="ClassPrivateMethod"&&ce.type!=="AssignmentPattern"&&ce.type!=="CatchClause"&&I.properties.some(be=>be.value&&(be.value.type==="ObjectPattern"||be.value.type==="ArrayPattern"))||I.type!=="ObjectPattern"&&ie&&B(R.originalText,$(I),$(ie)),_e=ge?";":I.type==="TSInterfaceBody"||I.type==="TSTypeLiteral"?h(L,";"):",",se=I.type==="RecordExpression"?"#{":I.exact?"{|":"{",Ue=I.exact?"|}":"}",me=[];for(let be of z)F.each(Me=>{let ct=Me.getValue();me.push({node:ct,printed:y(),loc:$(ct)})},be);z.length>1&&me.sort((be,Me)=>be.loc-Me.loc);let ue=[],Ve=me.map(be=>{let Me=[...ue,f(be.printed)];return ue=[_e,b],(be.node.type==="TSPropertySignature"||be.node.type==="TSMethodSignature"||be.node.type==="TSConstructSignatureDeclaration")&&w(be.node,X.PrettierIgnore)&&ue.shift(),ne(be.node,R)&&ue.push(E),Me});if(I.inexact){let be;if(w(I,X.Dangling)){let Me=w(I,X.Line);be=[p(F,R,!0),Me||T(R.originalText,K(x(j(I))))?E:b,"..."]}else be=["..."];Ve.push([...ue,...be])}let tt=x(I[q]),Ge=!(I.inexact||tt&&tt.type==="RestElement"||tt&&(tt.type==="TSPropertySignature"||tt.type==="TSCallSignatureDeclaration"||tt.type==="TSMethodSignature"||tt.type==="TSConstructSignatureDeclaration")&&w(tt,X.PrettierIgnore)),dt;if(Ve.length===0){if(!w(I,X.Dangling))return[se,Ue,re(F,R,y)];dt=f([se,p(F,R),D,Ue,G(F),re(F,R,y)])}else dt=[ge&&P(I.properties)?N(ce):"",se,d([R.bracketSpacing?b:D,...Ve]),h(Ge&&(_e!==","||C(R))?_e:""),R.bracketSpacing?b:D,Ue,G(F),re(F,R,y)];return F.match(be=>be.type==="ObjectPattern"&&!be.decorators,(be,Me,ct)=>te(be)&&(Me==="params"||Me==="parameters"||Me==="this"||Me==="rest")&&ct===0)||F.match(De,(be,Me)=>Me==="typeAnnotation",(be,Me)=>Me==="typeAnnotation",(be,Me,ct)=>te(be)&&(Me==="params"||Me==="parameters"||Me==="this"||Me==="rest")&&ct===0)||!fe&&F.match(be=>be.type==="ObjectPattern",be=>be.type==="AssignmentExpression"||be.type==="VariableDeclarator")?dt:f(dt,{shouldBreak:fe})}A.exports={printObject:J}}}),F2=Ne({"src/language-js/print/flow.js"(m,A){je();var p=Uo(),{printDanglingComments:b}=Rr(),{printString:D,printNumber:f}=ye(),{builders:{hardline:d,softline:h,group:E,indent:x}}=Nn(),{getParentExportDeclaration:B,isFunctionNotation:T,isGetterOrSetter:P,rawText:C,shouldPrintComma:w}=hr(),{locStart:j,locEnd:X}=oi(),{replaceTextEndOfLine:ne}=ra(),{printClass:$}=Yo(),{printOpaqueType:K,printTypeAlias:G,printIntersectionType:re,printUnionType:te,printFunctionType:De,printTupleType:N,printIndexedAccessType:J}=wl(),{printInterface:F}=G0(),{printTypeParameter:R,printTypeParameters:y}=Fl(),{printExportDeclaration:L,printExportAllDeclaration:I}=J0(),{printArrayItems:q}=Wo(),{printObject:U}=ap(),{printPropertyKey:z}=Jo(),{printOptionalToken:ie,printTypeAnnotation:ce,printRestSpread:ge}=wi();function fe(se,Ue,me){let ue=se.getValue(),Ve=Ue.semi?";":"",tt=[];switch(ue.type){case"DeclareClass":return _e(se,$(se,Ue,me));case"DeclareFunction":return _e(se,["function ",me("id"),ue.predicate?" ":"",me("predicate"),Ve]);case"DeclareModule":return _e(se,["module ",me("id")," ",me("body")]);case"DeclareModuleExports":return _e(se,["module.exports",": ",me("typeAnnotation"),Ve]);case"DeclareVariable":return _e(se,["var ",me("id"),Ve]);case"DeclareOpaqueType":return _e(se,K(se,Ue,me));case"DeclareInterface":return _e(se,F(se,Ue,me));case"DeclareTypeAlias":return _e(se,G(se,Ue,me));case"DeclareExportDeclaration":return _e(se,L(se,Ue,me));case"DeclareExportAllDeclaration":return _e(se,I(se,Ue,me));case"OpaqueType":return K(se,Ue,me);case"TypeAlias":return G(se,Ue,me);case"IntersectionTypeAnnotation":return re(se,Ue,me);case"UnionTypeAnnotation":return te(se,Ue,me);case"FunctionTypeAnnotation":return De(se,Ue,me);case"TupleTypeAnnotation":return N(se,Ue,me);case"GenericTypeAnnotation":return[me("id"),y(se,Ue,me,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return J(se,Ue,me);case"TypeAnnotation":return me("typeAnnotation");case"TypeParameter":return R(se,Ue,me);case"TypeofTypeAnnotation":return["typeof ",me("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[me("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(ue.value);case"EnumDeclaration":return["enum ",me("id")," ",me("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(ue.type==="EnumSymbolBody"||ue.explicitType){let Ge=null;switch(ue.type){case"EnumBooleanBody":Ge="boolean";break;case"EnumNumberBody":Ge="number";break;case"EnumStringBody":Ge="string";break;case"EnumSymbolBody":Ge="symbol";break}tt.push("of ",Ge," ")}if(ue.members.length===0&&!ue.hasUnknownMembers)tt.push(E(["{",b(se,Ue),h,"}"]));else{let Ge=ue.members.length>0?[d,q(se,Ue,"members",me),ue.hasUnknownMembers||w(Ue)?",":""]:[];tt.push(E(["{",x([...Ge,...ue.hasUnknownMembers?[d,"..."]:[]]),b(se,Ue,!0),d,"}"]))}return tt}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[me("id")," = ",typeof ue.init=="object"?me("init"):String(ue.init)];case"EnumDefaultedMember":return me("id");case"FunctionTypeParam":{let Ge=ue.name?me("name"):se.getParentNode().this===ue?"this":"";return[Ge,ie(se),Ge?": ":"",me("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return F(se,Ue,me);case"ClassImplements":case"InterfaceExtends":return[me("id"),me("typeParameters")];case"NullableTypeAnnotation":return["?",me("typeAnnotation")];case"Variance":{let{kind:Ge}=ue;return p.ok(Ge==="plus"||Ge==="minus"),Ge==="plus"?"+":"-"}case"ObjectTypeCallProperty":return ue.static&&tt.push("static "),tt.push(me("value")),tt;case"ObjectTypeIndexer":return[ue.static?"static ":"",ue.variance?me("variance"):"","[",me("id"),ue.id?": ":"",me("key"),"]: ",me("value")];case"ObjectTypeProperty":{let Ge="";return ue.proto?Ge="proto ":ue.static&&(Ge="static "),[Ge,P(ue)?ue.kind+" ":"",ue.variance?me("variance"):"",z(se,Ue,me),ie(se),T(ue)?"":": ",me("value")]}case"ObjectTypeAnnotation":return U(se,Ue,me);case"ObjectTypeInternalSlot":return[ue.static?"static ":"","[[",me("id"),"]]",ie(se),ue.method?"":": ",me("value")];case"ObjectTypeSpreadProperty":return ge(se,Ue,me);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[me("qualification"),".",me("id")];case"StringLiteralTypeAnnotation":return ne(D(C(ue),Ue));case"NumberLiteralTypeAnnotation":p.strictEqual(typeof ue.value,"number");case"BigIntLiteralTypeAnnotation":return ue.extra?f(ue.extra.raw):f(ue.raw);case"TypeCastExpression":return["(",me("expression"),ce(se,Ue,me),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let Ge=y(se,Ue,me,"params");if(Ue.parser==="flow"){let dt=j(ue),be=X(ue),Me=Ue.originalText.lastIndexOf("/*",dt),ct=Ue.originalText.indexOf("*/",be);if(Me!==-1&&ct!==-1){let ft=Ue.originalText.slice(Me+2,ct).trim();if(ft.startsWith("::")&&!ft.includes("/*")&&!ft.includes("*/"))return["/*:: ",Ge," */"]}}return Ge}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",me("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(ue.type))}}function _e(se,Ue){let me=B(se);return me?(p.strictEqual(me.type,"DeclareExportDeclaration"),Ue):["declare ",Ue]}A.exports={printFlow:fe}}}),N2=Ne({"src/language-js/utils/is-ts-keyword-type.js"(m,A){je();function p(b){let{type:D}=b;return D.startsWith("TS")&&D.endsWith("Keyword")}A.exports=p}}),Y0=Ne({"src/language-js/print/ternary.js"(m,A){je();var{hasNewlineInRange:p}=ye(),{isJsxNode:b,getComments:D,isCallExpression:f,isMemberExpression:d,isTSTypeExpression:h}=hr(),{locStart:E,locEnd:x}=oi(),B=aa(),{builders:{line:T,softline:P,group:C,indent:w,align:j,ifBreak:X,dedent:ne,breakParent:$}}=Nn();function K(N){let J=[N];for(let F=0;F<J.length;F++){let R=J[F];for(let y of["test","consequent","alternate"]){let L=R[y];if(b(L))return!0;L.type==="ConditionalExpression"&&J.push(L)}}return!1}function G(N,J,F){let R=N.getValue(),y=R.type==="ConditionalExpression",L=y?"alternate":"falseType",I=N.getParentNode(),q=y?F("test"):[F("checkType")," ","extends"," ",F("extendsType")];return I.type===R.type&&I[L]===R?j(2,q):q}var re=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function te(N){let J=N.getValue();if(J.type!=="ConditionalExpression")return!1;let F,R=J;for(let y=0;!F;y++){let L=N.getParentNode(y);if(f(L)&&L.callee===R||d(L)&&L.object===R||L.type==="TSNonNullExpression"&&L.expression===R){R=L;continue}L.type==="NewExpression"&&L.callee===R||h(L)&&L.expression===R?(F=N.getParentNode(y+1),R=L):F=L}return R===J?!1:F[re.get(F.type)]===R}function De(N,J,F){let R=N.getValue(),y=R.type==="ConditionalExpression",L=y?"consequent":"trueType",I=y?"alternate":"falseType",q=y?["test"]:["checkType","extendsType"],U=R[L],z=R[I],ie=[],ce=!1,ge=N.getParentNode(),fe=ge.type===R.type&&q.some(ct=>ge[ct]===R),_e=ge.type===R.type&&!fe,se,Ue,me=0;do Ue=se||R,se=N.getParentNode(me),me++;while(se&&se.type===R.type&&q.every(ct=>se[ct]!==Ue));let ue=se||ge,Ve=Ue;if(y&&(b(R[q[0]])||b(U)||b(z)||K(Ve))){ce=!0,_e=!0;let ct=Yt=>[X("("),w([P,Yt]),P,X(")")],ft=Yt=>Yt.type==="NullLiteral"||Yt.type==="Literal"&&Yt.value===null||Yt.type==="Identifier"&&Yt.name==="undefined";ie.push(" ? ",ft(U)?F(L):ct(F(L))," : ",z.type===R.type||ft(z)?F(I):ct(F(I)))}else{let ct=[T,"? ",U.type===R.type?X("","("):"",j(2,F(L)),U.type===R.type?X("",")"):"",T,": ",z.type===R.type?F(I):j(2,F(I))];ie.push(ge.type!==R.type||ge[I]===R||fe?ct:J.useTabs?ne(w(ct)):j(Math.max(0,J.tabWidth-2),ct))}let tt=[...q.map(ct=>D(R[ct])),D(U),D(z)].flat().some(ct=>B(ct)&&p(J.originalText,E(ct),x(ct))),Ge=ct=>ge===ue?C(ct,{shouldBreak:tt}):tt?[ct,$]:ct,dt=!ce&&(d(ge)||ge.type==="NGPipeExpression"&&ge.left===R)&&!ge.computed,be=te(N),Me=Ge([G(N,J,F),_e?ie:w(ie),y&&dt&&!be?P:""]);return fe||be?C([w([P,Me]),P]):Me}A.exports={printTernary:De}}}),H0=Ne({"src/language-js/print/statement.js"(m,A){je();var{builders:{hardline:p}}=Nn(),b=to(),{getLeftSidePathName:D,hasNakedLeftSide:f,isJsxNode:d,isTheOnlyJsxElementInMarkdown:h,hasComment:E,CommentCheckFlags:x,isNextLineEmpty:B}=hr(),{shouldPrintParamsWithoutParens:T}=Nl();function P(G,re,te,De){let N=G.getValue(),J=[],F=N.type==="ClassBody",R=C(N[De]);return G.each((y,L,I)=>{let q=y.getValue();if(q.type==="EmptyStatement")return;let U=te();!re.semi&&!F&&!h(re,y)&&w(y,re)?E(q,x.Leading)?J.push(te([],{needsSemi:!0})):J.push(";",U):J.push(U),!re.semi&&F&&$(q)&&K(q,I[L+1])&&J.push(";"),q!==R&&(J.push(p),B(q,re)&&J.push(p))},De),J}function C(G){for(let re=G.length-1;re>=0;re--){let te=G[re];if(te.type!=="EmptyStatement")return te}}function w(G,re){return G.getNode().type!=="ExpressionStatement"?!1:G.call(te=>j(te,re),"expression")}function j(G,re){let te=G.getValue();switch(te.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!T(G,re))return!0;break}case"UnaryExpression":{let{prefix:De,operator:N}=te;if(De&&(N==="+"||N==="-"))return!0;break}case"BindExpression":{if(!te.object)return!0;break}case"Literal":{if(te.regex)return!0;break}default:if(d(te))return!0}return b(G,re)?!0:f(te)?G.call(De=>j(De,re),...D(G,te)):!1}function X(G,re,te){return P(G,re,te,"body")}function ne(G,re,te){return P(G,re,te,"consequent")}var $=G=>{let{type:re}=G;return re==="ClassProperty"||re==="PropertyDefinition"||re==="ClassPrivateProperty"||re==="ClassAccessorProperty"||re==="AccessorProperty"||re==="TSAbstractPropertyDefinition"||re==="TSAbstractAccessorProperty"};function K(G,re){let{type:te,name:De}=G.key;if(!G.computed&&te==="Identifier"&&(De==="static"||De==="get"||De==="set"||De==="accessor")&&!G.value&&!G.typeAnnotation)return!0;if(!re||re.static||re.accessibility)return!1;if(!re.computed){let N=re.key&&re.key.name;if(N==="in"||N==="instanceof")return!0}if($(re)&&re.variance&&!re.static&&!re.declare)return!0;switch(re.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return re.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((re.value?re.value.async:re.async)||re.kind==="get"||re.kind==="set")return!1;let N=re.value?re.value.generator:re.generator;return!!(re.computed||N)}case"TSIndexSignature":return!0}return!1}A.exports={printBody:X,printSwitchCaseConsequent:ne}}}),z0=Ne({"src/language-js/print/block.js"(m,A){je();var{printDanglingComments:p}=Rr(),{isNonEmptyArray:b}=ye(),{builders:{hardline:D,indent:f}}=Nn(),{hasComment:d,CommentCheckFlags:h,isNextLineEmpty:E}=hr(),{printHardlineAfterHeritage:x}=Yo(),{printBody:B}=H0();function T(C,w,j){let X=C.getValue(),ne=[];if(X.type==="StaticBlock"&&ne.push("static "),X.type==="ClassBody"&&b(X.body)){let K=C.getParentNode();ne.push(x(K))}ne.push("{");let $=P(C,w,j);if($)ne.push(f([D,$]),D);else{let K=C.getParentNode(),G=C.getParentNode(1);K.type==="ArrowFunctionExpression"||K.type==="FunctionExpression"||K.type==="FunctionDeclaration"||K.type==="ObjectMethod"||K.type==="ClassMethod"||K.type==="ClassPrivateMethod"||K.type==="ForStatement"||K.type==="WhileStatement"||K.type==="DoWhileStatement"||K.type==="DoExpression"||K.type==="CatchClause"&&!G.finalizer||K.type==="TSModuleDeclaration"||K.type==="TSDeclareFunction"||X.type==="StaticBlock"||X.type==="ClassBody"||ne.push(D)}return ne.push("}"),ne}function P(C,w,j){let X=C.getValue(),ne=b(X.directives),$=X.body.some(re=>re.type!=="EmptyStatement"),K=d(X,h.Dangling);if(!ne&&!$&&!K)return"";let G=[];if(ne&&C.each((re,te,De)=>{G.push(j()),(te<De.length-1||$||K)&&(G.push(D),E(re.getValue(),w)&&G.push(D))},"directives"),$&&G.push(B(C,w,j)),K&&G.push(p(C,w,!0)),X.type==="Program"){let re=C.getParentNode();(!re||re.type!=="ModuleExpression")&&G.push(D)}return G}A.exports={printBlock:T,printBlockBody:P}}}),_2=Ne({"src/language-js/print/typescript.js"(m,A){je();var{printDanglingComments:p}=Rr(),{hasNewlineInRange:b}=ye(),{builders:{join:D,line:f,hardline:d,softline:h,group:E,indent:x,conditionalGroup:B,ifBreak:T}}=Nn(),{isStringLiteral:P,getTypeScriptMappedTypeModifier:C,shouldPrintComma:w,isCallExpression:j,isMemberExpression:X}=hr(),ne=N2(),{locStart:$,locEnd:K}=oi(),{printOptionalToken:G,printTypeScriptModifiers:re}=wi(),{printTernary:te}=Y0(),{printFunctionParameters:De,shouldGroupFunctionParameters:N}=Sl(),{printTemplateLiteral:J}=eo(),{printArrayItems:F}=Wo(),{printObject:R}=ap(),{printClassProperty:y,printClassMethod:L}=Yo(),{printTypeParameter:I,printTypeParameters:q}=Fl(),{printPropertyKey:U}=Jo(),{printFunction:z,printMethodInternal:ie}=Nl(),{printInterface:ce}=G0(),{printBlock:ge}=z0(),{printTypeAlias:fe,printIntersectionType:_e,printUnionType:se,printFunctionType:Ue,printTupleType:me,printIndexedAccessType:ue,printJSDocType:Ve}=wl();function tt(Ge,dt,be){let Me=Ge.getValue();if(!Me.type.startsWith("TS"))return;if(ne(Me))return Me.type.slice(2,-7).toLowerCase();let ct=dt.semi?";":"",ft=[];switch(Me.type){case"TSThisType":return"this";case"TSTypeAssertion":{let Yt=!(Me.expression.type==="ArrayExpression"||Me.expression.type==="ObjectExpression"),Re=E(["<",x([h,be("typeAnnotation")]),h,">"]),Se=[T("("),x([h,be("expression")]),h,T(")")];return Yt?B([[Re,be("expression")],[Re,E(Se,{shouldBreak:!0})],[Re,be("expression")]]):E([Re,be("expression")])}case"TSDeclareFunction":return z(Ge,be,dt);case"TSExportAssignment":return["export = ",be("expression"),ct];case"TSModuleBlock":return ge(Ge,dt,be);case"TSInterfaceBody":case"TSTypeLiteral":return R(Ge,dt,be);case"TSTypeAliasDeclaration":return fe(Ge,dt,be);case"TSQualifiedName":return D(".",[be("left"),be("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return L(Ge,dt,be);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return y(Ge,dt,be);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return ft.push(be("expression")),Me.typeParameters&&ft.push(be("typeParameters")),ft;case"TSTemplateLiteralType":return J(Ge,be,dt);case"TSNamedTupleMember":return[be("label"),Me.optional?"?":"",": ",be("elementType")];case"TSRestType":return["...",be("typeAnnotation")];case"TSOptionalType":return[be("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return ce(Ge,dt,be);case"TSClassImplements":return[be("expression"),be("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return q(Ge,dt,be,"params");case"TSTypeParameter":return I(Ge,dt,be);case"TSSatisfiesExpression":case"TSAsExpression":{let Yt=Me.type==="TSAsExpression"?"as":"satisfies";ft.push(be("expression"),` ${Yt} `,be("typeAnnotation"));let Re=Ge.getParentNode();return j(Re)&&Re.callee===Me||X(Re)&&Re.object===Me?E([x([h,...ft]),h]):ft}case"TSArrayType":return[be("elementType"),"[]"];case"TSPropertySignature":return Me.readonly&&ft.push("readonly "),ft.push(U(Ge,dt,be),G(Ge)),Me.typeAnnotation&&ft.push(": ",be("typeAnnotation")),Me.initializer&&ft.push(" = ",be("initializer")),ft;case"TSParameterProperty":return Me.accessibility&&ft.push(Me.accessibility+" "),Me.export&&ft.push("export "),Me.static&&ft.push("static "),Me.override&&ft.push("override "),Me.readonly&&ft.push("readonly "),ft.push(be("parameter")),ft;case"TSTypeQuery":return["typeof ",be("exprName"),be("typeParameters")];case"TSIndexSignature":{let Yt=Ge.getParentNode(),Re=Me.parameters.length>1?T(w(dt)?",":""):"",Se=E([x([h,D([", ",h],Ge.map(be,"parameters"))]),Re,h]);return[Me.export?"export ":"",Me.accessibility?[Me.accessibility," "]:"",Me.static?"static ":"",Me.readonly?"readonly ":"",Me.declare?"declare ":"","[",Me.parameters?Se:"",Me.typeAnnotation?"]: ":"]",Me.typeAnnotation?be("typeAnnotation"):"",Yt.type==="ClassBody"?ct:""]}case"TSTypePredicate":return[Me.asserts?"asserts ":"",be("parameterName"),Me.typeAnnotation?[" is ",be("typeAnnotation")]:""];case"TSNonNullExpression":return[be("expression"),"!"];case"TSImportType":return[Me.isTypeOf?"typeof ":"","import(",be(Me.parameter?"parameter":"argument"),")",Me.qualifier?[".",be("qualifier")]:"",q(Ge,dt,be,"typeParameters")];case"TSLiteralType":return be("literal");case"TSIndexedAccessType":return ue(Ge,dt,be);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(Me.type==="TSConstructorType"&&Me.abstract&&ft.push("abstract "),Me.type!=="TSCallSignatureDeclaration"&&ft.push("new "),ft.push(E(De(Ge,be,dt,!1,!0))),Me.returnType||Me.typeAnnotation){let Yt=Me.type==="TSConstructorType";ft.push(Yt?" => ":": ",be("returnType"),be("typeAnnotation"))}return ft}case"TSTypeOperator":return[Me.operator," ",be("typeAnnotation")];case"TSMappedType":{let Yt=b(dt.originalText,$(Me),K(Me));return E(["{",x([dt.bracketSpacing?f:h,be("typeParameter"),Me.optional?C(Me.optional,"?"):"",Me.typeAnnotation?": ":"",be("typeAnnotation"),T(ct)]),p(Ge,dt,!0),dt.bracketSpacing?f:h,"}"],{shouldBreak:Yt})}case"TSMethodSignature":{let Yt=Me.kind&&Me.kind!=="method"?`${Me.kind} `:"";ft.push(Me.accessibility?[Me.accessibility," "]:"",Yt,Me.export?"export ":"",Me.static?"static ":"",Me.readonly?"readonly ":"",Me.abstract?"abstract ":"",Me.declare?"declare ":"",Me.computed?"[":"",be("key"),Me.computed?"]":"",G(Ge));let Re=De(Ge,be,dt,!1,!0),Se=Me.returnType?"returnType":"typeAnnotation",Je=Me[Se],Qe=Je?be(Se):"",bt=N(Me,Qe);return ft.push(bt?E(Re):Re),Je&&ft.push(": ",E(Qe)),E(ft)}case"TSNamespaceExportDeclaration":return ft.push("export as namespace ",be("id")),dt.semi&&ft.push(";"),E(ft);case"TSEnumDeclaration":return Me.declare&&ft.push("declare "),Me.modifiers&&ft.push(re(Ge,dt,be)),Me.const&&ft.push("const "),ft.push("enum ",be("id")," "),Me.members.length===0?ft.push(E(["{",p(Ge,dt),h,"}"])):ft.push(E(["{",x([d,F(Ge,dt,"members",be),w(dt,"es5")?",":""]),p(Ge,dt,!0),d,"}"])),ft;case"TSEnumMember":return Me.computed?ft.push("[",be("id"),"]"):ft.push(be("id")),Me.initializer&&ft.push(" = ",be("initializer")),ft;case"TSImportEqualsDeclaration":return Me.isExport&&ft.push("export "),ft.push("import "),Me.importKind&&Me.importKind!=="value"&&ft.push(Me.importKind," "),ft.push(be("id")," = ",be("moduleReference")),dt.semi&&ft.push(";"),E(ft);case"TSExternalModuleReference":return["require(",be("expression"),")"];case"TSModuleDeclaration":{let Yt=Ge.getParentNode(),Re=P(Me.id),Se=Yt.type==="TSModuleDeclaration",Je=Me.body&&Me.body.type==="TSModuleDeclaration";if(Se)ft.push(".");else{Me.declare&&ft.push("declare "),ft.push(re(Ge,dt,be));let Qe=dt.originalText.slice($(Me),$(Me.id));Me.id.type==="Identifier"&&Me.id.name==="global"&&!/namespace|module/.test(Qe)||ft.push(Re||/(?:^|\s)module(?:\s|$)/.test(Qe)?"module ":"namespace ")}return ft.push(be("id")),Je?ft.push(be("body")):Me.body?ft.push(" ",E(be("body"))):ft.push(ct),ft}case"TSConditionalType":return te(Ge,dt,be);case"TSInferType":return["infer"," ",be("typeParameter")];case"TSIntersectionType":return _e(Ge,dt,be);case"TSUnionType":return se(Ge,dt,be);case"TSFunctionType":return Ue(Ge,dt,be);case"TSTupleType":return me(Ge,dt,be);case"TSTypeReference":return[be("typeName"),q(Ge,dt,be,"typeParameters")];case"TSTypeAnnotation":return be("typeAnnotation");case"TSEmptyBodyFunctionExpression":return ie(Ge,dt,be);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Ve(Ge,be,"?");case"TSJSDocNonNullableType":return Ve(Ge,be,"!");case"TSInstantiationExpression":return[be("expression"),be("typeParameters")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(Me.type)}.`)}}A.exports={printTypescript:tt}}}),T2=Ne({"src/language-js/print/comment.js"(m,A){je();var{hasNewline:p}=ye(),{builders:{join:b,hardline:D},utils:{replaceTextEndOfLine:f}}=Nn(),{isLineComment:d}=hr(),{locStart:h,locEnd:E}=oi(),x=aa();function B(C,w){let j=C.getValue();if(d(j))return w.originalText.slice(h(j),E(j)).trimEnd();if(x(j)){if(T(j)){let $=P(j);return j.trailing&&!p(w.originalText,h(j),{backwards:!0})?[D,$]:$}let X=E(j),ne=w.originalText.slice(X-3,X)==="*-/";return["/*",f(j.value),ne?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(j))}function T(C){let w=`*${C.value}*`.split(`
211
+ `);return w.length>1&&w.every(j=>j.trim()[0]==="*")}function P(C){let w=C.value.split(`
212
+ `);return["/*",b(D,w.map((j,X)=>X===0?j.trimEnd():" "+(X<w.length-1?j.trim():j.trimStart()))),"*/"]}A.exports={printComment:B}}}),L2=Ne({"src/language-js/print/literal.js"(m,A){je();var{printString:p,printNumber:b}=ye(),{replaceTextEndOfLine:D}=ra(),{printDirective:f}=wi();function d(B,T){let P=B.getNode();switch(P.type){case"RegExpLiteral":return x(P);case"BigIntLiteral":return E(P.bigint||P.extra.raw);case"NumericLiteral":return b(P.extra.raw);case"StringLiteral":return D(p(P.extra.raw,T));case"NullLiteral":return"null";case"BooleanLiteral":return String(P.value);case"DecimalLiteral":return b(P.value)+"m";case"Literal":{if(P.regex)return x(P.regex);if(P.bigint)return E(P.raw);if(P.decimal)return b(P.decimal)+"m";let{value:C}=P;return typeof C=="number"?b(P.raw):typeof C=="string"?h(B)?f(P.raw,T):D(p(P.raw,T)):String(C)}}}function h(B){if(B.getName()!=="expression")return;let T=B.getParentNode();return T.type==="ExpressionStatement"&&T.directive}function E(B){return B.toLowerCase()}function x(B){let{pattern:T,flags:P}=B;return P=[...P].sort().join(""),`/${T}/${P}`}A.exports={printLiteral:d}}}),k2=Ne({"src/language-js/printer-estree.js"(m,A){je();var{printDanglingComments:p}=Rr(),{hasNewline:b}=ye(),{builders:{join:D,line:f,hardline:d,softline:h,group:E,indent:x},utils:{replaceTextEndOfLine:B}}=Nn(),T=d2(),P=h2(),{insertPragma:C}=R0(),w=$0(),j=to(),X=V0(),{hasFlowShorthandAnnotationComment:ne,hasComment:$,CommentCheckFlags:K,isTheOnlyJsxElementInMarkdown:G,isLineComment:re,isNextLineEmpty:te,needsHardlineAfterDanglingComment:De,hasIgnoreComment:N,isCallExpression:J,isMemberExpression:F,markerForIfWithoutBlockAndSameLineComment:R}=hr(),{locStart:y,locEnd:L}=oi(),I=aa(),{printHtmlBinding:q,isVueEventBindingExpression:U}=C2(),{printAngular:z}=x2(),{printJsx:ie,hasJsxIgnoreComment:ce}=S2(),{printFlow:ge}=F2(),{printTypescript:fe}=_2(),{printOptionalToken:_e,printBindExpressionCallee:se,printTypeAnnotation:Ue,adjustClause:me,printRestSpread:ue,printDefiniteToken:Ve,printDirective:tt}=wi(),{printImportDeclaration:Ge,printExportDeclaration:dt,printExportAllDeclaration:be,printModuleSpecifier:Me}=J0(),{printTernary:ct}=Y0(),{printTemplateLiteral:ft}=eo(),{printArray:Yt}=Wo(),{printObject:Re}=ap(),{printClass:Se,printClassMethod:Je,printClassProperty:Qe}=Yo(),{printProperty:bt}=Jo(),{printFunction:Lt,printArrowFunction:It,printMethod:pn,printReturnStatement:In,printThrowStatement:kn}=Nl(),{printCallExpression:fn}=W0(),{printVariableDeclarator:bn,printAssignmentExpression:at}=Go(),{printBinaryishExpression:Ce}=ip(),{printSwitchCaseConsequent:pt}=H0(),{printMemberExpression:Ie}=U0(),{printBlock:lt,printBlockBody:nn}=z0(),{printComment:Wt}=T2(),{printLiteral:mt}=L2(),{printDecorators:V}=sp();function Te(Vt,cn,Ot,xr){let on=nt(Vt,cn,Ot,xr);if(!on)return"";let vr=Vt.getValue(),{type:sn}=vr;if(sn==="ClassMethod"||sn==="ClassPrivateMethod"||sn==="ClassProperty"||sn==="ClassAccessorProperty"||sn==="AccessorProperty"||sn==="TSAbstractAccessorProperty"||sn==="PropertyDefinition"||sn==="TSAbstractPropertyDefinition"||sn==="ClassPrivateProperty"||sn==="MethodDefinition"||sn==="TSAbstractMethodDefinition"||sn==="TSDeclareMethod")return on;let xn=[on],Bn=V(Vt,cn,Ot),ur=vr.type==="ClassExpression"&&Bn;if(Bn&&(xn=[...Bn,on],!ur))return E(xn);if(!j(Vt,cn))return xr&&xr.needsSemi&&xn.unshift(";"),xn.length===1&&xn[0]===on?on:xn;if(ur&&(xn=[x([f,...xn])]),xn.unshift("("),xr&&xr.needsSemi&&xn.unshift(";"),ne(vr)){let[un]=vr.trailingComments;xn.push(" /*",un.value.trimStart(),"*/"),un.printed=!0}return ur&&xn.push(f),xn.push(")"),xn}function nt(Vt,cn,Ot,xr){let on=Vt.getValue(),vr=cn.semi?";":"";if(!on)return"";if(typeof on=="string")return on;for(let xn of[mt,q,z,ie,ge,fe]){let Bn=xn(Vt,cn,Ot);if(typeof Bn<"u")return Bn}let sn=[];switch(on.type){case"JsExpressionRoot":return Ot("node");case"JsonRoot":return[Ot("node"),d];case"File":return on.program&&on.program.interpreter&&sn.push(Ot(["program","interpreter"])),sn.push(Ot("program")),sn;case"Program":return nn(Vt,cn,Ot);case"EmptyStatement":return"";case"ExpressionStatement":{if(cn.parser==="__vue_event_binding"||cn.parser==="__vue_ts_event_binding"){let Bn=Vt.getParentNode();if(Bn.type==="Program"&&Bn.body.length===1&&Bn.body[0]===on)return[Ot("expression"),U(on.expression)?";":""]}let xn=p(Vt,cn,!0,Bn=>{let{marker:ur}=Bn;return ur===R});return[Ot("expression"),G(cn,Vt)?"":vr,xn?[" ",xn]:""]}case"ParenthesizedExpression":return!$(on.expression)&&(on.expression.type==="ObjectExpression"||on.expression.type==="ArrayExpression")?["(",Ot("expression"),")"]:E(["(",x([h,Ot("expression")]),h,")"]);case"AssignmentExpression":return at(Vt,cn,Ot);case"VariableDeclarator":return bn(Vt,cn,Ot);case"BinaryExpression":case"LogicalExpression":return Ce(Vt,cn,Ot);case"AssignmentPattern":return[Ot("left")," = ",Ot("right")];case"OptionalMemberExpression":case"MemberExpression":return Ie(Vt,cn,Ot);case"MetaProperty":return[Ot("meta"),".",Ot("property")];case"BindExpression":return on.object&&sn.push(Ot("object")),sn.push(E(x([h,se(Vt,cn,Ot)]))),sn;case"Identifier":return[on.name,_e(Vt),Ve(Vt),Ue(Vt,cn,Ot)];case"V8IntrinsicIdentifier":return["%",on.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return ue(Vt,cn,Ot);case"FunctionDeclaration":case"FunctionExpression":return Lt(Vt,Ot,cn,xr);case"ArrowFunctionExpression":return It(Vt,cn,Ot,xr);case"YieldExpression":return sn.push("yield"),on.delegate&&sn.push("*"),on.argument&&sn.push(" ",Ot("argument")),sn;case"AwaitExpression":{if(sn.push("await"),on.argument){sn.push(" ",Ot("argument"));let xn=Vt.getParentNode();if(J(xn)&&xn.callee===on||F(xn)&&xn.object===on){sn=[x([h,...sn]),h];let Bn=Vt.findAncestor(ur=>ur.type==="AwaitExpression"||ur.type==="BlockStatement");if(!Bn||Bn.type!=="AwaitExpression")return E(sn)}}return sn}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return dt(Vt,cn,Ot);case"ExportAllDeclaration":return be(Vt,cn,Ot);case"ImportDeclaration":return Ge(Vt,cn,Ot);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Me(Vt,cn,Ot);case"ImportAttribute":return[Ot("key"),": ",Ot("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return lt(Vt,cn,Ot);case"ThrowStatement":return kn(Vt,cn,Ot);case"ReturnStatement":return In(Vt,cn,Ot);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return fn(Vt,cn,Ot);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return Re(Vt,cn,Ot);case"ObjectProperty":case"Property":return on.method||on.kind==="get"||on.kind==="set"?pn(Vt,cn,Ot):bt(Vt,cn,Ot);case"ObjectMethod":return pn(Vt,cn,Ot);case"Decorator":return["@",Ot("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Yt(Vt,cn,Ot);case"SequenceExpression":{let xn=Vt.getParentNode(0);if(xn.type==="ExpressionStatement"||xn.type==="ForStatement"){let Bn=[];return Vt.each((ur,un)=>{un===0?Bn.push(Ot()):Bn.push(",",x([f,Ot()]))},"expressions"),E(Bn)}return E(D([",",f],Vt.map(Ot,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[Ot("value"),vr];case"DirectiveLiteral":return tt(on.extra.raw,cn);case"UnaryExpression":return sn.push(on.operator),/[a-z]$/.test(on.operator)&&sn.push(" "),$(on.argument)?sn.push(E(["(",x([h,Ot("argument")]),h,")"])):sn.push(Ot("argument")),sn;case"UpdateExpression":return sn.push(Ot("argument"),on.operator),on.prefix&&sn.reverse(),sn;case"ConditionalExpression":return ct(Vt,cn,Ot);case"VariableDeclaration":{let xn=Vt.map(Ot,"declarations"),Bn=Vt.getParentNode(),ur=Bn.type==="ForStatement"||Bn.type==="ForInStatement"||Bn.type==="ForOfStatement",un=on.declarations.some(wn=>wn.init),Ln;return xn.length===1&&!$(on.declarations[0])?Ln=xn[0]:xn.length>0&&(Ln=x(xn[0])),sn=[on.declare?"declare ":"",on.kind,Ln?[" ",Ln]:"",x(xn.slice(1).map(wn=>[",",un&&!ur?d:f,wn]))],ur&&Bn.body!==on||sn.push(vr),E(sn)}case"WithStatement":return E(["with (",Ot("object"),")",me(on.body,Ot("body"))]);case"IfStatement":{let xn=me(on.consequent,Ot("consequent")),Bn=E(["if (",E([x([h,Ot("test")]),h]),")",xn]);if(sn.push(Bn),on.alternate){let ur=$(on.consequent,K.Trailing|K.Line)||De(on),un=on.consequent.type==="BlockStatement"&&!ur;sn.push(un?" ":d),$(on,K.Dangling)&&sn.push(p(Vt,cn,!0),ur?d:" "),sn.push("else",E(me(on.alternate,Ot("alternate"),on.alternate.type==="IfStatement")))}return sn}case"ForStatement":{let xn=me(on.body,Ot("body")),Bn=p(Vt,cn,!0),ur=Bn?[Bn,h]:"";return!on.init&&!on.test&&!on.update?[ur,E(["for (;;)",xn])]:[ur,E(["for (",E([x([h,Ot("init"),";",f,Ot("test"),";",f,Ot("update")]),h]),")",xn])]}case"WhileStatement":return E(["while (",E([x([h,Ot("test")]),h]),")",me(on.body,Ot("body"))]);case"ForInStatement":return E(["for (",Ot("left")," in ",Ot("right"),")",me(on.body,Ot("body"))]);case"ForOfStatement":return E(["for",on.await?" await":""," (",Ot("left")," of ",Ot("right"),")",me(on.body,Ot("body"))]);case"DoWhileStatement":{let xn=me(on.body,Ot("body"));return sn=[E(["do",xn])],on.body.type==="BlockStatement"?sn.push(" "):sn.push(d),sn.push("while (",E([x([h,Ot("test")]),h]),")",vr),sn}case"DoExpression":return[on.async?"async ":"","do ",Ot("body")];case"BreakStatement":return sn.push("break"),on.label&&sn.push(" ",Ot("label")),sn.push(vr),sn;case"ContinueStatement":return sn.push("continue"),on.label&&sn.push(" ",Ot("label")),sn.push(vr),sn;case"LabeledStatement":return on.body.type==="EmptyStatement"?[Ot("label"),":;"]:[Ot("label"),": ",Ot("body")];case"TryStatement":return["try ",Ot("block"),on.handler?[" ",Ot("handler")]:"",on.finalizer?[" finally ",Ot("finalizer")]:""];case"CatchClause":if(on.param){let xn=$(on.param,ur=>!I(ur)||ur.leading&&b(cn.originalText,L(ur))||ur.trailing&&b(cn.originalText,y(ur),{backwards:!0})),Bn=Ot("param");return["catch ",xn?["(",x([h,Bn]),h,") "]:["(",Bn,") "],Ot("body")]}return["catch ",Ot("body")];case"SwitchStatement":return[E(["switch (",x([h,Ot("discriminant")]),h,")"])," {",on.cases.length>0?x([d,D(d,Vt.map((xn,Bn,ur)=>{let un=xn.getValue();return[Ot(),Bn!==ur.length-1&&te(un,cn)?d:""]},"cases"))]):"",d,"}"];case"SwitchCase":{on.test?sn.push("case ",Ot("test"),":"):sn.push("default:"),$(on,K.Dangling)&&sn.push(" ",p(Vt,cn,!0));let xn=on.consequent.filter(Bn=>Bn.type!=="EmptyStatement");if(xn.length>0){let Bn=pt(Vt,cn,Ot);sn.push(xn.length===1&&xn[0].type==="BlockStatement"?[" ",Bn]:x([d,Bn]))}return sn}case"DebuggerStatement":return["debugger",vr];case"ClassDeclaration":case"ClassExpression":return Se(Vt,cn,Ot);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return Je(Vt,cn,Ot);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return Qe(Vt,cn,Ot);case"TemplateElement":return B(on.value.raw);case"TemplateLiteral":return ft(Vt,Ot,cn);case"TaggedTemplateExpression":return[Ot("tag"),Ot("typeParameters"),Ot("quasi")];case"PrivateIdentifier":return["#",Ot("name")];case"PrivateName":return["#",Ot("id")];case"InterpreterDirective":return sn.push("#!",on.value,d),te(on,cn)&&sn.push(d),sn;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{sn.push("module {");let xn=Ot("body");return xn&&sn.push(x([d,xn]),d),sn.push("}"),sn}default:throw new Error("unknown type: "+JSON.stringify(on.type))}}function Bt(Vt){return Vt.type&&!I(Vt)&&!re(Vt)&&Vt.type!=="EmptyStatement"&&Vt.type!=="TemplateElement"&&Vt.type!=="Import"&&Vt.type!=="TSEmptyBodyFunctionExpression"}A.exports={preprocess:X,print:Te,embed:T,insertPragma:C,massageAstNode:P,hasPrettierIgnore(Vt){return N(Vt)||ce(Vt)},willPrintOwnComments:w.willPrintOwnComments,canAttachComment:Bt,printComment:Wt,isBlockComment:I,handleComments:{avoidAstMutation:!0,ownLine:w.handleOwnLineComment,endOfLine:w.handleEndOfLineComment,remaining:w.handleRemainingComment},getCommentChildNodes:w.getCommentChildNodes}}}),P2=Ne({"src/language-js/printer-estree-json.js"(m,A){je();var{builders:{hardline:p,indent:b,join:D}}=Nn(),f=V0();function d(B,T,P){let C=B.getValue();switch(C.type){case"JsonRoot":return[P("node"),p];case"ArrayExpression":{if(C.elements.length===0)return"[]";let w=B.map(()=>B.getValue()===null?"null":P(),"elements");return["[",b([p,D([",",p],w)]),p,"]"]}case"ObjectExpression":return C.properties.length===0?"{}":["{",b([p,D([",",p],B.map(P,"properties"))]),p,"}"];case"ObjectProperty":return[P("key"),": ",P("value")];case"UnaryExpression":return[C.operator==="+"?"":C.operator,P("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return C.value?"true":"false";case"StringLiteral":return JSON.stringify(C.value);case"NumericLiteral":return h(B)?JSON.stringify(String(C.value)):JSON.stringify(C.value);case"Identifier":return h(B)?JSON.stringify(C.name):C.name;case"TemplateLiteral":return P(["quasis",0]);case"TemplateElement":return JSON.stringify(C.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(C.type))}}function h(B){return B.getName()==="key"&&B.getParentNode().type==="ObjectProperty"}var E=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function x(B,T){let{type:P}=B;if(P==="ObjectProperty"){let{key:C}=B;C.type==="Identifier"?T.key={type:"StringLiteral",value:C.name}:C.type==="NumericLiteral"&&(T.key={type:"StringLiteral",value:String(C.value)});return}if(P==="UnaryExpression"&&B.operator==="+")return T.argument;if(P==="ArrayExpression"){for(let[C,w]of B.elements.entries())w===null&&T.elements.splice(C,0,{type:"NullLiteral"});return}if(P==="TemplateLiteral")return{type:"StringLiteral",value:B.quasis[0].value.cooked}}x.ignoredProperties=E,A.exports={preprocess:f,print:d,massageAstNode:x}}}),no=Ne({"src/common/common-options.js"(m,A){je();var p="Common";A.exports={bracketSpacing:{since:"0.0.0",category:p,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:p,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:p,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:p,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:p,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),B2=Ne({"src/language-js/options.js"(m,A){je();var p=no(),b="JavaScript";A.exports={arrowParens:{since:"1.9.0",category:b,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:p.bracketSameLine,bracketSpacing:p.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:b,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:b,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:p.singleQuote,jsxSingleQuote:{since:"1.15.0",category:b,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:b,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:b,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]},singleAttributePerLine:p.singleAttributePerLine}}}),M2=Ne({"src/language-js/parse/parsers.js"(){je()}}),op=Ne({"node_modules/linguist-languages/data/JavaScript.json"(m,A){A.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),I2=Ne({"node_modules/linguist-languages/data/TypeScript.json"(m,A){A.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),O2=Ne({"node_modules/linguist-languages/data/TSX.json"(m,A){A.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),Q0=Ne({"node_modules/linguist-languages/data/JSON.json"(m,A){A.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),j2=Ne({"node_modules/linguist-languages/data/JSON with Comments.json"(m,A){A.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),R2=Ne({"node_modules/linguist-languages/data/JSON5.json"(m,A){A.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),$2=Ne({"src/language-js/index.js"(m,A){je();var p=sa(),b=k2(),D=P2(),f=B2(),d=M2(),h=[p(op(),x=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...x.interpreters,"zx"],extensions:[...x.extensions.filter(B=>B!==".jsx"),".wxs"]})),p(op(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),p(op(),()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0})),p(I2(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),p(O2(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),p(Q0(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),p(Q0(),x=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:x.extensions.filter(B=>B!==".jsonl")})),p(j2(),x=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...x.filenames,".eslintrc",".swcrc"]})),p(R2(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],E={estree:b,"estree-json":D};A.exports={languages:h,options:f,printers:E,parsers:d}}}),V2=Ne({"src/language-css/clean.js"(m,A){je();var{isFrontMatterNode:p}=ye(),b=Ur(),D=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function f(h,E,x){if(p(h)&&h.lang==="yaml"&&delete E.value,h.type==="css-comment"&&x.type==="css-root"&&x.nodes.length>0&&((x.nodes[0]===h||p(x.nodes[0])&&x.nodes[1]===h)&&(delete E.text,/^\*\s*@(?:format|prettier)\s*$/.test(h.text))||x.type==="css-root"&&b(x.nodes)===h))return null;if(h.type==="value-root"&&delete E.text,(h.type==="media-query"||h.type==="media-query-list"||h.type==="media-feature-expression")&&delete E.value,h.type==="css-rule"&&delete E.params,h.type==="selector-combinator"&&(E.value=E.value.replace(/\s+/g," ")),h.type==="media-feature"&&(E.value=E.value.replace(/ /g,"")),(h.type==="value-word"&&(h.isColor&&h.isHex||["initial","inherit","unset","revert"].includes(E.value.replace().toLowerCase()))||h.type==="media-feature"||h.type==="selector-root-invalid"||h.type==="selector-pseudo")&&(E.value=E.value.toLowerCase()),h.type==="css-decl"&&(E.prop=E.prop.toLowerCase()),(h.type==="css-atrule"||h.type==="css-import")&&(E.name=E.name.toLowerCase()),h.type==="value-number"&&(E.unit=E.unit.toLowerCase()),(h.type==="media-feature"||h.type==="media-keyword"||h.type==="media-type"||h.type==="media-unknown"||h.type==="media-url"||h.type==="media-value"||h.type==="selector-attribute"||h.type==="selector-string"||h.type==="selector-class"||h.type==="selector-combinator"||h.type==="value-string")&&E.value&&(E.value=d(E.value)),h.type==="selector-attribute"&&(E.attribute=E.attribute.trim(),E.namespace&&typeof E.namespace=="string"&&(E.namespace=E.namespace.trim(),E.namespace.length===0&&(E.namespace=!0)),E.value&&(E.value=E.value.trim().replace(/^["']|["']$/g,""),delete E.quoted)),(h.type==="media-value"||h.type==="media-type"||h.type==="value-number"||h.type==="selector-root-invalid"||h.type==="selector-class"||h.type==="selector-combinator"||h.type==="selector-tag")&&E.value&&(E.value=E.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(B,T,P)=>{let C=Number(T);return Number.isNaN(C)?B:C+P.toLowerCase()})),h.type==="selector-tag"){let B=h.value.toLowerCase();["from","to"].includes(B)&&(E.value=B)}if(h.type==="css-atrule"&&h.name.toLowerCase()==="supports"&&delete E.value,h.type==="selector-unknown"&&delete E.value,h.type==="value-comma_group"){let B=h.groups.findIndex(T=>T.type==="value-number"&&T.unit==="...");B!==-1&&(E.groups[B].unit="",E.groups.splice(B+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(h.type==="value-comma_group"&&h.groups.some(B=>B.type==="value-atword"&&B.value.endsWith("[")||B.type==="value-word"&&B.value.startsWith("]")))return{type:"value-atword",value:h.groups.map(B=>B.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}f.ignoredProperties=D;function d(h){return h.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}A.exports=f}}),up=Ne({"src/utils/front-matter/print.js"(m,A){je();var{builders:{hardline:p,markAsRoot:b}}=Nn();function D(f,d){if(f.lang==="yaml"){let h=f.value.trim(),E=h?d(h,{parser:"yaml"},{stripTrailingHardline:!0}):"";return b([f.startDelimiter,p,E,E?p:"",f.endDelimiter])}}A.exports=D}}),q2=Ne({"src/language-css/embed.js"(m,A){je();var{builders:{hardline:p}}=Nn(),b=up();function D(f,d,h){let E=f.getValue();if(E.type==="front-matter"){let x=b(E,h);return x?[x,p]:""}}A.exports=D}}),X0=Ne({"src/utils/front-matter/parse.js"(m,A){je();var p=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function b(D){let f=D.match(p);if(!f)return{content:D};let{startDelimiter:d,language:h,value:E="",endDelimiter:x}=f.groups,B=h.trim()||"yaml";if(d==="+++"&&(B="toml"),B!=="yaml"&&d!==x)return{content:D};let[T]=f;return{frontMatter:{type:"front-matter",lang:B,value:E,startDelimiter:d,endDelimiter:x,raw:T.replace(/\n$/,"")},content:T.replace(/[^\n]/g," ")+D.slice(T.length)}}A.exports=b}}),U2=Ne({"src/language-css/pragma.js"(m,A){je();var p=R0(),b=X0();function D(d){return p.hasPragma(b(d).content)}function f(d){let{frontMatter:h,content:E}=b(d);return(h?h.raw+`
213
+
214
+ `:"")+p.insertPragma(E)}A.exports={hasPragma:D,insertPragma:f}}}),W2=Ne({"src/language-css/utils/index.js"(m,A){je();var p=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function b(Re,Se){let Je=Array.isArray(Se)?Se:[Se],Qe=-1,bt;for(;bt=Re.getParentNode(++Qe);)if(Je.includes(bt.type))return Qe;return-1}function D(Re,Se){let Je=b(Re,Se);return Je===-1?null:Re.getParentNode(Je)}function f(Re){var Se;let Je=D(Re,"css-decl");return Je==null||(Se=Je.prop)===null||Se===void 0?void 0:Se.toLowerCase()}var d=new Set(["initial","inherit","unset","revert"]);function h(Re){return d.has(Re.toLowerCase())}function E(Re,Se){let Je=D(Re,"css-atrule");return(Je==null?void 0:Je.name)&&Je.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(Se.toLowerCase())}function x(Re){return Re.includes("$")||Re.includes("@")||Re.includes("#")||Re.startsWith("%")||Re.startsWith("--")||Re.startsWith(":--")||Re.includes("(")&&Re.includes(")")?Re:Re.toLowerCase()}function B(Re,Se){var Je;let Qe=D(Re,"value-func");return(Qe==null||(Je=Qe.value)===null||Je===void 0?void 0:Je.toLowerCase())===Se}function T(Re){var Se;let Je=D(Re,"css-rule"),Qe=Je==null||(Se=Je.raws)===null||Se===void 0?void 0:Se.selector;return Qe&&(Qe.startsWith(":import")||Qe.startsWith(":export"))}function P(Re,Se){let Je=Array.isArray(Se)?Se:[Se],Qe=D(Re,"css-atrule");return Qe&&Je.includes(Qe.name.toLowerCase())}function C(Re){let Se=Re.getValue(),Je=D(Re,"css-atrule");return(Je==null?void 0:Je.name)==="import"&&Se.groups[0].value==="url"&&Se.groups.length===2}function w(Re){return Re.type==="value-func"&&Re.value.toLowerCase()==="url"}function j(Re,Se){var Je;let Qe=(Je=Re.getParentNode())===null||Je===void 0?void 0:Je.nodes;return Qe&&Qe.indexOf(Se)===Qe.length-1}function X(Re){let{selector:Se}=Re;return Se?typeof Se=="string"&&/^@.+:.*$/.test(Se)||Se.value&&/^@.+:.*$/.test(Se.value):!1}function ne(Re){return Re.type==="value-word"&&["from","through","end"].includes(Re.value)}function $(Re){return Re.type==="value-word"&&["and","or","not"].includes(Re.value)}function K(Re){return Re.type==="value-word"&&Re.value==="in"}function G(Re){return Re.type==="value-operator"&&Re.value==="*"}function re(Re){return Re.type==="value-operator"&&Re.value==="/"}function te(Re){return Re.type==="value-operator"&&Re.value==="+"}function De(Re){return Re.type==="value-operator"&&Re.value==="-"}function N(Re){return Re.type==="value-operator"&&Re.value==="%"}function J(Re){return G(Re)||re(Re)||te(Re)||De(Re)||N(Re)}function F(Re){return Re.type==="value-word"&&["==","!="].includes(Re.value)}function R(Re){return Re.type==="value-word"&&["<",">","<=",">="].includes(Re.value)}function y(Re){return Re.type==="css-atrule"&&["if","else","for","each","while"].includes(Re.name)}function L(Re){var Se;return((Se=Re.raws)===null||Se===void 0?void 0:Se.params)&&/^\(\s*\)$/.test(Re.raws.params)}function I(Re){return Re.name.startsWith("prettier-placeholder")}function q(Re){return Re.prop.startsWith("@prettier-placeholder")}function U(Re,Se){return Re.value==="$$"&&Re.type==="value-func"&&(Se==null?void 0:Se.type)==="value-word"&&!Se.raws.before}function z(Re){var Se,Je;return((Se=Re.value)===null||Se===void 0?void 0:Se.type)==="value-root"&&((Je=Re.value.group)===null||Je===void 0?void 0:Je.type)==="value-value"&&Re.prop.toLowerCase()==="composes"}function ie(Re){var Se,Je,Qe;return((Se=Re.value)===null||Se===void 0||(Je=Se.group)===null||Je===void 0||(Qe=Je.group)===null||Qe===void 0?void 0:Qe.type)==="value-paren_group"&&Re.value.group.group.open!==null&&Re.value.group.group.close!==null}function ce(Re){var Se;return((Se=Re.raws)===null||Se===void 0?void 0:Se.before)===""}function ge(Re){var Se,Je;return Re.type==="value-comma_group"&&((Se=Re.groups)===null||Se===void 0||(Je=Se[1])===null||Je===void 0?void 0:Je.type)==="value-colon"}function fe(Re){var Se;return Re.type==="value-paren_group"&&((Se=Re.groups)===null||Se===void 0?void 0:Se[0])&&ge(Re.groups[0])}function _e(Re){var Se;let Je=Re.getValue();if(Je.groups.length===0)return!1;let Qe=Re.getParentNode(1);if(!fe(Je)&&!(Qe&&fe(Qe)))return!1;let bt=D(Re,"css-decl");return!!(bt!=null&&(Se=bt.prop)!==null&&Se!==void 0&&Se.startsWith("$")||fe(Qe)||Qe.type==="value-func")}function se(Re){return Re.type==="value-comment"&&Re.inline}function Ue(Re){return Re.type==="value-word"&&Re.value==="#"}function me(Re){return Re.type==="value-word"&&Re.value==="{"}function ue(Re){return Re.type==="value-word"&&Re.value==="}"}function Ve(Re){return["value-word","value-atword"].includes(Re.type)}function tt(Re){return(Re==null?void 0:Re.type)==="value-colon"}function Ge(Re,Se){if(!ge(Se))return!1;let{groups:Je}=Se,Qe=Je.indexOf(Re);return Qe===-1?!1:tt(Je[Qe+1])}function dt(Re){return Re.value&&["not","and","or"].includes(Re.value.toLowerCase())}function be(Re){return Re.type!=="value-func"?!1:p.has(Re.value.toLowerCase())}function Me(Re){return/\/\//.test(Re.split(/[\n\r]/).pop())}function ct(Re){return(Re==null?void 0:Re.type)==="value-atword"&&Re.value.startsWith("prettier-placeholder-")}function ft(Re,Se){var Je,Qe;if(((Je=Re.open)===null||Je===void 0?void 0:Je.value)!=="("||((Qe=Re.close)===null||Qe===void 0?void 0:Qe.value)!==")"||Re.groups.some(bt=>bt.type!=="value-comma_group"))return!1;if(Se.type==="value-comma_group"){let bt=Se.groups.indexOf(Re)-1,Lt=Se.groups[bt];if((Lt==null?void 0:Lt.type)==="value-word"&&Lt.value==="with")return!0}return!1}function Yt(Re){var Se,Je;return Re.type==="value-paren_group"&&((Se=Re.open)===null||Se===void 0?void 0:Se.value)==="("&&((Je=Re.close)===null||Je===void 0?void 0:Je.value)===")"}A.exports={getAncestorCounter:b,getAncestorNode:D,getPropOfDeclNode:f,maybeToLowerCase:x,insideValueFunctionNode:B,insideICSSRuleNode:T,insideAtRuleNode:P,insideURLFunctionInImportAtRuleNode:C,isKeyframeAtRuleKeywords:E,isWideKeywords:h,isLastNode:j,isSCSSControlDirectiveNode:y,isDetachedRulesetDeclarationNode:X,isRelationalOperatorNode:R,isEqualityOperatorNode:F,isMultiplicationNode:G,isDivisionNode:re,isAdditionNode:te,isSubtractionNode:De,isModuloNode:N,isMathOperatorNode:J,isEachKeywordNode:K,isForKeywordNode:ne,isURLFunctionNode:w,isIfElseKeywordNode:$,hasComposesNode:z,hasParensAroundNode:ie,hasEmptyRawBefore:ce,isDetachedRulesetCallNode:L,isTemplatePlaceholderNode:I,isTemplatePropNode:q,isPostcssSimpleVarNode:U,isKeyValuePairNode:ge,isKeyValuePairInParenGroupNode:fe,isKeyInValuePairNode:Ge,isSCSSMapItemNode:_e,isInlineValueCommentNode:se,isHashNode:Ue,isLeftCurlyBraceNode:me,isRightCurlyBraceNode:ue,isWordNode:Ve,isColonNode:tt,isMediaAndSupportsKeywords:dt,isColorAdjusterFuncNode:be,lastLineHasInlineComment:Me,isAtWordPlaceholderNode:ct,isConfigurationNode:ft,isParenGroupNode:Yt}}}),G2=Ne({"src/utils/line-column-to-index.js"(m,A){je(),A.exports=function(p,b){let D=0;for(let f=0;f<p.line-1;++f)D=b.indexOf(`
215
+ `,D)+1;return D+p.column}}}),J2=Ne({"src/language-css/loc.js"(m,A){je();var{skipEverythingButNewLine:p}=kt(),b=Ur(),D=G2();function f(C,w){return typeof C.sourceIndex=="number"?C.sourceIndex:C.source?D(C.source.start,w)-1:null}function d(C,w){if(C.type==="css-comment"&&C.inline)return p(w,C.source.startOffset);let j=C.nodes&&b(C.nodes);return j&&C.source&&!C.source.end&&(C=j),C.source&&C.source.end?D(C.source.end,w):null}function h(C,w){C.source&&(C.source.startOffset=f(C,w),C.source.endOffset=d(C,w));for(let j in C){let X=C[j];j==="source"||!X||typeof X!="object"||(X.type==="value-root"||X.type==="value-unknown"?E(X,x(C),X.text||X.value):h(X,w))}}function E(C,w,j){C.source&&(C.source.startOffset=f(C,j)+w,C.source.endOffset=d(C,j)+w);for(let X in C){let ne=C[X];X==="source"||!ne||typeof ne!="object"||E(ne,w,j)}}function x(C){let w=C.source.startOffset;return typeof C.prop=="string"&&(w+=C.prop.length),C.type==="css-atrule"&&typeof C.name=="string"&&(w+=1+C.name.length+C.raws.afterName.match(/^\s*:?\s*/)[0].length),C.type!=="css-atrule"&&C.raws&&typeof C.raws.between=="string"&&(w+=C.raws.between.length),w}function B(C){let w="initial",j="initial",X,ne=!1,$=[];for(let K=0;K<C.length;K++){let G=C[K];switch(w){case"initial":if(G==="'"){w="single-quotes";continue}if(G==='"'){w="double-quotes";continue}if((G==="u"||G==="U")&&C.slice(K,K+4).toLowerCase()==="url("){w="url",K+=3;continue}if(G==="*"&&C[K-1]==="/"){w="comment-block";continue}if(G==="/"&&C[K-1]==="/"){w="comment-inline",X=K-1;continue}continue;case"single-quotes":if(G==="'"&&C[K-1]!=="\\"&&(w=j,j="initial"),G===`
216
+ `||G==="\r")return C;continue;case"double-quotes":if(G==='"'&&C[K-1]!=="\\"&&(w=j,j="initial"),G===`
217
+ `||G==="\r")return C;continue;case"url":if(G===")"&&(w="initial"),G===`
218
+ `||G==="\r")return C;if(G==="'"){w="single-quotes",j="url";continue}if(G==='"'){w="double-quotes",j="url";continue}continue;case"comment-block":G==="/"&&C[K-1]==="*"&&(w="initial");continue;case"comment-inline":(G==='"'||G==="'"||G==="*")&&(ne=!0),(G===`
219
+ `||G==="\r")&&(ne&&$.push([X,K]),w="initial",ne=!1);continue}}for(let[K,G]of $)C=C.slice(0,K)+C.slice(K,G).replace(/["'*]/g," ")+C.slice(G);return C}function T(C){return C.source.startOffset}function P(C){return C.source.endOffset}A.exports={locStart:T,locEnd:P,calculateLoc:h,replaceQuotesInInlineComments:B}}}),Y2=Ne({"src/language-css/utils/is-less-parser.js"(m,A){je();function p(b){return b.parser==="css"||b.parser==="less"}A.exports=p}}),H2=Ne({"src/language-css/utils/is-scss.js"(m,A){je();function p(b,D){return b==="less"||b==="scss"?b==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(D)}A.exports=p}}),z2=Ne({"src/language-css/utils/css-units.evaluate.js"(m,A){A.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),Q2=Ne({"src/language-css/utils/print-unit.js"(m,A){je();var p=z2();function b(D){let f=D.toLowerCase();return Object.prototype.hasOwnProperty.call(p,f)?p[f]:D}A.exports=b}}),X2=Ne({"src/language-css/printer-postcss.js"(m,A){je();var p=Ur(),{printNumber:b,printString:D,hasNewline:f,isFrontMatterNode:d,isNextLineEmpty:h,isNonEmptyArray:E}=ye(),{builders:{join:x,line:B,hardline:T,softline:P,group:C,fill:w,indent:j,dedent:X,ifBreak:ne,breakParent:$},utils:{removeLines:K,getDocParts:G}}=Nn(),re=V2(),te=q2(),{insertPragma:De}=U2(),{getAncestorNode:N,getPropOfDeclNode:J,maybeToLowerCase:F,insideValueFunctionNode:R,insideICSSRuleNode:y,insideAtRuleNode:L,insideURLFunctionInImportAtRuleNode:I,isKeyframeAtRuleKeywords:q,isWideKeywords:U,isLastNode:z,isSCSSControlDirectiveNode:ie,isDetachedRulesetDeclarationNode:ce,isRelationalOperatorNode:ge,isEqualityOperatorNode:fe,isMultiplicationNode:_e,isDivisionNode:se,isAdditionNode:Ue,isSubtractionNode:me,isMathOperatorNode:ue,isEachKeywordNode:Ve,isForKeywordNode:tt,isURLFunctionNode:Ge,isIfElseKeywordNode:dt,hasComposesNode:be,hasParensAroundNode:Me,hasEmptyRawBefore:ct,isKeyValuePairNode:ft,isKeyInValuePairNode:Yt,isDetachedRulesetCallNode:Re,isTemplatePlaceholderNode:Se,isTemplatePropNode:Je,isPostcssSimpleVarNode:Qe,isSCSSMapItemNode:bt,isInlineValueCommentNode:Lt,isHashNode:It,isLeftCurlyBraceNode:pn,isRightCurlyBraceNode:In,isWordNode:kn,isColonNode:fn,isMediaAndSupportsKeywords:bn,isColorAdjusterFuncNode:at,lastLineHasInlineComment:Ce,isAtWordPlaceholderNode:pt,isConfigurationNode:Ie,isParenGroupNode:lt}=W2(),{locStart:nn,locEnd:Wt}=J2(),mt=Y2(),V=H2(),Te=Q2();function nt(un){return un.trailingComma==="es5"||un.trailingComma==="all"}function Bt(un,Ln,wn){let ut=un.getValue();if(!ut)return"";if(typeof ut=="string")return ut;switch(ut.type){case"front-matter":return[ut.raw,T];case"css-root":{let Un=Vt(un,Ln,wn),Gn=ut.raws.after.trim();return Gn.startsWith(";")&&(Gn=Gn.slice(1).trim()),[Un,Gn?` ${Gn}`:"",G(Un).length>0?T:""]}case"css-comment":{let Un=ut.inline||ut.raws.inline,Gn=Ln.originalText.slice(nn(ut),Wt(ut));return Un?Gn.trimEnd():Gn}case"css-rule":return[wn("selector"),ut.important?" !important":"",ut.nodes?[ut.selector&&ut.selector.type==="selector-unknown"&&Ce(ut.selector.value)?B:" ","{",ut.nodes.length>0?j([T,Vt(un,Ln,wn)]):"",T,"}",ce(ut)?";":""]:";"];case"css-decl":{let Un=un.getParentNode(),{between:Gn}=ut.raws,dr=Gn.trim(),Ni=dr===":",oe=be(ut)?K(wn("value")):wn("value");return!Ni&&Ce(dr)&&(oe=j([T,X(oe)])),[ut.raws.before.replace(/[\s;]/g,""),Un.type==="css-atrule"&&Un.variable||y(un)?ut.prop:F(ut.prop),dr.startsWith("//")?" ":"",dr,ut.extend?"":" ",mt(Ln)&&ut.extend&&ut.selector?["extend(",wn("selector"),")"]:"",oe,ut.raws.important?ut.raws.important.replace(/\s*!\s*important/i," !important"):ut.important?" !important":"",ut.raws.scssDefault?ut.raws.scssDefault.replace(/\s*!default/i," !default"):ut.scssDefault?" !default":"",ut.raws.scssGlobal?ut.raws.scssGlobal.replace(/\s*!global/i," !global"):ut.scssGlobal?" !global":"",ut.nodes?[" {",j([P,Vt(un,Ln,wn)]),P,"}"]:Je(ut)&&!Un.raws.semicolon&&Ln.originalText[Wt(ut)-1]!==";"?"":Ln.__isHTMLStyleAttribute&&z(un,ut)?ne(";"):";"]}case"css-atrule":{let Un=un.getParentNode(),Gn=Se(ut)&&!Un.raws.semicolon&&Ln.originalText[Wt(ut)-1]!==";";if(mt(Ln)){if(ut.mixin)return[wn("selector"),ut.important?" !important":"",Gn?"":";"];if(ut.function)return[ut.name,wn("params"),Gn?"":";"];if(ut.variable)return["@",ut.name,": ",ut.value?wn("value"):"",ut.raws.between.trim()?ut.raws.between.trim()+" ":"",ut.nodes?["{",j([ut.nodes.length>0?P:"",Vt(un,Ln,wn)]),P,"}"]:"",Gn?"":";"]}return["@",Re(ut)||ut.name.endsWith(":")?ut.name:F(ut.name),ut.params?[Re(ut)?"":Se(ut)?ut.raws.afterName===""?"":ut.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(ut.raws.afterName)?[T,T]:/^\s*\n/.test(ut.raws.afterName)?T:" ":" ",wn("params")]:"",ut.selector?j([" ",wn("selector")]):"",ut.value?C([" ",wn("value"),ie(ut)?Me(ut)?" ":B:""]):ut.name==="else"?" ":"",ut.nodes?[ie(ut)?"":ut.selector&&!ut.selector.nodes&&typeof ut.selector.value=="string"&&Ce(ut.selector.value)||!ut.selector&&typeof ut.params=="string"&&Ce(ut.params)?B:" ","{",j([ut.nodes.length>0?P:"",Vt(un,Ln,wn)]),P,"}"]:Gn?"":";"]}case"media-query-list":{let Un=[];return un.each(Gn=>{let dr=Gn.getValue();dr.type==="media-query"&&dr.value===""||Un.push(wn())},"nodes"),C(j(x(B,Un)))}case"media-query":return[x(" ",un.map(wn,"nodes")),z(un,ut)?"":","];case"media-type":return Bn(sn(ut.value,Ln));case"media-feature-expression":return ut.nodes?["(",...un.map(wn,"nodes"),")"]:ut.value;case"media-feature":return F(sn(ut.value.replace(/ +/g," "),Ln));case"media-colon":return[ut.value," "];case"media-value":return Bn(sn(ut.value,Ln));case"media-keyword":return sn(ut.value,Ln);case"media-url":return sn(ut.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),Ln);case"media-unknown":return ut.value;case"selector-root":return C([L(un,"custom-selector")?[N(un,"css-atrule").customSelector,B]:"",x([",",L(un,["extend","custom-selector","nest"])?B:T],un.map(wn,"nodes"))]);case"selector-selector":return C(j(un.map(wn,"nodes")));case"selector-comment":return ut.value;case"selector-string":return sn(ut.value,Ln);case"selector-tag":{let Un=un.getParentNode(),Gn=Un&&Un.nodes.indexOf(ut),dr=Gn&&Un.nodes[Gn-1];return[ut.namespace?[ut.namespace===!0?"":ut.namespace.trim(),"|"]:"",dr.type==="selector-nesting"?ut.value:Bn(q(un,ut.value)?ut.value.toLowerCase():ut.value)]}case"selector-id":return["#",ut.value];case"selector-class":return[".",Bn(sn(ut.value,Ln))];case"selector-attribute":{var Fi;return["[",ut.namespace?[ut.namespace===!0?"":ut.namespace.trim(),"|"]:"",ut.attribute.trim(),(Fi=ut.operator)!==null&&Fi!==void 0?Fi:"",ut.value?xn(sn(ut.value.trim(),Ln),Ln):"",ut.insensitive?" i":"","]"]}case"selector-combinator":{if(ut.value==="+"||ut.value===">"||ut.value==="~"||ut.value===">>>"){let dr=un.getParentNode();return[dr.type==="selector-selector"&&dr.nodes[0]===ut?"":B,ut.value,z(un,ut)?"":" "]}let Un=ut.value.trim().startsWith("(")?B:"",Gn=Bn(sn(ut.value.trim(),Ln))||B;return[Un,Gn]}case"selector-universal":return[ut.namespace?[ut.namespace===!0?"":ut.namespace.trim(),"|"]:"",ut.value];case"selector-pseudo":return[F(ut.value),E(ut.nodes)?C(["(",j([P,x([",",B],un.map(wn,"nodes"))]),P,")"]):""];case"selector-nesting":return ut.value;case"selector-unknown":{let Un=N(un,"css-rule");if(Un&&Un.isSCSSNesterProperty)return Bn(sn(F(ut.value),Ln));let Gn=un.getParentNode();if(Gn.raws&&Gn.raws.selector){let Ni=nn(Gn),oe=Ni+Gn.raws.selector.length;return Ln.originalText.slice(Ni,oe).trim()}let dr=un.getParentNode(1);if(Gn.type==="value-paren_group"&&dr&&dr.type==="value-func"&&dr.value==="selector"){let Ni=Wt(Gn.open)+1,oe=nn(Gn.close),vt=Ln.originalText.slice(Ni,oe).trim();return Ce(vt)?[$,vt]:vt}return ut.value}case"value-value":case"value-root":return wn("group");case"value-comment":return Ln.originalText.slice(nn(ut),Wt(ut));case"value-comma_group":{let Un=un.getParentNode(),Gn=un.getParentNode(1),dr=J(un),Ni=dr&&Un.type==="value-value"&&(dr==="grid"||dr.startsWith("grid-template")),oe=N(un,"css-atrule"),vt=oe&&ie(oe),yn=ut.groups.some(_i=>Lt(_i)),Hn=un.map(wn,"groups"),zn=[],Ei=R(un,"url"),Nr=!1,ii=!1;for(let _i=0;_i<ut.groups.length;++_i){var ei;zn.push(Hn[_i]);let $r=ut.groups[_i-1],_n=ut.groups[_i],Rn=ut.groups[_i+1],Tl=ut.groups[_i+2];if(Ei){(Rn&&Ue(Rn)||Ue(_n))&&zn.push(" ");continue}if(L(un,"forward")&&_n.type==="value-word"&&_n.value&&$r!==void 0&&$r.type==="value-word"&&$r.value==="as"&&Rn.type==="value-operator"&&Rn.value==="*"||!Rn||_n.type==="value-word"&&_n.value.endsWith("-")&&pt(Rn))continue;if(_n.type==="value-string"&&_n.quoted){let hp=_n.value.lastIndexOf("#{"),mp=_n.value.lastIndexOf("}");hp!==-1&&mp!==-1?Nr=hp>mp:hp!==-1?Nr=!0:mp!==-1&&(Nr=!1)}if(Nr||fn(_n)||fn(Rn)||_n.type==="value-atword"&&(_n.value===""||_n.value.endsWith("["))||Rn.type==="value-word"&&Rn.value.startsWith("]")||_n.value==="~"||_n.value&&_n.value.includes("\\")&&Rn&&Rn.type!=="value-comment"||$r&&$r.value&&$r.value.indexOf("\\")===$r.value.length-1&&_n.type==="value-operator"&&_n.value==="/"||_n.value==="\\"||Qe(_n,Rn)||It(_n)||pn(_n)||In(Rn)||pn(Rn)&&ct(Rn)||In(_n)&&ct(Rn)||_n.value==="--"&&It(Rn))continue;let dp=ue(_n),ig=ue(Rn);if((dp&&It(Rn)||ig&&In(_n))&&ct(Rn)||!$r&&se(_n)||R(un,"calc")&&(Ue(_n)||Ue(Rn)||me(_n)||me(Rn))&&ct(Rn))continue;let pA=(Ue(_n)||me(_n))&&_i===0&&(Rn.type==="value-number"||Rn.isHex)&&Gn&&at(Gn)&&!ct(Rn),sg=Tl&&Tl.type==="value-func"||Tl&&kn(Tl)||_n.type==="value-func"||kn(_n),ag=Rn.type==="value-func"||kn(Rn)||$r&&$r.type==="value-func"||$r&&kn($r);if(!(!(_e(Rn)||_e(_n))&&!R(un,"calc")&&!pA&&(se(Rn)&&!sg||se(_n)&&!ag||Ue(Rn)&&!sg||Ue(_n)&&!ag||me(Rn)||me(_n))&&(ct(Rn)||dp&&(!$r||$r&&ue($r))))&&!((Ln.parser==="scss"||Ln.parser==="less")&&dp&&_n.value==="-"&&lt(Rn)&&Wt(_n)===nn(Rn.open)&&Rn.open.value==="(")){if(Lt(_n)){if(Un.type==="value-paren_group"){zn.push(X(T));continue}zn.push(T);continue}if(vt&&(fe(Rn)||ge(Rn)||dt(Rn)||Ve(_n)||tt(_n))){zn.push(" ");continue}if(oe&&oe.name.toLowerCase()==="namespace"){zn.push(" ");continue}if(Ni){_n.source&&Rn.source&&_n.source.start.line!==Rn.source.start.line?(zn.push(T),ii=!0):zn.push(" ");continue}if(ig){zn.push(" ");continue}if(!(Rn&&Rn.value==="...")&&!(pt(_n)&&pt(Rn)&&Wt(_n)===nn(Rn))){if(pt(_n)&&lt(Rn)&&Wt(_n)===nn(Rn.open)){zn.push(P);continue}if(_n.value==="with"&&lt(Rn)){zn.push(" ");continue}(ei=_n.value)!==null&&ei!==void 0&&ei.endsWith("#")&&Rn.value==="{"&&lt(Rn.group)||zn.push(B)}}}return yn&&zn.push($),ii&&zn.unshift(T),vt?C(j(zn)):I(un)?C(w(zn)):C(j(w(zn)))}case"value-paren_group":{let Un=un.getParentNode();if(Un&&Ge(Un)&&(ut.groups.length===1||ut.groups.length>0&&ut.groups[0].type==="value-comma_group"&&ut.groups[0].groups.length>0&&ut.groups[0].groups[0].type==="value-word"&&ut.groups[0].groups[0].value.startsWith("data:")))return[ut.open?wn("open"):"",x(",",un.map(wn,"groups")),ut.close?wn("close"):""];if(!ut.open){let Ei=un.map(wn,"groups"),Nr=[];for(let ii=0;ii<Ei.length;ii++)ii!==0&&Nr.push([",",B]),Nr.push(Ei[ii]);return C(j(w(Nr)))}let Gn=bt(un),dr=p(ut.groups),Ni=dr&&dr.type==="value-comment",oe=Yt(ut,Un),vt=Ie(ut,Un),yn=vt||Gn&&!oe,Hn=vt||oe,zn=C([ut.open?wn("open"):"",j([P,x([B],un.map((Ei,Nr)=>{let ii=Ei.getValue(),_i=Nr===ut.groups.length-1,$r=[wn(),_i?"":","];if(ft(ii)&&ii.type==="value-comma_group"&&ii.groups&&ii.groups[0].type!=="value-paren_group"&&ii.groups[2]&&ii.groups[2].type==="value-paren_group"){let _n=G($r[0].contents.contents);_n[1]=C(_n[1]),$r=[C(X($r))]}if(!_i&&ii.type==="value-comma_group"&&E(ii.groups)){let _n=p(ii.groups);!_n.source&&_n.close&&(_n=_n.close),_n.source&&h(Ln.originalText,_n,Wt)&&$r.push(T)}return $r},"groups"))]),ne(!Ni&&V(Ln.parser,Ln.originalText)&&Gn&&nt(Ln)?",":""),P,ut.close?wn("close"):""],{shouldBreak:yn});return Hn?X(zn):zn}case"value-func":return[ut.value,L(un,"supports")&&bn(ut)?" ":"",wn("group")];case"value-paren":return ut.value;case"value-number":return[ur(ut.value),Te(ut.unit)];case"value-operator":return ut.value;case"value-word":return ut.isColor&&ut.isHex||U(ut.value)?ut.value.toLowerCase():ut.value;case"value-colon":{let Un=un.getParentNode(),Gn=Un&&Un.groups.indexOf(ut),dr=Gn&&Un.groups[Gn-1];return[ut.value,dr&&typeof dr.value=="string"&&p(dr.value)==="\\"||R(un,"url")?"":B]}case"value-comma":return[ut.value," "];case"value-string":return D(ut.raws.quote+ut.value+ut.raws.quote,Ln);case"value-atword":return["@",ut.value];case"value-unicode-range":return ut.value;case"value-unknown":return ut.value;default:throw new Error(`Unknown postcss type ${JSON.stringify(ut.type)}`)}}function Vt(un,Ln,wn){let ut=[];return un.each((Fi,ei,Un)=>{let Gn=Un[ei-1];if(Gn&&Gn.type==="css-comment"&&Gn.text.trim()==="prettier-ignore"){let dr=Fi.getValue();ut.push(Ln.originalText.slice(nn(dr),Wt(dr)))}else ut.push(wn());ei!==Un.length-1&&(Un[ei+1].type==="css-comment"&&!f(Ln.originalText,nn(Un[ei+1]),{backwards:!0})&&!d(Un[ei])||Un[ei+1].type==="css-atrule"&&Un[ei+1].name==="else"&&Un[ei].type!=="css-comment"?ut.push(" "):(ut.push(Ln.__isHTMLStyleAttribute?B:T),h(Ln.originalText,Fi.getValue(),Wt)&&!d(Un[ei])&&ut.push(T)))},"nodes"),ut}var cn=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Ot=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,xr=/[A-Za-z]+/g,on=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,vr=new RegExp(cn.source+`|(${on.source})?(${Ot.source})(${xr.source})?`,"g");function sn(un,Ln){return un.replace(cn,wn=>D(wn,Ln))}function xn(un,Ln){let wn=Ln.singleQuote?"'":'"';return un.includes('"')||un.includes("'")?un:wn+un+wn}function Bn(un){return un.replace(vr,(Ln,wn,ut,Fi,ei)=>!ut&&Fi?ur(Fi)+F(ei||""):Ln)}function ur(un){return b(un).replace(/\.0(?=$|e)/,"")}A.exports={print:Bt,embed:te,insertPragma:De,massageAstNode:re}}}),K2=Ne({"src/language-css/options.js"(m,A){je();var p=no();A.exports={singleQuote:p.singleQuote}}}),Z2=Ne({"src/language-css/parsers.js"(){je()}}),eE=Ne({"node_modules/linguist-languages/data/CSS.json"(m,A){A.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),tE=Ne({"node_modules/linguist-languages/data/PostCSS.json"(m,A){A.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),nE=Ne({"node_modules/linguist-languages/data/Less.json"(m,A){A.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),rE=Ne({"node_modules/linguist-languages/data/SCSS.json"(m,A){A.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),iE=Ne({"src/language-css/index.js"(m,A){je();var p=sa(),b=X2(),D=K2(),f=Z2(),d=[p(eE(),E=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...E.extensions,".wxss"]})),p(tE(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),p(nE(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),p(rE(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],h={postcss:b};A.exports={languages:d,options:D,printers:h,parsers:f}}}),sE=Ne({"src/language-handlebars/loc.js"(m,A){je();function p(D){return D.loc.start.offset}function b(D){return D.loc.end.offset}A.exports={locStart:p,locEnd:b}}}),aE=Ne({"src/language-handlebars/clean.js"(m,A){je();function p(b,D){if(b.type==="TextNode"){let f=b.chars.trim();if(!f)return null;D.chars=f.replace(/[\t\n\f\r ]+/g," ")}b.type==="AttrNode"&&b.name.toLowerCase()==="class"&&delete D.value}p.ignoredProperties=new Set(["loc","selfClosing"]),A.exports=p}}),oE=Ne({"src/language-handlebars/html-void-elements.evaluate.js"(m,A){A.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),uE=Ne({"src/language-handlebars/utils.js"(m,A){je();var p=Ur(),b=oE();function D(G){let re=G.getValue(),te=G.getParentNode(0);return!!(P(G,["ElementNode"])&&p(te.children)===re||P(G,["Block"])&&p(te.body)===re)}function f(G){return G.toUpperCase()===G}function d(G){return T(G,["ElementNode"])&&typeof G.tag=="string"&&!G.tag.startsWith(":")&&(f(G.tag[0])||G.tag.includes("."))}var h=new Set(b);function E(G){return h.has(G.toLowerCase())&&!f(G[0])}function x(G){return G.selfClosing===!0||E(G.tag)||d(G)&&G.children.every(re=>B(re))}function B(G){return T(G,["TextNode"])&&!/\S/.test(G.chars)}function T(G,re){return G&&re.includes(G.type)}function P(G,re){let te=G.getParentNode(0);return T(te,re)}function C(G,re){let te=X(G);return T(te,re)}function w(G,re){let te=ne(G);return T(te,re)}function j(G,re){var te,De,N,J;let F=G.getValue(),R=(te=G.getParentNode(0))!==null&&te!==void 0?te:{},y=(De=(N=(J=R.children)!==null&&J!==void 0?J:R.body)!==null&&N!==void 0?N:R.parts)!==null&&De!==void 0?De:[],L=y.indexOf(F);return L!==-1&&y[L+re]}function X(G){let re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return j(G,-re)}function ne(G){return j(G,1)}function $(G){return T(G,["MustacheCommentStatement"])&&typeof G.value=="string"&&G.value.trim()==="prettier-ignore"}function K(G){let re=G.getValue(),te=X(G,2);return $(re)||$(te)}A.exports={getNextNode:ne,getPreviousNode:X,hasPrettierIgnore:K,isLastNodeOfSiblings:D,isNextNodeOfSomeType:w,isNodeOfSomeType:T,isParentOfSomeType:P,isPreviousNodeOfSomeType:C,isVoid:x,isWhitespaceNode:B}}}),lE=Ne({"src/language-handlebars/printer-glimmer.js"(m,A){je();var{builders:{dedent:p,fill:b,group:D,hardline:f,ifBreak:d,indent:h,join:E,line:x,softline:B},utils:{getDocParts:T,replaceTextEndOfLine:P}}=Nn(),{getPreferredQuote:C,isNonEmptyArray:w}=ye(),{locStart:j,locEnd:X}=sE(),ne=aE(),{getNextNode:$,getPreviousNode:K,hasPrettierIgnore:G,isLastNodeOfSiblings:re,isNextNodeOfSomeType:te,isNodeOfSomeType:De,isParentOfSomeType:N,isPreviousNodeOfSomeType:J,isVoid:F,isWhitespaceNode:R}=uE(),y=2;function L(Ce,pt,Ie){let lt=Ce.getValue();if(!lt)return"";if(G(Ce))return pt.originalText.slice(j(lt),X(lt));let nn=pt.singleQuote?"'":'"';switch(lt.type){case"Block":case"Program":case"Template":return D(Ce.map(Ie,"body"));case"ElementNode":{let Wt=D(q(Ce,Ie)),mt=pt.htmlWhitespaceSensitivity==="ignore"&&te(Ce,["ElementNode"])?B:"";if(F(lt))return[Wt,mt];let V=["</",lt.tag,">"];return lt.children.length===0?[Wt,h(V),mt]:pt.htmlWhitespaceSensitivity==="ignore"?[Wt,h(U(Ce,pt,Ie)),f,h(V),mt]:[Wt,h(D(U(Ce,pt,Ie))),h(V),mt]}case"BlockStatement":{let Wt=Ce.getParentNode(1);return Wt&&Wt.inverse&&Wt.inverse.body.length===1&&Wt.inverse.body[0]===lt&&Wt.inverse.body[0].path.parts[0]===Wt.path.parts[0]?[tt(Ce,Ie,Wt.inverse.body[0].path.parts[0]),ct(Ce,Ie,pt),ft(Ce,Ie,pt)]:[ue(Ce,Ie),D([ct(Ce,Ie,pt),ft(Ce,Ie,pt),Ge(Ce,Ie,pt)])]}case"ElementModifierStatement":return D(["{{",kn(Ce,Ie),"}}"]);case"MustacheStatement":return D([ie(lt),kn(Ce,Ie),ce(lt)]);case"SubExpression":return D(["(",In(Ce,Ie),B,")"]);case"AttrNode":{let Wt=lt.value.type==="TextNode";if(Wt&&lt.value.chars===""&&j(lt.value)===X(lt.value))return lt.name;let mt=Wt?C(lt.value.chars,nn).quote:lt.value.type==="ConcatStatement"?C(lt.value.parts.filter(Te=>Te.type==="TextNode").map(Te=>Te.chars).join(""),nn).quote:"",V=Ie("value");return[lt.name,"=",mt,lt.name==="class"&&mt?D(h(V)):V,mt]}case"ConcatStatement":return Ce.map(Ie,"parts");case"Hash":return E(x,Ce.map(Ie,"pairs"));case"HashPair":return[lt.key,"=",Ie("value")];case"TextNode":{let Wt=lt.chars.replace(/{{/g,"\\{{"),mt=Se(Ce);if(mt){if(mt==="class"){let on=Wt.trim().split(/\s+/).join(" "),vr=!1,sn=!1;return N(Ce,["ConcatStatement"])&&(J(Ce,["MustacheStatement"])&&/^\s/.test(Wt)&&(vr=!0),te(Ce,["MustacheStatement"])&&/\s$/.test(Wt)&&on!==""&&(sn=!0)),[vr?x:"",on,sn?x:""]}return P(Wt)}let V=/^[\t\n\f\r ]*$/.test(Wt),Te=!K(Ce),nt=!$(Ce);if(pt.htmlWhitespaceSensitivity!=="ignore"){let on=/^[\t\n\f\r ]*/,vr=/[\t\n\f\r ]*$/,sn=nt&&N(Ce,["Template"]),xn=Te&&N(Ce,["Template"]);if(V){if(xn||sn)return"";let wn=[x],ut=Je(Wt);return ut&&(wn=Lt(ut)),re(Ce)&&(wn=wn.map(Fi=>p(Fi))),wn}let[Bn]=Wt.match(on),[ur]=Wt.match(vr),un=[];if(Bn){un=[x];let wn=Je(Bn);wn&&(un=Lt(wn)),Wt=Wt.replace(on,"")}let Ln=[];if(ur){if(!sn){Ln=[x];let wn=Je(ur);wn&&(Ln=Lt(wn)),re(Ce)&&(Ln=Ln.map(ut=>p(ut)))}Wt=Wt.replace(vr,"")}return[...un,b(Yt(Wt)),...Ln]}let Bt=Je(Wt),Vt=Qe(Wt),cn=bt(Wt);if((Te||nt)&&V&&N(Ce,["Block","ElementNode","Template"]))return"";V&&Bt?(Vt=Math.min(Bt,y),cn=0):(te(Ce,["BlockStatement","ElementNode"])&&(cn=Math.max(cn,1)),J(Ce,["BlockStatement","ElementNode"])&&(Vt=Math.max(Vt,1)));let Ot="",xr="";return cn===0&&te(Ce,["MustacheStatement"])&&(xr=" "),Vt===0&&J(Ce,["MustacheStatement"])&&(Ot=" "),Te&&(Vt=0,Ot=""),nt&&(cn=0,xr=""),Wt=Wt.replace(/^[\t\n\f\r ]+/g,Ot).replace(/[\t\n\f\r ]+$/,xr),[...Lt(Vt),b(Yt(Wt)),...Lt(cn)]}case"MustacheCommentStatement":{let Wt=j(lt),mt=X(lt),V=pt.originalText.charAt(Wt+2)==="~",Te=pt.originalText.charAt(mt-3)==="~",nt=lt.value.includes("}}")?"--":"";return["{{",V?"~":"","!",nt,lt.value,nt,Te?"~":"","}}"]}case"PathExpression":return lt.original;case"BooleanLiteral":return String(lt.value);case"CommentStatement":return["<!--",lt.value,"-->"];case"StringLiteral":{if(pn(Ce)){let Wt=pt.singleQuote?'"':"'";return It(lt.value,Wt)}return It(lt.value,nn)}case"NumberLiteral":return String(lt.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(lt.type))}}function I(Ce,pt){return j(Ce)-j(pt)}function q(Ce,pt){let Ie=Ce.getValue(),lt=["attributes","modifiers","comments"].filter(Wt=>w(Ie[Wt])),nn=lt.flatMap(Wt=>Ie[Wt]).sort(I);for(let Wt of lt)Ce.each(mt=>{let V=nn.indexOf(mt.getValue());nn.splice(V,1,[x,pt()])},Wt);return w(Ie.blockParams)&&nn.push(x,at(Ie)),["<",Ie.tag,h(nn),z(Ie)]}function U(Ce,pt,Ie){let lt=Ce.getValue().children.every(nn=>R(nn));return pt.htmlWhitespaceSensitivity==="ignore"&&lt?"":Ce.map((nn,Wt)=>{let mt=Ie();return Wt===0&&pt.htmlWhitespaceSensitivity==="ignore"?[B,mt]:mt},"children")}function z(Ce){return F(Ce)?d([B,"/>"],[" />",B]):d([B,">"],">")}function ie(Ce){let pt=Ce.escaped===!1?"{{{":"{{",Ie=Ce.strip&&Ce.strip.open?"~":"";return[pt,Ie]}function ce(Ce){let pt=Ce.escaped===!1?"}}}":"}}";return[Ce.strip&&Ce.strip.close?"~":"",pt]}function ge(Ce){let pt=ie(Ce),Ie=Ce.openStrip.open?"~":"";return[pt,Ie,"#"]}function fe(Ce){let pt=ce(Ce);return[Ce.openStrip.close?"~":"",pt]}function _e(Ce){let pt=ie(Ce),Ie=Ce.closeStrip.open?"~":"";return[pt,Ie,"/"]}function se(Ce){let pt=ce(Ce);return[Ce.closeStrip.close?"~":"",pt]}function Ue(Ce){let pt=ie(Ce),Ie=Ce.inverseStrip.open?"~":"";return[pt,Ie]}function me(Ce){let pt=ce(Ce);return[Ce.inverseStrip.close?"~":"",pt]}function ue(Ce,pt){let Ie=Ce.getValue(),lt=[],nn=bn(Ce,pt);return nn&&lt.push(D(nn)),w(Ie.program.blockParams)&&lt.push(at(Ie.program)),D([ge(Ie),fn(Ce,pt),lt.length>0?h([x,E(x,lt)]):"",B,fe(Ie)])}function Ve(Ce,pt){return[pt.htmlWhitespaceSensitivity==="ignore"?f:"",Ue(Ce),"else",me(Ce)]}function tt(Ce,pt,Ie){let lt=Ce.getValue(),nn=Ce.getParentNode(1);return D([Ue(nn),["else"," ",Ie],h([x,D(bn(Ce,pt)),...w(lt.program.blockParams)?[x,at(lt.program)]:[]]),B,me(nn)])}function Ge(Ce,pt,Ie){let lt=Ce.getValue();return Ie.htmlWhitespaceSensitivity==="ignore"?[dt(lt)?B:f,_e(lt),pt("path"),se(lt)]:[_e(lt),pt("path"),se(lt)]}function dt(Ce){return De(Ce,["BlockStatement"])&&Ce.program.body.every(pt=>R(pt))}function be(Ce){return Me(Ce)&&Ce.inverse.body.length===1&&De(Ce.inverse.body[0],["BlockStatement"])&&Ce.inverse.body[0].path.parts[0]===Ce.path.parts[0]}function Me(Ce){return De(Ce,["BlockStatement"])&&Ce.inverse}function ct(Ce,pt,Ie){let lt=Ce.getValue();if(dt(lt))return"";let nn=pt("program");return Ie.htmlWhitespaceSensitivity==="ignore"?h([f,nn]):h(nn)}function ft(Ce,pt,Ie){let lt=Ce.getValue(),nn=pt("inverse"),Wt=Ie.htmlWhitespaceSensitivity==="ignore"?[f,nn]:nn;return be(lt)?Wt:Me(lt)?[Ve(lt,Ie),h(Wt)]:""}function Yt(Ce){return T(E(x,Re(Ce)))}function Re(Ce){return Ce.split(/[\t\n\f\r ]+/)}function Se(Ce){for(let pt=0;pt<2;pt++){let Ie=Ce.getParentNode(pt);if(Ie&&Ie.type==="AttrNode")return Ie.name.toLowerCase()}}function Je(Ce){return Ce=typeof Ce=="string"?Ce:"",Ce.split(`
220
+ `).length-1}function Qe(Ce){Ce=typeof Ce=="string"?Ce:"";let pt=(Ce.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return Je(pt)}function bt(Ce){Ce=typeof Ce=="string"?Ce:"";let pt=(Ce.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return Je(pt)}function Lt(){let Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(Ce,y)}).fill(f)}function It(Ce,pt){let{quote:Ie,regex:lt}=C(Ce,pt);return[Ie,Ce.replace(lt,`\\${Ie}`),Ie]}function pn(Ce){let pt=0,Ie=Ce.getParentNode(pt);for(;Ie&&De(Ie,["SubExpression"]);)pt++,Ie=Ce.getParentNode(pt);return!!(Ie&&De(Ce.getParentNode(pt+1),["ConcatStatement"])&&De(Ce.getParentNode(pt+2),["AttrNode"]))}function In(Ce,pt){let Ie=fn(Ce,pt),lt=bn(Ce,pt);return lt?h([Ie,x,D(lt)]):Ie}function kn(Ce,pt){let Ie=fn(Ce,pt),lt=bn(Ce,pt);return lt?[h([Ie,x,lt]),B]:Ie}function fn(Ce,pt){return pt("path")}function bn(Ce,pt){let Ie=Ce.getValue(),lt=[];if(Ie.params.length>0){let nn=Ce.map(pt,"params");lt.push(...nn)}if(Ie.hash&&Ie.hash.pairs.length>0){let nn=pt("hash");lt.push(nn)}return lt.length===0?"":E(x,lt)}function at(Ce){return["as |",Ce.blockParams.join(" "),"|"]}A.exports={print:L,massageAstNode:ne}}}),cE=Ne({"src/language-handlebars/parsers.js"(){je()}}),fE=Ne({"node_modules/linguist-languages/data/Handlebars.json"(m,A){A.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),pE=Ne({"src/language-handlebars/index.js"(m,A){je();var p=sa(),b=lE(),D=cE(),f=[p(fE(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],d={glimmer:b};A.exports={languages:f,printers:d,parsers:D}}}),dE=Ne({"src/language-graphql/pragma.js"(m,A){je();function p(D){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(D)}function b(D){return`# @format
221
+
222
+ `+D}A.exports={hasPragma:p,insertPragma:b}}}),hE=Ne({"src/language-graphql/loc.js"(m,A){je();function p(D){return typeof D.start=="number"?D.start:D.loc&&D.loc.start}function b(D){return typeof D.end=="number"?D.end:D.loc&&D.loc.end}A.exports={locStart:p,locEnd:b}}}),mE=Ne({"src/language-graphql/printer-graphql.js"(m,A){je();var{builders:{join:p,hardline:b,line:D,softline:f,group:d,indent:h,ifBreak:E}}=Nn(),{isNextLineEmpty:x,isNonEmptyArray:B}=ye(),{insertPragma:T}=dE(),{locStart:P,locEnd:C}=hE();function w(te,De,N){let J=te.getValue();if(!J)return"";if(typeof J=="string")return J;switch(J.kind){case"Document":{let F=[];return te.each((R,y,L)=>{F.push(N()),y!==L.length-1&&(F.push(b),x(De.originalText,R.getValue(),C)&&F.push(b))},"definitions"),[...F,b]}case"OperationDefinition":{let F=De.originalText[P(J)]!=="{",R=!!J.name;return[F?J.operation:"",F&&R?[" ",N("name")]:"",F&&!R&&B(J.variableDefinitions)?" ":"",B(J.variableDefinitions)?d(["(",h([f,p([E("",", "),f],te.map(N,"variableDefinitions"))]),f,")"]):"",j(te,N,J),J.selectionSet?!F&&!R?"":" ":"",N("selectionSet")]}case"FragmentDefinition":return["fragment ",N("name"),B(J.variableDefinitions)?d(["(",h([f,p([E("",", "),f],te.map(N,"variableDefinitions"))]),f,")"]):""," on ",N("typeCondition"),j(te,N,J)," ",N("selectionSet")];case"SelectionSet":return["{",h([b,p(b,X(te,De,N,"selections"))]),b,"}"];case"Field":return d([J.alias?[N("alias"),": "]:"",N("name"),J.arguments.length>0?d(["(",h([f,p([E("",", "),f],X(te,De,N,"arguments"))]),f,")"]):"",j(te,N,J),J.selectionSet?" ":"",N("selectionSet")]);case"Name":return J.value;case"StringValue":{if(J.block){let F=J.value.replace(/"""/g,"\\$&").split(`
223
+ `);return F.length===1&&(F[0]=F[0].trim()),F.every(R=>R==="")&&(F.length=0),p(b,['"""',...F,'"""'])}return['"',J.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return J.value;case"BooleanValue":return J.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",N("name")];case"ListValue":return d(["[",h([f,p([E("",", "),f],te.map(N,"values"))]),f,"]"]);case"ObjectValue":return d(["{",De.bracketSpacing&&J.fields.length>0?" ":"",h([f,p([E("",", "),f],te.map(N,"fields"))]),f,E("",De.bracketSpacing&&J.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[N("name"),": ",N("value")];case"Directive":return["@",N("name"),J.arguments.length>0?d(["(",h([f,p([E("",", "),f],X(te,De,N,"arguments"))]),f,")"]):""];case"NamedType":return N("name");case"VariableDefinition":return[N("variable"),": ",N("type"),J.defaultValue?[" = ",N("defaultValue")]:"",j(te,N,J)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[N("description"),J.description?b:"",J.kind==="ObjectTypeExtension"?"extend ":"","type ",N("name"),J.interfaces.length>0?[" implements ",...K(te,De,N)]:"",j(te,N,J),J.fields.length>0?[" {",h([b,p(b,X(te,De,N,"fields"))]),b,"}"]:""];case"FieldDefinition":return[N("description"),J.description?b:"",N("name"),J.arguments.length>0?d(["(",h([f,p([E("",", "),f],X(te,De,N,"arguments"))]),f,")"]):"",": ",N("type"),j(te,N,J)];case"DirectiveDefinition":return[N("description"),J.description?b:"","directive ","@",N("name"),J.arguments.length>0?d(["(",h([f,p([E("",", "),f],X(te,De,N,"arguments"))]),f,")"]):"",J.repeatable?" repeatable":""," on ",p(" | ",te.map(N,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[N("description"),J.description?b:"",J.kind==="EnumTypeExtension"?"extend ":"","enum ",N("name"),j(te,N,J),J.values.length>0?[" {",h([b,p(b,X(te,De,N,"values"))]),b,"}"]:""];case"EnumValueDefinition":return[N("description"),J.description?b:"",N("name"),j(te,N,J)];case"InputValueDefinition":return[N("description"),J.description?J.description.block?b:D:"",N("name"),": ",N("type"),J.defaultValue?[" = ",N("defaultValue")]:"",j(te,N,J)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[N("description"),J.description?b:"",J.kind==="InputObjectTypeExtension"?"extend ":"","input ",N("name"),j(te,N,J),J.fields.length>0?[" {",h([b,p(b,X(te,De,N,"fields"))]),b,"}"]:""];case"SchemaExtension":return["extend schema",j(te,N,J),...J.operationTypes.length>0?[" {",h([b,p(b,X(te,De,N,"operationTypes"))]),b,"}"]:[]];case"SchemaDefinition":return[N("description"),J.description?b:"","schema",j(te,N,J)," {",J.operationTypes.length>0?h([b,p(b,X(te,De,N,"operationTypes"))]):"",b,"}"];case"OperationTypeDefinition":return[N("operation"),": ",N("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[N("description"),J.description?b:"",J.kind==="InterfaceTypeExtension"?"extend ":"","interface ",N("name"),J.interfaces.length>0?[" implements ",...K(te,De,N)]:"",j(te,N,J),J.fields.length>0?[" {",h([b,p(b,X(te,De,N,"fields"))]),b,"}"]:""];case"FragmentSpread":return["...",N("name"),j(te,N,J)];case"InlineFragment":return["...",J.typeCondition?[" on ",N("typeCondition")]:"",j(te,N,J)," ",N("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return d([N("description"),J.description?b:"",d([J.kind==="UnionTypeExtension"?"extend ":"","union ",N("name"),j(te,N,J),J.types.length>0?[" =",E(""," "),h([E([D," "]),p([D,"| "],te.map(N,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[N("description"),J.description?b:"",J.kind==="ScalarTypeExtension"?"extend ":"","scalar ",N("name"),j(te,N,J)];case"NonNullType":return[N("type"),"!"];case"ListType":return["[",N("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(J.kind))}}function j(te,De,N){if(N.directives.length===0)return"";let J=p(D,te.map(De,"directives"));return N.kind==="FragmentDefinition"||N.kind==="OperationDefinition"?d([D,J]):[" ",d(h([f,J]))]}function X(te,De,N,J){return te.map((F,R,y)=>{let L=N();return R<y.length-1&&x(De.originalText,F.getValue(),C)?[L,b]:L},J)}function ne(te){return te.kind&&te.kind!=="Comment"}function $(te){let De=te.getValue();if(De.kind==="Comment")return"#"+De.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(De))}function K(te,De,N){let J=te.getNode(),F=[],{interfaces:R}=J,y=te.map(L=>N(L),"interfaces");for(let L=0;L<R.length;L++){let I=R[L];F.push(y[L]);let q=R[L+1];if(q){let U=De.originalText.slice(I.loc.end,q.loc.start),z=U.includes("#"),ie=U.replace(/#.*/g,"").trim();F.push(ie===","?",":" &",z?D:" ")}}return F}function G(te,De){te.kind==="StringValue"&&te.block&&!te.value.includes(`
224
+ `)&&(De.value=De.value.trim())}G.ignoredProperties=new Set(["loc","comments"]);function re(te){var De;let N=te.getValue();return N==null||(De=N.comments)===null||De===void 0?void 0:De.some(J=>J.value.trim()==="prettier-ignore")}A.exports={print:w,massageAstNode:G,hasPrettierIgnore:re,insertPragma:T,printComment:$,canAttachComment:ne}}}),gE=Ne({"src/language-graphql/options.js"(m,A){je();var p=no();A.exports={bracketSpacing:p.bracketSpacing}}}),yE=Ne({"src/language-graphql/parsers.js"(){je()}}),DE=Ne({"node_modules/linguist-languages/data/GraphQL.json"(m,A){A.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),bE=Ne({"src/language-graphql/index.js"(m,A){je();var p=sa(),b=mE(),D=gE(),f=yE(),d=[p(DE(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],h={graphql:b};A.exports={languages:d,options:D,printers:h,parsers:f}}}),K0=Ne({"node_modules/collapse-white-space/index.js"(m,A){je(),A.exports=p;function p(b){return String(b).replace(/\s+/g," ")}}}),Z0=Ne({"src/language-markdown/loc.js"(m,A){je();function p(D){return D.position.start.offset}function b(D){return D.position.end.offset}A.exports={locStart:p,locEnd:b}}}),vE=Ne({"src/language-markdown/constants.evaluate.js"(m,A){A.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),lp=Ne({"src/language-markdown/utils.js"(m,A){je();var{getLast:p}=ye(),{locStart:b,locEnd:D}=Z0(),{cjkPattern:f,kPattern:d,punctuationPattern:h}=vE(),E=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],x=[...E,"tableCell","paragraph","heading"],B=new RegExp(d),T=new RegExp(h);function P($,K){let G="non-cjk",re="cj-letter",te="k-letter",De="cjk-punctuation",N=[],J=(K.proseWrap==="preserve"?$:$.replace(new RegExp(`(${f})
225
+ (${f})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[R,y]of J.entries()){if(R%2===1){N.push({type:"whitespace",value:/\n/.test(y)?`
226
+ `:" "});continue}if((R===0||R===J.length-1)&&y==="")continue;let L=y.split(new RegExp(`(${f})`));for(let[I,q]of L.entries())if(!((I===0||I===L.length-1)&&q==="")){if(I%2===0){q!==""&&F({type:"word",value:q,kind:G,hasLeadingPunctuation:T.test(q[0]),hasTrailingPunctuation:T.test(p(q))});continue}F(T.test(q)?{type:"word",value:q,kind:De,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:q,kind:B.test(q)?te:re,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return N;function F(R){let y=p(N);y&&y.type==="word"&&(y.kind===G&&R.kind===re&&!y.hasTrailingPunctuation||y.kind===re&&R.kind===G&&!R.hasLeadingPunctuation?N.push({type:"whitespace",value:" "}):!L(G,De)&&![y.value,R.value].some(I=>/\u3000/.test(I))&&N.push({type:"whitespace",value:""})),N.push(R);function L(I,q){return y.kind===I&&R.kind===q||y.kind===q&&R.kind===I}}}function C($,K){let[,G,re,te]=K.slice($.position.start.offset,$.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:G,marker:re,leadingSpaces:te}}function w($,K){if(!$.ordered||$.children.length<2)return!1;let G=Number(C($.children[0],K.originalText).numberText),re=Number(C($.children[1],K.originalText).numberText);if(G===0&&$.children.length>2){let te=Number(C($.children[2],K.originalText).numberText);return re===1&&te===1}return re===1}function j($,K){let{value:G}=$;return $.position.end.offset===K.length&&G.endsWith(`
227
+ `)&&K.endsWith(`
228
+ `)?G.slice(0,-1):G}function X($,K){return function G(re,te,De){let N=Object.assign({},K(re,te,De));return N.children&&(N.children=N.children.map((J,F)=>G(J,F,[N,...De]))),N}($,null,[])}function ne($){if(($==null?void 0:$.type)!=="link"||$.children.length!==1)return!1;let[K]=$.children;return b($)===b(K)&&D($)===D(K)}A.exports={mapAst:X,splitText:P,punctuationPattern:h,getFencedCodeBlockValue:j,getOrderedListItemInfo:C,hasGitDiffFriendlyOrderedList:w,INLINE_NODE_TYPES:E,INLINE_NODE_WRAPPER_TYPES:x,isAutolink:ne}}}),EE=Ne({"src/language-markdown/embed.js"(m,A){je();var{inferParserByLanguage:p,getMaxContinuousCount:b}=ye(),{builders:{hardline:D,markAsRoot:f},utils:{replaceEndOfLine:d}}=Nn(),h=up(),{getFencedCodeBlockValue:E}=lp();function x(B,T,P,C){let w=B.getValue();if(w.type==="code"&&w.lang!==null){let j=p(w.lang,C);if(j){let X=C.__inJsTemplate?"~":"`",ne=X.repeat(Math.max(3,b(w.value,X)+1)),$={parser:j};w.lang==="tsx"&&($.filepath="dummy.tsx");let K=P(E(w,C.originalText),$,{stripTrailingHardline:!0});return f([ne,w.lang,w.meta?" "+w.meta:"",D,d(K),D,ne])}}switch(w.type){case"front-matter":return h(w,P);case"importExport":return[P(w.value,{parser:"babel"},{stripTrailingHardline:!0}),D];case"jsx":return P(`<$>${w.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}A.exports=x}}),eg=Ne({"src/language-markdown/pragma.js"(m,A){je();var p=X0(),b=["format","prettier"];function D(f){let d=`@(${b.join("|")})`,h=new RegExp([`<!--\\s*${d}\\s*-->`,`{\\s*\\/\\*\\s*${d}\\s*\\*\\/\\s*}`,`<!--.*\r?
229
+ [\\s\\S]*(^|
230
+ )[^\\S
231
+ ]*${d}[^\\S
232
+ ]*($|
233
+ )[\\s\\S]*
234
+ .*-->`].join("|"),"m"),E=f.match(h);return(E==null?void 0:E.index)===0}A.exports={startWithPragma:D,hasPragma:f=>D(p(f).content.trimStart()),insertPragma:f=>{let d=p(f),h=`<!-- @${b[0]} -->`;return d.frontMatter?`${d.frontMatter.raw}
235
+
236
+ ${h}
237
+
238
+ ${d.content}`:`${h}
239
+
240
+ ${d.content}`}}}}),AE=Ne({"src/language-markdown/print-preprocess.js"(m,A){je();var p=Ur(),{getOrderedListItemInfo:b,mapAst:D,splitText:f}=lp(),d=/^.$/su;function h(ne,$){return ne=B(ne,$),ne=C(ne),ne=x(ne,$),ne=j(ne,$),ne=X(ne,$),ne=w(ne,$),ne=E(ne),ne=T(ne),ne}function E(ne){return D(ne,$=>$.type!=="import"&&$.type!=="export"?$:Object.assign(Object.assign({},$),{},{type:"importExport"}))}function x(ne,$){return D(ne,K=>K.type!=="inlineCode"||$.proseWrap==="preserve"?K:Object.assign(Object.assign({},K),{},{value:K.value.replace(/\s+/g," ")}))}function B(ne,$){return D(ne,K=>K.type!=="text"||K.value==="*"||K.value==="_"||!d.test(K.value)||K.position.end.offset-K.position.start.offset===K.value.length?K:Object.assign(Object.assign({},K),{},{value:$.originalText.slice(K.position.start.offset,K.position.end.offset)}))}function T(ne){return P(ne,($,K)=>$.type==="importExport"&&K.type==="importExport",($,K)=>({type:"importExport",value:$.value+`
241
+
242
+ `+K.value,position:{start:$.position.start,end:K.position.end}}))}function P(ne,$,K){return D(ne,G=>{if(!G.children)return G;let re=G.children.reduce((te,De)=>{let N=p(te);return N&&$(N,De)?te.splice(-1,1,K(N,De)):te.push(De),te},[]);return Object.assign(Object.assign({},G),{},{children:re})})}function C(ne){return P(ne,($,K)=>$.type==="text"&&K.type==="text",($,K)=>({type:"text",value:$.value+K.value,position:{start:$.position.start,end:K.position.end}}))}function w(ne,$){return D(ne,(K,G,re)=>{let[te]=re;if(K.type!=="text")return K;let{value:De}=K;return te.type==="paragraph"&&(G===0&&(De=De.trimStart()),G===te.children.length-1&&(De=De.trimEnd())),{type:"sentence",position:K.position,children:f(De,$)}})}function j(ne,$){return D(ne,(K,G,re)=>{if(K.type==="code"){let te=/^\n?(?: {4,}|\t)/.test($.originalText.slice(K.position.start.offset,K.position.end.offset));if(K.isIndented=te,te)for(let De=0;De<re.length;De++){let N=re[De];if(N.hasIndentedCodeblock)break;N.type==="list"&&(N.hasIndentedCodeblock=!0)}}return K})}function X(ne,$){return D(ne,(re,te,De)=>{if(re.type==="list"&&re.children.length>0){for(let N=0;N<De.length;N++){let J=De[N];if(J.type==="list"&&!J.isAligned)return re.isAligned=!1,re}re.isAligned=G(re)}return re});function K(re){return re.children.length===0?-1:re.children[0].position.start.column-1}function G(re){if(!re.ordered)return!0;let[te,De]=re.children;if(b(te,$.originalText).leadingSpaces.length>1)return!0;let N=K(te);if(N===-1)return!1;if(re.children.length===1)return N%$.tabWidth===0;let J=K(De);return N!==J?!1:N%$.tabWidth===0?!0:b(De,$.originalText).leadingSpaces.length>1}}A.exports=h}}),CE=Ne({"src/language-markdown/clean.js"(m,A){je();var p=K0(),{isFrontMatterNode:b}=ye(),{startWithPragma:D}=eg(),f=new Set(["position","raw"]);function d(h,E,x){if((h.type==="front-matter"||h.type==="code"||h.type==="yaml"||h.type==="import"||h.type==="export"||h.type==="jsx")&&delete E.value,h.type==="list"&&delete E.isAligned,(h.type==="list"||h.type==="listItem")&&(delete E.spread,delete E.loose),h.type==="text"||(h.type==="inlineCode"&&(E.value=h.value.replace(/[\t\n ]+/g," ")),h.type==="wikiLink"&&(E.value=h.value.trim().replace(/[\t\n]+/g," ")),(h.type==="definition"||h.type==="linkReference"||h.type==="imageReference")&&(E.label=p(h.label)),(h.type==="definition"||h.type==="link"||h.type==="image")&&h.title&&(E.title=h.title.replace(/\\(["')])/g,"$1")),x&&x.type==="root"&&x.children.length>0&&(x.children[0]===h||b(x.children[0])&&x.children[1]===h)&&h.type==="html"&&D(h.value)))return null}d.ignoredProperties=f,A.exports=d}}),xE=Ne({"src/language-markdown/printer-markdown.js"(m,A){je();var p=K0(),{getLast:b,getMinNotPresentContinuousCount:D,getMaxContinuousCount:f,getStringWidth:d,isNonEmptyArray:h}=ye(),{builders:{breakParent:E,join:x,line:B,literalline:T,markAsRoot:P,hardline:C,softline:w,ifBreak:j,fill:X,align:ne,indent:$,group:K,hardlineWithoutBreakParent:G},utils:{normalizeDoc:re,replaceTextEndOfLine:te},printer:{printDocToString:De}}=Nn(),N=EE(),{insertPragma:J}=eg(),{locStart:F,locEnd:R}=Z0(),y=AE(),L=CE(),{getFencedCodeBlockValue:I,hasGitDiffFriendlyOrderedList:q,splitText:U,punctuationPattern:z,INLINE_NODE_TYPES:ie,INLINE_NODE_WRAPPER_TYPES:ce,isAutolink:ge}=lp(),fe=new Set(["importExport"]),_e=["heading","tableCell","link","wikiLink"],se=new Set(["listItem","definition","footnoteDefinition"]);function Ue(at,Ce,pt){let Ie=at.getValue();if(Lt(at))return U(Ce.originalText.slice(Ie.position.start.offset,Ie.position.end.offset),Ce).map(lt=>lt.type==="word"?lt.value:lt.value===""?"":be(at,lt.value,Ce));switch(Ie.type){case"front-matter":return Ce.originalText.slice(Ie.position.start.offset,Ie.position.end.offset);case"root":return Ie.children.length===0?"":[re(ct(at,Ce,pt)),fe.has(Re(Ie).type)?"":C];case"paragraph":return ft(at,Ce,pt,{postprocessor:X});case"sentence":return ft(at,Ce,pt);case"word":{let lt=Ie.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${z})(_+)`,`(_+)(${z}|$)`].join("|"),"g"),(mt,V,Te,nt,Bt)=>(Te?`${V}${Te}`:`${nt}${Bt}`).replace(/_/g,"\\_")),nn=(mt,V,Te)=>mt.type==="sentence"&&Te===0,Wt=(mt,V,Te)=>ge(mt.children[Te-1]);return lt!==Ie.value&&(at.match(void 0,nn,Wt)||at.match(void 0,nn,(mt,V,Te)=>mt.type==="emphasis"&&Te===0,Wt))&&(lt=lt.replace(/^(\\?[*_])+/,mt=>mt.replace(/\\/g,""))),lt}case"whitespace":{let lt=at.getParentNode(),nn=lt.children.indexOf(Ie),Wt=lt.children[nn+1],mt=Wt&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(Wt.value)?"never":Ce.proseWrap;return be(at,Ie.value,{proseWrap:mt})}case"emphasis":{let lt;if(ge(Ie.children[0]))lt=Ce.originalText[Ie.position.start.offset];else{let nn=at.getParentNode(),Wt=nn.children.indexOf(Ie),mt=nn.children[Wt-1],V=nn.children[Wt+1];lt=mt&&mt.type==="sentence"&&mt.children.length>0&&b(mt.children).type==="word"&&!b(mt.children).hasTrailingPunctuation||V&&V.type==="sentence"&&V.children.length>0&&V.children[0].type==="word"&&!V.children[0].hasLeadingPunctuation||dt(at,"emphasis")?"*":"_"}return[lt,ft(at,Ce,pt),lt]}case"strong":return["**",ft(at,Ce,pt),"**"];case"delete":return["~~",ft(at,Ce,pt),"~~"];case"inlineCode":{let lt=D(Ie.value,"`"),nn="`".repeat(lt||1),Wt=lt&&!/^\s/.test(Ie.value)?" ":"";return[nn,Wt,Ie.value,Wt,nn]}case"wikiLink":{let lt="";return Ce.proseWrap==="preserve"?lt=Ie.value:lt=Ie.value.replace(/[\t\n]+/g," "),["[[",lt,"]]"]}case"link":switch(Ce.originalText[Ie.position.start.offset]){case"<":{let lt="mailto:";return["<",Ie.url.startsWith(lt)&&Ce.originalText.slice(Ie.position.start.offset+1,Ie.position.start.offset+1+lt.length)!==lt?Ie.url.slice(lt.length):Ie.url,">"]}case"[":return["[",ft(at,Ce,pt),"](",It(Ie.url,")"),pn(Ie.title,Ce),")"];default:return Ce.originalText.slice(Ie.position.start.offset,Ie.position.end.offset)}case"image":return["![",Ie.alt||"","](",It(Ie.url,")"),pn(Ie.title,Ce),")"];case"blockquote":return["> ",ne("> ",ft(at,Ce,pt))];case"heading":return["#".repeat(Ie.depth)+" ",ft(at,Ce,pt)];case"code":{if(Ie.isIndented){let Wt=" ".repeat(4);return ne(Wt,[Wt,...te(Ie.value,C)])}let lt=Ce.__inJsTemplate?"~":"`",nn=lt.repeat(Math.max(3,f(Ie.value,lt)+1));return[nn,Ie.lang||"",Ie.meta?" "+Ie.meta:"",C,...te(I(Ie,Ce.originalText),C),C,nn]}case"html":{let lt=at.getParentNode(),nn=lt.type==="root"&&b(lt.children)===Ie?Ie.value.trimEnd():Ie.value,Wt=/^<!--.*-->$/s.test(nn);return te(nn,Wt?C:P(T))}case"list":{let lt=Ve(Ie,at.getParentNode()),nn=q(Ie,Ce);return ft(at,Ce,pt,{processor:(Wt,mt)=>{let V=nt(),Te=Wt.getValue();if(Te.children.length===2&&Te.children[1].type==="html"&&Te.children[0].position.start.column!==Te.children[1].position.start.column)return[V,me(Wt,Ce,pt,V)];return[V,ne(" ".repeat(V.length),me(Wt,Ce,pt,V))];function nt(){let Bt=Ie.ordered?(mt===0?Ie.start:nn?1:Ie.start+mt)+(lt%2===0?". ":") "):lt%2===0?"- ":"* ";return Ie.isAligned||Ie.hasIndentedCodeblock?ue(Bt,Ce):Bt}}})}case"thematicBreak":{let lt=Ge(at,"list");return lt===-1?"---":Ve(at.getParentNode(lt),at.getParentNode(lt+1))%2===0?"***":"---"}case"linkReference":return["[",ft(at,Ce,pt),"]",Ie.referenceType==="full"?fn(Ie):Ie.referenceType==="collapsed"?"[]":""];case"imageReference":switch(Ie.referenceType){case"full":return["![",Ie.alt||"","]",fn(Ie)];default:return["![",Ie.alt,"]",Ie.referenceType==="collapsed"?"[]":""]}case"definition":{let lt=Ce.proseWrap==="always"?B:" ";return K([fn(Ie),":",$([lt,It(Ie.url),Ie.title===null?"":[lt,pn(Ie.title,Ce,!1)]])])}case"footnote":return["[^",ft(at,Ce,pt),"]"];case"footnoteReference":return bn(Ie);case"footnoteDefinition":{let lt=at.getParentNode().children[at.getName()+1],nn=Ie.children.length===1&&Ie.children[0].type==="paragraph"&&(Ce.proseWrap==="never"||Ce.proseWrap==="preserve"&&Ie.children[0].position.start.line===Ie.children[0].position.end.line);return[bn(Ie),": ",nn?ft(at,Ce,pt):K([ne(" ".repeat(4),ft(at,Ce,pt,{processor:(Wt,mt)=>mt===0?K([w,pt()]):pt()})),lt&&lt.type==="footnoteDefinition"?w:""])]}case"table":return Me(at,Ce,pt);case"tableCell":return ft(at,Ce,pt);case"break":return/\s/.test(Ce.originalText[Ie.position.start.offset])?[" ",P(T)]:["\\",C];case"liquidNode":return te(Ie.value,C);case"importExport":return[Ie.value,C];case"esComment":return["{/* ",Ie.value," */}"];case"jsx":return Ie.value;case"math":return["$$",C,Ie.value?[...te(Ie.value,C),C]:"","$$"];case"inlineMath":return Ce.originalText.slice(F(Ie),R(Ie));case"tableRow":case"listItem":default:throw new Error(`Unknown markdown type ${JSON.stringify(Ie.type)}`)}}function me(at,Ce,pt,Ie){let lt=at.getValue(),nn=lt.checked===null?"":lt.checked?"[x] ":"[ ] ";return[nn,ft(at,Ce,pt,{processor:(Wt,mt)=>{if(mt===0&&Wt.getValue().type!=="list")return ne(" ".repeat(nn.length),pt());let V=" ".repeat(In(Ce.tabWidth-Ie.length,0,3));return[V,ne(V,pt())]}})]}function ue(at,Ce){let pt=Ie();return at+" ".repeat(pt>=4?0:pt);function Ie(){let lt=at.length%Ce.tabWidth;return lt===0?0:Ce.tabWidth-lt}}function Ve(at,Ce){return tt(at,Ce,pt=>pt.ordered===at.ordered)}function tt(at,Ce,pt){let Ie=-1;for(let lt of Ce.children)if(lt.type===at.type&&pt(lt)?Ie++:Ie=-1,lt===at)return Ie}function Ge(at,Ce){let pt=Array.isArray(Ce)?Ce:[Ce],Ie=-1,lt;for(;lt=at.getParentNode(++Ie);)if(pt.includes(lt.type))return Ie;return-1}function dt(at,Ce){let pt=Ge(at,Ce);return pt===-1?null:at.getParentNode(pt)}function be(at,Ce,pt){if(pt.proseWrap==="preserve"&&Ce===`
243
+ `)return C;let Ie=pt.proseWrap==="always"&&!dt(at,_e);return Ce!==""?Ie?B:" ":Ie?w:""}function Me(at,Ce,pt){let Ie=at.getValue(),lt=[],nn=at.map(Bt=>Bt.map((Vt,cn)=>{let Ot=De(pt(),Ce).formatted,xr=d(Ot);return lt[cn]=Math.max(lt[cn]||3,xr),{text:Ot,width:xr}},"children"),"children"),Wt=V(!1);if(Ce.proseWrap!=="never")return[E,Wt];let mt=V(!0);return[E,K(j(mt,Wt))];function V(Bt){let Vt=[nt(nn[0],Bt),Te(Bt)];return nn.length>1&&Vt.push(x(G,nn.slice(1).map(cn=>nt(cn,Bt)))),x(G,Vt)}function Te(Bt){return`| ${lt.map((Vt,cn)=>{let Ot=Ie.align[cn],xr=Ot==="center"||Ot==="left"?":":"-",on=Ot==="center"||Ot==="right"?":":"-",vr=Bt?"-":"-".repeat(Vt-2);return`${xr}${vr}${on}`}).join(" | ")} |`}function nt(Bt,Vt){return`| ${Bt.map((cn,Ot)=>{let{text:xr,width:on}=cn;if(Vt)return xr;let vr=lt[Ot]-on,sn=Ie.align[Ot],xn=0;sn==="right"?xn=vr:sn==="center"&&(xn=Math.floor(vr/2));let Bn=vr-xn;return`${" ".repeat(xn)}${xr}${" ".repeat(Bn)}`}).join(" | ")} |`}}function ct(at,Ce,pt){let Ie=[],lt=null,{children:nn}=at.getValue();for(let[Wt,mt]of nn.entries())switch(Se(mt)){case"start":lt===null&&(lt={index:Wt,offset:mt.position.end.offset});break;case"end":lt!==null&&(Ie.push({start:lt,end:{index:Wt,offset:mt.position.start.offset}}),lt=null);break}return ft(at,Ce,pt,{processor:(Wt,mt)=>{if(Ie.length>0){let V=Ie[0];if(mt===V.start.index)return[Yt(nn[V.start.index]),Ce.originalText.slice(V.start.offset,V.end.offset),Yt(nn[V.end.index])];if(V.start.index<mt&&mt<V.end.index)return!1;if(mt===V.end.index)return Ie.shift(),!1}return pt()}})}function ft(at,Ce,pt){let Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:lt}=Ie,nn=Ie.processor||(()=>pt()),Wt=at.getValue(),mt=[],V;return at.each((Te,nt)=>{let Bt=Te.getValue(),Vt=nn(Te,nt);if(Vt!==!1){let cn={parts:mt,prevNode:V,parentNode:Wt,options:Ce};Je(Bt,cn)&&(mt.push(C),V&&fe.has(V.type)||(Qe(Bt,cn)||bt(Bt,cn))&&mt.push(C),bt(Bt,cn)&&mt.push(C)),mt.push(Vt),V=Bt}},"children"),lt?lt(mt):mt}function Yt(at){if(at.type==="html")return at.value;if(at.type==="paragraph"&&Array.isArray(at.children)&&at.children.length===1&&at.children[0].type==="esComment")return["{/* ",at.children[0].value," */}"]}function Re(at){let Ce=at;for(;h(Ce.children);)Ce=b(Ce.children);return Ce}function Se(at){let Ce;if(at.type==="html")Ce=at.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let pt;at.type==="esComment"?pt=at:at.type==="paragraph"&&at.children.length===1&&at.children[0].type==="esComment"&&(pt=at.children[0]),pt&&(Ce=pt.value.match(/^prettier-ignore(?:-(start|end))?$/))}return Ce?Ce[1]||"next":!1}function Je(at,Ce){let pt=Ce.parts.length===0,Ie=ie.includes(at.type),lt=at.type==="html"&&ce.includes(Ce.parentNode.type);return!pt&&!Ie&&!lt}function Qe(at,Ce){var pt,Ie,lt;let nn=(Ce.prevNode&&Ce.prevNode.type)===at.type&&se.has(at.type),Wt=Ce.parentNode.type==="listItem"&&!Ce.parentNode.loose,mt=((pt=Ce.prevNode)===null||pt===void 0?void 0:pt.type)==="listItem"&&Ce.prevNode.loose,V=Se(Ce.prevNode)==="next",Te=at.type==="html"&&((Ie=Ce.prevNode)===null||Ie===void 0?void 0:Ie.type)==="html"&&Ce.prevNode.position.end.line+1===at.position.start.line,nt=at.type==="html"&&Ce.parentNode.type==="listItem"&&((lt=Ce.prevNode)===null||lt===void 0?void 0:lt.type)==="paragraph"&&Ce.prevNode.position.end.line+1===at.position.start.line;return mt||!(nn||Wt||V||Te||nt)}function bt(at,Ce){let pt=Ce.prevNode&&Ce.prevNode.type==="list",Ie=at.type==="code"&&at.isIndented;return pt&&Ie}function Lt(at){let Ce=dt(at,["linkReference","imageReference"]);return Ce&&(Ce.type!=="linkReference"||Ce.referenceType!=="full")}function It(at){let Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],pt=[" ",...Array.isArray(Ce)?Ce:[Ce]];return new RegExp(pt.map(Ie=>`\\${Ie}`).join("|")).test(at)?`<${at}>`:at}function pn(at,Ce){let pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!at)return"";if(pt)return" "+pn(at,Ce,!1);if(at=at.replace(/\\(["')])/g,"$1"),at.includes('"')&&at.includes("'")&&!at.includes(")"))return`(${at})`;let Ie=at.split("'").length-1,lt=at.split('"').length-1,nn=Ie>lt?'"':lt>Ie||Ce.singleQuote?"'":'"';return at=at.replace(/\\/,"\\\\"),at=at.replace(new RegExp(`(${nn})`,"g"),"\\$1"),`${nn}${at}${nn}`}function In(at,Ce,pt){return at<Ce?Ce:at>pt?pt:at}function kn(at){let Ce=Number(at.getName());if(Ce===0)return!1;let pt=at.getParentNode().children[Ce-1];return Se(pt)==="next"}function fn(at){return`[${p(at.label)}]`}function bn(at){return`[^${at.label}]`}A.exports={preprocess:y,print:Ue,embed:N,massageAstNode:L,hasPrettierIgnore:kn,insertPragma:J}}}),SE=Ne({"src/language-markdown/options.js"(m,A){je();var p=no();A.exports={proseWrap:p.proseWrap,singleQuote:p.singleQuote}}}),wE=Ne({"src/language-markdown/parsers.js"(){je()}}),tg=Ne({"node_modules/linguist-languages/data/Markdown.json"(m,A){A.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),FE=Ne({"src/language-markdown/index.js"(m,A){je();var p=sa(),b=xE(),D=SE(),f=wE(),d=[p(tg(),E=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...E.filenames,"README"],extensions:E.extensions.filter(x=>x!==".mdx")})),p(tg(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],h={mdast:b};A.exports={languages:d,options:D,printers:h,parsers:f}}}),NE=Ne({"src/language-html/clean.js"(m,A){je();var{isFrontMatterNode:p}=ye(),b=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function D(f,d){if(f.type==="text"||f.type==="comment"||p(f)||f.type==="yaml"||f.type==="toml")return null;f.type==="attribute"&&delete d.value,f.type==="docType"&&delete d.value}D.ignoredProperties=b,A.exports=D}}),_E=Ne({"src/language-html/constants.evaluate.js"(m,A){A.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),TE=Ne({"src/language-html/utils/is-unknown-namespace.js"(m,A){je();function p(b){return b.type==="element"&&!b.hasExplicitNamespace&&!["html","svg"].includes(b.namespace)}A.exports=p}}),ro=Ne({"src/language-html/utils/index.js"(m,A){je();var{inferParserByLanguage:p,isFrontMatterNode:b}=ye(),{builders:{line:D,hardline:f,join:d},utils:{getDocParts:h,replaceTextEndOfLine:E}}=Nn(),{CSS_DISPLAY_TAGS:x,CSS_DISPLAY_DEFAULT:B,CSS_WHITE_SPACE_TAGS:T,CSS_WHITE_SPACE_DEFAULT:P}=_E(),C=TE(),w=new Set([" ",`
244
+ `,"\f","\r"," "]),j=V=>V.replace(/^[\t\n\f\r ]+/,""),X=V=>V.replace(/[\t\n\f\r ]+$/,""),ne=V=>j(X(V)),$=V=>V.replace(/^[\t\f\r ]*\n/g,""),K=V=>$(X(V)),G=V=>V.split(/[\t\n\f\r ]+/),re=V=>V.match(/^[\t\n\f\r ]*/)[0],te=V=>{let[,Te,nt,Bt]=V.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:Te,trailingWhitespace:Bt,text:nt}},De=V=>/[\t\n\f\r ]/.test(V);function N(V,Te){return!!(V.type==="ieConditionalComment"&&V.lastChild&&!V.lastChild.isSelfClosing&&!V.lastChild.endSourceSpan||V.type==="ieConditionalComment"&&!V.complete||Qe(V)&&V.children.some(nt=>nt.type!=="text"&&nt.type!=="interpolation")||Ie(V,Te)&&!y(V)&&V.type!=="interpolation")}function J(V){return V.type==="attribute"||!V.parent||!V.prev?!1:F(V.prev)}function F(V){return V.type==="comment"&&V.value.trim()==="prettier-ignore"}function R(V){return V.type==="text"||V.type==="comment"}function y(V){return V.type==="element"&&(V.fullName==="script"||V.fullName==="style"||V.fullName==="svg:style"||C(V)&&(V.name==="script"||V.name==="style"))}function L(V){return V.children&&!y(V)}function I(V){return y(V)||V.type==="interpolation"||q(V)}function q(V){return pn(V).startsWith("pre")}function U(V,Te){let nt=Bt();if(nt&&!V.prev&&V.parent&&V.parent.tagDefinition&&V.parent.tagDefinition.ignoreFirstLf)return V.type==="interpolation";return nt;function Bt(){return b(V)?!1:(V.type==="text"||V.type==="interpolation")&&V.prev&&(V.prev.type==="text"||V.prev.type==="interpolation")?!0:!V.parent||V.parent.cssDisplay==="none"?!1:Qe(V.parent)?!0:!(!V.prev&&(V.parent.type==="root"||Qe(V)&&V.parent||y(V.parent)||Ce(V.parent,Te)||!ft(V.parent.cssDisplay))||V.prev&&!Se(V.prev.cssDisplay))}}function z(V,Te){return b(V)?!1:(V.type==="text"||V.type==="interpolation")&&V.next&&(V.next.type==="text"||V.next.type==="interpolation")?!0:!V.parent||V.parent.cssDisplay==="none"?!1:Qe(V.parent)?!0:!(!V.next&&(V.parent.type==="root"||Qe(V)&&V.parent||y(V.parent)||Ce(V.parent,Te)||!Yt(V.parent.cssDisplay))||V.next&&!Re(V.next.cssDisplay))}function ie(V){return Je(V.cssDisplay)&&!y(V)}function ce(V){return b(V)||V.next&&V.sourceSpan.end&&V.sourceSpan.end.line+1<V.next.sourceSpan.start.line}function ge(V){return fe(V)||V.type==="element"&&V.children.length>0&&(["body","script","style"].includes(V.name)||V.children.some(Te=>Ge(Te)))||V.firstChild&&V.firstChild===V.lastChild&&V.firstChild.type!=="text"&&me(V.firstChild)&&(!V.lastChild.isTrailingSpaceSensitive||ue(V.lastChild))}function fe(V){return V.type==="element"&&V.children.length>0&&(["html","head","ul","ol","select"].includes(V.name)||V.cssDisplay.startsWith("table")&&V.cssDisplay!=="table-cell")}function _e(V){return Ve(V)||V.prev&&se(V.prev)||Ue(V)}function se(V){return Ve(V)||V.type==="element"&&V.fullName==="br"||Ue(V)}function Ue(V){return me(V)&&ue(V)}function me(V){return V.hasLeadingSpaces&&(V.prev?V.prev.sourceSpan.end.line<V.sourceSpan.start.line:V.parent.type==="root"||V.parent.startSourceSpan.end.line<V.sourceSpan.start.line)}function ue(V){return V.hasTrailingSpaces&&(V.next?V.next.sourceSpan.start.line>V.sourceSpan.end.line:V.parent.type==="root"||V.parent.endSourceSpan&&V.parent.endSourceSpan.start.line>V.sourceSpan.end.line)}function Ve(V){switch(V.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(V.name)}return!1}function tt(V){return V.lastChild?tt(V.lastChild):V}function Ge(V){return V.children&&V.children.some(Te=>Te.type!=="text")}function dt(V){let{type:Te,lang:nt}=V.attrMap;if(Te==="module"||Te==="text/javascript"||Te==="text/babel"||Te==="application/javascript"||nt==="jsx")return"babel";if(Te==="application/x-typescript"||nt==="ts"||nt==="tsx")return"typescript";if(Te==="text/markdown")return"markdown";if(Te==="text/html")return"html";if(Te&&(Te.endsWith("json")||Te.endsWith("importmap"))||Te==="speculationrules")return"json";if(Te==="text/x-handlebars-template")return"glimmer"}function be(V,Te){let{lang:nt}=V.attrMap;if(!nt||nt==="postcss"||nt==="css")return"css";if(nt==="scss")return"scss";if(nt==="less")return"less";if(nt==="stylus")return p("stylus",Te)}function Me(V,Te){if(V.name==="script"&&!V.attrMap.src)return!V.attrMap.lang&&!V.attrMap.type?"babel":dt(V);if(V.name==="style")return be(V,Te);if(Te&&Ie(V,Te))return dt(V)||!("src"in V.attrMap)&&p(V.attrMap.lang,Te)}function ct(V){return V==="block"||V==="list-item"||V.startsWith("table")}function ft(V){return!ct(V)&&V!=="inline-block"}function Yt(V){return!ct(V)&&V!=="inline-block"}function Re(V){return!ct(V)}function Se(V){return!ct(V)}function Je(V){return!ct(V)&&V!=="inline-block"}function Qe(V){return pn(V).startsWith("pre")}function bt(V,Te){let nt=0;for(let Bt=V.stack.length-1;Bt>=0;Bt--){let Vt=V.stack[Bt];Vt&&typeof Vt=="object"&&!Array.isArray(Vt)&&Te(Vt)&&nt++}return nt}function Lt(V,Te){let nt=V;for(;nt;){if(Te(nt))return!0;nt=nt.parent}return!1}function It(V,Te){if(V.prev&&V.prev.type==="comment"){let Bt=V.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(Bt)return Bt[1]}let nt=!1;if(V.type==="element"&&V.namespace==="svg")if(Lt(V,Bt=>Bt.fullName==="svg:foreignObject"))nt=!0;else return V.name==="svg"?"inline-block":"block";switch(Te.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return Te.parser==="vue"&&V.parent&&V.parent.type==="root"?"block":V.type==="element"&&(!V.namespace||nt||C(V))&&x[V.name]||B}}function pn(V){return V.type==="element"&&(!V.namespace||C(V))&&T[V.name]||P}function In(V){let Te=Number.POSITIVE_INFINITY;for(let nt of V.split(`
245
+ `)){if(nt.length===0)continue;if(!w.has(nt[0]))return 0;let Bt=re(nt).length;nt.length!==Bt&&Bt<Te&&(Te=Bt)}return Te===Number.POSITIVE_INFINITY?0:Te}function kn(V){let Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:In(V);return Te===0?V:V.split(`
246
+ `).map(nt=>nt.slice(Te)).join(`
247
+ `)}function fn(V,Te){let nt=0;for(let Bt=0;Bt<V.length;Bt++)V[Bt]===Te&&nt++;return nt}function bn(V){return V.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}var at=new Set(["template","style","script"]);function Ce(V,Te){return pt(V,Te)&&!at.has(V.fullName)}function pt(V,Te){return Te.parser==="vue"&&V.type==="element"&&V.parent.type==="root"&&V.fullName.toLowerCase()!=="html"}function Ie(V,Te){return pt(V,Te)&&(Ce(V,Te)||V.attrMap.lang&&V.attrMap.lang!=="html")}function lt(V){let Te=V.fullName;return Te.charAt(0)==="#"||Te==="slot-scope"||Te==="v-slot"||Te.startsWith("v-slot:")}function nn(V,Te){let nt=V.parent;if(!pt(nt,Te))return!1;let Bt=nt.fullName,Vt=V.fullName;return Bt==="script"&&Vt==="setup"||Bt==="style"&&Vt==="vars"}function Wt(V){let Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V.value;return V.parent.isWhitespaceSensitive?V.parent.isIndentationSensitive?E(Te):E(kn(K(Te)),f):h(d(D,G(Te)))}function mt(V,Te){return pt(V,Te)&&V.name==="script"}A.exports={htmlTrim:ne,htmlTrimPreserveIndentation:K,hasHtmlWhitespace:De,getLeadingAndTrailingHtmlWhitespace:te,canHaveInterpolation:L,countChars:fn,countParents:bt,dedentString:kn,forceBreakChildren:fe,forceBreakContent:ge,forceNextEmptyLine:ce,getLastDescendant:tt,getNodeCssStyleDisplay:It,getNodeCssStyleWhiteSpace:pn,hasPrettierIgnore:J,inferScriptParser:Me,isVueCustomBlock:Ce,isVueNonHtmlBlock:Ie,isVueScriptTag:mt,isVueSlotAttribute:lt,isVueSfcBindingsAttribute:nn,isVueSfcBlock:pt,isDanglingSpaceSensitiveNode:ie,isIndentationSensitiveNode:q,isLeadingSpaceSensitiveNode:U,isPreLikeNode:Qe,isScriptLikeTag:y,isTextLikeNode:R,isTrailingSpaceSensitiveNode:z,isWhitespaceSensitiveNode:I,isUnknownNamespace:C,preferHardlineAsLeadingSpaces:_e,preferHardlineAsTrailingSpaces:se,shouldPreserveContent:N,unescapeQuoteEntities:bn,getTextValueParts:Wt}}}),LE=Ne({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0}),m.$EOF=0,m.$BSPACE=8,m.$TAB=9,m.$LF=10,m.$VTAB=11,m.$FF=12,m.$CR=13,m.$SPACE=32,m.$BANG=33,m.$DQ=34,m.$HASH=35,m.$$=36,m.$PERCENT=37,m.$AMPERSAND=38,m.$SQ=39,m.$LPAREN=40,m.$RPAREN=41,m.$STAR=42,m.$PLUS=43,m.$COMMA=44,m.$MINUS=45,m.$PERIOD=46,m.$SLASH=47,m.$COLON=58,m.$SEMICOLON=59,m.$LT=60,m.$EQ=61,m.$GT=62,m.$QUESTION=63,m.$0=48,m.$7=55,m.$9=57,m.$A=65,m.$E=69,m.$F=70,m.$X=88,m.$Z=90,m.$LBRACKET=91,m.$BACKSLASH=92,m.$RBRACKET=93,m.$CARET=94,m.$_=95,m.$a=97,m.$b=98,m.$e=101,m.$f=102,m.$n=110,m.$r=114,m.$t=116,m.$u=117,m.$v=118,m.$x=120,m.$z=122,m.$LBRACE=123,m.$BAR=124,m.$RBRACE=125,m.$NBSP=160,m.$PIPE=124,m.$TILDA=126,m.$AT=64,m.$BT=96;function A(h){return h>=m.$TAB&&h<=m.$SPACE||h==m.$NBSP}m.isWhitespace=A;function p(h){return m.$0<=h&&h<=m.$9}m.isDigit=p;function b(h){return h>=m.$a&&h<=m.$z||h>=m.$A&&h<=m.$Z}m.isAsciiLetter=b;function D(h){return h>=m.$a&&h<=m.$f||h>=m.$A&&h<=m.$F||p(h)}m.isAsciiHexDigit=D;function f(h){return h===m.$LF||h===m.$CR}m.isNewLine=f;function d(h){return m.$0<=h&&h<=m.$7}m.isOctalDigit=d}}),kE=Ne({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=class{constructor(b,D,f){this.filePath=b,this.name=D,this.members=f}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};m.StaticSymbol=A;var p=class{constructor(){this.cache=new Map}get(b,D,f){f=f||[];let d=f.length?`.${f.join(".")}`:"",h=`"${b}".${D}${d}`,E=this.cache.get(h);return E||(E=new A(b,D,f),this.cache.set(h,E)),E}};m.StaticSymbolCache=p}}),PE=Ne({"node_modules/angular-html-parser/lib/compiler/src/util.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=/-+([a-z0-9])/g;function p(y){return y.replace(A,function(){for(var L=arguments.length,I=new Array(L),q=0;q<L;q++)I[q]=arguments[q];return I[1].toUpperCase()})}m.dashCaseToCamelCase=p;function b(y,L){return f(y,":",L)}m.splitAtColon=b;function D(y,L){return f(y,".",L)}m.splitAtPeriod=D;function f(y,L,I){let q=y.indexOf(L);return q==-1?I:[y.slice(0,q).trim(),y.slice(q+1).trim()]}function d(y,L,I){return Array.isArray(y)?L.visitArray(y,I):$(y)?L.visitStringMap(y,I):y==null||typeof y=="string"||typeof y=="number"||typeof y=="boolean"?L.visitPrimitive(y,I):L.visitOther(y,I)}m.visitValue=d;function h(y){return y!=null}m.isDefined=h;function E(y){return y===void 0?null:y}m.noUndefined=E;var x=class{visitArray(y,L){return y.map(I=>d(I,this,L))}visitStringMap(y,L){let I={};return Object.keys(y).forEach(q=>{I[q]=d(y[q],this,L)}),I}visitPrimitive(y,L){return y}visitOther(y,L){return y}};m.ValueTransformer=x,m.SyncAsync={assertSync:y=>{if(te(y))throw new Error("Illegal state: value cannot be a promise");return y},then:(y,L)=>te(y)?y.then(L):L(y),all:y=>y.some(te)?Promise.all(y):y};function B(y){throw new Error(`Internal Error: ${y}`)}m.error=B;function T(y,L){let I=Error(y);return I[P]=!0,L&&(I[C]=L),I}m.syntaxError=T;var P="ngSyntaxError",C="ngParseErrors";function w(y){return y[P]}m.isSyntaxError=w;function j(y){return y[C]||[]}m.getParseErrors=j;function X(y){return y.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}m.escapeRegExp=X;var ne=Object.getPrototypeOf({});function $(y){return typeof y=="object"&&y!==null&&Object.getPrototypeOf(y)===ne}function K(y){let L="";for(let I=0;I<y.length;I++){let q=y.charCodeAt(I);if(q>=55296&&q<=56319&&y.length>I+1){let U=y.charCodeAt(I+1);U>=56320&&U<=57343&&(I++,q=(q-55296<<10)+U-56320+65536)}q<=127?L+=String.fromCharCode(q):q<=2047?L+=String.fromCharCode(q>>6&31|192,q&63|128):q<=65535?L+=String.fromCharCode(q>>12|224,q>>6&63|128,q&63|128):q<=2097151&&(L+=String.fromCharCode(q>>18&7|240,q>>12&63|128,q>>6&63|128,q&63|128))}return L}m.utf8Encode=K;function G(y){if(typeof y=="string")return y;if(y instanceof Array)return"["+y.map(G).join(", ")+"]";if(y==null)return""+y;if(y.overriddenName)return`${y.overriddenName}`;if(y.name)return`${y.name}`;if(!y.toString)return"object";let L=y.toString();if(L==null)return""+L;let I=L.indexOf(`
248
+ `);return I===-1?L:L.substring(0,I)}m.stringify=G;function re(y){return typeof y=="function"&&y.hasOwnProperty("__forward_ref__")?y():y}m.resolveForwardRef=re;function te(y){return!!y&&typeof y.then=="function"}m.isPromise=te;var De=class{constructor(y){this.full=y;let L=y.split(".");this.major=L[0],this.minor=L[1],this.patch=L.slice(2).join(".")}};m.Version=De;var N=typeof window<"u"&&window,J=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,F=typeof globalThis<"u"&&globalThis,R=F||N||J;m.global=R}}),BE=Ne({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=kE(),p=PE(),b=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function D(I){return I.replace(/\W/g,"_")}m.sanitizeIdentifier=D;var f=0;function d(I){if(!I||!I.reference)return null;let q=I.reference;if(q instanceof A.StaticSymbol)return q.name;if(q.__anonymousType)return q.__anonymousType;let U=p.stringify(q);return U.indexOf("(")>=0?(U=`anonymous_${f++}`,q.__anonymousType=U):U=D(U),U}m.identifierName=d;function h(I){let q=I.reference;return q instanceof A.StaticSymbol?q.filePath:`./${p.stringify(q)}`}m.identifierModuleUrl=h;function E(I,q){return`View_${d({reference:I})}_${q}`}m.viewClassName=E;function x(I){return`RenderType_${d({reference:I})}`}m.rendererTypeName=x;function B(I){return`HostView_${d({reference:I})}`}m.hostViewClassName=B;function T(I){return`${d({reference:I})}NgFactory`}m.componentFactoryName=T;var P;(function(I){I[I.Pipe=0]="Pipe",I[I.Directive=1]="Directive",I[I.NgModule=2]="NgModule",I[I.Injectable=3]="Injectable"})(P=m.CompileSummaryKind||(m.CompileSummaryKind={}));function C(I){return I.value!=null?D(I.value):d(I.identifier)}m.tokenName=C;function w(I){return I.identifier!=null?I.identifier.reference:I.value}m.tokenReference=w;var j=class{constructor(){let{moduleUrl:I,styles:q,styleUrls:U}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=I||null,this.styles=te(q),this.styleUrls=te(U)}};m.CompileStylesheetMetadata=j;var X=class{constructor(I){let{encapsulation:q,template:U,templateUrl:z,htmlAst:ie,styles:ce,styleUrls:ge,externalStylesheets:fe,animations:_e,ngContentSelectors:se,interpolation:Ue,isInline:me,preserveWhitespaces:ue}=I;if(this.encapsulation=q,this.template=U,this.templateUrl=z,this.htmlAst=ie,this.styles=te(ce),this.styleUrls=te(ge),this.externalStylesheets=te(fe),this.animations=_e?N(_e):[],this.ngContentSelectors=se||[],Ue&&Ue.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=Ue,this.isInline=me,this.preserveWhitespaces=ue}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};m.CompileTemplateMetadata=X;var ne=class{static create(I){let{isHost:q,type:U,isComponent:z,selector:ie,exportAs:ce,changeDetection:ge,inputs:fe,outputs:_e,host:se,providers:Ue,viewProviders:me,queries:ue,guards:Ve,viewQueries:tt,entryComponents:Ge,template:dt,componentViewType:be,rendererType:Me,componentFactory:ct}=I,ft={},Yt={},Re={};se!=null&&Object.keys(se).forEach(Qe=>{let bt=se[Qe],Lt=Qe.match(b);Lt===null?Re[Qe]=bt:Lt[1]!=null?Yt[Lt[1]]=bt:Lt[2]!=null&&(ft[Lt[2]]=bt)});let Se={};fe!=null&&fe.forEach(Qe=>{let bt=p.splitAtColon(Qe,[Qe,Qe]);Se[bt[0]]=bt[1]});let Je={};return _e!=null&&_e.forEach(Qe=>{let bt=p.splitAtColon(Qe,[Qe,Qe]);Je[bt[0]]=bt[1]}),new ne({isHost:q,type:U,isComponent:!!z,selector:ie,exportAs:ce,changeDetection:ge,inputs:Se,outputs:Je,hostListeners:ft,hostProperties:Yt,hostAttributes:Re,providers:Ue,viewProviders:me,queries:ue,guards:Ve,viewQueries:tt,entryComponents:Ge,template:dt,componentViewType:be,rendererType:Me,componentFactory:ct})}constructor(I){let{isHost:q,type:U,isComponent:z,selector:ie,exportAs:ce,changeDetection:ge,inputs:fe,outputs:_e,hostListeners:se,hostProperties:Ue,hostAttributes:me,providers:ue,viewProviders:Ve,queries:tt,guards:Ge,viewQueries:dt,entryComponents:be,template:Me,componentViewType:ct,rendererType:ft,componentFactory:Yt}=I;this.isHost=!!q,this.type=U,this.isComponent=z,this.selector=ie,this.exportAs=ce,this.changeDetection=ge,this.inputs=fe,this.outputs=_e,this.hostListeners=se,this.hostProperties=Ue,this.hostAttributes=me,this.providers=te(ue),this.viewProviders=te(Ve),this.queries=te(tt),this.guards=Ge,this.viewQueries=te(dt),this.entryComponents=te(be),this.template=Me,this.componentViewType=ct,this.rendererType=ft,this.componentFactory=Yt}toSummary(){return{summaryKind:P.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};m.CompileDirectiveMetadata=ne;var $=class{constructor(I){let{type:q,name:U,pure:z}=I;this.type=q,this.name=U,this.pure=!!z}toSummary(){return{summaryKind:P.Pipe,type:this.type,name:this.name,pure:this.pure}}};m.CompilePipeMetadata=$;var K=class{};m.CompileShallowModuleMetadata=K;var G=class{constructor(I){let{type:q,providers:U,declaredDirectives:z,exportedDirectives:ie,declaredPipes:ce,exportedPipes:ge,entryComponents:fe,bootstrapComponents:_e,importedModules:se,exportedModules:Ue,schemas:me,transitiveModule:ue,id:Ve}=I;this.type=q||null,this.declaredDirectives=te(z),this.exportedDirectives=te(ie),this.declaredPipes=te(ce),this.exportedPipes=te(ge),this.providers=te(U),this.entryComponents=te(fe),this.bootstrapComponents=te(_e),this.importedModules=te(se),this.exportedModules=te(Ue),this.schemas=te(me),this.id=Ve||null,this.transitiveModule=ue||null}toSummary(){let I=this.transitiveModule;return{summaryKind:P.NgModule,type:this.type,entryComponents:I.entryComponents,providers:I.providers,modules:I.modules,exportedDirectives:I.exportedDirectives,exportedPipes:I.exportedPipes}}};m.CompileNgModuleMetadata=G;var re=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(I,q){this.providers.push({provider:I,module:q})}addDirective(I){this.directivesSet.has(I.reference)||(this.directivesSet.add(I.reference),this.directives.push(I))}addExportedDirective(I){this.exportedDirectivesSet.has(I.reference)||(this.exportedDirectivesSet.add(I.reference),this.exportedDirectives.push(I))}addPipe(I){this.pipesSet.has(I.reference)||(this.pipesSet.add(I.reference),this.pipes.push(I))}addExportedPipe(I){this.exportedPipesSet.has(I.reference)||(this.exportedPipesSet.add(I.reference),this.exportedPipes.push(I))}addModule(I){this.modulesSet.has(I.reference)||(this.modulesSet.add(I.reference),this.modules.push(I))}addEntryComponent(I){this.entryComponentsSet.has(I.componentType)||(this.entryComponentsSet.add(I.componentType),this.entryComponents.push(I))}};m.TransitiveCompileNgModuleMetadata=re;function te(I){return I||[]}var De=class{constructor(I,q){let{useClass:U,useValue:z,useExisting:ie,useFactory:ce,deps:ge,multi:fe}=q;this.token=I,this.useClass=U||null,this.useValue=z,this.useExisting=ie,this.useFactory=ce||null,this.dependencies=ge||null,this.multi=!!fe}};m.ProviderMeta=De;function N(I){return I.reduce((q,U)=>{let z=Array.isArray(U)?N(U):U;return q.concat(z)},[])}m.flatten=N;function J(I){return I.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function F(I,q,U){let z;return U.isInline?q.type.reference instanceof A.StaticSymbol?z=`${q.type.reference.filePath}.${q.type.reference.name}.html`:z=`${d(I)}/${d(q.type)}.html`:z=U.templateUrl,q.type.reference instanceof A.StaticSymbol?z:J(z)}m.templateSourceUrl=F;function R(I,q){let U=I.moduleUrl.split(/\/\\/g),z=U[U.length-1];return J(`css/${q}${z}.ngstyle.js`)}m.sharedStylesheetJitUrl=R;function y(I){return J(`${d(I.type)}/module.ngfactory.js`)}m.ngModuleJitUrl=y;function L(I,q){return J(`${d(I)}/${d(q.type)}.ngfactory.js`)}m.templateJitUrl=L}}),ME=Ne({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(m){je(),Object.defineProperty(m,"__esModule",{value:!0});var A=LE(),p=BE(),b=class{constructor(B,T,P,C){this.file=B,this.offset=T,this.line=P,this.col=C}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(B){let T=this.file.content,P=T.length,C=this.offset,w=this.line,j=this.col;for(;C>0&&B<0;)if(C--,B++,T.charCodeAt(C)==A.$LF){w--;let X=T.substr(0,C-1).lastIndexOf(String.fromCharCode(A.$LF));j=X>0?C-X:C}else j--;for(;C<P&&B>0;){let X=T.charCodeAt(C);C++,B--,X==A.$LF?(w++,j=0):j++}return new b(this.file,C,w,j)}getContext(B,T){let P=this.file.content,C=this.offset;if(C!=null){C>P.length-1&&(C=P.length-1);let w=C,j=0,X=0;for(;j<B&&C>0&&(C--,j++,!(P[C]==`
249
+ `&&++X==T)););for(j=0,X=0;j<B&&w<P.length-1&&(w++,j++,!(P[w]==`
250
+ `&&++X==T)););return{before:P.substring(C,this.offset),after:P.substring(this.offset,w+1)}}return null}};m.ParseLocation=b;var D=class{constructor(B,T){this.content=B,this.url=T}};m.ParseSourceFile=D;var f=class{constructor(B,T){let P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=B,this.end=T,this.details=P}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};m.ParseSourceSpan=f,m.EMPTY_PARSE_LOCATION=new b(new D("",""),0,0,0),m.EMPTY_SOURCE_SPAN=new f(m.EMPTY_PARSE_LOCATION,m.EMPTY_PARSE_LOCATION);var d;(function(B){B[B.WARNING=0]="WARNING",B[B.ERROR=1]="ERROR"})(d=m.ParseErrorLevel||(m.ParseErrorLevel={}));var h=class{constructor(B,T){let P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d.ERROR;this.span=B,this.msg=T,this.level=P}contextualMessage(){let B=this.span.start.getContext(100,3);return B?`${this.msg} ("${B.before}[${d[this.level]} ->]${B.after}")`:this.msg}toString(){let B=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${B}`}};m.ParseError=h;function E(B,T){let P=p.identifierModuleUrl(T),C=P!=null?`in ${B} ${p.identifierName(T)} in ${P}`:`in ${B} ${p.identifierName(T)}`,w=new D("",C);return new f(new b(w,-1,-1,-1),new b(w,-1,-1,-1))}m.typeSourceSpan=E;function x(B,T,P){let C=`in ${B} ${T} in ${P}`,w=new D("",C);return new f(new b(w,-1,-1,-1),new b(w,-1,-1,-1))}m.r3JitTypeSourceSpan=x}}),IE=Ne({"src/language-html/print-preprocess.js"(m,A){je();var{ParseSourceSpan:p}=ME(),{htmlTrim:b,getLeadingAndTrailingHtmlWhitespace:D,hasHtmlWhitespace:f,canHaveInterpolation:d,getNodeCssStyleDisplay:h,isDanglingSpaceSensitiveNode:E,isIndentationSensitiveNode:x,isLeadingSpaceSensitiveNode:B,isTrailingSpaceSensitiveNode:T,isWhitespaceSensitiveNode:P,isVueScriptTag:C}=ro(),w=[X,ne,K,re,te,J,De,N,F,G,R];function j(y,L){for(let I of w)I(y,L);return y}function X(y){y.walk(L=>{if(L.type==="element"&&L.tagDefinition.ignoreFirstLf&&L.children.length>0&&L.children[0].type==="text"&&L.children[0].value[0]===`
251
+ `){let I=L.children[0];I.value.length===1?L.removeChild(I):I.value=I.value.slice(1)}})}function ne(y){let L=I=>I.type==="element"&&I.prev&&I.prev.type==="ieConditionalStartComment"&&I.prev.sourceSpan.end.offset===I.startSourceSpan.start.offset&&I.firstChild&&I.firstChild.type==="ieConditionalEndComment"&&I.firstChild.sourceSpan.start.offset===I.startSourceSpan.end.offset;y.walk(I=>{if(I.children)for(let q=0;q<I.children.length;q++){let U=I.children[q];if(!L(U))continue;let z=U.prev,ie=U.firstChild;I.removeChild(z),q--;let ce=new p(z.sourceSpan.start,ie.sourceSpan.end),ge=new p(ce.start,U.sourceSpan.end);U.condition=z.condition,U.sourceSpan=ge,U.startSourceSpan=ce,U.removeChild(ie)}})}function $(y,L,I){y.walk(q=>{if(q.children)for(let U=0;U<q.children.length;U++){let z=q.children[U];if(z.type!=="text"&&!L(z))continue;z.type!=="text"&&(z.type="text",z.value=I(z));let ie=z.prev;!ie||ie.type!=="text"||(ie.value+=z.value,ie.sourceSpan=new p(ie.sourceSpan.start,z.sourceSpan.end),q.removeChild(z),U--)}})}function K(y){return $(y,L=>L.type==="cdata",L=>`<![CDATA[${L.value}]]>`)}function G(y){let L=I=>I.type==="element"&&I.attrs.length===0&&I.children.length===1&&I.firstChild.type==="text"&&!f(I.children[0].value)&&!I.firstChild.hasLeadingSpaces&&!I.firstChild.hasTrailingSpaces&&I.isLeadingSpaceSensitive&&!I.hasLeadingSpaces&&I.isTrailingSpaceSensitive&&!I.hasTrailingSpaces&&I.prev&&I.prev.type==="text"&&I.next&&I.next.type==="text";y.walk(I=>{if(I.children)for(let q=0;q<I.children.length;q++){let U=I.children[q];if(!L(U))continue;let z=U.prev,ie=U.next;z.value+=`<${U.rawName}>`+U.firstChild.value+`</${U.rawName}>`+ie.value,z.sourceSpan=new p(z.sourceSpan.start,ie.sourceSpan.end),z.isTrailingSpaceSensitive=ie.isTrailingSpaceSensitive,z.hasTrailingSpaces=ie.hasTrailingSpaces,I.removeChild(U),q--,I.removeChild(ie)}})}function re(y,L){if(L.parser==="html")return;let I=/{{(.+?)}}/s;y.walk(q=>{if(d(q))for(let U of q.children){if(U.type!=="text")continue;let z=U.sourceSpan.start,ie=null,ce=U.value.split(I);for(let ge=0;ge<ce.length;ge++,z=ie){let fe=ce[ge];if(ge%2===0){ie=z.moveBy(fe.length),fe.length>0&&q.insertChildBefore(U,{type:"text",value:fe,sourceSpan:new p(z,ie)});continue}ie=z.moveBy(fe.length+4),q.insertChildBefore(U,{type:"interpolation",sourceSpan:new p(z,ie),children:fe.length===0?[]:[{type:"text",value:fe,sourceSpan:new p(z.moveBy(2),ie.moveBy(-2))}]})}q.removeChild(U)}})}function te(y){y.walk(L=>{if(!L.children)return;if(L.children.length===0||L.children.length===1&&L.children[0].type==="text"&&b(L.children[0].value).length===0){L.hasDanglingSpaces=L.children.length>0,L.children=[];return}let I=P(L),q=x(L);if(!I)for(let U=0;U<L.children.length;U++){let z=L.children[U];if(z.type!=="text")continue;let{leadingWhitespace:ie,text:ce,trailingWhitespace:ge}=D(z.value),fe=z.prev,_e=z.next;ce?(z.value=ce,z.sourceSpan=new p(z.sourceSpan.start.moveBy(ie.length),z.sourceSpan.end.moveBy(-ge.length)),ie&&(fe&&(fe.hasTrailingSpaces=!0),z.hasLeadingSpaces=!0),ge&&(z.hasTrailingSpaces=!0,_e&&(_e.hasLeadingSpaces=!0))):(L.removeChild(z),U--,(ie||ge)&&(fe&&(fe.hasTrailingSpaces=!0),_e&&(_e.hasLeadingSpaces=!0)))}L.isWhitespaceSensitive=I,L.isIndentationSensitive=q})}function De(y){y.walk(L=>{L.isSelfClosing=!L.children||L.type==="element"&&(L.tagDefinition.isVoid||L.startSourceSpan===L.endSourceSpan)})}function N(y,L){y.walk(I=>{I.type==="element"&&(I.hasHtmComponentClosingTag=I.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(L.originalText.slice(I.endSourceSpan.start.offset,I.endSourceSpan.end.offset)))})}function J(y,L){y.walk(I=>{I.cssDisplay=h(I,L)})}function F(y,L){y.walk(I=>{let{children:q}=I;if(q){if(q.length===0){I.isDanglingSpaceSensitive=E(I);return}for(let U of q)U.isLeadingSpaceSensitive=B(U,L),U.isTrailingSpaceSensitive=T(U,L);for(let U=0;U<q.length;U++){let z=q[U];z.isLeadingSpaceSensitive=(U===0||z.prev.isTrailingSpaceSensitive)&&z.isLeadingSpaceSensitive,z.isTrailingSpaceSensitive=(U===q.length-1||z.next.isLeadingSpaceSensitive)&&z.isTrailingSpaceSensitive}}})}function R(y,L){if(L.parser==="vue"){let I=y.children.find(U=>C(U,L));if(!I)return;let{lang:q}=I.attrMap;(q==="ts"||q==="typescript")&&(L.__should_parse_vue_template_with_ts=!0)}}A.exports=j}}),OE=Ne({"src/language-html/pragma.js"(m,A){je();function p(D){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(D)}function b(D){return`<!-- @format -->
252
+
253
+ `+D.replace(/^\s*\n/,"")}A.exports={hasPragma:p,insertPragma:b}}}),cp=Ne({"src/language-html/loc.js"(m,A){je();function p(D){return D.sourceSpan.start.offset}function b(D){return D.sourceSpan.end.offset}A.exports={locStart:p,locEnd:b}}}),Ho=Ne({"src/language-html/print/tag.js"(m,A){je();var p=Uo(),{isNonEmptyArray:b}=ye(),{builders:{indent:D,join:f,line:d,softline:h,hardline:E},utils:{replaceTextEndOfLine:x}}=Nn(),{locStart:B,locEnd:T}=cp(),{isTextLikeNode:P,getLastDescendant:C,isPreLikeNode:w,hasPrettierIgnore:j,shouldPreserveContent:X,isVueSfcBlock:ne}=ro();function $(se,Ue){return[se.isSelfClosing?"":K(se,Ue),G(se,Ue)]}function K(se,Ue){return se.lastChild&&y(se.lastChild)?"":[re(se,Ue),De(se,Ue)]}function G(se,Ue){return(se.next?F(se.next):R(se.parent))?"":[N(se,Ue),te(se,Ue)]}function re(se,Ue){return R(se)?N(se.lastChild,Ue):""}function te(se,Ue){return y(se)?De(se.parent,Ue):L(se)?fe(se.next):""}function De(se,Ue){if(p(!se.isSelfClosing),J(se,Ue))return"";switch(se.type){case"ieConditionalComment":return"<!";case"element":if(se.hasHtmComponentClosingTag)return"<//";default:return`</${se.rawName}`}}function N(se,Ue){if(J(se,Ue))return"";switch(se.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(se.isSelfClosing)return"/>";default:return">"}}function J(se,Ue){return!se.isSelfClosing&&!se.endSourceSpan&&(j(se)||X(se.parent,Ue))}function F(se){return se.prev&&se.prev.type!=="docType"&&!P(se.prev)&&se.isLeadingSpaceSensitive&&!se.hasLeadingSpaces}function R(se){return se.lastChild&&se.lastChild.isTrailingSpaceSensitive&&!se.lastChild.hasTrailingSpaces&&!P(C(se.lastChild))&&!w(se)}function y(se){return!se.next&&!se.hasTrailingSpaces&&se.isTrailingSpaceSensitive&&P(C(se))}function L(se){return se.next&&!P(se.next)&&P(se)&&se.isTrailingSpaceSensitive&&!se.hasTrailingSpaces}function I(se){let Ue=se.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return Ue?Ue[1]?Ue[1].split(/\s+/):!0:!1}function q(se){return!se.prev&&se.isLeadingSpaceSensitive&&!se.hasLeadingSpaces}function U(se,Ue,me){let ue=se.getValue();if(!b(ue.attrs))return ue.isSelfClosing?" ":"";let Ve=ue.prev&&ue.prev.type==="comment"&&I(ue.prev.value),tt=typeof Ve=="boolean"?()=>Ve:Array.isArray(Ve)?ct=>Ve.includes(ct.rawName):()=>!1,Ge=se.map(ct=>{let ft=ct.getValue();return tt(ft)?x(Ue.originalText.slice(B(ft),T(ft))):me()},"attrs"),dt=ue.type==="element"&&ue.fullName==="script"&&ue.attrs.length===1&&ue.attrs[0].fullName==="src"&&ue.children.length===0,be=Ue.singleAttributePerLine&&ue.attrs.length>1&&!ne(ue,Ue)?E:d,Me=[D([dt?" ":d,f(be,Ge)])];return ue.firstChild&&q(ue.firstChild)||ue.isSelfClosing&&R(ue.parent)||dt?Me.push(ue.isSelfClosing?" ":""):Me.push(Ue.bracketSameLine?ue.isSelfClosing?" ":"":ue.isSelfClosing?d:h),Me}function z(se){return se.firstChild&&q(se.firstChild)?"":_e(se)}function ie(se,Ue,me){let ue=se.getValue();return[ce(ue,Ue),U(se,Ue,me),ue.isSelfClosing?"":z(ue)]}function ce(se,Ue){return se.prev&&L(se.prev)?"":[ge(se,Ue),fe(se)]}function ge(se,Ue){return q(se)?_e(se.parent):F(se)?N(se.prev,Ue):""}function fe(se){switch(se.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${se.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(se.condition)return`<!--[if ${se.condition}]><!--><${se.rawName}`;default:return`<${se.rawName}`}}function _e(se){switch(p(!se.isSelfClosing),se.type){case"ieConditionalComment":return"]>";case"element":if(se.condition)return"><!--<![endif]-->";default:return">"}}A.exports={printClosingTag:$,printClosingTagStart:K,printClosingTagStartMarker:De,printClosingTagEndMarker:N,printClosingTagSuffix:te,printClosingTagEnd:G,needsToBorrowLastChildClosingTagEndMarker:R,needsToBorrowParentClosingTagStartMarker:y,needsToBorrowPrevClosingTagEndMarker:F,printOpeningTag:ie,printOpeningTagStart:ce,printOpeningTagPrefix:ge,printOpeningTagStartMarker:fe,printOpeningTagEndMarker:_e,needsToBorrowNextOpeningTagStartMarker:L,needsToBorrowParentOpeningTagEndMarker:q}}}),jE=Ne({"node_modules/parse-srcset/src/parse-srcset.js"(m,A){je(),function(p,b){typeof A=="object"&&A.exports?A.exports=b():p.parseSrcset=b()}(m,function(){return function(p,b){var D=b&&b.logger||console;function f(De){return De===" "||De===" "||De===`
254
+ `||De==="\f"||De==="\r"}function d(De){var N,J=De.exec(p.substring(K));if(J)return N=J[0],K+=N.length,N}for(var h=p.length,E=/^[ \t\n\r\u000c]+/,x=/^[, \t\n\r\u000c]+/,B=/^[^ \t\n\r\u000c]+/,T=/[,]+$/,P=/^\d+$/,C=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,w,j,X,ne,$,K=0,G=[];;){if(d(x),K>=h)return G;w=d(B),j=[],w.slice(-1)===","?(w=w.replace(T,""),te()):re()}function re(){for(d(E),X="",ne="in descriptor";;){if($=p.charAt(K),ne==="in descriptor")if(f($))X&&(j.push(X),X="",ne="after descriptor");else if($===","){K+=1,X&&j.push(X),te();return}else if($==="(")X=X+$,ne="in parens";else if($===""){X&&j.push(X),te();return}else X=X+$;else if(ne==="in parens")if($===")")X=X+$,ne="in descriptor";else if($===""){j.push(X),te();return}else X=X+$;else if(ne==="after descriptor"&&!f($))if($===""){te();return}else ne="in descriptor",K-=1;K+=1}}function te(){var De=!1,N,J,F,R,y={},L,I,q,U,z;for(R=0;R<j.length;R++)L=j[R],I=L[L.length-1],q=L.substring(0,L.length-1),U=parseInt(q,10),z=parseFloat(q),P.test(q)&&I==="w"?((N||J)&&(De=!0),U===0?De=!0:N=U):C.test(q)&&I==="x"?((N||J||F)&&(De=!0),z<0?De=!0:J=z):P.test(q)&&I==="h"?((F||J)&&(De=!0),U===0?De=!0:F=U):De=!0;De?D&&D.error&&D.error("Invalid srcset descriptor found in '"+p+"' at '"+L+"'."):(y.url=w,N&&(y.w=N),J&&(y.d=J),F&&(y.h=F),G.push(y))}}})}}),RE=Ne({"src/language-html/syntax-attribute.js"(m,A){je();var p=jE(),{builders:{ifBreak:b,join:D,line:f}}=Nn();function d(E){let x=p(E,{logger:{error(re){throw new Error(re)}}}),B=x.some(re=>{let{w:te}=re;return te}),T=x.some(re=>{let{h:te}=re;return te}),P=x.some(re=>{let{d:te}=re;return te});if(B+T+P>1)throw new Error("Mixed descriptor in srcset is not supported");let C=B?"w":T?"h":"d",w=B?"w":T?"h":"x",j=re=>Math.max(...re),X=x.map(re=>re.url),ne=j(X.map(re=>re.length)),$=x.map(re=>re[C]).map(re=>re?re.toString():""),K=$.map(re=>{let te=re.indexOf(".");return te===-1?re.length:te}),G=j(K);return D([",",f],X.map((re,te)=>{let De=[re],N=$[te];if(N){let J=ne-re.length+1,F=G-K[te],R=" ".repeat(J+F);De.push(b(R," "),N+w)}return De}))}function h(E){return E.trim().split(/\s+/).join(" ")}A.exports={printImgSrcset:d,printClassNames:h}}}),$E=Ne({"src/language-html/syntax-vue.js"(m,A){je();var{builders:{group:p}}=Nn();function b(h,E){let{left:x,operator:B,right:T}=D(h);return[p(E(`function _(${x}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",B," ",E(T,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function D(h){let E=/(.*?)\s+(in|of)\s+(.*)/s,x=/,([^,\]}]*)(?:,([^,\]}]*))?$/,B=/^\(|\)$/g,T=h.match(E);if(!T)return;let P={};if(P.for=T[3].trim(),!P.for)return;let C=T[1].trim().replace(B,""),w=C.match(x);w?(P.alias=C.replace(x,""),P.iterator1=w[1].trim(),w[2]&&(P.iterator2=w[2].trim())):P.alias=C;let j=[P.alias,P.iterator1,P.iterator2];if(!j.some((X,ne)=>!X&&(ne===0||j.slice(ne+1).some(Boolean))))return{left:j.filter(Boolean).join(","),operator:T[2],right:P.for}}function f(h,E){return E(`function _(${h}) {}`,{parser:"babel",__isVueBindings:!0})}function d(h){let E=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,x=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,B=h.trim();return E.test(B)||x.test(B)}A.exports={isVueEventBindingExpression:d,printVueFor:b,printVueBindings:f}}}),ng=Ne({"src/language-html/get-node-content.js"(m,A){je();var{needsToBorrowParentClosingTagStartMarker:p,printClosingTagStartMarker:b,needsToBorrowLastChildClosingTagEndMarker:D,printClosingTagEndMarker:f,needsToBorrowParentOpeningTagEndMarker:d,printOpeningTagEndMarker:h}=Ho();function E(x,B){let T=x.startSourceSpan.end.offset;x.firstChild&&d(x.firstChild)&&(T-=h(x).length);let P=x.endSourceSpan.start.offset;return x.lastChild&&p(x.lastChild)?P+=b(x,B).length:D(x)&&(P-=f(x.lastChild,B).length),B.originalText.slice(T,P)}A.exports=E}}),VE=Ne({"src/language-html/embed.js"(m,A){je();var{builders:{breakParent:p,group:b,hardline:D,indent:f,line:d,fill:h,softline:E},utils:{mapDoc:x,replaceTextEndOfLine:B}}=Nn(),T=up(),{printClosingTag:P,printClosingTagSuffix:C,needsToBorrowPrevClosingTagEndMarker:w,printOpeningTagPrefix:j,printOpeningTag:X}=Ho(),{printImgSrcset:ne,printClassNames:$}=RE(),{printVueFor:K,printVueBindings:G,isVueEventBindingExpression:re}=$E(),{isScriptLikeTag:te,isVueNonHtmlBlock:De,inferScriptParser:N,htmlTrimPreserveIndentation:J,dedentString:F,unescapeQuoteEntities:R,isVueSlotAttribute:y,isVueSfcBindingsAttribute:L,getTextValueParts:I}=ro(),q=ng();function U(ie,ce,ge){let fe=Ge=>new RegExp(Ge.join("|")).test(ie.fullName),_e=()=>R(ie.value),se=!1,Ue=(Ge,dt)=>{let be=Ge.type==="NGRoot"?Ge.node.type==="NGMicrosyntax"&&Ge.node.body.length===1&&Ge.node.body[0].type==="NGMicrosyntaxExpression"?Ge.node.body[0].expression:Ge.node:Ge.type==="JsExpressionRoot"?Ge.node:Ge;be&&(be.type==="ObjectExpression"||be.type==="ArrayExpression"||dt.parser==="__vue_expression"&&(be.type==="TemplateLiteral"||be.type==="StringLiteral"))&&(se=!0)},me=Ge=>b(Ge),ue=function(Ge){let dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return b([f([E,Ge]),dt?E:""])},Ve=Ge=>se?me(Ge):ue(Ge),tt=(Ge,dt)=>ce(Ge,Object.assign({__onHtmlBindingRoot:Ue,__embeddedInHtml:!0},dt));if(ie.fullName==="srcset"&&(ie.parent.fullName==="img"||ie.parent.fullName==="source"))return ue(ne(_e()));if(ie.fullName==="class"&&!ge.parentParser){let Ge=_e();if(!Ge.includes("{{"))return $(Ge)}if(ie.fullName==="style"&&!ge.parentParser){let Ge=_e();if(!Ge.includes("{{"))return ue(tt(Ge,{parser:"css",__isHTMLStyleAttribute:!0}))}if(ge.parser==="vue"){if(ie.fullName==="v-for")return K(_e(),tt);if(y(ie)||L(ie,ge))return G(_e(),tt);let Ge=["^@","^v-on:"],dt=["^:","^v-bind:"],be=["^v-"];if(fe(Ge)){let Me=_e(),ct=re(Me)?"__js_expression":ge.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return Ve(tt(Me,{parser:ct}))}if(fe(dt))return Ve(tt(_e(),{parser:"__vue_expression"}));if(fe(be))return Ve(tt(_e(),{parser:"__js_expression"}))}if(ge.parser==="angular"){let Ge=(Re,Se)=>tt(Re,Object.assign(Object.assign({},Se),{},{trailingComma:"none"})),dt=["^\\*"],be=["^\\(.+\\)$","^on-"],Me=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],ct=["^i18n(-.+)?$"];if(fe(be))return Ve(Ge(_e(),{parser:"__ng_action"}));if(fe(Me))return Ve(Ge(_e(),{parser:"__ng_binding"}));if(fe(ct)){let Re=_e().trim();return ue(h(I(ie,Re)),!Re.includes("@@"))}if(fe(dt))return Ve(Ge(_e(),{parser:"__ng_directive"}));let ft=/{{(.+?)}}/s,Yt=_e();if(ft.test(Yt)){let Re=[];for(let[Se,Je]of Yt.split(ft).entries())if(Se%2===0)Re.push(B(Je));else try{Re.push(b(["{{",f([d,Ge(Je,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),d,"}}"]))}catch{Re.push("{{",B(Je),"}}")}return b(Re)}}return null}function z(ie,ce,ge,fe){let _e=ie.getValue();switch(_e.type){case"element":{if(te(_e)||_e.type==="interpolation")return;if(!_e.isSelfClosing&&De(_e,fe)){let se=N(_e,fe);if(!se)return;let Ue=q(_e,fe),me=/^\s*$/.test(Ue),ue="";return me||(ue=ge(J(Ue),{parser:se,__embeddedInHtml:!0},{stripTrailingHardline:!0}),me=ue===""),[j(_e,fe),b(X(ie,fe,ce)),me?"":D,ue,me?"":D,P(_e,fe),C(_e,fe)]}break}case"text":{if(te(_e.parent)){let se=N(_e.parent,fe);if(se){let Ue=se==="markdown"?F(_e.value.replace(/^[^\S\n]*\n/,"")):_e.value,me={parser:se,__embeddedInHtml:!0};if(fe.parser==="html"&&se==="babel"){let ue="script",{attrMap:Ve}=_e.parent;Ve&&(Ve.type==="module"||Ve.type==="text/babel"&&Ve["data-type"]==="module")&&(ue="module"),me.__babelSourceType=ue}return[p,j(_e,fe),ge(Ue,me,{stripTrailingHardline:!0}),C(_e,fe)]}}else if(_e.parent.type==="interpolation"){let se={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return fe.parser==="angular"?(se.parser="__ng_interpolation",se.trailingComma="none"):fe.parser==="vue"?se.parser=fe.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":se.parser="__js_expression",[f([d,ge(_e.value,se,{stripTrailingHardline:!0})]),_e.parent.next&&w(_e.parent.next)?" ":d]}break}case"attribute":{if(!_e.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(fe.originalText.slice(_e.valueSpan.start.offset,_e.valueSpan.end.offset)))return[_e.rawName,"=",_e.value];if(fe.parser==="lwc"&&/^{.*}$/s.test(fe.originalText.slice(_e.valueSpan.start.offset,_e.valueSpan.end.offset)))return[_e.rawName,"=",_e.value];let se=U(_e,(Ue,me)=>ge(Ue,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},me),{stripTrailingHardline:!0}),fe);if(se)return[_e.rawName,'="',b(x(se,Ue=>typeof Ue=="string"?Ue.replace(/"/g,"&quot;"):Ue)),'"'];break}case"front-matter":return T(_e,ge)}}A.exports=z}}),rg=Ne({"src/language-html/print/children.js"(m,A){je();var{builders:{breakParent:p,group:b,ifBreak:D,line:f,softline:d,hardline:h},utils:{replaceTextEndOfLine:E}}=Nn(),{locStart:x,locEnd:B}=cp(),{forceBreakChildren:T,forceNextEmptyLine:P,isTextLikeNode:C,hasPrettierIgnore:w,preferHardlineAsLeadingSpaces:j}=ro(),{printOpeningTagPrefix:X,needsToBorrowNextOpeningTagStartMarker:ne,printOpeningTagStartMarker:$,needsToBorrowPrevClosingTagEndMarker:K,printClosingTagEndMarker:G,printClosingTagSuffix:re,needsToBorrowParentClosingTagStartMarker:te}=Ho();function De(F,R,y){let L=F.getValue();return w(L)?[X(L,R),...E(R.originalText.slice(x(L)+(L.prev&&ne(L.prev)?$(L).length:0),B(L)-(L.next&&K(L.next)?G(L,R).length:0))),re(L,R)]:y()}function N(F,R){return C(F)&&C(R)?F.isTrailingSpaceSensitive?F.hasTrailingSpaces?j(R)?h:f:"":j(R)?h:d:ne(F)&&(w(R)||R.firstChild||R.isSelfClosing||R.type==="element"&&R.attrs.length>0)||F.type==="element"&&F.isSelfClosing&&K(R)?"":!R.isLeadingSpaceSensitive||j(R)||K(R)&&F.lastChild&&te(F.lastChild)&&F.lastChild.lastChild&&te(F.lastChild.lastChild)?h:R.hasLeadingSpaces?f:d}function J(F,R,y){let L=F.getValue();if(T(L))return[p,...F.map(q=>{let U=q.getValue(),z=U.prev?N(U.prev,U):"";return[z?[z,P(U.prev)?h:""]:"",De(q,R,y)]},"children")];let I=L.children.map(()=>Symbol(""));return F.map((q,U)=>{let z=q.getValue();if(C(z)){if(z.prev&&C(z.prev)){let Ue=N(z.prev,z);if(Ue)return P(z.prev)?[h,h,De(q,R,y)]:[Ue,De(q,R,y)]}return De(q,R,y)}let ie=[],ce=[],ge=[],fe=[],_e=z.prev?N(z.prev,z):"",se=z.next?N(z,z.next):"";return _e&&(P(z.prev)?ie.push(h,h):_e===h?ie.push(h):C(z.prev)?ce.push(_e):ce.push(D("",d,{groupId:I[U-1]}))),se&&(P(z)?C(z.next)&&fe.push(h,h):se===h?C(z.next)&&fe.push(h):ge.push(se)),[...ie,b([...ce,b([De(q,R,y),...ge],{id:I[U]})]),...fe]},"children")}A.exports={printChildren:J}}}),qE=Ne({"src/language-html/print/element.js"(m,A){je();var{builders:{breakParent:p,dedentToRoot:b,group:D,ifBreak:f,indentIfBreak:d,indent:h,line:E,softline:x},utils:{replaceTextEndOfLine:B}}=Nn(),T=ng(),{shouldPreserveContent:P,isScriptLikeTag:C,isVueCustomBlock:w,countParents:j,forceBreakContent:X}=ro(),{printOpeningTagPrefix:ne,printOpeningTag:$,printClosingTagSuffix:K,printClosingTag:G,needsToBorrowPrevClosingTagEndMarker:re,needsToBorrowLastChildClosingTagEndMarker:te}=Ho(),{printChildren:De}=rg();function N(J,F,R){let y=J.getValue();if(P(y,F))return[ne(y,F),D($(J,F,R)),...B(T(y,F)),...G(y,F),K(y,F)];let L=y.children.length===1&&y.firstChild.type==="interpolation"&&y.firstChild.isLeadingSpaceSensitive&&!y.firstChild.hasLeadingSpaces&&y.lastChild.isTrailingSpaceSensitive&&!y.lastChild.hasTrailingSpaces,I=Symbol("element-attr-group-id"),q=ce=>D([D($(J,F,R),{id:I}),ce,G(y,F)]),U=ce=>L?d(ce,{groupId:I}):(C(y)||w(y,F))&&y.parent.type==="root"&&F.parser==="vue"&&!F.vueIndentScriptAndStyle?ce:h(ce),z=()=>L?f(x,"",{groupId:I}):y.firstChild.hasLeadingSpaces&&y.firstChild.isLeadingSpaceSensitive?E:y.firstChild.type==="text"&&y.isWhitespaceSensitive&&y.isIndentationSensitive?b(x):x,ie=()=>(y.next?re(y.next):te(y.parent))?y.lastChild.hasTrailingSpaces&&y.lastChild.isTrailingSpaceSensitive?" ":"":L?f(x,"",{groupId:I}):y.lastChild.hasTrailingSpaces&&y.lastChild.isTrailingSpaceSensitive?E:(y.lastChild.type==="comment"||y.lastChild.type==="text"&&y.isWhitespaceSensitive&&y.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${F.tabWidth*j(J,ce=>ce.parent&&ce.parent.type!=="root")}}$`).test(y.lastChild.value)?"":x;return y.children.length===0?q(y.hasDanglingSpaces&&y.isDanglingSpaceSensitive?E:""):q([X(y)?p:"",U([z(),De(J,F,R)]),ie()])}A.exports={printElement:N}}}),UE=Ne({"src/language-html/printer-html.js"(m,A){je();var{builders:{fill:p,group:b,hardline:D,literalline:f},utils:{cleanDoc:d,getDocParts:h,isConcat:E,replaceTextEndOfLine:x}}=Nn(),B=NE(),{countChars:T,unescapeQuoteEntities:P,getTextValueParts:C}=ro(),w=IE(),{insertPragma:j}=OE(),{locStart:X,locEnd:ne}=cp(),$=VE(),{printClosingTagSuffix:K,printClosingTagEnd:G,printOpeningTagPrefix:re,printOpeningTagStart:te}=Ho(),{printElement:De}=qE(),{printChildren:N}=rg();function J(F,R,y){let L=F.getValue();switch(L.type){case"front-matter":return x(L.raw);case"root":return R.__onHtmlRoot&&R.__onHtmlRoot(L),[b(N(F,R,y)),D];case"element":case"ieConditionalComment":return De(F,R,y);case"ieConditionalStartComment":case"ieConditionalEndComment":return[te(L),G(L)];case"interpolation":return[te(L,R),...F.map(y,"children"),G(L,R)];case"text":{if(L.parent.type==="interpolation"){let q=/\n[^\S\n]*$/,U=q.test(L.value),z=U?L.value.replace(q,""):L.value;return[...x(z),U?D:""]}let I=d([re(L,R),...C(L),K(L,R)]);return E(I)||I.type==="fill"?p(h(I)):I}case"docType":return[b([te(L,R)," ",L.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),G(L,R)];case"comment":return[re(L,R),...x(R.originalText.slice(X(L),ne(L)),f),K(L,R)];case"attribute":{if(L.value===null)return L.rawName;let I=P(L.value),q=T(I,"'"),U=T(I,'"'),z=q<U?"'":'"';return[L.rawName,"=",z,...x(z==='"'?I.replace(/"/g,"&quot;"):I.replace(/'/g,"&apos;")),z]}default:throw new Error(`Unexpected node type ${L.type}`)}}A.exports={preprocess:w,print:J,insertPragma:j,massageAstNode:B,embed:$}}}),WE=Ne({"src/language-html/options.js"(m,A){je();var p=no(),b="HTML";A.exports={bracketSameLine:p.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:b,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:p.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:b,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),GE=Ne({"src/language-html/parsers.js"(){je()}}),fp=Ne({"node_modules/linguist-languages/data/HTML.json"(m,A){A.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),JE=Ne({"node_modules/linguist-languages/data/Vue.json"(m,A){A.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),YE=Ne({"src/language-html/index.js"(m,A){je();var p=sa(),b=UE(),D=WE(),f=GE(),d=[p(fp(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),p(fp(),E=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...E.extensions,".mjml"]})),p(fp(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),p(JE(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],h={html:b};A.exports={languages:d,printers:h,options:D,parsers:f}}}),HE=Ne({"src/language-yaml/pragma.js"(m,A){je();function p(f){return/^\s*@(?:prettier|format)\s*$/.test(f)}function b(f){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(f)}function D(f){return`# @format
255
+
256
+ ${f}`}A.exports={isPragma:p,hasPragma:b,insertPragma:D}}}),zE=Ne({"src/language-yaml/loc.js"(m,A){je();function p(D){return D.position.start.offset}function b(D){return D.position.end.offset}A.exports={locStart:p,locEnd:b}}}),QE=Ne({"src/language-yaml/embed.js"(m,A){je();function p(b,D,f,d){if(b.getValue().type==="root"&&d.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(d.filepath))return f(d.originalText,Object.assign(Object.assign({},d),{},{parser:"json"}))}A.exports=p}}),io=Ne({"src/language-yaml/utils.js"(m,A){je();var{getLast:p,isNonEmptyArray:b}=ye();function D(N,J){let F=0,R=N.stack.length-1;for(let y=0;y<R;y++){let L=N.stack[y];f(L)&&J(L)&&F++}return F}function f(N,J){return N&&typeof N.type=="string"&&(!J||J.includes(N.type))}function d(N,J,F){return J("children"in N?Object.assign(Object.assign({},N),{},{children:N.children.map(R=>d(R,J,N))}):N,F)}function h(N,J,F){Object.defineProperty(N,J,{get:F,enumerable:!1})}function E(N,J){let F=0,R=J.length;for(let y=N.position.end.offset-1;y<R;y++){let L=J[y];if(L===`
257
+ `&&F++,F===1&&/\S/.test(L))return!1;if(F===2)return!0}return!1}function x(N){switch(N.getValue().type){case"tag":case"anchor":case"comment":return!1}let J=N.stack.length;for(let F=1;F<J;F++){let R=N.stack[F],y=N.stack[F-1];if(Array.isArray(y)&&typeof R=="number"&&R!==y.length-1)return!1}return!0}function B(N){return b(N.children)?B(p(N.children)):N}function T(N){return N.value.trim()==="prettier-ignore"}function P(N){let J=N.getValue();if(J.type==="documentBody"){let F=N.getParentNode();return K(F.head)&&T(p(F.head.endComments))}return j(J)&&T(p(J.leadingComments))}function C(N){return!b(N.children)&&!w(N)}function w(N){return j(N)||X(N)||ne(N)||$(N)||K(N)}function j(N){return b(N==null?void 0:N.leadingComments)}function X(N){return b(N==null?void 0:N.middleComments)}function ne(N){return N==null?void 0:N.indicatorComment}function $(N){return N==null?void 0:N.trailingComment}function K(N){return b(N==null?void 0:N.endComments)}function G(N){let J=[],F;for(let R of N.split(/( +)/))R!==" "?F===" "?J.push(R):J.push((J.pop()||"")+R):F===void 0&&J.unshift(""),F=R;return F===" "&&J.push((J.pop()||"")+" "),J[0]===""&&(J.shift(),J.unshift(" "+(J.shift()||""))),J}function re(N,J,F){let R=J.split(`
258
+ `).map((y,L,I)=>L===0&&L===I.length-1?y:L!==0&&L!==I.length-1?y.trim():L===0?y.trimEnd():y.trimStart());return F.proseWrap==="preserve"?R.map(y=>y.length===0?[]:[y]):R.map(y=>y.length===0?[]:G(y)).reduce((y,L,I)=>I!==0&&R[I-1].length>0&&L.length>0&&!(N==="quoteDouble"&&p(p(y)).endsWith("\\"))?[...y.slice(0,-1),[...p(y),...L]]:[...y,L],[]).map(y=>F.proseWrap==="never"?[y.join(" ")]:y)}function te(N,J){let{parentIndent:F,isLastDescendant:R,options:y}=J,L=N.position.start.line===N.position.end.line?"":y.originalText.slice(N.position.start.offset,N.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],I;if(N.indent===null){let z=L.match(/^(?<leadingSpace> *)[^\n\r ]/m);I=z?z.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else I=N.indent-1+F;let q=L.split(`
259
+ `).map(z=>z.slice(I));if(y.proseWrap==="preserve"||N.type==="blockLiteral")return U(q.map(z=>z.length===0?[]:[z]));return U(q.map(z=>z.length===0?[]:G(z)).reduce((z,ie,ce)=>ce!==0&&q[ce-1].length>0&&ie.length>0&&!/^\s/.test(ie[0])&&!/^\s|\s$/.test(p(z))?[...z.slice(0,-1),[...p(z),...ie]]:[...z,ie],[]).map(z=>z.reduce((ie,ce)=>ie.length>0&&/\s$/.test(p(ie))?[...ie.slice(0,-1),p(ie)+" "+ce]:[...ie,ce],[])).map(z=>y.proseWrap==="never"?[z.join(" ")]:z));function U(z){if(N.chomping==="keep")return p(z).length===0?z.slice(0,-1):z;let ie=0;for(let ce=z.length-1;ce>=0&&z[ce].length===0;ce--)ie++;return ie===0?z:ie>=2&&!R?z.slice(0,-(ie-1)):z.slice(0,-ie)}}function De(N){if(!N)return!0;switch(N.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}A.exports={getLast:p,getAncestorCount:D,isNode:f,isEmptyNode:C,isInlineNode:De,mapNode:d,defineShortcut:h,isNextLineEmpty:E,isLastDescendantNode:x,getBlockValueLineContents:te,getFlowScalarLineContents:re,getLastDescendantNode:B,hasPrettierIgnore:P,hasLeadingComments:j,hasMiddleComments:X,hasIndicatorComment:ne,hasTrailingComment:$,hasEndComments:K}}}),XE=Ne({"src/language-yaml/print-preprocess.js"(m,A){je();var{defineShortcut:p,mapNode:b}=io();function D(d){return b(d,f)}function f(d){switch(d.type){case"document":p(d,"head",()=>d.children[0]),p(d,"body",()=>d.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":p(d,"content",()=>d.children[0]);break;case"mappingItem":case"flowMappingItem":p(d,"key",()=>d.children[0]),p(d,"value",()=>d.children[1]);break}return d}A.exports=D}}),_l=Ne({"src/language-yaml/print/misc.js"(m,A){je();var{builders:{softline:p,align:b}}=Nn(),{hasEndComments:D,isNextLineEmpty:f,isNode:d}=io(),h=new WeakMap;function E(T,P){let C=T.getValue(),w=T.stack[0],j;return h.has(w)?j=h.get(w):(j=new Set,h.set(w,j)),!j.has(C.position.end.line)&&(j.add(C.position.end.line),f(C,P)&&!x(T.getParentNode()))?p:""}function x(T){return D(T)&&!d(T,["documentHead","documentBody","flowMapping","flowSequence"])}function B(T,P){return b(" ".repeat(T),P)}A.exports={alignWithSpaces:B,shouldPrintEndComments:x,printNextEmptyLine:E}}}),KE=Ne({"src/language-yaml/print/flow-mapping-sequence.js"(m,A){je();var{builders:{ifBreak:p,line:b,softline:D,hardline:f,join:d}}=Nn(),{isEmptyNode:h,getLast:E,hasEndComments:x}=io(),{printNextEmptyLine:B,alignWithSpaces:T}=_l();function P(w,j,X){let ne=w.getValue(),$=ne.type==="flowMapping",K=$?"{":"[",G=$?"}":"]",re=D;$&&ne.children.length>0&&X.bracketSpacing&&(re=b);let te=E(ne.children),De=te&&te.type==="flowMappingItem"&&h(te.key)&&h(te.value);return[K,T(X.tabWidth,[re,C(w,j,X),X.trailingComma==="none"?"":p(","),x(ne)?[f,d(f,w.map(j,"endComments"))]:""]),De?"":re,G]}function C(w,j,X){let ne=w.getValue();return w.map(($,K)=>[j(),K===ne.children.length-1?"":[",",b,ne.children[K].position.start.line!==ne.children[K+1].position.start.line?B($,X.originalText):""]],"children")}A.exports={printFlowMapping:P,printFlowSequence:P}}}),ZE=Ne({"src/language-yaml/print/mapping-item.js"(m,A){je();var{builders:{conditionalGroup:p,group:b,hardline:D,ifBreak:f,join:d,line:h}}=Nn(),{hasLeadingComments:E,hasMiddleComments:x,hasTrailingComment:B,hasEndComments:T,isNode:P,isEmptyNode:C,isInlineNode:w}=io(),{alignWithSpaces:j}=_l();function X(G,re,te,De,N){let{key:J,value:F}=G,R=C(J),y=C(F);if(R&&y)return": ";let L=De("key"),I=$(G)?" ":"";if(y)return G.type==="flowMappingItem"&&re.type==="flowMapping"?L:G.type==="mappingItem"&&ne(J.content,N)&&!B(J.content)&&(!re.tag||re.tag.value!=="tag:yaml.org,2002:set")?[L,I,":"]:["? ",j(2,L)];let q=De("value");if(R)return[": ",j(2,q)];if(E(F)||!w(J.content))return["? ",j(2,L),D,d("",te.map(De,"value","leadingComments").map(fe=>[fe,D])),": ",j(2,q)];if(K(J.content)&&!E(J.content)&&!x(J.content)&&!B(J.content)&&!T(J)&&!E(F.content)&&!x(F.content)&&!T(F)&&ne(F.content,N))return[L,I,": ",q];let U=Symbol("mappingKey"),z=b([f("? "),b(j(2,L),{id:U})]),ie=[D,": ",j(2,q)],ce=[I,":"];E(F.content)||T(F)&&F.content&&!P(F.content,["mapping","sequence"])||re.type==="mapping"&&B(J.content)&&w(F.content)||P(F.content,["mapping","sequence"])&&F.content.tag===null&&F.content.anchor===null?ce.push(D):F.content&&ce.push(h),ce.push(q);let ge=j(N.tabWidth,ce);return ne(J.content,N)&&!E(J.content)&&!x(J.content)&&!T(J)?p([[L,ge]]):p([[z,f(ie,ge,{groupId:U})]])}function ne(G,re){if(!G)return!0;switch(G.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(re.proseWrap==="preserve")return G.position.start.line===G.position.end.line;if(/\\$/m.test(re.originalText.slice(G.position.start.offset,G.position.end.offset)))return!1;switch(re.proseWrap){case"never":return!G.value.includes(`
260
+ `);case"always":return!/[\n ]/.test(G.value);default:return!1}}function $(G){return G.key.content&&G.key.content.type==="alias"}function K(G){if(!G)return!0;switch(G.type){case"plain":case"quoteDouble":case"quoteSingle":return G.position.start.line===G.position.end.line;case"alias":return!0;default:return!1}}A.exports=X}}),eA=Ne({"src/language-yaml/print/block.js"(m,A){je();var{builders:{dedent:p,dedentToRoot:b,fill:D,hardline:f,join:d,line:h,literalline:E,markAsRoot:x},utils:{getDocParts:B}}=Nn(),{getAncestorCount:T,getBlockValueLineContents:P,hasIndicatorComment:C,isLastDescendantNode:w,isNode:j}=io(),{alignWithSpaces:X}=_l();function ne($,K,G){let re=$.getValue(),te=T($,R=>j(R,["sequence","mapping"])),De=w($),N=[re.type==="blockFolded"?">":"|"];re.indent!==null&&N.push(re.indent.toString()),re.chomping!=="clip"&&N.push(re.chomping==="keep"?"+":"-"),C(re)&&N.push(" ",K("indicatorComment"));let J=P(re,{parentIndent:te,isLastDescendant:De,options:G}),F=[];for(let[R,y]of J.entries())R===0&&F.push(f),F.push(D(B(d(h,y)))),R!==J.length-1?F.push(y.length===0?f:x(E)):re.chomping==="keep"&&De&&F.push(b(y.length===0?f:E));return re.indent===null?N.push(p(X(G.tabWidth,F))):N.push(b(X(re.indent-1+te,F))),N}A.exports=ne}}),tA=Ne({"src/language-yaml/printer-yaml.js"(m,A){je();var{builders:{breakParent:p,fill:b,group:D,hardline:f,join:d,line:h,lineSuffix:E,literalline:x},utils:{getDocParts:B,replaceTextEndOfLine:T}}=Nn(),{isPreviousLineEmpty:P}=ye(),{insertPragma:C,isPragma:w}=HE(),{locStart:j}=zE(),X=QE(),{getFlowScalarLineContents:ne,getLastDescendantNode:$,hasLeadingComments:K,hasMiddleComments:G,hasTrailingComment:re,hasEndComments:te,hasPrettierIgnore:De,isLastDescendantNode:N,isNode:J,isInlineNode:F}=io(),R=XE(),{alignWithSpaces:y,printNextEmptyLine:L,shouldPrintEndComments:I}=_l(),{printFlowMapping:q,printFlowSequence:U}=KE(),z=ZE(),ie=eA();function ce(ue,Ve,tt){let Ge=ue.getValue(),dt=[];Ge.type!=="mappingValue"&&K(Ge)&&dt.push([d(f,ue.map(tt,"leadingComments")),f]);let{tag:be,anchor:Me}=Ge;be&&dt.push(tt("tag")),be&&Me&&dt.push(" "),Me&&dt.push(tt("anchor"));let ct="";J(Ge,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!N(ue)&&(ct=L(ue,Ve.originalText)),(be||Me)&&(J(Ge,["sequence","mapping"])&&!G(Ge)?dt.push(f):dt.push(" ")),G(Ge)&&dt.push([Ge.middleComments.length===1?"":f,d(f,ue.map(tt,"middleComments")),f]);let ft=ue.getParentNode();return De(ue)?dt.push(T(Ve.originalText.slice(Ge.position.start.offset,Ge.position.end.offset).trimEnd(),x)):dt.push(D(ge(Ge,ft,ue,Ve,tt))),re(Ge)&&!J(Ge,["document","documentHead"])&&dt.push(E([Ge.type==="mappingValue"&&!Ge.content?"":" ",ft.type==="mappingKey"&&ue.getParentNode(2).type==="mapping"&&F(Ge)?"":p,tt("trailingComment")])),I(Ge)&&dt.push(y(Ge.type==="sequenceItem"?2:0,[f,d(f,ue.map(Yt=>[P(Ve.originalText,Yt.getValue(),j)?f:"",tt()],"endComments"))])),dt.push(ct),dt}function ge(ue,Ve,tt,Ge,dt){switch(ue.type){case"root":{let{children:be}=ue,Me=[];tt.each((ft,Yt)=>{let Re=be[Yt],Se=be[Yt+1];Yt!==0&&Me.push(f),Me.push(dt()),_e(Re,Se)?(Me.push(f,"..."),re(Re)&&Me.push(" ",dt("trailingComment"))):Se&&!re(Se.head)&&Me.push(f,"---")},"children");let ct=$(ue);return(!J(ct,["blockLiteral","blockFolded"])||ct.chomping!=="keep")&&Me.push(f),Me}case"document":{let be=Ve.children[tt.getName()+1],Me=[];return se(ue,be,Ve,Ge)==="head"&&((ue.head.children.length>0||ue.head.endComments.length>0)&&Me.push(dt("head")),re(ue.head)?Me.push(["---"," ",dt(["head","trailingComment"])]):Me.push("---")),fe(ue)&&Me.push(dt("body")),d(f,Me)}case"documentHead":return d(f,[...tt.map(dt,"children"),...tt.map(dt,"endComments")]);case"documentBody":{let{children:be,endComments:Me}=ue,ct="";if(be.length>0&&Me.length>0){let ft=$(ue);J(ft,["blockFolded","blockLiteral"])?ft.chomping!=="keep"&&(ct=[f,f]):ct=f}return[d(f,tt.map(dt,"children")),ct,d(f,tt.map(dt,"endComments"))]}case"directive":return["%",d(" ",[ue.name,...ue.parameters])];case"comment":return["#",ue.value];case"alias":return["*",ue.value];case"tag":return Ge.originalText.slice(ue.position.start.offset,ue.position.end.offset);case"anchor":return["&",ue.value];case"plain":return Ue(ue.type,Ge.originalText.slice(ue.position.start.offset,ue.position.end.offset),Ge);case"quoteDouble":case"quoteSingle":{let be="'",Me='"',ct=Ge.originalText.slice(ue.position.start.offset+1,ue.position.end.offset-1);if(ue.type==="quoteSingle"&&ct.includes("\\")||ue.type==="quoteDouble"&&/\\[^"]/.test(ct)){let Yt=ue.type==="quoteDouble"?Me:be;return[Yt,Ue(ue.type,ct,Ge),Yt]}if(ct.includes(Me))return[be,Ue(ue.type,ue.type==="quoteDouble"?ct.replace(/\\"/g,Me).replace(/'/g,be.repeat(2)):ct,Ge),be];if(ct.includes(be))return[Me,Ue(ue.type,ue.type==="quoteSingle"?ct.replace(/''/g,be):ct,Ge),Me];let ft=Ge.singleQuote?be:Me;return[ft,Ue(ue.type,ct,Ge),ft]}case"blockFolded":case"blockLiteral":return ie(tt,dt,Ge);case"mapping":case"sequence":return d(f,tt.map(dt,"children"));case"sequenceItem":return["- ",y(2,ue.content?dt("content"):"")];case"mappingKey":case"mappingValue":return ue.content?dt("content"):"";case"mappingItem":case"flowMappingItem":return z(ue,Ve,tt,dt,Ge);case"flowMapping":return q(tt,dt,Ge);case"flowSequence":return U(tt,dt,Ge);case"flowSequenceItem":return dt("content");default:throw new Error(`Unexpected node type ${ue.type}`)}}function fe(ue){return ue.body.children.length>0||te(ue.body)}function _e(ue,Ve){return re(ue)||Ve&&(Ve.head.children.length>0||te(Ve.head))}function se(ue,Ve,tt,Ge){return tt.children[0]===ue&&/---(?:\s|$)/.test(Ge.originalText.slice(j(ue),j(ue)+4))||ue.head.children.length>0||te(ue.head)||re(ue.head)?"head":_e(ue,Ve)?!1:Ve?"root":!1}function Ue(ue,Ve,tt){let Ge=ne(ue,Ve,tt);return d(f,Ge.map(dt=>b(B(d(h,dt)))))}function me(ue,Ve){if(J(Ve))switch(delete Ve.position,Ve.type){case"comment":if(w(Ve.value))return null;break;case"quoteDouble":case"quoteSingle":Ve.type="quote";break}}A.exports={preprocess:R,embed:X,print:ce,massageAstNode:me,insertPragma:C}}}),nA=Ne({"src/language-yaml/options.js"(m,A){je();var p=no();A.exports={bracketSpacing:p.bracketSpacing,singleQuote:p.singleQuote,proseWrap:p.proseWrap}}}),rA=Ne({"src/language-yaml/parsers.js"(){je()}}),iA=Ne({"node_modules/linguist-languages/data/YAML.json"(m,A){A.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),sA=Ne({"src/language-yaml/index.js"(m,A){je();var p=sa(),b=tA(),D=nA(),f=rA(),d=[p(iA(),h=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...h.filenames.filter(E=>E!=="yarn.lock"),".prettierrc",".stylelintrc",".lintstagedrc"]}))];A.exports={languages:d,printers:{yaml:b},options:D,parsers:f}}}),aA=Ne({"src/languages.js"(m,A){je(),A.exports=[$2(),iE(),pE(),bE(),FE(),YE(),sA()]}});je();var{version:oA}=ri(),so=r2(),{getSupportInfo:uA}=Tt(),lA=i2(),cA=aA(),fA=Nn();function oa(m){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var p=arguments.length,b=new Array(p),D=0;D<p;D++)b[D]=arguments[D];let f=b[A]||{},d=f.plugins||[];return b[A]=Object.assign(Object.assign({},f),{},{plugins:[...cA,...Array.isArray(d)?d:Object.values(d)]}),m(...b)}}var pp=oa(so.formatWithCursor);st.exports={formatWithCursor:pp,format(m,A){return pp(m,A).formatted},check(m,A){let{formatted:p}=pp(m,A);return p===m},doc:fA,getSupportInfo:oa(uA,0),version:oA,util:lA,__debug:{parse:oa(so.parse),formatAST:oa(so.formatAST),formatDoc:oa(so.formatDoc),printToDoc:oa(so.printToDoc),printDocToString:oa(so.printDocToString)}}});return jf()})})(Wm);var YD=Wm.exports,Gm={exports:{}};(function(e,t){(function(n){e.exports=n()})(function(){var n=(i,s)=>()=>(s||i((s={exports:{}}).exports,s),s.exports),r=n((i,s)=>{var a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,v=(Y,g)=>function(){return Y&&(g=(0,Y[u(Y)[0]])(Y=0)),g},c=(Y,g)=>function(){return g||(0,Y[u(Y)[0]])((g={exports:{}}).exports,g),g.exports},_=(Y,g)=>{for(var W in g)a(Y,W,{get:g[W],enumerable:!0})},S=(Y,g,W,xe)=>{if(g&&typeof g=="object"||typeof g=="function")for(let ke of u(g))!l.call(Y,ke)&&ke!==W&&a(Y,ke,{get:()=>g[ke],enumerable:!(xe=o(g,ke))||xe.enumerable});return Y},Q=Y=>S(a({},"__esModule",{value:!0}),Y),Z,M=v({"<define:process>"(){Z={env:{},argv:[]}}}),he=c({"src/common/parser-create-error.js"(Y,g){M();function W(xe,ke){let Pe=new SyntaxError(xe+" ("+ke.start.line+":"+ke.start.column+")");return Pe.loc=ke,Pe}g.exports=W}}),ve=c({"src/language-yaml/pragma.js"(Y,g){M();function W(Pe){return/^\s*@(?:prettier|format)\s*$/.test(Pe)}function xe(Pe){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(Pe)}function ke(Pe){return`# @format
261
+
262
+ ${Pe}`}g.exports={isPragma:W,hasPragma:xe,insertPragma:ke}}}),we=c({"src/language-yaml/loc.js"(Y,g){M();function W(ke){return ke.position.start.offset}function xe(ke){return ke.position.end.offset}g.exports={locStart:W,locEnd:xe}}}),Le={};_(Le,{__assign:()=>zi,__asyncDelegator:()=>Cn,__asyncGenerator:()=>Kt,__asyncValues:()=>On,__await:()=>Pt,__awaiter:()=>ze,__classPrivateFieldGet:()=>Yr,__classPrivateFieldSet:()=>Hi,__createBinding:()=>qe,__decorate:()=>He,__exportStar:()=>Ft,__extends:()=>ae,__generator:()=>_t,__importDefault:()=>Zr,__importStar:()=>Lr,__makeTemplateObject:()=>Pn,__metadata:()=>$e,__param:()=>Et,__read:()=>tn,__rest:()=>Ee,__spread:()=>Dt,__spreadArrays:()=>At,__values:()=>qt});function ae(Y,g){di(Y,g);function W(){this.constructor=Y}Y.prototype=g===null?Object.create(g):(W.prototype=g.prototype,new W)}function Ee(Y,g){var W={};for(var xe in Y)Object.prototype.hasOwnProperty.call(Y,xe)&&g.indexOf(xe)<0&&(W[xe]=Y[xe]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,xe=Object.getOwnPropertySymbols(Y);ke<xe.length;ke++)g.indexOf(xe[ke])<0&&Object.prototype.propertyIsEnumerable.call(Y,xe[ke])&&(W[xe[ke]]=Y[xe[ke]]);return W}function He(Y,g,W,xe){var ke=arguments.length,Pe=ke<3?g:xe===null?xe=Object.getOwnPropertyDescriptor(g,W):xe,Ke;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Pe=Reflect.decorate(Y,g,W,xe);else for(var ht=Y.length-1;ht>=0;ht--)(Ke=Y[ht])&&(Pe=(ke<3?Ke(Pe):ke>3?Ke(g,W,Pe):Ke(g,W))||Pe);return ke>3&&Pe&&Object.defineProperty(g,W,Pe),Pe}function Et(Y,g){return function(W,xe){g(W,xe,Y)}}function $e(Y,g){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(Y,g)}function ze(Y,g,W,xe){function ke(Pe){return Pe instanceof W?Pe:new W(function(Ke){Ke(Pe)})}return new(W||(W=Promise))(function(Pe,Ke){function ht(gt){try{it(xe.next(gt))}catch(Tt){Ke(Tt)}}function $t(gt){try{it(xe.throw(gt))}catch(Tt){Ke(Tt)}}function it(gt){gt.done?Pe(gt.value):ke(gt.value).then(ht,$t)}it((xe=xe.apply(Y,g||[])).next())})}function _t(Y,g){var W={label:0,sent:function(){if(Pe[0]&1)throw Pe[1];return Pe[1]},trys:[],ops:[]},xe,ke,Pe,Ke;return Ke={next:ht(0),throw:ht(1),return:ht(2)},typeof Symbol=="function"&&(Ke[Symbol.iterator]=function(){return this}),Ke;function ht(it){return function(gt){return $t([it,gt])}}function $t(it){if(xe)throw new TypeError("Generator is already executing.");for(;W;)try{if(xe=1,ke&&(Pe=it[0]&2?ke.return:it[0]?ke.throw||((Pe=ke.return)&&Pe.call(ke),0):ke.next)&&!(Pe=Pe.call(ke,it[1])).done)return Pe;switch(ke=0,Pe&&(it=[it[0]&2,Pe.value]),it[0]){case 0:case 1:Pe=it;break;case 4:return W.label++,{value:it[1],done:!1};case 5:W.label++,ke=it[1],it=[0];continue;case 7:it=W.ops.pop(),W.trys.pop();continue;default:if(Pe=W.trys,!(Pe=Pe.length>0&&Pe[Pe.length-1])&&(it[0]===6||it[0]===2)){W=0;continue}if(it[0]===3&&(!Pe||it[1]>Pe[0]&&it[1]<Pe[3])){W.label=it[1];break}if(it[0]===6&&W.label<Pe[1]){W.label=Pe[1],Pe=it;break}if(Pe&&W.label<Pe[2]){W.label=Pe[2],W.ops.push(it);break}Pe[2]&&W.ops.pop(),W.trys.pop();continue}it=g.call(Y,W)}catch(gt){it=[6,gt],ke=0}finally{xe=Pe=0}if(it[0]&5)throw it[1];return{value:it[0]?it[1]:void 0,done:!0}}}function qe(Y,g,W,xe){xe===void 0&&(xe=W),Y[xe]=g[W]}function Ft(Y,g){for(var W in Y)W!=="default"&&!g.hasOwnProperty(W)&&(g[W]=Y[W])}function qt(Y){var g=typeof Symbol=="function"&&Symbol.iterator,W=g&&Y[g],xe=0;if(W)return W.call(Y);if(Y&&typeof Y.length=="number")return{next:function(){return Y&&xe>=Y.length&&(Y=void 0),{value:Y&&Y[xe++],done:!Y}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")}function tn(Y,g){var W=typeof Symbol=="function"&&Y[Symbol.iterator];if(!W)return Y;var xe=W.call(Y),ke,Pe=[],Ke;try{for(;(g===void 0||g-- >0)&&!(ke=xe.next()).done;)Pe.push(ke.value)}catch(ht){Ke={error:ht}}finally{try{ke&&!ke.done&&(W=xe.return)&&W.call(xe)}finally{if(Ke)throw Ke.error}}return Pe}function Dt(){for(var Y=[],g=0;g<arguments.length;g++)Y=Y.concat(tn(arguments[g]));return Y}function At(){for(var Y=0,g=0,W=arguments.length;g<W;g++)Y+=arguments[g].length;for(var xe=Array(Y),ke=0,g=0;g<W;g++)for(var Pe=arguments[g],Ke=0,ht=Pe.length;Ke<ht;Ke++,ke++)xe[ke]=Pe[Ke];return xe}function Pt(Y){return this instanceof Pt?(this.v=Y,this):new Pt(Y)}function Kt(Y,g,W){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var xe=W.apply(Y,g||[]),ke,Pe=[];return ke={},Ke("next"),Ke("throw"),Ke("return"),ke[Symbol.asyncIterator]=function(){return this},ke;function Ke(jt){xe[jt]&&(ke[jt]=function(kt){return new Promise(function(Jt,Gt){Pe.push([jt,kt,Jt,Gt])>1||ht(jt,kt)})})}function ht(jt,kt){try{$t(xe[jt](kt))}catch(Jt){Tt(Pe[0][3],Jt)}}function $t(jt){jt.value instanceof Pt?Promise.resolve(jt.value.v).then(it,gt):Tt(Pe[0][2],jt)}function it(jt){ht("next",jt)}function gt(jt){ht("throw",jt)}function Tt(jt,kt){jt(kt),Pe.shift(),Pe.length&&ht(Pe[0][0],Pe[0][1])}}function Cn(Y){var g,W;return g={},xe("next"),xe("throw",function(ke){throw ke}),xe("return"),g[Symbol.iterator]=function(){return this},g;function xe(ke,Pe){g[ke]=Y[ke]?function(Ke){return(W=!W)?{value:Pt(Y[ke](Ke)),done:ke==="return"}:Pe?Pe(Ke):Ke}:Pe}}function On(Y){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var g=Y[Symbol.asyncIterator],W;return g?g.call(Y):(Y=typeof qt=="function"?qt(Y):Y[Symbol.iterator](),W={},xe("next"),xe("throw"),xe("return"),W[Symbol.asyncIterator]=function(){return this},W);function xe(Pe){W[Pe]=Y[Pe]&&function(Ke){return new Promise(function(ht,$t){Ke=Y[Pe](Ke),ke(ht,$t,Ke.done,Ke.value)})}}function ke(Pe,Ke,ht,$t){Promise.resolve($t).then(function(it){Pe({value:it,done:ht})},Ke)}}function Pn(Y,g){return Object.defineProperty?Object.defineProperty(Y,"raw",{value:g}):Y.raw=g,Y}function Lr(Y){if(Y&&Y.__esModule)return Y;var g={};if(Y!=null)for(var W in Y)Object.hasOwnProperty.call(Y,W)&&(g[W]=Y[W]);return g.default=Y,g}function Zr(Y){return Y&&Y.__esModule?Y:{default:Y}}function Yr(Y,g){if(!g.has(Y))throw new TypeError("attempted to get private field on non-instance");return g.get(Y)}function Hi(Y,g,W){if(!g.has(Y))throw new TypeError("attempted to set private field on non-instance");return g.set(Y,W),W}var di,zi,rr=v({"node_modules/tslib/tslib.es6.js"(){M(),di=function(Y,g){return di=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(W,xe){W.__proto__=xe}||function(W,xe){for(var ke in xe)xe.hasOwnProperty(ke)&&(W[ke]=xe[ke])},di(Y,g)},zi=function(){return zi=Object.assign||function(Y){for(var g,W=1,xe=arguments.length;W<xe;W++){g=arguments[W];for(var ke in g)Object.prototype.hasOwnProperty.call(g,ke)&&(Y[ke]=g[ke])}return Y},zi.apply(this,arguments)}}}),nl=c({"node_modules/yaml-unist-parser/node_modules/lines-and-columns/build/index.js"(Y){M(),Y.__esModule=!0,Y.LinesAndColumns=void 0;var g=`
263
+ `,W="\r",xe=function(){function ke(Pe){this.string=Pe;for(var Ke=[0],ht=0;ht<Pe.length;)switch(Pe[ht]){case g:ht+=g.length,Ke.push(ht);break;case W:ht+=W.length,Pe[ht]===g&&(ht+=g.length),Ke.push(ht);break;default:ht++;break}this.offsets=Ke}return ke.prototype.locationForIndex=function(Pe){if(Pe<0||Pe>this.string.length)return null;for(var Ke=0,ht=this.offsets;ht[Ke+1]<=Pe;)Ke++;var $t=Pe-ht[Ke];return{line:Ke,column:$t}},ke.prototype.indexForLocation=function(Pe){var Ke=Pe.line,ht=Pe.column;return Ke<0||Ke>=this.offsets.length||ht<0||ht>this.lengthOfLine(Ke)?null:this.offsets[Ke]+ht},ke.prototype.lengthOfLine=function(Pe){var Ke=this.offsets[Pe],ht=Pe===this.offsets.length-1?this.string.length:this.offsets[Pe+1];return ht-Ke},ke}();Y.LinesAndColumns=xe,Y.default=xe}}),vf=c({"node_modules/yaml-unist-parser/lib/utils/define-parents.js"(Y){M(),Y.__esModule=!0;function g(W,xe){xe===void 0&&(xe=null),"children"in W&&W.children.forEach(function(ke){return g(ke,W)}),"anchor"in W&&W.anchor&&g(W.anchor,W),"tag"in W&&W.tag&&g(W.tag,W),"leadingComments"in W&&W.leadingComments.forEach(function(ke){return g(ke,W)}),"middleComments"in W&&W.middleComments.forEach(function(ke){return g(ke,W)}),"indicatorComment"in W&&W.indicatorComment&&g(W.indicatorComment,W),"trailingComment"in W&&W.trailingComment&&g(W.trailingComment,W),"endComments"in W&&W.endComments.forEach(function(ke){return g(ke,W)}),Object.defineProperty(W,"_parent",{value:xe,enumerable:!1})}Y.defineParents=g}}),Ga=c({"node_modules/yaml-unist-parser/lib/utils/get-point-text.js"(Y){M(),Y.__esModule=!0;function g(W){return W.line+":"+W.column}Y.getPointText=g}}),Ef=c({"node_modules/yaml-unist-parser/lib/attach.js"(Y){M(),Y.__esModule=!0;var g=vf(),W=Ga();function xe(it){g.defineParents(it);var gt=ke(it),Tt=it.children.slice();it.comments.sort(function(jt,kt){return jt.position.start.offset-kt.position.end.offset}).filter(function(jt){return!jt._parent}).forEach(function(jt){for(;Tt.length>1&&jt.position.start.line>Tt[0].position.end.line;)Tt.shift();Ke(jt,gt,Tt[0])})}Y.attachComments=xe;function ke(it){for(var gt=Array.from(new Array(it.position.end.line),function(){return{}}),Tt=0,jt=it.comments;Tt<jt.length;Tt++){var kt=jt[Tt];gt[kt.position.start.line-1].comment=kt}return Pe(gt,it),gt}function Pe(it,gt){if(gt.position.start.offset!==gt.position.end.offset){if("leadingComments"in gt){var Tt=gt.position.start,jt=it[Tt.line-1].leadingAttachableNode;(!jt||Tt.column<jt.position.start.column)&&(it[Tt.line-1].leadingAttachableNode=gt)}if("trailingComment"in gt&&gt.position.end.column>1&&gt.type!=="document"&&gt.type!=="documentHead"){var kt=gt.position.end,Jt=it[kt.line-1].trailingAttachableNode;(!Jt||kt.column>=Jt.position.end.column)&&(it[kt.line-1].trailingAttachableNode=gt)}if(gt.type!=="root"&&gt.type!=="document"&&gt.type!=="documentHead"&&gt.type!=="documentBody")for(var Gt=gt.position,Tt=Gt.start,kt=Gt.end,Zt=[kt.line].concat(Tt.line===kt.line?[]:Tt.line),vn=0,ye=Zt;vn<ye.length;vn++){var ee=ye[vn],O=it[ee-1].trailingNode;(!O||kt.column>=O.position.end.column)&&(it[ee-1].trailingNode=gt)}"children"in gt&&gt.children.forEach(function(H){Pe(it,H)})}}function Ke(it,gt,Tt){var jt=it.position.start.line,kt=gt[jt-1].trailingAttachableNode;if(kt){if(kt.trailingComment)throw new Error("Unexpected multiple trailing comment at "+W.getPointText(it.position.start));g.defineParents(it,kt),kt.trailingComment=it;return}for(var Jt=jt;Jt>=Tt.position.start.line;Jt--){var Gt=gt[Jt-1].trailingNode,Zt=void 0;if(Gt)Zt=Gt;else if(Jt!==jt&&gt[Jt-1].comment)Zt=gt[Jt-1].comment._parent;else continue;if((Zt.type==="sequence"||Zt.type==="mapping")&&(Zt=Zt.children[0]),Zt.type==="mappingItem"){var vn=Zt.children,ye=vn[0],ee=vn[1];Zt=$t(ye)?ye:ee}for(;;){if(ht(Zt,it)){g.defineParents(it,Zt),Zt.endComments.push(it);return}if(!Zt._parent)break;Zt=Zt._parent}break}for(var Jt=jt+1;Jt<=Tt.position.end.line;Jt++){var O=gt[Jt-1].leadingAttachableNode;if(O){g.defineParents(it,O),O.leadingComments.push(it);return}}var H=Tt.children[1];g.defineParents(it,H),H.endComments.push(it)}function ht(it,gt){if(it.position.start.offset<gt.position.start.offset&&it.position.end.offset>gt.position.end.offset)switch(it.type){case"flowMapping":case"flowSequence":return it.children.length===0||gt.position.start.line>it.children[it.children.length-1].position.end.line}if(gt.position.end.offset<it.position.end.offset)return!1;switch(it.type){case"sequenceItem":return gt.position.start.column>it.position.start.column;case"mappingKey":case"mappingValue":return gt.position.start.column>it._parent.position.start.column&&(it.children.length===0||it.children.length===1&&it.children[0].type!=="blockFolded"&&it.children[0].type!=="blockLiteral")&&(it.type==="mappingValue"||$t(it));default:return!1}}function $t(it){return it.position.start!==it.position.end&&(it.children.length===0||it.position.start.offset!==it.children[0].position.start.offset)}}}),kr=c({"node_modules/yaml-unist-parser/lib/factories/node.js"(Y){M(),Y.__esModule=!0;function g(W,xe){return{type:W,position:xe}}Y.createNode=g}}),rl=c({"node_modules/yaml-unist-parser/lib/factories/root.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=kr();function xe(ke,Pe,Ke){return g.__assign(g.__assign({},W.createNode("root",ke)),{children:Pe,comments:Ke})}Y.createRoot=xe}}),Af=c({"node_modules/yaml-unist-parser/lib/preprocess.js"(Y){M(),Y.__esModule=!0;function g(W){switch(W.type){case"DOCUMENT":for(var xe=W.contents.length-1;xe>=0;xe--)W.contents[xe].type==="BLANK_LINE"?W.contents.splice(xe,1):g(W.contents[xe]);for(var xe=W.directives.length-1;xe>=0;xe--)W.directives[xe].type==="BLANK_LINE"&&W.directives.splice(xe,1);break;case"FLOW_MAP":case"FLOW_SEQ":case"MAP":case"SEQ":for(var xe=W.items.length-1;xe>=0;xe--){var ke=W.items[xe];"char"in ke||(ke.type==="BLANK_LINE"?W.items.splice(xe,1):g(ke))}break;case"MAP_KEY":case"MAP_VALUE":case"SEQ_ITEM":W.node&&g(W.node);break;case"ALIAS":case"BLANK_LINE":case"BLOCK_FOLDED":case"BLOCK_LITERAL":case"COMMENT":case"DIRECTIVE":case"PLAIN":case"QUOTE_DOUBLE":case"QUOTE_SINGLE":break;default:throw new Error("Unexpected node type "+JSON.stringify(W.type))}}Y.removeCstBlankLine=g}}),hs=c({"node_modules/yaml-unist-parser/lib/factories/leading-comment-attachable.js"(Y){M(),Y.__esModule=!0;function g(){return{leadingComments:[]}}Y.createLeadingCommentAttachable=g}}),Ja=c({"node_modules/yaml-unist-parser/lib/factories/trailing-comment-attachable.js"(Y){M(),Y.__esModule=!0;function g(W){return W===void 0&&(W=null),{trailingComment:W}}Y.createTrailingCommentAttachable=g}}),ms=c({"node_modules/yaml-unist-parser/lib/factories/comment-attachable.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=hs(),xe=Ja();function ke(){return g.__assign(g.__assign({},W.createLeadingCommentAttachable()),xe.createTrailingCommentAttachable())}Y.createCommentAttachable=ke}}),Ro=c({"node_modules/yaml-unist-parser/lib/factories/alias.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=ms(),xe=kr();function ke(Pe,Ke,ht){return g.__assign(g.__assign(g.__assign(g.__assign({},xe.createNode("alias",Pe)),W.createCommentAttachable()),Ke),{value:ht})}Y.createAlias=ke}}),Cf=c({"node_modules/yaml-unist-parser/lib/transforms/alias.js"(Y){M(),Y.__esModule=!0;var g=Ro();function W(xe,ke){var Pe=xe.cstNode;return g.createAlias(ke.transformRange({origStart:Pe.valueRange.origStart-1,origEnd:Pe.valueRange.origEnd}),ke.transformContent(xe),Pe.rawValue)}Y.transformAlias=W}}),xf=c({"node_modules/yaml-unist-parser/lib/factories/block-folded.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le));function W(xe){return g.__assign(g.__assign({},xe),{type:"blockFolded"})}Y.createBlockFolded=W}}),ea=c({"node_modules/yaml-unist-parser/lib/factories/block-value.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=hs(),xe=kr();function ke(Pe,Ke,ht,$t,it,gt){return g.__assign(g.__assign(g.__assign(g.__assign({},xe.createNode("blockValue",Pe)),W.createLeadingCommentAttachable()),Ke),{chomping:ht,indent:$t,value:it,indicatorComment:gt})}Y.createBlockValue=ke}}),il=c({"node_modules/yaml-unist-parser/lib/constants.js"(Y){M(),Y.__esModule=!0,function(g){g.Tag="!",g.Anchor="&",g.Comment="#"}(Y.PropLeadingCharacter||(Y.PropLeadingCharacter={}))}}),Sf=c({"node_modules/yaml-unist-parser/lib/factories/anchor.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=kr();function xe(ke,Pe){return g.__assign(g.__assign({},W.createNode("anchor",ke)),{value:Pe})}Y.createAnchor=xe}}),$o=c({"node_modules/yaml-unist-parser/lib/factories/comment.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=kr();function xe(ke,Pe){return g.__assign(g.__assign({},W.createNode("comment",ke)),{value:Pe})}Y.createComment=xe}}),wf=c({"node_modules/yaml-unist-parser/lib/factories/content.js"(Y){M(),Y.__esModule=!0;function g(W,xe,ke){return{anchor:xe,tag:W,middleComments:ke}}Y.createContent=g}}),Ff=c({"node_modules/yaml-unist-parser/lib/factories/tag.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=kr();function xe(ke,Pe){return g.__assign(g.__assign({},W.createNode("tag",ke)),{value:Pe})}Y.createTag=xe}}),sl=c({"node_modules/yaml-unist-parser/lib/transforms/content.js"(Y){M(),Y.__esModule=!0;var g=il(),W=Sf(),xe=$o(),ke=wf(),Pe=Ff();function Ke(ht,$t,it){it===void 0&&(it=function(){return!1});for(var gt=ht.cstNode,Tt=[],jt=null,kt=null,Jt=null,Gt=0,Zt=gt.props;Gt<Zt.length;Gt++){var vn=Zt[Gt],ye=$t.text[vn.origStart];switch(ye){case g.PropLeadingCharacter.Tag:jt=jt||vn,kt=Pe.createTag($t.transformRange(vn),ht.tag);break;case g.PropLeadingCharacter.Anchor:jt=jt||vn,Jt=W.createAnchor($t.transformRange(vn),gt.anchor);break;case g.PropLeadingCharacter.Comment:{var ee=xe.createComment($t.transformRange(vn),$t.text.slice(vn.origStart+1,vn.origEnd));$t.comments.push(ee),!it(ee)&&jt&&jt.origEnd<=vn.origStart&&vn.origEnd<=gt.valueRange.origStart&&Tt.push(ee);break}default:throw new Error("Unexpected leading character "+JSON.stringify(ye))}}return ke.createContent(kt,Jt,Tt)}Y.transformContent=Ke}}),al=c({"node_modules/yaml-unist-parser/lib/transforms/block-value.js"(Y){M(),Y.__esModule=!0;var g=ea(),W=Ga(),xe=sl(),ke;(function(Ke){Ke.CLIP="clip",Ke.STRIP="strip",Ke.KEEP="keep"})(ke||(ke={}));function Pe(Ke,ht){var $t=Ke.cstNode,it=1,gt=$t.chomping==="CLIP"?0:1,Tt=$t.header.origEnd-$t.header.origStart,jt=Tt-it-gt!==0,kt=ht.transformRange({origStart:$t.header.origStart,origEnd:$t.valueRange.origEnd}),Jt=null,Gt=xe.transformContent(Ke,ht,function(Zt){var vn=kt.start.offset<Zt.position.start.offset&&Zt.position.end.offset<kt.end.offset;if(!vn)return!1;if(Jt)throw new Error("Unexpected multiple indicator comments at "+W.getPointText(Zt.position.start));return Jt=Zt,!0});return g.createBlockValue(kt,Gt,ke[$t.chomping],jt?$t.blockIndent:null,$t.strValue,Jt)}Y.transformAstBlockValue=Pe}}),Nf=c({"node_modules/yaml-unist-parser/lib/transforms/block-folded.js"(Y){M(),Y.__esModule=!0;var g=xf(),W=al();function xe(ke,Pe){return g.createBlockFolded(W.transformAstBlockValue(ke,Pe))}Y.transformBlockFolded=xe}}),Ya=c({"node_modules/yaml-unist-parser/lib/factories/block-literal.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le));function W(xe){return g.__assign(g.__assign({},xe),{type:"blockLiteral"})}Y.createBlockLiteral=W}}),ol=c({"node_modules/yaml-unist-parser/lib/transforms/block-literal.js"(Y){M(),Y.__esModule=!0;var g=Ya(),W=al();function xe(ke,Pe){return g.createBlockLiteral(W.transformAstBlockValue(ke,Pe))}Y.transformBlockLiteral=xe}}),_f=c({"node_modules/yaml-unist-parser/lib/transforms/comment.js"(Y){M(),Y.__esModule=!0;var g=$o();function W(xe,ke){return g.createComment(ke.transformRange(xe.range),xe.comment)}Y.transformComment=W}}),Tf=c({"node_modules/yaml-unist-parser/lib/factories/directive.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=ms(),xe=kr();function ke(Pe,Ke,ht){return g.__assign(g.__assign(g.__assign({},xe.createNode("directive",Pe)),W.createCommentAttachable()),{name:Ke,parameters:ht})}Y.createDirective=ke}}),Ha=c({"node_modules/yaml-unist-parser/lib/utils/extract-prop-comments.js"(Y){M(),Y.__esModule=!0;var g=il(),W=$o();function xe(ke,Pe){for(var Ke=0,ht=ke.props;Ke<ht.length;Ke++){var $t=ht[Ke],it=Pe.text[$t.origStart];switch(it){case g.PropLeadingCharacter.Comment:Pe.comments.push(W.createComment(Pe.transformRange($t),Pe.text.slice($t.origStart+1,$t.origEnd)));break;default:throw new Error("Unexpected leading character "+JSON.stringify(it))}}}Y.extractPropComments=xe}}),ul=c({"node_modules/yaml-unist-parser/lib/transforms/directive.js"(Y){M(),Y.__esModule=!0;var g=Tf(),W=Ha();function xe(ke,Pe){return W.extractPropComments(ke,Pe),g.createDirective(Pe.transformRange(ke.range),ke.name,ke.parameters)}Y.transformDirective=xe}}),Lf=c({"node_modules/yaml-unist-parser/lib/factories/document.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=kr(),xe=Ja();function ke(Pe,Ke,ht,$t){return g.__assign(g.__assign(g.__assign({},W.createNode("document",Pe)),xe.createTrailingCommentAttachable($t)),{children:[Ke,ht]})}Y.createDocument=ke}}),gs=c({"node_modules/yaml-unist-parser/lib/factories/position.js"(Y){M(),Y.__esModule=!0;function g(xe,ke){return{start:xe,end:ke}}Y.createPosition=g;function W(xe){return{start:xe,end:xe}}Y.createEmptyPosition=W}}),ys=c({"node_modules/yaml-unist-parser/lib/factories/end-comment-attachable.js"(Y){M(),Y.__esModule=!0;function g(W){return W===void 0&&(W=[]),{endComments:W}}Y.createEndCommentAttachable=g}}),kf=c({"node_modules/yaml-unist-parser/lib/factories/document-body.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=ys(),xe=kr();function ke(Pe,Ke,ht){return g.__assign(g.__assign(g.__assign({},xe.createNode("documentBody",Pe)),W.createEndCommentAttachable(ht)),{children:Ke?[Ke]:[]})}Y.createDocumentBody=ke}}),Ds=c({"node_modules/yaml-unist-parser/lib/utils/get-last.js"(Y){M(),Y.__esModule=!0;function g(W){return W[W.length-1]}Y.getLast=g}}),ll=c({"node_modules/yaml-unist-parser/lib/utils/get-match-index.js"(Y){M(),Y.__esModule=!0;function g(W,xe){var ke=W.match(xe);return ke?ke.index:-1}Y.getMatchIndex=g}}),cl=c({"node_modules/yaml-unist-parser/lib/transforms/document-body.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=kf(),xe=Ds(),ke=ll(),Pe=Ga();function Ke(it,gt,Tt){var jt,kt=it.cstNode,Jt=ht(kt,gt,Tt),Gt=Jt.comments,Zt=Jt.endComments,vn=Jt.documentTrailingComment,ye=Jt.documentHeadTrailingComment,ee=gt.transformNode(it.contents),O=$t(kt,ee,gt),H=O.position,le=O.documentEndPoint;return(jt=gt.comments).push.apply(jt,g.__spreadArrays(Gt,Zt)),{documentBody:W.createDocumentBody(H,ee,Zt),documentEndPoint:le,documentTrailingComment:vn,documentHeadTrailingComment:ye}}Y.transformDocumentBody=Ke;function ht(it,gt,Tt){for(var jt=[],kt=[],Jt=[],Gt=[],Zt=!1,vn=it.contents.length-1;vn>=0;vn--){var ye=it.contents[vn];if(ye.type==="COMMENT"){var ee=gt.transformNode(ye);Tt&&Tt.line===ee.position.start.line?Gt.unshift(ee):Zt?jt.unshift(ee):ee.position.start.offset>=it.valueRange.origEnd?Jt.unshift(ee):jt.unshift(ee)}else Zt=!0}if(Jt.length>1)throw new Error("Unexpected multiple document trailing comments at "+Pe.getPointText(Jt[1].position.start));if(Gt.length>1)throw new Error("Unexpected multiple documentHead trailing comments at "+Pe.getPointText(Gt[1].position.start));return{comments:jt,endComments:kt,documentTrailingComment:xe.getLast(Jt)||null,documentHeadTrailingComment:xe.getLast(Gt)||null}}function $t(it,gt,Tt){var jt=ke.getMatchIndex(Tt.text.slice(it.valueRange.origEnd),/^\.\.\./),kt=jt===-1?it.valueRange.origEnd:Math.max(0,it.valueRange.origEnd-1);Tt.text[kt-1]==="\r"&&kt--;var Jt=Tt.transformRange({origStart:gt!==null?gt.position.start.offset:kt,origEnd:kt}),Gt=jt===-1?Jt.end:Tt.transformOffset(it.valueRange.origEnd+3);return{position:Jt,documentEndPoint:Gt}}}}),Pf=c({"node_modules/yaml-unist-parser/lib/factories/document-head.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=ys(),xe=kr(),ke=Ja();function Pe(Ke,ht,$t,it){return g.__assign(g.__assign(g.__assign(g.__assign({},xe.createNode("documentHead",Ke)),W.createEndCommentAttachable($t)),ke.createTrailingCommentAttachable(it)),{children:ht})}Y.createDocumentHead=Pe}}),fl=c({"node_modules/yaml-unist-parser/lib/transforms/document-head.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=Pf(),xe=ll();function ke(ht,$t){var it,gt=ht.cstNode,Tt=Pe(gt,$t),jt=Tt.directives,kt=Tt.comments,Jt=Tt.endComments,Gt=Ke(gt,jt,$t),Zt=Gt.position,vn=Gt.endMarkerPoint;(it=$t.comments).push.apply(it,g.__spreadArrays(kt,Jt));var ye=function(ee){return ee&&$t.comments.push(ee),W.createDocumentHead(Zt,jt,Jt,ee)};return{createDocumentHeadWithTrailingComment:ye,documentHeadEndMarkerPoint:vn}}Y.transformDocumentHead=ke;function Pe(ht,$t){for(var it=[],gt=[],Tt=[],jt=!1,kt=ht.directives.length-1;kt>=0;kt--){var Jt=$t.transformNode(ht.directives[kt]);Jt.type==="comment"?jt?gt.unshift(Jt):Tt.unshift(Jt):(jt=!0,it.unshift(Jt))}return{directives:it,comments:gt,endComments:Tt}}function Ke(ht,$t,it){var gt=xe.getMatchIndex(it.text.slice(0,ht.valueRange.origStart),/---\s*$/);gt>0&&!/[\r\n]/.test(it.text[gt-1])&&(gt=-1);var Tt=gt===-1?{origStart:ht.valueRange.origStart,origEnd:ht.valueRange.origStart}:{origStart:gt,origEnd:gt+3};return $t.length!==0&&(Tt.origStart=$t[0].position.start.offset),{position:it.transformRange(Tt),endMarkerPoint:gt===-1?null:it.transformOffset(gt)}}}}),Bf=c({"node_modules/yaml-unist-parser/lib/transforms/document.js"(Y){M(),Y.__esModule=!0;var g=Lf(),W=gs(),xe=cl(),ke=fl();function Pe(Ke,ht){var $t=ke.transformDocumentHead(Ke,ht),it=$t.createDocumentHeadWithTrailingComment,gt=$t.documentHeadEndMarkerPoint,Tt=xe.transformDocumentBody(Ke,ht,gt),jt=Tt.documentBody,kt=Tt.documentEndPoint,Jt=Tt.documentTrailingComment,Gt=Tt.documentHeadTrailingComment,Zt=it(Gt);return Jt&&ht.comments.push(Jt),g.createDocument(W.createPosition(Zt.position.start,kt),Zt,jt,Jt)}Y.transformDocument=Pe}}),pl=c({"node_modules/yaml-unist-parser/lib/factories/flow-collection.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=ms(),xe=ys(),ke=kr();function Pe(Ke,ht,$t){return g.__assign(g.__assign(g.__assign(g.__assign(g.__assign({},ke.createNode("flowCollection",Ke)),W.createCommentAttachable()),xe.createEndCommentAttachable()),ht),{children:$t})}Y.createFlowCollection=Pe}}),Mf=c({"node_modules/yaml-unist-parser/lib/factories/flow-mapping.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=pl();function xe(ke,Pe,Ke){return g.__assign(g.__assign({},W.createFlowCollection(ke,Pe,Ke)),{type:"flowMapping"})}Y.createFlowMapping=xe}}),dl=c({"node_modules/yaml-unist-parser/lib/factories/flow-mapping-item.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=hs(),xe=kr();function ke(Pe,Ke,ht){return g.__assign(g.__assign(g.__assign({},xe.createNode("flowMappingItem",Pe)),W.createLeadingCommentAttachable()),{children:[Ke,ht]})}Y.createFlowMappingItem=ke}}),za=c({"node_modules/yaml-unist-parser/lib/utils/extract-comments.js"(Y){M(),Y.__esModule=!0;function g(W,xe){for(var ke=[],Pe=0,Ke=W;Pe<Ke.length;Pe++){var ht=Ke[Pe];ht&&"type"in ht&&ht.type==="COMMENT"?xe.comments.push(xe.transformNode(ht)):ke.push(ht)}return ke}Y.extractComments=g}}),hl=c({"node_modules/yaml-unist-parser/lib/utils/get-flow-map-item-additional-ranges.js"(Y){M(),Y.__esModule=!0;function g(W){var xe=["?",":"].map(function(Ke){var ht=W.find(function($t){return"char"in $t&&$t.char===Ke});return ht?{origStart:ht.origOffset,origEnd:ht.origOffset+1}:null}),ke=xe[0],Pe=xe[1];return{additionalKeyRange:ke,additionalValueRange:Pe}}Y.getFlowMapItemAdditionalRanges=g}}),ml=c({"node_modules/yaml-unist-parser/lib/utils/create-slicer.js"(Y){M(),Y.__esModule=!0;function g(W,xe){var ke=xe;return function(Pe){return W.slice(ke,ke=Pe)}}Y.createSlicer=g}}),gl=c({"node_modules/yaml-unist-parser/lib/utils/group-cst-flow-collection-items.js"(Y){M(),Y.__esModule=!0;var g=ml();function W(xe){for(var ke=[],Pe=g.createSlicer(xe,1),Ke=!1,ht=1;ht<xe.length-1;ht++){var $t=xe[ht];if("char"in $t&&$t.char===","){ke.push(Pe(ht)),Pe(ht+1),Ke=!1;continue}Ke=!0}return Ke&&ke.push(Pe(xe.length-1)),ke}Y.groupCstFlowCollectionItems=W}}),If=c({"node_modules/yaml-unist-parser/lib/factories/mapping-key.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=ys(),xe=kr(),ke=Ja();function Pe(Ke,ht){return g.__assign(g.__assign(g.__assign(g.__assign({},xe.createNode("mappingKey",Ke)),ke.createTrailingCommentAttachable()),W.createEndCommentAttachable()),{children:ht?[ht]:[]})}Y.createMappingKey=Pe}}),Of=c({"node_modules/yaml-unist-parser/lib/factories/mapping-value.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=ms(),xe=ys(),ke=kr();function Pe(Ke,ht){return g.__assign(g.__assign(g.__assign(g.__assign({},ke.createNode("mappingValue",Ke)),W.createCommentAttachable()),xe.createEndCommentAttachable()),{children:ht?[ht]:[]})}Y.createMappingValue=Pe}}),Vo=c({"node_modules/yaml-unist-parser/lib/transforms/pair.js"(Y){M(),Y.__esModule=!0;var g=If(),W=Of(),xe=gs();function ke(Pe,Ke,ht,$t,it){var gt=Ke.transformNode(Pe.key),Tt=Ke.transformNode(Pe.value),jt=gt||$t?g.createMappingKey(Ke.transformRange({origStart:$t?$t.origStart:gt.position.start.offset,origEnd:gt?gt.position.end.offset:$t.origStart+1}),gt):null,kt=Tt||it?W.createMappingValue(Ke.transformRange({origStart:it?it.origStart:Tt.position.start.offset,origEnd:Tt?Tt.position.end.offset:it.origStart+1}),Tt):null;return ht(xe.createPosition(jt?jt.position.start:kt.position.start,kt?kt.position.end:jt.position.end),jt||g.createMappingKey(xe.createEmptyPosition(kt.position.start),null),kt||W.createMappingValue(xe.createEmptyPosition(jt.position.end),null))}Y.transformAstPair=ke}}),jf=c({"node_modules/yaml-unist-parser/lib/transforms/flow-map.js"(Y){M(),Y.__esModule=!0;var g=Mf(),W=dl(),xe=za(),ke=hl(),Pe=Ds(),Ke=gl(),ht=Vo();function $t(it,gt){var Tt=xe.extractComments(it.cstNode.items,gt),jt=Ke.groupCstFlowCollectionItems(Tt),kt=it.items.map(function(Zt,vn){var ye=jt[vn],ee=ke.getFlowMapItemAdditionalRanges(ye),O=ee.additionalKeyRange,H=ee.additionalValueRange;return ht.transformAstPair(Zt,gt,W.createFlowMappingItem,O,H)}),Jt=Tt[0],Gt=Pe.getLast(Tt);return g.createFlowMapping(gt.transformRange({origStart:Jt.origOffset,origEnd:Gt.origOffset+1}),gt.transformContent(it),kt)}Y.transformFlowMap=$t}}),Xt=c({"node_modules/yaml-unist-parser/lib/factories/flow-sequence.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=pl();function xe(ke,Pe,Ke){return g.__assign(g.__assign({},W.createFlowCollection(ke,Pe,Ke)),{type:"flowSequence"})}Y.createFlowSequence=xe}}),st=c({"node_modules/yaml-unist-parser/lib/factories/flow-sequence-item.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=kr();function xe(ke,Pe){return g.__assign(g.__assign({},W.createNode("flowSequenceItem",ke)),{children:[Pe]})}Y.createFlowSequenceItem=xe}}),Xe=c({"node_modules/yaml-unist-parser/lib/transforms/flow-seq.js"(Y){M(),Y.__esModule=!0;var g=dl(),W=Xt(),xe=st(),ke=gs(),Pe=za(),Ke=hl(),ht=Ds(),$t=gl(),it=Vo();function gt(Tt,jt){var kt=Pe.extractComments(Tt.cstNode.items,jt),Jt=$t.groupCstFlowCollectionItems(kt),Gt=Tt.items.map(function(ye,ee){if(ye.type!=="PAIR"){var O=jt.transformNode(ye);return xe.createFlowSequenceItem(ke.createPosition(O.position.start,O.position.end),O)}else{var H=Jt[ee],le=Ke.getFlowMapItemAdditionalRanges(H),Fe=le.additionalKeyRange,Be=le.additionalValueRange;return it.transformAstPair(ye,jt,g.createFlowMappingItem,Fe,Be)}}),Zt=kt[0],vn=ht.getLast(kt);return W.createFlowSequence(jt.transformRange({origStart:Zt.origOffset,origEnd:vn.origOffset+1}),jt.transformContent(Tt),Gt)}Y.transformFlowSeq=gt}}),ot=c({"node_modules/yaml-unist-parser/lib/factories/mapping.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=hs(),xe=kr();function ke(Pe,Ke,ht){return g.__assign(g.__assign(g.__assign(g.__assign({},xe.createNode("mapping",Pe)),W.createLeadingCommentAttachable()),Ke),{children:ht})}Y.createMapping=ke}}),rt=c({"node_modules/yaml-unist-parser/lib/factories/mapping-item.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=hs(),xe=kr();function ke(Pe,Ke,ht){return g.__assign(g.__assign(g.__assign({},xe.createNode("mappingItem",Pe)),W.createLeadingCommentAttachable()),{children:[Ke,ht]})}Y.createMappingItem=ke}}),St=c({"node_modules/yaml-unist-parser/lib/transforms/map.js"(Y){M(),Y.__esModule=!0;var g=ot(),W=rt(),xe=gs(),ke=ml(),Pe=za(),Ke=Ha(),ht=Ds(),$t=Vo();function it(Tt,jt){var kt=Tt.cstNode;kt.items.filter(function(vn){return vn.type==="MAP_KEY"||vn.type==="MAP_VALUE"}).forEach(function(vn){return Ke.extractPropComments(vn,jt)});var Jt=Pe.extractComments(kt.items,jt),Gt=gt(Jt),Zt=Tt.items.map(function(vn,ye){var ee=Gt[ye],O=ee[0].type==="MAP_VALUE"?[null,ee[0].range]:[ee[0].range,ee.length===1?null:ee[1].range],H=O[0],le=O[1];return $t.transformAstPair(vn,jt,W.createMappingItem,H,le)});return g.createMapping(xe.createPosition(Zt[0].position.start,ht.getLast(Zt).position.end),jt.transformContent(Tt),Zt)}Y.transformMap=it;function gt(Tt){for(var jt=[],kt=ke.createSlicer(Tt,0),Jt=!1,Gt=0;Gt<Tt.length;Gt++){var Zt=Tt[Gt];if(Zt.type==="MAP_VALUE"){jt.push(kt(Gt+1)),Jt=!1;continue}Jt&&jt.push(kt(Gt)),Jt=!0}return Jt&&jt.push(kt(1/0)),jt}}}),Mt=c({"node_modules/yaml-unist-parser/lib/factories/plain.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=ms(),xe=kr();function ke(Pe,Ke,ht){return g.__assign(g.__assign(g.__assign(g.__assign({},xe.createNode("plain",Pe)),W.createCommentAttachable()),Ke),{value:ht})}Y.createPlain=ke}}),Ht=c({"node_modules/yaml-unist-parser/lib/utils/find-last-char-index.js"(Y){M(),Y.__esModule=!0;function g(W,xe,ke){for(var Pe=xe;Pe>=0;Pe--)if(ke.test(W[Pe]))return Pe;return-1}Y.findLastCharIndex=g}}),Ut=c({"node_modules/yaml-unist-parser/lib/transforms/plain.js"(Y){M(),Y.__esModule=!0;var g=Mt(),W=Ht();function xe(ke,Pe){var Ke=ke.cstNode;return g.createPlain(Pe.transformRange({origStart:Ke.valueRange.origStart,origEnd:W.findLastCharIndex(Pe.text,Ke.valueRange.origEnd-1,/\S/)+1}),Pe.transformContent(ke),Ke.strValue)}Y.transformPlain=xe}}),zt=c({"node_modules/yaml-unist-parser/lib/factories/quote-double.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le));function W(xe){return g.__assign(g.__assign({},xe),{type:"quoteDouble"})}Y.createQuoteDouble=W}}),dn=c({"node_modules/yaml-unist-parser/lib/factories/quote-value.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=ms(),xe=kr();function ke(Pe,Ke,ht){return g.__assign(g.__assign(g.__assign(g.__assign({},xe.createNode("quoteValue",Pe)),Ke),W.createCommentAttachable()),{value:ht})}Y.createQuoteValue=ke}}),Dn=c({"node_modules/yaml-unist-parser/lib/transforms/quote-value.js"(Y){M(),Y.__esModule=!0;var g=dn();function W(xe,ke){var Pe=xe.cstNode;return g.createQuoteValue(ke.transformRange(Pe.valueRange),ke.transformContent(xe),Pe.strValue)}Y.transformAstQuoteValue=W}}),En=c({"node_modules/yaml-unist-parser/lib/transforms/quote-double.js"(Y){M(),Y.__esModule=!0;var g=zt(),W=Dn();function xe(ke,Pe){return g.createQuoteDouble(W.transformAstQuoteValue(ke,Pe))}Y.transformQuoteDouble=xe}}),hn=c({"node_modules/yaml-unist-parser/lib/factories/quote-single.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le));function W(xe){return g.__assign(g.__assign({},xe),{type:"quoteSingle"})}Y.createQuoteSingle=W}}),Ne=c({"node_modules/yaml-unist-parser/lib/transforms/quote-single.js"(Y){M(),Y.__esModule=!0;var g=hn(),W=Dn();function xe(ke,Pe){return g.createQuoteSingle(W.transformAstQuoteValue(ke,Pe))}Y.transformQuoteSingle=xe}}),Fn=c({"node_modules/yaml-unist-parser/lib/factories/sequence.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=ys(),xe=hs(),ke=kr();function Pe(Ke,ht,$t){return g.__assign(g.__assign(g.__assign(g.__assign(g.__assign({},ke.createNode("sequence",Ke)),xe.createLeadingCommentAttachable()),W.createEndCommentAttachable()),ht),{children:$t})}Y.createSequence=Pe}}),jn=c({"node_modules/yaml-unist-parser/lib/factories/sequence-item.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le)),W=ms(),xe=ys(),ke=kr();function Pe(Ke,ht){return g.__assign(g.__assign(g.__assign(g.__assign({},ke.createNode("sequenceItem",Ke)),W.createCommentAttachable()),xe.createEndCommentAttachable()),{children:ht?[ht]:[]})}Y.createSequenceItem=Pe}}),er=c({"node_modules/yaml-unist-parser/lib/transforms/seq.js"(Y){M(),Y.__esModule=!0;var g=gs(),W=Fn(),xe=jn(),ke=za(),Pe=Ha(),Ke=Ds();function ht($t,it){var gt=ke.extractComments($t.cstNode.items,it),Tt=gt.map(function(jt,kt){Pe.extractPropComments(jt,it);var Jt=it.transformNode($t.items[kt]);return xe.createSequenceItem(g.createPosition(it.transformOffset(jt.valueRange.origStart),Jt===null?it.transformOffset(jt.valueRange.origStart+1):Jt.position.end),Jt)});return W.createSequence(g.createPosition(Tt[0].position.start,Ke.getLast(Tt).position.end),it.transformContent($t),Tt)}Y.transformSeq=ht}}),Qn=c({"node_modules/yaml-unist-parser/lib/transform.js"(Y){M(),Y.__esModule=!0;var g=Cf(),W=Nf(),xe=ol(),ke=_f(),Pe=ul(),Ke=Bf(),ht=jf(),$t=Xe(),it=St(),gt=Ut(),Tt=En(),jt=Ne(),kt=er();function Jt(Gt,Zt){if(Gt===null||Gt.type===void 0&&Gt.value===null)return null;switch(Gt.type){case"ALIAS":return g.transformAlias(Gt,Zt);case"BLOCK_FOLDED":return W.transformBlockFolded(Gt,Zt);case"BLOCK_LITERAL":return xe.transformBlockLiteral(Gt,Zt);case"COMMENT":return ke.transformComment(Gt,Zt);case"DIRECTIVE":return Pe.transformDirective(Gt,Zt);case"DOCUMENT":return Ke.transformDocument(Gt,Zt);case"FLOW_MAP":return ht.transformFlowMap(Gt,Zt);case"FLOW_SEQ":return $t.transformFlowSeq(Gt,Zt);case"MAP":return it.transformMap(Gt,Zt);case"PLAIN":return gt.transformPlain(Gt,Zt);case"QUOTE_DOUBLE":return Tt.transformQuoteDouble(Gt,Zt);case"QUOTE_SINGLE":return jt.transformQuoteSingle(Gt,Zt);case"SEQ":return kt.transformSeq(Gt,Zt);default:throw new Error("Unexpected node type "+Gt.type)}}Y.transformNode=Jt}}),wr=c({"node_modules/yaml-unist-parser/lib/factories/error.js"(Y){M(),Y.__esModule=!0;function g(W,xe,ke){var Pe=new SyntaxError(W);return Pe.name="YAMLSyntaxError",Pe.source=xe,Pe.position=ke,Pe}Y.createError=g}}),je=c({"node_modules/yaml-unist-parser/lib/transforms/error.js"(Y){M(),Y.__esModule=!0;var g=wr();function W(xe,ke){var Pe=xe.source.range||xe.source.valueRange;return g.createError(xe.message,ke.text,ke.transformRange(Pe))}Y.transformError=W}}),ri=c({"node_modules/yaml-unist-parser/lib/factories/point.js"(Y){M(),Y.__esModule=!0;function g(W,xe,ke){return{offset:W,line:xe,column:ke}}Y.createPoint=g}}),bs=c({"node_modules/yaml-unist-parser/lib/transforms/offset.js"(Y){M(),Y.__esModule=!0;var g=ri();function W(xe,ke){xe<0?xe=0:xe>ke.text.length&&(xe=ke.text.length);var Pe=ke.locator.locationForIndex(xe);return g.createPoint(xe,Pe.line+1,Pe.column+1)}Y.transformOffset=W}}),Rs=c({"node_modules/yaml-unist-parser/lib/transforms/range.js"(Y){M(),Y.__esModule=!0;var g=gs();function W(xe,ke){return g.createPosition(ke.transformOffset(xe.origStart),ke.transformOffset(xe.origEnd))}Y.transformRange=W}}),Di=c({"node_modules/yaml-unist-parser/lib/utils/add-orig-range.js"(Y){M(),Y.__esModule=!0;var g=!0;function W(Ke){if(!Ke.setOrigRanges()){var ht=function($t){if(ke($t))return $t.origStart=$t.start,$t.origEnd=$t.end,g;if(Pe($t))return $t.origOffset=$t.offset,g};Ke.forEach(function($t){return xe($t,ht)})}}Y.addOrigRange=W;function xe(Ke,ht){if(!(!Ke||typeof Ke!="object")&&ht(Ke)!==g)for(var $t=0,it=Object.keys(Ke);$t<it.length;$t++){var gt=it[$t];if(!(gt==="context"||gt==="error")){var Tt=Ke[gt];Array.isArray(Tt)?Tt.forEach(function(jt){return xe(jt,ht)}):xe(Tt,ht)}}}function ke(Ke){return typeof Ke.start=="number"}function Pe(Ke){return typeof Ke.offset=="number"}}}),ss=c({"node_modules/yaml-unist-parser/lib/utils/remove-fake-nodes.js"(Y){M(),Y.__esModule=!0;function g(W){if("children"in W){if(W.children.length===1){var xe=W.children[0];if(xe.type==="plain"&&xe.tag===null&&xe.anchor===null&&xe.value==="")return W.children.splice(0,1),W}W.children.forEach(g)}return W}Y.removeFakeNodes=g}}),Ur=c({"node_modules/yaml-unist-parser/lib/utils/create-updater.js"(Y){M(),Y.__esModule=!0;function g(W,xe,ke,Pe){var Ke=xe(W);return function(ht){Pe(Ke,ht)&&ke(W,Ke=ht)}}Y.createUpdater=g}}),Qa=c({"node_modules/yaml-unist-parser/lib/utils/update-positions.js"(Y){M(),Y.__esModule=!0;var g=Ur(),W=Ds();function xe(gt){if(!(gt===null||!("children"in gt))){var Tt=gt.children;if(Tt.forEach(xe),gt.type==="document"){var jt=gt.children,kt=jt[0],Jt=jt[1];kt.position.start.offset===kt.position.end.offset?kt.position.start=kt.position.end=Jt.position.start:Jt.position.start.offset===Jt.position.end.offset&&(Jt.position.start=Jt.position.end=kt.position.end)}var Gt=g.createUpdater(gt.position,ke,Pe,$t),Zt=g.createUpdater(gt.position,Ke,ht,it);"endComments"in gt&&gt.endComments.length!==0&&(Gt(gt.endComments[0].position.start),Zt(W.getLast(gt.endComments).position.end));var vn=Tt.filter(function(O){return O!==null});if(vn.length!==0){var ye=vn[0],ee=W.getLast(vn);Gt(ye.position.start),Zt(ee.position.end),"leadingComments"in ye&&ye.leadingComments.length!==0&&Gt(ye.leadingComments[0].position.start),"tag"in ye&&ye.tag&&Gt(ye.tag.position.start),"anchor"in ye&&ye.anchor&&Gt(ye.anchor.position.start),"trailingComment"in ee&&ee.trailingComment&&Zt(ee.trailingComment.position.end)}}}Y.updatePositions=xe;function ke(gt){return gt.start}function Pe(gt,Tt){gt.start=Tt}function Ke(gt){return gt.end}function ht(gt,Tt){gt.end=Tt}function $t(gt,Tt){return Tt.offset<gt.offset}function it(gt,Tt){return Tt.offset>gt.offset}}}),Hr=c({"node_modules/yaml/dist/PlainValue-ec8e588e.js"(Y){M();var g={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},W={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},xe="tag:yaml.org,2002:",ke={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function Pe(ee){let O=[0],H=ee.indexOf(`
264
+ `);for(;H!==-1;)H+=1,O.push(H),H=ee.indexOf(`
265
+ `,H);return O}function Ke(ee){let O,H;return typeof ee=="string"?(O=Pe(ee),H=ee):(Array.isArray(ee)&&(ee=ee[0]),ee&&ee.context&&(ee.lineStarts||(ee.lineStarts=Pe(ee.context.src)),O=ee.lineStarts,H=ee.context.src)),{lineStarts:O,src:H}}function ht(ee,O){if(typeof ee!="number"||ee<0)return null;let{lineStarts:H,src:le}=Ke(O);if(!H||!le||ee>le.length)return null;for(let Be=0;Be<H.length;++Be){let Ae=H[Be];if(ee<Ae)return{line:Be,col:ee-H[Be-1]+1};if(ee===Ae)return{line:Be+1,col:1}}let Fe=H.length;return{line:Fe,col:ee-H[Fe-1]+1}}function $t(ee,O){let{lineStarts:H,src:le}=Ke(O);if(!H||!(ee>=1)||ee>H.length)return null;let Fe=H[ee-1],Be=H[ee];for(;Be&&Be>Fe&&le[Be-1]===`
266
+ `;)--Be;return le.slice(Fe,Be)}function it(ee,O){let{start:H,end:le}=ee,Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:80,Be=$t(H.line,O);if(!Be)return null;let{col:Ae}=H;if(Be.length>Fe)if(Ae<=Fe-10)Be=Be.substr(0,Fe-1)+"…";else{let An=Math.round(Fe/2);Be.length>Ae+An&&(Be=Be.substr(0,Ae+An-1)+"…"),Ae-=Be.length-Fe,Be="…"+Be.substr(1-Fe)}let Oe=1,Ct="";le&&(le.line===H.line&&Ae+(le.col-H.col)<=Fe+1?Oe=le.col-H.col:(Oe=Math.min(Be.length+1,Fe)-Ae,Ct="…"));let Rt=Ae>1?" ".repeat(Ae-1):"",Qt="^".repeat(Oe);return`${Be}
267
+ ${Rt}${Qt}${Ct}`}var gt=class{static copy(ee){return new gt(ee.start,ee.end)}constructor(ee,O){this.start=ee,this.end=O||ee}isEmpty(){return typeof this.start!="number"||!this.end||this.end<=this.start}setOrigRange(ee,O){let{start:H,end:le}=this;if(ee.length===0||le<=ee[0])return this.origStart=H,this.origEnd=le,O;let Fe=O;for(;Fe<ee.length&&!(ee[Fe]>H);)++Fe;this.origStart=H+Fe;let Be=Fe;for(;Fe<ee.length&&!(ee[Fe]>=le);)++Fe;return this.origEnd=le+Fe,Be}},Tt=class{static addStringTerminator(ee,O,H){if(H[H.length-1]===`
268
+ `)return H;let le=Tt.endOfWhiteSpace(ee,O);return le>=ee.length||ee[le]===`
269
+ `?H+`
270
+ `:H}static atDocumentBoundary(ee,O,H){let le=ee[O];if(!le)return!0;let Fe=ee[O-1];if(Fe&&Fe!==`
271
+ `)return!1;if(H){if(le!==H)return!1}else if(le!==g.DIRECTIVES_END&&le!==g.DOCUMENT_END)return!1;let Be=ee[O+1],Ae=ee[O+2];if(Be!==le||Ae!==le)return!1;let Oe=ee[O+3];return!Oe||Oe===`
272
+ `||Oe===" "||Oe===" "}static endOfIdentifier(ee,O){let H=ee[O],le=H==="<",Fe=le?[`
273
+ `," "," ",">"]:[`
274
+ `," "," ","[","]","{","}",","];for(;H&&Fe.indexOf(H)===-1;)H=ee[O+=1];return le&&H===">"&&(O+=1),O}static endOfIndent(ee,O){let H=ee[O];for(;H===" ";)H=ee[O+=1];return O}static endOfLine(ee,O){let H=ee[O];for(;H&&H!==`
275
+ `;)H=ee[O+=1];return O}static endOfWhiteSpace(ee,O){let H=ee[O];for(;H===" "||H===" ";)H=ee[O+=1];return O}static startOfLine(ee,O){let H=ee[O-1];if(H===`
276
+ `)return O;for(;H&&H!==`
277
+ `;)H=ee[O-=1];return O+1}static endOfBlockIndent(ee,O,H){let le=Tt.endOfIndent(ee,H);if(le>H+O)return le;{let Fe=Tt.endOfWhiteSpace(ee,le),Be=ee[Fe];if(!Be||Be===`
278
+ `)return Fe}return null}static atBlank(ee,O,H){let le=ee[O];return le===`
279
+ `||le===" "||le===" "||H&&!le}static nextNodeIsIndented(ee,O,H){return!ee||O<0?!1:O>0?!0:H&&ee==="-"}static normalizeOffset(ee,O){let H=ee[O];return H?H!==`
280
+ `&&ee[O-1]===`
281
+ `?O-1:Tt.endOfWhiteSpace(ee,O):O}static foldNewline(ee,O,H){let le=0,Fe=!1,Be="",Ae=ee[O+1];for(;Ae===" "||Ae===" "||Ae===`
282
+ `;){switch(Ae){case`
283
+ `:le=0,O+=1,Be+=`
284
+ `;break;case" ":le<=H&&(Fe=!0),O=Tt.endOfWhiteSpace(ee,O+2)-1;break;case" ":le+=1,O+=1;break}Ae=ee[O+1]}return Be||(Be=" "),Ae&&le<=H&&(Fe=!0),{fold:Be,offset:O,error:Fe}}constructor(ee,O,H){Object.defineProperty(this,"context",{value:H||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=O||[],this.type=ee,this.value=null}getPropValue(ee,O,H){if(!this.context)return null;let{src:le}=this.context,Fe=this.props[ee];return Fe&&le[Fe.start]===O?le.slice(Fe.start+(H?1:0),Fe.end):null}get anchor(){for(let ee=0;ee<this.props.length;++ee){let O=this.getPropValue(ee,g.ANCHOR,!0);if(O!=null)return O}return null}get comment(){let ee=[];for(let O=0;O<this.props.length;++O){let H=this.getPropValue(O,g.COMMENT,!0);H!=null&&ee.push(H)}return ee.length>0?ee.join(`
285
+ `):null}commentHasRequiredWhitespace(ee){let{src:O}=this.context;if(this.header&&ee===this.header.end||!this.valueRange)return!1;let{end:H}=this.valueRange;return ee!==H||Tt.atBlank(O,H-1)}get hasComment(){if(this.context){let{src:ee}=this.context;for(let O=0;O<this.props.length;++O)if(ee[this.props[O].start]===g.COMMENT)return!0}return!1}get hasProps(){if(this.context){let{src:ee}=this.context;for(let O=0;O<this.props.length;++O)if(ee[this.props[O].start]!==g.COMMENT)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return[W.FLOW_MAP,W.FLOW_SEQ,W.QUOTE_DOUBLE,W.QUOTE_SINGLE].indexOf(this.type)!==-1}get rangeAsLinePos(){if(!this.range||!this.context)return;let ee=ht(this.range.start,this.context.root);if(!ee)return;let O=ht(this.range.end,this.context.root);return{start:ee,end:O}}get rawValue(){if(!this.valueRange||!this.context)return null;let{start:ee,end:O}=this.valueRange;return this.context.src.slice(ee,O)}get tag(){for(let ee=0;ee<this.props.length;++ee){let O=this.getPropValue(ee,g.TAG,!1);if(O!=null){if(O[1]==="<")return{verbatim:O.slice(2,-1)};{let[H,le,Fe]=O.match(/^(.*!)([^!]*)$/);return{handle:le,suffix:Fe}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;let{start:ee,end:O}=this.valueRange,{src:H}=this.context;for(let le=ee;le<O;++le)if(H[le]===`
286
+ `)return!0;return!1}parseComment(ee){let{src:O}=this.context;if(O[ee]===g.COMMENT){let H=Tt.endOfLine(O,ee+1),le=new gt(ee,H);return this.props.push(le),H}return ee}setOrigRanges(ee,O){return this.range&&(O=this.range.setOrigRange(ee,O)),this.valueRange&&this.valueRange.setOrigRange(ee,O),this.props.forEach(H=>H.setOrigRange(ee,O)),O}toString(){let{context:{src:ee},range:O,value:H}=this;if(H!=null)return H;let le=ee.slice(O.start,O.end);return Tt.addStringTerminator(ee,O.end,le)}},jt=class extends Error{constructor(ee,O,H){if(!H||!(O instanceof Tt))throw new Error(`Invalid arguments for new ${ee}`);super(),this.name=ee,this.message=H,this.source=O}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let ee=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new gt(this.offset,this.offset+1);let O=ee&&ht(this.offset,ee);if(O){let H={line:O.line,col:O.col+1};this.linePos={start:O,end:H}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:O,col:H}=this.linePos.start;this.message+=` at line ${O}, column ${H}`;let le=ee&&it(this.linePos,ee);le&&(this.message+=`:
287
+
288
+ ${le}
289
+ `)}delete this.source}},kt=class extends jt{constructor(ee,O){super("YAMLReferenceError",ee,O)}},Jt=class extends jt{constructor(ee,O){super("YAMLSemanticError",ee,O)}},Gt=class extends jt{constructor(ee,O){super("YAMLSyntaxError",ee,O)}},Zt=class extends jt{constructor(ee,O){super("YAMLWarning",ee,O)}};function vn(ee,O,H){return O in ee?Object.defineProperty(ee,O,{value:H,enumerable:!0,configurable:!0,writable:!0}):ee[O]=H,ee}var ye=class extends Tt{static endOfLine(ee,O,H){let le=ee[O],Fe=O;for(;le&&le!==`
290
+ `&&!(H&&(le==="["||le==="]"||le==="{"||le==="}"||le===","));){let Be=ee[Fe+1];if(le===":"&&(!Be||Be===`
291
+ `||Be===" "||Be===" "||H&&Be===",")||(le===" "||le===" ")&&Be==="#")break;Fe+=1,le=Be}return Fe}get strValue(){if(!this.valueRange||!this.context)return null;let{start:ee,end:O}=this.valueRange,{src:H}=this.context,le=H[O-1];for(;ee<O&&(le===`
292
+ `||le===" "||le===" ");)le=H[--O-1];let Fe="";for(let Ae=ee;Ae<O;++Ae){let Oe=H[Ae];if(Oe===`
293
+ `){let{fold:Ct,offset:Rt}=Tt.foldNewline(H,Ae,-1);Fe+=Ct,Ae=Rt}else if(Oe===" "||Oe===" "){let Ct=Ae,Rt=H[Ae+1];for(;Ae<O&&(Rt===" "||Rt===" ");)Ae+=1,Rt=H[Ae+1];Rt!==`
294
+ `&&(Fe+=Ae>Ct?H.slice(Ct,Ae+1):Oe)}else Fe+=Oe}let Be=H[ee];switch(Be){case" ":{let Ae="Plain value cannot start with a tab character";return{errors:[new Jt(this,Ae)],str:Fe}}case"@":case"`":{let Ae=`Plain value cannot start with reserved character ${Be}`;return{errors:[new Jt(this,Ae)],str:Fe}}default:return Fe}}parseBlockValue(ee){let{indent:O,inFlow:H,src:le}=this.context,Fe=ee,Be=ee;for(let Ae=le[Fe];Ae===`
295
+ `&&!Tt.atDocumentBoundary(le,Fe+1);Ae=le[Fe]){let Oe=Tt.endOfBlockIndent(le,O,Fe+1);if(Oe===null||le[Oe]==="#")break;le[Oe]===`
296
+ `?Fe=Oe:(Be=ye.endOfLine(le,Oe,H),Fe=Be)}return this.valueRange.isEmpty()&&(this.valueRange.start=ee),this.valueRange.end=Be,Be}parse(ee,O){this.context=ee;let{inFlow:H,src:le}=ee,Fe=O,Be=le[Fe];return Be&&Be!=="#"&&Be!==`
297
+ `&&(Fe=ye.endOfLine(le,O,H)),this.valueRange=new gt(O,Fe),Fe=Tt.endOfWhiteSpace(le,Fe),Fe=this.parseComment(Fe),(!this.hasComment||this.valueRange.isEmpty())&&(Fe=this.parseBlockValue(Fe)),Fe}};Y.Char=g,Y.Node=Tt,Y.PlainValue=ye,Y.Range=gt,Y.Type=W,Y.YAMLError=jt,Y.YAMLReferenceError=kt,Y.YAMLSemanticError=Jt,Y.YAMLSyntaxError=Gt,Y.YAMLWarning=Zt,Y._defineProperty=vn,Y.defaultTagPrefix=xe,Y.defaultTags=ke}}),Xa=c({"node_modules/yaml/dist/parse-cst.js"(Y){M();var g=Hr(),W=class extends g.Node{constructor(){super(g.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(ye,ee){return this.context=ye,this.range=new g.Range(ee,ee+1),ee+1}},xe=class extends g.Node{constructor(ye,ee){super(ye,ee),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(ye,ee){this.context=ye;let{parseNode:O,src:H}=ye,{atLineStart:le,lineStart:Fe}=ye;!le&&this.type===g.Type.SEQ_ITEM&&(this.error=new g.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let Be=le?ee-Fe:ye.indent,Ae=g.Node.endOfWhiteSpace(H,ee+1),Oe=H[Ae],Ct=Oe==="#",Rt=[],Qt=null;for(;Oe===`
298
+ `||Oe==="#";){if(Oe==="#"){let ln=g.Node.endOfLine(H,Ae+1);Rt.push(new g.Range(Ae,ln)),Ae=ln}else{le=!0,Fe=Ae+1;let ln=g.Node.endOfWhiteSpace(H,Fe);H[ln]===`
299
+ `&&Rt.length===0&&(Qt=new W,Fe=Qt.parse({src:H},Fe)),Ae=g.Node.endOfIndent(H,Fe)}Oe=H[Ae]}if(g.Node.nextNodeIsIndented(Oe,Ae-(Fe+Be),this.type!==g.Type.SEQ_ITEM)?this.node=O({atLineStart:le,inCollection:!1,indent:Be,lineStart:Fe,parent:this},Ae):Oe&&Fe>ee+1&&(Ae=Fe-1),this.node){if(Qt){let ln=ye.parent.items||ye.parent.contents;ln&&ln.push(Qt)}Rt.length&&Array.prototype.push.apply(this.props,Rt),Ae=this.node.range.end}else if(Ct){let ln=Rt[0];this.props.push(ln),Ae=ln.end}else Ae=g.Node.endOfLine(H,ee+1);let An=this.node?this.node.valueRange.end:Ae;return this.valueRange=new g.Range(ee,An),Ae}setOrigRanges(ye,ee){return ee=super.setOrigRanges(ye,ee),this.node?this.node.setOrigRanges(ye,ee):ee}toString(){let{context:{src:ye},node:ee,range:O,value:H}=this;if(H!=null)return H;let le=ee?ye.slice(O.start,ee.range.start)+String(ee):ye.slice(O.start,O.end);return g.Node.addStringTerminator(ye,O.end,le)}},ke=class extends g.Node{constructor(){super(g.Type.COMMENT)}parse(ye,ee){this.context=ye;let O=this.parseComment(ee);return this.range=new g.Range(ee,O),O}};function Pe(ye){let ee=ye;for(;ee instanceof xe;)ee=ee.node;if(!(ee instanceof Ke))return null;let O=ee.items.length,H=-1;for(let Be=O-1;Be>=0;--Be){let Ae=ee.items[Be];if(Ae.type===g.Type.COMMENT){let{indent:Oe,lineStart:Ct}=Ae.context;if(Oe>0&&Ae.range.start>=Ct+Oe)break;H=Be}else if(Ae.type===g.Type.BLANK_LINE)H=Be;else break}if(H===-1)return null;let le=ee.items.splice(H,O-H),Fe=le[0].range.start;for(;ee.range.end=Fe,ee.valueRange&&ee.valueRange.end>Fe&&(ee.valueRange.end=Fe),ee!==ye;)ee=ee.context.parent;return le}var Ke=class extends g.Node{static nextContentHasIndent(ye,ee,O){let H=g.Node.endOfLine(ye,ee)+1;ee=g.Node.endOfWhiteSpace(ye,H);let le=ye[ee];return le?ee>=H+O?!0:le!=="#"&&le!==`
300
+ `?!1:Ke.nextContentHasIndent(ye,ee,O):!1}constructor(ye){super(ye.type===g.Type.SEQ_ITEM?g.Type.SEQ:g.Type.MAP);for(let O=ye.props.length-1;O>=0;--O)if(ye.props[O].start<ye.context.lineStart){this.props=ye.props.slice(0,O+1),ye.props=ye.props.slice(O+1);let H=ye.props[0]||ye.valueRange;ye.range.start=H.start;break}this.items=[ye];let ee=Pe(ye);ee&&Array.prototype.push.apply(this.items,ee)}get includesTrailingLines(){return this.items.length>0}parse(ye,ee){this.context=ye;let{parseNode:O,src:H}=ye,le=g.Node.startOfLine(H,ee),Fe=this.items[0];Fe.context.parent=this,this.valueRange=g.Range.copy(Fe.valueRange);let Be=Fe.range.start-Fe.context.lineStart,Ae=ee;Ae=g.Node.normalizeOffset(H,Ae);let Oe=H[Ae],Ct=g.Node.endOfWhiteSpace(H,le)===Ae,Rt=!1;for(;Oe;){for(;Oe===`
301
+ `||Oe==="#";){if(Ct&&Oe===`
302
+ `&&!Rt){let ln=new W;if(Ae=ln.parse({src:H},Ae),this.valueRange.end=Ae,Ae>=H.length){Oe=null;break}this.items.push(ln),Ae-=1}else if(Oe==="#"){if(Ae<le+Be&&!Ke.nextContentHasIndent(H,Ae,Be))return Ae;let ln=new ke;if(Ae=ln.parse({indent:Be,lineStart:le,src:H},Ae),this.items.push(ln),this.valueRange.end=Ae,Ae>=H.length){Oe=null;break}}if(le=Ae+1,Ae=g.Node.endOfIndent(H,le),g.Node.atBlank(H,Ae)){let ln=g.Node.endOfWhiteSpace(H,Ae),Wn=H[ln];(!Wn||Wn===`
303
+ `||Wn==="#")&&(Ae=ln)}Oe=H[Ae],Ct=!0}if(!Oe)break;if(Ae!==le+Be&&(Ct||Oe!==":")){if(Ae<le+Be){le>ee&&(Ae=le);break}else if(!this.error){let ln="All collection items must start at the same column";this.error=new g.YAMLSyntaxError(this,ln)}}if(Fe.type===g.Type.SEQ_ITEM){if(Oe!=="-"){le>ee&&(Ae=le);break}}else if(Oe==="-"&&!this.error){let ln=H[Ae+1];if(!ln||ln===`
304
+ `||ln===" "||ln===" "){let Wn="A collection cannot be both a mapping and a sequence";this.error=new g.YAMLSyntaxError(this,Wn)}}let Qt=O({atLineStart:Ct,inCollection:!0,indent:Be,lineStart:le,parent:this},Ae);if(!Qt)return Ae;if(this.items.push(Qt),this.valueRange.end=Qt.valueRange.end,Ae=g.Node.normalizeOffset(H,Qt.range.end),Oe=H[Ae],Ct=!1,Rt=Qt.includesTrailingLines,Oe){let ln=Ae-1,Wn=H[ln];for(;Wn===" "||Wn===" ";)Wn=H[--ln];Wn===`
305
+ `&&(le=ln+1,Ct=!0)}let An=Pe(Qt);An&&Array.prototype.push.apply(this.items,An)}return Ae}setOrigRanges(ye,ee){return ee=super.setOrigRanges(ye,ee),this.items.forEach(O=>{ee=O.setOrigRanges(ye,ee)}),ee}toString(){let{context:{src:ye},items:ee,range:O,value:H}=this;if(H!=null)return H;let le=ye.slice(O.start,ee[0].range.start)+String(ee[0]);for(let Fe=1;Fe<ee.length;++Fe){let Be=ee[Fe],{atLineStart:Ae,indent:Oe}=Be.context;if(Ae)for(let Ct=0;Ct<Oe;++Ct)le+=" ";le+=String(Be)}return g.Node.addStringTerminator(ye,O.end,le)}},ht=class extends g.Node{constructor(){super(g.Type.DIRECTIVE),this.name=null}get parameters(){let ye=this.rawValue;return ye?ye.trim().split(/[ \t]+/):[]}parseName(ye){let{src:ee}=this.context,O=ye,H=ee[O];for(;H&&H!==`
306
+ `&&H!==" "&&H!==" ";)H=ee[O+=1];return this.name=ee.slice(ye,O),O}parseParameters(ye){let{src:ee}=this.context,O=ye,H=ee[O];for(;H&&H!==`
307
+ `&&H!=="#";)H=ee[O+=1];return this.valueRange=new g.Range(ye,O),O}parse(ye,ee){this.context=ye;let O=this.parseName(ee+1);return O=this.parseParameters(O),O=this.parseComment(O),this.range=new g.Range(ee,O),O}},$t=class extends g.Node{static startCommentOrEndBlankLine(ye,ee){let O=g.Node.endOfWhiteSpace(ye,ee),H=ye[O];return H==="#"||H===`
308
+ `?O:ee}constructor(){super(g.Type.DOCUMENT),this.directives=null,this.contents=null,this.directivesEndMarker=null,this.documentEndMarker=null}parseDirectives(ye){let{src:ee}=this.context;this.directives=[];let O=!0,H=!1,le=ye;for(;!g.Node.atDocumentBoundary(ee,le,g.Char.DIRECTIVES_END);)switch(le=$t.startCommentOrEndBlankLine(ee,le),ee[le]){case`
309
+ `:if(O){let Fe=new W;le=Fe.parse({src:ee},le),le<ee.length&&this.directives.push(Fe)}else le+=1,O=!0;break;case"#":{let Fe=new ke;le=Fe.parse({src:ee},le),this.directives.push(Fe),O=!1}break;case"%":{let Fe=new ht;le=Fe.parse({parent:this,src:ee},le),this.directives.push(Fe),H=!0,O=!1}break;default:return H?this.error=new g.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),le}return ee[le]?(this.directivesEndMarker=new g.Range(le,le+3),le+3):(H?this.error=new g.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),le)}parseContents(ye){let{parseNode:ee,src:O}=this.context;this.contents||(this.contents=[]);let H=ye;for(;O[H-1]==="-";)H-=1;let le=g.Node.endOfWhiteSpace(O,ye),Fe=H===ye;for(this.valueRange=new g.Range(le);!g.Node.atDocumentBoundary(O,le,g.Char.DOCUMENT_END);){switch(O[le]){case`
310
+ `:if(Fe){let Be=new W;le=Be.parse({src:O},le),le<O.length&&this.contents.push(Be)}else le+=1,Fe=!0;H=le;break;case"#":{let Be=new ke;le=Be.parse({src:O},le),this.contents.push(Be),Fe=!1}break;default:{let Be=g.Node.endOfIndent(O,le),Ae=ee({atLineStart:Fe,indent:-1,inFlow:!1,inCollection:!1,lineStart:H,parent:this},Be);if(!Ae)return this.valueRange.end=Be;this.contents.push(Ae),le=Ae.range.end,Fe=!1;let Oe=Pe(Ae);Oe&&Array.prototype.push.apply(this.contents,Oe)}}le=$t.startCommentOrEndBlankLine(O,le)}if(this.valueRange.end=le,O[le]&&(this.documentEndMarker=new g.Range(le,le+3),le+=3,O[le])){if(le=g.Node.endOfWhiteSpace(O,le),O[le]==="#"){let Be=new ke;le=Be.parse({src:O},le),this.contents.push(Be)}switch(O[le]){case`
311
+ `:le+=1;break;case void 0:break;default:this.error=new g.YAMLSyntaxError(this,"Document end marker line cannot have a non-comment suffix")}}return le}parse(ye,ee){ye.root=this,this.context=ye;let{src:O}=ye,H=O.charCodeAt(ee)===65279?ee+1:ee;return H=this.parseDirectives(H),H=this.parseContents(H),H}setOrigRanges(ye,ee){return ee=super.setOrigRanges(ye,ee),this.directives.forEach(O=>{ee=O.setOrigRanges(ye,ee)}),this.directivesEndMarker&&(ee=this.directivesEndMarker.setOrigRange(ye,ee)),this.contents.forEach(O=>{ee=O.setOrigRanges(ye,ee)}),this.documentEndMarker&&(ee=this.documentEndMarker.setOrigRange(ye,ee)),ee}toString(){let{contents:ye,directives:ee,value:O}=this;if(O!=null)return O;let H=ee.join("");return ye.length>0&&((ee.length>0||ye[0].type===g.Type.COMMENT)&&(H+=`---
312
+ `),H+=ye.join("")),H[H.length-1]!==`
313
+ `&&(H+=`
314
+ `),H}},it=class extends g.Node{parse(ye,ee){this.context=ye;let{src:O}=ye,H=g.Node.endOfIdentifier(O,ee+1);return this.valueRange=new g.Range(ee+1,H),H=g.Node.endOfWhiteSpace(O,H),H=this.parseComment(H),H}},gt={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"},Tt=class extends g.Node{constructor(ye,ee){super(ye,ee),this.blockIndent=null,this.chomping=gt.CLIP,this.header=null}get includesTrailingLines(){return this.chomping===gt.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:ye,end:ee}=this.valueRange,{indent:O,src:H}=this.context;if(this.valueRange.isEmpty())return"";let le=null,Fe=H[ee-1];for(;Fe===`
315
+ `||Fe===" "||Fe===" ";){if(ee-=1,ee<=ye){if(this.chomping===gt.KEEP)break;return""}Fe===`
316
+ `&&(le=ee),Fe=H[ee-1]}let Be=ee+1;le&&(this.chomping===gt.KEEP?(Be=le,ee=this.valueRange.end):ee=le);let Ae=O+this.blockIndent,Oe=this.type===g.Type.BLOCK_FOLDED,Ct=!0,Rt="",Qt="",An=!1;for(let ln=ye;ln<ee;++ln){for(let or=0;or<Ae&&H[ln]===" ";++or)ln+=1;let Wn=H[ln];if(Wn===`
317
+ `)Qt===`
318
+ `?Rt+=`
319
+ `:Qt=`
320
+ `;else{let or=g.Node.endOfLine(H,ln),Fr=H.slice(ln,or);ln=or,Oe&&(Wn===" "||Wn===" ")&&ln<Be?(Qt===" "?Qt=`
321
+ `:!An&&!Ct&&Qt===`
322
+ `&&(Qt=`
323
+
324
+ `),Rt+=Qt+Fr,Qt=or<ee&&H[or]||"",An=!0):(Rt+=Qt+Fr,Qt=Oe&&ln<Be?" ":`
325
+ `,An=!1),Ct&&Fr!==""&&(Ct=!1)}}return this.chomping===gt.STRIP?Rt:Rt+`
326
+ `}parseBlockHeader(ye){let{src:ee}=this.context,O=ye+1,H="";for(;;){let le=ee[O];switch(le){case"-":this.chomping=gt.STRIP;break;case"+":this.chomping=gt.KEEP;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":H+=le;break;default:return this.blockIndent=Number(H)||null,this.header=new g.Range(ye,O),O}O+=1}}parseBlockValue(ye){let{indent:ee,src:O}=this.context,H=!!this.blockIndent,le=ye,Fe=ye,Be=1;for(let Ae=O[le];Ae===`
327
+ `&&(le+=1,!g.Node.atDocumentBoundary(O,le));Ae=O[le]){let Oe=g.Node.endOfBlockIndent(O,ee,le);if(Oe===null)break;let Ct=O[Oe],Rt=Oe-(le+ee);if(this.blockIndent){if(Ct&&Ct!==`
328
+ `&&Rt<this.blockIndent){if(O[Oe]==="#")break;if(!this.error){let Qt=`Block scalars must not be less indented than their ${H?"explicit indentation indicator":"first line"}`;this.error=new g.YAMLSemanticError(this,Qt)}}}else if(O[Oe]!==`
329
+ `){if(Rt<Be){let Qt="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";this.error=new g.YAMLSemanticError(this,Qt)}this.blockIndent=Rt}else Rt>Be&&(Be=Rt);O[Oe]===`
330
+ `?le=Oe:le=Fe=g.Node.endOfLine(O,Oe)}return this.chomping!==gt.KEEP&&(le=O[Fe]?Fe+1:Fe),this.valueRange=new g.Range(ye+1,le),le}parse(ye,ee){this.context=ye;let{src:O}=ye,H=this.parseBlockHeader(ee);return H=g.Node.endOfWhiteSpace(O,H),H=this.parseComment(H),H=this.parseBlockValue(H),H}setOrigRanges(ye,ee){return ee=super.setOrigRanges(ye,ee),this.header?this.header.setOrigRange(ye,ee):ee}},jt=class extends g.Node{constructor(ye,ee){super(ye,ee),this.items=null}prevNodeIsJsonLike(){let ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.items.length,ee=this.items[ye-1];return!!ee&&(ee.jsonLike||ee.type===g.Type.COMMENT&&this.prevNodeIsJsonLike(ye-1))}parse(ye,ee){this.context=ye;let{parseNode:O,src:H}=ye,{indent:le,lineStart:Fe}=ye,Be=H[ee];this.items=[{char:Be,offset:ee}];let Ae=g.Node.endOfWhiteSpace(H,ee+1);for(Be=H[Ae];Be&&Be!=="]"&&Be!=="}";){switch(Be){case`
331
+ `:{Fe=Ae+1;let Oe=g.Node.endOfWhiteSpace(H,Fe);if(H[Oe]===`
332
+ `){let Ct=new W;Fe=Ct.parse({src:H},Fe),this.items.push(Ct)}if(Ae=g.Node.endOfIndent(H,Fe),Ae<=Fe+le&&(Be=H[Ae],Ae<Fe+le||Be!=="]"&&Be!=="}")){let Ct="Insufficient indentation in flow collection";this.error=new g.YAMLSemanticError(this,Ct)}}break;case",":this.items.push({char:Be,offset:Ae}),Ae+=1;break;case"#":{let Oe=new ke;Ae=Oe.parse({src:H},Ae),this.items.push(Oe)}break;case"?":case":":{let Oe=H[Ae+1];if(Oe===`
333
+ `||Oe===" "||Oe===" "||Oe===","||Be===":"&&this.prevNodeIsJsonLike()){this.items.push({char:Be,offset:Ae}),Ae+=1;break}}default:{let Oe=O({atLineStart:!1,inCollection:!1,inFlow:!0,indent:-1,lineStart:Fe,parent:this},Ae);if(!Oe)return this.valueRange=new g.Range(ee,Ae),Ae;this.items.push(Oe),Ae=g.Node.normalizeOffset(H,Oe.range.end)}}Ae=g.Node.endOfWhiteSpace(H,Ae),Be=H[Ae]}return this.valueRange=new g.Range(ee,Ae+1),Be&&(this.items.push({char:Be,offset:Ae}),Ae=g.Node.endOfWhiteSpace(H,Ae+1),Ae=this.parseComment(Ae)),Ae}setOrigRanges(ye,ee){return ee=super.setOrigRanges(ye,ee),this.items.forEach(O=>{if(O instanceof g.Node)ee=O.setOrigRanges(ye,ee);else if(ye.length===0)O.origOffset=O.offset;else{let H=ee;for(;H<ye.length&&!(ye[H]>O.offset);)++H;O.origOffset=O.offset+H,ee=H}}),ee}toString(){let{context:{src:ye},items:ee,range:O,value:H}=this;if(H!=null)return H;let le=ee.filter(Ae=>Ae instanceof g.Node),Fe="",Be=O.start;return le.forEach(Ae=>{let Oe=ye.slice(Be,Ae.range.start);Be=Ae.range.end,Fe+=Oe+String(Ae),Fe[Fe.length-1]===`
334
+ `&&ye[Be-1]!==`
335
+ `&&ye[Be]===`
336
+ `&&(Be+=1)}),Fe+=ye.slice(Be,O.end),g.Node.addStringTerminator(ye,O.end,Fe)}},kt=class extends g.Node{static endOfQuote(ye,ee){let O=ye[ee];for(;O&&O!=='"';)ee+=O==="\\"?2:1,O=ye[ee];return ee+1}get strValue(){if(!this.valueRange||!this.context)return null;let ye=[],{start:ee,end:O}=this.valueRange,{indent:H,src:le}=this.context;le[O-1]!=='"'&&ye.push(new g.YAMLSyntaxError(this,'Missing closing "quote'));let Fe="";for(let Be=ee+1;Be<O-1;++Be){let Ae=le[Be];if(Ae===`
337
+ `){g.Node.atDocumentBoundary(le,Be+1)&&ye.push(new g.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:Oe,offset:Ct,error:Rt}=g.Node.foldNewline(le,Be,H);Fe+=Oe,Be=Ct,Rt&&ye.push(new g.YAMLSemanticError(this,"Multi-line double-quoted string needs to be sufficiently indented"))}else if(Ae==="\\")switch(Be+=1,le[Be]){case"0":Fe+="\0";break;case"a":Fe+="\x07";break;case"b":Fe+="\b";break;case"e":Fe+="\x1B";break;case"f":Fe+="\f";break;case"n":Fe+=`
338
+ `;break;case"r":Fe+="\r";break;case"t":Fe+=" ";break;case"v":Fe+="\v";break;case"N":Fe+="…";break;case"_":Fe+=" ";break;case"L":Fe+="\u2028";break;case"P":Fe+="\u2029";break;case" ":Fe+=" ";break;case'"':Fe+='"';break;case"/":Fe+="/";break;case"\\":Fe+="\\";break;case" ":Fe+=" ";break;case"x":Fe+=this.parseCharCode(Be+1,2,ye),Be+=2;break;case"u":Fe+=this.parseCharCode(Be+1,4,ye),Be+=4;break;case"U":Fe+=this.parseCharCode(Be+1,8,ye),Be+=8;break;case`
339
+ `:for(;le[Be+1]===" "||le[Be+1]===" ";)Be+=1;break;default:ye.push(new g.YAMLSyntaxError(this,`Invalid escape sequence ${le.substr(Be-1,2)}`)),Fe+="\\"+le[Be]}else if(Ae===" "||Ae===" "){let Oe=Be,Ct=le[Be+1];for(;Ct===" "||Ct===" ";)Be+=1,Ct=le[Be+1];Ct!==`
340
+ `&&(Fe+=Be>Oe?le.slice(Oe,Be+1):Ae)}else Fe+=Ae}return ye.length>0?{errors:ye,str:Fe}:Fe}parseCharCode(ye,ee,O){let{src:H}=this.context,le=H.substr(ye,ee),Fe=le.length===ee&&/^[0-9a-fA-F]+$/.test(le)?parseInt(le,16):NaN;return isNaN(Fe)?(O.push(new g.YAMLSyntaxError(this,`Invalid escape sequence ${H.substr(ye-2,ee+2)}`)),H.substr(ye-2,ee+2)):String.fromCodePoint(Fe)}parse(ye,ee){this.context=ye;let{src:O}=ye,H=kt.endOfQuote(O,ee+1);return this.valueRange=new g.Range(ee,H),H=g.Node.endOfWhiteSpace(O,H),H=this.parseComment(H),H}},Jt=class extends g.Node{static endOfQuote(ye,ee){let O=ye[ee];for(;O;)if(O==="'"){if(ye[ee+1]!=="'")break;O=ye[ee+=2]}else O=ye[ee+=1];return ee+1}get strValue(){if(!this.valueRange||!this.context)return null;let ye=[],{start:ee,end:O}=this.valueRange,{indent:H,src:le}=this.context;le[O-1]!=="'"&&ye.push(new g.YAMLSyntaxError(this,"Missing closing 'quote"));let Fe="";for(let Be=ee+1;Be<O-1;++Be){let Ae=le[Be];if(Ae===`
341
+ `){g.Node.atDocumentBoundary(le,Be+1)&&ye.push(new g.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:Oe,offset:Ct,error:Rt}=g.Node.foldNewline(le,Be,H);Fe+=Oe,Be=Ct,Rt&&ye.push(new g.YAMLSemanticError(this,"Multi-line single-quoted string needs to be sufficiently indented"))}else if(Ae==="'")Fe+=Ae,Be+=1,le[Be]!=="'"&&ye.push(new g.YAMLSyntaxError(this,"Unescaped single quote? This should not happen."));else if(Ae===" "||Ae===" "){let Oe=Be,Ct=le[Be+1];for(;Ct===" "||Ct===" ";)Be+=1,Ct=le[Be+1];Ct!==`
342
+ `&&(Fe+=Be>Oe?le.slice(Oe,Be+1):Ae)}else Fe+=Ae}return ye.length>0?{errors:ye,str:Fe}:Fe}parse(ye,ee){this.context=ye;let{src:O}=ye,H=Jt.endOfQuote(O,ee+1);return this.valueRange=new g.Range(ee,H),H=g.Node.endOfWhiteSpace(O,H),H=this.parseComment(H),H}};function Gt(ye,ee){switch(ye){case g.Type.ALIAS:return new it(ye,ee);case g.Type.BLOCK_FOLDED:case g.Type.BLOCK_LITERAL:return new Tt(ye,ee);case g.Type.FLOW_MAP:case g.Type.FLOW_SEQ:return new jt(ye,ee);case g.Type.MAP_KEY:case g.Type.MAP_VALUE:case g.Type.SEQ_ITEM:return new xe(ye,ee);case g.Type.COMMENT:case g.Type.PLAIN:return new g.PlainValue(ye,ee);case g.Type.QUOTE_DOUBLE:return new kt(ye,ee);case g.Type.QUOTE_SINGLE:return new Jt(ye,ee);default:return null}}var Zt=class{static parseType(ye,ee,O){switch(ye[ee]){case"*":return g.Type.ALIAS;case">":return g.Type.BLOCK_FOLDED;case"|":return g.Type.BLOCK_LITERAL;case"{":return g.Type.FLOW_MAP;case"[":return g.Type.FLOW_SEQ;case"?":return!O&&g.Node.atBlank(ye,ee+1,!0)?g.Type.MAP_KEY:g.Type.PLAIN;case":":return!O&&g.Node.atBlank(ye,ee+1,!0)?g.Type.MAP_VALUE:g.Type.PLAIN;case"-":return!O&&g.Node.atBlank(ye,ee+1,!0)?g.Type.SEQ_ITEM:g.Type.PLAIN;case'"':return g.Type.QUOTE_DOUBLE;case"'":return g.Type.QUOTE_SINGLE;default:return g.Type.PLAIN}}constructor(){let ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{atLineStart:ee,inCollection:O,inFlow:H,indent:le,lineStart:Fe,parent:Be}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};g._defineProperty(this,"parseNode",(Ae,Oe)=>{if(g.Node.atDocumentBoundary(this.src,Oe))return null;let Ct=new Zt(this,Ae),{props:Rt,type:Qt,valueStart:An}=Ct.parseProps(Oe),ln=Gt(Qt,Rt),Wn=ln.parse(Ct,An);if(ln.range=new g.Range(Oe,Wn),Wn<=Oe&&(ln.error=new Error("Node#parse consumed no characters"),ln.error.parseEnd=Wn,ln.error.source=ln,ln.range.end=Oe+1),Ct.nodeStartsCollection(ln)){!ln.error&&!Ct.atLineStart&&Ct.parent.type===g.Type.DOCUMENT&&(ln.error=new g.YAMLSyntaxError(ln,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let or=new Ke(ln);return Wn=or.parse(new Zt(Ct),Wn),or.range=new g.Range(Oe,Wn),or}return ln}),this.atLineStart=ee??(ye.atLineStart||!1),this.inCollection=O??(ye.inCollection||!1),this.inFlow=H??(ye.inFlow||!1),this.indent=le??ye.indent,this.lineStart=Fe??ye.lineStart,this.parent=Be??(ye.parent||{}),this.root=ye.root,this.src=ye.src}nodeStartsCollection(ye){let{inCollection:ee,inFlow:O,src:H}=this;if(ee||O)return!1;if(ye instanceof xe)return!0;let le=ye.range.end;return H[le]===`
343
+ `||H[le-1]===`
344
+ `?!1:(le=g.Node.endOfWhiteSpace(H,le),H[le]===":")}parseProps(ye){let{inFlow:ee,parent:O,src:H}=this,le=[],Fe=!1;ye=this.atLineStart?g.Node.endOfIndent(H,ye):g.Node.endOfWhiteSpace(H,ye);let Be=H[ye];for(;Be===g.Char.ANCHOR||Be===g.Char.COMMENT||Be===g.Char.TAG||Be===`
345
+ `;){if(Be===`
346
+ `){let Oe=ye,Ct;do Ct=Oe+1,Oe=g.Node.endOfIndent(H,Ct);while(H[Oe]===`
347
+ `);let Rt=Oe-(Ct+this.indent),Qt=O.type===g.Type.SEQ_ITEM&&O.context.atLineStart;if(H[Oe]!=="#"&&!g.Node.nextNodeIsIndented(H[Oe],Rt,!Qt))break;this.atLineStart=!0,this.lineStart=Ct,Fe=!1,ye=Oe}else if(Be===g.Char.COMMENT){let Oe=g.Node.endOfLine(H,ye+1);le.push(new g.Range(ye,Oe)),ye=Oe}else{let Oe=g.Node.endOfIdentifier(H,ye+1);Be===g.Char.TAG&&H[Oe]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(H.slice(ye+1,Oe+13))&&(Oe=g.Node.endOfIdentifier(H,Oe+5)),le.push(new g.Range(ye,Oe)),Fe=!0,ye=g.Node.endOfWhiteSpace(H,Oe)}Be=H[ye]}Fe&&Be===":"&&g.Node.atBlank(H,ye+1,!0)&&(ye-=1);let Ae=Zt.parseType(H,ye,ee);return{props:le,type:Ae,valueStart:ye}}};function vn(ye){let ee=[];ye.indexOf("\r")!==-1&&(ye=ye.replace(/\r\n?/g,(le,Fe)=>(le.length>1&&ee.push(Fe),`
348
+ `)));let O=[],H=0;do{let le=new $t,Fe=new Zt({src:ye});H=le.parse(Fe,H),O.push(le)}while(H<ye.length);return O.setOrigRanges=()=>{if(ee.length===0)return!1;for(let Fe=1;Fe<ee.length;++Fe)ee[Fe]-=Fe;let le=0;for(let Fe=0;Fe<O.length;++Fe)le=O[Fe].setOrigRanges(ee,le);return ee.splice(0,ee.length),!0},O.toString=()=>O.join(`...
349
+ `),O}Y.parse=vn}}),as=c({"node_modules/yaml/dist/resolveSeq-d03cb037.js"(Y){M();var g=Hr();function W(pe,de,We){return We?`#${We.replace(/[\s\S]^/gm,`$&${de}#`)}
350
+ ${de}${pe}`:pe}function xe(pe,de,We){return We?We.indexOf(`
351
+ `)===-1?`${pe} #${We}`:`${pe}
352
+ `+We.replace(/^/gm,`${de||""}#`):pe}var ke=class{};function Pe(pe,de,We){if(Array.isArray(pe))return pe.map((Ye,Ze)=>Pe(Ye,String(Ze),We));if(pe&&typeof pe.toJSON=="function"){let Ye=We&&We.anchors&&We.anchors.get(pe);Ye&&(We.onCreate=et=>{Ye.res=et,delete We.onCreate});let Ze=pe.toJSON(de,We);return Ye&&We.onCreate&&We.onCreate(Ze),Ze}return(!We||!We.keep)&&typeof pe=="bigint"?Number(pe):pe}var Ke=class extends ke{constructor(pe){super(),this.value=pe}toJSON(pe,de){return de&&de.keep?this.value:Pe(this.value,pe,de)}toString(){return String(this.value)}};function ht(pe,de,We){let Ye=We;for(let Ze=de.length-1;Ze>=0;--Ze){let et=de[Ze];if(Number.isInteger(et)&&et>=0){let xt=[];xt[et]=Ye,Ye=xt}else{let xt={};Object.defineProperty(xt,et,{value:Ye,writable:!0,enumerable:!0,configurable:!0}),Ye=xt}}return pe.createNode(Ye,!1)}var $t=pe=>pe==null||typeof pe=="object"&&pe[Symbol.iterator]().next().done,it=class extends ke{constructor(pe){super(),g._defineProperty(this,"items",[]),this.schema=pe}addIn(pe,de){if($t(pe))this.add(de);else{let[We,...Ye]=pe,Ze=this.get(We,!0);if(Ze instanceof it)Ze.addIn(Ye,de);else if(Ze===void 0&&this.schema)this.set(We,ht(this.schema,Ye,de));else throw new Error(`Expected YAML collection at ${We}. Remaining path: ${Ye}`)}}deleteIn(pe){let[de,...We]=pe;if(We.length===0)return this.delete(de);let Ye=this.get(de,!0);if(Ye instanceof it)return Ye.deleteIn(We);throw new Error(`Expected YAML collection at ${de}. Remaining path: ${We}`)}getIn(pe,de){let[We,...Ye]=pe,Ze=this.get(We,!0);return Ye.length===0?!de&&Ze instanceof Ke?Ze.value:Ze:Ze instanceof it?Ze.getIn(Ye,de):void 0}hasAllNullValues(){return this.items.every(pe=>{if(!pe||pe.type!=="PAIR")return!1;let de=pe.value;return de==null||de instanceof Ke&&de.value==null&&!de.commentBefore&&!de.comment&&!de.tag})}hasIn(pe){let[de,...We]=pe;if(We.length===0)return this.has(de);let Ye=this.get(de,!0);return Ye instanceof it?Ye.hasIn(We):!1}setIn(pe,de){let[We,...Ye]=pe;if(Ye.length===0)this.set(We,de);else{let Ze=this.get(We,!0);if(Ze instanceof it)Ze.setIn(Ye,de);else if(Ze===void 0&&this.schema)this.set(We,ht(this.schema,Ye,de));else throw new Error(`Expected YAML collection at ${We}. Remaining path: ${Ye}`)}}toJSON(){return null}toString(pe,de,We,Ye){let{blockItem:Ze,flowChars:et,isMap:xt,itemIndent:Nt}=de,{indent:en,indentStep:an,stringify:mn}=pe,Mn=this.type===g.Type.FLOW_MAP||this.type===g.Type.FLOW_SEQ||pe.inFlow;Mn&&(Nt+=an);let fr=xt&&this.hasAllNullValues();pe=Object.assign({},pe,{allNullValues:fr,indent:Nt,inFlow:Mn,type:null});let pr=!1,qn=!1,ar=this.items.reduce((Wr,cr,zr)=>{let Dr;cr&&(!pr&&cr.spaceBefore&&Wr.push({type:"comment",str:""}),cr.commentBefore&&cr.commentBefore.match(/^.*$/gm).forEach(Za=>{Wr.push({type:"comment",str:`#${Za}`})}),cr.comment&&(Dr=cr.comment),Mn&&(!pr&&cr.spaceBefore||cr.commentBefore||cr.comment||cr.key&&(cr.key.commentBefore||cr.key.comment)||cr.value&&(cr.value.commentBefore||cr.value.comment))&&(qn=!0)),pr=!1;let Tr=mn(cr,pe,()=>Dr=null,()=>pr=!0);return Mn&&!qn&&Tr.includes(`
353
+ `)&&(qn=!0),Mn&&zr<this.items.length-1&&(Tr+=","),Tr=xe(Tr,Nt,Dr),pr&&(Dr||Mn)&&(pr=!1),Wr.push({type:"item",str:Tr}),Wr},[]),nr;if(ar.length===0)nr=et.start+et.end;else if(Mn){let{start:Wr,end:cr}=et,zr=ar.map(Dr=>Dr.str);if(qn||zr.reduce((Dr,Tr)=>Dr+Tr.length+2,2)>it.maxFlowStringSingleLineLength){nr=Wr;for(let Dr of zr)nr+=Dr?`
354
+ ${an}${en}${Dr}`:`
355
+ `;nr+=`
356
+ ${en}${cr}`}else nr=`${Wr} ${zr.join(" ")} ${cr}`}else{let Wr=ar.map(Ze);nr=Wr.shift();for(let cr of Wr)nr+=cr?`
357
+ ${en}${cr}`:`
358
+ `}return this.comment?(nr+=`
359
+ `+this.comment.replace(/^/gm,`${en}#`),We&&We()):pr&&Ye&&Ye(),nr}};g._defineProperty(it,"maxFlowStringSingleLineLength",60);function gt(pe){let de=pe instanceof Ke?pe.value:pe;return de&&typeof de=="string"&&(de=Number(de)),Number.isInteger(de)&&de>=0?de:null}var Tt=class extends it{add(pe){this.items.push(pe)}delete(pe){let de=gt(pe);return typeof de!="number"?!1:this.items.splice(de,1).length>0}get(pe,de){let We=gt(pe);if(typeof We!="number")return;let Ye=this.items[We];return!de&&Ye instanceof Ke?Ye.value:Ye}has(pe){let de=gt(pe);return typeof de=="number"&&de<this.items.length}set(pe,de){let We=gt(pe);if(typeof We!="number")throw new Error(`Expected a valid index, not ${pe}.`);this.items[We]=de}toJSON(pe,de){let We=[];de&&de.onCreate&&de.onCreate(We);let Ye=0;for(let Ze of this.items)We.push(Pe(Ze,String(Ye++),de));return We}toString(pe,de,We){return pe?super.toString(pe,{blockItem:Ye=>Ye.type==="comment"?Ye.str:`- ${Ye.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(pe.indent||"")+" "},de,We):JSON.stringify(this)}},jt=(pe,de,We)=>de===null?"":typeof de!="object"?String(de):pe instanceof ke&&We&&We.doc?pe.toString({anchors:Object.create(null),doc:We.doc,indent:"",indentStep:We.indentStep,inFlow:!0,inStringifyKey:!0,stringify:We.stringify}):JSON.stringify(de),kt=class extends ke{constructor(pe){let de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;super(),this.key=pe,this.value=de,this.type=kt.Type.PAIR}get commentBefore(){return this.key instanceof ke?this.key.commentBefore:void 0}set commentBefore(pe){if(this.key==null&&(this.key=new Ke(null)),this.key instanceof ke)this.key.commentBefore=pe;else{let de="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(de)}}addToJSMap(pe,de){let We=Pe(this.key,"",pe);if(de instanceof Map){let Ye=Pe(this.value,We,pe);de.set(We,Ye)}else if(de instanceof Set)de.add(We);else{let Ye=jt(this.key,We,pe),Ze=Pe(this.value,Ye,pe);Ye in de?Object.defineProperty(de,Ye,{value:Ze,writable:!0,enumerable:!0,configurable:!0}):de[Ye]=Ze}return de}toJSON(pe,de){let We=de&&de.mapAsMap?new Map:{};return this.addToJSMap(de,We)}toString(pe,de,We){if(!pe||!pe.doc)return JSON.stringify(this);let{indent:Ye,indentSeq:Ze,simpleKeys:et}=pe.doc.options,{key:xt,value:Nt}=this,en=xt instanceof ke&&xt.comment;if(et){if(en)throw new Error("With simple keys, key nodes cannot have comments");if(xt instanceof it){let Dr="With simple keys, collection cannot be used as a key value";throw new Error(Dr)}}let an=!et&&(!xt||en||(xt instanceof ke?xt instanceof it||xt.type===g.Type.BLOCK_FOLDED||xt.type===g.Type.BLOCK_LITERAL:typeof xt=="object")),{doc:mn,indent:Mn,indentStep:fr,stringify:pr}=pe;pe=Object.assign({},pe,{implicitKey:!an,indent:Mn+fr});let qn=!1,ar=pr(xt,pe,()=>en=null,()=>qn=!0);if(ar=xe(ar,pe.indent,en),!an&&ar.length>1024){if(et)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");an=!0}if(pe.allNullValues&&!et)return this.comment?(ar=xe(ar,pe.indent,this.comment),de&&de()):qn&&!en&&We&&We(),pe.inFlow&&!an?ar:`? ${ar}`;ar=an?`? ${ar}
360
+ ${Mn}:`:`${ar}:`,this.comment&&(ar=xe(ar,pe.indent,this.comment),de&&de());let nr="",Wr=null;if(Nt instanceof ke){if(Nt.spaceBefore&&(nr=`
361
+ `),Nt.commentBefore){let Dr=Nt.commentBefore.replace(/^/gm,`${pe.indent}#`);nr+=`
362
+ ${Dr}`}Wr=Nt.comment}else Nt&&typeof Nt=="object"&&(Nt=mn.schema.createNode(Nt,!0));pe.implicitKey=!1,!an&&!this.comment&&Nt instanceof Ke&&(pe.indentAtStart=ar.length+1),qn=!1,!Ze&&Ye>=2&&!pe.inFlow&&!an&&Nt instanceof Tt&&Nt.type!==g.Type.FLOW_SEQ&&!Nt.tag&&!mn.anchors.getName(Nt)&&(pe.indent=pe.indent.substr(2));let cr=pr(Nt,pe,()=>Wr=null,()=>qn=!0),zr=" ";return nr||this.comment?zr=`${nr}
363
+ ${pe.indent}`:!an&&Nt instanceof it?(!(cr[0]==="["||cr[0]==="{")||cr.includes(`
364
+ `))&&(zr=`
365
+ ${pe.indent}`):cr[0]===`
366
+ `&&(zr=""),qn&&!Wr&&We&&We(),xe(ar+zr+cr,pe.indent,Wr)}};g._defineProperty(kt,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var Jt=(pe,de)=>{if(pe instanceof Gt){let We=de.get(pe.source);return We.count*We.aliasCount}else if(pe instanceof it){let We=0;for(let Ye of pe.items){let Ze=Jt(Ye,de);Ze>We&&(We=Ze)}return We}else if(pe instanceof kt){let We=Jt(pe.key,de),Ye=Jt(pe.value,de);return Math.max(We,Ye)}return 1},Gt=class extends ke{static stringify(pe,de){let{range:We,source:Ye}=pe,{anchors:Ze,doc:et,implicitKey:xt,inStringifyKey:Nt}=de,en=Object.keys(Ze).find(mn=>Ze[mn]===Ye);if(!en&&Nt&&(en=et.anchors.getName(Ye)||et.anchors.newName()),en)return`*${en}${xt?" ":""}`;let an=et.anchors.getName(Ye)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${an} [${We}]`)}constructor(pe){super(),this.source=pe,this.type=g.Type.ALIAS}set tag(pe){throw new Error("Alias nodes cannot have tags")}toJSON(pe,de){if(!de)return Pe(this.source,pe,de);let{anchors:We,maxAliasCount:Ye}=de,Ze=We.get(this.source);if(!Ze||Ze.res===void 0){let et="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new g.YAMLReferenceError(this.cstNode,et):new ReferenceError(et)}if(Ye>=0&&(Ze.count+=1,Ze.aliasCount===0&&(Ze.aliasCount=Jt(this.source,We)),Ze.count*Ze.aliasCount>Ye)){let et="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new g.YAMLReferenceError(this.cstNode,et):new ReferenceError(et)}return Ze.res}toString(pe){return Gt.stringify(this,pe)}};g._defineProperty(Gt,"default",!0);function Zt(pe,de){let We=de instanceof Ke?de.value:de;for(let Ye of pe)if(Ye instanceof kt&&(Ye.key===de||Ye.key===We||Ye.key&&Ye.key.value===We))return Ye}var vn=class extends it{add(pe,de){pe?pe instanceof kt||(pe=new kt(pe.key||pe,pe.value)):pe=new kt(pe);let We=Zt(this.items,pe.key),Ye=this.schema&&this.schema.sortMapEntries;if(We)if(de)We.value=pe.value;else throw new Error(`Key ${pe.key} already set`);else if(Ye){let Ze=this.items.findIndex(et=>Ye(pe,et)<0);Ze===-1?this.items.push(pe):this.items.splice(Ze,0,pe)}else this.items.push(pe)}delete(pe){let de=Zt(this.items,pe);return de?this.items.splice(this.items.indexOf(de),1).length>0:!1}get(pe,de){let We=Zt(this.items,pe),Ye=We&&We.value;return!de&&Ye instanceof Ke?Ye.value:Ye}has(pe){return!!Zt(this.items,pe)}set(pe,de){this.add(new kt(pe,de),!0)}toJSON(pe,de,We){let Ye=We?new We:de&&de.mapAsMap?new Map:{};de&&de.onCreate&&de.onCreate(Ye);for(let Ze of this.items)Ze.addToJSMap(de,Ye);return Ye}toString(pe,de,We){if(!pe)return JSON.stringify(this);for(let Ye of this.items)if(!(Ye instanceof kt))throw new Error(`Map items must all be pairs; found ${JSON.stringify(Ye)} instead`);return super.toString(pe,{blockItem:Ye=>Ye.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:pe.indent||""},de,We)}},ye="<<",ee=class extends kt{constructor(pe){if(pe instanceof kt){let de=pe.value;de instanceof Tt||(de=new Tt,de.items.push(pe.value),de.range=pe.value.range),super(pe.key,de),this.range=pe.range}else super(new Ke(ye),new Tt);this.type=kt.Type.MERGE_PAIR}addToJSMap(pe,de){for(let{source:We}of this.value.items){if(!(We instanceof vn))throw new Error("Merge sources must be maps");let Ye=We.toJSON(null,pe,Map);for(let[Ze,et]of Ye)de instanceof Map?de.has(Ze)||de.set(Ze,et):de instanceof Set?de.add(Ze):Object.prototype.hasOwnProperty.call(de,Ze)||Object.defineProperty(de,Ze,{value:et,writable:!0,enumerable:!0,configurable:!0})}return de}toString(pe,de){let We=this.value;if(We.items.length>1)return super.toString(pe,de);this.value=We.items[0];let Ye=super.toString(pe,de);return this.value=We,Ye}},O={defaultType:g.Type.BLOCK_LITERAL,lineWidth:76},H={trueStr:"true",falseStr:"false"},le={asBigInt:!1},Fe={nullStr:"null"},Be={defaultType:g.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function Ae(pe,de,We){for(let{format:Ye,test:Ze,resolve:et}of de)if(Ze){let xt=pe.match(Ze);if(xt){let Nt=et.apply(null,xt);return Nt instanceof Ke||(Nt=new Ke(Nt)),Ye&&(Nt.format=Ye),Nt}}return We&&(pe=We(pe)),new Ke(pe)}var Oe="flow",Ct="block",Rt="quoted",Qt=(pe,de)=>{let We=pe[de+1];for(;We===" "||We===" ";){do We=pe[de+=1];while(We&&We!==`
367
+ `);We=pe[de+1]}return de};function An(pe,de,We,Ye){let{indentAtStart:Ze,lineWidth:et=80,minContentWidth:xt=20,onFold:Nt,onOverflow:en}=Ye;if(!et||et<0)return pe;let an=Math.max(1+xt,1+et-de.length);if(pe.length<=an)return pe;let mn=[],Mn={},fr=et-de.length;typeof Ze=="number"&&(Ze>et-Math.max(2,xt)?mn.push(0):fr=et-Ze);let pr,qn,ar=!1,nr=-1,Wr=-1,cr=-1;We===Ct&&(nr=Qt(pe,nr),nr!==-1&&(fr=nr+an));for(let Dr;Dr=pe[nr+=1];){if(We===Rt&&Dr==="\\"){switch(Wr=nr,pe[nr+1]){case"x":nr+=3;break;case"u":nr+=5;break;case"U":nr+=9;break;default:nr+=1}cr=nr}if(Dr===`
368
+ `)We===Ct&&(nr=Qt(pe,nr)),fr=nr+an,pr=void 0;else{if(Dr===" "&&qn&&qn!==" "&&qn!==`
369
+ `&&qn!==" "){let Tr=pe[nr+1];Tr&&Tr!==" "&&Tr!==`
370
+ `&&Tr!==" "&&(pr=nr)}if(nr>=fr)if(pr)mn.push(pr),fr=pr+an,pr=void 0;else if(We===Rt){for(;qn===" "||qn===" ";)qn=Dr,Dr=pe[nr+=1],ar=!0;let Tr=nr>cr+1?nr-2:Wr-1;if(Mn[Tr])return pe;mn.push(Tr),Mn[Tr]=!0,fr=Tr+an,pr=void 0}else ar=!0}qn=Dr}if(ar&&en&&en(),mn.length===0)return pe;Nt&&Nt();let zr=pe.slice(0,mn[0]);for(let Dr=0;Dr<mn.length;++Dr){let Tr=mn[Dr],Za=mn[Dr+1]||pe.length;Tr===0?zr=`
371
+ ${de}${pe.slice(0,Za)}`:(We===Rt&&Mn[Tr]&&(zr+=`${pe[Tr]}\\`),zr+=`
372
+ ${de}${pe.slice(Tr+1,Za)}`)}return zr}var ln=pe=>{let{indentAtStart:de}=pe;return de?Object.assign({indentAtStart:de},Be.fold):Be.fold},Wn=pe=>/^(%|---|\.\.\.)/m.test(pe);function or(pe,de,We){if(!de||de<0)return!1;let Ye=de-We,Ze=pe.length;if(Ze<=Ye)return!1;for(let et=0,xt=0;et<Ze;++et)if(pe[et]===`
373
+ `){if(et-xt>Ye)return!0;if(xt=et+1,Ze-xt<=Ye)return!1}return!0}function Fr(pe,de){let{implicitKey:We}=de,{jsonEncoding:Ye,minMultiLineLength:Ze}=Be.doubleQuoted,et=JSON.stringify(pe);if(Ye)return et;let xt=de.indent||(Wn(pe)?" ":""),Nt="",en=0;for(let an=0,mn=et[an];mn;mn=et[++an])if(mn===" "&&et[an+1]==="\\"&&et[an+2]==="n"&&(Nt+=et.slice(en,an)+"\\ ",an+=1,en=an,mn="\\"),mn==="\\")switch(et[an+1]){case"u":{Nt+=et.slice(en,an);let Mn=et.substr(an+2,4);switch(Mn){case"0000":Nt+="\\0";break;case"0007":Nt+="\\a";break;case"000b":Nt+="\\v";break;case"001b":Nt+="\\e";break;case"0085":Nt+="\\N";break;case"00a0":Nt+="\\_";break;case"2028":Nt+="\\L";break;case"2029":Nt+="\\P";break;default:Mn.substr(0,2)==="00"?Nt+="\\x"+Mn.substr(2):Nt+=et.substr(an,6)}an+=5,en=an+1}break;case"n":if(We||et[an+2]==='"'||et.length<Ze)an+=1;else{for(Nt+=et.slice(en,an)+`
374
+
375
+ `;et[an+2]==="\\"&&et[an+3]==="n"&&et[an+4]!=='"';)Nt+=`
376
+ `,an+=2;Nt+=xt,et[an+2]===" "&&(Nt+="\\"),an+=1,en=an+1}break;default:an+=1}return Nt=en?Nt+et.slice(en):et,We?Nt:An(Nt,xt,Rt,ln(de))}function bi(pe,de){if(de.implicitKey){if(/\n/.test(pe))return Fr(pe,de)}else if(/[ \t]\n|\n[ \t]/.test(pe))return Fr(pe,de);let We=de.indent||(Wn(pe)?" ":""),Ye="'"+pe.replace(/'/g,"''").replace(/\n+/g,`$&
377
+ ${We}`)+"'";return de.implicitKey?Ye:An(Ye,We,Oe,ln(de))}function hi(pe,de,We,Ye){let{comment:Ze,type:et,value:xt}=pe;if(/\n[\t ]+$/.test(xt)||/^\s*$/.test(xt))return Fr(xt,de);let Nt=de.indent||(de.forceBlockIndent||Wn(xt)?" ":""),en=Nt?"2":"1",an=et===g.Type.BLOCK_FOLDED?!1:et===g.Type.BLOCK_LITERAL?!0:!or(xt,Be.fold.lineWidth,Nt.length),mn=an?"|":">";if(!xt)return mn+`
378
+ `;let Mn="",fr="";if(xt=xt.replace(/[\n\t ]*$/,qn=>{let ar=qn.indexOf(`
379
+ `);return ar===-1?mn+="-":(xt===qn||ar!==qn.length-1)&&(mn+="+",Ye&&Ye()),fr=qn.replace(/\n$/,""),""}).replace(/^[\n ]*/,qn=>{qn.indexOf(" ")!==-1&&(mn+=en);let ar=qn.match(/ +$/);return ar?(Mn=qn.slice(0,-ar[0].length),ar[0]):(Mn=qn,"")}),fr&&(fr=fr.replace(/\n+(?!\n|$)/g,`$&${Nt}`)),Mn&&(Mn=Mn.replace(/\n+/g,`$&${Nt}`)),Ze&&(mn+=" #"+Ze.replace(/ ?[\r\n]+/g," "),We&&We()),!xt)return`${mn}${en}
380
+ ${Nt}${fr}`;if(an)return xt=xt.replace(/\n+/g,`$&${Nt}`),`${mn}
381
+ ${Nt}${Mn}${xt}${fr}`;xt=xt.replace(/\n+/g,`
382
+ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${Nt}`);let pr=An(`${Mn}${xt}${fr}`,Nt,Ct,Be.fold);return`${mn}
383
+ ${Nt}${pr}`}function yt(pe,de,We,Ye){let{comment:Ze,type:et,value:xt}=pe,{actualString:Nt,implicitKey:en,indent:an,inFlow:mn}=de;if(en&&/[\n[\]{},]/.test(xt)||mn&&/[[\]{},]/.test(xt))return Fr(xt,de);if(!xt||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(xt))return en||mn||xt.indexOf(`
384
+ `)===-1?xt.indexOf('"')!==-1&&xt.indexOf("'")===-1?bi(xt,de):Fr(xt,de):hi(pe,de,We,Ye);if(!en&&!mn&&et!==g.Type.PLAIN&&xt.indexOf(`
385
+ `)!==-1)return hi(pe,de,We,Ye);if(an===""&&Wn(xt))return de.forceBlockIndent=!0,hi(pe,de,We,Ye);let Mn=xt.replace(/\n+/g,`$&
386
+ ${an}`);if(Nt){let{tags:pr}=de.doc.schema;if(typeof Ae(Mn,pr,pr.scalarFallback).value!="string")return Fr(xt,de)}let fr=en?Mn:An(Mn,an,Oe,ln(de));return Ze&&!mn&&(fr.indexOf(`
387
+ `)!==-1||Ze.indexOf(`
388
+ `)!==-1)?(We&&We(),W(fr,an,Ze)):fr}function rn(pe,de,We,Ye){let{defaultType:Ze}=Be,{implicitKey:et,inFlow:xt}=de,{type:Nt,value:en}=pe;typeof en!="string"&&(en=String(en),pe=Object.assign({},pe,{value:en}));let an=Mn=>{switch(Mn){case g.Type.BLOCK_FOLDED:case g.Type.BLOCK_LITERAL:return hi(pe,de,We,Ye);case g.Type.QUOTE_DOUBLE:return Fr(en,de);case g.Type.QUOTE_SINGLE:return bi(en,de);case g.Type.PLAIN:return yt(pe,de,We,Ye);default:return null}};(Nt!==g.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(en)||(et||xt)&&(Nt===g.Type.BLOCK_FOLDED||Nt===g.Type.BLOCK_LITERAL))&&(Nt=g.Type.QUOTE_DOUBLE);let mn=an(Nt);if(mn===null&&(mn=an(Ze),mn===null))throw new Error(`Unsupported default string type ${Ze}`);return mn}function gn(pe){let{format:de,minFractionDigits:We,tag:Ye,value:Ze}=pe;if(typeof Ze=="bigint")return String(Ze);if(!isFinite(Ze))return isNaN(Ze)?".nan":Ze<0?"-.inf":".inf";let et=JSON.stringify(Ze);if(!de&&We&&(!Ye||Ye==="tag:yaml.org,2002:float")&&/^\d/.test(et)){let xt=et.indexOf(".");xt<0&&(xt=et.length,et+=".");let Nt=We-(et.length-xt-1);for(;Nt-- >0;)et+="0"}return et}function Sn(pe,de){let We,Ye;switch(de.type){case g.Type.FLOW_MAP:We="}",Ye="flow map";break;case g.Type.FLOW_SEQ:We="]",Ye="flow sequence";break;default:pe.push(new g.YAMLSemanticError(de,"Not a flow collection!?"));return}let Ze;for(let et=de.items.length-1;et>=0;--et){let xt=de.items[et];if(!xt||xt.type!==g.Type.COMMENT){Ze=xt;break}}if(Ze&&Ze.char!==We){let et=`Expected ${Ye} to end with ${We}`,xt;typeof Ze.offset=="number"?(xt=new g.YAMLSemanticError(de,et),xt.offset=Ze.offset+1):(xt=new g.YAMLSemanticError(Ze,et),Ze.range&&Ze.range.end&&(xt.offset=Ze.range.end-Ze.range.start)),pe.push(xt)}}function Yn(pe,de){let We=de.context.src[de.range.start-1];if(We!==`
389
+ `&&We!==" "&&We!==" "){let Ye="Comments must be separated from other tokens by white space characters";pe.push(new g.YAMLSemanticError(de,Ye))}}function lr(pe,de){let We=String(de),Ye=We.substr(0,8)+"..."+We.substr(-8);return new g.YAMLSemanticError(pe,`The "${Ye}" key is too long`)}function Ii(pe,de){for(let{afterKey:We,before:Ye,comment:Ze}of de){let et=pe.items[Ye];et?(We&&et.value&&(et=et.value),Ze===void 0?(We||!et.commentBefore)&&(et.spaceBefore=!0):et.commentBefore?et.commentBefore+=`
390
+ `+Ze:et.commentBefore=Ze):Ze!==void 0&&(pe.comment?pe.comment+=`
391
+ `+Ze:pe.comment=Ze)}}function Qi(pe,de){let We=de.strValue;return We?typeof We=="string"?We:(We.errors.forEach(Ye=>{Ye.source||(Ye.source=de),pe.errors.push(Ye)}),We.str):""}function Xi(pe,de){let{handle:We,suffix:Ye}=de.tag,Ze=pe.tagPrefixes.find(et=>et.handle===We);if(!Ze){let et=pe.getDefaults().tagPrefixes;if(et&&(Ze=et.find(xt=>xt.handle===We)),!Ze)throw new g.YAMLSemanticError(de,`The ${We} tag handle is non-default and was not declared.`)}if(!Ye)throw new g.YAMLSemanticError(de,`The ${We} tag has no suffix.`);if(We==="!"&&(pe.version||pe.options.version)==="1.0"){if(Ye[0]==="^")return pe.warnings.push(new g.YAMLWarning(de,"YAML 1.0 ^ tag expansion is not supported")),Ye;if(/[:/]/.test(Ye)){let et=Ye.match(/^([a-z0-9-]+)\/(.*)/i);return et?`tag:${et[1]}.yaml.org,2002:${et[2]}`:`tag:${Ye}`}}return Ze.prefix+decodeURIComponent(Ye)}function Oi(pe,de){let{tag:We,type:Ye}=de,Ze=!1;if(We){let{handle:et,suffix:xt,verbatim:Nt}=We;if(Nt){if(Nt!=="!"&&Nt!=="!!")return Nt;let en=`Verbatim tags aren't resolved, so ${Nt} is invalid.`;pe.errors.push(new g.YAMLSemanticError(de,en))}else if(et==="!"&&!xt)Ze=!0;else try{return Xi(pe,de)}catch(en){pe.errors.push(en)}}switch(Ye){case g.Type.BLOCK_FOLDED:case g.Type.BLOCK_LITERAL:case g.Type.QUOTE_DOUBLE:case g.Type.QUOTE_SINGLE:return g.defaultTags.STR;case g.Type.FLOW_MAP:case g.Type.MAP:return g.defaultTags.MAP;case g.Type.FLOW_SEQ:case g.Type.SEQ:return g.defaultTags.SEQ;case g.Type.PLAIN:return Ze?g.defaultTags.STR:null;default:return null}}function ia(pe,de,We){let{tags:Ye}=pe.schema,Ze=[];for(let xt of Ye)if(xt.tag===We)if(xt.test)Ze.push(xt);else{let Nt=xt.resolve(pe,de);return Nt instanceof it?Nt:new Ke(Nt)}let et=Qi(pe,de);return typeof et=="string"&&Ze.length>0?Ae(et,Ze,Ye.scalarFallback):null}function Ka(pe){let{type:de}=pe;switch(de){case g.Type.FLOW_MAP:case g.Type.MAP:return g.defaultTags.MAP;case g.Type.FLOW_SEQ:case g.Type.SEQ:return g.defaultTags.SEQ;default:return g.defaultTags.STR}}function qo(pe,de,We){try{let Ye=ia(pe,de,We);if(Ye)return We&&de.tag&&(Ye.tag=We),Ye}catch(Ye){return Ye.source||(Ye.source=de),pe.errors.push(Ye),null}try{let Ye=Ka(de);if(!Ye)throw new Error(`The tag ${We} is unavailable`);let Ze=`The tag ${We} is unavailable, falling back to ${Ye}`;pe.warnings.push(new g.YAMLWarning(de,Ze));let et=ia(pe,de,Ye);return et.tag=We,et}catch(Ye){let Ze=new g.YAMLReferenceError(de,Ye.message);return Ze.stack=Ye.stack,pe.errors.push(Ze),null}}var Cl=pe=>{if(!pe)return!1;let{type:de}=pe;return de===g.Type.MAP_KEY||de===g.Type.MAP_VALUE||de===g.Type.SEQ_ITEM};function Wf(pe,de){let We={before:[],after:[]},Ye=!1,Ze=!1,et=Cl(de.context.parent)?de.context.parent.props.concat(de.props):de.props;for(let{start:xt,end:Nt}of et)switch(de.context.src[xt]){case g.Char.COMMENT:{if(!de.commentHasRequiredWhitespace(xt)){let mn="Comments must be separated from other tokens by white space characters";pe.push(new g.YAMLSemanticError(de,mn))}let{header:en,valueRange:an}=de;(an&&(xt>an.start||en&&xt>en.start)?We.after:We.before).push(de.context.src.slice(xt+1,Nt));break}case g.Char.ANCHOR:if(Ye){let en="A node can have at most one anchor";pe.push(new g.YAMLSemanticError(de,en))}Ye=!0;break;case g.Char.TAG:if(Ze){let en="A node can have at most one tag";pe.push(new g.YAMLSemanticError(de,en))}Ze=!0;break}return{comments:We,hasAnchor:Ye,hasTag:Ze}}function Gf(pe,de){let{anchors:We,errors:Ye,schema:Ze}=pe;if(de.type===g.Type.ALIAS){let xt=de.rawValue,Nt=We.getNode(xt);if(!Nt){let an=`Aliased anchor not found: ${xt}`;return Ye.push(new g.YAMLReferenceError(de,an)),null}let en=new Gt(Nt);return We._cstAliases.push(en),en}let et=Oi(pe,de);if(et)return qo(pe,de,et);if(de.type!==g.Type.PLAIN){let xt=`Failed to resolve ${de.type} node here`;return Ye.push(new g.YAMLSyntaxError(de,xt)),null}try{let xt=Qi(pe,de);return Ae(xt,Ze.tags,Ze.tags.scalarFallback)}catch(xt){return xt.source||(xt.source=de),Ye.push(xt),null}}function vi(pe,de){if(!de)return null;de.error&&pe.errors.push(de.error);let{comments:We,hasAnchor:Ye,hasTag:Ze}=Wf(pe.errors,de);if(Ye){let{anchors:xt}=pe,Nt=de.anchor,en=xt.getNode(Nt);en&&(xt.map[xt.newName(Nt)]=en),xt.map[Nt]=de}if(de.type===g.Type.ALIAS&&(Ye||Ze)){let xt="An alias node must not specify any properties";pe.errors.push(new g.YAMLSemanticError(de,xt))}let et=Gf(pe,de);if(et){et.range=[de.range.start,de.range.end],pe.options.keepCstNodes&&(et.cstNode=de),pe.options.keepNodeTypes&&(et.type=de.type);let xt=We.before.join(`
392
+ `);xt&&(et.commentBefore=et.commentBefore?`${et.commentBefore}
393
+ ${xt}`:xt);let Nt=We.after.join(`
394
+ `);Nt&&(et.comment=et.comment?`${et.comment}
395
+ ${Nt}`:Nt)}return de.resolved=et}function Jf(pe,de){if(de.type!==g.Type.MAP&&de.type!==g.Type.FLOW_MAP){let xt=`A ${de.type} node cannot be resolved as a mapping`;return pe.errors.push(new g.YAMLSyntaxError(de,xt)),null}let{comments:We,items:Ye}=de.type===g.Type.FLOW_MAP?Qf(pe,de):zf(pe,de),Ze=new vn;Ze.items=Ye,Ii(Ze,We);let et=!1;for(let xt=0;xt<Ye.length;++xt){let{key:Nt}=Ye[xt];if(Nt instanceof it&&(et=!0),pe.schema.merge&&Nt&&Nt.value===ye){Ye[xt]=new ee(Ye[xt]);let en=Ye[xt].value.items,an=null;en.some(mn=>{if(mn instanceof Gt){let{type:Mn}=mn.source;return Mn===g.Type.MAP||Mn===g.Type.FLOW_MAP?!1:an="Merge nodes aliases can only point to maps"}return an="Merge nodes can only have Alias nodes as values"}),an&&pe.errors.push(new g.YAMLSemanticError(de,an))}else for(let en=xt+1;en<Ye.length;++en){let{key:an}=Ye[en];if(Nt===an||Nt&&an&&Object.prototype.hasOwnProperty.call(Nt,"value")&&Nt.value===an.value){let mn=`Map keys must be unique; "${Nt}" is repeated`;pe.errors.push(new g.YAMLSemanticError(de,mn));break}}}if(et&&!pe.options.mapAsMap){let xt="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";pe.warnings.push(new g.YAMLWarning(de,xt))}return de.resolved=Ze,Ze}var Yf=pe=>{let{context:{lineStart:de,node:We,src:Ye},props:Ze}=pe;if(Ze.length===0)return!1;let{start:et}=Ze[0];if(We&&et>We.valueRange.start||Ye[et]!==g.Char.COMMENT)return!1;for(let xt=de;xt<et;++xt)if(Ye[xt]===`
396
+ `)return!1;return!0};function Hf(pe,de){if(!Yf(pe))return;let We=pe.getPropValue(0,g.Char.COMMENT,!0),Ye=!1,Ze=de.value.commentBefore;if(Ze&&Ze.startsWith(We))de.value.commentBefore=Ze.substr(We.length+1),Ye=!0;else{let et=de.value.comment;!pe.node&&et&&et.startsWith(We)&&(de.value.comment=et.substr(We.length+1),Ye=!0)}Ye&&(de.comment=We)}function zf(pe,de){let We=[],Ye=[],Ze,et=null;for(let xt=0;xt<de.items.length;++xt){let Nt=de.items[xt];switch(Nt.type){case g.Type.BLANK_LINE:We.push({afterKey:!!Ze,before:Ye.length});break;case g.Type.COMMENT:We.push({afterKey:!!Ze,before:Ye.length,comment:Nt.comment});break;case g.Type.MAP_KEY:Ze!==void 0&&Ye.push(new kt(Ze)),Nt.error&&pe.errors.push(Nt.error),Ze=vi(pe,Nt.node),et=null;break;case g.Type.MAP_VALUE:{if(Ze===void 0&&(Ze=null),Nt.error&&pe.errors.push(Nt.error),!Nt.context.atLineStart&&Nt.node&&Nt.node.type===g.Type.MAP&&!Nt.node.context.atLineStart){let mn="Nested mappings are not allowed in compact mappings";pe.errors.push(new g.YAMLSemanticError(Nt.node,mn))}let en=Nt.node;if(!en&&Nt.props.length>0){en=new g.PlainValue(g.Type.PLAIN,[]),en.context={parent:Nt,src:Nt.context.src};let mn=Nt.range.start+1;if(en.range={start:mn,end:mn},en.valueRange={start:mn,end:mn},typeof Nt.range.origStart=="number"){let Mn=Nt.range.origStart+1;en.range.origStart=en.range.origEnd=Mn,en.valueRange.origStart=en.valueRange.origEnd=Mn}}let an=new kt(Ze,vi(pe,en));Hf(Nt,an),Ye.push(an),Ze&&typeof et=="number"&&Nt.range.start>et+1024&&pe.errors.push(lr(de,Ze)),Ze=void 0,et=null}break;default:Ze!==void 0&&Ye.push(new kt(Ze)),Ze=vi(pe,Nt),et=Nt.range.start,Nt.error&&pe.errors.push(Nt.error);e:for(let en=xt+1;;++en){let an=de.items[en];switch(an&&an.type){case g.Type.BLANK_LINE:case g.Type.COMMENT:continue e;case g.Type.MAP_VALUE:break e;default:{let mn="Implicit map keys need to be followed by map values";pe.errors.push(new g.YAMLSemanticError(Nt,mn));break e}}}if(Nt.valueRangeContainsNewline){let en="Implicit map keys need to be on a single line";pe.errors.push(new g.YAMLSemanticError(Nt,en))}}}return Ze!==void 0&&Ye.push(new kt(Ze)),{comments:We,items:Ye}}function Qf(pe,de){let We=[],Ye=[],Ze,et=!1,xt="{";for(let Nt=0;Nt<de.items.length;++Nt){let en=de.items[Nt];if(typeof en.char=="string"){let{char:an,offset:mn}=en;if(an==="?"&&Ze===void 0&&!et){et=!0,xt=":";continue}if(an===":"){if(Ze===void 0&&(Ze=null),xt===":"){xt=",";continue}}else if(et&&(Ze===void 0&&an!==","&&(Ze=null),et=!1),Ze!==void 0&&(Ye.push(new kt(Ze)),Ze=void 0,an===",")){xt=":";continue}if(an==="}"){if(Nt===de.items.length-1)continue}else if(an===xt){xt=":";continue}let Mn=`Flow map contains an unexpected ${an}`,fr=new g.YAMLSyntaxError(de,Mn);fr.offset=mn,pe.errors.push(fr)}else en.type===g.Type.BLANK_LINE?We.push({afterKey:!!Ze,before:Ye.length}):en.type===g.Type.COMMENT?(Yn(pe.errors,en),We.push({afterKey:!!Ze,before:Ye.length,comment:en.comment})):Ze===void 0?(xt===","&&pe.errors.push(new g.YAMLSemanticError(en,"Separator , missing in flow map")),Ze=vi(pe,en)):(xt!==","&&pe.errors.push(new g.YAMLSemanticError(en,"Indicator : missing in flow map entry")),Ye.push(new kt(Ze,vi(pe,en))),Ze=void 0,et=!1)}return Sn(pe.errors,de),Ze!==void 0&&Ye.push(new kt(Ze)),{comments:We,items:Ye}}function Xf(pe,de){if(de.type!==g.Type.SEQ&&de.type!==g.Type.FLOW_SEQ){let et=`A ${de.type} node cannot be resolved as a sequence`;return pe.errors.push(new g.YAMLSyntaxError(de,et)),null}let{comments:We,items:Ye}=de.type===g.Type.FLOW_SEQ?Zf(pe,de):Kf(pe,de),Ze=new Tt;if(Ze.items=Ye,Ii(Ze,We),!pe.options.mapAsMap&&Ye.some(et=>et instanceof kt&&et.key instanceof it)){let et="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";pe.warnings.push(new g.YAMLWarning(de,et))}return de.resolved=Ze,Ze}function Kf(pe,de){let We=[],Ye=[];for(let Ze=0;Ze<de.items.length;++Ze){let et=de.items[Ze];switch(et.type){case g.Type.BLANK_LINE:We.push({before:Ye.length});break;case g.Type.COMMENT:We.push({comment:et.comment,before:Ye.length});break;case g.Type.SEQ_ITEM:if(et.error&&pe.errors.push(et.error),Ye.push(vi(pe,et.node)),et.hasProps){let xt="Sequence items cannot have tags or anchors before the - indicator";pe.errors.push(new g.YAMLSemanticError(et,xt))}break;default:et.error&&pe.errors.push(et.error),pe.errors.push(new g.YAMLSyntaxError(et,`Unexpected ${et.type} node in sequence`))}}return{comments:We,items:Ye}}function Zf(pe,de){let We=[],Ye=[],Ze=!1,et,xt=null,Nt="[",en=null;for(let an=0;an<de.items.length;++an){let mn=de.items[an];if(typeof mn.char=="string"){let{char:Mn,offset:fr}=mn;if(Mn!==":"&&(Ze||et!==void 0)&&(Ze&&et===void 0&&(et=Nt?Ye.pop():null),Ye.push(new kt(et)),Ze=!1,et=void 0,xt=null),Mn===Nt)Nt=null;else if(!Nt&&Mn==="?")Ze=!0;else if(Nt!=="["&&Mn===":"&&et===void 0){if(Nt===","){if(et=Ye.pop(),et instanceof kt){let pr="Chaining flow sequence pairs is invalid",qn=new g.YAMLSemanticError(de,pr);qn.offset=fr,pe.errors.push(qn)}if(!Ze&&typeof xt=="number"){let pr=mn.range?mn.range.start:mn.offset;pr>xt+1024&&pe.errors.push(lr(de,et));let{src:qn}=en.context;for(let ar=xt;ar<pr;++ar)if(qn[ar]===`
397
+ `){let nr="Implicit keys of flow sequence pairs need to be on a single line";pe.errors.push(new g.YAMLSemanticError(en,nr));break}}}else et=null;xt=null,Ze=!1,Nt=null}else if(Nt==="["||Mn!=="]"||an<de.items.length-1){let pr=`Flow sequence contains an unexpected ${Mn}`,qn=new g.YAMLSyntaxError(de,pr);qn.offset=fr,pe.errors.push(qn)}}else if(mn.type===g.Type.BLANK_LINE)We.push({before:Ye.length});else if(mn.type===g.Type.COMMENT)Yn(pe.errors,mn),We.push({comment:mn.comment,before:Ye.length});else{if(Nt){let fr=`Expected a ${Nt} in flow sequence`;pe.errors.push(new g.YAMLSemanticError(mn,fr))}let Mn=vi(pe,mn);et===void 0?(Ye.push(Mn),en=mn):(Ye.push(new kt(et,Mn)),et=void 0),xt=mn.range.start,Nt=","}}return Sn(pe.errors,de),et!==void 0&&Ye.push(new kt(et)),{comments:We,items:Ye}}Y.Alias=Gt,Y.Collection=it,Y.Merge=ee,Y.Node=ke,Y.Pair=kt,Y.Scalar=Ke,Y.YAMLMap=vn,Y.YAMLSeq=Tt,Y.addComment=xe,Y.binaryOptions=O,Y.boolOptions=H,Y.findPair=Zt,Y.intOptions=le,Y.isEmptyPath=$t,Y.nullOptions=Fe,Y.resolveMap=Jf,Y.resolveNode=vi,Y.resolveSeq=Xf,Y.resolveString=Qi,Y.strOptions=Be,Y.stringifyNumber=gn,Y.stringifyString=rn,Y.toJSON=Pe}}),ta=c({"node_modules/yaml/dist/warnings-1000a372.js"(Y){M();var g=Hr(),W=as(),xe={identify:Ae=>Ae instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(Ae,Oe)=>{let Ct=W.resolveString(Ae,Oe);if(typeof Buffer=="function")return Buffer.from(Ct,"base64");if(typeof atob=="function"){let Rt=atob(Ct.replace(/[\n\r]/g,"")),Qt=new Uint8Array(Rt.length);for(let An=0;An<Rt.length;++An)Qt[An]=Rt.charCodeAt(An);return Qt}else{let Rt="This environment does not support reading binary tags; either Buffer or atob is required";return Ae.errors.push(new g.YAMLReferenceError(Oe,Rt)),null}},options:W.binaryOptions,stringify:(Ae,Oe,Ct,Rt)=>{let{comment:Qt,type:An,value:ln}=Ae,Wn;if(typeof Buffer=="function")Wn=ln instanceof Buffer?ln.toString("base64"):Buffer.from(ln.buffer).toString("base64");else if(typeof btoa=="function"){let or="";for(let Fr=0;Fr<ln.length;++Fr)or+=String.fromCharCode(ln[Fr]);Wn=btoa(or)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(An||(An=W.binaryOptions.defaultType),An===g.Type.QUOTE_DOUBLE)ln=Wn;else{let{lineWidth:or}=W.binaryOptions,Fr=Math.ceil(Wn.length/or),bi=new Array(Fr);for(let hi=0,yt=0;hi<Fr;++hi,yt+=or)bi[hi]=Wn.substr(yt,or);ln=bi.join(An===g.Type.BLOCK_LITERAL?`
398
+ `:" ")}return W.stringifyString({comment:Qt,type:An,value:ln},Oe,Ct,Rt)}};function ke(Ae,Oe){let Ct=W.resolveSeq(Ae,Oe);for(let Rt=0;Rt<Ct.items.length;++Rt){let Qt=Ct.items[Rt];if(!(Qt instanceof W.Pair)){if(Qt instanceof W.YAMLMap){if(Qt.items.length>1){let ln="Each pair must have its own sequence indicator";throw new g.YAMLSemanticError(Oe,ln)}let An=Qt.items[0]||new W.Pair;Qt.commentBefore&&(An.commentBefore=An.commentBefore?`${Qt.commentBefore}
399
+ ${An.commentBefore}`:Qt.commentBefore),Qt.comment&&(An.comment=An.comment?`${Qt.comment}
400
+ ${An.comment}`:Qt.comment),Qt=An}Ct.items[Rt]=Qt instanceof W.Pair?Qt:new W.Pair(Qt)}}return Ct}function Pe(Ae,Oe,Ct){let Rt=new W.YAMLSeq(Ae);Rt.tag="tag:yaml.org,2002:pairs";for(let Qt of Oe){let An,ln;if(Array.isArray(Qt))if(Qt.length===2)An=Qt[0],ln=Qt[1];else throw new TypeError(`Expected [key, value] tuple: ${Qt}`);else if(Qt&&Qt instanceof Object){let or=Object.keys(Qt);if(or.length===1)An=or[0],ln=Qt[An];else throw new TypeError(`Expected { key: value } tuple: ${Qt}`)}else An=Qt;let Wn=Ae.createPair(An,ln,Ct);Rt.items.push(Wn)}return Rt}var Ke={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:ke,createNode:Pe},ht=class extends W.YAMLSeq{constructor(){super(),g._defineProperty(this,"add",W.YAMLMap.prototype.add.bind(this)),g._defineProperty(this,"delete",W.YAMLMap.prototype.delete.bind(this)),g._defineProperty(this,"get",W.YAMLMap.prototype.get.bind(this)),g._defineProperty(this,"has",W.YAMLMap.prototype.has.bind(this)),g._defineProperty(this,"set",W.YAMLMap.prototype.set.bind(this)),this.tag=ht.tag}toJSON(Ae,Oe){let Ct=new Map;Oe&&Oe.onCreate&&Oe.onCreate(Ct);for(let Rt of this.items){let Qt,An;if(Rt instanceof W.Pair?(Qt=W.toJSON(Rt.key,"",Oe),An=W.toJSON(Rt.value,Qt,Oe)):Qt=W.toJSON(Rt,"",Oe),Ct.has(Qt))throw new Error("Ordered maps must not include duplicate keys");Ct.set(Qt,An)}return Ct}};g._defineProperty(ht,"tag","tag:yaml.org,2002:omap");function $t(Ae,Oe){let Ct=ke(Ae,Oe),Rt=[];for(let{key:Qt}of Ct.items)if(Qt instanceof W.Scalar)if(Rt.includes(Qt.value)){let An="Ordered maps must not include duplicate keys";throw new g.YAMLSemanticError(Oe,An)}else Rt.push(Qt.value);return Object.assign(new ht,Ct)}function it(Ae,Oe,Ct){let Rt=Pe(Ae,Oe,Ct),Qt=new ht;return Qt.items=Rt.items,Qt}var gt={identify:Ae=>Ae instanceof Map,nodeClass:ht,default:!1,tag:"tag:yaml.org,2002:omap",resolve:$t,createNode:it},Tt=class extends W.YAMLMap{constructor(){super(),this.tag=Tt.tag}add(Ae){let Oe=Ae instanceof W.Pair?Ae:new W.Pair(Ae);W.findPair(this.items,Oe.key)||this.items.push(Oe)}get(Ae,Oe){let Ct=W.findPair(this.items,Ae);return!Oe&&Ct instanceof W.Pair?Ct.key instanceof W.Scalar?Ct.key.value:Ct.key:Ct}set(Ae,Oe){if(typeof Oe!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof Oe}`);let Ct=W.findPair(this.items,Ae);Ct&&!Oe?this.items.splice(this.items.indexOf(Ct),1):!Ct&&Oe&&this.items.push(new W.Pair(Ae))}toJSON(Ae,Oe){return super.toJSON(Ae,Oe,Set)}toString(Ae,Oe,Ct){if(!Ae)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(Ae,Oe,Ct);throw new Error("Set items must all have null values")}};g._defineProperty(Tt,"tag","tag:yaml.org,2002:set");function jt(Ae,Oe){let Ct=W.resolveMap(Ae,Oe);if(!Ct.hasAllNullValues())throw new g.YAMLSemanticError(Oe,"Set items must all have null values");return Object.assign(new Tt,Ct)}function kt(Ae,Oe,Ct){let Rt=new Tt;for(let Qt of Oe)Rt.items.push(Ae.createPair(Qt,null,Ct));return Rt}var Jt={identify:Ae=>Ae instanceof Set,nodeClass:Tt,default:!1,tag:"tag:yaml.org,2002:set",resolve:jt,createNode:kt},Gt=(Ae,Oe)=>{let Ct=Oe.split(":").reduce((Rt,Qt)=>Rt*60+Number(Qt),0);return Ae==="-"?-Ct:Ct},Zt=Ae=>{let{value:Oe}=Ae;if(isNaN(Oe)||!isFinite(Oe))return W.stringifyNumber(Oe);let Ct="";Oe<0&&(Ct="-",Oe=Math.abs(Oe));let Rt=[Oe%60];return Oe<60?Rt.unshift(0):(Oe=Math.round((Oe-Rt[0])/60),Rt.unshift(Oe%60),Oe>=60&&(Oe=Math.round((Oe-Rt[0])/60),Rt.unshift(Oe))),Ct+Rt.map(Qt=>Qt<10?"0"+String(Qt):String(Qt)).join(":").replace(/000000\d*$/,"")},vn={identify:Ae=>typeof Ae=="number",default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(Ae,Oe,Ct)=>Gt(Oe,Ct.replace(/_/g,"")),stringify:Zt},ye={identify:Ae=>typeof Ae=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(Ae,Oe,Ct)=>Gt(Oe,Ct.replace(/_/g,"")),stringify:Zt},ee={identify:Ae=>Ae instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?)$"),resolve:(Ae,Oe,Ct,Rt,Qt,An,ln,Wn,or)=>{Wn&&(Wn=(Wn+"00").substr(1,3));let Fr=Date.UTC(Oe,Ct-1,Rt,Qt||0,An||0,ln||0,Wn||0);if(or&&or!=="Z"){let bi=Gt(or[0],or.slice(1));Math.abs(bi)<30&&(bi*=60),Fr-=6e4*bi}return new Date(Fr)},stringify:Ae=>{let{value:Oe}=Ae;return Oe.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")}};function O(Ae){let Oe=typeof Z<"u"&&Z.env||{};return Ae?typeof YAML_SILENCE_DEPRECATION_WARNINGS<"u"?!YAML_SILENCE_DEPRECATION_WARNINGS:!Oe.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<"u"?!YAML_SILENCE_WARNINGS:!Oe.YAML_SILENCE_WARNINGS}function H(Ae,Oe){if(O(!1)){let Ct=typeof Z<"u"&&Z.emitWarning;Ct?Ct(Ae,Oe):console.warn(Oe?`${Oe}: ${Ae}`:Ae)}}function le(Ae){if(O(!0)){let Oe=Ae.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");H(`The endpoint 'yaml/${Oe}' will be removed in a future release.`,"DeprecationWarning")}}var Fe={};function Be(Ae,Oe){if(!Fe[Ae]&&O(!0)){Fe[Ae]=!0;let Ct=`The option '${Ae}' will be removed in a future release`;Ct+=Oe?`, use '${Oe}' instead.`:".",H(Ct,"DeprecationWarning")}}Y.binary=xe,Y.floatTime=ye,Y.intTime=vn,Y.omap=gt,Y.pairs=Ke,Y.set=Jt,Y.timestamp=ee,Y.warn=H,Y.warnFileDeprecation=le,Y.warnOptionDeprecation=Be}}),na=c({"node_modules/yaml/dist/Schema-88e323a7.js"(Y){M();var g=Hr(),W=as(),xe=ta();function ke(yt,rn,gn){let Sn=new W.YAMLMap(yt);if(rn instanceof Map)for(let[Yn,lr]of rn)Sn.items.push(yt.createPair(Yn,lr,gn));else if(rn&&typeof rn=="object")for(let Yn of Object.keys(rn))Sn.items.push(yt.createPair(Yn,rn[Yn],gn));return typeof yt.sortMapEntries=="function"&&Sn.items.sort(yt.sortMapEntries),Sn}var Pe={createNode:ke,default:!0,nodeClass:W.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:W.resolveMap};function Ke(yt,rn,gn){let Sn=new W.YAMLSeq(yt);if(rn&&rn[Symbol.iterator])for(let Yn of rn){let lr=yt.createNode(Yn,gn.wrapScalars,null,gn);Sn.items.push(lr)}return Sn}var ht={createNode:Ke,default:!0,nodeClass:W.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:W.resolveSeq},$t={identify:yt=>typeof yt=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:W.resolveString,stringify(yt,rn,gn,Sn){return rn=Object.assign({actualString:!0},rn),W.stringifyString(yt,rn,gn,Sn)},options:W.strOptions},it=[Pe,ht,$t],gt=yt=>typeof yt=="bigint"||Number.isInteger(yt),Tt=(yt,rn,gn)=>W.intOptions.asBigInt?BigInt(yt):parseInt(rn,gn);function jt(yt,rn,gn){let{value:Sn}=yt;return gt(Sn)&&Sn>=0?gn+Sn.toString(rn):W.stringifyNumber(yt)}var kt={identify:yt=>yt==null,createNode:(yt,rn,gn)=>gn.wrapScalars?new W.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:W.nullOptions,stringify:()=>W.nullOptions.nullStr},Jt={identify:yt=>typeof yt=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:yt=>yt[0]==="t"||yt[0]==="T",options:W.boolOptions,stringify:yt=>{let{value:rn}=yt;return rn?W.boolOptions.trueStr:W.boolOptions.falseStr}},Gt={identify:yt=>gt(yt)&&yt>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(yt,rn)=>Tt(yt,rn,8),options:W.intOptions,stringify:yt=>jt(yt,8,"0o")},Zt={identify:gt,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:yt=>Tt(yt,yt,10),options:W.intOptions,stringify:W.stringifyNumber},vn={identify:yt=>gt(yt)&&yt>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(yt,rn)=>Tt(yt,rn,16),options:W.intOptions,stringify:yt=>jt(yt,16,"0x")},ye={identify:yt=>typeof yt=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(yt,rn)=>rn?NaN:yt[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:W.stringifyNumber},ee={identify:yt=>typeof yt=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:yt=>parseFloat(yt),stringify:yt=>{let{value:rn}=yt;return Number(rn).toExponential()}},O={identify:yt=>typeof yt=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(yt,rn,gn){let Sn=rn||gn,Yn=new W.Scalar(parseFloat(yt));return Sn&&Sn[Sn.length-1]==="0"&&(Yn.minFractionDigits=Sn.length),Yn},stringify:W.stringifyNumber},H=it.concat([kt,Jt,Gt,Zt,vn,ye,ee,O]),le=yt=>typeof yt=="bigint"||Number.isInteger(yt),Fe=yt=>{let{value:rn}=yt;return JSON.stringify(rn)},Be=[Pe,ht,{identify:yt=>typeof yt=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:W.resolveString,stringify:Fe},{identify:yt=>yt==null,createNode:(yt,rn,gn)=>gn.wrapScalars?new W.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Fe},{identify:yt=>typeof yt=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:yt=>yt==="true",stringify:Fe},{identify:le,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:yt=>W.intOptions.asBigInt?BigInt(yt):parseInt(yt,10),stringify:yt=>{let{value:rn}=yt;return le(rn)?rn.toString():JSON.stringify(rn)}},{identify:yt=>typeof yt=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:yt=>parseFloat(yt),stringify:Fe}];Be.scalarFallback=yt=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(yt)}`)};var Ae=yt=>{let{value:rn}=yt;return rn?W.boolOptions.trueStr:W.boolOptions.falseStr},Oe=yt=>typeof yt=="bigint"||Number.isInteger(yt);function Ct(yt,rn,gn){let Sn=rn.replace(/_/g,"");if(W.intOptions.asBigInt){switch(gn){case 2:Sn=`0b${Sn}`;break;case 8:Sn=`0o${Sn}`;break;case 16:Sn=`0x${Sn}`;break}let lr=BigInt(Sn);return yt==="-"?BigInt(-1)*lr:lr}let Yn=parseInt(Sn,gn);return yt==="-"?-1*Yn:Yn}function Rt(yt,rn,gn){let{value:Sn}=yt;if(Oe(Sn)){let Yn=Sn.toString(rn);return Sn<0?"-"+gn+Yn.substr(1):gn+Yn}return W.stringifyNumber(yt)}var Qt=it.concat([{identify:yt=>yt==null,createNode:(yt,rn,gn)=>gn.wrapScalars?new W.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:W.nullOptions,stringify:()=>W.nullOptions.nullStr},{identify:yt=>typeof yt=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:W.boolOptions,stringify:Ae},{identify:yt=>typeof yt=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>!1,options:W.boolOptions,stringify:Ae},{identify:Oe,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(yt,rn,gn)=>Ct(rn,gn,2),stringify:yt=>Rt(yt,2,"0b")},{identify:Oe,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(yt,rn,gn)=>Ct(rn,gn,8),stringify:yt=>Rt(yt,8,"0")},{identify:Oe,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(yt,rn,gn)=>Ct(rn,gn,10),stringify:W.stringifyNumber},{identify:Oe,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(yt,rn,gn)=>Ct(rn,gn,16),stringify:yt=>Rt(yt,16,"0x")},{identify:yt=>typeof yt=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(yt,rn)=>rn?NaN:yt[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:W.stringifyNumber},{identify:yt=>typeof yt=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:yt=>parseFloat(yt.replace(/_/g,"")),stringify:yt=>{let{value:rn}=yt;return Number(rn).toExponential()}},{identify:yt=>typeof yt=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(yt,rn){let gn=new W.Scalar(parseFloat(yt.replace(/_/g,"")));if(rn){let Sn=rn.replace(/_/g,"");Sn[Sn.length-1]==="0"&&(gn.minFractionDigits=Sn.length)}return gn},stringify:W.stringifyNumber}],xe.binary,xe.omap,xe.pairs,xe.set,xe.intTime,xe.floatTime,xe.timestamp),An={core:H,failsafe:it,json:Be,yaml11:Qt},ln={binary:xe.binary,bool:Jt,float:O,floatExp:ee,floatNaN:ye,floatTime:xe.floatTime,int:Zt,intHex:vn,intOct:Gt,intTime:xe.intTime,map:Pe,null:kt,omap:xe.omap,pairs:xe.pairs,seq:ht,set:xe.set,timestamp:xe.timestamp};function Wn(yt,rn,gn){if(rn){let Sn=gn.filter(lr=>lr.tag===rn),Yn=Sn.find(lr=>!lr.format)||Sn[0];if(!Yn)throw new Error(`Tag ${rn} not found`);return Yn}return gn.find(Sn=>(Sn.identify&&Sn.identify(yt)||Sn.class&&yt instanceof Sn.class)&&!Sn.format)}function or(yt,rn,gn){if(yt instanceof W.Node)return yt;let{defaultPrefix:Sn,onTagObj:Yn,prevObjects:lr,schema:Ii,wrapScalars:Qi}=gn;rn&&rn.startsWith("!!")&&(rn=Sn+rn.slice(2));let Xi=Wn(yt,rn,Ii.tags);if(!Xi){if(typeof yt.toJSON=="function"&&(yt=yt.toJSON()),!yt||typeof yt!="object")return Qi?new W.Scalar(yt):yt;Xi=yt instanceof Map?Pe:yt[Symbol.iterator]?ht:Pe}Yn&&(Yn(Xi),delete gn.onTagObj);let Oi={value:void 0,node:void 0};if(yt&&typeof yt=="object"&&lr){let ia=lr.get(yt);if(ia){let Ka=new W.Alias(ia);return gn.aliasNodes.push(Ka),Ka}Oi.value=yt,lr.set(yt,Oi)}return Oi.node=Xi.createNode?Xi.createNode(gn.schema,yt,gn):Qi?new W.Scalar(yt):yt,rn&&Oi.node instanceof W.Node&&(Oi.node.tag=rn),Oi.node}function Fr(yt,rn,gn,Sn){let Yn=yt[Sn.replace(/\W/g,"")];if(!Yn){let lr=Object.keys(yt).map(Ii=>JSON.stringify(Ii)).join(", ");throw new Error(`Unknown schema "${Sn}"; use one of ${lr}`)}if(Array.isArray(gn))for(let lr of gn)Yn=Yn.concat(lr);else typeof gn=="function"&&(Yn=gn(Yn.slice()));for(let lr=0;lr<Yn.length;++lr){let Ii=Yn[lr];if(typeof Ii=="string"){let Qi=rn[Ii];if(!Qi){let Xi=Object.keys(rn).map(Oi=>JSON.stringify(Oi)).join(", ");throw new Error(`Unknown custom tag "${Ii}"; use one of ${Xi}`)}Yn[lr]=Qi}}return Yn}var bi=(yt,rn)=>yt.key<rn.key?-1:yt.key>rn.key?1:0,hi=class{constructor(yt){let{customTags:rn,merge:gn,schema:Sn,sortMapEntries:Yn,tags:lr}=yt;this.merge=!!gn,this.name=Sn,this.sortMapEntries=Yn===!0?bi:Yn||null,!rn&&lr&&xe.warnOptionDeprecation("tags","customTags"),this.tags=Fr(An,ln,rn||lr,Sn)}createNode(yt,rn,gn,Sn){let Yn={defaultPrefix:hi.defaultPrefix,schema:this,wrapScalars:rn},lr=Sn?Object.assign(Sn,Yn):Yn;return or(yt,gn,lr)}createPair(yt,rn,gn){gn||(gn={wrapScalars:!0});let Sn=this.createNode(yt,gn.wrapScalars,null,gn),Yn=this.createNode(rn,gn.wrapScalars,null,gn);return new W.Pair(Sn,Yn)}};g._defineProperty(hi,"defaultPrefix",g.defaultTagPrefix),g._defineProperty(hi,"defaultTags",g.defaultTags),Y.Schema=hi}}),ai=c({"node_modules/yaml/dist/Document-9b4560a1.js"(Y){M();var g=Hr(),W=as(),xe=na(),ke={anchorPrefix:"a",customTags:null,indent:2,indentSeq:!0,keepCstNodes:!1,keepNodeTypes:!0,keepBlobsInJSON:!0,mapAsMap:!1,maxAliasCount:100,prettyErrors:!1,simpleKeys:!1,version:"1.2"},Pe={get binary(){return W.binaryOptions},set binary(O){Object.assign(W.binaryOptions,O)},get bool(){return W.boolOptions},set bool(O){Object.assign(W.boolOptions,O)},get int(){return W.intOptions},set int(O){Object.assign(W.intOptions,O)},get null(){return W.nullOptions},set null(O){Object.assign(W.nullOptions,O)},get str(){return W.strOptions},set str(O){Object.assign(W.strOptions,O)}},Ke={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:g.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:g.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:g.defaultTagPrefix}]}};function ht(O,H){if((O.version||O.options.version)==="1.0"){let Be=H.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(Be)return"!"+Be[1];let Ae=H.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return Ae?`!${Ae[1]}/${Ae[2]}`:`!${H.replace(/^tag:/,"")}`}let le=O.tagPrefixes.find(Be=>H.indexOf(Be.prefix)===0);if(!le){let Be=O.getDefaults().tagPrefixes;le=Be&&Be.find(Ae=>H.indexOf(Ae.prefix)===0)}if(!le)return H[0]==="!"?H:`!<${H}>`;let Fe=H.substr(le.prefix.length).replace(/[!,[\]{}]/g,Be=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[Be]);return le.handle+Fe}function $t(O,H){if(H instanceof W.Alias)return W.Alias;if(H.tag){let Be=O.filter(Ae=>Ae.tag===H.tag);if(Be.length>0)return Be.find(Ae=>Ae.format===H.format)||Be[0]}let le,Fe;if(H instanceof W.Scalar){Fe=H.value;let Be=O.filter(Ae=>Ae.identify&&Ae.identify(Fe)||Ae.class&&Fe instanceof Ae.class);le=Be.find(Ae=>Ae.format===H.format)||Be.find(Ae=>!Ae.format)}else Fe=H,le=O.find(Be=>Be.nodeClass&&Fe instanceof Be.nodeClass);if(!le){let Be=Fe&&Fe.constructor?Fe.constructor.name:typeof Fe;throw new Error(`Tag not resolved for ${Be} value`)}return le}function it(O,H,le){let{anchors:Fe,doc:Be}=le,Ae=[],Oe=Be.anchors.getName(O);return Oe&&(Fe[Oe]=O,Ae.push(`&${Oe}`)),O.tag?Ae.push(ht(Be,O.tag)):H.default||Ae.push(ht(Be,H.tag)),Ae.join(" ")}function gt(O,H,le,Fe){let{anchors:Be,schema:Ae}=H.doc,Oe;if(!(O instanceof W.Node)){let Qt={aliasNodes:[],onTagObj:An=>Oe=An,prevObjects:new Map};O=Ae.createNode(O,!0,null,Qt);for(let An of Qt.aliasNodes){An.source=An.source.node;let ln=Be.getName(An.source);ln||(ln=Be.newName(),Be.map[ln]=An.source)}}if(O instanceof W.Pair)return O.toString(H,le,Fe);Oe||(Oe=$t(Ae.tags,O));let Ct=it(O,Oe,H);Ct.length>0&&(H.indentAtStart=(H.indentAtStart||0)+Ct.length+1);let Rt=typeof Oe.stringify=="function"?Oe.stringify(O,H,le,Fe):O instanceof W.Scalar?W.stringifyString(O,H,le,Fe):O.toString(H,le,Fe);return Ct?O instanceof W.Scalar||Rt[0]==="{"||Rt[0]==="["?`${Ct} ${Rt}`:`${Ct}
401
+ ${H.indent}${Rt}`:Rt}var Tt=class{static validAnchorNode(O){return O instanceof W.Scalar||O instanceof W.YAMLSeq||O instanceof W.YAMLMap}constructor(O){g._defineProperty(this,"map",Object.create(null)),this.prefix=O}createAlias(O,H){return this.setAnchor(O,H),new W.Alias(O)}createMergePair(){let O=new W.Merge;for(var H=arguments.length,le=new Array(H),Fe=0;Fe<H;Fe++)le[Fe]=arguments[Fe];return O.value.items=le.map(Be=>{if(Be instanceof W.Alias){if(Be.source instanceof W.YAMLMap)return Be}else if(Be instanceof W.YAMLMap)return this.createAlias(Be);throw new Error("Merge sources must be Map nodes or their Aliases")}),O}getName(O){let{map:H}=this;return Object.keys(H).find(le=>H[le]===O)}getNames(){return Object.keys(this.map)}getNode(O){return this.map[O]}newName(O){O||(O=this.prefix);let H=Object.keys(this.map);for(let le=1;;++le){let Fe=`${O}${le}`;if(!H.includes(Fe))return Fe}}resolveNodes(){let{map:O,_cstAliases:H}=this;Object.keys(O).forEach(le=>{O[le]=O[le].resolved}),H.forEach(le=>{le.source=le.source.resolved}),delete this._cstAliases}setAnchor(O,H){if(O!=null&&!Tt.validAnchorNode(O))throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");if(H&&/[\x00-\x19\s,[\]{}]/.test(H))throw new Error("Anchor names must not contain whitespace or control characters");let{map:le}=this,Fe=O&&Object.keys(le).find(Be=>le[Be]===O);if(Fe)if(H)Fe!==H&&(delete le[Fe],le[H]=O);else return Fe;else{if(!H){if(!O)return null;H=this.newName()}le[H]=O}return H}},jt=(O,H)=>{if(O&&typeof O=="object"){let{tag:le}=O;O instanceof W.Collection?(le&&(H[le]=!0),O.items.forEach(Fe=>jt(Fe,H))):O instanceof W.Pair?(jt(O.key,H),jt(O.value,H)):O instanceof W.Scalar&&le&&(H[le]=!0)}return H},kt=O=>Object.keys(jt(O,{}));function Jt(O,H){let le={before:[],after:[]},Fe,Be=!1;for(let Ae of H)if(Ae.valueRange){if(Fe!==void 0){let Ct="Document contains trailing content not separated by a ... or --- line";O.errors.push(new g.YAMLSyntaxError(Ae,Ct));break}let Oe=W.resolveNode(O,Ae);Be&&(Oe.spaceBefore=!0,Be=!1),Fe=Oe}else Ae.comment!==null?(Fe===void 0?le.before:le.after).push(Ae.comment):Ae.type===g.Type.BLANK_LINE&&(Be=!0,Fe===void 0&&le.before.length>0&&!O.commentBefore&&(O.commentBefore=le.before.join(`
402
+ `),le.before=[]));if(O.contents=Fe||null,!Fe)O.comment=le.before.concat(le.after).join(`
403
+ `)||null;else{let Ae=le.before.join(`
404
+ `);if(Ae){let Oe=Fe instanceof W.Collection&&Fe.items[0]?Fe.items[0]:Fe;Oe.commentBefore=Oe.commentBefore?`${Ae}
405
+ ${Oe.commentBefore}`:Ae}O.comment=le.after.join(`
406
+ `)||null}}function Gt(O,H){let{tagPrefixes:le}=O,[Fe,Be]=H.parameters;if(!Fe||!Be){let Ae="Insufficient parameters given for %TAG directive";throw new g.YAMLSemanticError(H,Ae)}if(le.some(Ae=>Ae.handle===Fe)){let Ae="The %TAG directive must only be given at most once per handle in the same document.";throw new g.YAMLSemanticError(H,Ae)}return{handle:Fe,prefix:Be}}function Zt(O,H){let[le]=H.parameters;if(H.name==="YAML:1.0"&&(le="1.0"),!le){let Fe="Insufficient parameters given for %YAML directive";throw new g.YAMLSemanticError(H,Fe)}if(!Ke[le]){let Fe=`Document will be parsed as YAML ${O.version||O.options.version} rather than YAML ${le}`;O.warnings.push(new g.YAMLWarning(H,Fe))}return le}function vn(O,H,le){let Fe=[],Be=!1;for(let Ae of H){let{comment:Oe,name:Ct}=Ae;switch(Ct){case"TAG":try{O.tagPrefixes.push(Gt(O,Ae))}catch(Rt){O.errors.push(Rt)}Be=!0;break;case"YAML":case"YAML:1.0":if(O.version){let Rt="The %YAML directive must only be given at most once per document.";O.errors.push(new g.YAMLSemanticError(Ae,Rt))}try{O.version=Zt(O,Ae)}catch(Rt){O.errors.push(Rt)}Be=!0;break;default:if(Ct){let Rt=`YAML only supports %TAG and %YAML directives, and not %${Ct}`;O.warnings.push(new g.YAMLWarning(Ae,Rt))}}Oe&&Fe.push(Oe)}if(le&&!Be&&(O.version||le.version||O.options.version)==="1.1"){let Ae=Oe=>{let{handle:Ct,prefix:Rt}=Oe;return{handle:Ct,prefix:Rt}};O.tagPrefixes=le.tagPrefixes.map(Ae),O.version=le.version}O.commentBefore=Fe.join(`
407
+ `)||null}function ye(O){if(O instanceof W.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var ee=class{constructor(O){this.anchors=new Tt(O.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=O,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(O){return ye(this.contents),this.contents.add(O)}addIn(O,H){ye(this.contents),this.contents.addIn(O,H)}delete(O){return ye(this.contents),this.contents.delete(O)}deleteIn(O){return W.isEmptyPath(O)?this.contents==null?!1:(this.contents=null,!0):(ye(this.contents),this.contents.deleteIn(O))}getDefaults(){return ee.defaults[this.version]||ee.defaults[this.options.version]||{}}get(O,H){return this.contents instanceof W.Collection?this.contents.get(O,H):void 0}getIn(O,H){return W.isEmptyPath(O)?!H&&this.contents instanceof W.Scalar?this.contents.value:this.contents:this.contents instanceof W.Collection?this.contents.getIn(O,H):void 0}has(O){return this.contents instanceof W.Collection?this.contents.has(O):!1}hasIn(O){return W.isEmptyPath(O)?this.contents!==void 0:this.contents instanceof W.Collection?this.contents.hasIn(O):!1}set(O,H){ye(this.contents),this.contents.set(O,H)}setIn(O,H){W.isEmptyPath(O)?this.contents=H:(ye(this.contents),this.contents.setIn(O,H))}setSchema(O,H){if(!O&&!H&&this.schema)return;typeof O=="number"&&(O=O.toFixed(1)),O==="1.0"||O==="1.1"||O==="1.2"?(this.version?this.version=O:this.options.version=O,delete this.options.schema):O&&typeof O=="string"&&(this.options.schema=O),Array.isArray(H)&&(this.options.customTags=H);let le=Object.assign({},this.getDefaults(),this.options);this.schema=new xe.Schema(le)}parse(O,H){this.options.keepCstNodes&&(this.cstNode=O),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:le=[],contents:Fe=[],directivesEndMarker:Be,error:Ae,valueRange:Oe}=O;if(Ae&&(Ae.source||(Ae.source=this),this.errors.push(Ae)),vn(this,le,H),Be&&(this.directivesEndMarker=!0),this.range=Oe?[Oe.start,Oe.end]:null,this.setSchema(),this.anchors._cstAliases=[],Jt(this,Fe),this.anchors.resolveNodes(),this.options.prettyErrors){for(let Ct of this.errors)Ct instanceof g.YAMLError&&Ct.makePretty();for(let Ct of this.warnings)Ct instanceof g.YAMLError&&Ct.makePretty()}return this}listNonDefaultTags(){return kt(this.contents).filter(O=>O.indexOf(xe.Schema.defaultPrefix)!==0)}setTagPrefix(O,H){if(O[0]!=="!"||O[O.length-1]!=="!")throw new Error("Handle must start and end with !");if(H){let le=this.tagPrefixes.find(Fe=>Fe.handle===O);le?le.prefix=H:this.tagPrefixes.push({handle:O,prefix:H})}else this.tagPrefixes=this.tagPrefixes.filter(le=>le.handle!==O)}toJSON(O,H){let{keepBlobsInJSON:le,mapAsMap:Fe,maxAliasCount:Be}=this.options,Ae=le&&(typeof O!="string"||!(this.contents instanceof W.Scalar)),Oe={doc:this,indentStep:" ",keep:Ae,mapAsMap:Ae&&!!Fe,maxAliasCount:Be,stringify:gt},Ct=Object.keys(this.anchors.map);Ct.length>0&&(Oe.anchors=new Map(Ct.map(Qt=>[this.anchors.map[Qt],{alias:[],aliasCount:0,count:1}])));let Rt=W.toJSON(this.contents,O,Oe);if(typeof H=="function"&&Oe.anchors)for(let{count:Qt,res:An}of Oe.anchors.values())H(An,Qt);return Rt}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");let O=this.options.indent;if(!Number.isInteger(O)||O<=0){let Ct=JSON.stringify(O);throw new Error(`"indent" option must be a positive integer, not ${Ct}`)}this.setSchema();let H=[],le=!1;if(this.version){let Ct="%YAML 1.2";this.schema.name==="yaml-1.1"&&(this.version==="1.0"?Ct="%YAML:1.0":this.version==="1.1"&&(Ct="%YAML 1.1")),H.push(Ct),le=!0}let Fe=this.listNonDefaultTags();this.tagPrefixes.forEach(Ct=>{let{handle:Rt,prefix:Qt}=Ct;Fe.some(An=>An.indexOf(Qt)===0)&&(H.push(`%TAG ${Rt} ${Qt}`),le=!0)}),(le||this.directivesEndMarker)&&H.push("---"),this.commentBefore&&((le||!this.directivesEndMarker)&&H.unshift(""),H.unshift(this.commentBefore.replace(/^/gm,"#")));let Be={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(O),stringify:gt},Ae=!1,Oe=null;if(this.contents){this.contents instanceof W.Node&&(this.contents.spaceBefore&&(le||this.directivesEndMarker)&&H.push(""),this.contents.commentBefore&&H.push(this.contents.commentBefore.replace(/^/gm,"#")),Be.forceBlockIndent=!!this.comment,Oe=this.contents.comment);let Ct=Oe?null:()=>Ae=!0,Rt=gt(this.contents,Be,()=>Oe=null,Ct);H.push(W.addComment(Rt,"",Oe))}else this.contents!==void 0&&H.push(gt(this.contents,Be));return this.comment&&((!Ae||Oe)&&H[H.length-1]!==""&&H.push(""),H.push(this.comment.replace(/^/gm,"#"))),H.join(`
408
+ `)+`
409
+ `}};g._defineProperty(ee,"defaults",Ke),Y.Document=ee,Y.defaultOptions=ke,Y.scalarOptions=Pe}}),yl=c({"node_modules/yaml/dist/index.js"(Y){M();var g=Xa(),W=ai(),xe=na(),ke=Hr(),Pe=ta();as();function Ke(kt){let Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Gt=arguments.length>2?arguments[2]:void 0;Gt===void 0&&typeof Jt=="string"&&(Gt=Jt,Jt=!0);let Zt=Object.assign({},W.Document.defaults[W.defaultOptions.version],W.defaultOptions);return new xe.Schema(Zt).createNode(kt,Jt,Gt)}var ht=class extends W.Document{constructor(kt){super(Object.assign({},W.defaultOptions,kt))}};function $t(kt,Jt){let Gt=[],Zt;for(let vn of g.parse(kt)){let ye=new ht(Jt);ye.parse(vn,Zt),Gt.push(ye),Zt=ye}return Gt}function it(kt,Jt){let Gt=g.parse(kt),Zt=new ht(Jt).parse(Gt[0]);if(Gt.length>1){let vn="Source contains multiple documents; please use YAML.parseAllDocuments()";Zt.errors.unshift(new ke.YAMLSemanticError(Gt[1],vn))}return Zt}function gt(kt,Jt){let Gt=it(kt,Jt);if(Gt.warnings.forEach(Zt=>Pe.warn(Zt)),Gt.errors.length>0)throw Gt.errors[0];return Gt.toJSON()}function Tt(kt,Jt){let Gt=new ht(Jt);return Gt.contents=kt,String(Gt)}var jt={createNode:Ke,defaultOptions:W.defaultOptions,Document:ht,parse:gt,parseAllDocuments:$t,parseCST:g.parse,parseDocument:it,scalarOptions:W.scalarOptions,stringify:Tt};Y.YAML=jt}}),Dl=c({"node_modules/yaml/index.js"(Y,g){M(),g.exports=yl().YAML}}),bl=c({"node_modules/yaml/dist/util.js"(Y){M();var g=as(),W=Hr();Y.findPair=g.findPair,Y.parseMap=g.resolveMap,Y.parseSeq=g.resolveSeq,Y.stringifyNumber=g.stringifyNumber,Y.stringifyString=g.stringifyString,Y.toJSON=g.toJSON,Y.Type=W.Type,Y.YAMLError=W.YAMLError,Y.YAMLReferenceError=W.YAMLReferenceError,Y.YAMLSemanticError=W.YAMLSemanticError,Y.YAMLSyntaxError=W.YAMLSyntaxError,Y.YAMLWarning=W.YAMLWarning}}),Rf=c({"node_modules/yaml/util.js"(Y){M();var g=bl();Y.findPair=g.findPair,Y.toJSON=g.toJSON,Y.parseMap=g.parseMap,Y.parseSeq=g.parseSeq,Y.stringifyNumber=g.stringifyNumber,Y.stringifyString=g.stringifyString,Y.Type=g.Type,Y.YAMLError=g.YAMLError,Y.YAMLReferenceError=g.YAMLReferenceError,Y.YAMLSemanticError=g.YAMLSemanticError,Y.YAMLSyntaxError=g.YAMLSyntaxError,Y.YAMLWarning=g.YAMLWarning}}),vl=c({"node_modules/yaml-unist-parser/lib/yaml.js"(Y){M(),Y.__esModule=!0;var g=Dl();Y.Document=g.Document;var W=Dl();Y.parseCST=W.parseCST;var xe=Rf();Y.YAMLError=xe.YAMLError,Y.YAMLSyntaxError=xe.YAMLSyntaxError,Y.YAMLSemanticError=xe.YAMLSemanticError}}),ra=c({"node_modules/yaml-unist-parser/lib/parse.js"(Y){M(),Y.__esModule=!0;var g=nl(),W=Ef(),xe=rl(),ke=Af(),Pe=Qn(),Ke=sl(),ht=je(),$t=bs(),it=Rs(),gt=Di(),Tt=ss(),jt=Qa(),kt=vl();function Jt(Gt){var Zt=kt.parseCST(Gt);gt.addOrigRange(Zt);for(var vn=Zt.map(function(Rt){return new kt.Document({merge:!1,keepCstNodes:!0}).parse(Rt)}),ye=new g.default(Gt),ee=[],O={text:Gt,locator:ye,comments:ee,transformOffset:function(Rt){return $t.transformOffset(Rt,O)},transformRange:function(Rt){return it.transformRange(Rt,O)},transformNode:function(Rt){return Pe.transformNode(Rt,O)},transformContent:function(Rt){return Ke.transformContent(Rt,O)}},H=0,le=vn;H<le.length;H++)for(var Fe=le[H],Be=0,Ae=Fe.errors;Be<Ae.length;Be++){var Oe=Ae[Be];if(!(Oe instanceof kt.YAMLSemanticError&&Oe.message==='Map keys must be unique; "<<" is repeated'))throw ht.transformError(Oe,O)}vn.forEach(function(Rt){return ke.removeCstBlankLine(Rt.cstNode)});var Ct=xe.createRoot(O.transformRange({origStart:0,origEnd:O.text.length}),vn.map(O.transformNode),ee);return W.attachComments(Ct),jt.updatePositions(Ct),Tt.removeFakeNodes(Ct),Ct}Y.parse=Jt}}),$f=c({"node_modules/yaml-unist-parser/lib/index.js"(Y){M(),Y.__esModule=!0;var g=(rr(),Q(Le));g.__exportStar(ra(),Y)}});M();var Vf=he(),{hasPragma:Nn}=ve(),{locStart:El,locEnd:qf}=we();function Uf(Y){let{parse:g}=$f();try{let W=g(Y);return delete W.comments,W}catch(W){throw W!=null&&W.position?Vf(W.message,W.position):W}}var Al={astFormat:"yaml",parse:Uf,hasPragma:Nn,locStart:El,locEnd:qf};s.exports={parsers:{yaml:Al}}});return r()})})(Gm);var Jm=Gm.exports,HD=GD(Jm),zD=lg({__proto__:null,default:HD},[Jm]);function Ym(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function uf(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:n===0?e===t:!1}function QD(e){return Ym(e,"(?i)")?new RegExp(e.substring(4),"i"):new RegExp(e)}function ja(e){return typeof e=="boolean"}var Gi;(function(e){e[e.Undefined=0]="Undefined",e[e.EnumValueMismatch=1]="EnumValueMismatch",e[e.Deprecated=2]="Deprecated",e[e.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=258]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",e[e.InvalidUnicode=260]="InvalidUnicode",e[e.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",e[e.InvalidCharacter=262]="InvalidCharacter",e[e.PropertyExpected=513]="PropertyExpected",e[e.CommaExpected=514]="CommaExpected",e[e.ColonExpected=515]="ColonExpected",e[e.ValueExpected=516]="ValueExpected",e[e.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",e[e.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",e[e.TrailingComma=519]="TrailingComma",e[e.DuplicateKey=520]="DuplicateKey",e[e.CommentNotPermitted=521]="CommentNotPermitted",e[e.SchemaResolveError=768]="SchemaResolveError"})(Gi||(Gi={}));var Hm;(function(e){e.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[ls.Markdown,ls.PlainText],commitCharactersSupport:!0}}}}})(Hm||(Hm={}));function XD(e,t){return t.length===0?e:e.replace(/{(\d+)}/g,(n,[r])=>r in t?t[r]:n)}var KD=(e,t,...n)=>XD(t,n);function Hs(){return KD}var zs=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Mo=Hs();Mo("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),Mo("dateTimeFormatWarning","String is not a RFC3339 date-time."),Mo("dateFormatWarning","String is not a RFC3339 date."),Mo("timeFormatWarning","String is not a RFC3339 time."),Mo("emailFormatWarning","String is not an e-mail address.");var Qs=function(){function e(t,n,r){r===void 0&&(r=0),this.offset=n,this.length=r,this.parent=t}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}();(function(e){zs(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.type="null",i.value=null,i}return t})(Qs),function(e){zs(t,e);function t(n,r,i){var s=e.call(this,n,i)||this;return s.type="boolean",s.value=r,s}return t}(Qs),function(e){zs(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.type="array",i.items=[],i}return Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0}),t}(Qs),function(e){zs(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.type="number",i.isInteger=!0,i.value=Number.NaN,i}return t}(Qs),function(e){zs(t,e);function t(n,r,i){var s=e.call(this,n,r,i)||this;return s.type="string",s.value="",s}return t}(Qs),function(e){zs(t,e);function t(n,r,i){var s=e.call(this,n,r)||this;return s.type="property",s.colonOffset=-1,s.keyNode=i,s}return Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),t}(Qs),function(e){zs(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.type="object",i.properties=[],i}return Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0}),t}(Qs);function ZD(e){return ja(e)?e?{}:{not:{}}:e}var zm;(function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"})(zm||(zm={})),function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.add=function(t){},e.prototype.merge=function(t){},e.prototype.include=function(t){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}();function ju(e){return Py(e)}function eb(e,t){if(typeof e!="string")throw new TypeError("Expected a string");for(var n=String(e),r="",i=t?!!t.extended:!1,s=t?!!t.globstar:!1,a=!1,o=t&&typeof t.flags=="string"?t.flags:"",u,l=0,v=n.length;l<v;l++)switch(u=n[l],u){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":r+="\\"+u;break;case"?":if(i){r+=".";break}case"[":case"]":if(i){r+=u;break}case"{":if(i){a=!0,r+="(";break}case"}":if(i){a=!1,r+=")";break}case",":if(a){r+="|";break}r+="\\"+u;break;case"*":for(var c=n[l-1],_=1;n[l+1]==="*";)_++,l++;var S=n[l+1];if(!s)r+=".*";else{var Q=_>1&&(c==="/"||c===void 0||c==="{"||c===",")&&(S==="/"||S===void 0||S===","||S==="}");Q?(S==="/"?l++:c==="/"&&r.endsWith("\\/")&&(r=r.substr(0,r.length-2)),r+="((?:[^/]*(?:/|$))*)"):r+="([^/]*)"}break;default:r+=u}return(!o||!~o.indexOf("g"))&&(r="^"+r+"$"),new RegExp(r,o)}var Ms=Hs(),tb="!",nb="/",rb=function(){function e(t,n){this.globWrappers=[];try{for(var r=0,i=t;r<i.length;r++){var s=i[r],a=s[0]!==tb;a||(s=s.substring(1)),s.length>0&&(s[0]===nb&&(s=s.substring(1)),this.globWrappers.push({regexp:eb("**/"+s,{extended:!0,globstar:!0}),include:a}))}this.uris=n}catch{this.globWrappers.length=0,this.uris=[]}}return e.prototype.matchesPattern=function(t){for(var n=!1,r=0,i=this.globWrappers;r<i.length;r++){var s=i[r],a=s.regexp,o=s.include;a.test(t)&&(n=o)}return n},e.prototype.getURIs=function(){return this.uris},e}(),ib=function(){function e(t,n,r){this.service=t,this.url=n,this.dependencies={},r&&(this.unresolvedSchema=this.service.promise.resolve(new Ji(r)))}return e.prototype.getUnresolvedSchema=function(){return this.unresolvedSchema||(this.unresolvedSchema=this.service.loadSchema(this.url)),this.unresolvedSchema},e.prototype.getResolvedSchema=function(){var t=this;return this.resolvedSchema||(this.resolvedSchema=this.getUnresolvedSchema().then(function(n){return t.service.resolveSchemaContent(n,t.url,t.dependencies)})),this.resolvedSchema},e.prototype.clearSchema=function(){this.resolvedSchema=void 0,this.unresolvedSchema=void 0,this.dependencies={}},e}(),Ji=function(){function e(t,n){n===void 0&&(n=[]),this.schema=t,this.errors=n}return e}(),Io=function(){function e(t,n){n===void 0&&(n=[]),this.schema=t,this.errors=n}return e.prototype.getSection=function(t){var n=this.getSectionRecursive(t,this.schema);if(n)return ZD(n)},e.prototype.getSectionRecursive=function(t,n){if(!n||typeof n=="boolean"||t.length===0)return n;var r=t.shift();if(n.properties&&typeof n.properties[r])return this.getSectionRecursive(t,n.properties[r]);if(n.patternProperties)for(var i=0,s=Object.keys(n.patternProperties);i<s.length;i++){var a=s[i],o=QD(a);if(o.test(r))return this.getSectionRecursive(t,n.patternProperties[a])}else{if(typeof n.additionalProperties=="object")return this.getSectionRecursive(t,n.additionalProperties);if(r.match("[0-9]+")){if(Array.isArray(n.items)){var u=parseInt(r,10);if(!isNaN(u)&&n.items[u])return this.getSectionRecursive(t,n.items[u])}else if(n.items)return this.getSectionRecursive(t,n.items)}}},e}(),sb=function(){function e(t,n,r){this.contextService=n,this.requestService=t,this.promiseConstructor=r||Promise,this.callOnDispose=[],this.contributionSchemas={},this.contributionAssociations=[],this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={}}return e.prototype.getRegisteredSchemaIds=function(t){return Object.keys(this.registeredSchemasIds).filter(function(n){var r=Ci.parse(n).scheme;return r!=="schemaservice"&&(!t||t(r))})},Object.defineProperty(e.prototype,"promise",{get:function(){return this.promiseConstructor},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){for(;this.callOnDispose.length>0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(t){var n=this;this.cachedSchemaForResource=void 0;var r=!1;t=Is(t);for(var i=[t],s=Object.keys(this.schemasById).map(function(l){return n.schemasById[l]});i.length;)for(var a=i.pop(),o=0;o<s.length;o++){var u=s[o];u&&(u.url===a||u.dependencies[a])&&(u.url!==a&&i.push(u.url),u.clearSchema(),s[o]=void 0,r=!0)}return r},e.prototype.setSchemaContributions=function(t){if(t.schemas){var n=t.schemas;for(var r in n){var i=Is(r);this.contributionSchemas[i]=this.addSchemaHandle(i,n[r])}}if(Array.isArray(t.schemaAssociations))for(var s=t.schemaAssociations,a=0,o=s;a<o.length;a++){var u=o[a],l=u.uris.map(Is),v=this.addFilePatternAssociation(u.pattern,l);this.contributionAssociations.push(v)}},e.prototype.addSchemaHandle=function(t,n){var r=new ib(this,t,n);return this.schemasById[t]=r,r},e.prototype.getOrAddSchemaHandle=function(t,n){return this.schemasById[t]||this.addSchemaHandle(t,n)},e.prototype.addFilePatternAssociation=function(t,n){var r=new rb(t,n);return this.filePatternAssociations.push(r),r},e.prototype.registerExternalSchema=function(t,n,r){var i=Is(t);return this.registeredSchemasIds[i]=!0,this.cachedSchemaForResource=void 0,n&&this.addFilePatternAssociation(n,[t]),r?this.addSchemaHandle(i,r):this.getOrAddSchemaHandle(i)},e.prototype.clearExternalSchemas=function(){this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={},this.cachedSchemaForResource=void 0;for(var t in this.contributionSchemas)this.schemasById[t]=this.contributionSchemas[t],this.registeredSchemasIds[t]=!0;for(var n=0,r=this.contributionAssociations;n<r.length;n++){var i=r[n];this.filePatternAssociations.push(i)}},e.prototype.getResolvedSchema=function(t){var n=Is(t),r=this.schemasById[n];return r?r.getResolvedSchema():this.promise.resolve(void 0)},e.prototype.loadSchema=function(t){if(!this.requestService){var n=Ms("json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",Ru(t));return this.promise.resolve(new Ji({},[n]))}return this.requestService(t).then(function(r){if(!r){var i=Ms("json.schema.nocontent","Unable to load schema from '{0}': No content.",Ru(t));return new Ji({},[i])}var s={},a=[];s=ky(r,a);var o=a.length?[Ms("json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",Ru(t),a[0].offset)]:[];return new Ji(s,o)},function(r){var i=r.toString(),s=r.toString().split("Error: ");return s.length>1&&(i=s[1]),uf(i,".")&&(i=i.substr(0,i.length-1)),new Ji({},[Ms("json.schema.nocontent","Unable to load schema from '{0}': {1}.",Ru(t),i)])})},e.prototype.resolveSchemaContent=function(t,n,r){var i=this,s=t.errors.slice(0),a=t.schema;if(a.$schema){var o=Is(a.$schema);if(o==="http://json-schema.org/draft-03/schema")return this.promise.resolve(new Io({},[Ms("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));o==="https://json-schema.org/draft/2019-09/schema"&&s.push(Ms("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported."))}var u=this.contextService,l=function(S,Q){if(!Q)return S;var Z=S;return Q[0]==="/"&&(Q=Q.substr(1)),Q.split("/").some(function(M){return M=M.replace(/~1/g,"/").replace(/~0/g,"~"),Z=Z[M],!Z}),Z},v=function(S,Q,Z,M){var he=M?decodeURIComponent(M):void 0,ve=l(Q,he);if(ve)for(var we in ve)ve.hasOwnProperty(we)&&!S.hasOwnProperty(we)&&(S[we]=ve[we]);else s.push(Ms("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",he,Z))},c=function(S,Q,Z,M,he){u&&!/^[A-Za-z][A-Za-z0-9+\-.+]*:\/\/.*/.test(Q)&&(Q=u.resolveRelativePath(Q,M)),Q=Is(Q);var ve=i.getOrAddSchemaHandle(Q);return ve.getUnresolvedSchema().then(function(we){if(he[Q]=!0,we.errors.length){var Le=Z?Q+"#"+Z:Q;s.push(Ms("json.schema.problemloadingref","Problems loading reference '{0}': {1}",Le,we.errors[0]))}return v(S,we.schema,Q,Z),_(S,we.schema,Q,ve.dependencies)})},_=function(S,Q,Z,M){if(!S||typeof S!="object")return Promise.resolve(null);for(var he=[S],ve=[],we=[],Le=function(){for(var $e=[],ze=0;ze<arguments.length;ze++)$e[ze]=arguments[ze];for(var _t=0,qe=$e;_t<qe.length;_t++){var Ft=qe[_t];typeof Ft=="object"&&he.push(Ft)}},ae=function(){for(var $e=[],ze=0;ze<arguments.length;ze++)$e[ze]=arguments[ze];for(var _t=0,qe=$e;_t<qe.length;_t++){var Ft=qe[_t];if(typeof Ft=="object")for(var qt in Ft){var tn=qt,Dt=Ft[tn];typeof Dt=="object"&&he.push(Dt)}}},Ee=function(){for(var $e=[],ze=0;ze<arguments.length;ze++)$e[ze]=arguments[ze];for(var _t=0,qe=$e;_t<qe.length;_t++){var Ft=qe[_t];if(Array.isArray(Ft))for(var qt=0,tn=Ft;qt<tn.length;qt++){var Dt=tn[qt];typeof Dt=="object"&&he.push(Dt)}}},He=function($e){for(var ze=[];$e.$ref;){var _t=$e.$ref,qe=_t.split("#",2);if(delete $e.$ref,qe[0].length>0){we.push(c($e,qe[0],qe[1],Z,M));return}else ze.indexOf(_t)===-1&&(v($e,Q,Z,qe[1]),ze.push(_t))}Le($e.items,$e.additionalItems,$e.additionalProperties,$e.not,$e.contains,$e.propertyNames,$e.if,$e.then,$e.else),ae($e.definitions,$e.properties,$e.patternProperties,$e.dependencies),Ee($e.anyOf,$e.allOf,$e.oneOf,$e.items)};he.length;){var Et=he.pop();ve.indexOf(Et)>=0||(ve.push(Et),He(Et))}return i.promise.all(we)};return _(a,a,n,r).then(function(S){return new Io(a,s)})},e.prototype.getSchemaForResource=function(t,n){if(n&&n.root&&n.root.type==="object"){var r=n.root.properties.filter(function(he){return he.keyNode.value==="$schema"&&he.valueNode&&he.valueNode.type==="string"});if(r.length>0){var i=r[0].valueNode;if(i&&i.type==="string"){var s=ju(i);if(s&&Ym(s,".")&&this.contextService&&(s=this.contextService.resolveRelativePath(s,t)),s){var a=Is(s);return this.getOrAddSchemaHandle(a).getResolvedSchema()}}}}if(this.cachedSchemaForResource&&this.cachedSchemaForResource.resource===t)return this.cachedSchemaForResource.resolvedSchema;for(var o=Object.create(null),u=[],l=ob(t),v=0,c=this.filePatternAssociations;v<c.length;v++){var _=c[v];if(_.matchesPattern(l))for(var S=0,Q=_.getURIs();S<Q.length;S++){var Z=Q[S];o[Z]||(u.push(Z),o[Z]=!0)}}var M=u.length>0?this.createCombinedSchema(t,u).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:t,resolvedSchema:M},M},e.prototype.createCombinedSchema=function(t,n){if(n.length===1)return this.getOrAddSchemaHandle(n[0]);var r="schemaservice://combinedSchema/"+encodeURIComponent(t),i={allOf:n.map(function(s){return{$ref:s}})};return this.addSchemaHandle(r,i)},e.prototype.getMatchingSchemas=function(t,n,r){if(r){var i=r.id||"schemaservice://untitled/matchingSchemas/"+ab++;return this.resolveSchemaContent(new Ji(r),i,{}).then(function(s){return n.getMatchingSchemas(s.schema).filter(function(a){return!a.inverted})})}return this.getSchemaForResource(t.uri,n).then(function(s){return s?n.getMatchingSchemas(s.schema).filter(function(a){return!a.inverted}):[]})},e}(),ab=0;function Is(e){try{return Ci.parse(e).toString()}catch{return e}}function ob(e){try{return Ci.parse(e).with({fragment:null,query:null}).toString()}catch{return e}}function Ru(e){try{var t=Ci.parse(e);if(t.scheme==="file")return t.fsPath}catch{}return e}function ub(e){return e.replace(/[-\\{}+?|^$.,[\]()#\s]/g,"\\$&").replace(/[*]/g,".*")}function lb(e,t){if(e.length<t)return 0;for(let n=0;n<t;n++){const r=e.charCodeAt(n);if(r!==32&&r!==9)return n}return t}function Qm(e){try{return new RegExp(e,"u")}catch{return new RegExp(e)}}function cb(e,t){t++;for(let n=t;n<e.length;n++){const r=e.charAt(n);if(r===" "||r===" ")t++;else return t}return t}function Oo(e,t){if(e===t)return!0;if(e==null||t===null||t===void 0||typeof e!=typeof t||typeof e!="object"||Array.isArray(e)!==Array.isArray(t))return!1;let n,r;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!Oo(e[n],t[n]))return!1}else{const i=[];for(r in e)i.push(r);i.sort();const s=[];for(r in t)s.push(r);if(s.sort(),!Oo(i,s))return!1;for(n=0;n<i.length;n++)if(!Oo(e[i[n]],t[i[n]]))return!1}return!0}function Mi(e){return typeof e=="number"}function Xs(e){return typeof e<"u"}function Ra(e){return typeof e=="boolean"}function $a(e){return typeof e=="string"}function fb(e){return Symbol.iterator in Object(e)}function ds(e){var t;return e?e instanceof Error&&(t=e.stack)!=null?t:e.toString():"null"}function lf(e){const t=e.type&&e.closestTitle;return e.title?e.title:e.$id?Xm(e.$id):e.$ref||e._$ref?Xm(e.$ref||e._$ref):Array.isArray(e.type)?e.type.join(" | "):t?e.type.concat("(",e.closestTitle,")"):e.type||e.closestTitle}function Xm(e){const t=e.match(/^(?:.*\/)?(.*?)(?:\.schema\.json)?$/);let n=!!t&&t[1];return n||(n="typeNotFound",console.error(`$ref (${e}) not parsed properly`)),n}function Km(e,t){const n=Ci.parse(t);let r=Ys.basename(n.fsPath);return Ys.extname(n.fsPath)||(r+=".json"),Object.getOwnPropertyDescriptor(e,"name")?Object.getOwnPropertyDescriptor(e,"name").value+` (${r})`:e.title?e.description?e.title+" - "+e.description+` (${r})`:e.title+` (${r})`:r}function pb(e){return e.type!=="object"&&!cf(e)}function cf(e){return!!(e.anyOf||e.allOf||e.oneOf)}var db=Hs(),hb=function(){function e(t,n){this.jsonSchemaService=t,this.promise=n,this.validationEnabled=!0}return e.prototype.configure=function(t){t&&(this.validationEnabled=t.validate!==!1,this.commentSeverity=t.allowComments?void 0:Xn.Error)},e.prototype.doValidation=function(t,n,r,i){var s=this;if(!this.validationEnabled)return this.promise.resolve([]);var a=[],o={},u=function(c){var _=c.range.start.line+" "+c.range.start.character+" "+c.message;o[_]||(o[_]=!0,a.push(c))},l=function(c){var _=r!=null&&r.trailingCommas?$u(r.trailingCommas):Xn.Error,S=r!=null&&r.comments?$u(r.comments):s.commentSeverity,Q=r!=null&&r.schemaValidation?$u(r.schemaValidation):Xn.Warning,Z=r!=null&&r.schemaRequest?$u(r.schemaRequest):Xn.Warning;if(c){if(c.errors.length&&n.root&&Z){var M=n.root,he=M.type==="object"?M.properties[0]:void 0;if(he&&he.keyNode.value==="$schema"){var ve=he.valueNode||he,we=$n.create(t.positionAt(ve.offset),t.positionAt(ve.offset+ve.length));u(xi.create(we,c.errors[0],Z,Gi.SchemaResolveError))}else{var we=$n.create(t.positionAt(M.offset),t.positionAt(M.offset+1));u(xi.create(we,c.errors[0],Z,Gi.SchemaResolveError))}}else if(Q){var Le=n.validate(t,c.schema,Q);Le&&Le.forEach(u)}Zm(c.schema)&&(S=void 0),e0(c.schema)&&(_=void 0)}for(var ae=0,Ee=n.syntaxErrors;ae<Ee.length;ae++){var He=Ee[ae];if(He.code===Gi.TrailingComma){if(typeof _!="number")continue;He.severity=_}u(He)}if(typeof S=="number"){var Et=db("InvalidCommentToken","Comments are not permitted in JSON.");n.comments.forEach(function($e){u(xi.create($e,Et,S,Gi.CommentNotPermitted))})}return a};if(i){var v=i.id||"schemaservice://untitled/"+mb++;return this.jsonSchemaService.resolveSchemaContent(new Ji(i),v,{}).then(function(c){return l(c)})}return this.jsonSchemaService.getSchemaForResource(t.uri,n).then(function(c){return l(c)})},e}(),mb=0;function Zm(e){if(e&&typeof e=="object"){if(ja(e.allowComments))return e.allowComments;if(e.allOf)for(var t=0,n=e.allOf;t<n.length;t++){var r=n[t],i=Zm(r);if(ja(i))return i}}}function e0(e){if(e&&typeof e=="object"){if(ja(e.allowTrailingCommas))return e.allowTrailingCommas;var t=e;if(ja(t.allowsTrailingCommas))return t.allowsTrailingCommas;if(e.allOf)for(var n=0,r=e.allOf;n<r.length;n++){var i=r[n],s=e0(i);if(ja(s))return s}}}function $u(e){switch(e){case"error":return Xn.Error;case"warning":return Xn.Warning;case"ignore":return}}var t0=48,gb=57,yb=65,Vu=97,Db=102;function jr(e){return e<t0?0:e<=gb?e-t0:(e<Vu&&(e+=Vu-yb),e>=Vu&&e<=Db?e-Vu+10:0)}function bb(e){if(e[0]==="#")switch(e.length){case 4:return{red:jr(e.charCodeAt(1))*17/255,green:jr(e.charCodeAt(2))*17/255,blue:jr(e.charCodeAt(3))*17/255,alpha:1};case 5:return{red:jr(e.charCodeAt(1))*17/255,green:jr(e.charCodeAt(2))*17/255,blue:jr(e.charCodeAt(3))*17/255,alpha:jr(e.charCodeAt(4))*17/255};case 7:return{red:(jr(e.charCodeAt(1))*16+jr(e.charCodeAt(2)))/255,green:(jr(e.charCodeAt(3))*16+jr(e.charCodeAt(4)))/255,blue:(jr(e.charCodeAt(5))*16+jr(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(jr(e.charCodeAt(1))*16+jr(e.charCodeAt(2)))/255,green:(jr(e.charCodeAt(3))*16+jr(e.charCodeAt(4)))/255,blue:(jr(e.charCodeAt(5))*16+jr(e.charCodeAt(6)))/255,alpha:(jr(e.charCodeAt(7))*16+jr(e.charCodeAt(8)))/255}}}var vb=function(){function e(t){this.schemaService=t}return e.prototype.findDocumentSymbols=function(t,n,r){var i=this;r===void 0&&(r={resultLimit:Number.MAX_VALUE});var s=n.root;if(!s)return[];var a=r.resultLimit||Number.MAX_VALUE,o=t.uri;if((o==="vscode://defaultsettings/keybindings.json"||uf(o.toLowerCase(),"/user/keybindings.json"))&&s.type==="array"){for(var u=[],l=0,v=s.items;l<v.length;l++){var c=v[l];if(c.type==="object")for(var _=0,S=c.properties;_<S.length;_++){var Q=S[_];if(Q.keyNode.value==="key"&&Q.valueNode){var Z=Ca.create(t.uri,Os(t,c));if(u.push({name:ju(Q.valueNode),kind:ns.Function,location:Z}),a--,a<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),u}}}return u}for(var M=[{node:s,containerName:""}],he=0,ve=!1,we=[],Le=function(Ee,He){Ee.type==="array"?Ee.items.forEach(function(Et){Et&&M.push({node:Et,containerName:He})}):Ee.type==="object"&&Ee.properties.forEach(function(Et){var $e=Et.valueNode;if($e)if(a>0){a--;var ze=Ca.create(t.uri,Os(t,Et)),_t=He?He+"."+Et.keyNode.value:Et.keyNode.value;we.push({name:i.getKeyLabel(Et),kind:i.getSymbolKind($e.type),location:ze,containerName:He}),M.push({node:$e,containerName:_t})}else ve=!0})};he<M.length;){var ae=M[he++];Le(ae.node,ae.containerName)}return ve&&r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),we},e.prototype.findDocumentSymbols2=function(t,n,r){var i=this;r===void 0&&(r={resultLimit:Number.MAX_VALUE});var s=n.root;if(!s)return[];var a=r.resultLimit||Number.MAX_VALUE,o=t.uri;if((o==="vscode://defaultsettings/keybindings.json"||uf(o.toLowerCase(),"/user/keybindings.json"))&&s.type==="array"){for(var u=[],l=0,v=s.items;l<v.length;l++){var c=v[l];if(c.type==="object")for(var _=0,S=c.properties;_<S.length;_++){var Q=S[_];if(Q.keyNode.value==="key"&&Q.valueNode){var Z=Os(t,c),M=Os(t,Q.keyNode);if(u.push({name:ju(Q.valueNode),kind:ns.Function,range:Z,selectionRange:M}),a--,a<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),u}}}return u}for(var he=[],ve=[{node:s,result:he}],we=0,Le=!1,ae=function(He,Et){He.type==="array"?He.items.forEach(function($e,ze){if($e)if(a>0){a--;var _t=Os(t,$e),qe=_t,Ft=String(ze),qt={name:Ft,kind:i.getSymbolKind($e.type),range:_t,selectionRange:qe,children:[]};Et.push(qt),ve.push({result:qt.children,node:$e})}else Le=!0}):He.type==="object"&&He.properties.forEach(function($e){var ze=$e.valueNode;if(ze)if(a>0){a--;var _t=Os(t,$e),qe=Os(t,$e.keyNode),Ft=[],qt={name:i.getKeyLabel($e),kind:i.getSymbolKind(ze.type),range:_t,selectionRange:qe,children:Ft,detail:i.getDetail(ze)};Et.push(qt),ve.push({result:Ft,node:ze})}else Le=!0})};we<ve.length;){var Ee=ve[we++];ae(Ee.node,Ee.result)}return Le&&r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),he},e.prototype.getSymbolKind=function(t){switch(t){case"object":return ns.Module;case"string":return ns.String;case"number":return ns.Number;case"array":return ns.Array;case"boolean":return ns.Boolean;default:return ns.Variable}},e.prototype.getKeyLabel=function(t){var n=t.keyNode.value;return n&&(n=n.replace(/[\n]/g,"↵")),n&&n.trim()?n:'"'+n+'"'},e.prototype.getDetail=function(t){if(t){if(t.type==="boolean"||t.type==="number"||t.type==="null"||t.type==="string")return String(t.value);if(t.type==="array")return t.children.length?void 0:"[]";if(t.type==="object")return t.children.length?void 0:"{}"}},e.prototype.findDocumentColors=function(t,n,r){return this.schemaService.getSchemaForResource(t.uri,n).then(function(i){var s=[];if(i)for(var a=r&&typeof r.resultLimit=="number"?r.resultLimit:Number.MAX_VALUE,o=n.getMatchingSchemas(i.schema),u={},l=0,v=o;l<v.length;l++){var c=v[l];if(!c.inverted&&c.schema&&(c.schema.format==="color"||c.schema.format==="color-hex")&&c.node&&c.node.type==="string"){var _=String(c.node.offset);if(!u[_]){var S=bb(ju(c.node));if(S){var Q=Os(t,c.node);s.push({color:S,range:Q})}if(u[_]=!0,a--,a<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(t.uri),s}}}return s})},e.prototype.getColorPresentations=function(t,n,r,i){var s=[],a=Math.round(r.red*255),o=Math.round(r.green*255),u=Math.round(r.blue*255);function l(c){var _=c.toString(16);return _.length!==2?"0"+_:_}var v;return r.alpha===1?v="#"+l(a)+l(o)+l(u):v="#"+l(a)+l(o)+l(u)+l(Math.round(r.alpha*255)),s.push({label:v,textEdit:Sr.replace(i,JSON.stringify(v))}),s},e}();function Os(e,t){return $n.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}var Vn=Hs(),n0={schemaAssociations:[],schemas:{"http://json-schema.org/schema#":{$ref:"http://json-schema.org/draft-07/schema#"},"http://json-schema.org/draft-04/schema#":{$schema:"http://json-schema.org/draft-04/schema#",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{type:"string",enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minLength:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minItems:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},uniqueItems:{type:"boolean",default:!1},maxProperties:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minProperties:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},required:{allOf:[{$ref:"#/definitions/stringArray"}]},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{anyOf:[{type:"string",enum:["date-time","uri","email","hostname","ipv4","ipv6","regex"]},{type:"string"}]},allOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},anyOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},oneOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},not:{allOf:[{$ref:"#"}]}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}},"http://json-schema.org/draft-07/schema#":{definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}},Eb={id:Vn("schema.json.id","A unique identifier for the schema."),$schema:Vn("schema.json.$schema","The schema to verify this document against."),title:Vn("schema.json.title","A descriptive title of the element."),description:Vn("schema.json.description","A long description of the element. Used in hover menus and suggestions."),default:Vn("schema.json.default","A default value. Used by suggestions."),multipleOf:Vn("schema.json.multipleOf","A number that should cleanly divide the current value (i.e. have no remainder)."),maximum:Vn("schema.json.maximum","The maximum numerical value, inclusive by default."),exclusiveMaximum:Vn("schema.json.exclusiveMaximum","Makes the maximum property exclusive."),minimum:Vn("schema.json.minimum","The minimum numerical value, inclusive by default."),exclusiveMinimum:Vn("schema.json.exclusiveMininum","Makes the minimum property exclusive."),maxLength:Vn("schema.json.maxLength","The maximum length of a string."),minLength:Vn("schema.json.minLength","The minimum length of a string."),pattern:Vn("schema.json.pattern","A regular expression to match the string against. It is not implicitly anchored."),additionalItems:Vn("schema.json.additionalItems","For arrays, only when items is set as an array. If it is a schema, then this schema validates items after the ones specified by the items array. If it is false, then additional items will cause validation to fail."),items:Vn("schema.json.items","For arrays. Can either be a schema to validate every element against or an array of schemas to validate each item against in order (the first schema will validate the first element, the second schema will validate the second element, and so on."),maxItems:Vn("schema.json.maxItems","The maximum number of items that can be inside an array. Inclusive."),minItems:Vn("schema.json.minItems","The minimum number of items that can be inside an array. Inclusive."),uniqueItems:Vn("schema.json.uniqueItems","If all of the items in the array must be unique. Defaults to false."),maxProperties:Vn("schema.json.maxProperties","The maximum number of properties an object can have. Inclusive."),minProperties:Vn("schema.json.minProperties","The minimum number of properties an object can have. Inclusive."),required:Vn("schema.json.required","An array of strings that lists the names of all properties required on this object."),additionalProperties:Vn("schema.json.additionalProperties","Either a schema or a boolean. If a schema, then used to validate all properties not matched by 'properties' or 'patternProperties'. If false, then any properties not matched by either will cause this schema to fail."),definitions:Vn("schema.json.definitions","Not used for validation. Place subschemas here that you wish to reference inline with $ref."),properties:Vn("schema.json.properties","A map of property names to schemas for each property."),patternProperties:Vn("schema.json.patternProperties","A map of regular expressions on property names to schemas for matching properties."),dependencies:Vn("schema.json.dependencies","A map of property names to either an array of property names or a schema. An array of property names means the property named in the key depends on the properties in the array being present in the object in order to be valid. If the value is a schema, then the schema is only applied to the object if the property in the key exists on the object."),enum:Vn("schema.json.enum","The set of literal values that are valid."),type:Vn("schema.json.type","Either a string of one of the basic schema types (number, integer, null, array, object, boolean, string) or an array of strings specifying a subset of those types."),format:Vn("schema.json.format","Describes the format expected for the value."),allOf:Vn("schema.json.allOf","An array of schemas, all of which must match."),anyOf:Vn("schema.json.anyOf","An array of schemas, where at least one must match."),oneOf:Vn("schema.json.oneOf","An array of schemas, exactly one of which must match."),not:Vn("schema.json.not","A schema which must not match."),$id:Vn("schema.json.$id","A unique identifier for the schema."),$ref:Vn("schema.json.$ref","Reference a definition hosted on any location."),$comment:Vn("schema.json.$comment","Comments from schema authors to readers or maintainers of the schema."),readOnly:Vn("schema.json.readOnly","Indicates that the value of the instance is managed exclusively by the owning authority."),examples:Vn("schema.json.examples","Sample JSON values associated with a particular schema, for the purpose of illustrating usage."),contains:Vn("schema.json.contains",'An array instance is valid against "contains" if at least one of its elements is valid against the given schema.'),propertyNames:Vn("schema.json.propertyNames","If the instance is an object, this keyword validates if every property name in the instance validates against the provided schema."),const:Vn("schema.json.const","An instance validates successfully against this keyword if its value is equal to the value of the keyword."),contentMediaType:Vn("schema.json.contentMediaType","Describes the media type of a string property."),contentEncoding:Vn("schema.json.contentEncoding","Describes the content encoding of a string property."),if:Vn("schema.json.if",'The validation outcome of the "if" subschema controls which of the "then" or "else" keywords are evaluated.'),then:Vn("schema.json.then",'The "if" subschema is used for validation when the "if" subschema succeeds.'),else:Vn("schema.json.else",'The "else" subschema is used for validation when the "if" subschema fails.')};for(r0 in n0.schemas){qu=n0.schemas[r0];for(Va in qu.properties)Uu=qu.properties[Va],typeof Uu=="boolean"&&(Uu=qu.properties[Va]={}),ff=Eb[Va],ff?Uu.description=ff:console.log(Va+": localize('schema.json."+Va+`', "")`)}var qu,Uu,ff,Va,r0;function Ab(e,t){var n=[];return t.visit(function(r){var i;if(r.type==="property"&&r.keyNode.value==="$ref"&&((i=r.valueNode)===null||i===void 0?void 0:i.type)==="string"){var s=r.valueNode.value,a=xb(t,s);if(a){var o=e.positionAt(a.offset);n.push({target:e.uri+"#"+(o.line+1)+","+(o.character+1),range:Cb(e,r.valueNode)})}}return!0}),Promise.resolve(n)}function Cb(e,t){return $n.create(e.positionAt(t.offset+1),e.positionAt(t.offset+t.length-1))}function xb(e,t){var n=Sb(t);return n?pf(n,e.root):null}function pf(e,t){if(!t)return null;if(e.length===0)return t;var n=e.shift();if(t&&t.type==="object"){var r=t.properties.find(function(a){return a.keyNode.value===n});return r?pf(e,r.valueNode):null}else if(t&&t.type==="array"&&n.match(/^(0|[1-9][0-9]*)$/)){var i=Number.parseInt(n),s=t.items[i];return s?pf(e,s):null}return null}function Sb(e){return e==="#"?[]:e[0]!=="#"||e[1]!=="/"?null:e.substring(2).split(/\//).map(wb)}function wb(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function Wu(e,t){for(const n of t.documents)if(n.internalDocument&&n.internalDocument.range[0]<=e&&n.internalDocument.range[2]>=e)return n;return t.documents.length===1?t.documents[0]:null}function i0(e){const t=["mapping","scalar","sequence"];return e?e.filter(n=>{if(typeof n=="string"){const r=n.split(" "),i=r[1]&&r[1].toLowerCase()||"scalar";return i==="map"?!1:t.indexOf(i)!==-1}return!1}):[]}function s0(e,t){if(!t||!e||t.length!==e.length)return!1;for(let n=e.length-1;n>=0;n--)if(e[n]!==t[n])return!1;return!0}var ir=Hs(),df="Property {0} is not allowed.",Fb={"color-hex":{errorMessage:ir("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:ir("dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:ir("dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:ir("timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:ir("emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/},ipv4:{errorMessage:ir("ipv4FormatWarning","String does not match IPv4 format."),pattern:/^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}$/},ipv6:{errorMessage:ir("ipv6FormatWarning","String does not match IPv6 format."),pattern:/^([0-9a-f]|:){1,4}(:([0-9a-f]{0,4})*){1,7}$/i}},Gu="YAML",a0="yaml-schema: ",fi;(function(e){e.missingRequiredPropWarning="missingRequiredPropWarning",e.typeMismatchWarning="typeMismatchWarning",e.constWarning="constWarning"})(fi||(fi={}));var Nb={[fi.missingRequiredPropWarning]:'Missing property "{0}".',[fi.typeMismatchWarning]:'Incorrect type. Expected "{0}".',[fi.constWarning]:"Value must be {0}."},Ks=class{constructor(e,t,n,r){this.offset=n,this.length=r,this.parent=e,this.internalNode=t}getNodeFromOffsetEndInclusive(e){const t=[],n=a=>{if(e>=a.offset&&e<=a.offset+a.length){const o=a.children;for(let u=0;u<o.length&&o[u].offset<=e;u++){const l=n(o[u]);l&&t.push(l)}return a}return null},r=n(this);let i=Number.MAX_VALUE,s=null;for(const a of t){const o=a.length+a.offset-e+(e-a.offset);o<i&&(s=a,i=o)}return s||r}get children(){return[]}toString(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")}},_b=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="null",this.value=null}},Tb=class extends Ks{constructor(e,t,n,r,i){super(e,t,r,i),this.type="boolean",this.value=n}},Lb=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="array",this.items=[]}get children(){return this.items}},kb=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="number",this.isInteger=!0,this.value=Number.NaN}},Ju=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="string",this.value=""}},Pb=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="property",this.colonOffset=-1}get children(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]}},Bb=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="object",this.properties=[]}get children(){return this.properties}};function pi(e){if(e!==void 0)return Ra(e)?e?{}:{not:{}}:(typeof e!="object"&&(console.warn(`Wrong schema: ${JSON.stringify(e)}, it MUST be an Object or Boolean`),e={type:e}),e)}var o0;(function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"})(o0||(o0={}));var Mb=class og{constructor(t=-1,n=null){this.focusOffset=t,this.exclude=n,this.schemas=[]}add(t){this.schemas.push(t)}merge(t){this.schemas.push(...t.schemas)}include(t){return(this.focusOffset===-1||u0(t,this.focusOffset))&&t!==this.exclude}newSub(){return new og(-1,this.exclude)}},jo=class{constructor(){}get schemas(){return[]}add(e){}merge(e){}include(e){return!0}newSub(){return this}};jo.instance=new jo;var yi=class{constructor(e){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,e?this.enumValues=[]:this.enumValues=null}hasProblems(){return!!this.problems.length}mergeAll(e){for(const t of e)this.merge(t)}merge(e){this.problems=this.problems.concat(e.problems)}mergeEnumValues(e){if(!this.enumValueMatch&&!e.enumValueMatch&&this.enumValues&&e.enumValues){this.enumValues=this.enumValues.concat(e.enumValues);for(const t of this.problems)t.code===Gi.EnumValueMismatch&&(t.message=ir("enumWarning","Value is not accepted. Valid values: {0}.",[...new Set(this.enumValues)].map(n=>JSON.stringify(n)).join(", ")))}}mergeWarningGeneric(e,t){var n,r;if((n=this.problems)!=null&&n.length)for(const i of t){const s=this.problems.filter(a=>a.problemType===i);for(const a of s){const o=(r=e.problems)==null?void 0:r.find(u=>u.problemType===i&&a.location.offset===u.location.offset&&(i!==fi.missingRequiredPropWarning||s0(u.problemArgs,a.problemArgs)));o&&(o.problemArgs.length&&(o.problemArgs.filter(u=>!a.problemArgs.includes(u)).forEach(u=>a.problemArgs.push(u)),a.message=Yu(a.problemType,a.problemArgs)),this.mergeSources(o,a))}}}mergePropertyMatch(e){this.merge(e),this.propertiesMatches++,(e.enumValueMatch||!e.hasProblems()&&e.propertiesMatches)&&this.propertiesValueMatches++,e.enumValueMatch&&e.enumValues&&this.primaryValueMatches++}mergeSources(e,t){const n=e.source.replace(a0,"");t.source.includes(n)||(t.source=t.source+" | "+n),t.schemaUri.includes(e.schemaUri[0])||(t.schemaUri=t.schemaUri.concat(e.schemaUri))}compareGeneric(e){const t=this.hasProblems();return t!==e.hasProblems()?t?-1:1:this.enumValueMatch!==e.enumValueMatch?e.enumValueMatch?-1:1:this.propertiesValueMatches!==e.propertiesValueMatches?this.propertiesValueMatches-e.propertiesValueMatches:this.primaryValueMatches!==e.primaryValueMatches?this.primaryValueMatches-e.primaryValueMatches:this.propertiesMatches-e.propertiesMatches}compareKubernetes(e){const t=this.hasProblems();return this.propertiesMatches!==e.propertiesMatches?this.propertiesMatches-e.propertiesMatches:this.enumValueMatch!==e.enumValueMatch?e.enumValueMatch?-1:1:this.primaryValueMatches!==e.primaryValueMatches?this.primaryValueMatches-e.primaryValueMatches:this.propertiesValueMatches!==e.propertiesValueMatches?this.propertiesValueMatches-e.propertiesValueMatches:t!==e.hasProblems()?t?-1:1:this.propertiesMatches-e.propertiesMatches}};function qa(e){switch(e.type){case"array":return e.children.map(qa);case"object":{const t=Object.create(null);for(let n=0,r=e.children;n<r.length;n++){const i=r[n],s=i.children[1];s&&(t[i.children[0].value]=qa(s))}return t}case"null":case"string":case"number":case"boolean":return e.value;default:return}}function u0(e,t,n=!1){return t>=e.offset&&t<=e.offset+e.length||n&&t===e.offset+e.length}function l0(e,t,n){if(n===void 0&&(n=!1),u0(e,t,n)){const r=e.children;if(Array.isArray(r))for(let i=0;i<r.length&&r[i].offset<=t;i++){const s=l0(r[i],t,n);if(s)return s}return e}}var Ib=class{constructor(e,t=[],n=[]){this.root=e,this.syntaxErrors=t,this.comments=n}getNodeFromOffset(e,t=!1){if(this.root)return l0(this.root,e,t)}getNodeFromOffsetEndInclusive(e){return this.root&&this.root.getNodeFromOffsetEndInclusive(e)}visit(e){if(this.root){const t=n=>{let r=e(n);const i=n.children;if(Array.isArray(i))for(let s=0;s<i.length&&r;s++)r=t(i[s]);return r};t(this.root)}}validate(e,t){if(this.root&&t){const n=new yi(this.isKubernetes);return Kr(this.root,t,t,n,jo.instance,{isKubernetes:this.isKubernetes,disableAdditionalProperties:this.disableAdditionalProperties,uri:this.uri}),n.problems.map(r=>{const i=$n.create(e.positionAt(r.location.offset),e.positionAt(r.location.offset+r.location.length)),s=xi.create(i,r.message,r.severity,r.code?r.code:Gi.Undefined,r.source);return s.data={schemaUri:r.schemaUri,...r.data},s})}return null}getMatchingSchemas(e,t=-1,n=null,r){const i=new Mb(t,n);return this.root&&e&&Kr(this.root,e,e,new yi(this.isKubernetes),i,{isKubernetes:this.isKubernetes,disableAdditionalProperties:this.disableAdditionalProperties,uri:this.uri,callFromAutoComplete:r}),i.schemas}};function Kr(e,t,n,r,i,s){const{isKubernetes:a,callFromAutoComplete:o}=s;if(!e||typeof t!="object")return;switch(t.url||(t.url=n.url),t.closestTitle=t.title||n.closestTitle,e.type){case"object":_(e,t,r,i);break;case"array":c(e,t,r,i);break;case"string":v(e,t,r);break;case"number":l(e,t,r);break;case"property":return Kr(e.valueNode,t,t,r,i,s)}u(),i.add({node:e,schema:t});function u(){function Z(ae){return e.type===ae||ae==="integer"&&e.type==="number"&&e.isInteger}if(Array.isArray(t.type))t.type.some(Z)||r.problems.push({location:{offset:e.offset,length:e.length},severity:Xn.Warning,message:t.errorMessage||ir("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", ")),source:gr(t,n),schemaUri:yr(t,n)});else if(t.type&&!Z(t.type)){const ae=t.type==="object"?lf(t):t.type;r.problems.push({location:{offset:e.offset,length:e.length},severity:Xn.Warning,message:t.errorMessage||Yu(fi.typeMismatchWarning,[ae]),source:gr(t,n),schemaUri:yr(t,n),problemType:fi.typeMismatchWarning,problemArgs:[ae]})}if(Array.isArray(t.allOf))for(const ae of t.allOf)Kr(e,pi(ae),t,r,i,s);const M=pi(t.not);if(M){const ae=new yi(a),Ee=i.newSub();Kr(e,M,t,ae,Ee,s),ae.hasProblems()||r.problems.push({location:{offset:e.offset,length:e.length},severity:Xn.Warning,message:ir("notSchemaWarning","Matches a schema that is not allowed."),source:gr(t,n),schemaUri:yr(t,n)});for(const He of Ee.schemas)He.inverted=!He.inverted,i.add(He)}const he=(ae,Ee)=>{var He;const Et=[],$e=[],ze=[];let _t=null;for(const qe of ae){const Ft={...pi(qe)},qt=new yi(a),tn=i.newSub();Kr(e,Ft,t,qt,tn,s),(!qt.hasProblems()||o)&&(Et.push(Ft),$e.push(Ft),qt.propertiesMatches===0&&ze.push(Ft),Ft.format&&$e.pop()),_t?a?_t=S(qt,_t,Ft,tn):_t=Q(e,Ee,qt,_t,Ft,tn):_t={schema:Ft,validationResult:qt,matchingSchemas:tn}}return $e.length>1&&($e.length>1||ze.length===0)&&Ee&&r.problems.push({location:{offset:e.offset,length:1},severity:Xn.Warning,message:ir("oneOfWarning","Matches multiple schemas when only one must validate."),source:gr(t,n),schemaUri:yr(t,n)}),_t!==null&&(r.merge(_t.validationResult),r.propertiesMatches+=_t.validationResult.propertiesMatches,r.propertiesValueMatches+=_t.validationResult.propertiesValueMatches,r.enumValueMatch=r.enumValueMatch||_t.validationResult.enumValueMatch,(He=_t.validationResult.enumValues)!=null&&He.length&&(r.enumValues=(r.enumValues||[]).concat(_t.validationResult.enumValues)),i.merge(_t.matchingSchemas)),Et.length};Array.isArray(t.anyOf)&&he(t.anyOf,!1),Array.isArray(t.oneOf)&&he(t.oneOf,!0);const ve=(ae,Ee)=>{const He=new yi(a),Et=i.newSub();Kr(e,pi(ae),Ee,He,Et,s),r.merge(He),r.propertiesMatches+=He.propertiesMatches,r.propertiesValueMatches+=He.propertiesValueMatches,i.merge(Et)},we=(ae,Ee,He,Et)=>{const $e=pi(ae),ze=new yi(a),_t=i.newSub();Kr(e,$e,Ee,ze,_t,s),i.merge(_t);const{filePatternAssociation:qe}=$e;qe&&(new iv(qe).matchesPattern(s.uri)||ze.problems.push({location:{offset:e.offset,length:e.length},severity:Xn.Warning,message:ir("ifFilePatternAssociation",`filePatternAssociation '${qe}' does not match with doc uri '${s.uri}'.`),source:gr(t,Ee),schemaUri:yr(t,Ee)})),ze.hasProblems()?Et&&ve(Et,Ee):He&&ve(He,Ee)},Le=pi(t.if);if(Le&&we(Le,t,pi(t.then),pi(t.else)),Array.isArray(t.enum)){const ae=qa(e);let Ee=!1;for(const He of t.enum)if(Oo(ae,He)||o&&$a(ae)&&$a(He)&&ae&&He.startsWith(ae)){Ee=!0;break}r.enumValues=t.enum,r.enumValueMatch=Ee,Ee||r.problems.push({location:{offset:e.offset,length:e.length},severity:Xn.Warning,code:Gi.EnumValueMismatch,message:t.errorMessage||ir("enumWarning","Value is not accepted. Valid values: {0}.",t.enum.map(He=>JSON.stringify(He)).join(", ")),source:gr(t,n),schemaUri:yr(t,n)})}if(Xs(t.const)){const ae=qa(e);!Oo(ae,t.const)&&!(o&&$a(ae)&&$a(t.const)&&t.const.startsWith(ae))?(r.problems.push({location:{offset:e.offset,length:e.length},severity:Xn.Warning,code:Gi.EnumValueMismatch,problemType:fi.constWarning,message:t.errorMessage||Yu(fi.constWarning,[JSON.stringify(t.const)]),source:gr(t,n),schemaUri:yr(t,n),problemArgs:[JSON.stringify(t.const)]}),r.enumValueMatch=!1):r.enumValueMatch=!0,r.enumValues=[t.const]}t.deprecationMessage&&e.parent&&r.problems.push({location:{offset:e.parent.offset,length:e.parent.length},severity:Xn.Warning,message:t.deprecationMessage,source:gr(t,n),schemaUri:yr(t,n)})}function l(Z,M,he){const ve=Z.value;Mi(M.multipleOf)&&ve%M.multipleOf!==0&&he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:ir("multipleOfWarning","Value is not divisible by {0}.",M.multipleOf),source:gr(M,n),schemaUri:yr(M,n)});function we($e,ze){if(Mi(ze))return ze;if(Ra(ze)&&ze)return $e}function Le($e,ze){if(!Ra(ze)||!ze)return $e}const ae=we(M.minimum,M.exclusiveMinimum);Mi(ae)&&ve<=ae&&he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:ir("exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",ae),source:gr(M,n),schemaUri:yr(M,n)});const Ee=we(M.maximum,M.exclusiveMaximum);Mi(Ee)&&ve>=Ee&&he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:ir("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",Ee),source:gr(M,n),schemaUri:yr(M,n)});const He=Le(M.minimum,M.exclusiveMinimum);Mi(He)&&ve<He&&he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:ir("minimumWarning","Value is below the minimum of {0}.",He),source:gr(M,n),schemaUri:yr(M,n)});const Et=Le(M.maximum,M.exclusiveMaximum);Mi(Et)&&ve>Et&&he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:ir("maximumWarning","Value is above the maximum of {0}.",Et),source:gr(M,n),schemaUri:yr(M,n)})}function v(Z,M,he){if(Mi(M.minLength)&&Z.value.length<M.minLength&&he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:ir("minLengthWarning","String is shorter than the minimum length of {0}.",M.minLength),source:gr(M,n),schemaUri:yr(M,n)}),Mi(M.maxLength)&&Z.value.length>M.maxLength&&he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:ir("maxLengthWarning","String is longer than the maximum length of {0}.",M.maxLength),source:gr(M,n),schemaUri:yr(M,n)}),$a(M.pattern)&&(Qm(M.pattern).test(Z.value)||he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:M.patternErrorMessage||M.errorMessage||ir("patternWarning",'String does not match the pattern of "{0}".',M.pattern),source:gr(M,n),schemaUri:yr(M,n)})),M.format)switch(M.format){case"uri":case"uri-reference":{let ve;if(!Z.value)ve=ir("uriEmpty","URI expected.");else try{!Ci.parse(Z.value).scheme&&M.format==="uri"&&(ve=ir("uriSchemeMissing","URI with a scheme is expected."))}catch(we){ve=we.message}ve&&he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:M.patternErrorMessage||M.errorMessage||ir("uriFormatWarning","String is not a URI: {0}",ve),source:gr(M,n),schemaUri:yr(M,n)})}break;case"color-hex":case"date-time":case"date":case"time":case"email":case"ipv4":case"ipv6":{const ve=Fb[M.format];(!Z.value||!ve.pattern.test(Z.value))&&he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:M.patternErrorMessage||M.errorMessage||ve.errorMessage,source:gr(M,n),schemaUri:yr(M,n)})}break}}function c(Z,M,he,ve){if(Array.isArray(M.items)){const Le=M.items;for(let ae=0;ae<Le.length;ae++){const Ee=Le[ae],He=pi(Ee),Et=new yi(a),$e=Z.items[ae];$e?(Kr($e,He,M,Et,ve,s),he.mergePropertyMatch(Et),he.mergeEnumValues(Et)):Z.items.length>=Le.length&&he.propertiesValueMatches++}if(Z.items.length>Le.length)if(typeof M.additionalItems=="object")for(let ae=Le.length;ae<Z.items.length;ae++){const Ee=new yi(a);Kr(Z.items[ae],M.additionalItems,M,Ee,ve,s),he.mergePropertyMatch(Ee),he.mergeEnumValues(Ee)}else M.additionalItems===!1&&he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:ir("additionalItemsWarning","Array has too many items according to schema. Expected {0} or fewer.",Le.length),source:gr(M,n),schemaUri:yr(M,n)})}else{const Le=pi(M.items);if(Le){const ae=new yi(a);Z.items.forEach(Ee=>{if(Le.oneOf&&Le.oneOf.length===1){const He=Le.oneOf[0],Et={...pi(He)};Et.title=M.title,Et.closestTitle=M.closestTitle,Kr(Ee,Et,M,ae,ve,s),he.mergePropertyMatch(ae),he.mergeEnumValues(ae)}else Kr(Ee,Le,M,ae,ve,s),he.mergePropertyMatch(ae),he.mergeEnumValues(ae)})}}const we=pi(M.contains);if(we&&(Z.items.some(ae=>{const Ee=new yi(a);return Kr(ae,we,M,Ee,jo.instance,s),!Ee.hasProblems()})||he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:M.errorMessage||ir("requiredItemMissingWarning","Array does not contain required item."),source:gr(M,n),schemaUri:yr(M,n)})),Mi(M.minItems)&&Z.items.length<M.minItems&&he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:ir("minItemsWarning","Array has too few items. Expected {0} or more.",M.minItems),source:gr(M,n),schemaUri:yr(M,n)}),Mi(M.maxItems)&&Z.items.length>M.maxItems&&he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:ir("maxItemsWarning","Array has too many items. Expected {0} or fewer.",M.maxItems),source:gr(M,n),schemaUri:yr(M,n)}),M.uniqueItems===!0){const Le=qa(Z);Le.some((Ee,He)=>He!==Le.lastIndexOf(Ee))&&he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:ir("uniqueItemsWarning","Array has duplicate items."),source:gr(M,n),schemaUri:yr(M,n)})}}function _(Z,M,he,ve){var we;const Le=Object.create(null),ae=[],Ee=[...Z.properties];for(;Ee.length>0;){const $e=Ee.pop(),ze=$e.keyNode.value;if(ze==="<<"&&$e.valueNode)switch($e.valueNode.type){case"object":{Ee.push(...$e.valueNode.properties);break}case"array":{$e.valueNode.items.forEach(_t=>{_t&&fb(_t.properties)&&Ee.push(..._t.properties)});break}}else Le[ze]=$e.valueNode,ae.push(ze)}if(Array.isArray(M.required)){for(const $e of M.required)if(Le[$e]===void 0){const ze=Z.parent&&Z.parent.type==="property"&&Z.parent.keyNode,_t=ze?{offset:ze.offset,length:ze.length}:{offset:Z.offset,length:1};he.problems.push({location:_t,severity:Xn.Warning,message:Yu(fi.missingRequiredPropWarning,[$e]),source:gr(M,n),schemaUri:yr(M,n),problemArgs:[$e],problemType:fi.missingRequiredPropWarning})}}const He=$e=>{let ze=ae.indexOf($e);for(;ze>=0;)ae.splice(ze,1),ze=ae.indexOf($e)};if(M.properties)for(const $e of Object.keys(M.properties)){He($e);const ze=M.properties[$e],_t=Le[$e];if(_t)if(Ra(ze))if(ze)he.propertiesMatches++,he.propertiesValueMatches++;else{const qe=_t.parent;he.problems.push({location:{offset:qe.keyNode.offset,length:qe.keyNode.length},severity:Xn.Warning,message:M.errorMessage||ir("DisallowedExtraPropWarning",df,$e),source:gr(M,n),schemaUri:yr(M,n)})}else{ze.url=(we=M.url)!=null?we:n.url;const qe=new yi(a);Kr(_t,ze,M,qe,ve,s),he.mergePropertyMatch(qe),he.mergeEnumValues(qe)}}if(M.patternProperties)for(const $e of Object.keys(M.patternProperties)){const ze=Qm($e);for(const _t of ae.slice(0))if(ze.test(_t)){He(_t);const qe=Le[_t];if(qe){const Ft=M.patternProperties[$e];if(Ra(Ft))if(Ft)he.propertiesMatches++,he.propertiesValueMatches++;else{const qt=qe.parent;he.problems.push({location:{offset:qt.keyNode.offset,length:qt.keyNode.length},severity:Xn.Warning,message:M.errorMessage||ir("DisallowedExtraPropWarning",df,_t),source:gr(M,n),schemaUri:yr(M,n)})}else{const qt=new yi(a);Kr(qe,Ft,M,qt,ve,s),he.mergePropertyMatch(qt),he.mergeEnumValues(qt)}}}}if(typeof M.additionalProperties=="object")for(const $e of ae){const ze=Le[$e];if(ze){const _t=new yi(a);Kr(ze,M.additionalProperties,M,_t,ve,s),he.mergePropertyMatch(_t),he.mergeEnumValues(_t)}}else if((M.additionalProperties===!1||M.type==="object"&&M.additionalProperties===void 0&&s.disableAdditionalProperties===!0)&&ae.length>0){const $e=M.properties&&Object.keys(M.properties).filter(ze=>!Le[ze]);for(const ze of ae){const _t=Le[ze];if(_t){let qe=null;_t.type!=="property"?(qe=_t.parent,qe.type==="object"&&(qe=qe.properties[0])):qe=_t;const Ft={location:{offset:qe.keyNode.offset,length:qe.keyNode.length},severity:Xn.Warning,message:M.errorMessage||ir("DisallowedExtraPropWarning",df,ze),source:gr(M,n),schemaUri:yr(M,n)};$e!=null&&$e.length&&(Ft.data={properties:$e}),he.problems.push(Ft)}}}if(Mi(M.maxProperties)&&Z.properties.length>M.maxProperties&&he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:ir("MaxPropWarning","Object has more properties than limit of {0}.",M.maxProperties),source:gr(M,n),schemaUri:yr(M,n)}),Mi(M.minProperties)&&Z.properties.length<M.minProperties&&he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:ir("MinPropWarning","Object has fewer properties than the required number of {0}",M.minProperties),source:gr(M,n),schemaUri:yr(M,n)}),M.dependencies){for(const $e of Object.keys(M.dependencies))if(Le[$e]){const _t=M.dependencies[$e];if(Array.isArray(_t))for(const qe of _t)Le[qe]?he.propertiesValueMatches++:he.problems.push({location:{offset:Z.offset,length:Z.length},severity:Xn.Warning,message:ir("RequiredDependentPropWarning","Object is missing property {0} required by property {1}.",qe,$e),source:gr(M,n),schemaUri:yr(M,n)});else{const qe=pi(_t);if(qe){const Ft=new yi(a);Kr(Z,qe,M,Ft,ve,s),he.mergePropertyMatch(Ft),he.mergeEnumValues(Ft)}}}}const Et=pi(M.propertyNames);if(Et)for(const $e of Z.properties){const ze=$e.keyNode;ze&&Kr(ze,Et,M,he,jo.instance,s)}}function S(Z,M,he,ve){const we=Z.compareKubernetes(M.validationResult);return we>0?M={schema:he,validationResult:Z,matchingSchemas:ve}:we===0&&(M.matchingSchemas.merge(ve),M.validationResult.mergeEnumValues(Z)),M}function Q(Z,M,he,ve,we,Le){if(!M&&!he.hasProblems()&&(!ve.validationResult.hasProblems()||o))ve.matchingSchemas.merge(Le),ve.validationResult.propertiesMatches+=he.propertiesMatches,ve.validationResult.propertiesValueMatches+=he.propertiesValueMatches;else{const ae=he.compareGeneric(ve.validationResult);ae>0||ae===0&&M&&ve.schema.type==="object"&&Z.type!=="null"&&Z.type!==ve.schema.type?ve={schema:we,validationResult:he,matchingSchemas:Le}:ae===0&&(ve.matchingSchemas.merge(Le),ve.validationResult.mergeEnumValues(he),ve.validationResult.mergeWarningGeneric(he,[fi.missingRequiredPropWarning,fi.typeMismatchWarning,fi.constWarning]))}return ve}}function gr(e,t){var n;if(e){let r;if(e.title)r=e.title;else if(e.closestTitle)r=e.closestTitle;else if(t.closestTitle)r=t.closestTitle;else{const i=(n=e.url)!=null?n:t.url;if(i){const s=Ci.parse(i);s.scheme==="file"&&(r=s.fsPath),r=s.toString()}}if(r)return`${a0}${r}`}return Gu}function yr(e,t){var n;const r=(n=e.url)!=null?n:t.url;return r?[r]:[]}function Yu(e,t){return ir(e,Nb[e],t.join(" | "))}var Ob=1e3,hf=0,mf=new Set;function Ua(e,t,n,r){if(e||(hf=0),!t)return null;if(Ir(t))return jb(t,e,n,r);if(mr(t))return Rb(t,e,n,r);if(Or(t))return $b(t,e,n,r);if(Jn(t))return Vb(t,e);if(rs(t)&&!mf.has(t)&&hf<Ob){mf.add(t);const i=qb(t,e,n,r);return mf.delete(t),i}else return}function jb(e,t,n,r){let i;e.flow&&!e.range?i=Ub(e):i=e.range;const s=new Bb(t,e,...c0(i,r));for(const a of e.items)mr(a)&&s.properties.push(Ua(s,a,n,r));return s}function Rb(e,t,n,r){const i=e.key,s=e.value,a=i.range[0];let o=i.range[1],u=i.range[2];s&&(o=s.range[1],u=s.range[2]);const l=new Pb(t,e,...c0([a,o,u],r));if(rs(i)){const v=new Ju(t,i,...js(i.range));v.value=i.source,l.keyNode=v}else l.keyNode=Ua(l,i,n,r);return l.valueNode=Ua(l,s,n,r),l}function $b(e,t,n,r){const i=new Lb(t,e,...js(e.range));for(const s of e.items)if(br(s)){const a=Ua(i,s,n,r);a&&i.children.push(a)}return i}function Vb(e,t){if(e.value===null)return new _b(t,e,...js(e.range));switch(typeof e.value){case"string":{const n=new Ju(t,e,...js(e.range));return n.value=e.value,n}case"boolean":return new Tb(t,e,e.value,...js(e.range));case"number":{const n=new kb(t,e,...js(e.range));return n.value=e.value,n.isInteger=Number.isInteger(n.value),n}default:{const n=new Ju(t,e,...js(e.range));return n.value=e.source,n}}}function qb(e,t,n,r){hf++;const i=e.resolve(n);if(i)return Ua(t,i,n,r);{const s=new Ju(t,e,...js(e.range));return s.value=e.source,s}}function js(e){return[e[0],e[1]-e[0]]}function c0(e,t){const n=t.linePos(e[0]),r=t.linePos(e[1]),i=[e[0],e[1]-e[0]];return n.line!==r.line&&(t.lineStarts.length!==r.line||r.col===1)&&i[1]--,i}function Ub(e){let t=Number.MAX_SAFE_INTEGER,n=0;for(const r of e.items)mr(r)&&(br(r.key)&&r.key.range&&r.key.range[0]<=t&&(t=r.key.range[0]),br(r.value)&&r.value.range&&r.value.range[2]>=n&&(n=r.value.range[2]));return[t,n,n]}function Wb(e,t){let n;if(_r(e,(r,i,s)=>{if(i===t)return n=s[s.length-1],_r.BREAK}),!So(n))return n}function Gb(e){if(e.items.length>1)return!1;const t=e.items[0];return Jn(t.key)&&Jn(t.value)&&t.key.value===""&&!t.value.value}function Jb(e,t){for(const[n,r]of e.items.entries())if(t===r)return n}function Yb(e,t){let n=!1;for(const r of e){if(r.type==="document")gf([],r,i=>{var s;if(f0(i)&&((s=i.value)==null?void 0:s.type)==="comment"){if(r.offset<=t&&i.value.source.length+i.value.offset>=t)return n=!0,_r.BREAK}else if(i.type==="comment"&&i.offset<=t&&i.offset+i.source.length>=t)return n=!0,_r.BREAK});else if(r.type==="comment"&&r.offset<=t&&r.source.length+r.offset>=t)return!0;if(n)break}return n}function f0(e){return e.start!==void 0}function gf(e,t,n){let r=n(t,e);if(typeof r=="symbol")return r;for(const s of["key","value"]){const a=t[s];if(a&&"items"in a){for(let o=0;o<a.items.length;++o){const u=gf(Object.freeze(e.concat([[s,o]])),a.items[o],n);if(typeof u=="number")o=u-1;else{if(u===_r.BREAK)return _r.BREAK;u===_r.REMOVE&&(a.items.splice(o,1),o-=1)}}typeof r=="function"&&s==="key"&&(r=r(t,e))}}const i=t.sep;if(i)for(let s=0;s<i.length;++s){const a=gf(Object.freeze(e),i[s],n);if(typeof a=="number")s=a-1;else{if(a===_r.BREAK)return _r.BREAK;a===_r.REMOVE&&(i.items.splice(s,1),s-=1)}}return typeof r=="function"?r(t,e):r}var p0=class ug extends Ib{constructor(t){super(null,[]),this.lineCounter=t}clone(){const t=new ug(this.lineCounter);return t.isKubernetes=this.isKubernetes,t.disableAdditionalProperties=this.disableAdditionalProperties,t.uri=this.uri,t.currentDocIndex=this.currentDocIndex,t._lineComments=this.lineComments.slice(),t.internalDocument=this._internalDocument.clone(),t}collectLineComments(){this._lineComments=[],this._internalDocument.commentBefore&&this._internalDocument.commentBefore.split(`
410
+ `).forEach(n=>this._lineComments.push(`#${n}`)),_r(this.internalDocument,(t,n)=>{n!=null&&n.commentBefore&&(n==null?void 0:n.commentBefore.split(`
411
+ `)).forEach(i=>this._lineComments.push(`#${i}`)),n!=null&&n.comment&&this._lineComments.push(`#${n.comment}`)}),this._internalDocument.comment&&this._lineComments.push(`#${this._internalDocument.comment}`)}updateFromInternalDocument(){this.root=Ua(null,this._internalDocument.contents,this._internalDocument,this.lineCounter)}set internalDocument(t){this._internalDocument=t,this.updateFromInternalDocument()}get internalDocument(){return this._internalDocument}get lineComments(){return this._lineComments||this.collectLineComments(),this._lineComments}set lineComments(t){this._lineComments=t}get errors(){return this.internalDocument.errors.map(h0)}get warnings(){return this.internalDocument.warnings.map(h0)}getNodeFromPosition(t,n,r){const i=n.getPosition(t),s=n.getLineContent(i.line);if(s.trim().length===0)return[this.findClosestNode(t,n,r),!0];const o=s.substring(i.character).match(/^([ ]+)\n?$/),u=!!o,l=o==null?void 0:o[1].length;let v;return _r(this.internalDocument,(c,_)=>{if(!_)return;const S=_.range;if(!S)return;const Q=()=>u&&t+l===S[2]&&Jn(_)&&_.value===null;if(S[0]<=t&&S[1]>=t||Q())v=_;else return _r.SKIP}),[v,!1]}findClosestNode(t,n,r){let i=this.internalDocument.range[2],s=this.internalDocument.range[0],a;_r(this.internalDocument,(v,c)=>{if(!c)return;const _=c.range;if(!_)return;const S=_[1]-t;s<=_[0]&&S<=0&&Math.abs(S)<=i&&(i=Math.abs(S),s=_[0],a=c)});const o=n.getPosition(t),u=n.getLineContent(o.line),l=lb(u,o.character);return Jn(a)&&a.value===null||l===o.character&&(a=this.getProperParentByIndentation(l,a,n,"",r)),a}getProperParentByIndentation(t,n,r,i,s,a){if(!n)return this.internalDocument.contents;if(s=s||2,br(n)&&n.range){const o=r.getPosition(n.range[0]),u=r.getLineContent(o.line);if(i=i===""?u.trim():i,i.startsWith("-")&&t===s&&i===u.trim()&&(o.character+=t),o.character>t&&o.character>0){const l=this.getParent(n);if(l)return this.getProperParentByIndentation(t,l,r,i,s,a)}else if(o.character<t){const l=this.getParent(n);if(mr(l)&&br(l.value))return l.value;if(mr(a)&&br(a.value))return a.value}else return n}else if(mr(n)){a=n;const o=this.getParent(n);return this.getProperParentByIndentation(t,o,r,i,s,a)}return n}getParent(t){return Wb(this.internalDocument,t)}},d0=class{constructor(e,t){this.documents=e,this.tokens=t,this.errors=[],this.warnings=[]}},Hb=class{constructor(){this.cache=new Map}getYamlDocument(e,t,n=!1){return this.ensureCache(e,t??Hu,n),this.cache.get(e.uri).document}clear(){this.cache.clear()}ensureCache(e,t,n){const r=e.uri;this.cache.has(r)||this.cache.set(r,{version:-1,document:new d0([],[]),parserOptions:Hu});const i=this.cache.get(r);if(i.version!==e.version||t.customTags&&!s0(i.parserOptions.customTags,t.customTags)){let s=e.getText();n&&!/\S/.test(s)&&(s=`{${s}}`);const a=Kb(s,t,e);i.document=a,i.version=e.version,i.parserOptions=t}}},Yi=new Hb;function h0(e){return{message:e.message,location:{start:e.pos[0],end:e.pos[1],toLineEnd:!0},severity:1,code:Gi.Undefined}}var zb=class{constructor(e,t){this.tag=e,this.type=t}get collection(){if(this.type==="mapping")return"map";if(this.type==="sequence")return"seq"}resolve(e){if(Ir(e)&&this.type==="mapping"||Or(e)&&this.type==="sequence"||typeof e=="string"&&this.type==="scalar")return e}},Qb=class{constructor(){this.tag="!include",this.type="scalar"}resolve(e,t){if(e&&e.length>0&&e.trim())return e;t("!include without value")}};function Xb(e){const t=[],n=i0(e);for(const r of n){const i=r.split(" "),s=i[0],a=i[1]&&i[1].toLowerCase()||"scalar";t.push(new zb(s,a))}return t.push(new Qb),t}var Zs=class{constructor(e){this.doc=e}getLineCount(){return this.doc.lineCount}getLineLength(e){const t=this.doc.getLineOffsets();return e>=t.length?this.doc.getText().length:e<0?0:(e+1<t.length?t[e+1]:this.doc.getText().length)-t[e]}getLineContent(e){const t=this.doc.getLineOffsets();if(e>=t.length)return this.doc.getText();if(e<0)return"";const n=e+1<t.length?t[e+1]:this.doc.getText().length;return this.doc.getText().substring(t[e],n)}getLineCharCode(e,t){return this.doc.getText($n.create(e-1,t,e-1,t+1)).charCodeAt(0)}getText(e){return this.doc.getText(e)}getPosition(e){return this.doc.positionAt(e)}},Hu={customTags:[],yamlVersion:"1.2"};function Kb(e,t=Hu,n){var r;const i={strict:!1,customTags:Xb(t.customTags),version:(r=t.yamlVersion)!=null?r:Hu.yamlVersion,keepSourceTokens:!0},s=new Tm(i),a=new jm;let o=!1;if(n){const S=new Zs(n),Q=S.getPosition(e.length);o=S.getLineContent(Q.line).trim().length===0}const l=(o?new of:new of(a.addNewLine)).parse(e),v=Array.from(l),c=s.compose(v,!0,e.length),_=Array.from(c,S=>Zb(S,a));return new d0(_,v)}function Zb(e,t){const n=new p0(t);return n.internalDocument=e,n}function ev(e){if(e instanceof p0){const t=e.lineComments.find(n=>yf(n));if(t!=null){const n=t.match(/\$schema=\S+/g);if(n!==null&&n.length>=1)return n.length>=2&&console.log("Several $schema attributes have been found on the yaml-language-server modeline. The first one will be picked."),n[0].substring(8)}}}function yf(e){const t=e.match(/^#\s+yaml-language-server\s*:/g);return t!==null&&t.length===1}var tv=class{compile(){return()=>!0}},zu=Hs(),nv=new tv,rv=void 0,m0=nv.compile(rv),g0;(function(e){e[e.delete=0]="delete",e[e.add=1]="add",e[e.deleteAll=2]="deleteAll"})(g0||(g0={}));var iv=class{constructor(e){try{this.patternRegExp=new RegExp(ub(e)+"$")}catch{this.patternRegExp=null}this.schemas=[]}addSchema(e){this.schemas.push(e)}matchesPattern(e){return this.patternRegExp&&this.patternRegExp.test(e)}getSchemas(){return this.schemas}},sv=class extends sb{constructor(e,t,n){super(e,t,n),this.schemaUriToNameAndDescription=new Map,this.customSchemaProvider=void 0,this.requestService=e,this.schemaPriorityMapping=new Map}registerCustomSchemaProvider(e){this.customSchemaProvider=e}getAllSchemas(){const e=[],t=new Set;for(const n of this.filePatternAssociations){const r=n.uris[0];if(t.has(r))continue;t.add(r);const i={uri:r,fromStore:!1,usedForCurrentFile:!1};if(this.schemaUriToNameAndDescription.has(r)){const{name:s,description:a,versions:o}=this.schemaUriToNameAndDescription.get(r);i.name=s,i.description=a,i.fromStore=!0,i.versions=o}e.push(i)}return e}async resolveSchemaContent(e,t,n){const r=e.errors.slice(0);let i=e.schema;const s=this.contextService;if(!m0(i)){const v=[];for(const c of m0.errors)v.push(`${c.instancePath} : ${c.message}`);r.push(`Schema '${Km(e.schema,t)}' is not valid:
412
+ ${v.join(`
413
+ `)}`)}const a=(v,c)=>{if(!c)return v;let _=v;return c[0]==="/"&&(c=c.substr(1)),c.split("/").some(S=>(_=_[S],!_)),_},o=(v,c,_,S)=>{const Q=a(c,S);if(Q)for(const Z in Q)Object.prototype.hasOwnProperty.call(Q,Z)&&!Object.prototype.hasOwnProperty.call(v,Z)&&(v[Z]=Q[Z]);else r.push(zu("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",S,_))},u=(v,c,_,S,Q)=>{s&&!/^\w+:\/\/.*/.test(c)&&(c=s.resolveRelativePath(c,S)),c=this.normalizeId(c);const Z=this.getOrAddSchemaHandle(c);return Z.getUnresolvedSchema().then(M=>{if(Q[c]=!0,M.errors.length){const he=_?c+"#"+_:c;r.push(zu("json.schema.problemloadingref","Problems loading reference '{0}': {1}",he,M.errors[0]))}return o(v,M.schema,c,_),v.url=c,l(v,M.schema,c,Z.dependencies)})},l=async(v,c,_,S)=>{if(!v||typeof v!="object")return null;const Q=[v],Z=[],M=[],he=(...ae)=>{for(const Ee of ae)typeof Ee=="object"&&Q.push(Ee)},ve=(...ae)=>{for(const Ee of ae)if(typeof Ee=="object")for(const He in Ee){const Et=Ee[He];typeof Et=="object"&&Q.push(Et)}},we=(...ae)=>{for(const Ee of ae)if(Array.isArray(Ee))for(const He of Ee)typeof He=="object"&&Q.push(He)},Le=ae=>{const Ee=[];for(;ae.$ref;){const He=ae.$ref,Et=He.split("#",2);if(ae._$ref=ae.$ref,delete ae.$ref,Et[0].length>0){M.push(u(ae,Et[0],Et[1],_,S));return}else Ee.indexOf(He)===-1&&(o(ae,c,_,Et[1]),Ee.push(He))}he(ae.items,ae.additionalItems,ae.additionalProperties,ae.not,ae.contains,ae.propertyNames,ae.if,ae.then,ae.else),ve(ae.definitions,ae.properties,ae.patternProperties,ae.dependencies),we(ae.anyOf,ae.allOf,ae.oneOf,ae.items,ae.schemaSequence)};if(_.indexOf("#")>0){const ae=_.split("#",2);if(ae[0].length>0&&ae[1].length>0){const Ee={};await u(Ee,ae[0],ae[1],_,S);for(const He in i)He!=="required"&&Object.prototype.hasOwnProperty.call(i,He)&&!Object.prototype.hasOwnProperty.call(Ee,He)&&(Ee[He]=i[He]);i=Ee}}for(;Q.length;){const ae=Q.pop();Z.indexOf(ae)>=0||(Z.push(ae),Le(ae))}return Promise.all(M)};return await l(i,i,t,n),new Io(i,r)}getSchemaForResource(e,t){const n=()=>{let a=ev(t);if(a!==void 0){if(!a.startsWith("file:")&&!a.startsWith("http")){let o="";if(a.indexOf("#")>0){const u=a.split("#",2);a=u[0],o=u[1]}if(Ys.isAbsolute(a))a=Ci.file(a).toString();else{const u=Ci.parse(e);a=Ci.file(Ys.resolve(Ys.parse(u.fsPath).dir,a)).toString()}o.length>0&&(a+="#"+o)}return a}},r=a=>{const o=super.createCombinedSchema(e,a);return o.getResolvedSchema().then(u=>(u.schema&&typeof u.schema=="object"&&(u.schema.url=o.url),u.schema&&u.schema.schemaSequence&&u.schema.schemaSequence[t.currentDocIndex]?new Io(u.schema.schemaSequence[t.currentDocIndex]):u))},i=()=>{const a=Object.create(null),o=[];for(const u of this.filePatternAssociations)if(u.matchesPattern(e))for(const l of u.getURIs())a[l]||(o.push(l),a[l]=!0);if(o.length>0){const u=this.highestPrioritySchemas(o);return r(u)}return Promise.resolve(null)},s=n();return s?r([s]):this.customSchemaProvider?this.customSchemaProvider(e).then(a=>Array.isArray(a)?a.length===0?i():Promise.all(a.map(o=>this.resolveCustomSchema(o,t))).then(o=>({errors:[],schema:{allOf:o.map(u=>u.schema)}}),()=>i()):a?this.resolveCustomSchema(a,t):i()).then(a=>a,()=>i()):i()}addSchemaPriority(e,t){let n=this.schemaPriorityMapping.get(e);n?(n=n.add(t),this.schemaPriorityMapping.set(e,n)):this.schemaPriorityMapping.set(e,new Set().add(t))}highestPrioritySchemas(e){let t=0;const n=new Map;return e.forEach(r=>{(this.schemaPriorityMapping.get(r)||[0]).forEach(s=>{s>t&&(t=s);let a=n.get(s);a?(a=a.concat(r),n.set(s,a)):n.set(s,[r])})}),n.get(t)||[]}async resolveCustomSchema(e,t){const n=await this.loadSchema(e),r=await this.resolveSchemaContent(n,e,[]);return r.schema&&typeof r.schema=="object"&&(r.schema.url=e),r.schema&&r.schema.schemaSequence&&r.schema.schemaSequence[t.currentDocIndex]?new Io(r.schema.schemaSequence[t.currentDocIndex],r.errors):r}async saveSchema(e,t){const n=this.normalizeId(e);return this.getOrAddSchemaHandle(n,t),this.schemaPriorityMapping.set(n,new Set().add(bf.Settings)),Promise.resolve(void 0)}async deleteSchemas(e){return e.schemas.forEach(t=>{this.deleteSchema(t)}),Promise.resolve(void 0)}async deleteSchema(e){const t=this.normalizeId(e);return this.schemasById[t]&&delete this.schemasById[t],this.schemaPriorityMapping.delete(t),Promise.resolve(void 0)}async addContent(e){const t=await this.getResolvedSchema(e.schema);if(t){const n=this.resolveJSONSchemaToSection(t.schema,e.path);typeof n=="object"&&(n[e.key]=e.content),await this.saveSchema(e.schema,t.schema)}}async deleteContent(e){const t=await this.getResolvedSchema(e.schema);if(t){const n=this.resolveJSONSchemaToSection(t.schema,e.path);typeof n=="object"&&delete n[e.key],await this.saveSchema(e.schema,t.schema)}}resolveJSONSchemaToSection(e,t){const n=t.split("/");let r=e;for(const i of n)i!==""&&(this.resolveNext(r,i),r=r[i]);return r}resolveNext(e,t){if(Array.isArray(e)&&isNaN(t))throw new Error("Expected a number after the array object");if(typeof e=="object"&&typeof t!="string")throw new Error("Expected a string after the object")}normalizeId(e){try{return Ci.parse(e).toString()}catch{return e}}getOrAddSchemaHandle(e,t){return super.getOrAddSchemaHandle(e,t)}loadSchema(e){const t=this.requestService;return super.loadSchema(e).then(n=>{if(n.errors&&n.schema===void 0)return t(e).then(r=>{if(!r){const i=zu("json.schema.nocontent","Unable to load schema from '{0}': No content. {1}",y0(e),n.errors);return new Ji({},[i])}try{const i=WD(r);return new Ji(i,[])}catch(i){const s=zu("json.schema.invalidFormat","Unable to parse content from '{0}': {1}.",y0(e),i);return new Ji({},[s])}},r=>{let i=r.toString();const s=r.toString().split("Error: ");return s.length>1&&(i=s[1]),new Ji({},[i])});if(n.uri=e,this.schemaUriToNameAndDescription.has(e)){const{name:r,description:i,versions:s}=this.schemaUriToNameAndDescription.get(e);n.schema.title=r??n.schema.title,n.schema.description=i??n.schema.description,n.schema.versions=s??n.schema.versions}return n})}registerExternalSchema(e,t,n,r,i,s){return(r||i)&&this.schemaUriToNameAndDescription.set(e,{name:r,description:i,versions:s}),super.registerExternalSchema(e,t,n)}clearExternalSchemas(){super.clearExternalSchemas()}setSchemaContributions(e){super.setSchemaContributions(e)}getRegisteredSchemaIds(e){return super.getRegisteredSchemaIds(e)}getResolvedSchema(e){return super.getResolvedSchema(e)}onResourceChange(e){return super.onResourceChange(e)}};function y0(e){try{const t=Ci.parse(e);if(t.scheme==="file")return t.fsPath}catch{}return e}var av=class{constructor(e,t){this.telemetry=t,this.jsonDocumentSymbols=new vb(e),this.jsonDocumentSymbols.getKeyLabel=n=>{const r=n.keyNode.internalNode;let i="";return Ir(r)?i="{}":Or(r)?i="[]":i=r.source,i}}findDocumentSymbols(e,t={resultLimit:Number.MAX_VALUE}){var n;let r=[];try{const i=Yi.getYamlDocument(e);if(!i||i.documents.length===0)return null;for(const s of i.documents)s.root&&(r=r.concat(this.jsonDocumentSymbols.findDocumentSymbols(e,s,t)))}catch(i){(n=this.telemetry)==null||n.sendError("yaml.documentSymbols.error",{error:ds(i)})}return r}findHierarchicalDocumentSymbols(e,t={resultLimit:Number.MAX_VALUE}){var n;let r=[];try{const i=Yi.getYamlDocument(e);if(!i||i.documents.length===0)return null;for(const s of i.documents)s.root&&(r=r.concat(this.jsonDocumentSymbols.findDocumentSymbols2(e,s,t)))}catch(i){(n=this.telemetry)==null||n.sendError("yaml.hierarchicalDocumentSymbols.error",{error:ds(i)})}return r}};function D0(e,t){for(const n of e)n.isKubernetes=t}var ov=class{constructor(e,t){this.telemetry=t,this.shouldHover=!0,this.schemaService=e}configure(e){e&&(this.shouldHover=e.hover,this.indentation=e.indentation)}doHover(e,t,n=!1){var r;try{if(!this.shouldHover||!e)return Promise.resolve(void 0);const i=Yi.getYamlDocument(e),s=e.offsetAt(t),a=Wu(s,i);if(a===null)return Promise.resolve(void 0);D0(i.documents,n);const o=i.documents.indexOf(a);return a.currentDocIndex=o,this.getHover(e,t,a)}catch(i){(r=this.telemetry)==null||r.sendError("yaml.hover.error",{error:ds(i)})}}getHover(e,t,n){const r=e.offsetAt(t);let i=n.getNodeFromOffset(r);if(!i||(i.type==="object"||i.type==="array")&&r>i.offset+1&&r<i.offset+i.length-1)return Promise.resolve(null);const s=i;if(i.type==="string"){const l=i.parent;if(l&&l.type==="property"&&l.keyNode===i&&(i=l.valueNode,!i))return Promise.resolve(null)}const a=$n.create(e.positionAt(s.offset),e.positionAt(s.offset+s.length)),o=l=>{if(this.indentation!==void 0){const _=new RegExp(` {${this.indentation.length}}`,"g");l=l.replace(_,"&emsp;")}return{contents:{kind:ls.Markdown,value:l},range:a}},u=l=>l.replace(/\|\|\s*$/,"");return this.schemaService.getSchemaForResource(e.uri,n).then(l=>{if(l&&i&&!l.errors.length){const v=n.getMatchingSchemas(l.schema,i.offset);let c,_,S,Q;const Z=[];v.every(he=>{if((he.node===i||i.type==="property"&&i.valueNode===he.node)&&!he.inverted&&he.schema){if(c=c||he.schema.title||he.schema.closestTitle,_=_||he.schema.markdownDescription||Qu(he.schema.description),he.schema.enum){const ve=he.schema.enum.indexOf(qa(i));he.schema.markdownEnumDescriptions?S=he.schema.markdownEnumDescriptions[ve]:he.schema.enumDescriptions&&(S=Qu(he.schema.enumDescriptions[ve])),S&&(Q=he.schema.enum[ve],typeof Q!="string"&&(Q=JSON.stringify(Q)))}he.schema.anyOf&&cv(i,v,he.schema)&&(c="",_="",he.schema.anyOf.forEach((ve,we)=>{c+=ve.title||he.schema.closestTitle||"",_+=ve.markdownDescription||Qu(ve.description)||"",we!==he.schema.anyOf.length-1&&(c+=" || ",_+=" || ")}),c=u(c),_=u(_)),he.schema.examples&&he.schema.examples.forEach(ve=>{Z.push(JSON.stringify(ve,null,2))})}return!0});let M="";return c&&(M="#### "+Qu(c)),_&&(M.length>0&&(M+=`
414
+
415
+ `),M+=_),S&&(M.length>0&&(M+=`
416
+
417
+ `),M+=`\`${lv(Q)}\`: ${S}`),Z.length!==0&&(M.length>0&&(M+=`
418
+
419
+ `),M+="Examples:",Z.forEach(he=>{M+=`
420
+
421
+ \`\`\`${he}\`\`\``})),M.length>0&&l.schema.url&&(M+=`
422
+
423
+ Source: [${uv(l.schema)}](${l.schema.url})`),o(M)}return null})}};function uv(e){let t="JSON Schema";const n=e.url;if(n){const r=Ci.parse(n);t=Ys.basename(r.fsPath)}else e.title&&(t=e.title);return t}function Qu(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,`$1
424
+
425
+ $3`).replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}function lv(e){return e.indexOf("`")!==-1?"`` "+e+" ``":e}function cv(e,t,n){let r=0;for(const i of t)e===i.node&&i.schema!==n&&n.anyOf.forEach(s=>{i.schema.title===s.title&&i.schema.description===s.description&&i.schema.properties===s.properties&&r++});return r===n.anyOf.length}var fv=class{validate(e,t){const n=[],r=new Set,i=new Set,s=new Map;_r(t.internalDocument,(a,o,u)=>{br(o)&&((Br(o)||Jn(o))&&o.anchor&&(r.add(o),s.set(o,u[u.length-1])),rs(o)&&i.add(o.resolve(t.internalDocument)))});for(const a of r)if(!i.has(a)){const o=this.getAnchorNode(s.get(a),a);if(o){const u=$n.create(e.positionAt(o.offset),e.positionAt(o.offset+o.source.length)),l=xi.create(u,`Unused anchor "${o.source}"`,Xn.Hint,0);l.tags=[Ac.Unnecessary],n.push(l)}}return n}getAnchorNode(e,t){if(e&&e.srcToken){const n=e.srcToken;if(f0(n))return b0(n);if(OD(n))for(const r of n.items){if(t.srcToken!==r.value)continue;const i=b0(r);if(i)return i}}}};function b0(e){for(const t of e.start)if(t.type==="anchor")return t;if(e.sep&&Array.isArray(e.sep)){for(const t of e.sep)if(t.type==="anchor")return t}}var pv=class{constructor(e){this.forbidMapping=e.flowMapping==="forbid",this.forbidSequence=e.flowSequence==="forbid"}validate(e,t){const n=[];return _r(t.internalDocument,(r,i)=>{var s,a;this.forbidMapping&&Ir(i)&&((s=i.srcToken)==null?void 0:s.type)==="flow-collection"&&n.push(xi.create(this.getRangeOf(e,i.srcToken),"Flow style mapping is forbidden",Xn.Error,"flowMap")),this.forbidSequence&&Or(i)&&((a=i.srcToken)==null?void 0:a.type)==="flow-collection"&&n.push(xi.create(this.getRangeOf(e,i.srcToken),"Flow style sequence is forbidden",Xn.Error,"flowSeq"))}),n}getRangeOf(e,t){return $n.create(e.positionAt(t.start.offset),e.positionAt(t.end.pop().offset))}},dv=class{validate(e,t){const n=[];return _r(t.internalDocument,(r,i)=>{if(Ir(i)){for(let s=1;s<i.items.length;s++)if(mv(i.items[s-1],i.items[s])>0){const a=hv(e,i.items[s-1]);n.push(xi.create(a,`Wrong ordering of key "${i.items[s-1].key}" in mapping`,Xn.Error,"mapKeyOrder"))}}}),n}};function hv(e,t){var n,r,i,s,a,o,u,l,v,c,_;const S=(o=(i=(n=t==null?void 0:t.srcToken.start[0])==null?void 0:n.offset)!=null?i:(r=t==null?void 0:t.srcToken)==null?void 0:r.key.offset)!=null?o:(a=(s=t==null?void 0:t.srcToken)==null?void 0:s.sep[0])==null?void 0:a.offset,Q=((u=t==null?void 0:t.srcToken)==null?void 0:u.value.offset)||((v=(l=t==null?void 0:t.srcToken)==null?void 0:l.sep[0])==null?void 0:v.offset)||((c=t==null?void 0:t.srcToken)==null?void 0:c.key.offset)||((_=t==null?void 0:t.srcToken.start[t.srcToken.start.length-1])==null?void 0:_.offset);return $n.create(e.positionAt(S),e.positionAt(Q))}function mv(e,t){const n=String(t.key);return String(e.key).localeCompare(n)}var gv=(e,t)=>{const n=t.positionAt(e.location.start),r={start:n,end:e.location.toLineEnd?Xr.create(n.line,new Zs(t).getLineLength(n.line)):t.positionAt(e.location.end)};return xi.create(r,e.message,e.severity,e.code,Gu)},yv=class{constructor(e,t){this.telemetry=t,this.validators=[],this.MATCHES_MULTIPLE="Matches multiple schemas when only one must validate.",this.validationEnabled=!0,this.jsonValidation=new hb(e,Promise)}configure(e){this.validators=[],e&&(this.validationEnabled=e.validate,this.customTags=e.customTags,this.disableAdditionalProperties=e.disableAdditionalProperties,this.yamlVersion=e.yamlVersion,(e.flowMapping==="forbid"||e.flowSequence==="forbid")&&this.validators.push(new pv(e)),e.keyOrdering&&this.validators.push(new dv)),this.validators.push(new fv)}async doValidation(e,t=!1){var n;if(!this.validationEnabled)return Promise.resolve([]);const r=[];try{const o=Yi.getYamlDocument(e,{customTags:this.customTags,yamlVersion:this.yamlVersion},!0);let u=0;for(const l of o.documents){l.isKubernetes=t,l.currentDocIndex=u,l.disableAdditionalProperties=this.disableAdditionalProperties,l.uri=e.uri;const v=await this.jsonValidation.doValidation(e,l),c=l;c.errors.length>0&&r.push(...c.errors),c.warnings.length>0&&r.push(...c.warnings),r.push(...v),r.push(...this.runAdditionalValidators(e,l)),u++}}catch(o){(n=this.telemetry)==null||n.sendError("yaml.validation.error",{error:ds(o)})}let i;const s=new Set,a=[];for(let o of r){if(t&&o.message===this.MATCHES_MULTIPLE)continue;if(Object.prototype.hasOwnProperty.call(o,"location")&&(o=gv(o,e)),o.source||(o.source=Gu),i&&i.message===o.message&&i.range.end.line===o.range.start.line&&Math.abs(i.range.end.character-o.range.end.character)>=1){i.range.end=o.range.end;continue}else i=o;const u=o.range.start.line+" "+o.range.start.character+" "+o.message;s.has(u)||(a.push(o),s.add(u))}return a}runAdditionalValidators(e,t){const n=[];for(const r of this.validators)n.push(...r.validate(e,t));return n}},Dv=class{constructor(){this.formatterEnabled=!0}configure(e){e&&(this.formatterEnabled=e.format)}format(e,t){if(!this.formatterEnabled)return[];try{const n=e.getText(),r={parser:"yaml",plugins:[zD],tabWidth:t.tabWidth||t.tabSize,singleQuote:t.singleQuote,bracketSpacing:t.bracketSpacing,proseWrap:t.proseWrap==="always"?"always":t.proseWrap==="never"?"never":"preserve",printWidth:t.printWidth},i=YD.format(n,r);return[Sr.replace($n.create(Xr.create(0,0),e.positionAt(n.length)),i)]}catch{return[]}}},bv=class{constructor(e){this.telemetry=e}findLinks(e){var t;try{const n=Yi.getYamlDocument(e),r=[];for(const i of n.documents)r.push(Ab(e,i));return Promise.all(r).then(i=>[].concat(...i))}catch(n){(t=this.telemetry)==null||t.sendError("yaml.documentLink.error",{error:ds(n)})}}};function vv(e,t){if(!e)return;const n=[],r=Yi.getYamlDocument(e);for(const s of r.documents)r.documents.length>1&&n.push(Xu(e,s.root)),s.visit(a=>{var o;if(a.type==="object"&&((o=a.parent)==null?void 0:o.type)==="array"&&n.push(Xu(e,a)),a.type==="property"&&a.valueNode)switch(a.valueNode.type){case"array":case"object":n.push(Xu(e,a));break;case"string":{const u=e.positionAt(a.offset),l=e.positionAt(a.valueNode.offset+a.valueNode.length);u.line!==l.line&&n.push(Xu(e,a));break}default:return!0}return!0});const i=t&&t.rangeLimit;return typeof i!="number"||n.length<=i?n:(t&&t.onRangeLimitExceeded&&t.onRangeLimitExceeded(e.uri),n.slice(0,t.rangeLimit))}function Xu(e,t){const n=e.positionAt(t.offset);let r=e.positionAt(t.offset+t.length);const i=e.getText($n.create(n,r)),s=i.length-i.trimRight().length;return s>0&&(r=e.positionAt(t.offset+t.length-s)),vc.create(n.line,r.line,n.character,r.character)}var Ku;(function(e){e.JUMP_TO_SCHEMA="jumpToSchema"})(Ku||(Ku={}));var Ev=class{constructor(e){this.indentation=e}write(e){if(e.internalNode.srcToken.type!=="flow-collection")return null;const t=e.internalNode.srcToken,n=t.start.type==="flow-map-start"?"block-map":"block-seq",r=e.parent.type,i={type:n,offset:t.offset,indent:t.indent,items:[]};for(const s of t.items)Js(s,({key:a,sep:o,value:u})=>{if(n==="block-map"){const l=[{type:"space",indent:0,offset:a.offset,source:this.indentation}];r==="property"&&l.unshift({type:"newline",indent:0,offset:a.offset,source:`
426
+ `}),i.items.push({start:l,key:a,sep:o,value:u})}else n==="block-seq"&&i.items.push({start:[{type:"newline",indent:0,offset:u.offset,source:`
427
+ `},{type:"space",indent:0,offset:u.offset,source:this.indentation},{type:"seq-item-ind",indent:0,offset:u.offset,source:"-"},{type:"space",indent:0,offset:u.offset,source:" "}],value:u});if(u.type==="flow-collection")return _r.SKIP});return Lm(i)}},Av=structuredClone,Cv=class{constructor(e){this.clientCapabilities=e,this.indentation=" "}configure(e){this.indentation=e.indentation}getCodeAction(e,t){if(!t.context.diagnostics)return;const n=[];return n.push(...this.getConvertToBooleanActions(t.context.diagnostics,e)),n.push(...this.getJumpToSchemaActions(t.context.diagnostics)),n.push(...this.getTabToSpaceConverting(t.context.diagnostics,e)),n.push(...this.getUnusedAnchorsDelete(t.context.diagnostics,e)),n.push(...this.getConvertToBlockStyleActions(t.context.diagnostics,e)),n.push(...this.getKeyOrderActions(t.context.diagnostics,e)),n}getJumpToSchemaActions(e){var t,n,r,i,s;if(!((i=(r=(n=(t=this.clientCapabilities)==null?void 0:t.window)==null?void 0:n.showDocument)==null?void 0:r.support)!=null?i:!1))return[];const o=new Map;for(const l of e){const v=((s=l.data)==null?void 0:s.schemaUri)||[];for(const c of v)c&&(o.has(c)||o.set(c,[]),o.get(c).push(l))}const u=[];for(const l of o.keys()){const v=cs.create(`Jump to schema location (${Ys.basename(l)})`,qs.create("JumpToSchema",Ku.JUMP_TO_SCHEMA,l));v.diagnostics=o.get(l),u.push(v)}return u}getTabToSpaceConverting(e,t){const n=[],r=new Zs(t),i=[];for(const s of e)if(s.message==="Using tabs can lead to unpredictable results"){if(i.includes(s.range.start.line))continue;const a=r.getLineContent(s.range.start.line);let o=0,u="";for(let v=s.range.start.character;v<=s.range.end.character&&a.charAt(v)===" ";v++)o++,u+=this.indentation;i.push(s.range.start.line);let l=s.range;o!==s.range.end.character-s.range.start.character&&(l=$n.create(s.range.start,Xr.create(s.range.end.line,s.range.start.character+o))),n.push(cs.create("Convert Tab to Spaces",Wa(t.uri,[Sr.replace(l,u)]),ks.QuickFix))}if(n.length!==0){const s=[];for(let a=0;a<=r.getLineCount();a++){const o=r.getLineContent(a);let u=0,l="";for(let v=0;v<o.length;v++){const c=o.charAt(v);if(c!==" "&&c!==" "){u!==0&&(s.push(Sr.replace($n.create(a,v-u,a,v),l)),u=0,l="");break}if(c===" "&&u!==0){s.push(Sr.replace($n.create(a,v-u,a,v),l)),u=0,l="";continue}c===" "&&(l+=this.indentation,u++)}u!==0&&s.push(Sr.replace($n.create(a,0,a,r.getLineLength(a)),l))}s.length>0&&n.push(cs.create("Convert all Tabs to Spaces",Wa(t.uri,s),ks.QuickFix))}return n}getUnusedAnchorsDelete(e,t){const n=[],r=new Zs(t);for(const i of e)if(i.message.startsWith("Unused anchor")&&i.source===Gu){const s=$n.create(i.range.start,i.range.end),a=r.getText(s),o=r.getLineContent(s.end.line),u=cb(o,s.end.character);s.end.character=u;const l=cs.create(`Delete unused anchor: ${a}`,Wa(t.uri,[Sr.del(s)]),ks.QuickFix);l.diagnostics=[i],n.push(l)}return n}getConvertToBooleanActions(e,t){const n=[];for(const r of e)if(r.message==='Incorrect type. Expected "boolean".'){const i=t.getText(r.range).toLocaleLowerCase();if(i==='"true"'||i==='"false"'||i==="'true'"||i==="'false'"){const s=i.includes("true")?"true":"false";n.push(cs.create("Convert to boolean",Wa(t.uri,[Sr.replace(r.range,s)]),ks.QuickFix))}}return n}getConvertToBlockStyleActions(e,t){const n=[];for(const r of e)if(r.code==="flowMap"||r.code==="flowSeq"){const i=v0(t,r);if(Ir(i.internalNode)||Or(i.internalNode)){const s=Ir(i.internalNode)?"map":"sequence",a=new Ev(this.indentation);n.push(cs.create(`Convert to block style ${s}`,Wa(t.uri,[Sr.replace(r.range,a.write(i))]),ks.QuickFix))}}return n}getKeyOrderActions(e,t){var n,r,i,s,a,o,u,l,v,c,_,S,Q,Z;const M=[];for(const he of e)if((he==null?void 0:he.code)==="mapKeyOrder"){let ve=v0(t,he);for(;ve&&ve.type!=="object";)ve=ve.parent;if(ve&&Ir(ve.internalNode)){const we=Av(ve.internalNode);if((we.srcToken.type==="block-map"||we.srcToken.type==="flow-collection")&&(ve.internalNode.srcToken.type==="block-map"||ve.internalNode.srcToken.type==="flow-collection")){we.srcToken.items.sort((ae,Ee)=>{if(ae.key&&Ee.key&&rf(ae.key)&&rf(Ee.key))return ae.key.source.localeCompare(Ee.key.source);if(!ae.key&&Ee.key)return-1;if(ae.key&&!Ee.key)return 1;if(!ae.key&&!Ee.key)return 0});for(let ae=0;ae<we.srcToken.items.length;ae++){const Ee=we.srcToken.items[ae],He=ve.internalNode.srcToken.items[ae];if(Ee.start=He.start,((n=Ee.value)==null?void 0:n.type)==="alias"||((r=Ee.value)==null?void 0:r.type)==="scalar"||((i=Ee.value)==null?void 0:i.type)==="single-quoted-scalar"||((s=Ee.value)==null?void 0:s.type)==="double-quoted-scalar"){const Et=(u=(o=(a=Ee.value)==null?void 0:a.end)==null?void 0:o.findIndex(ze=>ze.type==="newline"))!=null?u:-1;let $e=null;((l=He.value)==null?void 0:l.type)==="block-scalar"?$e=(c=(v=He.value)==null?void 0:v.props)==null?void 0:c.find(ze=>ze.type==="newline"):rf(He.value)&&($e=(S=(_=He.value)==null?void 0:_.end)==null?void 0:S.find(ze=>ze.type==="newline")),$e&&Et<0&&(Ee.value.end=(Q=Ee.value.end)!=null?Q:[],Ee.value.end.push($e)),!$e&&Et>-1&&Ee.value.end.splice(Et,1)}else((Z=Ee.value)==null?void 0:Z.type)==="block-scalar"&&(Ee.value.props.find($e=>$e.type==="newline")||Ee.value.props.push({type:"newline",indent:0,offset:Ee.value.offset,source:`
428
+ `}))}}const Le=$n.create(t.positionAt(ve.offset),t.positionAt(ve.offset+ve.length));M.push(cs.create("Fix key order for this map",Wa(t.uri,[Sr.replace(Le,Lm(we.srcToken))]),ks.QuickFix))}}return M}};function v0(e,t){const n=Yi.getYamlDocument(e),r=e.offsetAt(t.range.start);return Wu(r,n).getNodeFromOffset(r)}function Wa(e,t){const n={};return n[e]=t,{changes:n}}function xv(e,t){const{position:n}=t,r=new Zs(e);if(t.ch===`
429
+ `){const i=r.getLineContent(n.line-1);if(i.trimRight().endsWith(":")){const s=r.getLineContent(n.line),a=s.substring(n.character,s.length),o=i.indexOf(" - ")!==-1;if(a.trimRight().length===0){const u=n.character-(i.length-i.trimLeft().length);if(u===t.options.tabSize&&!o)return;const l=[];return s.length>0&&l.push(Sr.del($n.create(n,Xr.create(n.line,s.length-1)))),l.push(Sr.insert(n," ".repeat(t.options.tabSize+(o?2-u:0)))),l}if(o)return[Sr.insert(n," ".repeat(t.options.tabSize))]}if(i.trimRight().endsWith("|"))return[Sr.insert(n," ".repeat(t.options.tabSize))];if(i.includes(" - ")&&!i.includes(": "))return[Sr.insert(n,"- ")];if(i.includes(" - ")&&i.includes(": "))return[Sr.insert(n," ")]}}function Sv(e){const t=new Map;return e&&(e.url?e.url.startsWith("schemaservice://combinedSchema/")?E0(e,t):t.set(e.url,e):E0(e,t)),t}function E0(e,t){e.allOf&&Df(e.allOf,t),e.anyOf&&Df(e.anyOf,t),e.oneOf&&Df(e.oneOf,t)}function Df(e,t){for(const n of e)!Ra(n)&&n.url&&!t.has(n.url)&&t.set(n.url,n)}var wv=class{constructor(e,t){this.schemaService=e,this.telemetry=t}async getCodeLens(e){var t;const n=[];try{const r=Yi.getYamlDocument(e);let i=new Map;for(const s of r.documents){const a=await this.schemaService.getSchemaForResource(e.uri,s);a!=null&&a.schema&&(i=new Map([...Sv(a==null?void 0:a.schema),...i]))}for(const s of i){const a=Fc.create($n.create(0,0,0,0));a.command={title:Km(s[1],s[0]),command:Ku.JUMP_TO_SCHEMA,arguments:[s[0]]},n.push(a)}}catch(r){(t=this.telemetry)==null||t.sendError("yaml.codeLens.error",{error:ds(r)})}return n}resolveCodeLens(e){return e}},Fv=class{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}};function Nv(e,t,n,r,i){i.spacesDiff=0,i.looksLikeAlignment=!1;let s;for(s=0;s<t&&s<r;s++){const _=e.charCodeAt(s),S=n.charCodeAt(s);if(_!==S)break}let a=0,o=0;for(let _=s;_<t;_++)e.charCodeAt(_)===32?a++:o++;let u=0,l=0;for(let _=s;_<r;_++)n.charCodeAt(_)===32?u++:l++;if(a>0&&o>0||u>0&&l>0)return;const v=Math.abs(o-l),c=Math.abs(a-u);if(v===0){i.spacesDiff=c,c>0&&0<=u-1&&u-1<e.length&&u<n.length&&n.charCodeAt(u)!==32&&e.charCodeAt(u-1)===32&&e.charCodeAt(e.length-1)===44&&(i.looksLikeAlignment=!0);return}c%v===0&&(i.spacesDiff=c/v)}function _v(e,t,n){const r=Math.min(e.getLineCount(),1e4);let i=0,s=0,a="",o=0;const u=[2,4,6,8,3,5,7],l=8,v=[0,0,0,0,0,0,0,0,0],c=new Fv;for(let Q=1;Q<=r;Q++){const Z=e.getLineLength(Q),M=e.getLineContent(Q),he=Z<=65536;let ve=!1,we=0,Le=0,ae=0;for(let He=0,Et=Z;He<Et;He++){const $e=he?M.charCodeAt(He):e.getLineCharCode(Q,He);if($e===9)ae++;else if($e===32)Le++;else{ve=!0,we=He;break}}if(!ve||(ae>0?i++:Le>1&&s++,Nv(a,o,M,we,c),c.looksLikeAlignment&&!(n&&t===c.spacesDiff)))continue;const Ee=c.spacesDiff;Ee<=l&&v[Ee]++,a=M,o=we}let _=n;i!==s&&(_=i<s);let S=t;if(_){let Q=_?0:.1*r;u.forEach(Z=>{const M=v[Z];M>Q&&(Q=M,S=Z)}),S===4&&v[4]>0&&v[2]>0&&v[2]>=v[4]/2&&(S=2)}return{insertSpaces:_,tabSize:S}}function Zu(e,t,n,r,i=0,s=0){if(e!==null&&typeof e=="object"){const a=i===0&&r.shouldIndentWithTab||i>0?t+r.indentation:"";if(Array.isArray(e)){if(s+=1,e.length===0)return"";let o="";for(let u=0;u<e.length;u++){let l=e[u];if(typeof e[u]!="object"){o+=`
430
+ `+a+"- "+n(e[u]);continue}Array.isArray(e[u])||(l=Tv(e[u],s)),o+=Zu(l,t,n,r,i+=1,s)}return o}else{const o=Object.keys(e);if(o.length===0)return"";let u=i===0&&r.newLineFirst||i>0?`
431
+ `:"",l=!0;for(let v=0;v<o.length;v++){const c=o[v];if(i===0&&r.existingProps.includes(c))continue;const _=typeof e[c]=="object",S=_?":":": ",Q=_&&/^\s|-/.test(c)?r.indentation:"",Z=a+Q,M=l?"":`
432
+ `;if(i===0&&l&&!r.indentFirstObject){const he=Zu(e[c],Z,n,r,i+1,0);u+=M+t+c+S+he}else{const he=Zu(e[c],Z,n,r,i+1,0);u+=M+a+c+S+he}l=!1}return u}}return n(e)}function Tv(e,t){const n={};for(let r=0;r<Object.keys(e).length;r++){const i=Object.keys(e)[r];r===0?n["- ".repeat(t)+i]=e[i]:n[" ".repeat(t)+i]=e[i]}return n}var Lv=Hs(),A0=/[\\]+"/g,C0=Si.Class,el="__",kv=class{constructor(e,t={},n,r){this.schemaService=e,this.clientCapabilities=t,this.yamlDocument=n,this.telemetry=r,this.completionEnabled=!0,this.arrayPrefixIndentation=""}configure(e){e&&(this.completionEnabled=e.completion),this.customTags=e.customTags,this.yamlVersion=e.yamlVersion,this.configuredIndentation=e.indentation,this.disableDefaultProperties=e.disableDefaultProperties,this.parentSkeletonSelectedFirst=e.parentSkeletonSelectedFirst}async doComplete(e,t,n=!1,r=!0){var i;const s=wc.create([],!1);if(!this.completionEnabled)return s;const a=this.yamlDocument.getYamlDocument(e,{customTags:this.customTags,yamlVersion:this.yamlVersion},!0),o=new Zs(e);if(this.configuredIndentation)this.indentation=this.configuredIndentation;else{const ae=_v(o,2,!0);this.indentation=ae.insertSpaces?" ".repeat(ae.tabSize):" "}D0(a.documents,n);for(const ae of a.documents)ae.uri=e.uri;const u=e.offsetAt(t),l=e.getText();if(l.charAt(u-1)===":")return Promise.resolve(s);let v=Wu(u,a);if(v===null)return Promise.resolve(s);v=v.clone();let[c,_]=v.getNodeFromPosition(u,o,this.indentation.length);const S=this.getCurrentWord(e,u);let Q=o.getLineContent(t.line);const Z=Q.substring(t.character),M=/^[ ]+\n?$/.test(Z);this.arrayPrefixIndentation="";let he=null;if(M){he=$n.create(t,Xr.create(t.line,Q.length));const ae=Q.trim().length===0,Ee=Q.match(/^\s*(-)\s*$/);if(c&&Jn(c)&&!ae&&!Ee){const He=Q.substring(0,t.character),Et=He.match(/^[\s-]*([^:]+)?$/)||He.match(/:[ \t]((?!:[ \t]).*)$/);Et!=null&&Et[1]&&(he=$n.create(Xr.create(t.line,t.character-Et[1].length),Xr.create(t.line,Q.length)))}}else if(c&&Jn(c)&&c.value==="null"){const ae=e.positionAt(c.range[0]);ae.character+=1;const Ee=e.positionAt(c.range[2]);Ee.character+=1,he=$n.create(ae,Ee)}else if(c&&Jn(c)&&c.value){const ae=e.positionAt(c.range[0]);he=$n.create(ae,e.positionAt(c.range[1]))}else if(c&&Jn(c)&&c.value===null&&S==="-")he=$n.create(t,t),this.arrayPrefixIndentation=" ";else{let ae=u-S.length;ae>0&&l[ae-1]==='"'&&ae--,he=$n.create(e.positionAt(ae),t)}const ve={},we={add:(ae,Ee)=>{const He=function(qe){var Ft;if(((Ft=ve[qe.label])==null?void 0:Ft.label)===el)return;const tn=qe.parent.schema,Dt=lf(tn),At=tn.markdownDescription||tn.description;let Pt=s.items.find(Kt=>{var Cn;return((Cn=Kt.parent)==null?void 0:Cn.schema)===tn&&Kt.kind===C0});Pt&&Pt.parent.insertTexts.includes(qe.insertText)||(Pt?Pt.parent.insertTexts.push(qe.insertText):(Pt={...qe,label:Dt,documentation:At,sortText:"_"+Dt,kind:C0},Pt.label=Pt.label||qe.label,Pt.parent.insertTexts=[qe.insertText],s.items.push(Pt)))},Et=!!ae.parent;let $e=ae.label;if(!$e){console.warn(`Ignoring CompletionItem without label: ${JSON.stringify(ae)}`);return}if($a($e)||($e=String($e)),$e=$e.replace(/[\n]/g,"↵"),$e.length>60){const qe=$e.substr(0,57).trim()+"...";ve[qe]||($e=qe)}if(ae.insertText.endsWith("$1")&&!Et&&(ae.insertText=ae.insertText.substr(0,ae.insertText.length-2)),he&&he.start.line===he.end.line&&(ae.textEdit=Sr.replace(he,ae.insertText)),ae.label=$e,Et){He(ae);return}this.arrayPrefixIndentation&&this.updateCompletionText(ae,this.arrayPrefixIndentation+ae.insertText);const ze=ve[$e],_t=(ze==null?void 0:ze.label)!==el&&(ze==null?void 0:ze.insertText)!==ae.insertText;if(!ze)ve[$e]=ae,s.items.push(ae);else if(_t){const qe=this.mergeSimpleInsertTexts($e,ze.insertText,ae.insertText,Ee);qe?this.updateCompletionText(ze,qe):(ve[$e]=ae,s.items.push(ae))}ze&&!ze.documentation&&ae.documentation&&(ze.documentation=ae.documentation)},error:ae=>{var Ee;(Ee=this.telemetry)==null||Ee.sendError("yaml.completion.error",{error:ds(ae)})},log:ae=>{console.log(ae)},getNumberOfProposals:()=>s.items.length,result:s,proposed:ve};this.customTags.length>0&&this.getCustomTagValueCompletions(we),Q.endsWith(`
433
+ `)&&(Q=Q.substr(0,Q.length-1));try{const ae=await this.schemaService.getSchemaForResource(e.uri,v);if((!ae||ae.errors.length)&&t.line===0&&t.character===0&&!yf(Q)){const $e={kind:Si.Text,label:"Inline schema",insertText:"# yaml-language-server: $schema=",insertTextFormat:ni.PlainText};s.items.push($e)}if(yf(Q)||Yb(a.tokens,u)){const $e=Q.indexOf("$schema=");return $e!==-1&&$e+8<=t.character&&this.schemaService.getAllSchemas().forEach(ze=>{var _t;const qe={kind:Si.Constant,label:(_t=ze.name)!=null?_t:ze.uri,detail:ze.description,insertText:ze.uri,insertTextFormat:ni.PlainText,insertTextMode:xc.asIs};s.items.push(qe)}),s}if(!ae||ae.errors.length)return s;let Ee=null;if(!c)if(!v.internalDocument.contents||Jn(v.internalDocument.contents)){const $e=v.internalDocument.createNode({});$e.range=[u,u+1,u+1],v.internalDocument.contents=$e,v.updateFromInternalDocument(),c=$e}else c=v.findClosestNode(u,o),_=!0;const He=c;if(c)if(Q.length===0)c=v.internalDocument.contents;else{const $e=v.getParent(c);if($e){if(Jn(c)){if(c.value){if(mr($e)){if($e.value===c){if(Q.trim().length>0&&Q.indexOf(":")<0){const ze=this.createTempObjNode(S,c,v),_t=v.getParent($e);if(Or(v.internalDocument.contents)){const qe=Jb(v.internalDocument.contents,$e);typeof qe=="number"&&(v.internalDocument.set(qe,ze),v.updateFromInternalDocument())}else _t&&(Ir(_t)||Or(_t))?(_t.set($e.key,ze),v.updateFromInternalDocument()):(v.internalDocument.set($e.key,ze),v.updateFromInternalDocument());Ee=ze.items[0],c=ze}else if(Q.trim().length===0){const ze=v.getParent($e);ze&&(c=ze)}}else if($e.key===c){const ze=v.getParent($e);Ee=$e,ze&&(c=ze)}}else if(Or($e))if(Q.trim().length>0){const ze=this.createTempObjNode(S,c,v);$e.delete(c),$e.add(ze),v.updateFromInternalDocument(),c=ze}else c=$e}else if(c.value===null){if(mr($e)){if($e.key===c)c=$e;else if(br($e.key)&&$e.key.range){const ze=v.getParent($e);if(_&&ze&&Ir(ze)&&Gb(ze))c=ze;else{const _t=e.positionAt($e.key.range[0]);if(t.character>_t.character&&t.line!==_t.line){const qe=this.createTempObjNode(S,c,v);ze&&(Ir(ze)||Or(ze))?(ze.set($e.key,qe),v.updateFromInternalDocument()):(v.internalDocument.set($e.key,qe),v.updateFromInternalDocument()),Ee=qe.items[0],c=qe}else _t.character===t.character&&ze&&(c=ze)}}}else if(Or($e))if(Q.charAt(t.character-1)!=="-"){const ze=this.createTempObjNode(S,c,v);$e.delete(c),$e.add(ze),v.updateFromInternalDocument(),c=ze}else if(Q.charAt(t.character-1)==="-"){const ze=this.createTempObjNode("",c,v);$e.delete(c),$e.add(ze),v.updateFromInternalDocument(),c=ze}else c=$e}}else if(Ir(c)&&!_&&Q.trim().length===0&&Or($e)){const ze=o.getLineContent(t.line+1);(o.getLineCount()===t.line+1||ze.trim().length===0)&&(c=$e)}}else if(Jn(c)){const ze=this.createTempObjNode(S,c,v);v.internalDocument.contents=ze,v.updateFromInternalDocument(),Ee=ze.items[0],c=ze}else if(Ir(c))for(const ze of c.items)br(ze.value)&&ze.value.range&&ze.value.range[0]===u+1&&(c=ze.value);else if(Or(c)&&Q.charAt(t.character-1)!=="-"){const ze=this.createTempObjNode(S,c,v);ze.items=[],v.updateFromInternalDocument();for(const _t of c.items)Ir(_t)&&_t.items.forEach(qe=>{ze.items.push(qe)});c=ze}}if(c&&Ir(c)){const $e=c.items;for(const ze of $e)(!Ee||Ee!==ze)&&Jn(ze.key)&&(ve[ze.key.value+""]=Sc.create(el));this.addPropertyCompletions(ae,v,c,He,"",we,o,he,r),!ae&&S.length>0&&l.charAt(u-S.length-1)!=='"'&&we.add({kind:Si.Property,label:S,insertText:this.getInsertTextForProperty(S,null,""),insertTextFormat:ni.Snippet})}const Et={};this.getValueCompletions(ae,v,c,u,e,we,Et,r)}catch(ae){(i=this.telemetry)==null||i.sendError("yaml.completion.error",{error:ds(ae)})}this.finalizeParentCompletion(s);const Le=s.items.filter((ae,Ee,He)=>Ee===He.findIndex(Et=>Et.label===ae.label&&Et.insertText===ae.insertText&&Et.kind===ae.kind));return(Le==null?void 0:Le.length)>0&&(s.items=Le),s}updateCompletionText(e,t){e.insertText=t,e.textEdit&&(e.textEdit.newText=t)}mergeSimpleInsertTexts(e,t,n,r){const i=v=>v.includes(`
434
+ `),s=v=>v.startsWith(`
435
+ `),a=v=>{const c=v.indexOf(`
436
+ `);return c>0&&v.substring(c,v.length).trim().length===0};if(i(t)||i(n))return r&&a(t)&&!a(n)&&!s(n)?n:void 0;const o=this.getValuesFromInsertText(t),u=this.getValuesFromInsertText(n),l=Array.prototype.concat(o,u);if(l.length)return l.length===1?`${e}: \${1:${l[0]}}`:`${e}: \${1|${l.join(",")}|}`}getValuesFromInsertText(e){const t=e.substring(e.indexOf(":")+1).trim();if(!t)return[];const n=t.match(/^\${1[|:]([^|]*)+\|?}$/);return n?n[1].split(","):[t]}finalizeParentCompletion(e){const t=n=>{let r=0;return n.map(i=>{const s=i.match(/\$([0-9]+)|\${[0-9]+:/g);if(!s)return i;const a=s.map(u=>+u.replace(/\${([0-9]+)[:|]/g,"$1").replace("$","")).reduce((u,l)=>l>u?l:u,0),o=i.replace(/\$([0-9]+)/g,(u,l)=>"$"+(+l+r)).replace(/\${([0-9]+)[:|]/g,(u,l)=>"${"+(+l+r)+":");return r+=a,o})};e.items.forEach(n=>{if(Mv(n)){const r=n.parent.indent||"";let s=t(n.parent.insertTexts).join(`
437
+ ${r}`);s.endsWith("$1")&&(s=s.substring(0,s.length-2)),n.insertText=this.arrayPrefixIndentation+s,n.textEdit&&(n.textEdit.newText=n.insertText);const a=s.replace(/\${[0-9]+[:|](.*)}/g,(u,l)=>l).replace(/\$([0-9]+)/g,""),o=n.documentation?[n.documentation,"","----",""]:[];n.documentation={kind:ls.Markdown,value:[...o,"```yaml",r+a,"```"].join(`
438
+ `)},delete n.parent}})}createTempObjNode(e,t,n){const r={};r[e]=null;const i=n.internalDocument.createNode(r);return i.range=t.range,i.items[0].key.range=t.range,i.items[0].value.range=t.range,i}addPropertyCompletions(e,t,n,r,i,s,a,o,u){var l,v,c;const _=t.getMatchingSchemas(e.schema,-1,null,u),S=a.getText(o),Q=a.getLineContent(o.start.line),Z=Q.trim().length===0,M=Q.indexOf(":")!==-1,he=Q.trimLeft().indexOf("-")===0,ve=t.getParent(n),we=_.find(Ee=>Ee.node.internalNode===r&&Ee.schema.properties),Le=_.filter(Ee=>Ee.schema.oneOf).map(Ee=>Ee.schema.oneOf)[0];let ae=!1;(Le==null?void 0:Le.length)<_.length&&(Le==null||Le.forEach((Ee,He)=>{var Et,$e;!((Et=_[He])!=null&&Et.schema.oneOf)&&(($e=_[He])==null?void 0:$e.schema.properties)===Ee.properties&&(ae=!0)}));for(const Ee of _){if((Ee.node.internalNode===n&&!we||Ee.node.internalNode===r&&!M||((l=Ee.node.parent)==null?void 0:l.internalNode)===r&&!M)&&!Ee.inverted){this.collectDefaultSnippets(Ee.schema,i,s,{newLineFirst:!1,indentFirstObject:!1,shouldIndentWithTab:he});const He=Ee.schema.properties;if(He){const Et=Ee.schema.maxProperties;if(Et===void 0||n.items===void 0||n.items.length<Et||n.items.length===Et&&!Z){for(const $e in He)if(Object.prototype.hasOwnProperty.call(He,$e)){const ze=He[$e];if(typeof ze=="object"&&!ze.deprecationMessage&&!ze.doNotSuggest){let _t="";if(ve&&Or(ve)&&n.items.length<=1&&!Z){const Dt=a.getText(),At=Dt.lastIndexOf("-",n.range[0]-1);if(At>=0){const Pt=o.end.character-o.start.character;_t=" "+Dt.slice(At+1,n.range[1]-Pt)}}_t+=this.arrayPrefixIndentation;let qe;ze.type==="array"&&(qe=n.items.find(Dt=>Jn(Dt.key)&&Dt.key.range&&Dt.key.value===$e&&Jn(Dt.value)&&!Dt.value.value&&a.getPosition(Dt.key.range[2]).line===o.end.line-1))&&qe&&(Array.isArray(ze.items)?this.addSchemaValueCompletions(ze.items[0],i,s,{},"property"):typeof ze.items=="object"&&ze.items.type==="object"&&this.addArrayItemValueCompletion(ze.items,i,s));let Ft=$e;(!$e.startsWith(S)||!M)&&(Ft=this.getInsertTextForProperty($e,ze,i,_t+this.indentation));const qt=Jn(r)&&r.value===null||Ir(r)&&r.items.length===0,tn=((v=Ee.schema.required)==null?void 0:v.length)>0;(!this.parentSkeletonSelectedFirst||!qt||!tn)&&s.add({kind:Si.Property,label:$e,insertText:Ft,insertTextFormat:ni.Snippet,documentation:this.fromMarkup(ze.markdownDescription)||ze.description||""},ae),(c=Ee.schema.required)!=null&&c.includes($e)&&s.add({label:$e,insertText:this.getInsertTextForProperty($e,ze,i,_t+this.indentation),insertTextFormat:ni.Snippet,documentation:this.fromMarkup(ze.markdownDescription)||ze.description||"",parent:{schema:Ee.schema,indent:_t}})}}}}if(ve&&Or(ve)&&pb(Ee.schema)&&this.addSchemaValueCompletions(Ee.schema,i,s,{},"property",Array.isArray(ve.items)),Ee.schema.propertyNames&&Ee.schema.additionalProperties&&Ee.schema.type==="object"){const Et=pi(Ee.schema.propertyNames),$e=Et.title||"property";s.add({kind:Si.Property,label:$e,insertText:`\${1:${$e}}: `,insertTextFormat:ni.Snippet,documentation:this.fromMarkup(Et.markdownDescription)||Et.description||""})}}ve&&Ee.node.internalNode===ve&&Ee.schema.defaultSnippets&&(n.items.length===1?this.collectDefaultSnippets(Ee.schema,i,s,{newLineFirst:!1,indentFirstObject:!1,shouldIndentWithTab:!0},1):this.collectDefaultSnippets(Ee.schema,i,s,{newLineFirst:!1,indentFirstObject:!0,shouldIndentWithTab:!1},1))}}getValueCompletions(e,t,n,r,i,s,a,o){let u=null;if(n&&Jn(n)&&(n=t.getParent(n)),!n){this.addSchemaValueCompletions(e.schema,"",s,a,"value");return}if(mr(n)){const l=n.value;if(l&&l.range&&r>l.range[0]+l.range[2])return;u=Jn(n.key)?n.key.value+"":null,n=t.getParent(n)}if(n&&(u!==null||Or(n))){const l="",v=t.getMatchingSchemas(e.schema,-1,null,o);for(const c of v)if(c.node.internalNode===n&&!c.inverted&&c.schema){if(c.schema.items&&(this.collectDefaultSnippets(c.schema,l,s,{newLineFirst:!1,indentFirstObject:!1,shouldIndentWithTab:!1}),Or(n)&&n.items))if(Array.isArray(c.schema.items)){const _=this.findItemAtOffset(n,i,r);_<c.schema.items.length&&this.addSchemaValueCompletions(c.schema.items[_],l,s,a,"value")}else typeof c.schema.items=="object"&&(c.schema.items.type==="object"||cf(c.schema.items))?this.addSchemaValueCompletions(c.schema.items,l,s,a,"value",!0):this.addSchemaValueCompletions(c.schema.items,l,s,a,"value");if(c.schema.properties){const _=c.schema.properties[u];_&&this.addSchemaValueCompletions(_,l,s,a,"value")}else c.schema.additionalProperties&&this.addSchemaValueCompletions(c.schema.additionalProperties,l,s,a,"value")}a.boolean&&(this.addBooleanValueCompletion(!0,l,s),this.addBooleanValueCompletion(!1,l,s)),a.null&&this.addNullValueCompletion(l,s)}}addArrayItemValueCompletion(e,t,n,r){const i=lf(e),s=`- ${this.getInsertTextForObject(e,t).insertText.trimLeft()}`,a=i?" type `"+i+"`":"",o=e.description?" ("+e.description+")":"",u=this.getDocumentationWithMarkdownText(`Create an item of an array${a}${o}`,s);n.add({kind:this.getSuggestionKind(e.type),label:"- (array item) "+(i||r),documentation:u,insertText:s,insertTextFormat:ni.Snippet})}getInsertTextForProperty(e,t,n,r=this.indentation){const i=this.getInsertTextForValue(e,"","string"),s=i+":";let a,o=0;if(t){let u=Array.isArray(t.type)?t.type[0]:t.type;if(u||(t.properties?u="object":t.items?u="array":t.anyOf&&(u="anyOf")),Array.isArray(t.defaultSnippets)){if(t.defaultSnippets.length===1){const l=t.defaultSnippets[0].body;Xs(l)&&(a=this.getInsertTextForSnippetValue(l,"",{newLineFirst:!0,indentFirstObject:!1,shouldIndentWithTab:!1},[],1),!a.startsWith(" ")&&!a.startsWith(`
439
+ `)&&(a=" "+a))}o+=t.defaultSnippets.length}if(t.enum&&(!a&&t.enum.length===1&&(a=" "+this.getInsertTextForGuessedValue(t.enum[0],"",u)),o+=t.enum.length),t.const&&(a||(a=this.getInsertTextForGuessedValue(t.const,"",u),a=Bv(a),a=" "+a),o++),Xs(t.default)&&(a||(a=" "+this.getInsertTextForGuessedValue(t.default,"",u)),o++),Array.isArray(t.examples)&&t.examples.length&&(a||(a=" "+this.getInsertTextForGuessedValue(t.examples[0],"",u)),o+=t.examples.length),t.properties)return`${s}
440
+ ${this.getInsertTextForObject(t,n,r).insertText}`;if(t.items)return`${s}
441
+ ${r}- ${this.getInsertTextForArray(t.items,n,1,r).insertText}`;if(o===0)switch(u){case"boolean":a=" $1";break;case"string":a=" $1";break;case"object":a=`
442
+ ${r}`;break;case"array":a=`
443
+ ${r}- `;break;case"number":case"integer":a=" ${1:0}";break;case"null":a=" ${1:null}";break;case"anyOf":a=" $1";break;default:return i}}return(!a||o>1)&&(a=" $1"),s+a+n}getInsertTextForObject(e,t,n=this.indentation,r=1){let i="";return e.properties?(Object.keys(e.properties).forEach(s=>{const a=e.properties[s];let o=Array.isArray(a.type)?a.type[0]:a.type;if(o||(a.anyOf&&(o="anyOf"),a.properties&&(o="object"),a.items&&(o="array")),e.required&&e.required.indexOf(s)>-1)switch(o){case"boolean":case"string":case"number":case"integer":case"anyOf":{let u=a.default||a.const;u?(o==="string"&&(u=tl(u)),i+=`${n}${s}: \${${r++}:${u}}
444
+ `):i+=`${n}${s}: $${r++}
445
+ `;break}case"array":{const u=this.getInsertTextForArray(a.items,t,r++,n),l=u.insertText.split(`
446
+ `);let v=u.insertText;if(l.length>1){for(let c=1;c<l.length;c++){const _=l[c];l[c]=` ${_}`}v=l.join(`
447
+ `)}r=u.insertIndex,i+=`${n}${s}:
448
+ ${n}${this.indentation}- ${v}
449
+ `}break;case"object":{const u=this.getInsertTextForObject(a,t,`${n}${this.indentation}`,r++);r=u.insertIndex,i+=`${n}${s}:
450
+ ${u.insertText}
451
+ `}break}else if(!this.disableDefaultProperties&&a.default!==void 0)switch(o){case"boolean":case"number":case"integer":i+=`${n}${s==="null"?this.getInsertTextForValue(s,"","string"):s}: \${${r++}:${a.default}}
452
+ `;break;case"string":i+=`${n}${s}: \${${r++}:${tl(a.default)}}
453
+ `;break}}),i.trim().length===0&&(i=`${n}$${r++}
454
+ `),i=i.trimRight()+t,{insertText:i,insertIndex:r}):(i=`${n}$${r++}
455
+ `,{insertText:i,insertIndex:r})}getInsertTextForArray(e,t,n=1,r=this.indentation){let i="";if(!e)return i=`$${n++}`,{insertText:i,insertIndex:n};let s=Array.isArray(e.type)?e.type[0]:e.type;switch(s||(e.properties&&(s="object"),e.items&&(s="array")),e.type){case"boolean":i=`\${${n++}:false}`;break;case"number":case"integer":i=`\${${n++}:0}`;break;case"string":i=`\${${n++}:""}`;break;case"object":{const a=this.getInsertTextForObject(e,t,`${r} `,n++);i=a.insertText.trimLeft(),n=a.insertIndex}break}return{insertText:i,insertIndex:n}}getInsertTextForGuessedValue(e,t,n){switch(typeof e){case"object":return e===null?"${1:null}"+t:this.getInsertTextForValue(e,t,n);case"string":{let r=JSON.stringify(e);return r=r.substr(1,r.length-2),r=this.getInsertTextForPlainText(r),n==="string"&&(r=tl(r)),"${1:"+r+"}"+t}case"number":case"boolean":return"${1:"+e+"}"+t}return this.getInsertTextForValue(e,t,n)}getInsertTextForPlainText(e){return e.replace(/[\\$}]/g,"\\$&")}getInsertTextForValue(e,t,n){if(e===null)return"null";switch(typeof e){case"object":{const r=this.indentation;return this.getInsertTemplateForValue(e,r,{index:1},t)}case"number":case"boolean":return this.getInsertTextForPlainText(e+t)}return n=Array.isArray(n)?n[0]:n,n==="string"&&(e=tl(e)),this.getInsertTextForPlainText(e+t)}getInsertTemplateForValue(e,t,n,r){if(Array.isArray(e)){let i=`
456
+ `;for(const s of e)i+=`${t}- \${${n.index++}:${s}}
457
+ `;return i}else if(typeof e=="object"){let i=`
458
+ `;for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)){const a=e[s];i+=`${t}\${${n.index++}:${s}}:`;let o;typeof a=="object"?o=`${this.getInsertTemplateForValue(a,t+this.indentation,n,r)}`:o=` \${${n.index++}:${this.getInsertTextForPlainText(a+r)}}
459
+ `,i+=`${o}`}return i}return this.getInsertTextForPlainText(e+r)}addSchemaValueCompletions(e,t,n,r,i,s){typeof e=="object"&&(this.addEnumValueCompletions(e,t,n,s),this.addDefaultValueCompletions(e,t,n),this.collectTypes(e,r),s&&i==="value"&&!cf(e)&&this.addArrayItemValueCompletion(e,t,n),Array.isArray(e.allOf)&&e.allOf.forEach(a=>this.addSchemaValueCompletions(a,t,n,r,i,s)),Array.isArray(e.anyOf)&&e.anyOf.forEach(a=>this.addSchemaValueCompletions(a,t,n,r,i,s)),Array.isArray(e.oneOf)&&e.oneOf.forEach(a=>this.addSchemaValueCompletions(a,t,n,r,i,s)))}collectTypes(e,t){if(Array.isArray(e.enum)||Xs(e.const))return;const n=e.type;Array.isArray(n)?n.forEach(function(r){return t[r]=!0}):n&&(t[n]=!0)}addDefaultValueCompletions(e,t,n,r=0){let i=!1;if(Xs(e.default)){let s=e.type,a=e.default;for(let u=r;u>0;u--)a=[a],s="array";let o;typeof a=="object"?o="Default value":o=a.toString().replace(A0,'"'),n.add({kind:this.getSuggestionKind(s),label:o,insertText:this.getInsertTextForValue(a,t,s),insertTextFormat:ni.Snippet,detail:Lv("json.suggest.default","Default value")}),i=!0}Array.isArray(e.examples)&&e.examples.forEach(s=>{let a=e.type,o=s;for(let u=r;u>0;u--)o=[o],a="array";n.add({kind:this.getSuggestionKind(a),label:this.getLabelForValue(o),insertText:this.getInsertTextForValue(o,t,a),insertTextFormat:ni.Snippet}),i=!0}),this.collectDefaultSnippets(e,t,n,{newLineFirst:!0,indentFirstObject:!0,shouldIndentWithTab:!0}),!i&&typeof e.items=="object"&&!Array.isArray(e.items)&&this.addDefaultValueCompletions(e.items,t,n,r+1)}addEnumValueCompletions(e,t,n,r){if(Xs(e.const)&&!r&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t,e.type),insertTextFormat:ni.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(let i=0,s=e.enum.length;i<s;i++){const a=e.enum[i];let o=this.fromMarkup(e.markdownDescription)||e.description;e.markdownEnumDescriptions&&i<e.markdownEnumDescriptions.length&&this.doesSupportMarkdown()?o=this.fromMarkup(e.markdownEnumDescriptions[i]):e.enumDescriptions&&i<e.enumDescriptions.length&&(o=e.enumDescriptions[i]),n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(a),insertText:this.getInsertTextForValue(a,t,e.type),insertTextFormat:ni.Snippet,documentation:o})}}getLabelForValue(e){return e===null?"null":Array.isArray(e)?JSON.stringify(e):""+e}collectDefaultSnippets(e,t,n,r,i=0){if(Array.isArray(e.defaultSnippets))for(const s of e.defaultSnippets){let a=e.type,o=s.body,u=s.label,l,v;if(Xs(o)){const c=s.type||e.type;if(i===0&&c==="array"){const S={};Object.keys(o).forEach((Q,Z)=>{Z===0&&!Q.startsWith("-")?S[`- ${Q}`]=o[Q]:S[` ${Q}`]=o[Q]}),o=S}const _=Object.keys(n.proposed).filter(S=>n.proposed[S].label===el);if(l=this.getInsertTextForSnippetValue(o,t,r,_),l===""&&o)continue;u=u||this.getLabelForSnippetValue(o)}else if(typeof s.bodyText=="string"){let c="",_="",S="";for(let Q=i;Q>0;Q--)c=c+S+`[
460
+ `,_=_+`
461
+ `+S+"]",S+=this.indentation,a="array";l=c+S+s.bodyText.split(`
462
+ `).join(`
463
+ `+S)+_+t,u=u||l,v=l.replace(/[\n]/g,"")}n.add({kind:s.suggestionKind||this.getSuggestionKind(a),label:u,sortText:s.sortText||s.label,documentation:this.fromMarkup(s.markdownDescription)||s.description,insertText:l,insertTextFormat:ni.Snippet,filterText:v})}}getInsertTextForSnippetValue(e,t,n,r,i){return Zu(e,"",a=>{if(typeof a=="string"){if(a[0]==="^")return a.substr(1);if(a==="true"||a==="false")return`"${a}"`}return a},{...n,indentation:this.indentation,existingProps:r},i)+t}addBooleanValueCompletion(e,t,n){n.add({kind:this.getSuggestionKind("boolean"),label:e?"true":"false",insertText:this.getInsertTextForValue(e,t,"boolean"),insertTextFormat:ni.Snippet,documentation:""})}addNullValueCompletion(e,t){t.add({kind:this.getSuggestionKind("null"),label:"null",insertText:"null"+e,insertTextFormat:ni.Snippet,documentation:""})}getLabelForSnippetValue(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")}getCustomTagValueCompletions(e){i0(this.customTags).forEach(n=>{const r=n.split(" ")[0];this.addCustomTagValueCompletion(e," ",r)})}addCustomTagValueCompletion(e,t,n){e.add({kind:this.getSuggestionKind("string"),label:n,insertText:n+t,insertTextFormat:ni.Snippet,documentation:""})}getDocumentationWithMarkdownText(e,t){let n=e;return this.doesSupportMarkdown()&&(t=t.replace(/\${[0-9]+[:|](.*)}/g,(r,i)=>i).replace(/\$([0-9]+)/g,""),n=this.fromMarkup(`${e}
464
+ \`\`\`
465
+ ${t}
466
+ \`\`\``)),n}getSuggestionKind(e){if(Array.isArray(e)){const t=e;e=t.length>0?t[0]:null}if(!e)return Si.Value;switch(e){case"string":return Si.Value;case"object":return Si.Module;case"property":return Si.Property;default:return Si.Value}}getCurrentWord(e,t){let n=t-1;const r=e.getText();for(;n>=0&&`
467
+ \r\v":{[,]}`.indexOf(r.charAt(n))===-1;)n--;return r.substring(n+1,t)}fromMarkup(e){if(e&&this.doesSupportMarkdown())return{kind:ls.Markdown,value:e}}doesSupportMarkdown(){if(this.supportsMarkdown===void 0){const e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsMarkdown=e&&e.completionItem&&Array.isArray(e.completionItem.documentationFormat)&&e.completionItem.documentationFormat.indexOf(ls.Markdown)!==-1}return this.supportsMarkdown}findItemAtOffset(e,t,n){for(let r=e.items.length-1;r>=0;r--){const i=e.items[r];if(br(i)&&i.range){if(n>i.range[1])return r;if(n>=i.range[0])return r}}return 0}},Pv=/^\d+$/;function tl(e){let t;if(typeof e=="string"?t=e:t=""+e,t.length===0)return t;if(t==="true"||t==="false"||t==="null"||Pv.test(t))return`"${t}"`;t.indexOf('"')!==-1&&(t=t.replace(A0,'"'));let n=!isNaN(parseInt(t))||t.charAt(0)==="@";if(!n){let r=t.indexOf(":",0);for(;r>0&&r<t.length;r=t.indexOf(":",r+1)){if(r===t.length-1){n=!0;break}const i=t.charAt(r+1);if(i===" "||i===" "){n=!0;break}}}return n&&(t=`"${t}"`),t}function Bv(e){return e.replace(/\$\{1:(.*)\}/,"$1")}function Mv(e){return"parent"in e}function Iv(){}var Ov=class{constructor(e){this.telemetry=e}getDefinition(e,t){var n;try{const r=Yi.getYamlDocument(e),i=e.offsetAt(t.position),s=Wu(i,r);if(s){const[a]=s.getNodeFromPosition(i,new Zs(e));if(a&&rs(a)){const o=a.resolve(s.internalDocument);if(o&&o.range){const u=$n.create(e.positionAt(o.range[0]),e.positionAt(o.range[2])),l=$n.create(e.positionAt(o.range[0]),e.positionAt(o.range[1]));return[Dc.create(e.uri,u,l)]}}}}catch(r){(n=this.telemetry)==null||n.sendError("yaml.definition.error",{error:ds(r)})}}};function jv(e,t){if(!e)return;const n=Yi.getYamlDocument(e);return t.map(i=>{const s=r(i);let a;for(const o of s)a=yu.create(o,a);return a||(a=yu.create({start:i,end:i})),a});function r(i){const s=e.offsetAt(i),a=[];for(const o of n.documents){let u,l,v=!0;for(o.visit(c=>{if(c.offset+c.length<s)return!0;let S=c.offset;if(S>s){const Q=e.positionAt(S);if(Q.line!==i.line)return!0;const Z={line:Q.line,character:0};if(e.getText({start:Z,end:Q}).trim().length!==0||(S=e.offsetAt(Z),S>s))return!0}return(!u||S>=u.offset)&&(u=c,l=S),!0});u;){const c=v?l:u.offset,_=u.offset+u.length,S={start:e.positionAt(c),end:e.positionAt(_)},Q=e.getText(S),Z=Q.trimEnd(),M=Q.length-Z.length;M>0&&(S.end=e.positionAt(_-M));const he=(ve,we)=>Z.startsWith(ve)&&Z.endsWith(we||ve);(u.type==="string"&&(he("'")||he('"'))||u.type==="object"&&he("{","}")||u.type==="array"&&he("[","]"))&&a.push({start:e.positionAt(c+1),end:e.positionAt(_-1)}),a.push(S),u=u.parent,v=!1}if(a.length>0)break}return a.reverse()}}var bf;(function(e){e[e.SchemaStore=1]="SchemaStore",e[e.SchemaAssociation=2]="SchemaAssociation",e[e.Settings=3]="Settings"})(bf||(bf={}));function Rv(e){const t=new sv(e.schemaRequestService,e.workspaceContext),n=new kv(t,e.clientCapabilities,Yi,e.telemetry),r=new ov(t,e.telemetry),i=new av(t,e.telemetry),s=new yv(t,e.telemetry),a=new Dv,o=new Cv(e.clientCapabilities),u=new wv(t,e.telemetry),l=new bv(e.telemetry),v=new Ov(e.telemetry);return new Iv(t,e.yamlSettings,e.connection),{configure:c=>{t.clearExternalSchemas(),c.schemas&&(t.schemaPriorityMapping=new Map,c.schemas.forEach(_=>{const S=_.priority?_.priority:0;t.addSchemaPriority(_.uri,S),t.registerExternalSchema(_.uri,_.fileMatch,_.schema,_.name,_.description,_.versions)})),s.configure(c),r.configure(c),n.configure(c),a.configure(c),o.configure(c)},registerCustomSchemaProvider:c=>{t.registerCustomSchemaProvider(c)},findLinks:l.findLinks.bind(l),doComplete:n.doComplete.bind(n),doValidation:s.doValidation.bind(s),doHover:r.doHover.bind(r),findDocumentSymbols:i.findDocumentSymbols.bind(i),findDocumentSymbols2:i.findHierarchicalDocumentSymbols.bind(i),doDefinition:v.getDefinition.bind(v),resetSchema:c=>t.onResourceChange(c),doFormat:a.format.bind(a),doDocumentOnTypeFormatting:xv,addSchema:(c,_)=>t.saveSchema(c,_),deleteSchema:c=>t.deleteSchema(c),modifySchemaContent:c=>t.addContent(c),deleteSchemaContent:c=>t.deleteContent(c),deleteSchemasWhole:c=>t.deleteSchemas(c),getFoldingRanges:vv,getSelectionRanges:jv,getCodeAction:(c,_)=>o.getCodeAction(c,_),getCodeLens:c=>u.getCodeLens(c),resolveCodeLens:c=>u.resolveCodeLens(c)}}async function $v(e){const t=await fetch(e);if(t.ok)return t.text();throw new Error(`Schema request failed for ${e}`)}var Vv={send(){},sendError(e,t){console.error("monaco-yaml",e,t)},sendTrack(){}},qv={resolveRelativePath(e,t){return String(new URL(e,t))}};wy((e,{enableSchemaRequest:t,...n})=>{const r=Rv({schemaRequestService:t?$v:null,telemetry:Vv,workspaceContext:qv}),i=s=>(a,...o)=>{const u=e.getMirrorModels();for(const l of u)if(String(l.uri)===a)return s(dc.create(a,"yaml",l.version,l.getValue()),...o)};return r.configure(n),{doValidation:i(s=>r.doValidation(s,!!n.isKubernetes)),doComplete:i((s,a)=>r.doComplete(s,a,!!n.isKubernetes)),doDefinition:i((s,a)=>r.doDefinition(s,{position:a,textDocument:s})),doHover:i((s,a)=>r.doHover(s,a)),format:i(s=>r.doFormat(s,{})),resetSchema:s=>r.resetSchema(s),findDocumentSymbols:i(s=>r.findDocumentSymbols2(s,{})),findLinks:i(s=>r.findLinks(s)),getCodeAction:i((s,a,o)=>r.getCodeAction(s,{range:a,textDocument:s,context:o})),getFoldingRanges:i(s=>r.getFoldingRanges(s,{lineFoldingOnly:!0}))}})})();