@ansible/ansible-ui-framework 2.4.269 → 2.4.270

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,462 +0,0 @@
1
- (function(){"use strict";function q0(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 W0{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?ia.isErrorNoTelemetry(t)?new ia(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 G0=new W0;function Xf(e){J0(e)||G0.onUnexpectedError(e)}function Kf(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:ia.isErrorNoTelemetry(e)}}return e}const gl="Canceled";function J0(e){return e instanceof Y0?!0:e instanceof Error&&e.name===gl&&e.message===gl}class Y0 extends Error{constructor(){super(gl),this.name=this.message}}class ia extends Error{constructor(t){super(t),this.name="CodeExpectedError"}static fromError(t){if(t instanceof ia)return t;const n=new ia;return n.message=t.message,n.stack=t.stack,n}static isErrorNoTelemetry(t){return t.name==="CodeExpectedError"}}class sa extends Error{constructor(t){super(t||"An unexpected bug occurred."),Object.setPrototypeOf(this,sa.prototype);debugger}}function H0(e){const t=this;let n=!1,r;return function(){return n||(n=!0,r=e.apply(t,arguments)),r}}var Mo;(function(e){function t(ue){return ue&&typeof ue=="object"&&typeof ue[Symbol.iterator]=="function"}e.is=t;const n=Object.freeze([]);function r(){return n}e.empty=r;function*i(ue){yield ue}e.single=i;function s(ue){return t(ue)?ue:i(ue)}e.wrap=s;function a(ue){return ue||n}e.from=a;function o(ue){return!ue||ue[Symbol.iterator]().next().done===!0}e.isEmpty=o;function u(ue){return ue[Symbol.iterator]().next().value}e.first=u;function l(ue,Te){for(const Pe of ue)if(Te(Pe))return!0;return!1}e.some=l;function A(ue,Te){for(const Pe of ue)if(Te(Pe))return Pe}e.find=A;function*p(ue,Te){for(const Pe of ue)Te(Pe)&&(yield Pe)}e.filter=p;function*O(ue,Te){let Pe=0;for(const Ue of ue)yield Te(Ue,Pe++)}e.map=O;function*B(...ue){for(const Te of ue)for(const Pe of Te)yield Pe}e.concat=B;function ie(ue,Te,Pe){let Ue=Pe;for(const be of ue)Ue=Te(Ue,be);return Ue}e.reduce=ie;function*te(ue,Te,Pe=ue.length){for(Te<0&&(Te+=ue.length),Pe<0?Pe+=ue.length:Pe>ue.length&&(Pe=ue.length);Te<Pe;Te++)yield ue[Te]}e.slice=te;function N(ue,Te=Number.POSITIVE_INFINITY){const Pe=[];if(Te===0)return[Pe,ue];const Ue=ue[Symbol.iterator]();for(let be=0;be<Te;be++){const Me=Ue.next();if(Me.done)return[Pe,e.empty()];Pe.push(Me.value)}return[Pe,{[Symbol.iterator](){return Ue}}]}e.consume=N})(Mo||(Mo={}));function OE(e){return e}function jE(e,t){}function Zf(e){if(Mo.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 z0(...e){return Oo(()=>Zf(e))}function Oo(e){return{dispose:H0(()=>{e()})}}class Bs{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{Zf(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?Bs.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}}Bs.DISABLE_DISPOSED_WARNING=!1;class jo{constructor(){this._store=new Bs,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)}}jo.None=Object.freeze({dispose(){}});class Q0{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(t){let n=t;return this.unset=()=>n=void 0,this.isset=()=>n!==void 0,this.dispose=()=>{n&&(n(),n=void 0)},this}}class br{constructor(t){this.element=t,this.next=br.Undefined,this.prev=br.Undefined}}br.Undefined=new br(void 0);class $o{constructor(){this._first=br.Undefined,this._last=br.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===br.Undefined}clear(){let t=this._first;for(;t!==br.Undefined;){const n=t.next;t.prev=br.Undefined,t.next=br.Undefined,t=n}this._first=br.Undefined,this._last=br.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,n){const r=new br(t);if(this._first===br.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!==br.Undefined){const t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==br.Undefined){const t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==br.Undefined&&t.next!==br.Undefined){const n=t.prev;n.next=t.next,t.next.prev=n}else t.prev===br.Undefined&&t.next===br.Undefined?(this._first=br.Undefined,this._last=br.Undefined):t.next===br.Undefined?(this._last=this._last.prev,this._last.next=br.Undefined):t.prev===br.Undefined&&(this._first=this._first.next,this._first.prev=br.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==br.Undefined;)yield t.element,t=t.next}}let X0=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function K0(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}),X0&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function Z0(e,t,...n){return K0(t,n)}function $E(e){}var yl;const aa="en";let Dl=!1,bl=!1,vl=!1,ep=!1,Ro,El=aa,tp=aa,eg,ji;const ci=typeof self=="object"?self:typeof global=="object"?global:{};let Qr;typeof ci.vscode<"u"&&typeof ci.vscode.process<"u"?Qr=ci.vscode.process:typeof process<"u"&&(Qr=process);const tg=typeof((yl=Qr==null?void 0:Qr.versions)===null||yl===void 0?void 0:yl.electron)=="string"&&(Qr==null?void 0:Qr.type)==="renderer";if(typeof navigator=="object"&&!tg)ji=navigator.userAgent,Dl=ji.indexOf("Windows")>=0,bl=ji.indexOf("Macintosh")>=0,(ji.indexOf("Macintosh")>=0||ji.indexOf("iPad")>=0||ji.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>0,vl=ji.indexOf("Linux")>=0,(ji==null?void 0:ji.indexOf("Mobi"))>=0,ep=!0,Z0({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),Ro=aa,El=Ro,tp=navigator.language;else if(typeof Qr=="object"){Dl=Qr.platform==="win32",bl=Qr.platform==="darwin",vl=Qr.platform==="linux",vl&&Qr.env.SNAP&&Qr.env.SNAP_REVISION,Qr.env.CI||Qr.env.BUILD_ARTIFACTSTAGINGDIRECTORY,Ro=aa,El=aa;const e=Qr.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),n=t.availableLanguages["*"];Ro=t.locale,tp=t.osLocale,El=n||aa,eg=t._translationsConfigFile}catch{}}else console.error("Unable to resolve platform.");const Xa=Dl,ng=bl;ep&&ci.importScripts;const Hi=ji,rg=typeof ci.postMessage=="function"&&!ci.importScripts;(()=>{if(rg){const e=[];ci.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}),ci.postMessage({vscodeScheduleAsyncWork:r},"*")}}return e=>setTimeout(e)})();const ig=!!(Hi&&Hi.indexOf("Chrome")>=0);Hi&&Hi.indexOf("Firefox")>=0,!ig&&Hi&&Hi.indexOf("Safari")>=0,Hi&&Hi.indexOf("Edg/")>=0,Hi&&Hi.indexOf("Android")>=0;const sg=ci.performance&&typeof ci.performance.now=="function";class Vo{static create(t=!0){return new Vo(t)}constructor(t){this._highResolution=sg&&t,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}_now(){return this._highResolution?ci.performance.now():Date.now()}}var Al;(function(e){e.None=()=>jo.None;function t(xe,Ne){return A(xe,()=>{},0,void 0,!0,void 0,Ne)}e.defer=t;function n(xe){return(Ne,st=null,Ve)=>{let $t=!1,pn;return pn=xe(kn=>{if(!$t)return pn?pn.dispose():$t=!0,Ne.call(st,kn)},null,Ve),$t&&pn.dispose(),pn}}e.once=n;function r(xe,Ne,st){return l((Ve,$t=null,pn)=>xe(kn=>Ve.call($t,Ne(kn)),null,pn),st)}e.map=r;function i(xe,Ne,st){return l((Ve,$t=null,pn)=>xe(kn=>{Ne(kn),Ve.call($t,kn)},null,pn),st)}e.forEach=i;function s(xe,Ne,st){return l((Ve,$t=null,pn)=>xe(kn=>Ne(kn)&&Ve.call($t,kn),null,pn),st)}e.filter=s;function a(xe){return xe}e.signal=a;function o(...xe){return(Ne,st=null,Ve)=>z0(...xe.map($t=>$t(pn=>Ne.call(st,pn),null,Ve)))}e.any=o;function u(xe,Ne,st,Ve){let $t=st;return r(xe,pn=>($t=Ne($t,pn),$t),Ve)}e.reduce=u;function l(xe,Ne){let st;const Ve={onWillAddFirstListener(){st=xe($t.fire,$t)},onDidRemoveLastListener(){st==null||st.dispose()}},$t=new zi(Ve);return Ne==null||Ne.add($t),$t.event}function A(xe,Ne,st=100,Ve=!1,$t=!1,pn,kn){let Lt,Tt,Ut,en=0,Ln;const qn={leakWarningThreshold:pn,onWillAddFirstListener(){Lt=xe(Yr=>{en++,Tt=Ne(Tt,Yr),Ve&&!Ut&&(Pn.fire(Tt),Tt=void 0),Ln=()=>{const Hr=Tt;Tt=void 0,Ut=void 0,(!Ve||en>1)&&Pn.fire(Hr),en=0},typeof st=="number"?(clearTimeout(Ut),Ut=setTimeout(Ln,st)):Ut===void 0&&(Ut=0,queueMicrotask(Ln))})},onWillRemoveListener(){$t&&en>0&&(Ln==null||Ln())},onDidRemoveLastListener(){Ln=void 0,Lt.dispose()}},Pn=new zi(qn);return kn==null||kn.add(Pn),Pn.event}e.debounce=A;function p(xe,Ne=0,st){return e.debounce(xe,(Ve,$t)=>Ve?(Ve.push($t),Ve):[$t],Ne,void 0,!0,void 0,st)}e.accumulate=p;function O(xe,Ne=(Ve,$t)=>Ve===$t,st){let Ve=!0,$t;return s(xe,pn=>{const kn=Ve||!Ne(pn,$t);return Ve=!1,$t=pn,kn},st)}e.latch=O;function B(xe,Ne,st){return[e.filter(xe,Ne,st),e.filter(xe,Ve=>!Ne(Ve),st)]}e.split=B;function ie(xe,Ne=!1,st=[]){let Ve=st.slice(),$t=xe(Lt=>{Ve?Ve.push(Lt):kn.fire(Lt)});const pn=()=>{Ve==null||Ve.forEach(Lt=>kn.fire(Lt)),Ve=null},kn=new zi({onWillAddFirstListener(){$t||($t=xe(Lt=>kn.fire(Lt)))},onDidAddFirstListener(){Ve&&(Ne?setTimeout(pn):pn())},onDidRemoveLastListener(){$t&&$t.dispose(),$t=null}});return kn.event}e.buffer=ie;class te{constructor(Ne){this.event=Ne,this.disposables=new Bs}map(Ne){return new te(r(this.event,Ne,this.disposables))}forEach(Ne){return new te(i(this.event,Ne,this.disposables))}filter(Ne){return new te(s(this.event,Ne,this.disposables))}reduce(Ne,st){return new te(u(this.event,Ne,st,this.disposables))}latch(){return new te(O(this.event,void 0,this.disposables))}debounce(Ne,st=100,Ve=!1,$t=!1,pn){return new te(A(this.event,Ne,st,Ve,$t,pn,this.disposables))}on(Ne,st,Ve){return this.event(Ne,st,Ve)}once(Ne,st,Ve){return n(this.event)(Ne,st,Ve)}dispose(){this.disposables.dispose()}}function N(xe){return new te(xe)}e.chain=N;function ue(xe,Ne,st=Ve=>Ve){const Ve=(...Lt)=>kn.fire(st(...Lt)),$t=()=>xe.on(Ne,Ve),pn=()=>xe.removeListener(Ne,Ve),kn=new zi({onWillAddFirstListener:$t,onDidRemoveLastListener:pn});return kn.event}e.fromNodeEventEmitter=ue;function Te(xe,Ne,st=Ve=>Ve){const Ve=(...Lt)=>kn.fire(st(...Lt)),$t=()=>xe.addEventListener(Ne,Ve),pn=()=>xe.removeEventListener(Ne,Ve),kn=new zi({onWillAddFirstListener:$t,onDidRemoveLastListener:pn});return kn.event}e.fromDOMEventEmitter=Te;function Pe(xe){return new Promise(Ne=>n(xe)(Ne))}e.toPromise=Pe;function Ue(xe,Ne){return Ne(void 0),xe(st=>Ne(st))}e.runAndSubscribe=Ue;function be(xe,Ne){let st=null;function Ve(pn){st==null||st.dispose(),st=new Bs,Ne(pn,st)}Ve(void 0);const $t=xe(pn=>Ve(pn));return Oo(()=>{$t.dispose(),st==null||st.dispose()})}e.runAndSubscribeWithStore=be;class Me{constructor(Ne,st){this._observable=Ne,this._counter=0,this._hasChanged=!1;const Ve={onWillAddFirstListener:()=>{Ne.addObserver(this)},onDidRemoveLastListener:()=>{Ne.removeObserver(this)}};this.emitter=new zi(Ve),st&&st.add(this.emitter)}beginUpdate(Ne){this._counter++}handlePossibleChange(Ne){}handleChange(Ne,st){this._hasChanged=!0}endUpdate(Ne){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function vt(xe,Ne){return new Me(xe,Ne).emitter.event}e.fromObservable=vt;function wt(xe){return Ne=>{let st=0,Ve=!1;const $t={beginUpdate(){st++},endUpdate(){st--,st===0&&(xe.reportChanges(),Ve&&(Ve=!1,Ne()))},handlePossibleChange(){},handleChange(){Ve=!0}};return xe.addObserver($t),{dispose(){xe.removeObserver($t)}}}}e.fromObservableLight=wt})(Al||(Al={}));class oa{constructor(t){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${t}_${oa._idPool++}`,oa.all.add(this)}start(t){this._stopWatch=new Vo(!0),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}}}oa.all=new Set,oa._idPool=0;let ag=-1;class og{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 Cl{static create(){var t;return new Cl((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 ug{constructor(t,n,r){this.callback=t,this.callbackThis=n,this.stack=r,this.subscription=new Q0}invoke(t){this.callback.call(this.callbackThis,t)}}class zi{constructor(t){var n,r,i,s,a;this._disposed=!1,this._options=t,this._leakageMon=!((n=this._options)===null||n===void 0)&&n.leakWarningThreshold?new og((i=(r=this._options)===null||r===void 0?void 0:r.leakWarningThreshold)!==null&&i!==void 0?i:ag):void 0,this._perfMon=!((s=this._options)===null||s===void 0)&&s._profName?new oa(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,this._listeners&&this._listeners.clear(),(t=this._deliveryQueue)===null||t===void 0||t.clear(this),(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(){return this._event||(this._event=(t,n,r)=>{var i,s,a;if(this._listeners||(this._listeners=new $o),this._leakageMon&&this._listeners.size>this._leakageMon.threshold*3)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),jo.None;const o=this._listeners.isEmpty();o&&(!((i=this._options)===null||i===void 0)&&i.onWillAddFirstListener)&&this._options.onWillAddFirstListener(this);let u,l;this._leakageMon&&this._listeners.size>=Math.ceil(this._leakageMon.threshold*.2)&&(l=Cl.create(),u=this._leakageMon.check(l,this._listeners.size+1));const A=new ug(t,n,l),p=this._listeners.push(A);o&&(!((s=this._options)===null||s===void 0)&&s.onDidAddFirstListener)&&this._options.onDidAddFirstListener(this),!((a=this._options)===null||a===void 0)&&a.onDidAddListener&&this._options.onDidAddListener(this,t,n);const O=A.subscription.set(()=>{var B,ie;u==null||u(),this._disposed||((ie=(B=this._options)===null||B===void 0?void 0:B.onWillRemoveListener)===null||ie===void 0||ie.call(B,this),p(),this._options&&this._options.onDidRemoveLastListener&&(this._listeners&&!this._listeners.isEmpty()||this._options.onDidRemoveLastListener(this)))});return r instanceof Bs?r.add(O):Array.isArray(r)&&r.push(O),O}),this._event}fire(t){var n,r,i;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new cg((n=this._options)===null||n===void 0?void 0:n.onListenerError));for(const s of this._listeners)this._deliveryQueue.push(this,s,t);(r=this._perfMon)===null||r===void 0||r.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),(i=this._perfMon)===null||i===void 0||i.stop()}}hasListeners(){return this._listeners?!this._listeners.isEmpty():!1}}class lg{constructor(t=Xf){this._onListenerError=t,this._queue=new $o}get size(){return this._queue.size}push(t,n,r){this._queue.push(new fg(t,n,r))}clear(t){const n=new $o;for(const r of this._queue)r.emitter!==t&&n.push(r);this._queue=n}deliver(){for(;this._queue.size>0;){const t=this._queue.shift();try{t.listener.invoke(t.event)}catch(n){this._onListenerError(n)}}}}class cg extends lg{clear(t){this._queue.clear()}}class fg{constructor(t,n,r){this.emitter=t,this.listener=n,this.event=r}}function pg(e){return typeof e=="string"}function dg(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}function Sl(e){const t=[];for(const n of dg(e))typeof e[n]=="function"&&t.push(n);return t}function hg(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}class mg{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 np{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 rp;function gg(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function yg(e){return e.split(/\r\n|\r|\n/)}function Dg(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 bg(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 ip(e){return e>=65&&e<=90}function xl(e){return 55296<=e&&e<=56319}function vg(e){return 56320<=e&&e<=57343}function Eg(e,t){return(e-55296<<10)+(t-56320)+65536}function Ag(e,t,n){const r=e.charCodeAt(n);if(xl(r)&&n+1<t){const i=e.charCodeAt(n+1);if(vg(i))return Eg(r,i)}return r}const Cg=/^[\t\n\r\x20-\x7E]*$/;function Sg(e){return Cg.test(e)}class wi{static getInstance(t){return wi.cache.get(Array.from(t))}static getLocales(){return wi._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())}}rp=wi,wi.ambiguousCharacterData=new np(()=>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]}')),wi.cache=new mg(e=>{function t(l){const A=new Map;for(let p=0;p<l.length;p+=2)A.set(l[p],l[p+1]);return A}function n(l,A){const p=new Map(l);for(const[O,B]of A)p.set(O,B);return p}function r(l,A){if(!l)return A;const p=new Map;for(const[O,B]of l)A.has(O)&&p.set(O,B);return p}const i=rp.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 A=t(i[l]);a=r(a,A)}const o=t(i._common),u=n(o,a);return new wi(u)}),wi._locales=new np(()=>Object.keys(wi.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class ms{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(ms.getRawData())),this._data}static isInvisibleCharacter(t){return ms.getData().has(t)}static get codePoints(){return ms.getData()}}ms._data=void 0;const xg="$initialize";class wg{constructor(t,n,r,i){this.vsWorker=t,this.req=n,this.method=r,this.args=i,this.type=0}}class sp{constructor(t,n,r,i){this.vsWorker=t,this.seq=n,this.res=r,this.err=i,this.type=1}}class Fg{constructor(t,n,r,i){this.vsWorker=t,this.req=n,this.eventName=r,this.arg=i,this.type=2}}class Ng{constructor(t,n,r){this.vsWorker=t,this.req=n,this.event=r,this.type=3}}class _g{constructor(t,n){this.vsWorker=t,this.req=n,this.type=4}}class Tg{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 wg(this._workerId,r,t,n))})}listen(t,n){let r=null;const i=new zi({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,i),this._send(new Fg(this._workerId,r,t,n))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new _g(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 sp(this._workerId,n,i,void 0))},i=>{i.detail instanceof Error&&(i.detail=Kf(i.detail)),this._send(new sp(this._workerId,n,void 0,Kf(i)))})}_handleSubscribeEventMessage(t){const n=t.req,r=this._handler.handleEvent(t.eventName,t.arg)(i=>{this._send(new Ng(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 ap(e){return e[0]==="o"&&e[1]==="n"&&ip(e.charCodeAt(2))}function op(e){return/^onDynamic/.test(e)&&ip(e.charCodeAt(9))}function kg(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(op(a)){s[a]=i(a);continue}if(ap(a)){s[a]=n(a,void 0);continue}s[a]=r(a)}return s}class Lg{constructor(t,n){this._requestHandlerFactory=n,this._requestHandler=null,this._protocol=new Tg({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===xg)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(op(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(ap(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=kg(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(Sl(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 A=globalThis.require;A([r],p=>{if(this._requestHandler=p.create(o),!this._requestHandler){l(new Error("No RequestHandler!"));return}u(Sl(this._requestHandler))},l)}))}}class gs{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 up(e,t){return(t<<5)-t+e|0}function Pg(e,t){t=up(149417,t);for(let n=0,r=e.length;n<r;n++)t=up(e.charCodeAt(n),t);return t}class lp{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 Bg(e,t,n){return new ys(new lp(e),new lp(t)).ComputeDiff(n).changes}class ua{static Assert(t,n){if(!t)throw new Error(n)}}class la{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 cp{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 gs(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 ys{constructor(t,n,r=null){this.ContinueProcessingPredicate=r,this._originalSequence=t,this._modifiedSequence=n;const[i,s,a]=ys._getElements(t),[o,u,l]=ys._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(ys._isStringArray(n)){const r=new Int32Array(n.length);for(let i=0,s=n.length;i<s;i++)r[i]=Pg(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=ys._getStrictElement(this._originalSequence,t),i=ys._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 p;return r<=i?(ua.Assert(t===n+1,"originalStart should only be one more than originalEnd"),p=[new gs(t,0,r,i-r+1)]):t<=n?(ua.Assert(r===i+1,"modifiedStart should only be one more than modifiedEnd"),p=[new gs(t,n-t+1,r,0)]):(ua.Assert(t===n+1,"originalStart should only be one more than originalEnd"),ua.Assert(r===i+1,"modifiedStart should only be one more than modifiedEnd"),p=[]),p}const a=[0],o=[0],u=this.ComputeRecursionPoint(t,n,r,i,a,o,s),l=a[0],A=o[0];if(u!==null)return u;if(!s[0]){const p=this.ComputeDiffRecursive(t,l,r,A,s);let O=[];return s[0]?O=[new gs(l+1,n-(l+1)+1,A+1,i-(A+1)+1)]:O=this.ComputeDiffRecursive(l+1,n,A+1,i,s),this.ConcatenateChanges(p,O)}return[new gs(t,n-t+1,r,i-r+1)]}WALKTRACE(t,n,r,i,s,a,o,u,l,A,p,O,B,ie,te,N,ue,Te){let Pe=null,Ue=null,be=new cp,Me=n,vt=r,wt=B[0]-N[0]-i,xe=-1073741824,Ne=this.m_forwardHistory.length-1;do{const st=wt+t;st===Me||st<vt&&l[st-1]<l[st+1]?(p=l[st+1],ie=p-wt-i,p<xe&&be.MarkNextChange(),xe=p,be.AddModifiedElement(p+1,ie),wt=st+1-t):(p=l[st-1]+1,ie=p-wt-i,p<xe&&be.MarkNextChange(),xe=p-1,be.AddOriginalElement(p,ie+1),wt=st-1-t),Ne>=0&&(l=this.m_forwardHistory[Ne],t=l[0],Me=1,vt=l.length-1)}while(--Ne>=-1);if(Pe=be.getReverseChanges(),Te[0]){let st=B[0]+1,Ve=N[0]+1;if(Pe!==null&&Pe.length>0){const $t=Pe[Pe.length-1];st=Math.max(st,$t.getOriginalEnd()),Ve=Math.max(Ve,$t.getModifiedEnd())}Ue=[new gs(st,O-st+1,Ve,te-Ve+1)]}else{be=new cp,Me=a,vt=o,wt=B[0]-N[0]-u,xe=1073741824,Ne=ue?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const st=wt+s;st===Me||st<vt&&A[st-1]>=A[st+1]?(p=A[st+1]-1,ie=p-wt-u,p>xe&&be.MarkNextChange(),xe=p+1,be.AddOriginalElement(p+1,ie+1),wt=st+1-s):(p=A[st-1],ie=p-wt-u,p>xe&&be.MarkNextChange(),xe=p,be.AddModifiedElement(p+1,ie+1),wt=st-1-s),Ne>=0&&(A=this.m_reverseHistory[Ne],s=A[0],Me=1,vt=A.length-1)}while(--Ne>=-1);Ue=be.getChanges()}return this.ConcatenateChanges(Pe,Ue)}ComputeRecursionPoint(t,n,r,i,s,a,o){let u=0,l=0,A=0,p=0,O=0,B=0;t--,r--,s[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const ie=n-t+(i-r),te=ie+1,N=new Int32Array(te),ue=new Int32Array(te),Te=i-r,Pe=n-t,Ue=t-r,be=n-i,vt=(Pe-Te)%2===0;N[Te]=t,ue[Pe]=n,o[0]=!1;for(let wt=1;wt<=ie/2+1;wt++){let xe=0,Ne=0;A=this.ClipDiagonalBound(Te-wt,wt,Te,te),p=this.ClipDiagonalBound(Te+wt,wt,Te,te);for(let Ve=A;Ve<=p;Ve+=2){Ve===A||Ve<p&&N[Ve-1]<N[Ve+1]?u=N[Ve+1]:u=N[Ve-1]+1,l=u-(Ve-Te)-Ue;const $t=u;for(;u<n&&l<i&&this.ElementsAreEqual(u+1,l+1);)u++,l++;if(N[Ve]=u,u+l>xe+Ne&&(xe=u,Ne=l),!vt&&Math.abs(Ve-Pe)<=wt-1&&u>=ue[Ve])return s[0]=u,a[0]=l,$t<=ue[Ve]&&1447>0&&wt<=1447+1?this.WALKTRACE(Te,A,p,Ue,Pe,O,B,be,N,ue,u,n,s,l,i,a,vt,o):null}const st=(xe-t+(Ne-r)-wt)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(xe,st))return o[0]=!0,s[0]=xe,a[0]=Ne,st>0&&1447>0&&wt<=1447+1?this.WALKTRACE(Te,A,p,Ue,Pe,O,B,be,N,ue,u,n,s,l,i,a,vt,o):(t++,r++,[new gs(t,n-t+1,r,i-r+1)]);O=this.ClipDiagonalBound(Pe-wt,wt,Pe,te),B=this.ClipDiagonalBound(Pe+wt,wt,Pe,te);for(let Ve=O;Ve<=B;Ve+=2){Ve===O||Ve<B&&ue[Ve-1]>=ue[Ve+1]?u=ue[Ve+1]-1:u=ue[Ve-1],l=u-(Ve-Pe)-be;const $t=u;for(;u>t&&l>r&&this.ElementsAreEqual(u,l);)u--,l--;if(ue[Ve]=u,vt&&Math.abs(Ve-Te)<=wt&&u<=N[Ve])return s[0]=u,a[0]=l,$t>=N[Ve]&&1447>0&&wt<=1447+1?this.WALKTRACE(Te,A,p,Ue,Pe,O,B,be,N,ue,u,n,s,l,i,a,vt,o):null}if(wt<=1447){let Ve=new Int32Array(p-A+2);Ve[0]=Te-A+1,la.Copy2(N,A,Ve,1,p-A+1),this.m_forwardHistory.push(Ve),Ve=new Int32Array(B-O+2),Ve[0]=Pe-O+1,la.Copy2(ue,O,Ve,1,B-O+1),this.m_reverseHistory.push(Ve)}}return this.WALKTRACE(Te,A,p,Ue,Pe,O,B,be,N,ue,u,n,s,l,i,a,vt,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 p=t[n-1];i=p.originalStart+p.originalLength,s=p.modifiedStart+p.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 p=1;;p++){const O=r.originalStart-p,B=r.modifiedStart-p;if(O<i||B<s||a&&!this.OriginalElementsAreEqual(O,O+r.originalLength)||o&&!this.ModifiedElementsAreEqual(B,B+r.modifiedLength))break;const te=(O===i&&B===s?5:0)+this._boundaryScore(O,r.originalLength,B,r.modifiedLength);te>l&&(l=te,u=p)}r.originalStart-=u,r.modifiedStart-=u;const A=[null];if(n>0&&this.ChangesOverlap(t[n-1],t[n],A)){t[n-1]=A[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,A=i.modifiedStart,p=s.modifiedStart+s.modifiedLength,O=p-A;if(a<5&&l<20&&O<20){const B=this._findBetterContiguousSequence(o,l,A,O,a);if(B){const[ie,te]=B;(ie!==i.originalStart+i.originalLength||te!==i.modifiedStart+i.modifiedLength)&&(i.originalLength=ie-i.originalStart,i.modifiedLength=te-i.modifiedStart,s.originalStart=ie+a,s.modifiedStart=te+a,s.originalLength=u-s.originalStart,s.modifiedLength=p-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,A=0;for(let p=t;p<a;p++)for(let O=r;O<o;O++){const B=this._contiguousSequenceScore(p,O,s);B>0&&B>u&&(u=B,l=p,A=O)}return u>0?[l,A]: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 la.Copy(t,0,i,0,t.length-1),i[t.length-1]=r[0],la.Copy(n,1,i,t.length,n.length-1),i}else{const i=new Array(t.length+n.length);return la.Copy(t,0,i,0,t.length),la.Copy(n,0,i,t.length,n.length),i}}ChangesOverlap(t,n,r){if(ua.Assert(t.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),ua.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 gs(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 ca;if(typeof ci.vscode<"u"&&typeof ci.vscode.process<"u"){const e=ci.vscode.process;ca={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process<"u"?ca={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:ca={get platform(){return Xa?"win32":ng?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const Uo=ca.cwd,Ig=ca.env,Mg=ca.platform,Og=65,jg=97,$g=90,Rg=122,Ds=46,Wr=47,fi=92,bs=58,Vg=63;class fp 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 Ug(e,t){if(e===null||typeof e!="object")throw new fp(t,"Object",e)}function _r(e,t){if(typeof e!="string")throw new fp(t,"string",e)}const vs=Mg==="win32";function Xn(e){return e===Wr||e===fi}function wl(e){return e===Wr}function Es(e){return e>=Og&&e<=$g||e>=jg&&e<=Rg}function qo(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=Wr}if(r(u)){if(!(a===l-1||o===1))if(o===2){if(i.length<2||s!==2||i.charCodeAt(i.length-1)!==Ds||i.charCodeAt(i.length-2)!==Ds){if(i.length>2){const A=i.lastIndexOf(n);A===-1?(i="",s=0):(i=i.slice(0,A),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===Ds&&o!==-1?++o:o=-1}return i}function pp(e,t){Ug(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 ii={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],_r(s,"path"),s.length===0)continue}else t.length===0?s=Uo():(s=Ig[`=${t}`]||Uo(),(s===void 0||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&s.charCodeAt(2)===fi)&&(s=`${t}\\`));const a=s.length;let o=0,u="",l=!1;const A=s.charCodeAt(0);if(a===1)Xn(A)&&(o=1,l=!0);else if(Xn(A))if(l=!0,Xn(s.charCodeAt(1))){let p=2,O=p;for(;p<a&&!Xn(s.charCodeAt(p));)p++;if(p<a&&p!==O){const B=s.slice(O,p);for(O=p;p<a&&Xn(s.charCodeAt(p));)p++;if(p<a&&p!==O){for(O=p;p<a&&!Xn(s.charCodeAt(p));)p++;(p===a||p!==O)&&(u=`\\\\${B}\\${s.slice(O,p)}`,o=p)}}}else o=1;else Es(A)&&s.charCodeAt(1)===bs&&(u=s.slice(0,2),o=2,a>2&&Xn(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=qo(n,!r,"\\",Xn),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){_r(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 wl(s)?"\\":e;if(Xn(s))if(i=!0,Xn(e.charCodeAt(1))){let o=2,u=o;for(;o<t&&!Xn(e.charCodeAt(o));)o++;if(o<t&&o!==u){const l=e.slice(u,o);for(u=o;o<t&&Xn(e.charCodeAt(o));)o++;if(o<t&&o!==u){for(u=o;o<t&&!Xn(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 Es(s)&&e.charCodeAt(1)===bs&&(r=e.slice(0,2),n=2,t>2&&Xn(e.charCodeAt(2))&&(i=!0,n=3));let a=n<t?qo(e.slice(n),!i,"\\",Xn):"";return a.length===0&&!i&&(a="."),a.length>0&&Xn(e.charCodeAt(t-1))&&(a+="\\"),r===void 0?i?`\\${a}`:a:i?`${r}\\${a}`:`${r}${a}`},isAbsolute(e){_r(e,"path");const t=e.length;if(t===0)return!1;const n=e.charCodeAt(0);return Xn(n)||t>2&&Es(n)&&e.charCodeAt(1)===bs&&Xn(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];_r(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"&&Xn(n.charCodeAt(0))){++i;const s=n.length;s>1&&Xn(n.charCodeAt(1))&&(++i,s>2&&(Xn(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i<t.length&&Xn(t.charCodeAt(i));)i++;i>=2&&(t=`\\${t.slice(i)}`)}return ii.normalize(t)},relative(e,t){if(_r(e,"from"),_r(t,"to"),e===t)return"";const n=ii.resolve(e),r=ii.resolve(t);if(n===r||(e=n.toLowerCase(),t=r.toLowerCase(),e===t))return"";let i=0;for(;i<e.length&&e.charCodeAt(i)===fi;)i++;let s=e.length;for(;s-1>i&&e.charCodeAt(s-1)===fi;)s--;const a=s-i;let o=0;for(;o<t.length&&t.charCodeAt(o)===fi;)o++;let u=t.length;for(;u-1>o&&t.charCodeAt(u-1)===fi;)u--;const l=u-o,A=a<l?a:l;let p=-1,O=0;for(;O<A;O++){const ie=e.charCodeAt(i+O);if(ie!==t.charCodeAt(o+O))break;ie===fi&&(p=O)}if(O!==A){if(p===-1)return r}else{if(l>A){if(t.charCodeAt(o+O)===fi)return r.slice(o+O+1);if(O===2)return r.slice(o+O)}a>A&&(e.charCodeAt(i+O)===fi?p=O:O===2&&(p=3)),p===-1&&(p=0)}let B="";for(O=i+p+1;O<=s;++O)(O===s||e.charCodeAt(O)===fi)&&(B+=B.length===0?"..":"\\..");return o+=p,B.length>0?`${B}${r.slice(o,u)}`:(r.charCodeAt(o)===fi&&++o,r.slice(o,u))},toNamespacedPath(e){if(typeof e!="string"||e.length===0)return e;const t=ii.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===fi){if(t.charCodeAt(1)===fi){const n=t.charCodeAt(2);if(n!==Vg&&n!==Ds)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(Es(t.charCodeAt(0))&&t.charCodeAt(1)===bs&&t.charCodeAt(2)===fi)return`\\\\?\\${t}`;return e},dirname(e){_r(e,"path");const t=e.length;if(t===0)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(t===1)return Xn(i)?e:".";if(Xn(i)){if(n=r=1,Xn(e.charCodeAt(1))){let o=2,u=o;for(;o<t&&!Xn(e.charCodeAt(o));)o++;if(o<t&&o!==u){for(u=o;o<t&&Xn(e.charCodeAt(o));)o++;if(o<t&&o!==u){for(u=o;o<t&&!Xn(e.charCodeAt(o));)o++;if(o===t)return e;o!==u&&(n=r=o+1)}}}}else Es(i)&&e.charCodeAt(1)===bs&&(n=t>2&&Xn(e.charCodeAt(2))?3:2,r=n);let s=-1,a=!0;for(let o=t-1;o>=r;--o)if(Xn(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&&_r(t,"ext"),_r(e,"path");let n=0,r=-1,i=!0,s;if(e.length>=2&&Es(e.charCodeAt(0))&&e.charCodeAt(1)===bs&&(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(Xn(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(Xn(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){_r(e,"path");let t=0,n=-1,r=0,i=-1,s=!0,a=0;e.length>=2&&e.charCodeAt(1)===bs&&Es(e.charCodeAt(0))&&(t=r=2);for(let o=e.length-1;o>=t;--o){const u=e.charCodeAt(o);if(Xn(u)){if(!s){r=o+1;break}continue}i===-1&&(s=!1,i=o+1),u===Ds?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:pp.bind(null,"\\"),parse(e){_r(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 Xn(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(Xn(i)){if(r=1,Xn(e.charCodeAt(1))){let p=2,O=p;for(;p<n&&!Xn(e.charCodeAt(p));)p++;if(p<n&&p!==O){for(O=p;p<n&&Xn(e.charCodeAt(p));)p++;if(p<n&&p!==O){for(O=p;p<n&&!Xn(e.charCodeAt(p));)p++;p===n?r=p:p!==O&&(r=p+1)}}}}else if(Es(i)&&e.charCodeAt(1)===bs){if(n<=2)return t.root=t.dir=e,t;if(r=2,Xn(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,A=0;for(;l>=r;--l){if(i=e.charCodeAt(l),Xn(i)){if(!u){a=l+1;break}continue}o===-1&&(u=!1,o=l+1),i===Ds?s===-1?s=l:A!==1&&(A=1):s!==-1&&(A=-1)}return o!==-1&&(s===-1||A===0||A===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},qg=(()=>{if(vs){const e=/\\/g;return()=>{const t=Uo().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>Uo()})(),pi={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:qg();_r(i,"path"),i.length!==0&&(t=`${i}/${t}`,n=i.charCodeAt(0)===Wr)}return t=qo(t,!n,"/",wl),n?`/${t}`:t.length>0?t:"."},normalize(e){if(_r(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===Wr,n=e.charCodeAt(e.length-1)===Wr;return e=qo(e,!t,"/",wl),e.length===0?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute(e){return _r(e,"path"),e.length>0&&e.charCodeAt(0)===Wr},join(...e){if(e.length===0)return".";let t;for(let n=0;n<e.length;++n){const r=e[n];_r(r,"path"),r.length>0&&(t===void 0?t=r:t+=`/${r}`)}return t===void 0?".":pi.normalize(t)},relative(e,t){if(_r(e,"from"),_r(t,"to"),e===t||(e=pi.resolve(e),t=pi.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 p=e.charCodeAt(n+l);if(p!==t.charCodeAt(s+l))break;p===Wr&&(u=l)}if(l===o)if(a>o){if(t.charCodeAt(s+l)===Wr)return t.slice(s+l+1);if(l===0)return t.slice(s+l)}else i>o&&(e.charCodeAt(n+l)===Wr?u=l:l===0&&(u=0));let A="";for(l=n+u+1;l<=r;++l)(l===r||e.charCodeAt(l)===Wr)&&(A+=A.length===0?"..":"/..");return`${A}${t.slice(s+u)}`},toNamespacedPath(e){return e},dirname(e){if(_r(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===Wr;let n=-1,r=!0;for(let i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===Wr){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&&_r(t,"ext"),_r(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===Wr){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)===Wr){if(!i){n=s+1;break}}else r===-1&&(i=!1,r=s+1);return r===-1?"":e.slice(n,r)},extname(e){_r(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===Wr){if(!i){n=a+1;break}continue}r===-1&&(i=!1,r=a+1),o===Ds?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:pp.bind(null,"/"),parse(e){_r(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.charCodeAt(0)===Wr;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 A=e.charCodeAt(u);if(A===Wr){if(!o){s=u+1;break}continue}a===-1&&(o=!1,a=u+1),A===Ds?i===-1?i=u:l!==1&&(l=1):i!==-1&&(l=-1)}if(a!==-1){const A=s===0&&n?1:s;i===-1||l===0||l===1&&i===a-1&&i===s+1?t.base=t.name=e.slice(A,a):(t.name=e.slice(A,i),t.base=e.slice(A,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};pi.win32=ii.win32=ii,pi.posix=ii.posix=pi,vs?ii.normalize:pi.normalize,vs?ii.resolve:pi.resolve,vs?ii.relative:pi.relative,vs?ii.dirname:pi.dirname,vs?ii.basename:pi.basename,vs?ii.extname:pi.extname,vs?ii.sep:pi.sep;const Wg=/^\w[\w\d+.-]*$/,Gg=/^\//,Jg=/^\/\//;function dp(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&&!Wg.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!Gg.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(Jg.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 Yg(e,t){return!e&&!t?"file":e}function Hg(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==$i&&(t=$i+t):t=$i;break}return t}const vr="",$i="/",zg=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;let Fl=class ml{static isUri(t){return t instanceof ml?!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||vr,this.authority=t.authority||vr,this.path=t.path||vr,this.query=t.query||vr,this.fragment=t.fragment||vr):(this.scheme=Yg(t,a),this.authority=n||vr,this.path=Hg(this.scheme,r||vr),this.query=i||vr,this.fragment=s||vr,dp(this,a))}get fsPath(){return Nl(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=vr),r===void 0?r=this.authority:r===null&&(r=vr),i===void 0?i=this.path:i===null&&(i=vr),s===void 0?s=this.query:s===null&&(s=vr),a===void 0?a=this.fragment:a===null&&(a=vr),n===this.scheme&&r===this.authority&&i===this.path&&s===this.query&&a===this.fragment?this:new fa(n,r,i,s,a)}static parse(t,n=!1){const r=zg.exec(t);return r?new fa(r[2]||vr,Wo(r[4]||vr),Wo(r[5]||vr),Wo(r[7]||vr),Wo(r[9]||vr),n):new fa(vr,vr,vr,vr,vr)}static file(t){let n=vr;if(Xa&&(t=t.replace(/\\/g,$i)),t[0]===$i&&t[1]===$i){const r=t.indexOf($i,2);r===-1?(n=t.substring(2),t=$i):(n=t.substring(2,r),t=t.substring(r)||$i)}return new fa("file",n,t,vr,vr)}static from(t){const n=new fa(t.scheme,t.authority,t.path,t.query,t.fragment);return dp(n,!0),n}static joinPath(t,...n){if(!t.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let r;return Xa&&t.scheme==="file"?r=ml.file(ii.join(Nl(t,!0),...n)).path:r=pi.join(t.path,...n),t.with({path:r})}toString(t=!1){return _l(this,t)}toJSON(){return this}static revive(t){if(t){if(t instanceof ml)return t;{const n=new fa(t);return n._formatted=t.external,n._fsPath=t._sep===hp?t.fsPath:null,n}}else return t}};const hp=Xa?1:void 0;class fa extends Fl{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=Nl(this,!1)),this._fsPath}toString(t=!1){return t?_l(this,!0):(this._formatted||(this._formatted=_l(this,!1)),this._formatted)}toJSON(){const t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=hp),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 mp={[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 gp(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=mp[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 Qg(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+=mp[r]):t!==void 0&&(t+=e[n])}return t!==void 0?t:e}function Nl(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,Xa&&(n=n.replace(/\//g,"\\")),n}function _l(e,t){const n=t?Qg:gp;let r="",{scheme:i,authority:s,path:a,query:o,fragment:u}=e;if(i&&(r+=i,r+=":"),(s||i==="file")&&(r+=$i,r+=$i),s){let l=s.indexOf("@");if(l!==-1){const A=s.substr(0,l);s=s.substr(l+1),l=A.lastIndexOf(":"),l===-1?r+=n(A,!1,!1):(r+=n(A.substr(0,l),!1,!1),r+=":",r+=n(A.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:gp(u,!1,!1)),r}function yp(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+yp(e.substr(3)):e}}const Dp=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Wo(e){return e.match(Dp)?e.replace(Dp,t=>yp(t)):e}let Qi=class ra{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 ra(t,n)}delta(t=0,n=0){return this.with(this.lineNumber+t,this.column+n)}equals(t){return ra.equals(this,t)}static equals(t,n){return!t&&!n?!0:!!t&&!!n&&t.lineNumber===n.lineNumber&&t.column===n.column}isBefore(t){return ra.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 ra.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 ra(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(t){return new ra(t.lineNumber,t.column)}static isIPosition(t){return t&&typeof t.lineNumber=="number"&&typeof t.column=="number"}},Xi=class Mr{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 Mr.isEmpty(this)}static isEmpty(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn}containsPosition(t){return Mr.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 Mr.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 Mr.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 Mr.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 Mr(r,i,s,a)}intersectRanges(t){return Mr.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,A=n.endColumn;return r<o?(r=o,i=u):r===o&&(i=Math.max(i,u)),s>l?(s=l,a=A):s===l&&(a=Math.min(a,A)),r>s||r===s&&i>a?null:new Mr(r,i,s,a)}equalsRange(t){return Mr.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 Mr.getEndPosition(this)}static getEndPosition(t){return new Qi(t.endLineNumber,t.endColumn)}getStartPosition(){return Mr.getStartPosition(this)}static getStartPosition(t){return new Qi(t.startLineNumber,t.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(t,n){return new Mr(this.startLineNumber,this.startColumn,t,n)}setStartPosition(t,n){return new Mr(t,n,this.endLineNumber,this.endColumn)}collapseToStart(){return Mr.collapseToStart(this)}static collapseToStart(t){return new Mr(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}collapseToEnd(){return Mr.collapseToEnd(this)}static collapseToEnd(t){return new Mr(t.endLineNumber,t.endColumn,t.endLineNumber,t.endColumn)}delta(t){return new Mr(this.startLineNumber+t,this.startColumn,this.endLineNumber+t,this.endColumn)}static fromPositions(t,n=t){return new Mr(t.lineNumber,t.column,n.lineNumber,n.column)}static lift(t){return t?new Mr(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,A=n.endLineNumber|0;if(l===A){const p=t.endColumn|0,O=n.endColumn|0;return p-O}return l-A}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}};var bp;(function(e){function t(i){return i<0}e.isLessThan=t;function n(i){return i>0}e.isGreaterThan=n;function r(i){return i===0}e.isNeitherLessOrGreaterThan=r,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(bp||(bp={}));function vp(e){return e<0?0:e>255?255:e|0}function pa(e){return e<0?0:e>4294967295?4294967295:e|0}class Xg{constructor(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(t,n){t=pa(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=pa(t),n=pa(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=pa(t),n=pa(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=pa(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 Kg(i,t-a)}}class Kg{constructor(t,n){this.index=t,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=t,this.remainder=n}}class Zg{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 Qi(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 Xg(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=yg(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 e1="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function t1(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of e1)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}const Ep=t1();function n1(e){let t=Ep;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 Ap=new $o;Ap.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Tl(e,t,n,r,i){if(i||(i=Mo.first(Ap)),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),Tl(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 A=a-i.windowSize*l;t.lastIndex=Math.max(0,A);const p=r1(t,n,a,o);if(!p&&u||(u=p,A<=0))break;o=A}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 r1(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 kl{constructor(t){const n=vp(t);this._defaultValue=n,this._asciiMap=kl._createAsciiMap(n),this._map=new Map}static _createAsciiMap(t){const n=new Uint8Array(256);return n.fill(t),n}set(t,n){const r=vp(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 i1{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 s1{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 i1(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 Ll=null;function a1(){return Ll===null&&(Ll=new s1([[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]])),Ll}let Ka=null;function o1(){if(Ka===null){Ka=new kl(0);const e=` <>'"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…`;for(let n=0;n<e.length;n++)Ka.set(e.charCodeAt(n),1);const t=".,;:";for(let n=0;n<t.length;n++)Ka.set(t.charCodeAt(n),2)}return Ka}class Go{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=a1()){const r=o1(),i=[];for(let s=1,a=t.getLineCount();s<=a;s++){const o=t.getLineContent(s),u=o.length;let l=0,A=0,p=0,O=1,B=!1,ie=!1,te=!1,N=!1;for(;l<u;){let ue=!1;const Te=o.charCodeAt(l);if(O===13){let Pe;switch(Te){case 40:B=!0,Pe=0;break;case 41:Pe=B?0:1;break;case 91:te=!0,ie=!0,Pe=0;break;case 93:te=!1,Pe=ie?0:1;break;case 123:N=!0,Pe=0;break;case 125:Pe=N?0:1;break;case 39:case 34:case 96:p===Te?Pe=1:p===39||p===34||p===96?Pe=0:Pe=1;break;case 42:Pe=p===42?1:0;break;case 124:Pe=p===124?1:0;break;case 32:Pe=te?0:1;break;default:Pe=r.get(Te)}Pe===1&&(i.push(Go._createLink(r,o,s,A,l)),ue=!0)}else if(O===12){let Pe;Te===91?(ie=!0,Pe=0):Pe=r.get(Te),Pe===1?ue=!0:O=13}else O=n.nextState(O,Te),O===0&&(ue=!0);ue&&(O=1,B=!1,ie=!1,N=!1,A=l+1,p=Te),l++}O===13&&i.push(Go._createLink(r,o,s,A,u))}return i}}function u1(e){return!e||typeof e.getLineCount!="function"||typeof e.getLineContent!="function"?[]:Go.computeLinks(e)}class Pl{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}}Pl.INSTANCE=new Pl;const Cp=Object.freeze(function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});var Jo;(function(e){function t(n){return n===e.None||n===e.Cancelled||n instanceof Yo?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Al.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Cp})})(Jo||(Jo={}));class Yo{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?Cp:(this._emitter||(this._emitter=new zi),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class l1{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 Yo),this._token}cancel(){this._token?this._token instanceof Yo&&this._token.cancel():this._token=Jo.Cancelled}dispose(t=!1){var n;t&&this.cancel(),(n=this._parentListener)===null||n===void 0||n.dispose(),this._token?this._token instanceof Yo&&this._token.dispose():this._token=Jo.None}}class Bl{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 Ho=new Bl,Il=new Bl,Ml=new Bl,c1=new Array(230),f1=Object.create(null),p1=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",0,"VK_F20",e,e],[1,118,"F21",79,"F21",0,"VK_F21",e,e],[1,119,"F22",80,"F22",0,"VK_F22",e,e],[1,120,"F23",81,"F23",0,"VK_F23",e,e],[1,121,"F24",82,"F24",0,"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,A,p,O,B]=i;if(r[a]||(r[a]=!0,f1[o]=a,p1[o.toLowerCase()]=a),!n[u]){if(n[u]=!0,!l)throw new Error(`String representation missing for key code ${u} around scan code ${o}`);Ho.define(u,l),Il.define(u,O||l),Ml.define(u,B||O||l)}A&&(c1[A]=u)}})();var Sp;(function(e){function t(o){return Ho.keyCodeToStr(o)}e.toString=t;function n(o){return Ho.strToKeyCode(o)}e.fromString=n;function r(o){return Il.keyCodeToStr(o)}e.toUserSettingsUS=r;function i(o){return Ml.keyCodeToStr(o)}e.toUserSettingsGeneral=i;function s(o){return Il.strToKeyCode(o)||Ml.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 Ho.keyCodeToStr(o)}e.toElectronAccelerator=a})(Sp||(Sp={}));function d1(e,t){const n=(t&65535)<<16>>>0;return(e|n)>>>0}class bi extends Xi{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 bi.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 bi(this.startLineNumber,this.startColumn,t,n):new bi(t,n,this.startLineNumber,this.startColumn)}getPosition(){return new Qi(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Qi(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(t,n){return this.getDirection()===0?new bi(t,n,this.endLineNumber,this.endColumn):new bi(this.endLineNumber,this.endColumn,t,n)}static fromPositions(t,n=t){return new bi(t.lineNumber,t.column,n.lineNumber,n.column)}static fromRange(t,n){return n===0?new bi(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new bi(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}static liftSelection(t){return new bi(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 bi(t,n,r,i):new bi(r,i,t,n)}}const xp=Object.create(null);function P(e,t){if(pg(t)){const n=xp[t];if(n===void 0)throw new Error(`${e} references an unknown codicon: ${t}`);t=n}return xp[e]=t,{id:e}}const Nn={add:P("add",6e4),plus:P("plus",6e4),gistNew:P("gist-new",6e4),repoCreate:P("repo-create",6e4),lightbulb:P("lightbulb",60001),lightBulb:P("light-bulb",60001),repo:P("repo",60002),repoDelete:P("repo-delete",60002),gistFork:P("gist-fork",60003),repoForked:P("repo-forked",60003),gitPullRequest:P("git-pull-request",60004),gitPullRequestAbandoned:P("git-pull-request-abandoned",60004),recordKeys:P("record-keys",60005),keyboard:P("keyboard",60005),tag:P("tag",60006),tagAdd:P("tag-add",60006),tagRemove:P("tag-remove",60006),person:P("person",60007),personFollow:P("person-follow",60007),personOutline:P("person-outline",60007),personFilled:P("person-filled",60007),gitBranch:P("git-branch",60008),gitBranchCreate:P("git-branch-create",60008),gitBranchDelete:P("git-branch-delete",60008),sourceControl:P("source-control",60008),mirror:P("mirror",60009),mirrorPublic:P("mirror-public",60009),star:P("star",60010),starAdd:P("star-add",60010),starDelete:P("star-delete",60010),starEmpty:P("star-empty",60010),comment:P("comment",60011),commentAdd:P("comment-add",60011),alert:P("alert",60012),warning:P("warning",60012),search:P("search",60013),searchSave:P("search-save",60013),logOut:P("log-out",60014),signOut:P("sign-out",60014),logIn:P("log-in",60015),signIn:P("sign-in",60015),eye:P("eye",60016),eyeUnwatch:P("eye-unwatch",60016),eyeWatch:P("eye-watch",60016),circleFilled:P("circle-filled",60017),primitiveDot:P("primitive-dot",60017),closeDirty:P("close-dirty",60017),debugBreakpoint:P("debug-breakpoint",60017),debugBreakpointDisabled:P("debug-breakpoint-disabled",60017),debugHint:P("debug-hint",60017),primitiveSquare:P("primitive-square",60018),edit:P("edit",60019),pencil:P("pencil",60019),info:P("info",60020),issueOpened:P("issue-opened",60020),gistPrivate:P("gist-private",60021),gitForkPrivate:P("git-fork-private",60021),lock:P("lock",60021),mirrorPrivate:P("mirror-private",60021),close:P("close",60022),removeClose:P("remove-close",60022),x:P("x",60022),repoSync:P("repo-sync",60023),sync:P("sync",60023),clone:P("clone",60024),desktopDownload:P("desktop-download",60024),beaker:P("beaker",60025),microscope:P("microscope",60025),vm:P("vm",60026),deviceDesktop:P("device-desktop",60026),file:P("file",60027),fileText:P("file-text",60027),more:P("more",60028),ellipsis:P("ellipsis",60028),kebabHorizontal:P("kebab-horizontal",60028),mailReply:P("mail-reply",60029),reply:P("reply",60029),organization:P("organization",60030),organizationFilled:P("organization-filled",60030),organizationOutline:P("organization-outline",60030),newFile:P("new-file",60031),fileAdd:P("file-add",60031),newFolder:P("new-folder",60032),fileDirectoryCreate:P("file-directory-create",60032),trash:P("trash",60033),trashcan:P("trashcan",60033),history:P("history",60034),clock:P("clock",60034),folder:P("folder",60035),fileDirectory:P("file-directory",60035),symbolFolder:P("symbol-folder",60035),logoGithub:P("logo-github",60036),markGithub:P("mark-github",60036),github:P("github",60036),terminal:P("terminal",60037),console:P("console",60037),repl:P("repl",60037),zap:P("zap",60038),symbolEvent:P("symbol-event",60038),error:P("error",60039),stop:P("stop",60039),variable:P("variable",60040),symbolVariable:P("symbol-variable",60040),array:P("array",60042),symbolArray:P("symbol-array",60042),symbolModule:P("symbol-module",60043),symbolPackage:P("symbol-package",60043),symbolNamespace:P("symbol-namespace",60043),symbolObject:P("symbol-object",60043),symbolMethod:P("symbol-method",60044),symbolFunction:P("symbol-function",60044),symbolConstructor:P("symbol-constructor",60044),symbolBoolean:P("symbol-boolean",60047),symbolNull:P("symbol-null",60047),symbolNumeric:P("symbol-numeric",60048),symbolNumber:P("symbol-number",60048),symbolStructure:P("symbol-structure",60049),symbolStruct:P("symbol-struct",60049),symbolParameter:P("symbol-parameter",60050),symbolTypeParameter:P("symbol-type-parameter",60050),symbolKey:P("symbol-key",60051),symbolText:P("symbol-text",60051),symbolReference:P("symbol-reference",60052),goToFile:P("go-to-file",60052),symbolEnum:P("symbol-enum",60053),symbolValue:P("symbol-value",60053),symbolRuler:P("symbol-ruler",60054),symbolUnit:P("symbol-unit",60054),activateBreakpoints:P("activate-breakpoints",60055),archive:P("archive",60056),arrowBoth:P("arrow-both",60057),arrowDown:P("arrow-down",60058),arrowLeft:P("arrow-left",60059),arrowRight:P("arrow-right",60060),arrowSmallDown:P("arrow-small-down",60061),arrowSmallLeft:P("arrow-small-left",60062),arrowSmallRight:P("arrow-small-right",60063),arrowSmallUp:P("arrow-small-up",60064),arrowUp:P("arrow-up",60065),bell:P("bell",60066),bold:P("bold",60067),book:P("book",60068),bookmark:P("bookmark",60069),debugBreakpointConditionalUnverified:P("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:P("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:P("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:P("debug-breakpoint-data-unverified",60072),debugBreakpointData:P("debug-breakpoint-data",60073),debugBreakpointDataDisabled:P("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:P("debug-breakpoint-log-unverified",60074),debugBreakpointLog:P("debug-breakpoint-log",60075),debugBreakpointLogDisabled:P("debug-breakpoint-log-disabled",60075),briefcase:P("briefcase",60076),broadcast:P("broadcast",60077),browser:P("browser",60078),bug:P("bug",60079),calendar:P("calendar",60080),caseSensitive:P("case-sensitive",60081),check:P("check",60082),checklist:P("checklist",60083),chevronDown:P("chevron-down",60084),dropDownButton:P("drop-down-button",60084),chevronLeft:P("chevron-left",60085),chevronRight:P("chevron-right",60086),chevronUp:P("chevron-up",60087),chromeClose:P("chrome-close",60088),chromeMaximize:P("chrome-maximize",60089),chromeMinimize:P("chrome-minimize",60090),chromeRestore:P("chrome-restore",60091),circle:P("circle",60092),circleOutline:P("circle-outline",60092),debugBreakpointUnverified:P("debug-breakpoint-unverified",60092),circleSlash:P("circle-slash",60093),circuitBoard:P("circuit-board",60094),clearAll:P("clear-all",60095),clippy:P("clippy",60096),closeAll:P("close-all",60097),cloudDownload:P("cloud-download",60098),cloudUpload:P("cloud-upload",60099),code:P("code",60100),collapseAll:P("collapse-all",60101),colorMode:P("color-mode",60102),commentDiscussion:P("comment-discussion",60103),compareChanges:P("compare-changes",60157),creditCard:P("credit-card",60105),dash:P("dash",60108),dashboard:P("dashboard",60109),database:P("database",60110),debugContinue:P("debug-continue",60111),debugDisconnect:P("debug-disconnect",60112),debugPause:P("debug-pause",60113),debugRestart:P("debug-restart",60114),debugStart:P("debug-start",60115),debugStepInto:P("debug-step-into",60116),debugStepOut:P("debug-step-out",60117),debugStepOver:P("debug-step-over",60118),debugStop:P("debug-stop",60119),debug:P("debug",60120),deviceCameraVideo:P("device-camera-video",60121),deviceCamera:P("device-camera",60122),deviceMobile:P("device-mobile",60123),diffAdded:P("diff-added",60124),diffIgnored:P("diff-ignored",60125),diffModified:P("diff-modified",60126),diffRemoved:P("diff-removed",60127),diffRenamed:P("diff-renamed",60128),diff:P("diff",60129),discard:P("discard",60130),editorLayout:P("editor-layout",60131),emptyWindow:P("empty-window",60132),exclude:P("exclude",60133),extensions:P("extensions",60134),eyeClosed:P("eye-closed",60135),fileBinary:P("file-binary",60136),fileCode:P("file-code",60137),fileMedia:P("file-media",60138),filePdf:P("file-pdf",60139),fileSubmodule:P("file-submodule",60140),fileSymlinkDirectory:P("file-symlink-directory",60141),fileSymlinkFile:P("file-symlink-file",60142),fileZip:P("file-zip",60143),files:P("files",60144),filter:P("filter",60145),flame:P("flame",60146),foldDown:P("fold-down",60147),foldUp:P("fold-up",60148),fold:P("fold",60149),folderActive:P("folder-active",60150),folderOpened:P("folder-opened",60151),gear:P("gear",60152),gift:P("gift",60153),gistSecret:P("gist-secret",60154),gist:P("gist",60155),gitCommit:P("git-commit",60156),gitCompare:P("git-compare",60157),gitMerge:P("git-merge",60158),githubAction:P("github-action",60159),githubAlt:P("github-alt",60160),globe:P("globe",60161),grabber:P("grabber",60162),graph:P("graph",60163),gripper:P("gripper",60164),heart:P("heart",60165),home:P("home",60166),horizontalRule:P("horizontal-rule",60167),hubot:P("hubot",60168),inbox:P("inbox",60169),issueClosed:P("issue-closed",60324),issueReopened:P("issue-reopened",60171),issues:P("issues",60172),italic:P("italic",60173),jersey:P("jersey",60174),json:P("json",60175),bracket:P("bracket",60175),kebabVertical:P("kebab-vertical",60176),key:P("key",60177),law:P("law",60178),lightbulbAutofix:P("lightbulb-autofix",60179),linkExternal:P("link-external",60180),link:P("link",60181),listOrdered:P("list-ordered",60182),listUnordered:P("list-unordered",60183),liveShare:P("live-share",60184),loading:P("loading",60185),location:P("location",60186),mailRead:P("mail-read",60187),mail:P("mail",60188),markdown:P("markdown",60189),megaphone:P("megaphone",60190),mention:P("mention",60191),milestone:P("milestone",60192),mortarBoard:P("mortar-board",60193),move:P("move",60194),multipleWindows:P("multiple-windows",60195),mute:P("mute",60196),noNewline:P("no-newline",60197),note:P("note",60198),octoface:P("octoface",60199),openPreview:P("open-preview",60200),package_:P("package",60201),paintcan:P("paintcan",60202),pin:P("pin",60203),play:P("play",60204),run:P("run",60204),plug:P("plug",60205),preserveCase:P("preserve-case",60206),preview:P("preview",60207),project:P("project",60208),pulse:P("pulse",60209),question:P("question",60210),quote:P("quote",60211),radioTower:P("radio-tower",60212),reactions:P("reactions",60213),references:P("references",60214),refresh:P("refresh",60215),regex:P("regex",60216),remoteExplorer:P("remote-explorer",60217),remote:P("remote",60218),remove:P("remove",60219),replaceAll:P("replace-all",60220),replace:P("replace",60221),repoClone:P("repo-clone",60222),repoForcePush:P("repo-force-push",60223),repoPull:P("repo-pull",60224),repoPush:P("repo-push",60225),report:P("report",60226),requestChanges:P("request-changes",60227),rocket:P("rocket",60228),rootFolderOpened:P("root-folder-opened",60229),rootFolder:P("root-folder",60230),rss:P("rss",60231),ruby:P("ruby",60232),saveAll:P("save-all",60233),saveAs:P("save-as",60234),save:P("save",60235),screenFull:P("screen-full",60236),screenNormal:P("screen-normal",60237),searchStop:P("search-stop",60238),server:P("server",60240),settingsGear:P("settings-gear",60241),settings:P("settings",60242),shield:P("shield",60243),smiley:P("smiley",60244),sortPrecedence:P("sort-precedence",60245),splitHorizontal:P("split-horizontal",60246),splitVertical:P("split-vertical",60247),squirrel:P("squirrel",60248),starFull:P("star-full",60249),starHalf:P("star-half",60250),symbolClass:P("symbol-class",60251),symbolColor:P("symbol-color",60252),symbolCustomColor:P("symbol-customcolor",60252),symbolConstant:P("symbol-constant",60253),symbolEnumMember:P("symbol-enum-member",60254),symbolField:P("symbol-field",60255),symbolFile:P("symbol-file",60256),symbolInterface:P("symbol-interface",60257),symbolKeyword:P("symbol-keyword",60258),symbolMisc:P("symbol-misc",60259),symbolOperator:P("symbol-operator",60260),symbolProperty:P("symbol-property",60261),wrench:P("wrench",60261),wrenchSubaction:P("wrench-subaction",60261),symbolSnippet:P("symbol-snippet",60262),tasklist:P("tasklist",60263),telescope:P("telescope",60264),textSize:P("text-size",60265),threeBars:P("three-bars",60266),thumbsdown:P("thumbsdown",60267),thumbsup:P("thumbsup",60268),tools:P("tools",60269),triangleDown:P("triangle-down",60270),triangleLeft:P("triangle-left",60271),triangleRight:P("triangle-right",60272),triangleUp:P("triangle-up",60273),twitter:P("twitter",60274),unfold:P("unfold",60275),unlock:P("unlock",60276),unmute:P("unmute",60277),unverified:P("unverified",60278),verified:P("verified",60279),versions:P("versions",60280),vmActive:P("vm-active",60281),vmOutline:P("vm-outline",60282),vmRunning:P("vm-running",60283),watch:P("watch",60284),whitespace:P("whitespace",60285),wholeWord:P("whole-word",60286),window:P("window",60287),wordWrap:P("word-wrap",60288),zoomIn:P("zoom-in",60289),zoomOut:P("zoom-out",60290),listFilter:P("list-filter",60291),listFlat:P("list-flat",60292),listSelection:P("list-selection",60293),selection:P("selection",60293),listTree:P("list-tree",60294),debugBreakpointFunctionUnverified:P("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:P("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:P("debug-breakpoint-function-disabled",60296),debugStackframeActive:P("debug-stackframe-active",60297),circleSmallFilled:P("circle-small-filled",60298),debugStackframeDot:P("debug-stackframe-dot",60298),debugStackframe:P("debug-stackframe",60299),debugStackframeFocused:P("debug-stackframe-focused",60299),debugBreakpointUnsupported:P("debug-breakpoint-unsupported",60300),symbolString:P("symbol-string",60301),debugReverseContinue:P("debug-reverse-continue",60302),debugStepBack:P("debug-step-back",60303),debugRestartFrame:P("debug-restart-frame",60304),callIncoming:P("call-incoming",60306),callOutgoing:P("call-outgoing",60307),menu:P("menu",60308),expandAll:P("expand-all",60309),feedback:P("feedback",60310),groupByRefType:P("group-by-ref-type",60311),ungroupByRefType:P("ungroup-by-ref-type",60312),account:P("account",60313),bellDot:P("bell-dot",60314),debugConsole:P("debug-console",60315),library:P("library",60316),output:P("output",60317),runAll:P("run-all",60318),syncIgnored:P("sync-ignored",60319),pinned:P("pinned",60320),githubInverted:P("github-inverted",60321),debugAlt:P("debug-alt",60305),serverProcess:P("server-process",60322),serverEnvironment:P("server-environment",60323),pass:P("pass",60324),stopCircle:P("stop-circle",60325),playCircle:P("play-circle",60326),record:P("record",60327),debugAltSmall:P("debug-alt-small",60328),vmConnect:P("vm-connect",60329),cloud:P("cloud",60330),merge:P("merge",60331),exportIcon:P("export",60332),graphLeft:P("graph-left",60333),magnet:P("magnet",60334),notebook:P("notebook",60335),redo:P("redo",60336),checkAll:P("check-all",60337),pinnedDirty:P("pinned-dirty",60338),passFilled:P("pass-filled",60339),circleLargeFilled:P("circle-large-filled",60340),circleLarge:P("circle-large",60341),circleLargeOutline:P("circle-large-outline",60341),combine:P("combine",60342),gather:P("gather",60342),table:P("table",60343),variableGroup:P("variable-group",60344),typeHierarchy:P("type-hierarchy",60345),typeHierarchySub:P("type-hierarchy-sub",60346),typeHierarchySuper:P("type-hierarchy-super",60347),gitPullRequestCreate:P("git-pull-request-create",60348),runAbove:P("run-above",60349),runBelow:P("run-below",60350),notebookTemplate:P("notebook-template",60351),debugRerun:P("debug-rerun",60352),workspaceTrusted:P("workspace-trusted",60353),workspaceUntrusted:P("workspace-untrusted",60354),workspaceUnspecified:P("workspace-unspecified",60355),terminalCmd:P("terminal-cmd",60356),terminalDebian:P("terminal-debian",60357),terminalLinux:P("terminal-linux",60358),terminalPowershell:P("terminal-powershell",60359),terminalTmux:P("terminal-tmux",60360),terminalUbuntu:P("terminal-ubuntu",60361),terminalBash:P("terminal-bash",60362),arrowSwap:P("arrow-swap",60363),copy:P("copy",60364),personAdd:P("person-add",60365),filterFilled:P("filter-filled",60366),wand:P("wand",60367),debugLineByLine:P("debug-line-by-line",60368),inspect:P("inspect",60369),layers:P("layers",60370),layersDot:P("layers-dot",60371),layersActive:P("layers-active",60372),compass:P("compass",60373),compassDot:P("compass-dot",60374),compassActive:P("compass-active",60375),azure:P("azure",60376),issueDraft:P("issue-draft",60377),gitPullRequestClosed:P("git-pull-request-closed",60378),gitPullRequestDraft:P("git-pull-request-draft",60379),debugAll:P("debug-all",60380),debugCoverage:P("debug-coverage",60381),runErrors:P("run-errors",60382),folderLibrary:P("folder-library",60383),debugContinueSmall:P("debug-continue-small",60384),beakerStop:P("beaker-stop",60385),graphLine:P("graph-line",60386),graphScatter:P("graph-scatter",60387),pieChart:P("pie-chart",60388),bracketDot:P("bracket-dot",60389),bracketError:P("bracket-error",60390),lockSmall:P("lock-small",60391),azureDevops:P("azure-devops",60392),verifiedFilled:P("verified-filled",60393),newLine:P("newline",60394),layout:P("layout",60395),layoutActivitybarLeft:P("layout-activitybar-left",60396),layoutActivitybarRight:P("layout-activitybar-right",60397),layoutPanelLeft:P("layout-panel-left",60398),layoutPanelCenter:P("layout-panel-center",60399),layoutPanelJustify:P("layout-panel-justify",60400),layoutPanelRight:P("layout-panel-right",60401),layoutPanel:P("layout-panel",60402),layoutSidebarLeft:P("layout-sidebar-left",60403),layoutSidebarRight:P("layout-sidebar-right",60404),layoutStatusbar:P("layout-statusbar",60405),layoutMenubar:P("layout-menubar",60406),layoutCentered:P("layout-centered",60407),layoutSidebarRightOff:P("layout-sidebar-right-off",60416),layoutPanelOff:P("layout-panel-off",60417),layoutSidebarLeftOff:P("layout-sidebar-left-off",60418),target:P("target",60408),indent:P("indent",60409),recordSmall:P("record-small",60410),errorSmall:P("error-small",60411),arrowCircleDown:P("arrow-circle-down",60412),arrowCircleLeft:P("arrow-circle-left",60413),arrowCircleRight:P("arrow-circle-right",60414),arrowCircleUp:P("arrow-circle-up",60415),heartFilled:P("heart-filled",60420),map:P("map",60421),mapFilled:P("map-filled",60422),circleSmall:P("circle-small",60423),bellSlash:P("bell-slash",60424),bellSlashDot:P("bell-slash-dot",60425),commentUnresolved:P("comment-unresolved",60426),gitPullRequestGoToChanges:P("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:P("git-pull-request-new-changes",60428),searchFuzzy:P("search-fuzzy",60429),commentDraft:P("comment-draft",60430),send:P("send",60431),sparkle:P("sparkle",60432),insert:P("insert",60433),dialogError:P("dialog-error","error"),dialogWarning:P("dialog-warning","warning"),dialogInfo:P("dialog-info","info"),dialogClose:P("dialog-close","close"),treeItemExpanded:P("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:P("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:P("tree-filter-on-type-off","list-selection"),treeFilterClear:P("tree-filter-clear","close"),treeItemLoading:P("tree-item-loading","loading"),menuSelection:P("menu-selection","check"),menuSubmenu:P("menu-submenu","chevron-right"),menuBarMore:P("menubar-more","more"),scrollbarButtonLeft:P("scrollbar-button-left","triangle-left"),scrollbarButtonRight:P("scrollbar-button-right","triangle-right"),scrollbarButtonUp:P("scrollbar-button-up","triangle-up"),scrollbarButtonDown:P("scrollbar-button-down","triangle-down"),toolBarMore:P("toolbar-more","more"),quickInputBack:P("quick-input-back","arrow-left")};var Ol=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(A){try{l(r.next(A))}catch(p){a(p)}}function u(A){try{l(r.throw(A))}catch(p){a(p)}}function l(A){A.done?s(A.value):i(A.value).then(o,u)}l((r=r.apply(e,t||[])).next())})};class h1{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new zi,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]),Oo(()=>{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 m1(this,t,n);return this._factories.set(t,i),Oo(()=>{const s=this._factories.get(t);!s||s!==i||(this._factories.delete(t),s.dispose())})}getOrCreate(t){return Ol(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 m1 extends jo{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 Ol(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return Ol(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 g1{constructor(t,n,r){this.offset=t,this.type=n,this.language=r,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}var wp;(function(e){const t=new Map;t.set(0,Nn.symbolMethod),t.set(1,Nn.symbolFunction),t.set(2,Nn.symbolConstructor),t.set(3,Nn.symbolField),t.set(4,Nn.symbolVariable),t.set(5,Nn.symbolClass),t.set(6,Nn.symbolStruct),t.set(7,Nn.symbolInterface),t.set(8,Nn.symbolModule),t.set(9,Nn.symbolProperty),t.set(10,Nn.symbolEvent),t.set(11,Nn.symbolOperator),t.set(12,Nn.symbolUnit),t.set(13,Nn.symbolValue),t.set(15,Nn.symbolEnum),t.set(14,Nn.symbolConstant),t.set(15,Nn.symbolEnum),t.set(16,Nn.symbolEnumMember),t.set(17,Nn.symbolKeyword),t.set(27,Nn.symbolSnippet),t.set(18,Nn.symbolText),t.set(19,Nn.symbolColor),t.set(20,Nn.symbolFile),t.set(21,Nn.symbolReference),t.set(22,Nn.symbolCustomColor),t.set(23,Nn.symbolFolder),t.set(24,Nn.symbolTypeParameter),t.set(25,Nn.account),t.set(26,Nn.issues);function n(s){let a=t.get(s);return a||(console.info("No codicon found for CompletionItemKind "+s),a=Nn.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})(wp||(wp={}));var Fp;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(Fp||(Fp={}));var Np;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(Np||(Np={}));var _p;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(_p||(_p={}));var Tp;(function(e){const t=new Map;t.set(0,Nn.symbolFile),t.set(1,Nn.symbolModule),t.set(2,Nn.symbolNamespace),t.set(3,Nn.symbolPackage),t.set(4,Nn.symbolClass),t.set(5,Nn.symbolMethod),t.set(6,Nn.symbolProperty),t.set(7,Nn.symbolField),t.set(8,Nn.symbolConstructor),t.set(9,Nn.symbolEnum),t.set(10,Nn.symbolInterface),t.set(11,Nn.symbolFunction),t.set(12,Nn.symbolVariable),t.set(13,Nn.symbolConstant),t.set(14,Nn.symbolString),t.set(15,Nn.symbolNumber),t.set(16,Nn.symbolBoolean),t.set(17,Nn.symbolArray),t.set(18,Nn.symbolObject),t.set(19,Nn.symbolKey),t.set(20,Nn.symbolNull),t.set(21,Nn.symbolEnumMember),t.set(22,Nn.symbolStruct),t.set(23,Nn.symbolEvent),t.set(24,Nn.symbolOperator),t.set(25,Nn.symbolTypeParameter);function n(r){let i=t.get(r);return i||(console.info("No codicon found for SymbolKind "+r),i=Nn.symbolProperty),i}e.toIcon=n})(Tp||(Tp={}));var kp;(function(e){function t(n){return!n||typeof n!="object"?!1:typeof n.id=="string"&&typeof n.title=="string"}e.is=t})(kp||(kp={}));var Lp;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(Lp||(Lp={})),new h1;var Pp;(function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"})(Pp||(Pp={}));var Bp;(function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"})(Bp||(Bp={}));var Ip;(function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"})(Ip||(Ip={}));var Mp;(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"})(Mp||(Mp={}));var Op;(function(e){e[e.Deprecated=1]="Deprecated"})(Op||(Op={}));var jp;(function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(jp||(jp={}));var $p;(function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"})($p||($p={}));var Rp;(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"})(Rp||(Rp={}));var Vp;(function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(Vp||(Vp={}));var Up;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(Up||(Up={}));var qp;(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"})(qp||(qp={}));var Wp;(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.autoClosingBrackets=5]="autoClosingBrackets",e[e.screenReaderAnnounceInlineSuggestion=6]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=7]="autoClosingDelete",e[e.autoClosingOvertype=8]="autoClosingOvertype",e[e.autoClosingQuotes=9]="autoClosingQuotes",e[e.autoIndent=10]="autoIndent",e[e.automaticLayout=11]="automaticLayout",e[e.autoSurround=12]="autoSurround",e[e.bracketPairColorization=13]="bracketPairColorization",e[e.guides=14]="guides",e[e.codeLens=15]="codeLens",e[e.codeLensFontFamily=16]="codeLensFontFamily",e[e.codeLensFontSize=17]="codeLensFontSize",e[e.colorDecorators=18]="colorDecorators",e[e.colorDecoratorsLimit=19]="colorDecoratorsLimit",e[e.columnSelection=20]="columnSelection",e[e.comments=21]="comments",e[e.contextmenu=22]="contextmenu",e[e.copyWithSyntaxHighlighting=23]="copyWithSyntaxHighlighting",e[e.cursorBlinking=24]="cursorBlinking",e[e.cursorSmoothCaretAnimation=25]="cursorSmoothCaretAnimation",e[e.cursorStyle=26]="cursorStyle",e[e.cursorSurroundingLines=27]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=28]="cursorSurroundingLinesStyle",e[e.cursorWidth=29]="cursorWidth",e[e.disableLayerHinting=30]="disableLayerHinting",e[e.disableMonospaceOptimizations=31]="disableMonospaceOptimizations",e[e.domReadOnly=32]="domReadOnly",e[e.dragAndDrop=33]="dragAndDrop",e[e.dropIntoEditor=34]="dropIntoEditor",e[e.emptySelectionClipboard=35]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=36]="experimentalWhitespaceRendering",e[e.extraEditorClassName=37]="extraEditorClassName",e[e.fastScrollSensitivity=38]="fastScrollSensitivity",e[e.find=39]="find",e[e.fixedOverflowWidgets=40]="fixedOverflowWidgets",e[e.folding=41]="folding",e[e.foldingStrategy=42]="foldingStrategy",e[e.foldingHighlight=43]="foldingHighlight",e[e.foldingImportsByDefault=44]="foldingImportsByDefault",e[e.foldingMaximumRegions=45]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=46]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=47]="fontFamily",e[e.fontInfo=48]="fontInfo",e[e.fontLigatures=49]="fontLigatures",e[e.fontSize=50]="fontSize",e[e.fontWeight=51]="fontWeight",e[e.fontVariations=52]="fontVariations",e[e.formatOnPaste=53]="formatOnPaste",e[e.formatOnType=54]="formatOnType",e[e.glyphMargin=55]="glyphMargin",e[e.gotoLocation=56]="gotoLocation",e[e.hideCursorInOverviewRuler=57]="hideCursorInOverviewRuler",e[e.hover=58]="hover",e[e.inDiffEditor=59]="inDiffEditor",e[e.inlineSuggest=60]="inlineSuggest",e[e.letterSpacing=61]="letterSpacing",e[e.lightbulb=62]="lightbulb",e[e.lineDecorationsWidth=63]="lineDecorationsWidth",e[e.lineHeight=64]="lineHeight",e[e.lineNumbers=65]="lineNumbers",e[e.lineNumbersMinChars=66]="lineNumbersMinChars",e[e.linkedEditing=67]="linkedEditing",e[e.links=68]="links",e[e.matchBrackets=69]="matchBrackets",e[e.minimap=70]="minimap",e[e.mouseStyle=71]="mouseStyle",e[e.mouseWheelScrollSensitivity=72]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=73]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=74]="multiCursorMergeOverlapping",e[e.multiCursorModifier=75]="multiCursorModifier",e[e.multiCursorPaste=76]="multiCursorPaste",e[e.multiCursorLimit=77]="multiCursorLimit",e[e.occurrencesHighlight=78]="occurrencesHighlight",e[e.overviewRulerBorder=79]="overviewRulerBorder",e[e.overviewRulerLanes=80]="overviewRulerLanes",e[e.padding=81]="padding",e[e.parameterHints=82]="parameterHints",e[e.peekWidgetDefaultFocus=83]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=84]="definitionLinkOpensInPeek",e[e.quickSuggestions=85]="quickSuggestions",e[e.quickSuggestionsDelay=86]="quickSuggestionsDelay",e[e.readOnly=87]="readOnly",e[e.renameOnType=88]="renameOnType",e[e.renderControlCharacters=89]="renderControlCharacters",e[e.renderFinalNewline=90]="renderFinalNewline",e[e.renderLineHighlight=91]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=92]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=93]="renderValidationDecorations",e[e.renderWhitespace=94]="renderWhitespace",e[e.revealHorizontalRightPadding=95]="revealHorizontalRightPadding",e[e.roundedSelection=96]="roundedSelection",e[e.rulers=97]="rulers",e[e.scrollbar=98]="scrollbar",e[e.scrollBeyondLastColumn=99]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=100]="scrollBeyondLastLine",e[e.scrollPredominantAxis=101]="scrollPredominantAxis",e[e.selectionClipboard=102]="selectionClipboard",e[e.selectionHighlight=103]="selectionHighlight",e[e.selectOnLineNumbers=104]="selectOnLineNumbers",e[e.showFoldingControls=105]="showFoldingControls",e[e.showUnused=106]="showUnused",e[e.snippetSuggestions=107]="snippetSuggestions",e[e.smartSelect=108]="smartSelect",e[e.smoothScrolling=109]="smoothScrolling",e[e.stickyScroll=110]="stickyScroll",e[e.stickyTabStops=111]="stickyTabStops",e[e.stopRenderingLineAfter=112]="stopRenderingLineAfter",e[e.suggest=113]="suggest",e[e.suggestFontSize=114]="suggestFontSize",e[e.suggestLineHeight=115]="suggestLineHeight",e[e.suggestOnTriggerCharacters=116]="suggestOnTriggerCharacters",e[e.suggestSelection=117]="suggestSelection",e[e.tabCompletion=118]="tabCompletion",e[e.tabIndex=119]="tabIndex",e[e.unicodeHighlighting=120]="unicodeHighlighting",e[e.unusualLineTerminators=121]="unusualLineTerminators",e[e.useShadowDOM=122]="useShadowDOM",e[e.useTabStops=123]="useTabStops",e[e.wordBreak=124]="wordBreak",e[e.wordSeparators=125]="wordSeparators",e[e.wordWrap=126]="wordWrap",e[e.wordWrapBreakAfterCharacters=127]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=128]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=129]="wordWrapColumn",e[e.wordWrapOverride1=130]="wordWrapOverride1",e[e.wordWrapOverride2=131]="wordWrapOverride2",e[e.wrappingIndent=132]="wrappingIndent",e[e.wrappingStrategy=133]="wrappingStrategy",e[e.showDeprecated=134]="showDeprecated",e[e.inlayHints=135]="inlayHints",e[e.editorClassName=136]="editorClassName",e[e.pixelRatio=137]="pixelRatio",e[e.tabFocusMode=138]="tabFocusMode",e[e.layoutInfo=139]="layoutInfo",e[e.wrappingInfo=140]="wrappingInfo",e[e.defaultColorDecorators=141]="defaultColorDecorators"})(Wp||(Wp={}));var Gp;(function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(Gp||(Gp={}));var Jp;(function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"})(Jp||(Jp={}));var Yp;(function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"})(Yp||(Yp={}));var Hp;(function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"})(Hp||(Hp={}));var zp;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(zp||(zp={}));var Qp;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(Qp||(Qp={}));var Xp;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(Xp||(Xp={}));var jl;(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"})(jl||(jl={}));var $l;(function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"})($l||($l={}));var Rl;(function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"})(Rl||(Rl={}));var Kp;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(Kp||(Kp={}));var Zp;(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"})(Zp||(Zp={}));var ed;(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"})(ed||(ed={}));var td;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(td||(td={}));var nd;(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"})(nd||(nd={}));var rd;(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"})(rd||(rd={}));var id;(function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"})(id||(id={}));var sd;(function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"})(sd||(sd={}));var ad;(function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"})(ad||(ad={}));var Vl;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(Vl||(Vl={}));var od;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(od||(od={}));var ud;(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"})(ud||(ud={}));var ld;(function(e){e[e.Deprecated=1]="Deprecated"})(ld||(ld={}));var cd;(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"})(cd||(cd={}));var fd;(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"})(fd||(fd={}));var pd;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(pd||(pd={}));var dd;(function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"})(dd||(dd={}));class Za{static chord(t,n){return d1(t,n)}}Za.CtrlCmd=2048,Za.Shift=1024,Za.Alt=512,Za.WinCtrl=256;function y1(){return{editor:void 0,languages:void 0,CancellationTokenSource:l1,Emitter:zi,KeyCode:jl,KeyMod:Za,Position:Qi,Range:Xi,Selection:bi,SelectionDirection:Vl,MarkerSeverity:$l,MarkerTag:Rl,Uri:Fl,Token:g1}}var hd;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(hd||(hd={}));var md;(function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"})(md||(md={}));var gd;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(gd||(gd={}));var yd;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(yd||(yd={}));function D1(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 b1(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 v1(e,t,n,r,i){return D1(e,t,n,r,i)&&b1(e,t,n,r,i)}class E1{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){Ag(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||v1(this._wordSeparators,t,n,i,s))return r}while(r);return null}}function A1(e,t="Unreachable"){throw new Error(t)}function Ul(e){if(!e()){debugger;e(),Xf(new sa("Assertion Failed"))}}function Dd(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 C1{static computeUnicodeHighlights(t,n,r){const i=r?r.startLineNumber:1,s=r?r.endLineNumber:t.getLineCount(),a=new bd(n),o=a.getCandidateCodePoints();let u;o==="allNonBasicAscii"?u=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):u=new RegExp(`${S1(Array.from(o))}`,"g");const l=new E1(null,u),A=[];let p=!1,O,B=0,ie=0,te=0;e:for(let N=i,ue=s;N<=ue;N++){const Te=t.getLineContent(N),Pe=Te.length;l.reset(0);do if(O=l.next(Te),O){let Ue=O.index,be=O.index+O[0].length;if(Ue>0){const xe=Te.charCodeAt(Ue-1);xl(xe)&&Ue--}if(be+1<Pe){const xe=Te.charCodeAt(be-1);xl(xe)&&be++}const Me=Te.substring(Ue,be);let vt=Tl(Ue+1,Ep,Te,0);vt&&vt.endColumn<=Ue+1&&(vt=null);const wt=a.shouldHighlightNonBasicASCII(Me,vt?vt.word:null);if(wt!==0){wt===3?B++:wt===2?ie++:wt===1?te++:A1();const xe=1e3;if(A.length>=xe){p=!0;break e}A.push(new Xi(N,Ue+1,N,be+1))}}while(O)}return{ranges:A,hasMore:p,ambiguousCharacterCount:B,invisibleCharacterCount:ie,nonBasicAsciiCharacterCount:te}}static computeUnicodeHighlightReason(t,n){const r=new bd(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=wi.getLocales().filter(u=>!wi.getInstance(new Set([...n.allowedLocales,u])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(a),notAmbiguousInLocales:o}}case 1:return{kind:2}}}}function S1(e,t){return`[${gg(e.map(r=>String.fromCodePoint(r)).join(""))}]`}class bd{constructor(t){this.options=t,this.allowedCodePoints=new Set(t.allowedCodePoints),this.ambiguousCharacters=wi.getInstance(new Set(t.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const t=new Set;if(this.options.invisibleCharacters)for(const n of ms.codePoints)vd(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=Sg(a);i=i||u,!u&&!this.ambiguousCharacters.isAmbiguous(o)&&!ms.isInvisibleCharacter(o)&&(s=!0)}return!i&&s?0:this.options.invisibleCharacters&&!vd(t)&&ms.isInvisibleCharacter(r)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(r)?3:0}}function vd(e){return e===" "||e===`
8
- `||e===" "}class Ed{constructor(t,n){this.changes=t,this.hitTimeout=n}}class zo{constructor(t,n,r){this.originalRange=t,this.modifiedRange=n,this.innerChanges=r}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}get changedLineCount(){return Math.max(this.originalRange.length,this.modifiedRange.length)}}class Ad{constructor(t,n){this.originalRange=t,this.modifiedRange=n}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}class Ri{static joinMany(t){if(t.length===0)return[];let n=t[0];for(let r=1;r<t.length;r++)n=this.join(n,t[r]);return n}static join(t,n){if(t.length===0)return n;if(n.length===0)return t;const r=[];let i=0,s=0,a=null;for(;i<t.length||s<n.length;){let o=null;if(i<t.length&&s<n.length){const u=t[i],l=n[s];u.startLineNumber<l.startLineNumber?(o=u,i++):(o=l,s++)}else i<t.length?(o=t[i],i++):(o=n[s],s++);a===null?a=o:a.endLineNumberExclusive>=o.startLineNumber?a=new Ri(a.startLineNumber,Math.max(a.endLineNumberExclusive,o.endLineNumberExclusive)):(r.push(a),a=o)}return a!==null&&r.push(a),r}constructor(t,n){if(t>n)throw new sa(`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 Ri(this.startLineNumber+t,this.endLineNumberExclusive+t)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(t){return new Ri(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 Ri(n,r)}overlapOrTouch(t){return this.startLineNumber<=t.endLineNumberExclusive&&t.startLineNumber<=this.endLineNumberExclusive}equals(t){return this.startLineNumber===t.startLineNumber&&this.endLineNumberExclusive===t.endLineNumberExclusive}}const x1=3;class w1{computeDiff(t,n,r){var i;const a=new _1(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 A;l.originalEndLineNumber===0?A=new Ri(l.originalStartLineNumber+1,l.originalStartLineNumber+1):A=new Ri(l.originalStartLineNumber,l.originalEndLineNumber+1);let p;l.modifiedEndLineNumber===0?p=new Ri(l.modifiedStartLineNumber+1,l.modifiedStartLineNumber+1):p=new Ri(l.modifiedStartLineNumber,l.modifiedEndLineNumber+1);let O=new zo(A,p,(i=l.charChanges)===null||i===void 0?void 0:i.map(B=>new Ad(new Xi(B.originalStartLineNumber,B.originalStartColumn,B.originalEndLineNumber,B.originalEndColumn),new Xi(B.modifiedStartLineNumber,B.modifiedStartColumn,B.modifiedEndLineNumber,B.modifiedEndColumn))));u&&(u.modifiedRange.endLineNumberExclusive===O.modifiedRange.startLineNumber||u.originalRange.endLineNumberExclusive===O.originalRange.startLineNumber)&&(O=new zo(u.originalRange.join(O.originalRange),u.modifiedRange.join(O.modifiedRange),u.innerChanges&&O.innerChanges?u.innerChanges.concat(O.innerChanges):void 0),o.pop()),o.push(O),u=O}return Ul(()=>Dd(o,(l,A)=>A.originalRange.startLineNumber-l.originalRange.endLineNumberExclusive===A.modifiedRange.startLineNumber-l.modifiedRange.endLineNumberExclusive&&l.originalRange.endLineNumberExclusive<A.originalRange.startLineNumber&&l.modifiedRange.endLineNumberExclusive<A.modifiedRange.startLineNumber)),new Ed(o,a.quitEarly)}}function Cd(e,t,n,r){return new ys(e,t,n).ComputeDiff(r)}let Sd=class{constructor(t){const n=[],r=[];for(let i=0,s=t.length;i<s;i++)n[i]=ql(t[i],1),r[i]=Wl(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],A=t?this._startColumns[u]:1,p=t?this._endColumns[u]:l.length+1;for(let O=A;O<p;O++)i[o]=l.charCodeAt(O-1),s[o]=u+1,a[o]=O,o++;!t&&u<r&&(i[o]=10,s[o]=u+1,a[o]=l.length+1,o++)}return new F1(i,s,a)}};class F1{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 da{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),A=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),p=r.getEndColumn(t.modifiedStart+t.modifiedLength-1);return new da(i,s,a,o,u,l,A,p)}}function N1(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 eo{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,A,p,O;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?(A=i.getStartLineNumber(n.modifiedStart)-1,p=0):(A=i.getStartLineNumber(n.modifiedStart),p=i.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),a&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&s()){const B=r.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),ie=i.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);if(B.getElements().length>0&&ie.getElements().length>0){let te=Cd(B,ie,s,!0).changes;o&&(te=N1(te)),O=[];for(let N=0,ue=te.length;N<ue;N++)O.push(da.createFromDiffChange(te[N],B,ie))}}return new eo(u,l,A,p,O)}}class _1{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 Sd(t),this.modified=new Sd(n),this.continueLineDiff=xd(r.maxComputationTime),this.continueCharDiff=xd(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=Cd(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(eo.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,A=l?l.originalStart:this.originalLines.length,p=l?l.modifiedStart:this.modifiedLines.length;for(;s<A&&a<p;){const O=this.originalLines[s],B=this.modifiedLines[a];if(O!==B){{let ie=ql(O,1),te=ql(B,1);for(;ie>1&&te>1;){const N=O.charCodeAt(ie-2),ue=B.charCodeAt(te-2);if(N!==ue)break;ie--,te--}(ie>1||te>1)&&this._pushTrimWhitespaceCharChange(i,s+1,1,ie,a+1,1,te)}{let ie=Wl(O,1),te=Wl(B,1);const N=O.length+1,ue=B.length+1;for(;ie<N&&te<ue;){const Te=O.charCodeAt(ie-1),Pe=O.charCodeAt(te-1);if(Te!==Pe)break;ie++,te++}(ie<N||te<ue)&&this._pushTrimWhitespaceCharChange(i,s+1,ie,N,a+1,te,ue)}}s++,a++}l&&(i.push(eo.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 da(n,r,n,i,s,a,s,o)]),t.push(new eo(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 da(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 da(n,r,n,i,s,a,s,o)),!0):!1}}function ql(e,t){const n=Dg(e);return n===-1?t:n+1}function Wl(e,t){const n=bg(e);return n===-1?t:n+2}function xd(e){if(e===0)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}class kr{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 kr(s,a))}}static tryCreate(t,n){if(!(t>n))return new kr(t,n)}constructor(t,n){if(this.start=t,this.endExclusive=n,t>n)throw new sa(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(t){return new kr(this.start+t,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}join(t){return new kr(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 kr(n,r)}}class is{static trivial(t,n){return new is([new Fi(new kr(0,t.length),new kr(0,n.length))],!1)}static trivialTimedOut(t,n){return new is([new Fi(new kr(0,t.length),new kr(0,n.length))],!0)}constructor(t,n){this.diffs=t,this.hitTimeout=n}}class Fi{constructor(t,n){this.seq1Range=t,this.seq2Range=n}reverse(){return new Fi(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(t){return new Fi(this.seq1Range.join(t.seq1Range),this.seq2Range.join(t.seq2Range))}}class to{isValid(){return!0}}to.instance=new to;class T1{constructor(t){if(this.timeout=t,this.startTime=Date.now(),this.valid=!0,t<=0)throw new sa("timeout must be positive")}isValid(){if(!(Date.now()-this.startTime<this.timeout)&&this.valid){this.valid=!1;debugger}return this.valid}}class Gl{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}}class k1{compute(t,n,r=to.instance,i){if(t.length===0||n.length===0)return is.trivial(t,n);const s=new Gl(t.length,n.length),a=new Gl(t.length,n.length),o=new Gl(t.length,n.length);for(let ie=0;ie<t.length;ie++)for(let te=0;te<n.length;te++){if(!r.isValid())return is.trivialTimedOut(t,n);const N=ie===0?0:s.get(ie-1,te),ue=te===0?0:s.get(ie,te-1);let Te;t.getElement(ie)===n.getElement(te)?(ie===0||te===0?Te=0:Te=s.get(ie-1,te-1),ie>0&&te>0&&a.get(ie-1,te-1)===3&&(Te+=o.get(ie-1,te-1)),Te+=i?i(ie,te):1):Te=-1;const Pe=Math.max(N,ue,Te);if(Pe===Te){const Ue=ie>0&&te>0?o.get(ie-1,te-1):0;o.set(ie,te,Ue+1),a.set(ie,te,3)}else Pe===N?(o.set(ie,te,0),a.set(ie,te,1)):Pe===ue&&(o.set(ie,te,0),a.set(ie,te,2));s.set(ie,te,Pe)}const u=[];let l=t.length,A=n.length;function p(ie,te){(ie+1!==l||te+1!==A)&&u.push(new Fi(new kr(ie+1,l),new kr(te+1,A))),l=ie,A=te}let O=t.length-1,B=n.length-1;for(;O>=0&&B>=0;)a.get(O,B)===3?(p(O,B),O--,B--):a.get(O,B)===1?O--:B--;return p(-1,-1),u.reverse(),new is(u,!1)}}function wd(e,t,n){let r=n;return r=P1(e,t,r),r=B1(e,t,r),r}function L1(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 Fi(s.seq1Range.join(i.seq1Range),s.seq2Range.join(i.seq2Range)):r.push(i)}return r}function P1(e,t,n){const r=[];n.length>0&&r.push(n[0]);for(let i=1;i<n.length;i++){const s=r[r.length-1],a=n[i];if(a.seq1Range.isEmpty){let o=!0;const u=a.seq1Range.start-s.seq1Range.endExclusive;for(let l=1;l<=u;l++)if(t.getElement(a.seq2Range.start-l)!==t.getElement(a.seq2Range.endExclusive-l)){o=!1;break}if(o){r[r.length-1]=new Fi(s.seq1Range,new kr(s.seq2Range.start,a.seq2Range.endExclusive-u));continue}}r.push(a)}return r}function B1(e,t,n){if(!e.getBoundaryScore||!t.getBoundaryScore)return n;for(let r=0;r<n.length;r++){const i=n[r];if(i.seq1Range.isEmpty){const s=r>0?n[r-1].seq2Range.endExclusive:-1,a=r+1<n.length?n[r+1].seq2Range.start:t.length;n[r]=Fd(i,e,t,a,s)}else if(i.seq2Range.isEmpty){const s=r>0?n[r-1].seq1Range.endExclusive:-1,a=r+1<n.length?n[r+1].seq1Range.start:e.length;n[r]=Fd(i.reverse(),t,e,a,s).reverse()}}return n}function Fd(e,t,n,r,i){let a=1;for(;e.seq2Range.start-a>i&&n.getElement(e.seq2Range.start-a)===n.getElement(e.seq2Range.endExclusive-a)&&a<20;)a++;a--;let o=0;for(;e.seq2Range.start+o<r&&n.getElement(e.seq2Range.start+o)===n.getElement(e.seq2Range.endExclusive+o)&&o<20;)o++;if(a===0&&o===0)return e;let u=0,l=-1;for(let A=-a;A<=o;A++){const p=e.seq2Range.start+A,O=e.seq2Range.endExclusive+A,B=e.seq1Range.start+A,ie=t.getBoundaryScore(B)+n.getBoundaryScore(p)+n.getBoundaryScore(O);ie>l&&(l=ie,u=A)}return u!==0?new Fi(e.seq1Range.delta(u),e.seq2Range.delta(u)):e}class I1{compute(t,n,r=to.instance){if(t.length===0||n.length===0)return is.trivial(t,n);function i(B,ie){for(;B<t.length&&ie<n.length&&t.getElement(B)===n.getElement(ie);)B++,ie++;return B}let s=0;const a=new M1;a.set(0,i(0,0));const o=new O1;o.set(0,a.get(0)===0?null:new Nd(null,0,0,a.get(0)));let u=0;e:for(;;)for(s++,u=-s;u<=s;u+=2){if(!r.isValid())return is.trivialTimedOut(t,n);const B=u===s?-1:a.get(u+1),ie=u===-s?-1:a.get(u-1)+1,te=Math.min(Math.max(B,ie),t.length),N=te-u,ue=i(te,N);a.set(u,ue);const Te=te===B?o.get(u+1):o.get(u-1);if(o.set(u,ue!==te?new Nd(Te,te,N,ue-te):Te),a.get(u)===t.length&&a.get(u)-u===n.length)break e}let l=o.get(u);const A=[];let p=t.length,O=n.length;for(;;){const B=l?l.x+l.length:0,ie=l?l.y+l.length:0;if((B!==p||ie!==O)&&A.push(new Fi(new kr(B,p),new kr(ie,O))),!l)break;p=l.x,O=l.y,l=l.prev}return A.reverse(),new is(A,!1)}}class Nd{constructor(t,n,r,i){this.prev=t,this.x=n,this.y=r,this.length=i}}class M1{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 O1{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 j1{constructor(){this.dynamicProgrammingDiffing=new k1,this.myersDiffingAlgorithm=new I1}computeDiff(t,n,r){const i=r.maxComputationTimeMs===0?to.instance:new T1(r.maxComputationTimeMs),s=!r.ignoreTrimWhitespace,a=new Map;function o(Ue){let be=a.get(Ue);return be===void 0&&(be=a.size,a.set(Ue,be)),be}const u=t.map(Ue=>o(Ue.trim())),l=n.map(Ue=>o(Ue.trim())),A=new _d(u,t),p=new _d(l,n),O=(()=>A.length+p.length<1500?this.dynamicProgrammingDiffing.compute(A,p,i,(Ue,be)=>t[Ue]===n[be]?n[be].length===0?.1:1+Math.log(1+n[be].length):.99):this.myersDiffingAlgorithm.compute(A,p))();let B=O.diffs,ie=O.hitTimeout;B=wd(A,p,B);const te=[],N=Ue=>{if(s)for(let be=0;be<Ue;be++){const Me=ue+be,vt=Te+be;if(t[Me]!==n[vt]){const wt=this.refineDiff(t,n,new Fi(new kr(Me,Me+1),new kr(vt,vt+1)),i,s);for(const xe of wt.mappings)te.push(xe);wt.hitTimeout&&(ie=!0)}}};let ue=0,Te=0;for(const Ue of B){Ul(()=>Ue.seq1Range.start-ue===Ue.seq2Range.start-Te);const be=Ue.seq1Range.start-ue;N(be),ue=Ue.seq1Range.endExclusive,Te=Ue.seq2Range.endExclusive;const Me=this.refineDiff(t,n,Ue,i,s);Me.hitTimeout&&(ie=!0);for(const vt of Me.mappings)te.push(vt)}N(t.length-ue);const Pe=V1(te,t,n);return new Ed(Pe,ie)}refineDiff(t,n,r,i,s){const a=new kd(t,r.seq1Range,s),o=new kd(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=wd(a,o,l),l=$1(a,o,l),l=L1(a,o,l),{mappings:l.map(p=>new Ad(a.translateRange(p.seq1Range),o.translateRange(p.seq2Range))),hitTimeout:u.hitTimeout}}}function $1(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 Fi(i.s1Range,i.s2Range)),i=void 0}for(const o of n){let u=function(B,ie){var te,N,ue,Te;if(!i||!i.s1Range.containsRange(B)||!i.s2Range.containsRange(ie))if(i&&!(i.s1Range.endExclusive<B.start&&i.s2Range.endExclusive<ie.start)){const be=kr.tryCreate(i.s1Range.endExclusive,B.start),Me=kr.tryCreate(i.s2Range.endExclusive,ie.start);i.deleted+=(te=be==null?void 0:be.length)!==null&&te!==void 0?te:0,i.added+=(N=Me==null?void 0:Me.length)!==null&&N!==void 0?N:0,i.s1Range=i.s1Range.join(B),i.s2Range=i.s2Range.join(ie)}else s(),i={added:0,deleted:0,count:0,s1Range:B,s2Range:ie};const Pe=B.intersect(o.seq1Range),Ue=ie.intersect(o.seq2Range);i.count++,i.deleted+=(ue=Pe==null?void 0:Pe.length)!==null&&ue!==void 0?ue:0,i.added+=(Te=Ue==null?void 0:Ue.length)!==null&&Te!==void 0?Te:0};const l=e.findWordContaining(o.seq1Range.start-1),A=t.findWordContaining(o.seq2Range.start-1),p=e.findWordContaining(o.seq1Range.endExclusive),O=t.findWordContaining(o.seq2Range.endExclusive);l&&p&&A&&O&&l.equals(p)&&A.equals(O)?u(l,A):(l&&A&&u(l,A),p&&O&&u(p,O))}return s(),R1(n,r)}function R1(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 V1(e,t,n){const r=[];for(const i of q1(e.map(s=>U1(s,t,n)),(s,a)=>s.originalRange.overlapOrTouch(a.originalRange)||s.modifiedRange.overlapOrTouch(a.modifiedRange))){const s=i[0],a=i[i.length-1];r.push(new zo(s.originalRange.join(a.originalRange),s.modifiedRange.join(a.modifiedRange),i.map(o=>o.innerChanges[0])))}return Ul(()=>Dd(r,(i,s)=>s.originalRange.startLineNumber-i.originalRange.endLineNumberExclusive===s.modifiedRange.startLineNumber-i.modifiedRange.endLineNumberExclusive&&i.originalRange.endLineNumberExclusive<s.originalRange.startLineNumber&&i.modifiedRange.endLineNumberExclusive<s.modifiedRange.startLineNumber)),r}function U1(e,t,n){let r=0,i=0;e.modifiedRange.startColumn-1>=n[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&(r=1),e.modifiedRange.endColumn===1&&e.originalRange.endColumn===1&&e.originalRange.startLineNumber+r<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+r<=e.modifiedRange.endLineNumber&&(i=-1);const s=new Ri(e.originalRange.startLineNumber+r,e.originalRange.endLineNumber+1+i),a=new Ri(e.modifiedRange.startLineNumber+r,e.modifiedRange.endLineNumber+1+i);return new zo(s,a,[e])}function*q1(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)}class _d{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:Td(this.lines[t-1]),r=t===this.lines.length?0:Td(this.lines[t]);return 1e3-(n+r)}}function Td(e){let t=0;for(;t<e.length&&(e.charCodeAt(t)===32||e.charCodeAt(t)===9);)t++;return t}class kd{constructor(t,n,r){this.lines=t,this.considerWhitespaceChanges=r,this.elements=[],this.firstCharOffsetByLineMinusOne=[],this.offsetByLine=[];let i=!1;n.start>0&&n.endExclusive>=t.length&&(n=new kr(n.start-1,n.endExclusive),i=!0),this.lineRange=n;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.offsetByLine.push(o);for(let u=0;u<a.length;u++)this.elements.push(a.charCodeAt(u));s<t.length-1&&(this.elements.push(`
9
- `.charCodeAt(0)),this.firstCharOffsetByLineMinusOne[s-this.lineRange.start]=this.elements.length)}this.offsetByLine.push(0)}toString(){return`Slice: "${this.text}"`}get text(){return[...this.elements].map(t=>String.fromCharCode(t)).join("")}getElement(t){return this.elements[t]}get length(){return this.elements.length}getBoundaryScore(t){const n=Pd(t>0?this.elements[t-1]:-1),r=Pd(t<this.elements.length?this.elements[t]:-1);if(n===6&&r===7)return 0;let i=0;return n!==r&&(i+=10,r===1&&(i+=1)),i+=Ld(n),i+=Ld(r),i}translateOffset(t){if(this.lineRange.isEmpty)return new Qi(this.lineRange.start+1,1);let n=0,r=this.firstCharOffsetByLineMinusOne.length;for(;n<r;){const s=Math.floor((n+r)/2);this.firstCharOffsetByLineMinusOne[s]>t?r=s:n=s+1}const i=n===0?0:this.firstCharOffsetByLineMinusOne[n-1];return new Qi(this.lineRange.start+n+1,t-i+1+this.offsetByLine[n])}translateRange(t){return Xi.fromPositions(this.translateOffset(t.start),this.translateOffset(t.endExclusive))}findWordContaining(t){if(t<0||t>=this.elements.length||!Jl(this.elements[t]))return;let n=t;for(;n>0&&Jl(this.elements[n-1]);)n--;let r=t;for(;r<this.elements.length&&Jl(this.elements[r]);)r++;return new kr(n,r)}}function Jl(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}const W1={[0]:0,[1]:0,[2]:0,[3]:10,[4]:2,[5]:3,[6]:10,[7]:10};function Ld(e){return W1[e]}function Pd(e){return e===10?7:e===13?6:G1(e)?5:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:e===-1?3:4}function G1(e){return e===32||e===9}const Bd={legacy:new w1,advanced:new j1};function As(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}class Rr{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=As(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 Ni{constructor(t,n,r,i){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=As(Math.max(Math.min(1,n),0),3),this.l=As(Math.max(Math.min(1,r),0),3),this.a=As(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 A=(o+a)/2,p=a-o;if(p>0){switch(l=Math.min(A<=.5?p/(2*A):p/(2-2*A),1),a){case n:u=(r-i)/p+(r<i?6:0);break;case r:u=(i-n)/p+2;break;case i:u=(n-r)/p+4;break}u*=60,u=Math.round(u)}return new Ni(u,l,A,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,A=2*i-l;a=Ni._hue2rgb(A,l,n+1/3),o=Ni._hue2rgb(A,l,n),u=Ni._hue2rgb(A,l,n-1/3)}return new Rr(Math.round(a*255),Math.round(o*255),Math.round(u*255),s)}}class ha{constructor(t,n,r,i){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=As(Math.max(Math.min(1,n),0),3),this.v=As(Math.max(Math.min(1,r),0),3),this.a=As(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 ha(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,A,p]=[0,0,0];return n<60?(l=a,A=o):n<120?(l=o,A=a):n<180?(A=a,p=o):n<240?(A=o,p=a):n<300?(l=o,p=a):n<=360&&(l=a,p=o),l=Math.round((l+u)*255),A=Math.round((A+u)*255),p=Math.round((p+u)*255),new Rr(l,A,p,s)}}let Or=class Oi{static fromHex(t){return Oi.Format.CSS.parseHex(t)||Oi.red}static equals(t,n){return!t&&!n?!0:!t||!n?!1:t.equals(n)}get hsla(){return this._hsla?this._hsla:Ni.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:ha.fromRGBA(this.rgba)}constructor(t){if(t)if(t instanceof Rr)this.rgba=t;else if(t instanceof Ni)this._hsla=t,this.rgba=Ni.toRGBA(t);else if(t instanceof ha)this._hsva=t,this.rgba=ha.toRGBA(t);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(t){return!!t&&Rr.equals(this.rgba,t.rgba)&&Ni.equals(this.hsla,t.hsla)&&ha.equals(this.hsva,t.hsva)}getRelativeLuminance(){const t=Oi._relativeLuminanceForComponent(this.rgba.r),n=Oi._relativeLuminanceForComponent(this.rgba.g),r=Oi._relativeLuminanceForComponent(this.rgba.b),i=.2126*t+.7152*n+.0722*r;return As(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 Oi(new Ni(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*t,this.hsla.a))}darken(t){return new Oi(new Ni(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 Oi(new Rr(n,r,i,s*t))}isTransparent(){return this.rgba.a===0}isOpaque(){return this.rgba.a===1}opposite(){return new Oi(new Rr(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 Oi(new Rr(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=Oi.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)}};Or.white=new Or(new Rr(255,255,255,1)),Or.black=new Or(new Rr(0,0,0,1)),Or.red=new Or(new Rr(255,0,0,1)),Or.blue=new Or(new Rr(0,0,255,1)),Or.green=new Or(new Rr(0,255,0,1)),Or.cyan=new Or(new Rr(0,255,255,1)),Or.lightgrey=new Or(new Rr(211,211,211,1)),Or.transparent=new Or(new Rr(0,0,0,0)),function(e){(function(t){(function(n){function r(B){return B.rgba.a===1?`rgb(${B.rgba.r}, ${B.rgba.g}, ${B.rgba.b})`:e.Format.CSS.formatRGBA(B)}n.formatRGB=r;function i(B){return`rgba(${B.rgba.r}, ${B.rgba.g}, ${B.rgba.b}, ${+B.rgba.a.toFixed(2)})`}n.formatRGBA=i;function s(B){return B.hsla.a===1?`hsl(${B.hsla.h}, ${(B.hsla.s*100).toFixed(2)}%, ${(B.hsla.l*100).toFixed(2)}%)`:e.Format.CSS.formatHSLA(B)}n.formatHSL=s;function a(B){return`hsla(${B.hsla.h}, ${(B.hsla.s*100).toFixed(2)}%, ${(B.hsla.l*100).toFixed(2)}%, ${B.hsla.a.toFixed(2)})`}n.formatHSLA=a;function o(B){const ie=B.toString(16);return ie.length!==2?"0"+ie:ie}function u(B){return`#${o(B.rgba.r)}${o(B.rgba.g)}${o(B.rgba.b)}`}n.formatHex=u;function l(B,ie=!1){return ie&&B.rgba.a===1?e.Format.CSS.formatHex(B):`#${o(B.rgba.r)}${o(B.rgba.g)}${o(B.rgba.b)}${o(Math.round(B.rgba.a*255))}`}n.formatHexA=l;function A(B){return B.isOpaque()?e.Format.CSS.formatHex(B):e.Format.CSS.formatRGBA(B)}n.format=A;function p(B){const ie=B.length;if(ie===0||B.charCodeAt(0)!==35)return null;if(ie===7){const te=16*O(B.charCodeAt(1))+O(B.charCodeAt(2)),N=16*O(B.charCodeAt(3))+O(B.charCodeAt(4)),ue=16*O(B.charCodeAt(5))+O(B.charCodeAt(6));return new e(new Rr(te,N,ue,1))}if(ie===9){const te=16*O(B.charCodeAt(1))+O(B.charCodeAt(2)),N=16*O(B.charCodeAt(3))+O(B.charCodeAt(4)),ue=16*O(B.charCodeAt(5))+O(B.charCodeAt(6)),Te=16*O(B.charCodeAt(7))+O(B.charCodeAt(8));return new e(new Rr(te,N,ue,Te/255))}if(ie===4){const te=O(B.charCodeAt(1)),N=O(B.charCodeAt(2)),ue=O(B.charCodeAt(3));return new e(new Rr(16*te+te,16*N+N,16*ue+ue))}if(ie===5){const te=O(B.charCodeAt(1)),N=O(B.charCodeAt(2)),ue=O(B.charCodeAt(3)),Te=O(B.charCodeAt(4));return new e(new Rr(16*te+te,16*N+N,16*ue+ue,(16*Te+Te)/255))}return null}n.parseHex=p;function O(B){switch(B){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={}))}(Or||(Or={}));function Id(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 Yl(e,t,n,r){return{red:e/255,blue:n/255,green:t/255,alpha:r}}function no(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 J1(e,t){if(!e)return;const n=Or.Format.CSS.parseHex(t);if(n)return{range:e,color:Yl(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}function Md(e,t,n){if(!e||t.length!==1)return;const i=t[0].values(),s=Id(i);return{range:e,color:Yl(s[0],s[1],s[2],n?s[3]:1)}}function Od(e,t,n){if(!e||t.length!==1)return;const i=t[0].values(),s=Id(i),a=new Or(new Ni(s[0],s[1]/100,s[2]/100,n?s[3]:1));return{range:e,color:Yl(a.rgba.r,a.rgba.g,a.rgba.b,a.rgba.a)}}function ro(e,t){return typeof e=="string"?[...e.matchAll(t)]:e.findMatches(t)}function Y1(e){const t=[],r=ro(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([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=Md(no(e,i),ro(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=Md(no(e,i),ro(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=Od(no(e,i),ro(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=Od(no(e,i),ro(o,l),!0)}else a==="#"&&(u=J1(no(e,i),a+o));u&&t.push(u)}return t}function H1(e){return!e||typeof e.getValue!="function"||typeof e.positionAt!="function"?[]:Y1(e)}var Cs=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(A){try{l(r.next(A))}catch(p){a(p)}}function u(A){try{l(r.throw(A))}catch(p){a(p)}}function l(A){A.done?s(A.value):i(A.value).then(o,u)}l((r=r.apply(e,t||[])).next())})};class z1 extends Zg{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 Qi(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=Tl(t.column,n1(n),this._lines[t.lineNumber-1],0);return r?new Xi(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(!Qi.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 Is{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 z1(Fl.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 Cs(this,void 0,void 0,function*(){const i=this._getModel(t);return i?C1.computeUnicodeHighlights(i,n,r):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(t,n,r,i){return Cs(this,void 0,void 0,function*(){const s=this._getModel(t),a=this._getModel(n);return!s||!a?null:Is.computeDiff(s,a,r,i)})}static computeDiff(t,n,r,i){const s=i==="advanced"?Bd.advanced:Bd.legacy,a=t.getLinesContent(),o=n.getLinesContent(),u=s.computeDiff(a,o,r);return{identical:u.changes.length>0?!1:this._modelsAreIdentical(t,n),quitEarly:u.hitTimeout,changes:u.changes.map(A=>{var p;return[A.originalRange.startLineNumber,A.originalRange.endLineNumberExclusive,A.modifiedRange.startLineNumber,A.modifiedRange.endLineNumberExclusive,(p=A.innerChanges)===null||p===void 0?void 0:p.map(O=>[O.originalRange.startLineNumber,O.originalRange.startColumn,O.originalRange.endLineNumber,O.originalRange.endColumn,O.modifiedRange.startLineNumber,O.modifiedRange.startColumn,O.modifiedRange.endLineNumber,O.modifiedRange.endColumn])]})}}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 Cs(this,void 0,void 0,function*(){const i=this._getModel(t);if(!i)return n;const s=[];let a;n=n.slice(0).sort((o,u)=>{if(o.range&&u.range)return Xi.compareRangesUsingStarts(o.range,u.range);const l=o.range?0:1,A=u.range?0:1;return l-A});for(let{range:o,text:u,eol:l}of n){if(typeof l=="number"&&(a=l),Xi.isEmpty(o)&&!u)continue;const A=i.getValueInRange(o);if(u=u.replace(/\r\n|\n|\r/g,i.eol),A===u)continue;if(Math.max(u.length,A.length)>Is._diffLimit){s.push({range:o,text:u});continue}const p=Bg(A,u,r),O=i.offsetAt(Xi.lift(o).getStartPosition());for(const B of p){const ie=i.positionAt(O+B.originalStart),te=i.positionAt(O+B.originalStart+B.originalLength),N={text:u.substr(B.modifiedStart,B.modifiedLength),range:{startLineNumber:ie.lineNumber,startColumn:ie.column,endLineNumber:te.lineNumber,endColumn:te.column}};i.getValueInRange(N.range)!==N.text&&s.push(N)}}return typeof a=="number"&&s.push({eol:a,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s})}computeLinks(t){return Cs(this,void 0,void 0,function*(){const n=this._getModel(t);return n?u1(n):null})}computeDefaultDocumentColors(t){return Cs(this,void 0,void 0,function*(){const n=this._getModel(t);return n?H1(n):null})}textualSuggest(t,n,r,i){return Cs(this,void 0,void 0,function*(){const s=new Vo(!0),a=new RegExp(r,i),o=new Set;e:for(const u of t){const l=this._getModel(u);if(l){for(const A of l.words(a))if(!(A===n||!isNaN(Number(A)))&&(o.add(A),o.size>Is._suggestionsLimit))break e}}return{words:Array.from(o),duration:s.elapsed()}})}computeWordRanges(t,n,r,i){return Cs(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 A of l){if(!isNaN(Number(A.word)))continue;let p=o[A.word];p||(p=[],o[A.word]=p),p.push({startLineNumber:u,startColumn:A.startColumn,endLineNumber:u,endColumn:A.endColumn})}}return o})}navigateValueSet(t,n,r,i,s){return Cs(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 A=a.getValueInRange(l);return Pl.INSTANCE.navigateValueSet(n,u,l,A,r)})}loadForeignModule(t,n,r){const a={host:hg(r,(o,u)=>this._host.fhr(o,u)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(a,n),Promise.resolve(Sl(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)}}}Is._diffLimit=1e5,Is._suggestionsLimit=1e4,typeof importScripts=="function"&&(globalThis.monaco=y1());let Hl=!1;function jd(e){if(Hl)return;Hl=!0;const t=new Lg(n=>{globalThis.postMessage(n)},n=>new Is(n,e));globalThis.onmessage=n=>{t.onmessage(n.data)}}globalThis.onmessage=e=>{Hl||jd(null)};function Q1(e){self.onmessage=()=>{jd((t,n)=>Object.create(e(t,n)))}}var X1=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))},$d=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=Vd(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),A=Math.max(a.end.line,0),p=this._lineOffsets,O=Rd(s.text,!1,o);if(A-l===O.length)for(var B=0,ie=O.length;B<ie;B++)p[B+l+1]=O[B];else O.length<1e4?p.splice.apply(p,X1([l+1,A-l],O,!1)):this._lineOffsets=p=p.slice(0,l+1).concat(O,p.slice(A+1));var te=s.text.length-(u-o);if(te!==0)for(var B=l+1+O.length,ie=p.length;B<ie;B++)p[B]=p[B]+te}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=Rd(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}(),zl;(function(e){function t(i,s,a,o){return new $d(i,s,a,o)}e.create=t;function n(i,s,a){if(i instanceof $d)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=Ql(s.map(K1),function(ie,te){var N=ie.range.start.line-te.range.start.line;return N===0?ie.range.start.character-te.range.start.character:N}),u=0,l=[],A=0,p=o;A<p.length;A++){var O=p[A],B=i.offsetAt(O.range.start);if(B<u)throw new Error("Overlapping edit");B>u&&l.push(a.substring(u,B)),O.newText.length&&l.push(O.newText),u=i.offsetAt(O.range.end)}return l.push(a.substr(u)),l.join("")}e.applyEdits=r})(zl||(zl={}));function Ql(e,t){if(e.length<=1)return e;var n=e.length/2|0,r=e.slice(0,n),i=e.slice(n);Ql(r,t),Ql(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 Rd(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 Vd(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 K1(e){var t=Vd(e.range);return t!==e.range?{newText:e.newText,range:t}:e}function Z1(e,t=!1){const n=e.length;let r=0,i="",s=0,a=16,o=0,u=0,l=0,A=0,p=0;function O(Pe,Ue){let be=0,Me=0;for(;be<Pe||!Ue;){let vt=e.charCodeAt(r);if(vt>=48&&vt<=57)Me=Me*16+vt-48;else if(vt>=65&&vt<=70)Me=Me*16+vt-65+10;else if(vt>=97&&vt<=102)Me=Me*16+vt-97+10;else break;r++,be++}return be<Pe&&(Me=-1),Me}function B(Pe){r=Pe,i="",s=0,a=16,p=0}function ie(){let Pe=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&ma(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46)if(r++,r<e.length&&ma(e.charCodeAt(r)))for(r++;r<e.length&&ma(e.charCodeAt(r));)r++;else return p=3,e.substring(Pe,r);let Ue=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&&ma(e.charCodeAt(r))){for(r++;r<e.length&&ma(e.charCodeAt(r));)r++;Ue=r}else p=3;return e.substring(Pe,Ue)}function te(){let Pe="",Ue=r;for(;;){if(r>=n){Pe+=e.substring(Ue,r),p=2;break}const be=e.charCodeAt(r);if(be===34){Pe+=e.substring(Ue,r),r++;break}if(be===92){if(Pe+=e.substring(Ue,r),r++,r>=n){p=2;break}switch(e.charCodeAt(r++)){case 34:Pe+='"';break;case 92:Pe+="\\";break;case 47:Pe+="/";break;case 98:Pe+="\b";break;case 102:Pe+="\f";break;case 110:Pe+=`
10
- `;break;case 114:Pe+="\r";break;case 116:Pe+=" ";break;case 117:const vt=O(4,!0);vt>=0?Pe+=String.fromCharCode(vt):p=4;break;default:p=5}Ue=r;continue}if(be>=0&&be<=31)if(io(be)){Pe+=e.substring(Ue,r),p=2;break}else p=6;r++}return Pe}function N(){if(i="",p=0,s=r,u=o,A=l,r>=n)return s=n,a=17;let Pe=e.charCodeAt(r);if(Xl(Pe)){do r++,i+=String.fromCharCode(Pe),Pe=e.charCodeAt(r);while(Xl(Pe));return a=15}if(io(Pe))return r++,i+=String.fromCharCode(Pe),Pe===13&&e.charCodeAt(r)===10&&(r++,i+=`
11
- `),o++,l=r,a=14;switch(Pe){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=te(),a=10;case 47:const Ue=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<n&&!io(e.charCodeAt(r));)r++;return i=e.substring(Ue,r),a=12}if(e.charCodeAt(r+1)===42){r+=2;const be=n-1;let Me=!1;for(;r<be;){const vt=e.charCodeAt(r);if(vt===42&&e.charCodeAt(r+1)===47){r+=2,Me=!0;break}r++,io(vt)&&(vt===13&&e.charCodeAt(r)===10&&r++,o++,l=r)}return Me||(r++,p=1),i=e.substring(Ue,r),a=13}return i+=String.fromCharCode(Pe),r++,a=16;case 45:if(i+=String.fromCharCode(Pe),r++,r===n||!ma(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+=ie(),a=11;default:for(;r<n&&ue(Pe);)r++,Pe=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(Pe),r++,a=16}}function ue(Pe){if(Xl(Pe)||io(Pe))return!1;switch(Pe){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function Te(){let Pe;do Pe=N();while(Pe>=12&&Pe<=15);return Pe}return{setPosition:B,getPosition:()=>r,scan:t?Te:N,getToken:()=>a,getTokenValue:()=>i,getTokenOffset:()=>s,getTokenLength:()=>r-s,getTokenStartLine:()=>u,getTokenStartCharacter:()=>s-A,getTokenError:()=>p}}function Xl(e){return e===32||e===9}function io(e){return e===10||e===13}function ma(e){return e>=48&&e<=57}var Ud;(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"})(Ud||(Ud={}));var Qo;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Qo||(Qo={}));function ey(e,t=[],n=Qo.DEFAULT){let r=null,i=[];const s=[];function a(u){Array.isArray(i)?i.push(u):r!==null&&(i[r]=u)}return ty(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,A)=>{t.push({error:u,offset:l,length:A})}},n),i[0]}function Kl(e){switch(e.type){case"array":return e.children.map(Kl);case"object":const t=Object.create(null);for(let n of e.children){const r=n.children[1];r&&(t[n.children[0].value]=Kl(r))}return t;case"null":case"string":case"number":case"boolean":return e.value;default:return}}function ty(e,t,n=Qo.DEFAULT){const r=Z1(e,!1),i=[];function s(Ve){return Ve?()=>Ve(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function a(Ve){return Ve?()=>Ve(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice()):()=>!0}function o(Ve){return Ve?$t=>Ve($t,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function u(Ve){return Ve?$t=>Ve($t,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice()):()=>!0}const l=a(t.onObjectBegin),A=u(t.onObjectProperty),p=s(t.onObjectEnd),O=a(t.onArrayBegin),B=s(t.onArrayEnd),ie=u(t.onLiteralValue),te=o(t.onSeparator),N=s(t.onComment),ue=o(t.onError),Te=n&&n.disallowComments,Pe=n&&n.allowTrailingComma;function Ue(){for(;;){const Ve=r.scan();switch(r.getTokenError()){case 4:be(14);break;case 5:be(15);break;case 3:be(13);break;case 1:Te||be(11);break;case 2:be(12);break;case 6:be(16);break}switch(Ve){case 12:case 13:Te?be(10):N();break;case 16:be(1);break;case 15:case 14:break;default:return Ve}}}function be(Ve,$t=[],pn=[]){if(ue(Ve),$t.length+pn.length>0){let kn=r.getToken();for(;kn!==17;){if($t.indexOf(kn)!==-1){Ue();break}else if(pn.indexOf(kn)!==-1)break;kn=Ue()}}}function Me(Ve){const $t=r.getTokenValue();return Ve?ie($t):(A($t),i.push($t)),Ue(),!0}function vt(){switch(r.getToken()){case 11:const Ve=r.getTokenValue();let $t=Number(Ve);isNaN($t)&&(be(2),$t=0),ie($t);break;case 7:ie(null);break;case 8:ie(!0);break;case 9:ie(!1);break;default:return!1}return Ue(),!0}function wt(){return r.getToken()!==10?(be(3,[],[2,5]),!1):(Me(!1),r.getToken()===6?(te(":"),Ue(),st()||be(4,[],[2,5])):be(5,[],[2,5]),i.pop(),!0)}function xe(){l(),Ue();let Ve=!1;for(;r.getToken()!==2&&r.getToken()!==17;){if(r.getToken()===5){if(Ve||be(4,[],[]),te(","),Ue(),r.getToken()===2&&Pe)break}else Ve&&be(6,[],[]);wt()||be(4,[],[2,5]),Ve=!0}return p(),r.getToken()!==2?be(7,[2],[]):Ue(),!0}function Ne(){O(),Ue();let Ve=!0,$t=!1;for(;r.getToken()!==4&&r.getToken()!==17;){if(r.getToken()===5){if($t||be(4,[],[]),te(","),Ue(),r.getToken()===4&&Pe)break}else $t&&be(6,[],[]);Ve?(i.push(0),Ve=!1):i[i.length-1]++,st()||be(4,[],[4,5]),$t=!0}return B(),Ve||i.pop(),r.getToken()!==4?be(8,[4],[]):Ue(),!0}function st(){switch(r.getToken()){case 3:return Ne();case 1:return xe();case 10:return Me(!0);default:return vt()}}return Ue(),r.getToken()===17?n.allowEmptyContent?!0:(be(4,[],[]),!1):st()?(r.getToken()!==17&&be(9,[],[]),!0):(be(4,[],[]),!1)}var qd;(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"})(qd||(qd={}));var Wd;(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"})(Wd||(Wd={}));const ny=ey,ry=Kl;var Gd;(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"})(Gd||(Gd={}));var Jd;(()=>{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 A,p="",O=0,B=-1,ie=0,te=0;te<=u.length;++te){if(te<u.length)A=u.charCodeAt(te);else{if(A===47)break;A=47}if(A===47){if(!(B===te-1||ie===1))if(B!==te-1&&ie===2){if(p.length<2||O!==2||p.charCodeAt(p.length-1)!==46||p.charCodeAt(p.length-2)!==46){if(p.length>2){var N=p.lastIndexOf("/");if(N!==p.length-1){N===-1?(p="",O=0):O=(p=p.slice(0,N)).length-1-p.lastIndexOf("/"),B=te,ie=0;continue}}else if(p.length===2||p.length===1){p="",O=0,B=te,ie=0;continue}}l&&(p.length>0?p+="/..":p="..",O=2)}else p.length>0?p+="/"+u.slice(B+1,te):p=u.slice(B+1,te),O=te-B-1;B=te,ie=0}else A===46&&ie!==-1?++ie:ie=-1}return p}var o={resolve:function(){for(var u,l="",A=!1,p=arguments.length-1;p>=-1&&!A;p--){var O;p>=0?O=arguments[p]:(u===void 0&&(u=process.cwd()),O=u),s(O),O.length!==0&&(l=O+"/"+l,A=O.charCodeAt(0)===47)}return l=a(l,!A),A?l.length>0?"/"+l:"/":l.length>0?l:"."},normalize:function(u){if(s(u),u.length===0)return".";var l=u.charCodeAt(0)===47,A=u.charCodeAt(u.length-1)===47;return(u=a(u,!l)).length!==0||l||(u="."),u.length>0&&A&&(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 A=arguments[l];s(A),A.length>0&&(u===void 0?u=A:u+="/"+A)}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 A=1;A<u.length&&u.charCodeAt(A)===47;++A);for(var p=u.length,O=p-A,B=1;B<l.length&&l.charCodeAt(B)===47;++B);for(var ie=l.length-B,te=O<ie?O:ie,N=-1,ue=0;ue<=te;++ue){if(ue===te){if(ie>te){if(l.charCodeAt(B+ue)===47)return l.slice(B+ue+1);if(ue===0)return l.slice(B+ue)}else O>te&&(u.charCodeAt(A+ue)===47?N=ue:ue===0&&(N=0));break}var Te=u.charCodeAt(A+ue);if(Te!==l.charCodeAt(B+ue))break;Te===47&&(N=ue)}var Pe="";for(ue=A+N+1;ue<=p;++ue)ue!==p&&u.charCodeAt(ue)!==47||(Pe.length===0?Pe+="..":Pe+="/..");return Pe.length>0?Pe+l.slice(B+N):(B+=N,l.charCodeAt(B)===47&&++B,l.slice(B))},_makeLong:function(u){return u},dirname:function(u){if(s(u),u.length===0)return".";for(var l=u.charCodeAt(0),A=l===47,p=-1,O=!0,B=u.length-1;B>=1;--B)if((l=u.charCodeAt(B))===47){if(!O){p=B;break}}else O=!1;return p===-1?A?"/":".":A&&p===1?"//":u.slice(0,p)},basename:function(u,l){if(l!==void 0&&typeof l!="string")throw new TypeError('"ext" argument must be a string');s(u);var A,p=0,O=-1,B=!0;if(l!==void 0&&l.length>0&&l.length<=u.length){if(l.length===u.length&&l===u)return"";var ie=l.length-1,te=-1;for(A=u.length-1;A>=0;--A){var N=u.charCodeAt(A);if(N===47){if(!B){p=A+1;break}}else te===-1&&(B=!1,te=A+1),ie>=0&&(N===l.charCodeAt(ie)?--ie==-1&&(O=A):(ie=-1,O=te))}return p===O?O=te:O===-1&&(O=u.length),u.slice(p,O)}for(A=u.length-1;A>=0;--A)if(u.charCodeAt(A)===47){if(!B){p=A+1;break}}else O===-1&&(B=!1,O=A+1);return O===-1?"":u.slice(p,O)},extname:function(u){s(u);for(var l=-1,A=0,p=-1,O=!0,B=0,ie=u.length-1;ie>=0;--ie){var te=u.charCodeAt(ie);if(te!==47)p===-1&&(O=!1,p=ie+1),te===46?l===-1?l=ie:B!==1&&(B=1):l!==-1&&(B=-1);else if(!O){A=ie+1;break}}return l===-1||p===-1||B===0||B===1&&l===p-1&&l===A+1?"":u.slice(l,p)},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,A){var p=A.dir||A.root,O=A.base||(A.name||"")+(A.ext||"");return p?p===A.root?p+O:p+"/"+O:O}(0,u)},parse:function(u){s(u);var l={root:"",dir:"",base:"",ext:"",name:""};if(u.length===0)return l;var A,p=u.charCodeAt(0),O=p===47;O?(l.root="/",A=1):A=0;for(var B=-1,ie=0,te=-1,N=!0,ue=u.length-1,Te=0;ue>=A;--ue)if((p=u.charCodeAt(ue))!==47)te===-1&&(N=!1,te=ue+1),p===46?B===-1?B=ue:Te!==1&&(Te=1):B!==-1&&(Te=-1);else if(!N){ie=ue+1;break}return B===-1||te===-1||Te===0||Te===1&&B===te-1&&B===ie+1?te!==-1&&(l.base=l.name=ie===0&&O?u.slice(1,te):u.slice(ie,te)):(ie===0&&O?(l.name=u.slice(1,B),l.base=u.slice(1,te)):(l.name=u.slice(ie,B),l.base=u.slice(ie,te)),l.ext=u.slice(B,te)),ie>0?l.dir=u.slice(0,ie-1):O&&(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:()=>N,Utils:()=>st}),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(Lt,Tt){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ut,en){Ut.__proto__=en}||function(Ut,en){for(var Ln in en)Object.prototype.hasOwnProperty.call(en,Ln)&&(Ut[Ln]=en[Ln])},a(Lt,Tt)},function(Lt,Tt){if(typeof Tt!="function"&&Tt!==null)throw new TypeError("Class extends value "+String(Tt)+" is not a constructor or null");function Ut(){this.constructor=Lt}a(Lt,Tt),Lt.prototype=Tt===null?Object.create(Tt):(Ut.prototype=Tt.prototype,new Ut)}),l=/^\w[\w\d+.-]*$/,A=/^\//,p=/^\/\//;function O(Lt,Tt){if(!Lt.scheme&&Tt)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'.concat(Lt.authority,'", path: "').concat(Lt.path,'", query: "').concat(Lt.query,'", fragment: "').concat(Lt.fragment,'"}'));if(Lt.scheme&&!l.test(Lt.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(Lt.path){if(Lt.authority){if(!A.test(Lt.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(p.test(Lt.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}var B="",ie="/",te=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,N=function(){function Lt(Tt,Ut,en,Ln,qn,Pn){Pn===void 0&&(Pn=!1),typeof Tt=="object"?(this.scheme=Tt.scheme||B,this.authority=Tt.authority||B,this.path=Tt.path||B,this.query=Tt.query||B,this.fragment=Tt.fragment||B):(this.scheme=function(Yr,Hr){return Yr||Hr?Yr:"file"}(Tt,Pn),this.authority=Ut||B,this.path=function(Yr,Hr){switch(Yr){case"https":case"http":case"file":Hr?Hr[0]!==ie&&(Hr=ie+Hr):Hr=ie}return Hr}(this.scheme,en||B),this.query=Ln||B,this.fragment=qn||B,O(this,Pn))}return Lt.isUri=function(Tt){return Tt instanceof Lt||!!Tt&&typeof Tt.authority=="string"&&typeof Tt.fragment=="string"&&typeof Tt.path=="string"&&typeof Tt.query=="string"&&typeof Tt.scheme=="string"&&typeof Tt.fsPath=="string"&&typeof Tt.with=="function"&&typeof Tt.toString=="function"},Object.defineProperty(Lt.prototype,"fsPath",{get:function(){return Me(this,!1)},enumerable:!1,configurable:!0}),Lt.prototype.with=function(Tt){if(!Tt)return this;var Ut=Tt.scheme,en=Tt.authority,Ln=Tt.path,qn=Tt.query,Pn=Tt.fragment;return Ut===void 0?Ut=this.scheme:Ut===null&&(Ut=B),en===void 0?en=this.authority:en===null&&(en=B),Ln===void 0?Ln=this.path:Ln===null&&(Ln=B),qn===void 0?qn=this.query:qn===null&&(qn=B),Pn===void 0?Pn=this.fragment:Pn===null&&(Pn=B),Ut===this.scheme&&en===this.authority&&Ln===this.path&&qn===this.query&&Pn===this.fragment?this:new Te(Ut,en,Ln,qn,Pn)},Lt.parse=function(Tt,Ut){Ut===void 0&&(Ut=!1);var en=te.exec(Tt);return en?new Te(en[2]||B,Ne(en[4]||B),Ne(en[5]||B),Ne(en[7]||B),Ne(en[9]||B),Ut):new Te(B,B,B,B,B)},Lt.file=function(Tt){var Ut=B;if(i&&(Tt=Tt.replace(/\\/g,ie)),Tt[0]===ie&&Tt[1]===ie){var en=Tt.indexOf(ie,2);en===-1?(Ut=Tt.substring(2),Tt=ie):(Ut=Tt.substring(2,en),Tt=Tt.substring(en)||ie)}return new Te("file",Ut,Tt,B,B)},Lt.from=function(Tt){var Ut=new Te(Tt.scheme,Tt.authority,Tt.path,Tt.query,Tt.fragment);return O(Ut,!0),Ut},Lt.prototype.toString=function(Tt){return Tt===void 0&&(Tt=!1),vt(this,Tt)},Lt.prototype.toJSON=function(){return this},Lt.revive=function(Tt){if(Tt){if(Tt instanceof Lt)return Tt;var Ut=new Te(Tt);return Ut._formatted=Tt.external,Ut._fsPath=Tt._sep===ue?Tt.fsPath:null,Ut}return Tt},Lt}(),ue=i?1:void 0,Te=function(Lt){function Tt(){var Ut=Lt!==null&&Lt.apply(this,arguments)||this;return Ut._formatted=null,Ut._fsPath=null,Ut}return u(Tt,Lt),Object.defineProperty(Tt.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=Me(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),Tt.prototype.toString=function(Ut){return Ut===void 0&&(Ut=!1),Ut?vt(this,!0):(this._formatted||(this._formatted=vt(this,!1)),this._formatted)},Tt.prototype.toJSON=function(){var Ut={$mid:1};return this._fsPath&&(Ut.fsPath=this._fsPath,Ut._sep=ue),this._formatted&&(Ut.external=this._formatted),this.path&&(Ut.path=this.path),this.scheme&&(Ut.scheme=this.scheme),this.authority&&(Ut.authority=this.authority),this.query&&(Ut.query=this.query),this.fragment&&(Ut.fragment=this.fragment),Ut},Tt}(N),Pe=((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 Ue(Lt,Tt,Ut){for(var en=void 0,Ln=-1,qn=0;qn<Lt.length;qn++){var Pn=Lt.charCodeAt(qn);if(Pn>=97&&Pn<=122||Pn>=65&&Pn<=90||Pn>=48&&Pn<=57||Pn===45||Pn===46||Pn===95||Pn===126||Tt&&Pn===47||Ut&&Pn===91||Ut&&Pn===93||Ut&&Pn===58)Ln!==-1&&(en+=encodeURIComponent(Lt.substring(Ln,qn)),Ln=-1),en!==void 0&&(en+=Lt.charAt(qn));else{en===void 0&&(en=Lt.substr(0,qn));var Yr=Pe[Pn];Yr!==void 0?(Ln!==-1&&(en+=encodeURIComponent(Lt.substring(Ln,qn)),Ln=-1),en+=Yr):Ln===-1&&(Ln=qn)}}return Ln!==-1&&(en+=encodeURIComponent(Lt.substring(Ln))),en!==void 0?en:Lt}function be(Lt){for(var Tt=void 0,Ut=0;Ut<Lt.length;Ut++){var en=Lt.charCodeAt(Ut);en===35||en===63?(Tt===void 0&&(Tt=Lt.substr(0,Ut)),Tt+=Pe[en]):Tt!==void 0&&(Tt+=Lt[Ut])}return Tt!==void 0?Tt:Lt}function Me(Lt,Tt){var Ut;return Ut=Lt.authority&&Lt.path.length>1&&Lt.scheme==="file"?"//".concat(Lt.authority).concat(Lt.path):Lt.path.charCodeAt(0)===47&&(Lt.path.charCodeAt(1)>=65&&Lt.path.charCodeAt(1)<=90||Lt.path.charCodeAt(1)>=97&&Lt.path.charCodeAt(1)<=122)&&Lt.path.charCodeAt(2)===58?Tt?Lt.path.substr(1):Lt.path[1].toLowerCase()+Lt.path.substr(2):Lt.path,i&&(Ut=Ut.replace(/\//g,"\\")),Ut}function vt(Lt,Tt){var Ut=Tt?be:Ue,en="",Ln=Lt.scheme,qn=Lt.authority,Pn=Lt.path,Yr=Lt.query,Hr=Lt.fragment;if(Ln&&(en+=Ln,en+=":"),(qn||Ln==="file")&&(en+=ie,en+=ie),qn){var hi=qn.indexOf("@");if(hi!==-1){var us=qn.substr(0,hi);qn=qn.substr(hi+1),(hi=us.lastIndexOf(":"))===-1?en+=Ut(us,!1,!1):(en+=Ut(us.substr(0,hi),!1,!1),en+=":",en+=Ut(us.substr(hi+1),!1,!0)),en+="@"}(hi=(qn=qn.toLowerCase()).lastIndexOf(":"))===-1?en+=Ut(qn,!1,!0):(en+=Ut(qn.substr(0,hi),!1,!0),en+=qn.substr(hi))}if(Pn){if(Pn.length>=3&&Pn.charCodeAt(0)===47&&Pn.charCodeAt(2)===58)(Ei=Pn.charCodeAt(1))>=65&&Ei<=90&&(Pn="/".concat(String.fromCharCode(Ei+32),":").concat(Pn.substr(3)));else if(Pn.length>=2&&Pn.charCodeAt(1)===58){var Ei;(Ei=Pn.charCodeAt(0))>=65&&Ei<=90&&(Pn="".concat(String.fromCharCode(Ei+32),":").concat(Pn.substr(2)))}en+=Ut(Pn,!0,!1)}return Yr&&(en+="?",en+=Ut(Yr,!1,!1)),Hr&&(en+="#",en+=Tt?Hr:Ue(Hr,!1,!1)),en}function wt(Lt){try{return decodeURIComponent(Lt)}catch{return Lt.length>3?Lt.substr(0,3)+wt(Lt.substr(3)):Lt}}var xe=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Ne(Lt){return Lt.match(xe)?Lt.replace(xe,function(Tt){return wt(Tt)}):Lt}var st,Ve=n(470),$t=function(Lt,Tt,Ut){if(Ut||arguments.length===2)for(var en,Ln=0,qn=Tt.length;Ln<qn;Ln++)!en&&Ln in Tt||(en||(en=Array.prototype.slice.call(Tt,0,Ln)),en[Ln]=Tt[Ln]);return Lt.concat(en||Array.prototype.slice.call(Tt))},pn=Ve.posix||Ve,kn="/";(function(Lt){Lt.joinPath=function(Tt){for(var Ut=[],en=1;en<arguments.length;en++)Ut[en-1]=arguments[en];return Tt.with({path:pn.join.apply(pn,$t([Tt.path],Ut,!1))})},Lt.resolvePath=function(Tt){for(var Ut=[],en=1;en<arguments.length;en++)Ut[en-1]=arguments[en];var Ln=Tt.path,qn=!1;Ln[0]!==kn&&(Ln=kn+Ln,qn=!0);var Pn=pn.resolve.apply(pn,$t([Ln],Ut,!1));return qn&&Pn[0]===kn&&!Tt.authority&&(Pn=Pn.substring(1)),Tt.with({path:Pn})},Lt.dirname=function(Tt){if(Tt.path.length===0||Tt.path===kn)return Tt;var Ut=pn.dirname(Tt.path);return Ut.length===1&&Ut.charCodeAt(0)===46&&(Ut=""),Tt.with({path:Ut})},Lt.basename=function(Tt){return pn.basename(Tt.path)},Lt.extname=function(Tt){return pn.extname(Tt.path)}})(st||(st={}))})(),Jd=r})();const{URI:ei,Utils:VE}=Jd;var Yd;(function(e){function t(n){return typeof n=="string"}e.is=t})(Yd||(Yd={}));var Zl;(function(e){function t(n){return typeof n=="string"}e.is=t})(Zl||(Zl={}));var Hd;(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})(Hd||(Hd={}));var Xo;(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})(Xo||(Xo={}));var Gr;(function(e){function t(r,i){return r===Number.MAX_VALUE&&(r=Xo.MAX_VALUE),i===Number.MAX_VALUE&&(i=Xo.MAX_VALUE),{line:r,character:i}}e.create=t;function n(r){var i=r;return St.objectLiteral(i)&&St.uinteger(i.line)&&St.uinteger(i.character)}e.is=n})(Gr||(Gr={}));var $n;(function(e){function t(r,i,s,a){if(St.uinteger(r)&&St.uinteger(i)&&St.uinteger(s)&&St.uinteger(a))return{start:Gr.create(r,i),end:Gr.create(s,a)};if(Gr.is(r)&&Gr.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 St.objectLiteral(i)&&Gr.is(i.start)&&Gr.is(i.end)}e.is=n})($n||($n={}));var ga;(function(e){function t(r,i){return{uri:r,range:i}}e.create=t;function n(r){var i=r;return St.objectLiteral(i)&&$n.is(i.range)&&(St.string(i.uri)||St.undefined(i.uri))}e.is=n})(ga||(ga={}));var ec;(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 St.objectLiteral(i)&&$n.is(i.targetRange)&&St.string(i.targetUri)&&$n.is(i.targetSelectionRange)&&($n.is(i.originSelectionRange)||St.undefined(i.originSelectionRange))}e.is=n})(ec||(ec={}));var tc;(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 St.objectLiteral(i)&&St.numberRange(i.red,0,1)&&St.numberRange(i.green,0,1)&&St.numberRange(i.blue,0,1)&&St.numberRange(i.alpha,0,1)}e.is=n})(tc||(tc={}));var zd;(function(e){function t(r,i){return{range:r,color:i}}e.create=t;function n(r){var i=r;return St.objectLiteral(i)&&$n.is(i.range)&&tc.is(i.color)}e.is=n})(zd||(zd={}));var Qd;(function(e){function t(r,i,s){return{label:r,textEdit:i,additionalTextEdits:s}}e.create=t;function n(r){var i=r;return St.objectLiteral(i)&&St.string(i.label)&&(St.undefined(i.textEdit)||xr.is(i))&&(St.undefined(i.additionalTextEdits)||St.typedArray(i.additionalTextEdits,xr.is))}e.is=n})(Qd||(Qd={}));var Xd;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(Xd||(Xd={}));var nc;(function(e){function t(r,i,s,a,o,u){var l={startLine:r,endLine:i};return St.defined(s)&&(l.startCharacter=s),St.defined(a)&&(l.endCharacter=a),St.defined(o)&&(l.kind=o),St.defined(u)&&(l.collapsedText=u),l}e.create=t;function n(r){var i=r;return St.objectLiteral(i)&&St.uinteger(i.startLine)&&St.uinteger(i.startLine)&&(St.undefined(i.startCharacter)||St.uinteger(i.startCharacter))&&(St.undefined(i.endCharacter)||St.uinteger(i.endCharacter))&&(St.undefined(i.kind)||St.string(i.kind))}e.is=n})(nc||(nc={}));var rc;(function(e){function t(r,i){return{location:r,message:i}}e.create=t;function n(r){var i=r;return St.defined(i)&&ga.is(i.location)&&St.string(i.message)}e.is=n})(rc||(rc={}));var Kn;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(Kn||(Kn={}));var ic;(function(e){e.Unnecessary=1,e.Deprecated=2})(ic||(ic={}));var Kd;(function(e){function t(n){var r=n;return St.objectLiteral(r)&&St.string(r.href)}e.is=t})(Kd||(Kd={}));var _i;(function(e){function t(r,i,s,a,o,u){var l={range:r,message:i};return St.defined(s)&&(l.severity=s),St.defined(a)&&(l.code=a),St.defined(o)&&(l.source=o),St.defined(u)&&(l.relatedInformation=u),l}e.create=t;function n(r){var i,s=r;return St.defined(s)&&$n.is(s.range)&&St.string(s.message)&&(St.number(s.severity)||St.undefined(s.severity))&&(St.integer(s.code)||St.string(s.code)||St.undefined(s.code))&&(St.undefined(s.codeDescription)||St.string((i=s.codeDescription)===null||i===void 0?void 0:i.href))&&(St.string(s.source)||St.undefined(s.source))&&(St.undefined(s.relatedInformation)||St.typedArray(s.relatedInformation,rc.is))}e.is=n})(_i||(_i={}));var Ms;(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 St.defined(s)&&s.length>0&&(o.arguments=s),o}e.create=t;function n(r){var i=r;return St.defined(i)&&St.string(i.title)&&St.string(i.command)}e.is=n})(Ms||(Ms={}));var xr;(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 St.objectLiteral(a)&&St.string(a.newText)&&$n.is(a.range)}e.is=i})(xr||(xr={}));var ya;(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 St.objectLiteral(i)&&St.string(i.label)&&(St.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(St.string(i.description)||i.description===void 0)}e.is=n})(ya||(ya={}));var ti;(function(e){function t(n){var r=n;return St.string(r)}e.is=t})(ti||(ti={}));var Ss;(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 xr.is(a)&&(ya.is(a.annotationId)||ti.is(a.annotationId))}e.is=i})(Ss||(Ss={}));var Ko;(function(e){function t(r,i){return{textDocument:r,edits:i}}e.create=t;function n(r){var i=r;return St.defined(i)&&eu.is(i.textDocument)&&Array.isArray(i.edits)}e.is=n})(Ko||(Ko={}));var so;(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"&&St.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||St.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||St.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||ti.is(i.annotationId))}e.is=n})(so||(so={}));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"&&St.string(i.oldUri)&&St.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||St.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||St.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||ti.is(i.annotationId))}e.is=n})(ao||(ao={}));var oo;(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"&&St.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||St.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||St.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||ti.is(i.annotationId))}e.is=n})(oo||(oo={}));var sc;(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 St.string(i.kind)?so.is(i)||ao.is(i)||oo.is(i):Ko.is(i)}))}e.is=t})(sc||(sc={}));var Zo=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=xr.insert(t,n):ti.is(r)?(s=r,i=Ss.insert(t,n,r)):(this.assertChangeAnnotations(this.changeAnnotations),s=this.changeAnnotations.manage(r),i=Ss.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=xr.replace(t,n):ti.is(r)?(s=r,i=Ss.replace(t,n,r)):(this.assertChangeAnnotations(this.changeAnnotations),s=this.changeAnnotations.manage(r),i=Ss.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=xr.del(t):ti.is(n)?(i=n,r=Ss.del(t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=Ss.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}(),Zd=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(ti.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 Zd(t.changeAnnotations),t.changeAnnotations=this._changeAnnotations.all(),t.documentChanges.forEach(function(r){if(Ko.is(r)){var i=new Zo(r.edits,n._changeAnnotations);n._textEditChanges[r.textDocument.uri]=i}})):t.changes&&Object.keys(t.changes).forEach(function(r){var i=new Zo(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(eu.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 Zo(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 Zo(i),this._textEditChanges[t]=r}return r}},e.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new Zd,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;ya.is(n)||ti.is(n)?i=n:r=n;var s,a;if(i===void 0?s=so.create(t,r):(a=ti.is(i)?i:this._changeAnnotations.manage(i),s=so.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;ya.is(r)||ti.is(r)?s=r:i=r;var a,o;if(s===void 0?a=ao.create(t,n,i):(o=ti.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;ya.is(n)||ti.is(n)?i=n:r=n;var s,a;if(i===void 0?s=oo.create(t,r):(a=ti.is(i)?i:this._changeAnnotations.manage(i),s=oo.create(t,r,a)),this._workspaceEdit.documentChanges.push(s),a!==void 0)return a},e})();var eh;(function(e){function t(r){return{uri:r}}e.create=t;function n(r){var i=r;return St.defined(i)&&St.string(i.uri)}e.is=n})(eh||(eh={}));var th;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){var i=r;return St.defined(i)&&St.string(i.uri)&&St.integer(i.version)}e.is=n})(th||(th={}));var eu;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){var i=r;return St.defined(i)&&St.string(i.uri)&&(i.version===null||St.integer(i.version))}e.is=n})(eu||(eu={}));var nh;(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 St.defined(i)&&St.string(i.uri)&&St.string(i.languageId)&&St.integer(i.version)&&St.string(i.text)}e.is=n})(nh||(nh={}));var xs;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(n){var r=n;return r===e.PlainText||r===e.Markdown}e.is=t})(xs||(xs={}));var uo;(function(e){function t(n){var r=n;return St.objectLiteral(n)&&xs.is(r.kind)&&St.string(r.value)}e.is=t})(uo||(uo={}));var vi;(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})(vi||(vi={}));var Xr;(function(e){e.PlainText=1,e.Snippet=2})(Xr||(Xr={}));var rh;(function(e){e.Deprecated=1})(rh||(rh={}));var ih;(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&&St.string(i.newText)&&$n.is(i.insert)&&$n.is(i.replace)}e.is=n})(ih||(ih={}));var ac;(function(e){e.asIs=1,e.adjustIndentation=2})(ac||(ac={}));var sh;(function(e){function t(n){var r=n;return r&&(St.string(r.detail)||r.detail===void 0)&&(St.string(r.description)||r.description===void 0)}e.is=t})(sh||(sh={}));var oc;(function(e){function t(n){return{label:n}}e.create=t})(oc||(oc={}));var uc;(function(e){function t(n,r){return{items:n||[],isIncomplete:!!r}}e.create=t})(uc||(uc={}));var tu;(function(e){function t(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function n(r){var i=r;return St.string(i)||St.objectLiteral(i)&&St.string(i.language)&&St.string(i.value)}e.is=n})(tu||(tu={}));var ah;(function(e){function t(n){var r=n;return!!r&&St.objectLiteral(r)&&(uo.is(r.contents)||tu.is(r.contents)||St.typedArray(r.contents,tu.is))&&(n.range===void 0||$n.is(n.range))}e.is=t})(ah||(ah={}));var oh;(function(e){function t(n,r){return r?{label:n,documentation:r}:{label:n}}e.create=t})(oh||(oh={}));var uh;(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 St.defined(r)&&(a.documentation=r),St.defined(i)?a.parameters=i:a.parameters=[],a}e.create=t})(uh||(uh={}));var lh;(function(e){e.Text=1,e.Read=2,e.Write=3})(lh||(lh={}));var ch;(function(e){function t(n,r){var i={range:n};return St.number(r)&&(i.kind=r),i}e.create=t})(ch||(ch={}));var Ki;(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})(Ki||(Ki={}));var fh;(function(e){e.Deprecated=1})(fh||(fh={}));var ph;(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})(ph||(ph={}));var dh;(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})(dh||(dh={}));var hh;(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&&St.string(i.name)&&St.number(i.kind)&&$n.is(i.range)&&$n.is(i.selectionRange)&&(i.detail===void 0||St.string(i.detail))&&(i.deprecated===void 0||St.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}e.is=n})(hh||(hh={}));var Os;(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"})(Os||(Os={}));var nu;(function(e){e.Invoked=1,e.Automatic=2})(nu||(nu={}));var mh;(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 St.defined(i)&&St.typedArray(i.diagnostics,_i.is)&&(i.only===void 0||St.typedArray(i.only,St.string))&&(i.triggerKind===void 0||i.triggerKind===nu.Invoked||i.triggerKind===nu.Automatic)}e.is=n})(mh||(mh={}));var ws;(function(e){function t(r,i,s){var a={title:r},o=!0;return typeof i=="string"?(o=!1,a.kind=i):Ms.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&&St.string(i.title)&&(i.diagnostics===void 0||St.typedArray(i.diagnostics,_i.is))&&(i.kind===void 0||St.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||Ms.is(i.command))&&(i.isPreferred===void 0||St.boolean(i.isPreferred))&&(i.edit===void 0||sc.is(i.edit))}e.is=n})(ws||(ws={}));var lc;(function(e){function t(r,i){var s={range:r};return St.defined(i)&&(s.data=i),s}e.create=t;function n(r){var i=r;return St.defined(i)&&$n.is(i.range)&&(St.undefined(i.command)||Ms.is(i.command))}e.is=n})(lc||(lc={}));var gh;(function(e){function t(r,i){return{tabSize:r,insertSpaces:i}}e.create=t;function n(r){var i=r;return St.defined(i)&&St.uinteger(i.tabSize)&&St.boolean(i.insertSpaces)}e.is=n})(gh||(gh={}));var yh;(function(e){function t(r,i,s){return{range:r,target:i,data:s}}e.create=t;function n(r){var i=r;return St.defined(i)&&$n.is(i.range)&&(St.undefined(i.target)||St.string(i.target))}e.is=n})(yh||(yh={}));var Dh;(function(e){function t(r,i){return{range:r,parent:i}}e.create=t;function n(r){var i=r;return St.objectLiteral(i)&&$n.is(i.range)&&(i.parent===void 0||e.is(i.parent))}e.is=n})(Dh||(Dh={}));var bh;(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"})(bh||(bh={}));var vh;(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"})(vh||(vh={}));var Eh;(function(e){function t(n){var r=n;return St.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})(Eh||(Eh={}));var Ah;(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)&&St.string(i.text)}e.is=n})(Ah||(Ah={}));var Ch;(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)&&St.boolean(i.caseSensitiveLookup)&&(St.string(i.variableName)||i.variableName===void 0)}e.is=n})(Ch||(Ch={}));var Sh;(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)&&(St.string(i.expression)||i.expression===void 0)}e.is=n})(Sh||(Sh={}));var xh;(function(e){function t(r,i){return{frameId:r,stoppedLocation:i}}e.create=t;function n(r){var i=r;return St.defined(i)&&$n.is(r.stoppedLocation)}e.is=n})(xh||(xh={}));var cc;(function(e){e.Type=1,e.Parameter=2;function t(n){return n===1||n===2}e.is=t})(cc||(cc={}));var fc;(function(e){function t(r){return{value:r}}e.create=t;function n(r){var i=r;return St.objectLiteral(i)&&(i.tooltip===void 0||St.string(i.tooltip)||uo.is(i.tooltip))&&(i.location===void 0||ga.is(i.location))&&(i.command===void 0||Ms.is(i.command))}e.is=n})(fc||(fc={}));var wh;(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 St.objectLiteral(i)&&Gr.is(i.position)&&(St.string(i.label)||St.typedArray(i.label,fc.is))&&(i.kind===void 0||cc.is(i.kind))&&i.textEdits===void 0||St.typedArray(i.textEdits,xr.is)&&(i.tooltip===void 0||St.string(i.tooltip)||uo.is(i.tooltip))&&(i.paddingLeft===void 0||St.boolean(i.paddingLeft))&&(i.paddingRight===void 0||St.boolean(i.paddingRight))}e.is=n})(wh||(wh={}));var Fh;(function(e){function t(n){var r=n;return St.objectLiteral(r)&&Zl.is(r.uri)&&St.string(r.name)}e.is=t})(Fh||(Fh={}));var Nh;(function(e){function t(s,a,o,u){return new iy(s,a,o,u)}e.create=t;function n(s){var a=s;return!!(St.defined(a)&&St.string(a.uri)&&(St.undefined(a.languageId)||St.string(a.languageId))&&St.uinteger(a.lineCount)&&St.func(a.getText)&&St.func(a.positionAt)&&St.func(a.offsetAt))}e.is=n;function r(s,a){for(var o=s.getText(),u=i(a,function(ie,te){var N=ie.range.start.line-te.range.start.line;return N===0?ie.range.start.character-te.range.start.character:N}),l=o.length,A=u.length-1;A>=0;A--){var p=u[A],O=s.offsetAt(p.range.start),B=s.offsetAt(p.range.end);if(B<=l)o=o.substring(0,O)+p.newText+o.substring(B,o.length);else throw new Error("Overlapping edit");l=O}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 A=0,p=0,O=0;A<u.length&&p<l.length;){var B=a(u[A],l[p]);B<=0?s[O++]=u[A++]:s[O++]=l[p++]}for(;A<u.length;)s[O++]=u[A++];for(;p<l.length;)s[O++]=l[p++];return s}})(Nh||(Nh={}));var iy=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===`
12
- `,s==="\r"&&i+1<n.length&&n.charAt(i+1)===`
13
- `&&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 Gr.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 Gr.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}(),St;(function(e){var t=Object.prototype.toString;function n(B){return typeof B<"u"}e.defined=n;function r(B){return typeof B>"u"}e.undefined=r;function i(B){return B===!0||B===!1}e.boolean=i;function s(B){return t.call(B)==="[object String]"}e.string=s;function a(B){return t.call(B)==="[object Number]"}e.number=a;function o(B,ie,te){return t.call(B)==="[object Number]"&&ie<=B&&B<=te}e.numberRange=o;function u(B){return t.call(B)==="[object Number]"&&-2147483648<=B&&B<=2147483647}e.integer=u;function l(B){return t.call(B)==="[object Number]"&&0<=B&&B<=2147483647}e.uinteger=l;function A(B){return t.call(B)==="[object Function]"}e.func=A;function p(B){return B!==null&&typeof B=="object"}e.objectLiteral=p;function O(B,ie){return Array.isArray(B)&&B.every(ie)}e.typedArray=O})(St||(St={}));const pc=Symbol.for("yaml.alias"),dc=Symbol.for("yaml.document"),Fs=Symbol.for("yaml.map"),_h=Symbol.for("yaml.pair"),ss=Symbol.for("yaml.scalar"),Da=Symbol.for("yaml.seq"),Ti=Symbol.for("yaml.node.type"),Zi=e=>!!e&&typeof e=="object"&&e[Ti]===pc,lo=e=>!!e&&typeof e=="object"&&e[Ti]===dc,Vr=e=>!!e&&typeof e=="object"&&e[Ti]===Fs,dr=e=>!!e&&typeof e=="object"&&e[Ti]===_h,Jn=e=>!!e&&typeof e=="object"&&e[Ti]===ss,Lr=e=>!!e&&typeof e=="object"&&e[Ti]===Da;function Tr(e){if(e&&typeof e=="object")switch(e[Ti]){case Fs:case Da:return!0}return!1}function yr(e){if(e&&typeof e=="object")switch(e[Ti]){case pc:case Fs:case ss:case Da:return!0}return!1}const sy=e=>(Jn(e)||Tr(e))&&!!e.anchor,js=Symbol("break visit"),ay=Symbol("skip children"),co=Symbol("remove node");function Fr(e,t){const n=oy(t);lo(e)?ba(null,e.contents,n,Object.freeze([e]))===co&&(e.contents=null):ba(null,e,n,Object.freeze([]))}Fr.BREAK=js,Fr.SKIP=ay,Fr.REMOVE=co;function ba(e,t,n,r){const i=uy(e,t,n,r);if(yr(i)||dr(i))return ly(e,r,i),ba(e,i,n,r);if(typeof i!="symbol"){if(Tr(t)){r=Object.freeze(r.concat(t));for(let s=0;s<t.items.length;++s){const a=ba(s,t.items[s],n,r);if(typeof a=="number")s=a-1;else{if(a===js)return js;a===co&&(t.items.splice(s,1),s-=1)}}}else if(dr(t)){r=Object.freeze(r.concat(t));const s=ba("key",t.key,n,r);if(s===js)return js;s===co&&(t.key=null);const a=ba("value",t.value,n,r);if(a===js)return js;a===co&&(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 uy(e,t,n,r){var i,s,a,o,u;if(typeof n=="function")return n(e,t,r);if(Vr(t))return(i=n.Map)==null?void 0:i.call(n,e,t,r);if(Lr(t))return(s=n.Seq)==null?void 0:s.call(n,e,t,r);if(dr(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(Zi(t))return(u=n.Alias)==null?void 0:u.call(n,e,t,r)}function ly(e,t,n){const r=t[t.length-1];if(Tr(r))r.items[e]=n;else if(dr(r))e==="key"?r.key=n:r.value=n;else if(lo(r))r.contents=n;else{const i=Zi(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}const cy={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},fy=e=>e.replace(/[!,[\]{}]/g,t=>cy[t]);class si{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},si.defaultYaml,t),this.tags=Object.assign({},si.defaultTags,n)}clone(){const t=new si(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new si(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:si.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},si.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:si.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},si.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];return s?s+decodeURIComponent(i):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+fy(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&&yr(t.contents)){const s={};Fr(t.contents,(a,o)=>{yr(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(`
14
- `)}}si.defaultYaml={explicit:!1,version:"1.2"},si.defaultTags={"!!":"tag:yaml.org,2002:"};function Th(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 kh(e){const t=new Set;return Fr(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}function Lh(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function py(e,t){const n=[],r=new Map;let i=null;return{onAnchor:s=>{n.push(s),i||(i=kh(e));const a=Lh(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)||Tr(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 va(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=va(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=va(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=va(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=va(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||!sy(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 hc{constructor(t){Object.defineProperty(this,Ti,{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(!lo(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"?va(s,{"":o},"",o):o}}class mc extends hc{constructor(t){super(pc),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let n;return Fr(t,{Node:(r,i)=>{if(i===this)return Fr.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=ru(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(Th(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 ru(e,t,n){if(Zi(t)){const r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(Tr(t)){let r=0;for(const i of t.items){const s=ru(e,i,n);s>r&&(r=s)}return r}else if(dr(t)){const r=ru(e,t.key,n),i=ru(e,t.value,n);return Math.max(r,i)}return 1}const Ph=e=>!e||typeof e!="function"&&typeof e!="object";class Zn extends hc{constructor(t){super(ss),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 dy="tag:yaml.org,2002:";function hy(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 p,O,B;if(lo(e)&&(e=e.contents),yr(e))return e;if(dr(e)){const ie=(O=(p=n.schema[Fs]).createNode)==null?void 0:O.call(p,n.schema,null,n);return ie.items.push(e),ie}(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 mc(u.anchor);u={anchor:null,node:null},o.set(e,u)}t!=null&&t.startsWith("!!")&&(t=dy+t.slice(2));let l=hy(e,t,a.tags);if(!l){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const ie=new Zn(e);return u&&(u.node=ie),ie}l=e instanceof Map?a[Fs]:Symbol.iterator in Object(e)?a[Da]:a[Fs]}s&&(s(l),delete n.onTagObj);const A=l!=null&&l.createNode?l.createNode(n.schema,e,n):typeof((B=l==null?void 0:l.nodeClass)==null?void 0:B.from)=="function"?l.nodeClass.from(n.schema,e,n):new Zn(e);return t?A.tag=t:l.default||(A.tag=l.tag),u&&(u.node=A),A}function iu(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 po=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class su extends hc{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=>yr(r)||dr(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(po(t))this.add(n);else{const[r,...i]=t,s=this.get(r,!0);if(Tr(s))s.addIn(i,n);else if(s===void 0&&this.schema)this.set(r,iu(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(Tr(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:Tr(s)?s.getIn(i,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!dr(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 Tr(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(Tr(s))s.setIn(i,n);else if(s===void 0&&this.schema)this.set(r,iu(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}}su.maxFlowStringSingleLineLength=60;const my=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function as(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Ns=(e,t,n)=>e.endsWith(`
15
- `)?as(n,t):n.includes(`
16
- `)?`
17
- `+as(n,t):(e.endsWith(" ")?"":" ")+n,Bh="flow",gc="block",au="quoted";function ou(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=[],A={};let p=i-t.length;typeof r=="number"&&(r>i-Math.max(2,s)?l.push(0):p=i-r);let O,B,ie=!1,te=-1,N=-1,ue=-1;n===gc&&(te=Ih(e,te),te!==-1&&(p=te+u));for(let Pe;Pe=e[te+=1];){if(n===au&&Pe==="\\"){switch(N=te,e[te+1]){case"x":te+=3;break;case"u":te+=5;break;case"U":te+=9;break;default:te+=1}ue=te}if(Pe===`
18
- `)n===gc&&(te=Ih(e,te)),p=te+u,O=void 0;else{if(Pe===" "&&B&&B!==" "&&B!==`
19
- `&&B!==" "){const Ue=e[te+1];Ue&&Ue!==" "&&Ue!==`
20
- `&&Ue!==" "&&(O=te)}if(te>=p)if(O)l.push(O),p=O+u,O=void 0;else if(n===au){for(;B===" "||B===" ";)B=Pe,Pe=e[te+=1],ie=!0;const Ue=te>ue+1?te-2:N-1;if(A[Ue])return e;l.push(Ue),A[Ue]=!0,p=Ue+u,O=void 0}else ie=!0}B=Pe}if(ie&&o&&o(),l.length===0)return e;a&&a();let Te=e.slice(0,l[0]);for(let Pe=0;Pe<l.length;++Pe){const Ue=l[Pe],be=l[Pe+1]||e.length;Ue===0?Te=`
21
- ${t}${e.slice(0,be)}`:(n===au&&A[Ue]&&(Te+=`${e[Ue]}\\`),Te+=`
22
- ${t}${e.slice(Ue+1,be)}`)}return Te}function Ih(e,t){let n=e[t+1];for(;n===" "||n===" ";){do n=e[t+=1];while(n&&n!==`
23
- `);n=e[t+1]}return t}const uu=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),lu=e=>/^(%|---|\.\.\.)/m.test(e);function gy(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]===`
24
- `){if(s-a>r)return!0;if(a=s+1,i-a<=r)return!1}return!0}function ho(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,s=t.indent||(lu(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 A=n.substr(u+2,4);switch(A){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:A.substr(0,2)==="00"?a+="\\x"+A.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)+`
25
-
26
- `;n[u+2]==="\\"&&n[u+3]==="n"&&n[u+4]!=='"';)a+=`
27
- `,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:ou(a,s,au,uu(t,!1))}function yc(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
28
- `)||/[ \t]\n|\n[ \t]/.test(e))return ho(e,t);const n=t.indent||(lu(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
29
- ${n}`)+"'";return t.implicitKey?r:ou(r,n,Bh,uu(t,!1))}function Ea(e,t){const{singleQuote:n}=t.options;let r;if(n===!1)r=ho;else{const i=e.includes('"'),s=e.includes("'");i&&!s?r=yc:s&&!i?r=ho:r=n?yc:ho}return r(e,t)}let Dc;try{Dc=new RegExp(`(^|(?<!
30
- ))
31
- +(?!
32
- |$)`,"g")}catch{Dc=/\n+(?!\n|$)/g}function cu({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 Ea(n,r);const l=r.indent||(r.forceBlockIndent||lu(n)?" ":""),A=a==="literal"?!0:a==="folded"||t===Zn.BLOCK_FOLDED?!1:t===Zn.BLOCK_LITERAL?!0:!gy(n,u,l.length);if(!n)return A?`|
33
- `:`>
34
- `;let p,O;for(O=n.length;O>0;--O){const Me=n[O-1];if(Me!==`
35
- `&&Me!==" "&&Me!==" ")break}let B=n.substring(O);const ie=B.indexOf(`
36
- `);ie===-1?p="-":n===B||ie!==B.length-1?(p="+",s&&s()):p="",B&&(n=n.slice(0,-B.length),B[B.length-1]===`
37
- `&&(B=B.slice(0,-1)),B=B.replace(Dc,`$&${l}`));let te=!1,N,ue=-1;for(N=0;N<n.length;++N){const Me=n[N];if(Me===" ")te=!0;else if(Me===`
38
- `)ue=N;else break}let Te=n.substring(0,ue<N?ue+1:N);Te&&(n=n.substring(Te.length),Te=Te.replace(/\n+/g,`$&${l}`));let Ue=(A?"|":">")+(te?l?"2":"1":"")+p;if(e&&(Ue+=" "+o(e.replace(/ ?[\r\n]+/g," ")),i&&i()),A)return n=n.replace(/\n+/g,`$&${l}`),`${Ue}
39
- ${l}${Te}${n}${B}`;n=n.replace(/\n+/g,`
40
- $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`);const be=ou(`${Te}${n}${B}`,l,gc,uu(r,!0));return`${Ue}
41
- ${l}${be}`}function yy(e,t,n,r){const{type:i,value:s}=e,{actualString:a,implicitKey:o,indent:u,indentStep:l,inFlow:A}=t;if(o&&/[\n[\]{},]/.test(s)||A&&/[[\]{},]/.test(s))return Ea(s,t);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return o||A||!s.includes(`
42
- `)?Ea(s,t):cu(e,t,n,r);if(!o&&!A&&i!==Zn.PLAIN&&s.includes(`
43
- `))return cu(e,t,n,r);if(lu(s)){if(u==="")return t.forceBlockIndent=!0,cu(e,t,n,r);if(o&&u===l)return Ea(s,t)}const p=s.replace(/\n+/g,`$&
44
- ${u}`);if(a){const O=te=>{var N;return te.default&&te.tag!=="tag:yaml.org,2002:str"&&((N=te.test)==null?void 0:N.test(p))},{compat:B,tags:ie}=t.doc.schema;if(ie.some(O)||B!=null&&B.some(O))return Ea(s,t)}return o?p:ou(p,u,Bh,uu(t,!1))}function bc(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=A=>{switch(A){case Zn.BLOCK_FOLDED:case Zn.BLOCK_LITERAL:return i||s?Ea(a.value,t):cu(a,t,n,r);case Zn.QUOTE_DOUBLE:return ho(a.value,t);case Zn.QUOTE_SINGLE:return yc(a.value,t);case Zn.PLAIN:return yy(a,t,n,r);default:return null}};let l=u(o);if(l===null){const{defaultKeyType:A,defaultStringType:p}=t.options,O=i&&A||p;if(l=u(O),l===null)throw new Error(`Unsupported default string type ${O}`)}return l}function Mh(e,t){const n=Object.assign({blockQuote:!0,commentString:my,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 Dy(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 by(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const i=[],s=(Jn(e)||Tr(e))&&e.anchor;s&&Th(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 Aa(e,t,n,r){var u;if(dr(e))return e.toString(t,n,r);if(Zi(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=yr(e)?e:t.doc.createNode(e,{onTagObj:l=>i=l});i||(i=Dy(t.doc.schema.tags,s));const a=by(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)?bc(s,t,n,r):s.toString(t,n,r);return a?Jn(s)||o[0]==="{"||o[0]==="["?`${a} ${o}`:`${a}
45
- ${t.indent}${o}`:o}function vy({key:e,value:t},n,r,i){const{allNullValues:s,doc:a,indent:o,indentStep:u,options:{commentString:l,indentSeq:A,simpleKeys:p}}=n;let O=yr(e)&&e.comment||null;if(p){if(O)throw new Error("With simple keys, key nodes cannot have comments");if(Tr(e)){const vt="With simple keys, collection cannot be used as a key value";throw new Error(vt)}}let B=!p&&(!e||O&&t==null&&!n.inFlow||Tr(e)||(Jn(e)?e.type===Zn.BLOCK_FOLDED||e.type===Zn.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!B&&(p||!s),indent:o+u});let ie=!1,te=!1,N=Aa(e,n,()=>ie=!0,()=>te=!0);if(!B&&!n.inFlow&&N.length>1024){if(p)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");B=!0}if(n.inFlow){if(s||t==null)return ie&&r&&r(),N===""?"?":B?`? ${N}`:N}else if(s&&!p||t==null&&B)return N=`? ${N}`,O&&!ie?N+=Ns(N,n.indent,l(O)):te&&i&&i(),N;ie&&(O=null),B?(O&&(N+=Ns(N,n.indent,l(O))),N=`? ${N}
46
- ${o}:`):(N=`${N}:`,O&&(N+=Ns(N,n.indent,l(O))));let ue,Te,Pe;yr(t)?(ue=!!t.spaceBefore,Te=t.commentBefore,Pe=t.comment):(ue=!1,Te=null,Pe=null,t&&typeof t=="object"&&(t=a.createNode(t))),n.implicitKey=!1,!B&&!O&&Jn(t)&&(n.indentAtStart=N.length+1),te=!1,!A&&u.length>=2&&!n.inFlow&&!B&&Lr(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let Ue=!1;const be=Aa(t,n,()=>Ue=!0,()=>te=!0);let Me=" ";if(O||ue||Te){if(Me=ue?`
47
- `:"",Te){const vt=l(Te);Me+=`
48
- ${as(vt,n.indent)}`}be===""&&!n.inFlow?Me===`
49
- `&&(Me=`
50
-
51
- `):Me+=`
52
- ${n.indent}`}else if(!B&&Tr(t)){const vt=be[0],wt=be.indexOf(`
53
- `),xe=wt!==-1,Ne=n.inFlow??t.flow??t.items.length===0;if(xe||!Ne){let st=!1;if(xe&&(vt==="&"||vt==="!")){let Ve=be.indexOf(" ");vt==="&"&&Ve!==-1&&Ve<wt&&be[Ve+1]==="!"&&(Ve=be.indexOf(" ",Ve+1)),(Ve===-1||wt<Ve)&&(st=!0)}st||(Me=`
54
- ${n.indent}`)}}else(be===""||be[0]===`
55
- `)&&(Me="");return N+=Me+be,n.inFlow?Ue&&r&&r():Pe&&!Ue?N+=Ns(N,n.indent,l(Pe)):te&&i&&i(),N}function Oh(e,t){(e==="debug"||e==="warn")&&(typeof process<"u"&&process.emitWarning?process.emitWarning(t):console.warn(t))}const jh="<<";function $h(e,t,{key:n,value:r}){if(e!=null&&e.doc.schema.merge&&Ey(n))if(r=Zi(r)?r.resolve(e.doc):r,Lr(r))for(const i of r.items)vc(e,t,i);else if(Array.isArray(r))for(const i of r)vc(e,t,i);else vc(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=Ay(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 Ey=e=>e===jh||Jn(e)&&e.value===jh&&(!e.type||e.type===Zn.PLAIN);function vc(e,t,n){const r=e&&Zi(n)?n.resolve(e.doc):n;if(!Vr(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 Ay(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(yr(e)&&n&&n.doc){const r=Mh(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)+'..."'),Oh(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 Ec(e,t,n){const r=fo(e,void 0,n),i=fo(t,void 0,n);return new ai(r,i)}class ai{constructor(t,n=null){Object.defineProperty(this,Ti,{value:_h}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return yr(n)&&(n=n.clone(t)),yr(r)&&(r=r.clone(t)),new ai(n,r)}toJSON(t,n){const r=n!=null&&n.mapAsMap?new Map:{};return $h(n,r,this)}toString(t,n,r){return t!=null&&t.doc?vy(this,t,n,r):JSON.stringify(this)}}function Rh(e,t,n){return(t.inFlow??e.flow?Sy:Cy)(e,t,n)}function Cy({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:s,onChompKeep:a,onComment:o}){const{indent:u,options:{commentString:l}}=n,A=Object.assign({},n,{indent:s,type:null});let p=!1;const O=[];for(let ie=0;ie<t.length;++ie){const te=t[ie];let N=null;if(yr(te))!p&&te.spaceBefore&&O.push(""),fu(n,O,te.commentBefore,p),te.comment&&(N=te.comment);else if(dr(te)){const Te=yr(te.key)?te.key:null;Te&&(!p&&Te.spaceBefore&&O.push(""),fu(n,O,Te.commentBefore,p))}p=!1;let ue=Aa(te,A,()=>N=null,()=>p=!0);N&&(ue+=Ns(ue,s,l(N))),p&&N&&(p=!1),O.push(r+ue)}let B;if(O.length===0)B=i.start+i.end;else{B=O[0];for(let ie=1;ie<O.length;++ie){const te=O[ie];B+=te?`
56
- ${u}${te}`:`
57
- `}}return e?(B+=`
58
- `+as(l(e),u),o&&o()):p&&a&&a(),B}function Sy({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 A=Object.assign({},n,{indent:i,inFlow:!0,type:null});let p=!1,O=0;const B=[];for(let ue=0;ue<t.length;++ue){const Te=t[ue];let Pe=null;if(yr(Te))Te.spaceBefore&&B.push(""),fu(n,B,Te.commentBefore,!1),Te.comment&&(Pe=Te.comment);else if(dr(Te)){const be=yr(Te.key)?Te.key:null;be&&(be.spaceBefore&&B.push(""),fu(n,B,be.commentBefore,!1),be.comment&&(p=!0));const Me=yr(Te.value)?Te.value:null;Me?(Me.comment&&(Pe=Me.comment),Me.commentBefore&&(p=!0)):Te.value==null&&be&&be.comment&&(Pe=be.comment)}Pe&&(p=!0);let Ue=Aa(Te,A,()=>Pe=null);ue<t.length-1&&(Ue+=","),Pe&&(Ue+=Ns(Ue,i,l(Pe))),!p&&(B.length>O||Ue.includes(`
59
- `))&&(p=!0),B.push(Ue),O=B.length}let ie;const{start:te,end:N}=r;if(B.length===0)ie=te+N;else if(p||(p=B.reduce((Te,Pe)=>Te+Pe.length+2,2)>su.maxFlowStringSingleLineLength),p){ie=te;for(const ue of B)ie+=ue?`
60
- ${o}${a}${ue}`:`
61
- `;ie+=`
62
- ${a}${N}`}else ie=`${te}${u}${B.join(" ")}${u}${N}`;return e&&(ie+=Ns(ie,a,l(e)),s&&s()),ie}function fu({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,"")),r){const s=as(t(r),e);n.push(s.trimStart())}}function $s(e,t){const n=Jn(t)?t.value:t;for(const r of e)if(dr(r)&&(r.key===t||r.key===n||Jn(r.key)&&r.key.value===n))return r}class Li extends su{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(Fs,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(Ec(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;dr(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new ai(t,t==null?void 0:t.value):r=new ai(t.key,t.value);const i=$s(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)&&Ph(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=$s(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const r=$s(this.items,t),i=r==null?void 0:r.value;return(!n&&Jn(i)?i.value:i)??void 0}has(t){return!!$s(this.items,t)}set(t,n){this.add(new ai(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)$h(n,i,s);return i}toString(t,n,r){if(!t)return JSON.stringify(this);for(const i of this.items)if(!dr(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})),Rh(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}}const Ca={collection:"map",default:!0,nodeClass:Li,tag:"tag:yaml.org,2002:map",resolve(e,t){return Vr(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>Li.from(e,t,n)};class Rs extends su{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(Da,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=pu(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const r=pu(t);if(typeof r!="number")return;const i=this.items[r];return!n&&Jn(i)?i.value:i}has(t){const n=pu(t);return typeof n=="number"&&n<this.items.length}set(t,n){const r=pu(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);const i=this.items[r];Jn(i)&&Ph(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?Rh(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 pu(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 Sa={collection:"seq",default:!0,nodeClass:Rs,tag:"tag:yaml.org,2002:seq",resolve(e,t){return Lr(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>Rs.from(e,t,n)},du={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),bc(e,t,n,r)}},hu={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"&&hu.test.test(e)?e:t.options.nullStr},Ac={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&&Ac.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 Vi({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 Vh={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:Vi},Uh={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():Vi(e)}},qh={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:Vi},mu=e=>typeof e=="bigint"||Number.isInteger(e),Cc=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function Wh(e,t,n){const{value:r}=e;return mu(r)&&r>=0?n+r.toString(t):Vi(e)}const Gh={identify:e=>mu(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Cc(e,2,8,n),stringify:e=>Wh(e,8,"0o")},Jh={identify:mu,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Cc(e,0,10,n),stringify:Vi},Yh={identify:e=>mu(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Cc(e,2,16,n),stringify:e=>Wh(e,16,"0x")},xy=[Ca,Sa,du,hu,Ac,Gh,Jh,Yh,Vh,Uh,qh];function Hh(e){return typeof e=="bigint"||Number.isInteger(e)}const gu=({value:e})=>JSON.stringify(e),wy=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:gu},{identify:e=>e==null,createNode:()=>new Zn(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:gu},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:gu},{identify:Hh,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})=>Hh(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:gu}],Fy={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},Ny=[Ca,Sa].concat(wy,Fy),Sc={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),A=new Array(l);for(let p=0,O=0;p<l;++p,O+=u)A[p]=o.substr(O,u);o=A.join(t===Zn.BLOCK_LITERAL?`
63
- `:" ")}return bc({comment:e,type:t,value:o},r,i,s)}};function zh(e,t){if(Lr(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!dr(r)){if(Vr(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const i=r.items[0]||new ai(new Zn(null));if(r.commentBefore&&(i.key.commentBefore=i.key.commentBefore?`${r.commentBefore}
64
- ${i.key.commentBefore}`:r.commentBefore),r.comment){const s=i.value??i.key;s.comment=s.comment?`${r.comment}
65
- ${s.comment}`:r.comment}r=i}e.items[n]=dr(r)?r:new ai(r)}}else t("Expected a sequence for this tag");return e}function Qh(e,t,n){const{replacer:r}=n,i=new Rs(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 { key: value } tuple: ${a}`)}else o=a;i.items.push(Ec(o,u,n))}return i}const xc={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:zh,createNode:Qh};class xa extends Rs{constructor(){super(),this.add=Li.prototype.add.bind(this),this.delete=Li.prototype.delete.bind(this),this.get=Li.prototype.get.bind(this),this.has=Li.prototype.has.bind(this),this.set=Li.prototype.set.bind(this),this.tag=xa.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(dr(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=Qh(t,n,r),s=new this;return s.items=i.items,s}}xa.tag="tag:yaml.org,2002:omap";const wc={collection:"seq",identify:e=>e instanceof Map,nodeClass:xa,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=zh(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 xa,n)},createNode:(e,t,n)=>xa.from(e,t,n)};function Xh({value:e,source:t},n){return t&&(e?Kh:Zh).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const Kh={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:Xh},Zh={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:Xh},_y={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:Vi},Ty={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():Vi(e)}},ky={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:Vi},mo=e=>typeof e=="bigint"||Number.isInteger(e);function yu(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 Fc(e,t,n){const{value:r}=e;if(mo(r)){const i=r.toString(t);return r<0?"-"+n+i.substr(1):n+i}return Vi(e)}const Ly={identify:mo,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>yu(e,2,2,n),stringify:e=>Fc(e,2,"0b")},Py={identify:mo,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>yu(e,1,8,n),stringify:e=>Fc(e,8,"0")},By={identify:mo,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>yu(e,0,10,n),stringify:Vi},Iy={identify:mo,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>yu(e,2,16,n),stringify:e=>Fc(e,16,"0x")};class wa extends Li{constructor(t){super(t),this.tag=wa.tag}add(t){let n;dr(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new ai(t.key,null):n=new ai(t,null),$s(this.items,n.key)||this.items.push(n)}get(t,n){const r=$s(this.items,t);return!n&&dr(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=$s(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new ai(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(Ec(a,null,r));return s}}wa.tag="tag:yaml.org,2002:set";const Nc={collection:"map",identify:e=>e instanceof Set,nodeClass:wa,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>wa.from(e,t,n),resolve(e,t){if(Vr(e)){if(e.hasAllNullValues(!0))return Object.assign(new wa,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function _c(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 em(e){let{value:t}=e,n=a=>a;if(typeof t=="bigint")n=a=>BigInt(a);else if(isNaN(t)||!isFinite(t))return Vi(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 tm={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})=>_c(e,n),stringify:em},nm={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=>_c(e,!1),stringify:em},Du={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(Du.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 A=t[8];if(A&&A!=="Z"){let p=_c(A,!1);Math.abs(p)<30&&(p*=60),l-=6e4*p}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},rm=[Ca,Sa,du,hu,Kh,Zh,Ly,Py,By,Iy,_y,Ty,ky,Sc,wc,xc,Nc,tm,nm,Du],im=new Map([["core",xy],["failsafe",[Ca,Sa,du]],["json",Ny],["yaml11",rm],["yaml-1.1",rm]]),sm={binary:Sc,bool:Ac,float:qh,floatExp:Uh,floatNaN:Vh,floatTime:nm,int:Jh,intHex:Yh,intOct:Gh,intTime:tm,map:Ca,null:hu,omap:wc,pairs:xc,seq:Sa,set:Nc,timestamp:Du},My={"tag:yaml.org,2002:binary":Sc,"tag:yaml.org,2002:omap":wc,"tag:yaml.org,2002:pairs":xc,"tag:yaml.org,2002:set":Nc,"tag:yaml.org,2002:timestamp":Du};function Tc(e,t){let n=im.get(t);if(!n)if(Array.isArray(e))n=[];else{const r=Array.from(im.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=sm[r];if(i)return i;const s=Object.keys(sm).map(a=>JSON.stringify(a)).join(", ");throw new Error(`Unknown custom tag "${r}"; use one of ${s}`)})}const Oy=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class kc{constructor({compat:t,customTags:n,merge:r,resolveKnownTags:i,schema:s,sortMapEntries:a,toStringDefaults:o}){this.compat=Array.isArray(t)?Tc(t,"compat"):t?Tc(null,t):null,this.merge=!!r,this.name=typeof s=="string"&&s||"core",this.knownTags=i?My:{},this.tags=Tc(n,this.name),this.toStringOptions=o??null,Object.defineProperty(this,Fs,{value:Ca}),Object.defineProperty(this,ss,{value:du}),Object.defineProperty(this,Da,{value:Sa}),this.sortMapEntries=typeof a=="function"?a:a===!0?Oy:null}clone(){const t=Object.create(kc.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}function jy(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=Mh(e,t),{commentString:s}=i.options;if(e.commentBefore){n.length!==1&&n.unshift("");const l=s(e.commentBefore);n.unshift(as(l,""))}let a=!1,o=null;if(e.contents){if(yr(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const p=s(e.contents.commentBefore);n.push(as(p,""))}i.forceBlockIndent=!!e.comment,o=e.contents.comment}const l=o?void 0:()=>a=!0;let A=Aa(e.contents,i,()=>o=null,l);o&&(A+=Ns(A,"",s(o))),(A[0]==="|"||A[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${A}`:n.push(A)}else n.push(Aa(e.contents,i));if((u=e.directives)!=null&&u.docEnd)if(e.comment){const l=s(e.comment);l.includes(`
66
- `)?(n.push("..."),n.push(as(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(as(s(l),"")))}return n.join(`
67
- `)+`
68
- `}class bu{constructor(t,n,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Ti,{value:dc});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 si({version:a}),this.setSchema(a,r),this.contents=t===void 0?null:this.createNode(t,i,r)}clone(){const t=Object.create(bu.prototype,{[Ti]:{value:dc}});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=yr(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){Fa(this.contents)&&this.contents.add(t)}addIn(t,n){Fa(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const r=kh(this);t.anchor=!n||r.has(n)?Lh(n||"a",r):n}return new mc(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 N=Te=>typeof Te=="number"||Te instanceof String||Te instanceof Number,ue=n.filter(N).map(String);ue.length>0&&(n=n.concat(ue)),i=n}else r===void 0&&n&&(r=n,n=void 0);const{aliasDuplicateObjects:s,anchorPrefix:a,flow:o,keepUndefined:u,onTagObj:l,tag:A}=r??{},{onAnchor:p,setAnchors:O,sourceObjects:B}=py(this,a||"a"),ie={aliasDuplicateObjects:s??!0,keepUndefined:u??!1,onAnchor:p,onTagObj:l,replacer:i,schema:this.schema,sourceObjects:B},te=fo(t,A,ie);return o&&Tr(te)&&(te.flow=!0),O(),te}createPair(t,n,r={}){const i=this.createNode(t,null,r),s=this.createNode(n,null,r);return new ai(i,s)}delete(t){return Fa(this.contents)?this.contents.delete(t):!1}deleteIn(t){return po(t)?this.contents==null?!1:(this.contents=null,!0):Fa(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return Tr(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return po(t)?!n&&Jn(this.contents)?this.contents.value:this.contents:Tr(this.contents)?this.contents.getIn(t,n):void 0}has(t){return Tr(this.contents)?this.contents.has(t):!1}hasIn(t){return po(t)?this.contents!==void 0:Tr(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=iu(this.schema,[t],n):Fa(this.contents)&&this.contents.set(t,n)}setIn(t,n){po(t)?this.contents=n:this.contents==null?this.contents=iu(this.schema,Array.from(t),n):Fa(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 si({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 si({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 kc(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:A}of o.anchors.values())s(A,l);return typeof a=="function"?va(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 jy(this,t)}}function Fa(e){if(Tr(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 go extends am{constructor(t,n,r){super("YAMLParseError",t,n,r)}}class $y extends am{constructor(t,n,r){super("YAMLWarning",t,n,r)}}const om=(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)+`…
69
- `),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+=`:
70
-
71
- ${a}
72
- ${l}
73
- `}};function Na(e,{flow:t,indicator:n,next:r,offset:i,onError:s,startOnNewline:a}){let o=!1,u=a,l=a,A="",p="",O=!1,B=!1,ie=!1,te=null,N=null,ue=null,Te=null,Pe=null;for(const Me of e)switch(ie&&(Me.type!=="space"&&Me.type!=="newline"&&Me.type!=="comma"&&s(Me.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),ie=!1),Me.type){case"space":!t&&u&&n!=="doc-start"&&Me.source[0]===" "&&s(Me,"TAB_AS_INDENT","Tabs are not allowed as indentation"),l=!0;break;case"comment":{l||s(Me,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const vt=Me.source.substring(1)||" ";A?A+=p+vt:A=vt,p="",u=!1;break}case"newline":u?A?A+=Me.source:o=!0:p+=Me.source,u=!0,O=!0,(te||N)&&(B=!0),l=!0;break;case"anchor":te&&s(Me,"MULTIPLE_ANCHORS","A node can have at most one anchor"),Me.source.endsWith(":")&&s(Me.offset+Me.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),te=Me,Pe===null&&(Pe=Me.offset),u=!1,l=!1,ie=!0;break;case"tag":{N&&s(Me,"MULTIPLE_TAGS","A node can have at most one tag"),N=Me,Pe===null&&(Pe=Me.offset),u=!1,l=!1,ie=!0;break}case n:(te||N)&&s(Me,"BAD_PROP_ORDER",`Anchors and tags must be after the ${Me.source} indicator`),Te&&s(Me,"UNEXPECTED_TOKEN",`Unexpected ${Me.source} in ${t??"collection"}`),Te=Me,u=!1,l=!1;break;case"comma":if(t){ue&&s(Me,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),ue=Me,u=!1,l=!1;break}default:s(Me,"UNEXPECTED_TOKEN",`Unexpected ${Me.type} token`),u=!1,l=!1}const Ue=e[e.length-1],be=Ue?Ue.offset+Ue.source.length:i;return ie&&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:ue,found:Te,spaceBefore:o,comment:A,hasNewline:O,hasNewlineAfterProp:B,anchor:te,tag:N,end:be,start:Pe??be}}function yo(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(`
74
- `))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(yo(t.key)||yo(t.value))return!0}return!1;default:return!0}}function Lc(e,t,n){if((t==null?void 0:t.type)==="flow-collection"){const r=t.end[0];r.indent===e&&(r.source==="]"||r.source==="}")&&yo(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function um(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 lm="All mapping items must start at the same column";function Ry({composeNode:e,composeEmptyNode:t},n,r,i,s){var A;const a=(s==null?void 0:s.nodeClass)??Li,o=new a(n.schema);n.atRoot&&(n.atRoot=!1);let u=r.offset,l=null;for(const p of r.items){const{start:O,key:B,sep:ie,value:te}=p,N=Na(O,{indicator:"explicit-key-ind",next:B??(ie==null?void 0:ie[0]),offset:u,onError:i,startOnNewline:!0}),ue=!N.found;if(ue){if(B&&(B.type==="block-seq"?i(u,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in B&&B.indent!==r.indent&&i(u,"BAD_INDENT",lm)),!N.anchor&&!N.tag&&!ie){l=N.end,N.comment&&(o.comment?o.comment+=`
75
- `+N.comment:o.comment=N.comment);continue}(N.hasNewlineAfterProp||yo(B))&&i(B??O[O.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else((A=N.found)==null?void 0:A.indent)!==r.indent&&i(u,"BAD_INDENT",lm);const Te=N.end,Pe=B?e(n,B,N,i):t(n,Te,O,null,N,i);n.schema.compat&&Lc(r.indent,B,i),um(n,o.items,Pe)&&i(Te,"DUPLICATE_KEY","Map keys must be unique");const Ue=Na(ie??[],{indicator:"map-value-ind",next:te,offset:Pe.range[2],onError:i,startOnNewline:!B||B.type==="block-scalar"});if(u=Ue.end,Ue.found){ue&&((te==null?void 0:te.type)==="block-map"&&!Ue.hasNewline&&i(u,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&N.start<Ue.found.offset-1024&&i(Pe.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const be=te?e(n,te,Ue,i):t(n,u,ie,null,Ue,i);n.schema.compat&&Lc(r.indent,te,i),u=be.range[2];const Me=new ai(Pe,be);n.options.keepSourceTokens&&(Me.srcToken=p),o.items.push(Me)}else{ue&&i(Pe.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),Ue.comment&&(Pe.comment?Pe.comment+=`
76
- `+Ue.comment:Pe.comment=Ue.comment);const be=new ai(Pe);n.options.keepSourceTokens&&(be.srcToken=p),o.items.push(be)}}return l&&l<u&&i(l,"IMPOSSIBLE","Map comment with trailing content"),o.range=[r.offset,u,l??u],o}function Vy({composeNode:e,composeEmptyNode:t},n,r,i,s){const a=(s==null?void 0:s.nodeClass)??Rs,o=new a(n.schema);n.atRoot&&(n.atRoot=!1);let u=r.offset,l=null;for(const{start:A,value:p}of r.items){const O=Na(A,{indicator:"seq-item-ind",next:p,offset:u,onError:i,startOnNewline:!0});if(!O.found)if(O.anchor||O.tag||p)p&&p.type==="block-seq"?i(O.end,"BAD_INDENT","All sequence items must start at the same column"):i(u,"MISSING_CHAR","Sequence item without - indicator");else{l=O.end,O.comment&&(o.comment=O.comment);continue}const B=p?e(n,p,O,i):t(n,O.end,A,null,O,i);n.schema.compat&&Lc(r.indent,p,i),u=B.range[2],o.items.push(B)}return o.range=[r.offset,u,l??u],o}function Do(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 A=u.substring(1)||" ";i?i+=a+A:i=A,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 Pc="Block collections are not allowed within flow collections",Bc=e=>e&&(e.type==="block-map"||e.type==="block-seq");function Uy({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?Li:Rs),l=new u(n.schema);l.flow=!0;const A=n.atRoot;A&&(n.atRoot=!1);let p=r.offset+r.start.source.length;for(let N=0;N<r.items.length;++N){const ue=r.items[N],{start:Te,key:Pe,sep:Ue,value:be}=ue,Me=Na(Te,{flow:o,indicator:"explicit-key-ind",next:Pe??(Ue==null?void 0:Ue[0]),offset:p,onError:i,startOnNewline:!1});if(!Me.found){if(!Me.anchor&&!Me.tag&&!Ue&&!be){N===0&&Me.comma?i(Me.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`):N<r.items.length-1&&i(Me.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${o}`),Me.comment&&(l.comment?l.comment+=`
77
- `+Me.comment:l.comment=Me.comment),p=Me.end;continue}!a&&n.options.strict&&yo(Pe)&&i(Pe,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(N===0)Me.comma&&i(Me.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`);else if(Me.comma||i(Me.start,"MISSING_CHAR",`Missing , between ${o} items`),Me.comment){let vt="";e:for(const wt of Te)switch(wt.type){case"comma":case"space":break;case"comment":vt=wt.source.substring(1);break e;default:break e}if(vt){let wt=l.items[l.items.length-1];dr(wt)&&(wt=wt.value??wt.key),wt.comment?wt.comment+=`
78
- `+vt:wt.comment=vt,Me.comment=Me.comment.substring(vt.length+1)}}if(!a&&!Ue&&!Me.found){const vt=be?e(n,be,Me,i):t(n,Me.end,Ue,null,Me,i);l.items.push(vt),p=vt.range[2],Bc(be)&&i(vt.range,"BLOCK_IN_FLOW",Pc)}else{const vt=Me.end,wt=Pe?e(n,Pe,Me,i):t(n,vt,Te,null,Me,i);Bc(Pe)&&i(wt.range,"BLOCK_IN_FLOW",Pc);const xe=Na(Ue??[],{flow:o,indicator:"map-value-ind",next:be,offset:wt.range[2],onError:i,startOnNewline:!1});if(xe.found){if(!a&&!Me.found&&n.options.strict){if(Ue)for(const Ve of Ue){if(Ve===xe.found)break;if(Ve.type==="newline"){i(Ve,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}Me.start<xe.found.offset-1024&&i(xe.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else be&&("source"in be&&be.source&&be.source[0]===":"?i(be,"MISSING_CHAR",`Missing space after : in ${o}`):i(xe.start,"MISSING_CHAR",`Missing , or : between ${o} items`));const Ne=be?e(n,be,xe,i):xe.found?t(n,xe.end,Ue,null,xe,i):null;Ne?Bc(be)&&i(Ne.range,"BLOCK_IN_FLOW",Pc):xe.comment&&(wt.comment?wt.comment+=`
79
- `+xe.comment:wt.comment=xe.comment);const st=new ai(wt,Ne);if(n.options.keepSourceTokens&&(st.srcToken=ue),a){const Ve=l;um(n,Ve.items,wt)&&i(vt,"DUPLICATE_KEY","Map keys must be unique"),Ve.items.push(st)}else{const Ve=new Li(n.schema);Ve.flow=!0,Ve.items.push(st),l.items.push(Ve)}p=Ne?Ne.range[2]:xe.end}}const O=a?"}":"]",[B,...ie]=r.end;let te=p;if(B&&B.source===O)te=B.offset+B.source.length;else{const N=o[0].toUpperCase()+o.substring(1),ue=A?`${N} must end with a ${O}`:`${N} in block collection must be sufficiently indented and end with a ${O}`;i(p,A?"MISSING_CHAR":"BAD_INDENT",ue),B&&B.source.length!==1&&ie.unshift(B)}if(ie.length>0){const N=Do(ie,te,n.options.strict,i);N.comment&&(l.comment?l.comment+=`
80
- `+N.comment:l.comment=N.comment),l.range=[r.offset,te,N.offset]}else l.range=[r.offset,te,te];return l}function Ic(e,t,n,r,i,s){const a=n.type==="block-map"?Ry(e,t,n,r,s):n.type==="block-seq"?Vy(e,t,n,r,s):Uy(e,t,n,r,s),o=a.constructor;return i==="!"||i===o.tagName?(a.tag=o.tagName,a):(i&&(a.tag=i),a)}function qy(e,t,n,r,i){var p;const s=r?t.directives.tagName(r.source,O=>i(r,"TAG_RESOLVE_FAILED",O)):null,a=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!r||!s||s==="!"||s===Li.tagName&&a==="map"||s===Rs.tagName&&a==="seq"||!a)return Ic(e,t,n,i,s);let o=t.schema.tags.find(O=>O.tag===s&&O.collection===a);if(!o){const O=t.schema.knownTags[s];if(O&&O.collection===a)t.schema.tags.push(Object.assign({},O,{default:!1})),o=O;else return O!=null&&O.collection?i(r,"BAD_COLLECTION_TYPE",`${O.tag} used for ${a} collection, but expects ${O.collection}`,!0):i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,!0),Ic(e,t,n,i,s)}const u=Ic(e,t,n,i,s,o),l=((p=o.resolve)==null?void 0:p.call(o,u,O=>i(r,"TAG_RESOLVE_FAILED",O),t.options))??u,A=yr(l)?l:new Zn(l);return A.range=u.range,A.tag=s,o!=null&&o.format&&(A.format=o.format),A}function Wy(e,t,n){const r=e.offset,i=Gy(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?Jy(e.source):[];let o=a.length;for(let te=a.length-1;te>=0;--te){const N=a[te][1];if(N===""||N==="\r")o=te;else break}if(o===0){const te=i.chomp==="+"&&a.length>0?`
81
- `.repeat(Math.max(1,a.length-1)):"";let N=r+i.length;return e.source&&(N+=e.source.length),{value:te,type:s,comment:i.comment,range:[r,N,N]}}let u=e.indent+i.indent,l=e.offset+i.length,A=0;for(let te=0;te<o;++te){const[N,ue]=a[te];if(ue===""||ue==="\r")i.indent===0&&N.length>u&&(u=N.length);else{if(N.length<u){const Te="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";n(l+N.length,"MISSING_CHAR",Te)}i.indent===0&&(u=N.length),A=te;break}l+=N.length+ue.length+1}for(let te=a.length-1;te>=o;--te)a[te][0].length>u&&(o=te+1);let p="",O="",B=!1;for(let te=0;te<A;++te)p+=a[te][0].slice(u)+`
82
- `;for(let te=A;te<o;++te){let[N,ue]=a[te];l+=N.length+ue.length+1;const Te=ue[ue.length-1]==="\r";if(Te&&(ue=ue.slice(0,-1)),ue&&N.length<u){const Ue=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;n(l-ue.length-(Te?2:1),"BAD_INDENT",Ue),N=""}s===Zn.BLOCK_LITERAL?(p+=O+N.slice(u)+ue,O=`
83
- `):N.length>u||ue[0]===" "?(O===" "?O=`
84
- `:!B&&O===`
85
- `&&(O=`
86
-
87
- `),p+=O+N.slice(u)+ue,O=`
88
- `,B=!0):ue===""?O===`
89
- `?p+=`
90
- `:O=`
91
- `:(p+=O+ue,O=" ",B=!1)}switch(i.chomp){case"-":break;case"+":for(let te=o;te<a.length;++te)p+=`
92
- `+a[te][0].slice(u);p[p.length-1]!==`
93
- `&&(p+=`
94
- `);break;default:p+=`
95
- `}const ie=r+i.length+e.source.length;return{value:p,type:s,comment:i.comment,range:[r,ie,ie]}}function Gy({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 O=1;O<i.length;++O){const B=i[O];if(!o&&(B==="-"||B==="+"))o=B;else{const ie=Number(B);!a&&ie?a=ie:u===-1&&(u=e+O)}}u!==-1&&r(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let l=!1,A="",p=i.length;for(let O=1;O<t.length;++O){const B=t[O];switch(B.type){case"space":l=!0;case"newline":p+=B.source.length;break;case"comment":n&&!l&&r(B,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),p+=B.source.length,A=B.source.substring(1);break;case"error":r(B,"UNEXPECTED_TOKEN",B.message),p+=B.source.length;break;default:{const ie=`Unexpected token in block scalar header: ${B.type}`;r(B,"UNEXPECTED_TOKEN",ie);const te=B.source;te&&typeof te=="string"&&(p+=te.length)}}}return{mode:s,indent:a,chomp:o,comment:A,length:p}}function Jy(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 Yy(e,t,n){const{offset:r,type:i,source:s,end:a}=e;let o,u;const l=(O,B,ie)=>n(r+O,B,ie);switch(i){case"scalar":o=Zn.PLAIN,u=Hy(s,l);break;case"single-quoted-scalar":o=Zn.QUOTE_SINGLE,u=zy(s,l);break;case"double-quoted-scalar":o=Zn.QUOTE_DOUBLE,u=Qy(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 A=r+s.length,p=Do(a,A,t,n);return{value:u,type:o,comment:p.comment,range:[r,A,p.offset]}}function Hy(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}`),cm(e)}function zy(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),cm(e.slice(1,-1)).replace(/''/g,"'")}function cm(e){let t,n;try{t=new RegExp(`(.*?)(?<![ ])[ ]*\r?
96
- `,"sy"),n=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
97
- `,"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===`
98
- `?i+=s:s=`
99
- `:(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 Qy(e,t){let n="";for(let r=1;r<e.length-1;++r){const i=e[r];if(!(i==="\r"&&e[r+1]===`
100
- `))if(i===`
101
- `){const{fold:s,offset:a}=Xy(e,r);n+=s,r=a}else if(i==="\\"){let s=e[++r];const a=Ky[s];if(a)n+=a;else if(s===`
102
- `)for(s=e[r+1];s===" "||s===" ";)s=e[++r+1];else if(s==="\r"&&e[r+1]===`
103
- `)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+=Zy(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!==`
104
- `&&!(a==="\r"&&e[r+2]===`
105
- `)&&(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 Xy(e,t){let n="",r=e[t+1];for(;(r===" "||r===" "||r===`
106
- `||r==="\r")&&!(r==="\r"&&e[t+2]!==`
107
- `);)r===`
108
- `&&(n+=`
109
- `),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}const Ky={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
110
- `,r:"\r",t:" ",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function Zy(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"?Wy(t,e.options.strict,r):Yy(t,e.options.strict,r),u=n?e.directives.tagName(n.source,p=>r(n,"TAG_RESOLVE_FAILED",p)):null,l=n&&u?eD(e.schema,i,u,n,r):t.type==="scalar"?tD(e,i,t,r):e.schema[ss];let A;try{const p=l.resolve(i,O=>r(n??t,"TAG_RESOLVE_FAILED",O),e.options);A=Jn(p)?p:new Zn(p)}catch(p){const O=p instanceof Error?p.message:String(p);r(n??t,"TAG_RESOLVE_FAILED",O),A=new Zn(i)}return A.range=o,A.source=i,s&&(A.type=s),u&&(A.tag=u),l.format&&(A.format=l.format),a&&(A.comment=a),A}function eD(e,t,n,r,i){var o;if(n==="!")return e[ss];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[ss])}function tD({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[ss];if(t.compat){const a=t.compat.find(o=>{var u;return o.default&&((u=o.test)==null?void 0:u.test(n))})??t[ss];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 nD(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 rD={composeNode:pm,composeEmptyNode:Mc};function pm(e,t,n,r){const{spaceBefore:i,comment:s,anchor:a,tag:o}=n;let u,l=!0;switch(t.type){case"alias":u=iD(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=qy(rD,e,t,o,r),a&&(u.anchor=a.source.substring(1));break;default:{const A=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",A),u=Mc(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 Mc(e,t,n,r,{spaceBefore:i,comment:s,anchor:a,tag:o,end:u},l){const A={type:"scalar",offset:nD(t,n,r),indent:-1,source:""},p=fm(e,A,o,l);return a&&(p.anchor=a.source.substring(1),p.anchor===""&&l(a,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(p.spaceBefore=!0),s&&(p.comment=s,p.range[2]=u),p}function iD({options:e},{offset:t,source:n,end:r},i){const s=new mc(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=Do(r,a,e.strict,i);return s.range=[t,a,o.offset],o.comment&&(s.comment=o.comment),s}function sD(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},A=Na(r,{indicator:"doc-start",next:i??(s==null?void 0:s[0]),offset:n,onError:a,startOnNewline:!0});A.found&&(u.directives.docStart=!0,i&&(i.type==="block-map"||i.type==="block-seq")&&!A.hasNewline&&a(A.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=i?pm(l,i,A,a):Mc(l,A.end,r,null,A,a);const p=u.contents.range[2],O=Do(s,p,!1,a);return O.comment&&(u.comment=O.comment),u.range=[n,p,O.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 dm(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?`
111
-
112
- `:`
113
- `)+(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 hm{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 $y(a,r,i)):this.errors.push(new go(a,r,i))},this.directives=new si({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:r,afterEmptyLine:i}=dm(this.prelude);if(r){const s=t.contents;if(n)t.comment=t.comment?`${t.comment}
114
- ${r}`:r;else if(i||t.directives.docStart||!s)t.commentBefore=r;else if(Tr(s)&&!s.flow&&s.items.length>0){let a=s.items[0];dr(a)&&(a=a.key);const o=a.commentBefore;a.commentBefore=o?`${r}
115
- ${o}`:r}else{const a=s.commentBefore;s.commentBefore=a?`${r}
116
- ${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:dm(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=sD(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 go(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 go(bo(t),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=!0;const n=Do(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}
117
- ${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new go(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 aD=e=>"type"in e?vu(e):Eu(e);function vu(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=vu(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=Eu(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=Eu(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=Eu(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 Eu({start:e,key:t,sep:n,value:r}){let i="";for(const s of e)i+=s.source;if(t&&(i+=vu(t)),n)for(const s of n)i+=s.source;return r&&(i+=vu(r)),i}const Oc=Symbol("break visit"),oD=Symbol("skip children"),mm=Symbol("remove item");function Vs(e,t){"type"in e&&e.type==="document"&&(e={start:e.start,value:e.value}),gm(Object.freeze([]),e,t)}Vs.BREAK=Oc,Vs.SKIP=oD,Vs.REMOVE=mm,Vs.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},Vs.parentCollection=(e,t)=>{const n=Vs.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 gm(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=gm(Object.freeze(e.concat([[i,a]])),s.items[a],n);if(typeof o=="number")a=o-1;else{if(o===Oc)return Oc;o===mm&&(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 ym="\uFEFF",Dm="",bm="",jc="",uD=e=>!!e&&"items"in e;function lD(e){switch(e){case ym:return"byte-order-mark";case Dm:return"doc-mode";case bm:return"flow-error-end";case jc:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
118
- `:case`\r
119
- `: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 Pi(e){switch(e){case void 0:case" ":case`
120
- `:case"\r":case" ":return!0;default:return!1}}const vm="0123456789ABCDEFabcdef".split(""),cD="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),$c=",[]{}".split(""),fD=` ,[]{}
121
- \r `.split(""),Rc=e=>!e||fD.includes(e);class pD{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===`
122
- `?!0:n==="\r"?this.buffer[t+1]===`
123
- `:!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===`
124
- `||!i&&!this.atEnd)return t+r+1}return n===`
125
- `||r>=this.indentNext||!n&&!this.atEnd?t+r:-1}if(n==="-"||n==="."){const r=this.buffer.substr(t,3);if((r==="---"||r==="...")&&Pi(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(`
126
- `,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]===ym&&(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 Dm,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==="---"&&Pi(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if(n==="..."&&Pi(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!Pi(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===":")&&Pi(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(Rc),"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("..."))&&Pi(i[3]))&&!(r===this.indentNext-1&&this.flowLevel===1&&(i[0]==="]"||i[0]==="}")))return this.flowLevel=0,yield bm,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(Rc),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const a=this.charAt(1);if(this.flowKey||Pi(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(`
127
- `,this.pos);if(i!==-1){for(;i!==-1;){const s=this.continueScalar(i+1);if(s===-1)break;i=r.indexOf(`
128
- `,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=>Pi(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`
129
- `:t=i,n=0;break;case"\r":{const s=this.buffer[i+1];if(!s&&!this.atEnd)return this.setNext("block-scalar");if(s===`
130
- `)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(`
131
- `,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===`
132
- `&&i>=this.pos&&i+1+n>a)t=i;else break}while(!0);return yield jc,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(Pi(s)||t&&s===",")break;n=r}else if(Pi(i)){let s=this.buffer[r+1];if(i==="\r"&&(s===`
133
- `?(r+=1,i=`
134
- `,s=this.buffer[r+1]):n=r),s==="#"||t&&$c.includes(s))break;if(i===`
135
- `){const a=this.continueScalar(r+1);if(a===-1)break;r=Math.max(r,a-2)}}else{if(t&&$c.includes(i))break;n=r}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield jc,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(Rc))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if(Pi(n)||t&&$c.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(;!Pi(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(cD.includes(n))n=this.buffer[++t];else if(n==="%"&&vm.includes(this.buffer[t+1])&&vm.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===`
136
- `?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===`
137
- `?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 Em{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 Ui(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function Am(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 Cm(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 Au(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 _a(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 Sm(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!Ui(t.start,"explicit-key-ind")&&!Ui(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,Cm(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 Vc{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 pD,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=lD(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"&&Sm(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=!Ui(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&&Am(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":{Am(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=Au(this.peek(2)),r=_a(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(`
138
- `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
139
- `,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&&!Ui(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(Ui(n.start,"explicit-key-ind"))if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(Ui(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(Cm(n.key)&&!Ui(n.sep,"newline")){const a=_a(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(Ui(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const a=_a(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]}):Ui(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"&&Ui(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||Ui(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=Au(r),s=_a(i);Sm(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(`
140
- `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
141
- `,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=Au(t),r=_a(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=Au(t),r=_a(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 dD(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new Em||null,prettyErrors:t}}function hD(e,t={}){const{lineCounter:n,prettyErrors:r}=dD(t),i=new Vc(n==null?void 0:n.addNewLine),s=new hm(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 go(o.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return r&&n&&(a.errors.forEach(om(e,n)),a.warnings.forEach(om(e,n))),a}function mD(e,t,n){let r;typeof t=="function"?r=t:n===void 0&&t&&typeof t=="object"&&(n=t);const i=hD(e,n);if(!i)return null;if(i.warnings.forEach(s=>Oh(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 xm=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 es(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function wm(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 yD(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 Ta={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),es(s),s.length!==0&&(t=s+"/"+t,n=s.charCodeAt(0)===47)}return t=wm(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(es(t),t.length===0)return".";var n=t.charCodeAt(0)===47,r=t.charCodeAt(t.length-1)===47;return t=wm(t,!n),t.length===0&&!n&&(t="."),t.length>0&&r&&(t+="/"),n?"/"+t:t},isAbsolute:function(t){return es(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];es(r),r.length>0&&(t===void 0?t=r:t+="/"+r)}return t===void 0?".":Ta.normalize(t)},relative:function(t,n){if(es(t),es(n),t===n||(t=Ta.resolve(t),n=Ta.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,A=-1,p=0;p<=l;++p){if(p===l){if(u>l){if(n.charCodeAt(a+p)===47)return n.slice(a+p+1);if(p===0)return n.slice(a+p)}else s>l&&(t.charCodeAt(r+p)===47?A=p:p===0&&(A=0));break}var O=t.charCodeAt(r+p),B=n.charCodeAt(a+p);if(O!==B)break;O===47&&(A=p)}var ie="";for(p=r+A+1;p<=i;++p)(p===i||t.charCodeAt(p)===47)&&(ie.length===0?ie+="..":ie+="/..");return ie.length>0?ie+n.slice(a+A):(a+=A,n.charCodeAt(a)===47&&++a,n.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(es(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');es(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){es(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 yD("/",t)},parse:function(t){es(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,A=t.length-1,p=0;A>=s;--A){if(r=t.charCodeAt(A),r===47){if(!l){o=A+1;break}continue}u===-1&&(l=!1,u=A+1),r===46?a===-1?a=A:p!==1&&(p=1):a!==-1&&(p=-1)}return a===-1||u===-1||p===0||p===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};Ta.posix=Ta;var Us=Ta,Fm={exports:{}};(function(e,t){(function(n){e.exports=n()})(function(){var n=(Qt,it)=>()=>(it||Qt((it={exports:{}}).exports,it),it.exports),r=n((Qt,it)=>{var Qe=function(ot){return ot&&ot.Math==Math&&ot};it.exports=Qe(typeof globalThis=="object"&&globalThis)||Qe(typeof window=="object"&&window)||Qe(typeof self=="object"&&self)||Qe(typeof xm=="object"&&xm)||function(){return this}()||Function("return this")()}),i=n((Qt,it)=>{it.exports=function(Qe){try{return!!Qe()}catch{return!0}}}),s=n((Qt,it)=>{var Qe=i();it.exports=!Qe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=n((Qt,it)=>{var Qe=i();it.exports=!Qe(function(){var ot=function(){}.bind();return typeof ot!="function"||ot.hasOwnProperty("prototype")})}),o=n((Qt,it)=>{var Qe=a(),ot=Function.prototype.call;it.exports=Qe?ot.bind(ot):function(){return ot.apply(ot,arguments)}}),u=n(Qt=>{var it={}.propertyIsEnumerable,Qe=Object.getOwnPropertyDescriptor,ot=Qe&&!it.call({1:2},1);Qt.f=ot?function(nt){var Ct=Qe(this,nt);return!!Ct&&Ct.enumerable}:it}),l=n((Qt,it)=>{it.exports=function(Qe,ot){return{enumerable:!(Qe&1),configurable:!(Qe&2),writable:!(Qe&4),value:ot}}}),A=n((Qt,it)=>{var Qe=a(),ot=Function.prototype,nt=ot.call,Ct=Qe&&ot.bind.bind(nt,nt);it.exports=Qe?Ct:function(Pt){return function(){return nt.apply(Pt,arguments)}}}),p=n((Qt,it)=>{var Qe=A(),ot=Qe({}.toString),nt=Qe("".slice);it.exports=function(Ct){return nt(ot(Ct),8,-1)}}),O=n((Qt,it)=>{var Qe=A(),ot=i(),nt=p(),Ct=Object,Pt=Qe("".split);it.exports=ot(function(){return!Ct("z").propertyIsEnumerable(0)})?function(Yt){return nt(Yt)=="String"?Pt(Yt,""):Ct(Yt)}:Ct}),B=n((Qt,it)=>{it.exports=function(Qe){return Qe==null}}),ie=n((Qt,it)=>{var Qe=B(),ot=TypeError;it.exports=function(nt){if(Qe(nt))throw ot("Can't call method on "+nt);return nt}}),te=n((Qt,it)=>{var Qe=O(),ot=ie();it.exports=function(nt){return Qe(ot(nt))}}),N=n((Qt,it)=>{var Qe=typeof document=="object"&&document.all,ot=typeof Qe>"u"&&Qe!==void 0;it.exports={all:Qe,IS_HTMLDDA:ot}}),ue=n((Qt,it)=>{var Qe=N(),ot=Qe.all;it.exports=Qe.IS_HTMLDDA?function(nt){return typeof nt=="function"||nt===ot}:function(nt){return typeof nt=="function"}}),Te=n((Qt,it)=>{var Qe=ue(),ot=N(),nt=ot.all;it.exports=ot.IS_HTMLDDA?function(Ct){return typeof Ct=="object"?Ct!==null:Qe(Ct)||Ct===nt}:function(Ct){return typeof Ct=="object"?Ct!==null:Qe(Ct)}}),Pe=n((Qt,it)=>{var Qe=r(),ot=ue(),nt=function(Ct){return ot(Ct)?Ct:void 0};it.exports=function(Ct,Pt){return arguments.length<2?nt(Qe[Ct]):Qe[Ct]&&Qe[Ct][Pt]}}),Ue=n((Qt,it)=>{var Qe=A();it.exports=Qe({}.isPrototypeOf)}),be=n((Qt,it)=>{var Qe=Pe();it.exports=Qe("navigator","userAgent")||""}),Me=n((Qt,it)=>{var Qe=r(),ot=be(),nt=Qe.process,Ct=Qe.Deno,Pt=nt&&nt.versions||Ct&&Ct.version,Yt=Pt&&Pt.v8,Vt,Ht;Yt&&(Vt=Yt.split("."),Ht=Vt[0]>0&&Vt[0]<4?1:+(Vt[0]+Vt[1])),!Ht&&ot&&(Vt=ot.match(/Edge\/(\d+)/),(!Vt||Vt[1]>=74)&&(Vt=ot.match(/Chrome\/(\d+)/),Vt&&(Ht=+Vt[1]))),it.exports=Ht}),vt=n((Qt,it)=>{var Qe=Me(),ot=i();it.exports=!!Object.getOwnPropertySymbols&&!ot(function(){var nt=Symbol();return!String(nt)||!(Object(nt)instanceof Symbol)||!Symbol.sham&&Qe&&Qe<41})}),wt=n((Qt,it)=>{var Qe=vt();it.exports=Qe&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),xe=n((Qt,it)=>{var Qe=Pe(),ot=ue(),nt=Ue(),Ct=wt(),Pt=Object;it.exports=Ct?function(Yt){return typeof Yt=="symbol"}:function(Yt){var Vt=Qe("Symbol");return ot(Vt)&&nt(Vt.prototype,Pt(Yt))}}),Ne=n((Qt,it)=>{var Qe=String;it.exports=function(ot){try{return Qe(ot)}catch{return"Object"}}}),st=n((Qt,it)=>{var Qe=ue(),ot=Ne(),nt=TypeError;it.exports=function(Ct){if(Qe(Ct))return Ct;throw nt(ot(Ct)+" is not a function")}}),Ve=n((Qt,it)=>{var Qe=st(),ot=B();it.exports=function(nt,Ct){var Pt=nt[Ct];return ot(Pt)?void 0:Qe(Pt)}}),$t=n((Qt,it)=>{var Qe=o(),ot=ue(),nt=Te(),Ct=TypeError;it.exports=function(Pt,Yt){var Vt,Ht;if(Yt==="string"&&ot(Vt=Pt.toString)&&!nt(Ht=Qe(Vt,Pt))||ot(Vt=Pt.valueOf)&&!nt(Ht=Qe(Vt,Pt))||Yt!=="string"&&ot(Vt=Pt.toString)&&!nt(Ht=Qe(Vt,Pt)))return Ht;throw Ct("Can't convert object to primitive value")}}),pn=n((Qt,it)=>{it.exports=!1}),kn=n((Qt,it)=>{var Qe=r(),ot=Object.defineProperty;it.exports=function(nt,Ct){try{ot(Qe,nt,{value:Ct,configurable:!0,writable:!0})}catch{Qe[nt]=Ct}return Ct}}),Lt=n((Qt,it)=>{var Qe=r(),ot=kn(),nt="__core-js_shared__",Ct=Qe[nt]||ot(nt,{});it.exports=Ct}),Tt=n((Qt,it)=>{var Qe=pn(),ot=Lt();(it.exports=function(nt,Ct){return ot[nt]||(ot[nt]=Ct!==void 0?Ct:{})})("versions",[]).push({version:"3.26.1",mode:Qe?"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"})}),Ut=n((Qt,it)=>{var Qe=ie(),ot=Object;it.exports=function(nt){return ot(Qe(nt))}}),en=n((Qt,it)=>{var Qe=A(),ot=Ut(),nt=Qe({}.hasOwnProperty);it.exports=Object.hasOwn||function(Ct,Pt){return nt(ot(Ct),Pt)}}),Ln=n((Qt,it)=>{var Qe=A(),ot=0,nt=Math.random(),Ct=Qe(1 .toString);it.exports=function(Pt){return"Symbol("+(Pt===void 0?"":Pt)+")_"+Ct(++ot+nt,36)}}),qn=n((Qt,it)=>{var Qe=r(),ot=Tt(),nt=en(),Ct=Ln(),Pt=vt(),Yt=wt(),Vt=ot("wks"),Ht=Qe.Symbol,fn=Ht&&Ht.for,yn=Yt?Ht:Ht&&Ht.withoutSetter||Ct;it.exports=function(vn){if(!nt(Vt,vn)||!(Pt||typeof Vt[vn]=="string")){var dn="Symbol."+vn;Pt&&nt(Ht,vn)?Vt[vn]=Ht[vn]:Yt&&fn?Vt[vn]=fn(dn):Vt[vn]=yn(dn)}return Vt[vn]}}),Pn=n((Qt,it)=>{var Qe=o(),ot=Te(),nt=xe(),Ct=Ve(),Pt=$t(),Yt=qn(),Vt=TypeError,Ht=Yt("toPrimitive");it.exports=function(fn,yn){if(!ot(fn)||nt(fn))return fn;var vn=Ct(fn,Ht),dn;if(vn){if(yn===void 0&&(yn="default"),dn=Qe(vn,fn,yn),!ot(dn)||nt(dn))return dn;throw Vt("Can't convert object to primitive value")}return yn===void 0&&(yn="number"),Pt(fn,yn)}}),Yr=n((Qt,it)=>{var Qe=Pn(),ot=xe();it.exports=function(nt){var Ct=Qe(nt,"string");return ot(Ct)?Ct:Ct+""}}),Hr=n((Qt,it)=>{var Qe=r(),ot=Te(),nt=Qe.document,Ct=ot(nt)&&ot(nt.createElement);it.exports=function(Pt){return Ct?nt.createElement(Pt):{}}}),hi=n((Qt,it)=>{var Qe=s(),ot=i(),nt=Hr();it.exports=!Qe&&!ot(function(){return Object.defineProperty(nt("div"),"a",{get:function(){return 7}}).a!=7})}),us=n(Qt=>{var it=s(),Qe=o(),ot=u(),nt=l(),Ct=te(),Pt=Yr(),Yt=en(),Vt=hi(),Ht=Object.getOwnPropertyDescriptor;Qt.f=it?Ht:function(fn,yn){if(fn=Ct(fn),yn=Pt(yn),Vt)try{return Ht(fn,yn)}catch{}if(Yt(fn,yn))return nt(!Qe(ot.f,fn,yn),fn[yn])}}),Ei=n((Qt,it)=>{var Qe=s(),ot=i();it.exports=Qe&&ot(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Gi=n((Qt,it)=>{var Qe=Te(),ot=String,nt=TypeError;it.exports=function(Ct){if(Qe(Ct))return Ct;throw nt(ot(Ct)+" is not an object")}}),nr=n(Qt=>{var it=s(),Qe=hi(),ot=Ei(),nt=Gi(),Ct=Yr(),Pt=TypeError,Yt=Object.defineProperty,Vt=Object.getOwnPropertyDescriptor,Ht="enumerable",fn="configurable",yn="writable";Qt.f=it?ot?function(vn,dn,we){if(nt(vn),dn=Ct(dn),nt(we),typeof vn=="function"&&dn==="prototype"&&"value"in we&&yn in we&&!we[yn]){var xn=Vt(vn,dn);xn&&xn[yn]&&(vn[dn]=we.value,we={configurable:fn in we?we[fn]:xn[fn],enumerable:Ht in we?we[Ht]:xn[Ht],writable:!1})}return Yt(vn,dn,we)}:Yt:function(vn,dn,we){if(nt(vn),dn=Ct(dn),nt(we),Qe)try{return Yt(vn,dn,we)}catch{}if("get"in we||"set"in we)throw Pt("Accessors not supported");return"value"in we&&(vn[dn]=we.value),vn}}),Ru=n((Qt,it)=>{var Qe=s(),ot=nr(),nt=l();it.exports=Qe?function(Ct,Pt,Yt){return ot.f(Ct,Pt,nt(1,Yt))}:function(Ct,Pt,Yt){return Ct[Pt]=Yt,Ct}}),ef=n((Qt,it)=>{var Qe=s(),ot=en(),nt=Function.prototype,Ct=Qe&&Object.getOwnPropertyDescriptor,Pt=ot(nt,"name"),Yt=Pt&&function(){}.name==="something",Vt=Pt&&(!Qe||Qe&&Ct(nt,"name").configurable);it.exports={EXISTS:Pt,PROPER:Yt,CONFIGURABLE:Vt}}),Ma=n((Qt,it)=>{var Qe=A(),ot=ue(),nt=Lt(),Ct=Qe(Function.toString);ot(nt.inspectSource)||(nt.inspectSource=function(Pt){return Ct(Pt)}),it.exports=nt.inspectSource}),tf=n((Qt,it)=>{var Qe=r(),ot=ue(),nt=Qe.WeakMap;it.exports=ot(nt)&&/native code/.test(String(nt))}),Nr=n((Qt,it)=>{var Qe=Tt(),ot=Ln(),nt=Qe("keys");it.exports=function(Ct){return nt[Ct]||(nt[Ct]=ot(Ct))}}),Vu=n((Qt,it)=>{it.exports={}}),nf=n((Qt,it)=>{var Qe=tf(),ot=r(),nt=Te(),Ct=Ru(),Pt=en(),Yt=Lt(),Vt=Nr(),Ht=Vu(),fn="Object already initialized",yn=ot.TypeError,vn=ot.WeakMap,dn,we,xn,On=function($e){return xn($e)?we($e):dn($e,{})},er=function($e){return function(Kr){var hs;if(!nt(Kr)||(hs=we(Kr)).type!==$e)throw yn("Incompatible receiver, "+$e+" required");return hs}};Qe||Yt.state?(Qn=Yt.state||(Yt.state=new vn),Qn.get=Qn.get,Qn.has=Qn.has,Qn.set=Qn.set,dn=function($e,Kr){if(Qn.has($e))throw yn(fn);return Kr.facade=$e,Qn.set($e,Kr),Kr},we=function($e){return Qn.get($e)||{}},xn=function($e){return Qn.has($e)}):(Ar=Vt("state"),Ht[Ar]=!0,dn=function($e,Kr){if(Pt($e,Ar))throw yn(fn);return Kr.facade=$e,Ct($e,Ar,Kr),Kr},we=function($e){return Pt($e,Ar)?$e[Ar]:{}},xn=function($e){return Pt($e,Ar)});var Qn,Ar;it.exports={set:dn,get:we,has:xn,enforce:On,getterFor:er}}),ls=n((Qt,it)=>{var Qe=i(),ot=ue(),nt=en(),Ct=s(),Pt=ef().CONFIGURABLE,Yt=Ma(),Vt=nf(),Ht=Vt.enforce,fn=Vt.get,yn=Object.defineProperty,vn=Ct&&!Qe(function(){return yn(function(){},"length",{value:8}).length!==8}),dn=String(String).split("String"),we=it.exports=function(xn,On,er){String(On).slice(0,7)==="Symbol("&&(On="["+String(On).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),er&&er.getter&&(On="get "+On),er&&er.setter&&(On="set "+On),(!nt(xn,"name")||Pt&&xn.name!==On)&&(Ct?yn(xn,"name",{value:On,configurable:!0}):xn.name=On),vn&&er&&nt(er,"arity")&&xn.length!==er.arity&&yn(xn,"length",{value:er.arity});try{er&&nt(er,"constructor")&&er.constructor?Ct&&yn(xn,"prototype",{writable:!1}):xn.prototype&&(xn.prototype=void 0)}catch{}var Qn=Ht(xn);return nt(Qn,"source")||(Qn.source=dn.join(typeof On=="string"?On:"")),xn};Function.prototype.toString=we(function(){return ot(this)&&fn(this).source||Yt(this)},"toString")}),Oa=n((Qt,it)=>{var Qe=ue(),ot=nr(),nt=ls(),Ct=kn();it.exports=function(Pt,Yt,Vt,Ht){Ht||(Ht={});var fn=Ht.enumerable,yn=Ht.name!==void 0?Ht.name:Yt;if(Qe(Vt)&&nt(Vt,yn,Ht),Ht.global)fn?Pt[Yt]=Vt:Ct(Yt,Vt);else{try{Ht.unsafe?Pt[Yt]&&(fn=!0):delete Pt[Yt]}catch{}fn?Pt[Yt]=Vt:ot.f(Pt,Yt,{value:Vt,enumerable:!1,configurable:!Ht.nonConfigurable,writable:!Ht.nonWritable})}return Pt}}),cs=n((Qt,it)=>{var Qe=Math.ceil,ot=Math.floor;it.exports=Math.trunc||function(nt){var Ct=+nt;return(Ct>0?ot:Qe)(Ct)}}),wo=n((Qt,it)=>{var Qe=cs();it.exports=function(ot){var nt=+ot;return nt!==nt||nt===0?0:Qe(nt)}}),rf=n((Qt,it)=>{var Qe=wo(),ot=Math.max,nt=Math.min;it.exports=function(Ct,Pt){var Yt=Qe(Ct);return Yt<0?ot(Yt+Pt,0):nt(Yt,Pt)}}),sf=n((Qt,it)=>{var Qe=wo(),ot=Math.min;it.exports=function(nt){return nt>0?ot(Qe(nt),9007199254740991):0}}),zs=n((Qt,it)=>{var Qe=sf();it.exports=function(ot){return Qe(ot.length)}}),Uu=n((Qt,it)=>{var Qe=te(),ot=rf(),nt=zs(),Ct=function(Pt){return function(Yt,Vt,Ht){var fn=Qe(Yt),yn=nt(fn),vn=ot(Ht,yn),dn;if(Pt&&Vt!=Vt){for(;yn>vn;)if(dn=fn[vn++],dn!=dn)return!0}else for(;yn>vn;vn++)if((Pt||vn in fn)&&fn[vn]===Vt)return Pt||vn||0;return!Pt&&-1}};it.exports={includes:Ct(!0),indexOf:Ct(!1)}}),af=n((Qt,it)=>{var Qe=A(),ot=en(),nt=te(),Ct=Uu().indexOf,Pt=Vu(),Yt=Qe([].push);it.exports=function(Vt,Ht){var fn=nt(Vt),yn=0,vn=[],dn;for(dn in fn)!ot(Pt,dn)&&ot(fn,dn)&&Yt(vn,dn);for(;Ht.length>yn;)ot(fn,dn=Ht[yn++])&&(~Ct(vn,dn)||Yt(vn,dn));return vn}}),Fo=n((Qt,it)=>{it.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),of=n(Qt=>{var it=af(),Qe=Fo(),ot=Qe.concat("length","prototype");Qt.f=Object.getOwnPropertyNames||function(nt){return it(nt,ot)}}),uf=n(Qt=>{Qt.f=Object.getOwnPropertySymbols}),qu=n((Qt,it)=>{var Qe=Pe(),ot=A(),nt=of(),Ct=uf(),Pt=Gi(),Yt=ot([].concat);it.exports=Qe("Reflect","ownKeys")||function(Vt){var Ht=nt.f(Pt(Vt)),fn=Ct.f;return fn?Yt(Ht,fn(Vt)):Ht}}),Wu=n((Qt,it)=>{var Qe=en(),ot=qu(),nt=us(),Ct=nr();it.exports=function(Pt,Yt,Vt){for(var Ht=ot(Yt),fn=Ct.f,yn=nt.f,vn=0;vn<Ht.length;vn++){var dn=Ht[vn];!Qe(Pt,dn)&&!(Vt&&Qe(Vt,dn))&&fn(Pt,dn,yn(Yt,dn))}}}),lf=n((Qt,it)=>{var Qe=i(),ot=ue(),nt=/#|\.prototype\./,Ct=function(fn,yn){var vn=Yt[Pt(fn)];return vn==Ht?!0:vn==Vt?!1:ot(yn)?Qe(yn):!!yn},Pt=Ct.normalize=function(fn){return String(fn).replace(nt,".").toLowerCase()},Yt=Ct.data={},Vt=Ct.NATIVE="N",Ht=Ct.POLYFILL="P";it.exports=Ct}),ja=n((Qt,it)=>{var Qe=r(),ot=us().f,nt=Ru(),Ct=Oa(),Pt=kn(),Yt=Wu(),Vt=lf();it.exports=function(Ht,fn){var yn=Ht.target,vn=Ht.global,dn=Ht.stat,we,xn,On,er,Qn,Ar;if(vn?xn=Qe:dn?xn=Qe[yn]||Pt(yn,{}):xn=(Qe[yn]||{}).prototype,xn)for(On in fn){if(Qn=fn[On],Ht.dontCallGetSet?(Ar=ot(xn,On),er=Ar&&Ar.value):er=xn[On],we=Vt(vn?On:yn+(dn?".":"#")+On,Ht.forced),!we&&er!==void 0){if(typeof Qn==typeof er)continue;Yt(Qn,er)}(Ht.sham||er&&er.sham)&&nt(Qn,"sham",!0),Ct(xn,On,Qn,Ht)}}}),Gu=n((Qt,it)=>{var Qe=p();it.exports=Array.isArray||function(ot){return Qe(ot)=="Array"}}),cf=n((Qt,it)=>{var Qe=TypeError,ot=9007199254740991;it.exports=function(nt){if(nt>ot)throw Qe("Maximum allowed index exceeded");return nt}}),ff=n((Qt,it)=>{var Qe=p(),ot=A();it.exports=function(nt){if(Qe(nt)==="Function")return ot(nt)}}),$a=n((Qt,it)=>{var Qe=ff(),ot=st(),nt=a(),Ct=Qe(Qe.bind);it.exports=function(Pt,Yt){return ot(Pt),Yt===void 0?Pt:nt?Ct(Pt,Yt):function(){return Pt.apply(Yt,arguments)}}}),Ju=n((Qt,it)=>{var Qe=Gu(),ot=zs(),nt=cf(),Ct=$a(),Pt=function(Yt,Vt,Ht,fn,yn,vn,dn,we){for(var xn=yn,On=0,er=dn?Ct(dn,we):!1,Qn,Ar;On<fn;)On in Ht&&(Qn=er?er(Ht[On],On,Vt):Ht[On],vn>0&&Qe(Qn)?(Ar=ot(Qn),xn=Pt(Yt,Vt,Qn,Ar,xn,vn-1)-1):(nt(xn+1),Yt[xn]=Qn),xn++),On++;return xn};it.exports=Pt}),pf=n((Qt,it)=>{var Qe=qn(),ot=Qe("toStringTag"),nt={};nt[ot]="z",it.exports=String(nt)==="[object z]"}),fs=n((Qt,it)=>{var Qe=pf(),ot=ue(),nt=p(),Ct=qn(),Pt=Ct("toStringTag"),Yt=Object,Vt=nt(function(){return arguments}())=="Arguments",Ht=function(fn,yn){try{return fn[yn]}catch{}};it.exports=Qe?nt:function(fn){var yn,vn,dn;return fn===void 0?"Undefined":fn===null?"Null":typeof(vn=Ht(yn=Yt(fn),Pt))=="string"?vn:Vt?nt(yn):(dn=nt(yn))=="Object"&&ot(yn.callee)?"Arguments":dn}}),ps=n((Qt,it)=>{var Qe=A(),ot=i(),nt=ue(),Ct=fs(),Pt=Pe(),Yt=Ma(),Vt=function(){},Ht=[],fn=Pt("Reflect","construct"),yn=/^\s*(?:class|function)\b/,vn=Qe(yn.exec),dn=!yn.exec(Vt),we=function(On){if(!nt(On))return!1;try{return fn(Vt,Ht,On),!0}catch{return!1}},xn=function(On){if(!nt(On))return!1;switch(Ct(On)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return dn||!!vn(yn,Yt(On))}catch{return!0}};xn.sham=!0,it.exports=!fn||ot(function(){var On;return we(we.call)||!we(Object)||!we(function(){On=!0})||On})?xn:we}),df=n((Qt,it)=>{var Qe=Gu(),ot=ps(),nt=Te(),Ct=qn(),Pt=Ct("species"),Yt=Array;it.exports=function(Vt){var Ht;return Qe(Vt)&&(Ht=Vt.constructor,ot(Ht)&&(Ht===Yt||Qe(Ht.prototype))?Ht=void 0:nt(Ht)&&(Ht=Ht[Pt],Ht===null&&(Ht=void 0))),Ht===void 0?Yt:Ht}}),ds=n((Qt,it)=>{var Qe=df();it.exports=function(ot,nt){return new(Qe(ot))(nt===0?0:nt)}}),Yu=n(()=>{var Qt=ja(),it=Ju(),Qe=st(),ot=Ut(),nt=zs(),Ct=ds();Qt({target:"Array",proto:!0},{flatMap:function(Pt){var Yt=ot(this),Vt=nt(Yt),Ht;return Qe(Pt),Ht=Ct(Yt,0),Ht.length=it(Ht,Yt,Yt,Vt,0,1,Pt,arguments.length>1?arguments[1]:void 0),Ht}})}),Hu=n((Qt,it)=>{it.exports={}}),hf=n((Qt,it)=>{var Qe=qn(),ot=Hu(),nt=Qe("iterator"),Ct=Array.prototype;it.exports=function(Pt){return Pt!==void 0&&(ot.Array===Pt||Ct[nt]===Pt)}}),zu=n((Qt,it)=>{var Qe=fs(),ot=Ve(),nt=B(),Ct=Hu(),Pt=qn(),Yt=Pt("iterator");it.exports=function(Vt){if(!nt(Vt))return ot(Vt,Yt)||ot(Vt,"@@iterator")||Ct[Qe(Vt)]}}),mf=n((Qt,it)=>{var Qe=o(),ot=st(),nt=Gi(),Ct=Ne(),Pt=zu(),Yt=TypeError;it.exports=function(Vt,Ht){var fn=arguments.length<2?Pt(Vt):Ht;if(ot(fn))return nt(Qe(fn,Vt));throw Yt(Ct(Vt)+" is not iterable")}}),Qu=n((Qt,it)=>{var Qe=o(),ot=Gi(),nt=Ve();it.exports=function(Ct,Pt,Yt){var Vt,Ht;ot(Ct);try{if(Vt=nt(Ct,"return"),!Vt){if(Pt==="throw")throw Yt;return Yt}Vt=Qe(Vt,Ct)}catch(fn){Ht=!0,Vt=fn}if(Pt==="throw")throw Yt;if(Ht)throw Vt;return ot(Vt),Yt}}),gf=n((Qt,it)=>{var Qe=$a(),ot=o(),nt=Gi(),Ct=Ne(),Pt=hf(),Yt=zs(),Vt=Ue(),Ht=mf(),fn=zu(),yn=Qu(),vn=TypeError,dn=function(xn,On){this.stopped=xn,this.result=On},we=dn.prototype;it.exports=function(xn,On,er){var Qn=er&&er.that,Ar=!!(er&&er.AS_ENTRIES),$e=!!(er&&er.IS_RECORD),Kr=!!(er&&er.IS_ITERATOR),hs=!!(er&&er.INTERRUPTED),Ps=Qe(On,Qn),mi,ns,jr,Va,Ur,Ua,rs,Qs=function(ni){return mi&&yn(mi,"normal",ni),new dn(!0,ni)},Xs=function(ni){return Ar?(nt(ni),hs?Ps(ni[0],ni[1],Qs):Ps(ni[0],ni[1])):hs?Ps(ni,Qs):Ps(ni)};if($e)mi=xn.iterator;else if(Kr)mi=xn;else{if(ns=fn(xn),!ns)throw vn(Ct(xn)+" is not iterable");if(Pt(ns)){for(jr=0,Va=Yt(xn);Va>jr;jr++)if(Ur=Xs(xn[jr]),Ur&&Vt(we,Ur))return Ur;return new dn(!1)}mi=Ht(xn,ns)}for(Ua=$e?xn.next:mi.next;!(rs=ot(Ua,mi)).done;){try{Ur=Xs(rs.value)}catch(ni){yn(mi,"throw",ni)}if(typeof Ur=="object"&&Ur&&Vt(we,Ur))return Ur}return new dn(!1)}}),Xu=n((Qt,it)=>{var Qe=Yr(),ot=nr(),nt=l();it.exports=function(Ct,Pt,Yt){var Vt=Qe(Pt);Vt in Ct?ot.f(Ct,Vt,nt(0,Yt)):Ct[Vt]=Yt}}),Ra=n(()=>{var Qt=ja(),it=gf(),Qe=Xu();Qt({target:"Object",stat:!0},{fromEntries:function(ot){var nt={};return it(ot,function(Ct,Pt){Qe(nt,Ct,Pt)},{AS_ENTRIES:!0}),nt}})}),Ku=n((Qt,it)=>{var Qe=ls(),ot=nr();it.exports=function(nt,Ct,Pt){return Pt.get&&Qe(Pt.get,Ct,{getter:!0}),Pt.set&&Qe(Pt.set,Ct,{setter:!0}),ot.f(nt,Ct,Pt)}}),Zu=n((Qt,it)=>{var Qe=Gi();it.exports=function(){var ot=Qe(this),nt="";return ot.hasIndices&&(nt+="d"),ot.global&&(nt+="g"),ot.ignoreCase&&(nt+="i"),ot.multiline&&(nt+="m"),ot.dotAll&&(nt+="s"),ot.unicode&&(nt+="u"),ot.unicodeSets&&(nt+="v"),ot.sticky&&(nt+="y"),nt}}),el=n(()=>{var Qt=r(),it=s(),Qe=Ku(),ot=Zu(),nt=i(),Ct=Qt.RegExp,Pt=Ct.prototype,Yt=it&&nt(function(){var Vt=!0;try{Ct(".","d")}catch{Vt=!1}var Ht={},fn="",yn=Vt?"dgimsy":"gimsy",vn=function(On,er){Object.defineProperty(Ht,On,{get:function(){return fn+=er,!0}})},dn={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};Vt&&(dn.hasIndices="d");for(var we in dn)vn(we,dn[we]);var xn=Object.getOwnPropertyDescriptor(Pt,"flags").get.call(Ht);return xn!==yn||fn!==yn});Yt&&Qe(Pt,"flags",{configurable:!0,get:ot})}),yf=n(()=>{var Qt=ja(),it=r();Qt({global:!0,forced:it.globalThis!==it},{globalThis:it})}),Df=n(()=>{yf()}),No=n(()=>{var Qt=ja(),it=Ju(),Qe=Ut(),ot=zs(),nt=wo(),Ct=ds();Qt({target:"Array",proto:!0},{flat:function(){var Pt=arguments.length?arguments[0]:void 0,Yt=Qe(this),Vt=ot(Yt),Ht=Ct(Yt,0);return Ht.length=it(Ht,Yt,Yt,Vt,0,Pt===void 0?1:nt(Pt)),Ht}})}),bf=n((Qt,it)=>{var Qe=["cliName","cliCategory","cliDescription"],ot=["_"],nt=["languageId"];function Ct(m,E){if(m==null)return{};var f=Pt(m,E),b,D;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(m);for(D=0;D<c.length;D++)b=c[D],!(E.indexOf(b)>=0)&&Object.prototype.propertyIsEnumerable.call(m,b)&&(f[b]=m[b])}return f}function Pt(m,E){if(m==null)return{};var f={},b=Object.keys(m),D,c;for(c=0;c<b.length;c++)D=b[c],!(E.indexOf(D)>=0)&&(f[D]=m[D]);return f}Yu(),Ra(),el(),Df(),No();var Yt=Object.create,Vt=Object.defineProperty,Ht=Object.getOwnPropertyDescriptor,fn=Object.getOwnPropertyNames,yn=Object.getPrototypeOf,vn=Object.prototype.hasOwnProperty,dn=(m,E)=>function(){return m&&(E=(0,m[fn(m)[0]])(m=0)),E},we=(m,E)=>function(){return E||(0,m[fn(m)[0]])((E={exports:{}}).exports,E),E.exports},xn=(m,E)=>{for(var f in E)Vt(m,f,{get:E[f],enumerable:!0})},On=(m,E,f,b)=>{if(E&&typeof E=="object"||typeof E=="function")for(let D of fn(E))!vn.call(m,D)&&D!==f&&Vt(m,D,{get:()=>E[D],enumerable:!(b=Ht(E,D))||b.enumerable});return m},er=(m,E,f)=>(f=m!=null?Yt(yn(m)):{},On(E||!m||!m.__esModule?Vt(f,"default",{value:m,enumerable:!0}):f,m)),Qn=m=>On(Vt({},"__esModule",{value:!0}),m),Ar,$e=dn({"<define:process>"(){Ar={env:{},argv:[]}}}),Kr=we({"package.json"(m,E){E.exports={version:"2.8.8"}}}),hs=we({"node_modules/diff/lib/diff/base.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0}),m.default=E;function E(){}E.prototype={diff:function(D,c){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=d.callback;typeof d=="function"&&(h=d,d={}),this.options=d;var v=this;function S(R){return h?(setTimeout(function(){h(void 0,R)},0),!0):R}D=this.castInput(D),c=this.castInput(c),D=this.removeEmpty(this.tokenize(D)),c=this.removeEmpty(this.tokenize(c));var L=c.length,_=D.length,k=1,C=L+_,x=[{newPos:-1,components:[]}],j=this.extractCommon(x[0],c,D,0);if(x[0].newPos+1>=L&&j+1>=_)return S([{value:this.join(c),count:c.length}]);function Q(){for(var R=-1*k;R<=k;R+=2){var X=void 0,G=x[R-1],ne=x[R+1],Z=(ne?ne.newPos:0)-R;G&&(x[R-1]=void 0);var ye=G&&G.newPos+1<L,F=ne&&0<=Z&&Z<_;if(!ye&&!F){x[R]=void 0;continue}if(!ye||F&&G.newPos<ne.newPos?(X=b(ne),v.pushComponent(X.components,void 0,!0)):(X=G,X.newPos++,v.pushComponent(X.components,!0,void 0)),Z=v.extractCommon(X,c,D,R),X.newPos+1>=L&&Z+1>=_)return S(f(v,X.components,c,D,v.useLongestToken));x[R]=X}k++}if(h)(function R(){setTimeout(function(){if(k>C)return h();Q()||R()},0)})();else for(;k<=C;){var ee=Q();if(ee)return ee}},pushComponent:function(D,c,d){var h=D[D.length-1];h&&h.added===c&&h.removed===d?D[D.length-1]={count:h.count+1,added:c,removed:d}:D.push({count:1,added:c,removed:d})},extractCommon:function(D,c,d,h){for(var v=c.length,S=d.length,L=D.newPos,_=L-h,k=0;L+1<v&&_+1<S&&this.equals(c[L+1],d[_+1]);)L++,_++,k++;return k&&D.components.push({count:k}),D.newPos=L,_},equals:function(D,c){return this.options.comparator?this.options.comparator(D,c):D===c||this.options.ignoreCase&&D.toLowerCase()===c.toLowerCase()},removeEmpty:function(D){for(var c=[],d=0;d<D.length;d++)D[d]&&c.push(D[d]);return c},castInput:function(D){return D},tokenize:function(D){return D.split("")},join:function(D){return D.join("")}};function f(D,c,d,h,v){for(var S=0,L=c.length,_=0,k=0;S<L;S++){var C=c[S];if(C.removed){if(C.value=D.join(h.slice(k,k+C.count)),k+=C.count,S&&c[S-1].added){var x=c[S-1];c[S-1]=c[S],c[S]=x}}else{if(!C.added&&v){var j=d.slice(_,_+C.count);j=j.map(function(ee,R){var X=h[k+R];return X.length>ee.length?X:ee}),C.value=D.join(j)}else C.value=D.join(d.slice(_,_+C.count));_+=C.count,C.added||(k+=C.count)}}var Q=c[L-1];return L>1&&typeof Q.value=="string"&&(Q.added||Q.removed)&&D.equals("",Q.value)&&(c[L-2].value+=Q.value,c.pop()),c}function b(D){return{newPos:D.newPos,components:D.components.slice(0)}}}}),Ps=we({"node_modules/diff/lib/diff/array.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0}),m.diffArrays=D,m.arrayDiff=void 0;var E=f(hs());function f(c){return c&&c.__esModule?c:{default:c}}var b=new E.default;m.arrayDiff=b,b.tokenize=function(c){return c.slice()},b.join=b.removeEmpty=function(c){return c};function D(c,d,h){return b.diff(c,d,h)}}}),mi=we({"src/document/doc-builders.js"(m,E){$e();function f($){return{type:"concat",parts:$}}function b($){return{type:"indent",contents:$}}function D($,y){return{type:"align",contents:y,n:$}}function c($){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:y.id,contents:$,break:!!y.shouldBreak,expandedStates:y.expandedStates}}function d($){return D(Number.NEGATIVE_INFINITY,$)}function h($){return D({type:"root"},$)}function v($){return D(-1,$)}function S($,y){return c($[0],Object.assign(Object.assign({},y),{},{expandedStates:$}))}function L($){return{type:"fill",parts:$}}function _($,y){let T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:$,flatContents:y,groupId:T.groupId}}function k($,y){return{type:"indent-if-break",contents:$,groupId:y.groupId,negate:y.negate}}function C($){return{type:"line-suffix",contents:$}}var x={type:"line-suffix-boundary"},j={type:"break-parent"},Q={type:"trim"},ee={type:"line",hard:!0},R={type:"line",hard:!0,literal:!0},X={type:"line"},G={type:"line",soft:!0},ne=f([ee,j]),Z=f([R,j]),ye={type:"cursor",placeholder:Symbol("cursor")};function F($,y){let T=[];for(let I=0;I<y.length;I++)I!==0&&T.push($),T.push(y[I]);return f(T)}function J($,y,T){let I=$;if(y>0){for(let U=0;U<Math.floor(y/T);++U)I=b(I);I=D(y%T,I),I=D(Number.NEGATIVE_INFINITY,I)}return I}function w($,y){return{type:"label",label:$,contents:y}}E.exports={concat:f,join:F,line:X,softline:G,hardline:ne,literalline:Z,group:c,conditionalGroup:S,fill:L,lineSuffix:C,lineSuffixBoundary:x,cursor:ye,breakParent:j,ifBreak:_,trim:Q,indent:b,indentIfBreak:k,align:D,addAlignmentToDoc:J,markAsRoot:h,dedentToRoot:d,dedent:v,hardlineWithoutBreakParent:ee,literallineWithoutBreakParent:R,label:w}}}),ns=we({"src/common/end-of-line.js"(m,E){$e();function f(d){let h=d.indexOf("\r");return h>=0?d.charAt(h+1)===`
142
- `?"crlf":"cr":"lf"}function b(d){switch(d){case"cr":return"\r";case"crlf":return`\r
143
- `;default:return`
144
- `}}function D(d,h){let v;switch(h){case`
145
- `:v=/\n/g;break;case"\r":v=/\r/g;break;case`\r
146
- `:v=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(h)}.`)}let S=d.match(v);return S?S.length:0}function c(d){return d.replace(/\r\n?/g,`
147
- `)}E.exports={guessEndOfLine:f,convertEndOfLineToChars:b,countEndOfLineChars:D,normalizeEndOfLine:c}}}),jr=we({"src/utils/get-last.js"(m,E){$e();var f=b=>b[b.length-1];E.exports=f}});function Va(){let{onlyFirst:m=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=["[\\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(E,m?void 0:"g")}var Ur=dn({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){$e()}});function Ua(m){if(typeof m!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof m}\``);return m.replace(Va(),"")}var rs=dn({"node_modules/strip-ansi/index.js"(){$e(),Ur()}});function Qs(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 Xs=dn({"node_modules/is-fullwidth-code-point/index.js"(){$e()}}),ni=we({"node_modules/emoji-regex/index.js"(m,E){$e(),E.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}}}),tl={};xn(tl,{default:()=>nl});function nl(m){if(typeof m!="string"||m.length===0||(m=Ua(m),m.length===0))return 0;m=m.replace((0,rl.default)()," ");let E=0;for(let f=0;f<m.length;f++){let b=m.codePointAt(f);b<=31||b>=127&&b<=159||b>=768&&b<=879||(b>65535&&f++,E+=Qs(b)?2:1)}return E}var rl,vf=dn({"node_modules/string-width/index.js"(){$e(),rs(),Xs(),rl=er(ni())}}),il=we({"src/utils/get-string-width.js"(m,E){$e();var f=(vf(),Qn(tl)).default,b=/[^\x20-\x7F]/;function D(c){return c?b.test(c)?f(c):c.length:0}E.exports=D}}),Ks=we({"src/document/doc-utils.js"(m,E){$e();var f=jr(),{literalline:b,join:D}=mi(),c=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 v(y,T,I,U){let q=[y];for(;q.length>0;){let z=q.pop();if(z===h){I(q.pop());continue}if(I&&q.push(z,h),!T||T(z)!==!1)if(c(z)||z.type==="fill"){let re=d(z);for(let ce=re.length,me=ce-1;me>=0;--me)q.push(re[me])}else if(z.type==="if-break")z.flatContents&&q.push(z.flatContents),z.breakContents&&q.push(z.breakContents);else if(z.type==="group"&&z.expandedStates)if(U)for(let re=z.expandedStates.length,ce=re-1;ce>=0;--ce)q.push(z.expandedStates[ce]);else q.push(z.contents);else z.contents&&q.push(z.contents)}}function S(y,T){let I=new Map;return U(y);function U(z){if(I.has(z))return I.get(z);let re=q(z);return I.set(z,re),re}function q(z){if(Array.isArray(z))return T(z.map(U));if(z.type==="concat"||z.type==="fill"){let re=z.parts.map(U);return T(Object.assign(Object.assign({},z),{},{parts:re}))}if(z.type==="if-break"){let re=z.breakContents&&U(z.breakContents),ce=z.flatContents&&U(z.flatContents);return T(Object.assign(Object.assign({},z),{},{breakContents:re,flatContents:ce}))}if(z.type==="group"&&z.expandedStates){let re=z.expandedStates.map(U),ce=re[0];return T(Object.assign(Object.assign({},z),{},{contents:ce,expandedStates:re}))}if(z.contents){let re=U(z.contents);return T(Object.assign(Object.assign({},z),{},{contents:re}))}return T(z)}}function L(y,T,I){let U=I,q=!1;function z(re){let ce=T(re);if(ce!==void 0&&(q=!0,U=ce),q)return!1}return v(y,z),U}function _(y){if(y.type==="group"&&y.break||y.type==="line"&&y.hard||y.type==="break-parent")return!0}function k(y){return L(y,_,!1)}function C(y){if(y.length>0){let T=f(y);!T.expandedStates&&!T.break&&(T.break="propagated")}return null}function x(y){let T=new Set,I=[];function U(z){if(z.type==="break-parent"&&C(I),z.type==="group"){if(I.push(z),T.has(z))return!1;T.add(z)}}function q(z){z.type==="group"&&I.pop().break&&C(I)}v(y,U,q,!0)}function j(y){return y.type==="line"&&!y.hard?y.soft?"":" ":y.type==="if-break"?y.flatContents||"":y}function Q(y){return S(y,j)}var ee=(y,T)=>y&&y.type==="line"&&y.hard&&T&&T.type==="break-parent";function R(y){if(!y)return y;if(c(y)||y.type==="fill"){let T=d(y);for(;T.length>1&&ee(...T.slice(-2));)T.length-=2;if(T.length>0){let I=R(f(T));T[T.length-1]=I}return Array.isArray(y)?T:Object.assign(Object.assign({},y),{},{parts:T})}switch(y.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let T=R(y.contents);return Object.assign(Object.assign({},y),{},{contents:T})}case"if-break":{let T=R(y.breakContents),I=R(y.flatContents);return Object.assign(Object.assign({},y),{},{breakContents:T,flatContents:I})}}return y}function X(y){return R(ne(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(!c(y))return y;let T=[];for(let I of d(y)){if(!I)continue;let[U,...q]=c(I)?d(I):[I];typeof U=="string"&&typeof f(T)=="string"?T[T.length-1]+=U:T.push(U),T.push(...q)}return T.length===0?"":T.length===1?T[0]:Array.isArray(y)?T:Object.assign(Object.assign({},y),{},{parts:T})}function ne(y){return S(y,T=>G(T))}function Z(y){let T=[],I=y.filter(Boolean);for(;I.length>0;){let U=I.shift();if(U){if(c(U)){I.unshift(...d(U));continue}if(T.length>0&&typeof f(T)=="string"&&typeof U=="string"){T[T.length-1]+=U;continue}T.push(U)}}return T}function ye(y){return S(y,T=>Array.isArray(T)?Z(T):T.parts?Object.assign(Object.assign({},T),{},{parts:Z(T.parts)}):T)}function F(y){return S(y,T=>typeof T=="string"&&T.includes(`
148
- `)?J(T):T)}function J(y){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:b;return D(T,y.split(`
149
- `)).parts}function w(y){if(y.type==="line")return!0}function $(y){return L(y,w,!1)}E.exports={isConcat:c,getDocParts:d,willBreak:k,traverseDoc:v,findInDoc:L,mapDoc:S,propagateBreaks:x,removeLines:Q,stripTrailingHardline:X,normalizeParts:Z,normalizeDoc:ye,cleanDoc:ne,replaceTextEndOfLine:J,replaceEndOfLine:F,canBreak:$}}}),Ef=we({"src/document/doc-printer.js"(m,E){$e();var{convertEndOfLineToChars:f}=ns(),b=jr(),D=il(),{fill:c,cursor:d,indent:h}=mi(),{isConcat:v,getDocParts:S}=Ks(),L,_=1,k=2;function C(){return{value:"",length:0,queue:[]}}function x(G,ne){return Q(G,{type:"indent"},ne)}function j(G,ne,Z){return ne===Number.NEGATIVE_INFINITY?G.root||C():ne<0?Q(G,{type:"dedent"},Z):ne?ne.type==="root"?Object.assign(Object.assign({},G),{},{root:G}):Q(G,{type:typeof ne=="string"?"stringAlign":"numberAlign",n:ne},Z):G}function Q(G,ne,Z){let ye=ne.type==="dedent"?G.queue.slice(0,-1):[...G.queue,ne],F="",J=0,w=0,$=0;for(let re of ye)switch(re.type){case"indent":I(),Z.useTabs?y(1):T(Z.tabWidth);break;case"stringAlign":I(),F+=re.n,J+=re.n.length;break;case"numberAlign":w+=1,$+=re.n;break;default:throw new Error(`Unexpected type '${re.type}'`)}return q(),Object.assign(Object.assign({},G),{},{value:F,length:J,queue:ye});function y(re){F+=" ".repeat(re),J+=Z.tabWidth*re}function T(re){F+=" ".repeat(re),J+=re}function I(){Z.useTabs?U():q()}function U(){w>0&&y(w),z()}function q(){$>0&&T($),z()}function z(){w=0,$=0}}function ee(G){if(G.length===0)return 0;let ne=0;for(;G.length>0&&typeof b(G)=="string"&&/^[\t ]*$/.test(b(G));)ne+=G.pop().length;if(G.length>0&&typeof b(G)=="string"){let Z=b(G).replace(/[\t ]*$/,"");ne+=b(G).length-Z.length,G[G.length-1]=Z}return ne}function R(G,ne,Z,ye,F){let J=ne.length,w=[G],$=[];for(;Z>=0;){if(w.length===0){if(J===0)return!0;w.push(ne[--J]);continue}let{mode:y,doc:T}=w.pop();if(typeof T=="string")$.push(T),Z-=D(T);else if(v(T)||T.type==="fill"){let I=S(T);for(let U=I.length-1;U>=0;U--)w.push({mode:y,doc:I[U]})}else switch(T.type){case"indent":case"align":case"indent-if-break":case"label":w.push({mode:y,doc:T.contents});break;case"trim":Z+=ee($);break;case"group":{if(F&&T.break)return!1;let I=T.break?_:y,U=T.expandedStates&&I===_?b(T.expandedStates):T.contents;w.push({mode:I,doc:U});break}case"if-break":{let I=(T.groupId?L[T.groupId]||k:y)===_?T.breakContents:T.flatContents;I&&w.push({mode:y,doc:I});break}case"line":if(y===_||T.hard)return!0;T.soft||($.push(" "),Z--);break;case"line-suffix":ye=!0;break;case"line-suffix-boundary":if(ye)return!1;break}}return!1}function X(G,ne){L={};let Z=ne.printWidth,ye=f(ne.endOfLine),F=0,J=[{ind:C(),mode:_,doc:G}],w=[],$=!1,y=[];for(;J.length>0;){let{ind:I,mode:U,doc:q}=J.pop();if(typeof q=="string"){let z=ye!==`
150
- `?q.replace(/\n/g,ye):q;w.push(z),F+=D(z)}else if(v(q)){let z=S(q);for(let re=z.length-1;re>=0;re--)J.push({ind:I,mode:U,doc:z[re]})}else switch(q.type){case"cursor":w.push(d.placeholder);break;case"indent":J.push({ind:x(I,ne),mode:U,doc:q.contents});break;case"align":J.push({ind:j(I,q.n,ne),mode:U,doc:q.contents});break;case"trim":F-=ee(w);break;case"group":switch(U){case k:if(!$){J.push({ind:I,mode:q.break?_:k,doc:q.contents});break}case _:{$=!1;let z={ind:I,mode:k,doc:q.contents},re=Z-F,ce=y.length>0;if(!q.break&&R(z,J,re,ce))J.push(z);else if(q.expandedStates){let me=b(q.expandedStates);if(q.break){J.push({ind:I,mode:_,doc:me});break}else for(let fe=1;fe<q.expandedStates.length+1;fe++)if(fe>=q.expandedStates.length){J.push({ind:I,mode:_,doc:me});break}else{let Fe=q.expandedStates[fe],se={ind:I,mode:k,doc:Fe};if(R(se,J,re,ce)){J.push(se);break}}}else J.push({ind:I,mode:_,doc:q.contents});break}}q.id&&(L[q.id]=b(J).mode);break;case"fill":{let z=Z-F,{parts:re}=q;if(re.length===0)break;let[ce,me]=re,fe={ind:I,mode:k,doc:ce},Fe={ind:I,mode:_,doc:ce},se=R(fe,[],z,y.length>0,!0);if(re.length===1){se?J.push(fe):J.push(Fe);break}let We={ind:I,mode:k,doc:me},he={ind:I,mode:_,doc:me};if(re.length===2){se?J.push(We,fe):J.push(he,Fe);break}re.splice(0,2);let oe={ind:I,mode:U,doc:c(re)},qe=re[0];R({ind:I,mode:k,doc:[ce,me,qe]},[],z,y.length>0,!0)?J.push(oe,We,fe):se?J.push(oe,he,fe):J.push(oe,he,Fe);break}case"if-break":case"indent-if-break":{let z=q.groupId?L[q.groupId]:U;if(z===_){let re=q.type==="if-break"?q.breakContents:q.negate?q.contents:h(q.contents);re&&J.push({ind:I,mode:U,doc:re})}if(z===k){let re=q.type==="if-break"?q.flatContents:q.negate?h(q.contents):q.contents;re&&J.push({ind:I,mode:U,doc:re})}break}case"line-suffix":y.push({ind:I,mode:U,doc:q.contents});break;case"line-suffix-boundary":y.length>0&&J.push({ind:I,mode:U,doc:{type:"line",hard:!0}});break;case"line":switch(U){case k:if(q.hard)$=!0;else{q.soft||(w.push(" "),F+=1);break}case _:if(y.length>0){J.push({ind:I,mode:U,doc:q},...y.reverse()),y.length=0;break}q.literal?I.root?(w.push(ye,I.root.value),F=I.root.length):(w.push(ye),F=0):(F-=ee(w),w.push(ye+I.value),F=I.length);break}break;case"label":J.push({ind:I,mode:U,doc:q.contents});break}J.length===0&&y.length>0&&(J.push(...y.reverse()),y.length=0)}let T=w.indexOf(d.placeholder);if(T!==-1){let I=w.indexOf(d.placeholder,T+1),U=w.slice(0,T).join(""),q=w.slice(T+1,I).join(""),z=w.slice(I+1).join("");return{formatted:U+q+z,cursorNodeStart:U.length,cursorNodeText:q}}return{formatted:w.join("")}}E.exports={printDocToString:X}}}),Af=we({"src/document/doc-debug.js"(m,E){$e();var{isConcat:f,getDocParts:b}=Ks();function D(d){if(!d)return"";if(f(d)){let h=[];for(let v of b(d))if(f(v))h.push(...D(v).parts);else{let S=D(v);S!==""&&h.push(S)}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 c(d){let h=Object.create(null),v=new Set;return S(D(d));function S(_,k,C){if(typeof _=="string")return JSON.stringify(_);if(f(_)){let x=b(_).map(S).filter(Boolean);return x.length===1?x[0]:`[${x.join(", ")}]`}if(_.type==="line"){let x=Array.isArray(C)&&C[k+1]&&C[k+1].type==="break-parent";return _.literal?x?"literalline":"literallineWithoutBreakParent":_.hard?x?"hardline":"hardlineWithoutBreakParent":_.soft?"softline":"line"}if(_.type==="break-parent")return Array.isArray(C)&&C[k-1]&&C[k-1].type==="line"&&C[k-1].hard?void 0:"breakParent";if(_.type==="trim")return"trim";if(_.type==="indent")return"indent("+S(_.contents)+")";if(_.type==="align")return _.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+S(_.contents)+")":_.n<0?"dedent("+S(_.contents)+")":_.n.type==="root"?"markAsRoot("+S(_.contents)+")":"align("+JSON.stringify(_.n)+", "+S(_.contents)+")";if(_.type==="if-break")return"ifBreak("+S(_.breakContents)+(_.flatContents?", "+S(_.flatContents):"")+(_.groupId?(_.flatContents?"":', ""')+`, { groupId: ${L(_.groupId)} }`:"")+")";if(_.type==="indent-if-break"){let x=[];_.negate&&x.push("negate: true"),_.groupId&&x.push(`groupId: ${L(_.groupId)}`);let j=x.length>0?`, { ${x.join(", ")} }`:"";return`indentIfBreak(${S(_.contents)}${j})`}if(_.type==="group"){let x=[];_.break&&_.break!=="propagated"&&x.push("shouldBreak: true"),_.id&&x.push(`id: ${L(_.id)}`);let j=x.length>0?`, { ${x.join(", ")} }`:"";return _.expandedStates?`conditionalGroup([${_.expandedStates.map(Q=>S(Q)).join(",")}]${j})`:`group(${S(_.contents)}${j})`}if(_.type==="fill")return`fill([${_.parts.map(x=>S(x)).join(", ")}])`;if(_.type==="line-suffix")return"lineSuffix("+S(_.contents)+")";if(_.type==="line-suffix-boundary")return"lineSuffixBoundary";if(_.type==="label")return`label(${JSON.stringify(_.label)}, ${S(_.contents)})`;throw new Error("Unknown doc type "+_.type)}function L(_){if(typeof _!="symbol")return JSON.stringify(String(_));if(_ in h)return h[_];let k=String(_).slice(7,-1)||"symbol";for(let C=0;;C++){let x=k+(C>0?` #${C}`:"");if(!v.has(x))return v.add(x),h[_]=`Symbol.for(${JSON.stringify(x)})`}}}E.exports={printDocToDebug:c}}}),wn=we({"src/document/index.js"(m,E){$e(),E.exports={builders:mi(),printer:Ef(),utils:Ks(),debug:Af()}}}),sl={};xn(sl,{default:()=>Cf});function Cf(m){if(typeof m!="string")throw new TypeError("Expected a string");return m.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Sf=dn({"node_modules/escape-string-regexp/index.js"(){$e()}}),al=we({"node_modules/semver/internal/debug.js"(m,E){$e();var f=typeof Ar=="object"&&Ar.env&&Ar.env.NODE_DEBUG&&/\bsemver\b/i.test(Ar.env.NODE_DEBUG)?function(){for(var b=arguments.length,D=new Array(b),c=0;c<b;c++)D[c]=arguments[c];return console.error("SEMVER",...D)}:()=>{};E.exports=f}}),Y=we({"node_modules/semver/internal/constants.js"(m,E){$e();var f="2.0.0",b=256,D=Number.MAX_SAFE_INTEGER||9007199254740991,c=16;E.exports={SEMVER_SPEC_VERSION:f,MAX_LENGTH:b,MAX_SAFE_INTEGER:D,MAX_SAFE_COMPONENT_LENGTH:c}}}),g=we({"node_modules/semver/internal/re.js"(m,E){$e();var{MAX_SAFE_COMPONENT_LENGTH:f}=Y(),b=al();m=E.exports={};var D=m.re=[],c=m.src=[],d=m.t={},h=0,v=(S,L,_)=>{let k=h++;b(S,k,L),d[S]=k,c[k]=L,D[k]=new RegExp(L,_?"g":void 0)};v("NUMERICIDENTIFIER","0|[1-9]\\d*"),v("NUMERICIDENTIFIERLOOSE","[0-9]+"),v("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),v("MAINVERSION",`(${c[d.NUMERICIDENTIFIER]})\\.(${c[d.NUMERICIDENTIFIER]})\\.(${c[d.NUMERICIDENTIFIER]})`),v("MAINVERSIONLOOSE",`(${c[d.NUMERICIDENTIFIERLOOSE]})\\.(${c[d.NUMERICIDENTIFIERLOOSE]})\\.(${c[d.NUMERICIDENTIFIERLOOSE]})`),v("PRERELEASEIDENTIFIER",`(?:${c[d.NUMERICIDENTIFIER]}|${c[d.NONNUMERICIDENTIFIER]})`),v("PRERELEASEIDENTIFIERLOOSE",`(?:${c[d.NUMERICIDENTIFIERLOOSE]}|${c[d.NONNUMERICIDENTIFIER]})`),v("PRERELEASE",`(?:-(${c[d.PRERELEASEIDENTIFIER]}(?:\\.${c[d.PRERELEASEIDENTIFIER]})*))`),v("PRERELEASELOOSE",`(?:-?(${c[d.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[d.PRERELEASEIDENTIFIERLOOSE]})*))`),v("BUILDIDENTIFIER","[0-9A-Za-z-]+"),v("BUILD",`(?:\\+(${c[d.BUILDIDENTIFIER]}(?:\\.${c[d.BUILDIDENTIFIER]})*))`),v("FULLPLAIN",`v?${c[d.MAINVERSION]}${c[d.PRERELEASE]}?${c[d.BUILD]}?`),v("FULL",`^${c[d.FULLPLAIN]}$`),v("LOOSEPLAIN",`[v=\\s]*${c[d.MAINVERSIONLOOSE]}${c[d.PRERELEASELOOSE]}?${c[d.BUILD]}?`),v("LOOSE",`^${c[d.LOOSEPLAIN]}$`),v("GTLT","((?:<|>)?=?)"),v("XRANGEIDENTIFIERLOOSE",`${c[d.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),v("XRANGEIDENTIFIER",`${c[d.NUMERICIDENTIFIER]}|x|X|\\*`),v("XRANGEPLAIN",`[v=\\s]*(${c[d.XRANGEIDENTIFIER]})(?:\\.(${c[d.XRANGEIDENTIFIER]})(?:\\.(${c[d.XRANGEIDENTIFIER]})(?:${c[d.PRERELEASE]})?${c[d.BUILD]}?)?)?`),v("XRANGEPLAINLOOSE",`[v=\\s]*(${c[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[d.XRANGEIDENTIFIERLOOSE]})(?:${c[d.PRERELEASELOOSE]})?${c[d.BUILD]}?)?)?`),v("XRANGE",`^${c[d.GTLT]}\\s*${c[d.XRANGEPLAIN]}$`),v("XRANGELOOSE",`^${c[d.GTLT]}\\s*${c[d.XRANGEPLAINLOOSE]}$`),v("COERCE",`(^|[^\\d])(\\d{1,${f}})(?:\\.(\\d{1,${f}}))?(?:\\.(\\d{1,${f}}))?(?:$|[^\\d])`),v("COERCERTL",c[d.COERCE],!0),v("LONETILDE","(?:~>?)"),v("TILDETRIM",`(\\s*)${c[d.LONETILDE]}\\s+`,!0),m.tildeTrimReplace="$1~",v("TILDE",`^${c[d.LONETILDE]}${c[d.XRANGEPLAIN]}$`),v("TILDELOOSE",`^${c[d.LONETILDE]}${c[d.XRANGEPLAINLOOSE]}$`),v("LONECARET","(?:\\^)"),v("CARETTRIM",`(\\s*)${c[d.LONECARET]}\\s+`,!0),m.caretTrimReplace="$1^",v("CARET",`^${c[d.LONECARET]}${c[d.XRANGEPLAIN]}$`),v("CARETLOOSE",`^${c[d.LONECARET]}${c[d.XRANGEPLAINLOOSE]}$`),v("COMPARATORLOOSE",`^${c[d.GTLT]}\\s*(${c[d.LOOSEPLAIN]})$|^$`),v("COMPARATOR",`^${c[d.GTLT]}\\s*(${c[d.FULLPLAIN]})$|^$`),v("COMPARATORTRIM",`(\\s*)${c[d.GTLT]}\\s*(${c[d.LOOSEPLAIN]}|${c[d.XRANGEPLAIN]})`,!0),m.comparatorTrimReplace="$1$2$3",v("HYPHENRANGE",`^\\s*(${c[d.XRANGEPLAIN]})\\s+-\\s+(${c[d.XRANGEPLAIN]})\\s*$`),v("HYPHENRANGELOOSE",`^\\s*(${c[d.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[d.XRANGEPLAINLOOSE]})\\s*$`),v("STAR","(<|>)?=?\\s*\\*"),v("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),v("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),W=we({"node_modules/semver/internal/parse-options.js"(m,E){$e();var f=["includePrerelease","loose","rtl"],b=D=>D?typeof D!="object"?{loose:!0}:f.filter(c=>D[c]).reduce((c,d)=>(c[d]=!0,c),{}):{};E.exports=b}}),Ae=we({"node_modules/semver/internal/identifiers.js"(m,E){$e();var f=/^[0-9]+$/,b=(c,d)=>{let h=f.test(c),v=f.test(d);return h&&v&&(c=+c,d=+d),c===d?0:h&&!v?-1:v&&!h?1:c<d?-1:1},D=(c,d)=>b(d,c);E.exports={compareIdentifiers:b,rcompareIdentifiers:D}}}),ke=we({"node_modules/semver/classes/semver.js"(m,E){$e();var f=al(),{MAX_LENGTH:b,MAX_SAFE_INTEGER:D}=Y(),{re:c,t:d}=g(),h=W(),{compareIdentifiers:v}=Ae(),S=class{constructor(L,_){if(_=h(_),L instanceof S){if(L.loose===!!_.loose&&L.includePrerelease===!!_.includePrerelease)return L;L=L.version}else if(typeof L!="string")throw new TypeError(`Invalid Version: ${L}`);if(L.length>b)throw new TypeError(`version is longer than ${b} characters`);f("SemVer",L,_),this.options=_,this.loose=!!_.loose,this.includePrerelease=!!_.includePrerelease;let k=L.trim().match(_.loose?c[d.LOOSE]:c[d.FULL]);if(!k)throw new TypeError(`Invalid Version: ${L}`);if(this.raw=L,this.major=+k[1],this.minor=+k[2],this.patch=+k[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");k[4]?this.prerelease=k[4].split(".").map(C=>{if(/^[0-9]+$/.test(C)){let x=+C;if(x>=0&&x<D)return x}return C}):this.prerelease=[],this.build=k[5]?k[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(L){if(f("SemVer.compare",this.version,this.options,L),!(L instanceof S)){if(typeof L=="string"&&L===this.version)return 0;L=new S(L,this.options)}return L.version===this.version?0:this.compareMain(L)||this.comparePre(L)}compareMain(L){return L instanceof S||(L=new S(L,this.options)),v(this.major,L.major)||v(this.minor,L.minor)||v(this.patch,L.patch)}comparePre(L){if(L instanceof S||(L=new S(L,this.options)),this.prerelease.length&&!L.prerelease.length)return-1;if(!this.prerelease.length&&L.prerelease.length)return 1;if(!this.prerelease.length&&!L.prerelease.length)return 0;let _=0;do{let k=this.prerelease[_],C=L.prerelease[_];if(f("prerelease compare",_,k,C),k===void 0&&C===void 0)return 0;if(C===void 0)return 1;if(k===void 0)return-1;if(k!==C)return v(k,C)}while(++_)}compareBuild(L){L instanceof S||(L=new S(L,this.options));let _=0;do{let k=this.build[_],C=L.build[_];if(f("prerelease compare",_,k,C),k===void 0&&C===void 0)return 0;if(C===void 0)return 1;if(k===void 0)return-1;if(k!==C)return v(k,C)}while(++_)}inc(L,_){switch(L){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",_);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",_);break;case"prepatch":this.prerelease.length=0,this.inc("patch",_),this.inc("pre",_);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",_),this.inc("pre",_);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 k=this.prerelease.length;for(;--k>=0;)typeof this.prerelease[k]=="number"&&(this.prerelease[k]++,k=-2);k===-1&&this.prerelease.push(0)}_&&(v(this.prerelease[0],_)===0?isNaN(this.prerelease[1])&&(this.prerelease=[_,0]):this.prerelease=[_,0]);break;default:throw new Error(`invalid increment argument: ${L}`)}return this.format(),this.raw=this.version,this}};E.exports=S}}),Le=we({"node_modules/semver/functions/compare.js"(m,E){$e();var f=ke(),b=(D,c,d)=>new f(D,d).compare(new f(c,d));E.exports=b}}),Xe=we({"node_modules/semver/functions/lt.js"(m,E){$e();var f=Le(),b=(D,c,d)=>f(D,c,d)<0;E.exports=b}}),ht=we({"node_modules/semver/functions/gte.js"(m,E){$e();var f=Le(),b=(D,c,d)=>f(D,c,d)>=0;E.exports=b}}),jt=we({"src/utils/arrayify.js"(m,E){$e(),E.exports=(f,b)=>Object.entries(f).map(D=>{let[c,d]=D;return Object.assign({[b]:c},d)})}}),rt=we({"node_modules/outdent/lib/index.js"(m,E){$e(),Object.defineProperty(m,"__esModule",{value:!0}),m.outdent=void 0;function f(){for(var R=[],X=0;X<arguments.length;X++)R[X]=arguments[X]}function b(){return typeof WeakMap<"u"?new WeakMap:D()}function D(){return{add:f,delete:f,get:f,set:f,has:function(R){return!1}}}var c=Object.prototype.hasOwnProperty,d=function(R,X){return c.call(R,X)};function h(R,X){for(var G in X)d(X,G)&&(R[G]=X[G]);return R}var v=/^[ \t]*(?:\r\n|\r|\n)/,S=/(?:\r\n|\r|\n)[ \t]*$/,L=/^(?:[\r\n]|$)/,_=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,k=/^[ \t]*[\r\n][ \t\r\n]*$/;function C(R,X,G){var ne=0,Z=R[0].match(_);Z&&(ne=Z[1].length);var ye="(\\r\\n|\\r|\\n).{0,"+ne+"}",F=new RegExp(ye,"g");X&&(R=R.slice(1));var J=G.newline,w=G.trimLeadingNewline,$=G.trimTrailingNewline,y=typeof J=="string",T=R.length,I=R.map(function(U,q){return U=U.replace(F,"$1"),q===0&&w&&(U=U.replace(v,"")),q===T-1&&$&&(U=U.replace(S,"")),y&&(U=U.replace(/\r\n|\n|\r/g,function(z){return J})),U});return I}function x(R,X){for(var G="",ne=0,Z=R.length;ne<Z;ne++)G+=R[ne],ne<Z-1&&(G+=X[ne]);return G}function j(R){return d(R,"raw")&&d(R,"length")}function Q(R){var X=b(),G=b();function ne(ye){for(var F=[],J=1;J<arguments.length;J++)F[J-1]=arguments[J];if(j(ye)){var w=ye,$=(F[0]===ne||F[0]===ee)&&k.test(w[0])&&L.test(w[1]),y=$?G:X,T=y.get(w);if(T||(T=C(w,$,R),y.set(w,T)),F.length===0)return T[0];var I=x(T,$?F.slice(1):F);return I}else return Q(h(h({},R),ye||{}))}var Z=h(ne,{string:function(ye){return C([ye],!1,R)[0]}});return Z}var ee=Q({trimLeadingNewline:!0,trimTrailingNewline:!0});if(m.outdent=ee,m.default=ee,typeof E<"u")try{E.exports=ee,Object.defineProperty(ee,"__esModule",{value:!0}),ee.default=ee,ee.outdent=ee}catch{}}}),gt=we({"src/main/core-options.js"(m,E){$e();var{outdent:f}=rt(),b="Config",D="Editor",c="Format",d="Other",h="Output",v="Global",S="Special",L={cursorOffset:{since:"1.4.0",category:S,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:f`
151
- Print (to stderr) where a cursor at the given position would move to after formatting.
152
- This option cannot be used with --range-start and --range-end.
153
- `,cliCategory:D},endOfLine:{since:"1.15.0",category:v,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:f`
154
- Maintain existing
155
- (mixed values within one file are normalised by looking at what's used after the first line)
156
- `}]},filepath:{since:"1.4.0",category:S,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:S,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:d},parser:{since:"0.0.10",category:v,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:_=>typeof _=="string"||typeof _=="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:v,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:_=>typeof _=="string"||typeof _=="object",cliName:"plugin",cliCategory:b},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:v,description:f`
157
- Custom directory that contains prettier plugins in node_modules subdirectory.
158
- Overrides default behavior when plugins are searched relatively to the location of Prettier.
159
- Multiple values are accepted.
160
- `,exception:_=>typeof _=="string"||typeof _=="object",cliName:"plugin-search-dir",cliCategory:b},printWidth:{since:"0.0.0",category:v,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:S,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:f`
161
- Format code ending at a given character offset (exclusive).
162
- The range will extend forwards to the end of the selected statement.
163
- This option cannot be used with --cursor-offset.
164
- `,cliCategory:D},rangeStart:{since:"1.4.0",category:S,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:f`
165
- Format code starting at a given character offset.
166
- The range will extend backwards to the start of the first line containing the selected statement.
167
- This option cannot be used with --cursor-offset.
168
- `,cliCategory:D},requirePragma:{since:"1.7.0",category:S,type:"boolean",default:!1,description:f`
169
- Require either '@prettier' or '@format' to be present in the file's first docblock comment
170
- in order for it to be formatted.
171
- `,cliCategory:d},tabWidth:{type:"int",category:v,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:v,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:v,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."}]}};E.exports={CATEGORY_CONFIG:b,CATEGORY_EDITOR:D,CATEGORY_FORMAT:c,CATEGORY_OTHER:d,CATEGORY_OUTPUT:h,CATEGORY_GLOBAL:v,CATEGORY_SPECIAL:S,options:L}}}),Ft=we({"src/main/support.js"(m,E){$e();var f={compare:Le(),lt:Xe(),gte:ht()},b=jt(),D=Kr().version,c=gt().options;function d(){let{plugins:v=[],showUnreleased:S=!1,showDeprecated:L=!1,showInternal:_=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},k=D.split("-",1)[0],C=v.flatMap(R=>R.languages||[]).filter(j),x=b(Object.assign({},...v.map(R=>{let{options:X}=R;return X}),c),"name").filter(R=>j(R)&&Q(R)).sort((R,X)=>R.name===X.name?0:R.name<X.name?-1:1).map(ee).map(R=>{R=Object.assign({},R),Array.isArray(R.default)&&(R.default=R.default.length===1?R.default[0].value:R.default.filter(j).sort((G,ne)=>f.compare(ne.since,G.since))[0].value),Array.isArray(R.choices)&&(R.choices=R.choices.filter(G=>j(G)&&Q(G)),R.name==="parser"&&h(R,C,v));let X=Object.fromEntries(v.filter(G=>G.defaultOptions&&G.defaultOptions[R.name]!==void 0).map(G=>[G.name,G.defaultOptions[R.name]]));return Object.assign(Object.assign({},R),{},{pluginDefaults:X})});return{languages:C,options:x};function j(R){return S||!("since"in R)||R.since&&f.gte(k,R.since)}function Q(R){return L||!("deprecated"in R)||R.deprecated&&f.lt(k,R.deprecated)}function ee(R){return _?R:Ct(R,Qe)}}function h(v,S,L){let _=new Set(v.choices.map(k=>k.value));for(let k of S)if(k.parsers){for(let C of k.parsers)if(!_.has(C)){_.add(C);let x=L.find(Q=>Q.parsers&&Q.parsers[C]),j=k.name;x&&x.name&&(j+=` (plugin: ${x.name})`),v.choices.push({value:C,description:j})}}}E.exports={getSupportInfo:d}}}),Mt=we({"src/utils/is-non-empty-array.js"(m,E){$e();function f(b){return Array.isArray(b)&&b.length>0}E.exports=f}}),_t=we({"src/utils/text/skip.js"(m,E){$e();function f(h){return(v,S,L)=>{let _=L&&L.backwards;if(S===!1)return!1;let{length:k}=v,C=S;for(;C>=0&&C<k;){let x=v.charAt(C);if(h instanceof RegExp){if(!h.test(x))return C}else if(!h.includes(x))return C;_?C--:C++}return C===-1||C===k?C:!1}}var b=f(/\s/),D=f(" "),c=f(",; "),d=f(/[^\n\r]/);E.exports={skipWhitespace:b,skipSpaces:D,skipToLineEnd:c,skipEverythingButNewLine:d}}}),Gt=we({"src/utils/text/skip-inline-comment.js"(m,E){$e();function f(b,D){if(D===!1)return!1;if(b.charAt(D)==="/"&&b.charAt(D+1)==="*"){for(let c=D+2;c<b.length;++c)if(b.charAt(c)==="*"&&b.charAt(c+1)==="/")return c+2}return D}E.exports=f}}),Wt=we({"src/utils/text/skip-trailing-comment.js"(m,E){$e();var{skipEverythingButNewLine:f}=_t();function b(D,c){return c===!1?!1:D.charAt(c)==="/"&&D.charAt(c+1)==="/"?f(D,c):c}E.exports=b}}),Xt=we({"src/utils/text/skip-newline.js"(m,E){$e();function f(b,D,c){let d=c&&c.backwards;if(D===!1)return!1;let h=b.charAt(D);if(d){if(b.charAt(D-1)==="\r"&&h===`
172
- `)return D-2;if(h===`
173
- `||h==="\r"||h==="\u2028"||h==="\u2029")return D-1}else{if(h==="\r"&&b.charAt(D+1)===`
174
- `)return D+2;if(h===`
175
- `||h==="\r"||h==="\u2028"||h==="\u2029")return D+1}return D}E.exports=f}}),bn=we({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(m,E){$e();var f=Gt(),b=Xt(),D=Wt(),{skipSpaces:c}=_t();function d(h,v){let S=null,L=v;for(;L!==S;)S=L,L=c(h,L),L=f(h,L),L=D(h,L),L=b(h,L);return L}E.exports=d}}),ge=we({"src/common/util.js"(m,E){$e();var{default:f}=(Sf(),Qn(sl)),b=jr(),{getSupportInfo:D}=Ft(),c=Mt(),d=il(),{skipWhitespace:h,skipSpaces:v,skipToLineEnd:S,skipEverythingButNewLine:L}=_t(),_=Gt(),k=Wt(),C=Xt(),x=bn(),j=he=>he[he.length-2];function Q(he){return(oe,qe,et)=>{let Je=et&&et.backwards;if(qe===!1)return!1;let{length:dt}=oe,De=qe;for(;De>=0&&De<dt;){let Ie=oe.charAt(De);if(he instanceof RegExp){if(!he.test(Ie))return De}else if(!he.includes(Ie))return De;Je?De--:De++}return De===-1||De===dt?De:!1}}function ee(he,oe){let qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},et=v(he,qe.backwards?oe-1:oe,qe),Je=C(he,et,qe);return et!==Je}function R(he,oe,qe){for(let et=oe;et<qe;++et)if(he.charAt(et)===`
176
- `)return!0;return!1}function X(he,oe,qe){let et=qe(oe)-1;et=v(he,et,{backwards:!0}),et=C(he,et,{backwards:!0}),et=v(he,et,{backwards:!0});let Je=C(he,et,{backwards:!0});return et!==Je}function G(he,oe){let qe=null,et=oe;for(;et!==qe;)qe=et,et=S(he,et),et=_(he,et),et=v(he,et);return et=k(he,et),et=C(he,et),et!==!1&&ee(he,et)}function ne(he,oe,qe){return G(he,qe(oe))}function Z(he,oe,qe){return x(he,qe(oe))}function ye(he,oe,qe){return he.charAt(Z(he,oe,qe))}function F(he,oe){let qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return v(he,qe.backwards?oe-1:oe,qe)!==oe}function J(he,oe){let qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,et=0;for(let Je=qe;Je<he.length;++Je)he[Je]===" "?et=et+oe-et%oe:et++;return et}function w(he,oe){let qe=he.lastIndexOf(`
177
- `);return qe===-1?0:J(he.slice(qe+1).match(/^[\t ]*/)[0],oe)}function $(he,oe){let qe={quote:'"',regex:/"/g,escaped:"&quot;"},et={quote:"'",regex:/'/g,escaped:"&apos;"},Je=oe==="'"?et:qe,dt=Je===et?qe:et,De=Je;if(he.includes(Je.quote)||he.includes(dt.quote)){let Ie=(he.match(Je.regex)||[]).length,ct=(he.match(dt.regex)||[]).length;De=Ie>ct?dt:Je}return De}function y(he,oe){let qe=he.slice(1,-1),et=oe.parser==="json"||oe.parser==="json5"&&oe.quoteProps==="preserve"&&!oe.singleQuote?'"':oe.__isInHtmlAttribute?"'":$(qe,oe.singleQuote?"'":'"').quote;return T(qe,et,!(oe.parser==="css"||oe.parser==="less"||oe.parser==="scss"||oe.__embeddedInHtml))}function T(he,oe,qe){let et=oe==='"'?"'":'"',Je=/\\(.)|(["'])/gs,dt=he.replace(Je,(De,Ie,ct)=>Ie===et?Ie:ct===oe?"\\"+ct:ct||(qe&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Ie)?Ie:"\\"+Ie));return oe+dt+oe}function I(he){return he.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function U(he,oe){let qe=he.match(new RegExp(`(${f(oe)})+`,"g"));return qe===null?0:qe.reduce((et,Je)=>Math.max(et,Je.length/oe.length),0)}function q(he,oe){let qe=he.match(new RegExp(`(${f(oe)})+`,"g"));if(qe===null)return 0;let et=new Map,Je=0;for(let dt of qe){let De=dt.length/oe.length;et.set(De,!0),De>Je&&(Je=De)}for(let dt=1;dt<Je;dt++)if(!et.get(dt))return dt;return Je+1}function z(he,oe){(he.comments||(he.comments=[])).push(oe),oe.printed=!1,oe.nodeDescription=We(he)}function re(he,oe){oe.leading=!0,oe.trailing=!1,z(he,oe)}function ce(he,oe,qe){oe.leading=!1,oe.trailing=!1,qe&&(oe.marker=qe),z(he,oe)}function me(he,oe){oe.leading=!1,oe.trailing=!0,z(he,oe)}function fe(he,oe){let{languages:qe}=D({plugins:oe.plugins}),et=qe.find(Je=>{let{name:dt}=Je;return dt.toLowerCase()===he})||qe.find(Je=>{let{aliases:dt}=Je;return Array.isArray(dt)&&dt.includes(he)})||qe.find(Je=>{let{extensions:dt}=Je;return Array.isArray(dt)&&dt.includes(`.${he}`)});return et&&et.parsers[0]}function Fe(he){return he&&he.type==="front-matter"}function se(he){let oe=new WeakMap;return function(qe){return oe.has(qe)||oe.set(qe,Symbol(he)),oe.get(qe)}}function We(he){let oe=he.type||he.kind||"(unknown type)",qe=String(he.name||he.id&&(typeof he.id=="object"?he.id.name:he.id)||he.key&&(typeof he.key=="object"?he.key.name:he.key)||he.value&&(typeof he.value=="object"?"":String(he.value))||he.operator||"");return qe.length>20&&(qe=qe.slice(0,19)+"…"),oe+(qe?" "+qe:"")}E.exports={inferParserByLanguage:fe,getStringWidth:d,getMaxContinuousCount:U,getMinNotPresentContinuousCount:q,getPenultimate:j,getLast:b,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:x,getNextNonSpaceNonCommentCharacterIndex:Z,getNextNonSpaceNonCommentCharacter:ye,skip:Q,skipWhitespace:h,skipSpaces:v,skipToLineEnd:S,skipEverythingButNewLine:L,skipInlineComment:_,skipTrailingComment:k,skipNewline:C,isNextLineEmptyAfterIndex:G,isNextLineEmpty:ne,isPreviousLineEmpty:X,hasNewline:ee,hasNewlineInRange:R,hasSpaces:F,getAlignmentSize:J,getIndentSize:w,getPreferredQuote:$,printString:y,printNumber:I,makeString:T,addLeadingComment:re,addDanglingComment:ce,addTrailingComment:me,isFrontMatterNode:Fe,isNonEmptyArray:c,createGroupIdMapper:se}}}),K={};xn(K,{basename:()=>Et,default:()=>Cr,delimiter:()=>sr,dirname:()=>je,extname:()=>Ot,isAbsolute:()=>Se,join:()=>Be,normalize:()=>le,relative:()=>ve,resolve:()=>H,sep:()=>Wn});function M(m,E){for(var f=0,b=m.length-1;b>=0;b--){var D=m[b];D==="."?m.splice(b,1):D===".."?(m.splice(b,1),f++):f&&(m.splice(b,1),f--)}if(E)for(;f--;f)m.unshift("..");return m}function H(){for(var m="",E=!1,f=arguments.length-1;f>=-1&&!E;f--){var b=f>=0?arguments[f]:"/";if(typeof b!="string")throw new TypeError("Arguments to path.resolve must be strings");b&&(m=b+"/"+m,E=b.charAt(0)==="/")}return m=M(zt(m.split("/"),function(D){return!!D}),!E).join("/"),(E?"/":"")+m||"."}function le(m){var E=Se(m),f=gi(m,-1)==="/";return m=M(zt(m.split("/"),function(b){return!!b}),!E).join("/"),!m&&!E&&(m="."),m&&f&&(m+="/"),(E?"/":"")+m}function Se(m){return m.charAt(0)==="/"}function Be(){var m=Array.prototype.slice.call(arguments,0);return le(zt(m,function(E,f){if(typeof E!="string")throw new TypeError("Arguments to path.join must be strings");return E}).join("/"))}function ve(m,E){m=H(m).substr(1),E=H(E).substr(1);function f(S){for(var L=0;L<S.length&&S[L]==="";L++);for(var _=S.length-1;_>=0&&S[_]==="";_--);return L>_?[]:S.slice(L,_-L+1)}for(var b=f(m.split("/")),D=f(E.split("/")),c=Math.min(b.length,D.length),d=c,h=0;h<c;h++)if(b[h]!==D[h]){d=h;break}for(var v=[],h=d;h<b.length;h++)v.push("..");return v=v.concat(D.slice(d)),v.join("/")}function je(m){var E=on(m),f=E[0],b=E[1];return!f&&!b?".":(b&&(b=b.substr(0,b.length-1)),f+b)}function Et(m,E){var f=on(m)[2];return E&&f.substr(-1*E.length)===E&&(f=f.substr(0,f.length-E.length)),f}function Ot(m){return on(m)[3]}function zt(m,E){if(m.filter)return m.filter(E);for(var f=[],b=0;b<m.length;b++)E(m[b],b,m)&&f.push(m[b]);return f}var En,on,Wn,sr,Cr,gi,li=dn({"node-modules-polyfills:path"(){$e(),En=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,on=function(m){return En.exec(m).slice(1)},Wn="/",sr=":",Cr={extname:Ot,basename:Et,dirname:je,sep:Wn,delimiter:sr,relative:ve,join:Be,isAbsolute:Se,normalize:le,resolve:H},gi="ab".substr(-1)==="b"?function(m,E,f){return m.substr(E,f)}:function(m,E,f){return E<0&&(E=m.length+E),m.substr(E,f)}}}),yt=we({"node-modules-polyfills-commonjs:path"(m,E){$e();var f=(li(),Qn(K));if(f&&f.default){E.exports=f.default;for(let b in f)E.exports[b]=f[b]}else f&&(E.exports=f)}}),tn=we({"src/common/errors.js"(m,E){$e();var f=class extends Error{},b=class extends Error{},D=class extends Error{},c=class extends Error{};E.exports={ConfigError:f,DebugError:b,UndefinedParserError:D,ArgExpansionBailout:c}}}),mn={};xn(mn,{__assign:()=>de,__asyncDelegator:()=>Nf,__asyncGenerator:()=>Ff,__asyncValues:()=>_f,__await:()=>yi,__awaiter:()=>Yi,__classPrivateFieldGet:()=>Pf,__classPrivateFieldSet:()=>Bf,__createBinding:()=>Zs,__decorate:()=>or,__exportStar:()=>qa,__extends:()=>Cn,__generator:()=>Mi,__importDefault:()=>Lf,__importStar:()=>kf,__makeTemplateObject:()=>Tf,__metadata:()=>Ji,__param:()=>Ii,__read:()=>ol,__rest:()=>Yn,__spread:()=>xf,__spreadArrays:()=>wf,__values:()=>_o});function Cn(m,E){pe(m,E);function f(){this.constructor=m}m.prototype=E===null?Object.create(E):(f.prototype=E.prototype,new f)}function Yn(m,E){var f={};for(var b in m)Object.prototype.hasOwnProperty.call(m,b)&&E.indexOf(b)<0&&(f[b]=m[b]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,b=Object.getOwnPropertySymbols(m);D<b.length;D++)E.indexOf(b[D])<0&&Object.prototype.propertyIsEnumerable.call(m,b[D])&&(f[b[D]]=m[b[D]]);return f}function or(m,E,f,b){var D=arguments.length,c=D<3?E:b===null?b=Object.getOwnPropertyDescriptor(E,f):b,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(m,E,f,b);else for(var h=m.length-1;h>=0;h--)(d=m[h])&&(c=(D<3?d(c):D>3?d(E,f,c):d(E,f))||c);return D>3&&c&&Object.defineProperty(E,f,c),c}function Ii(m,E){return function(f,b){E(f,b,m)}}function Ji(m,E){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(m,E)}function Yi(m,E,f,b){function D(c){return c instanceof f?c:new f(function(d){d(c)})}return new(f||(f=Promise))(function(c,d){function h(L){try{S(b.next(L))}catch(_){d(_)}}function v(L){try{S(b.throw(L))}catch(_){d(_)}}function S(L){L.done?c(L.value):D(L.value).then(h,v)}S((b=b.apply(m,E||[])).next())})}function Mi(m,E){var f={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},b,D,c,d;return d={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function h(S){return function(L){return v([S,L])}}function v(S){if(b)throw new TypeError("Generator is already executing.");for(;f;)try{if(b=1,D&&(c=S[0]&2?D.return:S[0]?D.throw||((c=D.return)&&c.call(D),0):D.next)&&!(c=c.call(D,S[1])).done)return c;switch(D=0,c&&(S=[S[0]&2,c.value]),S[0]){case 0:case 1:c=S;break;case 4:return f.label++,{value:S[1],done:!1};case 5:f.label++,D=S[1],S=[0];continue;case 7:S=f.ops.pop(),f.trys.pop();continue;default:if(c=f.trys,!(c=c.length>0&&c[c.length-1])&&(S[0]===6||S[0]===2)){f=0;continue}if(S[0]===3&&(!c||S[1]>c[0]&&S[1]<c[3])){f.label=S[1];break}if(S[0]===6&&f.label<c[1]){f.label=c[1],c=S;break}if(c&&f.label<c[2]){f.label=c[2],f.ops.push(S);break}c[2]&&f.ops.pop(),f.trys.pop();continue}S=E.call(m,f)}catch(L){S=[6,L],D=0}finally{b=c=0}if(S[0]&5)throw S[1];return{value:S[0]?S[1]:void 0,done:!0}}}function Zs(m,E,f,b){b===void 0&&(b=f),m[b]=E[f]}function qa(m,E){for(var f in m)f!=="default"&&!E.hasOwnProperty(f)&&(E[f]=m[f])}function _o(m){var E=typeof Symbol=="function"&&Symbol.iterator,f=E&&m[E],b=0;if(f)return f.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(E?"Object is not iterable.":"Symbol.iterator is not defined.")}function ol(m,E){var f=typeof Symbol=="function"&&m[Symbol.iterator];if(!f)return m;var b=f.call(m),D,c=[],d;try{for(;(E===void 0||E-- >0)&&!(D=b.next()).done;)c.push(D.value)}catch(h){d={error:h}}finally{try{D&&!D.done&&(f=b.return)&&f.call(b)}finally{if(d)throw d.error}}return c}function xf(){for(var m=[],E=0;E<arguments.length;E++)m=m.concat(ol(arguments[E]));return m}function wf(){for(var m=0,E=0,f=arguments.length;E<f;E++)m+=arguments[E].length;for(var b=Array(m),D=0,E=0;E<f;E++)for(var c=arguments[E],d=0,h=c.length;d<h;d++,D++)b[D]=c[d];return b}function yi(m){return this instanceof yi?(this.v=m,this):new yi(m)}function Ff(m,E,f){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var b=f.apply(m,E||[]),D,c=[];return D={},d("next"),d("throw"),d("return"),D[Symbol.asyncIterator]=function(){return this},D;function d(k){b[k]&&(D[k]=function(C){return new Promise(function(x,j){c.push([k,C,x,j])>1||h(k,C)})})}function h(k,C){try{v(b[k](C))}catch(x){_(c[0][3],x)}}function v(k){k.value instanceof yi?Promise.resolve(k.value.v).then(S,L):_(c[0][2],k)}function S(k){h("next",k)}function L(k){h("throw",k)}function _(k,C){k(C),c.shift(),c.length&&h(c[0][0],c[0][1])}}function Nf(m){var E,f;return E={},b("next"),b("throw",function(D){throw D}),b("return"),E[Symbol.iterator]=function(){return this},E;function b(D,c){E[D]=m[D]?function(d){return(f=!f)?{value:yi(m[D](d)),done:D==="return"}:c?c(d):d}:c}}function _f(m){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E=m[Symbol.asyncIterator],f;return E?E.call(m):(m=typeof _o=="function"?_o(m):m[Symbol.iterator](),f={},b("next"),b("throw"),b("return"),f[Symbol.asyncIterator]=function(){return this},f);function b(c){f[c]=m[c]&&function(d){return new Promise(function(h,v){d=m[c](d),D(h,v,d.done,d.value)})}}function D(c,d,h,v){Promise.resolve(v).then(function(S){c({value:S,done:h})},d)}}function Tf(m,E){return Object.defineProperty?Object.defineProperty(m,"raw",{value:E}):m.raw=E,m}function kf(m){if(m&&m.__esModule)return m;var E={};if(m!=null)for(var f in m)Object.hasOwnProperty.call(m,f)&&(E[f]=m[f]);return E.default=m,E}function Lf(m){return m&&m.__esModule?m:{default:m}}function Pf(m,E){if(!E.has(m))throw new TypeError("attempted to get private field on non-instance");return E.get(m)}function Bf(m,E,f){if(!E.has(m))throw new TypeError("attempted to set private field on non-instance");return E.set(m,f),f}var pe,de,Ge=dn({"node_modules/tslib/tslib.es6.js"(){$e(),pe=function(m,E){return pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,b){f.__proto__=b}||function(f,b){for(var D in b)b.hasOwnProperty(D)&&(f[D]=b[D])},pe(m,E)},de=function(){return de=Object.assign||function(m){for(var E,f=1,b=arguments.length;f<b;f++){E=arguments[f];for(var D in E)Object.prototype.hasOwnProperty.call(E,D)&&(m[D]=E[D])}return m},de.apply(this,arguments)}}}),He=we({"node_modules/vnopts/lib/descriptors/api.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0}),m.apiDescriptor={key:E=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(E)?E:JSON.stringify(E),value(E){if(E===null||typeof E!="object")return JSON.stringify(E);if(Array.isArray(E))return`[${E.map(b=>m.apiDescriptor.value(b)).join(", ")}]`;let f=Object.keys(E);return f.length===0?"{}":`{ ${f.map(b=>`${m.apiDescriptor.key(b)}: ${m.apiDescriptor.value(E[b])}`).join(", ")} }`},pair:E=>{let{key:f,value:b}=E;return m.apiDescriptor.value({[f]:b})}}}}),Ke=we({"node_modules/vnopts/lib/descriptors/index.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=(Ge(),Qn(mn));E.__exportStar(He(),m)}}),Ze=we({"scripts/build/shims/chalk.cjs"(m,E){$e();var f=b=>b;f.grey=f,f.red=f,f.bold=f,f.yellow=f,f.blue=f,f.default=f,E.exports=f}}),At=we({"node_modules/vnopts/lib/handlers/deprecated/common.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=Ze();m.commonDeprecatedHandler=(f,b,D)=>{let{descriptor:c}=D,d=[`${E.default.yellow(typeof f=="string"?c.key(f):c.pair(f))} is deprecated`];return b&&d.push(`we now treat it as ${E.default.blue(typeof b=="string"?c.key(b):c.pair(b))}`),d.join("; ")+"."}}}),xt=we({"node_modules/vnopts/lib/handlers/deprecated/index.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=(Ge(),Qn(mn));E.__exportStar(At(),m)}}),Kt=we({"node_modules/vnopts/lib/handlers/invalid/common.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=Ze();m.commonInvalidHandler=(f,b,D)=>[`Invalid ${E.default.red(D.descriptor.key(f))} value.`,`Expected ${E.default.blue(D.schemas[f].expected(D))},`,`but received ${E.default.red(D.descriptor.value(b))}.`].join(" ")}}),rn=we({"node_modules/vnopts/lib/handlers/invalid/index.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=(Ge(),Qn(mn));E.__exportStar(Kt(),m)}}),hn=we({"node_modules/vnopts/node_modules/leven/index.js"(m,E){$e();var f=[],b=[];E.exports=function(D,c){if(D===c)return 0;var d=D;D.length>c.length&&(D=c,c=d);var h=D.length,v=c.length;if(h===0)return v;if(v===0)return h;for(;h>0&&D.charCodeAt(~-h)===c.charCodeAt(~-v);)h--,v--;if(h===0)return v;for(var S=0;S<h&&D.charCodeAt(S)===c.charCodeAt(S);)S++;if(h-=S,v-=S,h===0)return v;for(var L,_,k,C,x=0,j=0;x<h;)b[S+x]=D.charCodeAt(S+x),f[x]=++x;for(;j<v;)for(L=c.charCodeAt(S+j),k=j++,_=j,x=0;x<h;x++)C=L===b[S+x]?k:k+1,k=f[x],_=f[x]=k>_?C>_?_+1:C:C>k?k+1:C;return _}}}),In=we({"node_modules/vnopts/lib/handlers/unknown/leven.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=Ze(),f=hn();m.levenUnknownHandler=(b,D,c)=>{let{descriptor:d,logger:h,schemas:v}=c,S=[`Ignored unknown option ${E.default.yellow(d.pair({key:b,value:D}))}.`],L=Object.keys(v).sort().find(_=>f(b,_)<3);L&&S.push(`Did you mean ${E.default.blue(d.key(L))}?`),h.warn(S.join(" "))}}}),lr=we({"node_modules/vnopts/lib/handlers/unknown/index.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=(Ge(),Qn(mn));E.__exportStar(In(),m)}}),cr=we({"node_modules/vnopts/lib/handlers/index.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=(Ge(),Qn(mn));E.__exportStar(xt(),m),E.__exportStar(rn(),m),E.__exportStar(lr(),m)}}),Vn=we({"node_modules/vnopts/lib/schema.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function f(c,d){let h=new c(d),v=Object.create(h);for(let S of E)S in d&&(v[S]=D(d[S],h,b.prototype[S].length));return v}m.createSchema=f;var b=class{constructor(c){this.name=c.name}static create(c){return f(this,c)}default(c){}expected(c){return"nothing"}validate(c,d){return!1}deprecated(c,d){return!1}forward(c,d){}redirect(c,d){}overlap(c,d,h){return c}preprocess(c,d){return c}postprocess(c,d){return c}};m.Schema=b;function D(c,d,h){return typeof c=="function"?function(){for(var v=arguments.length,S=new Array(v),L=0;L<v;L++)S[L]=arguments[L];return c(...S.slice(0,h-1),d,...S.slice(h-1))}:()=>c}}}),rr=we({"node_modules/vnopts/lib/schemas/alias.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=Vn(),f=class extends E.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=f}}),tr=we({"node_modules/vnopts/lib/schemas/any.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=Vn(),f=class extends E.Schema{expected(){return"anything"}validate(){return!0}};m.AnySchema=f}}),$r=we({"node_modules/vnopts/lib/schemas/array.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=(Ge(),Qn(mn)),f=Vn(),b=class extends f.Schema{constructor(c){var{valueSchema:d,name:h=d.name}=c,v=E.__rest(c,["valueSchema","name"]);super(Object.assign({},v,{name:h})),this._valueSchema=d}expected(c){return`an array of ${this._valueSchema.expected(c)}`}validate(c,d){if(!Array.isArray(c))return!1;let h=[];for(let v of c){let S=d.normalizeValidateResult(this._valueSchema.validate(v,d),v);S!==!0&&h.push(S.value)}return h.length===0?!0:{value:h}}deprecated(c,d){let h=[];for(let v of c){let S=d.normalizeDeprecatedResult(this._valueSchema.deprecated(v,d),v);S!==!1&&h.push(...S.map(L=>{let{value:_}=L;return{value:[_]}}))}return h}forward(c,d){let h=[];for(let v of c){let S=d.normalizeForwardResult(this._valueSchema.forward(v,d),v);h.push(...S.map(D))}return h}redirect(c,d){let h=[],v=[];for(let S of c){let L=d.normalizeRedirectResult(this._valueSchema.redirect(S,d),S);"remain"in L&&h.push(L.remain),v.push(...L.redirect.map(D))}return h.length===0?{redirect:v}:{redirect:v,remain:h}}overlap(c,d){return c.concat(d)}};m.ArraySchema=b;function D(c){let{from:d,to:h}=c;return{from:[d],to:h}}}}),ur=we({"node_modules/vnopts/lib/schemas/boolean.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=Vn(),f=class extends E.Schema{expected(){return"true or false"}validate(b){return typeof b=="boolean"}};m.BooleanSchema=f}}),qr=we({"node_modules/vnopts/lib/utils.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});function E(C,x){let j=Object.create(null);for(let Q of C){let ee=Q[x];if(j[ee])throw new Error(`Duplicate ${x} ${JSON.stringify(ee)}`);j[ee]=Q}return j}m.recordFromArray=E;function f(C,x){let j=new Map;for(let Q of C){let ee=Q[x];if(j.has(ee))throw new Error(`Duplicate ${x} ${JSON.stringify(ee)}`);j.set(ee,Q)}return j}m.mapFromArray=f;function b(){let C=Object.create(null);return x=>{let j=JSON.stringify(x);return C[j]?!0:(C[j]=!0,!1)}}m.createAutoChecklist=b;function D(C,x){let j=[],Q=[];for(let ee of C)x(ee)?j.push(ee):Q.push(ee);return[j,Q]}m.partition=D;function c(C){return C===Math.floor(C)}m.isInt=c;function d(C,x){if(C===x)return 0;let j=typeof C,Q=typeof x,ee=["undefined","object","boolean","number","string"];return j!==Q?ee.indexOf(j)-ee.indexOf(Q):j!=="string"?Number(C)-Number(x):C.localeCompare(x)}m.comparePrimitive=d;function h(C){return C===void 0?{}:C}m.normalizeDefaultResult=h;function v(C,x){return C===!0?!0:C===!1?{value:x}:C}m.normalizeValidateResult=v;function S(C,x){let j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return C===!1?!1:C===!0?j?!0:[{value:x}]:"value"in C?[C]:C.length===0?!1:C}m.normalizeDeprecatedResult=S;function L(C,x){return typeof C=="string"||"key"in C?{from:x,to:C}:"from"in C?{from:C.from,to:C.to}:{from:x,to:C.to}}m.normalizeTransferResult=L;function _(C,x){return C===void 0?[]:Array.isArray(C)?C.map(j=>L(j,x)):[L(C,x)]}m.normalizeForwardResult=_;function k(C,x){let j=_(typeof C=="object"&&"redirect"in C?C.redirect:C,x);return j.length===0?{remain:x,redirect:j}:typeof C=="object"&&"remain"in C?{remain:C.remain,redirect:j}:{redirect:j}}m.normalizeRedirectResult=k}}),gr=we({"node_modules/vnopts/lib/schemas/choice.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=Vn(),f=qr(),b=class extends E.Schema{constructor(D){super(D),this._choices=f.mapFromArray(D.choices.map(c=>c&&typeof c=="object"?c:{value:c}),"value")}expected(D){let{descriptor:c}=D,d=Array.from(this._choices.keys()).map(S=>this._choices.get(S)).filter(S=>!S.deprecated).map(S=>S.value).sort(f.comparePrimitive).map(c.value),h=d.slice(0,-2),v=d.slice(-2);return h.concat(v.join(" or ")).join(", ")}validate(D){return this._choices.has(D)}deprecated(D){let c=this._choices.get(D);return c&&c.deprecated?{value:D}:!1}forward(D){let c=this._choices.get(D);return c?c.forward:void 0}redirect(D){let c=this._choices.get(D);return c?c.redirect:void 0}};m.ChoiceSchema=b}}),wr=we({"node_modules/vnopts/lib/schemas/number.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=Vn(),f=class extends E.Schema{expected(){return"a number"}validate(b,D){return typeof b=="number"}};m.NumberSchema=f}}),Wa=we({"node_modules/vnopts/lib/schemas/integer.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=qr(),f=wr(),b=class extends f.NumberSchema{expected(){return"an integer"}validate(D,c){return c.normalizeValidateResult(super.validate(D,c),D)===!0&&E.isInt(D)}};m.IntegerSchema=b}}),dv=we({"node_modules/vnopts/lib/schemas/string.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=Vn(),f=class extends E.Schema{expected(){return"a string"}validate(b){return typeof b=="string"}};m.StringSchema=f}}),hv=we({"node_modules/vnopts/lib/schemas/index.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=(Ge(),Qn(mn));E.__exportStar(rr(),m),E.__exportStar(tr(),m),E.__exportStar($r(),m),E.__exportStar(ur(),m),E.__exportStar(gr(),m),E.__exportStar(Wa(),m),E.__exportStar(wr(),m),E.__exportStar(dv(),m)}}),mv=we({"node_modules/vnopts/lib/defaults.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=He(),f=At(),b=rn(),D=In();m.defaultDescriptor=E.apiDescriptor,m.defaultUnknownHandler=D.levenUnknownHandler,m.defaultInvalidHandler=b.commonInvalidHandler,m.defaultDeprecatedHandler=f.commonDeprecatedHandler}}),gv=we({"node_modules/vnopts/lib/normalize.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=mv(),f=qr();m.normalize=(D,c,d)=>new b(c,d).normalize(D);var b=class{constructor(D,c){let{logger:d=console,descriptor:h=E.defaultDescriptor,unknown:v=E.defaultUnknownHandler,invalid:S=E.defaultInvalidHandler,deprecated:L=E.defaultDeprecatedHandler}=c||{};this._utils={descriptor:h,logger:d||{warn:()=>{}},schemas:f.recordFromArray(D,"name"),normalizeDefaultResult:f.normalizeDefaultResult,normalizeDeprecatedResult:f.normalizeDeprecatedResult,normalizeForwardResult:f.normalizeForwardResult,normalizeRedirectResult:f.normalizeRedirectResult,normalizeValidateResult:f.normalizeValidateResult},this._unknownHandler=v,this._invalidHandler=S,this._deprecatedHandler=L,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=f.createAutoChecklist()}normalize(D){let c={},d=[D],h=()=>{for(;d.length!==0;){let v=d.shift(),S=this._applyNormalization(v,c);d.push(...S)}};h();for(let v of Object.keys(this._utils.schemas)){let S=this._utils.schemas[v];if(!(v in c)){let L=f.normalizeDefaultResult(S.default(this._utils));"value"in L&&d.push({[v]:L.value})}}h();for(let v of Object.keys(this._utils.schemas)){let S=this._utils.schemas[v];v in c&&(c[v]=S.postprocess(c[v],this._utils))}return c}_applyNormalization(D,c){let d=[],[h,v]=f.partition(Object.keys(D),S=>S in this._utils.schemas);for(let S of h){let L=this._utils.schemas[S],_=L.preprocess(D[S],this._utils),k=f.normalizeValidateResult(L.validate(_,this._utils),_);if(k!==!0){let{value:Q}=k,ee=this._invalidHandler(S,Q,this._utils);throw typeof ee=="string"?new Error(ee):ee}let C=Q=>{let{from:ee,to:R}=Q;d.push(typeof R=="string"?{[R]:ee}:{[R.key]:R.value})},x=Q=>{let{value:ee,redirectTo:R}=Q,X=f.normalizeDeprecatedResult(L.deprecated(ee,this._utils),_,!0);if(X!==!1)if(X===!0)this._hasDeprecationWarned(S)||this._utils.logger.warn(this._deprecatedHandler(S,R,this._utils));else for(let{value:G}of X){let ne={key:S,value:G};if(!this._hasDeprecationWarned(ne)){let Z=typeof R=="string"?{key:R,value:G}:R;this._utils.logger.warn(this._deprecatedHandler(ne,Z,this._utils))}}};f.normalizeForwardResult(L.forward(_,this._utils),_).forEach(C);let j=f.normalizeRedirectResult(L.redirect(_,this._utils),_);if(j.redirect.forEach(C),"remain"in j){let Q=j.remain;c[S]=S in c?L.overlap(c[S],Q,this._utils):Q,x({value:Q})}for(let{from:Q,to:ee}of j.redirect)x({value:Q,redirectTo:ee})}for(let S of v){let L=D[S],_=this._unknownHandler(S,L,this._utils);if(_)for(let k of Object.keys(_)){let C={[k]:_[k]};k in this._utils.schemas?d.push(C):Object.assign(c,C)}}return d}};m.Normalizer=b}}),yv=we({"node_modules/vnopts/lib/index.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=(Ge(),Qn(mn));E.__exportStar(Ke(),m),E.__exportStar(cr(),m),E.__exportStar(hv(),m),E.__exportStar(gv(),m),E.__exportStar(Vn(),m)}}),Dv=we({"src/main/options-normalizer.js"(m,E){$e();var f=yv(),b=jr(),D={key:k=>k.length===1?`-${k}`:`--${k}`,value:k=>f.apiDescriptor.value(k),pair:k=>{let{key:C,value:x}=k;return x===!1?`--no-${C}`:x===!0?D.key(C):x===""?`${D.key(C)} without an argument`:`${D.key(C)}=${x}`}},c=k=>{let{colorsModule:C,levenshteinDistance:x}=k;return class extends f.ChoiceSchema{constructor(j){let{name:Q,flags:ee}=j;super({name:Q,choices:ee}),this._flags=[...ee].sort()}preprocess(j,Q){if(typeof j=="string"&&j.length>0&&!this._flags.includes(j)){let ee=this._flags.find(R=>x(R,j)<3);if(ee)return Q.logger.warn([`Unknown flag ${C.yellow(Q.descriptor.value(j))},`,`did you mean ${C.blue(Q.descriptor.value(ee))}?`].join(" ")),ee}return j}expected(){return"a flag"}}},d;function h(k,C){let{logger:x=!1,isCLI:j=!1,passThrough:Q=!1,colorsModule:ee=null,levenshteinDistance:R=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},X=Q?Array.isArray(Q)?(J,w)=>Q.includes(J)?{[J]:w}:void 0:(J,w)=>({[J]:w}):(J,w,$)=>{let y=$.schemas,T=Ct(y,ot);return f.levenUnknownHandler(J,w,Object.assign(Object.assign({},$),{},{schemas:T}))},G=j?D:f.apiDescriptor,ne=v(C,{isCLI:j,colorsModule:ee,levenshteinDistance:R}),Z=new f.Normalizer(ne,{logger:x,unknown:X,descriptor:G}),ye=x!==!1;ye&&d&&(Z._hasDeprecationWarned=d);let F=Z.normalize(k);return ye&&(d=Z._hasDeprecationWarned),j&&F["plugin-search"]===!1&&(F["plugin-search-dir"]=!1),F}function v(k,C){let{isCLI:x,colorsModule:j,levenshteinDistance:Q}=C,ee=[];x&&ee.push(f.AnySchema.create({name:"_"}));for(let R of k)ee.push(S(R,{isCLI:x,optionInfos:k,colorsModule:j,levenshteinDistance:Q})),R.alias&&x&&ee.push(f.AliasSchema.create({name:R.alias,sourceName:R.name}));return ee}function S(k,C){let{isCLI:x,optionInfos:j,colorsModule:Q,levenshteinDistance:ee}=C,{name:R}=k;if(R==="plugin-search-dir"||R==="pluginSearchDirs")return f.AnySchema.create({name:R,preprocess(Z){return Z===!1||(Z=Array.isArray(Z)?Z:[Z]),Z},validate(Z){return Z===!1?!0:Z.every(ye=>typeof ye=="string")},expected(){return"false or paths to plugin search dir"}});let X={name:R},G,ne={};switch(k.type){case"int":G=f.IntegerSchema,x&&(X.preprocess=Number);break;case"string":G=f.StringSchema;break;case"choice":G=f.ChoiceSchema,X.choices=k.choices.map(Z=>typeof Z=="object"&&Z.redirect?Object.assign(Object.assign({},Z),{},{redirect:{to:{key:k.name,value:Z.redirect}}}):Z);break;case"boolean":G=f.BooleanSchema;break;case"flag":G=c({colorsModule:Q,levenshteinDistance:ee}),X.flags=j.flatMap(Z=>[Z.alias,Z.description&&Z.name,Z.oppositeDescription&&`no-${Z.name}`].filter(Boolean));break;case"path":G=f.StringSchema;break;default:throw new Error(`Unexpected type ${k.type}`)}if(k.exception?X.validate=(Z,ye,F)=>k.exception(Z)||ye.validate(Z,F):X.validate=(Z,ye,F)=>Z===void 0||ye.validate(Z,F),k.redirect&&(ne.redirect=Z=>Z?{to:{key:k.redirect.option,value:k.redirect.value}}:void 0),k.deprecated&&(ne.deprecated=!0),x&&!k.array){let Z=X.preprocess||(ye=>ye);X.preprocess=(ye,F,J)=>F.preprocess(Z(Array.isArray(ye)?b(ye):ye),J)}return k.array?f.ArraySchema.create(Object.assign(Object.assign(Object.assign({},x?{preprocess:Z=>Array.isArray(Z)?Z:[Z]}:{}),ne),{},{valueSchema:G.create(X)})):G.create(Object.assign(Object.assign({},X),ne))}function L(k,C,x){return h(k,C,x)}function _(k,C,x){return h(k,C,Object.assign({isCLI:!0},x))}E.exports={normalizeApiOptions:L,normalizeCliOptions:_}}}),ri=we({"src/language-js/loc.js"(m,E){$e();var f=Mt();function b(v){var S,L;let _=v.range?v.range[0]:v.start,k=(S=(L=v.declaration)===null||L===void 0?void 0:L.decorators)!==null&&S!==void 0?S:v.decorators;return f(k)?Math.min(b(k[0]),_):_}function D(v){return v.range?v.range[1]:v.end}function c(v,S){let L=b(v);return Number.isInteger(L)&&L===b(S)}function d(v,S){let L=D(v);return Number.isInteger(L)&&L===D(S)}function h(v,S){return c(v,S)&&d(v,S)}E.exports={locStart:b,locEnd:D,hasSameLocStart:c,hasSameLoc:h}}}),bv=we({"src/main/load-parser.js"(m,E){$e(),E.exports=()=>{}}}),vv=we({"scripts/build/shims/babel-highlight.cjs"(m,E){$e();var f=Ze(),b={shouldHighlight:()=>!1,getChalk:()=>f};E.exports=b}}),Ev=we({"node_modules/@babel/code-frame/lib/index.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0}),m.codeFrameColumns=d,m.default=h;var E=vv(),f=!1;function b(v){return{gutter:v.grey,marker:v.red.bold,message:v.red.bold}}var D=/\r\n|[\n\r\u2028\u2029]/;function c(v,S,L){let _=Object.assign({column:0,line:-1},v.start),k=Object.assign({},_,v.end),{linesAbove:C=2,linesBelow:x=3}=L||{},j=_.line,Q=_.column,ee=k.line,R=k.column,X=Math.max(j-(C+1),0),G=Math.min(S.length,ee+x);j===-1&&(X=0),ee===-1&&(G=S.length);let ne=ee-j,Z={};if(ne)for(let ye=0;ye<=ne;ye++){let F=ye+j;if(!Q)Z[F]=!0;else if(ye===0){let J=S[F-1].length;Z[F]=[Q,J-Q+1]}else if(ye===ne)Z[F]=[0,R];else{let J=S[F-ye].length;Z[F]=[0,J]}}else Q===R?Q?Z[j]=[Q,0]:Z[j]=!0:Z[j]=[Q,R-Q];return{start:X,end:G,markerLines:Z}}function d(v,S){let L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},_=(L.highlightCode||L.forceColor)&&(0,E.shouldHighlight)(L),k=(0,E.getChalk)(L),C=b(k),x=(Z,ye)=>_?Z(ye):ye,j=v.split(D),{start:Q,end:ee,markerLines:R}=c(S,j,L),X=S.start&&typeof S.start.column=="number",G=String(ee).length,ne=(_?(0,E.default)(v,L):v).split(D,ee).slice(Q,ee).map((Z,ye)=>{let F=Q+1+ye,J=` ${` ${F}`.slice(-G)} |`,w=R[F],$=!R[F+1];if(w){let y="";if(Array.isArray(w)){let T=Z.slice(0,Math.max(w[0]-1,0)).replace(/[^\t]/g," "),I=w[1]||1;y=[`
178
- `,x(C.gutter,J.replace(/\d/g," "))," ",T,x(C.marker,"^").repeat(I)].join(""),$&&L.message&&(y+=" "+x(C.message,L.message))}return[x(C.marker,">"),x(C.gutter,J),Z.length>0?` ${Z}`:"",y].join("")}else return` ${x(C.gutter,J)}${Z.length>0?` ${Z}`:""}`}).join(`
179
- `);return L.message&&!X&&(ne=`${" ".repeat(G+1)}${L.message}
180
- ${ne}`),_?k.reset(ne):ne}function h(v,S,L){let _=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!f){f=!0;let k="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Ar.emitWarning)Ar.emitWarning(k,"DeprecationWarning");else{let C=new Error(k);C.name="DeprecationWarning",console.warn(new Error(k))}}return L=Math.max(L,0),d(v,{start:{column:L,line:S}},_)}}}),If=we({"src/main/parser.js"(m,E){$e();var{ConfigError:f}=tn(),b=ri();bv();var{locStart:D,locEnd:c}=b,d=Object.getOwnPropertyNames,h=Object.getOwnPropertyDescriptor;function v(_){let k={};for(let C of _.plugins)if(C.parsers)for(let x of d(C.parsers))Object.defineProperty(k,x,h(C.parsers,x));return k}function S(_){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v(_);if(typeof _.parser=="function")return{parse:_.parser,astFormat:"estree",locStart:D,locEnd:c};if(typeof _.parser=="string"){if(Object.prototype.hasOwnProperty.call(k,_.parser))return k[_.parser];throw new f(`Couldn't resolve parser "${_.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function L(_,k){let C=v(k),x=Object.defineProperties({},Object.fromEntries(Object.keys(C).map(Q=>[Q,{enumerable:!0,get(){return C[Q].parse}}]))),j=S(k,C);try{return j.preprocess&&(_=j.preprocess(_,k)),{text:_,ast:j.parse(_,x,k)}}catch(Q){let{loc:ee}=Q;if(ee){let{codeFrameColumns:R}=Ev();throw Q.codeFrame=R(_,ee,{highlightCode:!0}),Q.message+=`
181
- `+Q.codeFrame,Q}throw Q}}E.exports={parse:L,resolveParser:S}}}),a0=we({"src/main/options.js"(m,E){$e();var f=yt(),{UndefinedParserError:b}=tn(),{getSupportInfo:D}=Ft(),c=Dv(),{resolveParser:d}=If(),h={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function v(_){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},C=Object.assign({},_),x=D({plugins:_.plugins,showUnreleased:!0,showDeprecated:!0}).options,j=Object.assign(Object.assign({},h),Object.fromEntries(x.filter(G=>G.default!==void 0).map(G=>[G.name,G.default])));if(!C.parser){if(!C.filepath)(k.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=L(C.filepath,C.plugins),!C.parser)throw new b(`No parser could be inferred for file: ${C.filepath}`)}let Q=d(c.normalizeApiOptions(C,[x.find(G=>G.name==="parser")],{passThrough:!0,logger:!1}));C.astFormat=Q.astFormat,C.locEnd=Q.locEnd,C.locStart=Q.locStart;let ee=S(C);C.printer=ee.printers[C.astFormat];let R=Object.fromEntries(x.filter(G=>G.pluginDefaults&&G.pluginDefaults[ee.name]!==void 0).map(G=>[G.name,G.pluginDefaults[ee.name]])),X=Object.assign(Object.assign({},j),R);for(let[G,ne]of Object.entries(X))(C[G]===null||C[G]===void 0)&&(C[G]=ne);return C.parser==="json"&&(C.trailingComma="none"),c.normalizeApiOptions(C,x,Object.assign({passThrough:Object.keys(h)},k))}function S(_){let{astFormat:k}=_;if(!k)throw new Error("getPlugin() requires astFormat to be set");let C=_.plugins.find(x=>x.printers&&x.printers[k]);if(!C)throw new Error(`Couldn't find plugin for AST format "${k}"`);return C}function L(_,k){let C=f.basename(_).toLowerCase(),x=D({plugins:k}).languages.filter(j=>j.since!==null).find(j=>j.extensions&&j.extensions.some(Q=>C.endsWith(Q))||j.filenames&&j.filenames.some(Q=>Q.toLowerCase()===C));return x&&x.parsers[0]}E.exports={normalize:v,hiddenDefaults:h,inferParser:L}}}),Av=we({"src/main/massage-ast.js"(m,E){$e();function f(b,D,c){if(Array.isArray(b))return b.map(S=>f(S,D,c)).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 v={};for(let[S,L]of Object.entries(b))!h.has(S)&&typeof L!="function"&&(v[S]=f(L,D,b));if(d){let S=d(b,v,c);if(S===null)return;if(S)return S}return v}E.exports=f}}),To=we({"scripts/build/shims/assert.cjs"(m,E){$e();var f=()=>{};f.ok=f,f.strictEqual=f,E.exports=f}}),Br=we({"src/main/comments.js"(m,E){$e();var f=To(),{builders:{line:b,hardline:D,breakParent:c,indent:d,lineSuffix:h,join:v,cursor:S}}=wn(),{hasNewline:L,skipNewline:_,skipSpaces:k,isPreviousLineEmpty:C,addLeadingComment:x,addDanglingComment:j,addTrailingComment:Q}=ge(),ee=new WeakMap;function R(re,ce,me){if(!re)return;let{printer:fe,locStart:Fe,locEnd:se}=ce;if(me){if(fe.canAttachComment&&fe.canAttachComment(re)){let he;for(he=me.length-1;he>=0&&!(Fe(me[he])<=Fe(re)&&se(me[he])<=se(re));--he);me.splice(he+1,0,re);return}}else if(ee.has(re))return ee.get(re);let We=fe.getCommentChildNodes&&fe.getCommentChildNodes(re,ce)||typeof re=="object"&&Object.entries(re).filter(he=>{let[oe]=he;return oe!=="enclosingNode"&&oe!=="precedingNode"&&oe!=="followingNode"&&oe!=="tokens"&&oe!=="comments"&&oe!=="parent"}).map(he=>{let[,oe]=he;return oe});if(We){me||(me=[],ee.set(re,me));for(let he of We)R(he,ce,me);return me}}function X(re,ce,me,fe){let{locStart:Fe,locEnd:se}=me,We=Fe(ce),he=se(ce),oe=R(re,me),qe,et,Je=0,dt=oe.length;for(;Je<dt;){let De=Je+dt>>1,Ie=oe[De],ct=Fe(Ie),ft=se(Ie);if(ct<=We&&he<=ft)return X(Ie,ce,me,Ie);if(ft<=We){qe=Ie,Je=De+1;continue}if(he<=ct){et=Ie,dt=De;continue}throw new Error("Comment location overlaps with node location")}if(fe&&fe.type==="TemplateLiteral"){let{quasis:De}=fe,Ie=$(De,ce,me);qe&&$(De,qe,me)!==Ie&&(qe=null),et&&$(De,et,me)!==Ie&&(et=null)}return{enclosingNode:fe,precedingNode:qe,followingNode:et}}var G=()=>!1;function ne(re,ce,me,fe){if(!Array.isArray(re))return;let Fe=[],{locStart:se,locEnd:We,printer:{handleComments:he={}}}=fe,{avoidAstMutation:oe,ownLine:qe=G,endOfLine:et=G,remaining:Je=G}=he,dt=re.map((De,Ie)=>Object.assign(Object.assign({},X(ce,De,fe)),{},{comment:De,text:me,options:fe,ast:ce,isLastComment:re.length-1===Ie}));for(let[De,Ie]of dt.entries()){let{comment:ct,precedingNode:ft,enclosingNode:Jt,followingNode:Re,text:Ce,options:Ye,ast:ze,isLastComment:Dt}=Ie;if(Ye.parser==="json"||Ye.parser==="json5"||Ye.parser==="__js_expression"||Ye.parser==="__vue_expression"||Ye.parser==="__vue_ts_expression"){if(se(ct)-se(ze)<=0){x(ze,ct);continue}if(We(ct)-We(ze)>=0){Q(ze,ct);continue}}let Nt;if(oe?Nt=[Ie]:(ct.enclosingNode=Jt,ct.precedingNode=ft,ct.followingNode=Re,Nt=[ct,Ce,Ye,ze,Dt]),ye(Ce,Ye,dt,De))ct.placement="ownLine",qe(...Nt)||(Re?x(Re,ct):ft?Q(ft,ct):j(Jt||ze,ct));else if(F(Ce,Ye,dt,De))ct.placement="endOfLine",et(...Nt)||(ft?Q(ft,ct):Re?x(Re,ct):j(Jt||ze,ct));else if(ct.placement="remaining",!Je(...Nt))if(ft&&Re){let Bt=Fe.length;Bt>0&&Fe[Bt-1].followingNode!==Re&&J(Fe,Ce,Ye),Fe.push(Ie)}else ft?Q(ft,ct):Re?x(Re,ct):j(Jt||ze,ct)}if(J(Fe,me,fe),!oe)for(let De of re)delete De.precedingNode,delete De.enclosingNode,delete De.followingNode}var Z=re=>!/[\S\n\u2028\u2029]/.test(re);function ye(re,ce,me,fe){let{comment:Fe,precedingNode:se}=me[fe],{locStart:We,locEnd:he}=ce,oe=We(Fe);if(se)for(let qe=fe-1;qe>=0;qe--){let{comment:et,precedingNode:Je}=me[qe];if(Je!==se||!Z(re.slice(he(et),oe)))break;oe=We(et)}return L(re,oe,{backwards:!0})}function F(re,ce,me,fe){let{comment:Fe,followingNode:se}=me[fe],{locStart:We,locEnd:he}=ce,oe=he(Fe);if(se)for(let qe=fe+1;qe<me.length;qe++){let{comment:et,followingNode:Je}=me[qe];if(Je!==se||!Z(re.slice(oe,We(et))))break;oe=he(et)}return L(re,oe)}function J(re,ce,me){let fe=re.length;if(fe===0)return;let{precedingNode:Fe,followingNode:se,enclosingNode:We}=re[0],he=me.printer.getGapRegex&&me.printer.getGapRegex(We)||/^[\s(]*$/,oe=me.locStart(se),qe;for(qe=fe;qe>0;--qe){let{comment:et,precedingNode:Je,followingNode:dt}=re[qe-1];f.strictEqual(Je,Fe),f.strictEqual(dt,se);let De=ce.slice(me.locEnd(et),oe);if(he.test(De))oe=me.locStart(et);else break}for(let[et,{comment:Je}]of re.entries())et<qe?Q(Fe,Je):x(se,Je);for(let et of[Fe,se])et.comments&&et.comments.length>1&&et.comments.sort((Je,dt)=>me.locStart(Je)-me.locStart(dt));re.length=0}function w(re,ce){let me=re.getValue();return me.printed=!0,ce.printer.printComment(re,ce)}function $(re,ce,me){let fe=me.locStart(ce)-1;for(let Fe=1;Fe<re.length;++Fe)if(fe<me.locStart(re[Fe]))return Fe-1;return 0}function y(re,ce){let me=re.getValue(),fe=[w(re,ce)],{printer:Fe,originalText:se,locStart:We,locEnd:he}=ce;if(Fe.isBlockComment&&Fe.isBlockComment(me)){let qe=L(se,he(me))?L(se,We(me),{backwards:!0})?D:b:" ";fe.push(qe)}else fe.push(D);let oe=_(se,k(se,he(me)));return oe!==!1&&L(se,oe)&&fe.push(D),fe}function T(re,ce){let me=re.getValue(),fe=w(re,ce),{printer:Fe,originalText:se,locStart:We}=ce,he=Fe.isBlockComment&&Fe.isBlockComment(me);if(L(se,We(me),{backwards:!0})){let qe=C(se,me,We);return h([D,qe?D:"",fe])}let oe=[" ",fe];return he||(oe=[h(oe),c]),oe}function I(re,ce,me,fe){let Fe=[],se=re.getValue();return!se||!se.comments||(re.each(()=>{let We=re.getValue();!We.leading&&!We.trailing&&(!fe||fe(We))&&Fe.push(w(re,ce))},"comments"),Fe.length===0)?"":me?v(D,Fe):d([D,v(D,Fe)])}function U(re,ce,me){let fe=re.getValue();if(!fe)return{};let Fe=fe.comments||[];me&&(Fe=Fe.filter(oe=>!me.has(oe)));let se=fe===ce.cursorNode;if(Fe.length===0){let oe=se?S:"";return{leading:oe,trailing:oe}}let We=[],he=[];return re.each(()=>{let oe=re.getValue();if(me&&me.has(oe))return;let{leading:qe,trailing:et}=oe;qe?We.push(y(re,ce)):et&&he.push(T(re,ce))},"comments"),se&&(We.unshift(S),he.push(S)),{leading:We,trailing:he}}function q(re,ce,me,fe){let{leading:Fe,trailing:se}=U(re,me,fe);return!Fe&&!se?ce:[Fe,ce,se]}function z(re){if(re)for(let ce of re){if(!ce.printed)throw new Error('Comment "'+ce.value.trim()+'" was not printed. Please report this error!');delete ce.printed}}E.exports={attach:ne,printComments:q,printCommentsSeparately:U,printDanglingComments:I,getSortedChildNodes:R,ensureAllCommentsPrinted:z}}}),Cv=we({"src/common/ast-path.js"(m,E){$e();var f=jr();function b(d,h){let v=D(d.stack,h);return v===-1?null:d.stack[v]}function D(d,h){for(let v=d.length-1;v>=0;v-=2){let S=d[v];if(S&&!Array.isArray(S)&&--h<0)return v}return-1}var c=class{constructor(d){this.stack=[d]}getName(){let{stack:d}=this,{length:h}=d;return h>1?d[h-2]:null}getValue(){return f(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:v}=h,S=f(h);for(var L=arguments.length,_=new Array(L>1?L-1:0),k=1;k<L;k++)_[k-1]=arguments[k];for(let x of _)S=S[x],h.push(x,S);let C=d(this);return h.length=v,C}callParent(d){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,v=D(this.stack,h+1),S=this.stack.splice(v+1),L=d(this);return this.stack.push(...S),L}each(d){let{stack:h}=this,{length:v}=h,S=f(h);for(var L=arguments.length,_=new Array(L>1?L-1:0),k=1;k<L;k++)_[k-1]=arguments[k];for(let C of _)S=S[C],h.push(C,S);for(let C=0;C<S.length;++C)h.push(C,S[C]),d(this,C,S),h.length-=2;h.length=v}map(d){let h=[];for(var v=arguments.length,S=new Array(v>1?v-1:0),L=1;L<v;L++)S[L-1]=arguments[L];return this.each((_,k,C)=>{h[k]=d(_,k,C)},...S),h}try(d){let{stack:h}=this,v=[...h];try{return d()}finally{h.length=0,h.push(...v)}}match(){let d=this.stack.length-1,h=null,v=this.stack[d--];for(var S=arguments.length,L=new Array(S),_=0;_<S;_++)L[_]=arguments[_];for(let k of L){if(v===void 0)return!1;let C=null;if(typeof h=="number"&&(C=h,h=this.stack[d--],v=this.stack[d--]),k&&!k(v,h,C))return!1;h=this.stack[d--],v=this.stack[d--]}return!0}findAncestor(d){let h=this.stack.length-1,v=null,S=this.stack[h--];for(;S;){let L=null;if(typeof v=="number"&&(L=v,v=this.stack[h--],S=this.stack[h--]),v!==null&&d(S,v,L))return S;v=this.stack[h--],S=this.stack[h--]}}};E.exports=c}}),Sv=we({"src/main/multiparser.js"(m,E){$e();var{utils:{stripTrailingHardline:f}}=wn(),{normalize:b}=a0(),D=Br();function c(h,v,S,L){if(S.printer.embed&&S.embeddedLanguageFormatting==="auto")return S.printer.embed(h,v,(_,k,C)=>d(_,k,S,L,C),S)}function d(h,v,S,L){let{stripTrailingHardline:_=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},k=b(Object.assign(Object.assign(Object.assign({},S),v),{},{parentParser:S.parser,originalText:h}),{passThrough:!0}),C=If().parse(h,k),{ast:x}=C;h=C.text;let j=x.comments;delete x.comments,D.attach(j,x,h,k),k[Symbol.for("comments")]=j||[],k[Symbol.for("tokens")]=x.tokens||[];let Q=L(x,k);return D.ensureAllCommentsPrinted(j),_?typeof Q=="string"?Q.replace(/(?:\r?\n)*$/,""):f(Q):Q}E.exports={printSubtree:c}}}),xv=we({"src/main/ast-to-doc.js"(m,E){$e();var f=Cv(),{builders:{hardline:b,addAlignmentToDoc:D},utils:{propagateBreaks:c}}=wn(),{printComments:d}=Br(),h=Sv();function v(_,k){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:x}=k;x.preprocess&&(_=x.preprocess(_,k));let j=new Map,Q=new f(_),ee=R();return C>0&&(ee=D([b,ee],C,k.tabWidth)),c(ee),ee;function R(G,ne){return G===void 0||G===Q?X(ne):Array.isArray(G)?Q.call(()=>X(ne),...G):Q.call(()=>X(ne),G)}function X(G){let ne=Q.getValue(),Z=ne&&typeof ne=="object"&&G===void 0;if(Z&&j.has(ne))return j.get(ne);let ye=L(Q,k,R,G);return Z&&j.set(ne,ye),ye}}function S(_,k){let{originalText:C,[Symbol.for("comments")]:x,locStart:j,locEnd:Q}=k,ee=j(_),R=Q(_),X=new Set;for(let G of x)j(G)>=ee&&Q(G)<=R&&(G.printed=!0,X.add(G));return{doc:C.slice(ee,R),printedComments:X}}function L(_,k,C,x){let j=_.getValue(),{printer:Q}=k,ee,R;if(Q.hasPrettierIgnore&&Q.hasPrettierIgnore(_))({doc:ee,printedComments:R}=S(j,k));else{if(j)try{ee=h.printSubtree(_,C,k,v)}catch(X){if(globalThis.PRETTIER_DEBUG)throw X}ee||(ee=Q.print(_,k,C,x))}return(!Q.willPrintOwnComments||!Q.willPrintOwnComments(_,k))&&(ee=d(_,ee,k,R)),ee}E.exports=v}}),wv=we({"src/main/range-util.js"(m,E){$e();var f=To(),b=Br(),D=x=>{let{parser:j}=x;return j==="json"||j==="json5"||j==="json-stringify"};function c(x,j){let Q=[x.node,...x.parentNodes],ee=new Set([j.node,...j.parentNodes]);return Q.find(R=>L.has(R.type)&&ee.has(R))}function d(x){let j=x.length-1;for(;;){let Q=x[j];if(Q&&(Q.type==="Program"||Q.type==="File"))j--;else break}return x.slice(0,j+1)}function h(x,j,Q){let{locStart:ee,locEnd:R}=Q,X=x.node,G=j.node;if(X===G)return{startNode:X,endNode:G};let ne=ee(x.node);for(let ye of d(j.parentNodes))if(ee(ye)>=ne)G=ye;else break;let Z=R(j.node);for(let ye of d(x.parentNodes)){if(R(ye)<=Z)X=ye;else break;if(X===G)break}return{startNode:X,endNode:G}}function v(x,j,Q,ee){let R=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],X=arguments.length>5?arguments[5]:void 0,{locStart:G,locEnd:ne}=Q,Z=G(x),ye=ne(x);if(!(j>ye||j<Z||X==="rangeEnd"&&j===Z||X==="rangeStart"&&j===ye)){for(let F of b.getSortedChildNodes(x,Q)){let J=v(F,j,Q,ee,[x,...R],X);if(J)return J}if(!ee||ee(x,R[0]))return{node:x,parentNodes:R}}}function S(x,j){return j!=="DeclareExportDeclaration"&&x!=="TypeParameterDeclaration"&&(x==="Directive"||x==="TypeAlias"||x==="TSExportAssignment"||x.startsWith("Declare")||x.startsWith("TSDeclare")||x.endsWith("Statement")||x.endsWith("Declaration"))}var L=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),_=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function k(x,j,Q){if(!j)return!1;switch(x.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return S(j.type,Q&&Q.type);case"json":case"json5":case"json-stringify":return L.has(j.type);case"graphql":return _.has(j.kind);case"vue":return j.tag!=="root"}return!1}function C(x,j,Q){let{rangeStart:ee,rangeEnd:R,locStart:X,locEnd:G}=j;f.ok(R>ee);let ne=x.slice(ee,R).search(/\S/),Z=ne===-1;if(!Z)for(ee+=ne;R>ee&&!/\S/.test(x[R-1]);--R);let ye=v(Q,ee,j,($,y)=>k(j,$,y),[],"rangeStart"),F=Z?ye:v(Q,R,j,$=>k(j,$),[],"rangeEnd");if(!ye||!F)return{rangeStart:0,rangeEnd:0};let J,w;if(D(j)){let $=c(ye,F);J=$,w=$}else({startNode:J,endNode:w}=h(ye,F,j));return{rangeStart:Math.min(X(J),X(w)),rangeEnd:Math.max(G(J),G(w))}}E.exports={calculateRange:C,findNodeAtOffset:v}}}),Fv=we({"src/main/core.js"(m,E){$e();var{diffArrays:f}=Ps(),{printer:{printDocToString:b},debug:{printDocToDebug:D}}=wn(),{getAlignmentSize:c}=ge(),{guessEndOfLine:d,convertEndOfLineToChars:h,countEndOfLineChars:v,normalizeEndOfLine:S}=ns(),L=a0().normalize,_=Av(),k=Br(),C=If(),x=xv(),j=wv(),Q="\uFEFF",ee=Symbol("cursor");function R(w,$,y){let T=$.comments;return T&&(delete $.comments,k.attach(T,$,w,y)),y[Symbol.for("comments")]=T||[],y[Symbol.for("tokens")]=$.tokens||[],y.originalText=w,T}function X(w,$){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!w||w.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:T,text:I}=C.parse(w,$);if($.cursorOffset>=0){let re=j.findNodeAtOffset(T,$.cursorOffset,$);re&&re.node&&($.cursorNode=re.node)}let U=R(I,T,$),q=x(T,$,y),z=b(q,$);if(k.ensureAllCommentsPrinted(U),y>0){let re=z.formatted.trim();z.cursorNodeStart!==void 0&&(z.cursorNodeStart-=z.formatted.indexOf(re)),z.formatted=re+h($.endOfLine)}if($.cursorOffset>=0){let re,ce,me,fe,Fe;if($.cursorNode&&z.cursorNodeText?(re=$.locStart($.cursorNode),ce=I.slice(re,$.locEnd($.cursorNode)),me=$.cursorOffset-re,fe=z.cursorNodeStart,Fe=z.cursorNodeText):(re=0,ce=I,me=$.cursorOffset,fe=0,Fe=z.formatted),ce===Fe)return{formatted:z.formatted,cursorOffset:fe+me,comments:U};let se=[...ce];se.splice(me,0,ee);let We=[...Fe],he=f(se,We),oe=fe;for(let qe of he)if(qe.removed){if(qe.value.includes(ee))break}else oe+=qe.count;return{formatted:z.formatted,cursorOffset:oe,comments:U}}return{formatted:z.formatted,cursorOffset:-1,comments:U}}function G(w,$){let{ast:y,text:T}=C.parse(w,$),{rangeStart:I,rangeEnd:U}=j.calculateRange(T,$,y),q=T.slice(I,U),z=Math.min(I,T.lastIndexOf(`
182
- `,I)+1),re=T.slice(z,I).match(/^\s*/)[0],ce=c(re,$.tabWidth),me=X(q,Object.assign(Object.assign({},$),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:$.cursorOffset>I&&$.cursorOffset<=U?$.cursorOffset-I:-1,endOfLine:"lf"}),ce),fe=me.formatted.trimEnd(),{cursorOffset:Fe}=$;Fe>U?Fe+=fe.length-q.length:me.cursorOffset>=0&&(Fe=me.cursorOffset+I);let se=T.slice(0,I)+fe+T.slice(U);if($.endOfLine!=="lf"){let We=h($.endOfLine);Fe>=0&&We===`\r
183
- `&&(Fe+=v(se.slice(0,Fe),`
184
- `)),se=se.replace(/\n/g,We)}return{formatted:se,cursorOffset:Fe,comments:me.comments}}function ne(w,$,y){return typeof $!="number"||Number.isNaN($)||$<0||$>w.length?y:$}function Z(w,$){let{cursorOffset:y,rangeStart:T,rangeEnd:I}=$;return y=ne(w,y,-1),T=ne(w,T,0),I=ne(w,I,w.length),Object.assign(Object.assign({},$),{},{cursorOffset:y,rangeStart:T,rangeEnd:I})}function ye(w,$){let{cursorOffset:y,rangeStart:T,rangeEnd:I,endOfLine:U}=Z(w,$),q=w.charAt(0)===Q;if(q&&(w=w.slice(1),y--,T--,I--),U==="auto"&&(U=d(w)),w.includes("\r")){let z=re=>v(w.slice(0,Math.max(re,0)),`\r
185
- `);y-=z(y),T-=z(T),I-=z(I),w=S(w)}return{hasBOM:q,text:w,options:Z(w,Object.assign(Object.assign({},$),{},{cursorOffset:y,rangeStart:T,rangeEnd:I,endOfLine:U}))}}function F(w,$){let y=C.resolveParser($);return!y.hasPragma||y.hasPragma(w)}function J(w,$){let{hasBOM:y,text:T,options:I}=ye(w,L($));if(I.rangeStart>=I.rangeEnd&&T!==""||I.requirePragma&&!F(T,I))return{formatted:w,cursorOffset:$.cursorOffset,comments:[]};let U;return I.rangeStart>0||I.rangeEnd<T.length?U=G(T,I):(!I.requirePragma&&I.insertPragma&&I.printer.insertPragma&&!F(T,I)&&(T=I.printer.insertPragma(T)),U=X(T,I)),y&&(U.formatted=Q+U.formatted,U.cursorOffset>=0&&U.cursorOffset++),U}E.exports={formatWithCursor:J,parse(w,$,y){let{text:T,options:I}=ye(w,L($)),U=C.parse(T,I);return y&&(U.ast=_(U.ast,I)),U},formatAST(w,$){$=L($);let y=x(w,$);return b(y,$)},formatDoc(w,$){return J(D(w),Object.assign(Object.assign({},$),{},{parser:"__js_expression"})).formatted},printToDoc(w,$){$=L($);let{ast:y,text:T}=C.parse(w,$);return R(T,y,$),x(y,$)},printDocToString(w,$){return b(w,L($))}}}}),Nv=we({"src/common/util-shared.js"(m,E){$e();var{getMaxContinuousCount:f,getStringWidth:b,getAlignmentSize:D,getIndentSize:c,skip:d,skipWhitespace:h,skipSpaces:v,skipNewline:S,skipToLineEnd:L,skipEverythingButNewLine:_,skipInlineComment:k,skipTrailingComment:C,hasNewline:x,hasNewlineInRange:j,hasSpaces:Q,isNextLineEmpty:ee,isNextLineEmptyAfterIndex:R,isPreviousLineEmpty:X,getNextNonSpaceNonCommentCharacterIndex:G,makeString:ne,addLeadingComment:Z,addDanglingComment:ye,addTrailingComment:F}=ge();E.exports={getMaxContinuousCount:f,getStringWidth:b,getAlignmentSize:D,getIndentSize:c,skip:d,skipWhitespace:h,skipSpaces:v,skipNewline:S,skipToLineEnd:L,skipEverythingButNewLine:_,skipInlineComment:k,skipTrailingComment:C,hasNewline:x,hasNewlineInRange:j,hasSpaces:Q,isNextLineEmpty:ee,isNextLineEmptyAfterIndex:R,isPreviousLineEmpty:X,getNextNonSpaceNonCommentCharacterIndex:G,makeString:ne,addLeadingComment:Z,addDanglingComment:ye,addTrailingComment:F}}}),ea=we({"src/utils/create-language.js"(m,E){$e(),E.exports=function(f,b){let{languageId:D}=f,c=Ct(f,nt);return Object.assign(Object.assign({linguistLanguageId:D},c),b(f))}}}),_v=we({"node_modules/esutils/lib/ast.js"(m,E){$e(),function(){function f(v){if(v==null)return!1;switch(v.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(v){if(v==null)return!1;switch(v.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function D(v){if(v==null)return!1;switch(v.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 c(v){return D(v)||v!=null&&v.type==="FunctionDeclaration"}function d(v){switch(v.type){case"IfStatement":return v.alternate!=null?v.alternate:v.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return v.body}return null}function h(v){var S;if(v.type!=="IfStatement"||v.alternate==null)return!1;S=v.consequent;do{if(S.type==="IfStatement"&&S.alternate==null)return!0;S=d(S)}while(S);return!1}E.exports={isExpression:f,isStatement:D,isIterationStatement:b,isSourceElement:c,isProblematicIfStatement:h,trailingStatement:d}}()}}),o0=we({"node_modules/esutils/lib/code.js"(m,E){$e(),function(){var f,b,D,c,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]/},f={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 v(R){return 48<=R&&R<=57}function S(R){return 48<=R&&R<=57||97<=R&&R<=102||65<=R&&R<=70}function L(R){return R>=48&&R<=55}D=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function _(R){return R===32||R===9||R===11||R===12||R===160||R>=5760&&D.indexOf(R)>=0}function k(R){return R===10||R===13||R===8232||R===8233}function C(R){if(R<=65535)return String.fromCharCode(R);var X=String.fromCharCode(Math.floor((R-65536)/1024)+55296),G=String.fromCharCode((R-65536)%1024+56320);return X+G}for(c=new Array(128),h=0;h<128;++h)c[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 x(R){return R<128?c[R]:b.NonAsciiIdentifierStart.test(C(R))}function j(R){return R<128?d[R]:b.NonAsciiIdentifierPart.test(C(R))}function Q(R){return R<128?c[R]:f.NonAsciiIdentifierStart.test(C(R))}function ee(R){return R<128?d[R]:f.NonAsciiIdentifierPart.test(C(R))}E.exports={isDecimalDigit:v,isHexDigit:S,isOctalDigit:L,isWhiteSpace:_,isLineTerminator:k,isIdentifierStartES5:x,isIdentifierPartES5:j,isIdentifierStartES6:Q,isIdentifierPartES6:ee}}()}}),Tv=we({"node_modules/esutils/lib/keyword.js"(m,E){$e(),function(){var f=o0();function b(x){switch(x){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function D(x,j){return!j&&x==="yield"?!1:c(x,j)}function c(x,j){if(j&&b(x))return!0;switch(x.length){case 2:return x==="if"||x==="in"||x==="do";case 3:return x==="var"||x==="for"||x==="new"||x==="try";case 4:return x==="this"||x==="else"||x==="case"||x==="void"||x==="with"||x==="enum";case 5:return x==="while"||x==="break"||x==="catch"||x==="throw"||x==="const"||x==="yield"||x==="class"||x==="super";case 6:return x==="return"||x==="typeof"||x==="delete"||x==="switch"||x==="export"||x==="import";case 7:return x==="default"||x==="finally"||x==="extends";case 8:return x==="function"||x==="continue"||x==="debugger";case 10:return x==="instanceof";default:return!1}}function d(x,j){return x==="null"||x==="true"||x==="false"||D(x,j)}function h(x,j){return x==="null"||x==="true"||x==="false"||c(x,j)}function v(x){return x==="eval"||x==="arguments"}function S(x){var j,Q,ee;if(x.length===0||(ee=x.charCodeAt(0),!f.isIdentifierStartES5(ee)))return!1;for(j=1,Q=x.length;j<Q;++j)if(ee=x.charCodeAt(j),!f.isIdentifierPartES5(ee))return!1;return!0}function L(x,j){return(x-55296)*1024+(j-56320)+65536}function _(x){var j,Q,ee,R,X;if(x.length===0)return!1;for(X=f.isIdentifierStartES6,j=0,Q=x.length;j<Q;++j){if(ee=x.charCodeAt(j),55296<=ee&&ee<=56319){if(++j,j>=Q||(R=x.charCodeAt(j),!(56320<=R&&R<=57343)))return!1;ee=L(ee,R)}if(!X(ee))return!1;X=f.isIdentifierPartES6}return!0}function k(x,j){return S(x)&&!d(x,j)}function C(x,j){return _(x)&&!h(x,j)}E.exports={isKeywordES5:D,isKeywordES6:c,isReservedWordES5:d,isReservedWordES6:h,isRestrictedWord:v,isIdentifierNameES5:S,isIdentifierNameES6:_,isIdentifierES5:k,isIdentifierES6:C}}()}}),kv=we({"node_modules/esutils/lib/utils.js"(m){$e(),function(){m.ast=_v(),m.code=o0(),m.keyword=Tv()}()}}),ta=we({"src/language-js/utils/is-block-comment.js"(m,E){$e();var f=new Set(["Block","CommentBlock","MultiLine"]),b=D=>f.has(D==null?void 0:D.type);E.exports=b}}),Lv=we({"src/language-js/utils/is-node-matches.js"(m,E){$e();function f(D,c){let d=c.split(".");for(let h=d.length-1;h>=0;h--){let v=d[h];if(h===0)return D.type==="Identifier"&&D.name===v;if(D.type!=="MemberExpression"||D.optional||D.computed||D.property.type!=="Identifier"||D.property.name!==v)return!1;D=D.object}}function b(D,c){return c.some(d=>f(D,d))}E.exports=b}}),pr=we({"src/language-js/utils/index.js"(m,E){$e();var f=kv().keyword.isIdentifierNameES5,{getLast:b,hasNewline:D,skipWhitespace:c,isNonEmptyArray:d,isNextLineEmptyAfterIndex:h,getStringWidth:v}=ge(),{locStart:S,locEnd:L,hasSameLocStart:_}=ri(),k=ta(),C=Lv(),x="(?:(?=.)\\s)",j=new RegExp(`^${x}*:`),Q=new RegExp(`^${x}*::`);function ee(ae){var bt,gn;return((bt=ae.extra)===null||bt===void 0?void 0:bt.parenthesized)&&k((gn=ae.trailingComments)===null||gn===void 0?void 0:gn[0])&&j.test(ae.trailingComments[0].value)}function R(ae){let bt=ae==null?void 0:ae[0];return k(bt)&&Q.test(bt.value)}function X(ae,bt){if(!ae||typeof ae!="object")return!1;if(Array.isArray(ae))return ae.some(Hn=>X(Hn,bt));let gn=bt(ae);return typeof gn=="boolean"?gn:Object.values(ae).some(Hn=>X(Hn,bt))}function G(ae){return ae.type==="AssignmentExpression"||ae.type==="BinaryExpression"||ae.type==="LogicalExpression"||ae.type==="NGPipeExpression"||ae.type==="ConditionalExpression"||ct(ae)||ft(ae)||ae.type==="SequenceExpression"||ae.type==="TaggedTemplateExpression"||ae.type==="BindExpression"||ae.type==="UpdateExpression"&&!ae.prefix||Si(ae)||ae.type==="TSNonNullExpression"}function ne(ae){var bt,gn,Hn,zn,Di,Sr;return ae.expressions?ae.expressions[0]:(bt=(gn=(Hn=(zn=(Di=(Sr=ae.left)!==null&&Sr!==void 0?Sr:ae.test)!==null&&Di!==void 0?Di:ae.callee)!==null&&zn!==void 0?zn:ae.object)!==null&&Hn!==void 0?Hn:ae.tag)!==null&&gn!==void 0?gn:ae.argument)!==null&&bt!==void 0?bt:ae.expression}function Z(ae,bt){if(bt.expressions)return["expressions",0];if(bt.left)return["left"];if(bt.test)return["test"];if(bt.object)return["object"];if(bt.callee)return["callee"];if(bt.tag)return["tag"];if(bt.argument)return["argument"];if(bt.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function ye(ae){return ae=new Set(ae),bt=>ae.has(bt==null?void 0:bt.type)}var F=ye(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),J=ye(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function w(ae){let bt=ae.getParentNode();return ae.getName()==="declaration"&&J(bt)?bt:null}var $=ye(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function y(ae){return ae.type==="NumericLiteral"||ae.type==="Literal"&&typeof ae.value=="number"}function T(ae){return ae.type==="UnaryExpression"&&(ae.operator==="+"||ae.operator==="-")&&y(ae.argument)}function I(ae){return ae.type==="StringLiteral"||ae.type==="Literal"&&typeof ae.value=="string"}var U=ye(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),q=ye(["FunctionExpression","ArrowFunctionExpression"]);function z(ae){return ae.type==="FunctionExpression"||ae.type==="ArrowFunctionExpression"&&ae.body.type==="BlockStatement"}function re(ae){return ct(ae)&&ae.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(ae.callee.name)}var ce=ye(["JSXElement","JSXFragment"]);function me(ae,bt){if(ae.parentParser!=="markdown"&&ae.parentParser!=="mdx")return!1;let gn=bt.getNode();if(!gn.expression||!ce(gn.expression))return!1;let Hn=bt.getParentNode();return Hn.type==="Program"&&Hn.body.length===1}function fe(ae){return ae.kind==="get"||ae.kind==="set"}function Fe(ae){return fe(ae)||_(ae,ae.value)}function se(ae){return(ae.type==="ObjectTypeProperty"||ae.type==="ObjectTypeInternalSlot")&&ae.value.type==="FunctionTypeAnnotation"&&!ae.static&&!Fe(ae)}function We(ae){return(ae.type==="TypeAnnotation"||ae.type==="TSTypeAnnotation")&&ae.typeAnnotation.type==="FunctionTypeAnnotation"&&!ae.static&&!_(ae,ae.typeAnnotation)}var he=ye(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function oe(ae){return ft(ae)||ae.type==="BindExpression"&&!!ae.object}var qe=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 et(ae){return ae?!!((ae.type==="GenericTypeAnnotation"||ae.type==="TSTypeReference")&&!ae.typeParameters||qe.has(ae.type)):!1}function Je(ae){let bt=/^(?:before|after)(?:Each|All)$/;return ae.callee.type==="Identifier"&&bt.test(ae.callee.name)&&ae.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 De(ae){return C(ae,dt)}function Ie(ae,bt){if(ae.type!=="CallExpression")return!1;if(ae.arguments.length===1){if(re(ae)&&bt&&Ie(bt))return q(ae.arguments[0]);if(Je(ae))return re(ae.arguments[0])}else if((ae.arguments.length===2||ae.arguments.length===3)&&(ae.arguments[0].type==="TemplateLiteral"||I(ae.arguments[0]))&&De(ae.callee))return ae.arguments[2]&&!y(ae.arguments[2])?!1:(ae.arguments.length===2?q(ae.arguments[1]):z(ae.arguments[1])&&It(ae.arguments[1]).length<=1)||re(ae.arguments[1]);return!1}var ct=ye(["CallExpression","OptionalCallExpression"]),ft=ye(["MemberExpression","OptionalMemberExpression"]);function Jt(ae){let bt="expressions";ae.type==="TSTemplateLiteralType"&&(bt="types");let gn=ae[bt];return gn.length===0?!1:gn.every(Hn=>{if(Sn(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,Sn(zn)))return!1;return zn.type==="Identifier"||zn.type==="ThisExpression"}return!1})}function Re(ae,bt){return ae==="+"||ae==="-"?ae+bt:bt}function Ce(ae,bt){let gn=S(bt),Hn=c(ae,L(bt));return Hn!==!1&&ae.slice(gn,gn+2)==="/*"&&ae.slice(Hn,Hn+2)==="*/"}function Ye(ae,bt){return ce(bt)?Bn(bt):Sn(bt,an.Leading,gn=>D(ae,L(gn)))}function ze(ae,bt){return bt.parser!=="json"&&I(ae.key)&&at(ae.key).slice(1,-1)===ae.key.value&&(f(ae.key.value)&&!(bt.parser==="babel-ts"&&ae.type==="ClassProperty"||bt.parser==="typescript"&&ae.type==="PropertyDefinition")||Dt(ae.key.value)&&String(Number(ae.key.value))===ae.key.value&&(bt.parser==="babel"||bt.parser==="acorn"||bt.parser==="espree"||bt.parser==="meriyah"||bt.parser==="__babel_estree"))}function Dt(ae){return/^(?:\d+|\d+\.\d+)$/.test(ae)}function Nt(ae,bt){let gn=/^[fx]?(?:describe|it|test)$/;return bt.type==="TaggedTemplateExpression"&&bt.quasi===ae&&bt.tag.type==="MemberExpression"&&bt.tag.property.type==="Identifier"&&bt.tag.property.name==="each"&&(bt.tag.object.type==="Identifier"&&gn.test(bt.tag.object.name)||bt.tag.object.type==="MemberExpression"&&bt.tag.object.property.type==="Identifier"&&(bt.tag.object.property.name==="only"||bt.tag.object.property.name==="skip")&&bt.tag.object.object.type==="Identifier"&&gn.test(bt.tag.object.object.name))}function Bt(ae){return ae.quasis.some(bt=>bt.value.raw.includes(`
186
- `))}function cn(ae,bt){return(ae.type==="TemplateLiteral"&&Bt(ae)||ae.type==="TaggedTemplateExpression"&&Bt(ae.quasi))&&!D(bt,S(ae),{backwards:!0})}function Mn(ae){if(!Sn(ae))return!1;let bt=b(ut(ae,an.Dangling));return bt&&!k(bt)}function Tn(ae){if(ae.length<=1)return!1;let bt=0;for(let gn of ae)if(q(gn)){if(bt+=1,bt>1)return!0}else if(ct(gn)){for(let Hn of gn.arguments)if(q(Hn))return!0}return!1}function ln(ae){let bt=ae.getValue(),gn=ae.getParentNode();return ct(bt)&&ct(gn)&&gn.callee===bt&&bt.arguments.length>gn.arguments.length&&gn.arguments.length>0}function Dn(ae,bt){if(bt>=2)return!1;let gn=Sr=>Dn(Sr,bt+1),Hn=ae.type==="Literal"&&"regex"in ae&&ae.regex.pattern||ae.type==="RegExpLiteral"&&ae.pattern;if(Hn&&v(Hn)>5)return!1;if(ae.type==="Literal"||ae.type==="BigIntLiteral"||ae.type==="DecimalLiteral"||ae.type==="BooleanLiteral"||ae.type==="NullLiteral"||ae.type==="NumericLiteral"||ae.type==="RegExpLiteral"||ae.type==="StringLiteral"||ae.type==="Identifier"||ae.type==="ThisExpression"||ae.type==="Super"||ae.type==="PrivateName"||ae.type==="PrivateIdentifier"||ae.type==="ArgumentPlaceholder"||ae.type==="Import")return!0;if(ae.type==="TemplateLiteral")return ae.quasis.every(Sr=>!Sr.value.raw.includes(`
187
- `))&&ae.expressions.every(gn);if(ae.type==="ObjectExpression")return ae.properties.every(Sr=>!Sr.computed&&(Sr.shorthand||Sr.value&&gn(Sr.value)));if(ae.type==="ArrayExpression")return ae.elements.every(Sr=>Sr===null||gn(Sr));if(zr(ae))return(ae.type==="ImportExpression"||Dn(ae.callee,bt))&&Dr(ae).every(gn);if(ft(ae))return Dn(ae.object,bt)&&Dn(ae.property,bt);let zn={"!":!0,"-":!0,"+":!0,"~":!0};if(ae.type==="UnaryExpression"&&zn[ae.operator])return Dn(ae.argument,bt);let Di={"++":!0,"--":!0};return ae.type==="UpdateExpression"&&Di[ae.operator]?Dn(ae.argument,bt):ae.type==="TSNonNullExpression"?Dn(ae.expression,bt):!1}function at(ae){var bt,gn;return(bt=(gn=ae.extra)===null||gn===void 0?void 0:gn.raw)!==null&&bt!==void 0?bt:ae.raw}function Ee(ae){return ae}function pt(ae){return ae.filepath&&/\.tsx$/i.test(ae.filepath)}function Oe(ae){let bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return ae.trailingComma==="es5"&&bt==="es5"||ae.trailingComma==="all"&&(bt==="all"||bt==="es5")}function lt(ae,bt){switch(ae.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return lt(ae.left,bt);case"MemberExpression":case"OptionalMemberExpression":return lt(ae.object,bt);case"TaggedTemplateExpression":return ae.tag.type==="FunctionExpression"?!1:lt(ae.tag,bt);case"CallExpression":case"OptionalCallExpression":return ae.callee.type==="FunctionExpression"?!1:lt(ae.callee,bt);case"ConditionalExpression":return lt(ae.test,bt);case"UpdateExpression":return!ae.prefix&&lt(ae.argument,bt);case"BindExpression":return ae.object&&lt(ae.object,bt);case"SequenceExpression":return lt(ae.expressions[0],bt);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return lt(ae.expression,bt);default:return bt(ae)}}var Zt={"==":!0,"!=":!0,"===":!0,"!==":!0},qt={"*":!0,"/":!0,"%":!0},mt={">>":!0,">>>":!0,"<<":!0};function V(ae,bt){return!(tt(bt)!==tt(ae)||ae==="**"||Zt[ae]&&Zt[bt]||bt==="%"&&qt[ae]||ae==="%"&&qt[bt]||bt!==ae&&qt[bt]&&qt[ae]||mt[ae]&&mt[bt])}var _e=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((ae,bt)=>ae.map(gn=>[gn,bt])));function tt(ae){return _e.get(ae)}function kt(ae){return!!mt[ae]||ae==="|"||ae==="^"||ae==="&"}function Rt(ae){var bt;if(ae.rest)return!0;let gn=It(ae);return((bt=b(gn))===null||bt===void 0?void 0:bt.type)==="RestElement"}var un=new WeakMap;function It(ae){if(un.has(ae))return un.get(ae);let bt=[];return ae.this&&bt.push(ae.this),Array.isArray(ae.parameters)?bt.push(...ae.parameters):Array.isArray(ae.params)&&bt.push(...ae.params),ae.rest&&bt.push(ae.rest),un.set(ae,bt),bt}function Er(ae,bt){let gn=ae.getValue(),Hn=0,zn=Di=>bt(Di,Hn++);gn.this&&ae.call(zn,"this"),Array.isArray(gn.parameters)?ae.each(zn,"parameters"):Array.isArray(gn.params)&&ae.each(zn,"params"),gn.rest&&ae.call(zn,"rest")}var sn=new WeakMap;function Dr(ae){if(sn.has(ae))return sn.get(ae);let bt=ae.arguments;return ae.type==="ImportExpression"&&(bt=[ae.source],ae.attributes&&bt.push(ae.attributes)),sn.set(ae,bt),bt}function nn(ae,bt){let gn=ae.getValue();gn.type==="ImportExpression"?(ae.call(Hn=>bt(Hn,0),"source"),gn.attributes&&ae.call(Hn=>bt(Hn,1),"attributes")):ae.each(bt,"arguments")}function An(ae){return ae.value.trim()==="prettier-ignore"&&!ae.unignore}function Bn(ae){return ae&&(ae.prettierIgnore||Sn(ae,an.PrettierIgnore))}function ar(ae){let bt=ae.getValue();return Bn(bt)}var an={Leading:1<<1,Trailing:1<<2,Dangling:1<<3,Block:1<<4,Line:1<<5,PrettierIgnore:1<<6,First:1<<7,Last:1<<8},_n=(ae,bt)=>{if(typeof ae=="function"&&(bt=ae,ae=0),ae||bt)return(gn,Hn,zn)=>!(ae&an.Leading&&!gn.leading||ae&an.Trailing&&!gn.trailing||ae&an.Dangling&&(gn.leading||gn.trailing)||ae&an.Block&&!k(gn)||ae&an.Line&&!F(gn)||ae&an.First&&Hn!==0||ae&an.Last&&Hn!==zn.length-1||ae&an.PrettierIgnore&&!An(gn)||bt&&!bt(gn))};function Sn(ae,bt,gn){if(!d(ae==null?void 0:ae.comments))return!1;let Hn=_n(bt,gn);return Hn?ae.comments.some(Hn):!0}function ut(ae,bt,gn){if(!Array.isArray(ae==null?void 0:ae.comments))return[];let Hn=_n(bt,gn);return Hn?ae.comments.filter(Hn):ae.comments}var Ci=(ae,bt)=>{let{originalText:gn}=bt;return h(gn,L(ae))};function zr(ae){return ct(ae)||ae.type==="NewExpression"||ae.type==="ImportExpression"}function Un(ae){return ae&&(ae.type==="ObjectProperty"||ae.type==="Property"&&!ae.method&&ae.kind==="init")}function Gn(ae){return!!ae.__isUsingHackPipeline}var fr=Symbol("ifWithoutBlockAndSameLineComment");function Si(ae){return ae.type==="TSAsExpression"||ae.type==="TSSatisfiesExpression"}E.exports={getFunctionParameters:It,iterateFunctionParametersPath:Er,getCallArguments:Dr,iterateCallArgumentsPath:nn,hasRestParameter:Rt,getLeftSide:ne,getLeftSidePathName:Z,getParentExportDeclaration:w,getTypeScriptMappedTypeModifier:Re,hasFlowAnnotationComment:R,hasFlowShorthandAnnotationComment:ee,hasLeadingOwnLineComment:Ye,hasNakedLeftSide:G,hasNode:X,hasIgnoreComment:ar,hasNodeIgnoreComment:Bn,identity:Ee,isBinaryish:he,isCallLikeExpression:zr,isEnabledHackPipeline:Gn,isLineComment:F,isPrettierIgnoreComment:An,isCallExpression:ct,isMemberExpression:ft,isExportDeclaration:J,isFlowAnnotationComment:Ce,isFunctionCompositionArgs:Tn,isFunctionNotation:Fe,isFunctionOrArrowExpression:q,isGetterOrSetter:fe,isJestEachTemplateLiteral:Nt,isJsxNode:ce,isLiteral:$,isLongCurriedCallExpression:ln,isSimpleCallArgument:Dn,isMemberish:oe,isNumericLiteral:y,isSignedNumericLiteral:T,isObjectProperty:Un,isObjectType:U,isObjectTypePropertyAFunction:se,isSimpleType:et,isSimpleNumber:Dt,isSimpleTemplateLiteral:Jt,isStringLiteral:I,isStringPropSafeToUnquote:ze,isTemplateOnItsOwnLine:cn,isTestCall:Ie,isTheOnlyJsxElementInMarkdown:me,isTSXFile:pt,isTypeAnnotationAFunction:We,isNextLineEmpty:Ci,needsHardlineAfterDanglingComment:Mn,rawText:at,shouldPrintComma:Oe,isBitwiseOperator:kt,shouldFlatten:V,startsWithNoLookaheadToken:lt,getPrecedence:tt,hasComment:Sn,getComments:ut,CommentCheckFlags:an,markerForIfWithoutBlockAndSameLineComment:fr,isTSTypeExpression:Si}}}),Ga=we({"src/language-js/print/template-literal.js"(m,E){$e();var f=jr(),{getStringWidth:b,getIndentSize:D}=ge(),{builders:{join:c,hardline:d,softline:h,group:v,indent:S,align:L,lineSuffixBoundary:_,addAlignmentToDoc:k},printer:{printDocToString:C},utils:{mapDoc:x}}=wn(),{isBinaryish:j,isJestEachTemplateLiteral:Q,isSimpleTemplateLiteral:ee,hasComment:R,isMemberExpression:X,isTSTypeExpression:G}=pr();function ne($,y,T){let I=$.getValue();if(I.type==="TemplateLiteral"&&Q(I,$.getParentNode())){let ce=Z($,T,y);if(ce)return ce}let U="expressions";I.type==="TSTemplateLiteralType"&&(U="types");let q=[],z=$.map(y,U),re=ee(I);return re&&(z=z.map(ce=>C(ce,Object.assign(Object.assign({},T),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),q.push(_,"`"),$.each(ce=>{let me=ce.getName();if(q.push(y()),me<z.length){let{tabWidth:fe}=T,Fe=ce.getValue(),se=D(Fe.value.raw,fe),We=z[me];if(!re){let oe=I[U][me];(R(oe)||X(oe)||oe.type==="ConditionalExpression"||oe.type==="SequenceExpression"||G(oe)||j(oe))&&(We=[S([h,We]),h])}let he=se===0&&Fe.value.raw.endsWith(`
188
- `)?L(Number.NEGATIVE_INFINITY,We):k(We,se,fe);q.push(v(["${",he,_,"}"]))}},"quasis"),q.push("`"),q}function Z($,y,T){let I=$.getNode(),U=I.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(U.length>1||U.some(q=>q.length>0)){y.__inJestEach=!0;let q=$.map(T,"expressions");y.__inJestEach=!1;let z=[],re=q.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 We=f(ce),he=re[se-1];We.cells.push(he),he.includes(`
189
- `)&&(We.hasLineBreak=!0),I.quasis[se].value.raw.includes(`
190
- `)&&ce.push({hasLineBreak:!1,cells:[]})}let me=Math.max(U.length,...ce.map(se=>se.cells.length)),fe=Array.from({length:me}).fill(0),Fe=[{cells:U},...ce.filter(se=>se.cells.length>0)];for(let{cells:se}of Fe.filter(We=>!We.hasLineBreak))for(let[We,he]of se.entries())fe[We]=Math.max(fe[We],b(he));return z.push(_,"`",S([d,c(d,Fe.map(se=>c(" | ",se.cells.map((We,he)=>se.hasLineBreak?We:We+" ".repeat(fe[he]-b(We))))))]),d,"`"),z}}function ye($,y){let T=$.getValue(),I=y();return R(T)&&(I=v([S([h,I]),h])),["${",I,_,"}"]}function F($,y){return $.map(T=>ye(T,y),"expressions")}function J($,y){return x($,T=>typeof T=="string"?y?T.replace(/(\\*)`/g,"$1$1\\`"):w(T):T)}function w($){return $.replace(/([\\`]|\${)/g,"\\$1")}E.exports={printTemplateLiteral:ne,printTemplateExpressions:F,escapeTemplateCharacters:J,uncookTemplateElementValue:w}}}),Pv=we({"src/language-js/embed/markdown.js"(m,E){$e();var{builders:{indent:f,softline:b,literalline:D,dedentToRoot:c}}=wn(),{escapeTemplateCharacters:d}=Ga();function h(S,L,_){let k=S.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(Q,ee)=>"\\".repeat(ee.length/2)+"`"),C=v(k),x=C!=="";x&&(k=k.replace(new RegExp(`^${C}`,"gm"),""));let j=d(_(k,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",x?f([b,j]):[D,c(j)],b,"`"]}function v(S){let L=S.match(/^([^\S\n]*)\S/m);return L===null?"":L[1]}E.exports=h}}),Bv=we({"src/language-js/embed/css.js"(m,E){$e();var{isNonEmptyArray:f}=ge(),{builders:{indent:b,hardline:D,softline:c},utils:{mapDoc:d,replaceEndOfLine:h,cleanDoc:v}}=wn(),{printTemplateExpressions:S}=Ga();function L(C,x,j){let Q=C.getValue(),ee=Q.quasis.map(Z=>Z.value.raw),R=0,X=ee.reduce((Z,ye,F)=>F===0?ye:Z+"@prettier-placeholder-"+R+++"-id"+ye,""),G=j(X,{parser:"scss"},{stripTrailingHardline:!0}),ne=S(C,x);return _(G,Q,ne)}function _(C,x,j){if(x.quasis.length===1&&!x.quasis[0].value.raw.trim())return"``";let Q=k(C,j);if(!Q)throw new Error("Couldn't insert all the expressions");return["`",b([D,Q]),c,"`"]}function k(C,x){if(!f(x))return C;let j=0,Q=d(v(C),ee=>typeof ee!="string"||!ee.includes("@prettier-placeholder")?ee:ee.split(/@prettier-placeholder-(\d+)-id/).map((R,X)=>X%2===0?h(R):(j++,x[R])));return x.length===j?Q:null}E.exports=L}}),Iv=we({"src/language-js/embed/graphql.js"(m,E){$e();var{builders:{indent:f,join:b,hardline:D}}=wn(),{escapeTemplateCharacters:c,printTemplateExpressions:d}=Ga();function h(S,L,_){let k=S.getValue(),C=k.quasis.length;if(C===1&&k.quasis[0].value.raw.trim()==="")return"``";let x=d(S,L),j=[];for(let Q=0;Q<C;Q++){let ee=k.quasis[Q],R=Q===0,X=Q===C-1,G=ee.value.cooked,ne=G.split(`
191
- `),Z=ne.length,ye=x[Q],F=Z>2&&ne[0].trim()===""&&ne[1].trim()==="",J=Z>2&&ne[Z-1].trim()===""&&ne[Z-2].trim()==="",w=ne.every(y=>/^\s*(?:#[^\n\r]*)?$/.test(y));if(!X&&/#[^\n\r]*$/.test(ne[Z-1]))return null;let $=null;w?$=v(ne):$=_(G,{parser:"graphql"},{stripTrailingHardline:!0}),$?($=c($,!1),!R&&F&&j.push(""),j.push($),!X&&J&&j.push("")):!R&&!X&&F&&j.push(""),ye&&j.push(ye)}return["`",f([D,b(D,j)]),D,"`"]}function v(S){let L=[],_=!1,k=S.map(C=>C.trim());for(let[C,x]of k.entries())x!==""&&(k[C-1]===""&&_?L.push([D,x]):L.push(x),_=!0);return L.length===0?null:b(D,L)}E.exports=h}}),Mv=we({"src/language-js/embed/html.js"(m,E){$e();var{builders:{indent:f,line:b,hardline:D,group:c},utils:{mapDoc:d}}=wn(),{printTemplateExpressions:h,uncookTemplateElementValue:v}=Ga(),S=0;function L(_,k,C,x,j){let{parser:Q}=j,ee=_.getValue(),R=S;S=S+1>>>0;let X=T=>`PRETTIER_HTML_PLACEHOLDER_${T}_${R}_IN_JS`,G=ee.quasis.map((T,I,U)=>I===U.length-1?T.value.cooked:T.value.cooked+X(I)).join(""),ne=h(_,k);if(ne.length===0&&G.trim().length===0)return"``";let Z=new RegExp(X("(\\d+)"),"g"),ye=0,F=C(G,{parser:Q,__onHtmlRoot(T){ye=T.children.length}},{stripTrailingHardline:!0}),J=d(F,T=>{if(typeof T!="string")return T;let I=[],U=T.split(Z);for(let q=0;q<U.length;q++){let z=U[q];if(q%2===0){z&&(z=v(z),x.__embeddedInHtml&&(z=z.replace(/<\/(script)\b/gi,"<\\/$1")),I.push(z));continue}let re=Number(z);I.push(ne[re])}return I}),w=/^\s/.test(G)?" ":"",$=/\s$/.test(G)?" ":"",y=x.htmlWhitespaceSensitivity==="ignore"?D:w&&$?b:null;return c(y?["`",f([y,c(J)]),y,"`"]:["`",w,ye>1?f(c(J)):c(J),$,"`"])}E.exports=L}}),Ov=we({"src/language-js/embed.js"(m,E){$e();var{hasComment:f,CommentCheckFlags:b,isObjectProperty:D}=pr(),c=Pv(),d=Bv(),h=Iv(),v=Mv();function S(F){if(k(F)||Q(F)||ee(F)||C(F))return"css";if(G(F))return"graphql";if(Z(F))return"html";if(x(F))return"angular";if(_(F))return"markdown"}function L(F,J,w,$){let y=F.getValue();if(y.type!=="TemplateLiteral"||ye(y))return;let T=S(F);if(T){if(T==="markdown")return c(F,J,w);if(T==="css")return d(F,J,w);if(T==="graphql")return h(F,J,w);if(T==="html"||T==="angular")return v(F,J,w,$,{parser:T})}}function _(F){let J=F.getValue(),w=F.getParentNode();return w&&w.type==="TaggedTemplateExpression"&&J.quasis.length===1&&w.tag.type==="Identifier"&&(w.tag.name==="md"||w.tag.name==="markdown")}function k(F){let J=F.getValue(),w=F.getParentNode(),$=F.getParentNode(1);return $&&J.quasis&&w.type==="JSXExpressionContainer"&&$.type==="JSXElement"&&$.openingElement.name.name==="style"&&$.openingElement.attributes.some(y=>y.name.name==="jsx")||w&&w.type==="TaggedTemplateExpression"&&w.tag.type==="Identifier"&&w.tag.name==="css"||w&&w.type==="TaggedTemplateExpression"&&w.tag.type==="MemberExpression"&&w.tag.object.name==="css"&&(w.tag.property.name==="global"||w.tag.property.name==="resolve")}function C(F){return F.match(J=>J.type==="TemplateLiteral",(J,w)=>J.type==="ArrayExpression"&&w==="elements",(J,w)=>D(J)&&J.key.type==="Identifier"&&J.key.name==="styles"&&w==="value",...j)}function x(F){return F.match(J=>J.type==="TemplateLiteral",(J,w)=>D(J)&&J.key.type==="Identifier"&&J.key.name==="template"&&w==="value",...j)}var j=[(F,J)=>F.type==="ObjectExpression"&&J==="properties",(F,J)=>F.type==="CallExpression"&&F.callee.type==="Identifier"&&F.callee.name==="Component"&&J==="arguments",(F,J)=>F.type==="Decorator"&&J==="expression"];function Q(F){let J=F.getParentNode();if(!J||J.type!=="TaggedTemplateExpression")return!1;let w=J.tag.type==="ParenthesizedExpression"?J.tag.expression:J.tag;switch(w.type){case"MemberExpression":return R(w.object)||X(w);case"CallExpression":return R(w.callee)||w.callee.type==="MemberExpression"&&(w.callee.object.type==="MemberExpression"&&(R(w.callee.object.object)||X(w.callee.object))||w.callee.object.type==="CallExpression"&&R(w.callee.object.callee));case"Identifier":return w.name==="css";default:return!1}}function ee(F){let J=F.getParentNode(),w=F.getParentNode(1);return w&&J.type==="JSXExpressionContainer"&&w.type==="JSXAttribute"&&w.name.type==="JSXIdentifier"&&w.name.name==="css"}function R(F){return F.type==="Identifier"&&F.name==="styled"}function X(F){return/^[A-Z]/.test(F.object.name)&&F.property.name==="extend"}function G(F){let J=F.getValue(),w=F.getParentNode();return ne(J,"GraphQL")||w&&(w.type==="TaggedTemplateExpression"&&(w.tag.type==="MemberExpression"&&w.tag.object.name==="graphql"&&w.tag.property.name==="experimental"||w.tag.type==="Identifier"&&(w.tag.name==="gql"||w.tag.name==="graphql"))||w.type==="CallExpression"&&w.callee.type==="Identifier"&&w.callee.name==="graphql")}function ne(F,J){return f(F,b.Block|b.Leading,w=>{let{value:$}=w;return $===` ${J} `})}function Z(F){return ne(F.getValue(),"HTML")||F.match(J=>J.type==="TemplateLiteral",(J,w)=>J.type==="TaggedTemplateExpression"&&J.tag.type==="Identifier"&&J.tag.name==="html"&&w==="quasi")}function ye(F){let{quasis:J}=F;return J.some(w=>{let{value:{cooked:$}}=w;return $===null})}E.exports=L}}),jv=we({"src/language-js/clean.js"(m,E){$e();var f=ta(),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 c(d,h,v){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(_=>_.name.name==="jsx"))for(let{type:_,expression:k}of h.children)_==="JSXExpressionContainer"&&k.type==="TemplateLiteral"&&D(k);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 S=d.expression||d.callee;if(d.type==="Decorator"&&S.type==="CallExpression"&&S.callee.name==="Component"&&S.arguments.length===1){let _=d.expression.arguments[0].properties;for(let[k,C]of h.expression.arguments[0].properties.entries())switch(_[k].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 L;(!((L=d.leadingComments)===null||L===void 0)&&L.some(_=>f(_)&&["GraphQL","HTML"].some(k=>_.value===` ${k} `))||v.type==="CallExpression"&&v.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]}c.ignoredProperties=b,E.exports=c}}),u0={};xn(u0,{EOL:()=>jf,arch:()=>$v,cpus:()=>m0,default:()=>v0,endianness:()=>l0,freemem:()=>d0,getNetworkInterfaces:()=>b0,hostname:()=>c0,loadavg:()=>f0,networkInterfaces:()=>D0,platform:()=>Rv,release:()=>y0,tmpDir:()=>Mf,tmpdir:()=>Of,totalmem:()=>h0,type:()=>g0,uptime:()=>p0});function l0(){if(typeof ul>"u"){var m=new ArrayBuffer(2),E=new Uint8Array(m),f=new Uint16Array(m);if(E[0]=1,E[1]=2,f[0]===258)ul="BE";else if(f[0]===513)ul="LE";else throw new Error("unable to figure out endianess")}return ul}function c0(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function f0(){return[]}function p0(){return 0}function d0(){return Number.MAX_VALUE}function h0(){return Number.MAX_VALUE}function m0(){return[]}function g0(){return"Browser"}function y0(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function D0(){}function b0(){}function $v(){return"javascript"}function Rv(){return"browser"}function Mf(){return"/tmp"}var ul,Of,jf,v0,Vv=dn({"node-modules-polyfills:os"(){$e(),Of=Mf,jf=`
192
- `,v0={EOL:jf,tmpdir:Of,tmpDir:Mf,networkInterfaces:D0,getNetworkInterfaces:b0,release:y0,type:g0,cpus:m0,totalmem:h0,freemem:d0,uptime:p0,loadavg:f0,hostname:c0,endianness:l0}}}),Uv=we({"node-modules-polyfills-commonjs:os"(m,E){$e();var f=(Vv(),Qn(u0));if(f&&f.default){E.exports=f.default;for(let b in f)E.exports[b]=f[b]}else f&&(E.exports=f)}}),qv=we({"node_modules/detect-newline/index.js"(m,E){$e();var f=b=>{if(typeof b!="string")throw new TypeError("Expected a string");let D=b.match(/(?:\r?\n)/g)||[];if(D.length===0)return;let c=D.filter(h=>h===`\r
193
- `).length,d=D.length-c;return c>d?`\r
194
- `:`
195
- `};E.exports=f,E.exports.graceful=b=>typeof b=="string"&&f(b)||`
196
- `}}),Wv=we({"node_modules/jest-docblock/build/index.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0}),m.extract=C,m.parse=j,m.parseWithComments=Q,m.print=ee,m.strip=x;function E(){let X=Uv();return E=function(){return X},X}function f(){let X=b(qv());return f=function(){return X},X}function b(X){return X&&X.__esModule?X:{default:X}}var D=/\*\/$/,c=/^\/\*\*?/,d=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,h=/(^|\s+)\/\/([^\r\n]*)/g,v=/^(\r?\n)+/,S=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,L=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,_=/(\r?\n|^) *\* ?/g,k=[];function C(X){let G=X.match(d);return G?G[0].trimLeft():""}function x(X){let G=X.match(d);return G&&G[0]?X.substring(G[0].length):X}function j(X){return Q(X).pragmas}function Q(X){let G=(0,f().default)(X)||E().EOL;X=X.replace(c,"").replace(D,"").replace(_,"$1");let ne="";for(;ne!==X;)ne=X,X=X.replace(S,`${G}$1 $2${G}`);X=X.replace(v,"").trimRight();let Z=Object.create(null),ye=X.replace(L,"").replace(v,"").trimRight(),F;for(;F=L.exec(X);){let J=F[2].replace(h,"");typeof Z[F[1]]=="string"||Array.isArray(Z[F[1]])?Z[F[1]]=k.concat(Z[F[1]],J):Z[F[1]]=J}return{comments:ye,pragmas:Z}}function ee(X){let{comments:G="",pragmas:ne={}}=X,Z=(0,f().default)(G)||E().EOL,ye="/**",F=" *",J=" */",w=Object.keys(ne),$=w.map(T=>R(T,ne[T])).reduce((T,I)=>T.concat(I),[]).map(T=>`${F} ${T}${Z}`).join("");if(!G){if(w.length===0)return"";if(w.length===1&&!Array.isArray(ne[w[0]])){let T=ne[w[0]];return`${ye} ${R(w[0],T)[0]}${J}`}}let y=G.split(Z).map(T=>`${F} ${T}`).join(Z)+Z;return ye+Z+(G?y:"")+(G&&w.length?F+Z:"")+$+J}function R(X,G){return k.concat(G).map(ne=>`@${X} ${ne}`.trim())}}}),Gv=we({"src/language-js/utils/get-shebang.js"(m,E){$e();function f(b){if(!b.startsWith("#!"))return"";let D=b.indexOf(`
197
- `);return D===-1?b:b.slice(0,D)}E.exports=f}}),E0=we({"src/language-js/pragma.js"(m,E){$e();var{parseWithComments:f,strip:b,extract:D,print:c}=Wv(),{normalizeEndOfLine:d}=ns(),h=Gv();function v(_){let k=h(_);k&&(_=_.slice(k.length+1));let C=D(_),{pragmas:x,comments:j}=f(C);return{shebang:k,text:_,pragmas:x,comments:j}}function S(_){let k=Object.keys(v(_).pragmas);return k.includes("prettier")||k.includes("format")}function L(_){let{shebang:k,text:C,pragmas:x,comments:j}=v(_),Q=b(C),ee=c({pragmas:Object.assign({format:""},x),comments:j.trimStart()});return(k?`${k}
198
- `:"")+d(ee)+(Q.startsWith(`
199
- `)?`
200
- `:`
201
-
202
- `)+Q}E.exports={hasPragma:S,insertPragma:L}}}),Jv=we({"src/language-js/utils/is-type-cast-comment.js"(m,E){$e();var f=ta();function b(D){return f(D)&&D.value[0]==="*"&&/@(?:type|satisfies)\b/.test(D.value)}E.exports=b}}),A0=we({"src/language-js/comments.js"(m,E){$e();var{getLast:f,hasNewline:b,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:D,getNextNonSpaceNonCommentCharacter:c,hasNewlineInRange:d,addLeadingComment:h,addTrailingComment:v,addDanglingComment:S,getNextNonSpaceNonCommentCharacterIndex:L,isNonEmptyArray:_}=ge(),{getFunctionParameters:k,isPrettierIgnoreComment:C,isJsxNode:x,hasFlowShorthandAnnotationComment:j,hasFlowAnnotationComment:Q,hasIgnoreComment:ee,isCallLikeExpression:R,getCallArguments:X,isCallExpression:G,isMemberExpression:ne,isObjectProperty:Z,isLineComment:ye,getComments:F,CommentCheckFlags:J,markerForIfWithoutBlockAndSameLineComment:w}=pr(),{locStart:$,locEnd:y}=ri(),T=ta(),I=Jv();function U(mt){return[Ee,Jt,We,fe,Fe,se,et,Bt,ze,Nt,cn,Mn,dt,Re,Ce].some(V=>V(mt))}function q(mt){return[me,Jt,he,cn,fe,Fe,se,et,Re,Ye,Dt,Nt,Dn,Ce,Oe].some(V=>V(mt))}function z(mt){return[Ee,fe,Fe,oe,ft,dt,Nt,ct,Ie,pt,Ce,at].some(V=>V(mt))}function re(mt,V){let _e=(mt.body||mt.properties).find(tt=>{let{type:kt}=tt;return kt!=="EmptyStatement"});_e?h(_e,V):S(mt,V)}function ce(mt,V){mt.type==="BlockStatement"?re(mt,V):h(mt,V)}function me(mt){let{comment:V,followingNode:_e}=mt;return _e&&I(V)?(h(_e,V),!0):!1}function fe(mt){let{comment:V,precedingNode:_e,enclosingNode:tt,followingNode:kt,text:Rt}=mt;if((tt==null?void 0:tt.type)!=="IfStatement"||!kt)return!1;if(c(Rt,V,y)===")")return v(_e,V),!0;if(_e===tt.consequent&&kt===tt.alternate){if(_e.type==="BlockStatement")v(_e,V);else{let un=V.type==="SingleLine"||V.loc.start.line===V.loc.end.line,It=V.loc.start.line===_e.loc.start.line;un&&It?S(_e,V,w):S(tt,V)}return!0}return kt.type==="BlockStatement"?(re(kt,V),!0):kt.type==="IfStatement"?(ce(kt.consequent,V),!0):tt.consequent===kt?(h(kt,V),!0):!1}function Fe(mt){let{comment:V,precedingNode:_e,enclosingNode:tt,followingNode:kt,text:Rt}=mt;return(tt==null?void 0:tt.type)!=="WhileStatement"||!kt?!1:c(Rt,V,y)===")"?(v(_e,V),!0):kt.type==="BlockStatement"?(re(kt,V),!0):tt.body===kt?(h(kt,V),!0):!1}function se(mt){let{comment:V,precedingNode:_e,enclosingNode:tt,followingNode:kt}=mt;return(tt==null?void 0:tt.type)!=="TryStatement"&&(tt==null?void 0:tt.type)!=="CatchClause"||!kt?!1:tt.type==="CatchClause"&&_e?(v(_e,V),!0):kt.type==="BlockStatement"?(re(kt,V),!0):kt.type==="TryStatement"?(ce(kt.finalizer,V),!0):kt.type==="CatchClause"?(ce(kt.body,V),!0):!1}function We(mt){let{comment:V,enclosingNode:_e,followingNode:tt}=mt;return ne(_e)&&(tt==null?void 0:tt.type)==="Identifier"?(h(_e,V),!0):!1}function he(mt){let{comment:V,precedingNode:_e,enclosingNode:tt,followingNode:kt,text:Rt}=mt,un=_e&&!d(Rt,y(_e),$(V));return(!_e||!un)&&((tt==null?void 0:tt.type)==="ConditionalExpression"||(tt==null?void 0:tt.type)==="TSConditionalType")&&kt?(h(kt,V),!0):!1}function oe(mt){let{comment:V,precedingNode:_e,enclosingNode:tt}=mt;return Z(tt)&&tt.shorthand&&tt.key===_e&&tt.value.type==="AssignmentPattern"?(v(tt.value.left,V),!0):!1}var qe=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function et(mt){let{comment:V,precedingNode:_e,enclosingNode:tt,followingNode:kt}=mt;if(qe.has(tt==null?void 0:tt.type)){if(_(tt.decorators)&&!(kt&&kt.type==="Decorator"))return v(f(tt.decorators),V),!0;if(tt.body&&kt===tt.body)return re(tt.body,V),!0;if(kt){if(tt.superClass&&kt===tt.superClass&&_e&&(_e===tt.id||_e===tt.typeParameters))return v(_e,V),!0;for(let Rt of["implements","extends","mixins"])if(tt[Rt]&&kt===tt[Rt][0])return _e&&(_e===tt.id||_e===tt.typeParameters||_e===tt.superClass)?v(_e,V):S(tt,V,Rt),!0}}return!1}var Je=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function dt(mt){let{comment:V,precedingNode:_e,enclosingNode:tt,text:kt}=mt;return tt&&_e&&c(kt,V,y)==="("&&(tt.type==="Property"||tt.type==="TSDeclareMethod"||tt.type==="TSAbstractMethodDefinition")&&_e.type==="Identifier"&&tt.key===_e&&c(kt,_e,y)!==":"||(_e==null?void 0:_e.type)==="Decorator"&&Je.has(tt==null?void 0:tt.type)?(v(_e,V),!0):!1}var De=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function Ie(mt){let{comment:V,precedingNode:_e,enclosingNode:tt,text:kt}=mt;return c(kt,V,y)!=="("?!1:_e&&De.has(tt==null?void 0:tt.type)?(v(_e,V),!0):!1}function ct(mt){let{comment:V,enclosingNode:_e,text:tt}=mt;if((_e==null?void 0:_e.type)!=="ArrowFunctionExpression")return!1;let kt=L(tt,V,y);return kt!==!1&&tt.slice(kt,kt+2)==="=>"?(S(_e,V),!0):!1}function ft(mt){let{comment:V,enclosingNode:_e,text:tt}=mt;return c(tt,V,y)!==")"?!1:_e&&(lt(_e)&&k(_e).length===0||R(_e)&&X(_e).length===0)?(S(_e,V),!0):((_e==null?void 0:_e.type)==="MethodDefinition"||(_e==null?void 0:_e.type)==="TSAbstractMethodDefinition")&&k(_e.value).length===0?(S(_e.value,V),!0):!1}function Jt(mt){let{comment:V,precedingNode:_e,enclosingNode:tt,followingNode:kt,text:Rt}=mt;if((_e==null?void 0:_e.type)==="FunctionTypeParam"&&(tt==null?void 0:tt.type)==="FunctionTypeAnnotation"&&(kt==null?void 0:kt.type)!=="FunctionTypeParam"||((_e==null?void 0:_e.type)==="Identifier"||(_e==null?void 0:_e.type)==="AssignmentPattern")&&tt&&lt(tt)&&c(Rt,V,y)===")")return v(_e,V),!0;if((tt==null?void 0:tt.type)==="FunctionDeclaration"&&(kt==null?void 0:kt.type)==="BlockStatement"){let un=(()=>{let It=k(tt);if(It.length>0)return D(Rt,y(f(It)));let Er=D(Rt,y(tt.id));return Er!==!1&&D(Rt,Er+1)})();if($(V)>un)return re(kt,V),!0}return!1}function Re(mt){let{comment:V,enclosingNode:_e}=mt;return(_e==null?void 0:_e.type)==="LabeledStatement"?(h(_e,V),!0):!1}function Ce(mt){let{comment:V,enclosingNode:_e}=mt;return((_e==null?void 0:_e.type)==="ContinueStatement"||(_e==null?void 0:_e.type)==="BreakStatement")&&!_e.label?(v(_e,V),!0):!1}function Ye(mt){let{comment:V,precedingNode:_e,enclosingNode:tt}=mt;return G(tt)&&_e&&tt.callee===_e&&tt.arguments.length>0?(h(tt.arguments[0],V),!0):!1}function ze(mt){let{comment:V,precedingNode:_e,enclosingNode:tt,followingNode:kt}=mt;return(tt==null?void 0:tt.type)==="UnionTypeAnnotation"||(tt==null?void 0:tt.type)==="TSUnionType"?(C(V)&&(kt.prettierIgnore=!0,V.unignore=!0),_e?(v(_e,V),!0):!1):(((kt==null?void 0:kt.type)==="UnionTypeAnnotation"||(kt==null?void 0:kt.type)==="TSUnionType")&&C(V)&&(kt.types[0].prettierIgnore=!0,V.unignore=!0),!1)}function Dt(mt){let{comment:V,enclosingNode:_e}=mt;return Z(_e)?(h(_e,V),!0):!1}function Nt(mt){let{comment:V,enclosingNode:_e,followingNode:tt,ast:kt,isLastComment:Rt}=mt;return kt&&kt.body&&kt.body.length===0?(Rt?S(kt,V):h(kt,V),!0):(_e==null?void 0:_e.type)==="Program"&&(_e==null?void 0:_e.body.length)===0&&!_(_e.directives)?(Rt?S(_e,V):h(_e,V),!0):(tt==null?void 0:tt.type)==="Program"&&(tt==null?void 0:tt.body.length)===0&&(_e==null?void 0:_e.type)==="ModuleExpression"?(S(tt,V),!0):!1}function Bt(mt){let{comment:V,enclosingNode:_e}=mt;return(_e==null?void 0:_e.type)==="ForInStatement"||(_e==null?void 0:_e.type)==="ForOfStatement"?(h(_e,V),!0):!1}function cn(mt){let{comment:V,precedingNode:_e,enclosingNode:tt,text:kt}=mt;if((tt==null?void 0:tt.type)==="ImportSpecifier"||(tt==null?void 0:tt.type)==="ExportSpecifier")return h(tt,V),!0;let Rt=(_e==null?void 0:_e.type)==="ImportSpecifier"&&(tt==null?void 0:tt.type)==="ImportDeclaration",un=(_e==null?void 0:_e.type)==="ExportSpecifier"&&(tt==null?void 0:tt.type)==="ExportNamedDeclaration";return(Rt||un)&&b(kt,y(V))?(v(_e,V),!0):!1}function Mn(mt){let{comment:V,enclosingNode:_e}=mt;return(_e==null?void 0:_e.type)==="AssignmentPattern"?(h(_e,V),!0):!1}var Tn=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),ln=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function Dn(mt){let{comment:V,enclosingNode:_e,followingNode:tt}=mt;return Tn.has(_e==null?void 0:_e.type)&&tt&&(ln.has(tt.type)||T(V))?(h(tt,V),!0):!1}function at(mt){let{comment:V,enclosingNode:_e,followingNode:tt,text:kt}=mt;return!tt&&((_e==null?void 0:_e.type)==="TSMethodSignature"||(_e==null?void 0:_e.type)==="TSDeclareFunction"||(_e==null?void 0:_e.type)==="TSAbstractMethodDefinition")&&c(kt,V,y)===";"?(v(_e,V),!0):!1}function Ee(mt){let{comment:V,enclosingNode:_e,followingNode:tt}=mt;if(C(V)&&(_e==null?void 0:_e.type)==="TSMappedType"&&(tt==null?void 0:tt.type)==="TSTypeParameter"&&tt.constraint)return _e.prettierIgnore=!0,V.unignore=!0,!0}function pt(mt){let{comment:V,precedingNode:_e,enclosingNode:tt,followingNode:kt}=mt;return(tt==null?void 0:tt.type)!=="TSMappedType"?!1:(kt==null?void 0:kt.type)==="TSTypeParameter"&&kt.name?(h(kt.name,V),!0):(_e==null?void 0:_e.type)==="TSTypeParameter"&&_e.constraint?(v(_e.constraint,V),!0):!1}function Oe(mt){let{comment:V,enclosingNode:_e,followingNode:tt}=mt;return!_e||_e.type!=="SwitchCase"||_e.test||!tt||tt!==_e.consequent[0]?!1:(tt.type==="BlockStatement"&&ye(V)?re(tt,V):S(_e,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 Zt(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"&&k(mt.value).length===0&&!mt.value.returnType&&!_(mt.value.typeParameters)&&mt.value.body)return[...mt.decorators||[],mt.key,mt.value.body]}function qt(mt){let V=mt.getValue(),_e=mt.getParentNode(),tt=kt=>Q(F(kt,J.Leading))||Q(F(kt,J.Trailing));return(V&&(x(V)||j(V)||G(_e)&&tt(V))||_e&&(_e.type==="JSXSpreadAttribute"||_e.type==="JSXSpreadChild"||_e.type==="UnionTypeAnnotation"||_e.type==="TSUnionType"||(_e.type==="ClassDeclaration"||_e.type==="ClassExpression")&&_e.superClass===V))&&(!ee(mt)||_e.type==="UnionTypeAnnotation"||_e.type==="TSUnionType")}E.exports={handleOwnLineComment:U,handleEndOfLineComment:q,handleRemainingComment:z,getCommentChildNodes:Zt,willPrintOwnComments:qt}}}),Ja=we({"src/language-js/needs-parens.js"(m,E){$e();var f=jr(),b=Mt(),{getFunctionParameters:D,getLeftSidePathName:c,hasFlowShorthandAnnotationComment:d,hasNakedLeftSide:h,hasNode:v,isBitwiseOperator:S,startsWithNoLookaheadToken:L,shouldFlatten:_,getPrecedence:k,isCallExpression:C,isMemberExpression:x,isObjectProperty:j,isTSTypeExpression:Q}=pr();function ee(F,J){let w=F.getParentNode();if(!w)return!1;let $=F.getName(),y=F.getNode();if(J.__isInHtmlInterpolation&&!J.bracketSpacing&&ne(y)&&Z(F))return!0;if(R(y))return!1;if(J.parser!=="flow"&&d(F.getValue()))return!0;if(y.type==="Identifier"){if(y.extra&&y.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(y.name)||$==="left"&&(y.name==="async"&&!w.await||y.name==="let")&&w.type==="ForOfStatement")return!0;if(y.name==="let"){var T;let U=(T=F.findAncestor(q=>q.type==="ForOfStatement"))===null||T===void 0?void 0:T.left;if(U&&L(U,q=>q===y))return!0}if($==="object"&&y.name==="let"&&w.type==="MemberExpression"&&w.computed&&!w.optional){let U=F.findAncestor(z=>z.type==="ExpressionStatement"||z.type==="ForStatement"||z.type==="ForInStatement"),q=U?U.type==="ExpressionStatement"?U.expression:U.type==="ForStatement"?U.init:U.left:void 0;if(q&&L(q,z=>z===y))return!0}return!1}if(y.type==="ObjectExpression"||y.type==="FunctionExpression"||y.type==="ClassExpression"||y.type==="DoExpression"){var I;let U=(I=F.findAncestor(q=>q.type==="ExpressionStatement"))===null||I===void 0?void 0:I.expression;if(U&&L(U,q=>q===y))return!0}switch(w.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if($==="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 ye(F,J)||y.type==="SequenceExpression";case"Decorator":{if($==="expression"){if(x(y)&&y.computed)return!0;let U=!1,q=!1,z=y;for(;z;)switch(z.type){case"MemberExpression":q=!0,z=z.object;break;case"CallExpression":if(q||U)return J.parser!=="typescript";U=!0,z=z.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return J.parser!=="typescript";default:return!0}return!0}break}case"ArrowFunctionExpression":{if($==="body"&&y.type!=="SequenceExpression"&&L(y,U=>U.type==="ObjectExpression"))return!0;break}}switch(y.type){case"UpdateExpression":if(w.type==="UnaryExpression")return y.prefix&&(y.operator==="++"&&w.operator==="+"||y.operator==="--"&&w.operator==="-");case"UnaryExpression":switch(w.type){case"UnaryExpression":return y.operator===w.operator&&(y.operator==="+"||y.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return $==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return $==="callee";case"BinaryExpression":return $==="left"&&w.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(w.type==="UpdateExpression"||y.operator==="in"&&X(F))return!0;if(y.operator==="|>"&&y.extra&&y.extra.parenthesized){let U=F.getParentNode(1);if(U.type==="BinaryExpression"&&U.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(w.type){case"TSSatisfiesExpression":case"TSAsExpression":return!Q(y);case"ConditionalExpression":return Q(y);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return $==="callee";case"ClassExpression":case"ClassDeclaration":return $==="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 $==="object";case"AssignmentExpression":case"AssignmentPattern":return $==="left"&&(y.type==="TSTypeAssertion"||Q(y));case"LogicalExpression":if(y.type==="LogicalExpression")return w.operator!==y.operator;case"BinaryExpression":{let{operator:U,type:q}=y;if(!U&&q!=="TSTypeAssertion")return!0;let z=k(U),re=w.operator,ce=k(re);return ce>z||$==="right"&&ce===z||ce===z&&!_(re,U)?!0:ce<z&&U==="%"?re==="+"||re==="-":!!S(re)}default:return!1}case"SequenceExpression":switch(w.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return $!=="expression";case"ArrowFunctionExpression":return $!=="body";default:return!0}case"YieldExpression":if(w.type==="UnaryExpression"||w.type==="AwaitExpression"||Q(w)||w.type==="TSNonNullExpression")return!0;case"AwaitExpression":switch(w.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 $==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return $==="callee";case"ConditionalExpression":return $==="test";case"BinaryExpression":return!(!y.argument&&w.operator==="|>");default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if($==="extendsType"&&w.type==="TSConditionalType"){if(y.type==="TSConditionalType")return!0;let{typeAnnotation:U}=y.returnType||y.typeAnnotation;if(U.type==="TSTypePredicate"&&U.typeAnnotation&&(U=U.typeAnnotation.typeAnnotation),U.type==="TSInferType"&&U.typeParameter.constraint)return!0}if($==="checkType"&&w.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((w.type==="TSUnionType"||w.type==="TSIntersectionType")&&w.types.length>1&&(!y.types||y.types.length>1))return!0;case"TSInferType":if(y.type==="TSInferType"&&w.type==="TSRestType")return!1;case"TSTypeOperator":return w.type==="TSArrayType"||w.type==="TSOptionalType"||w.type==="TSRestType"||$==="objectType"&&w.type==="TSIndexedAccessType"||w.type==="TSTypeOperator"||w.type==="TSTypeAnnotation"&&F.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return $==="objectType"&&w.type==="TSIndexedAccessType"||$==="elementType"&&w.type==="TSArrayType";case"TypeofTypeAnnotation":return $==="objectType"&&(w.type==="IndexedAccessType"||w.type==="OptionalIndexedAccessType")||$==="elementType"&&w.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return w.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return w.type==="ArrayTypeAnnotation"||w.type==="NullableTypeAnnotation"||w.type==="IntersectionTypeAnnotation"||w.type==="UnionTypeAnnotation"||$==="objectType"&&(w.type==="IndexedAccessType"||w.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return w.type==="ArrayTypeAnnotation"||$==="objectType"&&(w.type==="IndexedAccessType"||w.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let U=w.type==="NullableTypeAnnotation"?F.getParentNode(1):w;return U.type==="UnionTypeAnnotation"||U.type==="IntersectionTypeAnnotation"||U.type==="ArrayTypeAnnotation"||$==="objectType"&&(U.type==="IndexedAccessType"||U.type==="OptionalIndexedAccessType")||U.type==="NullableTypeAnnotation"||w.type==="FunctionTypeParam"&&w.name===null&&D(y).some(q=>q.typeAnnotation&&q.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return $==="objectType"&&w.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof y.value=="string"&&w.type==="ExpressionStatement"&&!w.directive){let U=F.getParentNode(1);return U.type==="Program"||U.type==="BlockStatement"}return $==="object"&&w.type==="MemberExpression"&&typeof y.value=="number";case"AssignmentExpression":{let U=F.getParentNode(1);return $==="body"&&w.type==="ArrowFunctionExpression"?!0:$==="key"&&(w.type==="ClassProperty"||w.type==="PropertyDefinition")&&w.computed||($==="init"||$==="update")&&w.type==="ForStatement"?!1:w.type==="ExpressionStatement"?y.left.type==="ObjectPattern":!($==="key"&&w.type==="TSPropertySignature"||w.type==="AssignmentExpression"||w.type==="SequenceExpression"&&U&&U.type==="ForStatement"&&(U.init===w||U.update===w)||$==="value"&&w.type==="Property"&&U&&U.type==="ObjectPattern"&&U.properties.includes(w)||w.type==="NGChainedExpression")}case"ConditionalExpression":switch(w.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 $==="callee";case"ConditionalExpression":return $==="test";case"MemberExpression":case"OptionalMemberExpression":return $==="object";default:return!1}case"FunctionExpression":switch(w.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return $==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(w.type){case"BinaryExpression":return w.operator!=="|>"||y.extra&&y.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return $==="callee";case"MemberExpression":case"OptionalMemberExpression":return $==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return $==="test";default:return!1}case"ClassExpression":if(b(y.decorators))return!0;switch(w.type){case"NewExpression":return $==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let U=F.getParentNode(1);if($==="object"&&w.type==="MemberExpression"||$==="callee"&&(w.type==="CallExpression"||w.type==="NewExpression")||w.type==="TSNonNullExpression"&&U.type==="MemberExpression"&&U.object===w)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if($==="callee"&&(w.type==="BindExpression"||w.type==="NewExpression")){let U=y;for(;U;)switch(U.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":U=U.object;break;case"TaggedTemplateExpression":U=U.tag;break;case"TSNonNullExpression":U=U.expression;break;default:return!1}}return!1;case"BindExpression":return $==="callee"&&(w.type==="BindExpression"||w.type==="NewExpression")||$==="object"&&x(w);case"NGPipeExpression":return!(w.type==="NGRoot"||w.type==="NGMicrosyntaxExpression"||w.type==="ObjectProperty"&&!(y.extra&&y.extra.parenthesized)||w.type==="ArrayExpression"||C(w)&&w.arguments[$]===y||$==="right"&&w.type==="NGPipeExpression"||$==="property"&&w.type==="MemberExpression"||w.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return $==="callee"||$==="left"&&w.type==="BinaryExpression"&&w.operator==="<"||w.type!=="ArrayExpression"&&w.type!=="ArrowFunctionExpression"&&w.type!=="AssignmentExpression"&&w.type!=="AssignmentPattern"&&w.type!=="BinaryExpression"&&w.type!=="NewExpression"&&w.type!=="ConditionalExpression"&&w.type!=="ExpressionStatement"&&w.type!=="JsExpressionRoot"&&w.type!=="JSXAttribute"&&w.type!=="JSXElement"&&w.type!=="JSXExpressionContainer"&&w.type!=="JSXFragment"&&w.type!=="LogicalExpression"&&!C(w)&&!j(w)&&w.type!=="ReturnStatement"&&w.type!=="ThrowStatement"&&w.type!=="TypeCastExpression"&&w.type!=="VariableDeclarator"&&w.type!=="YieldExpression";case"TypeAnnotation":return $==="returnType"&&w.type==="ArrowFunctionExpression"&&G(y)}return!1}function R(F){return F.type==="BlockStatement"||F.type==="BreakStatement"||F.type==="ClassBody"||F.type==="ClassDeclaration"||F.type==="ClassMethod"||F.type==="ClassProperty"||F.type==="PropertyDefinition"||F.type==="ClassPrivateProperty"||F.type==="ContinueStatement"||F.type==="DebuggerStatement"||F.type==="DeclareClass"||F.type==="DeclareExportAllDeclaration"||F.type==="DeclareExportDeclaration"||F.type==="DeclareFunction"||F.type==="DeclareInterface"||F.type==="DeclareModule"||F.type==="DeclareModuleExports"||F.type==="DeclareVariable"||F.type==="DoWhileStatement"||F.type==="EnumDeclaration"||F.type==="ExportAllDeclaration"||F.type==="ExportDefaultDeclaration"||F.type==="ExportNamedDeclaration"||F.type==="ExpressionStatement"||F.type==="ForInStatement"||F.type==="ForOfStatement"||F.type==="ForStatement"||F.type==="FunctionDeclaration"||F.type==="IfStatement"||F.type==="ImportDeclaration"||F.type==="InterfaceDeclaration"||F.type==="LabeledStatement"||F.type==="MethodDefinition"||F.type==="ReturnStatement"||F.type==="SwitchStatement"||F.type==="ThrowStatement"||F.type==="TryStatement"||F.type==="TSDeclareFunction"||F.type==="TSEnumDeclaration"||F.type==="TSImportEqualsDeclaration"||F.type==="TSInterfaceDeclaration"||F.type==="TSModuleDeclaration"||F.type==="TSNamespaceExportDeclaration"||F.type==="TypeAlias"||F.type==="VariableDeclaration"||F.type==="WhileStatement"||F.type==="WithStatement"}function X(F){let J=0,w=F.getValue();for(;w;){let $=F.getParentNode(J++);if($&&$.type==="ForStatement"&&$.init===w)return!0;w=$}return!1}function G(F){return v(F,J=>J.type==="ObjectTypeAnnotation"&&v(J,w=>w.type==="FunctionTypeAnnotation"||void 0)||void 0)}function ne(F){switch(F.type){case"ObjectExpression":return!0;default:return!1}}function Z(F){let J=F.getValue(),w=F.getParentNode(),$=F.getName();switch(w.type){case"NGPipeExpression":if(typeof $=="number"&&w.arguments[$]===J&&w.arguments.length-1===$)return F.callParent(Z);break;case"ObjectProperty":if($==="value"){let y=F.getParentNode(1);return f(y.properties)===w}break;case"BinaryExpression":case"LogicalExpression":if($==="right")return F.callParent(Z);break;case"ConditionalExpression":if($==="alternate")return F.callParent(Z);break;case"UnaryExpression":if(w.prefix)return F.callParent(Z);break}return!1}function ye(F,J){let w=F.getValue(),$=F.getParentNode();return w.type==="FunctionExpression"||w.type==="ClassExpression"?$.type==="ExportDefaultDeclaration"||!ee(F,J):!h(w)||$.type!=="ExportDefaultDeclaration"&&ee(F,J)?!1:F.call(y=>ye(y,J),...c(F,w))}E.exports=ee}}),C0=we({"src/language-js/print-preprocess.js"(m,E){$e();function f(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}}E.exports=f}}),Yv=we({"src/language-js/print/html-binding.js"(m,E){$e();var{builders:{join:f,line:b,group:D,softline:c,indent:d}}=wn();function h(S,L,_){let k=S.getValue();if(L.__onHtmlBindingRoot&&S.getName()===null&&L.__onHtmlBindingRoot(k,L),k.type==="File"){if(L.__isVueForBindingLeft)return S.call(C=>{let x=f([",",b],C.map(_,"params")),{params:j}=C.getValue();return j.length===1?x:["(",d([c,D(x)]),c,")"]},"program","body",0);if(L.__isVueBindings)return S.call(C=>f([",",b],C.map(_,"params")),"program","body",0)}}function v(S){switch(S.type){case"MemberExpression":switch(S.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return v(S.object)}return!1;case"Identifier":return!0;default:return!1}}E.exports={isVueEventBindingExpression:v,printHtmlBinding:h}}}),$f=we({"src/language-js/print/binaryish.js"(m,E){$e();var{printComments:f}=Br(),{getLast:b}=ge(),{builders:{join:D,line:c,softline:d,group:h,indent:v,align:S,indentIfBreak:L},utils:{cleanDoc:_,getDocParts:k,isConcat:C}}=wn(),{hasLeadingOwnLineComment:x,isBinaryish:j,isJsxNode:Q,shouldFlatten:ee,hasComment:R,CommentCheckFlags:X,isCallExpression:G,isMemberExpression:ne,isObjectProperty:Z,isEnabledHackPipeline:ye}=pr(),F=0;function J(y,T,I){let U=y.getValue(),q=y.getParentNode(),z=y.getParentNode(1),re=U!==q.body&&(q.type==="IfStatement"||q.type==="WhileStatement"||q.type==="SwitchStatement"||q.type==="DoWhileStatement"),ce=ye(T)&&U.operator==="|>",me=w(y,I,T,!1,re);if(re)return me;if(ce)return h(me);if(G(q)&&q.callee===U||q.type==="UnaryExpression"||ne(q)&&!q.computed)return h([v([d,...me]),d]);let fe=q.type==="ReturnStatement"||q.type==="ThrowStatement"||q.type==="JSXExpressionContainer"&&z.type==="JSXAttribute"||U.operator!=="|"&&q.type==="JsExpressionRoot"||U.type!=="NGPipeExpression"&&(q.type==="NGRoot"&&T.parser==="__ng_binding"||q.type==="NGMicrosyntaxExpression"&&z.type==="NGMicrosyntax"&&z.body.length===1)||U===q.body&&q.type==="ArrowFunctionExpression"||U!==q.body&&q.type==="ForStatement"||q.type==="ConditionalExpression"&&z.type!=="ReturnStatement"&&z.type!=="ThrowStatement"&&!G(z)||q.type==="TemplateLiteral",Fe=q.type==="AssignmentExpression"||q.type==="VariableDeclarator"||q.type==="ClassProperty"||q.type==="PropertyDefinition"||q.type==="TSAbstractPropertyDefinition"||q.type==="ClassPrivateProperty"||Z(q),se=j(U.left)&&ee(U.operator,U.left.operator);if(fe||$(U)&&!se||!$(U)&&Fe)return h(me);if(me.length===0)return"";let We=Q(U.right),he=me.findIndex(De=>typeof De!="string"&&!Array.isArray(De)&&De.type==="group"),oe=me.slice(0,he===-1?1:he+1),qe=me.slice(oe.length,We?-1:void 0),et=Symbol("logicalChain-"+ ++F),Je=h([...oe,v(qe)],{id:et});if(!We)return Je;let dt=b(me);return h([Je,L(dt,{groupId:et})])}function w(y,T,I,U,q){let z=y.getValue();if(!j(z))return[h(T())];let re=[];ee(z.operator,z.left.operator)?re=y.call(qe=>w(qe,T,I,!0,q),"left"):re.push(h(T("left")));let ce=$(z),me=(z.operator==="|>"||z.type==="NGPipeExpression"||z.operator==="|"&&I.parser==="__vue_expression")&&!x(I.originalText,z.right),fe=z.type==="NGPipeExpression"?"|":z.operator,Fe=z.type==="NGPipeExpression"&&z.arguments.length>0?h(v([c,": ",D([c,": "],y.map(T,"arguments").map(qe=>S(2,h(qe))))])):"",se;if(ce)se=[fe," ",T("right"),Fe];else{let qe=ye(I)&&fe==="|>"?y.call(et=>w(et,T,I,!0,q),"right"):T("right");se=[me?c:"",fe,me?" ":c,qe,Fe]}let We=y.getParentNode(),he=R(z.left,X.Trailing|X.Line),oe=he||!(q&&z.type==="LogicalExpression")&&We.type!==z.type&&z.left.type!==z.type&&z.right.type!==z.type;if(re.push(me?"":" ",oe?h(se,{shouldBreak:he}):se),U&&R(z)){let qe=_(f(y,re,I));return C(qe)||qe.type==="fill"?k(qe):[qe]}return re}function $(y){return y.type!=="LogicalExpression"?!1:!!(y.right.type==="ObjectExpression"&&y.right.properties.length>0||y.right.type==="ArrayExpression"&&y.right.elements.length>0||Q(y.right))}E.exports={printBinaryishExpression:J,shouldInlineLogicalExpression:$}}}),Hv=we({"src/language-js/print/angular.js"(m,E){$e();var{builders:{join:f,line:b,group:D}}=wn(),{hasNode:c,hasComment:d,getComments:h}=pr(),{printBinaryishExpression:v}=$f();function S(k,C,x){let j=k.getValue();if(j.type.startsWith("NG"))switch(j.type){case"NGRoot":return[x("node"),d(j.node)?" //"+h(j.node)[0].value.trimEnd():""];case"NGPipeExpression":return v(k,C,x);case"NGChainedExpression":return D(f([";",b],k.map(Q=>_(Q)?x():["(",x(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[j.prefix,": ",j.value.trim()];case"NGMicrosyntax":return k.map((Q,ee)=>[ee===0?"":L(Q.getValue(),ee,j)?" ":[";",b],x()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(j.name)?j.name:JSON.stringify(j.name);case"NGMicrosyntaxExpression":return[x("expression"),j.alias===null?"":[" as ",x("alias")]];case"NGMicrosyntaxKeyedExpression":{let Q=k.getName(),ee=k.getParentNode(),R=L(j,Q,ee)||(Q===1&&(j.key.name==="then"||j.key.name==="else")||Q===2&&j.key.name==="else"&&ee.body[Q-1].type==="NGMicrosyntaxKeyedExpression"&&ee.body[Q-1].key.name==="then")&&ee.body[0].type==="NGMicrosyntaxExpression";return[x("key"),R?" ":": ",x("expression")]}case"NGMicrosyntaxLet":return["let ",x("key"),j.value===null?"":[" = ",x("value")]];case"NGMicrosyntaxAs":return[x("key")," as ",x("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(j.type)}.`)}}function L(k,C,x){return k.type==="NGMicrosyntaxKeyedExpression"&&k.key.name==="of"&&C===1&&x.body[0].type==="NGMicrosyntaxLet"&&x.body[0].value===null}function _(k){return c(k.getValue(),C=>{switch(C.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}E.exports={printAngular:S}}}),zv=we({"src/language-js/print/jsx.js"(m,E){$e();var{printComments:f,printDanglingComments:b,printCommentsSeparately:D}=Br(),{builders:{line:c,hardline:d,softline:h,group:v,indent:S,conditionalGroup:L,fill:_,ifBreak:k,lineSuffixBoundary:C,join:x},utils:{willBreak:j}}=wn(),{getLast:Q,getPreferredQuote:ee}=ge(),{isJsxNode:R,rawText:X,isCallExpression:G,isStringLiteral:ne,isBinaryish:Z,hasComment:ye,CommentCheckFlags:F,hasNodeIgnoreComment:J}=pr(),w=Ja(),{willPrintOwnComments:$}=A0(),y=Ce=>Ce===""||Ce===c||Ce===d||Ce===h;function T(Ce,Ye,ze){let Dt=Ce.getValue();if(Dt.type==="JSXElement"&&ct(Dt))return[ze("openingElement"),ze("closingElement")];let Nt=Dt.type==="JSXElement"?ze("openingElement"):ze("openingFragment"),Bt=Dt.type==="JSXElement"?ze("closingElement"):ze("closingFragment");if(Dt.children.length===1&&Dt.children[0].type==="JSXExpressionContainer"&&(Dt.children[0].expression.type==="TemplateLiteral"||Dt.children[0].expression.type==="TaggedTemplateExpression"))return[Nt,...Ce.map(ze,"children"),Bt];Dt.children=Dt.children.map(V=>Jt(V)?{type:"JSXText",value:" ",raw:" "}:V);let cn=Dt.children.some(R),Mn=Dt.children.filter(V=>V.type==="JSXExpressionContainer").length>1,Tn=Dt.type==="JSXElement"&&Dt.openingElement.attributes.length>1,ln=j(Nt)||cn||Tn||Mn,Dn=Ce.getParentNode().rootMarker==="mdx",at=Ye.singleQuote?"{' '}":'{" "}',Ee=Dn?" ":k([at,h]," "),pt=Dt.openingElement&&Dt.openingElement.name&&Dt.openingElement.name.name==="fbt",Oe=I(Ce,Ye,ze,Ee,pt),lt=Dt.children.some(V=>ft(V));for(let V=Oe.length-2;V>=0;V--){let _e=Oe[V]===""&&Oe[V+1]==="",tt=Oe[V]===d&&Oe[V+1]===""&&Oe[V+2]===d,kt=(Oe[V]===h||Oe[V]===d)&&Oe[V+1]===""&&Oe[V+2]===Ee,Rt=Oe[V]===Ee&&Oe[V+1]===""&&(Oe[V+2]===h||Oe[V+2]===d),un=Oe[V]===Ee&&Oe[V+1]===""&&Oe[V+2]===Ee,It=Oe[V]===h&&Oe[V+1]===""&&Oe[V+2]===d||Oe[V]===d&&Oe[V+1]===""&&Oe[V+2]===h;tt&&lt||_e||kt||un||It?Oe.splice(V,2):Rt&&Oe.splice(V+1,2)}for(;Oe.length>0&&y(Q(Oe));)Oe.pop();for(;Oe.length>1&&y(Oe[0])&&y(Oe[1]);)Oe.shift(),Oe.shift();let Zt=[];for(let[V,_e]of Oe.entries()){if(_e===Ee){if(V===1&&Oe[V-1]===""){if(Oe.length===2){Zt.push(at);continue}Zt.push([at,d]);continue}else if(V===Oe.length-1){Zt.push(at);continue}else if(Oe[V-1]===""&&Oe[V-2]===d){Zt.push(at);continue}}Zt.push(_e),j(_e)&&(ln=!0)}let qt=lt?_(Zt):v(Zt,{shouldBreak:!0});if(Dn)return qt;let mt=v([Nt,S([d,qt]),d,Bt]);return ln?mt:L([v([Nt,...Oe,Bt]),mt])}function I(Ce,Ye,ze,Dt,Nt){let Bt=[];return Ce.each((cn,Mn,Tn)=>{let ln=cn.getValue();if(ln.type==="JSXText"){let Dn=X(ln);if(ft(ln)){let at=Dn.split(dt);if(at[0]===""){if(Bt.push(""),at.shift(),/\n/.test(at[0])){let pt=Tn[Mn+1];Bt.push(q(Nt,at[1],ln,pt))}else Bt.push(Dt);at.shift()}let Ee;if(Q(at)===""&&(at.pop(),Ee=at.pop()),at.length===0)return;for(let[pt,Oe]of at.entries())pt%2===1?Bt.push(c):Bt.push(Oe);if(Ee!==void 0)if(/\n/.test(Ee)){let pt=Tn[Mn+1];Bt.push(q(Nt,Q(Bt),ln,pt))}else Bt.push(Dt);else{let pt=Tn[Mn+1];Bt.push(U(Nt,Q(Bt),ln,pt))}}else/\n/.test(Dn)?Dn.match(/\n/g).length>1&&Bt.push("",d):Bt.push("",Dt)}else{let Dn=ze();Bt.push(Dn);let at=Tn[Mn+1];if(at&&ft(at)){let Ee=Ie(X(at)).split(dt)[0];Bt.push(U(Nt,Ee,ln,at))}else Bt.push(d)}},"children"),Bt}function U(Ce,Ye,ze,Dt){return Ce?"":ze.type==="JSXElement"&&!ze.closingElement||Dt&&Dt.type==="JSXElement"&&!Dt.closingElement?Ye.length===1?h:d:h}function q(Ce,Ye,ze,Dt){return Ce?d:Ye.length===1?ze.type==="JSXElement"&&!ze.closingElement||Dt&&Dt.type==="JSXElement"&&!Dt.closingElement?d:h:d}function z(Ce,Ye,ze){let Dt=Ce.getParentNode();if(!Dt||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[Dt.type])return Ye;let Nt=Ce.match(void 0,cn=>cn.type==="ArrowFunctionExpression",G,cn=>cn.type==="JSXExpressionContainer"),Bt=w(Ce,ze);return v([Bt?"":k("("),S([h,Ye]),h,Bt?"":k(")")],{shouldBreak:Nt})}function re(Ce,Ye,ze){let Dt=Ce.getValue(),Nt=[];if(Nt.push(ze("name")),Dt.value){let Bt;if(ne(Dt.value)){let cn=X(Dt.value).slice(1,-1).replace(/&apos;/g,"'").replace(/&quot;/g,'"'),{escaped:Mn,quote:Tn,regex:ln}=ee(cn,Ye.jsxSingleQuote?"'":'"');cn=cn.replace(ln,Mn);let{leading:Dn,trailing:at}=Ce.call(()=>D(Ce,Ye),"value");Bt=[Dn,Tn,cn,Tn,at]}else Bt=ze("value");Nt.push("=",Bt)}return Nt}function ce(Ce,Ye,ze){let Dt=Ce.getValue(),Nt=(Bt,cn)=>Bt.type==="JSXEmptyExpression"||!ye(Bt)&&(Bt.type==="ArrayExpression"||Bt.type==="ObjectExpression"||Bt.type==="ArrowFunctionExpression"||Bt.type==="AwaitExpression"&&(Nt(Bt.argument,Bt)||Bt.argument.type==="JSXElement")||G(Bt)||Bt.type==="FunctionExpression"||Bt.type==="TemplateLiteral"||Bt.type==="TaggedTemplateExpression"||Bt.type==="DoExpression"||R(cn)&&(Bt.type==="ConditionalExpression"||Z(Bt)));return Nt(Dt.expression,Ce.getParentNode(0))?v(["{",ze("expression"),C,"}"]):v(["{",S([h,ze("expression")]),h,C,"}"])}function me(Ce,Ye,ze){let Dt=Ce.getValue(),Nt=Dt.name&&ye(Dt.name)||Dt.typeParameters&&ye(Dt.typeParameters);if(Dt.selfClosing&&Dt.attributes.length===0&&!Nt)return["<",ze("name"),ze("typeParameters")," />"];if(Dt.attributes&&Dt.attributes.length===1&&Dt.attributes[0].value&&ne(Dt.attributes[0].value)&&!Dt.attributes[0].value.value.includes(`
203
- `)&&!Nt&&!ye(Dt.attributes[0]))return v(["<",ze("name"),ze("typeParameters")," ",...Ce.map(ze,"attributes"),Dt.selfClosing?" />":">"]);let Bt=Dt.attributes&&Dt.attributes.some(Mn=>Mn.value&&ne(Mn.value)&&Mn.value.value.includes(`
204
- `)),cn=Ye.singleAttributePerLine&&Dt.attributes.length>1?d:c;return v(["<",ze("name"),ze("typeParameters"),S(Ce.map(()=>[cn,ze()],"attributes")),...fe(Dt,Ye,Nt)],{shouldBreak:Bt})}function fe(Ce,Ye,ze){return Ce.selfClosing?[c,"/>"]:Fe(Ce,Ye,ze)?[">"]:[h,">"]}function Fe(Ce,Ye,ze){let Dt=Ce.attributes.length>0&&ye(Q(Ce.attributes),F.Trailing);return Ce.attributes.length===0&&!ze||(Ye.bracketSameLine||Ye.jsxBracketSameLine)&&(!ze||Ce.attributes.length>0)&&!Dt}function se(Ce,Ye,ze){let Dt=Ce.getValue(),Nt=[];Nt.push("</");let Bt=ze("name");return ye(Dt.name,F.Leading|F.Line)?Nt.push(S([d,Bt]),d):ye(Dt.name,F.Leading|F.Block)?Nt.push(" ",Bt):Nt.push(Bt),Nt.push(">"),Nt}function We(Ce,Ye){let ze=Ce.getValue(),Dt=ye(ze),Nt=ye(ze,F.Line),Bt=ze.type==="JSXOpeningFragment";return[Bt?"<":"</",S([Nt?d:Dt&&!Bt?" ":"",b(Ce,Ye,!0)]),Nt?d:"",">"]}function he(Ce,Ye,ze){let Dt=f(Ce,T(Ce,Ye,ze),Ye);return z(Ce,Dt,Ye)}function oe(Ce,Ye){let ze=Ce.getValue(),Dt=ye(ze,F.Line);return[b(Ce,Ye,!Dt),Dt?d:""]}function qe(Ce,Ye,ze){let Dt=Ce.getValue();return["{",Ce.call(Nt=>{let Bt=["...",ze()],cn=Nt.getValue();return!ye(cn)||!$(Nt)?Bt:[S([h,f(Nt,Bt,Ye)]),h]},Dt.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function et(Ce,Ye,ze){let Dt=Ce.getValue();if(Dt.type.startsWith("JSX"))switch(Dt.type){case"JSXAttribute":return re(Ce,Ye,ze);case"JSXIdentifier":return String(Dt.name);case"JSXNamespacedName":return x(":",[ze("namespace"),ze("name")]);case"JSXMemberExpression":return x(".",[ze("object"),ze("property")]);case"JSXSpreadAttribute":return qe(Ce,Ye,ze);case"JSXSpreadChild":return qe(Ce,Ye,ze);case"JSXExpressionContainer":return ce(Ce,Ye,ze);case"JSXFragment":case"JSXElement":return he(Ce,Ye,ze);case"JSXOpeningElement":return me(Ce,Ye,ze);case"JSXClosingElement":return se(Ce,Ye,ze);case"JSXOpeningFragment":case"JSXClosingFragment":return We(Ce,Ye);case"JSXEmptyExpression":return oe(Ce,Ye);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(Dt.type)}.`)}}var Je=`
205
- \r `,dt=new RegExp("(["+Je+"]+)"),De=new RegExp("[^"+Je+"]"),Ie=Ce=>Ce.replace(new RegExp("(?:^"+dt.source+"|"+dt.source+"$)"),"");function ct(Ce){if(Ce.children.length===0)return!0;if(Ce.children.length>1)return!1;let Ye=Ce.children[0];return Ye.type==="JSXText"&&!ft(Ye)}function ft(Ce){return Ce.type==="JSXText"&&(De.test(X(Ce))||!/\n/.test(X(Ce)))}function Jt(Ce){return Ce.type==="JSXExpressionContainer"&&ne(Ce.expression)&&Ce.expression.value===" "&&!ye(Ce.expression)}function Re(Ce){let Ye=Ce.getValue(),ze=Ce.getParentNode();if(!ze||!Ye||!R(Ye)||!R(ze))return!1;let Dt=ze.children.indexOf(Ye),Nt=null;for(let Bt=Dt;Bt>0;Bt--){let cn=ze.children[Bt-1];if(!(cn.type==="JSXText"&&!ft(cn))){Nt=cn;break}}return Nt&&Nt.type==="JSXExpressionContainer"&&Nt.expression.type==="JSXEmptyExpression"&&J(Nt.expression)}E.exports={hasJsxIgnoreComment:Re,printJsx:et}}}),Ai=we({"src/language-js/print/misc.js"(m,E){$e();var{isNonEmptyArray:f}=ge(),{builders:{indent:b,join:D,line:c}}=wn(),{isFlowAnnotationComment:d}=pr();function h(Q){let ee=Q.getValue();return!ee.optional||ee.type==="Identifier"&&ee===Q.getParentNode().key?"":ee.type==="OptionalCallExpression"||ee.type==="OptionalMemberExpression"&&ee.computed?"?.":"?"}function v(Q){return Q.getValue().definite||Q.match(void 0,(ee,R)=>R==="id"&&ee.type==="VariableDeclarator"&&ee.definite)?"!":""}function S(Q,ee,R){let X=Q.getValue();return X.typeArguments?R("typeArguments"):X.typeParameters?R("typeParameters"):""}function L(Q,ee,R){let X=Q.getValue();if(!X.typeAnnotation)return"";let G=Q.getParentNode(),ne=G.type==="DeclareFunction"&&G.id===X;return d(ee.originalText,X.typeAnnotation)?[" /*: ",R("typeAnnotation")," */"]:[ne?"":": ",R("typeAnnotation")]}function _(Q,ee,R){return["::",R("callee")]}function k(Q,ee,R){let X=Q.getValue();return f(X.modifiers)?[D(" ",Q.map(R,"modifiers"))," "]:""}function C(Q,ee,R){return Q.type==="EmptyStatement"?";":Q.type==="BlockStatement"||R?[" ",ee]:b([c,ee])}function x(Q,ee,R){return["...",R("argument"),L(Q,ee,R)]}function j(Q,ee){let R=Q.slice(1,-1);if(R.includes('"')||R.includes("'"))return Q;let X=ee.singleQuote?"'":'"';return X+R+X}E.exports={printOptionalToken:h,printDefiniteToken:v,printFunctionTypeParameters:S,printBindExpressionCallee:_,printTypeScriptModifiers:k,printTypeAnnotation:L,printRestSpread:x,adjustClause:C,printDirective:j}}}),ko=we({"src/language-js/print/array.js"(m,E){$e();var{printDanglingComments:f}=Br(),{builders:{line:b,softline:D,hardline:c,group:d,indent:h,ifBreak:v,fill:S}}=wn(),{getLast:L,hasNewline:_}=ge(),{shouldPrintComma:k,hasComment:C,CommentCheckFlags:x,isNextLineEmpty:j,isNumericLiteral:Q,isSignedNumericLiteral:ee}=pr(),{locStart:R}=ri(),{printOptionalToken:X,printTypeAnnotation:G}=Ai();function ne(J,w,$){let y=J.getValue(),T=[],I=y.type==="TupleExpression"?"#[":"[",U="]";if(y.elements.length===0)C(y,x.Dangling)?T.push(d([I,f(J,w),D,U])):T.push(I,U);else{let q=L(y.elements),z=!(q&&q.type==="RestElement"),re=q===null,ce=Symbol("array"),me=!w.__inJestEach&&y.elements.length>1&&y.elements.every((se,We,he)=>{let oe=se&&se.type;if(oe!=="ArrayExpression"&&oe!=="ObjectExpression")return!1;let qe=he[We+1];if(qe&&oe!==qe.type)return!1;let et=oe==="ArrayExpression"?"elements":"properties";return se[et]&&se[et].length>1}),fe=Z(y,w),Fe=z?re?",":k(w)?fe?v(",","",{groupId:ce}):v(","):"":"";T.push(d([I,h([D,fe?F(J,w,$,Fe):[ye(J,w,"elements",$),Fe],f(J,w,!0)]),D,U],{shouldBreak:me,id:ce}))}return T.push(X(J),G(J,w,$)),T}function Z(J,w){return J.elements.length>1&&J.elements.every($=>$&&(Q($)||ee($)&&!C($.argument))&&!C($,x.Trailing|x.Line,y=>!_(w.originalText,R(y),{backwards:!0})))}function ye(J,w,$,y){let T=[],I=[];return J.each(U=>{T.push(I,d(y())),I=[",",b],U.getValue()&&j(U.getValue(),w)&&I.push(D)},$),T}function F(J,w,$,y){let T=[];return J.each((I,U,q)=>{let z=U===q.length-1;T.push([$(),z?y:","]),z||T.push(j(I.getValue(),w)?[c,c]:C(q[U+1],x.Leading|x.Line)?c:b)},"elements"),S(T)}E.exports={printArray:ne,printArrayItems:ye,isConciselyPrintedArray:Z}}}),S0=we({"src/language-js/print/call-arguments.js"(m,E){$e();var{printDanglingComments:f}=Br(),{getLast:b,getPenultimate:D}=ge(),{getFunctionParameters:c,hasComment:d,CommentCheckFlags:h,isFunctionCompositionArgs:v,isJsxNode:S,isLongCurriedCallExpression:L,shouldPrintComma:_,getCallArguments:k,iterateCallArgumentsPath:C,isNextLineEmpty:x,isCallExpression:j,isStringLiteral:Q,isObjectProperty:ee,isTSTypeExpression:R}=pr(),{builders:{line:X,hardline:G,softline:ne,group:Z,indent:ye,conditionalGroup:F,ifBreak:J,breakParent:w},utils:{willBreak:$}}=wn(),{ArgExpansionBailout:y}=tn(),{isConciselyPrintedArray:T}=ko();function I(fe,Fe,se){let We=fe.getValue(),he=We.type==="ImportExpression",oe=k(We);if(oe.length===0)return["(",f(fe,Fe,!0),")"];if(re(oe))return["(",se(["arguments",0]),", ",se(["arguments",1]),")"];let qe=!1,et=!1,Je=oe.length-1,dt=[];C(fe,(Re,Ce)=>{let Ye=Re.getNode(),ze=[se()];Ce===Je||(x(Ye,Fe)?(Ce===0&&(et=!0),qe=!0,ze.push(",",G,G)):ze.push(",",X)),dt.push(ze)});let De=!(he||We.callee&&We.callee.type==="Import")&&_(Fe,"all")?",":"";function Ie(){return Z(["(",ye([X,...dt]),De,X,")"],{shouldBreak:!0})}if(qe||fe.getParentNode().type!=="Decorator"&&v(oe))return Ie();let ct=z(oe),ft=q(oe,Fe);if(ct||ft){if(ct?dt.slice(1).some($):dt.slice(0,-1).some($))return Ie();let Re=[];try{fe.try(()=>{C(fe,(Ce,Ye)=>{ct&&Ye===0&&(Re=[[se([],{expandFirstArg:!0}),dt.length>1?",":"",et?G:X,et?G:""],...dt.slice(1)]),ft&&Ye===Je&&(Re=[...dt.slice(0,-1),se([],{expandLastArg:!0})])})})}catch(Ce){if(Ce instanceof y)return Ie();throw Ce}return[dt.some($)?w:"",F([["(",...Re,")"],ct?["(",Z(Re[0],{shouldBreak:!0}),...Re.slice(1),")"]:["(",...dt.slice(0,-1),Z(b(Re),{shouldBreak:!0}),")"],Ie()])]}let Jt=["(",ye([ne,...dt]),J(De),ne,")"];return L(fe)?Jt:Z(Jt,{shouldBreak:dt.some($)||qe})}function U(fe){let Fe=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"&&U(fe.expression)||R(fe)&&U(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"&&U(fe.body,!0)||fe.body.type==="ObjectExpression"||fe.body.type==="ArrayExpression"||!Fe&&(j(fe.body)||fe.body.type==="ConditionalExpression")||S(fe.body))||fe.type==="DoExpression"||fe.type==="ModuleExpression"}function q(fe,Fe){let se=b(fe),We=D(fe);return!d(se,h.Leading)&&!d(se,h.Trailing)&&U(se)&&(!We||We.type!==se.type)&&(fe.length!==2||We.type!=="ArrowFunctionExpression"||se.type!=="ArrayExpression")&&!(fe.length>1&&se.type==="ArrayExpression"&&T(se,Fe))}function z(fe){if(fe.length!==2)return!1;let[Fe,se]=fe;return Fe.type==="ModuleExpression"&&me(se)?!0:!d(Fe)&&(Fe.type==="FunctionExpression"||Fe.type==="ArrowFunctionExpression"&&Fe.body.type==="BlockStatement")&&se.type!=="FunctionExpression"&&se.type!=="ArrowFunctionExpression"&&se.type!=="ConditionalExpression"&&!U(se)}function re(fe){return fe.length===2&&fe[0].type==="ArrowFunctionExpression"&&c(fe[0]).length===0&&fe[0].body.type==="BlockStatement"&&fe[1].type==="ArrayExpression"&&!fe.some(Fe=>d(Fe))}function ce(fe){return fe.type==="BlockStatement"&&(fe.body.some(Fe=>Fe.type!=="EmptyStatement")||d(fe,h.Dangling))}function me(fe){return fe.type==="ObjectExpression"&&fe.properties.length===1&&ee(fe.properties[0])&&fe.properties[0].key.type==="Identifier"&&fe.properties[0].key.name==="type"&&Q(fe.properties[0].value)&&fe.properties[0].value.value==="module"}E.exports=I}}),x0=we({"src/language-js/print/member.js"(m,E){$e();var{builders:{softline:f,group:b,indent:D,label:c}}=wn(),{isNumericLiteral:d,isMemberExpression:h,isCallExpression:v}=pr(),{printOptionalToken:S}=Ai();function L(k,C,x){let j=k.getValue(),Q=k.getParentNode(),ee,R=0;do ee=k.getParentNode(R),R++;while(ee&&(h(ee)||ee.type==="TSNonNullExpression"));let X=x("object"),G=_(k,C,x),ne=ee&&(ee.type==="NewExpression"||ee.type==="BindExpression"||ee.type==="AssignmentExpression"&&ee.left.type!=="Identifier")||j.computed||j.object.type==="Identifier"&&j.property.type==="Identifier"&&!h(Q)||(Q.type==="AssignmentExpression"||Q.type==="VariableDeclarator")&&(v(j.object)&&j.object.arguments.length>0||j.object.type==="TSNonNullExpression"&&v(j.object.expression)&&j.object.expression.arguments.length>0||X.label==="member-chain");return c(X.label==="member-chain"?"member-chain":"member",[X,ne?G:b(D([f,G]))])}function _(k,C,x){let j=x("property"),Q=k.getValue(),ee=S(k);return Q.computed?!Q.property||d(Q.property)?[ee,"[",j,"]"]:b([ee,"[",D([f,j]),f,"]"]):[ee,".",j]}E.exports={printMemberExpression:L,printMemberLookup:_}}}),Qv=we({"src/language-js/print/member-chain.js"(m,E){$e();var{printComments:f}=Br(),{getLast:b,isNextLineEmptyAfterIndex:D,getNextNonSpaceNonCommentCharacterIndex:c}=ge(),d=Ja(),{isCallExpression:h,isMemberExpression:v,isFunctionOrArrowExpression:S,isLongCurriedCallExpression:L,isMemberish:_,isNumericLiteral:k,isSimpleCallArgument:C,hasComment:x,CommentCheckFlags:j,isNextLineEmpty:Q}=pr(),{locEnd:ee}=ri(),{builders:{join:R,hardline:X,group:G,indent:ne,conditionalGroup:Z,breakParent:ye,label:F},utils:{willBreak:J}}=wn(),w=S0(),{printMemberLookup:$}=x0(),{printOptionalToken:y,printFunctionTypeParameters:T,printBindExpressionCallee:I}=Ai();function U(q,z,re){let ce=q.getParentNode(),me=!ce||ce.type==="ExpressionStatement",fe=[];function Fe(ln){let{originalText:Dn}=z,at=c(Dn,ln,ee);return Dn.charAt(at)===")"?at!==!1&&D(Dn,at+1):Q(ln,z)}function se(ln){let Dn=ln.getValue();h(Dn)&&(_(Dn.callee)||h(Dn.callee))?(fe.unshift({node:Dn,printed:[f(ln,[y(ln),T(ln,z,re),w(ln,z,re)],z),Fe(Dn)?X:""]}),ln.call(at=>se(at),"callee")):_(Dn)?(fe.unshift({node:Dn,needsParens:d(ln,z),printed:f(ln,v(Dn)?$(ln,z,re):I(ln,z,re),z)}),ln.call(at=>se(at),"object")):Dn.type==="TSNonNullExpression"?(fe.unshift({node:Dn,printed:f(ln,"!",z)}),ln.call(at=>se(at),"expression")):fe.unshift({node:Dn,printed:re()})}let We=q.getValue();fe.unshift({node:We,printed:[y(q),T(q,z,re),w(q,z,re)]}),We.callee&&q.call(ln=>se(ln),"callee");let he=[],oe=[fe[0]],qe=1;for(;qe<fe.length&&(fe[qe].node.type==="TSNonNullExpression"||h(fe[qe].node)||v(fe[qe].node)&&fe[qe].node.computed&&k(fe[qe].node.property));++qe)oe.push(fe[qe]);if(!h(fe[0].node))for(;qe+1<fe.length&&_(fe[qe].node)&&_(fe[qe+1].node);++qe)oe.push(fe[qe]);he.push(oe),oe=[];let et=!1;for(;qe<fe.length;++qe){if(et&&_(fe[qe].node)){if(fe[qe].node.computed&&k(fe[qe].node.property)){oe.push(fe[qe]);continue}he.push(oe),oe=[],et=!1}(h(fe[qe].node)||fe[qe].node.type==="ImportExpression")&&(et=!0),oe.push(fe[qe]),x(fe[qe].node,j.Trailing)&&(he.push(oe),oe=[],et=!1)}oe.length>0&&he.push(oe);function Je(ln){return/^[A-Z]|^[$_]+$/.test(ln)}function dt(ln){return ln.length<=z.tabWidth}function De(ln){let Dn=ln[1].length>0&&ln[1][0].node.computed;if(ln[0].length===1){let Ee=ln[0][0].node;return Ee.type==="ThisExpression"||Ee.type==="Identifier"&&(Je(Ee.name)||me&&dt(Ee.name)||Dn)}let at=b(ln[0]).node;return v(at)&&at.property.type==="Identifier"&&(Je(at.property.name)||Dn)}let Ie=he.length>=2&&!x(he[1][0].node)&&De(he);function ct(ln){let Dn=ln.map(at=>at.printed);return ln.length>0&&b(ln).needsParens?["(",...Dn,")"]:Dn}function ft(ln){return ln.length===0?"":ne(G([X,R(X,ln.map(ct))]))}let Jt=he.map(ct),Re=Jt,Ce=Ie?3:2,Ye=he.flat(),ze=Ye.slice(1,-1).some(ln=>x(ln.node,j.Leading))||Ye.slice(0,-1).some(ln=>x(ln.node,j.Trailing))||he[Ce]&&x(he[Ce][0].node,j.Leading);if(he.length<=Ce&&!ze)return L(q)?Re:G(Re);let Dt=b(he[Ie?1:0]).node,Nt=!h(Dt)&&Fe(Dt),Bt=[ct(he[0]),Ie?he.slice(1,2).map(ct):"",Nt?X:"",ft(he.slice(Ie?2:1))],cn=fe.map(ln=>{let{node:Dn}=ln;return Dn}).filter(h);function Mn(){let ln=b(b(he)).node,Dn=b(Jt);return h(ln)&&J(Dn)&&cn.slice(0,-1).some(at=>at.arguments.some(S))}let Tn;return ze||cn.length>2&&cn.some(ln=>!ln.arguments.every(Dn=>C(Dn,0)))||Jt.slice(0,-1).some(J)||Mn()?Tn=G(Bt):Tn=[J(Re)||Nt?ye:"",Z([Re,Bt])],F("member-chain",Tn)}E.exports=U}}),w0=we({"src/language-js/print/call-expression.js"(m,E){$e();var{builders:{join:f,group:b}}=wn(),D=Ja(),{getCallArguments:c,hasFlowAnnotationComment:d,isCallExpression:h,isMemberish:v,isStringLiteral:S,isTemplateOnItsOwnLine:L,isTestCall:_,iterateCallArgumentsPath:k}=pr(),C=Qv(),x=S0(),{printOptionalToken:j,printFunctionTypeParameters:Q}=Ai();function ee(X,G,ne){let Z=X.getValue(),ye=X.getParentNode(),F=Z.type==="NewExpression",J=Z.type==="ImportExpression",w=j(X),$=c(Z);if($.length>0&&(!J&&!F&&R(Z,ye)||$.length===1&&L($[0],G.originalText)||!F&&_(Z,ye))){let I=[];return k(X,()=>{I.push(ne())}),[F?"new ":"",ne("callee"),w,Q(X,G,ne),"(",f(", ",I),")"]}let y=(G.parser==="babel"||G.parser==="babel-flow")&&Z.callee&&Z.callee.type==="Identifier"&&d(Z.callee.trailingComments);if(y&&(Z.callee.trailingComments[0].printed=!0),!J&&!F&&v(Z.callee)&&!X.call(I=>D(I,G),"callee"))return C(X,G,ne);let T=[F?"new ":"",J?"import":ne("callee"),w,y?`/*:: ${Z.callee.trailingComments[0].value.slice(2).trim()} */`:"",Q(X,G,ne),x(X,G,ne)];return J||h(Z.callee)?b(T):T}function R(X,G){if(X.callee.type!=="Identifier")return!1;if(X.callee.name==="require")return!0;if(X.callee.name==="define"){let ne=c(X);return G.type==="ExpressionStatement"&&(ne.length===1||ne.length===2&&ne[0].type==="ArrayExpression"||ne.length===3&&S(ne[0])&&ne[1].type==="ArrayExpression")}return!1}E.exports={printCallExpression:ee}}}),Lo=we({"src/language-js/print/assignment.js"(m,E){$e();var{isNonEmptyArray:f,getStringWidth:b}=ge(),{builders:{line:D,group:c,indent:d,indentIfBreak:h,lineSuffixBoundary:v},utils:{cleanDoc:S,willBreak:L,canBreak:_}}=wn(),{hasLeadingOwnLineComment:k,isBinaryish:C,isStringLiteral:x,isLiteral:j,isNumericLiteral:Q,isCallExpression:ee,isMemberExpression:R,getCallArguments:X,rawText:G,hasComment:ne,isSignedNumericLiteral:Z,isObjectProperty:ye}=pr(),{shouldInlineLogicalExpression:F}=$f(),{printCallExpression:J}=w0();function w(De,Ie,ct,ft,Jt,Re){let Ce=T(De,Ie,ct,ft,Re),Ye=ct(Re,{assignmentLayout:Ce});switch(Ce){case"break-after-operator":return c([c(ft),Jt,c(d([D,Ye]))]);case"never-break-after-operator":return c([c(ft),Jt," ",Ye]);case"fluid":{let ze=Symbol("assignment");return c([c(ft),Jt,c(d(D),{id:ze}),v,h(Ye,{groupId:ze})])}case"break-lhs":return c([ft,Jt," ",c(Ye)]);case"chain":return[c(ft),Jt,D,Ye];case"chain-tail":return[c(ft),Jt,d([D,Ye])];case"chain-tail-arrow-chain":return[c(ft),Jt,Ye];case"only-left":return ft}}function $(De,Ie,ct){let ft=De.getValue();return w(De,Ie,ct,ct("left"),[" ",ft.operator],"right")}function y(De,Ie,ct){return w(De,Ie,ct,ct("id")," =","init")}function T(De,Ie,ct,ft,Jt){let Re=De.getValue(),Ce=Re[Jt];if(!Ce)return"only-left";let Ye=!q(Ce);if(De.match(q,z,Dt=>!Ye||Dt.type!=="ExpressionStatement"&&Dt.type!=="VariableDeclaration"))return Ye?Ce.type==="ArrowFunctionExpression"&&Ce.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!Ye&&q(Ce.right)||k(Ie.originalText,Ce))return"break-after-operator";if(Ce.type==="CallExpression"&&Ce.callee.name==="require"||Ie.parser==="json5"||Ie.parser==="json")return"never-break-after-operator";if(U(Re)||re(Re)||fe(Re)||Fe(Re)&&_(ft))return"break-lhs";let ze=et(Re,ft,Ie);return De.call(()=>I(De,Ie,ct,ze),Jt)?"break-after-operator":ze||Ce.type==="TemplateLiteral"||Ce.type==="TaggedTemplateExpression"||Ce.type==="BooleanLiteral"||Q(Ce)||Ce.type==="ClassExpression"?"never-break-after-operator":"fluid"}function I(De,Ie,ct,ft){let Jt=De.getValue();if(C(Jt)&&!F(Jt))return!0;switch(Jt.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:Ye}=Jt;return C(Ye)&&!F(Ye)}case"ClassExpression":return f(Jt.decorators)}if(ft)return!1;let Re=Jt,Ce=[];for(;;)if(Re.type==="UnaryExpression")Re=Re.argument,Ce.push("argument");else if(Re.type==="TSNonNullExpression")Re=Re.expression,Ce.push("expression");else break;return!!(x(Re)||De.call(()=>he(De,Ie,ct),...Ce))}function U(De){if(z(De)){let Ie=De.left||De.id;return Ie.type==="ObjectPattern"&&Ie.properties.length>2&&Ie.properties.some(ct=>ye(ct)&&(!ct.shorthand||ct.value&&ct.value.type==="AssignmentPattern"))}return!1}function q(De){return De.type==="AssignmentExpression"}function z(De){return q(De)||De.type==="VariableDeclarator"}function re(De){let Ie=ce(De);if(f(Ie)){let ct=De.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(Ie.length>1&&Ie.some(ft=>ft[ct]||ft.default))return!0}return!1}function ce(De){return me(De)&&De.typeParameters&&De.typeParameters.params?De.typeParameters.params:null}function me(De){return De.type==="TSTypeAliasDeclaration"||De.type==="TypeAlias"}function fe(De){if(De.type!=="VariableDeclarator")return!1;let{typeAnnotation:Ie}=De.id;if(!Ie||!Ie.typeAnnotation)return!1;let ct=se(Ie.typeAnnotation);return f(ct)&&ct.length>1&&ct.some(ft=>f(se(ft))||ft.type==="TSConditionalType")}function Fe(De){return De.type==="VariableDeclarator"&&De.init&&De.init.type==="ArrowFunctionExpression"}function se(De){return We(De)&&De.typeParameters&&De.typeParameters.params?De.typeParameters.params:null}function We(De){return De.type==="TSTypeReference"||De.type==="GenericTypeAnnotation"}function he(De,Ie,ct){let ft=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Jt=De.getValue(),Re=()=>he(De,Ie,ct,!0);if(Jt.type==="TSNonNullExpression")return De.call(Re,"expression");if(ee(Jt)){if(J(De,Ie,ct).label==="member-chain")return!1;let Ce=X(Jt);return!(Ce.length===0||Ce.length===1&&qe(Ce[0],Ie))||Je(Jt,ct)?!1:De.call(Re,"callee")}return R(Jt)?De.call(Re,"object"):ft&&(Jt.type==="Identifier"||Jt.type==="ThisExpression")}var oe=.25;function qe(De,Ie){let{printWidth:ct}=Ie;if(ne(De))return!1;let ft=ct*oe;if(De.type==="ThisExpression"||De.type==="Identifier"&&De.name.length<=ft||Z(De)&&!ne(De.argument))return!0;let Jt=De.type==="Literal"&&"regex"in De&&De.regex.pattern||De.type==="RegExpLiteral"&&De.pattern;return Jt?Jt.length<=ft:x(De)?G(De).length<=ft:De.type==="TemplateLiteral"?De.expressions.length===0&&De.quasis[0].value.raw.length<=ft&&!De.quasis[0].value.raw.includes(`
206
- `):j(De)}function et(De,Ie,ct){if(!ye(De))return!1;Ie=S(Ie);let ft=3;return typeof Ie=="string"&&b(Ie)<ct.tabWidth+ft}function Je(De,Ie){let ct=dt(De);if(f(ct)){if(ct.length>1)return!0;if(ct.length===1){let Jt=ct[0];if(Jt.type==="TSUnionType"||Jt.type==="UnionTypeAnnotation"||Jt.type==="TSIntersectionType"||Jt.type==="IntersectionTypeAnnotation"||Jt.type==="TSTypeLiteral"||Jt.type==="ObjectTypeAnnotation")return!0}let ft=De.typeParameters?"typeParameters":"typeArguments";if(L(Ie(ft)))return!0}return!1}function dt(De){return De.typeParameters&&De.typeParameters.params||De.typeArguments&&De.typeArguments.params}E.exports={printVariableDeclarator:y,printAssignmentExpression:$,printAssignment:w,isArrowFunctionVariableDeclarator:Fe}}}),ll=we({"src/language-js/print/function-parameters.js"(m,E){$e();var{getNextNonSpaceNonCommentCharacter:f}=ge(),{printDanglingComments:b}=Br(),{builders:{line:D,hardline:c,softline:d,group:h,indent:v,ifBreak:S},utils:{removeLines:L,willBreak:_}}=wn(),{getFunctionParameters:k,iterateFunctionParametersPath:C,isSimpleType:x,isTestCall:j,isTypeAnnotationAFunction:Q,isObjectType:ee,isObjectTypePropertyAFunction:R,hasRestParameter:X,shouldPrintComma:G,hasComment:ne,isNextLineEmpty:Z}=pr(),{locEnd:ye}=ri(),{ArgExpansionBailout:F}=tn(),{printFunctionTypeParameters:J}=Ai();function w(I,U,q,z,re){let ce=I.getValue(),me=k(ce),fe=re?J(I,q,U):"";if(me.length===0)return[fe,"(",b(I,q,!0,qe=>f(q.originalText,qe,ye)===")"),")"];let Fe=I.getParentNode(),se=j(Fe),We=$(ce),he=[];if(C(I,(qe,et)=>{let Je=et===me.length-1;Je&&ce.rest&&he.push("..."),he.push(U()),!Je&&(he.push(","),se||We?he.push(" "):Z(me[et],q)?he.push(c,c):he.push(D))}),z){if(_(fe)||_(he))throw new F;return h([L(fe),"(",L(he),")"])}let oe=me.every(qe=>!qe.decorators);return We&&oe?[fe,"(",...he,")"]:se?[fe,"(",...he,")"]:(R(Fe)||Q(Fe)||Fe.type==="TypeAlias"||Fe.type==="UnionTypeAnnotation"||Fe.type==="TSUnionType"||Fe.type==="IntersectionTypeAnnotation"||Fe.type==="FunctionTypeAnnotation"&&Fe.returnType===ce)&&me.length===1&&me[0].name===null&&ce.this!==me[0]&&me[0].typeAnnotation&&ce.typeParameters===null&&x(me[0].typeAnnotation)&&!ce.rest?q.arrowParens==="always"?["(",...he,")"]:he:[fe,"(",v([d,...he]),S(!X(ce)&&G(q,"all")?",":""),d,")"]}function $(I){if(!I)return!1;let U=k(I);if(U.length!==1)return!1;let[q]=U;return!ne(q)&&(q.type==="ObjectPattern"||q.type==="ArrayPattern"||q.type==="Identifier"&&q.typeAnnotation&&(q.typeAnnotation.type==="TypeAnnotation"||q.typeAnnotation.type==="TSTypeAnnotation")&&ee(q.typeAnnotation.typeAnnotation)||q.type==="FunctionTypeParam"&&ee(q.typeAnnotation)||q.type==="AssignmentPattern"&&(q.left.type==="ObjectPattern"||q.left.type==="ArrayPattern")&&(q.right.type==="Identifier"||q.right.type==="ObjectExpression"&&q.right.properties.length===0||q.right.type==="ArrayExpression"&&q.right.elements.length===0))}function y(I){let U;return I.returnType?(U=I.returnType,U.typeAnnotation&&(U=U.typeAnnotation)):I.typeAnnotation&&(U=I.typeAnnotation),U}function T(I,U){let q=y(I);if(!q)return!1;let z=I.typeParameters&&I.typeParameters.params;if(z){if(z.length>1)return!1;if(z.length===1){let re=z[0];if(re.constraint||re.default)return!1}}return k(I).length===1&&(ee(q)||_(U))}E.exports={printFunctionParameters:w,shouldHugFunctionParameters:$,shouldGroupFunctionParameters:T}}}),cl=we({"src/language-js/print/type-annotation.js"(m,E){$e();var{printComments:f,printDanglingComments:b}=Br(),{isNonEmptyArray:D}=ge(),{builders:{group:c,join:d,line:h,softline:v,indent:S,align:L,ifBreak:_}}=wn(),k=Ja(),{locStart:C}=ri(),{isSimpleType:x,isObjectType:j,hasLeadingOwnLineComment:Q,isObjectTypePropertyAFunction:ee,shouldPrintComma:R}=pr(),{printAssignment:X}=Lo(),{printFunctionParameters:G,shouldGroupFunctionParameters:ne}=ll(),{printArrayItems:Z}=ko();function ye(q){if(x(q)||j(q))return!0;if(q.type==="UnionTypeAnnotation"||q.type==="TSUnionType"){let z=q.types.filter(ce=>ce.type==="VoidTypeAnnotation"||ce.type==="TSVoidKeyword"||ce.type==="NullLiteralTypeAnnotation"||ce.type==="TSNullKeyword").length,re=q.types.some(ce=>ce.type==="ObjectTypeAnnotation"||ce.type==="TSTypeLiteral"||ce.type==="GenericTypeAnnotation"||ce.type==="TSTypeReference");if(q.types.length-1===z&&re)return!0}return!1}function F(q,z,re){let ce=z.semi?";":"",me=q.getValue(),fe=[];return fe.push("opaque type ",re("id"),re("typeParameters")),me.supertype&&fe.push(": ",re("supertype")),me.impltype&&fe.push(" = ",re("impltype")),fe.push(ce),fe}function J(q,z,re){let ce=z.semi?";":"",me=q.getValue(),fe=[];me.declare&&fe.push("declare "),fe.push("type ",re("id"),re("typeParameters"));let Fe=me.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[X(q,z,re,fe," =",Fe),ce]}function w(q,z,re){let ce=q.getValue(),me=q.map(re,"types"),fe=[],Fe=!1;for(let se=0;se<me.length;++se)se===0?fe.push(me[se]):j(ce.types[se-1])&&j(ce.types[se])?fe.push([" & ",Fe?S(me[se]):me[se]]):!j(ce.types[se-1])&&!j(ce.types[se])?fe.push(S([" &",h,me[se]])):(se>1&&(Fe=!0),fe.push(" & ",se>1?S(me[se]):me[se]));return c(fe)}function $(q,z,re){let ce=q.getValue(),me=q.getParentNode(),fe=me.type!=="TypeParameterInstantiation"&&me.type!=="TSTypeParameterInstantiation"&&me.type!=="GenericTypeAnnotation"&&me.type!=="TSTypeReference"&&me.type!=="TSTypeAssertion"&&me.type!=="TupleTypeAnnotation"&&me.type!=="TSTupleType"&&!(me.type==="FunctionTypeParam"&&!me.name&&q.getParentNode(1).this!==me)&&!((me.type==="TypeAlias"||me.type==="VariableDeclarator"||me.type==="TSTypeAliasDeclaration")&&Q(z.originalText,ce)),Fe=ye(ce),se=q.map(oe=>{let qe=re();return Fe||(qe=L(2,qe)),f(oe,qe,z)},"types");if(Fe)return d(" | ",se);let We=fe&&!Q(z.originalText,ce),he=[_([We?h:"","| "]),d([h,"| "],se)];return k(q,z)?c([S(he),v]):me.type==="TupleTypeAnnotation"&&me.types.length>1||me.type==="TSTupleType"&&me.elementTypes.length>1?c([S([_(["(",v]),he]),v,_(")")]):c(fe?S(he):he)}function y(q,z,re){let ce=q.getValue(),me=[],fe=q.getParentNode(0),Fe=q.getParentNode(1),se=q.getParentNode(2),We=ce.type==="TSFunctionType"||!((fe.type==="ObjectTypeProperty"||fe.type==="ObjectTypeInternalSlot")&&!fe.variance&&!fe.optional&&C(fe)===C(ce)||fe.type==="ObjectTypeCallProperty"||se&&se.type==="DeclareFunction"),he=We&&(fe.type==="TypeAnnotation"||fe.type==="TSTypeAnnotation"),oe=he&&We&&(fe.type==="TypeAnnotation"||fe.type==="TSTypeAnnotation")&&Fe.type==="ArrowFunctionExpression";ee(fe)&&(We=!0,he=!0),oe&&me.push("(");let qe=G(q,re,z,!1,!0),et=ce.returnType||ce.predicate||ce.typeAnnotation?[We?" => ":": ",re("returnType"),re("predicate"),re("typeAnnotation")]:"",Je=ne(ce,et);return me.push(Je?c(qe):qe),et&&me.push(et),oe&&me.push(")"),c(me)}function T(q,z,re){let ce=q.getValue(),me=ce.type==="TSTupleType"?"elementTypes":"types",fe=ce[me],Fe=D(fe),se=Fe?v:"";return c(["[",S([se,Z(q,z,me,re)]),_(Fe&&R(z,"all")?",":""),b(q,z,!0),se,"]"])}function I(q,z,re){let ce=q.getValue(),me=ce.type==="OptionalIndexedAccessType"&&ce.optional?"?.[":"[";return[re("objectType"),me,re("indexType"),"]"]}function U(q,z,re){let ce=q.getValue();return[ce.postfix?"":re,z("typeAnnotation"),ce.postfix?re:""]}E.exports={printOpaqueType:F,printTypeAlias:J,printIntersectionType:w,printUnionType:$,printFunctionType:y,printTupleType:T,printIndexedAccessType:I,shouldHugType:ye,printJSDocType:U}}}),fl=we({"src/language-js/print/type-parameters.js"(m,E){$e();var{printDanglingComments:f}=Br(),{builders:{join:b,line:D,hardline:c,softline:d,group:h,indent:v,ifBreak:S}}=wn(),{isTestCall:L,hasComment:_,CommentCheckFlags:k,isTSXFile:C,shouldPrintComma:x,getFunctionParameters:j,isObjectType:Q,getTypeScriptMappedTypeModifier:ee}=pr(),{createGroupIdMapper:R}=ge(),{shouldHugType:X}=cl(),{isArrowFunctionVariableDeclarator:G}=Lo(),ne=R("typeParameters");function Z(J,w,$,y){let T=J.getValue();if(!T[y])return"";if(!Array.isArray(T[y]))return $(y);let I=J.getNode(2),U=I&&L(I),q=J.match(re=>!(re[y].length===1&&Q(re[y][0])),void 0,(re,ce)=>ce==="typeAnnotation",re=>re.type==="Identifier",G);if(T[y].length===0||!q&&(U||T[y].length===1&&(T[y][0].type==="NullableTypeAnnotation"||X(T[y][0]))))return["<",b(", ",J.map($,y)),ye(J,w),">"];let z=T.type==="TSTypeParameterInstantiation"?"":j(T).length===1&&C(w)&&!T[y][0].constraint&&J.getParentNode().type==="ArrowFunctionExpression"?",":x(w,"all")?S(","):"";return h(["<",v([d,b([",",D],J.map($,y))]),z,d,">"],{id:ne(T)})}function ye(J,w){let $=J.getValue();if(!_($,k.Dangling))return"";let y=!_($,k.Line),T=f(J,w,y);return y?T:[T,c]}function F(J,w,$){let y=J.getValue(),T=[y.type==="TSTypeParameter"&&y.const?"const ":""],I=J.getParentNode();return I.type==="TSMappedType"?(I.readonly&&T.push(ee(I.readonly,"readonly")," "),T.push("[",$("name")),y.constraint&&T.push(" in ",$("constraint")),I.nameType&&T.push(" as ",J.callParent(()=>$("nameType"))),T.push("]"),T):(y.variance&&T.push($("variance")),y.in&&T.push("in "),y.out&&T.push("out "),T.push($("name")),y.bound&&T.push(": ",$("bound")),y.constraint&&T.push(" extends ",$("constraint")),y.default&&T.push(" = ",$("default")),T)}E.exports={printTypeParameter:F,printTypeParameters:Z,getTypeParametersGroupId:ne}}}),Po=we({"src/language-js/print/property.js"(m,E){$e();var{printComments:f}=Br(),{printString:b,printNumber:D}=ge(),{isNumericLiteral:c,isSimpleNumber:d,isStringLiteral:h,isStringPropSafeToUnquote:v,rawText:S}=pr(),{printAssignment:L}=Lo(),_=new WeakMap;function k(x,j,Q){let ee=x.getNode();if(ee.computed)return["[",Q("key"),"]"];let R=x.getParentNode(),{key:X}=ee;if(j.quoteProps==="consistent"&&!_.has(R)){let G=(R.properties||R.body||R.members).some(ne=>!ne.computed&&ne.key&&h(ne.key)&&!v(ne,j));_.set(R,G)}if((X.type==="Identifier"||c(X)&&d(D(S(X)))&&String(X.value)===D(S(X))&&!(j.parser==="typescript"||j.parser==="babel-ts"))&&(j.parser==="json"||j.quoteProps==="consistent"&&_.get(R))){let G=b(JSON.stringify(X.type==="Identifier"?X.name:X.value.toString()),j);return x.call(ne=>f(ne,G,j),"key")}return v(ee,j)&&(j.quoteProps==="as-needed"||j.quoteProps==="consistent"&&!_.get(R))?x.call(G=>f(G,/^\d/.test(X.value)?D(X.value):X.value,j),"key"):Q("key")}function C(x,j,Q){return x.getValue().shorthand?Q("value"):L(x,j,Q,k(x,j,Q),":","value")}E.exports={printProperty:C,printPropertyKey:k}}}),pl=we({"src/language-js/print/function.js"(m,E){$e();var f=To(),{printDanglingComments:b,printCommentsSeparately:D}=Br(),c=jr(),{getNextNonSpaceNonCommentCharacterIndex:d}=ge(),{builders:{line:h,softline:v,group:S,indent:L,ifBreak:_,hardline:k,join:C,indentIfBreak:x},utils:{removeLines:j,willBreak:Q}}=wn(),{ArgExpansionBailout:ee}=tn(),{getFunctionParameters:R,hasLeadingOwnLineComment:X,isFlowAnnotationComment:G,isJsxNode:ne,isTemplateOnItsOwnLine:Z,shouldPrintComma:ye,startsWithNoLookaheadToken:F,isBinaryish:J,isLineComment:w,hasComment:$,getComments:y,CommentCheckFlags:T,isCallLikeExpression:I,isCallExpression:U,getCallArguments:q,hasNakedLeftSide:z,getLeftSide:re}=pr(),{locEnd:ce}=ri(),{printFunctionParameters:me,shouldGroupFunctionParameters:fe}=ll(),{printPropertyKey:Fe}=Po(),{printFunctionTypeParameters:se}=Ai();function We(Ce,Ye,ze,Dt){let Nt=Ce.getValue(),Bt=!1;if((Nt.type==="FunctionDeclaration"||Nt.type==="FunctionExpression")&&Dt&&Dt.expandLastArg){let Dn=Ce.getParentNode();U(Dn)&&q(Dn).length>1&&(Bt=!0)}let cn=[];Nt.type==="TSDeclareFunction"&&Nt.declare&&cn.push("declare "),Nt.async&&cn.push("async "),Nt.generator?cn.push("function* "):cn.push("function "),Nt.id&&cn.push(Ye("id"));let Mn=me(Ce,Ye,ze,Bt),Tn=Ie(Ce,Ye,ze),ln=fe(Nt,Tn);return cn.push(se(Ce,ze,Ye),S([ln?S(Mn):Mn,Tn]),Nt.body?" ":"",Ye("body")),ze.semi&&(Nt.declare||!Nt.body)&&cn.push(";"),cn}function he(Ce,Ye,ze){let Dt=Ce.getNode(),{kind:Nt}=Dt,Bt=Dt.value||Dt,cn=[];return!Nt||Nt==="init"||Nt==="method"||Nt==="constructor"?Bt.async&&cn.push("async "):(f.ok(Nt==="get"||Nt==="set"),cn.push(Nt," ")),Bt.generator&&cn.push("*"),cn.push(Fe(Ce,Ye,ze),Dt.optional||Dt.key.optional?"?":""),Dt===Bt?cn.push(oe(Ce,Ye,ze)):Bt.type==="FunctionExpression"?cn.push(Ce.call(Mn=>oe(Mn,Ye,ze),"value")):cn.push(ze("value")),cn}function oe(Ce,Ye,ze){let Dt=Ce.getNode(),Nt=me(Ce,ze,Ye),Bt=Ie(Ce,ze,Ye),cn=fe(Dt,Bt),Mn=[se(Ce,Ye,ze),S([cn?S(Nt):Nt,Bt])];return Dt.body?Mn.push(" ",ze("body")):Mn.push(Ye.semi?";":""),Mn}function qe(Ce,Ye,ze,Dt){let Nt=Ce.getValue(),Bt=[];if(Nt.async&&Bt.push("async "),De(Ce,Ye))Bt.push(ze(["params",0]));else{let Mn=Dt&&(Dt.expandLastArg||Dt.expandFirstArg),Tn=Ie(Ce,ze,Ye);if(Mn){if(Q(Tn))throw new ee;Tn=S(j(Tn))}Bt.push(S([me(Ce,ze,Ye,Mn,!0),Tn]))}let cn=b(Ce,Ye,!0,Mn=>{let Tn=d(Ye.originalText,Mn,ce);return Tn!==!1&&Ye.originalText.slice(Tn,Tn+2)==="=>"});return cn&&Bt.push(" ",cn),Bt}function et(Ce,Ye,ze,Dt,Nt,Bt){let cn=Ce.getName(),Mn=Ce.getParentNode(),Tn=I(Mn)&&cn==="callee",ln=!!(Ye&&Ye.assignmentLayout),Dn=Bt.body.type!=="BlockStatement"&&Bt.body.type!=="ObjectExpression"&&Bt.body.type!=="SequenceExpression",at=Tn&&Dn||Ye&&Ye.assignmentLayout==="chain-tail-arrow-chain",Ee=Symbol("arrow-chain");return Bt.body.type==="SequenceExpression"&&(Nt=S(["(",L([v,Nt]),v,")"])),S([S(L([Tn||ln?v:"",S(C([" =>",h],ze),{shouldBreak:Dt})]),{id:Ee,shouldBreak:at})," =>",x(Dn?L([h,Nt]):[" ",Nt],{groupId:Ee}),Tn?_(v,"",{groupId:Ee}):""])}function Je(Ce,Ye,ze,Dt){let Nt=Ce.getValue(),Bt=[],cn=[],Mn=!1;if(function Ee(){let pt=qe(Ce,Ye,ze,Dt);if(Bt.length===0)Bt.push(pt);else{let{leading:Oe,trailing:lt}=D(Ce,Ye);Bt.push([Oe,pt]),cn.unshift(lt)}Mn=Mn||Nt.returnType&&R(Nt).length>0||Nt.typeParameters||R(Nt).some(Oe=>Oe.type!=="Identifier"),Nt.body.type!=="ArrowFunctionExpression"||Dt&&Dt.expandLastArg?cn.unshift(ze("body",Dt)):(Nt=Nt.body,Ce.call(Ee,"body"))}(),Bt.length>1)return et(Ce,Dt,Bt,Mn,cn,Nt);let Tn=Bt;if(Tn.push(" =>"),!X(Ye.originalText,Nt.body)&&(Nt.body.type==="ArrayExpression"||Nt.body.type==="ObjectExpression"||Nt.body.type==="BlockStatement"||ne(Nt.body)||Z(Nt.body,Ye.originalText)||Nt.body.type==="ArrowFunctionExpression"||Nt.body.type==="DoExpression"))return S([...Tn," ",cn]);if(Nt.body.type==="SequenceExpression")return S([...Tn,S([" (",L([v,cn]),v,")"])]);let ln=(Dt&&Dt.expandLastArg||Ce.getParentNode().type==="JSXExpressionContainer")&&!$(Nt),Dn=Dt&&Dt.expandLastArg&&ye(Ye,"all"),at=Nt.body.type==="ConditionalExpression"&&!F(Nt.body,Ee=>Ee.type==="ObjectExpression");return S([...Tn,S([L([h,at?_("","("):"",cn,at?_("",")"):""]),ln?[_(Dn?",":""),v]:""])])}function dt(Ce){let Ye=R(Ce);return Ye.length===1&&!Ce.typeParameters&&!$(Ce,T.Dangling)&&Ye[0].type==="Identifier"&&!Ye[0].typeAnnotation&&!$(Ye[0])&&!Ye[0].optional&&!Ce.predicate&&!Ce.returnType}function De(Ce,Ye){if(Ye.arrowParens==="always")return!1;if(Ye.arrowParens==="avoid"){let ze=Ce.getValue();return dt(ze)}return!1}function Ie(Ce,Ye,ze){let Dt=Ce.getValue(),Nt=Ye("returnType");if(Dt.returnType&&G(ze.originalText,Dt.returnType))return[" /*: ",Nt," */"];let Bt=[Nt];return Dt.returnType&&Dt.returnType.typeAnnotation&&Bt.unshift(": "),Dt.predicate&&Bt.push(Dt.returnType?" ":": ",Ye("predicate")),Bt}function ct(Ce,Ye,ze){let Dt=Ce.getValue(),Nt=Ye.semi?";":"",Bt=[];Dt.argument&&(Re(Ye,Dt.argument)?Bt.push([" (",L([k,ze("argument")]),k,")"]):J(Dt.argument)||Dt.argument.type==="SequenceExpression"?Bt.push(S([_(" ("," "),L([v,ze("argument")]),v,_(")")])):Bt.push(" ",ze("argument")));let cn=y(Dt),Mn=c(cn),Tn=Mn&&w(Mn);return Tn&&Bt.push(Nt),$(Dt,T.Dangling)&&Bt.push(" ",b(Ce,Ye,!0)),Tn||Bt.push(Nt),Bt}function ft(Ce,Ye,ze){return["return",ct(Ce,Ye,ze)]}function Jt(Ce,Ye,ze){return["throw",ct(Ce,Ye,ze)]}function Re(Ce,Ye){if(X(Ce.originalText,Ye))return!0;if(z(Ye)){let ze=Ye,Dt;for(;Dt=re(ze);)if(ze=Dt,X(Ce.originalText,ze))return!0}return!1}E.exports={printFunction:We,printArrowFunction:Je,printMethod:he,printReturnStatement:ft,printThrowStatement:Jt,printMethodInternal:oe,shouldPrintParamsWithoutParens:De}}}),Rf=we({"src/language-js/print/decorators.js"(m,E){$e();var{isNonEmptyArray:f,hasNewline:b}=ge(),{builders:{line:D,hardline:c,join:d,breakParent:h,group:v}}=wn(),{locStart:S,locEnd:L}=ri(),{getParentExportDeclaration:_}=pr();function k(ee,R,X){let G=ee.getValue();return v([d(D,ee.map(X,"decorators")),j(G,R)?c:D])}function C(ee,R,X){return[d(c,ee.map(X,"declaration","decorators")),c]}function x(ee,R,X){let G=ee.getValue(),{decorators:ne}=G;if(!f(ne)||Q(ee.getParentNode()))return;let Z=G.type==="ClassExpression"||G.type==="ClassDeclaration"||j(G,R);return[_(ee)?c:Z?h:"",d(D,ee.map(X,"decorators")),D]}function j(ee,R){return ee.decorators.some(X=>b(R.originalText,L(X)))}function Q(ee){if(ee.type!=="ExportDefaultDeclaration"&&ee.type!=="ExportNamedDeclaration"&&ee.type!=="DeclareExportDeclaration")return!1;let R=ee.declaration&&ee.declaration.decorators;return f(R)&&S(ee)===S(R[0])}E.exports={printDecorators:x,printClassMemberDecorators:k,printDecoratorsBeforeExport:C,hasDecoratorsBeforeExport:Q}}}),Bo=we({"src/language-js/print/class.js"(m,E){$e();var{isNonEmptyArray:f,createGroupIdMapper:b}=ge(),{printComments:D,printDanglingComments:c}=Br(),{builders:{join:d,line:h,hardline:v,softline:S,group:L,indent:_,ifBreak:k}}=wn(),{hasComment:C,CommentCheckFlags:x}=pr(),{getTypeParametersGroupId:j}=fl(),{printMethod:Q}=pl(),{printOptionalToken:ee,printTypeAnnotation:R,printDefiniteToken:X}=Ai(),{printPropertyKey:G}=Po(),{printAssignment:ne}=Lo(),{printClassMemberDecorators:Z}=Rf();function ye(q,z,re){let ce=q.getValue(),me=[];ce.declare&&me.push("declare "),ce.abstract&&me.push("abstract "),me.push("class");let fe=ce.id&&C(ce.id,x.Trailing)||ce.typeParameters&&C(ce.typeParameters,x.Trailing)||ce.superClass&&C(ce.superClass)||f(ce.extends)||f(ce.mixins)||f(ce.implements),Fe=[],se=[];if(ce.id&&Fe.push(" ",re("id")),Fe.push(re("typeParameters")),ce.superClass){let We=[T(q,z,re),re("superTypeParameters")],he=q.call(oe=>["extends ",D(oe,We,z)],"superClass");fe?se.push(h,L(he)):se.push(" ",he)}else se.push(y(q,z,re,"extends"));if(se.push(y(q,z,re,"mixins"),y(q,z,re,"implements")),fe){let We;$(ce)?We=[...Fe,_(se)]:We=_([...Fe,se]),me.push(L(We,{id:F(ce)}))}else me.push(...Fe,...se);return me.push(" ",re("body")),me}var F=b("heritageGroup");function J(q){return k(v,"",{groupId:F(q)})}function w(q){return["superClass","extends","mixins","implements"].filter(z=>!!q[z]).length>1}function $(q){return q.typeParameters&&!C(q.typeParameters,x.Trailing|x.Line)&&!w(q)}function y(q,z,re,ce){let me=q.getValue();if(!f(me[ce]))return"";let fe=c(q,z,!0,Fe=>{let{marker:se}=Fe;return se===ce});return[$(me)?k(" ",h,{groupId:j(me.typeParameters)}):h,fe,fe&&v,ce,L(_([h,d([",",h],q.map(re,ce))]))]}function T(q,z,re){let ce=re("superClass");return q.getParentNode().type==="AssignmentExpression"?L(k(["(",_([S,ce]),S,")"],ce)):ce}function I(q,z,re){let ce=q.getValue(),me=[];return f(ce.decorators)&&me.push(Z(q,z,re)),ce.accessibility&&me.push(ce.accessibility+" "),ce.readonly&&me.push("readonly "),ce.declare&&me.push("declare "),ce.static&&me.push("static "),(ce.type==="TSAbstractMethodDefinition"||ce.abstract)&&me.push("abstract "),ce.override&&me.push("override "),me.push(Q(q,z,re)),me}function U(q,z,re){let ce=q.getValue(),me=[],fe=z.semi?";":"";return f(ce.decorators)&&me.push(Z(q,z,re)),ce.accessibility&&me.push(ce.accessibility+" "),ce.declare&&me.push("declare "),ce.static&&me.push("static "),(ce.type==="TSAbstractPropertyDefinition"||ce.type==="TSAbstractAccessorProperty"||ce.abstract)&&me.push("abstract "),ce.override&&me.push("override "),ce.readonly&&me.push("readonly "),ce.variance&&me.push(re("variance")),(ce.type==="ClassAccessorProperty"||ce.type==="AccessorProperty"||ce.type==="TSAbstractAccessorProperty")&&me.push("accessor "),me.push(G(q,z,re),ee(q),X(q),R(q,z,re)),[ne(q,z,re,me," =","value"),fe]}E.exports={printClass:ye,printClassMethod:I,printClassProperty:U,printHardlineAfterHeritage:J}}}),F0=we({"src/language-js/print/interface.js"(m,E){$e();var{isNonEmptyArray:f}=ge(),{builders:{join:b,line:D,group:c,indent:d,ifBreak:h}}=wn(),{hasComment:v,identity:S,CommentCheckFlags:L}=pr(),{getTypeParametersGroupId:_}=fl(),{printTypeScriptModifiers:k}=Ai();function C(x,j,Q){let ee=x.getValue(),R=[];ee.declare&&R.push("declare "),ee.type==="TSInterfaceDeclaration"&&R.push(ee.abstract?"abstract ":"",k(x,j,Q)),R.push("interface");let X=[],G=[];ee.type!=="InterfaceTypeAnnotation"&&X.push(" ",Q("id"),Q("typeParameters"));let ne=ee.typeParameters&&!v(ee.typeParameters,L.Trailing|L.Line);return f(ee.extends)&&G.push(ne?h(" ",D,{groupId:_(ee.typeParameters)}):D,"extends ",(ee.extends.length===1?S:d)(b([",",D],x.map(Q,"extends")))),ee.id&&v(ee.id,L.Trailing)||f(ee.extends)?ne?R.push(c([...X,d(G)])):R.push(c(d([...X,...G]))):R.push(...X,...G),R.push(" ",Q("body")),c(R)}E.exports={printInterface:C}}}),N0=we({"src/language-js/print/module.js"(m,E){$e();var{isNonEmptyArray:f}=ge(),{builders:{softline:b,group:D,indent:c,join:d,line:h,ifBreak:v,hardline:S}}=wn(),{printDanglingComments:L}=Br(),{hasComment:_,CommentCheckFlags:k,shouldPrintComma:C,needsHardlineAfterDanglingComment:x,isStringLiteral:j,rawText:Q}=pr(),{locStart:ee,hasSameLoc:R}=ri(),{hasDecoratorsBeforeExport:X,printDecoratorsBeforeExport:G}=Rf();function ne(U,q,z){let re=U.getValue(),ce=q.semi?";":"",me=[],{importKind:fe}=re;return me.push("import"),fe&&fe!=="value"&&me.push(" ",fe),me.push(w(U,q,z),J(U,q,z),y(U,q,z),ce),me}function Z(U,q,z){let re=U.getValue(),ce=[];X(re)&&ce.push(G(U,q,z));let{type:me,exportKind:fe,declaration:Fe}=re;return ce.push("export"),(re.default||me==="ExportDefaultDeclaration")&&ce.push(" default"),_(re,k.Dangling)&&(ce.push(" ",L(U,q,!0)),x(re)&&ce.push(S)),Fe?ce.push(" ",z("declaration")):ce.push(fe==="type"?" type":"",w(U,q,z),J(U,q,z),y(U,q,z)),F(re,q)&&ce.push(";"),ce}function ye(U,q,z){let re=U.getValue(),ce=q.semi?";":"",me=[],{exportKind:fe,exported:Fe}=re;return me.push("export"),fe==="type"&&me.push(" type"),me.push(" *"),Fe&&me.push(" as ",z("exported")),me.push(J(U,q,z),y(U,q,z),ce),me}function F(U,q){if(!q.semi)return!1;let{type:z,declaration:re}=U,ce=U.default||z==="ExportDefaultDeclaration";if(!re)return!0;let{type:me}=re;return!!(ce&&me!=="ClassDeclaration"&&me!=="FunctionDeclaration"&&me!=="TSInterfaceDeclaration"&&me!=="DeclareClass"&&me!=="DeclareFunction"&&me!=="TSDeclareFunction"&&me!=="EnumDeclaration")}function J(U,q,z){let re=U.getValue();if(!re.source)return"";let ce=[];return $(re,q)||ce.push(" from"),ce.push(" ",z("source")),ce}function w(U,q,z){let re=U.getValue();if($(re,q))return"";let ce=[" "];if(f(re.specifiers)){let me=[],fe=[];U.each(()=>{let Fe=U.getValue().type;if(Fe==="ExportNamespaceSpecifier"||Fe==="ExportDefaultSpecifier"||Fe==="ImportNamespaceSpecifier"||Fe==="ImportDefaultSpecifier")me.push(z());else if(Fe==="ExportSpecifier"||Fe==="ImportSpecifier")fe.push(z());else throw new Error(`Unknown specifier type ${JSON.stringify(Fe)}`)},"specifiers"),ce.push(d(", ",me)),fe.length>0&&(me.length>0&&ce.push(", "),fe.length>1||me.length>0||re.specifiers.some(Fe=>_(Fe))?ce.push(D(["{",c([q.bracketSpacing?h:b,d([",",h],fe)]),v(C(q)?",":""),q.bracketSpacing?h:b,"}"])):ce.push(["{",q.bracketSpacing?" ":"",...fe,q.bracketSpacing?" ":"","}"]))}else ce.push("{}");return ce}function $(U,q){let{type:z,importKind:re,source:ce,specifiers:me}=U;return z!=="ImportDeclaration"||f(me)||re==="type"?!1:!/{\s*}/.test(q.originalText.slice(ee(U),ee(ce)))}function y(U,q,z){let re=U.getNode();return f(re.assertions)?[" assert {",q.bracketSpacing?" ":"",d(", ",U.map(z,"assertions")),q.bracketSpacing?" ":"","}"]:""}function T(U,q,z){let re=U.getNode(),{type:ce}=re,me=[],fe=ce==="ImportSpecifier"?re.importKind:re.exportKind;fe&&fe!=="value"&&me.push(fe," ");let Fe=ce.startsWith("Import"),se=Fe?"imported":"local",We=Fe?"local":"exported",he=re[se],oe=re[We],qe="",et="";return ce==="ExportNamespaceSpecifier"||ce==="ImportNamespaceSpecifier"?qe="*":he&&(qe=z(se)),oe&&!I(re)&&(et=z(We)),me.push(qe,qe&&et?" as ":"",et),me}function I(U){if(U.type!=="ImportSpecifier"&&U.type!=="ExportSpecifier")return!1;let{local:q,[U.type==="ImportSpecifier"?"imported":"exported"]:z}=U;if(q.type!==z.type||!R(q,z))return!1;if(j(q))return q.value===z.value&&Q(q)===Q(z);switch(q.type){case"Identifier":return q.name===z.name;default:return!1}}E.exports={printImportDeclaration:ne,printExportDeclaration:Z,printExportAllDeclaration:ye,printModuleSpecifier:T}}}),Vf=we({"src/language-js/print/object.js"(m,E){$e();var{printDanglingComments:f}=Br(),{builders:{line:b,softline:D,group:c,indent:d,ifBreak:h,hardline:v}}=wn(),{getLast:S,hasNewlineInRange:L,hasNewline:_,isNonEmptyArray:k}=ge(),{shouldPrintComma:C,hasComment:x,getComments:j,CommentCheckFlags:Q,isNextLineEmpty:ee}=pr(),{locStart:R,locEnd:X}=ri(),{printOptionalToken:G,printTypeAnnotation:ne}=Ai(),{shouldHugFunctionParameters:Z}=ll(),{shouldHugType:ye}=cl(),{printHardlineAfterHeritage:F}=Bo();function J(w,$,y){let T=$.semi?";":"",I=w.getValue(),U;I.type==="TSTypeLiteral"?U="members":I.type==="TSInterfaceBody"?U="body":U="properties";let q=I.type==="ObjectTypeAnnotation",z=[U];q&&z.push("indexers","callProperties","internalSlots");let re=z.map(De=>I[De][0]).sort((De,Ie)=>R(De)-R(Ie))[0],ce=w.getParentNode(0),me=q&&ce&&(ce.type==="InterfaceDeclaration"||ce.type==="DeclareInterface"||ce.type==="DeclareClass")&&w.getName()==="body",fe=I.type==="TSInterfaceBody"||me||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(De=>De.value&&(De.value.type==="ObjectPattern"||De.value.type==="ArrayPattern"))||I.type!=="ObjectPattern"&&re&&L($.originalText,R(I),R(re)),Fe=me?";":I.type==="TSInterfaceBody"||I.type==="TSTypeLiteral"?h(T,";"):",",se=I.type==="RecordExpression"?"#{":I.exact?"{|":"{",We=I.exact?"|}":"}",he=[];for(let De of z)w.each(Ie=>{let ct=Ie.getValue();he.push({node:ct,printed:y(),loc:R(ct)})},De);z.length>1&&he.sort((De,Ie)=>De.loc-Ie.loc);let oe=[],qe=he.map(De=>{let Ie=[...oe,c(De.printed)];return oe=[Fe,b],(De.node.type==="TSPropertySignature"||De.node.type==="TSMethodSignature"||De.node.type==="TSConstructSignatureDeclaration")&&x(De.node,Q.PrettierIgnore)&&oe.shift(),ee(De.node,$)&&oe.push(v),Ie});if(I.inexact){let De;if(x(I,Q.Dangling)){let Ie=x(I,Q.Line);De=[f(w,$,!0),Ie||_($.originalText,X(S(j(I))))?v:b,"..."]}else De=["..."];qe.push([...oe,...De])}let et=S(I[U]),Je=!(I.inexact||et&&et.type==="RestElement"||et&&(et.type==="TSPropertySignature"||et.type==="TSCallSignatureDeclaration"||et.type==="TSMethodSignature"||et.type==="TSConstructSignatureDeclaration")&&x(et,Q.PrettierIgnore)),dt;if(qe.length===0){if(!x(I,Q.Dangling))return[se,We,ne(w,$,y)];dt=c([se,f(w,$),D,We,G(w),ne(w,$,y)])}else dt=[me&&k(I.properties)?F(ce):"",se,d([$.bracketSpacing?b:D,...qe]),h(Je&&(Fe!==","||C($))?Fe:""),$.bracketSpacing?b:D,We,G(w),ne(w,$,y)];return w.match(De=>De.type==="ObjectPattern"&&!De.decorators,(De,Ie,ct)=>Z(De)&&(Ie==="params"||Ie==="parameters"||Ie==="this"||Ie==="rest")&&ct===0)||w.match(ye,(De,Ie)=>Ie==="typeAnnotation",(De,Ie)=>Ie==="typeAnnotation",(De,Ie,ct)=>Z(De)&&(Ie==="params"||Ie==="parameters"||Ie==="this"||Ie==="rest")&&ct===0)||!fe&&w.match(De=>De.type==="ObjectPattern",De=>De.type==="AssignmentExpression"||De.type==="VariableDeclarator")?dt:c(dt,{shouldBreak:fe})}E.exports={printObject:J}}}),Xv=we({"src/language-js/print/flow.js"(m,E){$e();var f=To(),{printDanglingComments:b}=Br(),{printString:D,printNumber:c}=ge(),{builders:{hardline:d,softline:h,group:v,indent:S}}=wn(),{getParentExportDeclaration:L,isFunctionNotation:_,isGetterOrSetter:k,rawText:C,shouldPrintComma:x}=pr(),{locStart:j,locEnd:Q}=ri(),{replaceTextEndOfLine:ee}=Ks(),{printClass:R}=Bo(),{printOpaqueType:X,printTypeAlias:G,printIntersectionType:ne,printUnionType:Z,printFunctionType:ye,printTupleType:F,printIndexedAccessType:J}=cl(),{printInterface:w}=F0(),{printTypeParameter:$,printTypeParameters:y}=fl(),{printExportDeclaration:T,printExportAllDeclaration:I}=N0(),{printArrayItems:U}=ko(),{printObject:q}=Vf(),{printPropertyKey:z}=Po(),{printOptionalToken:re,printTypeAnnotation:ce,printRestSpread:me}=Ai();function fe(se,We,he){let oe=se.getValue(),qe=We.semi?";":"",et=[];switch(oe.type){case"DeclareClass":return Fe(se,R(se,We,he));case"DeclareFunction":return Fe(se,["function ",he("id"),oe.predicate?" ":"",he("predicate"),qe]);case"DeclareModule":return Fe(se,["module ",he("id")," ",he("body")]);case"DeclareModuleExports":return Fe(se,["module.exports",": ",he("typeAnnotation"),qe]);case"DeclareVariable":return Fe(se,["var ",he("id"),qe]);case"DeclareOpaqueType":return Fe(se,X(se,We,he));case"DeclareInterface":return Fe(se,w(se,We,he));case"DeclareTypeAlias":return Fe(se,G(se,We,he));case"DeclareExportDeclaration":return Fe(se,T(se,We,he));case"DeclareExportAllDeclaration":return Fe(se,I(se,We,he));case"OpaqueType":return X(se,We,he);case"TypeAlias":return G(se,We,he);case"IntersectionTypeAnnotation":return ne(se,We,he);case"UnionTypeAnnotation":return Z(se,We,he);case"FunctionTypeAnnotation":return ye(se,We,he);case"TupleTypeAnnotation":return F(se,We,he);case"GenericTypeAnnotation":return[he("id"),y(se,We,he,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return J(se,We,he);case"TypeAnnotation":return he("typeAnnotation");case"TypeParameter":return $(se,We,he);case"TypeofTypeAnnotation":return["typeof ",he("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[he("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(oe.value);case"EnumDeclaration":return["enum ",he("id")," ",he("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(oe.type==="EnumSymbolBody"||oe.explicitType){let Je=null;switch(oe.type){case"EnumBooleanBody":Je="boolean";break;case"EnumNumberBody":Je="number";break;case"EnumStringBody":Je="string";break;case"EnumSymbolBody":Je="symbol";break}et.push("of ",Je," ")}if(oe.members.length===0&&!oe.hasUnknownMembers)et.push(v(["{",b(se,We),h,"}"]));else{let Je=oe.members.length>0?[d,U(se,We,"members",he),oe.hasUnknownMembers||x(We)?",":""]:[];et.push(v(["{",S([...Je,...oe.hasUnknownMembers?[d,"..."]:[]]),b(se,We,!0),d,"}"]))}return et}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[he("id")," = ",typeof oe.init=="object"?he("init"):String(oe.init)];case"EnumDefaultedMember":return he("id");case"FunctionTypeParam":{let Je=oe.name?he("name"):se.getParentNode().this===oe?"this":"";return[Je,re(se),Je?": ":"",he("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return w(se,We,he);case"ClassImplements":case"InterfaceExtends":return[he("id"),he("typeParameters")];case"NullableTypeAnnotation":return["?",he("typeAnnotation")];case"Variance":{let{kind:Je}=oe;return f.ok(Je==="plus"||Je==="minus"),Je==="plus"?"+":"-"}case"ObjectTypeCallProperty":return oe.static&&et.push("static "),et.push(he("value")),et;case"ObjectTypeIndexer":return[oe.static?"static ":"",oe.variance?he("variance"):"","[",he("id"),oe.id?": ":"",he("key"),"]: ",he("value")];case"ObjectTypeProperty":{let Je="";return oe.proto?Je="proto ":oe.static&&(Je="static "),[Je,k(oe)?oe.kind+" ":"",oe.variance?he("variance"):"",z(se,We,he),re(se),_(oe)?"":": ",he("value")]}case"ObjectTypeAnnotation":return q(se,We,he);case"ObjectTypeInternalSlot":return[oe.static?"static ":"","[[",he("id"),"]]",re(se),oe.method?"":": ",he("value")];case"ObjectTypeSpreadProperty":return me(se,We,he);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[he("qualification"),".",he("id")];case"StringLiteralTypeAnnotation":return ee(D(C(oe),We));case"NumberLiteralTypeAnnotation":f.strictEqual(typeof oe.value,"number");case"BigIntLiteralTypeAnnotation":return oe.extra?c(oe.extra.raw):c(oe.raw);case"TypeCastExpression":return["(",he("expression"),ce(se,We,he),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let Je=y(se,We,he,"params");if(We.parser==="flow"){let dt=j(oe),De=Q(oe),Ie=We.originalText.lastIndexOf("/*",dt),ct=We.originalText.indexOf("*/",De);if(Ie!==-1&&ct!==-1){let ft=We.originalText.slice(Ie+2,ct).trim();if(ft.startsWith("::")&&!ft.includes("/*")&&!ft.includes("*/"))return["/*:: ",Je," */"]}}return Je}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",he("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(oe.type))}}function Fe(se,We){let he=L(se);return he?(f.strictEqual(he.type,"DeclareExportDeclaration"),We):["declare ",We]}E.exports={printFlow:fe}}}),Kv=we({"src/language-js/utils/is-ts-keyword-type.js"(m,E){$e();function f(b){let{type:D}=b;return D.startsWith("TS")&&D.endsWith("Keyword")}E.exports=f}}),_0=we({"src/language-js/print/ternary.js"(m,E){$e();var{hasNewlineInRange:f}=ge(),{isJsxNode:b,getComments:D,isCallExpression:c,isMemberExpression:d,isTSTypeExpression:h}=pr(),{locStart:v,locEnd:S}=ri(),L=ta(),{builders:{line:_,softline:k,group:C,indent:x,align:j,ifBreak:Q,dedent:ee,breakParent:R}}=wn();function X(F){let J=[F];for(let w=0;w<J.length;w++){let $=J[w];for(let y of["test","consequent","alternate"]){let T=$[y];if(b(T))return!0;T.type==="ConditionalExpression"&&J.push(T)}}return!1}function G(F,J,w){let $=F.getValue(),y=$.type==="ConditionalExpression",T=y?"alternate":"falseType",I=F.getParentNode(),U=y?w("test"):[w("checkType")," ","extends"," ",w("extendsType")];return I.type===$.type&&I[T]===$?j(2,U):U}var ne=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function Z(F){let J=F.getValue();if(J.type!=="ConditionalExpression")return!1;let w,$=J;for(let y=0;!w;y++){let T=F.getParentNode(y);if(c(T)&&T.callee===$||d(T)&&T.object===$||T.type==="TSNonNullExpression"&&T.expression===$){$=T;continue}T.type==="NewExpression"&&T.callee===$||h(T)&&T.expression===$?(w=F.getParentNode(y+1),$=T):w=T}return $===J?!1:w[ne.get(w.type)]===$}function ye(F,J,w){let $=F.getValue(),y=$.type==="ConditionalExpression",T=y?"consequent":"trueType",I=y?"alternate":"falseType",U=y?["test"]:["checkType","extendsType"],q=$[T],z=$[I],re=[],ce=!1,me=F.getParentNode(),fe=me.type===$.type&&U.some(ct=>me[ct]===$),Fe=me.type===$.type&&!fe,se,We,he=0;do We=se||$,se=F.getParentNode(he),he++;while(se&&se.type===$.type&&U.every(ct=>se[ct]!==We));let oe=se||me,qe=We;if(y&&(b($[U[0]])||b(q)||b(z)||X(qe))){ce=!0,Fe=!0;let ct=Jt=>[Q("("),x([k,Jt]),k,Q(")")],ft=Jt=>Jt.type==="NullLiteral"||Jt.type==="Literal"&&Jt.value===null||Jt.type==="Identifier"&&Jt.name==="undefined";re.push(" ? ",ft(q)?w(T):ct(w(T))," : ",z.type===$.type||ft(z)?w(I):ct(w(I)))}else{let ct=[_,"? ",q.type===$.type?Q("","("):"",j(2,w(T)),q.type===$.type?Q("",")"):"",_,": ",z.type===$.type?w(I):j(2,w(I))];re.push(me.type!==$.type||me[I]===$||fe?ct:J.useTabs?ee(x(ct)):j(Math.max(0,J.tabWidth-2),ct))}let et=[...U.map(ct=>D($[ct])),D(q),D(z)].flat().some(ct=>L(ct)&&f(J.originalText,v(ct),S(ct))),Je=ct=>me===oe?C(ct,{shouldBreak:et}):et?[ct,R]:ct,dt=!ce&&(d(me)||me.type==="NGPipeExpression"&&me.left===$)&&!me.computed,De=Z(F),Ie=Je([G(F,J,w),Fe?re:x(re),y&&dt&&!De?k:""]);return fe||De?C([x([k,Ie]),k]):Ie}E.exports={printTernary:ye}}}),T0=we({"src/language-js/print/statement.js"(m,E){$e();var{builders:{hardline:f}}=wn(),b=Ja(),{getLeftSidePathName:D,hasNakedLeftSide:c,isJsxNode:d,isTheOnlyJsxElementInMarkdown:h,hasComment:v,CommentCheckFlags:S,isNextLineEmpty:L}=pr(),{shouldPrintParamsWithoutParens:_}=pl();function k(G,ne,Z,ye){let F=G.getValue(),J=[],w=F.type==="ClassBody",$=C(F[ye]);return G.each((y,T,I)=>{let U=y.getValue();if(U.type==="EmptyStatement")return;let q=Z();!ne.semi&&!w&&!h(ne,y)&&x(y,ne)?v(U,S.Leading)?J.push(Z([],{needsSemi:!0})):J.push(";",q):J.push(q),!ne.semi&&w&&R(U)&&X(U,I[T+1])&&J.push(";"),U!==$&&(J.push(f),L(U,ne)&&J.push(f))},ye),J}function C(G){for(let ne=G.length-1;ne>=0;ne--){let Z=G[ne];if(Z.type!=="EmptyStatement")return Z}}function x(G,ne){return G.getNode().type!=="ExpressionStatement"?!1:G.call(Z=>j(Z,ne),"expression")}function j(G,ne){let Z=G.getValue();switch(Z.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!_(G,ne))return!0;break}case"UnaryExpression":{let{prefix:ye,operator:F}=Z;if(ye&&(F==="+"||F==="-"))return!0;break}case"BindExpression":{if(!Z.object)return!0;break}case"Literal":{if(Z.regex)return!0;break}default:if(d(Z))return!0}return b(G,ne)?!0:c(Z)?G.call(ye=>j(ye,ne),...D(G,Z)):!1}function Q(G,ne,Z){return k(G,ne,Z,"body")}function ee(G,ne,Z){return k(G,ne,Z,"consequent")}var R=G=>{let{type:ne}=G;return ne==="ClassProperty"||ne==="PropertyDefinition"||ne==="ClassPrivateProperty"||ne==="ClassAccessorProperty"||ne==="AccessorProperty"||ne==="TSAbstractPropertyDefinition"||ne==="TSAbstractAccessorProperty"};function X(G,ne){let{type:Z,name:ye}=G.key;if(!G.computed&&Z==="Identifier"&&(ye==="static"||ye==="get"||ye==="set"||ye==="accessor")&&!G.value&&!G.typeAnnotation)return!0;if(!ne||ne.static||ne.accessibility)return!1;if(!ne.computed){let F=ne.key&&ne.key.name;if(F==="in"||F==="instanceof")return!0}if(R(ne)&&ne.variance&&!ne.static&&!ne.declare)return!0;switch(ne.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return ne.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((ne.value?ne.value.async:ne.async)||ne.kind==="get"||ne.kind==="set")return!1;let F=ne.value?ne.value.generator:ne.generator;return!!(ne.computed||F)}case"TSIndexSignature":return!0}return!1}E.exports={printBody:Q,printSwitchCaseConsequent:ee}}}),k0=we({"src/language-js/print/block.js"(m,E){$e();var{printDanglingComments:f}=Br(),{isNonEmptyArray:b}=ge(),{builders:{hardline:D,indent:c}}=wn(),{hasComment:d,CommentCheckFlags:h,isNextLineEmpty:v}=pr(),{printHardlineAfterHeritage:S}=Bo(),{printBody:L}=T0();function _(C,x,j){let Q=C.getValue(),ee=[];if(Q.type==="StaticBlock"&&ee.push("static "),Q.type==="ClassBody"&&b(Q.body)){let X=C.getParentNode();ee.push(S(X))}ee.push("{");let R=k(C,x,j);if(R)ee.push(c([D,R]),D);else{let X=C.getParentNode(),G=C.getParentNode(1);X.type==="ArrowFunctionExpression"||X.type==="FunctionExpression"||X.type==="FunctionDeclaration"||X.type==="ObjectMethod"||X.type==="ClassMethod"||X.type==="ClassPrivateMethod"||X.type==="ForStatement"||X.type==="WhileStatement"||X.type==="DoWhileStatement"||X.type==="DoExpression"||X.type==="CatchClause"&&!G.finalizer||X.type==="TSModuleDeclaration"||X.type==="TSDeclareFunction"||Q.type==="StaticBlock"||Q.type==="ClassBody"||ee.push(D)}return ee.push("}"),ee}function k(C,x,j){let Q=C.getValue(),ee=b(Q.directives),R=Q.body.some(ne=>ne.type!=="EmptyStatement"),X=d(Q,h.Dangling);if(!ee&&!R&&!X)return"";let G=[];if(ee&&C.each((ne,Z,ye)=>{G.push(j()),(Z<ye.length-1||R||X)&&(G.push(D),v(ne.getValue(),x)&&G.push(D))},"directives"),R&&G.push(L(C,x,j)),X&&G.push(f(C,x,!0)),Q.type==="Program"){let ne=C.getParentNode();(!ne||ne.type!=="ModuleExpression")&&G.push(D)}return G}E.exports={printBlock:_,printBlockBody:k}}}),Zv=we({"src/language-js/print/typescript.js"(m,E){$e();var{printDanglingComments:f}=Br(),{hasNewlineInRange:b}=ge(),{builders:{join:D,line:c,hardline:d,softline:h,group:v,indent:S,conditionalGroup:L,ifBreak:_}}=wn(),{isStringLiteral:k,getTypeScriptMappedTypeModifier:C,shouldPrintComma:x,isCallExpression:j,isMemberExpression:Q}=pr(),ee=Kv(),{locStart:R,locEnd:X}=ri(),{printOptionalToken:G,printTypeScriptModifiers:ne}=Ai(),{printTernary:Z}=_0(),{printFunctionParameters:ye,shouldGroupFunctionParameters:F}=ll(),{printTemplateLiteral:J}=Ga(),{printArrayItems:w}=ko(),{printObject:$}=Vf(),{printClassProperty:y,printClassMethod:T}=Bo(),{printTypeParameter:I,printTypeParameters:U}=fl(),{printPropertyKey:q}=Po(),{printFunction:z,printMethodInternal:re}=pl(),{printInterface:ce}=F0(),{printBlock:me}=k0(),{printTypeAlias:fe,printIntersectionType:Fe,printUnionType:se,printFunctionType:We,printTupleType:he,printIndexedAccessType:oe,printJSDocType:qe}=cl();function et(Je,dt,De){let Ie=Je.getValue();if(!Ie.type.startsWith("TS"))return;if(ee(Ie))return Ie.type.slice(2,-7).toLowerCase();let ct=dt.semi?";":"",ft=[];switch(Ie.type){case"TSThisType":return"this";case"TSTypeAssertion":{let Jt=!(Ie.expression.type==="ArrayExpression"||Ie.expression.type==="ObjectExpression"),Re=v(["<",S([h,De("typeAnnotation")]),h,">"]),Ce=[_("("),S([h,De("expression")]),h,_(")")];return Jt?L([[Re,De("expression")],[Re,v(Ce,{shouldBreak:!0})],[Re,De("expression")]]):v([Re,De("expression")])}case"TSDeclareFunction":return z(Je,De,dt);case"TSExportAssignment":return["export = ",De("expression"),ct];case"TSModuleBlock":return me(Je,dt,De);case"TSInterfaceBody":case"TSTypeLiteral":return $(Je,dt,De);case"TSTypeAliasDeclaration":return fe(Je,dt,De);case"TSQualifiedName":return D(".",[De("left"),De("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return T(Je,dt,De);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return y(Je,dt,De);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return ft.push(De("expression")),Ie.typeParameters&&ft.push(De("typeParameters")),ft;case"TSTemplateLiteralType":return J(Je,De,dt);case"TSNamedTupleMember":return[De("label"),Ie.optional?"?":"",": ",De("elementType")];case"TSRestType":return["...",De("typeAnnotation")];case"TSOptionalType":return[De("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return ce(Je,dt,De);case"TSClassImplements":return[De("expression"),De("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return U(Je,dt,De,"params");case"TSTypeParameter":return I(Je,dt,De);case"TSSatisfiesExpression":case"TSAsExpression":{let Jt=Ie.type==="TSAsExpression"?"as":"satisfies";ft.push(De("expression"),` ${Jt} `,De("typeAnnotation"));let Re=Je.getParentNode();return j(Re)&&Re.callee===Ie||Q(Re)&&Re.object===Ie?v([S([h,...ft]),h]):ft}case"TSArrayType":return[De("elementType"),"[]"];case"TSPropertySignature":return Ie.readonly&&ft.push("readonly "),ft.push(q(Je,dt,De),G(Je)),Ie.typeAnnotation&&ft.push(": ",De("typeAnnotation")),Ie.initializer&&ft.push(" = ",De("initializer")),ft;case"TSParameterProperty":return Ie.accessibility&&ft.push(Ie.accessibility+" "),Ie.export&&ft.push("export "),Ie.static&&ft.push("static "),Ie.override&&ft.push("override "),Ie.readonly&&ft.push("readonly "),ft.push(De("parameter")),ft;case"TSTypeQuery":return["typeof ",De("exprName"),De("typeParameters")];case"TSIndexSignature":{let Jt=Je.getParentNode(),Re=Ie.parameters.length>1?_(x(dt)?",":""):"",Ce=v([S([h,D([", ",h],Je.map(De,"parameters"))]),Re,h]);return[Ie.export?"export ":"",Ie.accessibility?[Ie.accessibility," "]:"",Ie.static?"static ":"",Ie.readonly?"readonly ":"",Ie.declare?"declare ":"","[",Ie.parameters?Ce:"",Ie.typeAnnotation?"]: ":"]",Ie.typeAnnotation?De("typeAnnotation"):"",Jt.type==="ClassBody"?ct:""]}case"TSTypePredicate":return[Ie.asserts?"asserts ":"",De("parameterName"),Ie.typeAnnotation?[" is ",De("typeAnnotation")]:""];case"TSNonNullExpression":return[De("expression"),"!"];case"TSImportType":return[Ie.isTypeOf?"typeof ":"","import(",De(Ie.parameter?"parameter":"argument"),")",Ie.qualifier?[".",De("qualifier")]:"",U(Je,dt,De,"typeParameters")];case"TSLiteralType":return De("literal");case"TSIndexedAccessType":return oe(Je,dt,De);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(Ie.type==="TSConstructorType"&&Ie.abstract&&ft.push("abstract "),Ie.type!=="TSCallSignatureDeclaration"&&ft.push("new "),ft.push(v(ye(Je,De,dt,!1,!0))),Ie.returnType||Ie.typeAnnotation){let Jt=Ie.type==="TSConstructorType";ft.push(Jt?" => ":": ",De("returnType"),De("typeAnnotation"))}return ft}case"TSTypeOperator":return[Ie.operator," ",De("typeAnnotation")];case"TSMappedType":{let Jt=b(dt.originalText,R(Ie),X(Ie));return v(["{",S([dt.bracketSpacing?c:h,De("typeParameter"),Ie.optional?C(Ie.optional,"?"):"",Ie.typeAnnotation?": ":"",De("typeAnnotation"),_(ct)]),f(Je,dt,!0),dt.bracketSpacing?c:h,"}"],{shouldBreak:Jt})}case"TSMethodSignature":{let Jt=Ie.kind&&Ie.kind!=="method"?`${Ie.kind} `:"";ft.push(Ie.accessibility?[Ie.accessibility," "]:"",Jt,Ie.export?"export ":"",Ie.static?"static ":"",Ie.readonly?"readonly ":"",Ie.abstract?"abstract ":"",Ie.declare?"declare ":"",Ie.computed?"[":"",De("key"),Ie.computed?"]":"",G(Je));let Re=ye(Je,De,dt,!1,!0),Ce=Ie.returnType?"returnType":"typeAnnotation",Ye=Ie[Ce],ze=Ye?De(Ce):"",Dt=F(Ie,ze);return ft.push(Dt?v(Re):Re),Ye&&ft.push(": ",v(ze)),v(ft)}case"TSNamespaceExportDeclaration":return ft.push("export as namespace ",De("id")),dt.semi&&ft.push(";"),v(ft);case"TSEnumDeclaration":return Ie.declare&&ft.push("declare "),Ie.modifiers&&ft.push(ne(Je,dt,De)),Ie.const&&ft.push("const "),ft.push("enum ",De("id")," "),Ie.members.length===0?ft.push(v(["{",f(Je,dt),h,"}"])):ft.push(v(["{",S([d,w(Je,dt,"members",De),x(dt,"es5")?",":""]),f(Je,dt,!0),d,"}"])),ft;case"TSEnumMember":return Ie.computed?ft.push("[",De("id"),"]"):ft.push(De("id")),Ie.initializer&&ft.push(" = ",De("initializer")),ft;case"TSImportEqualsDeclaration":return Ie.isExport&&ft.push("export "),ft.push("import "),Ie.importKind&&Ie.importKind!=="value"&&ft.push(Ie.importKind," "),ft.push(De("id")," = ",De("moduleReference")),dt.semi&&ft.push(";"),v(ft);case"TSExternalModuleReference":return["require(",De("expression"),")"];case"TSModuleDeclaration":{let Jt=Je.getParentNode(),Re=k(Ie.id),Ce=Jt.type==="TSModuleDeclaration",Ye=Ie.body&&Ie.body.type==="TSModuleDeclaration";if(Ce)ft.push(".");else{Ie.declare&&ft.push("declare "),ft.push(ne(Je,dt,De));let ze=dt.originalText.slice(R(Ie),R(Ie.id));Ie.id.type==="Identifier"&&Ie.id.name==="global"&&!/namespace|module/.test(ze)||ft.push(Re||/(?:^|\s)module(?:\s|$)/.test(ze)?"module ":"namespace ")}return ft.push(De("id")),Ye?ft.push(De("body")):Ie.body?ft.push(" ",v(De("body"))):ft.push(ct),ft}case"TSConditionalType":return Z(Je,dt,De);case"TSInferType":return["infer"," ",De("typeParameter")];case"TSIntersectionType":return Fe(Je,dt,De);case"TSUnionType":return se(Je,dt,De);case"TSFunctionType":return We(Je,dt,De);case"TSTupleType":return he(Je,dt,De);case"TSTypeReference":return[De("typeName"),U(Je,dt,De,"typeParameters")];case"TSTypeAnnotation":return De("typeAnnotation");case"TSEmptyBodyFunctionExpression":return re(Je,dt,De);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return qe(Je,De,"?");case"TSJSDocNonNullableType":return qe(Je,De,"!");case"TSInstantiationExpression":return[De("expression"),De("typeParameters")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(Ie.type)}.`)}}E.exports={printTypescript:et}}}),e2=we({"src/language-js/print/comment.js"(m,E){$e();var{hasNewline:f}=ge(),{builders:{join:b,hardline:D},utils:{replaceTextEndOfLine:c}}=wn(),{isLineComment:d}=pr(),{locStart:h,locEnd:v}=ri(),S=ta();function L(C,x){let j=C.getValue();if(d(j))return x.originalText.slice(h(j),v(j)).trimEnd();if(S(j)){if(_(j)){let R=k(j);return j.trailing&&!f(x.originalText,h(j),{backwards:!0})?[D,R]:R}let Q=v(j),ee=x.originalText.slice(Q-3,Q)==="*-/";return["/*",c(j.value),ee?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(j))}function _(C){let x=`*${C.value}*`.split(`
207
- `);return x.length>1&&x.every(j=>j.trim()[0]==="*")}function k(C){let x=C.value.split(`
208
- `);return["/*",b(D,x.map((j,Q)=>Q===0?j.trimEnd():" "+(Q<x.length-1?j.trim():j.trimStart()))),"*/"]}E.exports={printComment:L}}}),t2=we({"src/language-js/print/literal.js"(m,E){$e();var{printString:f,printNumber:b}=ge(),{replaceTextEndOfLine:D}=Ks(),{printDirective:c}=Ai();function d(L,_){let k=L.getNode();switch(k.type){case"RegExpLiteral":return S(k);case"BigIntLiteral":return v(k.bigint||k.extra.raw);case"NumericLiteral":return b(k.extra.raw);case"StringLiteral":return D(f(k.extra.raw,_));case"NullLiteral":return"null";case"BooleanLiteral":return String(k.value);case"DecimalLiteral":return b(k.value)+"m";case"Literal":{if(k.regex)return S(k.regex);if(k.bigint)return v(k.raw);if(k.decimal)return b(k.decimal)+"m";let{value:C}=k;return typeof C=="number"?b(k.raw):typeof C=="string"?h(L)?c(k.raw,_):D(f(k.raw,_)):String(C)}}}function h(L){if(L.getName()!=="expression")return;let _=L.getParentNode();return _.type==="ExpressionStatement"&&_.directive}function v(L){return L.toLowerCase()}function S(L){let{pattern:_,flags:k}=L;return k=[...k].sort().join(""),`/${_}/${k}`}E.exports={printLiteral:d}}}),n2=we({"src/language-js/printer-estree.js"(m,E){$e();var{printDanglingComments:f}=Br(),{hasNewline:b}=ge(),{builders:{join:D,line:c,hardline:d,softline:h,group:v,indent:S},utils:{replaceTextEndOfLine:L}}=wn(),_=Ov(),k=jv(),{insertPragma:C}=E0(),x=A0(),j=Ja(),Q=C0(),{hasFlowShorthandAnnotationComment:ee,hasComment:R,CommentCheckFlags:X,isTheOnlyJsxElementInMarkdown:G,isLineComment:ne,isNextLineEmpty:Z,needsHardlineAfterDanglingComment:ye,hasIgnoreComment:F,isCallExpression:J,isMemberExpression:w,markerForIfWithoutBlockAndSameLineComment:$}=pr(),{locStart:y,locEnd:T}=ri(),I=ta(),{printHtmlBinding:U,isVueEventBindingExpression:q}=Yv(),{printAngular:z}=Hv(),{printJsx:re,hasJsxIgnoreComment:ce}=zv(),{printFlow:me}=Xv(),{printTypescript:fe}=Zv(),{printOptionalToken:Fe,printBindExpressionCallee:se,printTypeAnnotation:We,adjustClause:he,printRestSpread:oe,printDefiniteToken:qe,printDirective:et}=Ai(),{printImportDeclaration:Je,printExportDeclaration:dt,printExportAllDeclaration:De,printModuleSpecifier:Ie}=N0(),{printTernary:ct}=_0(),{printTemplateLiteral:ft}=Ga(),{printArray:Jt}=ko(),{printObject:Re}=Vf(),{printClass:Ce,printClassMethod:Ye,printClassProperty:ze}=Bo(),{printProperty:Dt}=Po(),{printFunction:Nt,printArrowFunction:Bt,printMethod:cn,printReturnStatement:Mn,printThrowStatement:Tn}=pl(),{printCallExpression:ln}=w0(),{printVariableDeclarator:Dn,printAssignmentExpression:at}=Lo(),{printBinaryishExpression:Ee}=$f(),{printSwitchCaseConsequent:pt}=T0(),{printMemberExpression:Oe}=x0(),{printBlock:lt,printBlockBody:Zt}=k0(),{printComment:qt}=e2(),{printLiteral:mt}=t2(),{printDecorators:V}=Rf();function _e(Rt,un,It,Er){let sn=tt(Rt,un,It,Er);if(!sn)return"";let Dr=Rt.getValue(),{type:nn}=Dr;if(nn==="ClassMethod"||nn==="ClassPrivateMethod"||nn==="ClassProperty"||nn==="ClassAccessorProperty"||nn==="AccessorProperty"||nn==="TSAbstractAccessorProperty"||nn==="PropertyDefinition"||nn==="TSAbstractPropertyDefinition"||nn==="ClassPrivateProperty"||nn==="MethodDefinition"||nn==="TSAbstractMethodDefinition"||nn==="TSDeclareMethod")return sn;let An=[sn],Bn=V(Rt,un,It),ar=Dr.type==="ClassExpression"&&Bn;if(Bn&&(An=[...Bn,sn],!ar))return v(An);if(!j(Rt,un))return Er&&Er.needsSemi&&An.unshift(";"),An.length===1&&An[0]===sn?sn:An;if(ar&&(An=[S([c,...An])]),An.unshift("("),Er&&Er.needsSemi&&An.unshift(";"),ee(Dr)){let[an]=Dr.trailingComments;An.push(" /*",an.value.trimStart(),"*/"),an.printed=!0}return ar&&An.push(c),An.push(")"),An}function tt(Rt,un,It,Er){let sn=Rt.getValue(),Dr=un.semi?";":"";if(!sn)return"";if(typeof sn=="string")return sn;for(let An of[mt,U,z,re,me,fe]){let Bn=An(Rt,un,It);if(typeof Bn<"u")return Bn}let nn=[];switch(sn.type){case"JsExpressionRoot":return It("node");case"JsonRoot":return[It("node"),d];case"File":return sn.program&&sn.program.interpreter&&nn.push(It(["program","interpreter"])),nn.push(It("program")),nn;case"Program":return Zt(Rt,un,It);case"EmptyStatement":return"";case"ExpressionStatement":{if(un.parser==="__vue_event_binding"||un.parser==="__vue_ts_event_binding"){let Bn=Rt.getParentNode();if(Bn.type==="Program"&&Bn.body.length===1&&Bn.body[0]===sn)return[It("expression"),q(sn.expression)?";":""]}let An=f(Rt,un,!0,Bn=>{let{marker:ar}=Bn;return ar===$});return[It("expression"),G(un,Rt)?"":Dr,An?[" ",An]:""]}case"ParenthesizedExpression":return!R(sn.expression)&&(sn.expression.type==="ObjectExpression"||sn.expression.type==="ArrayExpression")?["(",It("expression"),")"]:v(["(",S([h,It("expression")]),h,")"]);case"AssignmentExpression":return at(Rt,un,It);case"VariableDeclarator":return Dn(Rt,un,It);case"BinaryExpression":case"LogicalExpression":return Ee(Rt,un,It);case"AssignmentPattern":return[It("left")," = ",It("right")];case"OptionalMemberExpression":case"MemberExpression":return Oe(Rt,un,It);case"MetaProperty":return[It("meta"),".",It("property")];case"BindExpression":return sn.object&&nn.push(It("object")),nn.push(v(S([h,se(Rt,un,It)]))),nn;case"Identifier":return[sn.name,Fe(Rt),qe(Rt),We(Rt,un,It)];case"V8IntrinsicIdentifier":return["%",sn.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return oe(Rt,un,It);case"FunctionDeclaration":case"FunctionExpression":return Nt(Rt,It,un,Er);case"ArrowFunctionExpression":return Bt(Rt,un,It,Er);case"YieldExpression":return nn.push("yield"),sn.delegate&&nn.push("*"),sn.argument&&nn.push(" ",It("argument")),nn;case"AwaitExpression":{if(nn.push("await"),sn.argument){nn.push(" ",It("argument"));let An=Rt.getParentNode();if(J(An)&&An.callee===sn||w(An)&&An.object===sn){nn=[S([h,...nn]),h];let Bn=Rt.findAncestor(ar=>ar.type==="AwaitExpression"||ar.type==="BlockStatement");if(!Bn||Bn.type!=="AwaitExpression")return v(nn)}}return nn}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return dt(Rt,un,It);case"ExportAllDeclaration":return De(Rt,un,It);case"ImportDeclaration":return Je(Rt,un,It);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Ie(Rt,un,It);case"ImportAttribute":return[It("key"),": ",It("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return lt(Rt,un,It);case"ThrowStatement":return Tn(Rt,un,It);case"ReturnStatement":return Mn(Rt,un,It);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return ln(Rt,un,It);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return Re(Rt,un,It);case"ObjectProperty":case"Property":return sn.method||sn.kind==="get"||sn.kind==="set"?cn(Rt,un,It):Dt(Rt,un,It);case"ObjectMethod":return cn(Rt,un,It);case"Decorator":return["@",It("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Jt(Rt,un,It);case"SequenceExpression":{let An=Rt.getParentNode(0);if(An.type==="ExpressionStatement"||An.type==="ForStatement"){let Bn=[];return Rt.each((ar,an)=>{an===0?Bn.push(It()):Bn.push(",",S([c,It()]))},"expressions"),v(Bn)}return v(D([",",c],Rt.map(It,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[It("value"),Dr];case"DirectiveLiteral":return et(sn.extra.raw,un);case"UnaryExpression":return nn.push(sn.operator),/[a-z]$/.test(sn.operator)&&nn.push(" "),R(sn.argument)?nn.push(v(["(",S([h,It("argument")]),h,")"])):nn.push(It("argument")),nn;case"UpdateExpression":return nn.push(It("argument"),sn.operator),sn.prefix&&nn.reverse(),nn;case"ConditionalExpression":return ct(Rt,un,It);case"VariableDeclaration":{let An=Rt.map(It,"declarations"),Bn=Rt.getParentNode(),ar=Bn.type==="ForStatement"||Bn.type==="ForInStatement"||Bn.type==="ForOfStatement",an=sn.declarations.some(Sn=>Sn.init),_n;return An.length===1&&!R(sn.declarations[0])?_n=An[0]:An.length>0&&(_n=S(An[0])),nn=[sn.declare?"declare ":"",sn.kind,_n?[" ",_n]:"",S(An.slice(1).map(Sn=>[",",an&&!ar?d:c,Sn]))],ar&&Bn.body!==sn||nn.push(Dr),v(nn)}case"WithStatement":return v(["with (",It("object"),")",he(sn.body,It("body"))]);case"IfStatement":{let An=he(sn.consequent,It("consequent")),Bn=v(["if (",v([S([h,It("test")]),h]),")",An]);if(nn.push(Bn),sn.alternate){let ar=R(sn.consequent,X.Trailing|X.Line)||ye(sn),an=sn.consequent.type==="BlockStatement"&&!ar;nn.push(an?" ":d),R(sn,X.Dangling)&&nn.push(f(Rt,un,!0),ar?d:" "),nn.push("else",v(he(sn.alternate,It("alternate"),sn.alternate.type==="IfStatement")))}return nn}case"ForStatement":{let An=he(sn.body,It("body")),Bn=f(Rt,un,!0),ar=Bn?[Bn,h]:"";return!sn.init&&!sn.test&&!sn.update?[ar,v(["for (;;)",An])]:[ar,v(["for (",v([S([h,It("init"),";",c,It("test"),";",c,It("update")]),h]),")",An])]}case"WhileStatement":return v(["while (",v([S([h,It("test")]),h]),")",he(sn.body,It("body"))]);case"ForInStatement":return v(["for (",It("left")," in ",It("right"),")",he(sn.body,It("body"))]);case"ForOfStatement":return v(["for",sn.await?" await":""," (",It("left")," of ",It("right"),")",he(sn.body,It("body"))]);case"DoWhileStatement":{let An=he(sn.body,It("body"));return nn=[v(["do",An])],sn.body.type==="BlockStatement"?nn.push(" "):nn.push(d),nn.push("while (",v([S([h,It("test")]),h]),")",Dr),nn}case"DoExpression":return[sn.async?"async ":"","do ",It("body")];case"BreakStatement":return nn.push("break"),sn.label&&nn.push(" ",It("label")),nn.push(Dr),nn;case"ContinueStatement":return nn.push("continue"),sn.label&&nn.push(" ",It("label")),nn.push(Dr),nn;case"LabeledStatement":return sn.body.type==="EmptyStatement"?[It("label"),":;"]:[It("label"),": ",It("body")];case"TryStatement":return["try ",It("block"),sn.handler?[" ",It("handler")]:"",sn.finalizer?[" finally ",It("finalizer")]:""];case"CatchClause":if(sn.param){let An=R(sn.param,ar=>!I(ar)||ar.leading&&b(un.originalText,T(ar))||ar.trailing&&b(un.originalText,y(ar),{backwards:!0})),Bn=It("param");return["catch ",An?["(",S([h,Bn]),h,") "]:["(",Bn,") "],It("body")]}return["catch ",It("body")];case"SwitchStatement":return[v(["switch (",S([h,It("discriminant")]),h,")"])," {",sn.cases.length>0?S([d,D(d,Rt.map((An,Bn,ar)=>{let an=An.getValue();return[It(),Bn!==ar.length-1&&Z(an,un)?d:""]},"cases"))]):"",d,"}"];case"SwitchCase":{sn.test?nn.push("case ",It("test"),":"):nn.push("default:"),R(sn,X.Dangling)&&nn.push(" ",f(Rt,un,!0));let An=sn.consequent.filter(Bn=>Bn.type!=="EmptyStatement");if(An.length>0){let Bn=pt(Rt,un,It);nn.push(An.length===1&&An[0].type==="BlockStatement"?[" ",Bn]:S([d,Bn]))}return nn}case"DebuggerStatement":return["debugger",Dr];case"ClassDeclaration":case"ClassExpression":return Ce(Rt,un,It);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return Ye(Rt,un,It);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return ze(Rt,un,It);case"TemplateElement":return L(sn.value.raw);case"TemplateLiteral":return ft(Rt,It,un);case"TaggedTemplateExpression":return[It("tag"),It("typeParameters"),It("quasi")];case"PrivateIdentifier":return["#",It("name")];case"PrivateName":return["#",It("id")];case"InterpreterDirective":return nn.push("#!",sn.value,d),Z(sn,un)&&nn.push(d),nn;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{nn.push("module {");let An=It("body");return An&&nn.push(S([d,An]),d),nn.push("}"),nn}default:throw new Error("unknown type: "+JSON.stringify(sn.type))}}function kt(Rt){return Rt.type&&!I(Rt)&&!ne(Rt)&&Rt.type!=="EmptyStatement"&&Rt.type!=="TemplateElement"&&Rt.type!=="Import"&&Rt.type!=="TSEmptyBodyFunctionExpression"}E.exports={preprocess:Q,print:_e,embed:_,insertPragma:C,massageAstNode:k,hasPrettierIgnore(Rt){return F(Rt)||ce(Rt)},willPrintOwnComments:x.willPrintOwnComments,canAttachComment:kt,printComment:qt,isBlockComment:I,handleComments:{avoidAstMutation:!0,ownLine:x.handleOwnLineComment,endOfLine:x.handleEndOfLineComment,remaining:x.handleRemainingComment},getCommentChildNodes:x.getCommentChildNodes}}}),r2=we({"src/language-js/printer-estree-json.js"(m,E){$e();var{builders:{hardline:f,indent:b,join:D}}=wn(),c=C0();function d(L,_,k){let C=L.getValue();switch(C.type){case"JsonRoot":return[k("node"),f];case"ArrayExpression":{if(C.elements.length===0)return"[]";let x=L.map(()=>L.getValue()===null?"null":k(),"elements");return["[",b([f,D([",",f],x)]),f,"]"]}case"ObjectExpression":return C.properties.length===0?"{}":["{",b([f,D([",",f],L.map(k,"properties"))]),f,"}"];case"ObjectProperty":return[k("key"),": ",k("value")];case"UnaryExpression":return[C.operator==="+"?"":C.operator,k("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return C.value?"true":"false";case"StringLiteral":return JSON.stringify(C.value);case"NumericLiteral":return h(L)?JSON.stringify(String(C.value)):JSON.stringify(C.value);case"Identifier":return h(L)?JSON.stringify(C.name):C.name;case"TemplateLiteral":return k(["quasis",0]);case"TemplateElement":return JSON.stringify(C.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(C.type))}}function h(L){return L.getName()==="key"&&L.getParentNode().type==="ObjectProperty"}var v=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function S(L,_){let{type:k}=L;if(k==="ObjectProperty"){let{key:C}=L;C.type==="Identifier"?_.key={type:"StringLiteral",value:C.name}:C.type==="NumericLiteral"&&(_.key={type:"StringLiteral",value:String(C.value)});return}if(k==="UnaryExpression"&&L.operator==="+")return _.argument;if(k==="ArrayExpression"){for(let[C,x]of L.elements.entries())x===null&&_.elements.splice(C,0,{type:"NullLiteral"});return}if(k==="TemplateLiteral")return{type:"StringLiteral",value:L.quasis[0].value.cooked}}S.ignoredProperties=v,E.exports={preprocess:c,print:d,massageAstNode:S}}}),Ya=we({"src/common/common-options.js"(m,E){$e();var f="Common";E.exports={bracketSpacing:{since:"0.0.0",category:f,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:f,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:f,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:f,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:f,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),i2=we({"src/language-js/options.js"(m,E){$e();var f=Ya(),b="JavaScript";E.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:f.bracketSameLine,bracketSpacing:f.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:f.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:f.singleAttributePerLine}}}),s2=we({"src/language-js/parse/parsers.js"(){$e()}}),Uf=we({"node_modules/linguist-languages/data/JavaScript.json"(m,E){E.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}}}),a2=we({"node_modules/linguist-languages/data/TypeScript.json"(m,E){E.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=we({"node_modules/linguist-languages/data/TSX.json"(m,E){E.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),L0=we({"node_modules/linguist-languages/data/JSON.json"(m,E){E.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}}}),u2=we({"node_modules/linguist-languages/data/JSON with Comments.json"(m,E){E.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}}}),l2=we({"node_modules/linguist-languages/data/JSON5.json"(m,E){E.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),c2=we({"src/language-js/index.js"(m,E){$e();var f=ea(),b=n2(),D=r2(),c=i2(),d=s2(),h=[f(Uf(),S=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...S.interpreters,"zx"],extensions:[...S.extensions.filter(L=>L!==".jsx"),".wxs"]})),f(Uf(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),f(Uf(),()=>({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})),f(a2(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),f(o2(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),f(L0(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),f(L0(),S=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:S.extensions.filter(L=>L!==".jsonl")})),f(u2(),S=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...S.filenames,".eslintrc",".swcrc"]})),f(l2(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],v={estree:b,"estree-json":D};E.exports={languages:h,options:c,printers:v,parsers:d}}}),f2=we({"src/language-css/clean.js"(m,E){$e();var{isFrontMatterNode:f}=ge(),b=jr(),D=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function c(h,v,S){if(f(h)&&h.lang==="yaml"&&delete v.value,h.type==="css-comment"&&S.type==="css-root"&&S.nodes.length>0&&((S.nodes[0]===h||f(S.nodes[0])&&S.nodes[1]===h)&&(delete v.text,/^\*\s*@(?:format|prettier)\s*$/.test(h.text))||S.type==="css-root"&&b(S.nodes)===h))return null;if(h.type==="value-root"&&delete v.text,(h.type==="media-query"||h.type==="media-query-list"||h.type==="media-feature-expression")&&delete v.value,h.type==="css-rule"&&delete v.params,h.type==="selector-combinator"&&(v.value=v.value.replace(/\s+/g," ")),h.type==="media-feature"&&(v.value=v.value.replace(/ /g,"")),(h.type==="value-word"&&(h.isColor&&h.isHex||["initial","inherit","unset","revert"].includes(v.value.replace().toLowerCase()))||h.type==="media-feature"||h.type==="selector-root-invalid"||h.type==="selector-pseudo")&&(v.value=v.value.toLowerCase()),h.type==="css-decl"&&(v.prop=v.prop.toLowerCase()),(h.type==="css-atrule"||h.type==="css-import")&&(v.name=v.name.toLowerCase()),h.type==="value-number"&&(v.unit=v.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")&&v.value&&(v.value=d(v.value)),h.type==="selector-attribute"&&(v.attribute=v.attribute.trim(),v.namespace&&typeof v.namespace=="string"&&(v.namespace=v.namespace.trim(),v.namespace.length===0&&(v.namespace=!0)),v.value&&(v.value=v.value.trim().replace(/^["']|["']$/g,""),delete v.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")&&v.value&&(v.value=v.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(L,_,k)=>{let C=Number(_);return Number.isNaN(C)?L:C+k.toLowerCase()})),h.type==="selector-tag"){let L=h.value.toLowerCase();["from","to"].includes(L)&&(v.value=L)}if(h.type==="css-atrule"&&h.name.toLowerCase()==="supports"&&delete v.value,h.type==="selector-unknown"&&delete v.value,h.type==="value-comma_group"){let L=h.groups.findIndex(_=>_.type==="value-number"&&_.unit==="...");L!==-1&&(v.groups[L].unit="",v.groups.splice(L+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(h.type==="value-comma_group"&&h.groups.some(L=>L.type==="value-atword"&&L.value.endsWith("[")||L.type==="value-word"&&L.value.startsWith("]")))return{type:"value-atword",value:h.groups.map(L=>L.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}c.ignoredProperties=D;function d(h){return h.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}E.exports=c}}),qf=we({"src/utils/front-matter/print.js"(m,E){$e();var{builders:{hardline:f,markAsRoot:b}}=wn();function D(c,d){if(c.lang==="yaml"){let h=c.value.trim(),v=h?d(h,{parser:"yaml"},{stripTrailingHardline:!0}):"";return b([c.startDelimiter,f,v,v?f:"",c.endDelimiter])}}E.exports=D}}),p2=we({"src/language-css/embed.js"(m,E){$e();var{builders:{hardline:f}}=wn(),b=qf();function D(c,d,h){let v=c.getValue();if(v.type==="front-matter"){let S=b(v,h);return S?[S,f]:""}}E.exports=D}}),P0=we({"src/utils/front-matter/parse.js"(m,E){$e();var f=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function b(D){let c=D.match(f);if(!c)return{content:D};let{startDelimiter:d,language:h,value:v="",endDelimiter:S}=c.groups,L=h.trim()||"yaml";if(d==="+++"&&(L="toml"),L!=="yaml"&&d!==S)return{content:D};let[_]=c;return{frontMatter:{type:"front-matter",lang:L,value:v,startDelimiter:d,endDelimiter:S,raw:_.replace(/\n$/,"")},content:_.replace(/[^\n]/g," ")+D.slice(_.length)}}E.exports=b}}),d2=we({"src/language-css/pragma.js"(m,E){$e();var f=E0(),b=P0();function D(d){return f.hasPragma(b(d).content)}function c(d){let{frontMatter:h,content:v}=b(d);return(h?h.raw+`
209
-
210
- `:"")+f.insertPragma(v)}E.exports={hasPragma:D,insertPragma:c}}}),h2=we({"src/language-css/utils/index.js"(m,E){$e();var f=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,Ce){let Ye=Array.isArray(Ce)?Ce:[Ce],ze=-1,Dt;for(;Dt=Re.getParentNode(++ze);)if(Ye.includes(Dt.type))return ze;return-1}function D(Re,Ce){let Ye=b(Re,Ce);return Ye===-1?null:Re.getParentNode(Ye)}function c(Re){var Ce;let Ye=D(Re,"css-decl");return Ye==null||(Ce=Ye.prop)===null||Ce===void 0?void 0:Ce.toLowerCase()}var d=new Set(["initial","inherit","unset","revert"]);function h(Re){return d.has(Re.toLowerCase())}function v(Re,Ce){let Ye=D(Re,"css-atrule");return(Ye==null?void 0:Ye.name)&&Ye.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(Ce.toLowerCase())}function S(Re){return Re.includes("$")||Re.includes("@")||Re.includes("#")||Re.startsWith("%")||Re.startsWith("--")||Re.startsWith(":--")||Re.includes("(")&&Re.includes(")")?Re:Re.toLowerCase()}function L(Re,Ce){var Ye;let ze=D(Re,"value-func");return(ze==null||(Ye=ze.value)===null||Ye===void 0?void 0:Ye.toLowerCase())===Ce}function _(Re){var Ce;let Ye=D(Re,"css-rule"),ze=Ye==null||(Ce=Ye.raws)===null||Ce===void 0?void 0:Ce.selector;return ze&&(ze.startsWith(":import")||ze.startsWith(":export"))}function k(Re,Ce){let Ye=Array.isArray(Ce)?Ce:[Ce],ze=D(Re,"css-atrule");return ze&&Ye.includes(ze.name.toLowerCase())}function C(Re){let Ce=Re.getValue(),Ye=D(Re,"css-atrule");return(Ye==null?void 0:Ye.name)==="import"&&Ce.groups[0].value==="url"&&Ce.groups.length===2}function x(Re){return Re.type==="value-func"&&Re.value.toLowerCase()==="url"}function j(Re,Ce){var Ye;let ze=(Ye=Re.getParentNode())===null||Ye===void 0?void 0:Ye.nodes;return ze&&ze.indexOf(Ce)===ze.length-1}function Q(Re){let{selector:Ce}=Re;return Ce?typeof Ce=="string"&&/^@.+:.*$/.test(Ce)||Ce.value&&/^@.+:.*$/.test(Ce.value):!1}function ee(Re){return Re.type==="value-word"&&["from","through","end"].includes(Re.value)}function R(Re){return Re.type==="value-word"&&["and","or","not"].includes(Re.value)}function X(Re){return Re.type==="value-word"&&Re.value==="in"}function G(Re){return Re.type==="value-operator"&&Re.value==="*"}function ne(Re){return Re.type==="value-operator"&&Re.value==="/"}function Z(Re){return Re.type==="value-operator"&&Re.value==="+"}function ye(Re){return Re.type==="value-operator"&&Re.value==="-"}function F(Re){return Re.type==="value-operator"&&Re.value==="%"}function J(Re){return G(Re)||ne(Re)||Z(Re)||ye(Re)||F(Re)}function w(Re){return Re.type==="value-word"&&["==","!="].includes(Re.value)}function $(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 T(Re){var Ce;return((Ce=Re.raws)===null||Ce===void 0?void 0:Ce.params)&&/^\(\s*\)$/.test(Re.raws.params)}function I(Re){return Re.name.startsWith("prettier-placeholder")}function U(Re){return Re.prop.startsWith("@prettier-placeholder")}function q(Re,Ce){return Re.value==="$$"&&Re.type==="value-func"&&(Ce==null?void 0:Ce.type)==="value-word"&&!Ce.raws.before}function z(Re){var Ce,Ye;return((Ce=Re.value)===null||Ce===void 0?void 0:Ce.type)==="value-root"&&((Ye=Re.value.group)===null||Ye===void 0?void 0:Ye.type)==="value-value"&&Re.prop.toLowerCase()==="composes"}function re(Re){var Ce,Ye,ze;return((Ce=Re.value)===null||Ce===void 0||(Ye=Ce.group)===null||Ye===void 0||(ze=Ye.group)===null||ze===void 0?void 0:ze.type)==="value-paren_group"&&Re.value.group.group.open!==null&&Re.value.group.group.close!==null}function ce(Re){var Ce;return((Ce=Re.raws)===null||Ce===void 0?void 0:Ce.before)===""}function me(Re){var Ce,Ye;return Re.type==="value-comma_group"&&((Ce=Re.groups)===null||Ce===void 0||(Ye=Ce[1])===null||Ye===void 0?void 0:Ye.type)==="value-colon"}function fe(Re){var Ce;return Re.type==="value-paren_group"&&((Ce=Re.groups)===null||Ce===void 0?void 0:Ce[0])&&me(Re.groups[0])}function Fe(Re){var Ce;let Ye=Re.getValue();if(Ye.groups.length===0)return!1;let ze=Re.getParentNode(1);if(!fe(Ye)&&!(ze&&fe(ze)))return!1;let Dt=D(Re,"css-decl");return!!(Dt!=null&&(Ce=Dt.prop)!==null&&Ce!==void 0&&Ce.startsWith("$")||fe(ze)||ze.type==="value-func")}function se(Re){return Re.type==="value-comment"&&Re.inline}function We(Re){return Re.type==="value-word"&&Re.value==="#"}function he(Re){return Re.type==="value-word"&&Re.value==="{"}function oe(Re){return Re.type==="value-word"&&Re.value==="}"}function qe(Re){return["value-word","value-atword"].includes(Re.type)}function et(Re){return(Re==null?void 0:Re.type)==="value-colon"}function Je(Re,Ce){if(!me(Ce))return!1;let{groups:Ye}=Ce,ze=Ye.indexOf(Re);return ze===-1?!1:et(Ye[ze+1])}function dt(Re){return Re.value&&["not","and","or"].includes(Re.value.toLowerCase())}function De(Re){return Re.type!=="value-func"?!1:f.has(Re.value.toLowerCase())}function Ie(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,Ce){var Ye,ze;if(((Ye=Re.open)===null||Ye===void 0?void 0:Ye.value)!=="("||((ze=Re.close)===null||ze===void 0?void 0:ze.value)!==")"||Re.groups.some(Dt=>Dt.type!=="value-comma_group"))return!1;if(Ce.type==="value-comma_group"){let Dt=Ce.groups.indexOf(Re)-1,Nt=Ce.groups[Dt];if((Nt==null?void 0:Nt.type)==="value-word"&&Nt.value==="with")return!0}return!1}function Jt(Re){var Ce,Ye;return Re.type==="value-paren_group"&&((Ce=Re.open)===null||Ce===void 0?void 0:Ce.value)==="("&&((Ye=Re.close)===null||Ye===void 0?void 0:Ye.value)===")"}E.exports={getAncestorCounter:b,getAncestorNode:D,getPropOfDeclNode:c,maybeToLowerCase:S,insideValueFunctionNode:L,insideICSSRuleNode:_,insideAtRuleNode:k,insideURLFunctionInImportAtRuleNode:C,isKeyframeAtRuleKeywords:v,isWideKeywords:h,isLastNode:j,isSCSSControlDirectiveNode:y,isDetachedRulesetDeclarationNode:Q,isRelationalOperatorNode:$,isEqualityOperatorNode:w,isMultiplicationNode:G,isDivisionNode:ne,isAdditionNode:Z,isSubtractionNode:ye,isModuloNode:F,isMathOperatorNode:J,isEachKeywordNode:X,isForKeywordNode:ee,isURLFunctionNode:x,isIfElseKeywordNode:R,hasComposesNode:z,hasParensAroundNode:re,hasEmptyRawBefore:ce,isDetachedRulesetCallNode:T,isTemplatePlaceholderNode:I,isTemplatePropNode:U,isPostcssSimpleVarNode:q,isKeyValuePairNode:me,isKeyValuePairInParenGroupNode:fe,isKeyInValuePairNode:Je,isSCSSMapItemNode:Fe,isInlineValueCommentNode:se,isHashNode:We,isLeftCurlyBraceNode:he,isRightCurlyBraceNode:oe,isWordNode:qe,isColonNode:et,isMediaAndSupportsKeywords:dt,isColorAdjusterFuncNode:De,lastLineHasInlineComment:Ie,isAtWordPlaceholderNode:ct,isConfigurationNode:ft,isParenGroupNode:Jt}}}),m2=we({"src/utils/line-column-to-index.js"(m,E){$e(),E.exports=function(f,b){let D=0;for(let c=0;c<f.line-1;++c)D=b.indexOf(`
211
- `,D)+1;return D+f.column}}}),g2=we({"src/language-css/loc.js"(m,E){$e();var{skipEverythingButNewLine:f}=_t(),b=jr(),D=m2();function c(C,x){return typeof C.sourceIndex=="number"?C.sourceIndex:C.source?D(C.source.start,x)-1:null}function d(C,x){if(C.type==="css-comment"&&C.inline)return f(x,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,x):null}function h(C,x){C.source&&(C.source.startOffset=c(C,x),C.source.endOffset=d(C,x));for(let j in C){let Q=C[j];j==="source"||!Q||typeof Q!="object"||(Q.type==="value-root"||Q.type==="value-unknown"?v(Q,S(C),Q.text||Q.value):h(Q,x))}}function v(C,x,j){C.source&&(C.source.startOffset=c(C,j)+x,C.source.endOffset=d(C,j)+x);for(let Q in C){let ee=C[Q];Q==="source"||!ee||typeof ee!="object"||v(ee,x,j)}}function S(C){let x=C.source.startOffset;return typeof C.prop=="string"&&(x+=C.prop.length),C.type==="css-atrule"&&typeof C.name=="string"&&(x+=1+C.name.length+C.raws.afterName.match(/^\s*:?\s*/)[0].length),C.type!=="css-atrule"&&C.raws&&typeof C.raws.between=="string"&&(x+=C.raws.between.length),x}function L(C){let x="initial",j="initial",Q,ee=!1,R=[];for(let X=0;X<C.length;X++){let G=C[X];switch(x){case"initial":if(G==="'"){x="single-quotes";continue}if(G==='"'){x="double-quotes";continue}if((G==="u"||G==="U")&&C.slice(X,X+4).toLowerCase()==="url("){x="url",X+=3;continue}if(G==="*"&&C[X-1]==="/"){x="comment-block";continue}if(G==="/"&&C[X-1]==="/"){x="comment-inline",Q=X-1;continue}continue;case"single-quotes":if(G==="'"&&C[X-1]!=="\\"&&(x=j,j="initial"),G===`
212
- `||G==="\r")return C;continue;case"double-quotes":if(G==='"'&&C[X-1]!=="\\"&&(x=j,j="initial"),G===`
213
- `||G==="\r")return C;continue;case"url":if(G===")"&&(x="initial"),G===`
214
- `||G==="\r")return C;if(G==="'"){x="single-quotes",j="url";continue}if(G==='"'){x="double-quotes",j="url";continue}continue;case"comment-block":G==="/"&&C[X-1]==="*"&&(x="initial");continue;case"comment-inline":(G==='"'||G==="'"||G==="*")&&(ee=!0),(G===`
215
- `||G==="\r")&&(ee&&R.push([Q,X]),x="initial",ee=!1);continue}}for(let[X,G]of R)C=C.slice(0,X)+C.slice(X,G).replace(/["'*]/g," ")+C.slice(G);return C}function _(C){return C.source.startOffset}function k(C){return C.source.endOffset}E.exports={locStart:_,locEnd:k,calculateLoc:h,replaceQuotesInInlineComments:L}}}),y2=we({"src/language-css/utils/is-less-parser.js"(m,E){$e();function f(b){return b.parser==="css"||b.parser==="less"}E.exports=f}}),D2=we({"src/language-css/utils/is-scss.js"(m,E){$e();function f(b,D){return b==="less"||b==="scss"?b==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(D)}E.exports=f}}),b2=we({"src/language-css/utils/css-units.evaluate.js"(m,E){E.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"}}}),v2=we({"src/language-css/utils/print-unit.js"(m,E){$e();var f=b2();function b(D){let c=D.toLowerCase();return Object.prototype.hasOwnProperty.call(f,c)?f[c]:D}E.exports=b}}),E2=we({"src/language-css/printer-postcss.js"(m,E){$e();var f=jr(),{printNumber:b,printString:D,hasNewline:c,isFrontMatterNode:d,isNextLineEmpty:h,isNonEmptyArray:v}=ge(),{builders:{join:S,line:L,hardline:_,softline:k,group:C,fill:x,indent:j,dedent:Q,ifBreak:ee,breakParent:R},utils:{removeLines:X,getDocParts:G}}=wn(),ne=f2(),Z=p2(),{insertPragma:ye}=d2(),{getAncestorNode:F,getPropOfDeclNode:J,maybeToLowerCase:w,insideValueFunctionNode:$,insideICSSRuleNode:y,insideAtRuleNode:T,insideURLFunctionInImportAtRuleNode:I,isKeyframeAtRuleKeywords:U,isWideKeywords:q,isLastNode:z,isSCSSControlDirectiveNode:re,isDetachedRulesetDeclarationNode:ce,isRelationalOperatorNode:me,isEqualityOperatorNode:fe,isMultiplicationNode:Fe,isDivisionNode:se,isAdditionNode:We,isSubtractionNode:he,isMathOperatorNode:oe,isEachKeywordNode:qe,isForKeywordNode:et,isURLFunctionNode:Je,isIfElseKeywordNode:dt,hasComposesNode:De,hasParensAroundNode:Ie,hasEmptyRawBefore:ct,isKeyValuePairNode:ft,isKeyInValuePairNode:Jt,isDetachedRulesetCallNode:Re,isTemplatePlaceholderNode:Ce,isTemplatePropNode:Ye,isPostcssSimpleVarNode:ze,isSCSSMapItemNode:Dt,isInlineValueCommentNode:Nt,isHashNode:Bt,isLeftCurlyBraceNode:cn,isRightCurlyBraceNode:Mn,isWordNode:Tn,isColonNode:ln,isMediaAndSupportsKeywords:Dn,isColorAdjusterFuncNode:at,lastLineHasInlineComment:Ee,isAtWordPlaceholderNode:pt,isConfigurationNode:Oe,isParenGroupNode:lt}=h2(),{locStart:Zt,locEnd:qt}=g2(),mt=y2(),V=D2(),_e=v2();function tt(an){return an.trailingComma==="es5"||an.trailingComma==="all"}function kt(an,_n,Sn){let ut=an.getValue();if(!ut)return"";if(typeof ut=="string")return ut;switch(ut.type){case"front-matter":return[ut.raw,_];case"css-root":{let Un=Rt(an,_n,Sn),Gn=ut.raws.after.trim();return Gn.startsWith(";")&&(Gn=Gn.slice(1).trim()),[Un,Gn?` ${Gn}`:"",G(Un).length>0?_:""]}case"css-comment":{let Un=ut.inline||ut.raws.inline,Gn=_n.originalText.slice(Zt(ut),qt(ut));return Un?Gn.trimEnd():Gn}case"css-rule":return[Sn("selector"),ut.important?" !important":"",ut.nodes?[ut.selector&&ut.selector.type==="selector-unknown"&&Ee(ut.selector.value)?L:" ","{",ut.nodes.length>0?j([_,Rt(an,_n,Sn)]):"",_,"}",ce(ut)?";":""]:";"];case"css-decl":{let Un=an.getParentNode(),{between:Gn}=ut.raws,fr=Gn.trim(),Si=fr===":",ae=De(ut)?X(Sn("value")):Sn("value");return!Si&&Ee(fr)&&(ae=j([_,Q(ae)])),[ut.raws.before.replace(/[\s;]/g,""),Un.type==="css-atrule"&&Un.variable||y(an)?ut.prop:w(ut.prop),fr.startsWith("//")?" ":"",fr,ut.extend?"":" ",mt(_n)&&ut.extend&&ut.selector?["extend(",Sn("selector"),")"]:"",ae,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([k,Rt(an,_n,Sn)]),k,"}"]:Ye(ut)&&!Un.raws.semicolon&&_n.originalText[qt(ut)-1]!==";"?"":_n.__isHTMLStyleAttribute&&z(an,ut)?ee(";"):";"]}case"css-atrule":{let Un=an.getParentNode(),Gn=Ce(ut)&&!Un.raws.semicolon&&_n.originalText[qt(ut)-1]!==";";if(mt(_n)){if(ut.mixin)return[Sn("selector"),ut.important?" !important":"",Gn?"":";"];if(ut.function)return[ut.name,Sn("params"),Gn?"":";"];if(ut.variable)return["@",ut.name,": ",ut.value?Sn("value"):"",ut.raws.between.trim()?ut.raws.between.trim()+" ":"",ut.nodes?["{",j([ut.nodes.length>0?k:"",Rt(an,_n,Sn)]),k,"}"]:"",Gn?"":";"]}return["@",Re(ut)||ut.name.endsWith(":")?ut.name:w(ut.name),ut.params?[Re(ut)?"":Ce(ut)?ut.raws.afterName===""?"":ut.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(ut.raws.afterName)?[_,_]:/^\s*\n/.test(ut.raws.afterName)?_:" ":" ",Sn("params")]:"",ut.selector?j([" ",Sn("selector")]):"",ut.value?C([" ",Sn("value"),re(ut)?Ie(ut)?" ":L:""]):ut.name==="else"?" ":"",ut.nodes?[re(ut)?"":ut.selector&&!ut.selector.nodes&&typeof ut.selector.value=="string"&&Ee(ut.selector.value)||!ut.selector&&typeof ut.params=="string"&&Ee(ut.params)?L:" ","{",j([ut.nodes.length>0?k:"",Rt(an,_n,Sn)]),k,"}"]:Gn?"":";"]}case"media-query-list":{let Un=[];return an.each(Gn=>{let fr=Gn.getValue();fr.type==="media-query"&&fr.value===""||Un.push(Sn())},"nodes"),C(j(S(L,Un)))}case"media-query":return[S(" ",an.map(Sn,"nodes")),z(an,ut)?"":","];case"media-type":return Bn(nn(ut.value,_n));case"media-feature-expression":return ut.nodes?["(",...an.map(Sn,"nodes"),")"]:ut.value;case"media-feature":return w(nn(ut.value.replace(/ +/g," "),_n));case"media-colon":return[ut.value," "];case"media-value":return Bn(nn(ut.value,_n));case"media-keyword":return nn(ut.value,_n);case"media-url":return nn(ut.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),_n);case"media-unknown":return ut.value;case"selector-root":return C([T(an,"custom-selector")?[F(an,"css-atrule").customSelector,L]:"",S([",",T(an,["extend","custom-selector","nest"])?L:_],an.map(Sn,"nodes"))]);case"selector-selector":return C(j(an.map(Sn,"nodes")));case"selector-comment":return ut.value;case"selector-string":return nn(ut.value,_n);case"selector-tag":{let Un=an.getParentNode(),Gn=Un&&Un.nodes.indexOf(ut),fr=Gn&&Un.nodes[Gn-1];return[ut.namespace?[ut.namespace===!0?"":ut.namespace.trim(),"|"]:"",fr.type==="selector-nesting"?ut.value:Bn(U(an,ut.value)?ut.value.toLowerCase():ut.value)]}case"selector-id":return["#",ut.value];case"selector-class":return[".",Bn(nn(ut.value,_n))];case"selector-attribute":{var Ci;return["[",ut.namespace?[ut.namespace===!0?"":ut.namespace.trim(),"|"]:"",ut.attribute.trim(),(Ci=ut.operator)!==null&&Ci!==void 0?Ci:"",ut.value?An(nn(ut.value.trim(),_n),_n):"",ut.insensitive?" i":"","]"]}case"selector-combinator":{if(ut.value==="+"||ut.value===">"||ut.value==="~"||ut.value===">>>"){let fr=an.getParentNode();return[fr.type==="selector-selector"&&fr.nodes[0]===ut?"":L,ut.value,z(an,ut)?"":" "]}let Un=ut.value.trim().startsWith("(")?L:"",Gn=Bn(nn(ut.value.trim(),_n))||L;return[Un,Gn]}case"selector-universal":return[ut.namespace?[ut.namespace===!0?"":ut.namespace.trim(),"|"]:"",ut.value];case"selector-pseudo":return[w(ut.value),v(ut.nodes)?C(["(",j([k,S([",",L],an.map(Sn,"nodes"))]),k,")"]):""];case"selector-nesting":return ut.value;case"selector-unknown":{let Un=F(an,"css-rule");if(Un&&Un.isSCSSNesterProperty)return Bn(nn(w(ut.value),_n));let Gn=an.getParentNode();if(Gn.raws&&Gn.raws.selector){let Si=Zt(Gn),ae=Si+Gn.raws.selector.length;return _n.originalText.slice(Si,ae).trim()}let fr=an.getParentNode(1);if(Gn.type==="value-paren_group"&&fr&&fr.type==="value-func"&&fr.value==="selector"){let Si=qt(Gn.open)+1,ae=Zt(Gn.close),bt=_n.originalText.slice(Si,ae).trim();return Ee(bt)?[R,bt]:bt}return ut.value}case"value-value":case"value-root":return Sn("group");case"value-comment":return _n.originalText.slice(Zt(ut),qt(ut));case"value-comma_group":{let Un=an.getParentNode(),Gn=an.getParentNode(1),fr=J(an),Si=fr&&Un.type==="value-value"&&(fr==="grid"||fr.startsWith("grid-template")),ae=F(an,"css-atrule"),bt=ae&&re(ae),gn=ut.groups.some(xi=>Nt(xi)),Hn=an.map(Sn,"groups"),zn=[],Di=$(an,"url"),Sr=!1,Zr=!1;for(let xi=0;xi<ut.groups.length;++xi){var zr;zn.push(Hn[xi]);let Ir=ut.groups[xi-1],Fn=ut.groups[xi],jn=ut.groups[xi+1],hl=ut.groups[xi+2];if(Di){(jn&&We(jn)||We(Fn))&&zn.push(" ");continue}if(T(an,"forward")&&Fn.type==="value-word"&&Fn.value&&Ir!==void 0&&Ir.type==="value-word"&&Ir.value==="as"&&jn.type==="value-operator"&&jn.value==="*"||!jn||Fn.type==="value-word"&&Fn.value.endsWith("-")&&pt(jn))continue;if(Fn.type==="value-string"&&Fn.quoted){let zf=Fn.value.lastIndexOf("#{"),Qf=Fn.value.lastIndexOf("}");zf!==-1&&Qf!==-1?Sr=zf>Qf:zf!==-1?Sr=!0:Qf!==-1&&(Sr=!1)}if(Sr||ln(Fn)||ln(jn)||Fn.type==="value-atword"&&(Fn.value===""||Fn.value.endsWith("["))||jn.type==="value-word"&&jn.value.startsWith("]")||Fn.value==="~"||Fn.value&&Fn.value.includes("\\")&&jn&&jn.type!=="value-comment"||Ir&&Ir.value&&Ir.value.indexOf("\\")===Ir.value.length-1&&Fn.type==="value-operator"&&Fn.value==="/"||Fn.value==="\\"||ze(Fn,jn)||Bt(Fn)||cn(Fn)||Mn(jn)||cn(jn)&&ct(jn)||Mn(Fn)&&ct(jn)||Fn.value==="--"&&Bt(jn))continue;let Hf=oe(Fn),R0=oe(jn);if((Hf&&Bt(jn)||R0&&Mn(Fn))&&ct(jn)||!Ir&&se(Fn)||$(an,"calc")&&(We(Fn)||We(jn)||he(Fn)||he(jn))&&ct(jn))continue;let ME=(We(Fn)||he(Fn))&&xi===0&&(jn.type==="value-number"||jn.isHex)&&Gn&&at(Gn)&&!ct(jn),V0=hl&&hl.type==="value-func"||hl&&Tn(hl)||Fn.type==="value-func"||Tn(Fn),U0=jn.type==="value-func"||Tn(jn)||Ir&&Ir.type==="value-func"||Ir&&Tn(Ir);if(!(!(Fe(jn)||Fe(Fn))&&!$(an,"calc")&&!ME&&(se(jn)&&!V0||se(Fn)&&!U0||We(jn)&&!V0||We(Fn)&&!U0||he(jn)||he(Fn))&&(ct(jn)||Hf&&(!Ir||Ir&&oe(Ir))))&&!((_n.parser==="scss"||_n.parser==="less")&&Hf&&Fn.value==="-"&&lt(jn)&&qt(Fn)===Zt(jn.open)&&jn.open.value==="(")){if(Nt(Fn)){if(Un.type==="value-paren_group"){zn.push(Q(_));continue}zn.push(_);continue}if(bt&&(fe(jn)||me(jn)||dt(jn)||qe(Fn)||et(Fn))){zn.push(" ");continue}if(ae&&ae.name.toLowerCase()==="namespace"){zn.push(" ");continue}if(Si){Fn.source&&jn.source&&Fn.source.start.line!==jn.source.start.line?(zn.push(_),Zr=!0):zn.push(" ");continue}if(R0){zn.push(" ");continue}if(!(jn&&jn.value==="...")&&!(pt(Fn)&&pt(jn)&&qt(Fn)===Zt(jn))){if(pt(Fn)&&lt(jn)&&qt(Fn)===Zt(jn.open)){zn.push(k);continue}if(Fn.value==="with"&&lt(jn)){zn.push(" ");continue}(zr=Fn.value)!==null&&zr!==void 0&&zr.endsWith("#")&&jn.value==="{"&&lt(jn.group)||zn.push(L)}}}return gn&&zn.push(R),Zr&&zn.unshift(_),bt?C(j(zn)):I(an)?C(x(zn)):C(j(x(zn)))}case"value-paren_group":{let Un=an.getParentNode();if(Un&&Je(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?Sn("open"):"",S(",",an.map(Sn,"groups")),ut.close?Sn("close"):""];if(!ut.open){let Di=an.map(Sn,"groups"),Sr=[];for(let Zr=0;Zr<Di.length;Zr++)Zr!==0&&Sr.push([",",L]),Sr.push(Di[Zr]);return C(j(x(Sr)))}let Gn=Dt(an),fr=f(ut.groups),Si=fr&&fr.type==="value-comment",ae=Jt(ut,Un),bt=Oe(ut,Un),gn=bt||Gn&&!ae,Hn=bt||ae,zn=C([ut.open?Sn("open"):"",j([k,S([L],an.map((Di,Sr)=>{let Zr=Di.getValue(),xi=Sr===ut.groups.length-1,Ir=[Sn(),xi?"":","];if(ft(Zr)&&Zr.type==="value-comma_group"&&Zr.groups&&Zr.groups[0].type!=="value-paren_group"&&Zr.groups[2]&&Zr.groups[2].type==="value-paren_group"){let Fn=G(Ir[0].contents.contents);Fn[1]=C(Fn[1]),Ir=[C(Q(Ir))]}if(!xi&&Zr.type==="value-comma_group"&&v(Zr.groups)){let Fn=f(Zr.groups);!Fn.source&&Fn.close&&(Fn=Fn.close),Fn.source&&h(_n.originalText,Fn,qt)&&Ir.push(_)}return Ir},"groups"))]),ee(!Si&&V(_n.parser,_n.originalText)&&Gn&&tt(_n)?",":""),k,ut.close?Sn("close"):""],{shouldBreak:gn});return Hn?Q(zn):zn}case"value-func":return[ut.value,T(an,"supports")&&Dn(ut)?" ":"",Sn("group")];case"value-paren":return ut.value;case"value-number":return[ar(ut.value),_e(ut.unit)];case"value-operator":return ut.value;case"value-word":return ut.isColor&&ut.isHex||q(ut.value)?ut.value.toLowerCase():ut.value;case"value-colon":{let Un=an.getParentNode(),Gn=Un&&Un.groups.indexOf(ut),fr=Gn&&Un.groups[Gn-1];return[ut.value,fr&&typeof fr.value=="string"&&f(fr.value)==="\\"||$(an,"url")?"":L]}case"value-comma":return[ut.value," "];case"value-string":return D(ut.raws.quote+ut.value+ut.raws.quote,_n);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 Rt(an,_n,Sn){let ut=[];return an.each((Ci,zr,Un)=>{let Gn=Un[zr-1];if(Gn&&Gn.type==="css-comment"&&Gn.text.trim()==="prettier-ignore"){let fr=Ci.getValue();ut.push(_n.originalText.slice(Zt(fr),qt(fr)))}else ut.push(Sn());zr!==Un.length-1&&(Un[zr+1].type==="css-comment"&&!c(_n.originalText,Zt(Un[zr+1]),{backwards:!0})&&!d(Un[zr])||Un[zr+1].type==="css-atrule"&&Un[zr+1].name==="else"&&Un[zr].type!=="css-comment"?ut.push(" "):(ut.push(_n.__isHTMLStyleAttribute?L:_),h(_n.originalText,Ci.getValue(),qt)&&!d(Un[zr])&&ut.push(_)))},"nodes"),ut}var un=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,It=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,Er=/[A-Za-z]+/g,sn=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,Dr=new RegExp(un.source+`|(${sn.source})?(${It.source})(${Er.source})?`,"g");function nn(an,_n){return an.replace(un,Sn=>D(Sn,_n))}function An(an,_n){let Sn=_n.singleQuote?"'":'"';return an.includes('"')||an.includes("'")?an:Sn+an+Sn}function Bn(an){return an.replace(Dr,(_n,Sn,ut,Ci,zr)=>!ut&&Ci?ar(Ci)+w(zr||""):_n)}function ar(an){return b(an).replace(/\.0(?=$|e)/,"")}E.exports={print:kt,embed:Z,insertPragma:ye,massageAstNode:ne}}}),A2=we({"src/language-css/options.js"(m,E){$e();var f=Ya();E.exports={singleQuote:f.singleQuote}}}),C2=we({"src/language-css/parsers.js"(){$e()}}),S2=we({"node_modules/linguist-languages/data/CSS.json"(m,E){E.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),x2=we({"node_modules/linguist-languages/data/PostCSS.json"(m,E){E.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),w2=we({"node_modules/linguist-languages/data/Less.json"(m,E){E.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}}}),F2=we({"node_modules/linguist-languages/data/SCSS.json"(m,E){E.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),N2=we({"src/language-css/index.js"(m,E){$e();var f=ea(),b=E2(),D=A2(),c=C2(),d=[f(S2(),v=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...v.extensions,".wxss"]})),f(x2(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),f(w2(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),f(F2(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],h={postcss:b};E.exports={languages:d,options:D,printers:h,parsers:c}}}),_2=we({"src/language-handlebars/loc.js"(m,E){$e();function f(D){return D.loc.start.offset}function b(D){return D.loc.end.offset}E.exports={locStart:f,locEnd:b}}}),T2=we({"src/language-handlebars/clean.js"(m,E){$e();function f(b,D){if(b.type==="TextNode"){let c=b.chars.trim();if(!c)return null;D.chars=c.replace(/[\t\n\f\r ]+/g," ")}b.type==="AttrNode"&&b.name.toLowerCase()==="class"&&delete D.value}f.ignoredProperties=new Set(["loc","selfClosing"]),E.exports=f}}),k2=we({"src/language-handlebars/html-void-elements.evaluate.js"(m,E){E.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),L2=we({"src/language-handlebars/utils.js"(m,E){$e();var f=jr(),b=k2();function D(G){let ne=G.getValue(),Z=G.getParentNode(0);return!!(k(G,["ElementNode"])&&f(Z.children)===ne||k(G,["Block"])&&f(Z.body)===ne)}function c(G){return G.toUpperCase()===G}function d(G){return _(G,["ElementNode"])&&typeof G.tag=="string"&&!G.tag.startsWith(":")&&(c(G.tag[0])||G.tag.includes("."))}var h=new Set(b);function v(G){return h.has(G.toLowerCase())&&!c(G[0])}function S(G){return G.selfClosing===!0||v(G.tag)||d(G)&&G.children.every(ne=>L(ne))}function L(G){return _(G,["TextNode"])&&!/\S/.test(G.chars)}function _(G,ne){return G&&ne.includes(G.type)}function k(G,ne){let Z=G.getParentNode(0);return _(Z,ne)}function C(G,ne){let Z=Q(G);return _(Z,ne)}function x(G,ne){let Z=ee(G);return _(Z,ne)}function j(G,ne){var Z,ye,F,J;let w=G.getValue(),$=(Z=G.getParentNode(0))!==null&&Z!==void 0?Z:{},y=(ye=(F=(J=$.children)!==null&&J!==void 0?J:$.body)!==null&&F!==void 0?F:$.parts)!==null&&ye!==void 0?ye:[],T=y.indexOf(w);return T!==-1&&y[T+ne]}function Q(G){let ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return j(G,-ne)}function ee(G){return j(G,1)}function R(G){return _(G,["MustacheCommentStatement"])&&typeof G.value=="string"&&G.value.trim()==="prettier-ignore"}function X(G){let ne=G.getValue(),Z=Q(G,2);return R(ne)||R(Z)}E.exports={getNextNode:ee,getPreviousNode:Q,hasPrettierIgnore:X,isLastNodeOfSiblings:D,isNextNodeOfSomeType:x,isNodeOfSomeType:_,isParentOfSomeType:k,isPreviousNodeOfSomeType:C,isVoid:S,isWhitespaceNode:L}}}),P2=we({"src/language-handlebars/printer-glimmer.js"(m,E){$e();var{builders:{dedent:f,fill:b,group:D,hardline:c,ifBreak:d,indent:h,join:v,line:S,softline:L},utils:{getDocParts:_,replaceTextEndOfLine:k}}=wn(),{getPreferredQuote:C,isNonEmptyArray:x}=ge(),{locStart:j,locEnd:Q}=_2(),ee=T2(),{getNextNode:R,getPreviousNode:X,hasPrettierIgnore:G,isLastNodeOfSiblings:ne,isNextNodeOfSomeType:Z,isNodeOfSomeType:ye,isParentOfSomeType:F,isPreviousNodeOfSomeType:J,isVoid:w,isWhitespaceNode:$}=L2(),y=2;function T(Ee,pt,Oe){let lt=Ee.getValue();if(!lt)return"";if(G(Ee))return pt.originalText.slice(j(lt),Q(lt));let Zt=pt.singleQuote?"'":'"';switch(lt.type){case"Block":case"Program":case"Template":return D(Ee.map(Oe,"body"));case"ElementNode":{let qt=D(U(Ee,Oe)),mt=pt.htmlWhitespaceSensitivity==="ignore"&&Z(Ee,["ElementNode"])?L:"";if(w(lt))return[qt,mt];let V=["</",lt.tag,">"];return lt.children.length===0?[qt,h(V),mt]:pt.htmlWhitespaceSensitivity==="ignore"?[qt,h(q(Ee,pt,Oe)),c,h(V),mt]:[qt,h(D(q(Ee,pt,Oe))),h(V),mt]}case"BlockStatement":{let qt=Ee.getParentNode(1);return qt&&qt.inverse&&qt.inverse.body.length===1&&qt.inverse.body[0]===lt&&qt.inverse.body[0].path.parts[0]===qt.path.parts[0]?[et(Ee,Oe,qt.inverse.body[0].path.parts[0]),ct(Ee,Oe,pt),ft(Ee,Oe,pt)]:[oe(Ee,Oe),D([ct(Ee,Oe,pt),ft(Ee,Oe,pt),Je(Ee,Oe,pt)])]}case"ElementModifierStatement":return D(["{{",Tn(Ee,Oe),"}}"]);case"MustacheStatement":return D([re(lt),Tn(Ee,Oe),ce(lt)]);case"SubExpression":return D(["(",Mn(Ee,Oe),L,")"]);case"AttrNode":{let qt=lt.value.type==="TextNode";if(qt&&lt.value.chars===""&&j(lt.value)===Q(lt.value))return lt.name;let mt=qt?C(lt.value.chars,Zt).quote:lt.value.type==="ConcatStatement"?C(lt.value.parts.filter(_e=>_e.type==="TextNode").map(_e=>_e.chars).join(""),Zt).quote:"",V=Oe("value");return[lt.name,"=",mt,lt.name==="class"&&mt?D(h(V)):V,mt]}case"ConcatStatement":return Ee.map(Oe,"parts");case"Hash":return v(S,Ee.map(Oe,"pairs"));case"HashPair":return[lt.key,"=",Oe("value")];case"TextNode":{let qt=lt.chars.replace(/{{/g,"\\{{"),mt=Ce(Ee);if(mt){if(mt==="class"){let sn=qt.trim().split(/\s+/).join(" "),Dr=!1,nn=!1;return F(Ee,["ConcatStatement"])&&(J(Ee,["MustacheStatement"])&&/^\s/.test(qt)&&(Dr=!0),Z(Ee,["MustacheStatement"])&&/\s$/.test(qt)&&sn!==""&&(nn=!0)),[Dr?S:"",sn,nn?S:""]}return k(qt)}let V=/^[\t\n\f\r ]*$/.test(qt),_e=!X(Ee),tt=!R(Ee);if(pt.htmlWhitespaceSensitivity!=="ignore"){let sn=/^[\t\n\f\r ]*/,Dr=/[\t\n\f\r ]*$/,nn=tt&&F(Ee,["Template"]),An=_e&&F(Ee,["Template"]);if(V){if(An||nn)return"";let Sn=[S],ut=Ye(qt);return ut&&(Sn=Nt(ut)),ne(Ee)&&(Sn=Sn.map(Ci=>f(Ci))),Sn}let[Bn]=qt.match(sn),[ar]=qt.match(Dr),an=[];if(Bn){an=[S];let Sn=Ye(Bn);Sn&&(an=Nt(Sn)),qt=qt.replace(sn,"")}let _n=[];if(ar){if(!nn){_n=[S];let Sn=Ye(ar);Sn&&(_n=Nt(Sn)),ne(Ee)&&(_n=_n.map(ut=>f(ut)))}qt=qt.replace(Dr,"")}return[...an,b(Jt(qt)),..._n]}let kt=Ye(qt),Rt=ze(qt),un=Dt(qt);if((_e||tt)&&V&&F(Ee,["Block","ElementNode","Template"]))return"";V&&kt?(Rt=Math.min(kt,y),un=0):(Z(Ee,["BlockStatement","ElementNode"])&&(un=Math.max(un,1)),J(Ee,["BlockStatement","ElementNode"])&&(Rt=Math.max(Rt,1)));let It="",Er="";return un===0&&Z(Ee,["MustacheStatement"])&&(Er=" "),Rt===0&&J(Ee,["MustacheStatement"])&&(It=" "),_e&&(Rt=0,It=""),tt&&(un=0,Er=""),qt=qt.replace(/^[\t\n\f\r ]+/g,It).replace(/[\t\n\f\r ]+$/,Er),[...Nt(Rt),b(Jt(qt)),...Nt(un)]}case"MustacheCommentStatement":{let qt=j(lt),mt=Q(lt),V=pt.originalText.charAt(qt+2)==="~",_e=pt.originalText.charAt(mt-3)==="~",tt=lt.value.includes("}}")?"--":"";return["{{",V?"~":"","!",tt,lt.value,tt,_e?"~":"","}}"]}case"PathExpression":return lt.original;case"BooleanLiteral":return String(lt.value);case"CommentStatement":return["<!--",lt.value,"-->"];case"StringLiteral":{if(cn(Ee)){let qt=pt.singleQuote?'"':"'";return Bt(lt.value,qt)}return Bt(lt.value,Zt)}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(Ee,pt){return j(Ee)-j(pt)}function U(Ee,pt){let Oe=Ee.getValue(),lt=["attributes","modifiers","comments"].filter(qt=>x(Oe[qt])),Zt=lt.flatMap(qt=>Oe[qt]).sort(I);for(let qt of lt)Ee.each(mt=>{let V=Zt.indexOf(mt.getValue());Zt.splice(V,1,[S,pt()])},qt);return x(Oe.blockParams)&&Zt.push(S,at(Oe)),["<",Oe.tag,h(Zt),z(Oe)]}function q(Ee,pt,Oe){let lt=Ee.getValue().children.every(Zt=>$(Zt));return pt.htmlWhitespaceSensitivity==="ignore"&&lt?"":Ee.map((Zt,qt)=>{let mt=Oe();return qt===0&&pt.htmlWhitespaceSensitivity==="ignore"?[L,mt]:mt},"children")}function z(Ee){return w(Ee)?d([L,"/>"],[" />",L]):d([L,">"],">")}function re(Ee){let pt=Ee.escaped===!1?"{{{":"{{",Oe=Ee.strip&&Ee.strip.open?"~":"";return[pt,Oe]}function ce(Ee){let pt=Ee.escaped===!1?"}}}":"}}";return[Ee.strip&&Ee.strip.close?"~":"",pt]}function me(Ee){let pt=re(Ee),Oe=Ee.openStrip.open?"~":"";return[pt,Oe,"#"]}function fe(Ee){let pt=ce(Ee);return[Ee.openStrip.close?"~":"",pt]}function Fe(Ee){let pt=re(Ee),Oe=Ee.closeStrip.open?"~":"";return[pt,Oe,"/"]}function se(Ee){let pt=ce(Ee);return[Ee.closeStrip.close?"~":"",pt]}function We(Ee){let pt=re(Ee),Oe=Ee.inverseStrip.open?"~":"";return[pt,Oe]}function he(Ee){let pt=ce(Ee);return[Ee.inverseStrip.close?"~":"",pt]}function oe(Ee,pt){let Oe=Ee.getValue(),lt=[],Zt=Dn(Ee,pt);return Zt&&lt.push(D(Zt)),x(Oe.program.blockParams)&&lt.push(at(Oe.program)),D([me(Oe),ln(Ee,pt),lt.length>0?h([S,v(S,lt)]):"",L,fe(Oe)])}function qe(Ee,pt){return[pt.htmlWhitespaceSensitivity==="ignore"?c:"",We(Ee),"else",he(Ee)]}function et(Ee,pt,Oe){let lt=Ee.getValue(),Zt=Ee.getParentNode(1);return D([We(Zt),["else"," ",Oe],h([S,D(Dn(Ee,pt)),...x(lt.program.blockParams)?[S,at(lt.program)]:[]]),L,he(Zt)])}function Je(Ee,pt,Oe){let lt=Ee.getValue();return Oe.htmlWhitespaceSensitivity==="ignore"?[dt(lt)?L:c,Fe(lt),pt("path"),se(lt)]:[Fe(lt),pt("path"),se(lt)]}function dt(Ee){return ye(Ee,["BlockStatement"])&&Ee.program.body.every(pt=>$(pt))}function De(Ee){return Ie(Ee)&&Ee.inverse.body.length===1&&ye(Ee.inverse.body[0],["BlockStatement"])&&Ee.inverse.body[0].path.parts[0]===Ee.path.parts[0]}function Ie(Ee){return ye(Ee,["BlockStatement"])&&Ee.inverse}function ct(Ee,pt,Oe){let lt=Ee.getValue();if(dt(lt))return"";let Zt=pt("program");return Oe.htmlWhitespaceSensitivity==="ignore"?h([c,Zt]):h(Zt)}function ft(Ee,pt,Oe){let lt=Ee.getValue(),Zt=pt("inverse"),qt=Oe.htmlWhitespaceSensitivity==="ignore"?[c,Zt]:Zt;return De(lt)?qt:Ie(lt)?[qe(lt,Oe),h(qt)]:""}function Jt(Ee){return _(v(S,Re(Ee)))}function Re(Ee){return Ee.split(/[\t\n\f\r ]+/)}function Ce(Ee){for(let pt=0;pt<2;pt++){let Oe=Ee.getParentNode(pt);if(Oe&&Oe.type==="AttrNode")return Oe.name.toLowerCase()}}function Ye(Ee){return Ee=typeof Ee=="string"?Ee:"",Ee.split(`
216
- `).length-1}function ze(Ee){Ee=typeof Ee=="string"?Ee:"";let pt=(Ee.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return Ye(pt)}function Dt(Ee){Ee=typeof Ee=="string"?Ee:"";let pt=(Ee.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return Ye(pt)}function Nt(){let Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(Ee,y)}).fill(c)}function Bt(Ee,pt){let{quote:Oe,regex:lt}=C(Ee,pt);return[Oe,Ee.replace(lt,`\\${Oe}`),Oe]}function cn(Ee){let pt=0,Oe=Ee.getParentNode(pt);for(;Oe&&ye(Oe,["SubExpression"]);)pt++,Oe=Ee.getParentNode(pt);return!!(Oe&&ye(Ee.getParentNode(pt+1),["ConcatStatement"])&&ye(Ee.getParentNode(pt+2),["AttrNode"]))}function Mn(Ee,pt){let Oe=ln(Ee,pt),lt=Dn(Ee,pt);return lt?h([Oe,S,D(lt)]):Oe}function Tn(Ee,pt){let Oe=ln(Ee,pt),lt=Dn(Ee,pt);return lt?[h([Oe,S,lt]),L]:Oe}function ln(Ee,pt){return pt("path")}function Dn(Ee,pt){let Oe=Ee.getValue(),lt=[];if(Oe.params.length>0){let Zt=Ee.map(pt,"params");lt.push(...Zt)}if(Oe.hash&&Oe.hash.pairs.length>0){let Zt=pt("hash");lt.push(Zt)}return lt.length===0?"":v(S,lt)}function at(Ee){return["as |",Ee.blockParams.join(" "),"|"]}E.exports={print:T,massageAstNode:ee}}}),B2=we({"src/language-handlebars/parsers.js"(){$e()}}),I2=we({"node_modules/linguist-languages/data/Handlebars.json"(m,E){E.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),M2=we({"src/language-handlebars/index.js"(m,E){$e();var f=ea(),b=P2(),D=B2(),c=[f(I2(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],d={glimmer:b};E.exports={languages:c,printers:d,parsers:D}}}),O2=we({"src/language-graphql/pragma.js"(m,E){$e();function f(D){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(D)}function b(D){return`# @format
217
-
218
- `+D}E.exports={hasPragma:f,insertPragma:b}}}),j2=we({"src/language-graphql/loc.js"(m,E){$e();function f(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}E.exports={locStart:f,locEnd:b}}}),$2=we({"src/language-graphql/printer-graphql.js"(m,E){$e();var{builders:{join:f,hardline:b,line:D,softline:c,group:d,indent:h,ifBreak:v}}=wn(),{isNextLineEmpty:S,isNonEmptyArray:L}=ge(),{insertPragma:_}=O2(),{locStart:k,locEnd:C}=j2();function x(Z,ye,F){let J=Z.getValue();if(!J)return"";if(typeof J=="string")return J;switch(J.kind){case"Document":{let w=[];return Z.each(($,y,T)=>{w.push(F()),y!==T.length-1&&(w.push(b),S(ye.originalText,$.getValue(),C)&&w.push(b))},"definitions"),[...w,b]}case"OperationDefinition":{let w=ye.originalText[k(J)]!=="{",$=!!J.name;return[w?J.operation:"",w&&$?[" ",F("name")]:"",w&&!$&&L(J.variableDefinitions)?" ":"",L(J.variableDefinitions)?d(["(",h([c,f([v("",", "),c],Z.map(F,"variableDefinitions"))]),c,")"]):"",j(Z,F,J),J.selectionSet?!w&&!$?"":" ":"",F("selectionSet")]}case"FragmentDefinition":return["fragment ",F("name"),L(J.variableDefinitions)?d(["(",h([c,f([v("",", "),c],Z.map(F,"variableDefinitions"))]),c,")"]):""," on ",F("typeCondition"),j(Z,F,J)," ",F("selectionSet")];case"SelectionSet":return["{",h([b,f(b,Q(Z,ye,F,"selections"))]),b,"}"];case"Field":return d([J.alias?[F("alias"),": "]:"",F("name"),J.arguments.length>0?d(["(",h([c,f([v("",", "),c],Q(Z,ye,F,"arguments"))]),c,")"]):"",j(Z,F,J),J.selectionSet?" ":"",F("selectionSet")]);case"Name":return J.value;case"StringValue":{if(J.block){let w=J.value.replace(/"""/g,"\\$&").split(`
219
- `);return w.length===1&&(w[0]=w[0].trim()),w.every($=>$==="")&&(w.length=0),f(b,['"""',...w,'"""'])}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["$",F("name")];case"ListValue":return d(["[",h([c,f([v("",", "),c],Z.map(F,"values"))]),c,"]"]);case"ObjectValue":return d(["{",ye.bracketSpacing&&J.fields.length>0?" ":"",h([c,f([v("",", "),c],Z.map(F,"fields"))]),c,v("",ye.bracketSpacing&&J.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[F("name"),": ",F("value")];case"Directive":return["@",F("name"),J.arguments.length>0?d(["(",h([c,f([v("",", "),c],Q(Z,ye,F,"arguments"))]),c,")"]):""];case"NamedType":return F("name");case"VariableDefinition":return[F("variable"),": ",F("type"),J.defaultValue?[" = ",F("defaultValue")]:"",j(Z,F,J)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[F("description"),J.description?b:"",J.kind==="ObjectTypeExtension"?"extend ":"","type ",F("name"),J.interfaces.length>0?[" implements ",...X(Z,ye,F)]:"",j(Z,F,J),J.fields.length>0?[" {",h([b,f(b,Q(Z,ye,F,"fields"))]),b,"}"]:""];case"FieldDefinition":return[F("description"),J.description?b:"",F("name"),J.arguments.length>0?d(["(",h([c,f([v("",", "),c],Q(Z,ye,F,"arguments"))]),c,")"]):"",": ",F("type"),j(Z,F,J)];case"DirectiveDefinition":return[F("description"),J.description?b:"","directive ","@",F("name"),J.arguments.length>0?d(["(",h([c,f([v("",", "),c],Q(Z,ye,F,"arguments"))]),c,")"]):"",J.repeatable?" repeatable":""," on ",f(" | ",Z.map(F,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[F("description"),J.description?b:"",J.kind==="EnumTypeExtension"?"extend ":"","enum ",F("name"),j(Z,F,J),J.values.length>0?[" {",h([b,f(b,Q(Z,ye,F,"values"))]),b,"}"]:""];case"EnumValueDefinition":return[F("description"),J.description?b:"",F("name"),j(Z,F,J)];case"InputValueDefinition":return[F("description"),J.description?J.description.block?b:D:"",F("name"),": ",F("type"),J.defaultValue?[" = ",F("defaultValue")]:"",j(Z,F,J)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[F("description"),J.description?b:"",J.kind==="InputObjectTypeExtension"?"extend ":"","input ",F("name"),j(Z,F,J),J.fields.length>0?[" {",h([b,f(b,Q(Z,ye,F,"fields"))]),b,"}"]:""];case"SchemaExtension":return["extend schema",j(Z,F,J),...J.operationTypes.length>0?[" {",h([b,f(b,Q(Z,ye,F,"operationTypes"))]),b,"}"]:[]];case"SchemaDefinition":return[F("description"),J.description?b:"","schema",j(Z,F,J)," {",J.operationTypes.length>0?h([b,f(b,Q(Z,ye,F,"operationTypes"))]):"",b,"}"];case"OperationTypeDefinition":return[F("operation"),": ",F("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[F("description"),J.description?b:"",J.kind==="InterfaceTypeExtension"?"extend ":"","interface ",F("name"),J.interfaces.length>0?[" implements ",...X(Z,ye,F)]:"",j(Z,F,J),J.fields.length>0?[" {",h([b,f(b,Q(Z,ye,F,"fields"))]),b,"}"]:""];case"FragmentSpread":return["...",F("name"),j(Z,F,J)];case"InlineFragment":return["...",J.typeCondition?[" on ",F("typeCondition")]:"",j(Z,F,J)," ",F("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return d([F("description"),J.description?b:"",d([J.kind==="UnionTypeExtension"?"extend ":"","union ",F("name"),j(Z,F,J),J.types.length>0?[" =",v(""," "),h([v([D," "]),f([D,"| "],Z.map(F,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[F("description"),J.description?b:"",J.kind==="ScalarTypeExtension"?"extend ":"","scalar ",F("name"),j(Z,F,J)];case"NonNullType":return[F("type"),"!"];case"ListType":return["[",F("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(J.kind))}}function j(Z,ye,F){if(F.directives.length===0)return"";let J=f(D,Z.map(ye,"directives"));return F.kind==="FragmentDefinition"||F.kind==="OperationDefinition"?d([D,J]):[" ",d(h([c,J]))]}function Q(Z,ye,F,J){return Z.map((w,$,y)=>{let T=F();return $<y.length-1&&S(ye.originalText,w.getValue(),C)?[T,b]:T},J)}function ee(Z){return Z.kind&&Z.kind!=="Comment"}function R(Z){let ye=Z.getValue();if(ye.kind==="Comment")return"#"+ye.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(ye))}function X(Z,ye,F){let J=Z.getNode(),w=[],{interfaces:$}=J,y=Z.map(T=>F(T),"interfaces");for(let T=0;T<$.length;T++){let I=$[T];w.push(y[T]);let U=$[T+1];if(U){let q=ye.originalText.slice(I.loc.end,U.loc.start),z=q.includes("#"),re=q.replace(/#.*/g,"").trim();w.push(re===","?",":" &",z?D:" ")}}return w}function G(Z,ye){Z.kind==="StringValue"&&Z.block&&!Z.value.includes(`
220
- `)&&(ye.value=ye.value.trim())}G.ignoredProperties=new Set(["loc","comments"]);function ne(Z){var ye;let F=Z.getValue();return F==null||(ye=F.comments)===null||ye===void 0?void 0:ye.some(J=>J.value.trim()==="prettier-ignore")}E.exports={print:x,massageAstNode:G,hasPrettierIgnore:ne,insertPragma:_,printComment:R,canAttachComment:ee}}}),R2=we({"src/language-graphql/options.js"(m,E){$e();var f=Ya();E.exports={bracketSpacing:f.bracketSpacing}}}),V2=we({"src/language-graphql/parsers.js"(){$e()}}),U2=we({"node_modules/linguist-languages/data/GraphQL.json"(m,E){E.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),q2=we({"src/language-graphql/index.js"(m,E){$e();var f=ea(),b=$2(),D=R2(),c=V2(),d=[f(U2(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],h={graphql:b};E.exports={languages:d,options:D,printers:h,parsers:c}}}),B0=we({"node_modules/collapse-white-space/index.js"(m,E){$e(),E.exports=f;function f(b){return String(b).replace(/\s+/g," ")}}}),I0=we({"src/language-markdown/loc.js"(m,E){$e();function f(D){return D.position.start.offset}function b(D){return D.position.end.offset}E.exports={locStart:f,locEnd:b}}}),W2=we({"src/language-markdown/constants.evaluate.js"(m,E){E.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]"}}}),Wf=we({"src/language-markdown/utils.js"(m,E){$e();var{getLast:f}=ge(),{locStart:b,locEnd:D}=I0(),{cjkPattern:c,kPattern:d,punctuationPattern:h}=W2(),v=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],S=[...v,"tableCell","paragraph","heading"],L=new RegExp(d),_=new RegExp(h);function k(R,X){let G="non-cjk",ne="cj-letter",Z="k-letter",ye="cjk-punctuation",F=[],J=(X.proseWrap==="preserve"?R:R.replace(new RegExp(`(${c})
221
- (${c})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[$,y]of J.entries()){if($%2===1){F.push({type:"whitespace",value:/\n/.test(y)?`
222
- `:" "});continue}if(($===0||$===J.length-1)&&y==="")continue;let T=y.split(new RegExp(`(${c})`));for(let[I,U]of T.entries())if(!((I===0||I===T.length-1)&&U==="")){if(I%2===0){U!==""&&w({type:"word",value:U,kind:G,hasLeadingPunctuation:_.test(U[0]),hasTrailingPunctuation:_.test(f(U))});continue}w(_.test(U)?{type:"word",value:U,kind:ye,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:U,kind:L.test(U)?Z:ne,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return F;function w($){let y=f(F);y&&y.type==="word"&&(y.kind===G&&$.kind===ne&&!y.hasTrailingPunctuation||y.kind===ne&&$.kind===G&&!$.hasLeadingPunctuation?F.push({type:"whitespace",value:" "}):!T(G,ye)&&![y.value,$.value].some(I=>/\u3000/.test(I))&&F.push({type:"whitespace",value:""})),F.push($);function T(I,U){return y.kind===I&&$.kind===U||y.kind===U&&$.kind===I}}}function C(R,X){let[,G,ne,Z]=X.slice(R.position.start.offset,R.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:G,marker:ne,leadingSpaces:Z}}function x(R,X){if(!R.ordered||R.children.length<2)return!1;let G=Number(C(R.children[0],X.originalText).numberText),ne=Number(C(R.children[1],X.originalText).numberText);if(G===0&&R.children.length>2){let Z=Number(C(R.children[2],X.originalText).numberText);return ne===1&&Z===1}return ne===1}function j(R,X){let{value:G}=R;return R.position.end.offset===X.length&&G.endsWith(`
223
- `)&&X.endsWith(`
224
- `)?G.slice(0,-1):G}function Q(R,X){return function G(ne,Z,ye){let F=Object.assign({},X(ne,Z,ye));return F.children&&(F.children=F.children.map((J,w)=>G(J,w,[F,...ye]))),F}(R,null,[])}function ee(R){if((R==null?void 0:R.type)!=="link"||R.children.length!==1)return!1;let[X]=R.children;return b(R)===b(X)&&D(R)===D(X)}E.exports={mapAst:Q,splitText:k,punctuationPattern:h,getFencedCodeBlockValue:j,getOrderedListItemInfo:C,hasGitDiffFriendlyOrderedList:x,INLINE_NODE_TYPES:v,INLINE_NODE_WRAPPER_TYPES:S,isAutolink:ee}}}),G2=we({"src/language-markdown/embed.js"(m,E){$e();var{inferParserByLanguage:f,getMaxContinuousCount:b}=ge(),{builders:{hardline:D,markAsRoot:c},utils:{replaceEndOfLine:d}}=wn(),h=qf(),{getFencedCodeBlockValue:v}=Wf();function S(L,_,k,C){let x=L.getValue();if(x.type==="code"&&x.lang!==null){let j=f(x.lang,C);if(j){let Q=C.__inJsTemplate?"~":"`",ee=Q.repeat(Math.max(3,b(x.value,Q)+1)),R={parser:j};x.lang==="tsx"&&(R.filepath="dummy.tsx");let X=k(v(x,C.originalText),R,{stripTrailingHardline:!0});return c([ee,x.lang,x.meta?" "+x.meta:"",D,d(X),D,ee])}}switch(x.type){case"front-matter":return h(x,k);case"importExport":return[k(x.value,{parser:"babel"},{stripTrailingHardline:!0}),D];case"jsx":return k(`<$>${x.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}E.exports=S}}),M0=we({"src/language-markdown/pragma.js"(m,E){$e();var f=P0(),b=["format","prettier"];function D(c){let d=`@(${b.join("|")})`,h=new RegExp([`<!--\\s*${d}\\s*-->`,`{\\s*\\/\\*\\s*${d}\\s*\\*\\/\\s*}`,`<!--.*\r?
225
- [\\s\\S]*(^|
226
- )[^\\S
227
- ]*${d}[^\\S
228
- ]*($|
229
- )[\\s\\S]*
230
- .*-->`].join("|"),"m"),v=c.match(h);return(v==null?void 0:v.index)===0}E.exports={startWithPragma:D,hasPragma:c=>D(f(c).content.trimStart()),insertPragma:c=>{let d=f(c),h=`<!-- @${b[0]} -->`;return d.frontMatter?`${d.frontMatter.raw}
231
-
232
- ${h}
233
-
234
- ${d.content}`:`${h}
235
-
236
- ${d.content}`}}}}),J2=we({"src/language-markdown/print-preprocess.js"(m,E){$e();var f=jr(),{getOrderedListItemInfo:b,mapAst:D,splitText:c}=Wf(),d=/^.$/su;function h(ee,R){return ee=L(ee,R),ee=C(ee),ee=S(ee,R),ee=j(ee,R),ee=Q(ee,R),ee=x(ee,R),ee=v(ee),ee=_(ee),ee}function v(ee){return D(ee,R=>R.type!=="import"&&R.type!=="export"?R:Object.assign(Object.assign({},R),{},{type:"importExport"}))}function S(ee,R){return D(ee,X=>X.type!=="inlineCode"||R.proseWrap==="preserve"?X:Object.assign(Object.assign({},X),{},{value:X.value.replace(/\s+/g," ")}))}function L(ee,R){return D(ee,X=>X.type!=="text"||X.value==="*"||X.value==="_"||!d.test(X.value)||X.position.end.offset-X.position.start.offset===X.value.length?X:Object.assign(Object.assign({},X),{},{value:R.originalText.slice(X.position.start.offset,X.position.end.offset)}))}function _(ee){return k(ee,(R,X)=>R.type==="importExport"&&X.type==="importExport",(R,X)=>({type:"importExport",value:R.value+`
237
-
238
- `+X.value,position:{start:R.position.start,end:X.position.end}}))}function k(ee,R,X){return D(ee,G=>{if(!G.children)return G;let ne=G.children.reduce((Z,ye)=>{let F=f(Z);return F&&R(F,ye)?Z.splice(-1,1,X(F,ye)):Z.push(ye),Z},[]);return Object.assign(Object.assign({},G),{},{children:ne})})}function C(ee){return k(ee,(R,X)=>R.type==="text"&&X.type==="text",(R,X)=>({type:"text",value:R.value+X.value,position:{start:R.position.start,end:X.position.end}}))}function x(ee,R){return D(ee,(X,G,ne)=>{let[Z]=ne;if(X.type!=="text")return X;let{value:ye}=X;return Z.type==="paragraph"&&(G===0&&(ye=ye.trimStart()),G===Z.children.length-1&&(ye=ye.trimEnd())),{type:"sentence",position:X.position,children:c(ye,R)}})}function j(ee,R){return D(ee,(X,G,ne)=>{if(X.type==="code"){let Z=/^\n?(?: {4,}|\t)/.test(R.originalText.slice(X.position.start.offset,X.position.end.offset));if(X.isIndented=Z,Z)for(let ye=0;ye<ne.length;ye++){let F=ne[ye];if(F.hasIndentedCodeblock)break;F.type==="list"&&(F.hasIndentedCodeblock=!0)}}return X})}function Q(ee,R){return D(ee,(ne,Z,ye)=>{if(ne.type==="list"&&ne.children.length>0){for(let F=0;F<ye.length;F++){let J=ye[F];if(J.type==="list"&&!J.isAligned)return ne.isAligned=!1,ne}ne.isAligned=G(ne)}return ne});function X(ne){return ne.children.length===0?-1:ne.children[0].position.start.column-1}function G(ne){if(!ne.ordered)return!0;let[Z,ye]=ne.children;if(b(Z,R.originalText).leadingSpaces.length>1)return!0;let F=X(Z);if(F===-1)return!1;if(ne.children.length===1)return F%R.tabWidth===0;let J=X(ye);return F!==J?!1:F%R.tabWidth===0?!0:b(ye,R.originalText).leadingSpaces.length>1}}E.exports=h}}),Y2=we({"src/language-markdown/clean.js"(m,E){$e();var f=B0(),{isFrontMatterNode:b}=ge(),{startWithPragma:D}=M0(),c=new Set(["position","raw"]);function d(h,v,S){if((h.type==="front-matter"||h.type==="code"||h.type==="yaml"||h.type==="import"||h.type==="export"||h.type==="jsx")&&delete v.value,h.type==="list"&&delete v.isAligned,(h.type==="list"||h.type==="listItem")&&(delete v.spread,delete v.loose),h.type==="text"||(h.type==="inlineCode"&&(v.value=h.value.replace(/[\t\n ]+/g," ")),h.type==="wikiLink"&&(v.value=h.value.trim().replace(/[\t\n]+/g," ")),(h.type==="definition"||h.type==="linkReference"||h.type==="imageReference")&&(v.label=f(h.label)),(h.type==="definition"||h.type==="link"||h.type==="image")&&h.title&&(v.title=h.title.replace(/\\(["')])/g,"$1")),S&&S.type==="root"&&S.children.length>0&&(S.children[0]===h||b(S.children[0])&&S.children[1]===h)&&h.type==="html"&&D(h.value)))return null}d.ignoredProperties=c,E.exports=d}}),H2=we({"src/language-markdown/printer-markdown.js"(m,E){$e();var f=B0(),{getLast:b,getMinNotPresentContinuousCount:D,getMaxContinuousCount:c,getStringWidth:d,isNonEmptyArray:h}=ge(),{builders:{breakParent:v,join:S,line:L,literalline:_,markAsRoot:k,hardline:C,softline:x,ifBreak:j,fill:Q,align:ee,indent:R,group:X,hardlineWithoutBreakParent:G},utils:{normalizeDoc:ne,replaceTextEndOfLine:Z},printer:{printDocToString:ye}}=wn(),F=G2(),{insertPragma:J}=M0(),{locStart:w,locEnd:$}=I0(),y=J2(),T=Y2(),{getFencedCodeBlockValue:I,hasGitDiffFriendlyOrderedList:U,splitText:q,punctuationPattern:z,INLINE_NODE_TYPES:re,INLINE_NODE_WRAPPER_TYPES:ce,isAutolink:me}=Wf(),fe=new Set(["importExport"]),Fe=["heading","tableCell","link","wikiLink"],se=new Set(["listItem","definition","footnoteDefinition"]);function We(at,Ee,pt){let Oe=at.getValue();if(Nt(at))return q(Ee.originalText.slice(Oe.position.start.offset,Oe.position.end.offset),Ee).map(lt=>lt.type==="word"?lt.value:lt.value===""?"":De(at,lt.value,Ee));switch(Oe.type){case"front-matter":return Ee.originalText.slice(Oe.position.start.offset,Oe.position.end.offset);case"root":return Oe.children.length===0?"":[ne(ct(at,Ee,pt)),fe.has(Re(Oe).type)?"":C];case"paragraph":return ft(at,Ee,pt,{postprocessor:Q});case"sentence":return ft(at,Ee,pt);case"word":{let lt=Oe.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${z})(_+)`,`(_+)(${z}|$)`].join("|"),"g"),(mt,V,_e,tt,kt)=>(_e?`${V}${_e}`:`${tt}${kt}`).replace(/_/g,"\\_")),Zt=(mt,V,_e)=>mt.type==="sentence"&&_e===0,qt=(mt,V,_e)=>me(mt.children[_e-1]);return lt!==Oe.value&&(at.match(void 0,Zt,qt)||at.match(void 0,Zt,(mt,V,_e)=>mt.type==="emphasis"&&_e===0,qt))&&(lt=lt.replace(/^(\\?[*_])+/,mt=>mt.replace(/\\/g,""))),lt}case"whitespace":{let lt=at.getParentNode(),Zt=lt.children.indexOf(Oe),qt=lt.children[Zt+1],mt=qt&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(qt.value)?"never":Ee.proseWrap;return De(at,Oe.value,{proseWrap:mt})}case"emphasis":{let lt;if(me(Oe.children[0]))lt=Ee.originalText[Oe.position.start.offset];else{let Zt=at.getParentNode(),qt=Zt.children.indexOf(Oe),mt=Zt.children[qt-1],V=Zt.children[qt+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,Ee,pt),lt]}case"strong":return["**",ft(at,Ee,pt),"**"];case"delete":return["~~",ft(at,Ee,pt),"~~"];case"inlineCode":{let lt=D(Oe.value,"`"),Zt="`".repeat(lt||1),qt=lt&&!/^\s/.test(Oe.value)?" ":"";return[Zt,qt,Oe.value,qt,Zt]}case"wikiLink":{let lt="";return Ee.proseWrap==="preserve"?lt=Oe.value:lt=Oe.value.replace(/[\t\n]+/g," "),["[[",lt,"]]"]}case"link":switch(Ee.originalText[Oe.position.start.offset]){case"<":{let lt="mailto:";return["<",Oe.url.startsWith(lt)&&Ee.originalText.slice(Oe.position.start.offset+1,Oe.position.start.offset+1+lt.length)!==lt?Oe.url.slice(lt.length):Oe.url,">"]}case"[":return["[",ft(at,Ee,pt),"](",Bt(Oe.url,")"),cn(Oe.title,Ee),")"];default:return Ee.originalText.slice(Oe.position.start.offset,Oe.position.end.offset)}case"image":return["![",Oe.alt||"","](",Bt(Oe.url,")"),cn(Oe.title,Ee),")"];case"blockquote":return["> ",ee("> ",ft(at,Ee,pt))];case"heading":return["#".repeat(Oe.depth)+" ",ft(at,Ee,pt)];case"code":{if(Oe.isIndented){let qt=" ".repeat(4);return ee(qt,[qt,...Z(Oe.value,C)])}let lt=Ee.__inJsTemplate?"~":"`",Zt=lt.repeat(Math.max(3,c(Oe.value,lt)+1));return[Zt,Oe.lang||"",Oe.meta?" "+Oe.meta:"",C,...Z(I(Oe,Ee.originalText),C),C,Zt]}case"html":{let lt=at.getParentNode(),Zt=lt.type==="root"&&b(lt.children)===Oe?Oe.value.trimEnd():Oe.value,qt=/^<!--.*-->$/s.test(Zt);return Z(Zt,qt?C:k(_))}case"list":{let lt=qe(Oe,at.getParentNode()),Zt=U(Oe,Ee);return ft(at,Ee,pt,{processor:(qt,mt)=>{let V=tt(),_e=qt.getValue();if(_e.children.length===2&&_e.children[1].type==="html"&&_e.children[0].position.start.column!==_e.children[1].position.start.column)return[V,he(qt,Ee,pt,V)];return[V,ee(" ".repeat(V.length),he(qt,Ee,pt,V))];function tt(){let kt=Oe.ordered?(mt===0?Oe.start:Zt?1:Oe.start+mt)+(lt%2===0?". ":") "):lt%2===0?"- ":"* ";return Oe.isAligned||Oe.hasIndentedCodeblock?oe(kt,Ee):kt}}})}case"thematicBreak":{let lt=Je(at,"list");return lt===-1?"---":qe(at.getParentNode(lt),at.getParentNode(lt+1))%2===0?"***":"---"}case"linkReference":return["[",ft(at,Ee,pt),"]",Oe.referenceType==="full"?ln(Oe):Oe.referenceType==="collapsed"?"[]":""];case"imageReference":switch(Oe.referenceType){case"full":return["![",Oe.alt||"","]",ln(Oe)];default:return["![",Oe.alt,"]",Oe.referenceType==="collapsed"?"[]":""]}case"definition":{let lt=Ee.proseWrap==="always"?L:" ";return X([ln(Oe),":",R([lt,Bt(Oe.url),Oe.title===null?"":[lt,cn(Oe.title,Ee,!1)]])])}case"footnote":return["[^",ft(at,Ee,pt),"]"];case"footnoteReference":return Dn(Oe);case"footnoteDefinition":{let lt=at.getParentNode().children[at.getName()+1],Zt=Oe.children.length===1&&Oe.children[0].type==="paragraph"&&(Ee.proseWrap==="never"||Ee.proseWrap==="preserve"&&Oe.children[0].position.start.line===Oe.children[0].position.end.line);return[Dn(Oe),": ",Zt?ft(at,Ee,pt):X([ee(" ".repeat(4),ft(at,Ee,pt,{processor:(qt,mt)=>mt===0?X([x,pt()]):pt()})),lt&&lt.type==="footnoteDefinition"?x:""])]}case"table":return Ie(at,Ee,pt);case"tableCell":return ft(at,Ee,pt);case"break":return/\s/.test(Ee.originalText[Oe.position.start.offset])?[" ",k(_)]:["\\",C];case"liquidNode":return Z(Oe.value,C);case"importExport":return[Oe.value,C];case"esComment":return["{/* ",Oe.value," */}"];case"jsx":return Oe.value;case"math":return["$$",C,Oe.value?[...Z(Oe.value,C),C]:"","$$"];case"inlineMath":return Ee.originalText.slice(w(Oe),$(Oe));case"tableRow":case"listItem":default:throw new Error(`Unknown markdown type ${JSON.stringify(Oe.type)}`)}}function he(at,Ee,pt,Oe){let lt=at.getValue(),Zt=lt.checked===null?"":lt.checked?"[x] ":"[ ] ";return[Zt,ft(at,Ee,pt,{processor:(qt,mt)=>{if(mt===0&&qt.getValue().type!=="list")return ee(" ".repeat(Zt.length),pt());let V=" ".repeat(Mn(Ee.tabWidth-Oe.length,0,3));return[V,ee(V,pt())]}})]}function oe(at,Ee){let pt=Oe();return at+" ".repeat(pt>=4?0:pt);function Oe(){let lt=at.length%Ee.tabWidth;return lt===0?0:Ee.tabWidth-lt}}function qe(at,Ee){return et(at,Ee,pt=>pt.ordered===at.ordered)}function et(at,Ee,pt){let Oe=-1;for(let lt of Ee.children)if(lt.type===at.type&&pt(lt)?Oe++:Oe=-1,lt===at)return Oe}function Je(at,Ee){let pt=Array.isArray(Ee)?Ee:[Ee],Oe=-1,lt;for(;lt=at.getParentNode(++Oe);)if(pt.includes(lt.type))return Oe;return-1}function dt(at,Ee){let pt=Je(at,Ee);return pt===-1?null:at.getParentNode(pt)}function De(at,Ee,pt){if(pt.proseWrap==="preserve"&&Ee===`
239
- `)return C;let Oe=pt.proseWrap==="always"&&!dt(at,Fe);return Ee!==""?Oe?L:" ":Oe?x:""}function Ie(at,Ee,pt){let Oe=at.getValue(),lt=[],Zt=at.map(kt=>kt.map((Rt,un)=>{let It=ye(pt(),Ee).formatted,Er=d(It);return lt[un]=Math.max(lt[un]||3,Er),{text:It,width:Er}},"children"),"children"),qt=V(!1);if(Ee.proseWrap!=="never")return[v,qt];let mt=V(!0);return[v,X(j(mt,qt))];function V(kt){let Rt=[tt(Zt[0],kt),_e(kt)];return Zt.length>1&&Rt.push(S(G,Zt.slice(1).map(un=>tt(un,kt)))),S(G,Rt)}function _e(kt){return`| ${lt.map((Rt,un)=>{let It=Oe.align[un],Er=It==="center"||It==="left"?":":"-",sn=It==="center"||It==="right"?":":"-",Dr=kt?"-":"-".repeat(Rt-2);return`${Er}${Dr}${sn}`}).join(" | ")} |`}function tt(kt,Rt){return`| ${kt.map((un,It)=>{let{text:Er,width:sn}=un;if(Rt)return Er;let Dr=lt[It]-sn,nn=Oe.align[It],An=0;nn==="right"?An=Dr:nn==="center"&&(An=Math.floor(Dr/2));let Bn=Dr-An;return`${" ".repeat(An)}${Er}${" ".repeat(Bn)}`}).join(" | ")} |`}}function ct(at,Ee,pt){let Oe=[],lt=null,{children:Zt}=at.getValue();for(let[qt,mt]of Zt.entries())switch(Ce(mt)){case"start":lt===null&&(lt={index:qt,offset:mt.position.end.offset});break;case"end":lt!==null&&(Oe.push({start:lt,end:{index:qt,offset:mt.position.start.offset}}),lt=null);break}return ft(at,Ee,pt,{processor:(qt,mt)=>{if(Oe.length>0){let V=Oe[0];if(mt===V.start.index)return[Jt(Zt[V.start.index]),Ee.originalText.slice(V.start.offset,V.end.offset),Jt(Zt[V.end.index])];if(V.start.index<mt&&mt<V.end.index)return!1;if(mt===V.end.index)return Oe.shift(),!1}return pt()}})}function ft(at,Ee,pt){let Oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:lt}=Oe,Zt=Oe.processor||(()=>pt()),qt=at.getValue(),mt=[],V;return at.each((_e,tt)=>{let kt=_e.getValue(),Rt=Zt(_e,tt);if(Rt!==!1){let un={parts:mt,prevNode:V,parentNode:qt,options:Ee};Ye(kt,un)&&(mt.push(C),V&&fe.has(V.type)||(ze(kt,un)||Dt(kt,un))&&mt.push(C),Dt(kt,un)&&mt.push(C)),mt.push(Rt),V=kt}},"children"),lt?lt(mt):mt}function Jt(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 Ee=at;for(;h(Ee.children);)Ee=b(Ee.children);return Ee}function Ce(at){let Ee;if(at.type==="html")Ee=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&&(Ee=pt.value.match(/^prettier-ignore(?:-(start|end))?$/))}return Ee?Ee[1]||"next":!1}function Ye(at,Ee){let pt=Ee.parts.length===0,Oe=re.includes(at.type),lt=at.type==="html"&&ce.includes(Ee.parentNode.type);return!pt&&!Oe&&!lt}function ze(at,Ee){var pt,Oe,lt;let Zt=(Ee.prevNode&&Ee.prevNode.type)===at.type&&se.has(at.type),qt=Ee.parentNode.type==="listItem"&&!Ee.parentNode.loose,mt=((pt=Ee.prevNode)===null||pt===void 0?void 0:pt.type)==="listItem"&&Ee.prevNode.loose,V=Ce(Ee.prevNode)==="next",_e=at.type==="html"&&((Oe=Ee.prevNode)===null||Oe===void 0?void 0:Oe.type)==="html"&&Ee.prevNode.position.end.line+1===at.position.start.line,tt=at.type==="html"&&Ee.parentNode.type==="listItem"&&((lt=Ee.prevNode)===null||lt===void 0?void 0:lt.type)==="paragraph"&&Ee.prevNode.position.end.line+1===at.position.start.line;return mt||!(Zt||qt||V||_e||tt)}function Dt(at,Ee){let pt=Ee.prevNode&&Ee.prevNode.type==="list",Oe=at.type==="code"&&at.isIndented;return pt&&Oe}function Nt(at){let Ee=dt(at,["linkReference","imageReference"]);return Ee&&(Ee.type!=="linkReference"||Ee.referenceType!=="full")}function Bt(at){let Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],pt=[" ",...Array.isArray(Ee)?Ee:[Ee]];return new RegExp(pt.map(Oe=>`\\${Oe}`).join("|")).test(at)?`<${at}>`:at}function cn(at,Ee){let pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!at)return"";if(pt)return" "+cn(at,Ee,!1);if(at=at.replace(/\\(["')])/g,"$1"),at.includes('"')&&at.includes("'")&&!at.includes(")"))return`(${at})`;let Oe=at.split("'").length-1,lt=at.split('"').length-1,Zt=Oe>lt?'"':lt>Oe||Ee.singleQuote?"'":'"';return at=at.replace(/\\/,"\\\\"),at=at.replace(new RegExp(`(${Zt})`,"g"),"\\$1"),`${Zt}${at}${Zt}`}function Mn(at,Ee,pt){return at<Ee?Ee:at>pt?pt:at}function Tn(at){let Ee=Number(at.getName());if(Ee===0)return!1;let pt=at.getParentNode().children[Ee-1];return Ce(pt)==="next"}function ln(at){return`[${f(at.label)}]`}function Dn(at){return`[^${at.label}]`}E.exports={preprocess:y,print:We,embed:F,massageAstNode:T,hasPrettierIgnore:Tn,insertPragma:J}}}),z2=we({"src/language-markdown/options.js"(m,E){$e();var f=Ya();E.exports={proseWrap:f.proseWrap,singleQuote:f.singleQuote}}}),Q2=we({"src/language-markdown/parsers.js"(){$e()}}),O0=we({"node_modules/linguist-languages/data/Markdown.json"(m,E){E.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}}}),X2=we({"src/language-markdown/index.js"(m,E){$e();var f=ea(),b=H2(),D=z2(),c=Q2(),d=[f(O0(),v=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...v.filenames,"README"],extensions:v.extensions.filter(S=>S!==".mdx")})),f(O0(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],h={mdast:b};E.exports={languages:d,options:D,printers:h,parsers:c}}}),K2=we({"src/language-html/clean.js"(m,E){$e();var{isFrontMatterNode:f}=ge(),b=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function D(c,d){if(c.type==="text"||c.type==="comment"||f(c)||c.type==="yaml"||c.type==="toml")return null;c.type==="attribute"&&delete d.value,c.type==="docType"&&delete d.value}D.ignoredProperties=b,E.exports=D}}),Z2=we({"src/language-html/constants.evaluate.js"(m,E){E.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"}}}),eE=we({"src/language-html/utils/is-unknown-namespace.js"(m,E){$e();function f(b){return b.type==="element"&&!b.hasExplicitNamespace&&!["html","svg"].includes(b.namespace)}E.exports=f}}),Ha=we({"src/language-html/utils/index.js"(m,E){$e();var{inferParserByLanguage:f,isFrontMatterNode:b}=ge(),{builders:{line:D,hardline:c,join:d},utils:{getDocParts:h,replaceTextEndOfLine:v}}=wn(),{CSS_DISPLAY_TAGS:S,CSS_DISPLAY_DEFAULT:L,CSS_WHITE_SPACE_TAGS:_,CSS_WHITE_SPACE_DEFAULT:k}=Z2(),C=eE(),x=new Set([" ",`
240
- `,"\f","\r"," "]),j=V=>V.replace(/^[\t\n\f\r ]+/,""),Q=V=>V.replace(/[\t\n\f\r ]+$/,""),ee=V=>j(Q(V)),R=V=>V.replace(/^[\t\f\r ]*\n/g,""),X=V=>R(Q(V)),G=V=>V.split(/[\t\n\f\r ]+/),ne=V=>V.match(/^[\t\n\f\r ]*/)[0],Z=V=>{let[,_e,tt,kt]=V.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:_e,trailingWhitespace:kt,text:tt}},ye=V=>/[\t\n\f\r ]/.test(V);function F(V,_e){return!!(V.type==="ieConditionalComment"&&V.lastChild&&!V.lastChild.isSelfClosing&&!V.lastChild.endSourceSpan||V.type==="ieConditionalComment"&&!V.complete||ze(V)&&V.children.some(tt=>tt.type!=="text"&&tt.type!=="interpolation")||Oe(V,_e)&&!y(V)&&V.type!=="interpolation")}function J(V){return V.type==="attribute"||!V.parent||!V.prev?!1:w(V.prev)}function w(V){return V.type==="comment"&&V.value.trim()==="prettier-ignore"}function $(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 T(V){return V.children&&!y(V)}function I(V){return y(V)||V.type==="interpolation"||U(V)}function U(V){return cn(V).startsWith("pre")}function q(V,_e){let tt=kt();if(tt&&!V.prev&&V.parent&&V.parent.tagDefinition&&V.parent.tagDefinition.ignoreFirstLf)return V.type==="interpolation";return tt;function kt(){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:ze(V.parent)?!0:!(!V.prev&&(V.parent.type==="root"||ze(V)&&V.parent||y(V.parent)||Ee(V.parent,_e)||!ft(V.parent.cssDisplay))||V.prev&&!Ce(V.prev.cssDisplay))}}function z(V,_e){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:ze(V.parent)?!0:!(!V.next&&(V.parent.type==="root"||ze(V)&&V.parent||y(V.parent)||Ee(V.parent,_e)||!Jt(V.parent.cssDisplay))||V.next&&!Re(V.next.cssDisplay))}function re(V){return Ye(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 me(V){return fe(V)||V.type==="element"&&V.children.length>0&&(["body","script","style"].includes(V.name)||V.children.some(_e=>Je(_e)))||V.firstChild&&V.firstChild===V.lastChild&&V.firstChild.type!=="text"&&he(V.firstChild)&&(!V.lastChild.isTrailingSpaceSensitive||oe(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 Fe(V){return qe(V)||V.prev&&se(V.prev)||We(V)}function se(V){return qe(V)||V.type==="element"&&V.fullName==="br"||We(V)}function We(V){return he(V)&&oe(V)}function he(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 oe(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 qe(V){switch(V.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(V.name)}return!1}function et(V){return V.lastChild?et(V.lastChild):V}function Je(V){return V.children&&V.children.some(_e=>_e.type!=="text")}function dt(V){let{type:_e,lang:tt}=V.attrMap;if(_e==="module"||_e==="text/javascript"||_e==="text/babel"||_e==="application/javascript"||tt==="jsx")return"babel";if(_e==="application/x-typescript"||tt==="ts"||tt==="tsx")return"typescript";if(_e==="text/markdown")return"markdown";if(_e==="text/html")return"html";if(_e&&(_e.endsWith("json")||_e.endsWith("importmap"))||_e==="speculationrules")return"json";if(_e==="text/x-handlebars-template")return"glimmer"}function De(V,_e){let{lang:tt}=V.attrMap;if(!tt||tt==="postcss"||tt==="css")return"css";if(tt==="scss")return"scss";if(tt==="less")return"less";if(tt==="stylus")return f("stylus",_e)}function Ie(V,_e){if(V.name==="script"&&!V.attrMap.src)return!V.attrMap.lang&&!V.attrMap.type?"babel":dt(V);if(V.name==="style")return De(V,_e);if(_e&&Oe(V,_e))return dt(V)||!("src"in V.attrMap)&&f(V.attrMap.lang,_e)}function ct(V){return V==="block"||V==="list-item"||V.startsWith("table")}function ft(V){return!ct(V)&&V!=="inline-block"}function Jt(V){return!ct(V)&&V!=="inline-block"}function Re(V){return!ct(V)}function Ce(V){return!ct(V)}function Ye(V){return!ct(V)&&V!=="inline-block"}function ze(V){return cn(V).startsWith("pre")}function Dt(V,_e){let tt=0;for(let kt=V.stack.length-1;kt>=0;kt--){let Rt=V.stack[kt];Rt&&typeof Rt=="object"&&!Array.isArray(Rt)&&_e(Rt)&&tt++}return tt}function Nt(V,_e){let tt=V;for(;tt;){if(_e(tt))return!0;tt=tt.parent}return!1}function Bt(V,_e){if(V.prev&&V.prev.type==="comment"){let kt=V.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(kt)return kt[1]}let tt=!1;if(V.type==="element"&&V.namespace==="svg")if(Nt(V,kt=>kt.fullName==="svg:foreignObject"))tt=!0;else return V.name==="svg"?"inline-block":"block";switch(_e.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return _e.parser==="vue"&&V.parent&&V.parent.type==="root"?"block":V.type==="element"&&(!V.namespace||tt||C(V))&&S[V.name]||L}}function cn(V){return V.type==="element"&&(!V.namespace||C(V))&&_[V.name]||k}function Mn(V){let _e=Number.POSITIVE_INFINITY;for(let tt of V.split(`
241
- `)){if(tt.length===0)continue;if(!x.has(tt[0]))return 0;let kt=ne(tt).length;tt.length!==kt&&kt<_e&&(_e=kt)}return _e===Number.POSITIVE_INFINITY?0:_e}function Tn(V){let _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Mn(V);return _e===0?V:V.split(`
242
- `).map(tt=>tt.slice(_e)).join(`
243
- `)}function ln(V,_e){let tt=0;for(let kt=0;kt<V.length;kt++)V[kt]===_e&&tt++;return tt}function Dn(V){return V.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}var at=new Set(["template","style","script"]);function Ee(V,_e){return pt(V,_e)&&!at.has(V.fullName)}function pt(V,_e){return _e.parser==="vue"&&V.type==="element"&&V.parent.type==="root"&&V.fullName.toLowerCase()!=="html"}function Oe(V,_e){return pt(V,_e)&&(Ee(V,_e)||V.attrMap.lang&&V.attrMap.lang!=="html")}function lt(V){let _e=V.fullName;return _e.charAt(0)==="#"||_e==="slot-scope"||_e==="v-slot"||_e.startsWith("v-slot:")}function Zt(V,_e){let tt=V.parent;if(!pt(tt,_e))return!1;let kt=tt.fullName,Rt=V.fullName;return kt==="script"&&Rt==="setup"||kt==="style"&&Rt==="vars"}function qt(V){let _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V.value;return V.parent.isWhitespaceSensitive?V.parent.isIndentationSensitive?v(_e):v(Tn(X(_e)),c):h(d(D,G(_e)))}function mt(V,_e){return pt(V,_e)&&V.name==="script"}E.exports={htmlTrim:ee,htmlTrimPreserveIndentation:X,hasHtmlWhitespace:ye,getLeadingAndTrailingHtmlWhitespace:Z,canHaveInterpolation:T,countChars:ln,countParents:Dt,dedentString:Tn,forceBreakChildren:fe,forceBreakContent:me,forceNextEmptyLine:ce,getLastDescendant:et,getNodeCssStyleDisplay:Bt,getNodeCssStyleWhiteSpace:cn,hasPrettierIgnore:J,inferScriptParser:Ie,isVueCustomBlock:Ee,isVueNonHtmlBlock:Oe,isVueScriptTag:mt,isVueSlotAttribute:lt,isVueSfcBindingsAttribute:Zt,isVueSfcBlock:pt,isDanglingSpaceSensitiveNode:re,isIndentationSensitiveNode:U,isLeadingSpaceSensitiveNode:q,isPreLikeNode:ze,isScriptLikeTag:y,isTextLikeNode:$,isTrailingSpaceSensitiveNode:z,isWhitespaceSensitiveNode:I,isUnknownNamespace:C,preferHardlineAsLeadingSpaces:Fe,preferHardlineAsTrailingSpaces:se,shouldPreserveContent:F,unescapeQuoteEntities:Dn,getTextValueParts:qt}}}),tE=we({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(m){$e(),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 E(h){return h>=m.$TAB&&h<=m.$SPACE||h==m.$NBSP}m.isWhitespace=E;function f(h){return m.$0<=h&&h<=m.$9}m.isDigit=f;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||f(h)}m.isAsciiHexDigit=D;function c(h){return h===m.$LF||h===m.$CR}m.isNewLine=c;function d(h){return m.$0<=h&&h<=m.$7}m.isOctalDigit=d}}),nE=we({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=class{constructor(b,D,c){this.filePath=b,this.name=D,this.members=c}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};m.StaticSymbol=E;var f=class{constructor(){this.cache=new Map}get(b,D,c){c=c||[];let d=c.length?`.${c.join(".")}`:"",h=`"${b}".${D}${d}`,v=this.cache.get(h);return v||(v=new E(b,D,c),this.cache.set(h,v)),v}};m.StaticSymbolCache=f}}),rE=we({"node_modules/angular-html-parser/lib/compiler/src/util.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=/-+([a-z0-9])/g;function f(y){return y.replace(E,function(){for(var T=arguments.length,I=new Array(T),U=0;U<T;U++)I[U]=arguments[U];return I[1].toUpperCase()})}m.dashCaseToCamelCase=f;function b(y,T){return c(y,":",T)}m.splitAtColon=b;function D(y,T){return c(y,".",T)}m.splitAtPeriod=D;function c(y,T,I){let U=y.indexOf(T);return U==-1?I:[y.slice(0,U).trim(),y.slice(U+1).trim()]}function d(y,T,I){return Array.isArray(y)?T.visitArray(y,I):R(y)?T.visitStringMap(y,I):y==null||typeof y=="string"||typeof y=="number"||typeof y=="boolean"?T.visitPrimitive(y,I):T.visitOther(y,I)}m.visitValue=d;function h(y){return y!=null}m.isDefined=h;function v(y){return y===void 0?null:y}m.noUndefined=v;var S=class{visitArray(y,T){return y.map(I=>d(I,this,T))}visitStringMap(y,T){let I={};return Object.keys(y).forEach(U=>{I[U]=d(y[U],this,T)}),I}visitPrimitive(y,T){return y}visitOther(y,T){return y}};m.ValueTransformer=S,m.SyncAsync={assertSync:y=>{if(Z(y))throw new Error("Illegal state: value cannot be a promise");return y},then:(y,T)=>Z(y)?y.then(T):T(y),all:y=>y.some(Z)?Promise.all(y):y};function L(y){throw new Error(`Internal Error: ${y}`)}m.error=L;function _(y,T){let I=Error(y);return I[k]=!0,T&&(I[C]=T),I}m.syntaxError=_;var k="ngSyntaxError",C="ngParseErrors";function x(y){return y[k]}m.isSyntaxError=x;function j(y){return y[C]||[]}m.getParseErrors=j;function Q(y){return y.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}m.escapeRegExp=Q;var ee=Object.getPrototypeOf({});function R(y){return typeof y=="object"&&y!==null&&Object.getPrototypeOf(y)===ee}function X(y){let T="";for(let I=0;I<y.length;I++){let U=y.charCodeAt(I);if(U>=55296&&U<=56319&&y.length>I+1){let q=y.charCodeAt(I+1);q>=56320&&q<=57343&&(I++,U=(U-55296<<10)+q-56320+65536)}U<=127?T+=String.fromCharCode(U):U<=2047?T+=String.fromCharCode(U>>6&31|192,U&63|128):U<=65535?T+=String.fromCharCode(U>>12|224,U>>6&63|128,U&63|128):U<=2097151&&(T+=String.fromCharCode(U>>18&7|240,U>>12&63|128,U>>6&63|128,U&63|128))}return T}m.utf8Encode=X;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 T=y.toString();if(T==null)return""+T;let I=T.indexOf(`
244
- `);return I===-1?T:T.substring(0,I)}m.stringify=G;function ne(y){return typeof y=="function"&&y.hasOwnProperty("__forward_ref__")?y():y}m.resolveForwardRef=ne;function Z(y){return!!y&&typeof y.then=="function"}m.isPromise=Z;var ye=class{constructor(y){this.full=y;let T=y.split(".");this.major=T[0],this.minor=T[1],this.patch=T.slice(2).join(".")}};m.Version=ye;var F=typeof window<"u"&&window,J=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,w=typeof globalThis<"u"&&globalThis,$=w||F||J;m.global=$}}),iE=we({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=nE(),f=rE(),b=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function D(I){return I.replace(/\W/g,"_")}m.sanitizeIdentifier=D;var c=0;function d(I){if(!I||!I.reference)return null;let U=I.reference;if(U instanceof E.StaticSymbol)return U.name;if(U.__anonymousType)return U.__anonymousType;let q=f.stringify(U);return q.indexOf("(")>=0?(q=`anonymous_${c++}`,U.__anonymousType=q):q=D(q),q}m.identifierName=d;function h(I){let U=I.reference;return U instanceof E.StaticSymbol?U.filePath:`./${f.stringify(U)}`}m.identifierModuleUrl=h;function v(I,U){return`View_${d({reference:I})}_${U}`}m.viewClassName=v;function S(I){return`RenderType_${d({reference:I})}`}m.rendererTypeName=S;function L(I){return`HostView_${d({reference:I})}`}m.hostViewClassName=L;function _(I){return`${d({reference:I})}NgFactory`}m.componentFactoryName=_;var k;(function(I){I[I.Pipe=0]="Pipe",I[I.Directive=1]="Directive",I[I.NgModule=2]="NgModule",I[I.Injectable=3]="Injectable"})(k=m.CompileSummaryKind||(m.CompileSummaryKind={}));function C(I){return I.value!=null?D(I.value):d(I.identifier)}m.tokenName=C;function x(I){return I.identifier!=null?I.identifier.reference:I.value}m.tokenReference=x;var j=class{constructor(){let{moduleUrl:I,styles:U,styleUrls:q}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=I||null,this.styles=Z(U),this.styleUrls=Z(q)}};m.CompileStylesheetMetadata=j;var Q=class{constructor(I){let{encapsulation:U,template:q,templateUrl:z,htmlAst:re,styles:ce,styleUrls:me,externalStylesheets:fe,animations:Fe,ngContentSelectors:se,interpolation:We,isInline:he,preserveWhitespaces:oe}=I;if(this.encapsulation=U,this.template=q,this.templateUrl=z,this.htmlAst=re,this.styles=Z(ce),this.styleUrls=Z(me),this.externalStylesheets=Z(fe),this.animations=Fe?F(Fe):[],this.ngContentSelectors=se||[],We&&We.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=We,this.isInline=he,this.preserveWhitespaces=oe}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};m.CompileTemplateMetadata=Q;var ee=class{static create(I){let{isHost:U,type:q,isComponent:z,selector:re,exportAs:ce,changeDetection:me,inputs:fe,outputs:Fe,host:se,providers:We,viewProviders:he,queries:oe,guards:qe,viewQueries:et,entryComponents:Je,template:dt,componentViewType:De,rendererType:Ie,componentFactory:ct}=I,ft={},Jt={},Re={};se!=null&&Object.keys(se).forEach(ze=>{let Dt=se[ze],Nt=ze.match(b);Nt===null?Re[ze]=Dt:Nt[1]!=null?Jt[Nt[1]]=Dt:Nt[2]!=null&&(ft[Nt[2]]=Dt)});let Ce={};fe!=null&&fe.forEach(ze=>{let Dt=f.splitAtColon(ze,[ze,ze]);Ce[Dt[0]]=Dt[1]});let Ye={};return Fe!=null&&Fe.forEach(ze=>{let Dt=f.splitAtColon(ze,[ze,ze]);Ye[Dt[0]]=Dt[1]}),new ee({isHost:U,type:q,isComponent:!!z,selector:re,exportAs:ce,changeDetection:me,inputs:Ce,outputs:Ye,hostListeners:ft,hostProperties:Jt,hostAttributes:Re,providers:We,viewProviders:he,queries:oe,guards:qe,viewQueries:et,entryComponents:Je,template:dt,componentViewType:De,rendererType:Ie,componentFactory:ct})}constructor(I){let{isHost:U,type:q,isComponent:z,selector:re,exportAs:ce,changeDetection:me,inputs:fe,outputs:Fe,hostListeners:se,hostProperties:We,hostAttributes:he,providers:oe,viewProviders:qe,queries:et,guards:Je,viewQueries:dt,entryComponents:De,template:Ie,componentViewType:ct,rendererType:ft,componentFactory:Jt}=I;this.isHost=!!U,this.type=q,this.isComponent=z,this.selector=re,this.exportAs=ce,this.changeDetection=me,this.inputs=fe,this.outputs=Fe,this.hostListeners=se,this.hostProperties=We,this.hostAttributes=he,this.providers=Z(oe),this.viewProviders=Z(qe),this.queries=Z(et),this.guards=Je,this.viewQueries=Z(dt),this.entryComponents=Z(De),this.template=Ie,this.componentViewType=ct,this.rendererType=ft,this.componentFactory=Jt}toSummary(){return{summaryKind:k.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=ee;var R=class{constructor(I){let{type:U,name:q,pure:z}=I;this.type=U,this.name=q,this.pure=!!z}toSummary(){return{summaryKind:k.Pipe,type:this.type,name:this.name,pure:this.pure}}};m.CompilePipeMetadata=R;var X=class{};m.CompileShallowModuleMetadata=X;var G=class{constructor(I){let{type:U,providers:q,declaredDirectives:z,exportedDirectives:re,declaredPipes:ce,exportedPipes:me,entryComponents:fe,bootstrapComponents:Fe,importedModules:se,exportedModules:We,schemas:he,transitiveModule:oe,id:qe}=I;this.type=U||null,this.declaredDirectives=Z(z),this.exportedDirectives=Z(re),this.declaredPipes=Z(ce),this.exportedPipes=Z(me),this.providers=Z(q),this.entryComponents=Z(fe),this.bootstrapComponents=Z(Fe),this.importedModules=Z(se),this.exportedModules=Z(We),this.schemas=Z(he),this.id=qe||null,this.transitiveModule=oe||null}toSummary(){let I=this.transitiveModule;return{summaryKind:k.NgModule,type:this.type,entryComponents:I.entryComponents,providers:I.providers,modules:I.modules,exportedDirectives:I.exportedDirectives,exportedPipes:I.exportedPipes}}};m.CompileNgModuleMetadata=G;var ne=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,U){this.providers.push({provider:I,module:U})}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=ne;function Z(I){return I||[]}var ye=class{constructor(I,U){let{useClass:q,useValue:z,useExisting:re,useFactory:ce,deps:me,multi:fe}=U;this.token=I,this.useClass=q||null,this.useValue=z,this.useExisting=re,this.useFactory=ce||null,this.dependencies=me||null,this.multi=!!fe}};m.ProviderMeta=ye;function F(I){return I.reduce((U,q)=>{let z=Array.isArray(q)?F(q):q;return U.concat(z)},[])}m.flatten=F;function J(I){return I.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function w(I,U,q){let z;return q.isInline?U.type.reference instanceof E.StaticSymbol?z=`${U.type.reference.filePath}.${U.type.reference.name}.html`:z=`${d(I)}/${d(U.type)}.html`:z=q.templateUrl,U.type.reference instanceof E.StaticSymbol?z:J(z)}m.templateSourceUrl=w;function $(I,U){let q=I.moduleUrl.split(/\/\\/g),z=q[q.length-1];return J(`css/${U}${z}.ngstyle.js`)}m.sharedStylesheetJitUrl=$;function y(I){return J(`${d(I.type)}/module.ngfactory.js`)}m.ngModuleJitUrl=y;function T(I,U){return J(`${d(I)}/${d(U.type)}.ngfactory.js`)}m.templateJitUrl=T}}),sE=we({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(m){$e(),Object.defineProperty(m,"__esModule",{value:!0});var E=tE(),f=iE(),b=class{constructor(L,_,k,C){this.file=L,this.offset=_,this.line=k,this.col=C}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(L){let _=this.file.content,k=_.length,C=this.offset,x=this.line,j=this.col;for(;C>0&&L<0;)if(C--,L++,_.charCodeAt(C)==E.$LF){x--;let Q=_.substr(0,C-1).lastIndexOf(String.fromCharCode(E.$LF));j=Q>0?C-Q:C}else j--;for(;C<k&&L>0;){let Q=_.charCodeAt(C);C++,L--,Q==E.$LF?(x++,j=0):j++}return new b(this.file,C,x,j)}getContext(L,_){let k=this.file.content,C=this.offset;if(C!=null){C>k.length-1&&(C=k.length-1);let x=C,j=0,Q=0;for(;j<L&&C>0&&(C--,j++,!(k[C]==`
245
- `&&++Q==_)););for(j=0,Q=0;j<L&&x<k.length-1&&(x++,j++,!(k[x]==`
246
- `&&++Q==_)););return{before:k.substring(C,this.offset),after:k.substring(this.offset,x+1)}}return null}};m.ParseLocation=b;var D=class{constructor(L,_){this.content=L,this.url=_}};m.ParseSourceFile=D;var c=class{constructor(L,_){let k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=L,this.end=_,this.details=k}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};m.ParseSourceSpan=c,m.EMPTY_PARSE_LOCATION=new b(new D("",""),0,0,0),m.EMPTY_SOURCE_SPAN=new c(m.EMPTY_PARSE_LOCATION,m.EMPTY_PARSE_LOCATION);var d;(function(L){L[L.WARNING=0]="WARNING",L[L.ERROR=1]="ERROR"})(d=m.ParseErrorLevel||(m.ParseErrorLevel={}));var h=class{constructor(L,_){let k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d.ERROR;this.span=L,this.msg=_,this.level=k}contextualMessage(){let L=this.span.start.getContext(100,3);return L?`${this.msg} ("${L.before}[${d[this.level]} ->]${L.after}")`:this.msg}toString(){let L=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${L}`}};m.ParseError=h;function v(L,_){let k=f.identifierModuleUrl(_),C=k!=null?`in ${L} ${f.identifierName(_)} in ${k}`:`in ${L} ${f.identifierName(_)}`,x=new D("",C);return new c(new b(x,-1,-1,-1),new b(x,-1,-1,-1))}m.typeSourceSpan=v;function S(L,_,k){let C=`in ${L} ${_} in ${k}`,x=new D("",C);return new c(new b(x,-1,-1,-1),new b(x,-1,-1,-1))}m.r3JitTypeSourceSpan=S}}),aE=we({"src/language-html/print-preprocess.js"(m,E){$e();var{ParseSourceSpan:f}=sE(),{htmlTrim:b,getLeadingAndTrailingHtmlWhitespace:D,hasHtmlWhitespace:c,canHaveInterpolation:d,getNodeCssStyleDisplay:h,isDanglingSpaceSensitiveNode:v,isIndentationSensitiveNode:S,isLeadingSpaceSensitiveNode:L,isTrailingSpaceSensitiveNode:_,isWhitespaceSensitiveNode:k,isVueScriptTag:C}=Ha(),x=[Q,ee,X,ne,Z,J,ye,F,w,G,$];function j(y,T){for(let I of x)I(y,T);return y}function Q(y){y.walk(T=>{if(T.type==="element"&&T.tagDefinition.ignoreFirstLf&&T.children.length>0&&T.children[0].type==="text"&&T.children[0].value[0]===`
247
- `){let I=T.children[0];I.value.length===1?T.removeChild(I):I.value=I.value.slice(1)}})}function ee(y){let T=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 U=0;U<I.children.length;U++){let q=I.children[U];if(!T(q))continue;let z=q.prev,re=q.firstChild;I.removeChild(z),U--;let ce=new f(z.sourceSpan.start,re.sourceSpan.end),me=new f(ce.start,q.sourceSpan.end);q.condition=z.condition,q.sourceSpan=me,q.startSourceSpan=ce,q.removeChild(re)}})}function R(y,T,I){y.walk(U=>{if(U.children)for(let q=0;q<U.children.length;q++){let z=U.children[q];if(z.type!=="text"&&!T(z))continue;z.type!=="text"&&(z.type="text",z.value=I(z));let re=z.prev;!re||re.type!=="text"||(re.value+=z.value,re.sourceSpan=new f(re.sourceSpan.start,z.sourceSpan.end),U.removeChild(z),q--)}})}function X(y){return R(y,T=>T.type==="cdata",T=>`<![CDATA[${T.value}]]>`)}function G(y){let T=I=>I.type==="element"&&I.attrs.length===0&&I.children.length===1&&I.firstChild.type==="text"&&!c(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 U=0;U<I.children.length;U++){let q=I.children[U];if(!T(q))continue;let z=q.prev,re=q.next;z.value+=`<${q.rawName}>`+q.firstChild.value+`</${q.rawName}>`+re.value,z.sourceSpan=new f(z.sourceSpan.start,re.sourceSpan.end),z.isTrailingSpaceSensitive=re.isTrailingSpaceSensitive,z.hasTrailingSpaces=re.hasTrailingSpaces,I.removeChild(q),U--,I.removeChild(re)}})}function ne(y,T){if(T.parser==="html")return;let I=/{{(.+?)}}/s;y.walk(U=>{if(d(U))for(let q of U.children){if(q.type!=="text")continue;let z=q.sourceSpan.start,re=null,ce=q.value.split(I);for(let me=0;me<ce.length;me++,z=re){let fe=ce[me];if(me%2===0){re=z.moveBy(fe.length),fe.length>0&&U.insertChildBefore(q,{type:"text",value:fe,sourceSpan:new f(z,re)});continue}re=z.moveBy(fe.length+4),U.insertChildBefore(q,{type:"interpolation",sourceSpan:new f(z,re),children:fe.length===0?[]:[{type:"text",value:fe,sourceSpan:new f(z.moveBy(2),re.moveBy(-2))}]})}U.removeChild(q)}})}function Z(y){y.walk(T=>{if(!T.children)return;if(T.children.length===0||T.children.length===1&&T.children[0].type==="text"&&b(T.children[0].value).length===0){T.hasDanglingSpaces=T.children.length>0,T.children=[];return}let I=k(T),U=S(T);if(!I)for(let q=0;q<T.children.length;q++){let z=T.children[q];if(z.type!=="text")continue;let{leadingWhitespace:re,text:ce,trailingWhitespace:me}=D(z.value),fe=z.prev,Fe=z.next;ce?(z.value=ce,z.sourceSpan=new f(z.sourceSpan.start.moveBy(re.length),z.sourceSpan.end.moveBy(-me.length)),re&&(fe&&(fe.hasTrailingSpaces=!0),z.hasLeadingSpaces=!0),me&&(z.hasTrailingSpaces=!0,Fe&&(Fe.hasLeadingSpaces=!0))):(T.removeChild(z),q--,(re||me)&&(fe&&(fe.hasTrailingSpaces=!0),Fe&&(Fe.hasLeadingSpaces=!0)))}T.isWhitespaceSensitive=I,T.isIndentationSensitive=U})}function ye(y){y.walk(T=>{T.isSelfClosing=!T.children||T.type==="element"&&(T.tagDefinition.isVoid||T.startSourceSpan===T.endSourceSpan)})}function F(y,T){y.walk(I=>{I.type==="element"&&(I.hasHtmComponentClosingTag=I.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(T.originalText.slice(I.endSourceSpan.start.offset,I.endSourceSpan.end.offset)))})}function J(y,T){y.walk(I=>{I.cssDisplay=h(I,T)})}function w(y,T){y.walk(I=>{let{children:U}=I;if(U){if(U.length===0){I.isDanglingSpaceSensitive=v(I);return}for(let q of U)q.isLeadingSpaceSensitive=L(q,T),q.isTrailingSpaceSensitive=_(q,T);for(let q=0;q<U.length;q++){let z=U[q];z.isLeadingSpaceSensitive=(q===0||z.prev.isTrailingSpaceSensitive)&&z.isLeadingSpaceSensitive,z.isTrailingSpaceSensitive=(q===U.length-1||z.next.isLeadingSpaceSensitive)&&z.isTrailingSpaceSensitive}}})}function $(y,T){if(T.parser==="vue"){let I=y.children.find(q=>C(q,T));if(!I)return;let{lang:U}=I.attrMap;(U==="ts"||U==="typescript")&&(T.__should_parse_vue_template_with_ts=!0)}}E.exports=j}}),oE=we({"src/language-html/pragma.js"(m,E){$e();function f(D){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(D)}function b(D){return`<!-- @format -->
248
-
249
- `+D.replace(/^\s*\n/,"")}E.exports={hasPragma:f,insertPragma:b}}}),Gf=we({"src/language-html/loc.js"(m,E){$e();function f(D){return D.sourceSpan.start.offset}function b(D){return D.sourceSpan.end.offset}E.exports={locStart:f,locEnd:b}}}),Io=we({"src/language-html/print/tag.js"(m,E){$e();var f=To(),{isNonEmptyArray:b}=ge(),{builders:{indent:D,join:c,line:d,softline:h,hardline:v},utils:{replaceTextEndOfLine:S}}=wn(),{locStart:L,locEnd:_}=Gf(),{isTextLikeNode:k,getLastDescendant:C,isPreLikeNode:x,hasPrettierIgnore:j,shouldPreserveContent:Q,isVueSfcBlock:ee}=Ha();function R(se,We){return[se.isSelfClosing?"":X(se,We),G(se,We)]}function X(se,We){return se.lastChild&&y(se.lastChild)?"":[ne(se,We),ye(se,We)]}function G(se,We){return(se.next?w(se.next):$(se.parent))?"":[F(se,We),Z(se,We)]}function ne(se,We){return $(se)?F(se.lastChild,We):""}function Z(se,We){return y(se)?ye(se.parent,We):T(se)?fe(se.next):""}function ye(se,We){if(f(!se.isSelfClosing),J(se,We))return"";switch(se.type){case"ieConditionalComment":return"<!";case"element":if(se.hasHtmComponentClosingTag)return"<//";default:return`</${se.rawName}`}}function F(se,We){if(J(se,We))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,We){return!se.isSelfClosing&&!se.endSourceSpan&&(j(se)||Q(se.parent,We))}function w(se){return se.prev&&se.prev.type!=="docType"&&!k(se.prev)&&se.isLeadingSpaceSensitive&&!se.hasLeadingSpaces}function $(se){return se.lastChild&&se.lastChild.isTrailingSpaceSensitive&&!se.lastChild.hasTrailingSpaces&&!k(C(se.lastChild))&&!x(se)}function y(se){return!se.next&&!se.hasTrailingSpaces&&se.isTrailingSpaceSensitive&&k(C(se))}function T(se){return se.next&&!k(se.next)&&k(se)&&se.isTrailingSpaceSensitive&&!se.hasTrailingSpaces}function I(se){let We=se.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return We?We[1]?We[1].split(/\s+/):!0:!1}function U(se){return!se.prev&&se.isLeadingSpaceSensitive&&!se.hasLeadingSpaces}function q(se,We,he){let oe=se.getValue();if(!b(oe.attrs))return oe.isSelfClosing?" ":"";let qe=oe.prev&&oe.prev.type==="comment"&&I(oe.prev.value),et=typeof qe=="boolean"?()=>qe:Array.isArray(qe)?ct=>qe.includes(ct.rawName):()=>!1,Je=se.map(ct=>{let ft=ct.getValue();return et(ft)?S(We.originalText.slice(L(ft),_(ft))):he()},"attrs"),dt=oe.type==="element"&&oe.fullName==="script"&&oe.attrs.length===1&&oe.attrs[0].fullName==="src"&&oe.children.length===0,De=We.singleAttributePerLine&&oe.attrs.length>1&&!ee(oe,We)?v:d,Ie=[D([dt?" ":d,c(De,Je)])];return oe.firstChild&&U(oe.firstChild)||oe.isSelfClosing&&$(oe.parent)||dt?Ie.push(oe.isSelfClosing?" ":""):Ie.push(We.bracketSameLine?oe.isSelfClosing?" ":"":oe.isSelfClosing?d:h),Ie}function z(se){return se.firstChild&&U(se.firstChild)?"":Fe(se)}function re(se,We,he){let oe=se.getValue();return[ce(oe,We),q(se,We,he),oe.isSelfClosing?"":z(oe)]}function ce(se,We){return se.prev&&T(se.prev)?"":[me(se,We),fe(se)]}function me(se,We){return U(se)?Fe(se.parent):w(se)?F(se.prev,We):""}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 Fe(se){switch(f(!se.isSelfClosing),se.type){case"ieConditionalComment":return"]>";case"element":if(se.condition)return"><!--<![endif]-->";default:return">"}}E.exports={printClosingTag:R,printClosingTagStart:X,printClosingTagStartMarker:ye,printClosingTagEndMarker:F,printClosingTagSuffix:Z,printClosingTagEnd:G,needsToBorrowLastChildClosingTagEndMarker:$,needsToBorrowParentClosingTagStartMarker:y,needsToBorrowPrevClosingTagEndMarker:w,printOpeningTag:re,printOpeningTagStart:ce,printOpeningTagPrefix:me,printOpeningTagStartMarker:fe,printOpeningTagEndMarker:Fe,needsToBorrowNextOpeningTagStartMarker:T,needsToBorrowParentOpeningTagEndMarker:U}}}),uE=we({"node_modules/parse-srcset/src/parse-srcset.js"(m,E){$e(),function(f,b){typeof E=="object"&&E.exports?E.exports=b():f.parseSrcset=b()}(m,function(){return function(f,b){var D=b&&b.logger||console;function c(ye){return ye===" "||ye===" "||ye===`
250
- `||ye==="\f"||ye==="\r"}function d(ye){var F,J=ye.exec(f.substring(X));if(J)return F=J[0],X+=F.length,F}for(var h=f.length,v=/^[ \t\n\r\u000c]+/,S=/^[, \t\n\r\u000c]+/,L=/^[^ \t\n\r\u000c]+/,_=/[,]+$/,k=/^\d+$/,C=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,x,j,Q,ee,R,X=0,G=[];;){if(d(S),X>=h)return G;x=d(L),j=[],x.slice(-1)===","?(x=x.replace(_,""),Z()):ne()}function ne(){for(d(v),Q="",ee="in descriptor";;){if(R=f.charAt(X),ee==="in descriptor")if(c(R))Q&&(j.push(Q),Q="",ee="after descriptor");else if(R===","){X+=1,Q&&j.push(Q),Z();return}else if(R==="(")Q=Q+R,ee="in parens";else if(R===""){Q&&j.push(Q),Z();return}else Q=Q+R;else if(ee==="in parens")if(R===")")Q=Q+R,ee="in descriptor";else if(R===""){j.push(Q),Z();return}else Q=Q+R;else if(ee==="after descriptor"&&!c(R))if(R===""){Z();return}else ee="in descriptor",X-=1;X+=1}}function Z(){var ye=!1,F,J,w,$,y={},T,I,U,q,z;for($=0;$<j.length;$++)T=j[$],I=T[T.length-1],U=T.substring(0,T.length-1),q=parseInt(U,10),z=parseFloat(U),k.test(U)&&I==="w"?((F||J)&&(ye=!0),q===0?ye=!0:F=q):C.test(U)&&I==="x"?((F||J||w)&&(ye=!0),z<0?ye=!0:J=z):k.test(U)&&I==="h"?((w||J)&&(ye=!0),q===0?ye=!0:w=q):ye=!0;ye?D&&D.error&&D.error("Invalid srcset descriptor found in '"+f+"' at '"+T+"'."):(y.url=x,F&&(y.w=F),J&&(y.d=J),w&&(y.h=w),G.push(y))}}})}}),lE=we({"src/language-html/syntax-attribute.js"(m,E){$e();var f=uE(),{builders:{ifBreak:b,join:D,line:c}}=wn();function d(v){let S=f(v,{logger:{error(ne){throw new Error(ne)}}}),L=S.some(ne=>{let{w:Z}=ne;return Z}),_=S.some(ne=>{let{h:Z}=ne;return Z}),k=S.some(ne=>{let{d:Z}=ne;return Z});if(L+_+k>1)throw new Error("Mixed descriptor in srcset is not supported");let C=L?"w":_?"h":"d",x=L?"w":_?"h":"x",j=ne=>Math.max(...ne),Q=S.map(ne=>ne.url),ee=j(Q.map(ne=>ne.length)),R=S.map(ne=>ne[C]).map(ne=>ne?ne.toString():""),X=R.map(ne=>{let Z=ne.indexOf(".");return Z===-1?ne.length:Z}),G=j(X);return D([",",c],Q.map((ne,Z)=>{let ye=[ne],F=R[Z];if(F){let J=ee-ne.length+1,w=G-X[Z],$=" ".repeat(J+w);ye.push(b($," "),F+x)}return ye}))}function h(v){return v.trim().split(/\s+/).join(" ")}E.exports={printImgSrcset:d,printClassNames:h}}}),cE=we({"src/language-html/syntax-vue.js"(m,E){$e();var{builders:{group:f}}=wn();function b(h,v){let{left:S,operator:L,right:_}=D(h);return[f(v(`function _(${S}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",L," ",v(_,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function D(h){let v=/(.*?)\s+(in|of)\s+(.*)/s,S=/,([^,\]}]*)(?:,([^,\]}]*))?$/,L=/^\(|\)$/g,_=h.match(v);if(!_)return;let k={};if(k.for=_[3].trim(),!k.for)return;let C=_[1].trim().replace(L,""),x=C.match(S);x?(k.alias=C.replace(S,""),k.iterator1=x[1].trim(),x[2]&&(k.iterator2=x[2].trim())):k.alias=C;let j=[k.alias,k.iterator1,k.iterator2];if(!j.some((Q,ee)=>!Q&&(ee===0||j.slice(ee+1).some(Boolean))))return{left:j.filter(Boolean).join(","),operator:_[2],right:k.for}}function c(h,v){return v(`function _(${h}) {}`,{parser:"babel",__isVueBindings:!0})}function d(h){let v=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,S=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,L=h.trim();return v.test(L)||S.test(L)}E.exports={isVueEventBindingExpression:d,printVueFor:b,printVueBindings:c}}}),j0=we({"src/language-html/get-node-content.js"(m,E){$e();var{needsToBorrowParentClosingTagStartMarker:f,printClosingTagStartMarker:b,needsToBorrowLastChildClosingTagEndMarker:D,printClosingTagEndMarker:c,needsToBorrowParentOpeningTagEndMarker:d,printOpeningTagEndMarker:h}=Io();function v(S,L){let _=S.startSourceSpan.end.offset;S.firstChild&&d(S.firstChild)&&(_-=h(S).length);let k=S.endSourceSpan.start.offset;return S.lastChild&&f(S.lastChild)?k+=b(S,L).length:D(S)&&(k-=c(S.lastChild,L).length),L.originalText.slice(_,k)}E.exports=v}}),fE=we({"src/language-html/embed.js"(m,E){$e();var{builders:{breakParent:f,group:b,hardline:D,indent:c,line:d,fill:h,softline:v},utils:{mapDoc:S,replaceTextEndOfLine:L}}=wn(),_=qf(),{printClosingTag:k,printClosingTagSuffix:C,needsToBorrowPrevClosingTagEndMarker:x,printOpeningTagPrefix:j,printOpeningTag:Q}=Io(),{printImgSrcset:ee,printClassNames:R}=lE(),{printVueFor:X,printVueBindings:G,isVueEventBindingExpression:ne}=cE(),{isScriptLikeTag:Z,isVueNonHtmlBlock:ye,inferScriptParser:F,htmlTrimPreserveIndentation:J,dedentString:w,unescapeQuoteEntities:$,isVueSlotAttribute:y,isVueSfcBindingsAttribute:T,getTextValueParts:I}=Ha(),U=j0();function q(re,ce,me){let fe=Je=>new RegExp(Je.join("|")).test(re.fullName),Fe=()=>$(re.value),se=!1,We=(Je,dt)=>{let De=Je.type==="NGRoot"?Je.node.type==="NGMicrosyntax"&&Je.node.body.length===1&&Je.node.body[0].type==="NGMicrosyntaxExpression"?Je.node.body[0].expression:Je.node:Je.type==="JsExpressionRoot"?Je.node:Je;De&&(De.type==="ObjectExpression"||De.type==="ArrayExpression"||dt.parser==="__vue_expression"&&(De.type==="TemplateLiteral"||De.type==="StringLiteral"))&&(se=!0)},he=Je=>b(Je),oe=function(Je){let dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return b([c([v,Je]),dt?v:""])},qe=Je=>se?he(Je):oe(Je),et=(Je,dt)=>ce(Je,Object.assign({__onHtmlBindingRoot:We,__embeddedInHtml:!0},dt));if(re.fullName==="srcset"&&(re.parent.fullName==="img"||re.parent.fullName==="source"))return oe(ee(Fe()));if(re.fullName==="class"&&!me.parentParser){let Je=Fe();if(!Je.includes("{{"))return R(Je)}if(re.fullName==="style"&&!me.parentParser){let Je=Fe();if(!Je.includes("{{"))return oe(et(Je,{parser:"css",__isHTMLStyleAttribute:!0}))}if(me.parser==="vue"){if(re.fullName==="v-for")return X(Fe(),et);if(y(re)||T(re,me))return G(Fe(),et);let Je=["^@","^v-on:"],dt=["^:","^v-bind:"],De=["^v-"];if(fe(Je)){let Ie=Fe(),ct=ne(Ie)?"__js_expression":me.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return qe(et(Ie,{parser:ct}))}if(fe(dt))return qe(et(Fe(),{parser:"__vue_expression"}));if(fe(De))return qe(et(Fe(),{parser:"__js_expression"}))}if(me.parser==="angular"){let Je=(Re,Ce)=>et(Re,Object.assign(Object.assign({},Ce),{},{trailingComma:"none"})),dt=["^\\*"],De=["^\\(.+\\)$","^on-"],Ie=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],ct=["^i18n(-.+)?$"];if(fe(De))return qe(Je(Fe(),{parser:"__ng_action"}));if(fe(Ie))return qe(Je(Fe(),{parser:"__ng_binding"}));if(fe(ct)){let Re=Fe().trim();return oe(h(I(re,Re)),!Re.includes("@@"))}if(fe(dt))return qe(Je(Fe(),{parser:"__ng_directive"}));let ft=/{{(.+?)}}/s,Jt=Fe();if(ft.test(Jt)){let Re=[];for(let[Ce,Ye]of Jt.split(ft).entries())if(Ce%2===0)Re.push(L(Ye));else try{Re.push(b(["{{",c([d,Je(Ye,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),d,"}}"]))}catch{Re.push("{{",L(Ye),"}}")}return b(Re)}}return null}function z(re,ce,me,fe){let Fe=re.getValue();switch(Fe.type){case"element":{if(Z(Fe)||Fe.type==="interpolation")return;if(!Fe.isSelfClosing&&ye(Fe,fe)){let se=F(Fe,fe);if(!se)return;let We=U(Fe,fe),he=/^\s*$/.test(We),oe="";return he||(oe=me(J(We),{parser:se,__embeddedInHtml:!0},{stripTrailingHardline:!0}),he=oe===""),[j(Fe,fe),b(Q(re,fe,ce)),he?"":D,oe,he?"":D,k(Fe,fe),C(Fe,fe)]}break}case"text":{if(Z(Fe.parent)){let se=F(Fe.parent,fe);if(se){let We=se==="markdown"?w(Fe.value.replace(/^[^\S\n]*\n/,"")):Fe.value,he={parser:se,__embeddedInHtml:!0};if(fe.parser==="html"&&se==="babel"){let oe="script",{attrMap:qe}=Fe.parent;qe&&(qe.type==="module"||qe.type==="text/babel"&&qe["data-type"]==="module")&&(oe="module"),he.__babelSourceType=oe}return[f,j(Fe,fe),me(We,he,{stripTrailingHardline:!0}),C(Fe,fe)]}}else if(Fe.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",[c([d,me(Fe.value,se,{stripTrailingHardline:!0})]),Fe.parent.next&&x(Fe.parent.next)?" ":d]}break}case"attribute":{if(!Fe.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(fe.originalText.slice(Fe.valueSpan.start.offset,Fe.valueSpan.end.offset)))return[Fe.rawName,"=",Fe.value];if(fe.parser==="lwc"&&/^{.*}$/s.test(fe.originalText.slice(Fe.valueSpan.start.offset,Fe.valueSpan.end.offset)))return[Fe.rawName,"=",Fe.value];let se=q(Fe,(We,he)=>me(We,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},he),{stripTrailingHardline:!0}),fe);if(se)return[Fe.rawName,'="',b(S(se,We=>typeof We=="string"?We.replace(/"/g,"&quot;"):We)),'"'];break}case"front-matter":return _(Fe,me)}}E.exports=z}}),$0=we({"src/language-html/print/children.js"(m,E){$e();var{builders:{breakParent:f,group:b,ifBreak:D,line:c,softline:d,hardline:h},utils:{replaceTextEndOfLine:v}}=wn(),{locStart:S,locEnd:L}=Gf(),{forceBreakChildren:_,forceNextEmptyLine:k,isTextLikeNode:C,hasPrettierIgnore:x,preferHardlineAsLeadingSpaces:j}=Ha(),{printOpeningTagPrefix:Q,needsToBorrowNextOpeningTagStartMarker:ee,printOpeningTagStartMarker:R,needsToBorrowPrevClosingTagEndMarker:X,printClosingTagEndMarker:G,printClosingTagSuffix:ne,needsToBorrowParentClosingTagStartMarker:Z}=Io();function ye(w,$,y){let T=w.getValue();return x(T)?[Q(T,$),...v($.originalText.slice(S(T)+(T.prev&&ee(T.prev)?R(T).length:0),L(T)-(T.next&&X(T.next)?G(T,$).length:0))),ne(T,$)]:y()}function F(w,$){return C(w)&&C($)?w.isTrailingSpaceSensitive?w.hasTrailingSpaces?j($)?h:c:"":j($)?h:d:ee(w)&&(x($)||$.firstChild||$.isSelfClosing||$.type==="element"&&$.attrs.length>0)||w.type==="element"&&w.isSelfClosing&&X($)?"":!$.isLeadingSpaceSensitive||j($)||X($)&&w.lastChild&&Z(w.lastChild)&&w.lastChild.lastChild&&Z(w.lastChild.lastChild)?h:$.hasLeadingSpaces?c:d}function J(w,$,y){let T=w.getValue();if(_(T))return[f,...w.map(U=>{let q=U.getValue(),z=q.prev?F(q.prev,q):"";return[z?[z,k(q.prev)?h:""]:"",ye(U,$,y)]},"children")];let I=T.children.map(()=>Symbol(""));return w.map((U,q)=>{let z=U.getValue();if(C(z)){if(z.prev&&C(z.prev)){let We=F(z.prev,z);if(We)return k(z.prev)?[h,h,ye(U,$,y)]:[We,ye(U,$,y)]}return ye(U,$,y)}let re=[],ce=[],me=[],fe=[],Fe=z.prev?F(z.prev,z):"",se=z.next?F(z,z.next):"";return Fe&&(k(z.prev)?re.push(h,h):Fe===h?re.push(h):C(z.prev)?ce.push(Fe):ce.push(D("",d,{groupId:I[q-1]}))),se&&(k(z)?C(z.next)&&fe.push(h,h):se===h?C(z.next)&&fe.push(h):me.push(se)),[...re,b([...ce,b([ye(U,$,y),...me],{id:I[q]})]),...fe]},"children")}E.exports={printChildren:J}}}),pE=we({"src/language-html/print/element.js"(m,E){$e();var{builders:{breakParent:f,dedentToRoot:b,group:D,ifBreak:c,indentIfBreak:d,indent:h,line:v,softline:S},utils:{replaceTextEndOfLine:L}}=wn(),_=j0(),{shouldPreserveContent:k,isScriptLikeTag:C,isVueCustomBlock:x,countParents:j,forceBreakContent:Q}=Ha(),{printOpeningTagPrefix:ee,printOpeningTag:R,printClosingTagSuffix:X,printClosingTag:G,needsToBorrowPrevClosingTagEndMarker:ne,needsToBorrowLastChildClosingTagEndMarker:Z}=Io(),{printChildren:ye}=$0();function F(J,w,$){let y=J.getValue();if(k(y,w))return[ee(y,w),D(R(J,w,$)),...L(_(y,w)),...G(y,w),X(y,w)];let T=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"),U=ce=>D([D(R(J,w,$),{id:I}),ce,G(y,w)]),q=ce=>T?d(ce,{groupId:I}):(C(y)||x(y,w))&&y.parent.type==="root"&&w.parser==="vue"&&!w.vueIndentScriptAndStyle?ce:h(ce),z=()=>T?c(S,"",{groupId:I}):y.firstChild.hasLeadingSpaces&&y.firstChild.isLeadingSpaceSensitive?v:y.firstChild.type==="text"&&y.isWhitespaceSensitive&&y.isIndentationSensitive?b(S):S,re=()=>(y.next?ne(y.next):Z(y.parent))?y.lastChild.hasTrailingSpaces&&y.lastChild.isTrailingSpaceSensitive?" ":"":T?c(S,"",{groupId:I}):y.lastChild.hasTrailingSpaces&&y.lastChild.isTrailingSpaceSensitive?v:(y.lastChild.type==="comment"||y.lastChild.type==="text"&&y.isWhitespaceSensitive&&y.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${w.tabWidth*j(J,ce=>ce.parent&&ce.parent.type!=="root")}}$`).test(y.lastChild.value)?"":S;return y.children.length===0?U(y.hasDanglingSpaces&&y.isDanglingSpaceSensitive?v:""):U([Q(y)?f:"",q([z(),ye(J,w,$)]),re()])}E.exports={printElement:F}}}),dE=we({"src/language-html/printer-html.js"(m,E){$e();var{builders:{fill:f,group:b,hardline:D,literalline:c},utils:{cleanDoc:d,getDocParts:h,isConcat:v,replaceTextEndOfLine:S}}=wn(),L=K2(),{countChars:_,unescapeQuoteEntities:k,getTextValueParts:C}=Ha(),x=aE(),{insertPragma:j}=oE(),{locStart:Q,locEnd:ee}=Gf(),R=fE(),{printClosingTagSuffix:X,printClosingTagEnd:G,printOpeningTagPrefix:ne,printOpeningTagStart:Z}=Io(),{printElement:ye}=pE(),{printChildren:F}=$0();function J(w,$,y){let T=w.getValue();switch(T.type){case"front-matter":return S(T.raw);case"root":return $.__onHtmlRoot&&$.__onHtmlRoot(T),[b(F(w,$,y)),D];case"element":case"ieConditionalComment":return ye(w,$,y);case"ieConditionalStartComment":case"ieConditionalEndComment":return[Z(T),G(T)];case"interpolation":return[Z(T,$),...w.map(y,"children"),G(T,$)];case"text":{if(T.parent.type==="interpolation"){let U=/\n[^\S\n]*$/,q=U.test(T.value),z=q?T.value.replace(U,""):T.value;return[...S(z),q?D:""]}let I=d([ne(T,$),...C(T),X(T,$)]);return v(I)||I.type==="fill"?f(h(I)):I}case"docType":return[b([Z(T,$)," ",T.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),G(T,$)];case"comment":return[ne(T,$),...S($.originalText.slice(Q(T),ee(T)),c),X(T,$)];case"attribute":{if(T.value===null)return T.rawName;let I=k(T.value),U=_(I,"'"),q=_(I,'"'),z=U<q?"'":'"';return[T.rawName,"=",z,...S(z==='"'?I.replace(/"/g,"&quot;"):I.replace(/'/g,"&apos;")),z]}default:throw new Error(`Unexpected node type ${T.type}`)}}E.exports={preprocess:x,print:J,insertPragma:j,massageAstNode:L,embed:R}}}),hE=we({"src/language-html/options.js"(m,E){$e();var f=Ya(),b="HTML";E.exports={bracketSameLine:f.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:f.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:b,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),mE=we({"src/language-html/parsers.js"(){$e()}}),Jf=we({"node_modules/linguist-languages/data/HTML.json"(m,E){E.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}}}),gE=we({"node_modules/linguist-languages/data/Vue.json"(m,E){E.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),yE=we({"src/language-html/index.js"(m,E){$e();var f=ea(),b=dE(),D=hE(),c=mE(),d=[f(Jf(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),f(Jf(),v=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...v.extensions,".mjml"]})),f(Jf(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),f(gE(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],h={html:b};E.exports={languages:d,printers:h,options:D,parsers:c}}}),DE=we({"src/language-yaml/pragma.js"(m,E){$e();function f(c){return/^\s*@(?:prettier|format)\s*$/.test(c)}function b(c){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(c)}function D(c){return`# @format
251
-
252
- ${c}`}E.exports={isPragma:f,hasPragma:b,insertPragma:D}}}),bE=we({"src/language-yaml/loc.js"(m,E){$e();function f(D){return D.position.start.offset}function b(D){return D.position.end.offset}E.exports={locStart:f,locEnd:b}}}),vE=we({"src/language-yaml/embed.js"(m,E){$e();function f(b,D,c,d){if(b.getValue().type==="root"&&d.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(d.filepath))return c(d.originalText,Object.assign(Object.assign({},d),{},{parser:"json"}))}E.exports=f}}),za=we({"src/language-yaml/utils.js"(m,E){$e();var{getLast:f,isNonEmptyArray:b}=ge();function D(F,J){let w=0,$=F.stack.length-1;for(let y=0;y<$;y++){let T=F.stack[y];c(T)&&J(T)&&w++}return w}function c(F,J){return F&&typeof F.type=="string"&&(!J||J.includes(F.type))}function d(F,J,w){return J("children"in F?Object.assign(Object.assign({},F),{},{children:F.children.map($=>d($,J,F))}):F,w)}function h(F,J,w){Object.defineProperty(F,J,{get:w,enumerable:!1})}function v(F,J){let w=0,$=J.length;for(let y=F.position.end.offset-1;y<$;y++){let T=J[y];if(T===`
253
- `&&w++,w===1&&/\S/.test(T))return!1;if(w===2)return!0}return!1}function S(F){switch(F.getValue().type){case"tag":case"anchor":case"comment":return!1}let J=F.stack.length;for(let w=1;w<J;w++){let $=F.stack[w],y=F.stack[w-1];if(Array.isArray(y)&&typeof $=="number"&&$!==y.length-1)return!1}return!0}function L(F){return b(F.children)?L(f(F.children)):F}function _(F){return F.value.trim()==="prettier-ignore"}function k(F){let J=F.getValue();if(J.type==="documentBody"){let w=F.getParentNode();return X(w.head)&&_(f(w.head.endComments))}return j(J)&&_(f(J.leadingComments))}function C(F){return!b(F.children)&&!x(F)}function x(F){return j(F)||Q(F)||ee(F)||R(F)||X(F)}function j(F){return b(F==null?void 0:F.leadingComments)}function Q(F){return b(F==null?void 0:F.middleComments)}function ee(F){return F==null?void 0:F.indicatorComment}function R(F){return F==null?void 0:F.trailingComment}function X(F){return b(F==null?void 0:F.endComments)}function G(F){let J=[],w;for(let $ of F.split(/( +)/))$!==" "?w===" "?J.push($):J.push((J.pop()||"")+$):w===void 0&&J.unshift(""),w=$;return w===" "&&J.push((J.pop()||"")+" "),J[0]===""&&(J.shift(),J.unshift(" "+(J.shift()||""))),J}function ne(F,J,w){let $=J.split(`
254
- `).map((y,T,I)=>T===0&&T===I.length-1?y:T!==0&&T!==I.length-1?y.trim():T===0?y.trimEnd():y.trimStart());return w.proseWrap==="preserve"?$.map(y=>y.length===0?[]:[y]):$.map(y=>y.length===0?[]:G(y)).reduce((y,T,I)=>I!==0&&$[I-1].length>0&&T.length>0&&!(F==="quoteDouble"&&f(f(y)).endsWith("\\"))?[...y.slice(0,-1),[...f(y),...T]]:[...y,T],[]).map(y=>w.proseWrap==="never"?[y.join(" ")]:y)}function Z(F,J){let{parentIndent:w,isLastDescendant:$,options:y}=J,T=F.position.start.line===F.position.end.line?"":y.originalText.slice(F.position.start.offset,F.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],I;if(F.indent===null){let z=T.match(/^(?<leadingSpace> *)[^\n\r ]/m);I=z?z.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else I=F.indent-1+w;let U=T.split(`
255
- `).map(z=>z.slice(I));if(y.proseWrap==="preserve"||F.type==="blockLiteral")return q(U.map(z=>z.length===0?[]:[z]));return q(U.map(z=>z.length===0?[]:G(z)).reduce((z,re,ce)=>ce!==0&&U[ce-1].length>0&&re.length>0&&!/^\s/.test(re[0])&&!/^\s|\s$/.test(f(z))?[...z.slice(0,-1),[...f(z),...re]]:[...z,re],[]).map(z=>z.reduce((re,ce)=>re.length>0&&/\s$/.test(f(re))?[...re.slice(0,-1),f(re)+" "+ce]:[...re,ce],[])).map(z=>y.proseWrap==="never"?[z.join(" ")]:z));function q(z){if(F.chomping==="keep")return f(z).length===0?z.slice(0,-1):z;let re=0;for(let ce=z.length-1;ce>=0&&z[ce].length===0;ce--)re++;return re===0?z:re>=2&&!$?z.slice(0,-(re-1)):z.slice(0,-re)}}function ye(F){if(!F)return!0;switch(F.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}E.exports={getLast:f,getAncestorCount:D,isNode:c,isEmptyNode:C,isInlineNode:ye,mapNode:d,defineShortcut:h,isNextLineEmpty:v,isLastDescendantNode:S,getBlockValueLineContents:Z,getFlowScalarLineContents:ne,getLastDescendantNode:L,hasPrettierIgnore:k,hasLeadingComments:j,hasMiddleComments:Q,hasIndicatorComment:ee,hasTrailingComment:R,hasEndComments:X}}}),EE=we({"src/language-yaml/print-preprocess.js"(m,E){$e();var{defineShortcut:f,mapNode:b}=za();function D(d){return b(d,c)}function c(d){switch(d.type){case"document":f(d,"head",()=>d.children[0]),f(d,"body",()=>d.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":f(d,"content",()=>d.children[0]);break;case"mappingItem":case"flowMappingItem":f(d,"key",()=>d.children[0]),f(d,"value",()=>d.children[1]);break}return d}E.exports=D}}),dl=we({"src/language-yaml/print/misc.js"(m,E){$e();var{builders:{softline:f,align:b}}=wn(),{hasEndComments:D,isNextLineEmpty:c,isNode:d}=za(),h=new WeakMap;function v(_,k){let C=_.getValue(),x=_.stack[0],j;return h.has(x)?j=h.get(x):(j=new Set,h.set(x,j)),!j.has(C.position.end.line)&&(j.add(C.position.end.line),c(C,k)&&!S(_.getParentNode()))?f:""}function S(_){return D(_)&&!d(_,["documentHead","documentBody","flowMapping","flowSequence"])}function L(_,k){return b(" ".repeat(_),k)}E.exports={alignWithSpaces:L,shouldPrintEndComments:S,printNextEmptyLine:v}}}),AE=we({"src/language-yaml/print/flow-mapping-sequence.js"(m,E){$e();var{builders:{ifBreak:f,line:b,softline:D,hardline:c,join:d}}=wn(),{isEmptyNode:h,getLast:v,hasEndComments:S}=za(),{printNextEmptyLine:L,alignWithSpaces:_}=dl();function k(x,j,Q){let ee=x.getValue(),R=ee.type==="flowMapping",X=R?"{":"[",G=R?"}":"]",ne=D;R&&ee.children.length>0&&Q.bracketSpacing&&(ne=b);let Z=v(ee.children),ye=Z&&Z.type==="flowMappingItem"&&h(Z.key)&&h(Z.value);return[X,_(Q.tabWidth,[ne,C(x,j,Q),Q.trailingComma==="none"?"":f(","),S(ee)?[c,d(c,x.map(j,"endComments"))]:""]),ye?"":ne,G]}function C(x,j,Q){let ee=x.getValue();return x.map((R,X)=>[j(),X===ee.children.length-1?"":[",",b,ee.children[X].position.start.line!==ee.children[X+1].position.start.line?L(R,Q.originalText):""]],"children")}E.exports={printFlowMapping:k,printFlowSequence:k}}}),CE=we({"src/language-yaml/print/mapping-item.js"(m,E){$e();var{builders:{conditionalGroup:f,group:b,hardline:D,ifBreak:c,join:d,line:h}}=wn(),{hasLeadingComments:v,hasMiddleComments:S,hasTrailingComment:L,hasEndComments:_,isNode:k,isEmptyNode:C,isInlineNode:x}=za(),{alignWithSpaces:j}=dl();function Q(G,ne,Z,ye,F){let{key:J,value:w}=G,$=C(J),y=C(w);if($&&y)return": ";let T=ye("key"),I=R(G)?" ":"";if(y)return G.type==="flowMappingItem"&&ne.type==="flowMapping"?T:G.type==="mappingItem"&&ee(J.content,F)&&!L(J.content)&&(!ne.tag||ne.tag.value!=="tag:yaml.org,2002:set")?[T,I,":"]:["? ",j(2,T)];let U=ye("value");if($)return[": ",j(2,U)];if(v(w)||!x(J.content))return["? ",j(2,T),D,d("",Z.map(ye,"value","leadingComments").map(fe=>[fe,D])),": ",j(2,U)];if(X(J.content)&&!v(J.content)&&!S(J.content)&&!L(J.content)&&!_(J)&&!v(w.content)&&!S(w.content)&&!_(w)&&ee(w.content,F))return[T,I,": ",U];let q=Symbol("mappingKey"),z=b([c("? "),b(j(2,T),{id:q})]),re=[D,": ",j(2,U)],ce=[I,":"];v(w.content)||_(w)&&w.content&&!k(w.content,["mapping","sequence"])||ne.type==="mapping"&&L(J.content)&&x(w.content)||k(w.content,["mapping","sequence"])&&w.content.tag===null&&w.content.anchor===null?ce.push(D):w.content&&ce.push(h),ce.push(U);let me=j(F.tabWidth,ce);return ee(J.content,F)&&!v(J.content)&&!S(J.content)&&!_(J)?f([[T,me]]):f([[z,c(re,me,{groupId:q})]])}function ee(G,ne){if(!G)return!0;switch(G.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(ne.proseWrap==="preserve")return G.position.start.line===G.position.end.line;if(/\\$/m.test(ne.originalText.slice(G.position.start.offset,G.position.end.offset)))return!1;switch(ne.proseWrap){case"never":return!G.value.includes(`
256
- `);case"always":return!/[\n ]/.test(G.value);default:return!1}}function R(G){return G.key.content&&G.key.content.type==="alias"}function X(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}}E.exports=Q}}),SE=we({"src/language-yaml/print/block.js"(m,E){$e();var{builders:{dedent:f,dedentToRoot:b,fill:D,hardline:c,join:d,line:h,literalline:v,markAsRoot:S},utils:{getDocParts:L}}=wn(),{getAncestorCount:_,getBlockValueLineContents:k,hasIndicatorComment:C,isLastDescendantNode:x,isNode:j}=za(),{alignWithSpaces:Q}=dl();function ee(R,X,G){let ne=R.getValue(),Z=_(R,$=>j($,["sequence","mapping"])),ye=x(R),F=[ne.type==="blockFolded"?">":"|"];ne.indent!==null&&F.push(ne.indent.toString()),ne.chomping!=="clip"&&F.push(ne.chomping==="keep"?"+":"-"),C(ne)&&F.push(" ",X("indicatorComment"));let J=k(ne,{parentIndent:Z,isLastDescendant:ye,options:G}),w=[];for(let[$,y]of J.entries())$===0&&w.push(c),w.push(D(L(d(h,y)))),$!==J.length-1?w.push(y.length===0?c:S(v)):ne.chomping==="keep"&&ye&&w.push(b(y.length===0?c:v));return ne.indent===null?F.push(f(Q(G.tabWidth,w))):F.push(b(Q(ne.indent-1+Z,w))),F}E.exports=ee}}),xE=we({"src/language-yaml/printer-yaml.js"(m,E){$e();var{builders:{breakParent:f,fill:b,group:D,hardline:c,join:d,line:h,lineSuffix:v,literalline:S},utils:{getDocParts:L,replaceTextEndOfLine:_}}=wn(),{isPreviousLineEmpty:k}=ge(),{insertPragma:C,isPragma:x}=DE(),{locStart:j}=bE(),Q=vE(),{getFlowScalarLineContents:ee,getLastDescendantNode:R,hasLeadingComments:X,hasMiddleComments:G,hasTrailingComment:ne,hasEndComments:Z,hasPrettierIgnore:ye,isLastDescendantNode:F,isNode:J,isInlineNode:w}=za(),$=EE(),{alignWithSpaces:y,printNextEmptyLine:T,shouldPrintEndComments:I}=dl(),{printFlowMapping:U,printFlowSequence:q}=AE(),z=CE(),re=SE();function ce(oe,qe,et){let Je=oe.getValue(),dt=[];Je.type!=="mappingValue"&&X(Je)&&dt.push([d(c,oe.map(et,"leadingComments")),c]);let{tag:De,anchor:Ie}=Je;De&&dt.push(et("tag")),De&&Ie&&dt.push(" "),Ie&&dt.push(et("anchor"));let ct="";J(Je,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!F(oe)&&(ct=T(oe,qe.originalText)),(De||Ie)&&(J(Je,["sequence","mapping"])&&!G(Je)?dt.push(c):dt.push(" ")),G(Je)&&dt.push([Je.middleComments.length===1?"":c,d(c,oe.map(et,"middleComments")),c]);let ft=oe.getParentNode();return ye(oe)?dt.push(_(qe.originalText.slice(Je.position.start.offset,Je.position.end.offset).trimEnd(),S)):dt.push(D(me(Je,ft,oe,qe,et))),ne(Je)&&!J(Je,["document","documentHead"])&&dt.push(v([Je.type==="mappingValue"&&!Je.content?"":" ",ft.type==="mappingKey"&&oe.getParentNode(2).type==="mapping"&&w(Je)?"":f,et("trailingComment")])),I(Je)&&dt.push(y(Je.type==="sequenceItem"?2:0,[c,d(c,oe.map(Jt=>[k(qe.originalText,Jt.getValue(),j)?c:"",et()],"endComments"))])),dt.push(ct),dt}function me(oe,qe,et,Je,dt){switch(oe.type){case"root":{let{children:De}=oe,Ie=[];et.each((ft,Jt)=>{let Re=De[Jt],Ce=De[Jt+1];Jt!==0&&Ie.push(c),Ie.push(dt()),Fe(Re,Ce)?(Ie.push(c,"..."),ne(Re)&&Ie.push(" ",dt("trailingComment"))):Ce&&!ne(Ce.head)&&Ie.push(c,"---")},"children");let ct=R(oe);return(!J(ct,["blockLiteral","blockFolded"])||ct.chomping!=="keep")&&Ie.push(c),Ie}case"document":{let De=qe.children[et.getName()+1],Ie=[];return se(oe,De,qe,Je)==="head"&&((oe.head.children.length>0||oe.head.endComments.length>0)&&Ie.push(dt("head")),ne(oe.head)?Ie.push(["---"," ",dt(["head","trailingComment"])]):Ie.push("---")),fe(oe)&&Ie.push(dt("body")),d(c,Ie)}case"documentHead":return d(c,[...et.map(dt,"children"),...et.map(dt,"endComments")]);case"documentBody":{let{children:De,endComments:Ie}=oe,ct="";if(De.length>0&&Ie.length>0){let ft=R(oe);J(ft,["blockFolded","blockLiteral"])?ft.chomping!=="keep"&&(ct=[c,c]):ct=c}return[d(c,et.map(dt,"children")),ct,d(c,et.map(dt,"endComments"))]}case"directive":return["%",d(" ",[oe.name,...oe.parameters])];case"comment":return["#",oe.value];case"alias":return["*",oe.value];case"tag":return Je.originalText.slice(oe.position.start.offset,oe.position.end.offset);case"anchor":return["&",oe.value];case"plain":return We(oe.type,Je.originalText.slice(oe.position.start.offset,oe.position.end.offset),Je);case"quoteDouble":case"quoteSingle":{let De="'",Ie='"',ct=Je.originalText.slice(oe.position.start.offset+1,oe.position.end.offset-1);if(oe.type==="quoteSingle"&&ct.includes("\\")||oe.type==="quoteDouble"&&/\\[^"]/.test(ct)){let Jt=oe.type==="quoteDouble"?Ie:De;return[Jt,We(oe.type,ct,Je),Jt]}if(ct.includes(Ie))return[De,We(oe.type,oe.type==="quoteDouble"?ct.replace(/\\"/g,Ie).replace(/'/g,De.repeat(2)):ct,Je),De];if(ct.includes(De))return[Ie,We(oe.type,oe.type==="quoteSingle"?ct.replace(/''/g,De):ct,Je),Ie];let ft=Je.singleQuote?De:Ie;return[ft,We(oe.type,ct,Je),ft]}case"blockFolded":case"blockLiteral":return re(et,dt,Je);case"mapping":case"sequence":return d(c,et.map(dt,"children"));case"sequenceItem":return["- ",y(2,oe.content?dt("content"):"")];case"mappingKey":case"mappingValue":return oe.content?dt("content"):"";case"mappingItem":case"flowMappingItem":return z(oe,qe,et,dt,Je);case"flowMapping":return U(et,dt,Je);case"flowSequence":return q(et,dt,Je);case"flowSequenceItem":return dt("content");default:throw new Error(`Unexpected node type ${oe.type}`)}}function fe(oe){return oe.body.children.length>0||Z(oe.body)}function Fe(oe,qe){return ne(oe)||qe&&(qe.head.children.length>0||Z(qe.head))}function se(oe,qe,et,Je){return et.children[0]===oe&&/---(?:\s|$)/.test(Je.originalText.slice(j(oe),j(oe)+4))||oe.head.children.length>0||Z(oe.head)||ne(oe.head)?"head":Fe(oe,qe)?!1:qe?"root":!1}function We(oe,qe,et){let Je=ee(oe,qe,et);return d(c,Je.map(dt=>b(L(d(h,dt)))))}function he(oe,qe){if(J(qe))switch(delete qe.position,qe.type){case"comment":if(x(qe.value))return null;break;case"quoteDouble":case"quoteSingle":qe.type="quote";break}}E.exports={preprocess:$,embed:Q,print:ce,massageAstNode:he,insertPragma:C}}}),wE=we({"src/language-yaml/options.js"(m,E){$e();var f=Ya();E.exports={bracketSpacing:f.bracketSpacing,singleQuote:f.singleQuote,proseWrap:f.proseWrap}}}),FE=we({"src/language-yaml/parsers.js"(){$e()}}),NE=we({"node_modules/linguist-languages/data/YAML.json"(m,E){E.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}}}),_E=we({"src/language-yaml/index.js"(m,E){$e();var f=ea(),b=xE(),D=wE(),c=FE(),d=[f(NE(),h=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...h.filenames.filter(v=>v!=="yarn.lock"),".prettierrc",".stylelintrc",".lintstagedrc"]}))];E.exports={languages:d,printers:{yaml:b},options:D,parsers:c}}}),TE=we({"src/languages.js"(m,E){$e(),E.exports=[c2(),N2(),M2(),q2(),X2(),yE(),_E()]}});$e();var{version:kE}=Kr(),Qa=Fv(),{getSupportInfo:LE}=Ft(),PE=Nv(),BE=TE(),IE=wn();function na(m){let E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var f=arguments.length,b=new Array(f),D=0;D<f;D++)b[D]=arguments[D];let c=b[E]||{},d=c.plugins||[];return b[E]=Object.assign(Object.assign({},c),{},{plugins:[...BE,...Array.isArray(d)?d:Object.values(d)]}),m(...b)}}var Yf=na(Qa.formatWithCursor);it.exports={formatWithCursor:Yf,format(m,E){return Yf(m,E).formatted},check(m,E){let{formatted:f}=Yf(m,E);return f===m},doc:IE,getSupportInfo:na(LE,0),version:kE,util:PE,__debug:{parse:na(Qa.parse),formatAST:na(Qa.formatAST),formatDoc:na(Qa.formatDoc),printToDoc:na(Qa.printToDoc),printDocToString:na(Qa.printDocToString)}}});return bf()})})(Fm);var DD=Fm.exports,Nm={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,A=(Y,g)=>function(){return Y&&(g=(0,Y[u(Y)[0]])(Y=0)),g},p=(Y,g)=>function(){return g||(0,Y[u(Y)[0]])((g={exports:{}}).exports,g),g.exports},O=(Y,g)=>{for(var W in g)a(Y,W,{get:g[W],enumerable:!0})},B=(Y,g,W,Ae)=>{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:!(Ae=o(g,ke))||Ae.enumerable});return Y},ie=Y=>B(a({},"__esModule",{value:!0}),Y),te,N=A({"<define:process>"(){te={env:{},argv:[]}}}),ue=p({"src/common/parser-create-error.js"(Y,g){N();function W(Ae,ke){let Le=new SyntaxError(Ae+" ("+ke.start.line+":"+ke.start.column+")");return Le.loc=ke,Le}g.exports=W}}),Te=p({"src/language-yaml/pragma.js"(Y,g){N();function W(Le){return/^\s*@(?:prettier|format)\s*$/.test(Le)}function Ae(Le){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(Le)}function ke(Le){return`# @format
257
-
258
- ${Le}`}g.exports={isPragma:W,hasPragma:Ae,insertPragma:ke}}}),Pe=p({"src/language-yaml/loc.js"(Y,g){N();function W(ke){return ke.position.start.offset}function Ae(ke){return ke.position.end.offset}g.exports={locStart:W,locEnd:Ae}}}),Ue={};O(Ue,{__assign:()=>Gi,__asyncDelegator:()=>Ln,__asyncGenerator:()=>en,__asyncValues:()=>qn,__await:()=>Ut,__awaiter:()=>Ne,__classPrivateFieldGet:()=>hi,__classPrivateFieldSet:()=>us,__createBinding:()=>Ve,__decorate:()=>vt,__exportStar:()=>$t,__extends:()=>be,__generator:()=>st,__importDefault:()=>Hr,__importStar:()=>Yr,__makeTemplateObject:()=>Pn,__metadata:()=>xe,__param:()=>wt,__read:()=>kn,__rest:()=>Me,__spread:()=>Lt,__spreadArrays:()=>Tt,__values:()=>pn});function be(Y,g){Ei(Y,g);function W(){this.constructor=Y}Y.prototype=g===null?Object.create(g):(W.prototype=g.prototype,new W)}function Me(Y,g){var W={};for(var Ae in Y)Object.prototype.hasOwnProperty.call(Y,Ae)&&g.indexOf(Ae)<0&&(W[Ae]=Y[Ae]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,Ae=Object.getOwnPropertySymbols(Y);ke<Ae.length;ke++)g.indexOf(Ae[ke])<0&&Object.prototype.propertyIsEnumerable.call(Y,Ae[ke])&&(W[Ae[ke]]=Y[Ae[ke]]);return W}function vt(Y,g,W,Ae){var ke=arguments.length,Le=ke<3?g:Ae===null?Ae=Object.getOwnPropertyDescriptor(g,W):Ae,Xe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Le=Reflect.decorate(Y,g,W,Ae);else for(var ht=Y.length-1;ht>=0;ht--)(Xe=Y[ht])&&(Le=(ke<3?Xe(Le):ke>3?Xe(g,W,Le):Xe(g,W))||Le);return ke>3&&Le&&Object.defineProperty(g,W,Le),Le}function wt(Y,g){return function(W,Ae){g(W,Ae,Y)}}function xe(Y,g){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(Y,g)}function Ne(Y,g,W,Ae){function ke(Le){return Le instanceof W?Le:new W(function(Xe){Xe(Le)})}return new(W||(W=Promise))(function(Le,Xe){function ht(gt){try{rt(Ae.next(gt))}catch(Ft){Xe(Ft)}}function jt(gt){try{rt(Ae.throw(gt))}catch(Ft){Xe(Ft)}}function rt(gt){gt.done?Le(gt.value):ke(gt.value).then(ht,jt)}rt((Ae=Ae.apply(Y,g||[])).next())})}function st(Y,g){var W={label:0,sent:function(){if(Le[0]&1)throw Le[1];return Le[1]},trys:[],ops:[]},Ae,ke,Le,Xe;return Xe={next:ht(0),throw:ht(1),return:ht(2)},typeof Symbol=="function"&&(Xe[Symbol.iterator]=function(){return this}),Xe;function ht(rt){return function(gt){return jt([rt,gt])}}function jt(rt){if(Ae)throw new TypeError("Generator is already executing.");for(;W;)try{if(Ae=1,ke&&(Le=rt[0]&2?ke.return:rt[0]?ke.throw||((Le=ke.return)&&Le.call(ke),0):ke.next)&&!(Le=Le.call(ke,rt[1])).done)return Le;switch(ke=0,Le&&(rt=[rt[0]&2,Le.value]),rt[0]){case 0:case 1:Le=rt;break;case 4:return W.label++,{value:rt[1],done:!1};case 5:W.label++,ke=rt[1],rt=[0];continue;case 7:rt=W.ops.pop(),W.trys.pop();continue;default:if(Le=W.trys,!(Le=Le.length>0&&Le[Le.length-1])&&(rt[0]===6||rt[0]===2)){W=0;continue}if(rt[0]===3&&(!Le||rt[1]>Le[0]&&rt[1]<Le[3])){W.label=rt[1];break}if(rt[0]===6&&W.label<Le[1]){W.label=Le[1],Le=rt;break}if(Le&&W.label<Le[2]){W.label=Le[2],W.ops.push(rt);break}Le[2]&&W.ops.pop(),W.trys.pop();continue}rt=g.call(Y,W)}catch(gt){rt=[6,gt],ke=0}finally{Ae=Le=0}if(rt[0]&5)throw rt[1];return{value:rt[0]?rt[1]:void 0,done:!0}}}function Ve(Y,g,W,Ae){Ae===void 0&&(Ae=W),Y[Ae]=g[W]}function $t(Y,g){for(var W in Y)W!=="default"&&!g.hasOwnProperty(W)&&(g[W]=Y[W])}function pn(Y){var g=typeof Symbol=="function"&&Symbol.iterator,W=g&&Y[g],Ae=0;if(W)return W.call(Y);if(Y&&typeof Y.length=="number")return{next:function(){return Y&&Ae>=Y.length&&(Y=void 0),{value:Y&&Y[Ae++],done:!Y}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")}function kn(Y,g){var W=typeof Symbol=="function"&&Y[Symbol.iterator];if(!W)return Y;var Ae=W.call(Y),ke,Le=[],Xe;try{for(;(g===void 0||g-- >0)&&!(ke=Ae.next()).done;)Le.push(ke.value)}catch(ht){Xe={error:ht}}finally{try{ke&&!ke.done&&(W=Ae.return)&&W.call(Ae)}finally{if(Xe)throw Xe.error}}return Le}function Lt(){for(var Y=[],g=0;g<arguments.length;g++)Y=Y.concat(kn(arguments[g]));return Y}function Tt(){for(var Y=0,g=0,W=arguments.length;g<W;g++)Y+=arguments[g].length;for(var Ae=Array(Y),ke=0,g=0;g<W;g++)for(var Le=arguments[g],Xe=0,ht=Le.length;Xe<ht;Xe++,ke++)Ae[ke]=Le[Xe];return Ae}function Ut(Y){return this instanceof Ut?(this.v=Y,this):new Ut(Y)}function en(Y,g,W){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ae=W.apply(Y,g||[]),ke,Le=[];return ke={},Xe("next"),Xe("throw"),Xe("return"),ke[Symbol.asyncIterator]=function(){return this},ke;function Xe(Mt){Ae[Mt]&&(ke[Mt]=function(_t){return new Promise(function(Gt,Wt){Le.push([Mt,_t,Gt,Wt])>1||ht(Mt,_t)})})}function ht(Mt,_t){try{jt(Ae[Mt](_t))}catch(Gt){Ft(Le[0][3],Gt)}}function jt(Mt){Mt.value instanceof Ut?Promise.resolve(Mt.value.v).then(rt,gt):Ft(Le[0][2],Mt)}function rt(Mt){ht("next",Mt)}function gt(Mt){ht("throw",Mt)}function Ft(Mt,_t){Mt(_t),Le.shift(),Le.length&&ht(Le[0][0],Le[0][1])}}function Ln(Y){var g,W;return g={},Ae("next"),Ae("throw",function(ke){throw ke}),Ae("return"),g[Symbol.iterator]=function(){return this},g;function Ae(ke,Le){g[ke]=Y[ke]?function(Xe){return(W=!W)?{value:Ut(Y[ke](Xe)),done:ke==="return"}:Le?Le(Xe):Xe}:Le}}function qn(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 pn=="function"?pn(Y):Y[Symbol.iterator](),W={},Ae("next"),Ae("throw"),Ae("return"),W[Symbol.asyncIterator]=function(){return this},W);function Ae(Le){W[Le]=Y[Le]&&function(Xe){return new Promise(function(ht,jt){Xe=Y[Le](Xe),ke(ht,jt,Xe.done,Xe.value)})}}function ke(Le,Xe,ht,jt){Promise.resolve(jt).then(function(rt){Le({value:rt,done:ht})},Xe)}}function Pn(Y,g){return Object.defineProperty?Object.defineProperty(Y,"raw",{value:g}):Y.raw=g,Y}function Yr(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 Hr(Y){return Y&&Y.__esModule?Y:{default:Y}}function hi(Y,g){if(!g.has(Y))throw new TypeError("attempted to get private field on non-instance");return g.get(Y)}function us(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 Ei,Gi,nr=A({"node_modules/tslib/tslib.es6.js"(){N(),Ei=function(Y,g){return Ei=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(W,Ae){W.__proto__=Ae}||function(W,Ae){for(var ke in Ae)Ae.hasOwnProperty(ke)&&(W[ke]=Ae[ke])},Ei(Y,g)},Gi=function(){return Gi=Object.assign||function(Y){for(var g,W=1,Ae=arguments.length;W<Ae;W++){g=arguments[W];for(var ke in g)Object.prototype.hasOwnProperty.call(g,ke)&&(Y[ke]=g[ke])}return Y},Gi.apply(this,arguments)}}}),Ru=p({"node_modules/yaml-unist-parser/node_modules/lines-and-columns/build/index.js"(Y){N(),Y.__esModule=!0,Y.LinesAndColumns=void 0;var g=`
259
- `,W="\r",Ae=function(){function ke(Le){this.string=Le;for(var Xe=[0],ht=0;ht<Le.length;)switch(Le[ht]){case g:ht+=g.length,Xe.push(ht);break;case W:ht+=W.length,Le[ht]===g&&(ht+=g.length),Xe.push(ht);break;default:ht++;break}this.offsets=Xe}return ke.prototype.locationForIndex=function(Le){if(Le<0||Le>this.string.length)return null;for(var Xe=0,ht=this.offsets;ht[Xe+1]<=Le;)Xe++;var jt=Le-ht[Xe];return{line:Xe,column:jt}},ke.prototype.indexForLocation=function(Le){var Xe=Le.line,ht=Le.column;return Xe<0||Xe>=this.offsets.length||ht<0||ht>this.lengthOfLine(Xe)?null:this.offsets[Xe]+ht},ke.prototype.lengthOfLine=function(Le){var Xe=this.offsets[Le],ht=Le===this.offsets.length-1?this.string.length:this.offsets[Le+1];return ht-Xe},ke}();Y.LinesAndColumns=Ae,Y.default=Ae}}),ef=p({"node_modules/yaml-unist-parser/lib/utils/define-parents.js"(Y){N(),Y.__esModule=!0;function g(W,Ae){Ae===void 0&&(Ae=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:Ae,enumerable:!1})}Y.defineParents=g}}),Ma=p({"node_modules/yaml-unist-parser/lib/utils/get-point-text.js"(Y){N(),Y.__esModule=!0;function g(W){return W.line+":"+W.column}Y.getPointText=g}}),tf=p({"node_modules/yaml-unist-parser/lib/attach.js"(Y){N(),Y.__esModule=!0;var g=ef(),W=Ma();function Ae(rt){g.defineParents(rt);var gt=ke(rt),Ft=rt.children.slice();rt.comments.sort(function(Mt,_t){return Mt.position.start.offset-_t.position.end.offset}).filter(function(Mt){return!Mt._parent}).forEach(function(Mt){for(;Ft.length>1&&Mt.position.start.line>Ft[0].position.end.line;)Ft.shift();Xe(Mt,gt,Ft[0])})}Y.attachComments=Ae;function ke(rt){for(var gt=Array.from(new Array(rt.position.end.line),function(){return{}}),Ft=0,Mt=rt.comments;Ft<Mt.length;Ft++){var _t=Mt[Ft];gt[_t.position.start.line-1].comment=_t}return Le(gt,rt),gt}function Le(rt,gt){if(gt.position.start.offset!==gt.position.end.offset){if("leadingComments"in gt){var Ft=gt.position.start,Mt=rt[Ft.line-1].leadingAttachableNode;(!Mt||Ft.column<Mt.position.start.column)&&(rt[Ft.line-1].leadingAttachableNode=gt)}if("trailingComment"in gt&&gt.position.end.column>1&&gt.type!=="document"&&gt.type!=="documentHead"){var _t=gt.position.end,Gt=rt[_t.line-1].trailingAttachableNode;(!Gt||_t.column>=Gt.position.end.column)&&(rt[_t.line-1].trailingAttachableNode=gt)}if(gt.type!=="root"&&gt.type!=="document"&&gt.type!=="documentHead"&&gt.type!=="documentBody")for(var Wt=gt.position,Ft=Wt.start,_t=Wt.end,Xt=[_t.line].concat(Ft.line===_t.line?[]:Ft.line),bn=0,ge=Xt;bn<ge.length;bn++){var K=ge[bn],M=rt[K-1].trailingNode;(!M||_t.column>=M.position.end.column)&&(rt[K-1].trailingNode=gt)}"children"in gt&&gt.children.forEach(function(H){Le(rt,H)})}}function Xe(rt,gt,Ft){var Mt=rt.position.start.line,_t=gt[Mt-1].trailingAttachableNode;if(_t){if(_t.trailingComment)throw new Error("Unexpected multiple trailing comment at "+W.getPointText(rt.position.start));g.defineParents(rt,_t),_t.trailingComment=rt;return}for(var Gt=Mt;Gt>=Ft.position.start.line;Gt--){var Wt=gt[Gt-1].trailingNode,Xt=void 0;if(Wt)Xt=Wt;else if(Gt!==Mt&&gt[Gt-1].comment)Xt=gt[Gt-1].comment._parent;else continue;if((Xt.type==="sequence"||Xt.type==="mapping")&&(Xt=Xt.children[0]),Xt.type==="mappingItem"){var bn=Xt.children,ge=bn[0],K=bn[1];Xt=jt(ge)?ge:K}for(;;){if(ht(Xt,rt)){g.defineParents(rt,Xt),Xt.endComments.push(rt);return}if(!Xt._parent)break;Xt=Xt._parent}break}for(var Gt=Mt+1;Gt<=Ft.position.end.line;Gt++){var M=gt[Gt-1].leadingAttachableNode;if(M){g.defineParents(rt,M),M.leadingComments.push(rt);return}}var H=Ft.children[1];g.defineParents(rt,H),H.endComments.push(rt)}function ht(rt,gt){if(rt.position.start.offset<gt.position.start.offset&&rt.position.end.offset>gt.position.end.offset)switch(rt.type){case"flowMapping":case"flowSequence":return rt.children.length===0||gt.position.start.line>rt.children[rt.children.length-1].position.end.line}if(gt.position.end.offset<rt.position.end.offset)return!1;switch(rt.type){case"sequenceItem":return gt.position.start.column>rt.position.start.column;case"mappingKey":case"mappingValue":return gt.position.start.column>rt._parent.position.start.column&&(rt.children.length===0||rt.children.length===1&&rt.children[0].type!=="blockFolded"&&rt.children[0].type!=="blockLiteral")&&(rt.type==="mappingValue"||jt(rt));default:return!1}}function jt(rt){return rt.position.start!==rt.position.end&&(rt.children.length===0||rt.position.start.offset!==rt.children[0].position.start.offset)}}}),Nr=p({"node_modules/yaml-unist-parser/lib/factories/node.js"(Y){N(),Y.__esModule=!0;function g(W,Ae){return{type:W,position:Ae}}Y.createNode=g}}),Vu=p({"node_modules/yaml-unist-parser/lib/factories/root.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=Nr();function Ae(ke,Le,Xe){return g.__assign(g.__assign({},W.createNode("root",ke)),{children:Le,comments:Xe})}Y.createRoot=Ae}}),nf=p({"node_modules/yaml-unist-parser/lib/preprocess.js"(Y){N(),Y.__esModule=!0;function g(W){switch(W.type){case"DOCUMENT":for(var Ae=W.contents.length-1;Ae>=0;Ae--)W.contents[Ae].type==="BLANK_LINE"?W.contents.splice(Ae,1):g(W.contents[Ae]);for(var Ae=W.directives.length-1;Ae>=0;Ae--)W.directives[Ae].type==="BLANK_LINE"&&W.directives.splice(Ae,1);break;case"FLOW_MAP":case"FLOW_SEQ":case"MAP":case"SEQ":for(var Ae=W.items.length-1;Ae>=0;Ae--){var ke=W.items[Ae];"char"in ke||(ke.type==="BLANK_LINE"?W.items.splice(Ae,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}}),ls=p({"node_modules/yaml-unist-parser/lib/factories/leading-comment-attachable.js"(Y){N(),Y.__esModule=!0;function g(){return{leadingComments:[]}}Y.createLeadingCommentAttachable=g}}),Oa=p({"node_modules/yaml-unist-parser/lib/factories/trailing-comment-attachable.js"(Y){N(),Y.__esModule=!0;function g(W){return W===void 0&&(W=null),{trailingComment:W}}Y.createTrailingCommentAttachable=g}}),cs=p({"node_modules/yaml-unist-parser/lib/factories/comment-attachable.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=ls(),Ae=Oa();function ke(){return g.__assign(g.__assign({},W.createLeadingCommentAttachable()),Ae.createTrailingCommentAttachable())}Y.createCommentAttachable=ke}}),wo=p({"node_modules/yaml-unist-parser/lib/factories/alias.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=cs(),Ae=Nr();function ke(Le,Xe,ht){return g.__assign(g.__assign(g.__assign(g.__assign({},Ae.createNode("alias",Le)),W.createCommentAttachable()),Xe),{value:ht})}Y.createAlias=ke}}),rf=p({"node_modules/yaml-unist-parser/lib/transforms/alias.js"(Y){N(),Y.__esModule=!0;var g=wo();function W(Ae,ke){var Le=Ae.cstNode;return g.createAlias(ke.transformRange({origStart:Le.valueRange.origStart-1,origEnd:Le.valueRange.origEnd}),ke.transformContent(Ae),Le.rawValue)}Y.transformAlias=W}}),sf=p({"node_modules/yaml-unist-parser/lib/factories/block-folded.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue));function W(Ae){return g.__assign(g.__assign({},Ae),{type:"blockFolded"})}Y.createBlockFolded=W}}),zs=p({"node_modules/yaml-unist-parser/lib/factories/block-value.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=ls(),Ae=Nr();function ke(Le,Xe,ht,jt,rt,gt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ae.createNode("blockValue",Le)),W.createLeadingCommentAttachable()),Xe),{chomping:ht,indent:jt,value:rt,indicatorComment:gt})}Y.createBlockValue=ke}}),Uu=p({"node_modules/yaml-unist-parser/lib/constants.js"(Y){N(),Y.__esModule=!0,function(g){g.Tag="!",g.Anchor="&",g.Comment="#"}(Y.PropLeadingCharacter||(Y.PropLeadingCharacter={}))}}),af=p({"node_modules/yaml-unist-parser/lib/factories/anchor.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=Nr();function Ae(ke,Le){return g.__assign(g.__assign({},W.createNode("anchor",ke)),{value:Le})}Y.createAnchor=Ae}}),Fo=p({"node_modules/yaml-unist-parser/lib/factories/comment.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=Nr();function Ae(ke,Le){return g.__assign(g.__assign({},W.createNode("comment",ke)),{value:Le})}Y.createComment=Ae}}),of=p({"node_modules/yaml-unist-parser/lib/factories/content.js"(Y){N(),Y.__esModule=!0;function g(W,Ae,ke){return{anchor:Ae,tag:W,middleComments:ke}}Y.createContent=g}}),uf=p({"node_modules/yaml-unist-parser/lib/factories/tag.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=Nr();function Ae(ke,Le){return g.__assign(g.__assign({},W.createNode("tag",ke)),{value:Le})}Y.createTag=Ae}}),qu=p({"node_modules/yaml-unist-parser/lib/transforms/content.js"(Y){N(),Y.__esModule=!0;var g=Uu(),W=af(),Ae=Fo(),ke=of(),Le=uf();function Xe(ht,jt,rt){rt===void 0&&(rt=function(){return!1});for(var gt=ht.cstNode,Ft=[],Mt=null,_t=null,Gt=null,Wt=0,Xt=gt.props;Wt<Xt.length;Wt++){var bn=Xt[Wt],ge=jt.text[bn.origStart];switch(ge){case g.PropLeadingCharacter.Tag:Mt=Mt||bn,_t=Le.createTag(jt.transformRange(bn),ht.tag);break;case g.PropLeadingCharacter.Anchor:Mt=Mt||bn,Gt=W.createAnchor(jt.transformRange(bn),gt.anchor);break;case g.PropLeadingCharacter.Comment:{var K=Ae.createComment(jt.transformRange(bn),jt.text.slice(bn.origStart+1,bn.origEnd));jt.comments.push(K),!rt(K)&&Mt&&Mt.origEnd<=bn.origStart&&bn.origEnd<=gt.valueRange.origStart&&Ft.push(K);break}default:throw new Error("Unexpected leading character "+JSON.stringify(ge))}}return ke.createContent(_t,Gt,Ft)}Y.transformContent=Xe}}),Wu=p({"node_modules/yaml-unist-parser/lib/transforms/block-value.js"(Y){N(),Y.__esModule=!0;var g=zs(),W=Ma(),Ae=qu(),ke;(function(Xe){Xe.CLIP="clip",Xe.STRIP="strip",Xe.KEEP="keep"})(ke||(ke={}));function Le(Xe,ht){var jt=Xe.cstNode,rt=1,gt=jt.chomping==="CLIP"?0:1,Ft=jt.header.origEnd-jt.header.origStart,Mt=Ft-rt-gt!==0,_t=ht.transformRange({origStart:jt.header.origStart,origEnd:jt.valueRange.origEnd}),Gt=null,Wt=Ae.transformContent(Xe,ht,function(Xt){var bn=_t.start.offset<Xt.position.start.offset&&Xt.position.end.offset<_t.end.offset;if(!bn)return!1;if(Gt)throw new Error("Unexpected multiple indicator comments at "+W.getPointText(Xt.position.start));return Gt=Xt,!0});return g.createBlockValue(_t,Wt,ke[jt.chomping],Mt?jt.blockIndent:null,jt.strValue,Gt)}Y.transformAstBlockValue=Le}}),lf=p({"node_modules/yaml-unist-parser/lib/transforms/block-folded.js"(Y){N(),Y.__esModule=!0;var g=sf(),W=Wu();function Ae(ke,Le){return g.createBlockFolded(W.transformAstBlockValue(ke,Le))}Y.transformBlockFolded=Ae}}),ja=p({"node_modules/yaml-unist-parser/lib/factories/block-literal.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue));function W(Ae){return g.__assign(g.__assign({},Ae),{type:"blockLiteral"})}Y.createBlockLiteral=W}}),Gu=p({"node_modules/yaml-unist-parser/lib/transforms/block-literal.js"(Y){N(),Y.__esModule=!0;var g=ja(),W=Wu();function Ae(ke,Le){return g.createBlockLiteral(W.transformAstBlockValue(ke,Le))}Y.transformBlockLiteral=Ae}}),cf=p({"node_modules/yaml-unist-parser/lib/transforms/comment.js"(Y){N(),Y.__esModule=!0;var g=Fo();function W(Ae,ke){return g.createComment(ke.transformRange(Ae.range),Ae.comment)}Y.transformComment=W}}),ff=p({"node_modules/yaml-unist-parser/lib/factories/directive.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=cs(),Ae=Nr();function ke(Le,Xe,ht){return g.__assign(g.__assign(g.__assign({},Ae.createNode("directive",Le)),W.createCommentAttachable()),{name:Xe,parameters:ht})}Y.createDirective=ke}}),$a=p({"node_modules/yaml-unist-parser/lib/utils/extract-prop-comments.js"(Y){N(),Y.__esModule=!0;var g=Uu(),W=Fo();function Ae(ke,Le){for(var Xe=0,ht=ke.props;Xe<ht.length;Xe++){var jt=ht[Xe],rt=Le.text[jt.origStart];switch(rt){case g.PropLeadingCharacter.Comment:Le.comments.push(W.createComment(Le.transformRange(jt),Le.text.slice(jt.origStart+1,jt.origEnd)));break;default:throw new Error("Unexpected leading character "+JSON.stringify(rt))}}}Y.extractPropComments=Ae}}),Ju=p({"node_modules/yaml-unist-parser/lib/transforms/directive.js"(Y){N(),Y.__esModule=!0;var g=ff(),W=$a();function Ae(ke,Le){return W.extractPropComments(ke,Le),g.createDirective(Le.transformRange(ke.range),ke.name,ke.parameters)}Y.transformDirective=Ae}}),pf=p({"node_modules/yaml-unist-parser/lib/factories/document.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=Nr(),Ae=Oa();function ke(Le,Xe,ht,jt){return g.__assign(g.__assign(g.__assign({},W.createNode("document",Le)),Ae.createTrailingCommentAttachable(jt)),{children:[Xe,ht]})}Y.createDocument=ke}}),fs=p({"node_modules/yaml-unist-parser/lib/factories/position.js"(Y){N(),Y.__esModule=!0;function g(Ae,ke){return{start:Ae,end:ke}}Y.createPosition=g;function W(Ae){return{start:Ae,end:Ae}}Y.createEmptyPosition=W}}),ps=p({"node_modules/yaml-unist-parser/lib/factories/end-comment-attachable.js"(Y){N(),Y.__esModule=!0;function g(W){return W===void 0&&(W=[]),{endComments:W}}Y.createEndCommentAttachable=g}}),df=p({"node_modules/yaml-unist-parser/lib/factories/document-body.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=ps(),Ae=Nr();function ke(Le,Xe,ht){return g.__assign(g.__assign(g.__assign({},Ae.createNode("documentBody",Le)),W.createEndCommentAttachable(ht)),{children:Xe?[Xe]:[]})}Y.createDocumentBody=ke}}),ds=p({"node_modules/yaml-unist-parser/lib/utils/get-last.js"(Y){N(),Y.__esModule=!0;function g(W){return W[W.length-1]}Y.getLast=g}}),Yu=p({"node_modules/yaml-unist-parser/lib/utils/get-match-index.js"(Y){N(),Y.__esModule=!0;function g(W,Ae){var ke=W.match(Ae);return ke?ke.index:-1}Y.getMatchIndex=g}}),Hu=p({"node_modules/yaml-unist-parser/lib/transforms/document-body.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=df(),Ae=ds(),ke=Yu(),Le=Ma();function Xe(rt,gt,Ft){var Mt,_t=rt.cstNode,Gt=ht(_t,gt,Ft),Wt=Gt.comments,Xt=Gt.endComments,bn=Gt.documentTrailingComment,ge=Gt.documentHeadTrailingComment,K=gt.transformNode(rt.contents),M=jt(_t,K,gt),H=M.position,le=M.documentEndPoint;return(Mt=gt.comments).push.apply(Mt,g.__spreadArrays(Wt,Xt)),{documentBody:W.createDocumentBody(H,K,Xt),documentEndPoint:le,documentTrailingComment:bn,documentHeadTrailingComment:ge}}Y.transformDocumentBody=Xe;function ht(rt,gt,Ft){for(var Mt=[],_t=[],Gt=[],Wt=[],Xt=!1,bn=rt.contents.length-1;bn>=0;bn--){var ge=rt.contents[bn];if(ge.type==="COMMENT"){var K=gt.transformNode(ge);Ft&&Ft.line===K.position.start.line?Wt.unshift(K):Xt?Mt.unshift(K):K.position.start.offset>=rt.valueRange.origEnd?Gt.unshift(K):Mt.unshift(K)}else Xt=!0}if(Gt.length>1)throw new Error("Unexpected multiple document trailing comments at "+Le.getPointText(Gt[1].position.start));if(Wt.length>1)throw new Error("Unexpected multiple documentHead trailing comments at "+Le.getPointText(Wt[1].position.start));return{comments:Mt,endComments:_t,documentTrailingComment:Ae.getLast(Gt)||null,documentHeadTrailingComment:Ae.getLast(Wt)||null}}function jt(rt,gt,Ft){var Mt=ke.getMatchIndex(Ft.text.slice(rt.valueRange.origEnd),/^\.\.\./),_t=Mt===-1?rt.valueRange.origEnd:Math.max(0,rt.valueRange.origEnd-1);Ft.text[_t-1]==="\r"&&_t--;var Gt=Ft.transformRange({origStart:gt!==null?gt.position.start.offset:_t,origEnd:_t}),Wt=Mt===-1?Gt.end:Ft.transformOffset(rt.valueRange.origEnd+3);return{position:Gt,documentEndPoint:Wt}}}}),hf=p({"node_modules/yaml-unist-parser/lib/factories/document-head.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=ps(),Ae=Nr(),ke=Oa();function Le(Xe,ht,jt,rt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ae.createNode("documentHead",Xe)),W.createEndCommentAttachable(jt)),ke.createTrailingCommentAttachable(rt)),{children:ht})}Y.createDocumentHead=Le}}),zu=p({"node_modules/yaml-unist-parser/lib/transforms/document-head.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=hf(),Ae=Yu();function ke(ht,jt){var rt,gt=ht.cstNode,Ft=Le(gt,jt),Mt=Ft.directives,_t=Ft.comments,Gt=Ft.endComments,Wt=Xe(gt,Mt,jt),Xt=Wt.position,bn=Wt.endMarkerPoint;(rt=jt.comments).push.apply(rt,g.__spreadArrays(_t,Gt));var ge=function(K){return K&&jt.comments.push(K),W.createDocumentHead(Xt,Mt,Gt,K)};return{createDocumentHeadWithTrailingComment:ge,documentHeadEndMarkerPoint:bn}}Y.transformDocumentHead=ke;function Le(ht,jt){for(var rt=[],gt=[],Ft=[],Mt=!1,_t=ht.directives.length-1;_t>=0;_t--){var Gt=jt.transformNode(ht.directives[_t]);Gt.type==="comment"?Mt?gt.unshift(Gt):Ft.unshift(Gt):(Mt=!0,rt.unshift(Gt))}return{directives:rt,comments:gt,endComments:Ft}}function Xe(ht,jt,rt){var gt=Ae.getMatchIndex(rt.text.slice(0,ht.valueRange.origStart),/---\s*$/);gt>0&&!/[\r\n]/.test(rt.text[gt-1])&&(gt=-1);var Ft=gt===-1?{origStart:ht.valueRange.origStart,origEnd:ht.valueRange.origStart}:{origStart:gt,origEnd:gt+3};return jt.length!==0&&(Ft.origStart=jt[0].position.start.offset),{position:rt.transformRange(Ft),endMarkerPoint:gt===-1?null:rt.transformOffset(gt)}}}}),mf=p({"node_modules/yaml-unist-parser/lib/transforms/document.js"(Y){N(),Y.__esModule=!0;var g=pf(),W=fs(),Ae=Hu(),ke=zu();function Le(Xe,ht){var jt=ke.transformDocumentHead(Xe,ht),rt=jt.createDocumentHeadWithTrailingComment,gt=jt.documentHeadEndMarkerPoint,Ft=Ae.transformDocumentBody(Xe,ht,gt),Mt=Ft.documentBody,_t=Ft.documentEndPoint,Gt=Ft.documentTrailingComment,Wt=Ft.documentHeadTrailingComment,Xt=rt(Wt);return Gt&&ht.comments.push(Gt),g.createDocument(W.createPosition(Xt.position.start,_t),Xt,Mt,Gt)}Y.transformDocument=Le}}),Qu=p({"node_modules/yaml-unist-parser/lib/factories/flow-collection.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=cs(),Ae=ps(),ke=Nr();function Le(Xe,ht,jt){return g.__assign(g.__assign(g.__assign(g.__assign(g.__assign({},ke.createNode("flowCollection",Xe)),W.createCommentAttachable()),Ae.createEndCommentAttachable()),ht),{children:jt})}Y.createFlowCollection=Le}}),gf=p({"node_modules/yaml-unist-parser/lib/factories/flow-mapping.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=Qu();function Ae(ke,Le,Xe){return g.__assign(g.__assign({},W.createFlowCollection(ke,Le,Xe)),{type:"flowMapping"})}Y.createFlowMapping=Ae}}),Xu=p({"node_modules/yaml-unist-parser/lib/factories/flow-mapping-item.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=ls(),Ae=Nr();function ke(Le,Xe,ht){return g.__assign(g.__assign(g.__assign({},Ae.createNode("flowMappingItem",Le)),W.createLeadingCommentAttachable()),{children:[Xe,ht]})}Y.createFlowMappingItem=ke}}),Ra=p({"node_modules/yaml-unist-parser/lib/utils/extract-comments.js"(Y){N(),Y.__esModule=!0;function g(W,Ae){for(var ke=[],Le=0,Xe=W;Le<Xe.length;Le++){var ht=Xe[Le];ht&&"type"in ht&&ht.type==="COMMENT"?Ae.comments.push(Ae.transformNode(ht)):ke.push(ht)}return ke}Y.extractComments=g}}),Ku=p({"node_modules/yaml-unist-parser/lib/utils/get-flow-map-item-additional-ranges.js"(Y){N(),Y.__esModule=!0;function g(W){var Ae=["?",":"].map(function(Xe){var ht=W.find(function(jt){return"char"in jt&&jt.char===Xe});return ht?{origStart:ht.origOffset,origEnd:ht.origOffset+1}:null}),ke=Ae[0],Le=Ae[1];return{additionalKeyRange:ke,additionalValueRange:Le}}Y.getFlowMapItemAdditionalRanges=g}}),Zu=p({"node_modules/yaml-unist-parser/lib/utils/create-slicer.js"(Y){N(),Y.__esModule=!0;function g(W,Ae){var ke=Ae;return function(Le){return W.slice(ke,ke=Le)}}Y.createSlicer=g}}),el=p({"node_modules/yaml-unist-parser/lib/utils/group-cst-flow-collection-items.js"(Y){N(),Y.__esModule=!0;var g=Zu();function W(Ae){for(var ke=[],Le=g.createSlicer(Ae,1),Xe=!1,ht=1;ht<Ae.length-1;ht++){var jt=Ae[ht];if("char"in jt&&jt.char===","){ke.push(Le(ht)),Le(ht+1),Xe=!1;continue}Xe=!0}return Xe&&ke.push(Le(Ae.length-1)),ke}Y.groupCstFlowCollectionItems=W}}),yf=p({"node_modules/yaml-unist-parser/lib/factories/mapping-key.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=ps(),Ae=Nr(),ke=Oa();function Le(Xe,ht){return g.__assign(g.__assign(g.__assign(g.__assign({},Ae.createNode("mappingKey",Xe)),ke.createTrailingCommentAttachable()),W.createEndCommentAttachable()),{children:ht?[ht]:[]})}Y.createMappingKey=Le}}),Df=p({"node_modules/yaml-unist-parser/lib/factories/mapping-value.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=cs(),Ae=ps(),ke=Nr();function Le(Xe,ht){return g.__assign(g.__assign(g.__assign(g.__assign({},ke.createNode("mappingValue",Xe)),W.createCommentAttachable()),Ae.createEndCommentAttachable()),{children:ht?[ht]:[]})}Y.createMappingValue=Le}}),No=p({"node_modules/yaml-unist-parser/lib/transforms/pair.js"(Y){N(),Y.__esModule=!0;var g=yf(),W=Df(),Ae=fs();function ke(Le,Xe,ht,jt,rt){var gt=Xe.transformNode(Le.key),Ft=Xe.transformNode(Le.value),Mt=gt||jt?g.createMappingKey(Xe.transformRange({origStart:jt?jt.origStart:gt.position.start.offset,origEnd:gt?gt.position.end.offset:jt.origStart+1}),gt):null,_t=Ft||rt?W.createMappingValue(Xe.transformRange({origStart:rt?rt.origStart:Ft.position.start.offset,origEnd:Ft?Ft.position.end.offset:rt.origStart+1}),Ft):null;return ht(Ae.createPosition(Mt?Mt.position.start:_t.position.start,_t?_t.position.end:Mt.position.end),Mt||g.createMappingKey(Ae.createEmptyPosition(_t.position.start),null),_t||W.createMappingValue(Ae.createEmptyPosition(Mt.position.end),null))}Y.transformAstPair=ke}}),bf=p({"node_modules/yaml-unist-parser/lib/transforms/flow-map.js"(Y){N(),Y.__esModule=!0;var g=gf(),W=Xu(),Ae=Ra(),ke=Ku(),Le=ds(),Xe=el(),ht=No();function jt(rt,gt){var Ft=Ae.extractComments(rt.cstNode.items,gt),Mt=Xe.groupCstFlowCollectionItems(Ft),_t=rt.items.map(function(Xt,bn){var ge=Mt[bn],K=ke.getFlowMapItemAdditionalRanges(ge),M=K.additionalKeyRange,H=K.additionalValueRange;return ht.transformAstPair(Xt,gt,W.createFlowMappingItem,M,H)}),Gt=Ft[0],Wt=Le.getLast(Ft);return g.createFlowMapping(gt.transformRange({origStart:Gt.origOffset,origEnd:Wt.origOffset+1}),gt.transformContent(rt),_t)}Y.transformFlowMap=jt}}),Qt=p({"node_modules/yaml-unist-parser/lib/factories/flow-sequence.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=Qu();function Ae(ke,Le,Xe){return g.__assign(g.__assign({},W.createFlowCollection(ke,Le,Xe)),{type:"flowSequence"})}Y.createFlowSequence=Ae}}),it=p({"node_modules/yaml-unist-parser/lib/factories/flow-sequence-item.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=Nr();function Ae(ke,Le){return g.__assign(g.__assign({},W.createNode("flowSequenceItem",ke)),{children:[Le]})}Y.createFlowSequenceItem=Ae}}),Qe=p({"node_modules/yaml-unist-parser/lib/transforms/flow-seq.js"(Y){N(),Y.__esModule=!0;var g=Xu(),W=Qt(),Ae=it(),ke=fs(),Le=Ra(),Xe=Ku(),ht=ds(),jt=el(),rt=No();function gt(Ft,Mt){var _t=Le.extractComments(Ft.cstNode.items,Mt),Gt=jt.groupCstFlowCollectionItems(_t),Wt=Ft.items.map(function(ge,K){if(ge.type!=="PAIR"){var M=Mt.transformNode(ge);return Ae.createFlowSequenceItem(ke.createPosition(M.position.start,M.position.end),M)}else{var H=Gt[K],le=Xe.getFlowMapItemAdditionalRanges(H),Se=le.additionalKeyRange,Be=le.additionalValueRange;return rt.transformAstPair(ge,Mt,g.createFlowMappingItem,Se,Be)}}),Xt=_t[0],bn=ht.getLast(_t);return W.createFlowSequence(Mt.transformRange({origStart:Xt.origOffset,origEnd:bn.origOffset+1}),Mt.transformContent(Ft),Wt)}Y.transformFlowSeq=gt}}),ot=p({"node_modules/yaml-unist-parser/lib/factories/mapping.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=ls(),Ae=Nr();function ke(Le,Xe,ht){return g.__assign(g.__assign(g.__assign(g.__assign({},Ae.createNode("mapping",Le)),W.createLeadingCommentAttachable()),Xe),{children:ht})}Y.createMapping=ke}}),nt=p({"node_modules/yaml-unist-parser/lib/factories/mapping-item.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=ls(),Ae=Nr();function ke(Le,Xe,ht){return g.__assign(g.__assign(g.__assign({},Ae.createNode("mappingItem",Le)),W.createLeadingCommentAttachable()),{children:[Xe,ht]})}Y.createMappingItem=ke}}),Ct=p({"node_modules/yaml-unist-parser/lib/transforms/map.js"(Y){N(),Y.__esModule=!0;var g=ot(),W=nt(),Ae=fs(),ke=Zu(),Le=Ra(),Xe=$a(),ht=ds(),jt=No();function rt(Ft,Mt){var _t=Ft.cstNode;_t.items.filter(function(bn){return bn.type==="MAP_KEY"||bn.type==="MAP_VALUE"}).forEach(function(bn){return Xe.extractPropComments(bn,Mt)});var Gt=Le.extractComments(_t.items,Mt),Wt=gt(Gt),Xt=Ft.items.map(function(bn,ge){var K=Wt[ge],M=K[0].type==="MAP_VALUE"?[null,K[0].range]:[K[0].range,K.length===1?null:K[1].range],H=M[0],le=M[1];return jt.transformAstPair(bn,Mt,W.createMappingItem,H,le)});return g.createMapping(Ae.createPosition(Xt[0].position.start,ht.getLast(Xt).position.end),Mt.transformContent(Ft),Xt)}Y.transformMap=rt;function gt(Ft){for(var Mt=[],_t=ke.createSlicer(Ft,0),Gt=!1,Wt=0;Wt<Ft.length;Wt++){var Xt=Ft[Wt];if(Xt.type==="MAP_VALUE"){Mt.push(_t(Wt+1)),Gt=!1;continue}Gt&&Mt.push(_t(Wt)),Gt=!0}return Gt&&Mt.push(_t(1/0)),Mt}}}),Pt=p({"node_modules/yaml-unist-parser/lib/factories/plain.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=cs(),Ae=Nr();function ke(Le,Xe,ht){return g.__assign(g.__assign(g.__assign(g.__assign({},Ae.createNode("plain",Le)),W.createCommentAttachable()),Xe),{value:ht})}Y.createPlain=ke}}),Yt=p({"node_modules/yaml-unist-parser/lib/utils/find-last-char-index.js"(Y){N(),Y.__esModule=!0;function g(W,Ae,ke){for(var Le=Ae;Le>=0;Le--)if(ke.test(W[Le]))return Le;return-1}Y.findLastCharIndex=g}}),Vt=p({"node_modules/yaml-unist-parser/lib/transforms/plain.js"(Y){N(),Y.__esModule=!0;var g=Pt(),W=Yt();function Ae(ke,Le){var Xe=ke.cstNode;return g.createPlain(Le.transformRange({origStart:Xe.valueRange.origStart,origEnd:W.findLastCharIndex(Le.text,Xe.valueRange.origEnd-1,/\S/)+1}),Le.transformContent(ke),Xe.strValue)}Y.transformPlain=Ae}}),Ht=p({"node_modules/yaml-unist-parser/lib/factories/quote-double.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue));function W(Ae){return g.__assign(g.__assign({},Ae),{type:"quoteDouble"})}Y.createQuoteDouble=W}}),fn=p({"node_modules/yaml-unist-parser/lib/factories/quote-value.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=cs(),Ae=Nr();function ke(Le,Xe,ht){return g.__assign(g.__assign(g.__assign(g.__assign({},Ae.createNode("quoteValue",Le)),Xe),W.createCommentAttachable()),{value:ht})}Y.createQuoteValue=ke}}),yn=p({"node_modules/yaml-unist-parser/lib/transforms/quote-value.js"(Y){N(),Y.__esModule=!0;var g=fn();function W(Ae,ke){var Le=Ae.cstNode;return g.createQuoteValue(ke.transformRange(Le.valueRange),ke.transformContent(Ae),Le.strValue)}Y.transformAstQuoteValue=W}}),vn=p({"node_modules/yaml-unist-parser/lib/transforms/quote-double.js"(Y){N(),Y.__esModule=!0;var g=Ht(),W=yn();function Ae(ke,Le){return g.createQuoteDouble(W.transformAstQuoteValue(ke,Le))}Y.transformQuoteDouble=Ae}}),dn=p({"node_modules/yaml-unist-parser/lib/factories/quote-single.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue));function W(Ae){return g.__assign(g.__assign({},Ae),{type:"quoteSingle"})}Y.createQuoteSingle=W}}),we=p({"node_modules/yaml-unist-parser/lib/transforms/quote-single.js"(Y){N(),Y.__esModule=!0;var g=dn(),W=yn();function Ae(ke,Le){return g.createQuoteSingle(W.transformAstQuoteValue(ke,Le))}Y.transformQuoteSingle=Ae}}),xn=p({"node_modules/yaml-unist-parser/lib/factories/sequence.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=ps(),Ae=ls(),ke=Nr();function Le(Xe,ht,jt){return g.__assign(g.__assign(g.__assign(g.__assign(g.__assign({},ke.createNode("sequence",Xe)),Ae.createLeadingCommentAttachable()),W.createEndCommentAttachable()),ht),{children:jt})}Y.createSequence=Le}}),On=p({"node_modules/yaml-unist-parser/lib/factories/sequence-item.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue)),W=cs(),Ae=ps(),ke=Nr();function Le(Xe,ht){return g.__assign(g.__assign(g.__assign(g.__assign({},ke.createNode("sequenceItem",Xe)),W.createCommentAttachable()),Ae.createEndCommentAttachable()),{children:ht?[ht]:[]})}Y.createSequenceItem=Le}}),er=p({"node_modules/yaml-unist-parser/lib/transforms/seq.js"(Y){N(),Y.__esModule=!0;var g=fs(),W=xn(),Ae=On(),ke=Ra(),Le=$a(),Xe=ds();function ht(jt,rt){var gt=ke.extractComments(jt.cstNode.items,rt),Ft=gt.map(function(Mt,_t){Le.extractPropComments(Mt,rt);var Gt=rt.transformNode(jt.items[_t]);return Ae.createSequenceItem(g.createPosition(rt.transformOffset(Mt.valueRange.origStart),Gt===null?rt.transformOffset(Mt.valueRange.origStart+1):Gt.position.end),Gt)});return W.createSequence(g.createPosition(Ft[0].position.start,Xe.getLast(Ft).position.end),rt.transformContent(jt),Ft)}Y.transformSeq=ht}}),Qn=p({"node_modules/yaml-unist-parser/lib/transform.js"(Y){N(),Y.__esModule=!0;var g=rf(),W=lf(),Ae=Gu(),ke=cf(),Le=Ju(),Xe=mf(),ht=bf(),jt=Qe(),rt=Ct(),gt=Vt(),Ft=vn(),Mt=we(),_t=er();function Gt(Wt,Xt){if(Wt===null||Wt.type===void 0&&Wt.value===null)return null;switch(Wt.type){case"ALIAS":return g.transformAlias(Wt,Xt);case"BLOCK_FOLDED":return W.transformBlockFolded(Wt,Xt);case"BLOCK_LITERAL":return Ae.transformBlockLiteral(Wt,Xt);case"COMMENT":return ke.transformComment(Wt,Xt);case"DIRECTIVE":return Le.transformDirective(Wt,Xt);case"DOCUMENT":return Xe.transformDocument(Wt,Xt);case"FLOW_MAP":return ht.transformFlowMap(Wt,Xt);case"FLOW_SEQ":return jt.transformFlowSeq(Wt,Xt);case"MAP":return rt.transformMap(Wt,Xt);case"PLAIN":return gt.transformPlain(Wt,Xt);case"QUOTE_DOUBLE":return Ft.transformQuoteDouble(Wt,Xt);case"QUOTE_SINGLE":return Mt.transformQuoteSingle(Wt,Xt);case"SEQ":return _t.transformSeq(Wt,Xt);default:throw new Error("Unexpected node type "+Wt.type)}}Y.transformNode=Gt}}),Ar=p({"node_modules/yaml-unist-parser/lib/factories/error.js"(Y){N(),Y.__esModule=!0;function g(W,Ae,ke){var Le=new SyntaxError(W);return Le.name="YAMLSyntaxError",Le.source=Ae,Le.position=ke,Le}Y.createError=g}}),$e=p({"node_modules/yaml-unist-parser/lib/transforms/error.js"(Y){N(),Y.__esModule=!0;var g=Ar();function W(Ae,ke){var Le=Ae.source.range||Ae.source.valueRange;return g.createError(Ae.message,ke.text,ke.transformRange(Le))}Y.transformError=W}}),Kr=p({"node_modules/yaml-unist-parser/lib/factories/point.js"(Y){N(),Y.__esModule=!0;function g(W,Ae,ke){return{offset:W,line:Ae,column:ke}}Y.createPoint=g}}),hs=p({"node_modules/yaml-unist-parser/lib/transforms/offset.js"(Y){N(),Y.__esModule=!0;var g=Kr();function W(Ae,ke){Ae<0?Ae=0:Ae>ke.text.length&&(Ae=ke.text.length);var Le=ke.locator.locationForIndex(Ae);return g.createPoint(Ae,Le.line+1,Le.column+1)}Y.transformOffset=W}}),Ps=p({"node_modules/yaml-unist-parser/lib/transforms/range.js"(Y){N(),Y.__esModule=!0;var g=fs();function W(Ae,ke){return g.createPosition(ke.transformOffset(Ae.origStart),ke.transformOffset(Ae.origEnd))}Y.transformRange=W}}),mi=p({"node_modules/yaml-unist-parser/lib/utils/add-orig-range.js"(Y){N(),Y.__esModule=!0;var g=!0;function W(Xe){if(!Xe.setOrigRanges()){var ht=function(jt){if(ke(jt))return jt.origStart=jt.start,jt.origEnd=jt.end,g;if(Le(jt))return jt.origOffset=jt.offset,g};Xe.forEach(function(jt){return Ae(jt,ht)})}}Y.addOrigRange=W;function Ae(Xe,ht){if(!(!Xe||typeof Xe!="object")&&ht(Xe)!==g)for(var jt=0,rt=Object.keys(Xe);jt<rt.length;jt++){var gt=rt[jt];if(!(gt==="context"||gt==="error")){var Ft=Xe[gt];Array.isArray(Ft)?Ft.forEach(function(Mt){return Ae(Mt,ht)}):Ae(Ft,ht)}}}function ke(Xe){return typeof Xe.start=="number"}function Le(Xe){return typeof Xe.offset=="number"}}}),ns=p({"node_modules/yaml-unist-parser/lib/utils/remove-fake-nodes.js"(Y){N(),Y.__esModule=!0;function g(W){if("children"in W){if(W.children.length===1){var Ae=W.children[0];if(Ae.type==="plain"&&Ae.tag===null&&Ae.anchor===null&&Ae.value==="")return W.children.splice(0,1),W}W.children.forEach(g)}return W}Y.removeFakeNodes=g}}),jr=p({"node_modules/yaml-unist-parser/lib/utils/create-updater.js"(Y){N(),Y.__esModule=!0;function g(W,Ae,ke,Le){var Xe=Ae(W);return function(ht){Le(Xe,ht)&&ke(W,Xe=ht)}}Y.createUpdater=g}}),Va=p({"node_modules/yaml-unist-parser/lib/utils/update-positions.js"(Y){N(),Y.__esModule=!0;var g=jr(),W=ds();function Ae(gt){if(!(gt===null||!("children"in gt))){var Ft=gt.children;if(Ft.forEach(Ae),gt.type==="document"){var Mt=gt.children,_t=Mt[0],Gt=Mt[1];_t.position.start.offset===_t.position.end.offset?_t.position.start=_t.position.end=Gt.position.start:Gt.position.start.offset===Gt.position.end.offset&&(Gt.position.start=Gt.position.end=_t.position.end)}var Wt=g.createUpdater(gt.position,ke,Le,jt),Xt=g.createUpdater(gt.position,Xe,ht,rt);"endComments"in gt&&gt.endComments.length!==0&&(Wt(gt.endComments[0].position.start),Xt(W.getLast(gt.endComments).position.end));var bn=Ft.filter(function(M){return M!==null});if(bn.length!==0){var ge=bn[0],K=W.getLast(bn);Wt(ge.position.start),Xt(K.position.end),"leadingComments"in ge&&ge.leadingComments.length!==0&&Wt(ge.leadingComments[0].position.start),"tag"in ge&&ge.tag&&Wt(ge.tag.position.start),"anchor"in ge&&ge.anchor&&Wt(ge.anchor.position.start),"trailingComment"in K&&K.trailingComment&&Xt(K.trailingComment.position.end)}}}Y.updatePositions=Ae;function ke(gt){return gt.start}function Le(gt,Ft){gt.start=Ft}function Xe(gt){return gt.end}function ht(gt,Ft){gt.end=Ft}function jt(gt,Ft){return Ft.offset<gt.offset}function rt(gt,Ft){return Ft.offset>gt.offset}}}),Ur=p({"node_modules/yaml/dist/PlainValue-ec8e588e.js"(Y){N();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"},Ae="tag:yaml.org,2002:",ke={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function Le(K){let M=[0],H=K.indexOf(`
260
- `);for(;H!==-1;)H+=1,M.push(H),H=K.indexOf(`
261
- `,H);return M}function Xe(K){let M,H;return typeof K=="string"?(M=Le(K),H=K):(Array.isArray(K)&&(K=K[0]),K&&K.context&&(K.lineStarts||(K.lineStarts=Le(K.context.src)),M=K.lineStarts,H=K.context.src)),{lineStarts:M,src:H}}function ht(K,M){if(typeof K!="number"||K<0)return null;let{lineStarts:H,src:le}=Xe(M);if(!H||!le||K>le.length)return null;for(let Be=0;Be<H.length;++Be){let ve=H[Be];if(K<ve)return{line:Be,col:K-H[Be-1]+1};if(K===ve)return{line:Be+1,col:1}}let Se=H.length;return{line:Se,col:K-H[Se-1]+1}}function jt(K,M){let{lineStarts:H,src:le}=Xe(M);if(!H||!(K>=1)||K>H.length)return null;let Se=H[K-1],Be=H[K];for(;Be&&Be>Se&&le[Be-1]===`
262
- `;)--Be;return le.slice(Se,Be)}function rt(K,M){let{start:H,end:le}=K,Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:80,Be=jt(H.line,M);if(!Be)return null;let{col:ve}=H;if(Be.length>Se)if(ve<=Se-10)Be=Be.substr(0,Se-1)+"…";else{let En=Math.round(Se/2);Be.length>ve+En&&(Be=Be.substr(0,ve+En-1)+"…"),ve-=Be.length-Se,Be="…"+Be.substr(1-Se)}let je=1,Et="";le&&(le.line===H.line&&ve+(le.col-H.col)<=Se+1?je=le.col-H.col:(je=Math.min(Be.length+1,Se)-ve,Et="…"));let Ot=ve>1?" ".repeat(ve-1):"",zt="^".repeat(je);return`${Be}
263
- ${Ot}${zt}${Et}`}var gt=class{static copy(K){return new gt(K.start,K.end)}constructor(K,M){this.start=K,this.end=M||K}isEmpty(){return typeof this.start!="number"||!this.end||this.end<=this.start}setOrigRange(K,M){let{start:H,end:le}=this;if(K.length===0||le<=K[0])return this.origStart=H,this.origEnd=le,M;let Se=M;for(;Se<K.length&&!(K[Se]>H);)++Se;this.origStart=H+Se;let Be=Se;for(;Se<K.length&&!(K[Se]>=le);)++Se;return this.origEnd=le+Se,Be}},Ft=class{static addStringTerminator(K,M,H){if(H[H.length-1]===`
264
- `)return H;let le=Ft.endOfWhiteSpace(K,M);return le>=K.length||K[le]===`
265
- `?H+`
266
- `:H}static atDocumentBoundary(K,M,H){let le=K[M];if(!le)return!0;let Se=K[M-1];if(Se&&Se!==`
267
- `)return!1;if(H){if(le!==H)return!1}else if(le!==g.DIRECTIVES_END&&le!==g.DOCUMENT_END)return!1;let Be=K[M+1],ve=K[M+2];if(Be!==le||ve!==le)return!1;let je=K[M+3];return!je||je===`
268
- `||je===" "||je===" "}static endOfIdentifier(K,M){let H=K[M],le=H==="<",Se=le?[`
269
- `," "," ",">"]:[`
270
- `," "," ","[","]","{","}",","];for(;H&&Se.indexOf(H)===-1;)H=K[M+=1];return le&&H===">"&&(M+=1),M}static endOfIndent(K,M){let H=K[M];for(;H===" ";)H=K[M+=1];return M}static endOfLine(K,M){let H=K[M];for(;H&&H!==`
271
- `;)H=K[M+=1];return M}static endOfWhiteSpace(K,M){let H=K[M];for(;H===" "||H===" ";)H=K[M+=1];return M}static startOfLine(K,M){let H=K[M-1];if(H===`
272
- `)return M;for(;H&&H!==`
273
- `;)H=K[M-=1];return M+1}static endOfBlockIndent(K,M,H){let le=Ft.endOfIndent(K,H);if(le>H+M)return le;{let Se=Ft.endOfWhiteSpace(K,le),Be=K[Se];if(!Be||Be===`
274
- `)return Se}return null}static atBlank(K,M,H){let le=K[M];return le===`
275
- `||le===" "||le===" "||H&&!le}static nextNodeIsIndented(K,M,H){return!K||M<0?!1:M>0?!0:H&&K==="-"}static normalizeOffset(K,M){let H=K[M];return H?H!==`
276
- `&&K[M-1]===`
277
- `?M-1:Ft.endOfWhiteSpace(K,M):M}static foldNewline(K,M,H){let le=0,Se=!1,Be="",ve=K[M+1];for(;ve===" "||ve===" "||ve===`
278
- `;){switch(ve){case`
279
- `:le=0,M+=1,Be+=`
280
- `;break;case" ":le<=H&&(Se=!0),M=Ft.endOfWhiteSpace(K,M+2)-1;break;case" ":le+=1,M+=1;break}ve=K[M+1]}return Be||(Be=" "),ve&&le<=H&&(Se=!0),{fold:Be,offset:M,error:Se}}constructor(K,M,H){Object.defineProperty(this,"context",{value:H||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=M||[],this.type=K,this.value=null}getPropValue(K,M,H){if(!this.context)return null;let{src:le}=this.context,Se=this.props[K];return Se&&le[Se.start]===M?le.slice(Se.start+(H?1:0),Se.end):null}get anchor(){for(let K=0;K<this.props.length;++K){let M=this.getPropValue(K,g.ANCHOR,!0);if(M!=null)return M}return null}get comment(){let K=[];for(let M=0;M<this.props.length;++M){let H=this.getPropValue(M,g.COMMENT,!0);H!=null&&K.push(H)}return K.length>0?K.join(`
281
- `):null}commentHasRequiredWhitespace(K){let{src:M}=this.context;if(this.header&&K===this.header.end||!this.valueRange)return!1;let{end:H}=this.valueRange;return K!==H||Ft.atBlank(M,H-1)}get hasComment(){if(this.context){let{src:K}=this.context;for(let M=0;M<this.props.length;++M)if(K[this.props[M].start]===g.COMMENT)return!0}return!1}get hasProps(){if(this.context){let{src:K}=this.context;for(let M=0;M<this.props.length;++M)if(K[this.props[M].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 K=ht(this.range.start,this.context.root);if(!K)return;let M=ht(this.range.end,this.context.root);return{start:K,end:M}}get rawValue(){if(!this.valueRange||!this.context)return null;let{start:K,end:M}=this.valueRange;return this.context.src.slice(K,M)}get tag(){for(let K=0;K<this.props.length;++K){let M=this.getPropValue(K,g.TAG,!1);if(M!=null){if(M[1]==="<")return{verbatim:M.slice(2,-1)};{let[H,le,Se]=M.match(/^(.*!)([^!]*)$/);return{handle:le,suffix:Se}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;let{start:K,end:M}=this.valueRange,{src:H}=this.context;for(let le=K;le<M;++le)if(H[le]===`
282
- `)return!0;return!1}parseComment(K){let{src:M}=this.context;if(M[K]===g.COMMENT){let H=Ft.endOfLine(M,K+1),le=new gt(K,H);return this.props.push(le),H}return K}setOrigRanges(K,M){return this.range&&(M=this.range.setOrigRange(K,M)),this.valueRange&&this.valueRange.setOrigRange(K,M),this.props.forEach(H=>H.setOrigRange(K,M)),M}toString(){let{context:{src:K},range:M,value:H}=this;if(H!=null)return H;let le=K.slice(M.start,M.end);return Ft.addStringTerminator(K,M.end,le)}},Mt=class extends Error{constructor(K,M,H){if(!H||!(M instanceof Ft))throw new Error(`Invalid arguments for new ${K}`);super(),this.name=K,this.message=H,this.source=M}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let K=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new gt(this.offset,this.offset+1);let M=K&&ht(this.offset,K);if(M){let H={line:M.line,col:M.col+1};this.linePos={start:M,end:H}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:M,col:H}=this.linePos.start;this.message+=` at line ${M}, column ${H}`;let le=K&&rt(this.linePos,K);le&&(this.message+=`:
283
-
284
- ${le}
285
- `)}delete this.source}},_t=class extends Mt{constructor(K,M){super("YAMLReferenceError",K,M)}},Gt=class extends Mt{constructor(K,M){super("YAMLSemanticError",K,M)}},Wt=class extends Mt{constructor(K,M){super("YAMLSyntaxError",K,M)}},Xt=class extends Mt{constructor(K,M){super("YAMLWarning",K,M)}};function bn(K,M,H){return M in K?Object.defineProperty(K,M,{value:H,enumerable:!0,configurable:!0,writable:!0}):K[M]=H,K}var ge=class extends Ft{static endOfLine(K,M,H){let le=K[M],Se=M;for(;le&&le!==`
286
- `&&!(H&&(le==="["||le==="]"||le==="{"||le==="}"||le===","));){let Be=K[Se+1];if(le===":"&&(!Be||Be===`
287
- `||Be===" "||Be===" "||H&&Be===",")||(le===" "||le===" ")&&Be==="#")break;Se+=1,le=Be}return Se}get strValue(){if(!this.valueRange||!this.context)return null;let{start:K,end:M}=this.valueRange,{src:H}=this.context,le=H[M-1];for(;K<M&&(le===`
288
- `||le===" "||le===" ");)le=H[--M-1];let Se="";for(let ve=K;ve<M;++ve){let je=H[ve];if(je===`
289
- `){let{fold:Et,offset:Ot}=Ft.foldNewline(H,ve,-1);Se+=Et,ve=Ot}else if(je===" "||je===" "){let Et=ve,Ot=H[ve+1];for(;ve<M&&(Ot===" "||Ot===" ");)ve+=1,Ot=H[ve+1];Ot!==`
290
- `&&(Se+=ve>Et?H.slice(Et,ve+1):je)}else Se+=je}let Be=H[K];switch(Be){case" ":{let ve="Plain value cannot start with a tab character";return{errors:[new Gt(this,ve)],str:Se}}case"@":case"`":{let ve=`Plain value cannot start with reserved character ${Be}`;return{errors:[new Gt(this,ve)],str:Se}}default:return Se}}parseBlockValue(K){let{indent:M,inFlow:H,src:le}=this.context,Se=K,Be=K;for(let ve=le[Se];ve===`
291
- `&&!Ft.atDocumentBoundary(le,Se+1);ve=le[Se]){let je=Ft.endOfBlockIndent(le,M,Se+1);if(je===null||le[je]==="#")break;le[je]===`
292
- `?Se=je:(Be=ge.endOfLine(le,je,H),Se=Be)}return this.valueRange.isEmpty()&&(this.valueRange.start=K),this.valueRange.end=Be,Be}parse(K,M){this.context=K;let{inFlow:H,src:le}=K,Se=M,Be=le[Se];return Be&&Be!=="#"&&Be!==`
293
- `&&(Se=ge.endOfLine(le,M,H)),this.valueRange=new gt(M,Se),Se=Ft.endOfWhiteSpace(le,Se),Se=this.parseComment(Se),(!this.hasComment||this.valueRange.isEmpty())&&(Se=this.parseBlockValue(Se)),Se}};Y.Char=g,Y.Node=Ft,Y.PlainValue=ge,Y.Range=gt,Y.Type=W,Y.YAMLError=Mt,Y.YAMLReferenceError=_t,Y.YAMLSemanticError=Gt,Y.YAMLSyntaxError=Wt,Y.YAMLWarning=Xt,Y._defineProperty=bn,Y.defaultTagPrefix=Ae,Y.defaultTags=ke}}),Ua=p({"node_modules/yaml/dist/parse-cst.js"(Y){N();var g=Ur(),W=class extends g.Node{constructor(){super(g.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(ge,K){return this.context=ge,this.range=new g.Range(K,K+1),K+1}},Ae=class extends g.Node{constructor(ge,K){super(ge,K),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(ge,K){this.context=ge;let{parseNode:M,src:H}=ge,{atLineStart:le,lineStart:Se}=ge;!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?K-Se:ge.indent,ve=g.Node.endOfWhiteSpace(H,K+1),je=H[ve],Et=je==="#",Ot=[],zt=null;for(;je===`
294
- `||je==="#";){if(je==="#"){let on=g.Node.endOfLine(H,ve+1);Ot.push(new g.Range(ve,on)),ve=on}else{le=!0,Se=ve+1;let on=g.Node.endOfWhiteSpace(H,Se);H[on]===`
295
- `&&Ot.length===0&&(zt=new W,Se=zt.parse({src:H},Se)),ve=g.Node.endOfIndent(H,Se)}je=H[ve]}if(g.Node.nextNodeIsIndented(je,ve-(Se+Be),this.type!==g.Type.SEQ_ITEM)?this.node=M({atLineStart:le,inCollection:!1,indent:Be,lineStart:Se,parent:this},ve):je&&Se>K+1&&(ve=Se-1),this.node){if(zt){let on=ge.parent.items||ge.parent.contents;on&&on.push(zt)}Ot.length&&Array.prototype.push.apply(this.props,Ot),ve=this.node.range.end}else if(Et){let on=Ot[0];this.props.push(on),ve=on.end}else ve=g.Node.endOfLine(H,K+1);let En=this.node?this.node.valueRange.end:ve;return this.valueRange=new g.Range(K,En),ve}setOrigRanges(ge,K){return K=super.setOrigRanges(ge,K),this.node?this.node.setOrigRanges(ge,K):K}toString(){let{context:{src:ge},node:K,range:M,value:H}=this;if(H!=null)return H;let le=K?ge.slice(M.start,K.range.start)+String(K):ge.slice(M.start,M.end);return g.Node.addStringTerminator(ge,M.end,le)}},ke=class extends g.Node{constructor(){super(g.Type.COMMENT)}parse(ge,K){this.context=ge;let M=this.parseComment(K);return this.range=new g.Range(K,M),M}};function Le(ge){let K=ge;for(;K instanceof Ae;)K=K.node;if(!(K instanceof Xe))return null;let M=K.items.length,H=-1;for(let Be=M-1;Be>=0;--Be){let ve=K.items[Be];if(ve.type===g.Type.COMMENT){let{indent:je,lineStart:Et}=ve.context;if(je>0&&ve.range.start>=Et+je)break;H=Be}else if(ve.type===g.Type.BLANK_LINE)H=Be;else break}if(H===-1)return null;let le=K.items.splice(H,M-H),Se=le[0].range.start;for(;K.range.end=Se,K.valueRange&&K.valueRange.end>Se&&(K.valueRange.end=Se),K!==ge;)K=K.context.parent;return le}var Xe=class extends g.Node{static nextContentHasIndent(ge,K,M){let H=g.Node.endOfLine(ge,K)+1;K=g.Node.endOfWhiteSpace(ge,H);let le=ge[K];return le?K>=H+M?!0:le!=="#"&&le!==`
296
- `?!1:Xe.nextContentHasIndent(ge,K,M):!1}constructor(ge){super(ge.type===g.Type.SEQ_ITEM?g.Type.SEQ:g.Type.MAP);for(let M=ge.props.length-1;M>=0;--M)if(ge.props[M].start<ge.context.lineStart){this.props=ge.props.slice(0,M+1),ge.props=ge.props.slice(M+1);let H=ge.props[0]||ge.valueRange;ge.range.start=H.start;break}this.items=[ge];let K=Le(ge);K&&Array.prototype.push.apply(this.items,K)}get includesTrailingLines(){return this.items.length>0}parse(ge,K){this.context=ge;let{parseNode:M,src:H}=ge,le=g.Node.startOfLine(H,K),Se=this.items[0];Se.context.parent=this,this.valueRange=g.Range.copy(Se.valueRange);let Be=Se.range.start-Se.context.lineStart,ve=K;ve=g.Node.normalizeOffset(H,ve);let je=H[ve],Et=g.Node.endOfWhiteSpace(H,le)===ve,Ot=!1;for(;je;){for(;je===`
297
- `||je==="#";){if(Et&&je===`
298
- `&&!Ot){let on=new W;if(ve=on.parse({src:H},ve),this.valueRange.end=ve,ve>=H.length){je=null;break}this.items.push(on),ve-=1}else if(je==="#"){if(ve<le+Be&&!Xe.nextContentHasIndent(H,ve,Be))return ve;let on=new ke;if(ve=on.parse({indent:Be,lineStart:le,src:H},ve),this.items.push(on),this.valueRange.end=ve,ve>=H.length){je=null;break}}if(le=ve+1,ve=g.Node.endOfIndent(H,le),g.Node.atBlank(H,ve)){let on=g.Node.endOfWhiteSpace(H,ve),Wn=H[on];(!Wn||Wn===`
299
- `||Wn==="#")&&(ve=on)}je=H[ve],Et=!0}if(!je)break;if(ve!==le+Be&&(Et||je!==":")){if(ve<le+Be){le>K&&(ve=le);break}else if(!this.error){let on="All collection items must start at the same column";this.error=new g.YAMLSyntaxError(this,on)}}if(Se.type===g.Type.SEQ_ITEM){if(je!=="-"){le>K&&(ve=le);break}}else if(je==="-"&&!this.error){let on=H[ve+1];if(!on||on===`
300
- `||on===" "||on===" "){let Wn="A collection cannot be both a mapping and a sequence";this.error=new g.YAMLSyntaxError(this,Wn)}}let zt=M({atLineStart:Et,inCollection:!0,indent:Be,lineStart:le,parent:this},ve);if(!zt)return ve;if(this.items.push(zt),this.valueRange.end=zt.valueRange.end,ve=g.Node.normalizeOffset(H,zt.range.end),je=H[ve],Et=!1,Ot=zt.includesTrailingLines,je){let on=ve-1,Wn=H[on];for(;Wn===" "||Wn===" ";)Wn=H[--on];Wn===`
301
- `&&(le=on+1,Et=!0)}let En=Le(zt);En&&Array.prototype.push.apply(this.items,En)}return ve}setOrigRanges(ge,K){return K=super.setOrigRanges(ge,K),this.items.forEach(M=>{K=M.setOrigRanges(ge,K)}),K}toString(){let{context:{src:ge},items:K,range:M,value:H}=this;if(H!=null)return H;let le=ge.slice(M.start,K[0].range.start)+String(K[0]);for(let Se=1;Se<K.length;++Se){let Be=K[Se],{atLineStart:ve,indent:je}=Be.context;if(ve)for(let Et=0;Et<je;++Et)le+=" ";le+=String(Be)}return g.Node.addStringTerminator(ge,M.end,le)}},ht=class extends g.Node{constructor(){super(g.Type.DIRECTIVE),this.name=null}get parameters(){let ge=this.rawValue;return ge?ge.trim().split(/[ \t]+/):[]}parseName(ge){let{src:K}=this.context,M=ge,H=K[M];for(;H&&H!==`
302
- `&&H!==" "&&H!==" ";)H=K[M+=1];return this.name=K.slice(ge,M),M}parseParameters(ge){let{src:K}=this.context,M=ge,H=K[M];for(;H&&H!==`
303
- `&&H!=="#";)H=K[M+=1];return this.valueRange=new g.Range(ge,M),M}parse(ge,K){this.context=ge;let M=this.parseName(K+1);return M=this.parseParameters(M),M=this.parseComment(M),this.range=new g.Range(K,M),M}},jt=class extends g.Node{static startCommentOrEndBlankLine(ge,K){let M=g.Node.endOfWhiteSpace(ge,K),H=ge[M];return H==="#"||H===`
304
- `?M:K}constructor(){super(g.Type.DOCUMENT),this.directives=null,this.contents=null,this.directivesEndMarker=null,this.documentEndMarker=null}parseDirectives(ge){let{src:K}=this.context;this.directives=[];let M=!0,H=!1,le=ge;for(;!g.Node.atDocumentBoundary(K,le,g.Char.DIRECTIVES_END);)switch(le=jt.startCommentOrEndBlankLine(K,le),K[le]){case`
305
- `:if(M){let Se=new W;le=Se.parse({src:K},le),le<K.length&&this.directives.push(Se)}else le+=1,M=!0;break;case"#":{let Se=new ke;le=Se.parse({src:K},le),this.directives.push(Se),M=!1}break;case"%":{let Se=new ht;le=Se.parse({parent:this,src:K},le),this.directives.push(Se),H=!0,M=!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 K[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(ge){let{parseNode:K,src:M}=this.context;this.contents||(this.contents=[]);let H=ge;for(;M[H-1]==="-";)H-=1;let le=g.Node.endOfWhiteSpace(M,ge),Se=H===ge;for(this.valueRange=new g.Range(le);!g.Node.atDocumentBoundary(M,le,g.Char.DOCUMENT_END);){switch(M[le]){case`
306
- `:if(Se){let Be=new W;le=Be.parse({src:M},le),le<M.length&&this.contents.push(Be)}else le+=1,Se=!0;H=le;break;case"#":{let Be=new ke;le=Be.parse({src:M},le),this.contents.push(Be),Se=!1}break;default:{let Be=g.Node.endOfIndent(M,le),ve=K({atLineStart:Se,indent:-1,inFlow:!1,inCollection:!1,lineStart:H,parent:this},Be);if(!ve)return this.valueRange.end=Be;this.contents.push(ve),le=ve.range.end,Se=!1;let je=Le(ve);je&&Array.prototype.push.apply(this.contents,je)}}le=jt.startCommentOrEndBlankLine(M,le)}if(this.valueRange.end=le,M[le]&&(this.documentEndMarker=new g.Range(le,le+3),le+=3,M[le])){if(le=g.Node.endOfWhiteSpace(M,le),M[le]==="#"){let Be=new ke;le=Be.parse({src:M},le),this.contents.push(Be)}switch(M[le]){case`
307
- `: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(ge,K){ge.root=this,this.context=ge;let{src:M}=ge,H=M.charCodeAt(K)===65279?K+1:K;return H=this.parseDirectives(H),H=this.parseContents(H),H}setOrigRanges(ge,K){return K=super.setOrigRanges(ge,K),this.directives.forEach(M=>{K=M.setOrigRanges(ge,K)}),this.directivesEndMarker&&(K=this.directivesEndMarker.setOrigRange(ge,K)),this.contents.forEach(M=>{K=M.setOrigRanges(ge,K)}),this.documentEndMarker&&(K=this.documentEndMarker.setOrigRange(ge,K)),K}toString(){let{contents:ge,directives:K,value:M}=this;if(M!=null)return M;let H=K.join("");return ge.length>0&&((K.length>0||ge[0].type===g.Type.COMMENT)&&(H+=`---
308
- `),H+=ge.join("")),H[H.length-1]!==`
309
- `&&(H+=`
310
- `),H}},rt=class extends g.Node{parse(ge,K){this.context=ge;let{src:M}=ge,H=g.Node.endOfIdentifier(M,K+1);return this.valueRange=new g.Range(K+1,H),H=g.Node.endOfWhiteSpace(M,H),H=this.parseComment(H),H}},gt={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"},Ft=class extends g.Node{constructor(ge,K){super(ge,K),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:ge,end:K}=this.valueRange,{indent:M,src:H}=this.context;if(this.valueRange.isEmpty())return"";let le=null,Se=H[K-1];for(;Se===`
311
- `||Se===" "||Se===" ";){if(K-=1,K<=ge){if(this.chomping===gt.KEEP)break;return""}Se===`
312
- `&&(le=K),Se=H[K-1]}let Be=K+1;le&&(this.chomping===gt.KEEP?(Be=le,K=this.valueRange.end):K=le);let ve=M+this.blockIndent,je=this.type===g.Type.BLOCK_FOLDED,Et=!0,Ot="",zt="",En=!1;for(let on=ge;on<K;++on){for(let sr=0;sr<ve&&H[on]===" ";++sr)on+=1;let Wn=H[on];if(Wn===`
313
- `)zt===`
314
- `?Ot+=`
315
- `:zt=`
316
- `;else{let sr=g.Node.endOfLine(H,on),Cr=H.slice(on,sr);on=sr,je&&(Wn===" "||Wn===" ")&&on<Be?(zt===" "?zt=`
317
- `:!En&&!Et&&zt===`
318
- `&&(zt=`
319
-
320
- `),Ot+=zt+Cr,zt=sr<K&&H[sr]||"",En=!0):(Ot+=zt+Cr,zt=je&&on<Be?" ":`
321
- `,En=!1),Et&&Cr!==""&&(Et=!1)}}return this.chomping===gt.STRIP?Ot:Ot+`
322
- `}parseBlockHeader(ge){let{src:K}=this.context,M=ge+1,H="";for(;;){let le=K[M];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(ge,M),M}M+=1}}parseBlockValue(ge){let{indent:K,src:M}=this.context,H=!!this.blockIndent,le=ge,Se=ge,Be=1;for(let ve=M[le];ve===`
323
- `&&(le+=1,!g.Node.atDocumentBoundary(M,le));ve=M[le]){let je=g.Node.endOfBlockIndent(M,K,le);if(je===null)break;let Et=M[je],Ot=je-(le+K);if(this.blockIndent){if(Et&&Et!==`
324
- `&&Ot<this.blockIndent){if(M[je]==="#")break;if(!this.error){let zt=`Block scalars must not be less indented than their ${H?"explicit indentation indicator":"first line"}`;this.error=new g.YAMLSemanticError(this,zt)}}}else if(M[je]!==`
325
- `){if(Ot<Be){let zt="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";this.error=new g.YAMLSemanticError(this,zt)}this.blockIndent=Ot}else Ot>Be&&(Be=Ot);M[je]===`
326
- `?le=je:le=Se=g.Node.endOfLine(M,je)}return this.chomping!==gt.KEEP&&(le=M[Se]?Se+1:Se),this.valueRange=new g.Range(ge+1,le),le}parse(ge,K){this.context=ge;let{src:M}=ge,H=this.parseBlockHeader(K);return H=g.Node.endOfWhiteSpace(M,H),H=this.parseComment(H),H=this.parseBlockValue(H),H}setOrigRanges(ge,K){return K=super.setOrigRanges(ge,K),this.header?this.header.setOrigRange(ge,K):K}},Mt=class extends g.Node{constructor(ge,K){super(ge,K),this.items=null}prevNodeIsJsonLike(){let ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.items.length,K=this.items[ge-1];return!!K&&(K.jsonLike||K.type===g.Type.COMMENT&&this.prevNodeIsJsonLike(ge-1))}parse(ge,K){this.context=ge;let{parseNode:M,src:H}=ge,{indent:le,lineStart:Se}=ge,Be=H[K];this.items=[{char:Be,offset:K}];let ve=g.Node.endOfWhiteSpace(H,K+1);for(Be=H[ve];Be&&Be!=="]"&&Be!=="}";){switch(Be){case`
327
- `:{Se=ve+1;let je=g.Node.endOfWhiteSpace(H,Se);if(H[je]===`
328
- `){let Et=new W;Se=Et.parse({src:H},Se),this.items.push(Et)}if(ve=g.Node.endOfIndent(H,Se),ve<=Se+le&&(Be=H[ve],ve<Se+le||Be!=="]"&&Be!=="}")){let Et="Insufficient indentation in flow collection";this.error=new g.YAMLSemanticError(this,Et)}}break;case",":this.items.push({char:Be,offset:ve}),ve+=1;break;case"#":{let je=new ke;ve=je.parse({src:H},ve),this.items.push(je)}break;case"?":case":":{let je=H[ve+1];if(je===`
329
- `||je===" "||je===" "||je===","||Be===":"&&this.prevNodeIsJsonLike()){this.items.push({char:Be,offset:ve}),ve+=1;break}}default:{let je=M({atLineStart:!1,inCollection:!1,inFlow:!0,indent:-1,lineStart:Se,parent:this},ve);if(!je)return this.valueRange=new g.Range(K,ve),ve;this.items.push(je),ve=g.Node.normalizeOffset(H,je.range.end)}}ve=g.Node.endOfWhiteSpace(H,ve),Be=H[ve]}return this.valueRange=new g.Range(K,ve+1),Be&&(this.items.push({char:Be,offset:ve}),ve=g.Node.endOfWhiteSpace(H,ve+1),ve=this.parseComment(ve)),ve}setOrigRanges(ge,K){return K=super.setOrigRanges(ge,K),this.items.forEach(M=>{if(M instanceof g.Node)K=M.setOrigRanges(ge,K);else if(ge.length===0)M.origOffset=M.offset;else{let H=K;for(;H<ge.length&&!(ge[H]>M.offset);)++H;M.origOffset=M.offset+H,K=H}}),K}toString(){let{context:{src:ge},items:K,range:M,value:H}=this;if(H!=null)return H;let le=K.filter(ve=>ve instanceof g.Node),Se="",Be=M.start;return le.forEach(ve=>{let je=ge.slice(Be,ve.range.start);Be=ve.range.end,Se+=je+String(ve),Se[Se.length-1]===`
330
- `&&ge[Be-1]!==`
331
- `&&ge[Be]===`
332
- `&&(Be+=1)}),Se+=ge.slice(Be,M.end),g.Node.addStringTerminator(ge,M.end,Se)}},_t=class extends g.Node{static endOfQuote(ge,K){let M=ge[K];for(;M&&M!=='"';)K+=M==="\\"?2:1,M=ge[K];return K+1}get strValue(){if(!this.valueRange||!this.context)return null;let ge=[],{start:K,end:M}=this.valueRange,{indent:H,src:le}=this.context;le[M-1]!=='"'&&ge.push(new g.YAMLSyntaxError(this,'Missing closing "quote'));let Se="";for(let Be=K+1;Be<M-1;++Be){let ve=le[Be];if(ve===`
333
- `){g.Node.atDocumentBoundary(le,Be+1)&&ge.push(new g.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:je,offset:Et,error:Ot}=g.Node.foldNewline(le,Be,H);Se+=je,Be=Et,Ot&&ge.push(new g.YAMLSemanticError(this,"Multi-line double-quoted string needs to be sufficiently indented"))}else if(ve==="\\")switch(Be+=1,le[Be]){case"0":Se+="\0";break;case"a":Se+="\x07";break;case"b":Se+="\b";break;case"e":Se+="\x1B";break;case"f":Se+="\f";break;case"n":Se+=`
334
- `;break;case"r":Se+="\r";break;case"t":Se+=" ";break;case"v":Se+="\v";break;case"N":Se+="…";break;case"_":Se+=" ";break;case"L":Se+="\u2028";break;case"P":Se+="\u2029";break;case" ":Se+=" ";break;case'"':Se+='"';break;case"/":Se+="/";break;case"\\":Se+="\\";break;case" ":Se+=" ";break;case"x":Se+=this.parseCharCode(Be+1,2,ge),Be+=2;break;case"u":Se+=this.parseCharCode(Be+1,4,ge),Be+=4;break;case"U":Se+=this.parseCharCode(Be+1,8,ge),Be+=8;break;case`
335
- `:for(;le[Be+1]===" "||le[Be+1]===" ";)Be+=1;break;default:ge.push(new g.YAMLSyntaxError(this,`Invalid escape sequence ${le.substr(Be-1,2)}`)),Se+="\\"+le[Be]}else if(ve===" "||ve===" "){let je=Be,Et=le[Be+1];for(;Et===" "||Et===" ";)Be+=1,Et=le[Be+1];Et!==`
336
- `&&(Se+=Be>je?le.slice(je,Be+1):ve)}else Se+=ve}return ge.length>0?{errors:ge,str:Se}:Se}parseCharCode(ge,K,M){let{src:H}=this.context,le=H.substr(ge,K),Se=le.length===K&&/^[0-9a-fA-F]+$/.test(le)?parseInt(le,16):NaN;return isNaN(Se)?(M.push(new g.YAMLSyntaxError(this,`Invalid escape sequence ${H.substr(ge-2,K+2)}`)),H.substr(ge-2,K+2)):String.fromCodePoint(Se)}parse(ge,K){this.context=ge;let{src:M}=ge,H=_t.endOfQuote(M,K+1);return this.valueRange=new g.Range(K,H),H=g.Node.endOfWhiteSpace(M,H),H=this.parseComment(H),H}},Gt=class extends g.Node{static endOfQuote(ge,K){let M=ge[K];for(;M;)if(M==="'"){if(ge[K+1]!=="'")break;M=ge[K+=2]}else M=ge[K+=1];return K+1}get strValue(){if(!this.valueRange||!this.context)return null;let ge=[],{start:K,end:M}=this.valueRange,{indent:H,src:le}=this.context;le[M-1]!=="'"&&ge.push(new g.YAMLSyntaxError(this,"Missing closing 'quote"));let Se="";for(let Be=K+1;Be<M-1;++Be){let ve=le[Be];if(ve===`
337
- `){g.Node.atDocumentBoundary(le,Be+1)&&ge.push(new g.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:je,offset:Et,error:Ot}=g.Node.foldNewline(le,Be,H);Se+=je,Be=Et,Ot&&ge.push(new g.YAMLSemanticError(this,"Multi-line single-quoted string needs to be sufficiently indented"))}else if(ve==="'")Se+=ve,Be+=1,le[Be]!=="'"&&ge.push(new g.YAMLSyntaxError(this,"Unescaped single quote? This should not happen."));else if(ve===" "||ve===" "){let je=Be,Et=le[Be+1];for(;Et===" "||Et===" ";)Be+=1,Et=le[Be+1];Et!==`
338
- `&&(Se+=Be>je?le.slice(je,Be+1):ve)}else Se+=ve}return ge.length>0?{errors:ge,str:Se}:Se}parse(ge,K){this.context=ge;let{src:M}=ge,H=Gt.endOfQuote(M,K+1);return this.valueRange=new g.Range(K,H),H=g.Node.endOfWhiteSpace(M,H),H=this.parseComment(H),H}};function Wt(ge,K){switch(ge){case g.Type.ALIAS:return new rt(ge,K);case g.Type.BLOCK_FOLDED:case g.Type.BLOCK_LITERAL:return new Ft(ge,K);case g.Type.FLOW_MAP:case g.Type.FLOW_SEQ:return new Mt(ge,K);case g.Type.MAP_KEY:case g.Type.MAP_VALUE:case g.Type.SEQ_ITEM:return new Ae(ge,K);case g.Type.COMMENT:case g.Type.PLAIN:return new g.PlainValue(ge,K);case g.Type.QUOTE_DOUBLE:return new _t(ge,K);case g.Type.QUOTE_SINGLE:return new Gt(ge,K);default:return null}}var Xt=class{static parseType(ge,K,M){switch(ge[K]){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!M&&g.Node.atBlank(ge,K+1,!0)?g.Type.MAP_KEY:g.Type.PLAIN;case":":return!M&&g.Node.atBlank(ge,K+1,!0)?g.Type.MAP_VALUE:g.Type.PLAIN;case"-":return!M&&g.Node.atBlank(ge,K+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 ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{atLineStart:K,inCollection:M,inFlow:H,indent:le,lineStart:Se,parent:Be}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};g._defineProperty(this,"parseNode",(ve,je)=>{if(g.Node.atDocumentBoundary(this.src,je))return null;let Et=new Xt(this,ve),{props:Ot,type:zt,valueStart:En}=Et.parseProps(je),on=Wt(zt,Ot),Wn=on.parse(Et,En);if(on.range=new g.Range(je,Wn),Wn<=je&&(on.error=new Error("Node#parse consumed no characters"),on.error.parseEnd=Wn,on.error.source=on,on.range.end=je+1),Et.nodeStartsCollection(on)){!on.error&&!Et.atLineStart&&Et.parent.type===g.Type.DOCUMENT&&(on.error=new g.YAMLSyntaxError(on,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let sr=new Xe(on);return Wn=sr.parse(new Xt(Et),Wn),sr.range=new g.Range(je,Wn),sr}return on}),this.atLineStart=K??(ge.atLineStart||!1),this.inCollection=M??(ge.inCollection||!1),this.inFlow=H??(ge.inFlow||!1),this.indent=le??ge.indent,this.lineStart=Se??ge.lineStart,this.parent=Be??(ge.parent||{}),this.root=ge.root,this.src=ge.src}nodeStartsCollection(ge){let{inCollection:K,inFlow:M,src:H}=this;if(K||M)return!1;if(ge instanceof Ae)return!0;let le=ge.range.end;return H[le]===`
339
- `||H[le-1]===`
340
- `?!1:(le=g.Node.endOfWhiteSpace(H,le),H[le]===":")}parseProps(ge){let{inFlow:K,parent:M,src:H}=this,le=[],Se=!1;ge=this.atLineStart?g.Node.endOfIndent(H,ge):g.Node.endOfWhiteSpace(H,ge);let Be=H[ge];for(;Be===g.Char.ANCHOR||Be===g.Char.COMMENT||Be===g.Char.TAG||Be===`
341
- `;){if(Be===`
342
- `){let je=ge,Et;do Et=je+1,je=g.Node.endOfIndent(H,Et);while(H[je]===`
343
- `);let Ot=je-(Et+this.indent),zt=M.type===g.Type.SEQ_ITEM&&M.context.atLineStart;if(H[je]!=="#"&&!g.Node.nextNodeIsIndented(H[je],Ot,!zt))break;this.atLineStart=!0,this.lineStart=Et,Se=!1,ge=je}else if(Be===g.Char.COMMENT){let je=g.Node.endOfLine(H,ge+1);le.push(new g.Range(ge,je)),ge=je}else{let je=g.Node.endOfIdentifier(H,ge+1);Be===g.Char.TAG&&H[je]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(H.slice(ge+1,je+13))&&(je=g.Node.endOfIdentifier(H,je+5)),le.push(new g.Range(ge,je)),Se=!0,ge=g.Node.endOfWhiteSpace(H,je)}Be=H[ge]}Se&&Be===":"&&g.Node.atBlank(H,ge+1,!0)&&(ge-=1);let ve=Xt.parseType(H,ge,K);return{props:le,type:ve,valueStart:ge}}};function bn(ge){let K=[];ge.indexOf("\r")!==-1&&(ge=ge.replace(/\r\n?/g,(le,Se)=>(le.length>1&&K.push(Se),`
344
- `)));let M=[],H=0;do{let le=new jt,Se=new Xt({src:ge});H=le.parse(Se,H),M.push(le)}while(H<ge.length);return M.setOrigRanges=()=>{if(K.length===0)return!1;for(let Se=1;Se<K.length;++Se)K[Se]-=Se;let le=0;for(let Se=0;Se<M.length;++Se)le=M[Se].setOrigRanges(K,le);return K.splice(0,K.length),!0},M.toString=()=>M.join(`...
345
- `),M}Y.parse=bn}}),rs=p({"node_modules/yaml/dist/resolveSeq-d03cb037.js"(Y){N();var g=Ur();function W(pe,de,Ge){return Ge?`#${Ge.replace(/[\s\S]^/gm,`$&${de}#`)}
346
- ${de}${pe}`:pe}function Ae(pe,de,Ge){return Ge?Ge.indexOf(`
347
- `)===-1?`${pe} #${Ge}`:`${pe}
348
- `+Ge.replace(/^/gm,`${de||""}#`):pe}var ke=class{};function Le(pe,de,Ge){if(Array.isArray(pe))return pe.map((He,Ke)=>Le(He,String(Ke),Ge));if(pe&&typeof pe.toJSON=="function"){let He=Ge&&Ge.anchors&&Ge.anchors.get(pe);He&&(Ge.onCreate=Ze=>{He.res=Ze,delete Ge.onCreate});let Ke=pe.toJSON(de,Ge);return He&&Ge.onCreate&&Ge.onCreate(Ke),Ke}return(!Ge||!Ge.keep)&&typeof pe=="bigint"?Number(pe):pe}var Xe=class extends ke{constructor(pe){super(),this.value=pe}toJSON(pe,de){return de&&de.keep?this.value:Le(this.value,pe,de)}toString(){return String(this.value)}};function ht(pe,de,Ge){let He=Ge;for(let Ke=de.length-1;Ke>=0;--Ke){let Ze=de[Ke];if(Number.isInteger(Ze)&&Ze>=0){let At=[];At[Ze]=He,He=At}else{let At={};Object.defineProperty(At,Ze,{value:He,writable:!0,enumerable:!0,configurable:!0}),He=At}}return pe.createNode(He,!1)}var jt=pe=>pe==null||typeof pe=="object"&&pe[Symbol.iterator]().next().done,rt=class extends ke{constructor(pe){super(),g._defineProperty(this,"items",[]),this.schema=pe}addIn(pe,de){if(jt(pe))this.add(de);else{let[Ge,...He]=pe,Ke=this.get(Ge,!0);if(Ke instanceof rt)Ke.addIn(He,de);else if(Ke===void 0&&this.schema)this.set(Ge,ht(this.schema,He,de));else throw new Error(`Expected YAML collection at ${Ge}. Remaining path: ${He}`)}}deleteIn(pe){let[de,...Ge]=pe;if(Ge.length===0)return this.delete(de);let He=this.get(de,!0);if(He instanceof rt)return He.deleteIn(Ge);throw new Error(`Expected YAML collection at ${de}. Remaining path: ${Ge}`)}getIn(pe,de){let[Ge,...He]=pe,Ke=this.get(Ge,!0);return He.length===0?!de&&Ke instanceof Xe?Ke.value:Ke:Ke instanceof rt?Ke.getIn(He,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 Xe&&de.value==null&&!de.commentBefore&&!de.comment&&!de.tag})}hasIn(pe){let[de,...Ge]=pe;if(Ge.length===0)return this.has(de);let He=this.get(de,!0);return He instanceof rt?He.hasIn(Ge):!1}setIn(pe,de){let[Ge,...He]=pe;if(He.length===0)this.set(Ge,de);else{let Ke=this.get(Ge,!0);if(Ke instanceof rt)Ke.setIn(He,de);else if(Ke===void 0&&this.schema)this.set(Ge,ht(this.schema,He,de));else throw new Error(`Expected YAML collection at ${Ge}. Remaining path: ${He}`)}}toJSON(){return null}toString(pe,de,Ge,He){let{blockItem:Ke,flowChars:Ze,isMap:At,itemIndent:xt}=de,{indent:Kt,indentStep:rn,stringify:hn}=pe,In=this.type===g.Type.FLOW_MAP||this.type===g.Type.FLOW_SEQ||pe.inFlow;In&&(xt+=rn);let lr=At&&this.hasAllNullValues();pe=Object.assign({},pe,{allNullValues:lr,indent:xt,inFlow:In,type:null});let cr=!1,Vn=!1,rr=this.items.reduce(($r,ur,qr)=>{let gr;ur&&(!cr&&ur.spaceBefore&&$r.push({type:"comment",str:""}),ur.commentBefore&&ur.commentBefore.match(/^.*$/gm).forEach(Wa=>{$r.push({type:"comment",str:`#${Wa}`})}),ur.comment&&(gr=ur.comment),In&&(!cr&&ur.spaceBefore||ur.commentBefore||ur.comment||ur.key&&(ur.key.commentBefore||ur.key.comment)||ur.value&&(ur.value.commentBefore||ur.value.comment))&&(Vn=!0)),cr=!1;let wr=hn(ur,pe,()=>gr=null,()=>cr=!0);return In&&!Vn&&wr.includes(`
349
- `)&&(Vn=!0),In&&qr<this.items.length-1&&(wr+=","),wr=Ae(wr,xt,gr),cr&&(gr||In)&&(cr=!1),$r.push({type:"item",str:wr}),$r},[]),tr;if(rr.length===0)tr=Ze.start+Ze.end;else if(In){let{start:$r,end:ur}=Ze,qr=rr.map(gr=>gr.str);if(Vn||qr.reduce((gr,wr)=>gr+wr.length+2,2)>rt.maxFlowStringSingleLineLength){tr=$r;for(let gr of qr)tr+=gr?`
350
- ${rn}${Kt}${gr}`:`
351
- `;tr+=`
352
- ${Kt}${ur}`}else tr=`${$r} ${qr.join(" ")} ${ur}`}else{let $r=rr.map(Ke);tr=$r.shift();for(let ur of $r)tr+=ur?`
353
- ${Kt}${ur}`:`
354
- `}return this.comment?(tr+=`
355
- `+this.comment.replace(/^/gm,`${Kt}#`),Ge&&Ge()):cr&&He&&He(),tr}};g._defineProperty(rt,"maxFlowStringSingleLineLength",60);function gt(pe){let de=pe instanceof Xe?pe.value:pe;return de&&typeof de=="string"&&(de=Number(de)),Number.isInteger(de)&&de>=0?de:null}var Ft=class extends rt{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 Ge=gt(pe);if(typeof Ge!="number")return;let He=this.items[Ge];return!de&&He instanceof Xe?He.value:He}has(pe){let de=gt(pe);return typeof de=="number"&&de<this.items.length}set(pe,de){let Ge=gt(pe);if(typeof Ge!="number")throw new Error(`Expected a valid index, not ${pe}.`);this.items[Ge]=de}toJSON(pe,de){let Ge=[];de&&de.onCreate&&de.onCreate(Ge);let He=0;for(let Ke of this.items)Ge.push(Le(Ke,String(He++),de));return Ge}toString(pe,de,Ge){return pe?super.toString(pe,{blockItem:He=>He.type==="comment"?He.str:`- ${He.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(pe.indent||"")+" "},de,Ge):JSON.stringify(this)}},Mt=(pe,de,Ge)=>de===null?"":typeof de!="object"?String(de):pe instanceof ke&&Ge&&Ge.doc?pe.toString({anchors:Object.create(null),doc:Ge.doc,indent:"",indentStep:Ge.indentStep,inFlow:!0,inStringifyKey:!0,stringify:Ge.stringify}):JSON.stringify(de),_t=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=_t.Type.PAIR}get commentBefore(){return this.key instanceof ke?this.key.commentBefore:void 0}set commentBefore(pe){if(this.key==null&&(this.key=new Xe(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 Ge=Le(this.key,"",pe);if(de instanceof Map){let He=Le(this.value,Ge,pe);de.set(Ge,He)}else if(de instanceof Set)de.add(Ge);else{let He=Mt(this.key,Ge,pe),Ke=Le(this.value,He,pe);He in de?Object.defineProperty(de,He,{value:Ke,writable:!0,enumerable:!0,configurable:!0}):de[He]=Ke}return de}toJSON(pe,de){let Ge=de&&de.mapAsMap?new Map:{};return this.addToJSMap(de,Ge)}toString(pe,de,Ge){if(!pe||!pe.doc)return JSON.stringify(this);let{indent:He,indentSeq:Ke,simpleKeys:Ze}=pe.doc.options,{key:At,value:xt}=this,Kt=At instanceof ke&&At.comment;if(Ze){if(Kt)throw new Error("With simple keys, key nodes cannot have comments");if(At instanceof rt){let gr="With simple keys, collection cannot be used as a key value";throw new Error(gr)}}let rn=!Ze&&(!At||Kt||(At instanceof ke?At instanceof rt||At.type===g.Type.BLOCK_FOLDED||At.type===g.Type.BLOCK_LITERAL:typeof At=="object")),{doc:hn,indent:In,indentStep:lr,stringify:cr}=pe;pe=Object.assign({},pe,{implicitKey:!rn,indent:In+lr});let Vn=!1,rr=cr(At,pe,()=>Kt=null,()=>Vn=!0);if(rr=Ae(rr,pe.indent,Kt),!rn&&rr.length>1024){if(Ze)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");rn=!0}if(pe.allNullValues&&!Ze)return this.comment?(rr=Ae(rr,pe.indent,this.comment),de&&de()):Vn&&!Kt&&Ge&&Ge(),pe.inFlow&&!rn?rr:`? ${rr}`;rr=rn?`? ${rr}
356
- ${In}:`:`${rr}:`,this.comment&&(rr=Ae(rr,pe.indent,this.comment),de&&de());let tr="",$r=null;if(xt instanceof ke){if(xt.spaceBefore&&(tr=`
357
- `),xt.commentBefore){let gr=xt.commentBefore.replace(/^/gm,`${pe.indent}#`);tr+=`
358
- ${gr}`}$r=xt.comment}else xt&&typeof xt=="object"&&(xt=hn.schema.createNode(xt,!0));pe.implicitKey=!1,!rn&&!this.comment&&xt instanceof Xe&&(pe.indentAtStart=rr.length+1),Vn=!1,!Ke&&He>=2&&!pe.inFlow&&!rn&&xt instanceof Ft&&xt.type!==g.Type.FLOW_SEQ&&!xt.tag&&!hn.anchors.getName(xt)&&(pe.indent=pe.indent.substr(2));let ur=cr(xt,pe,()=>$r=null,()=>Vn=!0),qr=" ";return tr||this.comment?qr=`${tr}
359
- ${pe.indent}`:!rn&&xt instanceof rt?(!(ur[0]==="["||ur[0]==="{")||ur.includes(`
360
- `))&&(qr=`
361
- ${pe.indent}`):ur[0]===`
362
- `&&(qr=""),Vn&&!$r&&Ge&&Ge(),Ae(rr+qr+ur,pe.indent,$r)}};g._defineProperty(_t,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var Gt=(pe,de)=>{if(pe instanceof Wt){let Ge=de.get(pe.source);return Ge.count*Ge.aliasCount}else if(pe instanceof rt){let Ge=0;for(let He of pe.items){let Ke=Gt(He,de);Ke>Ge&&(Ge=Ke)}return Ge}else if(pe instanceof _t){let Ge=Gt(pe.key,de),He=Gt(pe.value,de);return Math.max(Ge,He)}return 1},Wt=class extends ke{static stringify(pe,de){let{range:Ge,source:He}=pe,{anchors:Ke,doc:Ze,implicitKey:At,inStringifyKey:xt}=de,Kt=Object.keys(Ke).find(hn=>Ke[hn]===He);if(!Kt&&xt&&(Kt=Ze.anchors.getName(He)||Ze.anchors.newName()),Kt)return`*${Kt}${At?" ":""}`;let rn=Ze.anchors.getName(He)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${rn} [${Ge}]`)}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 Le(this.source,pe,de);let{anchors:Ge,maxAliasCount:He}=de,Ke=Ge.get(this.source);if(!Ke||Ke.res===void 0){let Ze="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new g.YAMLReferenceError(this.cstNode,Ze):new ReferenceError(Ze)}if(He>=0&&(Ke.count+=1,Ke.aliasCount===0&&(Ke.aliasCount=Gt(this.source,Ge)),Ke.count*Ke.aliasCount>He)){let Ze="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new g.YAMLReferenceError(this.cstNode,Ze):new ReferenceError(Ze)}return Ke.res}toString(pe){return Wt.stringify(this,pe)}};g._defineProperty(Wt,"default",!0);function Xt(pe,de){let Ge=de instanceof Xe?de.value:de;for(let He of pe)if(He instanceof _t&&(He.key===de||He.key===Ge||He.key&&He.key.value===Ge))return He}var bn=class extends rt{add(pe,de){pe?pe instanceof _t||(pe=new _t(pe.key||pe,pe.value)):pe=new _t(pe);let Ge=Xt(this.items,pe.key),He=this.schema&&this.schema.sortMapEntries;if(Ge)if(de)Ge.value=pe.value;else throw new Error(`Key ${pe.key} already set`);else if(He){let Ke=this.items.findIndex(Ze=>He(pe,Ze)<0);Ke===-1?this.items.push(pe):this.items.splice(Ke,0,pe)}else this.items.push(pe)}delete(pe){let de=Xt(this.items,pe);return de?this.items.splice(this.items.indexOf(de),1).length>0:!1}get(pe,de){let Ge=Xt(this.items,pe),He=Ge&&Ge.value;return!de&&He instanceof Xe?He.value:He}has(pe){return!!Xt(this.items,pe)}set(pe,de){this.add(new _t(pe,de),!0)}toJSON(pe,de,Ge){let He=Ge?new Ge:de&&de.mapAsMap?new Map:{};de&&de.onCreate&&de.onCreate(He);for(let Ke of this.items)Ke.addToJSMap(de,He);return He}toString(pe,de,Ge){if(!pe)return JSON.stringify(this);for(let He of this.items)if(!(He instanceof _t))throw new Error(`Map items must all be pairs; found ${JSON.stringify(He)} instead`);return super.toString(pe,{blockItem:He=>He.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:pe.indent||""},de,Ge)}},ge="<<",K=class extends _t{constructor(pe){if(pe instanceof _t){let de=pe.value;de instanceof Ft||(de=new Ft,de.items.push(pe.value),de.range=pe.value.range),super(pe.key,de),this.range=pe.range}else super(new Xe(ge),new Ft);this.type=_t.Type.MERGE_PAIR}addToJSMap(pe,de){for(let{source:Ge}of this.value.items){if(!(Ge instanceof bn))throw new Error("Merge sources must be maps");let He=Ge.toJSON(null,pe,Map);for(let[Ke,Ze]of He)de instanceof Map?de.has(Ke)||de.set(Ke,Ze):de instanceof Set?de.add(Ke):Object.prototype.hasOwnProperty.call(de,Ke)||Object.defineProperty(de,Ke,{value:Ze,writable:!0,enumerable:!0,configurable:!0})}return de}toString(pe,de){let Ge=this.value;if(Ge.items.length>1)return super.toString(pe,de);this.value=Ge.items[0];let He=super.toString(pe,de);return this.value=Ge,He}},M={defaultType:g.Type.BLOCK_LITERAL,lineWidth:76},H={trueStr:"true",falseStr:"false"},le={asBigInt:!1},Se={nullStr:"null"},Be={defaultType:g.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function ve(pe,de,Ge){for(let{format:He,test:Ke,resolve:Ze}of de)if(Ke){let At=pe.match(Ke);if(At){let xt=Ze.apply(null,At);return xt instanceof Xe||(xt=new Xe(xt)),He&&(xt.format=He),xt}}return Ge&&(pe=Ge(pe)),new Xe(pe)}var je="flow",Et="block",Ot="quoted",zt=(pe,de)=>{let Ge=pe[de+1];for(;Ge===" "||Ge===" ";){do Ge=pe[de+=1];while(Ge&&Ge!==`
363
- `);Ge=pe[de+1]}return de};function En(pe,de,Ge,He){let{indentAtStart:Ke,lineWidth:Ze=80,minContentWidth:At=20,onFold:xt,onOverflow:Kt}=He;if(!Ze||Ze<0)return pe;let rn=Math.max(1+At,1+Ze-de.length);if(pe.length<=rn)return pe;let hn=[],In={},lr=Ze-de.length;typeof Ke=="number"&&(Ke>Ze-Math.max(2,At)?hn.push(0):lr=Ze-Ke);let cr,Vn,rr=!1,tr=-1,$r=-1,ur=-1;Ge===Et&&(tr=zt(pe,tr),tr!==-1&&(lr=tr+rn));for(let gr;gr=pe[tr+=1];){if(Ge===Ot&&gr==="\\"){switch($r=tr,pe[tr+1]){case"x":tr+=3;break;case"u":tr+=5;break;case"U":tr+=9;break;default:tr+=1}ur=tr}if(gr===`
364
- `)Ge===Et&&(tr=zt(pe,tr)),lr=tr+rn,cr=void 0;else{if(gr===" "&&Vn&&Vn!==" "&&Vn!==`
365
- `&&Vn!==" "){let wr=pe[tr+1];wr&&wr!==" "&&wr!==`
366
- `&&wr!==" "&&(cr=tr)}if(tr>=lr)if(cr)hn.push(cr),lr=cr+rn,cr=void 0;else if(Ge===Ot){for(;Vn===" "||Vn===" ";)Vn=gr,gr=pe[tr+=1],rr=!0;let wr=tr>ur+1?tr-2:$r-1;if(In[wr])return pe;hn.push(wr),In[wr]=!0,lr=wr+rn,cr=void 0}else rr=!0}Vn=gr}if(rr&&Kt&&Kt(),hn.length===0)return pe;xt&&xt();let qr=pe.slice(0,hn[0]);for(let gr=0;gr<hn.length;++gr){let wr=hn[gr],Wa=hn[gr+1]||pe.length;wr===0?qr=`
367
- ${de}${pe.slice(0,Wa)}`:(Ge===Ot&&In[wr]&&(qr+=`${pe[wr]}\\`),qr+=`
368
- ${de}${pe.slice(wr+1,Wa)}`)}return qr}var on=pe=>{let{indentAtStart:de}=pe;return de?Object.assign({indentAtStart:de},Be.fold):Be.fold},Wn=pe=>/^(%|---|\.\.\.)/m.test(pe);function sr(pe,de,Ge){if(!de||de<0)return!1;let He=de-Ge,Ke=pe.length;if(Ke<=He)return!1;for(let Ze=0,At=0;Ze<Ke;++Ze)if(pe[Ze]===`
369
- `){if(Ze-At>He)return!0;if(At=Ze+1,Ke-At<=He)return!1}return!0}function Cr(pe,de){let{implicitKey:Ge}=de,{jsonEncoding:He,minMultiLineLength:Ke}=Be.doubleQuoted,Ze=JSON.stringify(pe);if(He)return Ze;let At=de.indent||(Wn(pe)?" ":""),xt="",Kt=0;for(let rn=0,hn=Ze[rn];hn;hn=Ze[++rn])if(hn===" "&&Ze[rn+1]==="\\"&&Ze[rn+2]==="n"&&(xt+=Ze.slice(Kt,rn)+"\\ ",rn+=1,Kt=rn,hn="\\"),hn==="\\")switch(Ze[rn+1]){case"u":{xt+=Ze.slice(Kt,rn);let In=Ze.substr(rn+2,4);switch(In){case"0000":xt+="\\0";break;case"0007":xt+="\\a";break;case"000b":xt+="\\v";break;case"001b":xt+="\\e";break;case"0085":xt+="\\N";break;case"00a0":xt+="\\_";break;case"2028":xt+="\\L";break;case"2029":xt+="\\P";break;default:In.substr(0,2)==="00"?xt+="\\x"+In.substr(2):xt+=Ze.substr(rn,6)}rn+=5,Kt=rn+1}break;case"n":if(Ge||Ze[rn+2]==='"'||Ze.length<Ke)rn+=1;else{for(xt+=Ze.slice(Kt,rn)+`
370
-
371
- `;Ze[rn+2]==="\\"&&Ze[rn+3]==="n"&&Ze[rn+4]!=='"';)xt+=`
372
- `,rn+=2;xt+=At,Ze[rn+2]===" "&&(xt+="\\"),rn+=1,Kt=rn+1}break;default:rn+=1}return xt=Kt?xt+Ze.slice(Kt):Ze,Ge?xt:En(xt,At,Ot,on(de))}function gi(pe,de){if(de.implicitKey){if(/\n/.test(pe))return Cr(pe,de)}else if(/[ \t]\n|\n[ \t]/.test(pe))return Cr(pe,de);let Ge=de.indent||(Wn(pe)?" ":""),He="'"+pe.replace(/'/g,"''").replace(/\n+/g,`$&
373
- ${Ge}`)+"'";return de.implicitKey?He:En(He,Ge,je,on(de))}function li(pe,de,Ge,He){let{comment:Ke,type:Ze,value:At}=pe;if(/\n[\t ]+$/.test(At)||/^\s*$/.test(At))return Cr(At,de);let xt=de.indent||(de.forceBlockIndent||Wn(At)?" ":""),Kt=xt?"2":"1",rn=Ze===g.Type.BLOCK_FOLDED?!1:Ze===g.Type.BLOCK_LITERAL?!0:!sr(At,Be.fold.lineWidth,xt.length),hn=rn?"|":">";if(!At)return hn+`
374
- `;let In="",lr="";if(At=At.replace(/[\n\t ]*$/,Vn=>{let rr=Vn.indexOf(`
375
- `);return rr===-1?hn+="-":(At===Vn||rr!==Vn.length-1)&&(hn+="+",He&&He()),lr=Vn.replace(/\n$/,""),""}).replace(/^[\n ]*/,Vn=>{Vn.indexOf(" ")!==-1&&(hn+=Kt);let rr=Vn.match(/ +$/);return rr?(In=Vn.slice(0,-rr[0].length),rr[0]):(In=Vn,"")}),lr&&(lr=lr.replace(/\n+(?!\n|$)/g,`$&${xt}`)),In&&(In=In.replace(/\n+/g,`$&${xt}`)),Ke&&(hn+=" #"+Ke.replace(/ ?[\r\n]+/g," "),Ge&&Ge()),!At)return`${hn}${Kt}
376
- ${xt}${lr}`;if(rn)return At=At.replace(/\n+/g,`$&${xt}`),`${hn}
377
- ${xt}${In}${At}${lr}`;At=At.replace(/\n+/g,`
378
- $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${xt}`);let cr=En(`${In}${At}${lr}`,xt,Et,Be.fold);return`${hn}
379
- ${xt}${cr}`}function yt(pe,de,Ge,He){let{comment:Ke,type:Ze,value:At}=pe,{actualString:xt,implicitKey:Kt,indent:rn,inFlow:hn}=de;if(Kt&&/[\n[\]{},]/.test(At)||hn&&/[[\]{},]/.test(At))return Cr(At,de);if(!At||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(At))return Kt||hn||At.indexOf(`
380
- `)===-1?At.indexOf('"')!==-1&&At.indexOf("'")===-1?gi(At,de):Cr(At,de):li(pe,de,Ge,He);if(!Kt&&!hn&&Ze!==g.Type.PLAIN&&At.indexOf(`
381
- `)!==-1)return li(pe,de,Ge,He);if(rn===""&&Wn(At))return de.forceBlockIndent=!0,li(pe,de,Ge,He);let In=At.replace(/\n+/g,`$&
382
- ${rn}`);if(xt){let{tags:cr}=de.doc.schema;if(typeof ve(In,cr,cr.scalarFallback).value!="string")return Cr(At,de)}let lr=Kt?In:En(In,rn,je,on(de));return Ke&&!hn&&(lr.indexOf(`
383
- `)!==-1||Ke.indexOf(`
384
- `)!==-1)?(Ge&&Ge(),W(lr,rn,Ke)):lr}function tn(pe,de,Ge,He){let{defaultType:Ke}=Be,{implicitKey:Ze,inFlow:At}=de,{type:xt,value:Kt}=pe;typeof Kt!="string"&&(Kt=String(Kt),pe=Object.assign({},pe,{value:Kt}));let rn=In=>{switch(In){case g.Type.BLOCK_FOLDED:case g.Type.BLOCK_LITERAL:return li(pe,de,Ge,He);case g.Type.QUOTE_DOUBLE:return Cr(Kt,de);case g.Type.QUOTE_SINGLE:return gi(Kt,de);case g.Type.PLAIN:return yt(pe,de,Ge,He);default:return null}};(xt!==g.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(Kt)||(Ze||At)&&(xt===g.Type.BLOCK_FOLDED||xt===g.Type.BLOCK_LITERAL))&&(xt=g.Type.QUOTE_DOUBLE);let hn=rn(xt);if(hn===null&&(hn=rn(Ke),hn===null))throw new Error(`Unsupported default string type ${Ke}`);return hn}function mn(pe){let{format:de,minFractionDigits:Ge,tag:He,value:Ke}=pe;if(typeof Ke=="bigint")return String(Ke);if(!isFinite(Ke))return isNaN(Ke)?".nan":Ke<0?"-.inf":".inf";let Ze=JSON.stringify(Ke);if(!de&&Ge&&(!He||He==="tag:yaml.org,2002:float")&&/^\d/.test(Ze)){let At=Ze.indexOf(".");At<0&&(At=Ze.length,Ze+=".");let xt=Ge-(Ze.length-At-1);for(;xt-- >0;)Ze+="0"}return Ze}function Cn(pe,de){let Ge,He;switch(de.type){case g.Type.FLOW_MAP:Ge="}",He="flow map";break;case g.Type.FLOW_SEQ:Ge="]",He="flow sequence";break;default:pe.push(new g.YAMLSemanticError(de,"Not a flow collection!?"));return}let Ke;for(let Ze=de.items.length-1;Ze>=0;--Ze){let At=de.items[Ze];if(!At||At.type!==g.Type.COMMENT){Ke=At;break}}if(Ke&&Ke.char!==Ge){let Ze=`Expected ${He} to end with ${Ge}`,At;typeof Ke.offset=="number"?(At=new g.YAMLSemanticError(de,Ze),At.offset=Ke.offset+1):(At=new g.YAMLSemanticError(Ke,Ze),Ke.range&&Ke.range.end&&(At.offset=Ke.range.end-Ke.range.start)),pe.push(At)}}function Yn(pe,de){let Ge=de.context.src[de.range.start-1];if(Ge!==`
385
- `&&Ge!==" "&&Ge!==" "){let He="Comments must be separated from other tokens by white space characters";pe.push(new g.YAMLSemanticError(de,He))}}function or(pe,de){let Ge=String(de),He=Ge.substr(0,8)+"..."+Ge.substr(-8);return new g.YAMLSemanticError(pe,`The "${He}" key is too long`)}function Ii(pe,de){for(let{afterKey:Ge,before:He,comment:Ke}of de){let Ze=pe.items[He];Ze?(Ge&&Ze.value&&(Ze=Ze.value),Ke===void 0?(Ge||!Ze.commentBefore)&&(Ze.spaceBefore=!0):Ze.commentBefore?Ze.commentBefore+=`
386
- `+Ke:Ze.commentBefore=Ke):Ke!==void 0&&(pe.comment?pe.comment+=`
387
- `+Ke:pe.comment=Ke)}}function Ji(pe,de){let Ge=de.strValue;return Ge?typeof Ge=="string"?Ge:(Ge.errors.forEach(He=>{He.source||(He.source=de),pe.errors.push(He)}),Ge.str):""}function Yi(pe,de){let{handle:Ge,suffix:He}=de.tag,Ke=pe.tagPrefixes.find(Ze=>Ze.handle===Ge);if(!Ke){let Ze=pe.getDefaults().tagPrefixes;if(Ze&&(Ke=Ze.find(At=>At.handle===Ge)),!Ke)throw new g.YAMLSemanticError(de,`The ${Ge} tag handle is non-default and was not declared.`)}if(!He)throw new g.YAMLSemanticError(de,`The ${Ge} tag has no suffix.`);if(Ge==="!"&&(pe.version||pe.options.version)==="1.0"){if(He[0]==="^")return pe.warnings.push(new g.YAMLWarning(de,"YAML 1.0 ^ tag expansion is not supported")),He;if(/[:/]/.test(He)){let Ze=He.match(/^([a-z0-9-]+)\/(.*)/i);return Ze?`tag:${Ze[1]}.yaml.org,2002:${Ze[2]}`:`tag:${He}`}}return Ke.prefix+decodeURIComponent(He)}function Mi(pe,de){let{tag:Ge,type:He}=de,Ke=!1;if(Ge){let{handle:Ze,suffix:At,verbatim:xt}=Ge;if(xt){if(xt!=="!"&&xt!=="!!")return xt;let Kt=`Verbatim tags aren't resolved, so ${xt} is invalid.`;pe.errors.push(new g.YAMLSemanticError(de,Kt))}else if(Ze==="!"&&!At)Ke=!0;else try{return Yi(pe,de)}catch(Kt){pe.errors.push(Kt)}}switch(He){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 Ke?g.defaultTags.STR:null;default:return null}}function Zs(pe,de,Ge){let{tags:He}=pe.schema,Ke=[];for(let At of He)if(At.tag===Ge)if(At.test)Ke.push(At);else{let xt=At.resolve(pe,de);return xt instanceof rt?xt:new Xe(xt)}let Ze=Ji(pe,de);return typeof Ze=="string"&&Ke.length>0?ve(Ze,Ke,He.scalarFallback):null}function qa(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 _o(pe,de,Ge){try{let He=Zs(pe,de,Ge);if(He)return Ge&&de.tag&&(He.tag=Ge),He}catch(He){return He.source||(He.source=de),pe.errors.push(He),null}try{let He=qa(de);if(!He)throw new Error(`The tag ${Ge} is unavailable`);let Ke=`The tag ${Ge} is unavailable, falling back to ${He}`;pe.warnings.push(new g.YAMLWarning(de,Ke));let Ze=Zs(pe,de,He);return Ze.tag=Ge,Ze}catch(He){let Ke=new g.YAMLReferenceError(de,He.message);return Ke.stack=He.stack,pe.errors.push(Ke),null}}var ol=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 xf(pe,de){let Ge={before:[],after:[]},He=!1,Ke=!1,Ze=ol(de.context.parent)?de.context.parent.props.concat(de.props):de.props;for(let{start:At,end:xt}of Ze)switch(de.context.src[At]){case g.Char.COMMENT:{if(!de.commentHasRequiredWhitespace(At)){let hn="Comments must be separated from other tokens by white space characters";pe.push(new g.YAMLSemanticError(de,hn))}let{header:Kt,valueRange:rn}=de;(rn&&(At>rn.start||Kt&&At>Kt.start)?Ge.after:Ge.before).push(de.context.src.slice(At+1,xt));break}case g.Char.ANCHOR:if(He){let Kt="A node can have at most one anchor";pe.push(new g.YAMLSemanticError(de,Kt))}He=!0;break;case g.Char.TAG:if(Ke){let Kt="A node can have at most one tag";pe.push(new g.YAMLSemanticError(de,Kt))}Ke=!0;break}return{comments:Ge,hasAnchor:He,hasTag:Ke}}function wf(pe,de){let{anchors:Ge,errors:He,schema:Ke}=pe;if(de.type===g.Type.ALIAS){let At=de.rawValue,xt=Ge.getNode(At);if(!xt){let rn=`Aliased anchor not found: ${At}`;return He.push(new g.YAMLReferenceError(de,rn)),null}let Kt=new Wt(xt);return Ge._cstAliases.push(Kt),Kt}let Ze=Mi(pe,de);if(Ze)return _o(pe,de,Ze);if(de.type!==g.Type.PLAIN){let At=`Failed to resolve ${de.type} node here`;return He.push(new g.YAMLSyntaxError(de,At)),null}try{let At=Ji(pe,de);return ve(At,Ke.tags,Ke.tags.scalarFallback)}catch(At){return At.source||(At.source=de),He.push(At),null}}function yi(pe,de){if(!de)return null;de.error&&pe.errors.push(de.error);let{comments:Ge,hasAnchor:He,hasTag:Ke}=xf(pe.errors,de);if(He){let{anchors:At}=pe,xt=de.anchor,Kt=At.getNode(xt);Kt&&(At.map[At.newName(xt)]=Kt),At.map[xt]=de}if(de.type===g.Type.ALIAS&&(He||Ke)){let At="An alias node must not specify any properties";pe.errors.push(new g.YAMLSemanticError(de,At))}let Ze=wf(pe,de);if(Ze){Ze.range=[de.range.start,de.range.end],pe.options.keepCstNodes&&(Ze.cstNode=de),pe.options.keepNodeTypes&&(Ze.type=de.type);let At=Ge.before.join(`
388
- `);At&&(Ze.commentBefore=Ze.commentBefore?`${Ze.commentBefore}
389
- ${At}`:At);let xt=Ge.after.join(`
390
- `);xt&&(Ze.comment=Ze.comment?`${Ze.comment}
391
- ${xt}`:xt)}return de.resolved=Ze}function Ff(pe,de){if(de.type!==g.Type.MAP&&de.type!==g.Type.FLOW_MAP){let At=`A ${de.type} node cannot be resolved as a mapping`;return pe.errors.push(new g.YAMLSyntaxError(de,At)),null}let{comments:Ge,items:He}=de.type===g.Type.FLOW_MAP?kf(pe,de):Tf(pe,de),Ke=new bn;Ke.items=He,Ii(Ke,Ge);let Ze=!1;for(let At=0;At<He.length;++At){let{key:xt}=He[At];if(xt instanceof rt&&(Ze=!0),pe.schema.merge&&xt&&xt.value===ge){He[At]=new K(He[At]);let Kt=He[At].value.items,rn=null;Kt.some(hn=>{if(hn instanceof Wt){let{type:In}=hn.source;return In===g.Type.MAP||In===g.Type.FLOW_MAP?!1:rn="Merge nodes aliases can only point to maps"}return rn="Merge nodes can only have Alias nodes as values"}),rn&&pe.errors.push(new g.YAMLSemanticError(de,rn))}else for(let Kt=At+1;Kt<He.length;++Kt){let{key:rn}=He[Kt];if(xt===rn||xt&&rn&&Object.prototype.hasOwnProperty.call(xt,"value")&&xt.value===rn.value){let hn=`Map keys must be unique; "${xt}" is repeated`;pe.errors.push(new g.YAMLSemanticError(de,hn));break}}}if(Ze&&!pe.options.mapAsMap){let At="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,At))}return de.resolved=Ke,Ke}var Nf=pe=>{let{context:{lineStart:de,node:Ge,src:He},props:Ke}=pe;if(Ke.length===0)return!1;let{start:Ze}=Ke[0];if(Ge&&Ze>Ge.valueRange.start||He[Ze]!==g.Char.COMMENT)return!1;for(let At=de;At<Ze;++At)if(He[At]===`
392
- `)return!1;return!0};function _f(pe,de){if(!Nf(pe))return;let Ge=pe.getPropValue(0,g.Char.COMMENT,!0),He=!1,Ke=de.value.commentBefore;if(Ke&&Ke.startsWith(Ge))de.value.commentBefore=Ke.substr(Ge.length+1),He=!0;else{let Ze=de.value.comment;!pe.node&&Ze&&Ze.startsWith(Ge)&&(de.value.comment=Ze.substr(Ge.length+1),He=!0)}He&&(de.comment=Ge)}function Tf(pe,de){let Ge=[],He=[],Ke,Ze=null;for(let At=0;At<de.items.length;++At){let xt=de.items[At];switch(xt.type){case g.Type.BLANK_LINE:Ge.push({afterKey:!!Ke,before:He.length});break;case g.Type.COMMENT:Ge.push({afterKey:!!Ke,before:He.length,comment:xt.comment});break;case g.Type.MAP_KEY:Ke!==void 0&&He.push(new _t(Ke)),xt.error&&pe.errors.push(xt.error),Ke=yi(pe,xt.node),Ze=null;break;case g.Type.MAP_VALUE:{if(Ke===void 0&&(Ke=null),xt.error&&pe.errors.push(xt.error),!xt.context.atLineStart&&xt.node&&xt.node.type===g.Type.MAP&&!xt.node.context.atLineStart){let hn="Nested mappings are not allowed in compact mappings";pe.errors.push(new g.YAMLSemanticError(xt.node,hn))}let Kt=xt.node;if(!Kt&&xt.props.length>0){Kt=new g.PlainValue(g.Type.PLAIN,[]),Kt.context={parent:xt,src:xt.context.src};let hn=xt.range.start+1;if(Kt.range={start:hn,end:hn},Kt.valueRange={start:hn,end:hn},typeof xt.range.origStart=="number"){let In=xt.range.origStart+1;Kt.range.origStart=Kt.range.origEnd=In,Kt.valueRange.origStart=Kt.valueRange.origEnd=In}}let rn=new _t(Ke,yi(pe,Kt));_f(xt,rn),He.push(rn),Ke&&typeof Ze=="number"&&xt.range.start>Ze+1024&&pe.errors.push(or(de,Ke)),Ke=void 0,Ze=null}break;default:Ke!==void 0&&He.push(new _t(Ke)),Ke=yi(pe,xt),Ze=xt.range.start,xt.error&&pe.errors.push(xt.error);e:for(let Kt=At+1;;++Kt){let rn=de.items[Kt];switch(rn&&rn.type){case g.Type.BLANK_LINE:case g.Type.COMMENT:continue e;case g.Type.MAP_VALUE:break e;default:{let hn="Implicit map keys need to be followed by map values";pe.errors.push(new g.YAMLSemanticError(xt,hn));break e}}}if(xt.valueRangeContainsNewline){let Kt="Implicit map keys need to be on a single line";pe.errors.push(new g.YAMLSemanticError(xt,Kt))}}}return Ke!==void 0&&He.push(new _t(Ke)),{comments:Ge,items:He}}function kf(pe,de){let Ge=[],He=[],Ke,Ze=!1,At="{";for(let xt=0;xt<de.items.length;++xt){let Kt=de.items[xt];if(typeof Kt.char=="string"){let{char:rn,offset:hn}=Kt;if(rn==="?"&&Ke===void 0&&!Ze){Ze=!0,At=":";continue}if(rn===":"){if(Ke===void 0&&(Ke=null),At===":"){At=",";continue}}else if(Ze&&(Ke===void 0&&rn!==","&&(Ke=null),Ze=!1),Ke!==void 0&&(He.push(new _t(Ke)),Ke=void 0,rn===",")){At=":";continue}if(rn==="}"){if(xt===de.items.length-1)continue}else if(rn===At){At=":";continue}let In=`Flow map contains an unexpected ${rn}`,lr=new g.YAMLSyntaxError(de,In);lr.offset=hn,pe.errors.push(lr)}else Kt.type===g.Type.BLANK_LINE?Ge.push({afterKey:!!Ke,before:He.length}):Kt.type===g.Type.COMMENT?(Yn(pe.errors,Kt),Ge.push({afterKey:!!Ke,before:He.length,comment:Kt.comment})):Ke===void 0?(At===","&&pe.errors.push(new g.YAMLSemanticError(Kt,"Separator , missing in flow map")),Ke=yi(pe,Kt)):(At!==","&&pe.errors.push(new g.YAMLSemanticError(Kt,"Indicator : missing in flow map entry")),He.push(new _t(Ke,yi(pe,Kt))),Ke=void 0,Ze=!1)}return Cn(pe.errors,de),Ke!==void 0&&He.push(new _t(Ke)),{comments:Ge,items:He}}function Lf(pe,de){if(de.type!==g.Type.SEQ&&de.type!==g.Type.FLOW_SEQ){let Ze=`A ${de.type} node cannot be resolved as a sequence`;return pe.errors.push(new g.YAMLSyntaxError(de,Ze)),null}let{comments:Ge,items:He}=de.type===g.Type.FLOW_SEQ?Bf(pe,de):Pf(pe,de),Ke=new Ft;if(Ke.items=He,Ii(Ke,Ge),!pe.options.mapAsMap&&He.some(Ze=>Ze instanceof _t&&Ze.key instanceof rt)){let Ze="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,Ze))}return de.resolved=Ke,Ke}function Pf(pe,de){let Ge=[],He=[];for(let Ke=0;Ke<de.items.length;++Ke){let Ze=de.items[Ke];switch(Ze.type){case g.Type.BLANK_LINE:Ge.push({before:He.length});break;case g.Type.COMMENT:Ge.push({comment:Ze.comment,before:He.length});break;case g.Type.SEQ_ITEM:if(Ze.error&&pe.errors.push(Ze.error),He.push(yi(pe,Ze.node)),Ze.hasProps){let At="Sequence items cannot have tags or anchors before the - indicator";pe.errors.push(new g.YAMLSemanticError(Ze,At))}break;default:Ze.error&&pe.errors.push(Ze.error),pe.errors.push(new g.YAMLSyntaxError(Ze,`Unexpected ${Ze.type} node in sequence`))}}return{comments:Ge,items:He}}function Bf(pe,de){let Ge=[],He=[],Ke=!1,Ze,At=null,xt="[",Kt=null;for(let rn=0;rn<de.items.length;++rn){let hn=de.items[rn];if(typeof hn.char=="string"){let{char:In,offset:lr}=hn;if(In!==":"&&(Ke||Ze!==void 0)&&(Ke&&Ze===void 0&&(Ze=xt?He.pop():null),He.push(new _t(Ze)),Ke=!1,Ze=void 0,At=null),In===xt)xt=null;else if(!xt&&In==="?")Ke=!0;else if(xt!=="["&&In===":"&&Ze===void 0){if(xt===","){if(Ze=He.pop(),Ze instanceof _t){let cr="Chaining flow sequence pairs is invalid",Vn=new g.YAMLSemanticError(de,cr);Vn.offset=lr,pe.errors.push(Vn)}if(!Ke&&typeof At=="number"){let cr=hn.range?hn.range.start:hn.offset;cr>At+1024&&pe.errors.push(or(de,Ze));let{src:Vn}=Kt.context;for(let rr=At;rr<cr;++rr)if(Vn[rr]===`
393
- `){let tr="Implicit keys of flow sequence pairs need to be on a single line";pe.errors.push(new g.YAMLSemanticError(Kt,tr));break}}}else Ze=null;At=null,Ke=!1,xt=null}else if(xt==="["||In!=="]"||rn<de.items.length-1){let cr=`Flow sequence contains an unexpected ${In}`,Vn=new g.YAMLSyntaxError(de,cr);Vn.offset=lr,pe.errors.push(Vn)}}else if(hn.type===g.Type.BLANK_LINE)Ge.push({before:He.length});else if(hn.type===g.Type.COMMENT)Yn(pe.errors,hn),Ge.push({comment:hn.comment,before:He.length});else{if(xt){let lr=`Expected a ${xt} in flow sequence`;pe.errors.push(new g.YAMLSemanticError(hn,lr))}let In=yi(pe,hn);Ze===void 0?(He.push(In),Kt=hn):(He.push(new _t(Ze,In)),Ze=void 0),At=hn.range.start,xt=","}}return Cn(pe.errors,de),Ze!==void 0&&He.push(new _t(Ze)),{comments:Ge,items:He}}Y.Alias=Wt,Y.Collection=rt,Y.Merge=K,Y.Node=ke,Y.Pair=_t,Y.Scalar=Xe,Y.YAMLMap=bn,Y.YAMLSeq=Ft,Y.addComment=Ae,Y.binaryOptions=M,Y.boolOptions=H,Y.findPair=Xt,Y.intOptions=le,Y.isEmptyPath=jt,Y.nullOptions=Se,Y.resolveMap=Ff,Y.resolveNode=yi,Y.resolveSeq=Lf,Y.resolveString=Ji,Y.strOptions=Be,Y.stringifyNumber=mn,Y.stringifyString=tn,Y.toJSON=Le}}),Qs=p({"node_modules/yaml/dist/warnings-1000a372.js"(Y){N();var g=Ur(),W=rs(),Ae={identify:ve=>ve instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(ve,je)=>{let Et=W.resolveString(ve,je);if(typeof Buffer=="function")return Buffer.from(Et,"base64");if(typeof atob=="function"){let Ot=atob(Et.replace(/[\n\r]/g,"")),zt=new Uint8Array(Ot.length);for(let En=0;En<Ot.length;++En)zt[En]=Ot.charCodeAt(En);return zt}else{let Ot="This environment does not support reading binary tags; either Buffer or atob is required";return ve.errors.push(new g.YAMLReferenceError(je,Ot)),null}},options:W.binaryOptions,stringify:(ve,je,Et,Ot)=>{let{comment:zt,type:En,value:on}=ve,Wn;if(typeof Buffer=="function")Wn=on instanceof Buffer?on.toString("base64"):Buffer.from(on.buffer).toString("base64");else if(typeof btoa=="function"){let sr="";for(let Cr=0;Cr<on.length;++Cr)sr+=String.fromCharCode(on[Cr]);Wn=btoa(sr)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(En||(En=W.binaryOptions.defaultType),En===g.Type.QUOTE_DOUBLE)on=Wn;else{let{lineWidth:sr}=W.binaryOptions,Cr=Math.ceil(Wn.length/sr),gi=new Array(Cr);for(let li=0,yt=0;li<Cr;++li,yt+=sr)gi[li]=Wn.substr(yt,sr);on=gi.join(En===g.Type.BLOCK_LITERAL?`
394
- `:" ")}return W.stringifyString({comment:zt,type:En,value:on},je,Et,Ot)}};function ke(ve,je){let Et=W.resolveSeq(ve,je);for(let Ot=0;Ot<Et.items.length;++Ot){let zt=Et.items[Ot];if(!(zt instanceof W.Pair)){if(zt instanceof W.YAMLMap){if(zt.items.length>1){let on="Each pair must have its own sequence indicator";throw new g.YAMLSemanticError(je,on)}let En=zt.items[0]||new W.Pair;zt.commentBefore&&(En.commentBefore=En.commentBefore?`${zt.commentBefore}
395
- ${En.commentBefore}`:zt.commentBefore),zt.comment&&(En.comment=En.comment?`${zt.comment}
396
- ${En.comment}`:zt.comment),zt=En}Et.items[Ot]=zt instanceof W.Pair?zt:new W.Pair(zt)}}return Et}function Le(ve,je,Et){let Ot=new W.YAMLSeq(ve);Ot.tag="tag:yaml.org,2002:pairs";for(let zt of je){let En,on;if(Array.isArray(zt))if(zt.length===2)En=zt[0],on=zt[1];else throw new TypeError(`Expected [key, value] tuple: ${zt}`);else if(zt&&zt instanceof Object){let sr=Object.keys(zt);if(sr.length===1)En=sr[0],on=zt[En];else throw new TypeError(`Expected { key: value } tuple: ${zt}`)}else En=zt;let Wn=ve.createPair(En,on,Et);Ot.items.push(Wn)}return Ot}var Xe={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:ke,createNode:Le},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(ve,je){let Et=new Map;je&&je.onCreate&&je.onCreate(Et);for(let Ot of this.items){let zt,En;if(Ot instanceof W.Pair?(zt=W.toJSON(Ot.key,"",je),En=W.toJSON(Ot.value,zt,je)):zt=W.toJSON(Ot,"",je),Et.has(zt))throw new Error("Ordered maps must not include duplicate keys");Et.set(zt,En)}return Et}};g._defineProperty(ht,"tag","tag:yaml.org,2002:omap");function jt(ve,je){let Et=ke(ve,je),Ot=[];for(let{key:zt}of Et.items)if(zt instanceof W.Scalar)if(Ot.includes(zt.value)){let En="Ordered maps must not include duplicate keys";throw new g.YAMLSemanticError(je,En)}else Ot.push(zt.value);return Object.assign(new ht,Et)}function rt(ve,je,Et){let Ot=Le(ve,je,Et),zt=new ht;return zt.items=Ot.items,zt}var gt={identify:ve=>ve instanceof Map,nodeClass:ht,default:!1,tag:"tag:yaml.org,2002:omap",resolve:jt,createNode:rt},Ft=class extends W.YAMLMap{constructor(){super(),this.tag=Ft.tag}add(ve){let je=ve instanceof W.Pair?ve:new W.Pair(ve);W.findPair(this.items,je.key)||this.items.push(je)}get(ve,je){let Et=W.findPair(this.items,ve);return!je&&Et instanceof W.Pair?Et.key instanceof W.Scalar?Et.key.value:Et.key:Et}set(ve,je){if(typeof je!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof je}`);let Et=W.findPair(this.items,ve);Et&&!je?this.items.splice(this.items.indexOf(Et),1):!Et&&je&&this.items.push(new W.Pair(ve))}toJSON(ve,je){return super.toJSON(ve,je,Set)}toString(ve,je,Et){if(!ve)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(ve,je,Et);throw new Error("Set items must all have null values")}};g._defineProperty(Ft,"tag","tag:yaml.org,2002:set");function Mt(ve,je){let Et=W.resolveMap(ve,je);if(!Et.hasAllNullValues())throw new g.YAMLSemanticError(je,"Set items must all have null values");return Object.assign(new Ft,Et)}function _t(ve,je,Et){let Ot=new Ft;for(let zt of je)Ot.items.push(ve.createPair(zt,null,Et));return Ot}var Gt={identify:ve=>ve instanceof Set,nodeClass:Ft,default:!1,tag:"tag:yaml.org,2002:set",resolve:Mt,createNode:_t},Wt=(ve,je)=>{let Et=je.split(":").reduce((Ot,zt)=>Ot*60+Number(zt),0);return ve==="-"?-Et:Et},Xt=ve=>{let{value:je}=ve;if(isNaN(je)||!isFinite(je))return W.stringifyNumber(je);let Et="";je<0&&(Et="-",je=Math.abs(je));let Ot=[je%60];return je<60?Ot.unshift(0):(je=Math.round((je-Ot[0])/60),Ot.unshift(je%60),je>=60&&(je=Math.round((je-Ot[0])/60),Ot.unshift(je))),Et+Ot.map(zt=>zt<10?"0"+String(zt):String(zt)).join(":").replace(/000000\d*$/,"")},bn={identify:ve=>typeof ve=="number",default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(ve,je,Et)=>Wt(je,Et.replace(/_/g,"")),stringify:Xt},ge={identify:ve=>typeof ve=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(ve,je,Et)=>Wt(je,Et.replace(/_/g,"")),stringify:Xt},K={identify:ve=>ve 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:(ve,je,Et,Ot,zt,En,on,Wn,sr)=>{Wn&&(Wn=(Wn+"00").substr(1,3));let Cr=Date.UTC(je,Et-1,Ot,zt||0,En||0,on||0,Wn||0);if(sr&&sr!=="Z"){let gi=Wt(sr[0],sr.slice(1));Math.abs(gi)<30&&(gi*=60),Cr-=6e4*gi}return new Date(Cr)},stringify:ve=>{let{value:je}=ve;return je.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")}};function M(ve){let je=typeof te<"u"&&te.env||{};return ve?typeof YAML_SILENCE_DEPRECATION_WARNINGS<"u"?!YAML_SILENCE_DEPRECATION_WARNINGS:!je.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<"u"?!YAML_SILENCE_WARNINGS:!je.YAML_SILENCE_WARNINGS}function H(ve,je){if(M(!1)){let Et=typeof te<"u"&&te.emitWarning;Et?Et(ve,je):console.warn(je?`${je}: ${ve}`:ve)}}function le(ve){if(M(!0)){let je=ve.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");H(`The endpoint 'yaml/${je}' will be removed in a future release.`,"DeprecationWarning")}}var Se={};function Be(ve,je){if(!Se[ve]&&M(!0)){Se[ve]=!0;let Et=`The option '${ve}' will be removed in a future release`;Et+=je?`, use '${je}' instead.`:".",H(Et,"DeprecationWarning")}}Y.binary=Ae,Y.floatTime=ge,Y.intTime=bn,Y.omap=gt,Y.pairs=Xe,Y.set=Gt,Y.timestamp=K,Y.warn=H,Y.warnFileDeprecation=le,Y.warnOptionDeprecation=Be}}),Xs=p({"node_modules/yaml/dist/Schema-88e323a7.js"(Y){N();var g=Ur(),W=rs(),Ae=Qs();function ke(yt,tn,mn){let Cn=new W.YAMLMap(yt);if(tn instanceof Map)for(let[Yn,or]of tn)Cn.items.push(yt.createPair(Yn,or,mn));else if(tn&&typeof tn=="object")for(let Yn of Object.keys(tn))Cn.items.push(yt.createPair(Yn,tn[Yn],mn));return typeof yt.sortMapEntries=="function"&&Cn.items.sort(yt.sortMapEntries),Cn}var Le={createNode:ke,default:!0,nodeClass:W.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:W.resolveMap};function Xe(yt,tn,mn){let Cn=new W.YAMLSeq(yt);if(tn&&tn[Symbol.iterator])for(let Yn of tn){let or=yt.createNode(Yn,mn.wrapScalars,null,mn);Cn.items.push(or)}return Cn}var ht={createNode:Xe,default:!0,nodeClass:W.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:W.resolveSeq},jt={identify:yt=>typeof yt=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:W.resolveString,stringify(yt,tn,mn,Cn){return tn=Object.assign({actualString:!0},tn),W.stringifyString(yt,tn,mn,Cn)},options:W.strOptions},rt=[Le,ht,jt],gt=yt=>typeof yt=="bigint"||Number.isInteger(yt),Ft=(yt,tn,mn)=>W.intOptions.asBigInt?BigInt(yt):parseInt(tn,mn);function Mt(yt,tn,mn){let{value:Cn}=yt;return gt(Cn)&&Cn>=0?mn+Cn.toString(tn):W.stringifyNumber(yt)}var _t={identify:yt=>yt==null,createNode:(yt,tn,mn)=>mn.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},Gt={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:tn}=yt;return tn?W.boolOptions.trueStr:W.boolOptions.falseStr}},Wt={identify:yt=>gt(yt)&&yt>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(yt,tn)=>Ft(yt,tn,8),options:W.intOptions,stringify:yt=>Mt(yt,8,"0o")},Xt={identify:gt,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:yt=>Ft(yt,yt,10),options:W.intOptions,stringify:W.stringifyNumber},bn={identify:yt=>gt(yt)&&yt>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(yt,tn)=>Ft(yt,tn,16),options:W.intOptions,stringify:yt=>Mt(yt,16,"0x")},ge={identify:yt=>typeof yt=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(yt,tn)=>tn?NaN:yt[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:W.stringifyNumber},K={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:tn}=yt;return Number(tn).toExponential()}},M={identify:yt=>typeof yt=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(yt,tn,mn){let Cn=tn||mn,Yn=new W.Scalar(parseFloat(yt));return Cn&&Cn[Cn.length-1]==="0"&&(Yn.minFractionDigits=Cn.length),Yn},stringify:W.stringifyNumber},H=rt.concat([_t,Gt,Wt,Xt,bn,ge,K,M]),le=yt=>typeof yt=="bigint"||Number.isInteger(yt),Se=yt=>{let{value:tn}=yt;return JSON.stringify(tn)},Be=[Le,ht,{identify:yt=>typeof yt=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:W.resolveString,stringify:Se},{identify:yt=>yt==null,createNode:(yt,tn,mn)=>mn.wrapScalars?new W.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Se},{identify:yt=>typeof yt=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:yt=>yt==="true",stringify:Se},{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:tn}=yt;return le(tn)?tn.toString():JSON.stringify(tn)}},{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:Se}];Be.scalarFallback=yt=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(yt)}`)};var ve=yt=>{let{value:tn}=yt;return tn?W.boolOptions.trueStr:W.boolOptions.falseStr},je=yt=>typeof yt=="bigint"||Number.isInteger(yt);function Et(yt,tn,mn){let Cn=tn.replace(/_/g,"");if(W.intOptions.asBigInt){switch(mn){case 2:Cn=`0b${Cn}`;break;case 8:Cn=`0o${Cn}`;break;case 16:Cn=`0x${Cn}`;break}let or=BigInt(Cn);return yt==="-"?BigInt(-1)*or:or}let Yn=parseInt(Cn,mn);return yt==="-"?-1*Yn:Yn}function Ot(yt,tn,mn){let{value:Cn}=yt;if(je(Cn)){let Yn=Cn.toString(tn);return Cn<0?"-"+mn+Yn.substr(1):mn+Yn}return W.stringifyNumber(yt)}var zt=rt.concat([{identify:yt=>yt==null,createNode:(yt,tn,mn)=>mn.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:ve},{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:ve},{identify:je,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(yt,tn,mn)=>Et(tn,mn,2),stringify:yt=>Ot(yt,2,"0b")},{identify:je,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(yt,tn,mn)=>Et(tn,mn,8),stringify:yt=>Ot(yt,8,"0")},{identify:je,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(yt,tn,mn)=>Et(tn,mn,10),stringify:W.stringifyNumber},{identify:je,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(yt,tn,mn)=>Et(tn,mn,16),stringify:yt=>Ot(yt,16,"0x")},{identify:yt=>typeof yt=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(yt,tn)=>tn?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:tn}=yt;return Number(tn).toExponential()}},{identify:yt=>typeof yt=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(yt,tn){let mn=new W.Scalar(parseFloat(yt.replace(/_/g,"")));if(tn){let Cn=tn.replace(/_/g,"");Cn[Cn.length-1]==="0"&&(mn.minFractionDigits=Cn.length)}return mn},stringify:W.stringifyNumber}],Ae.binary,Ae.omap,Ae.pairs,Ae.set,Ae.intTime,Ae.floatTime,Ae.timestamp),En={core:H,failsafe:rt,json:Be,yaml11:zt},on={binary:Ae.binary,bool:Gt,float:M,floatExp:K,floatNaN:ge,floatTime:Ae.floatTime,int:Xt,intHex:bn,intOct:Wt,intTime:Ae.intTime,map:Le,null:_t,omap:Ae.omap,pairs:Ae.pairs,seq:ht,set:Ae.set,timestamp:Ae.timestamp};function Wn(yt,tn,mn){if(tn){let Cn=mn.filter(or=>or.tag===tn),Yn=Cn.find(or=>!or.format)||Cn[0];if(!Yn)throw new Error(`Tag ${tn} not found`);return Yn}return mn.find(Cn=>(Cn.identify&&Cn.identify(yt)||Cn.class&&yt instanceof Cn.class)&&!Cn.format)}function sr(yt,tn,mn){if(yt instanceof W.Node)return yt;let{defaultPrefix:Cn,onTagObj:Yn,prevObjects:or,schema:Ii,wrapScalars:Ji}=mn;tn&&tn.startsWith("!!")&&(tn=Cn+tn.slice(2));let Yi=Wn(yt,tn,Ii.tags);if(!Yi){if(typeof yt.toJSON=="function"&&(yt=yt.toJSON()),!yt||typeof yt!="object")return Ji?new W.Scalar(yt):yt;Yi=yt instanceof Map?Le:yt[Symbol.iterator]?ht:Le}Yn&&(Yn(Yi),delete mn.onTagObj);let Mi={value:void 0,node:void 0};if(yt&&typeof yt=="object"&&or){let Zs=or.get(yt);if(Zs){let qa=new W.Alias(Zs);return mn.aliasNodes.push(qa),qa}Mi.value=yt,or.set(yt,Mi)}return Mi.node=Yi.createNode?Yi.createNode(mn.schema,yt,mn):Ji?new W.Scalar(yt):yt,tn&&Mi.node instanceof W.Node&&(Mi.node.tag=tn),Mi.node}function Cr(yt,tn,mn,Cn){let Yn=yt[Cn.replace(/\W/g,"")];if(!Yn){let or=Object.keys(yt).map(Ii=>JSON.stringify(Ii)).join(", ");throw new Error(`Unknown schema "${Cn}"; use one of ${or}`)}if(Array.isArray(mn))for(let or of mn)Yn=Yn.concat(or);else typeof mn=="function"&&(Yn=mn(Yn.slice()));for(let or=0;or<Yn.length;++or){let Ii=Yn[or];if(typeof Ii=="string"){let Ji=tn[Ii];if(!Ji){let Yi=Object.keys(tn).map(Mi=>JSON.stringify(Mi)).join(", ");throw new Error(`Unknown custom tag "${Ii}"; use one of ${Yi}`)}Yn[or]=Ji}}return Yn}var gi=(yt,tn)=>yt.key<tn.key?-1:yt.key>tn.key?1:0,li=class{constructor(yt){let{customTags:tn,merge:mn,schema:Cn,sortMapEntries:Yn,tags:or}=yt;this.merge=!!mn,this.name=Cn,this.sortMapEntries=Yn===!0?gi:Yn||null,!tn&&or&&Ae.warnOptionDeprecation("tags","customTags"),this.tags=Cr(En,on,tn||or,Cn)}createNode(yt,tn,mn,Cn){let Yn={defaultPrefix:li.defaultPrefix,schema:this,wrapScalars:tn},or=Cn?Object.assign(Cn,Yn):Yn;return sr(yt,mn,or)}createPair(yt,tn,mn){mn||(mn={wrapScalars:!0});let Cn=this.createNode(yt,mn.wrapScalars,null,mn),Yn=this.createNode(tn,mn.wrapScalars,null,mn);return new W.Pair(Cn,Yn)}};g._defineProperty(li,"defaultPrefix",g.defaultTagPrefix),g._defineProperty(li,"defaultTags",g.defaultTags),Y.Schema=li}}),ni=p({"node_modules/yaml/dist/Document-9b4560a1.js"(Y){N();var g=Ur(),W=rs(),Ae=Xs(),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"},Le={get binary(){return W.binaryOptions},set binary(M){Object.assign(W.binaryOptions,M)},get bool(){return W.boolOptions},set bool(M){Object.assign(W.boolOptions,M)},get int(){return W.intOptions},set int(M){Object.assign(W.intOptions,M)},get null(){return W.nullOptions},set null(M){Object.assign(W.nullOptions,M)},get str(){return W.strOptions},set str(M){Object.assign(W.strOptions,M)}},Xe={"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(M,H){if((M.version||M.options.version)==="1.0"){let Be=H.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(Be)return"!"+Be[1];let ve=H.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return ve?`!${ve[1]}/${ve[2]}`:`!${H.replace(/^tag:/,"")}`}let le=M.tagPrefixes.find(Be=>H.indexOf(Be.prefix)===0);if(!le){let Be=M.getDefaults().tagPrefixes;le=Be&&Be.find(ve=>H.indexOf(ve.prefix)===0)}if(!le)return H[0]==="!"?H:`!<${H}>`;let Se=H.substr(le.prefix.length).replace(/[!,[\]{}]/g,Be=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[Be]);return le.handle+Se}function jt(M,H){if(H instanceof W.Alias)return W.Alias;if(H.tag){let Be=M.filter(ve=>ve.tag===H.tag);if(Be.length>0)return Be.find(ve=>ve.format===H.format)||Be[0]}let le,Se;if(H instanceof W.Scalar){Se=H.value;let Be=M.filter(ve=>ve.identify&&ve.identify(Se)||ve.class&&Se instanceof ve.class);le=Be.find(ve=>ve.format===H.format)||Be.find(ve=>!ve.format)}else Se=H,le=M.find(Be=>Be.nodeClass&&Se instanceof Be.nodeClass);if(!le){let Be=Se&&Se.constructor?Se.constructor.name:typeof Se;throw new Error(`Tag not resolved for ${Be} value`)}return le}function rt(M,H,le){let{anchors:Se,doc:Be}=le,ve=[],je=Be.anchors.getName(M);return je&&(Se[je]=M,ve.push(`&${je}`)),M.tag?ve.push(ht(Be,M.tag)):H.default||ve.push(ht(Be,H.tag)),ve.join(" ")}function gt(M,H,le,Se){let{anchors:Be,schema:ve}=H.doc,je;if(!(M instanceof W.Node)){let zt={aliasNodes:[],onTagObj:En=>je=En,prevObjects:new Map};M=ve.createNode(M,!0,null,zt);for(let En of zt.aliasNodes){En.source=En.source.node;let on=Be.getName(En.source);on||(on=Be.newName(),Be.map[on]=En.source)}}if(M instanceof W.Pair)return M.toString(H,le,Se);je||(je=jt(ve.tags,M));let Et=rt(M,je,H);Et.length>0&&(H.indentAtStart=(H.indentAtStart||0)+Et.length+1);let Ot=typeof je.stringify=="function"?je.stringify(M,H,le,Se):M instanceof W.Scalar?W.stringifyString(M,H,le,Se):M.toString(H,le,Se);return Et?M instanceof W.Scalar||Ot[0]==="{"||Ot[0]==="["?`${Et} ${Ot}`:`${Et}
397
- ${H.indent}${Ot}`:Ot}var Ft=class{static validAnchorNode(M){return M instanceof W.Scalar||M instanceof W.YAMLSeq||M instanceof W.YAMLMap}constructor(M){g._defineProperty(this,"map",Object.create(null)),this.prefix=M}createAlias(M,H){return this.setAnchor(M,H),new W.Alias(M)}createMergePair(){let M=new W.Merge;for(var H=arguments.length,le=new Array(H),Se=0;Se<H;Se++)le[Se]=arguments[Se];return M.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")}),M}getName(M){let{map:H}=this;return Object.keys(H).find(le=>H[le]===M)}getNames(){return Object.keys(this.map)}getNode(M){return this.map[M]}newName(M){M||(M=this.prefix);let H=Object.keys(this.map);for(let le=1;;++le){let Se=`${M}${le}`;if(!H.includes(Se))return Se}}resolveNodes(){let{map:M,_cstAliases:H}=this;Object.keys(M).forEach(le=>{M[le]=M[le].resolved}),H.forEach(le=>{le.source=le.source.resolved}),delete this._cstAliases}setAnchor(M,H){if(M!=null&&!Ft.validAnchorNode(M))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,Se=M&&Object.keys(le).find(Be=>le[Be]===M);if(Se)if(H)Se!==H&&(delete le[Se],le[H]=M);else return Se;else{if(!H){if(!M)return null;H=this.newName()}le[H]=M}return H}},Mt=(M,H)=>{if(M&&typeof M=="object"){let{tag:le}=M;M instanceof W.Collection?(le&&(H[le]=!0),M.items.forEach(Se=>Mt(Se,H))):M instanceof W.Pair?(Mt(M.key,H),Mt(M.value,H)):M instanceof W.Scalar&&le&&(H[le]=!0)}return H},_t=M=>Object.keys(Mt(M,{}));function Gt(M,H){let le={before:[],after:[]},Se,Be=!1;for(let ve of H)if(ve.valueRange){if(Se!==void 0){let Et="Document contains trailing content not separated by a ... or --- line";M.errors.push(new g.YAMLSyntaxError(ve,Et));break}let je=W.resolveNode(M,ve);Be&&(je.spaceBefore=!0,Be=!1),Se=je}else ve.comment!==null?(Se===void 0?le.before:le.after).push(ve.comment):ve.type===g.Type.BLANK_LINE&&(Be=!0,Se===void 0&&le.before.length>0&&!M.commentBefore&&(M.commentBefore=le.before.join(`
398
- `),le.before=[]));if(M.contents=Se||null,!Se)M.comment=le.before.concat(le.after).join(`
399
- `)||null;else{let ve=le.before.join(`
400
- `);if(ve){let je=Se instanceof W.Collection&&Se.items[0]?Se.items[0]:Se;je.commentBefore=je.commentBefore?`${ve}
401
- ${je.commentBefore}`:ve}M.comment=le.after.join(`
402
- `)||null}}function Wt(M,H){let{tagPrefixes:le}=M,[Se,Be]=H.parameters;if(!Se||!Be){let ve="Insufficient parameters given for %TAG directive";throw new g.YAMLSemanticError(H,ve)}if(le.some(ve=>ve.handle===Se)){let ve="The %TAG directive must only be given at most once per handle in the same document.";throw new g.YAMLSemanticError(H,ve)}return{handle:Se,prefix:Be}}function Xt(M,H){let[le]=H.parameters;if(H.name==="YAML:1.0"&&(le="1.0"),!le){let Se="Insufficient parameters given for %YAML directive";throw new g.YAMLSemanticError(H,Se)}if(!Xe[le]){let Se=`Document will be parsed as YAML ${M.version||M.options.version} rather than YAML ${le}`;M.warnings.push(new g.YAMLWarning(H,Se))}return le}function bn(M,H,le){let Se=[],Be=!1;for(let ve of H){let{comment:je,name:Et}=ve;switch(Et){case"TAG":try{M.tagPrefixes.push(Wt(M,ve))}catch(Ot){M.errors.push(Ot)}Be=!0;break;case"YAML":case"YAML:1.0":if(M.version){let Ot="The %YAML directive must only be given at most once per document.";M.errors.push(new g.YAMLSemanticError(ve,Ot))}try{M.version=Xt(M,ve)}catch(Ot){M.errors.push(Ot)}Be=!0;break;default:if(Et){let Ot=`YAML only supports %TAG and %YAML directives, and not %${Et}`;M.warnings.push(new g.YAMLWarning(ve,Ot))}}je&&Se.push(je)}if(le&&!Be&&(M.version||le.version||M.options.version)==="1.1"){let ve=je=>{let{handle:Et,prefix:Ot}=je;return{handle:Et,prefix:Ot}};M.tagPrefixes=le.tagPrefixes.map(ve),M.version=le.version}M.commentBefore=Se.join(`
403
- `)||null}function ge(M){if(M instanceof W.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var K=class{constructor(M){this.anchors=new Ft(M.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=M,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(M){return ge(this.contents),this.contents.add(M)}addIn(M,H){ge(this.contents),this.contents.addIn(M,H)}delete(M){return ge(this.contents),this.contents.delete(M)}deleteIn(M){return W.isEmptyPath(M)?this.contents==null?!1:(this.contents=null,!0):(ge(this.contents),this.contents.deleteIn(M))}getDefaults(){return K.defaults[this.version]||K.defaults[this.options.version]||{}}get(M,H){return this.contents instanceof W.Collection?this.contents.get(M,H):void 0}getIn(M,H){return W.isEmptyPath(M)?!H&&this.contents instanceof W.Scalar?this.contents.value:this.contents:this.contents instanceof W.Collection?this.contents.getIn(M,H):void 0}has(M){return this.contents instanceof W.Collection?this.contents.has(M):!1}hasIn(M){return W.isEmptyPath(M)?this.contents!==void 0:this.contents instanceof W.Collection?this.contents.hasIn(M):!1}set(M,H){ge(this.contents),this.contents.set(M,H)}setIn(M,H){W.isEmptyPath(M)?this.contents=H:(ge(this.contents),this.contents.setIn(M,H))}setSchema(M,H){if(!M&&!H&&this.schema)return;typeof M=="number"&&(M=M.toFixed(1)),M==="1.0"||M==="1.1"||M==="1.2"?(this.version?this.version=M:this.options.version=M,delete this.options.schema):M&&typeof M=="string"&&(this.options.schema=M),Array.isArray(H)&&(this.options.customTags=H);let le=Object.assign({},this.getDefaults(),this.options);this.schema=new Ae.Schema(le)}parse(M,H){this.options.keepCstNodes&&(this.cstNode=M),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:le=[],contents:Se=[],directivesEndMarker:Be,error:ve,valueRange:je}=M;if(ve&&(ve.source||(ve.source=this),this.errors.push(ve)),bn(this,le,H),Be&&(this.directivesEndMarker=!0),this.range=je?[je.start,je.end]:null,this.setSchema(),this.anchors._cstAliases=[],Gt(this,Se),this.anchors.resolveNodes(),this.options.prettyErrors){for(let Et of this.errors)Et instanceof g.YAMLError&&Et.makePretty();for(let Et of this.warnings)Et instanceof g.YAMLError&&Et.makePretty()}return this}listNonDefaultTags(){return _t(this.contents).filter(M=>M.indexOf(Ae.Schema.defaultPrefix)!==0)}setTagPrefix(M,H){if(M[0]!=="!"||M[M.length-1]!=="!")throw new Error("Handle must start and end with !");if(H){let le=this.tagPrefixes.find(Se=>Se.handle===M);le?le.prefix=H:this.tagPrefixes.push({handle:M,prefix:H})}else this.tagPrefixes=this.tagPrefixes.filter(le=>le.handle!==M)}toJSON(M,H){let{keepBlobsInJSON:le,mapAsMap:Se,maxAliasCount:Be}=this.options,ve=le&&(typeof M!="string"||!(this.contents instanceof W.Scalar)),je={doc:this,indentStep:" ",keep:ve,mapAsMap:ve&&!!Se,maxAliasCount:Be,stringify:gt},Et=Object.keys(this.anchors.map);Et.length>0&&(je.anchors=new Map(Et.map(zt=>[this.anchors.map[zt],{alias:[],aliasCount:0,count:1}])));let Ot=W.toJSON(this.contents,M,je);if(typeof H=="function"&&je.anchors)for(let{count:zt,res:En}of je.anchors.values())H(En,zt);return Ot}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");let M=this.options.indent;if(!Number.isInteger(M)||M<=0){let Et=JSON.stringify(M);throw new Error(`"indent" option must be a positive integer, not ${Et}`)}this.setSchema();let H=[],le=!1;if(this.version){let Et="%YAML 1.2";this.schema.name==="yaml-1.1"&&(this.version==="1.0"?Et="%YAML:1.0":this.version==="1.1"&&(Et="%YAML 1.1")),H.push(Et),le=!0}let Se=this.listNonDefaultTags();this.tagPrefixes.forEach(Et=>{let{handle:Ot,prefix:zt}=Et;Se.some(En=>En.indexOf(zt)===0)&&(H.push(`%TAG ${Ot} ${zt}`),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(M),stringify:gt},ve=!1,je=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,je=this.contents.comment);let Et=je?null:()=>ve=!0,Ot=gt(this.contents,Be,()=>je=null,Et);H.push(W.addComment(Ot,"",je))}else this.contents!==void 0&&H.push(gt(this.contents,Be));return this.comment&&((!ve||je)&&H[H.length-1]!==""&&H.push(""),H.push(this.comment.replace(/^/gm,"#"))),H.join(`
404
- `)+`
405
- `}};g._defineProperty(K,"defaults",Xe),Y.Document=K,Y.defaultOptions=ke,Y.scalarOptions=Le}}),tl=p({"node_modules/yaml/dist/index.js"(Y){N();var g=Ua(),W=ni(),Ae=Xs(),ke=Ur(),Le=Qs();rs();function Xe(_t){let Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Wt=arguments.length>2?arguments[2]:void 0;Wt===void 0&&typeof Gt=="string"&&(Wt=Gt,Gt=!0);let Xt=Object.assign({},W.Document.defaults[W.defaultOptions.version],W.defaultOptions);return new Ae.Schema(Xt).createNode(_t,Gt,Wt)}var ht=class extends W.Document{constructor(_t){super(Object.assign({},W.defaultOptions,_t))}};function jt(_t,Gt){let Wt=[],Xt;for(let bn of g.parse(_t)){let ge=new ht(Gt);ge.parse(bn,Xt),Wt.push(ge),Xt=ge}return Wt}function rt(_t,Gt){let Wt=g.parse(_t),Xt=new ht(Gt).parse(Wt[0]);if(Wt.length>1){let bn="Source contains multiple documents; please use YAML.parseAllDocuments()";Xt.errors.unshift(new ke.YAMLSemanticError(Wt[1],bn))}return Xt}function gt(_t,Gt){let Wt=rt(_t,Gt);if(Wt.warnings.forEach(Xt=>Le.warn(Xt)),Wt.errors.length>0)throw Wt.errors[0];return Wt.toJSON()}function Ft(_t,Gt){let Wt=new ht(Gt);return Wt.contents=_t,String(Wt)}var Mt={createNode:Xe,defaultOptions:W.defaultOptions,Document:ht,parse:gt,parseAllDocuments:jt,parseCST:g.parse,parseDocument:rt,scalarOptions:W.scalarOptions,stringify:Ft};Y.YAML=Mt}}),nl=p({"node_modules/yaml/index.js"(Y,g){N(),g.exports=tl().YAML}}),rl=p({"node_modules/yaml/dist/util.js"(Y){N();var g=rs(),W=Ur();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}}),vf=p({"node_modules/yaml/util.js"(Y){N();var g=rl();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}}),il=p({"node_modules/yaml-unist-parser/lib/yaml.js"(Y){N(),Y.__esModule=!0;var g=nl();Y.Document=g.Document;var W=nl();Y.parseCST=W.parseCST;var Ae=vf();Y.YAMLError=Ae.YAMLError,Y.YAMLSyntaxError=Ae.YAMLSyntaxError,Y.YAMLSemanticError=Ae.YAMLSemanticError}}),Ks=p({"node_modules/yaml-unist-parser/lib/parse.js"(Y){N(),Y.__esModule=!0;var g=Ru(),W=tf(),Ae=Vu(),ke=nf(),Le=Qn(),Xe=qu(),ht=$e(),jt=hs(),rt=Ps(),gt=mi(),Ft=ns(),Mt=Va(),_t=il();function Gt(Wt){var Xt=_t.parseCST(Wt);gt.addOrigRange(Xt);for(var bn=Xt.map(function(Ot){return new _t.Document({merge:!1,keepCstNodes:!0}).parse(Ot)}),ge=new g.default(Wt),K=[],M={text:Wt,locator:ge,comments:K,transformOffset:function(Ot){return jt.transformOffset(Ot,M)},transformRange:function(Ot){return rt.transformRange(Ot,M)},transformNode:function(Ot){return Le.transformNode(Ot,M)},transformContent:function(Ot){return Xe.transformContent(Ot,M)}},H=0,le=bn;H<le.length;H++)for(var Se=le[H],Be=0,ve=Se.errors;Be<ve.length;Be++){var je=ve[Be];if(!(je instanceof _t.YAMLSemanticError&&je.message==='Map keys must be unique; "<<" is repeated'))throw ht.transformError(je,M)}bn.forEach(function(Ot){return ke.removeCstBlankLine(Ot.cstNode)});var Et=Ae.createRoot(M.transformRange({origStart:0,origEnd:M.text.length}),bn.map(M.transformNode),K);return W.attachComments(Et),Mt.updatePositions(Et),Ft.removeFakeNodes(Et),Et}Y.parse=Gt}}),Ef=p({"node_modules/yaml-unist-parser/lib/index.js"(Y){N(),Y.__esModule=!0;var g=(nr(),ie(Ue));g.__exportStar(Ks(),Y)}});N();var Af=ue(),{hasPragma:wn}=Te(),{locStart:sl,locEnd:Cf}=Pe();function Sf(Y){let{parse:g}=Ef();try{let W=g(Y);return delete W.comments,W}catch(W){throw W!=null&&W.position?Af(W.message,W.position):W}}var al={astFormat:"yaml",parse:Sf,hasPragma:wn,locStart:sl,locEnd:Cf};s.exports={parsers:{yaml:al}}});return r()})})(Nm);var _m=Nm.exports,bD=gD(_m),vD=q0({__proto__:null,default:bD},[_m]),ED=Object.getOwnPropertyNames,AD=(e,t)=>function(){return t||(0,e[ED(e)[0]])((t={exports:{}}).exports,t),t.exports},CD=AD({"node_modules/yaml-language-server/node_modules/ajv/dist/refs/json-schema-draft-07.json"(e,t){t.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-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}}});function Tm(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 Uc(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:n===0?e===t:!1}function SD(e){return Tm(e,"(?i)")?new RegExp(e.substring(4),"i"):new RegExp(e)}function ka(e){return typeof e=="boolean"}var qi;(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"})(qi||(qi={}));var km;(function(e){e.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[xs.Markdown,xs.PlainText],commitCharactersSupport:!0}}}}})(km||(km={}));function xD(e,t){return t.length===0?e:e.replace(/{(\d+)}/g,(n,[r])=>r in t?t[r]:n)}var wD=(e,t,...n)=>xD(t,n);function qs(){return wD}var Ws=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)}}(),vo=qs();vo("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),vo("dateTimeFormatWarning","String is not a RFC3339 date-time."),vo("dateFormatWarning","String is not a RFC3339 date."),vo("timeFormatWarning","String is not a RFC3339 time."),vo("emailFormatWarning","String is not an e-mail address.");var Gs=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){Ws(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.type="null",i.value=null,i}return t})(Gs),function(e){Ws(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}(Gs),function(e){Ws(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}(Gs),function(e){Ws(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}(Gs),function(e){Ws(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}(Gs),function(e){Ws(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}(Gs),function(e){Ws(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}(Gs);function FD(e){return ka(e)?e?{}:{not:{}}:e}var Lm;(function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"})(Lm||(Lm={})),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 Cu(e){return ry(e)}function ND(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,A=n.length;l<A;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 p=n[l-1],O=1;n[l+1]==="*";)O++,l++;var B=n[l+1];if(!s)r+=".*";else{var ie=O>1&&(p==="/"||p===void 0||p==="{"||p===",")&&(B==="/"||B===void 0||B===","||B==="}");ie?(B==="/"?l++:p==="/"&&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 _s=qs(),_D="!",TD="/",kD=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]!==_D;a||(s=s.substring(1)),s.length>0&&(s[0]===TD&&(s=s.substring(1)),this.globWrappers.push({regexp:ND("**/"+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}(),LD=function(){function e(t,n,r){this.service=t,this.url=n,this.dependencies={},r&&(this.unresolvedSchema=this.service.promise.resolve(new Wi(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}(),Wi=function(){function e(t,n){n===void 0&&(n=[]),this.schema=t,this.errors=n}return e}(),Eo=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 FD(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=SD(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}(),PD=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=ei.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=Ts(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=Ts(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(Ts),A=this.addFilePatternAssociation(u.pattern,l);this.contributionAssociations.push(A)}},e.prototype.addSchemaHandle=function(t,n){var r=new LD(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 kD(t,n);return this.filePatternAssociations.push(r),r},e.prototype.registerExternalSchema=function(t,n,r){var i=Ts(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=Ts(t),r=this.schemasById[n];return r?r.getResolvedSchema():this.promise.resolve(void 0)},e.prototype.loadSchema=function(t){if(!this.requestService){var n=_s("json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",Su(t));return this.promise.resolve(new Wi({},[n]))}return this.requestService(t).then(function(r){if(!r){var i=_s("json.schema.nocontent","Unable to load schema from '{0}': No content.",Su(t));return new Wi({},[i])}var s={},a=[];s=ny(r,a);var o=a.length?[_s("json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",Su(t),a[0].offset)]:[];return new Wi(s,o)},function(r){var i=r.toString(),s=r.toString().split("Error: ");return s.length>1&&(i=s[1]),Uc(i,".")&&(i=i.substr(0,i.length-1)),new Wi({},[_s("json.schema.nocontent","Unable to load schema from '{0}': {1}.",Su(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=Ts(a.$schema);if(o==="http://json-schema.org/draft-03/schema")return this.promise.resolve(new Eo({},[_s("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));o==="https://json-schema.org/draft/2019-09/schema"&&s.push(_s("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported."))}var u=this.contextService,l=function(B,ie){if(!ie)return B;var te=B;return ie[0]==="/"&&(ie=ie.substr(1)),ie.split("/").some(function(N){return N=N.replace(/~1/g,"/").replace(/~0/g,"~"),te=te[N],!te}),te},A=function(B,ie,te,N){var ue=N?decodeURIComponent(N):void 0,Te=l(ie,ue);if(Te)for(var Pe in Te)Te.hasOwnProperty(Pe)&&!B.hasOwnProperty(Pe)&&(B[Pe]=Te[Pe]);else s.push(_s("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",ue,te))},p=function(B,ie,te,N,ue){u&&!/^[A-Za-z][A-Za-z0-9+\-.+]*:\/\/.*/.test(ie)&&(ie=u.resolveRelativePath(ie,N)),ie=Ts(ie);var Te=i.getOrAddSchemaHandle(ie);return Te.getUnresolvedSchema().then(function(Pe){if(ue[ie]=!0,Pe.errors.length){var Ue=te?ie+"#"+te:ie;s.push(_s("json.schema.problemloadingref","Problems loading reference '{0}': {1}",Ue,Pe.errors[0]))}return A(B,Pe.schema,ie,te),O(B,Pe.schema,ie,Te.dependencies)})},O=function(B,ie,te,N){if(!B||typeof B!="object")return Promise.resolve(null);for(var ue=[B],Te=[],Pe=[],Ue=function(){for(var xe=[],Ne=0;Ne<arguments.length;Ne++)xe[Ne]=arguments[Ne];for(var st=0,Ve=xe;st<Ve.length;st++){var $t=Ve[st];typeof $t=="object"&&ue.push($t)}},be=function(){for(var xe=[],Ne=0;Ne<arguments.length;Ne++)xe[Ne]=arguments[Ne];for(var st=0,Ve=xe;st<Ve.length;st++){var $t=Ve[st];if(typeof $t=="object")for(var pn in $t){var kn=pn,Lt=$t[kn];typeof Lt=="object"&&ue.push(Lt)}}},Me=function(){for(var xe=[],Ne=0;Ne<arguments.length;Ne++)xe[Ne]=arguments[Ne];for(var st=0,Ve=xe;st<Ve.length;st++){var $t=Ve[st];if(Array.isArray($t))for(var pn=0,kn=$t;pn<kn.length;pn++){var Lt=kn[pn];typeof Lt=="object"&&ue.push(Lt)}}},vt=function(xe){for(var Ne=[];xe.$ref;){var st=xe.$ref,Ve=st.split("#",2);if(delete xe.$ref,Ve[0].length>0){Pe.push(p(xe,Ve[0],Ve[1],te,N));return}else Ne.indexOf(st)===-1&&(A(xe,ie,te,Ve[1]),Ne.push(st))}Ue(xe.items,xe.additionalItems,xe.additionalProperties,xe.not,xe.contains,xe.propertyNames,xe.if,xe.then,xe.else),be(xe.definitions,xe.properties,xe.patternProperties,xe.dependencies),Me(xe.anyOf,xe.allOf,xe.oneOf,xe.items)};ue.length;){var wt=ue.pop();Te.indexOf(wt)>=0||(Te.push(wt),vt(wt))}return i.promise.all(Pe)};return O(a,a,n,r).then(function(B){return new Eo(a,s)})},e.prototype.getSchemaForResource=function(t,n){if(n&&n.root&&n.root.type==="object"){var r=n.root.properties.filter(function(ue){return ue.keyNode.value==="$schema"&&ue.valueNode&&ue.valueNode.type==="string"});if(r.length>0){var i=r[0].valueNode;if(i&&i.type==="string"){var s=Cu(i);if(s&&Tm(s,".")&&this.contextService&&(s=this.contextService.resolveRelativePath(s,t)),s){var a=Ts(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=ID(t),A=0,p=this.filePatternAssociations;A<p.length;A++){var O=p[A];if(O.matchesPattern(l))for(var B=0,ie=O.getURIs();B<ie.length;B++){var te=ie[B];o[te]||(u.push(te),o[te]=!0)}}var N=u.length>0?this.createCombinedSchema(t,u).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:t,resolvedSchema:N},N},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/"+BD++;return this.resolveSchemaContent(new Wi(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}(),BD=0;function Ts(e){try{return ei.parse(e).toString()}catch{return e}}function ID(e){try{return ei.parse(e).with({fragment:null,query:null}).toString()}catch{return e}}function Su(e){try{var t=ei.parse(e);if(t.scheme==="file")return t.fsPath}catch{}return e}function MD(e){return e.replace(/[-\\{}+?|^$.,[\]()#\s]/g,"\\$&").replace(/[*]/g,".*")}function OD(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 Pm(e){try{return new RegExp(e,"u")}catch{return new RegExp(e)}}function jD(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 Ao(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(!Ao(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(),!Ao(i,s))return!1;for(n=0;n<i.length;n++)if(!Ao(e[i[n]],t[i[n]]))return!1}return!0}function Bi(e){return typeof e=="number"}function Js(e){return typeof e<"u"}function La(e){return typeof e=="boolean"}function xu(e){return typeof e=="string"}function $D(e){return Symbol.iterator in Object(e)}function os(e){var t;return e?e instanceof Error&&(t=e.stack)!=null?t:e.toString():"null"}function qc(e){return e.title?e.title:e.$id?Bm(e.$id):e.$ref||e._$ref?Bm(e.$ref||e._$ref):e.closestTitle||(Array.isArray(e.type)?e.type.join(" | "):e.type)}function Bm(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 Im(e,t){const n=ei.parse(t);let r=Us.basename(n.fsPath);return Us.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 RD(e){return e.type!=="object"&&!Wc(e)}function Wc(e){return!!(e.anyOf||e.allOf||e.oneOf)}var VD=qs(),UD=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:Kn.Error)},e.prototype.doValidation=function(t,n,r,i){var s=this;if(!this.validationEnabled)return this.promise.resolve([]);var a=[],o={},u=function(p){var O=p.range.start.line+" "+p.range.start.character+" "+p.message;o[O]||(o[O]=!0,a.push(p))},l=function(p){var O=r!=null&&r.trailingCommas?wu(r.trailingCommas):Kn.Error,B=r!=null&&r.comments?wu(r.comments):s.commentSeverity,ie=r!=null&&r.schemaValidation?wu(r.schemaValidation):Kn.Warning,te=r!=null&&r.schemaRequest?wu(r.schemaRequest):Kn.Warning;if(p){if(p.errors.length&&n.root&&te){var N=n.root,ue=N.type==="object"?N.properties[0]:void 0;if(ue&&ue.keyNode.value==="$schema"){var Te=ue.valueNode||ue,Pe=$n.create(t.positionAt(Te.offset),t.positionAt(Te.offset+Te.length));u(_i.create(Pe,p.errors[0],te,qi.SchemaResolveError))}else{var Pe=$n.create(t.positionAt(N.offset),t.positionAt(N.offset+1));u(_i.create(Pe,p.errors[0],te,qi.SchemaResolveError))}}else if(ie){var Ue=n.validate(t,p.schema,ie);Ue&&Ue.forEach(u)}Mm(p.schema)&&(B=void 0),Om(p.schema)&&(O=void 0)}for(var be=0,Me=n.syntaxErrors;be<Me.length;be++){var vt=Me[be];if(vt.code===qi.TrailingComma){if(typeof O!="number")continue;vt.severity=O}u(vt)}if(typeof B=="number"){var wt=VD("InvalidCommentToken","Comments are not permitted in JSON.");n.comments.forEach(function(xe){u(_i.create(xe,wt,B,qi.CommentNotPermitted))})}return a};if(i){var A=i.id||"schemaservice://untitled/"+qD++;return this.jsonSchemaService.resolveSchemaContent(new Wi(i),A,{}).then(function(p){return l(p)})}return this.jsonSchemaService.getSchemaForResource(t.uri,n).then(function(p){return l(p)})},e}(),qD=0;function Mm(e){if(e&&typeof e=="object"){if(ka(e.allowComments))return e.allowComments;if(e.allOf)for(var t=0,n=e.allOf;t<n.length;t++){var r=n[t],i=Mm(r);if(ka(i))return i}}}function Om(e){if(e&&typeof e=="object"){if(ka(e.allowTrailingCommas))return e.allowTrailingCommas;var t=e;if(ka(t.allowsTrailingCommas))return t.allowsTrailingCommas;if(e.allOf)for(var n=0,r=e.allOf;n<r.length;n++){var i=r[n],s=Om(i);if(ka(s))return s}}}function wu(e){switch(e){case"error":return Kn.Error;case"warning":return Kn.Warning;case"ignore":return}}var jm=48,WD=57,GD=65,Fu=97,JD=102;function Pr(e){return e<jm?0:e<=WD?e-jm:(e<Fu&&(e+=Fu-GD),e>=Fu&&e<=JD?e-Fu+10:0)}function YD(e){if(e[0]==="#")switch(e.length){case 4:return{red:Pr(e.charCodeAt(1))*17/255,green:Pr(e.charCodeAt(2))*17/255,blue:Pr(e.charCodeAt(3))*17/255,alpha:1};case 5:return{red:Pr(e.charCodeAt(1))*17/255,green:Pr(e.charCodeAt(2))*17/255,blue:Pr(e.charCodeAt(3))*17/255,alpha:Pr(e.charCodeAt(4))*17/255};case 7:return{red:(Pr(e.charCodeAt(1))*16+Pr(e.charCodeAt(2)))/255,green:(Pr(e.charCodeAt(3))*16+Pr(e.charCodeAt(4)))/255,blue:(Pr(e.charCodeAt(5))*16+Pr(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(Pr(e.charCodeAt(1))*16+Pr(e.charCodeAt(2)))/255,green:(Pr(e.charCodeAt(3))*16+Pr(e.charCodeAt(4)))/255,blue:(Pr(e.charCodeAt(5))*16+Pr(e.charCodeAt(6)))/255,alpha:(Pr(e.charCodeAt(7))*16+Pr(e.charCodeAt(8)))/255}}}var HD=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"||Uc(o.toLowerCase(),"/user/keybindings.json"))&&s.type==="array"){for(var u=[],l=0,A=s.items;l<A.length;l++){var p=A[l];if(p.type==="object")for(var O=0,B=p.properties;O<B.length;O++){var ie=B[O];if(ie.keyNode.value==="key"&&ie.valueNode){var te=ga.create(t.uri,ks(t,p));if(u.push({name:Cu(ie.valueNode),kind:Ki.Function,location:te}),a--,a<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),u}}}return u}for(var N=[{node:s,containerName:""}],ue=0,Te=!1,Pe=[],Ue=function(Me,vt){Me.type==="array"?Me.items.forEach(function(wt){wt&&N.push({node:wt,containerName:vt})}):Me.type==="object"&&Me.properties.forEach(function(wt){var xe=wt.valueNode;if(xe)if(a>0){a--;var Ne=ga.create(t.uri,ks(t,wt)),st=vt?vt+"."+wt.keyNode.value:wt.keyNode.value;Pe.push({name:i.getKeyLabel(wt),kind:i.getSymbolKind(xe.type),location:Ne,containerName:vt}),N.push({node:xe,containerName:st})}else Te=!0})};ue<N.length;){var be=N[ue++];Ue(be.node,be.containerName)}return Te&&r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),Pe},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"||Uc(o.toLowerCase(),"/user/keybindings.json"))&&s.type==="array"){for(var u=[],l=0,A=s.items;l<A.length;l++){var p=A[l];if(p.type==="object")for(var O=0,B=p.properties;O<B.length;O++){var ie=B[O];if(ie.keyNode.value==="key"&&ie.valueNode){var te=ks(t,p),N=ks(t,ie.keyNode);if(u.push({name:Cu(ie.valueNode),kind:Ki.Function,range:te,selectionRange:N}),a--,a<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),u}}}return u}for(var ue=[],Te=[{node:s,result:ue}],Pe=0,Ue=!1,be=function(vt,wt){vt.type==="array"?vt.items.forEach(function(xe,Ne){if(xe)if(a>0){a--;var st=ks(t,xe),Ve=st,$t=String(Ne),pn={name:$t,kind:i.getSymbolKind(xe.type),range:st,selectionRange:Ve,children:[]};wt.push(pn),Te.push({result:pn.children,node:xe})}else Ue=!0}):vt.type==="object"&&vt.properties.forEach(function(xe){var Ne=xe.valueNode;if(Ne)if(a>0){a--;var st=ks(t,xe),Ve=ks(t,xe.keyNode),$t=[],pn={name:i.getKeyLabel(xe),kind:i.getSymbolKind(Ne.type),range:st,selectionRange:Ve,children:$t,detail:i.getDetail(Ne)};wt.push(pn),Te.push({result:$t,node:Ne})}else Ue=!0})};Pe<Te.length;){var Me=Te[Pe++];be(Me.node,Me.result)}return Ue&&r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),ue},e.prototype.getSymbolKind=function(t){switch(t){case"object":return Ki.Module;case"string":return Ki.String;case"number":return Ki.Number;case"array":return Ki.Array;case"boolean":return Ki.Boolean;default:return Ki.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,A=o;l<A.length;l++){var p=A[l];if(!p.inverted&&p.schema&&(p.schema.format==="color"||p.schema.format==="color-hex")&&p.node&&p.node.type==="string"){var O=String(p.node.offset);if(!u[O]){var B=YD(Cu(p.node));if(B){var ie=ks(t,p.node);s.push({color:B,range:ie})}if(u[O]=!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(p){var O=p.toString(16);return O.length!==2?"0"+O:O}var A;return r.alpha===1?A="#"+l(a)+l(o)+l(u):A="#"+l(a)+l(o)+l(u)+l(Math.round(r.alpha*255)),s.push({label:A,textEdit:xr.replace(i,JSON.stringify(A))}),s},e}();function ks(e,t){return $n.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}var Rn=qs(),$m={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}}},zD={id:Rn("schema.json.id","A unique identifier for the schema."),$schema:Rn("schema.json.$schema","The schema to verify this document against."),title:Rn("schema.json.title","A descriptive title of the element."),description:Rn("schema.json.description","A long description of the element. Used in hover menus and suggestions."),default:Rn("schema.json.default","A default value. Used by suggestions."),multipleOf:Rn("schema.json.multipleOf","A number that should cleanly divide the current value (i.e. have no remainder)."),maximum:Rn("schema.json.maximum","The maximum numerical value, inclusive by default."),exclusiveMaximum:Rn("schema.json.exclusiveMaximum","Makes the maximum property exclusive."),minimum:Rn("schema.json.minimum","The minimum numerical value, inclusive by default."),exclusiveMinimum:Rn("schema.json.exclusiveMininum","Makes the minimum property exclusive."),maxLength:Rn("schema.json.maxLength","The maximum length of a string."),minLength:Rn("schema.json.minLength","The minimum length of a string."),pattern:Rn("schema.json.pattern","A regular expression to match the string against. It is not implicitly anchored."),additionalItems:Rn("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:Rn("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:Rn("schema.json.maxItems","The maximum number of items that can be inside an array. Inclusive."),minItems:Rn("schema.json.minItems","The minimum number of items that can be inside an array. Inclusive."),uniqueItems:Rn("schema.json.uniqueItems","If all of the items in the array must be unique. Defaults to false."),maxProperties:Rn("schema.json.maxProperties","The maximum number of properties an object can have. Inclusive."),minProperties:Rn("schema.json.minProperties","The minimum number of properties an object can have. Inclusive."),required:Rn("schema.json.required","An array of strings that lists the names of all properties required on this object."),additionalProperties:Rn("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:Rn("schema.json.definitions","Not used for validation. Place subschemas here that you wish to reference inline with $ref."),properties:Rn("schema.json.properties","A map of property names to schemas for each property."),patternProperties:Rn("schema.json.patternProperties","A map of regular expressions on property names to schemas for matching properties."),dependencies:Rn("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:Rn("schema.json.enum","The set of literal values that are valid."),type:Rn("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:Rn("schema.json.format","Describes the format expected for the value."),allOf:Rn("schema.json.allOf","An array of schemas, all of which must match."),anyOf:Rn("schema.json.anyOf","An array of schemas, where at least one must match."),oneOf:Rn("schema.json.oneOf","An array of schemas, exactly one of which must match."),not:Rn("schema.json.not","A schema which must not match."),$id:Rn("schema.json.$id","A unique identifier for the schema."),$ref:Rn("schema.json.$ref","Reference a definition hosted on any location."),$comment:Rn("schema.json.$comment","Comments from schema authors to readers or maintainers of the schema."),readOnly:Rn("schema.json.readOnly","Indicates that the value of the instance is managed exclusively by the owning authority."),examples:Rn("schema.json.examples","Sample JSON values associated with a particular schema, for the purpose of illustrating usage."),contains:Rn("schema.json.contains",'An array instance is valid against "contains" if at least one of its elements is valid against the given schema.'),propertyNames:Rn("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:Rn("schema.json.const","An instance validates successfully against this keyword if its value is equal to the value of the keyword."),contentMediaType:Rn("schema.json.contentMediaType","Describes the media type of a string property."),contentEncoding:Rn("schema.json.contentEncoding","Describes the content encoding of a string property."),if:Rn("schema.json.if",'The validation outcome of the "if" subschema controls which of the "then" or "else" keywords are evaluated.'),then:Rn("schema.json.then",'The "if" subschema is used for validation when the "if" subschema succeeds.'),else:Rn("schema.json.else",'The "else" subschema is used for validation when the "if" subschema fails.')};for(Rm in $m.schemas){Nu=$m.schemas[Rm];for(Pa in Nu.properties)_u=Nu.properties[Pa],typeof _u=="boolean"&&(_u=Nu.properties[Pa]={}),Gc=zD[Pa],Gc?_u.description=Gc:console.log(Pa+": localize('schema.json."+Pa+`', "")`)}var Nu,_u,Gc,Pa,Rm;function QD(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=KD(t,s);if(a){var o=e.positionAt(a.offset);n.push({target:e.uri+"#"+(o.line+1)+","+(o.character+1),range:XD(e,r.valueNode)})}}return!0}),Promise.resolve(n)}function XD(e,t){return $n.create(e.positionAt(t.offset+1),e.positionAt(t.offset+t.length-1))}function KD(e,t){var n=ZD(t);return n?Jc(n,e.root):null}function Jc(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?Jc(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?Jc(e,s):null}return null}function ZD(e){return e==="#"?[]:e[0]!=="#"||e[1]!=="/"?null:e.substring(2).split(/\//).map(eb)}function eb(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function Tu(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 Vm(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 Um(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=qs(),Yc="Property {0} is not allowed.",tb={"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,}))$/}},ku="YAML",qm="yaml-schema: ",oi;(function(e){e.missingRequiredPropWarning="missingRequiredPropWarning",e.typeMismatchWarning="typeMismatchWarning",e.constWarning="constWarning"})(oi||(oi={}));var nb={[oi.missingRequiredPropWarning]:'Missing property "{0}".',[oi.typeMismatchWarning]:'Incorrect type. Expected "{0}".',[oi.constWarning]:"Value must be {0}."},Ys=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()+"}":"")}},rb=class extends Ys{constructor(e,t,n,r){super(e,t,n,r),this.type="null",this.value=null}},ib=class extends Ys{constructor(e,t,n,r,i){super(e,t,r,i),this.type="boolean",this.value=n}},sb=class extends Ys{constructor(e,t,n,r){super(e,t,n,r),this.type="array",this.items=[]}get children(){return this.items}},ab=class extends Ys{constructor(e,t,n,r){super(e,t,n,r),this.type="number",this.isInteger=!0,this.value=Number.NaN}},Lu=class extends Ys{constructor(e,t,n,r){super(e,t,n,r),this.type="string",this.value=""}},ob=class extends Ys{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]}},ub=class extends Ys{constructor(e,t,n,r){super(e,t,n,r),this.type="object",this.properties=[]}get children(){return this.properties}};function ui(e){if(e!==void 0)return La(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 Wm;(function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"})(Wm||(Wm={}));var Gm=class{constructor(e=-1,t=null){this.focusOffset=e,this.exclude=t,this.schemas=[]}add(e){this.schemas.push(e)}merge(e){this.schemas.push(...e.schemas)}include(e){return(this.focusOffset===-1||Jm(e,this.focusOffset))&&e!==this.exclude}newSub(){return new Gm(-1,this.exclude)}},Co=class{constructor(){}get schemas(){return[]}add(e){}merge(e){}include(e){return!0}newSub(){return this}};Co.instance=new Co;var di=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===qi.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!==oi.missingRequiredPropWarning||Um(u.problemArgs,a.problemArgs)));o&&(o.problemArgs.length&&(o.problemArgs.filter(u=>!a.problemArgs.includes(u)).forEach(u=>a.problemArgs.push(u)),a.message=Pu(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(qm,"");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 Ba(e){switch(e.type){case"array":return e.children.map(Ba);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]=Ba(s))}return t}case"null":case"string":case"number":case"boolean":return e.value;default:return}}function Jm(e,t,n=!1){return t>=e.offset&&t<=e.offset+e.length||n&&t===e.offset+e.length}function Ym(e,t,n){if(n===void 0&&(n=!1),Jm(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=Ym(r[i],t,n);if(s)return s}return e}}var lb=class{constructor(e,t=[],n=[]){this.root=e,this.syntaxErrors=t,this.comments=n}getNodeFromOffset(e,t=!1){if(this.root)return Ym(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 di(this.isKubernetes);return Jr(this.root,t,t,n,Co.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=_i.create(i,r.message,r.severity,r.code?r.code:qi.Undefined,r.source);return s.data={schemaUri:r.schemaUri,...r.data},s})}return null}getMatchingSchemas(e,t=-1,n=null,r){const i=new Gm(t,n);return this.root&&e&&Jr(this.root,e,e,new di(this.isKubernetes),i,{isKubernetes:this.isKubernetes,disableAdditionalProperties:this.disableAdditionalProperties,uri:this.uri,callFromAutoComplete:r}),i.schemas}};function Jr(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":O(e,t,r,i);break;case"array":p(e,t,r,i);break;case"string":A(e,t,r);break;case"number":l(e,t,r);break;case"property":return Jr(e.valueNode,t,t,r,i,s)}u(),i.add({node:e,schema:t});function u(){function te(be){return e.type===be||be==="integer"&&e.type==="number"&&e.isInteger}if(Array.isArray(t.type))t.type.some(te)||r.problems.push({location:{offset:e.offset,length:e.length},severity:Kn.Warning,message:t.errorMessage||ir("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", ")),source:hr(t,n),schemaUri:mr(t,n)});else if(t.type&&!te(t.type)){const be=t.type==="object"?qc(t):t.type;r.problems.push({location:{offset:e.offset,length:e.length},severity:Kn.Warning,message:t.errorMessage||Pu(oi.typeMismatchWarning,[be]),source:hr(t,n),schemaUri:mr(t,n),problemType:oi.typeMismatchWarning,problemArgs:[be]})}if(Array.isArray(t.allOf))for(const be of t.allOf)Jr(e,ui(be),t,r,i,s);const N=ui(t.not);if(N){const be=new di(a),Me=i.newSub();Jr(e,N,t,be,Me,s),be.hasProblems()||r.problems.push({location:{offset:e.offset,length:e.length},severity:Kn.Warning,message:ir("notSchemaWarning","Matches a schema that is not allowed."),source:hr(t,n),schemaUri:mr(t,n)});for(const vt of Me.schemas)vt.inverted=!vt.inverted,i.add(vt)}const ue=(be,Me)=>{const vt=[],wt=[],xe=[];let Ne=null;for(const st of be){const Ve={...ui(st)},$t=new di(a),pn=i.newSub();Jr(e,Ve,t,$t,pn,s),(!$t.hasProblems()||o)&&(vt.push(Ve),wt.push(Ve),$t.propertiesMatches===0&&xe.push(Ve),Ve.format&&wt.pop()),Ne?a?Ne=B($t,Ne,Ve,pn):Ne=ie(e,Me,$t,Ne,Ve,pn):Ne={schema:Ve,validationResult:$t,matchingSchemas:pn}}return wt.length>1&&(wt.length>1||xe.length===0)&&Me&&r.problems.push({location:{offset:e.offset,length:1},severity:Kn.Warning,message:ir("oneOfWarning","Matches multiple schemas when only one must validate."),source:hr(t,n),schemaUri:mr(t,n)}),Ne!==null&&(r.merge(Ne.validationResult),r.propertiesMatches+=Ne.validationResult.propertiesMatches,r.propertiesValueMatches+=Ne.validationResult.propertiesValueMatches,i.merge(Ne.matchingSchemas)),vt.length};Array.isArray(t.anyOf)&&ue(t.anyOf,!1),Array.isArray(t.oneOf)&&ue(t.oneOf,!0);const Te=(be,Me)=>{const vt=new di(a),wt=i.newSub();Jr(e,ui(be),Me,vt,wt,s),r.merge(vt),r.propertiesMatches+=vt.propertiesMatches,r.propertiesValueMatches+=vt.propertiesValueMatches,i.merge(wt)},Pe=(be,Me,vt,wt)=>{const xe=ui(be),Ne=new di(a),st=i.newSub();Jr(e,xe,Me,Ne,st,s),i.merge(st);const{filePatternAssociation:Ve}=xe;Ve&&(new kb(Ve).matchesPattern(s.uri)||Ne.problems.push({location:{offset:e.offset,length:e.length},severity:Kn.Warning,message:ir("ifFilePatternAssociation",`filePatternAssociation '${Ve}' does not match with doc uri '${s.uri}'.`),source:hr(t,Me),schemaUri:mr(t,Me)})),Ne.hasProblems()?wt&&Te(wt,Me):vt&&Te(vt,Me)},Ue=ui(t.if);if(Ue&&Pe(Ue,t,ui(t.then),ui(t.else)),Array.isArray(t.enum)){const be=Ba(e);let Me=!1;for(const vt of t.enum)if(Ao(be,vt)||o&&xu(be)&&xu(vt)&&be&&vt.startsWith(be)){Me=!0;break}r.enumValues=t.enum,r.enumValueMatch=Me,Me||r.problems.push({location:{offset:e.offset,length:e.length},severity:Kn.Warning,code:qi.EnumValueMismatch,message:t.errorMessage||ir("enumWarning","Value is not accepted. Valid values: {0}.",t.enum.map(vt=>JSON.stringify(vt)).join(", ")),source:hr(t,n),schemaUri:mr(t,n)})}if(Js(t.const)){const be=Ba(e);Ao(be,t.const)?r.enumValueMatch=!0:(r.problems.push({location:{offset:e.offset,length:e.length},severity:Kn.Warning,code:qi.EnumValueMismatch,problemType:oi.constWarning,message:t.errorMessage||Pu(oi.constWarning,[JSON.stringify(t.const)]),source:hr(t,n),schemaUri:mr(t,n),problemArgs:[JSON.stringify(t.const)]}),r.enumValueMatch=!1),r.enumValues=[t.const]}t.deprecationMessage&&e.parent&&r.problems.push({location:{offset:e.parent.offset,length:e.parent.length},severity:Kn.Warning,message:t.deprecationMessage,source:hr(t,n),schemaUri:mr(t,n)})}function l(te,N,ue){const Te=te.value;Bi(N.multipleOf)&&Te%N.multipleOf!==0&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:ir("multipleOfWarning","Value is not divisible by {0}.",N.multipleOf),source:hr(N,n),schemaUri:mr(N,n)});function Pe(xe,Ne){if(Bi(Ne))return Ne;if(La(Ne)&&Ne)return xe}function Ue(xe,Ne){if(!La(Ne)||!Ne)return xe}const be=Pe(N.minimum,N.exclusiveMinimum);Bi(be)&&Te<=be&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:ir("exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",be),source:hr(N,n),schemaUri:mr(N,n)});const Me=Pe(N.maximum,N.exclusiveMaximum);Bi(Me)&&Te>=Me&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:ir("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",Me),source:hr(N,n),schemaUri:mr(N,n)});const vt=Ue(N.minimum,N.exclusiveMinimum);Bi(vt)&&Te<vt&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:ir("minimumWarning","Value is below the minimum of {0}.",vt),source:hr(N,n),schemaUri:mr(N,n)});const wt=Ue(N.maximum,N.exclusiveMaximum);Bi(wt)&&Te>wt&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:ir("maximumWarning","Value is above the maximum of {0}.",wt),source:hr(N,n),schemaUri:mr(N,n)})}function A(te,N,ue){if(Bi(N.minLength)&&te.value.length<N.minLength&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:ir("minLengthWarning","String is shorter than the minimum length of {0}.",N.minLength),source:hr(N,n),schemaUri:mr(N,n)}),Bi(N.maxLength)&&te.value.length>N.maxLength&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:ir("maxLengthWarning","String is longer than the maximum length of {0}.",N.maxLength),source:hr(N,n),schemaUri:mr(N,n)}),xu(N.pattern)&&(Pm(N.pattern).test(te.value)||ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:N.patternErrorMessage||N.errorMessage||ir("patternWarning",'String does not match the pattern of "{0}".',N.pattern),source:hr(N,n),schemaUri:mr(N,n)})),N.format)switch(N.format){case"uri":case"uri-reference":{let Te;if(!te.value)Te=ir("uriEmpty","URI expected.");else try{!ei.parse(te.value).scheme&&N.format==="uri"&&(Te=ir("uriSchemeMissing","URI with a scheme is expected."))}catch(Pe){Te=Pe.message}Te&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:N.patternErrorMessage||N.errorMessage||ir("uriFormatWarning","String is not a URI: {0}",Te),source:hr(N,n),schemaUri:mr(N,n)})}break;case"color-hex":case"date-time":case"date":case"time":case"email":{const Te=tb[N.format];(!te.value||!Te.pattern.exec(te.value))&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:N.patternErrorMessage||N.errorMessage||Te.errorMessage,source:hr(N,n),schemaUri:mr(N,n)})}break}}function p(te,N,ue,Te){if(Array.isArray(N.items)){const Ue=N.items;for(let be=0;be<Ue.length;be++){const Me=Ue[be],vt=ui(Me),wt=new di(a),xe=te.items[be];xe?(Jr(xe,vt,N,wt,Te,s),ue.mergePropertyMatch(wt),ue.mergeEnumValues(wt)):te.items.length>=Ue.length&&ue.propertiesValueMatches++}if(te.items.length>Ue.length)if(typeof N.additionalItems=="object")for(let be=Ue.length;be<te.items.length;be++){const Me=new di(a);Jr(te.items[be],N.additionalItems,N,Me,Te,s),ue.mergePropertyMatch(Me),ue.mergeEnumValues(Me)}else N.additionalItems===!1&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:ir("additionalItemsWarning","Array has too many items according to schema. Expected {0} or fewer.",Ue.length),source:hr(N,n),schemaUri:mr(N,n)})}else{const Ue=ui(N.items);if(Ue){const be=new di(a);te.items.forEach(Me=>{if(Ue.oneOf&&Ue.oneOf.length===1){const vt=Ue.oneOf[0],wt={...ui(vt)};wt.title=N.title,wt.closestTitle=N.closestTitle,Jr(Me,wt,N,be,Te,s),ue.mergePropertyMatch(be),ue.mergeEnumValues(be)}else Jr(Me,Ue,N,be,Te,s),ue.mergePropertyMatch(be),ue.mergeEnumValues(be)})}}const Pe=ui(N.contains);if(Pe&&(te.items.some(be=>{const Me=new di(a);return Jr(be,Pe,N,Me,Co.instance,s),!Me.hasProblems()})||ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:N.errorMessage||ir("requiredItemMissingWarning","Array does not contain required item."),source:hr(N,n),schemaUri:mr(N,n)})),Bi(N.minItems)&&te.items.length<N.minItems&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:ir("minItemsWarning","Array has too few items. Expected {0} or more.",N.minItems),source:hr(N,n),schemaUri:mr(N,n)}),Bi(N.maxItems)&&te.items.length>N.maxItems&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:ir("maxItemsWarning","Array has too many items. Expected {0} or fewer.",N.maxItems),source:hr(N,n),schemaUri:mr(N,n)}),N.uniqueItems===!0){const Ue=Ba(te);Ue.some((Me,vt)=>vt!==Ue.lastIndexOf(Me))&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:ir("uniqueItemsWarning","Array has duplicate items."),source:hr(N,n),schemaUri:mr(N,n)})}}function O(te,N,ue,Te){var Pe;const Ue=Object.create(null),be=[],Me=[...te.properties];for(;Me.length>0;){const xe=Me.pop(),Ne=xe.keyNode.value;if(Ne==="<<"&&xe.valueNode)switch(xe.valueNode.type){case"object":{Me.push(...xe.valueNode.properties);break}case"array":{xe.valueNode.items.forEach(st=>{st&&$D(st.properties)&&Me.push(...st.properties)});break}}else Ue[Ne]=xe.valueNode,be.push(Ne)}if(Array.isArray(N.required)){for(const xe of N.required)if(Ue[xe]===void 0){const Ne=te.parent&&te.parent.type==="property"&&te.parent.keyNode,st=Ne?{offset:Ne.offset,length:Ne.length}:{offset:te.offset,length:1};ue.problems.push({location:st,severity:Kn.Warning,message:Pu(oi.missingRequiredPropWarning,[xe]),source:hr(N,n),schemaUri:mr(N,n),problemArgs:[xe],problemType:oi.missingRequiredPropWarning})}}const vt=xe=>{let Ne=be.indexOf(xe);for(;Ne>=0;)be.splice(Ne,1),Ne=be.indexOf(xe)};if(N.properties)for(const xe of Object.keys(N.properties)){vt(xe);const Ne=N.properties[xe],st=Ue[xe];if(st)if(La(Ne))if(Ne)ue.propertiesMatches++,ue.propertiesValueMatches++;else{const Ve=st.parent;ue.problems.push({location:{offset:Ve.keyNode.offset,length:Ve.keyNode.length},severity:Kn.Warning,message:N.errorMessage||ir("DisallowedExtraPropWarning",Yc,xe),source:hr(N,n),schemaUri:mr(N,n)})}else{Ne.url=(Pe=N.url)!=null?Pe:n.url;const Ve=new di(a);Jr(st,Ne,N,Ve,Te,s),ue.mergePropertyMatch(Ve),ue.mergeEnumValues(Ve)}}if(N.patternProperties)for(const xe of Object.keys(N.patternProperties)){const Ne=Pm(xe);for(const st of be.slice(0))if(Ne.test(st)){vt(st);const Ve=Ue[st];if(Ve){const $t=N.patternProperties[xe];if(La($t))if($t)ue.propertiesMatches++,ue.propertiesValueMatches++;else{const pn=Ve.parent;ue.problems.push({location:{offset:pn.keyNode.offset,length:pn.keyNode.length},severity:Kn.Warning,message:N.errorMessage||ir("DisallowedExtraPropWarning",Yc,st),source:hr(N,n),schemaUri:mr(N,n)})}else{const pn=new di(a);Jr(Ve,$t,N,pn,Te,s),ue.mergePropertyMatch(pn),ue.mergeEnumValues(pn)}}}}if(typeof N.additionalProperties=="object")for(const xe of be){const Ne=Ue[xe];if(Ne){const st=new di(a);Jr(Ne,N.additionalProperties,N,st,Te,s),ue.mergePropertyMatch(st),ue.mergeEnumValues(st)}}else if((N.additionalProperties===!1||N.type==="object"&&N.additionalProperties===void 0&&s.disableAdditionalProperties===!0)&&be.length>0){const xe=N.properties&&Object.keys(N.properties).filter(Ne=>!Ue[Ne]);for(const Ne of be){const st=Ue[Ne];if(st){let Ve=null;st.type!=="property"?(Ve=st.parent,Ve.type==="object"&&(Ve=Ve.properties[0])):Ve=st;const $t={location:{offset:Ve.keyNode.offset,length:Ve.keyNode.length},severity:Kn.Warning,message:N.errorMessage||ir("DisallowedExtraPropWarning",Yc,Ne),source:hr(N,n),schemaUri:mr(N,n)};xe!=null&&xe.length&&($t.data={properties:xe}),ue.problems.push($t)}}}if(Bi(N.maxProperties)&&te.properties.length>N.maxProperties&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:ir("MaxPropWarning","Object has more properties than limit of {0}.",N.maxProperties),source:hr(N,n),schemaUri:mr(N,n)}),Bi(N.minProperties)&&te.properties.length<N.minProperties&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:ir("MinPropWarning","Object has fewer properties than the required number of {0}",N.minProperties),source:hr(N,n),schemaUri:mr(N,n)}),N.dependencies){for(const xe of Object.keys(N.dependencies))if(Ue[xe]){const st=N.dependencies[xe];if(Array.isArray(st))for(const Ve of st)Ue[Ve]?ue.propertiesValueMatches++:ue.problems.push({location:{offset:te.offset,length:te.length},severity:Kn.Warning,message:ir("RequiredDependentPropWarning","Object is missing property {0} required by property {1}.",Ve,xe),source:hr(N,n),schemaUri:mr(N,n)});else{const Ve=ui(st);if(Ve){const $t=new di(a);Jr(te,Ve,N,$t,Te,s),ue.mergePropertyMatch($t),ue.mergeEnumValues($t)}}}}const wt=ui(N.propertyNames);if(wt)for(const xe of te.properties){const Ne=xe.keyNode;Ne&&Jr(Ne,wt,N,ue,Co.instance,s)}}function B(te,N,ue,Te){const Pe=te.compareKubernetes(N.validationResult);return Pe>0?N={schema:ue,validationResult:te,matchingSchemas:Te}:Pe===0&&(N.matchingSchemas.merge(Te),N.validationResult.mergeEnumValues(te)),N}function ie(te,N,ue,Te,Pe,Ue){if(!N&&!ue.hasProblems()&&(!Te.validationResult.hasProblems()||o))Te.matchingSchemas.merge(Ue),Te.validationResult.propertiesMatches+=ue.propertiesMatches,Te.validationResult.propertiesValueMatches+=ue.propertiesValueMatches;else{const be=ue.compareGeneric(Te.validationResult);be>0||be===0&&N&&Te.schema.type==="object"&&te.type!=="null"&&te.type!==Te.schema.type?Te={schema:Pe,validationResult:ue,matchingSchemas:Ue}:be===0&&(Te.matchingSchemas.merge(Ue),Te.validationResult.mergeEnumValues(ue),Te.validationResult.mergeWarningGeneric(ue,[oi.missingRequiredPropWarning,oi.typeMismatchWarning,oi.constWarning]))}return Te}}function hr(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=ei.parse(i);s.scheme==="file"&&(r=s.fsPath),r=s.toString()}}if(r)return`${qm}${r}`}return ku}function mr(e,t){var n;const r=(n=e.url)!=null?n:t.url;return r?[r]:[]}function Pu(e,t){return ir(e,nb[e],t.join(" | "))}var cb=1e3,Hc=0;function Ia(e,t,n,r){if(e||(Hc=0),!t)return null;if(Vr(t))return fb(t,e,n,r);if(dr(t))return pb(t,e,n,r);if(Lr(t))return db(t,e,n,r);if(Jn(t))return hb(t,e);if(Zi(t))return Hc>cb?void 0:mb(t,e,n,r)}function fb(e,t,n,r){let i;e.flow&&!e.range?i=gb(e):i=e.range;const s=new ub(t,e,...Hm(i,r));for(const a of e.items)dr(a)&&s.properties.push(Ia(s,a,n,r));return s}function pb(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 ob(t,e,...Hm([a,o,u],r));if(Zi(i)){const A=new Lu(t,i,...Ls(i.range));A.value=i.source,l.keyNode=A}else l.keyNode=Ia(l,i,n,r);return l.valueNode=Ia(l,s,n,r),l}function db(e,t,n,r){const i=new sb(t,e,...Ls(e.range));for(const s of e.items)if(yr(s)){const a=Ia(i,s,n,r);a&&i.children.push(a)}return i}function hb(e,t){if(e.value===null)return new rb(t,e,...Ls(e.range));switch(typeof e.value){case"string":{const n=new Lu(t,e,...Ls(e.range));return n.value=e.value,n}case"boolean":return new ib(t,e,e.value,...Ls(e.range));case"number":{const n=new ab(t,e,...Ls(e.range));return n.value=e.value,n.isInteger=Number.isInteger(n.value),n}default:{const n=new Lu(t,e,...Ls(e.range));return n.value=e.source,n}}}function mb(e,t,n,r){Hc++;const i=e.resolve(n);if(i)return Ia(t,i,n,r);{const s=new Lu(t,e,...Ls(e.range));return s.value=e.source,s}}function Ls(e){return[e[0],e[1]-e[0]]}function Hm(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 gb(e){let t=Number.MAX_SAFE_INTEGER,n=0;for(const r of e.items)dr(r)&&(yr(r.key)&&r.key.range&&r.key.range[0]<=t&&(t=r.key.range[0]),yr(r.value)&&r.value.range&&r.value.range[2]>=n&&(n=r.value.range[2]));return[t,n,n]}function yb(e,t){let n;if(Fr(e,(r,i,s)=>{if(i===t)return n=s[s.length-1],Fr.BREAK}),!lo(n))return n}function Db(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 bb(e,t){for(const[n,r]of e.items.entries())if(t===r)return n}function vb(e,t){let n=!1;for(const r of e){if(r.type==="document")zc([],r,i=>{var s;if(zm(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,Fr.BREAK}else if(i.type==="comment"&&i.offset<=t&&i.offset+i.source.length>=t)return n=!0,Fr.BREAK});else if(r.type==="comment"&&r.offset<=t&&r.source.length+r.offset>=t)return!0;if(n)break}return n}function zm(e){return e.start!==void 0}function zc(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=zc(Object.freeze(e.concat([[s,o]])),a.items[o],n);if(typeof u=="number")o=u-1;else{if(u===Fr.BREAK)return Fr.BREAK;u===Fr.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=zc(Object.freeze(e),i[s],n);if(typeof a=="number")s=a-1;else{if(a===Fr.BREAK)return Fr.BREAK;a===Fr.REMOVE&&(i.items.splice(s,1),s-=1)}}return typeof r=="function"?r(t,e):r}var Qc=class extends lb{constructor(e){super(null,[]),this.lineCounter=e}clone(){const e=new Qc(this.lineCounter);return e.isKubernetes=this.isKubernetes,e.disableAdditionalProperties=this.disableAdditionalProperties,e.uri=this.uri,e.currentDocIndex=this.currentDocIndex,e._lineComments=this.lineComments.slice(),e.internalDocument=this._internalDocument.clone(),e}collectLineComments(){this._lineComments=[],this._internalDocument.commentBefore&&this._internalDocument.commentBefore.split(`
406
- `).forEach(t=>this._lineComments.push(`#${t}`)),Fr(this.internalDocument,(e,t)=>{t!=null&&t.commentBefore&&(t==null?void 0:t.commentBefore.split(`
407
- `)).forEach(r=>this._lineComments.push(`#${r}`)),t!=null&&t.comment&&this._lineComments.push(`#${t.comment}`)}),this._internalDocument.comment&&this._lineComments.push(`#${this._internalDocument.comment}`)}set internalDocument(e){this._internalDocument=e,this.root=Ia(null,this._internalDocument.contents,this._internalDocument,this.lineCounter)}get internalDocument(){return this._internalDocument}get lineComments(){return this._lineComments||this.collectLineComments(),this._lineComments}set lineComments(e){this._lineComments=e}get errors(){return this.internalDocument.errors.map(Xm)}get warnings(){return this.internalDocument.warnings.map(Xm)}getNodeFromPosition(e,t,n){const r=t.getPosition(e),i=t.getLineContent(r.line);if(i.trim().length===0)return[this.findClosestNode(e,t,n),!0];const a=i.substring(r.character).match(/^([ ]+)\n?$/),o=!!a,u=a==null?void 0:a[1].length;let l;return Fr(this.internalDocument,(A,p)=>{if(!p)return;const O=p.range;if(!O)return;const B=()=>o&&e+u===O[2]&&Jn(p)&&p.value===null;if(O[0]<=e&&O[1]>=e||B())l=p;else return Fr.SKIP}),[l,!1]}findClosestNode(e,t,n){let r=this.internalDocument.range[2],i=this.internalDocument.range[0],s;Fr(this.internalDocument,(l,A)=>{if(!A)return;const p=A.range;if(!p)return;const O=p[1]-e;i<=p[0]&&O<=0&&Math.abs(O)<=r&&(r=Math.abs(O),i=p[0],s=A)});const a=t.getPosition(e),o=t.getLineContent(a.line),u=OD(o,a.character);return Jn(s)&&s.value===null||u===a.character&&(s=this.getProperParentByIndentation(u,s,t,"",n)),s}getProperParentByIndentation(e,t,n,r,i,s){if(!t)return this.internalDocument.contents;if(i=i||2,yr(t)&&t.range){const a=n.getPosition(t.range[0]),o=n.getLineContent(a.line);if(r=r===""?o.trim():r,r.startsWith("-")&&e===i&&r===o.trim()&&(a.character+=e),a.character>e&&a.character>0){const u=this.getParent(t);if(u)return this.getProperParentByIndentation(e,u,n,r,i,s)}else if(a.character<e){const u=this.getParent(t);if(dr(u)&&yr(u.value))return u.value;if(dr(s)&&yr(s.value))return s.value}else return t}else if(dr(t)){s=t;const a=this.getParent(t);return this.getProperParentByIndentation(e,a,n,r,i,s)}return t}getParent(e){return yb(this.internalDocument,e)}},Qm=class{constructor(e,t){this.documents=e,this.tokens=t,this.errors=[],this.warnings=[]}},Eb=class{constructor(){this.cache=new Map}getYamlDocument(e,t,n=!1){return this.ensureCache(e,t??Bu,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 Qm([],[]),parserOptions:Bu});const i=this.cache.get(r);if(i.version!==e.version||t.customTags&&!Um(i.parserOptions.customTags,t.customTags)){let s=e.getText();n&&!/\S/.test(s)&&(s=`{${s}}`);const a=xb(s,t,e);i.document=a,i.version=e.version,i.parserOptions=t}}},ts=new Eb;function Xm(e){return{message:e.message,location:{start:e.pos[0],end:e.pos[1],toLineEnd:!0},severity:1,code:qi.Undefined}}var Ab=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(Vr(e)&&this.type==="mapping"||Lr(e)&&this.type==="sequence"||typeof e=="string"&&this.type==="scalar")return e}},Cb=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 Sb(e){const t=[],n=Vm(e);for(const r of n){const i=r.split(" "),s=i[0],a=i[1]&&i[1].toLowerCase()||"scalar";t.push(new Ab(s,a))}return t.push(new Cb),t}var Hs=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)}},Bu={customTags:[],yamlVersion:"1.2"};function xb(e,t=Bu,n){var r;const i={strict:!1,customTags:Sb(t.customTags),version:(r=t.yamlVersion)!=null?r:Bu.yamlVersion,keepSourceTokens:!0},s=new hm(i),a=new Em;let o=!1;if(n){const B=new Hs(n),ie=B.getPosition(e.length);o=B.getLineContent(ie.line).trim().length===0}const l=(o?new Vc:new Vc(a.addNewLine)).parse(e),A=Array.from(l),p=s.compose(A,!0,e.length),O=Array.from(p,B=>wb(B,a));return new Qm(O,A)}function wb(e,t){const n=new Qc(t);return n.internalDocument=e,n}function Fb(e){if(e instanceof Qc){const t=e.lineComments.find(n=>Xc(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 Xc(e){const t=e.match(/^#\s+yaml-language-server\s*:/g);return t!==null&&t.length===1}var Nb=class{compile(){return()=>!0}},Iu=qs(),_b=new Nb,Tb=CD(),Km=_b.compile(Tb),Zm;(function(e){e[e.delete=0]="delete",e[e.add=1]="add",e[e.deleteAll=2]="deleteAll"})(Zm||(Zm={}));var kb=class{constructor(e){try{this.patternRegExp=new RegExp(MD(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}},Lb=class extends PD{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(!Km(i)){const A=[];for(const p of Km.errors)A.push(`${p.instancePath} : ${p.message}`);r.push(`Schema '${Im(e.schema,t)}' is not valid:
408
- ${A.join(`
409
- `)}`)}const a=(A,p)=>{if(!p)return A;let O=A;return p[0]==="/"&&(p=p.substr(1)),p.split("/").some(B=>(O=O[B],!O)),O},o=(A,p,O,B)=>{const ie=a(p,B);if(ie)for(const te in ie)Object.prototype.hasOwnProperty.call(ie,te)&&!Object.prototype.hasOwnProperty.call(A,te)&&(A[te]=ie[te]);else r.push(Iu("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",B,O))},u=(A,p,O,B,ie)=>{s&&!/^\w+:\/\/.*/.test(p)&&(p=s.resolveRelativePath(p,B)),p=this.normalizeId(p);const te=this.getOrAddSchemaHandle(p);return te.getUnresolvedSchema().then(N=>{if(ie[p]=!0,N.errors.length){const ue=O?p+"#"+O:p;r.push(Iu("json.schema.problemloadingref","Problems loading reference '{0}': {1}",ue,N.errors[0]))}return o(A,N.schema,p,O),A.url=p,l(A,N.schema,p,te.dependencies)})},l=async(A,p,O,B)=>{if(!A||typeof A!="object")return null;const ie=[A],te=[],N=[],ue=(...be)=>{for(const Me of be)typeof Me=="object"&&ie.push(Me)},Te=(...be)=>{for(const Me of be)if(typeof Me=="object")for(const vt in Me){const wt=Me[vt];typeof wt=="object"&&ie.push(wt)}},Pe=(...be)=>{for(const Me of be)if(Array.isArray(Me))for(const vt of Me)typeof vt=="object"&&ie.push(vt)},Ue=be=>{const Me=[];for(;be.$ref;){const vt=be.$ref,wt=vt.split("#",2);if(be._$ref=be.$ref,delete be.$ref,wt[0].length>0){N.push(u(be,wt[0],wt[1],O,B));return}else Me.indexOf(vt)===-1&&(o(be,p,O,wt[1]),Me.push(vt))}ue(be.items,be.additionalItems,be.additionalProperties,be.not,be.contains,be.propertyNames,be.if,be.then,be.else),Te(be.definitions,be.properties,be.patternProperties,be.dependencies),Pe(be.anyOf,be.allOf,be.oneOf,be.items,be.schemaSequence)};if(O.indexOf("#")>0){const be=O.split("#",2);if(be[0].length>0&&be[1].length>0){const Me={};await u(Me,be[0],be[1],O,B);for(const vt in i)vt!=="required"&&Object.prototype.hasOwnProperty.call(i,vt)&&!Object.prototype.hasOwnProperty.call(Me,vt)&&(Me[vt]=i[vt]);i=Me}}for(;ie.length;){const be=ie.pop();te.indexOf(be)>=0||(te.push(be),Ue(be))}return Promise.all(N)};return await l(i,i,t,n),new Eo(i,r)}getSchemaForResource(e,t){const n=()=>{let a=Fb(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(Us.isAbsolute(a))a=ei.file(a).toString();else{const u=ei.parse(e);a=ei.file(Us.resolve(Us.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 Eo(u.schema.schemaSequence[t.currentDocIndex]):u))},i=()=>{const a=Object.create(null),o=[];for(const l of this.filePatternAssociations)if(l.matchesPattern(e))for(const A of l.getURIs())a[A]||(o.push(A),a[A]=!0);const u=this.normalizeId(e);if(this.schemasById[u]&&o.push(u),o.length>0){const l=this.highestPrioritySchemas(o);return r(l)}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:{anyOf: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&&(r.schema.url=e),r.schema&&r.schema.schemaSequence&&r.schema.schemaSequence[t.currentDocIndex]?new Eo(r.schema.schemaSequence[t.currentDocIndex]):r}async saveSchema(e,t){const n=this.normalizeId(e);return this.getOrAddSchemaHandle(n,t),this.schemaPriorityMapping.set(n,new Set().add(Zc.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 ei.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=Iu("json.schema.nocontent","Unable to load schema from '{0}': No content. {1}",e0(e),n.errors);return new Wi({},[i])}try{const i=mD(r);return new Wi(i,[])}catch(i){const s=Iu("json.schema.invalidFormat","Unable to parse content from '{0}': {1}.",e0(e),i);return new Wi({},[s])}},r=>{let i=r.toString();const s=r.toString().split("Error: ");return s.length>1&&(i=s[1]),new Wi({},[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 e0(e){try{const t=ei.parse(e);if(t.scheme==="file")return t.fsPath}catch{}return e}var Pb=class{constructor(e,t){this.telemetry=t,this.jsonDocumentSymbols=new HD(e),this.jsonDocumentSymbols.getKeyLabel=n=>{const r=n.keyNode.internalNode;let i="";return Vr(r)?i="{}":Lr(r)?i="[]":i=r.source,i}}findDocumentSymbols(e,t={resultLimit:Number.MAX_VALUE}){let n=[];try{const r=ts.getYamlDocument(e);if(!r||r.documents.length===0)return null;for(const i of r.documents)i.root&&(n=n.concat(this.jsonDocumentSymbols.findDocumentSymbols(e,i,t)))}catch(r){this.telemetry.sendError("yaml.documentSymbols.error",{error:os(r)})}return n}findHierarchicalDocumentSymbols(e,t={resultLimit:Number.MAX_VALUE}){let n=[];try{const r=ts.getYamlDocument(e);if(!r||r.documents.length===0)return null;for(const i of r.documents)i.root&&(n=n.concat(this.jsonDocumentSymbols.findDocumentSymbols2(e,i,t)))}catch(r){this.telemetry.sendError("yaml.hierarchicalDocumentSymbols.error",{error:os(r)})}return n}};function t0(e,t){for(const n of e)n.isKubernetes=t}var Bb=class{constructor(e,t){this.telemetry=t,this.shouldHover=!0,this.schemaService=e}configure(e){e&&(this.shouldHover=e.hover)}doHover(e,t,n=!1){try{if(!this.shouldHover||!e)return Promise.resolve(void 0);const r=ts.getYamlDocument(e),i=e.offsetAt(t),s=Tu(i,r);if(s===null)return Promise.resolve(void 0);t0(r.documents,n);const a=r.documents.indexOf(s);return s.currentDocIndex=a,this.getHover(e,t,s)}catch(r){this.telemetry.sendError("yaml.hover.error",{error:os(r)})}}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=>({contents:{kind:"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 A=n.getMatchingSchemas(l.schema,i.offset);let p,O,B,ie;const te=[];A.every(ue=>{if((ue.node===i||i.type==="property"&&i.valueNode===ue.node)&&!ue.inverted&&ue.schema){if(p=p||ue.schema.title||ue.schema.closestTitle,O=O||ue.schema.markdownDescription||Mu(ue.schema.description),ue.schema.enum){const Te=ue.schema.enum.indexOf(Ba(i));ue.schema.markdownEnumDescriptions?B=ue.schema.markdownEnumDescriptions[Te]:ue.schema.enumDescriptions&&(B=Mu(ue.schema.enumDescriptions[Te])),B&&(ie=ue.schema.enum[Te],typeof ie!="string"&&(ie=JSON.stringify(ie)))}ue.schema.anyOf&&Ob(i,A,ue.schema)&&(p="",O="",ue.schema.anyOf.forEach((Te,Pe)=>{p+=Te.title||ue.schema.closestTitle||"",O+=Te.markdownDescription||Mu(Te.description)||"",Pe!==ue.schema.anyOf.length-1&&(p+=" || ",O+=" || ")}),p=u(p),O=u(O)),ue.schema.examples&&ue.schema.examples.forEach(Te=>{te.push(JSON.stringify(Te))})}return!0});let N="";return p&&(N="#### "+Mu(p)),O&&(N.length>0&&(N+=`
410
-
411
- `),N+=O),B&&(N.length>0&&(N+=`
412
-
413
- `),N+=`\`${Mb(ie)}\`: ${B}`),te.length!==0&&(N.length>0&&(N+=`
414
-
415
- `),N+="Examples:",te.forEach(ue=>{N+=`
416
-
417
- \`\`\`${ue}\`\`\``})),N.length>0&&l.schema.url&&(N+=`
418
-
419
- Source: [${Ib(l.schema)}](${l.schema.url})`),o(N)}return null})}};function Ib(e){let t="JSON Schema";const n=e.url;if(n){const r=ei.parse(n);t=Us.basename(r.fsPath)}else e.title&&(t=e.title);return t}function Mu(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,`$1
420
-
421
- $3`).replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}function Mb(e){return e.indexOf("`")!==-1?"`` "+e+" ``":e}function Ob(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 jb=class{validate(e,t){const n=[],r=new Set,i=new Set,s=new Map;Fr(t.internalDocument,(a,o,u)=>{yr(o)&&((Tr(o)||Jn(o))&&o.anchor&&(r.add(o),s.set(o,u[u.length-1])),Zi(o)&&i.add(o.resolve(t.internalDocument)))});for(const a of r)if(!i.has(a)){const o=this.getAnchorNode(s.get(a));if(o){const u=$n.create(e.positionAt(o.offset),e.positionAt(o.offset+o.source.length)),l=_i.create(u,`Unused anchor "${o.source}"`,Kn.Hint,0);l.tags=[ic.Unnecessary],n.push(l)}}return n}getAnchorNode(e){if(e&&e.srcToken){const t=e.srcToken;if(zm(t))return n0(t);if(uD(t))for(const n of t.items){const r=n0(n);if(r)return r}}}};function n0(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 $b=class{constructor(e){this.forbidMapping=e.flowMapping==="forbid",this.forbidSequence=e.flowSequence==="forbid"}validate(e,t){const n=[];return Fr(t.internalDocument,(r,i)=>{var s,a;this.forbidMapping&&Vr(i)&&((s=i.srcToken)==null?void 0:s.type)==="flow-collection"&&n.push(_i.create(this.getRangeOf(e,i.srcToken),"Flow style mapping is forbidden",Kn.Error,"flowMap")),this.forbidSequence&&Lr(i)&&((a=i.srcToken)==null?void 0:a.type)==="flow-collection"&&n.push(_i.create(this.getRangeOf(e,i.srcToken),"Flow style sequence is forbidden",Kn.Error,"flowSeq"))}),n}getRangeOf(e,t){return $n.create(e.positionAt(t.start.offset),e.positionAt(t.end.pop().offset))}},Rb=(e,t)=>{const n=t.positionAt(e.location.start),r={start:n,end:e.location.toLineEnd?Gr.create(n.line,new Hs(t).getLineLength(n.line)):t.positionAt(e.location.end)};return _i.create(r,e.message,e.severity,e.code,ku)},Vb=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 UD(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 $b(e))),this.validators.push(new jb)}async doValidation(e,t=!1){if(!this.validationEnabled)return Promise.resolve([]);const n=[];try{const a=ts.getYamlDocument(e,{customTags:this.customTags,yamlVersion:this.yamlVersion},!0);let o=0;for(const u of a.documents){u.isKubernetes=t,u.currentDocIndex=o,u.disableAdditionalProperties=this.disableAdditionalProperties,u.uri=e.uri;const l=await this.jsonValidation.doValidation(e,u),A=u;A.errors.length>0&&n.push(...A.errors),A.warnings.length>0&&n.push(...A.warnings),n.push(...l),n.push(...this.runAdditionalValidators(e,u)),o++}}catch(a){this.telemetry.sendError("yaml.validation.error",{error:os(a)})}let r;const i=new Set,s=[];for(let a of n){if(t&&a.message===this.MATCHES_MULTIPLE)continue;if(Object.prototype.hasOwnProperty.call(a,"location")&&(a=Rb(a,e)),a.source||(a.source=ku),r&&r.message===a.message&&r.range.end.line===a.range.start.line&&Math.abs(r.range.end.character-a.range.end.character)>=1){r.range.end=a.range.end;continue}else r=a;const o=a.range.start.line+" "+a.range.start.character+" "+a.message;i.has(o)||(s.push(a),i.add(o))}return s}runAdditionalValidators(e,t){const n=[];for(const r of this.validators)n.push(...r.validate(e,t));return n}},Ub=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:[vD],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=DD.format(n,r);return[xr.replace($n.create(Gr.create(0,0),e.positionAt(n.length)),i)]}catch{return[]}}},qb=class{constructor(e){this.telemetry=e}findLinks(e){try{const t=ts.getYamlDocument(e),n=[];for(const r of t.documents)n.push(QD(e,r));return Promise.all(n).then(r=>[].concat(...r))}catch(t){this.telemetry.sendError("yaml.documentLink.error",{error:os(t)})}}};function Wb(e,t){if(!e)return;const n=[],r=ts.getYamlDocument(e);for(const s of r.documents)r.documents.length>1&&n.push(Ou(e,s.root)),s.visit(a=>{var o;if(a.type==="object"&&((o=a.parent)==null?void 0:o.type)==="array"&&n.push(Ou(e,a)),a.type==="property"&&a.valueNode)switch(a.valueNode.type){case"array":case"object":n.push(Ou(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(Ou(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 Ou(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)),nc.create(n.line,r.line,n.character,r.character)}var So;(function(e){e.JUMP_TO_SCHEMA="jumpToSchema"})(So||(So={}));var Gb=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)Vs(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:`
422
- `}),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:`
423
- `},{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 Fr.SKIP});return aD(i)}},Jb=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}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 A=((s=l.data)==null?void 0:s.schemaUri)||[];for(const p of A)p&&(o.has(p)||o.set(p,[]),o.get(p).push(l))}const u=[];for(const l of o.keys()){const A=ws.create(`Jump to schema location (${Us.basename(l)})`,Ms.create("JumpToSchema",So.JUMP_TO_SCHEMA,l));A.diagnostics=o.get(l),u.push(A)}return u}getTabToSpaceConverting(e,t){const n=[],r=new Hs(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 A=s.range.start.character;A<=s.range.end.character&&a.charAt(A)===" ";A++)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,Gr.create(s.range.end.line,s.range.start.character+o))),n.push(ws.create("Convert Tab to Spaces",xo(t.uri,[xr.replace(l,u)]),Os.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 A=0;A<o.length;A++){const p=o.charAt(A);if(p!==" "&&p!==" "){u!==0&&(s.push(xr.replace($n.create(a,A-u,a,A),l)),u=0,l="");break}if(p===" "&&u!==0){s.push(xr.replace($n.create(a,A-u,a,A),l)),u=0,l="";continue}p===" "&&(l+=this.indentation,u++)}u!==0&&s.push(xr.replace($n.create(a,0,a,r.getLineLength(a)),l))}s.length>0&&n.push(ws.create("Convert all Tabs to Spaces",xo(t.uri,s),Os.QuickFix))}return n}getUnusedAnchorsDelete(e,t){const n=[],r=new Hs(t);for(const i of e)if(i.message.startsWith("Unused anchor")&&i.source===ku){const s=$n.create(i.range.start,i.range.end),a=r.getText(s),o=r.getLineContent(s.end.line),u=jD(o,s.end.character);s.end.character=u;const l=ws.create(`Delete unused anchor: ${a}`,xo(t.uri,[xr.del(s)]),Os.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(ws.create("Convert to boolean",xo(t.uri,[xr.replace(r.range,s)]),Os.QuickFix))}}return n}getConvertToBlockStyleActions(e,t){const n=[];for(const r of e)if(r.code==="flowMap"||r.code==="flowSeq"){const i=ts.getYamlDocument(t),s=t.offsetAt(r.range.start),o=Tu(s,i).getNodeFromOffset(s);if(Vr(o.internalNode)||Lr(o.internalNode)){const u=Vr(o.internalNode)?"map":"sequence",l=new Gb(this.indentation);n.push(ws.create(`Convert to block style ${u}`,xo(t.uri,[xr.replace(r.range,l.write(o))]),Os.QuickFix))}}return n}};function xo(e,t){const n={};return n[e]=t,{changes:n}}var Yb=class{constructor(){this.commands=new Map}executeCommand(e){if(this.commands.has(e.command))return this.commands.get(e.command)(...e.arguments);throw new Error(`Command '${e.command}' not found`)}registerCommand(e,t){this.commands.set(e,t)}},Hb=new Yb;function zb(e,t){const{position:n}=t,r=new Hs(e);if(t.ch===`
424
- `){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(xr.del($n.create(n,Gr.create(n.line,s.length-1)))),l.push(xr.insert(n," ".repeat(t.options.tabSize+(o?2-u:0)))),l}if(o)return[xr.insert(n," ".repeat(t.options.tabSize))]}if(i.trimRight().endsWith("|"))return[xr.insert(n," ".repeat(t.options.tabSize))];if(i.includes(" - ")&&!i.includes(": "))return[xr.insert(n,"- ")];if(i.includes(" - ")&&i.includes(": "))return[xr.insert(n," ")]}}function Qb(e){const t=new Map;return e&&(e.url?e.url.startsWith("schemaservice://combinedSchema/")?r0(e,t):t.set(e.url,e):r0(e,t)),t}function r0(e,t){e.allOf&&Kc(e.allOf,t),e.anyOf&&Kc(e.anyOf,t),e.oneOf&&Kc(e.oneOf,t)}function Kc(e,t){for(const n of e)!La(n)&&n.url&&!t.has(n.url)&&t.set(n.url,n)}var Xb=class{constructor(e,t){this.schemaService=e,this.telemetry=t}async getCodeLens(e){const t=[];try{const n=ts.getYamlDocument(e);let r=new Map;for(const i of n.documents){const s=await this.schemaService.getSchemaForResource(e.uri,i);s!=null&&s.schema&&(r=new Map([...Qb(s==null?void 0:s.schema),...r]))}for(const i of r){const s=lc.create($n.create(0,0,0,0));s.command={title:Im(i[1],i[0]),command:So.JUMP_TO_SCHEMA,arguments:[i[0]]},t.push(s)}}catch(n){this.telemetry.sendError("yaml.codeLens.error",{error:os(n)})}return t}resolveCodeLens(e){return e}};function Kb(e,t){e.registerCommand(So.JUMP_TO_SCHEMA,async n=>{if(!n)return;if(!n.startsWith("file")&&!/^[a-z]:[\\/]/i.test(n)){const i=ei.parse(n);n=ei.from({scheme:"json-schema",authority:i.authority,path:i.path.endsWith(".json")?i.path:i.path+".json",fragment:n}).toString()}/^[a-z]:[\\/]/i.test(n)&&(n=ei.file(n).toString()),await t.window.showDocument({uri:n,external:!1,takeFocus:!0})||t.window.showErrorMessage(`Cannot open ${n}`)})}var Zb=class{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}};function ev(e,t,n,r,i){i.spacesDiff=0,i.looksLikeAlignment=!1;let s;for(s=0;s<t&&s<r;s++){const O=e.charCodeAt(s),B=n.charCodeAt(s);if(O!==B)break}let a=0,o=0;for(let O=s;O<t;O++)e.charCodeAt(O)===32?a++:o++;let u=0,l=0;for(let O=s;O<r;O++)n.charCodeAt(O)===32?u++:l++;if(a>0&&o>0||u>0&&l>0)return;const A=Math.abs(o-l),p=Math.abs(a-u);if(A===0){i.spacesDiff=p,p>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}p%A===0&&(i.spacesDiff=p/A)}function tv(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,A=[0,0,0,0,0,0,0,0,0],p=new Zb;for(let ie=1;ie<=r;ie++){const te=e.getLineLength(ie),N=e.getLineContent(ie),ue=te<=65536;let Te=!1,Pe=0,Ue=0,be=0;for(let vt=0,wt=te;vt<wt;vt++){const xe=ue?N.charCodeAt(vt):e.getLineCharCode(ie,vt);if(xe===9)be++;else if(xe===32)Ue++;else{Te=!0,Pe=vt;break}}if(!Te||(be>0?i++:Ue>1&&s++,ev(a,o,N,Pe,p),p.looksLikeAlignment&&!(n&&t===p.spacesDiff)))continue;const Me=p.spacesDiff;Me<=l&&A[Me]++,a=N,o=Pe}let O=n;i!==s&&(O=i<s);let B=t;if(O){let ie=O?0:.1*r;u.forEach(te=>{const N=A[te];N>ie&&(ie=N,B=te)}),B===4&&A[4]>0&&A[2]>0&&A[2]>=A[4]/2&&(B=2)}return{insertSpaces:O,tabSize:B}}function ju(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+=`
425
- `+a+"- "+n(e[u]);continue}Array.isArray(e[u])||(l=nv(e[u],s)),o+=ju(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?`
426
- `:"";for(let l=0;l<o.length;l++){const A=o[l],p=typeof e[A]=="object",O=p?":":": ",B=p&&/^\s|-/.test(A)?r.indentation:"",ie=a+B;if(i===0&&l===0&&!r.indentFirstObject){const te=ju(e[A],ie,n,r,i+=1,0);u+=t+A+O+te}else{const te=ju(e[A],ie,n,r,i+=1,0);u+=a+A+O+te}l<o.length-1&&(u+=`
427
- `)}return u}}return n(e)}function nv(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 rv=qs(),i0=/[\\]+"/g,s0=vi.Class,iv=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){const i=uc.create([],!1);if(!this.completionEnabled)return i;const s=this.yamlDocument.getYamlDocument(e,{customTags:this.customTags,yamlVersion:this.yamlVersion},!0),a=new Hs(e);if(this.configuredIndentation)this.indentation=this.configuredIndentation;else{const be=tv(a,2,!0);this.indentation=be.insertSpaces?" ".repeat(be.tabSize):" "}t0(s.documents,n);for(const be of s.documents)be.uri=e.uri;const o=e.offsetAt(t),u=e.getText();if(u.charAt(o-1)===":")return Promise.resolve(i);let l=Tu(o,s);if(l===null)return Promise.resolve(i);l=l.clone();let[A,p]=l.getNodeFromPosition(o,a,this.indentation.length);const O=this.getCurrentWord(e,o);let B=a.getLineContent(t.line);const ie=B.substring(t.character),te=/^[ ]+\n?$/.test(ie);this.arrayPrefixIndentation="";let N=null;if(te){N=$n.create(t,Gr.create(t.line,B.length));const be=B.trim().length===0,Me=B.match(/^\s*(-)\s*$/);if(A&&Jn(A)&&!be&&!Me){const vt=B.match(/^([\s-]*)[^:]+[ \t]+\n?$/);vt!=null&&vt.length&&(N=$n.create(Gr.create(t.line,vt[1].length),Gr.create(t.line,B.length)))}}else if(A&&Jn(A)&&A.value==="null"){const be=e.positionAt(A.range[0]);be.character+=1;const Me=e.positionAt(A.range[2]);Me.character+=1,N=$n.create(be,Me)}else if(A&&Jn(A)&&A.value){const be=e.positionAt(A.range[0]);o>0&&be.character>0&&u.charAt(o-1)==="-"&&(be.character-=1),N=$n.create(be,e.positionAt(A.range[1]))}else if(A&&Jn(A)&&A.value===null&&O==="-")N=$n.create(t,t),this.arrayPrefixIndentation=" ";else{let be=e.offsetAt(t)-O.length;be>0&&u[be-1]==='"'&&be--,N=$n.create(e.positionAt(be),t)}const ue={},Te="__",Pe={add:(be,Me)=>{const vt=function(Ve){var $t;if((($t=ue[Ve.label])==null?void 0:$t.label)===Te)return;const kn=Ve.parent.schema,Lt=qc(kn),Tt=kn.markdownDescription||kn.description;let Ut=i.items.find(en=>{var Ln;return((Ln=en.parent)==null?void 0:Ln.schema)===kn&&en.kind===s0});Ut&&Ut.parent.insertTexts.includes(Ve.insertText)||(Ut?Ut.parent.insertTexts.push(Ve.insertText):(Ut={...Ve,label:Lt,documentation:Tt,sortText:"_"+Lt,kind:s0},Ut.label=Ut.label||Ve.label,Ut.parent.insertTexts=[Ve.insertText],i.items.push(Ut)))},wt=!!be.parent;let xe=be.label;if(!xe){console.warn(`Ignoring CompletionItem without label: ${JSON.stringify(be)}`);return}if(xu(xe)||(xe=String(xe)),xe=xe.replace(/[\n]/g,"↵"),xe.length>60){const Ve=xe.substr(0,57).trim()+"...";ue[Ve]||(xe=Ve)}if(be.insertText.endsWith("$1")&&!wt&&(be.insertText=be.insertText.substr(0,be.insertText.length-2)),N&&N.start.line===N.end.line&&(be.textEdit=xr.replace(N,be.insertText)),be.label=xe,wt){vt(be);return}this.arrayPrefixIndentation&&this.updateCompletionText(be,this.arrayPrefixIndentation+be.insertText);const Ne=ue[xe],st=(Ne==null?void 0:Ne.label)!==Te&&(Ne==null?void 0:Ne.insertText)!==be.insertText;if(!Ne)ue[xe]=be,i.items.push(be);else if(st){const Ve=this.mergeSimpleInsertTexts(xe,Ne.insertText,be.insertText,Me);Ve?this.updateCompletionText(Ne,Ve):(ue[xe]=be,i.items.push(be))}Ne&&!Ne.documentation&&be.documentation&&(Ne.documentation=be.documentation)},error:be=>{this.telemetry.sendError("yaml.completion.error",{error:os(be)})},log:be=>{console.log(be)},getNumberOfProposals:()=>i.items.length,result:i};this.customTags.length>0&&this.getCustomTagValueCompletions(Pe),B.endsWith(`
428
- `)&&(B=B.substr(0,B.length-1));try{const be=await this.schemaService.getSchemaForResource(e.uri,l);if((!be||be.errors.length)&&t.line===0&&t.character===0&&!Xc(B)){const xe={kind:vi.Text,label:"Inline schema",insertText:"# yaml-language-server: $schema=",insertTextFormat:Xr.PlainText};i.items.push(xe)}if(Xc(B)||vb(s.tokens,o)){const xe=B.indexOf("$schema=");return xe!==-1&&xe+8<=t.character&&this.schemaService.getAllSchemas().forEach(Ne=>{var st;const Ve={kind:vi.Constant,label:(st=Ne.name)!=null?st:Ne.uri,detail:Ne.description,insertText:Ne.uri,insertTextFormat:Xr.PlainText,insertTextMode:ac.asIs};i.items.push(Ve)}),i}if(!be||be.errors.length)return i;let Me=null;if(!A)if(!l.internalDocument.contents||Jn(l.internalDocument.contents)){const xe=l.internalDocument.createNode({});xe.range=[o,o+1,o+1],l.internalDocument.contents=xe,l.internalDocument=l.internalDocument,A=xe}else A=l.findClosestNode(o,a),p=!0;const vt=A;if(A)if(B.length===0)A=l.internalDocument.contents;else{const xe=l.getParent(A);if(xe){if(Jn(A)){if(A.value){if(dr(xe)){if(xe.value===A){if(B.trim().length>0&&B.indexOf(":")<0){const Ne=this.createTempObjNode(O,A,l),st=l.getParent(xe);if(Lr(l.internalDocument.contents)){const Ve=bb(l.internalDocument.contents,xe);typeof Ve=="number"&&(l.internalDocument.set(Ve,Ne),l.internalDocument=l.internalDocument)}else st&&(Vr(st)||Lr(st))?(st.set(xe.key,Ne),l.internalDocument=l.internalDocument):(l.internalDocument.set(xe.key,Ne),l.internalDocument=l.internalDocument);Me=Ne.items[0],A=Ne}else if(B.trim().length===0){const Ne=l.getParent(xe);Ne&&(A=Ne)}}else if(xe.key===A){const Ne=l.getParent(xe);Me=xe,Ne&&(A=Ne)}}else if(Lr(xe))if(B.trim().length>0){const Ne=this.createTempObjNode(O,A,l);xe.delete(A),xe.add(Ne),l.internalDocument=l.internalDocument,A=Ne}else A=xe}else if(A.value===null){if(dr(xe)){if(xe.key===A)A=xe;else if(yr(xe.key)&&xe.key.range){const Ne=l.getParent(xe);if(p&&Ne&&Vr(Ne)&&Db(Ne))A=Ne;else{const st=e.positionAt(xe.key.range[0]);if(t.character>st.character&&t.line!==st.line){const Ve=this.createTempObjNode(O,A,l);Ne&&(Vr(Ne)||Lr(Ne))?(Ne.set(xe.key,Ve),l.internalDocument=l.internalDocument):(l.internalDocument.set(xe.key,Ve),l.internalDocument=l.internalDocument),Me=Ve.items[0],A=Ve}else st.character===t.character&&Ne&&(A=Ne)}}}else if(Lr(xe))if(B.charAt(t.character-1)!=="-"){const Ne=this.createTempObjNode(O,A,l);xe.delete(A),xe.add(Ne),l.internalDocument=l.internalDocument,A=Ne}else if(B.charAt(t.character-1)==="-"){const Ne=this.createTempObjNode("",A,l);xe.delete(A),xe.add(Ne),l.internalDocument=l.internalDocument,A=Ne}else A=xe}}else if(Vr(A)&&!p&&B.trim().length===0&&Lr(xe)){const Ne=a.getLineContent(t.line+1);(a.getLineCount()===t.line+1||Ne.trim().length===0)&&(A=xe)}}else if(Jn(A)){const Ne=this.createTempObjNode(O,A,l);l.internalDocument.contents=Ne,l.internalDocument=l.internalDocument,Me=Ne.items[0],A=Ne}else if(Vr(A))for(const Ne of A.items)yr(Ne.value)&&Ne.value.range&&Ne.value.range[0]===o+1&&(A=Ne.value);else if(Lr(A)&&B.charAt(t.character-1)!=="-"){const Ne=this.createTempObjNode(O,A,l);Ne.items=[],l.internalDocument=l.internalDocument;for(const st of A.items)Vr(st)&&st.items.forEach(Ve=>{Ne.items.push(Ve)});A=Ne}}if(A&&Vr(A)){const xe=A.items;for(const Ne of xe)(!Me||Me!==Ne)&&Jn(Ne.key)&&(ue[Ne.key.value+""]=oc.create(Te));this.addPropertyCompletions(be,l,A,vt,"",Pe,a,N,r),!be&&O.length>0&&u.charAt(o-O.length-1)!=='"'&&Pe.add({kind:vi.Property,label:O,insertText:this.getInsertTextForProperty(O,null,""),insertTextFormat:Xr.Snippet})}const wt={};this.getValueCompletions(be,l,A,o,e,Pe,wt,r)}catch(be){this.telemetry.sendError("yaml.completion.error",{error:os(be)})}this.finalizeParentCompletion(i);const Ue=i.items.filter((be,Me,vt)=>Me===vt.findIndex(wt=>wt.label===be.label&&wt.insertText===be.insertText&&wt.kind===be.kind));return(Ue==null?void 0:Ue.length)>0&&(i.items=Ue),i}updateCompletionText(e,t){e.insertText=t,e.textEdit&&(e.textEdit.newText=t)}mergeSimpleInsertTexts(e,t,n,r){const i=A=>A.includes(`
429
- `),s=A=>A.startsWith(`
430
- `),a=A=>{const p=A.indexOf(`
431
- `);return p>0&&A.substring(p,A.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(ov(n)){const r=n.parent.indent||"";let s=t(n.parent.insertTexts).join(`
432
- ${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:xs.Markdown,value:[...o,"```yaml",r+a,"```"].join(`
433
- `)},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,A,p;const O=t.getMatchingSchemas(e.schema,-1,null,u),B=a.getText(o),ie=a.getLineContent(o.start.line),te=ie.trim().length===0,N=ie.indexOf(":")!==-1,ue=ie.trimLeft().indexOf("-")===0,Te=t.getParent(n),Pe=O.find(Me=>Me.node.internalNode===r&&Me.schema.properties),Ue=O.filter(Me=>Me.schema.oneOf).map(Me=>Me.schema.oneOf)[0];let be=!1;(Ue==null?void 0:Ue.length)<O.length&&(Ue==null||Ue.forEach((Me,vt)=>{var wt,xe;!((wt=O[vt])!=null&&wt.schema.oneOf)&&((xe=O[vt])==null?void 0:xe.schema.properties)===Me.properties&&(be=!0)}));for(const Me of O){if((Me.node.internalNode===n&&!Pe||Me.node.internalNode===r&&!N||((l=Me.node.parent)==null?void 0:l.internalNode)===r&&!N)&&!Me.inverted){this.collectDefaultSnippets(Me.schema,i,s,{newLineFirst:!1,indentFirstObject:!1,shouldIndentWithTab:ue});const vt=Me.schema.properties;if(vt){const wt=Me.schema.maxProperties;if(wt===void 0||n.items===void 0||n.items.length<wt||n.items.length===wt&&!te){for(const xe in vt)if(Object.prototype.hasOwnProperty.call(vt,xe)){const Ne=vt[xe];if(typeof Ne=="object"&&!Ne.deprecationMessage&&!Ne.doNotSuggest){let st="";if(Te&&Lr(Te)&&n.items.length<=1&&!te){const Lt=a.getText(),Tt=Lt.lastIndexOf("-",n.range[0]-1);if(Tt>=0){const Ut=o.end.character-o.start.character;st=" "+Lt.slice(Tt+1,n.range[1]-Ut)}}st+=this.arrayPrefixIndentation;let Ve;Ne.type==="array"&&(Ve=n.items.find(Lt=>Jn(Lt.key)&&Lt.key.range&&Lt.key.value===xe&&Jn(Lt.value)&&!Lt.value.value&&a.getPosition(Lt.key.range[2]).line===o.end.line-1))&&Ve&&(Array.isArray(Ne.items)?this.addSchemaValueCompletions(Ne.items[0],i,s,{},"property"):typeof Ne.items=="object"&&Ne.items.type==="object"&&this.addArrayItemValueCompletion(Ne.items,i,s));let $t=xe;(!xe.startsWith(B)||!N)&&($t=this.getInsertTextForProperty(xe,Ne,i,st+this.indentation));const pn=Jn(r)&&r.value===null||Vr(r)&&r.items.length===0,kn=((A=Me.schema.required)==null?void 0:A.length)>0;(!this.parentSkeletonSelectedFirst||!pn||!kn)&&s.add({kind:vi.Property,label:xe,insertText:$t,insertTextFormat:Xr.Snippet,documentation:this.fromMarkup(Ne.markdownDescription)||Ne.description||""},be),(p=Me.schema.required)!=null&&p.includes(xe)&&s.add({label:xe,insertText:this.getInsertTextForProperty(xe,Ne,i,st+this.indentation),insertTextFormat:Xr.Snippet,documentation:this.fromMarkup(Ne.markdownDescription)||Ne.description||"",parent:{schema:Me.schema,indent:st}})}}}}if(Te&&Lr(Te)&&RD(Me.schema)&&this.addSchemaValueCompletions(Me.schema,i,s,{},"property",Array.isArray(Te.items)),Me.schema.propertyNames&&Me.schema.additionalProperties&&Me.schema.type==="object"){const wt=ui(Me.schema.propertyNames),xe=wt.title||"property";s.add({kind:vi.Property,label:xe,insertText:`\${1:${xe}}: `,insertTextFormat:Xr.Snippet,documentation:this.fromMarkup(wt.markdownDescription)||wt.description||""})}}Te&&Me.node.internalNode===Te&&Me.schema.defaultSnippets&&(n.items.length===1?this.collectDefaultSnippets(Me.schema,i,s,{newLineFirst:!1,indentFirstObject:!1,shouldIndentWithTab:!0},1):this.collectDefaultSnippets(Me.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(dr(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||Lr(n))){const l="",A=t.getMatchingSchemas(e.schema,-1,null,o);for(const p of A)if(p.node.internalNode===n&&!p.inverted&&p.schema){if(p.schema.items&&(this.collectDefaultSnippets(p.schema,l,s,{newLineFirst:!1,indentFirstObject:!1,shouldIndentWithTab:!1}),Lr(n)&&n.items))if(Array.isArray(p.schema.items)){const O=this.findItemAtOffset(n,i,r);O<p.schema.items.length&&this.addSchemaValueCompletions(p.schema.items[O],l,s,a,"value")}else typeof p.schema.items=="object"&&(p.schema.items.type==="object"||Wc(p.schema.items))?this.addSchemaValueCompletions(p.schema.items,l,s,a,"value",!0):this.addSchemaValueCompletions(p.schema.items,l,s,a,"value");if(p.schema.properties){const O=p.schema.properties[u];O&&this.addSchemaValueCompletions(O,l,s,a,"value")}else p.schema.additionalProperties&&this.addSchemaValueCompletions(p.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=qc(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:Xr.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;Js(l)&&(a=this.getInsertTextForSnippetValue(l,"",{newLineFirst:!0,indentFirstObject:!1,shouldIndentWithTab:!1},1),!a.startsWith(" ")&&!a.startsWith(`
434
- `)&&(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=av(a),a=" "+a),o++),Js(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}
435
- ${this.getInsertTextForObject(t,n,r).insertText}`;if(t.items)return`${s}
436
- ${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=`
437
- ${r}`;break;case"array":a=`
438
- ${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=$u(u)),i+=`${n}${s}: \${${r++}:${u}}
439
- `):i+=`${n}${s}: $${r++}
440
- `;break}case"array":{const u=this.getInsertTextForArray(a.items,t,r++,n),l=u.insertText.split(`
441
- `);let A=u.insertText;if(l.length>1){for(let p=1;p<l.length;p++){const O=l[p];l[p]=` ${O}`}A=l.join(`
442
- `)}r=u.insertIndex,i+=`${n}${s}:
443
- ${n}${this.indentation}- ${A}
444
- `}break;case"object":{const u=this.getInsertTextForObject(a,t,`${n}${this.indentation}`,r++);r=u.insertIndex,i+=`${n}${s}:
445
- ${u.insertText}
446
- `}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}}
447
- `;break;case"string":i+=`${n}${s}: \${${r++}:${$u(a.default)}}
448
- `;break}}),i.trim().length===0&&(i=`${n}$${r++}
449
- `),i=i.trimRight()+t,{insertText:i,insertIndex:r}):(i=`${n}$${r++}
450
- `,{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=$u(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=$u(e)),this.getInsertTextForPlainText(e+t)}getInsertTemplateForValue(e,t,n,r){if(Array.isArray(e)){let i=`
451
- `;for(const s of e)i+=`${t}- \${${n.index++}:${s}}
452
- `;return i}else if(typeof e=="object"){let i=`
453
- `;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)}}
454
- `,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"&&!Wc(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)||Js(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(Js(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(i0,'"'),n.add({kind:this.getSuggestionKind(s),label:o,insertText:this.getInsertTextForValue(a,t,s),insertTextFormat:Xr.Snippet,detail:rv("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:Xr.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(Js(e.const)&&!r&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t,e.type),insertTextFormat:Xr.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:Xr.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,A;if(Js(o)){const p=s.type||e.type;if(i===0&&p==="array"){const O={};Object.keys(o).forEach((B,ie)=>{ie===0&&!B.startsWith("-")?O[`- ${B}`]=o[B]:O[` ${B}`]=o[B]}),o=O}l=this.getInsertTextForSnippetValue(o,t,r),u=u||this.getLabelForSnippetValue(o)}else if(typeof s.bodyText=="string"){let p="",O="",B="";for(let ie=i;ie>0;ie--)p=p+B+`[
455
- `,O=O+`
456
- `+B+"]",B+=this.indentation,a="array";l=p+B+s.bodyText.split(`
457
- `).join(`
458
- `+B)+O+t,u=u||l,A=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:Xr.Snippet,filterText:A})}}getInsertTextForSnippetValue(e,t,n,r){return ju(e,"",s=>{if(typeof s=="string"){if(s[0]==="^")return s.substr(1);if(s==="true"||s==="false")return`"${s}"`}return s},{...n,indentation:this.indentation},r)+t}addBooleanValueCompletion(e,t,n){n.add({kind:this.getSuggestionKind("boolean"),label:e?"true":"false",insertText:this.getInsertTextForValue(e,t,"boolean"),insertTextFormat:Xr.Snippet,documentation:""})}addNullValueCompletion(e,t){t.add({kind:this.getSuggestionKind("null"),label:"null",insertText:"null"+e,insertTextFormat:Xr.Snippet,documentation:""})}getLabelForSnippetValue(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")}getCustomTagValueCompletions(e){Vm(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:Xr.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}
459
- \`\`\`
460
- ${t}
461
- \`\`\``)),n}getSuggestionKind(e){if(Array.isArray(e)){const t=e;e=t.length>0?t[0]:null}if(!e)return vi.Value;switch(e){case"string":return vi.Value;case"object":return vi.Module;case"property":return vi.Property;default:return vi.Value}}getCurrentWord(e,t){let n=t-1;const r=e.getText();for(;n>=0&&`
462
- \r\v":{[,]}`.indexOf(r.charAt(n))===-1;)n--;return r.substring(n+1,t)}fromMarkup(e){if(e&&this.doesSupportMarkdown())return{kind:xs.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(xs.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(yr(i)&&i.range){if(n>i.range[1])return r;if(n>=i.range[0])return r}}return 0}},sv=/^\d+$/;function $u(e){let t;if(typeof e=="string"?t=e:t=""+e,t.length===0)return t;if(t==="true"||t==="false"||t==="null"||sv.test(t))return`"${t}"`;t.indexOf('"')!==-1&&(t=t.replace(i0,'"'));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 av(e){return e.replace(/\$\{1:(.*)\}/,"$1")}function ov(e){return"parent"in e}var uv=class{constructor(e){this.telemetry=e}getDefinition(e,t){try{const n=ts.getYamlDocument(e),r=e.offsetAt(t.position),i=Tu(r,n);if(i){const[s]=i.getNodeFromPosition(r,new Hs(e));if(s&&Zi(s)){const a=s.resolve(i.internalDocument);if(a&&a.range){const o=$n.create(e.positionAt(a.range[0]),e.positionAt(a.range[2])),u=$n.create(e.positionAt(a.range[0]),e.positionAt(a.range[1]));return[ec.create(e.uri,o,u)]}}}}catch(n){this.telemetry.sendError("yaml.definition.error",{error:os(n)})}}},Zc;(function(e){e[e.SchemaStore=1]="SchemaStore",e[e.SchemaAssociation=2]="SchemaAssociation",e[e.Settings=3]="Settings"})(Zc||(Zc={}));function lv(e,t,n,r,i,s){const a=new Lb(e,t),o=new iv(a,s,ts,r),u=new Bb(a,r),l=new Pb(a,r),A=new Vb(a,r),p=new Ub,O=new Jb(s),B=new Xb(a,r),ie=new qb(r),te=new uv(r);return Kb(Hb,n),{configure:N=>{a.clearExternalSchemas(),N.schemas&&(a.schemaPriorityMapping=new Map,N.schemas.forEach(ue=>{const Te=ue.priority?ue.priority:0;a.addSchemaPriority(ue.uri,Te),a.registerExternalSchema(ue.uri,ue.fileMatch,ue.schema,ue.name,ue.description,ue.versions)})),A.configure(N),u.configure(N),o.configure(N),p.configure(N),O.configure(N)},registerCustomSchemaProvider:N=>{a.registerCustomSchemaProvider(N)},findLinks:ie.findLinks.bind(ie),doComplete:o.doComplete.bind(o),doValidation:A.doValidation.bind(A),doHover:u.doHover.bind(u),findDocumentSymbols:l.findDocumentSymbols.bind(l),findDocumentSymbols2:l.findHierarchicalDocumentSymbols.bind(l),doDefinition:te.getDefinition.bind(te),resetSchema:N=>a.onResourceChange(N),doFormat:p.format.bind(p),doDocumentOnTypeFormatting:zb,addSchema:(N,ue)=>a.saveSchema(N,ue),deleteSchema:N=>a.deleteSchema(N),modifySchemaContent:N=>a.addContent(N),deleteSchemaContent:N=>a.deleteContent(N),deleteSchemasWhole:N=>a.deleteSchemas(N),getFoldingRanges:Wb,getCodeAction:(N,ue)=>O.getCodeAction(N,ue),getCodeLens:N=>B.getCodeLens(N),resolveCodeLens:N=>B.resolveCodeLens(N)}}var cv="yaml";async function fv(e){const t=await fetch(e);if(t.ok)return t.text();throw new Error(`Schema request failed for ${e}`)}var pv={send(){},sendError(e,t){console.error("monaco-yaml",e,t)},sendTrack(){}};Q1((e,{enableSchemaRequest:t,languageSettings:n})=>{const r=lv(t?fv:null,null,null,pv);r.configure(n);const i=s=>{const a=e.getMirrorModels();for(const o of a)if(String(o.uri)===s)return zl.create(s,cv,o.version,o.getValue())};return{doValidation(s){const a=i(s);if(a)return r.doValidation(a,!!n.isKubernetes)},doComplete(s,a){const o=i(s);if(o)return r.doComplete(o,a,!!n.isKubernetes)},doDefinition(s,a){const o=i(s);if(o)return r.doDefinition(o,{position:a,textDocument:{uri:s}})},doHover(s,a){const o=i(s);if(o)return r.doHover(o,a)},format(s,a){const o=i(s);if(o)return r.doFormat(o,a)},resetSchema(s){return r.resetSchema(s)},findDocumentSymbols(s){const a=i(s);if(a)return r.findDocumentSymbols2(a,{})},findLinks(s){const a=i(s);if(a)return r.findLinks(a)},getCodeAction(s,a,o){const u=i(s);if(u)return r.getCodeAction(u,{range:a,textDocument:{uri:s},context:{diagnostics:o}})}}})})();