@unocss/inspector 0.39.2 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/_id_.ab7c6e58.js +1 -0
- package/dist/client/assets/index.2b1dc630.js +221 -0
- package/dist/client/assets/index.42b09f4d.css +1 -0
- package/dist/client/assets/repl.3c0184bc.js +3 -0
- package/dist/client/index.html +2 -2
- package/package.json +1 -1
- package/dist/client/assets/_id_.9d480657.js +0 -1
- package/dist/client/assets/index.0bdfac5a.js +0 -220
- package/dist/client/assets/index.98d27dbc.css +0 -1
- package/dist/client/assets/repl.0bd3ca4c.js +0 -3
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
const _g=function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))l(f);new MutationObserver(f=>{for(const F of f)if(F.type==="childList")for(const V of F.addedNodes)V.tagName==="LINK"&&V.rel==="modulepreload"&&l(V)}).observe(document,{childList:!0,subtree:!0});function a(f){const F={};return f.integrity&&(F.integrity=f.integrity),f.referrerpolicy&&(F.referrerPolicy=f.referrerpolicy),f.crossorigin==="use-credentials"?F.credentials="include":f.crossorigin==="anonymous"?F.credentials="omit":F.credentials="same-origin",F}function l(f){if(f.ep)return;f.ep=!0;const F=a(f);fetch(f.href,F)}};_g();const Ng="modulepreload",$f={},Bg="/__unocss/",vf=function(s,a){return!a||a.length===0?s():Promise.all(a.map(l=>{if(l=`${Bg}${l}`,l in $f)return;$f[l]=!0;const f=l.endsWith(".css"),F=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${F}`))return;const V=document.createElement("link");if(V.rel=f?"stylesheet":Ng,f||(V.as="script",V.crossOrigin=""),V.href=l,document.head.appendChild(V),f)return new Promise((ae,ue)=>{V.addEventListener("load",ae),V.addEventListener("error",()=>ue(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>s())};function Df(r,s){const a=Object.create(null),l=r.split(",");for(let f=0;f<l.length;f++)a[l[f]]=!0;return s?f=>!!a[f.toLowerCase()]:f=>!!a[f]}const Pg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Og=Df(Pg);function Zd(r){return!!r||r===""}function Xc(r){if(In(r)){const s={};for(let a=0;a<r.length;a++){const l=r[a],f=io(l)?Lg(l):Xc(l);if(f)for(const F in f)s[F]=f[F]}return s}else{if(io(r))return r;if(Vi(r))return r}}const jg=/;(?![^(]*\))/g,Mg=/:(.+)/;function Lg(r){const s={};return r.split(jg).forEach(a=>{if(a){const l=a.split(Mg);l.length>1&&(s[l[0].trim()]=l[1].trim())}}),s}function Yl(r){let s="";if(io(r))s=r;else if(In(r))for(let a=0;a<r.length;a++){const l=Yl(r[a]);l&&(s+=l+" ")}else if(Vi(r))for(const a in r)r[a]&&(s+=a+" ");return s.trim()}function Ig(r,s){if(r.length!==s.length)return!1;let a=!0;for(let l=0;a&&l<r.length;l++)a=Ep(r[l],s[l]);return a}function Ep(r,s){if(r===s)return!0;let a=Uf(r),l=Uf(s);if(a||l)return a&&l?r.getTime()===s.getTime():!1;if(a=zc(r),l=zc(s),a||l)return r===s;if(a=In(r),l=In(s),a||l)return a&&l?Ig(r,s):!1;if(a=Vi(r),l=Vi(s),a||l){if(!a||!l)return!1;const f=Object.keys(r).length,F=Object.keys(s).length;if(f!==F)return!1;for(const V in r){const ae=r.hasOwnProperty(V),ue=s.hasOwnProperty(V);if(ae&&!ue||!ae&&ue||!Ep(r[V],s[V]))return!1}}return String(r)===String(s)}function eh(r,s){return r.findIndex(a=>Ep(a,s))}const To=r=>io(r)?r:r==null?"":In(r)||Vi(r)&&(r.toString===nh||!Kn(r.toString))?JSON.stringify(r,th,2):String(r),th=(r,s)=>s&&s.__v_isRef?th(r,s.value):Kl(s)?{[`Map(${s.size})`]:[...s.entries()].reduce((a,[l,f])=>(a[`${l} =>`]=f,a),{})}:Ap(s)?{[`Set(${s.size})`]:[...s.values()]}:Vi(s)&&!In(s)&&!ih(s)?String(s):s,bi={},Xl=[],Ps=()=>{},Rg=()=>!1,zg=/^on[^a-z]/,wp=r=>zg.test(r),bf=r=>r.startsWith("onUpdate:"),_o=Object.assign,xf=(r,s)=>{const a=r.indexOf(s);a>-1&&r.splice(a,1)},Hg=Object.prototype.hasOwnProperty,oi=(r,s)=>Hg.call(r,s),In=Array.isArray,Kl=r=>Kc(r)==="[object Map]",Ap=r=>Kc(r)==="[object Set]",Uf=r=>Kc(r)==="[object Date]",Kn=r=>typeof r=="function",io=r=>typeof r=="string",zc=r=>typeof r=="symbol",Vi=r=>r!==null&&typeof r=="object",rh=r=>Vi(r)&&Kn(r.then)&&Kn(r.catch),nh=Object.prototype.toString,Kc=r=>nh.call(r),Wg=r=>Kc(r).slice(8,-1),ih=r=>Kc(r)==="[object Object]",Cf=r=>io(r)&&r!=="NaN"&&r[0]!=="-"&&""+parseInt(r,10)===r,sp=Df(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Sp=r=>{const s=Object.create(null);return a=>s[a]||(s[a]=r(a))},$g=/-(\w)/g,Zs=Sp(r=>r.replace($g,(s,a)=>a?a.toUpperCase():"")),Ug=/\B([A-Z])/g,ic=Sp(r=>r.replace(Ug,"-$1").toLowerCase()),Fp=Sp(r=>r.charAt(0).toUpperCase()+r.slice(1)),Up=Sp(r=>r?`on${Fp(r)}`:""),Hc=(r,s)=>!Object.is(r,s),ap=(r,s)=>{for(let a=0;a<r.length;a++)r[a](s)},pp=(r,s,a)=>{Object.defineProperty(r,s,{configurable:!0,enumerable:!1,value:a})},Vg=r=>{const s=parseFloat(r);return isNaN(s)?r:s};let Vf;const qg=()=>Vf||(Vf=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Ko;class Jg{constructor(s=!1){this.active=!0,this.effects=[],this.cleanups=[],!s&&Ko&&(this.parent=Ko,this.index=(Ko.scopes||(Ko.scopes=[])).push(this)-1)}run(s){if(this.active){const a=Ko;try{return Ko=this,s()}finally{Ko=a}}}on(){Ko=this}off(){Ko=this.parent}stop(s){if(this.active){let a,l;for(a=0,l=this.effects.length;a<l;a++)this.effects[a].stop();for(a=0,l=this.cleanups.length;a<l;a++)this.cleanups[a]();if(this.scopes)for(a=0,l=this.scopes.length;a<l;a++)this.scopes[a].stop(!0);if(this.parent&&!s){const f=this.parent.scopes.pop();f&&f!==this&&(this.parent.scopes[this.index]=f,f.index=this.index)}this.active=!1}}}function Gg(r,s=Ko){s&&s.active&&s.effects.push(r)}function Xg(){return Ko}function Kg(r){Ko&&Ko.cleanups.push(r)}const Ef=r=>{const s=new Set(r);return s.w=0,s.n=0,s},oh=r=>(r.w&yu)>0,sh=r=>(r.n&yu)>0,Qg=({deps:r})=>{if(r.length)for(let s=0;s<r.length;s++)r[s].w|=yu},Yg=r=>{const{deps:s}=r;if(s.length){let a=0;for(let l=0;l<s.length;l++){const f=s[l];oh(f)&&!sh(f)?f.delete(r):s[a++]=f,f.w&=~yu,f.n&=~yu}s.length=a}},Yp=new WeakMap;let _c=0,yu=1;const Zp=30;let Ns;const yl=Symbol(""),ef=Symbol("");class wf{constructor(s,a=null,l){this.fn=s,this.scheduler=a,this.active=!0,this.deps=[],this.parent=void 0,Gg(this,l)}run(){if(!this.active)return this.fn();let s=Ns,a=gu;for(;s;){if(s===this)return;s=s.parent}try{return this.parent=Ns,Ns=this,gu=!0,yu=1<<++_c,_c<=Zp?Qg(this):qf(this),this.fn()}finally{_c<=Zp&&Yg(this),yu=1<<--_c,Ns=this.parent,gu=a,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ns===this?this.deferStop=!0:this.active&&(qf(this),this.onStop&&this.onStop(),this.active=!1)}}function qf(r){const{deps:s}=r;if(s.length){for(let a=0;a<s.length;a++)s[a].delete(r);s.length=0}}let gu=!0;const ah=[];function oc(){ah.push(gu),gu=!1}function sc(){const r=ah.pop();gu=r===void 0?!0:r}function Yo(r,s,a){if(gu&&Ns){let l=Yp.get(r);l||Yp.set(r,l=new Map);let f=l.get(a);f||l.set(a,f=Ef()),uh(f)}}function uh(r,s){let a=!1;_c<=Zp?sh(r)||(r.n|=yu,a=!oh(r)):a=!r.has(Ns),a&&(r.add(Ns),Ns.deps.push(r))}function Sa(r,s,a,l,f,F){const V=Yp.get(r);if(!V)return;let ae=[];if(s==="clear")ae=[...V.values()];else if(a==="length"&&In(r))V.forEach((ue,Ae)=>{(Ae==="length"||Ae>=l)&&ae.push(ue)});else switch(a!==void 0&&ae.push(V.get(a)),s){case"add":In(r)?Cf(a)&&ae.push(V.get("length")):(ae.push(V.get(yl)),Kl(r)&&ae.push(V.get(ef)));break;case"delete":In(r)||(ae.push(V.get(yl)),Kl(r)&&ae.push(V.get(ef)));break;case"set":Kl(r)&&ae.push(V.get(yl));break}if(ae.length===1)ae[0]&&tf(ae[0]);else{const ue=[];for(const Ae of ae)Ae&&ue.push(...Ae);tf(Ef(ue))}}function tf(r,s){const a=In(r)?r:[...r];for(const l of a)l.computed&&Jf(l);for(const l of a)l.computed||Jf(l)}function Jf(r,s){(r!==Ns||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}const Zg=Df("__proto__,__v_isRef,__isVue"),lh=new Set(Object.getOwnPropertyNames(Symbol).filter(r=>r!=="arguments"&&r!=="caller").map(r=>Symbol[r]).filter(zc)),em=Af(),tm=Af(!1,!0),rm=Af(!0),Gf=nm();function nm(){const r={};return["includes","indexOf","lastIndexOf"].forEach(s=>{r[s]=function(...a){const l=fi(this);for(let F=0,V=this.length;F<V;F++)Yo(l,"get",F+"");const f=l[s](...a);return f===-1||f===!1?l[s](...a.map(fi)):f}}),["push","pop","shift","unshift","splice"].forEach(s=>{r[s]=function(...a){oc();const l=fi(this)[s].apply(this,a);return sc(),l}}),r}function Af(r=!1,s=!1){return function(l,f,F){if(f==="__v_isReactive")return!r;if(f==="__v_isReadonly")return r;if(f==="__v_isShallow")return s;if(f==="__v_raw"&&F===(r?s?Dm:hh:s?dh:fh).get(l))return l;const V=In(l);if(!r&&V&&oi(Gf,f))return Reflect.get(Gf,f,F);const ae=Reflect.get(l,f,F);return(zc(f)?lh.has(f):Zg(f))||(r||Yo(l,"get",f),s)?ae:Ui(ae)?V&&Cf(f)?ae:ae.value:Vi(ae)?r?gh(ae):ac(ae):ae}}const im=ch(),om=ch(!0);function ch(r=!1){return function(a,l,f,F){let V=a[l];if(Wc(V)&&Ui(V)&&!Ui(f))return!1;if(!r&&!Wc(f)&&(rf(f)||(f=fi(f),V=fi(V)),!In(a)&&Ui(V)&&!Ui(f)))return V.value=f,!0;const ae=In(a)&&Cf(l)?Number(l)<a.length:oi(a,l),ue=Reflect.set(a,l,f,F);return a===fi(F)&&(ae?Hc(f,V)&&Sa(a,"set",l,f):Sa(a,"add",l,f)),ue}}function sm(r,s){const a=oi(r,s);r[s];const l=Reflect.deleteProperty(r,s);return l&&a&&Sa(r,"delete",s,void 0),l}function am(r,s){const a=Reflect.has(r,s);return(!zc(s)||!lh.has(s))&&Yo(r,"has",s),a}function um(r){return Yo(r,"iterate",In(r)?"length":yl),Reflect.ownKeys(r)}const ph={get:em,set:im,deleteProperty:sm,has:am,ownKeys:um},lm={get:rm,set(r,s){return!0},deleteProperty(r,s){return!0}},cm=_o({},ph,{get:tm,set:om}),Sf=r=>r,kp=r=>Reflect.getPrototypeOf(r);function Zc(r,s,a=!1,l=!1){r=r.__v_raw;const f=fi(r),F=fi(s);a||(s!==F&&Yo(f,"get",s),Yo(f,"get",F));const{has:V}=kp(f),ae=l?Sf:a?Tf:$c;if(V.call(f,s))return ae(r.get(s));if(V.call(f,F))return ae(r.get(F));r!==f&&r.get(s)}function ep(r,s=!1){const a=this.__v_raw,l=fi(a),f=fi(r);return s||(r!==f&&Yo(l,"has",r),Yo(l,"has",f)),r===f?a.has(r):a.has(r)||a.has(f)}function tp(r,s=!1){return r=r.__v_raw,!s&&Yo(fi(r),"iterate",yl),Reflect.get(r,"size",r)}function Xf(r){r=fi(r);const s=fi(this);return kp(s).has.call(s,r)||(s.add(r),Sa(s,"add",r,r)),this}function Kf(r,s){s=fi(s);const a=fi(this),{has:l,get:f}=kp(a);let F=l.call(a,r);F||(r=fi(r),F=l.call(a,r));const V=f.call(a,r);return a.set(r,s),F?Hc(s,V)&&Sa(a,"set",r,s):Sa(a,"add",r,s),this}function Qf(r){const s=fi(this),{has:a,get:l}=kp(s);let f=a.call(s,r);f||(r=fi(r),f=a.call(s,r)),l&&l.call(s,r);const F=s.delete(r);return f&&Sa(s,"delete",r,void 0),F}function Yf(){const r=fi(this),s=r.size!==0,a=r.clear();return s&&Sa(r,"clear",void 0,void 0),a}function rp(r,s){return function(l,f){const F=this,V=F.__v_raw,ae=fi(V),ue=s?Sf:r?Tf:$c;return!r&&Yo(ae,"iterate",yl),V.forEach((Ae,Be)=>l.call(f,ue(Ae),ue(Be),F))}}function np(r,s,a){return function(...l){const f=this.__v_raw,F=fi(f),V=Kl(F),ae=r==="entries"||r===Symbol.iterator&&V,ue=r==="keys"&&V,Ae=f[r](...l),Be=a?Sf:s?Tf:$c;return!s&&Yo(F,"iterate",ue?ef:yl),{next(){const{value:ze,done:Je}=Ae.next();return Je?{value:ze,done:Je}:{value:ae?[Be(ze[0]),Be(ze[1])]:Be(ze),done:Je}},[Symbol.iterator](){return this}}}}function lu(r){return function(...s){return r==="delete"?!1:this}}function pm(){const r={get(F){return Zc(this,F)},get size(){return tp(this)},has:ep,add:Xf,set:Kf,delete:Qf,clear:Yf,forEach:rp(!1,!1)},s={get(F){return Zc(this,F,!1,!0)},get size(){return tp(this)},has:ep,add:Xf,set:Kf,delete:Qf,clear:Yf,forEach:rp(!1,!0)},a={get(F){return Zc(this,F,!0)},get size(){return tp(this,!0)},has(F){return ep.call(this,F,!0)},add:lu("add"),set:lu("set"),delete:lu("delete"),clear:lu("clear"),forEach:rp(!0,!1)},l={get(F){return Zc(this,F,!0,!0)},get size(){return tp(this,!0)},has(F){return ep.call(this,F,!0)},add:lu("add"),set:lu("set"),delete:lu("delete"),clear:lu("clear"),forEach:rp(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(F=>{r[F]=np(F,!1,!1),a[F]=np(F,!0,!1),s[F]=np(F,!1,!0),l[F]=np(F,!0,!0)}),[r,a,s,l]}const[fm,dm,hm,gm]=pm();function Ff(r,s){const a=s?r?gm:hm:r?dm:fm;return(l,f,F)=>f==="__v_isReactive"?!r:f==="__v_isReadonly"?r:f==="__v_raw"?l:Reflect.get(oi(a,f)&&f in l?a:l,f,F)}const mm={get:Ff(!1,!1)},ym={get:Ff(!1,!0)},vm={get:Ff(!0,!1)},fh=new WeakMap,dh=new WeakMap,hh=new WeakMap,Dm=new WeakMap;function bm(r){switch(r){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function xm(r){return r.__v_skip||!Object.isExtensible(r)?0:bm(Wg(r))}function ac(r){return Wc(r)?r:kf(r,!1,ph,mm,fh)}function Cm(r){return kf(r,!1,cm,ym,dh)}function gh(r){return kf(r,!0,lm,vm,hh)}function kf(r,s,a,l,f){if(!Vi(r)||r.__v_raw&&!(s&&r.__v_isReactive))return r;const F=f.get(r);if(F)return F;const V=xm(r);if(V===0)return r;const ae=new Proxy(r,V===2?l:a);return f.set(r,ae),ae}function Ql(r){return Wc(r)?Ql(r.__v_raw):!!(r&&r.__v_isReactive)}function Wc(r){return!!(r&&r.__v_isReadonly)}function rf(r){return!!(r&&r.__v_isShallow)}function mh(r){return Ql(r)||Wc(r)}function fi(r){const s=r&&r.__v_raw;return s?fi(s):r}function yh(r){return pp(r,"__v_skip",!0),r}const $c=r=>Vi(r)?ac(r):r,Tf=r=>Vi(r)?gh(r):r;function vh(r){gu&&Ns&&(r=fi(r),uh(r.dep||(r.dep=Ef())))}function Dh(r,s){r=fi(r),r.dep&&tf(r.dep)}function Ui(r){return!!(r&&r.__v_isRef===!0)}function Qi(r){return bh(r,!1)}function Bc(r){return bh(r,!0)}function bh(r,s){return Ui(r)?r:new Em(r,s)}class Em{constructor(s,a){this.__v_isShallow=a,this.dep=void 0,this.__v_isRef=!0,this._rawValue=a?s:fi(s),this._value=a?s:$c(s)}get value(){return vh(this),this._value}set value(s){s=this.__v_isShallow?s:fi(s),Hc(s,this._rawValue)&&(this._rawValue=s,this._value=this.__v_isShallow?s:$c(s),Dh(this))}}function vn(r){return Ui(r)?r.value:r}const wm={get:(r,s,a)=>vn(Reflect.get(r,s,a)),set:(r,s,a,l)=>{const f=r[s];return Ui(f)&&!Ui(a)?(f.value=a,!0):Reflect.set(r,s,a,l)}};function xh(r){return Ql(r)?r:new Proxy(r,wm)}function Am(r){const s=In(r)?new Array(r.length):{};for(const a in r)s[a]=Fm(r,a);return s}class Sm{constructor(s,a,l){this._object=s,this._key=a,this._defaultValue=l,this.__v_isRef=!0}get value(){const s=this._object[this._key];return s===void 0?this._defaultValue:s}set value(s){this._object[this._key]=s}}function Fm(r,s,a){const l=r[s];return Ui(l)?l:new Sm(r,s,a)}class km{constructor(s,a,l,f){this._setter=a,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new wf(s,()=>{this._dirty||(this._dirty=!0,Dh(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!f,this.__v_isReadonly=l}get value(){const s=fi(this);return vh(s),(s._dirty||!s._cacheable)&&(s._dirty=!1,s._value=s.effect.run()),s._value}set value(s){this._setter(s)}}function Tm(r,s,a=!1){let l,f;const F=Kn(r);return F?(l=r,f=Ps):(l=r.get,f=r.set),new km(l,f,F||!f,a)}function mu(r,s,a,l){let f;try{f=l?r(...l):r()}catch(F){Tp(F,s,a)}return f}function Os(r,s,a,l){if(Kn(r)){const F=mu(r,s,a,l);return F&&rh(F)&&F.catch(V=>{Tp(V,s,a)}),F}const f=[];for(let F=0;F<r.length;F++)f.push(Os(r[F],s,a,l));return f}function Tp(r,s,a,l=!0){const f=s?s.vnode:null;if(s){let F=s.parent;const V=s.proxy,ae=a;for(;F;){const Ae=F.ec;if(Ae){for(let Be=0;Be<Ae.length;Be++)if(Ae[Be](r,V,ae)===!1)return}F=F.parent}const ue=s.appContext.config.errorHandler;if(ue){mu(ue,null,10,[r,V,ae]);return}}_m(r,a,f,l)}function _m(r,s,a,l=!0){console.error(r)}let fp=!1,nf=!1;const Qo=[];let Ea=0;const Pc=[];let Nc=null,ql=0;const Oc=[];let fu=null,Jl=0;const Ch=Promise.resolve();let _f=null,of=null;function _p(r){const s=_f||Ch;return r?s.then(this?r.bind(this):r):s}function Nm(r){let s=Ea+1,a=Qo.length;for(;s<a;){const l=s+a>>>1;Uc(Qo[l])<r?s=l+1:a=l}return s}function Eh(r){(!Qo.length||!Qo.includes(r,fp&&r.allowRecurse?Ea+1:Ea))&&r!==of&&(r.id==null?Qo.push(r):Qo.splice(Nm(r.id),0,r),wh())}function wh(){!fp&&!nf&&(nf=!0,_f=Ch.then(Fh))}function Bm(r){const s=Qo.indexOf(r);s>Ea&&Qo.splice(s,1)}function Ah(r,s,a,l){In(r)?a.push(...r):(!s||!s.includes(r,r.allowRecurse?l+1:l))&&a.push(r),wh()}function Pm(r){Ah(r,Nc,Pc,ql)}function Om(r){Ah(r,fu,Oc,Jl)}function Np(r,s=null){if(Pc.length){for(of=s,Nc=[...new Set(Pc)],Pc.length=0,ql=0;ql<Nc.length;ql++)Nc[ql]();Nc=null,ql=0,of=null,Np(r,s)}}function Sh(r){if(Np(),Oc.length){const s=[...new Set(Oc)];if(Oc.length=0,fu){fu.push(...s);return}for(fu=s,fu.sort((a,l)=>Uc(a)-Uc(l)),Jl=0;Jl<fu.length;Jl++)fu[Jl]();fu=null,Jl=0}}const Uc=r=>r.id==null?1/0:r.id;function Fh(r){nf=!1,fp=!0,Np(r),Qo.sort((a,l)=>Uc(a)-Uc(l));const s=Ps;try{for(Ea=0;Ea<Qo.length;Ea++){const a=Qo[Ea];a&&a.active!==!1&&mu(a,null,14)}}finally{Ea=0,Qo.length=0,Sh(),fp=!1,_f=null,(Qo.length||Pc.length||Oc.length)&&Fh(r)}}function jm(r,s,...a){if(r.isUnmounted)return;const l=r.vnode.props||bi;let f=a;const F=s.startsWith("update:"),V=F&&s.slice(7);if(V&&V in l){const Be=`${V==="modelValue"?"model":V}Modifiers`,{number:ze,trim:Je}=l[Be]||bi;Je&&(f=a.map(rt=>rt.trim())),ze&&(f=a.map(Vg))}let ae,ue=l[ae=Up(s)]||l[ae=Up(Zs(s))];!ue&&F&&(ue=l[ae=Up(ic(s))]),ue&&Os(ue,r,6,f);const Ae=l[ae+"Once"];if(Ae){if(!r.emitted)r.emitted={};else if(r.emitted[ae])return;r.emitted[ae]=!0,Os(Ae,r,6,f)}}function kh(r,s,a=!1){const l=s.emitsCache,f=l.get(r);if(f!==void 0)return f;const F=r.emits;let V={},ae=!1;if(!Kn(r)){const ue=Ae=>{const Be=kh(Ae,s,!0);Be&&(ae=!0,_o(V,Be))};!a&&s.mixins.length&&s.mixins.forEach(ue),r.extends&&ue(r.extends),r.mixins&&r.mixins.forEach(ue)}return!F&&!ae?(l.set(r,null),null):(In(F)?F.forEach(ue=>V[ue]=null):_o(V,F),l.set(r,V),V)}function Bp(r,s){return!r||!wp(s)?!1:(s=s.slice(2).replace(/Once$/,""),oi(r,s[0].toLowerCase()+s.slice(1))||oi(r,ic(s))||oi(r,s))}let mo=null,Th=null;function dp(r){const s=mo;return mo=r,Th=r&&r.type.__scopeId||null,s}function wa(r,s=mo,a){if(!s||r._n)return r;const l=(...f)=>{l._d&&ld(-1);const F=dp(s),V=r(...f);return dp(F),l._d&&ld(1),V};return l._n=!0,l._c=!0,l._d=!0,l}function Vp(r){const{type:s,vnode:a,proxy:l,withProxy:f,props:F,propsOptions:[V],slots:ae,attrs:ue,emit:Ae,render:Be,renderCache:ze,data:Je,setupState:rt,ctx:bt,inheritAttrs:Qt}=r;let nr,et;const pt=dp(r);try{if(a.shapeFlag&4){const Wt=f||l;nr=Ys(Be.call(Wt,Wt,ze,F,rt,Je,bt)),et=ue}else{const Wt=s;nr=Ys(Wt.length>1?Wt(F,{attrs:ue,slots:ae,emit:Ae}):Wt(F,null)),et=s.props?ue:Mm(ue)}}catch(Wt){Mc.length=0,Tp(Wt,r,1),nr=yi(vu)}let dt=nr;if(et&&Qt!==!1){const Wt=Object.keys(et),{shapeFlag:pr}=dt;Wt.length&&pr&7&&(V&&Wt.some(bf)&&(et=Lm(et,V)),dt=ec(dt,et))}return a.dirs&&(dt=ec(dt),dt.dirs=dt.dirs?dt.dirs.concat(a.dirs):a.dirs),a.transition&&(dt.transition=a.transition),nr=dt,dp(pt),nr}const Mm=r=>{let s;for(const a in r)(a==="class"||a==="style"||wp(a))&&((s||(s={}))[a]=r[a]);return s},Lm=(r,s)=>{const a={};for(const l in r)(!bf(l)||!(l.slice(9)in s))&&(a[l]=r[l]);return a};function Im(r,s,a){const{props:l,children:f,component:F}=r,{props:V,children:ae,patchFlag:ue}=s,Ae=F.emitsOptions;if(s.dirs||s.transition)return!0;if(a&&ue>=0){if(ue&1024)return!0;if(ue&16)return l?Zf(l,V,Ae):!!V;if(ue&8){const Be=s.dynamicProps;for(let ze=0;ze<Be.length;ze++){const Je=Be[ze];if(V[Je]!==l[Je]&&!Bp(Ae,Je))return!0}}}else return(f||ae)&&(!ae||!ae.$stable)?!0:l===V?!1:l?V?Zf(l,V,Ae):!0:!!V;return!1}function Zf(r,s,a){const l=Object.keys(s);if(l.length!==Object.keys(r).length)return!0;for(let f=0;f<l.length;f++){const F=l[f];if(s[F]!==r[F]&&!Bp(a,F))return!0}return!1}function Rm({vnode:r,parent:s},a){for(;s&&s.subTree===r;)(r=s.vnode).el=a,s=s.parent}const zm=r=>r.__isSuspense;function Hm(r,s){s&&s.pendingBranch?In(r)?s.effects.push(...r):s.effects.push(r):Om(r)}function up(r,s){if(ro){let a=ro.provides;const l=ro.parent&&ro.parent.provides;l===a&&(a=ro.provides=Object.create(l)),a[r]=s}}function Aa(r,s,a=!1){const l=ro||mo;if(l){const f=l.parent==null?l.vnode.appContext&&l.vnode.appContext.provides:l.parent.provides;if(f&&r in f)return f[r];if(arguments.length>1)return a&&Kn(s)?s.call(l.proxy):s}}function Wm(r,s){return Nf(r,null,s)}const ed={};function no(r,s,a){return Nf(r,s,a)}function Nf(r,s,{immediate:a,deep:l,flush:f,onTrack:F,onTrigger:V}=bi){const ae=ro;let ue,Ae=!1,Be=!1;if(Ui(r)?(ue=()=>r.value,Ae=rf(r)):Ql(r)?(ue=()=>r,l=!0):In(r)?(Be=!0,Ae=r.some(et=>Ql(et)||rf(et)),ue=()=>r.map(et=>{if(Ui(et))return et.value;if(Ql(et))return ml(et);if(Kn(et))return mu(et,ae,2)})):Kn(r)?s?ue=()=>mu(r,ae,2):ue=()=>{if(!(ae&&ae.isUnmounted))return ze&&ze(),Os(r,ae,3,[Je])}:ue=Ps,s&&l){const et=ue;ue=()=>ml(et())}let ze,Je=et=>{ze=nr.onStop=()=>{mu(et,ae,4)}};if(qc)return Je=Ps,s?a&&Os(s,ae,3,[ue(),Be?[]:void 0,Je]):ue(),Ps;let rt=Be?[]:ed;const bt=()=>{if(!!nr.active)if(s){const et=nr.run();(l||Ae||(Be?et.some((pt,dt)=>Hc(pt,rt[dt])):Hc(et,rt)))&&(ze&&ze(),Os(s,ae,3,[et,rt===ed?void 0:rt,Je]),rt=et)}else nr.run()};bt.allowRecurse=!!s;let Qt;f==="sync"?Qt=bt:f==="post"?Qt=()=>$o(bt,ae&&ae.suspense):Qt=()=>Pm(bt);const nr=new wf(ue,Qt);return s?a?bt():rt=nr.run():f==="post"?$o(nr.run.bind(nr),ae&&ae.suspense):nr.run(),()=>{nr.stop(),ae&&ae.scope&&xf(ae.scope.effects,nr)}}function $m(r,s,a){const l=this.proxy,f=io(r)?r.includes(".")?_h(l,r):()=>l[r]:r.bind(l,l);let F;Kn(s)?F=s:(F=s.handler,a=s);const V=ro;tc(this);const ae=Nf(f,F.bind(l),a);return V?tc(V):vl(),ae}function _h(r,s){const a=s.split(".");return()=>{let l=r;for(let f=0;f<a.length&&l;f++)l=l[a[f]];return l}}function ml(r,s){if(!Vi(r)||r.__v_skip||(s=s||new Set,s.has(r)))return r;if(s.add(r),Ui(r))ml(r.value,s);else if(In(r))for(let a=0;a<r.length;a++)ml(r[a],s);else if(Ap(r)||Kl(r))r.forEach(a=>{ml(a,s)});else if(ih(r))for(const a in r)ml(r[a],s);return r}function js(r){return Kn(r)?{setup:r,name:r.name}:r}const jc=r=>!!r.type.__asyncLoader,Nh=r=>r.type.__isKeepAlive;function Um(r,s){Bh(r,"a",s)}function Vm(r,s){Bh(r,"da",s)}function Bh(r,s,a=ro){const l=r.__wdc||(r.__wdc=()=>{let f=a;for(;f;){if(f.isDeactivated)return;f=f.parent}return r()});if(Pp(s,l,a),a){let f=a.parent;for(;f&&f.parent;)Nh(f.parent.vnode)&&qm(l,s,a,f),f=f.parent}}function qm(r,s,a,l){const f=Pp(s,r,l,!0);Oh(()=>{xf(l[s],f)},a)}function Pp(r,s,a=ro,l=!1){if(a){const f=a[r]||(a[r]=[]),F=s.__weh||(s.__weh=(...V)=>{if(a.isUnmounted)return;oc(),tc(a);const ae=Os(s,a,r,V);return vl(),sc(),ae});return l?f.unshift(F):f.push(F),F}}const ka=r=>(s,a=ro)=>(!qc||r==="sp")&&Pp(r,s,a),Ph=ka("bm"),Bf=ka("m"),Jm=ka("bu"),Gm=ka("u"),Xm=ka("bum"),Oh=ka("um"),Km=ka("sp"),Qm=ka("rtg"),Ym=ka("rtc");function Zm(r,s=ro){Pp("ec",r,s)}function e0(r,s){const a=mo;if(a===null)return r;const l=jp(a)||a.proxy,f=r.dirs||(r.dirs=[]);for(let F=0;F<s.length;F++){let[V,ae,ue,Ae=bi]=s[F];Kn(V)&&(V={mounted:V,updated:V}),V.deep&&ml(ae),f.push({dir:V,instance:l,value:ae,oldValue:void 0,arg:ue,modifiers:Ae})}return r}function fl(r,s,a,l){const f=r.dirs,F=s&&s.dirs;for(let V=0;V<f.length;V++){const ae=f[V];F&&(ae.oldValue=F[V].value);let ue=ae.dir[l];ue&&(oc(),Os(ue,a,8,[r.el,ae,r,s]),sc())}}const jh="components";function hp(r,s){return r0(jh,r,!0,s)||r}const t0=Symbol();function r0(r,s,a=!0,l=!1){const f=mo||ro;if(f){const F=f.type;if(r===jh){const ae=N0(F,!1);if(ae&&(ae===s||ae===Zs(s)||ae===Fp(Zs(s))))return F}const V=td(f[r]||F[r],s)||td(f.appContext[r],s);return!V&&l?F:V}}function td(r,s){return r&&(r[s]||r[Zs(s)]||r[Fp(Zs(s))])}function rd(r,s,a,l){let f;const F=a&&a[l];if(In(r)||io(r)){f=new Array(r.length);for(let V=0,ae=r.length;V<ae;V++)f[V]=s(r[V],V,void 0,F&&F[V])}else if(typeof r=="number"){f=new Array(r);for(let V=0;V<r;V++)f[V]=s(V+1,V,void 0,F&&F[V])}else if(Vi(r))if(r[Symbol.iterator])f=Array.from(r,(V,ae)=>s(V,ae,void 0,F&&F[ae]));else{const V=Object.keys(r);f=new Array(V.length);for(let ae=0,ue=V.length;ae<ue;ae++){const Ae=V[ae];f[ae]=s(r[Ae],Ae,ae,F&&F[ae])}}else f=[];return a&&(a[l]=f),f}function gp(r,s,a={},l,f){if(mo.isCE||mo.parent&&jc(mo.parent)&&mo.parent.isCE)return yi("slot",s==="default"?null:{name:s},l&&l());let F=r[s];F&&F._c&&(F._d=!1),Li();const V=F&&Mh(F(a)),ae=Zl(Uo,{key:a.key||`_${s}`},V||(l?l():[]),V&&r._===1?64:-2);return!f&&ae.scopeId&&(ae.slotScopeIds=[ae.scopeId+"-s"]),F&&F._c&&(F._d=!0),ae}function Mh(r){return r.some(s=>vp(s)?!(s.type===vu||s.type===Uo&&!Mh(s.children)):!0)?r:null}const sf=r=>r?Gh(r)?jp(r)||r.proxy:sf(r.parent):null,mp=_o(Object.create(null),{$:r=>r,$el:r=>r.vnode.el,$data:r=>r.data,$props:r=>r.props,$attrs:r=>r.attrs,$slots:r=>r.slots,$refs:r=>r.refs,$parent:r=>sf(r.parent),$root:r=>sf(r.root),$emit:r=>r.emit,$options:r=>Ih(r),$forceUpdate:r=>r.f||(r.f=()=>Eh(r.update)),$nextTick:r=>r.n||(r.n=_p.bind(r.proxy)),$watch:r=>$m.bind(r)}),n0={get({_:r},s){const{ctx:a,setupState:l,data:f,props:F,accessCache:V,type:ae,appContext:ue}=r;let Ae;if(s[0]!=="$"){const rt=V[s];if(rt!==void 0)switch(rt){case 1:return l[s];case 2:return f[s];case 4:return a[s];case 3:return F[s]}else{if(l!==bi&&oi(l,s))return V[s]=1,l[s];if(f!==bi&&oi(f,s))return V[s]=2,f[s];if((Ae=r.propsOptions[0])&&oi(Ae,s))return V[s]=3,F[s];if(a!==bi&&oi(a,s))return V[s]=4,a[s];af&&(V[s]=0)}}const Be=mp[s];let ze,Je;if(Be)return s==="$attrs"&&Yo(r,"get",s),Be(r);if((ze=ae.__cssModules)&&(ze=ze[s]))return ze;if(a!==bi&&oi(a,s))return V[s]=4,a[s];if(Je=ue.config.globalProperties,oi(Je,s))return Je[s]},set({_:r},s,a){const{data:l,setupState:f,ctx:F}=r;return f!==bi&&oi(f,s)?(f[s]=a,!0):l!==bi&&oi(l,s)?(l[s]=a,!0):oi(r.props,s)||s[0]==="$"&&s.slice(1)in r?!1:(F[s]=a,!0)},has({_:{data:r,setupState:s,accessCache:a,ctx:l,appContext:f,propsOptions:F}},V){let ae;return!!a[V]||r!==bi&&oi(r,V)||s!==bi&&oi(s,V)||(ae=F[0])&&oi(ae,V)||oi(l,V)||oi(mp,V)||oi(f.config.globalProperties,V)},defineProperty(r,s,a){return a.get!=null?r._.accessCache[s]=0:oi(a,"value")&&this.set(r,s,a.value,null),Reflect.defineProperty(r,s,a)}};let af=!0;function i0(r){const s=Ih(r),a=r.proxy,l=r.ctx;af=!1,s.beforeCreate&&nd(s.beforeCreate,r,"bc");const{data:f,computed:F,methods:V,watch:ae,provide:ue,inject:Ae,created:Be,beforeMount:ze,mounted:Je,beforeUpdate:rt,updated:bt,activated:Qt,deactivated:nr,beforeDestroy:et,beforeUnmount:pt,destroyed:dt,unmounted:Wt,render:pr,renderTracked:kr,renderTriggered:Rr,errorCaptured:Sn,serverPrefetch:Dn,expose:Lr,inheritAttrs:_r,components:gn,directives:zt,filters:Cr}=s;if(Ae&&o0(Ae,l,null,r.appContext.config.unwrapInjectedRef),V)for(const Ut in V){const Ar=V[Ut];Kn(Ar)&&(l[Ut]=Ar.bind(a))}if(f){const Ut=f.call(a,a);Vi(Ut)&&(r.data=ac(Ut))}if(af=!0,F)for(const Ut in F){const Ar=F[Ut],tn=Kn(Ar)?Ar.bind(a,a):Kn(Ar.get)?Ar.get.bind(a,a):Ps,Vn=!Kn(Ar)&&Kn(Ar.set)?Ar.set.bind(a):Ps,ai=_i({get:tn,set:Vn});Object.defineProperty(l,Ut,{enumerable:!0,configurable:!0,get:()=>ai.value,set:ui=>ai.value=ui})}if(ae)for(const Ut in ae)Lh(ae[Ut],l,a,Ut);if(ue){const Ut=Kn(ue)?ue.call(a):ue;Reflect.ownKeys(Ut).forEach(Ar=>{up(Ar,Ut[Ar])})}Be&&nd(Be,r,"c");function lr(Ut,Ar){In(Ar)?Ar.forEach(tn=>Ut(tn.bind(a))):Ar&&Ut(Ar.bind(a))}if(lr(Ph,ze),lr(Bf,Je),lr(Jm,rt),lr(Gm,bt),lr(Um,Qt),lr(Vm,nr),lr(Zm,Sn),lr(Ym,kr),lr(Qm,Rr),lr(Xm,pt),lr(Oh,Wt),lr(Km,Dn),In(Lr))if(Lr.length){const Ut=r.exposed||(r.exposed={});Lr.forEach(Ar=>{Object.defineProperty(Ut,Ar,{get:()=>a[Ar],set:tn=>a[Ar]=tn})})}else r.exposed||(r.exposed={});pr&&r.render===Ps&&(r.render=pr),_r!=null&&(r.inheritAttrs=_r),gn&&(r.components=gn),zt&&(r.directives=zt)}function o0(r,s,a=Ps,l=!1){In(r)&&(r=uf(r));for(const f in r){const F=r[f];let V;Vi(F)?"default"in F?V=Aa(F.from||f,F.default,!0):V=Aa(F.from||f):V=Aa(F),Ui(V)&&l?Object.defineProperty(s,f,{enumerable:!0,configurable:!0,get:()=>V.value,set:ae=>V.value=ae}):s[f]=V}}function nd(r,s,a){Os(In(r)?r.map(l=>l.bind(s.proxy)):r.bind(s.proxy),s,a)}function Lh(r,s,a,l){const f=l.includes(".")?_h(a,l):()=>a[l];if(io(r)){const F=s[r];Kn(F)&&no(f,F)}else if(Kn(r))no(f,r.bind(a));else if(Vi(r))if(In(r))r.forEach(F=>Lh(F,s,a,l));else{const F=Kn(r.handler)?r.handler.bind(a):s[r.handler];Kn(F)&&no(f,F,r)}}function Ih(r){const s=r.type,{mixins:a,extends:l}=s,{mixins:f,optionsCache:F,config:{optionMergeStrategies:V}}=r.appContext,ae=F.get(s);let ue;return ae?ue=ae:!f.length&&!a&&!l?ue=s:(ue={},f.length&&f.forEach(Ae=>yp(ue,Ae,V,!0)),yp(ue,s,V)),F.set(s,ue),ue}function yp(r,s,a,l=!1){const{mixins:f,extends:F}=s;F&&yp(r,F,a,!0),f&&f.forEach(V=>yp(r,V,a,!0));for(const V in s)if(!(l&&V==="expose")){const ae=s0[V]||a&&a[V];r[V]=ae?ae(r[V],s[V]):s[V]}return r}const s0={data:id,props:hl,emits:hl,methods:hl,computed:hl,beforeCreate:ko,created:ko,beforeMount:ko,mounted:ko,beforeUpdate:ko,updated:ko,beforeDestroy:ko,beforeUnmount:ko,destroyed:ko,unmounted:ko,activated:ko,deactivated:ko,errorCaptured:ko,serverPrefetch:ko,components:hl,directives:hl,watch:u0,provide:id,inject:a0};function id(r,s){return s?r?function(){return _o(Kn(r)?r.call(this,this):r,Kn(s)?s.call(this,this):s)}:s:r}function a0(r,s){return hl(uf(r),uf(s))}function uf(r){if(In(r)){const s={};for(let a=0;a<r.length;a++)s[r[a]]=r[a];return s}return r}function ko(r,s){return r?[...new Set([].concat(r,s))]:s}function hl(r,s){return r?_o(_o(Object.create(null),r),s):s}function u0(r,s){if(!r)return s;if(!s)return r;const a=_o(Object.create(null),r);for(const l in s)a[l]=ko(r[l],s[l]);return a}function l0(r,s,a,l=!1){const f={},F={};pp(F,Op,1),r.propsDefaults=Object.create(null),Rh(r,s,f,F);for(const V in r.propsOptions[0])V in f||(f[V]=void 0);a?r.props=l?f:Cm(f):r.type.props?r.props=f:r.props=F,r.attrs=F}function c0(r,s,a,l){const{props:f,attrs:F,vnode:{patchFlag:V}}=r,ae=fi(f),[ue]=r.propsOptions;let Ae=!1;if((l||V>0)&&!(V&16)){if(V&8){const Be=r.vnode.dynamicProps;for(let ze=0;ze<Be.length;ze++){let Je=Be[ze];if(Bp(r.emitsOptions,Je))continue;const rt=s[Je];if(ue)if(oi(F,Je))rt!==F[Je]&&(F[Je]=rt,Ae=!0);else{const bt=Zs(Je);f[bt]=lf(ue,ae,bt,rt,r,!1)}else rt!==F[Je]&&(F[Je]=rt,Ae=!0)}}}else{Rh(r,s,f,F)&&(Ae=!0);let Be;for(const ze in ae)(!s||!oi(s,ze)&&((Be=ic(ze))===ze||!oi(s,Be)))&&(ue?a&&(a[ze]!==void 0||a[Be]!==void 0)&&(f[ze]=lf(ue,ae,ze,void 0,r,!0)):delete f[ze]);if(F!==ae)for(const ze in F)(!s||!oi(s,ze)&&!0)&&(delete F[ze],Ae=!0)}Ae&&Sa(r,"set","$attrs")}function Rh(r,s,a,l){const[f,F]=r.propsOptions;let V=!1,ae;if(s)for(let ue in s){if(sp(ue))continue;const Ae=s[ue];let Be;f&&oi(f,Be=Zs(ue))?!F||!F.includes(Be)?a[Be]=Ae:(ae||(ae={}))[Be]=Ae:Bp(r.emitsOptions,ue)||(!(ue in l)||Ae!==l[ue])&&(l[ue]=Ae,V=!0)}if(F){const ue=fi(a),Ae=ae||bi;for(let Be=0;Be<F.length;Be++){const ze=F[Be];a[ze]=lf(f,ue,ze,Ae[ze],r,!oi(Ae,ze))}}return V}function lf(r,s,a,l,f,F){const V=r[a];if(V!=null){const ae=oi(V,"default");if(ae&&l===void 0){const ue=V.default;if(V.type!==Function&&Kn(ue)){const{propsDefaults:Ae}=f;a in Ae?l=Ae[a]:(tc(f),l=Ae[a]=ue.call(null,s),vl())}else l=ue}V[0]&&(F&&!ae?l=!1:V[1]&&(l===""||l===ic(a))&&(l=!0))}return l}function zh(r,s,a=!1){const l=s.propsCache,f=l.get(r);if(f)return f;const F=r.props,V={},ae=[];let ue=!1;if(!Kn(r)){const Be=ze=>{ue=!0;const[Je,rt]=zh(ze,s,!0);_o(V,Je),rt&&ae.push(...rt)};!a&&s.mixins.length&&s.mixins.forEach(Be),r.extends&&Be(r.extends),r.mixins&&r.mixins.forEach(Be)}if(!F&&!ue)return l.set(r,Xl),Xl;if(In(F))for(let Be=0;Be<F.length;Be++){const ze=Zs(F[Be]);od(ze)&&(V[ze]=bi)}else if(F)for(const Be in F){const ze=Zs(Be);if(od(ze)){const Je=F[Be],rt=V[ze]=In(Je)||Kn(Je)?{type:Je}:Je;if(rt){const bt=ud(Boolean,rt.type),Qt=ud(String,rt.type);rt[0]=bt>-1,rt[1]=Qt<0||bt<Qt,(bt>-1||oi(rt,"default"))&&ae.push(ze)}}}const Ae=[V,ae];return l.set(r,Ae),Ae}function od(r){return r[0]!=="$"}function sd(r){const s=r&&r.toString().match(/^\s*function (\w+)/);return s?s[1]:r===null?"null":""}function ad(r,s){return sd(r)===sd(s)}function ud(r,s){return In(s)?s.findIndex(a=>ad(a,r)):Kn(s)&&ad(s,r)?0:-1}const Hh=r=>r[0]==="_"||r==="$stable",Pf=r=>In(r)?r.map(Ys):[Ys(r)],p0=(r,s,a)=>{if(s._n)return s;const l=wa((...f)=>Pf(s(...f)),a);return l._c=!1,l},Wh=(r,s,a)=>{const l=r._ctx;for(const f in r){if(Hh(f))continue;const F=r[f];if(Kn(F))s[f]=p0(f,F,l);else if(F!=null){const V=Pf(F);s[f]=()=>V}}},$h=(r,s)=>{const a=Pf(s);r.slots.default=()=>a},f0=(r,s)=>{if(r.vnode.shapeFlag&32){const a=s._;a?(r.slots=fi(s),pp(s,"_",a)):Wh(s,r.slots={})}else r.slots={},s&&$h(r,s);pp(r.slots,Op,1)},d0=(r,s,a)=>{const{vnode:l,slots:f}=r;let F=!0,V=bi;if(l.shapeFlag&32){const ae=s._;ae?a&&ae===1?F=!1:(_o(f,s),!a&&ae===1&&delete f._):(F=!s.$stable,Wh(s,f)),V=s}else s&&($h(r,s),V={default:1});if(F)for(const ae in f)!Hh(ae)&&!(ae in V)&&delete f[ae]};function Uh(){return{app:null,config:{isNativeTag:Rg,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let h0=0;function g0(r,s){return function(l,f=null){Kn(l)||(l=Object.assign({},l)),f!=null&&!Vi(f)&&(f=null);const F=Uh(),V=new Set;let ae=!1;const ue=F.app={_uid:h0++,_component:l,_props:f,_container:null,_context:F,_instance:null,version:P0,get config(){return F.config},set config(Ae){},use(Ae,...Be){return V.has(Ae)||(Ae&&Kn(Ae.install)?(V.add(Ae),Ae.install(ue,...Be)):Kn(Ae)&&(V.add(Ae),Ae(ue,...Be))),ue},mixin(Ae){return F.mixins.includes(Ae)||F.mixins.push(Ae),ue},component(Ae,Be){return Be?(F.components[Ae]=Be,ue):F.components[Ae]},directive(Ae,Be){return Be?(F.directives[Ae]=Be,ue):F.directives[Ae]},mount(Ae,Be,ze){if(!ae){const Je=yi(l,f);return Je.appContext=F,Be&&s?s(Je,Ae):r(Je,Ae,ze),ae=!0,ue._container=Ae,Ae.__vue_app__=ue,jp(Je.component)||Je.component.proxy}},unmount(){ae&&(r(null,ue._container),delete ue._container.__vue_app__)},provide(Ae,Be){return F.provides[Ae]=Be,ue}};return ue}}function cf(r,s,a,l,f=!1){if(In(r)){r.forEach((Je,rt)=>cf(Je,s&&(In(s)?s[rt]:s),a,l,f));return}if(jc(l)&&!f)return;const F=l.shapeFlag&4?jp(l.component)||l.component.proxy:l.el,V=f?null:F,{i:ae,r:ue}=r,Ae=s&&s.r,Be=ae.refs===bi?ae.refs={}:ae.refs,ze=ae.setupState;if(Ae!=null&&Ae!==ue&&(io(Ae)?(Be[Ae]=null,oi(ze,Ae)&&(ze[Ae]=null)):Ui(Ae)&&(Ae.value=null)),Kn(ue))mu(ue,ae,12,[V,Be]);else{const Je=io(ue),rt=Ui(ue);if(Je||rt){const bt=()=>{if(r.f){const Qt=Je?Be[ue]:ue.value;f?In(Qt)&&xf(Qt,F):In(Qt)?Qt.includes(F)||Qt.push(F):Je?(Be[ue]=[F],oi(ze,ue)&&(ze[ue]=Be[ue])):(ue.value=[F],r.k&&(Be[r.k]=ue.value))}else Je?(Be[ue]=V,oi(ze,ue)&&(ze[ue]=V)):rt&&(ue.value=V,r.k&&(Be[r.k]=V))};V?(bt.id=-1,$o(bt,a)):bt()}}}const $o=Hm;function m0(r){return y0(r)}function y0(r,s){const a=qg();a.__VUE__=!0;const{insert:l,remove:f,patchProp:F,createElement:V,createText:ae,createComment:ue,setText:Ae,setElementText:Be,parentNode:ze,nextSibling:Je,setScopeId:rt=Ps,cloneNode:bt,insertStaticContent:Qt}=r,nr=(Ue,nt,Lt,kt=null,or=null,gr=null,Er=!1,Sr=null,dr=!!nt.dynamicChildren)=>{if(Ue===nt)return;Ue&&!Fc(Ue,nt)&&(kt=Dr(Ue),On(Ue,or,gr,!0),Ue=null),nt.patchFlag===-2&&(dr=!1,nt.dynamicChildren=null);const{type:We,ref:Rt,shapeFlag:it}=nt;switch(We){case Of:et(Ue,nt,Lt,kt);break;case vu:pt(Ue,nt,Lt,kt);break;case qp:Ue==null&&dt(nt,Lt,kt,Er);break;case Uo:zt(Ue,nt,Lt,kt,or,gr,Er,Sr,dr);break;default:it&1?kr(Ue,nt,Lt,kt,or,gr,Er,Sr,dr):it&6?Cr(Ue,nt,Lt,kt,or,gr,Er,Sr,dr):(it&64||it&128)&&We.process(Ue,nt,Lt,kt,or,gr,Er,Sr,dr,Hr)}Rt!=null&&or&&cf(Rt,Ue&&Ue.ref,gr,nt||Ue,!nt)},et=(Ue,nt,Lt,kt)=>{if(Ue==null)l(nt.el=ae(nt.children),Lt,kt);else{const or=nt.el=Ue.el;nt.children!==Ue.children&&Ae(or,nt.children)}},pt=(Ue,nt,Lt,kt)=>{Ue==null?l(nt.el=ue(nt.children||""),Lt,kt):nt.el=Ue.el},dt=(Ue,nt,Lt,kt)=>{[Ue.el,Ue.anchor]=Qt(Ue.children,nt,Lt,kt,Ue.el,Ue.anchor)},Wt=({el:Ue,anchor:nt},Lt,kt)=>{let or;for(;Ue&&Ue!==nt;)or=Je(Ue),l(Ue,Lt,kt),Ue=or;l(nt,Lt,kt)},pr=({el:Ue,anchor:nt})=>{let Lt;for(;Ue&&Ue!==nt;)Lt=Je(Ue),f(Ue),Ue=Lt;f(nt)},kr=(Ue,nt,Lt,kt,or,gr,Er,Sr,dr)=>{Er=Er||nt.type==="svg",Ue==null?Rr(nt,Lt,kt,or,gr,Er,Sr,dr):Lr(Ue,nt,or,gr,Er,Sr,dr)},Rr=(Ue,nt,Lt,kt,or,gr,Er,Sr)=>{let dr,We;const{type:Rt,props:it,shapeFlag:Br,transition:ln,patchFlag:zn,dirs:Jn}=Ue;if(Ue.el&&bt!==void 0&&zn===-1)dr=Ue.el=bt(Ue.el);else{if(dr=Ue.el=V(Ue.type,gr,it&&it.is,it),Br&8?Be(dr,Ue.children):Br&16&&Dn(Ue.children,dr,null,kt,or,gr&&Rt!=="foreignObject",Er,Sr),Jn&&fl(Ue,null,kt,"created"),it){for(const kn in it)kn!=="value"&&!sp(kn)&&F(dr,kn,null,it[kn],gr,Ue.children,kt,or,Pt);"value"in it&&F(dr,"value",null,it.value),(We=it.onVnodeBeforeMount)&&Qs(We,kt,Ue)}Sn(dr,Ue,Ue.scopeId,Er,kt)}Jn&&fl(Ue,null,kt,"beforeMount");const Gn=(!or||or&&!or.pendingBranch)&&ln&&!ln.persisted;Gn&&ln.beforeEnter(dr),l(dr,nt,Lt),((We=it&&it.onVnodeMounted)||Gn||Jn)&&$o(()=>{We&&Qs(We,kt,Ue),Gn&&ln.enter(dr),Jn&&fl(Ue,null,kt,"mounted")},or)},Sn=(Ue,nt,Lt,kt,or)=>{if(Lt&&rt(Ue,Lt),kt)for(let gr=0;gr<kt.length;gr++)rt(Ue,kt[gr]);if(or){let gr=or.subTree;if(nt===gr){const Er=or.vnode;Sn(Ue,Er,Er.scopeId,Er.slotScopeIds,or.parent)}}},Dn=(Ue,nt,Lt,kt,or,gr,Er,Sr,dr=0)=>{for(let We=dr;We<Ue.length;We++){const Rt=Ue[We]=Sr?du(Ue[We]):Ys(Ue[We]);nr(null,Rt,nt,Lt,kt,or,gr,Er,Sr)}},Lr=(Ue,nt,Lt,kt,or,gr,Er)=>{const Sr=nt.el=Ue.el;let{patchFlag:dr,dynamicChildren:We,dirs:Rt}=nt;dr|=Ue.patchFlag&16;const it=Ue.props||bi,Br=nt.props||bi;let ln;Lt&&dl(Lt,!1),(ln=Br.onVnodeBeforeUpdate)&&Qs(ln,Lt,nt,Ue),Rt&&fl(nt,Ue,Lt,"beforeUpdate"),Lt&&dl(Lt,!0);const zn=or&&nt.type!=="foreignObject";if(We?_r(Ue.dynamicChildren,We,Sr,Lt,kt,zn,gr):Er||tn(Ue,nt,Sr,null,Lt,kt,zn,gr,!1),dr>0){if(dr&16)gn(Sr,nt,it,Br,Lt,kt,or);else if(dr&2&&it.class!==Br.class&&F(Sr,"class",null,Br.class,or),dr&4&&F(Sr,"style",it.style,Br.style,or),dr&8){const Jn=nt.dynamicProps;for(let Gn=0;Gn<Jn.length;Gn++){const kn=Jn[Gn],di=it[kn],Ir=Br[kn];(Ir!==di||kn==="value")&&F(Sr,kn,di,Ir,or,Ue.children,Lt,kt,Pt)}}dr&1&&Ue.children!==nt.children&&Be(Sr,nt.children)}else!Er&&We==null&&gn(Sr,nt,it,Br,Lt,kt,or);((ln=Br.onVnodeUpdated)||Rt)&&$o(()=>{ln&&Qs(ln,Lt,nt,Ue),Rt&&fl(nt,Ue,Lt,"updated")},kt)},_r=(Ue,nt,Lt,kt,or,gr,Er)=>{for(let Sr=0;Sr<nt.length;Sr++){const dr=Ue[Sr],We=nt[Sr],Rt=dr.el&&(dr.type===Uo||!Fc(dr,We)||dr.shapeFlag&70)?ze(dr.el):Lt;nr(dr,We,Rt,null,kt,or,gr,Er,!0)}},gn=(Ue,nt,Lt,kt,or,gr,Er)=>{if(Lt!==kt){for(const Sr in kt){if(sp(Sr))continue;const dr=kt[Sr],We=Lt[Sr];dr!==We&&Sr!=="value"&&F(Ue,Sr,We,dr,Er,nt.children,or,gr,Pt)}if(Lt!==bi)for(const Sr in Lt)!sp(Sr)&&!(Sr in kt)&&F(Ue,Sr,Lt[Sr],null,Er,nt.children,or,gr,Pt);"value"in kt&&F(Ue,"value",Lt.value,kt.value)}},zt=(Ue,nt,Lt,kt,or,gr,Er,Sr,dr)=>{const We=nt.el=Ue?Ue.el:ae(""),Rt=nt.anchor=Ue?Ue.anchor:ae("");let{patchFlag:it,dynamicChildren:Br,slotScopeIds:ln}=nt;ln&&(Sr=Sr?Sr.concat(ln):ln),Ue==null?(l(We,Lt,kt),l(Rt,Lt,kt),Dn(nt.children,Lt,Rt,or,gr,Er,Sr,dr)):it>0&&it&64&&Br&&Ue.dynamicChildren?(_r(Ue.dynamicChildren,Br,Lt,or,gr,Er,Sr),(nt.key!=null||or&&nt===or.subTree)&&Vh(Ue,nt,!0)):tn(Ue,nt,Lt,Rt,or,gr,Er,Sr,dr)},Cr=(Ue,nt,Lt,kt,or,gr,Er,Sr,dr)=>{nt.slotScopeIds=Sr,Ue==null?nt.shapeFlag&512?or.ctx.activate(nt,Lt,kt,Er,dr):de(nt,Lt,kt,or,gr,Er,dr):lr(Ue,nt,dr)},de=(Ue,nt,Lt,kt,or,gr,Er)=>{const Sr=Ue.component=S0(Ue,kt,or);if(Nh(Ue)&&(Sr.ctx.renderer=Hr),F0(Sr),Sr.asyncDep){if(or&&or.registerDep(Sr,Ut),!Ue.el){const dr=Sr.subTree=yi(vu);pt(null,dr,nt,Lt)}return}Ut(Sr,Ue,nt,Lt,or,gr,Er)},lr=(Ue,nt,Lt)=>{const kt=nt.component=Ue.component;if(Im(Ue,nt,Lt))if(kt.asyncDep&&!kt.asyncResolved){Ar(kt,nt,Lt);return}else kt.next=nt,Bm(kt.update),kt.update();else nt.el=Ue.el,kt.vnode=nt},Ut=(Ue,nt,Lt,kt,or,gr,Er)=>{const Sr=()=>{if(Ue.isMounted){let{next:Rt,bu:it,u:Br,parent:ln,vnode:zn}=Ue,Jn=Rt,Gn;dl(Ue,!1),Rt?(Rt.el=zn.el,Ar(Ue,Rt,Er)):Rt=zn,it&&ap(it),(Gn=Rt.props&&Rt.props.onVnodeBeforeUpdate)&&Qs(Gn,ln,Rt,zn),dl(Ue,!0);const kn=Vp(Ue),di=Ue.subTree;Ue.subTree=kn,nr(di,kn,ze(di.el),Dr(di),Ue,or,gr),Rt.el=kn.el,Jn===null&&Rm(Ue,kn.el),Br&&$o(Br,or),(Gn=Rt.props&&Rt.props.onVnodeUpdated)&&$o(()=>Qs(Gn,ln,Rt,zn),or)}else{let Rt;const{el:it,props:Br}=nt,{bm:ln,m:zn,parent:Jn}=Ue,Gn=jc(nt);if(dl(Ue,!1),ln&&ap(ln),!Gn&&(Rt=Br&&Br.onVnodeBeforeMount)&&Qs(Rt,Jn,nt),dl(Ue,!0),it&&Zr){const kn=()=>{Ue.subTree=Vp(Ue),Zr(it,Ue.subTree,Ue,or,null)};Gn?nt.type.__asyncLoader().then(()=>!Ue.isUnmounted&&kn()):kn()}else{const kn=Ue.subTree=Vp(Ue);nr(null,kn,Lt,kt,Ue,or,gr),nt.el=kn.el}if(zn&&$o(zn,or),!Gn&&(Rt=Br&&Br.onVnodeMounted)){const kn=nt;$o(()=>Qs(Rt,Jn,kn),or)}(nt.shapeFlag&256||Jn&&jc(Jn.vnode)&&Jn.vnode.shapeFlag&256)&&Ue.a&&$o(Ue.a,or),Ue.isMounted=!0,nt=Lt=kt=null}},dr=Ue.effect=new wf(Sr,()=>Eh(We),Ue.scope),We=Ue.update=()=>dr.run();We.id=Ue.uid,dl(Ue,!0),We()},Ar=(Ue,nt,Lt)=>{nt.component=Ue;const kt=Ue.vnode.props;Ue.vnode=nt,Ue.next=null,c0(Ue,nt.props,kt,Lt),d0(Ue,nt.children,Lt),oc(),Np(void 0,Ue.update),sc()},tn=(Ue,nt,Lt,kt,or,gr,Er,Sr,dr=!1)=>{const We=Ue&&Ue.children,Rt=Ue?Ue.shapeFlag:0,it=nt.children,{patchFlag:Br,shapeFlag:ln}=nt;if(Br>0){if(Br&128){ai(We,it,Lt,kt,or,gr,Er,Sr,dr);return}else if(Br&256){Vn(We,it,Lt,kt,or,gr,Er,Sr,dr);return}}ln&8?(Rt&16&&Pt(We,or,gr),it!==We&&Be(Lt,it)):Rt&16?ln&16?ai(We,it,Lt,kt,or,gr,Er,Sr,dr):Pt(We,or,gr,!0):(Rt&8&&Be(Lt,""),ln&16&&Dn(it,Lt,kt,or,gr,Er,Sr,dr))},Vn=(Ue,nt,Lt,kt,or,gr,Er,Sr,dr)=>{Ue=Ue||Xl,nt=nt||Xl;const We=Ue.length,Rt=nt.length,it=Math.min(We,Rt);let Br;for(Br=0;Br<it;Br++){const ln=nt[Br]=dr?du(nt[Br]):Ys(nt[Br]);nr(Ue[Br],ln,Lt,null,or,gr,Er,Sr,dr)}We>Rt?Pt(Ue,or,gr,!0,!1,it):Dn(nt,Lt,kt,or,gr,Er,Sr,dr,it)},ai=(Ue,nt,Lt,kt,or,gr,Er,Sr,dr)=>{let We=0;const Rt=nt.length;let it=Ue.length-1,Br=Rt-1;for(;We<=it&&We<=Br;){const ln=Ue[We],zn=nt[We]=dr?du(nt[We]):Ys(nt[We]);if(Fc(ln,zn))nr(ln,zn,Lt,null,or,gr,Er,Sr,dr);else break;We++}for(;We<=it&&We<=Br;){const ln=Ue[it],zn=nt[Br]=dr?du(nt[Br]):Ys(nt[Br]);if(Fc(ln,zn))nr(ln,zn,Lt,null,or,gr,Er,Sr,dr);else break;it--,Br--}if(We>it){if(We<=Br){const ln=Br+1,zn=ln<Rt?nt[ln].el:kt;for(;We<=Br;)nr(null,nt[We]=dr?du(nt[We]):Ys(nt[We]),Lt,zn,or,gr,Er,Sr,dr),We++}}else if(We>Br)for(;We<=it;)On(Ue[We],or,gr,!0),We++;else{const ln=We,zn=We,Jn=new Map;for(We=zn;We<=Br;We++){const Zt=nt[We]=dr?du(nt[We]):Ys(nt[We]);Zt.key!=null&&Jn.set(Zt.key,We)}let Gn,kn=0;const di=Br-zn+1;let Ir=!1,Ht=0;const $t=new Array(di);for(We=0;We<di;We++)$t[We]=0;for(We=ln;We<=it;We++){const Zt=Ue[We];if(kn>=di){On(Zt,or,gr,!0);continue}let Tt;if(Zt.key!=null)Tt=Jn.get(Zt.key);else for(Gn=zn;Gn<=Br;Gn++)if($t[Gn-zn]===0&&Fc(Zt,nt[Gn])){Tt=Gn;break}Tt===void 0?On(Zt,or,gr,!0):($t[Tt-zn]=We+1,Tt>=Ht?Ht=Tt:Ir=!0,nr(Zt,nt[Tt],Lt,null,or,gr,Er,Sr,dr),kn++)}const ht=Ir?v0($t):Xl;for(Gn=ht.length-1,We=di-1;We>=0;We--){const Zt=zn+We,Tt=nt[Zt],yr=Zt+1<Rt?nt[Zt+1].el:kt;$t[We]===0?nr(null,Tt,Lt,yr,or,gr,Er,Sr,dr):Ir&&(Gn<0||We!==ht[Gn]?ui(Tt,Lt,yr,2):Gn--)}}},ui=(Ue,nt,Lt,kt,or=null)=>{const{el:gr,type:Er,transition:Sr,children:dr,shapeFlag:We}=Ue;if(We&6){ui(Ue.component.subTree,nt,Lt,kt);return}if(We&128){Ue.suspense.move(nt,Lt,kt);return}if(We&64){Er.move(Ue,nt,Lt,Hr);return}if(Er===Uo){l(gr,nt,Lt);for(let it=0;it<dr.length;it++)ui(dr[it],nt,Lt,kt);l(Ue.anchor,nt,Lt);return}if(Er===qp){Wt(Ue,nt,Lt);return}if(kt!==2&&We&1&&Sr)if(kt===0)Sr.beforeEnter(gr),l(gr,nt,Lt),$o(()=>Sr.enter(gr),or);else{const{leave:it,delayLeave:Br,afterLeave:ln}=Sr,zn=()=>l(gr,nt,Lt),Jn=()=>{it(gr,()=>{zn(),ln&&ln()})};Br?Br(gr,zn,Jn):Jn()}else l(gr,nt,Lt)},On=(Ue,nt,Lt,kt=!1,or=!1)=>{const{type:gr,props:Er,ref:Sr,children:dr,dynamicChildren:We,shapeFlag:Rt,patchFlag:it,dirs:Br}=Ue;if(Sr!=null&&cf(Sr,null,Lt,Ue,!0),Rt&256){nt.ctx.deactivate(Ue);return}const ln=Rt&1&&Br,zn=!jc(Ue);let Jn;if(zn&&(Jn=Er&&Er.onVnodeBeforeUnmount)&&Qs(Jn,nt,Ue),Rt&6)ar(Ue.component,Lt,kt);else{if(Rt&128){Ue.suspense.unmount(Lt,kt);return}ln&&fl(Ue,null,nt,"beforeUnmount"),Rt&64?Ue.type.remove(Ue,nt,Lt,or,Hr,kt):We&&(gr!==Uo||it>0&&it&64)?Pt(We,nt,Lt,!1,!0):(gr===Uo&&it&384||!or&&Rt&16)&&Pt(dr,nt,Lt),kt&&li(Ue)}(zn&&(Jn=Er&&Er.onVnodeUnmounted)||ln)&&$o(()=>{Jn&&Qs(Jn,nt,Ue),ln&&fl(Ue,null,nt,"unmounted")},Lt)},li=Ue=>{const{type:nt,el:Lt,anchor:kt,transition:or}=Ue;if(nt===Uo){Gt(Lt,kt);return}if(nt===qp){pr(Ue);return}const gr=()=>{f(Lt),or&&!or.persisted&&or.afterLeave&&or.afterLeave()};if(Ue.shapeFlag&1&&or&&!or.persisted){const{leave:Er,delayLeave:Sr}=or,dr=()=>Er(Lt,gr);Sr?Sr(Ue.el,gr,dr):dr()}else gr()},Gt=(Ue,nt)=>{let Lt;for(;Ue!==nt;)Lt=Je(Ue),f(Ue),Ue=Lt;f(nt)},ar=(Ue,nt,Lt)=>{const{bum:kt,scope:or,update:gr,subTree:Er,um:Sr}=Ue;kt&&ap(kt),or.stop(),gr&&(gr.active=!1,On(Er,Ue,nt,Lt)),Sr&&$o(Sr,nt),$o(()=>{Ue.isUnmounted=!0},nt),nt&&nt.pendingBranch&&!nt.isUnmounted&&Ue.asyncDep&&!Ue.asyncResolved&&Ue.suspenseId===nt.pendingId&&(nt.deps--,nt.deps===0&&nt.resolve())},Pt=(Ue,nt,Lt,kt=!1,or=!1,gr=0)=>{for(let Er=gr;Er<Ue.length;Er++)On(Ue[Er],nt,Lt,kt,or)},Dr=Ue=>Ue.shapeFlag&6?Dr(Ue.component.subTree):Ue.shapeFlag&128?Ue.suspense.next():Je(Ue.anchor||Ue.el),rn=(Ue,nt,Lt)=>{Ue==null?nt._vnode&&On(nt._vnode,null,null,!0):nr(nt._vnode||null,Ue,nt,null,null,null,Lt),Sh(),nt._vnode=Ue},Hr={p:nr,um:On,m:ui,r:li,mt:de,mc:Dn,pc:tn,pbc:_r,n:Dr,o:r};let Or,Zr;return s&&([Or,Zr]=s(Hr)),{render:rn,hydrate:Or,createApp:g0(rn,Or)}}function dl({effect:r,update:s},a){r.allowRecurse=s.allowRecurse=a}function Vh(r,s,a=!1){const l=r.children,f=s.children;if(In(l)&&In(f))for(let F=0;F<l.length;F++){const V=l[F];let ae=f[F];ae.shapeFlag&1&&!ae.dynamicChildren&&((ae.patchFlag<=0||ae.patchFlag===32)&&(ae=f[F]=du(f[F]),ae.el=V.el),a||Vh(V,ae))}}function v0(r){const s=r.slice(),a=[0];let l,f,F,V,ae;const ue=r.length;for(l=0;l<ue;l++){const Ae=r[l];if(Ae!==0){if(f=a[a.length-1],r[f]<Ae){s[l]=f,a.push(l);continue}for(F=0,V=a.length-1;F<V;)ae=F+V>>1,r[a[ae]]<Ae?F=ae+1:V=ae;Ae<r[a[F]]&&(F>0&&(s[l]=a[F-1]),a[F]=l)}}for(F=a.length,V=a[F-1];F-- >0;)a[F]=V,V=s[V];return a}const D0=r=>r.__isTeleport,Uo=Symbol(void 0),Of=Symbol(void 0),vu=Symbol(void 0),qp=Symbol(void 0),Mc=[];let Bs=null;function Li(r=!1){Mc.push(Bs=r?null:[])}function b0(){Mc.pop(),Bs=Mc[Mc.length-1]||null}let Vc=1;function ld(r){Vc+=r}function qh(r){return r.dynamicChildren=Vc>0?Bs||Xl:null,b0(),Vc>0&&Bs&&Bs.push(r),r}function po(r,s,a,l,f,F){return qh(Nn(r,s,a,l,f,F,!0))}function Zl(r,s,a,l,f){return qh(yi(r,s,a,l,f,!0))}function vp(r){return r?r.__v_isVNode===!0:!1}function Fc(r,s){return r.type===s.type&&r.key===s.key}const Op="__vInternal",Jh=({key:r})=>r!=null?r:null,lp=({ref:r,ref_key:s,ref_for:a})=>r!=null?io(r)||Ui(r)||Kn(r)?{i:mo,r,k:s,f:!!a}:r:null;function Nn(r,s=null,a=null,l=0,f=null,F=r===Uo?0:1,V=!1,ae=!1){const ue={__v_isVNode:!0,__v_skip:!0,type:r,props:s,key:s&&Jh(s),ref:s&&lp(s),scopeId:Th,slotScopeIds:null,children:a,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:F,patchFlag:l,dynamicProps:f,dynamicChildren:null,appContext:null};return ae?(jf(ue,a),F&128&&r.normalize(ue)):a&&(ue.shapeFlag|=io(a)?8:16),Vc>0&&!V&&Bs&&(ue.patchFlag>0||F&6)&&ue.patchFlag!==32&&Bs.push(ue),ue}const yi=x0;function x0(r,s=null,a=null,l=0,f=null,F=!1){if((!r||r===t0)&&(r=vu),vp(r)){const ae=ec(r,s,!0);return a&&jf(ae,a),Vc>0&&!F&&Bs&&(ae.shapeFlag&6?Bs[Bs.indexOf(r)]=ae:Bs.push(ae)),ae.patchFlag|=-2,ae}if(B0(r)&&(r=r.__vccOpts),s){s=C0(s);let{class:ae,style:ue}=s;ae&&!io(ae)&&(s.class=Yl(ae)),Vi(ue)&&(mh(ue)&&!In(ue)&&(ue=_o({},ue)),s.style=Xc(ue))}const V=io(r)?1:zm(r)?128:D0(r)?64:Vi(r)?4:Kn(r)?2:0;return Nn(r,s,a,l,f,V,F,!0)}function C0(r){return r?mh(r)||Op in r?_o({},r):r:null}function ec(r,s,a=!1){const{props:l,ref:f,patchFlag:F,children:V}=r,ae=s?E0(l||{},s):l;return{__v_isVNode:!0,__v_skip:!0,type:r.type,props:ae,key:ae&&Jh(ae),ref:s&&s.ref?a&&f?In(f)?f.concat(lp(s)):[f,lp(s)]:lp(s):f,scopeId:r.scopeId,slotScopeIds:r.slotScopeIds,children:V,target:r.target,targetAnchor:r.targetAnchor,staticCount:r.staticCount,shapeFlag:r.shapeFlag,patchFlag:s&&r.type!==Uo?F===-1?16:F|16:F,dynamicProps:r.dynamicProps,dynamicChildren:r.dynamicChildren,appContext:r.appContext,dirs:r.dirs,transition:r.transition,component:r.component,suspense:r.suspense,ssContent:r.ssContent&&ec(r.ssContent),ssFallback:r.ssFallback&&ec(r.ssFallback),el:r.el,anchor:r.anchor}}function _s(r=" ",s=0){return yi(Of,null,r,s)}function Dp(r="",s=!1){return s?(Li(),Zl(vu,null,r)):yi(vu,null,r)}function Ys(r){return r==null||typeof r=="boolean"?yi(vu):In(r)?yi(Uo,null,r.slice()):typeof r=="object"?du(r):yi(Of,null,String(r))}function du(r){return r.el===null||r.memo?r:ec(r)}function jf(r,s){let a=0;const{shapeFlag:l}=r;if(s==null)s=null;else if(In(s))a=16;else if(typeof s=="object")if(l&65){const f=s.default;f&&(f._c&&(f._d=!1),jf(r,f()),f._c&&(f._d=!0));return}else{a=32;const f=s._;!f&&!(Op in s)?s._ctx=mo:f===3&&mo&&(mo.slots._===1?s._=1:(s._=2,r.patchFlag|=1024))}else Kn(s)?(s={default:s,_ctx:mo},a=32):(s=String(s),l&64?(a=16,s=[_s(s)]):a=8);r.children=s,r.shapeFlag|=a}function E0(...r){const s={};for(let a=0;a<r.length;a++){const l=r[a];for(const f in l)if(f==="class")s.class!==l.class&&(s.class=Yl([s.class,l.class]));else if(f==="style")s.style=Xc([s.style,l.style]);else if(wp(f)){const F=s[f],V=l[f];V&&F!==V&&!(In(F)&&F.includes(V))&&(s[f]=F?[].concat(F,V):V)}else f!==""&&(s[f]=l[f])}return s}function Qs(r,s,a,l=null){Os(r,s,7,[a,l])}const w0=Uh();let A0=0;function S0(r,s,a){const l=r.type,f=(s?s.appContext:r.appContext)||w0,F={uid:A0++,vnode:r,type:l,parent:s,appContext:f,root:null,next:null,subTree:null,effect:null,update:null,scope:new Jg(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:s?s.provides:Object.create(f.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:zh(l,f),emitsOptions:kh(l,f),emit:null,emitted:null,propsDefaults:bi,inheritAttrs:l.inheritAttrs,ctx:bi,data:bi,props:bi,attrs:bi,slots:bi,refs:bi,setupState:bi,setupContext:null,suspense:a,suspenseId:a?a.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return F.ctx={_:F},F.root=s?s.root:F,F.emit=jm.bind(null,F),r.ce&&r.ce(F),F}let ro=null;const Mf=()=>ro||mo,tc=r=>{ro=r,r.scope.on()},vl=()=>{ro&&ro.scope.off(),ro=null};function Gh(r){return r.vnode.shapeFlag&4}let qc=!1;function F0(r,s=!1){qc=s;const{props:a,children:l}=r.vnode,f=Gh(r);l0(r,a,f,s),f0(r,l);const F=f?k0(r,s):void 0;return qc=!1,F}function k0(r,s){const a=r.type;r.accessCache=Object.create(null),r.proxy=yh(new Proxy(r.ctx,n0));const{setup:l}=a;if(l){const f=r.setupContext=l.length>1?_0(r):null;tc(r),oc();const F=mu(l,r,0,[r.props,f]);if(sc(),vl(),rh(F)){if(F.then(vl,vl),s)return F.then(V=>{cd(r,V,s)}).catch(V=>{Tp(V,r,0)});r.asyncDep=F}else cd(r,F,s)}else Xh(r,s)}function cd(r,s,a){Kn(s)?r.type.__ssrInlineRender?r.ssrRender=s:r.render=s:Vi(s)&&(r.setupState=xh(s)),Xh(r,a)}let pd;function Xh(r,s,a){const l=r.type;if(!r.render){if(!s&&pd&&!l.render){const f=l.template;if(f){const{isCustomElement:F,compilerOptions:V}=r.appContext.config,{delimiters:ae,compilerOptions:ue}=l,Ae=_o(_o({isCustomElement:F,delimiters:ae},V),ue);l.render=pd(f,Ae)}}r.render=l.render||Ps}tc(r),oc(),i0(r),sc(),vl()}function T0(r){return new Proxy(r.attrs,{get(s,a){return Yo(r,"get","$attrs"),s[a]}})}function _0(r){const s=l=>{r.exposed=l||{}};let a;return{get attrs(){return a||(a=T0(r))},slots:r.slots,emit:r.emit,expose:s}}function jp(r){if(r.exposed)return r.exposeProxy||(r.exposeProxy=new Proxy(xh(yh(r.exposed)),{get(s,a){if(a in s)return s[a];if(a in mp)return mp[a](r)}}))}function N0(r,s=!0){return Kn(r)?r.displayName||r.name:r.name||s&&r.__name}function B0(r){return Kn(r)&&"__vccOpts"in r}const _i=(r,s)=>Tm(r,s,qc);function Lf(r,s,a){const l=arguments.length;return l===2?Vi(s)&&!In(s)?vp(s)?yi(r,null,[s]):yi(r,s):yi(r,null,s):(l>3?a=Array.prototype.slice.call(arguments,2):l===3&&vp(a)&&(a=[a]),yi(r,s,a))}const P0="3.2.37",O0="http://www.w3.org/2000/svg",gl=typeof document!="undefined"?document:null,fd=gl&&gl.createElement("template"),j0={insert:(r,s,a)=>{s.insertBefore(r,a||null)},remove:r=>{const s=r.parentNode;s&&s.removeChild(r)},createElement:(r,s,a,l)=>{const f=s?gl.createElementNS(O0,r):gl.createElement(r,a?{is:a}:void 0);return r==="select"&&l&&l.multiple!=null&&f.setAttribute("multiple",l.multiple),f},createText:r=>gl.createTextNode(r),createComment:r=>gl.createComment(r),setText:(r,s)=>{r.nodeValue=s},setElementText:(r,s)=>{r.textContent=s},parentNode:r=>r.parentNode,nextSibling:r=>r.nextSibling,querySelector:r=>gl.querySelector(r),setScopeId(r,s){r.setAttribute(s,"")},cloneNode(r){const s=r.cloneNode(!0);return"_value"in r&&(s._value=r._value),s},insertStaticContent(r,s,a,l,f,F){const V=a?a.previousSibling:s.lastChild;if(f&&(f===F||f.nextSibling))for(;s.insertBefore(f.cloneNode(!0),a),!(f===F||!(f=f.nextSibling)););else{fd.innerHTML=l?`<svg>${r}</svg>`:r;const ae=fd.content;if(l){const ue=ae.firstChild;for(;ue.firstChild;)ae.appendChild(ue.firstChild);ae.removeChild(ue)}s.insertBefore(ae,a)}return[V?V.nextSibling:s.firstChild,a?a.previousSibling:s.lastChild]}};function M0(r,s,a){const l=r._vtc;l&&(s=(s?[s,...l]:[...l]).join(" ")),s==null?r.removeAttribute("class"):a?r.setAttribute("class",s):r.className=s}function L0(r,s,a){const l=r.style,f=io(a);if(a&&!f){for(const F in a)pf(l,F,a[F]);if(s&&!io(s))for(const F in s)a[F]==null&&pf(l,F,"")}else{const F=l.display;f?s!==a&&(l.cssText=a):s&&r.removeAttribute("style"),"_vod"in r&&(l.display=F)}}const dd=/\s*!important$/;function pf(r,s,a){if(In(a))a.forEach(l=>pf(r,s,l));else if(a==null&&(a=""),s.startsWith("--"))r.setProperty(s,a);else{const l=I0(r,s);dd.test(a)?r.setProperty(ic(l),a.replace(dd,""),"important"):r[l]=a}}const hd=["Webkit","Moz","ms"],Jp={};function I0(r,s){const a=Jp[s];if(a)return a;let l=Zs(s);if(l!=="filter"&&l in r)return Jp[s]=l;l=Fp(l);for(let f=0;f<hd.length;f++){const F=hd[f]+l;if(F in r)return Jp[s]=F}return s}const gd="http://www.w3.org/1999/xlink";function R0(r,s,a,l,f){if(l&&s.startsWith("xlink:"))a==null?r.removeAttributeNS(gd,s.slice(6,s.length)):r.setAttributeNS(gd,s,a);else{const F=Og(s);a==null||F&&!Zd(a)?r.removeAttribute(s):r.setAttribute(s,F?"":a)}}function z0(r,s,a,l,f,F,V){if(s==="innerHTML"||s==="textContent"){l&&V(l,f,F),r[s]=a==null?"":a;return}if(s==="value"&&r.tagName!=="PROGRESS"&&!r.tagName.includes("-")){r._value=a;const ue=a==null?"":a;(r.value!==ue||r.tagName==="OPTION")&&(r.value=ue),a==null&&r.removeAttribute(s);return}let ae=!1;if(a===""||a==null){const ue=typeof r[s];ue==="boolean"?a=Zd(a):a==null&&ue==="string"?(a="",ae=!0):ue==="number"&&(a=0,ae=!0)}try{r[s]=a}catch{}ae&&r.removeAttribute(s)}const[Kh,H0]=(()=>{let r=Date.now,s=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(r=performance.now.bind(performance));const a=navigator.userAgent.match(/firefox\/(\d+)/i);s=!!(a&&Number(a[1])<=53)}return[r,s]})();let ff=0;const W0=Promise.resolve(),$0=()=>{ff=0},U0=()=>ff||(W0.then($0),ff=Kh());function Qh(r,s,a,l){r.addEventListener(s,a,l)}function V0(r,s,a,l){r.removeEventListener(s,a,l)}function q0(r,s,a,l,f=null){const F=r._vei||(r._vei={}),V=F[s];if(l&&V)V.value=l;else{const[ae,ue]=J0(s);if(l){const Ae=F[s]=G0(l,f);Qh(r,ae,Ae,ue)}else V&&(V0(r,ae,V,ue),F[s]=void 0)}}const md=/(?:Once|Passive|Capture)$/;function J0(r){let s;if(md.test(r)){s={};let a;for(;a=r.match(md);)r=r.slice(0,r.length-a[0].length),s[a[0].toLowerCase()]=!0}return[ic(r.slice(2)),s]}function G0(r,s){const a=l=>{const f=l.timeStamp||Kh();(H0||f>=a.attached-1)&&Os(X0(l,a.value),s,5,[l])};return a.value=r,a.attached=U0(),a}function X0(r,s){if(In(s)){const a=r.stopImmediatePropagation;return r.stopImmediatePropagation=()=>{a.call(r),r._stopped=!0},s.map(l=>f=>!f._stopped&&l&&l(f))}else return s}const yd=/^on[a-z]/,K0=(r,s,a,l,f=!1,F,V,ae,ue)=>{s==="class"?M0(r,l,f):s==="style"?L0(r,a,l):wp(s)?bf(s)||q0(r,s,a,l,V):(s[0]==="."?(s=s.slice(1),!0):s[0]==="^"?(s=s.slice(1),!1):Q0(r,s,l,f))?z0(r,s,l,F,V,ae,ue):(s==="true-value"?r._trueValue=l:s==="false-value"&&(r._falseValue=l),R0(r,s,l,f))};function Q0(r,s,a,l){return l?!!(s==="innerHTML"||s==="textContent"||s in r&&yd.test(s)&&Kn(a)):s==="spellcheck"||s==="draggable"||s==="translate"||s==="form"||s==="list"&&r.tagName==="INPUT"||s==="type"&&r.tagName==="TEXTAREA"||yd.test(s)&&io(a)?!1:s in r}const vd=r=>{const s=r.props["onUpdate:modelValue"]||!1;return In(s)?a=>ap(s,a):s},Y0={deep:!0,created(r,s,a){r._assign=vd(a),Qh(r,"change",()=>{const l=r._modelValue,f=Z0(r),F=r.checked,V=r._assign;if(In(l)){const ae=eh(l,f),ue=ae!==-1;if(F&&!ue)V(l.concat(f));else if(!F&&ue){const Ae=[...l];Ae.splice(ae,1),V(Ae)}}else if(Ap(l)){const ae=new Set(l);F?ae.add(f):ae.delete(f),V(ae)}else V(Yh(r,F))})},mounted:Dd,beforeUpdate(r,s,a){r._assign=vd(a),Dd(r,s,a)}};function Dd(r,{value:s,oldValue:a},l){r._modelValue=s,In(s)?r.checked=eh(s,l.props.value)>-1:Ap(s)?r.checked=s.has(l.props.value):s!==a&&(r.checked=Ep(s,Yh(r,!0)))}function Z0(r){return"_value"in r?r._value:r.value}function Yh(r,s){const a=s?"_trueValue":"_falseValue";return a in r?r[a]:s}const ey=_o({patchProp:K0},j0);let bd;function ty(){return bd||(bd=m0(ey))}const ry=(...r)=>{const s=ty().createApp(...r),{mount:a}=s;return s.mount=l=>{const f=ny(l);if(!f)return;const F=s._component;!Kn(F)&&!F.render&&!F.template&&(F.template=f.innerHTML),f.innerHTML="";const V=a(f,!1,f instanceof SVGElement);return f instanceof Element&&(f.removeAttribute("v-cloak"),f.setAttribute("data-v-app","")),V},s};function ny(r){return io(r)?document.querySelector(r):r}function Lc(){const r=[],s=f=>{const F=r.indexOf(f);F!==-1&&r.splice(F,1)};return{on:f=>(r.push(f),{off:()=>s(f)}),off:s,trigger:f=>{r.forEach(F=>F(f))}}}function Mp(r){return Xg()?(Kg(r),!0):!1}var xd;const uc=typeof window!="undefined",iy=r=>typeof r!="undefined",oy=r=>typeof r=="string",cp=()=>{};uc&&((xd=window==null?void 0:window.navigator)==null?void 0:xd.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Zh(r,s){function a(...l){r(()=>s.apply(this,l),{fn:s,thisArg:this,args:l})}return a}const eg=r=>r();function sy(r,s={}){let a,l;return F=>{const V=vn(r),ae=vn(s.maxWait);if(a&&clearTimeout(a),V<=0||ae!==void 0&&ae<=0)return l&&(clearTimeout(l),l=null),F();ae&&!l&&(l=setTimeout(()=>{a&&clearTimeout(a),l=null,F()},ae)),a=setTimeout(()=>{l&&clearTimeout(l),l=null,F()},V)}}function ay(r=eg){const s=Qi(!0);function a(){s.value=!1}function l(){s.value=!0}return{isActive:s,pause:a,resume:l,eventFilter:(...F)=>{s.value&&r(...F)}}}function Cd(r,s=!1,a="Timeout"){return new Promise((l,f)=>{setTimeout(s?()=>f(a):l,r)})}function uy(r,...s){return s.some(a=>a in r)}function ly(r,s=200,a={}){return Zh(sy(s,a),r)}function cy(r,s=200,a={}){if(s<=0)return r;const l=Qi(r.value),f=ly(()=>{l.value=r.value},s,a);return no(r,()=>f()),l}function py(r,s=!0){Mf()?Ph(r):s?r():_p(r)}function fy(r,s=!0){Mf()?Bf(r):s?r():_p(r)}function dy(r){let s=!1;function a(ze,{flush:Je="sync",deep:rt=!1,timeout:bt,throwOnTimeout:Qt}={}){let nr=null;const pt=[new Promise(dt=>{nr=no(r,Wt=>{ze(Wt)!==s&&(nr==null||nr(),dt(Wt))},{flush:Je,deep:rt,immediate:!0})})];return bt!=null&&pt.push(Cd(bt,Qt).then(()=>vn(r)).finally(()=>nr==null?void 0:nr())),Promise.race(pt)}function l(ze,Je){if(!Ui(ze))return a(Wt=>Wt===ze,Je);const{flush:rt="sync",deep:bt=!1,timeout:Qt,throwOnTimeout:nr}=Je!=null?Je:{};let et=null;const dt=[new Promise(Wt=>{et=no([r,ze],([pr,kr])=>{s!==(pr===kr)&&(et==null||et(),Wt(pr))},{flush:rt,deep:bt,immediate:!0})})];return Qt!=null&&dt.push(Cd(Qt,nr).then(()=>vn(r)).finally(()=>(et==null||et(),vn(r)))),Promise.race(dt)}function f(ze){return a(Je=>Boolean(Je),ze)}function F(ze){return l(null,ze)}function V(ze){return l(void 0,ze)}function ae(ze){return a(Number.isNaN,ze)}function ue(ze,Je){return a(rt=>{const bt=Array.from(rt);return bt.includes(ze)||bt.includes(vn(ze))},Je)}function Ae(ze){return Be(1,ze)}function Be(ze=1,Je){let rt=-1;return a(()=>(rt+=1,rt>=ze),Je)}return Array.isArray(vn(r))?{toMatch:a,toContains:ue,changed:Ae,changedTimes:Be,get not(){return s=!s,this}}:{toMatch:a,toBe:l,toBeTruthy:f,toBeNull:F,toBeNaN:ae,toBeUndefined:V,changed:Ae,changedTimes:Be,get not(){return s=!s,this}}}function hy(r,s,a={}){const{immediate:l=!0}=a,f=Qi(!1);let F=null;function V(){F&&(clearTimeout(F),F=null)}function ae(){f.value=!1,V()}function ue(...Ae){V(),f.value=!0,F=setTimeout(()=>{f.value=!1,F=null,r(...Ae)},vn(s))}return l&&(f.value=!0,uc&&ue()),Mp(ae),{isPending:f,start:ue,stop:ae}}function gy(r=!1,s={}){const{truthyValue:a=!0,falsyValue:l=!1}=s,f=Ui(r),F=Qi(r);function V(ae){return arguments.length?(F.value=ae,F.value):(F.value=F.value===vn(a)?vn(l):vn(a),F.value)}return f?V:[F,V]}var Ed=Object.getOwnPropertySymbols,my=Object.prototype.hasOwnProperty,yy=Object.prototype.propertyIsEnumerable,vy=(r,s)=>{var a={};for(var l in r)my.call(r,l)&&s.indexOf(l)<0&&(a[l]=r[l]);if(r!=null&&Ed)for(var l of Ed(r))s.indexOf(l)<0&&yy.call(r,l)&&(a[l]=r[l]);return a};function Dy(r,s,a={}){const l=a,{eventFilter:f=eg}=l,F=vy(l,["eventFilter"]);return no(r,Zh(f,s),F)}var by=Object.defineProperty,xy=Object.defineProperties,Cy=Object.getOwnPropertyDescriptors,bp=Object.getOwnPropertySymbols,tg=Object.prototype.hasOwnProperty,rg=Object.prototype.propertyIsEnumerable,wd=(r,s,a)=>s in r?by(r,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[s]=a,Ey=(r,s)=>{for(var a in s||(s={}))tg.call(s,a)&&wd(r,a,s[a]);if(bp)for(var a of bp(s))rg.call(s,a)&&wd(r,a,s[a]);return r},wy=(r,s)=>xy(r,Cy(s)),Ay=(r,s)=>{var a={};for(var l in r)tg.call(r,l)&&s.indexOf(l)<0&&(a[l]=r[l]);if(r!=null&&bp)for(var l of bp(r))s.indexOf(l)<0&&rg.call(r,l)&&(a[l]=r[l]);return a};function Sy(r,s,a={}){const l=a,{eventFilter:f}=l,F=Ay(l,["eventFilter"]),{eventFilter:V,pause:ae,resume:ue,isActive:Ae}=ay(f);return{stop:Dy(r,s,wy(Ey({},F),{eventFilter:V})),pause:ae,resume:ue,isActive:Ae}}function Ub(r,s,a){let l;Ui(a)?l={evaluating:a}:l=a||{};const{lazy:f=!1,evaluating:F=void 0,onError:V=cp}=l,ae=Qi(!f),ue=Qi(s);let Ae=0;return Wm(async Be=>{if(!ae.value)return;Ae++;const ze=Ae;let Je=!1;F&&Promise.resolve().then(()=>{F.value=!0});try{const rt=await r(bt=>{Be(()=>{F&&(F.value=!1),Je||bt()})});ze===Ae&&(ue.value=rt)}catch(rt){V(rt)}finally{F&&ze===Ae&&(F.value=!1),Je=!0}}),f?_i(()=>(ae.value=!0,ue.value)):ue}function If(r){var s;const a=vn(r);return(s=a==null?void 0:a.$el)!=null?s:a}const Fa=uc?window:void 0;uc&&window.document;uc&&window.navigator;uc&&window.location;function Fy(...r){let s,a,l,f;if(oy(r[0])?([a,l,f]=r,s=Fa):[s,a,l,f]=r,!s)return cp;let F=cp;const V=no(()=>If(s),ue=>{F(),ue&&(ue.addEventListener(a,l,f),F=()=>{ue.removeEventListener(a,l,f),F=cp})},{immediate:!0,flush:"post"}),ae=()=>{V(),F()};return Mp(ae),ae}function ky(r,s={}){const{window:a=Fa}=s,l=Boolean(a&&"matchMedia"in a);let f;const F=Qi(!1),V=()=>{!l||(f||(f=a.matchMedia(r)),F.value=f.matches)};return py(()=>{V(),f&&("addEventListener"in f?f.addEventListener("change",V):f.addListener(V),Mp(()=>{"removeEventListener"in f?f.removeEventListener("change",V):f.removeListener(V)}))}),F}const df=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},hf="__vueuse_ssr_handlers__";df[hf]=df[hf]||{};const Ty=df[hf];function ng(r,s){return Ty[r]||s}function _y(r){return r==null?"any":r instanceof Set?"set":r instanceof Map?"map":r instanceof Date?"date":typeof r=="boolean"?"boolean":typeof r=="string"?"string":typeof r=="object"||Array.isArray(r)?"object":Number.isNaN(r)?"any":"number"}const Ny={boolean:{read:r=>r==="true",write:r=>String(r)},object:{read:r=>JSON.parse(r),write:r=>JSON.stringify(r)},number:{read:r=>Number.parseFloat(r),write:r=>String(r)},any:{read:r=>r,write:r=>String(r)},string:{read:r=>r,write:r=>String(r)},map:{read:r=>new Map(JSON.parse(r)),write:r=>JSON.stringify(Array.from(r.entries()))},set:{read:r=>new Set(JSON.parse(r)),write:r=>JSON.stringify(Array.from(r))},date:{read:r=>new Date(r),write:r=>r.toISOString()}};function ig(r,s,a,l={}){var f;const{flush:F="pre",deep:V=!0,listenToStorageChanges:ae=!0,writeDefaults:ue=!0,shallow:Ae,window:Be=Fa,eventFilter:ze,onError:Je=kr=>{console.error(kr)}}=l,rt=(Ae?Bc:Qi)(s);if(!a)try{a=ng("getDefaultStorage",()=>{var kr;return(kr=Fa)==null?void 0:kr.localStorage})()}catch(kr){Je(kr)}if(!a)return rt;const bt=vn(s),Qt=_y(bt),nr=(f=l.serializer)!=null?f:Ny[Qt],{pause:et,resume:pt}=Sy(rt,()=>dt(rt.value),{flush:F,deep:V,eventFilter:ze});return Be&&ae&&Fy(Be,"storage",pr),pr(),rt;function dt(kr){try{kr==null?a.removeItem(r):a.setItem(r,nr.write(kr))}catch(Rr){Je(Rr)}}function Wt(kr){if(!(kr&&kr.key!==r)){et();try{const Rr=kr?kr.newValue:a.getItem(r);return Rr==null?(ue&&bt!==null&&a.setItem(r,nr.write(bt)),bt):typeof Rr!="string"?Rr:nr.read(Rr)}catch(Rr){Je(Rr)}finally{pt()}}}function pr(kr){kr&&kr.key!==r||(rt.value=Wt(kr))}}function og(r){return ky("(prefers-color-scheme: dark)",r)}var By=Object.defineProperty,Ad=Object.getOwnPropertySymbols,Py=Object.prototype.hasOwnProperty,Oy=Object.prototype.propertyIsEnumerable,Sd=(r,s,a)=>s in r?By(r,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[s]=a,jy=(r,s)=>{for(var a in s||(s={}))Py.call(s,a)&&Sd(r,a,s[a]);if(Ad)for(var a of Ad(s))Oy.call(s,a)&&Sd(r,a,s[a]);return r};function My(r={}){const{selector:s="html",attribute:a="class",window:l=Fa,storage:f,storageKey:F="vueuse-color-scheme",listenToStorageChanges:V=!0,storageRef:ae}=r,ue=jy({auto:"",light:"light",dark:"dark"},r.modes||{}),Ae=og({window:l}),Be=_i(()=>Ae.value?"dark":"light"),ze=ae||(F==null?Qi("auto"):ig(F,"auto",f,{window:l,listenToStorageChanges:V})),Je=_i({get(){return ze.value==="auto"?Be.value:ze.value},set(nr){ze.value=nr}}),rt=ng("updateHTMLAttrs",(nr,et,pt)=>{const dt=l==null?void 0:l.document.querySelector(nr);if(!!dt)if(et==="class"){const Wt=pt.split(/\s/g);Object.values(ue).flatMap(pr=>(pr||"").split(/\s/g)).filter(Boolean).forEach(pr=>{Wt.includes(pr)?dt.classList.add(pr):dt.classList.remove(pr)})}else dt.setAttribute(et,pt)});function bt(nr){var et;rt(s,a,(et=ue[nr])!=null?et:nr)}function Qt(nr){r.onChanged?r.onChanged(nr,bt):bt(nr)}return no(Je,Qt,{flush:"post",immediate:!0}),fy(()=>Qt(Je.value)),Je}var Ly=Object.defineProperty,Iy=Object.defineProperties,Ry=Object.getOwnPropertyDescriptors,Fd=Object.getOwnPropertySymbols,zy=Object.prototype.hasOwnProperty,Hy=Object.prototype.propertyIsEnumerable,kd=(r,s,a)=>s in r?Ly(r,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[s]=a,Wy=(r,s)=>{for(var a in s||(s={}))zy.call(s,a)&&kd(r,a,s[a]);if(Fd)for(var a of Fd(s))Hy.call(s,a)&&kd(r,a,s[a]);return r},$y=(r,s)=>Iy(r,Ry(s));function Uy(r={}){const{valueDark:s="dark",valueLight:a="",window:l=Fa}=r,f=My($y(Wy({},r),{onChanged:(ae,ue)=>{var Ae;r.onChanged?(Ae=r.onChanged)==null||Ae.call(r,ae==="dark"):ue(ae)},modes:{dark:s,light:a}})),F=og({window:l});return _i({get(){return f.value==="dark"},set(ae){ae===F.value?f.value="auto":f.value=ae?"dark":"light"}})}var Td=Object.getOwnPropertySymbols,Vy=Object.prototype.hasOwnProperty,qy=Object.prototype.propertyIsEnumerable,Jy=(r,s)=>{var a={};for(var l in r)Vy.call(r,l)&&s.indexOf(l)<0&&(a[l]=r[l]);if(r!=null&&Td)for(var l of Td(r))s.indexOf(l)<0&&qy.call(r,l)&&(a[l]=r[l]);return a};function Gy(r,s,a={}){const l=a,{window:f=Fa}=l,F=Jy(l,["window"]);let V;const ae=f&&"ResizeObserver"in f,ue=()=>{V&&(V.disconnect(),V=void 0)},Ae=no(()=>If(r),ze=>{ue(),ae&&f&&ze&&(V=new ResizeObserver(s),V.observe(ze,F))},{immediate:!0,flush:"post"}),Be=()=>{ue(),Ae()};return Mp(Be),{isSupported:ae,stop:Be}}var Xy=Object.defineProperty,Ky=Object.defineProperties,Qy=Object.getOwnPropertyDescriptors,_d=Object.getOwnPropertySymbols,Yy=Object.prototype.hasOwnProperty,Zy=Object.prototype.propertyIsEnumerable,Nd=(r,s,a)=>s in r?Xy(r,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[s]=a,Wo=(r,s)=>{for(var a in s||(s={}))Yy.call(s,a)&&Nd(r,a,s[a]);if(_d)for(var a of _d(s))Zy.call(s,a)&&Nd(r,a,s[a]);return r},kc=(r,s)=>Ky(r,Qy(s));const ev={json:"application/json",text:"text/plain",formData:"multipart/form-data"};function Bd(r){return uy(r,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Gp(r){return typeof Headers!="undefined"&&r instanceof Headers?Object.fromEntries([...r.entries()]):r}function Lp(r,...s){var a;const l=typeof AbortController=="function";let f={},F={immediate:!0,refetch:!1,timeout:0};const V={method:"GET",type:"text",payload:void 0};s.length>0&&(Bd(s[0])?F=Wo(Wo({},F),s[0]):f=s[0]),s.length>1&&Bd(s[1])&&(F=Wo(Wo({},F),s[1]));const{fetch:ae=(a=Fa)==null?void 0:a.fetch,initialData:ue,timeout:Ae}=F,Be=Lc(),ze=Lc(),Je=Lc(),rt=Qi(!1),bt=Qi(!1),Qt=Qi(!1),nr=Qi(null),et=Bc(null),pt=Bc(null),dt=Bc(ue),Wt=_i(()=>l&&bt.value);let pr,kr;const Rr=()=>{l&&pr&&pr.abort()},Sn=Cr=>{bt.value=Cr,rt.value=!Cr};Ae&&(kr=hy(Rr,Ae,{immediate:!1}));const Dn=async(Cr=!1)=>{var de;Sn(!0),pt.value=null,nr.value=null,Qt.value=!1,pr=void 0,l&&(pr=new AbortController,pr.signal.onabort=()=>Qt.value=!0,f=kc(Wo({},f),{signal:pr.signal}));const lr={method:V.method,headers:{}};if(V.payload){const Vn=Gp(lr.headers);V.payloadType&&(Vn["Content-Type"]=(de=ev[V.payloadType])!=null?de:V.payloadType),lr.body=V.payloadType==="json"?JSON.stringify(vn(V.payload)):vn(V.payload)}let Ut=!1;const Ar={url:vn(r),options:Wo(Wo({},lr),f),cancel:()=>{Ut=!0}};if(F.beforeFetch&&Object.assign(Ar,await F.beforeFetch(Ar)),Ut||!ae)return Sn(!1),Promise.resolve(null);let tn=null;return kr&&kr.start(),new Promise((Vn,ai)=>{var ui;ae(Ar.url,kc(Wo(Wo({},lr),Ar.options),{headers:Wo(Wo({},Gp(lr.headers)),Gp((ui=Ar.options)==null?void 0:ui.headers))})).then(async On=>{if(et.value=On,nr.value=On.status,tn=await On[V.type](),F.afterFetch&&nr.value>=200&&nr.value<300&&({data:tn}=await F.afterFetch({data:tn,response:On})),dt.value=tn,!On.ok)throw new Error(On.statusText);return Be.trigger(On),Vn(On)}).catch(async On=>{let li=On.message||On.name;return F.onFetchError&&({data:tn,error:li}=await F.onFetchError({data:tn,error:On,response:et.value})),dt.value=tn,pt.value=li,ze.trigger(On),Cr?ai(On):Vn(null)}).finally(()=>{Sn(!1),kr&&kr.stop(),Je.trigger(null)})})};no(()=>[vn(r),vn(F.refetch)],()=>vn(F.refetch)&&Dn(),{deep:!0});const Lr={isFinished:rt,statusCode:nr,response:et,error:pt,data:dt,isFetching:bt,canAbort:Wt,aborted:Qt,abort:Rr,execute:Dn,onFetchResponse:Be.on,onFetchError:ze.on,onFetchFinally:Je.on,get:_r("GET"),put:_r("PUT"),post:_r("POST"),delete:_r("DELETE"),patch:_r("PATCH"),head:_r("HEAD"),options:_r("OPTIONS"),json:zt("json"),text:zt("text"),blob:zt("blob"),arrayBuffer:zt("arrayBuffer"),formData:zt("formData")};function _r(Cr){return(de,lr)=>{if(!bt.value)return V.method=Cr,V.payload=de,V.payloadType=lr,Ui(V.payload)&&no(()=>[vn(V.payload),vn(F.refetch)],()=>vn(F.refetch)&&Dn(),{deep:!0}),!lr&&vn(de)&&Object.getPrototypeOf(vn(de))===Object.prototype&&(V.payloadType="json"),kc(Wo({},Lr),{then(Ut,Ar){return gn().then(Ut,Ar)}})}}function gn(){return new Promise((Cr,de)=>{dy(rt).toBe(!0).then(()=>Cr(Lr)).catch(lr=>de(lr))})}function zt(Cr){return()=>{if(!bt.value)return V.type=Cr,kc(Wo({},Lr),{then(de,lr){return gn().then(de,lr)}})}}return F.immediate&&setTimeout(Dn,0),kc(Wo({},Lr),{then(Cr,de){return gn().then(Cr,de)}})}function Vb(r,s,a={}){const{window:l=Fa}=a;return ig(r,s,l==null?void 0:l.localStorage,a)}var Pd;(function(r){r.UP="UP",r.RIGHT="RIGHT",r.DOWN="DOWN",r.LEFT="LEFT",r.NONE="NONE"})(Pd||(Pd={}));function tv(r,s,a,l={}){var f;const{passive:F=!1,eventName:V,deep:ae=!1,defaultValue:ue}=l,Ae=Mf(),Be=a||(Ae==null?void 0:Ae.emit)||((f=Ae==null?void 0:Ae.$emit)==null?void 0:f.bind(Ae));let ze=V;s||(s="modelValue"),ze=V||ze||`update:${s.toString()}`;const Je=()=>iy(r[s])?r[s]:ue;if(F){const rt=Qi(Je());return no(()=>r[s],bt=>rt.value=bt),no(rt,bt=>{(bt!==r[s]||ae)&&Be(ze,bt)},{deep:ae}),rt}else return _i({get(){return Je()},set(rt){Be(ze,rt)}})}function rv(r){const s=r.length;let a=-1,l,f="";const F=r.charCodeAt(0);for(;++a<s;){if(l=r.charCodeAt(a),l===0){f+="\uFFFD";continue}if(l===44){f+="\\,";continue}if(l>=1&&l<=31||l===127||a===0&&l>=48&&l<=57||a===1&&l>=48&&l<=57&&F===45){f+=`\\${l.toString(16)} `;continue}if(a===0&&s===1&&l===45){f+=`\\${r.charAt(a)}`;continue}if(l>=128||l===45||l===95||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122){f+=r.charAt(a);continue}f+=`\\${r.charAt(a)}`}return f}const Od=rv,nv=/^\[(.+?)~?="(.*)"\]$/,iv=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/;function ov(r){return r.match(nv)}function qb(r=""){return iv.test(r)}function sv(r,s){const a=[],l=[],f=new Set;Array.from(s).forEach(V=>{const ae=ov(V);ae?ae[2]?l.push(ae):f.add(ae[1]):f.add(V)});let F=0;return r.split(/[\s"'`;<>]/g).forEach(V=>{const ae=F+V.length;f.has(V)&&a.push([F,ae,V]),F=ae+1}),l.forEach(([,V,ae])=>{const ue=new RegExp(`(${Od(V)}=)(['"])[^\\2]*?${Od(ae)}[^\\2]*?\\2`,"g");Array.from(r.matchAll(ue)).forEach(Ae=>{const Be=Ae[1],Je=Ae[0].slice(Be.length).indexOf(ae);if(Je<0)return;const rt=Ae.index+Be.length+Je,bt=rt+ae.length;a.push([rt,bt,`[${V}="${ae}"]`])})}),a}var Jc=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function sg(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Ta={exports:{}};(function(r,s){(function(a,l){r.exports=l()})(Jc,function(){var a=navigator.userAgent,l=navigator.platform,f=/gecko\/\d/i.test(a),F=/MSIE \d/.test(a),V=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(a),ae=/Edge\/(\d+)/.exec(a),ue=F||V||ae,Ae=ue&&(F?document.documentMode||6:+(ae||V)[1]),Be=!ae&&/WebKit\//.test(a),ze=Be&&/Qt\/\d+\.\d+/.test(a),Je=!ae&&/Chrome\/(\d+)/.exec(a),rt=Je&&+Je[1],bt=/Opera\//.test(a),Qt=/Apple Computer/.test(navigator.vendor),nr=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(a),et=/PhantomJS/.test(a),pt=Qt&&(/Mobile\/\w+/.test(a)||navigator.maxTouchPoints>2),dt=/Android/.test(a),Wt=pt||dt||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(a),pr=pt||/Mac/.test(l),kr=/\bCrOS\b/.test(a),Rr=/win/i.test(l),Sn=bt&&a.match(/Version\/(\d*\.\d*)/);Sn&&(Sn=Number(Sn[1])),Sn&&Sn>=15&&(bt=!1,Be=!0);var Dn=pr&&(ze||bt&&(Sn==null||Sn<12.11)),Lr=f||ue&&Ae>=9;function _r(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var gn=function(e,t){var o=e.className,i=_r(t).exec(o);if(i){var n=o.slice(i.index+i[0].length);e.className=o.slice(0,i.index)+(n?i[1]+n:"")}};function zt(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function Cr(e,t){return zt(e).appendChild(t)}function de(e,t,o,i){var n=document.createElement(e);if(o&&(n.className=o),i&&(n.style.cssText=i),typeof t=="string")n.appendChild(document.createTextNode(t));else if(t)for(var u=0;u<t.length;++u)n.appendChild(t[u]);return n}function lr(e,t,o,i){var n=de(e,t,o,i);return n.setAttribute("role","presentation"),n}var Ut;document.createRange?Ut=function(e,t,o,i){var n=document.createRange();return n.setEnd(i||e,o),n.setStart(e,t),n}:Ut=function(e,t,o){var i=document.body.createTextRange();try{i.moveToElementText(e.parentNode)}catch{return i}return i.collapse(!0),i.moveEnd("character",o),i.moveStart("character",t),i};function Ar(e,t){if(t.nodeType==3&&(t=t.parentNode),e.contains)return e.contains(t);do if(t.nodeType==11&&(t=t.host),t==e)return!0;while(t=t.parentNode)}function tn(){var e;try{e=document.activeElement}catch{e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function Vn(e,t){var o=e.className;_r(t).test(o)||(e.className+=(o?" ":"")+t)}function ai(e,t){for(var o=e.split(" "),i=0;i<o.length;i++)o[i]&&!_r(o[i]).test(t)&&(t+=" "+o[i]);return t}var ui=function(e){e.select()};pt?ui=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:ue&&(ui=function(e){try{e.select()}catch{}});function On(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function li(e,t,o){t||(t={});for(var i in e)e.hasOwnProperty(i)&&(o!==!1||!t.hasOwnProperty(i))&&(t[i]=e[i]);return t}function Gt(e,t,o,i,n){t==null&&(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));for(var u=i||0,c=n||0;;){var y=e.indexOf(" ",u);if(y<0||y>=t)return c+(t-u);c+=y-u,c+=o-c%o,u=y+1}}var ar=function(){this.id=null,this.f=null,this.time=0,this.handler=On(this.onTimeout,this)};ar.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},ar.prototype.set=function(e,t){this.f=t;var o=+new Date+e;(!this.id||o<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=o)};function Pt(e,t){for(var o=0;o<e.length;++o)if(e[o]==t)return o;return-1}var Dr=50,rn={toString:function(){return"CodeMirror.Pass"}},Hr={scroll:!1},Or={origin:"*mouse"},Zr={origin:"+move"};function Ue(e,t,o){for(var i=0,n=0;;){var u=e.indexOf(" ",i);u==-1&&(u=e.length);var c=u-i;if(u==e.length||n+c>=t)return i+Math.min(c,t-n);if(n+=u-i,n+=o-n%o,i=u+1,n>=t)return i}}var nt=[""];function Lt(e){for(;nt.length<=e;)nt.push(kt(nt)+" ");return nt[e]}function kt(e){return e[e.length-1]}function or(e,t){for(var o=[],i=0;i<e.length;i++)o[i]=t(e[i],i);return o}function gr(e,t,o){for(var i=0,n=o(t);i<e.length&&o(e[i])<=n;)i++;e.splice(i,0,t)}function Er(){}function Sr(e,t){var o;return Object.create?o=Object.create(e):(Er.prototype=e,o=new Er),t&&li(t,o),o}var dr=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function We(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||dr.test(e))}function Rt(e,t){return t?t.source.indexOf("\\w")>-1&&We(e)?!0:t.test(e):We(e)}function it(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var Br=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ln(e){return e.charCodeAt(0)>=768&&Br.test(e)}function zn(e,t,o){for(;(o<0?t>0:t<e.length)&&ln(e.charAt(t));)t+=o;return t}function Jn(e,t,o){for(var i=t>o?-1:1;;){if(t==o)return t;var n=(t+o)/2,u=i<0?Math.ceil(n):Math.floor(n);if(u==t)return e(u)?t:o;e(u)?o=u:t=u+i}}function Gn(e,t,o,i){if(!e)return i(t,o,"ltr",0);for(var n=!1,u=0;u<e.length;++u){var c=e[u];(c.from<o&&c.to>t||t==o&&c.to==t)&&(i(Math.max(c.from,t),Math.min(c.to,o),c.level==1?"rtl":"ltr",u),n=!0)}n||i(t,o,"ltr")}var kn=null;function di(e,t,o){var i;kn=null;for(var n=0;n<e.length;++n){var u=e[n];if(u.from<t&&u.to>t)return n;u.to==t&&(u.from!=u.to&&o=="before"?i=n:kn=n),u.from==t&&(u.from!=u.to&&o!="before"?i=n:kn=n)}return i!=null?i:kn}var Ir=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function o(M){return M<=247?e.charAt(M):1424<=M&&M<=1524?"R":1536<=M&&M<=1785?t.charAt(M-1536):1774<=M&&M<=2220?"r":8192<=M&&M<=8203?"w":M==8204?"b":"L"}var i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,n=/[stwN]/,u=/[LRr]/,c=/[Lb1n]/,y=/[1n]/;function B(M,ve,he){this.level=M,this.from=ve,this.to=he}return function(M,ve){var he=ve=="ltr"?"L":"R";if(M.length==0||ve=="ltr"&&!i.test(M))return!1;for(var Ze=M.length,Me=[],Ct=0;Ct<Ze;++Ct)Me.push(o(M.charCodeAt(Ct)));for(var lt=0,Bt=he;lt<Ze;++lt){var er=Me[lt];er=="m"?Me[lt]=Bt:Bt=er}for(var wt=0,It=he;wt<Ze;++wt){var ir=Me[wt];ir=="1"&&It=="r"?Me[wt]="n":u.test(ir)&&(It=ir,ir=="r"&&(Me[wt]="R"))}for(var Ve=1,wr=Me[0];Ve<Ze-1;++Ve){var Pr=Me[Ve];Pr=="+"&&wr=="1"&&Me[Ve+1]=="1"?Me[Ve]="1":Pr==","&&wr==Me[Ve+1]&&(wr=="1"||wr=="n")&&(Me[Ve]=wr),wr=Pr}for(var on=0;on<Ze;++on){var ti=Me[on];if(ti==",")Me[on]="N";else if(ti=="%"){var Hn=void 0;for(Hn=on+1;Hn<Ze&&Me[Hn]=="%";++Hn);for(var Ai=on&&Me[on-1]=="!"||Hn<Ze&&Me[Hn]=="1"?"1":"N",De=on;De<Hn;++De)Me[De]=Ai;on=Hn-1}}for(var yt=0,xr=he;yt<Ze;++yt){var pn=Me[yt];xr=="L"&&pn=="1"?Me[yt]="L":u.test(pn)&&(xr=pn)}for(var hn=0;hn<Ze;++hn)if(n.test(Me[hn])){var Wn=void 0;for(Wn=hn+1;Wn<Ze&&n.test(Me[Wn]);++Wn);for(var Xn=(hn?Me[hn-1]:he)=="L",ri=(Wn<Ze?Me[Wn]:he)=="L",An=Xn==ri?Xn?"L":"R":he,_n=hn;_n<Wn;++_n)Me[_n]=An;hn=Wn-1}for(var Hi=[],hs,$i=0;$i<Ze;)if(c.test(Me[$i])){var $l=$i;for(++$i;$i<Ze&&c.test(Me[$i]);++$i);Hi.push(new B(0,$l,$i))}else{var gs=$i,Ca=Hi.length,Ks=ve=="rtl"?1:0;for(++$i;$i<Ze&&Me[$i]!="L";++$i);for(var Ki=gs;Ki<$i;)if(y.test(Me[Ki])){gs<Ki&&(Hi.splice(Ca,0,new B(1,gs,Ki)),Ca+=Ks);var Ul=Ki;for(++Ki;Ki<$i&&y.test(Me[Ki]);++Ki);Hi.splice(Ca,0,new B(2,Ul,Ki)),Ca+=Ks,gs=Ki}else++Ki;gs<$i&&Hi.splice(Ca,0,new B(1,gs,$i))}return ve=="ltr"&&(Hi[0].level==1&&(hs=M.match(/^\s+/))&&(Hi[0].from=hs[0].length,Hi.unshift(new B(0,0,hs[0].length))),kt(Hi).level==1&&(hs=M.match(/\s+$/))&&(kt(Hi).to-=hs[0].length,Hi.push(new B(0,Ze-hs[0].length,Ze)))),ve=="rtl"?Hi.reverse():Hi}}();function Ht(e,t){var o=e.order;return o==null&&(o=e.order=Ir(e.text,t)),o}var $t=[],ht=function(e,t,o){if(e.addEventListener)e.addEventListener(t,o,!1);else if(e.attachEvent)e.attachEvent("on"+t,o);else{var i=e._handlers||(e._handlers={});i[t]=(i[t]||$t).concat(o)}};function Zt(e,t){return e._handlers&&e._handlers[t]||$t}function Tt(e,t,o){if(e.removeEventListener)e.removeEventListener(t,o,!1);else if(e.detachEvent)e.detachEvent("on"+t,o);else{var i=e._handlers,n=i&&i[t];if(n){var u=Pt(n,o);u>-1&&(i[t]=n.slice(0,u).concat(n.slice(u+1)))}}}function yr(e,t){var o=Zt(e,t);if(!!o.length)for(var i=Array.prototype.slice.call(arguments,2),n=0;n<o.length;++n)o[n].apply(null,i)}function at(e,t,o){return typeof t=="string"&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),yr(e,o||t.type,e,t),Fn(t)||t.codemirrorIgnore}function $r(e){var t=e._handlers&&e._handlers.cursorActivity;if(!!t)for(var o=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),i=0;i<t.length;++i)Pt(o,t[i])==-1&&o.push(t[i])}function Jr(e,t){return Zt(e,t).length>0}function En(e){e.prototype.on=function(t,o){ht(this,t,o)},e.prototype.off=function(t,o){Tt(this,t,o)}}function vt(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function cn(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Fn(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function Mn(e){vt(e),cn(e)}function Bn(e){return e.target||e.srcElement}function Qn(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),pr&&e.ctrlKey&&t==1&&(t=3),t}var pi=function(){if(ue&&Ae<9)return!1;var e=de("div");return"draggable"in e||"dragDrop"in e}(),fr;function ft(e){if(fr==null){var t=de("span","\u200B");Cr(e,de("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(fr=t.offsetWidth<=1&&t.offsetHeight>2&&!(ue&&Ae<8))}var o=fr?de("span","\u200B"):de("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return o.setAttribute("cm-text",""),o}var ot;function xt(e){if(ot!=null)return ot;var t=Cr(e,document.createTextNode("A\u062EA")),o=Ut(t,0,1).getBoundingClientRect(),i=Ut(t,1,2).getBoundingClientRect();return zt(e),!o||o.left==o.right?!1:ot=i.right-o.right<3}var Ot=`
|
|
2
|
+
|
|
3
|
+
b`.split(/\n/).length!=3?function(e){for(var t=0,o=[],i=e.length;t<=i;){var n=e.indexOf(`
|
|
4
|
+
`,t);n==-1&&(n=e.length);var u=e.slice(t,e.charAt(n-1)=="\r"?n-1:n),c=u.indexOf("\r");c!=-1?(o.push(u.slice(0,c)),t+=c+1):(o.push(u),t=n+1)}return o}:function(e){return e.split(/\r\n?|\n/)},Nt=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch{}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},Xt=function(){var e=de("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),sr=null;function hr(e){if(sr!=null)return sr;var t=Cr(e,de("span","x")),o=t.getBoundingClientRect(),i=Ut(t,0,1).getBoundingClientRect();return sr=Math.abs(o.left-i.left)>1}var Fr={},Mr={};function Vr(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Fr[e]=t}function Kr(e,t){Mr[e]=t}function Qr(e){if(typeof e=="string"&&Mr.hasOwnProperty(e))e=Mr[e];else if(e&&typeof e.name=="string"&&Mr.hasOwnProperty(e.name)){var t=Mr[e.name];typeof t=="string"&&(t={name:t}),e=Sr(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Qr("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Qr("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function mn(e,t){t=Qr(t);var o=Fr[t.name];if(!o)return mn(e,"text/plain");var i=o(e,t);if(Gr.hasOwnProperty(t.name)){var n=Gr[t.name];for(var u in n)!n.hasOwnProperty(u)||(i.hasOwnProperty(u)&&(i["_"+u]=i[u]),i[u]=n[u])}if(i.name=t.name,t.helperType&&(i.helperType=t.helperType),t.modeProps)for(var c in t.modeProps)i[c]=t.modeProps[c];return i}var Gr={};function fn(e,t){var o=Gr.hasOwnProperty(e)?Gr[e]:Gr[e]={};li(t,o)}function Zn(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var o={};for(var i in t){var n=t[i];n instanceof Array&&(n=n.concat([])),o[i]=n}return o}function ii(e,t){for(var o;e.innerMode&&(o=e.innerMode(t),!(!o||o.mode==e));)t=o.state,e=o.mode;return o||{mode:e,state:t}}function ci(e,t,o){return e.startState?e.startState(t,o):!0}var Tn=function(e,t,o){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=o};Tn.prototype.eol=function(){return this.pos>=this.string.length},Tn.prototype.sol=function(){return this.pos==this.lineStart},Tn.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Tn.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Tn.prototype.eat=function(e){var t=this.string.charAt(this.pos),o;if(typeof e=="string"?o=t==e:o=t&&(e.test?e.test(t):e(t)),o)return++this.pos,t},Tn.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Tn.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Tn.prototype.skipToEnd=function(){this.pos=this.string.length},Tn.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Tn.prototype.backUp=function(e){this.pos-=e},Tn.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Gt(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Gt(this.string,this.lineStart,this.tabSize):0)},Tn.prototype.indentation=function(){return Gt(this.string,null,this.tabSize)-(this.lineStart?Gt(this.string,this.lineStart,this.tabSize):0)},Tn.prototype.match=function(e,t,o){if(typeof e=="string"){var i=function(c){return o?c.toLowerCase():c},n=this.string.substr(this.pos,e.length);if(i(n)==i(e))return t!==!1&&(this.pos+=e.length),!0}else{var u=this.string.slice(this.pos).match(e);return u&&u.index>0?null:(u&&t!==!1&&(this.pos+=u[0].length),u)}},Tn.prototype.current=function(){return this.string.slice(this.start,this.pos)},Tn.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Tn.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Tn.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function Oe(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var o=e;!o.lines;)for(var i=0;;++i){var n=o.children[i],u=n.chunkSize();if(t<u){o=n;break}t-=u}return o.lines[t]}function Bi(e,t,o){var i=[],n=t.line;return e.iter(t.line,o.line+1,function(u){var c=u.text;n==o.line&&(c=c.slice(0,o.ch)),n==t.line&&(c=c.slice(t.ch)),i.push(c),++n}),i}function Si(e,t,o){var i=[];return e.iter(t,o,function(n){i.push(n.text)}),i}function Ln(e,t){var o=t-e.height;if(o)for(var i=e;i;i=i.parent)i.height+=o}function yn(e){if(e.parent==null)return null;for(var t=e.parent,o=Pt(t.lines,e),i=t.parent;i;t=i,i=i.parent)for(var n=0;i.children[n]!=t;++n)o+=i.children[n].chunkSize();return o+t.first}function Pi(e,t){var o=e.first;e:do{for(var i=0;i<e.children.length;++i){var n=e.children[i],u=n.height;if(t<u){e=n;continue e}t-=u,o+=n.chunkSize()}return o}while(!e.lines);for(var c=0;c<e.lines.length;++c){var y=e.lines[c],B=y.height;if(t<B)break;t-=B}return o+c}function yo(e,t){return t>=e.first&&t<e.first+e.size}function xi(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function b(e,t,o){if(o===void 0&&(o=null),!(this instanceof b))return new b(e,t,o);this.line=e,this.ch=t,this.sticky=o}function Pe(e,t){return e.line-t.line||e.ch-t.ch}function tr(e,t){return e.sticky==t.sticky&&Pe(e,t)==0}function br(e){return b(e.line,e.ch)}function nn(e,t){return Pe(e,t)<0?t:e}function $n(e,t){return Pe(e,t)<0?e:t}function Rn(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function qr(e,t){if(t.line<e.first)return b(e.first,0);var o=e.first+e.size-1;return t.line>o?b(o,Oe(e,o).text.length):hi(t,Oe(e,t.line).text.length)}function hi(e,t){var o=e.ch;return o==null||o>t?b(e.line,t):o<0?b(e.line,0):e}function _a(e,t){for(var o=[],i=0;i<t.length;i++)o[i]=qr(e,t[i]);return o}var ea=function(e,t){this.state=e,this.lookAhead=t},vo=function(e,t,o,i){this.state=t,this.doc=e,this.line=o,this.maxLookAhead=i||0,this.baseTokens=null,this.baseTokenPos=1};vo.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return t!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},vo.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},vo.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},vo.fromSaved=function(e,t,o){return t instanceof ea?new vo(e,Zn(e.mode,t.state),o,t.lookAhead):new vo(e,Zn(e.mode,t),o)},vo.prototype.save=function(e){var t=e!==!1?Zn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ea(t,this.maxLookAhead):t};function Du(e,t,o,i){var n=[e.state.modeGen],u={};Cu(e,t.text,e.doc.mode,o,function(M,ve){return n.push(M,ve)},u,i);for(var c=o.state,y=function(M){o.baseTokens=n;var ve=e.state.overlays[M],he=1,Ze=0;o.state=!0,Cu(e,t.text,ve.mode,o,function(Me,Ct){for(var lt=he;Ze<Me;){var Bt=n[he];Bt>Me&&n.splice(he,1,Me,n[he+1],Bt),he+=2,Ze=Math.min(Me,Bt)}if(!!Ct)if(ve.opaque)n.splice(lt,he-lt,Me,"overlay "+Ct),he=lt+2;else for(;lt<he;lt+=2){var er=n[lt+1];n[lt+1]=(er?er+" ":"")+"overlay "+Ct}},u),o.state=c,o.baseTokens=null,o.baseTokenPos=1},B=0;B<e.state.overlays.length;++B)y(B);return{styles:n,classes:u.bgClass||u.textClass?u:null}}function bu(e,t,o){if(!t.styles||t.styles[0]!=e.state.modeGen){var i=ms(e,yn(t)),n=t.text.length>e.options.maxHighlightLength&&Zn(e.doc.mode,i.state),u=Du(e,t,i);n&&(i.state=n),t.stateAfter=i.save(!n),t.styles=u.styles,u.classes?t.styleClasses=u.classes:t.styleClasses&&(t.styleClasses=null),o===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function ms(e,t,o){var i=e.doc,n=e.display;if(!i.mode.startState)return new vo(i,!0,t);var u=bn(e,t,o),c=u>i.first&&Oe(i,u-1).stateAfter,y=c?vo.fromSaved(i,c,u):new vo(i,ci(i.mode),u);return i.iter(u,t,function(B){Na(e,B.text,y);var M=y.line;B.stateAfter=M==t-1||M%5==0||M>=n.viewFrom&&M<n.viewTo?y.save():null,y.nextLine()}),o&&(i.modeFrontier=y.line),y}function Na(e,t,o,i){var n=e.doc.mode,u=new Tn(t,e.options.tabSize,o);for(u.start=u.pos=i||0,t==""&&Ba(n,o.state);!u.eol();)Pa(n,u,o.state),u.start=u.pos}function Ba(e,t){if(e.blankLine)return e.blankLine(t);if(!!e.innerMode){var o=ii(e,t);if(o.mode.blankLine)return o.mode.blankLine(o.state)}}function Pa(e,t,o,i){for(var n=0;n<10;n++){i&&(i[0]=ii(e,o).mode);var u=e.token(t,o);if(t.pos>t.start)return u}throw new Error("Mode "+e.name+" failed to advance stream.")}var Oa=function(e,t,o){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=o};function ta(e,t,o,i){var n=e.doc,u=n.mode,c;t=qr(n,t);var y=Oe(n,t.line),B=ms(e,t.line,o),M=new Tn(y.text,e.options.tabSize,B),ve;for(i&&(ve=[]);(i||M.pos<t.ch)&&!M.eol();)M.start=M.pos,c=Pa(u,M,B.state),i&&ve.push(new Oa(M,c,Zn(n.mode,B.state)));return i?ve:new Oa(M,c,B.state)}function xu(e,t){if(e)for(;;){var o=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!o)break;e=e.slice(0,o.index)+e.slice(o.index+o[0].length);var i=o[1]?"bgClass":"textClass";t[i]==null?t[i]=o[2]:new RegExp("(?:^|\\s)"+o[2]+"(?:$|\\s)").test(t[i])||(t[i]+=" "+o[2])}return e}function Cu(e,t,o,i,n,u,c){var y=o.flattenSpans;y==null&&(y=e.options.flattenSpans);var B=0,M=null,ve=new Tn(t,e.options.tabSize,i),he,Ze=e.options.addModeClass&&[null];for(t==""&&xu(Ba(o,i.state),u);!ve.eol();){if(ve.pos>e.options.maxHighlightLength?(y=!1,c&&Na(e,t,i,ve.pos),ve.pos=t.length,he=null):he=xu(Pa(o,ve,i.state,Ze),u),Ze){var Me=Ze[0].name;Me&&(he="m-"+(he?Me+" "+he:Me))}if(!y||M!=he){for(;B<ve.start;)B=Math.min(ve.start,B+5e3),n(B,M);M=he}ve.start=ve.pos}for(;B<ve.pos;){var Ct=Math.min(ve.pos,B+5e3);n(Ct,M),B=Ct}}function bn(e,t,o){for(var i,n,u=e.doc,c=o?-1:t-(e.doc.mode.innerMode?1e3:100),y=t;y>c;--y){if(y<=u.first)return u.first;var B=Oe(u,y-1),M=B.stateAfter;if(M&&(!o||y+(M instanceof ea?M.lookAhead:0)<=u.modeFrontier))return y;var ve=Gt(B.text,null,e.options.tabSize);(n==null||i>ve)&&(n=y-1,i=ve)}return n}function Eu(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var o=e.first,i=t-1;i>o;i--){var n=Oe(e,i).stateAfter;if(n&&(!(n instanceof ea)||i+n.lookAhead<t)){o=i+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,o)}}var wu=!1,Vo=!1;function Dl(){wu=!0}function Au(){Vo=!0}function ja(e,t,o){this.marker=e,this.from=t,this.to=o}function Ms(e,t){if(e)for(var o=0;o<e.length;++o){var i=e[o];if(i.marker==t)return i}}function ys(e,t){for(var o,i=0;i<e.length;++i)e[i]!=t&&(o||(o=[])).push(e[i]);return o}function cc(e,t,o){var i=o&&window.WeakSet&&(o.markedSpans||(o.markedSpans=new WeakSet));i&&e.markedSpans&&i.has(e.markedSpans)?e.markedSpans.push(t):(e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],i&&i.add(e.markedSpans)),t.marker.attachLine(e)}function Su(e,t,o){var i;if(e)for(var n=0;n<e.length;++n){var u=e[n],c=u.marker,y=u.from==null||(c.inclusiveLeft?u.from<=t:u.from<t);if(y||u.from==t&&c.type=="bookmark"&&(!o||!u.marker.insertLeft)){var B=u.to==null||(c.inclusiveRight?u.to>=t:u.to>t);(i||(i=[])).push(new ja(c,u.from,B?null:u.to))}}return i}function pc(e,t,o){var i;if(e)for(var n=0;n<e.length;++n){var u=e[n],c=u.marker,y=u.to==null||(c.inclusiveRight?u.to>=t:u.to>t);if(y||u.from==t&&c.type=="bookmark"&&(!o||u.marker.insertLeft)){var B=u.from==null||(c.inclusiveLeft?u.from<=t:u.from<t);(i||(i=[])).push(new ja(c,B?null:u.from-t,u.to==null?null:u.to-t))}}return i}function Fu(e,t){if(t.full)return null;var o=yo(e,t.from.line)&&Oe(e,t.from.line).markedSpans,i=yo(e,t.to.line)&&Oe(e,t.to.line).markedSpans;if(!o&&!i)return null;var n=t.from.ch,u=t.to.ch,c=Pe(t.from,t.to)==0,y=Su(o,n,c),B=pc(i,u,c),M=t.text.length==1,ve=kt(t.text).length+(M?n:0);if(y)for(var he=0;he<y.length;++he){var Ze=y[he];if(Ze.to==null){var Me=Ms(B,Ze.marker);Me?M&&(Ze.to=Me.to==null?null:Me.to+ve):Ze.to=n}}if(B)for(var Ct=0;Ct<B.length;++Ct){var lt=B[Ct];if(lt.to!=null&&(lt.to+=ve),lt.from==null){var Bt=Ms(y,lt.marker);Bt||(lt.from=ve,M&&(y||(y=[])).push(lt))}else lt.from+=ve,M&&(y||(y=[])).push(lt)}y&&(y=bl(y)),B&&B!=y&&(B=bl(B));var er=[y];if(!M){var wt=t.text.length-2,It;if(wt>0&&y)for(var ir=0;ir<y.length;++ir)y[ir].to==null&&(It||(It=[])).push(new ja(y[ir].marker,null,null));for(var Ve=0;Ve<wt;++Ve)er.push(It);er.push(B)}return er}function bl(e){for(var t=0;t<e.length;++t){var o=e[t];o.from!=null&&o.from==o.to&&o.marker.clearWhenEmpty!==!1&&e.splice(t--,1)}return e.length?e:null}function fc(e,t,o){var i=null;if(e.iter(t.line,o.line+1,function(Me){if(Me.markedSpans)for(var Ct=0;Ct<Me.markedSpans.length;++Ct){var lt=Me.markedSpans[Ct].marker;lt.readOnly&&(!i||Pt(i,lt)==-1)&&(i||(i=[])).push(lt)}}),!i)return null;for(var n=[{from:t,to:o}],u=0;u<i.length;++u)for(var c=i[u],y=c.find(0),B=0;B<n.length;++B){var M=n[B];if(!(Pe(M.to,y.from)<0||Pe(M.from,y.to)>0)){var ve=[B,1],he=Pe(M.from,y.from),Ze=Pe(M.to,y.to);(he<0||!c.inclusiveLeft&&!he)&&ve.push({from:M.from,to:y.from}),(Ze>0||!c.inclusiveRight&&!Ze)&&ve.push({from:y.to,to:M.to}),n.splice.apply(n,ve),B+=ve.length-3}}return n}function No(e){var t=e.markedSpans;if(!!t){for(var o=0;o<t.length;++o)t[o].marker.detachLine(e);e.markedSpans=null}}function fo(e,t){if(!!t){for(var o=0;o<t.length;++o)t[o].marker.attachLine(e);e.markedSpans=t}}function Gi(e){return e.inclusiveLeft?-1:0}function oo(e){return e.inclusiveRight?1:0}function Bo(e,t){var o=e.lines.length-t.lines.length;if(o!=0)return o;var i=e.find(),n=t.find(),u=Pe(i.from,n.from)||Gi(e)-Gi(t);if(u)return-u;var c=Pe(i.to,n.to)||oo(e)-oo(t);return c||t.id-e.id}function vs(e,t){var o=Vo&&e.markedSpans,i;if(o)for(var n=void 0,u=0;u<o.length;++u)n=o[u],n.marker.collapsed&&(t?n.from:n.to)==null&&(!i||Bo(i,n.marker)<0)&&(i=n.marker);return i}function Ma(e){return vs(e,!0)}function ra(e){return vs(e,!1)}function jn(e,t){var o=Vo&&e.markedSpans,i;if(o)for(var n=0;n<o.length;++n){var u=o[n];u.marker.collapsed&&(u.from==null||u.from<t)&&(u.to==null||u.to>t)&&(!i||Bo(i,u.marker)<0)&&(i=u.marker)}return i}function La(e,t,o,i,n){var u=Oe(e,t),c=Vo&&u.markedSpans;if(c)for(var y=0;y<c.length;++y){var B=c[y];if(!!B.marker.collapsed){var M=B.marker.find(0),ve=Pe(M.from,o)||Gi(B.marker)-Gi(n),he=Pe(M.to,i)||oo(B.marker)-oo(n);if(!(ve>=0&&he<=0||ve<=0&&he>=0)&&(ve<=0&&(B.marker.inclusiveRight&&n.inclusiveLeft?Pe(M.to,o)>=0:Pe(M.to,o)>0)||ve>=0&&(B.marker.inclusiveRight&&n.inclusiveLeft?Pe(M.from,i)<=0:Pe(M.from,i)<0)))return!0}}}function so(e){for(var t;t=Ma(e);)e=t.find(-1,!0).line;return e}function na(e){for(var t;t=ra(e);)e=t.find(1,!0).line;return e}function Ia(e){for(var t,o;t=ra(e);)e=t.find(1,!0).line,(o||(o=[])).push(e);return o}function Ls(e,t){var o=Oe(e,t),i=so(o);return o==i?t:yn(i)}function Ra(e,t){if(t>e.lastLine())return t;var o=Oe(e,t),i;if(!Po(e,o))return t;for(;i=ra(o);)o=i.find(1,!0).line;return yn(o)+1}function Po(e,t){var o=Vo&&t.markedSpans;if(o){for(var i=void 0,n=0;n<o.length;++n)if(i=o[n],!!i.marker.collapsed){if(i.from==null)return!0;if(!i.marker.widgetNode&&i.from==0&&i.marker.inclusiveLeft&&ia(e,t,i))return!0}}}function ia(e,t,o){if(o.to==null){var i=o.marker.find(1,!0);return ia(e,i.line,Ms(i.line.markedSpans,o.marker))}if(o.marker.inclusiveRight&&o.to==t.text.length)return!0;for(var n=void 0,u=0;u<t.markedSpans.length;++u)if(n=t.markedSpans[u],n.marker.collapsed&&!n.marker.widgetNode&&n.from==o.to&&(n.to==null||n.to!=o.from)&&(n.marker.inclusiveLeft||o.marker.inclusiveRight)&&ia(e,t,n))return!0}function Do(e){e=so(e);for(var t=0,o=e.parent,i=0;i<o.lines.length;++i){var n=o.lines[i];if(n==e)break;t+=n.height}for(var u=o.parent;u;o=u,u=o.parent)for(var c=0;c<u.children.length;++c){var y=u.children[c];if(y==o)break;t+=y.height}return t}function Is(e){if(e.height==0)return 0;for(var t=e.text.length,o,i=e;o=Ma(i);){var n=o.find(0,!0);i=n.from.line,t+=n.from.ch-n.to.ch}for(i=e;o=ra(i);){var u=o.find(0,!0);t-=i.text.length-u.from.ch,i=u.to.line,t+=i.text.length-u.to.ch}return t}function Rs(e){var t=e.display,o=e.doc;t.maxLine=Oe(o,o.first),t.maxLineLength=Is(t.maxLine),t.maxLineChanged=!0,o.iter(function(i){var n=Is(i);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=i)})}var Zo=function(e,t,o){this.text=e,fo(this,t),this.height=o?o(this):1};Zo.prototype.lineNo=function(){return yn(this)},En(Zo);function oa(e,t,o,i){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),No(e),fo(e,o);var n=i?i(e):1;n!=e.height&&Ln(e,n)}function qo(e){e.parent=null,No(e)}var za={},ku={};function Ha(e,t){if(!e||/^\s*$/.test(e))return null;var o=t.addModeClass?ku:za;return o[e]||(o[e]=e.replace(/\S+/g,"cm-$&"))}function zs(e,t){var o=lr("span",null,null,Be?"padding-right: .1px":null),i={pre:lr("pre",[o],"CodeMirror-line"),content:o,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var n=0;n<=(t.rest?t.rest.length:0);n++){var u=n?t.rest[n-1]:t.line,c=void 0;i.pos=0,i.addToken=Ds,xt(e.display.measure)&&(c=Ht(u,e.doc.direction))&&(i.addToken=hc(i.addToken,c)),i.map=[];var y=t!=e.display.externalMeasured&&yn(u);Wa(u,i,bu(e,u,y)),u.styleClasses&&(u.styleClasses.bgClass&&(i.bgClass=ai(u.styleClasses.bgClass,i.bgClass||"")),u.styleClasses.textClass&&(i.textClass=ai(u.styleClasses.textClass,i.textClass||""))),i.map.length==0&&i.map.push(0,0,i.content.appendChild(ft(e.display.measure))),n==0?(t.measure.map=i.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(i.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(Be){var B=i.content.lastChild;(/\bcm-tab\b/.test(B.className)||B.querySelector&&B.querySelector(".cm-tab"))&&(i.content.className="cm-tab-wrap-hack")}return yr(e,"renderLine",e,t.line,i.pre),i.pre.className&&(i.textClass=ai(i.pre.className,i.textClass||"")),i}function dc(e){var t=de("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Ds(e,t,o,i,n,u,c){if(!!t){var y=e.splitSpaces?bo(t,e.trailingSpace):t,B=e.cm.state.specialChars,M=!1,ve;if(!B.test(t))e.col+=t.length,ve=document.createTextNode(y),e.map.push(e.pos,e.pos+t.length,ve),ue&&Ae<9&&(M=!0),e.pos+=t.length;else{ve=document.createDocumentFragment();for(var he=0;;){B.lastIndex=he;var Ze=B.exec(t),Me=Ze?Ze.index-he:t.length-he;if(Me){var Ct=document.createTextNode(y.slice(he,he+Me));ue&&Ae<9?ve.appendChild(de("span",[Ct])):ve.appendChild(Ct),e.map.push(e.pos,e.pos+Me,Ct),e.col+=Me,e.pos+=Me}if(!Ze)break;he+=Me+1;var lt=void 0;if(Ze[0]==" "){var Bt=e.cm.options.tabSize,er=Bt-e.col%Bt;lt=ve.appendChild(de("span",Lt(er),"cm-tab")),lt.setAttribute("role","presentation"),lt.setAttribute("cm-text"," "),e.col+=er}else Ze[0]=="\r"||Ze[0]==`
|
|
5
|
+
`?(lt=ve.appendChild(de("span",Ze[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),lt.setAttribute("cm-text",Ze[0]),e.col+=1):(lt=e.cm.options.specialCharPlaceholder(Ze[0]),lt.setAttribute("cm-text",Ze[0]),ue&&Ae<9?ve.appendChild(de("span",[lt])):ve.appendChild(lt),e.col+=1);e.map.push(e.pos,e.pos+1,lt),e.pos++}}if(e.trailingSpace=y.charCodeAt(t.length-1)==32,o||i||n||M||u||c){var wt=o||"";i&&(wt+=i),n&&(wt+=n);var It=de("span",[ve],wt,u);if(c)for(var ir in c)c.hasOwnProperty(ir)&&ir!="style"&&ir!="class"&&It.setAttribute(ir,c[ir]);return e.content.appendChild(It)}e.content.appendChild(ve)}}function bo(e,t){if(e.length>1&&!/ /.test(e))return e;for(var o=t,i="",n=0;n<e.length;n++){var u=e.charAt(n);u==" "&&o&&(n==e.length-1||e.charCodeAt(n+1)==32)&&(u="\xA0"),i+=u,o=u==" "}return i}function hc(e,t){return function(o,i,n,u,c,y,B){n=n?n+" cm-force-border":"cm-force-border";for(var M=o.pos,ve=M+i.length;;){for(var he=void 0,Ze=0;Ze<t.length&&(he=t[Ze],!(he.to>M&&he.from<=M));Ze++);if(he.to>=ve)return e(o,i,n,u,c,y,B);e(o,i.slice(0,he.to-M),n,u,null,y,B),u=null,i=i.slice(he.to-M),M=he.to}}}function Tu(e,t,o,i){var n=!i&&o.widgetNode;n&&e.map.push(e.pos,e.pos+t,n),!i&&e.cm.display.input.needsContentAttribute&&(n||(n=e.content.appendChild(document.createElement("span"))),n.setAttribute("cm-marker",o.id)),n&&(e.cm.display.input.setUneditable(n),e.content.appendChild(n)),e.pos+=t,e.trailingSpace=!1}function Wa(e,t,o){var i=e.markedSpans,n=e.text,u=0;if(!i){for(var c=1;c<o.length;c+=2)t.addToken(t,n.slice(u,u=o[c]),Ha(o[c+1],t.cm.options));return}for(var y=n.length,B=0,M=1,ve="",he,Ze,Me=0,Ct,lt,Bt,er,wt;;){if(Me==B){Ct=lt=Bt=Ze="",wt=null,er=null,Me=1/0;for(var It=[],ir=void 0,Ve=0;Ve<i.length;++Ve){var wr=i[Ve],Pr=wr.marker;if(Pr.type=="bookmark"&&wr.from==B&&Pr.widgetNode)It.push(Pr);else if(wr.from<=B&&(wr.to==null||wr.to>B||Pr.collapsed&&wr.to==B&&wr.from==B)){if(wr.to!=null&&wr.to!=B&&Me>wr.to&&(Me=wr.to,lt=""),Pr.className&&(Ct+=" "+Pr.className),Pr.css&&(Ze=(Ze?Ze+";":"")+Pr.css),Pr.startStyle&&wr.from==B&&(Bt+=" "+Pr.startStyle),Pr.endStyle&&wr.to==Me&&(ir||(ir=[])).push(Pr.endStyle,wr.to),Pr.title&&((wt||(wt={})).title=Pr.title),Pr.attributes)for(var on in Pr.attributes)(wt||(wt={}))[on]=Pr.attributes[on];Pr.collapsed&&(!er||Bo(er.marker,Pr)<0)&&(er=wr)}else wr.from>B&&Me>wr.from&&(Me=wr.from)}if(ir)for(var ti=0;ti<ir.length;ti+=2)ir[ti+1]==Me&&(lt+=" "+ir[ti]);if(!er||er.from==B)for(var Hn=0;Hn<It.length;++Hn)Tu(t,0,It[Hn]);if(er&&(er.from||0)==B){if(Tu(t,(er.to==null?y+1:er.to)-B,er.marker,er.from==null),er.to==null)return;er.to==B&&(er=!1)}}if(B>=y)break;for(var Ai=Math.min(y,Me);;){if(ve){var De=B+ve.length;if(!er){var yt=De>Ai?ve.slice(0,Ai-B):ve;t.addToken(t,yt,he?he+Ct:Ct,Bt,B+yt.length==Me?lt:"",Ze,wt)}if(De>=Ai){ve=ve.slice(Ai-B),B=Ai;break}B=De,Bt=""}ve=n.slice(u,u=o[M++]),he=Ha(o[M++],t.cm.options)}}}function $a(e,t,o){this.line=t,this.rest=Ia(t),this.size=this.rest?yn(kt(this.rest))-o+1:1,this.node=this.text=null,this.hidden=Po(e,t)}function sa(e,t,o){for(var i=[],n,u=t;u<o;u=n){var c=new $a(e.doc,Oe(e.doc,u),u);n=u+c.size,i.push(c)}return i}var Xi=null;function gc(e){Xi?Xi.ops.push(e):e.ownsGroup=Xi={ops:[e],delayedCallbacks:[]}}function mc(e){var t=e.delayedCallbacks,o=0;do{for(;o<t.length;o++)t[o].call(null);for(var i=0;i<e.ops.length;i++){var n=e.ops[i];if(n.cursorActivityHandlers)for(;n.cursorActivityCalled<n.cursorActivityHandlers.length;)n.cursorActivityHandlers[n.cursorActivityCalled++].call(null,n.cm)}}while(o<t.length)}function yc(e,t){var o=e.ownsGroup;if(!!o)try{mc(o)}finally{Xi=null,t(o)}}var Oo=null;function Ni(e,t){var o=Zt(e,t);if(!!o.length){var i=Array.prototype.slice.call(arguments,2),n;Xi?n=Xi.delayedCallbacks:Oo?n=Oo:(n=Oo=[],setTimeout(_u,0));for(var u=function(y){n.push(function(){return o[y].apply(null,i)})},c=0;c<o.length;++c)u(c)}}function _u(){var e=Oo;Oo=null;for(var t=0;t<e.length;++t)e[t]()}function xl(e,t,o,i){for(var n=0;n<t.changes.length;n++){var u=t.changes[n];u=="text"?Va(e,t):u=="gutter"?Nu(e,t,o,i):u=="class"?bs(e,t):u=="widget"&&Bu(e,t,i)}t.changes=null}function xo(e){return e.node==e.text&&(e.node=de("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),ue&&Ae<8&&(e.node.style.zIndex=2)),e.node}function vc(e,t){var o=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(o&&(o+=" CodeMirror-linebackground"),t.background)o?t.background.className=o:(t.background.parentNode.removeChild(t.background),t.background=null);else if(o){var i=xo(t);t.background=i.insertBefore(de("div",null,o),i.firstChild),e.display.input.setUneditable(t.background)}}function Ua(e,t){var o=e.display.externalMeasured;return o&&o.line==t.line?(e.display.externalMeasured=null,t.measure=o.measure,o.built):zs(e,t)}function Va(e,t){var o=t.text.className,i=Ua(e,t);t.text==t.node&&(t.node=i.pre),t.text.parentNode.replaceChild(i.pre,t.text),t.text=i.pre,i.bgClass!=t.bgClass||i.textClass!=t.textClass?(t.bgClass=i.bgClass,t.textClass=i.textClass,bs(e,t)):o&&(t.text.className=o)}function bs(e,t){vc(e,t),t.line.wrapClass?xo(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var o=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=o||""}function Nu(e,t,o,i){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var n=xo(t);t.gutterBackground=de("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px; width: "+i.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),n.insertBefore(t.gutterBackground,t.text)}var u=t.line.gutterMarkers;if(e.options.lineNumbers||u){var c=xo(t),y=t.gutter=de("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px");if(y.setAttribute("aria-hidden","true"),e.display.input.setUneditable(y),c.insertBefore(y,t.text),t.line.gutterClass&&(y.className+=" "+t.line.gutterClass),e.options.lineNumbers&&(!u||!u["CodeMirror-linenumbers"])&&(t.lineNumber=y.appendChild(de("div",xi(e.options,o),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+i.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),u)for(var B=0;B<e.display.gutterSpecs.length;++B){var M=e.display.gutterSpecs[B].className,ve=u.hasOwnProperty(M)&&u[M];ve&&y.appendChild(de("div",[ve],"CodeMirror-gutter-elt","left: "+i.gutterLeft[M]+"px; width: "+i.gutterWidth[M]+"px"))}}}function Bu(e,t,o){t.alignable&&(t.alignable=null);for(var i=_r("CodeMirror-linewidget"),n=t.node.firstChild,u=void 0;n;n=u)u=n.nextSibling,i.test(n.className)&&t.node.removeChild(n);Pu(e,t,o)}function aa(e,t,o,i){var n=Ua(e,t);return t.text=t.node=n.pre,n.bgClass&&(t.bgClass=n.bgClass),n.textClass&&(t.textClass=n.textClass),bs(e,t),Nu(e,t,o,i),Pu(e,t,i),t.node}function Pu(e,t,o){if(Yi(e,t.line,t,o,!0),t.rest)for(var i=0;i<t.rest.length;i++)Yi(e,t.rest[i],t,o,!1)}function Yi(e,t,o,i,n){if(!!t.widgets)for(var u=xo(o),c=0,y=t.widgets;c<y.length;++c){var B=y[c],M=de("div",[B.node],"CodeMirror-linewidget"+(B.className?" "+B.className:""));B.handleMouseEvents||M.setAttribute("cm-ignore-events","true"),es(B,M,o,i),e.display.input.setUneditable(M),n&&B.above?u.insertBefore(M,o.gutter||o.text):u.appendChild(M),Ni(B,"redraw")}}function es(e,t,o,i){if(e.noHScroll){(o.alignable||(o.alignable=[])).push(t);var n=i.wrapperWidth;t.style.left=i.fixedPos+"px",e.coverGutter||(n-=i.gutterTotalWidth,t.style.paddingLeft=i.gutterTotalWidth+"px"),t.style.width=n+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-i.gutterTotalWidth+"px"))}function Ii(e){if(e.height!=null)return e.height;var t=e.doc.cm;if(!t)return 0;if(!Ar(document.body,e.node)){var o="position: relative;";e.coverGutter&&(o+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(o+="width: "+t.display.wrapper.clientWidth+"px;"),Cr(t.display.measure,de("div",[e.node],null,o))}return e.height=e.node.parentNode.offsetHeight}function ao(e,t){for(var o=Bn(t);o!=e.wrapper;o=o.parentNode)if(!o||o.nodeType==1&&o.getAttribute("cm-ignore-events")=="true"||o.parentNode==e.sizer&&o!=e.mover)return!0}function ts(e){return e.lineSpace.offsetTop}function jo(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function qa(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=Cr(e.measure,de("pre","x","CodeMirror-line-like")),o=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,i={left:parseInt(o.paddingLeft),right:parseInt(o.paddingRight)};return!isNaN(i.left)&&!isNaN(i.right)&&(e.cachedPaddingH=i),i}function Co(e){return Dr-e.display.nativeBarWidth}function Jo(e){return e.display.scroller.clientWidth-Co(e)-e.display.barWidth}function Hs(e){return e.display.scroller.clientHeight-Co(e)-e.display.barHeight}function Dc(e,t,o){var i=e.options.lineWrapping,n=i&&Jo(e);if(!t.measure.heights||i&&t.measure.width!=n){var u=t.measure.heights=[];if(i){t.measure.width=n;for(var c=t.text.firstChild.getClientRects(),y=0;y<c.length-1;y++){var B=c[y],M=c[y+1];Math.abs(B.bottom-M.bottom)>2&&u.push((B.bottom+M.top)/2-o.top)}}u.push(o.bottom-o.top)}}function Ja(e,t,o){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var i=0;i<e.rest.length;i++)if(e.rest[i]==t)return{map:e.measure.maps[i],cache:e.measure.caches[i]};for(var n=0;n<e.rest.length;n++)if(yn(e.rest[n])>o)return{map:e.measure.maps[n],cache:e.measure.caches[n],before:!0}}}function Ou(e,t){t=so(t);var o=yn(t),i=e.display.externalMeasured=new $a(e.doc,t,o);i.lineN=o;var n=i.built=zs(e,i);return i.text=n.pre,Cr(e.display.lineMeasure,n.pre),i}function ju(e,t,o,i){return ho(e,Mo(e,t),o,i)}function Eo(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[go(e,t)];var o=e.display.externalMeasured;if(o&&t>=o.lineN&&t<o.lineN+o.size)return o}function Mo(e,t){var o=yn(t),i=Eo(e,o);i&&!i.text?i=null:i&&i.changes&&(xl(e,i,o,Lo(e)),e.curOp.forceUpdate=!0),i||(i=Ou(e,t));var n=Ja(i,t,o);return{line:t,view:i,rect:null,map:n.map,cache:n.cache,before:n.before,hasHeights:!1}}function ho(e,t,o,i,n){t.before&&(o=-1);var u=o+(i||""),c;return t.cache.hasOwnProperty(u)?c=t.cache[u]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(Dc(e,t.view,t.rect),t.hasHeights=!0),c=bc(e,t,o,i),c.bogus||(t.cache[u]=c)),{left:c.left,right:c.right,top:n?c.rtop:c.top,bottom:n?c.rbottom:c.bottom}}var Mu={left:0,right:0,top:0,bottom:0};function Lu(e,t,o){for(var i,n,u,c,y,B,M=0;M<e.length;M+=3)if(y=e[M],B=e[M+1],t<y?(n=0,u=1,c="left"):t<B?(n=t-y,u=n+1):(M==e.length-3||t==B&&e[M+3]>t)&&(u=B-y,n=u-1,t>=B&&(c="right")),n!=null){if(i=e[M+2],y==B&&o==(i.insertLeft?"left":"right")&&(c=o),o=="left"&&n==0)for(;M&&e[M-2]==e[M-3]&&e[M-1].insertLeft;)i=e[(M-=3)+2],c="left";if(o=="right"&&n==B-y)for(;M<e.length-3&&e[M+3]==e[M+4]&&!e[M+5].insertLeft;)i=e[(M+=3)+2],c="right";break}return{node:i,start:n,end:u,collapse:c,coverStart:y,coverEnd:B}}function Iu(e,t){var o=Mu;if(t=="left")for(var i=0;i<e.length&&(o=e[i]).left==o.right;i++);else for(var n=e.length-1;n>=0&&(o=e[n]).left==o.right;n--);return o}function bc(e,t,o,i){var n=Lu(t.map,o,i),u=n.node,c=n.start,y=n.end,B=n.collapse,M;if(u.nodeType==3){for(var ve=0;ve<4;ve++){for(;c&&ln(t.line.text.charAt(n.coverStart+c));)--c;for(;n.coverStart+y<n.coverEnd&&ln(t.line.text.charAt(n.coverStart+y));)++y;if(ue&&Ae<9&&c==0&&y==n.coverEnd-n.coverStart?M=u.parentNode.getBoundingClientRect():M=Iu(Ut(u,c,y).getClientRects(),i),M.left||M.right||c==0)break;y=c,c=c-1,B="right"}ue&&Ae<11&&(M=Cl(e.display.measure,M))}else{c>0&&(B=i="right");var he;e.options.lineWrapping&&(he=u.getClientRects()).length>1?M=he[i=="right"?he.length-1:0]:M=u.getBoundingClientRect()}if(ue&&Ae<9&&!c&&(!M||!M.left&&!M.right)){var Ze=u.parentNode.getClientRects()[0];Ze?M={left:Ze.left,right:Ze.left+Es(e.display),top:Ze.top,bottom:Ze.bottom}:M=Mu}for(var Me=M.top-t.rect.top,Ct=M.bottom-t.rect.top,lt=(Me+Ct)/2,Bt=t.view.measure.heights,er=0;er<Bt.length-1&&!(lt<Bt[er]);er++);var wt=er?Bt[er-1]:0,It=Bt[er],ir={left:(B=="right"?M.right:M.left)-t.rect.left,right:(B=="left"?M.left:M.right)-t.rect.left,top:wt,bottom:It};return!M.left&&!M.right&&(ir.bogus=!0),e.options.singleCursorHeightPerLine||(ir.rtop=Me,ir.rbottom=Ct),ir}function Cl(e,t){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!hr(e))return t;var o=screen.logicalXDPI/screen.deviceXDPI,i=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*o,right:t.right*o,top:t.top*i,bottom:t.bottom*i}}function El(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function Ru(e){e.display.externalMeasure=null,zt(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)El(e.display.view[t])}function Ws(e){Ru(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function zu(){return Je&&dt?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function wl(){return Je&&dt?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Hu(e){var t=so(e),o=t.widgets,i=0;if(o)for(var n=0;n<o.length;++n)o[n].above&&(i+=Ii(o[n]));return i}function Ga(e,t,o,i,n){if(!n){var u=Hu(t);o.top+=u,o.bottom+=u}if(i=="line")return o;i||(i="local");var c=Do(t);if(i=="local"?c+=ts(e.display):c-=e.display.viewOffset,i=="page"||i=="window"){var y=e.display.lineSpace.getBoundingClientRect();c+=y.top+(i=="window"?0:wl());var B=y.left+(i=="window"?0:zu());o.left+=B,o.right+=B}return o.top+=c,o.bottom+=c,o}function Ci(e,t,o){if(o=="div")return t;var i=t.left,n=t.top;if(o=="page")i-=zu(),n-=wl();else if(o=="local"||!o){var u=e.display.sizer.getBoundingClientRect();i+=u.left,n+=u.top}var c=e.display.lineSpace.getBoundingClientRect();return{left:i-c.left,top:n-c.top}}function Ri(e,t,o,i,n){return i||(i=Oe(e.doc,t.line)),Ga(e,i,ju(e,i,t.ch,n),o)}function uo(e,t,o,i,n,u){i=i||Oe(e.doc,t.line),n||(n=Mo(e,i));function c(Ct,lt){var Bt=ho(e,n,Ct,lt?"right":"left",u);return lt?Bt.left=Bt.right:Bt.right=Bt.left,Ga(e,i,Bt,o)}var y=Ht(i,e.doc.direction),B=t.ch,M=t.sticky;if(B>=i.text.length?(B=i.text.length,M="before"):B<=0&&(B=0,M="after"),!y)return c(M=="before"?B-1:B,M=="before");function ve(Ct,lt,Bt){var er=y[lt],wt=er.level==1;return c(Bt?Ct-1:Ct,wt!=Bt)}var he=di(y,B,M),Ze=kn,Me=ve(B,he,M=="before");return Ze!=null&&(Me.other=ve(B,Ze,M!="before")),Me}function Wu(e,t){var o=0;t=qr(e.doc,t),e.options.lineWrapping||(o=Es(e.display)*t.ch);var i=Oe(e.doc,t.line),n=Do(i)+ts(e.display);return{left:o,right:o,top:n,bottom:n+i.height}}function $s(e,t,o,i,n){var u=b(e,t,o);return u.xRel=n,i&&(u.outside=i),u}function rs(e,t,o){var i=e.doc;if(o+=e.display.viewOffset,o<0)return $s(i.first,0,null,-1,-1);var n=Pi(i,o),u=i.first+i.size-1;if(n>u)return $s(i.first+i.size-1,Oe(i,u).text.length,null,1,1);t<0&&(t=0);for(var c=Oe(i,n);;){var y=Al(e,c,n,t,o),B=jn(c,y.ch+(y.xRel>0||y.outside>0?1:0));if(!B)return y;var M=B.find(1);if(M.line==n)return M;c=Oe(i,n=M.line)}}function $u(e,t,o,i){i-=Hu(t);var n=t.text.length,u=Jn(function(c){return ho(e,o,c-1).bottom<=i},n,0);return n=Jn(function(c){return ho(e,o,c).top>i},u,n),{begin:u,end:n}}function xs(e,t,o,i){o||(o=Mo(e,t));var n=Ga(e,t,ho(e,o,i),"line").top;return $u(e,t,o,n)}function gi(e,t,o,i){return e.bottom<=o?!1:e.top>o?!0:(i?e.left:e.right)>t}function Al(e,t,o,i,n){n-=Do(t);var u=Mo(e,t),c=Hu(t),y=0,B=t.text.length,M=!0,ve=Ht(t,e.doc.direction);if(ve){var he=(e.options.lineWrapping?Fl:Sl)(e,t,o,u,ve,i,n);M=he.level!=1,y=M?he.from:he.to-1,B=M?he.to:he.from-1}var Ze=null,Me=null,Ct=Jn(function(Ve){var wr=ho(e,u,Ve);return wr.top+=c,wr.bottom+=c,gi(wr,i,n,!1)?(wr.top<=n&&wr.left<=i&&(Ze=Ve,Me=wr),!0):!1},y,B),lt,Bt,er=!1;if(Me){var wt=i-Me.left<Me.right-i,It=wt==M;Ct=Ze+(It?0:1),Bt=It?"after":"before",lt=wt?Me.left:Me.right}else{!M&&(Ct==B||Ct==y)&&Ct++,Bt=Ct==0?"after":Ct==t.text.length?"before":ho(e,u,Ct-(M?1:0)).bottom+c<=n==M?"after":"before";var ir=uo(e,b(o,Ct,Bt),"line",t,u);lt=ir.left,er=n<ir.top?-1:n>=ir.bottom?1:0}return Ct=zn(t.text,Ct,1),$s(o,Ct,Bt,er,i-lt)}function Sl(e,t,o,i,n,u,c){var y=Jn(function(he){var Ze=n[he],Me=Ze.level!=1;return gi(uo(e,b(o,Me?Ze.to:Ze.from,Me?"before":"after"),"line",t,i),u,c,!0)},0,n.length-1),B=n[y];if(y>0){var M=B.level!=1,ve=uo(e,b(o,M?B.from:B.to,M?"after":"before"),"line",t,i);gi(ve,u,c,!0)&&ve.top>c&&(B=n[y-1])}return B}function Fl(e,t,o,i,n,u,c){var y=$u(e,t,i,c),B=y.begin,M=y.end;/\s/.test(t.text.charAt(M-1))&&M--;for(var ve=null,he=null,Ze=0;Ze<n.length;Ze++){var Me=n[Ze];if(!(Me.from>=M||Me.to<=B)){var Ct=Me.level!=1,lt=ho(e,i,Ct?Math.min(M,Me.to)-1:Math.max(B,Me.from)).right,Bt=lt<u?u-lt+1e9:lt-u;(!ve||he>Bt)&&(ve=Me,he=Bt)}}return ve||(ve=n[n.length-1]),ve.from<B&&(ve={from:B,to:ve.to,level:ve.level}),ve.to>M&&(ve={from:ve.from,to:M,level:ve.level}),ve}var ns;function Cs(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(ns==null){ns=de("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)ns.appendChild(document.createTextNode("x")),ns.appendChild(de("br"));ns.appendChild(document.createTextNode("x"))}Cr(e.measure,ns);var o=ns.offsetHeight/50;return o>3&&(e.cachedTextHeight=o),zt(e.measure),o||1}function Es(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var t=de("span","xxxxxxxxxx"),o=de("pre",[t],"CodeMirror-line-like");Cr(e.measure,o);var i=t.getBoundingClientRect(),n=(i.right-i.left)/10;return n>2&&(e.cachedCharWidth=n),n||10}function Lo(e){for(var t=e.display,o={},i={},n=t.gutters.clientLeft,u=t.gutters.firstChild,c=0;u;u=u.nextSibling,++c){var y=e.display.gutterSpecs[c].className;o[y]=u.offsetLeft+u.clientLeft+n,i[y]=u.clientWidth}return{fixedPos:Uu(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:o,gutterWidth:i,wrapperWidth:t.wrapper.clientWidth}}function Uu(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Vu(e){var t=Cs(e.display),o=e.options.lineWrapping,i=o&&Math.max(5,e.display.scroller.clientWidth/Es(e.display)-3);return function(n){if(Po(e.doc,n))return 0;var u=0;if(n.widgets)for(var c=0;c<n.widgets.length;c++)n.widgets[c].height&&(u+=n.widgets[c].height);return o?u+(Math.ceil(n.text.length/i)||1)*t:u+t}}function qu(e){var t=e.doc,o=Vu(e);t.iter(function(i){var n=o(i);n!=i.height&&Ln(i,n)})}function ws(e,t,o,i){var n=e.display;if(!o&&Bn(t).getAttribute("cm-not-content")=="true")return null;var u,c,y=n.lineSpace.getBoundingClientRect();try{u=t.clientX-y.left,c=t.clientY-y.top}catch{return null}var B=rs(e,u,c),M;if(i&&B.xRel>0&&(M=Oe(e.doc,B.line).text).length==B.ch){var ve=Gt(M,M.length,e.options.tabSize)-M.length;B=b(B.line,Math.max(0,Math.round((u-qa(e.display).left)/Es(e.display))-ve))}return B}function go(e,t){if(t>=e.display.viewTo||(t-=e.display.viewFrom,t<0))return null;for(var o=e.display.view,i=0;i<o.length;i++)if(t-=o[i].size,t<0)return i}function qi(e,t,o,i){t==null&&(t=e.doc.first),o==null&&(o=e.doc.first+e.doc.size),i||(i=0);var n=e.display;if(i&&o<n.viewTo&&(n.updateLineNumbers==null||n.updateLineNumbers>t)&&(n.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=n.viewTo)Vo&&Ls(e.doc,t)<n.viewTo&&lo(e);else if(o<=n.viewFrom)Vo&&Ra(e.doc,o+i)>n.viewFrom?lo(e):(n.viewFrom+=i,n.viewTo+=i);else if(t<=n.viewFrom&&o>=n.viewTo)lo(e);else if(t<=n.viewFrom){var u=Xa(e,o,o+i,1);u?(n.view=n.view.slice(u.index),n.viewFrom=u.lineN,n.viewTo+=i):lo(e)}else if(o>=n.viewTo){var c=Xa(e,t,t,-1);c?(n.view=n.view.slice(0,c.index),n.viewTo=c.lineN):lo(e)}else{var y=Xa(e,t,t,-1),B=Xa(e,o,o+i,1);y&&B?(n.view=n.view.slice(0,y.index).concat(sa(e,y.lineN,B.lineN)).concat(n.view.slice(B.index)),n.viewTo+=i):lo(e)}var M=n.externalMeasured;M&&(o<M.lineN?M.lineN+=i:t<M.lineN+M.size&&(n.externalMeasured=null))}function qn(e,t,o){e.curOp.viewChanged=!0;var i=e.display,n=e.display.externalMeasured;if(n&&t>=n.lineN&&t<n.lineN+n.size&&(i.externalMeasured=null),!(t<i.viewFrom||t>=i.viewTo)){var u=i.view[go(e,t)];if(u.node!=null){var c=u.changes||(u.changes=[]);Pt(c,o)==-1&&c.push(o)}}}function lo(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Xa(e,t,o,i){var n=go(e,t),u,c=e.display.view;if(!Vo||o==e.doc.first+e.doc.size)return{index:n,lineN:o};for(var y=e.display.viewFrom,B=0;B<n;B++)y+=c[B].size;if(y!=t){if(i>0){if(n==c.length-1)return null;u=y+c[n].size-t,n++}else u=y-t;t+=u,o+=u}for(;Ls(e.doc,o)!=o;){if(n==(i<0?0:c.length-1))return null;o+=i*c[n-(i<0?1:0)].size,n+=i}return{index:n,lineN:o}}function kl(e,t,o){var i=e.display,n=i.view;n.length==0||t>=i.viewTo||o<=i.viewFrom?(i.view=sa(e,t,o),i.viewFrom=t):(i.viewFrom>t?i.view=sa(e,t,i.viewFrom).concat(i.view):i.viewFrom<t&&(i.view=i.view.slice(go(e,t))),i.viewFrom=t,i.viewTo<o?i.view=i.view.concat(sa(e,i.viewTo,o)):i.viewTo>o&&(i.view=i.view.slice(0,go(e,o)))),i.viewTo=o}function Ju(e){for(var t=e.display.view,o=0,i=0;i<t.length;i++){var n=t[i];!n.hidden&&(!n.node||n.changes)&&++o}return o}function is(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Ka(e,t){t===void 0&&(t=!0);var o=e.doc,i={},n=i.cursors=document.createDocumentFragment(),u=i.selection=document.createDocumentFragment(),c=e.options.$customCursor;c&&(t=!0);for(var y=0;y<o.sel.ranges.length;y++)if(!(!t&&y==o.sel.primIndex)){var B=o.sel.ranges[y];if(!(B.from().line>=e.display.viewTo||B.to().line<e.display.viewFrom)){var M=B.empty();if(c){var ve=c(e,B);ve&&ua(e,ve,n)}else(M||e.options.showCursorWhenSelecting)&&ua(e,B.head,n);M||Gu(e,B,u)}}return i}function ua(e,t,o){var i=uo(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),n=o.appendChild(de("div","\xA0","CodeMirror-cursor"));if(n.style.left=i.left+"px",n.style.top=i.top+"px",n.style.height=Math.max(0,i.bottom-i.top)*e.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(e.getWrapperElement().className)){var u=Ri(e,t,"div",null,null),c=u.right-u.left;n.style.width=(c>0?c:e.defaultCharWidth())+"px"}if(i.other){var y=o.appendChild(de("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));y.style.display="",y.style.left=i.other.left+"px",y.style.top=i.other.top+"px",y.style.height=(i.other.bottom-i.other.top)*.85+"px"}}function Us(e,t){return e.top-t.top||e.left-t.left}function Gu(e,t,o){var i=e.display,n=e.doc,u=document.createDocumentFragment(),c=qa(e.display),y=c.left,B=Math.max(i.sizerWidth,Jo(e)-i.sizer.offsetLeft)-c.right,M=n.direction=="ltr";function ve(It,ir,Ve,wr){ir<0&&(ir=0),ir=Math.round(ir),wr=Math.round(wr),u.appendChild(de("div",null,"CodeMirror-selected","position: absolute; left: "+It+`px;
|
|
6
|
+
top: `+ir+"px; width: "+(Ve==null?B-It:Ve)+`px;
|
|
7
|
+
height: `+(wr-ir)+"px"))}function he(It,ir,Ve){var wr=Oe(n,It),Pr=wr.text.length,on,ti;function Hn(yt,xr){return Ri(e,b(It,yt),"div",wr,xr)}function Ai(yt,xr,pn){var hn=xs(e,wr,null,yt),Wn=xr=="ltr"==(pn=="after")?"left":"right",Xn=pn=="after"?hn.begin:hn.end-(/\s/.test(wr.text.charAt(hn.end-1))?2:1);return Hn(Xn,Wn)[Wn]}var De=Ht(wr,n.direction);return Gn(De,ir||0,Ve==null?Pr:Ve,function(yt,xr,pn,hn){var Wn=pn=="ltr",Xn=Hn(yt,Wn?"left":"right"),ri=Hn(xr-1,Wn?"right":"left"),An=ir==null&&yt==0,_n=Ve==null&&xr==Pr,Hi=hn==0,hs=!De||hn==De.length-1;if(ri.top-Xn.top<=3){var $i=(M?An:_n)&&Hi,$l=(M?_n:An)&&hs,gs=$i?y:(Wn?Xn:ri).left,Ca=$l?B:(Wn?ri:Xn).right;ve(gs,Xn.top,Ca-gs,Xn.bottom)}else{var Ks,Ki,Ul,$p;Wn?(Ks=M&&An&&Hi?y:Xn.left,Ki=M?B:Ai(yt,pn,"before"),Ul=M?y:Ai(xr,pn,"after"),$p=M&&_n&&hs?B:ri.right):(Ks=M?Ai(yt,pn,"before"):y,Ki=!M&&An&&Hi?B:Xn.right,Ul=!M&&_n&&hs?y:ri.left,$p=M?Ai(xr,pn,"after"):B),ve(Ks,Xn.top,Ki-Ks,Xn.bottom),Xn.bottom<ri.top&&ve(y,Xn.bottom,null,ri.top),ve(Ul,ri.top,$p-Ul,ri.bottom)}(!on||Us(Xn,on)<0)&&(on=Xn),Us(ri,on)<0&&(on=ri),(!ti||Us(Xn,ti)<0)&&(ti=Xn),Us(ri,ti)<0&&(ti=ri)}),{start:on,end:ti}}var Ze=t.from(),Me=t.to();if(Ze.line==Me.line)he(Ze.line,Ze.ch,Me.ch);else{var Ct=Oe(n,Ze.line),lt=Oe(n,Me.line),Bt=so(Ct)==so(lt),er=he(Ze.line,Ze.ch,Bt?Ct.text.length+1:null).end,wt=he(Me.line,Bt?0:null,Me.ch).start;Bt&&(er.top<wt.top-2?(ve(er.right,er.top,null,er.bottom),ve(y,wt.top,wt.left,wt.bottom)):ve(er.right,er.top,wt.left-er.right,er.bottom)),er.bottom<wt.top&&ve(y,er.bottom,null,wt.top)}o.appendChild(u)}function la(e){if(!!e.state.focused){var t=e.display;clearInterval(t.blinker);var o=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){e.hasFocus()||os(e),t.cursorDiv.style.visibility=(o=!o)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Qa(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Vs(e))}function ca(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&os(e))},100)}function Vs(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),e.options.readOnly!="nocursor"&&(e.state.focused||(yr(e,"focus",e,t),e.state.focused=!0,Vn(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),Be&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),la(e))}function os(e,t){e.state.delayingBlurEvent||(e.state.focused&&(yr(e,"blur",e,t),e.state.focused=!1,gn(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function ss(e){for(var t=e.display,o=t.lineDiv.offsetTop,i=Math.max(0,t.scroller.getBoundingClientRect().top),n=t.lineDiv.getBoundingClientRect().top,u=0,c=0;c<t.view.length;c++){var y=t.view[c],B=e.options.lineWrapping,M=void 0,ve=0;if(!y.hidden){if(n+=y.line.height,ue&&Ae<8){var he=y.node.offsetTop+y.node.offsetHeight;M=he-o,o=he}else{var Ze=y.node.getBoundingClientRect();M=Ze.bottom-Ze.top,!B&&y.text.firstChild&&(ve=y.text.firstChild.getBoundingClientRect().right-Ze.left-1)}var Me=y.line.height-M;if((Me>.005||Me<-.005)&&(n<i&&(u-=Me),Ln(y.line,M),pa(y.line),y.rest))for(var Ct=0;Ct<y.rest.length;Ct++)pa(y.rest[Ct]);if(ve>e.display.sizerWidth){var lt=Math.ceil(ve/Es(e.display));lt>e.display.maxLineLength&&(e.display.maxLineLength=lt,e.display.maxLine=y.line,e.display.maxLineChanged=!0)}}}Math.abs(u)>2&&(t.scroller.scrollTop+=u)}function pa(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var o=e.widgets[t],i=o.node.parentNode;i&&(o.height=i.offsetHeight)}}function As(e,t,o){var i=o&&o.top!=null?Math.max(0,o.top):e.scroller.scrollTop;i=Math.floor(i-ts(e));var n=o&&o.bottom!=null?o.bottom:i+e.wrapper.clientHeight,u=Pi(t,i),c=Pi(t,n);if(o&&o.ensure){var y=o.ensure.from.line,B=o.ensure.to.line;y<u?(u=y,c=Pi(t,Do(Oe(t,y))+e.wrapper.clientHeight)):Math.min(B,t.lastLine())>=c&&(u=Pi(t,Do(Oe(t,B))-e.wrapper.clientHeight),c=B)}return{from:u,to:Math.max(c,u+1)}}function Xu(e,t){if(!at(e,"scrollCursorIntoView")){var o=e.display,i=o.sizer.getBoundingClientRect(),n=null;if(t.top+i.top<0?n=!0:t.bottom+i.top>(window.innerHeight||document.documentElement.clientHeight)&&(n=!1),n!=null&&!et){var u=de("div","\u200B",null,`position: absolute;
|
|
8
|
+
top: `+(t.top-o.viewOffset-ts(e.display))+`px;
|
|
9
|
+
height: `+(t.bottom-t.top+Co(e)+o.barHeight)+`px;
|
|
10
|
+
left: `+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(u),u.scrollIntoView(n),e.display.lineSpace.removeChild(u)}}}function Ku(e,t,o,i){i==null&&(i=0);var n;!e.options.lineWrapping&&t==o&&(o=t.sticky=="before"?b(t.line,t.ch+1,"before"):t,t=t.ch?b(t.line,t.sticky=="before"?t.ch-1:t.ch,"after"):t);for(var u=0;u<5;u++){var c=!1,y=uo(e,t),B=!o||o==t?y:uo(e,o);n={left:Math.min(y.left,B.left),top:Math.min(y.top,B.top)-i,right:Math.max(y.left,B.left),bottom:Math.max(y.bottom,B.bottom)+i};var M=Qu(e,n),ve=e.doc.scrollTop,he=e.doc.scrollLeft;if(M.scrollTop!=null&&(qs(e,M.scrollTop),Math.abs(e.doc.scrollTop-ve)>1&&(c=!0)),M.scrollLeft!=null&&(Io(e,M.scrollLeft),Math.abs(e.doc.scrollLeft-he)>1&&(c=!0)),!c)break}return n}function xc(e,t){var o=Qu(e,t);o.scrollTop!=null&&qs(e,o.scrollTop),o.scrollLeft!=null&&Io(e,o.scrollLeft)}function Qu(e,t){var o=e.display,i=Cs(e.display);t.top<0&&(t.top=0);var n=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:o.scroller.scrollTop,u=Hs(e),c={};t.bottom-t.top>u&&(t.bottom=t.top+u);var y=e.doc.height+jo(o),B=t.top<i,M=t.bottom>y-i;if(t.top<n)c.scrollTop=B?0:t.top;else if(t.bottom>n+u){var ve=Math.min(t.top,(M?y:t.bottom)-u);ve!=n&&(c.scrollTop=ve)}var he=e.options.fixedGutter?0:o.gutters.offsetWidth,Ze=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:o.scroller.scrollLeft-he,Me=Jo(e)-o.gutters.offsetWidth,Ct=t.right-t.left>Me;return Ct&&(t.right=t.left+Me),t.left<10?c.scrollLeft=0:t.left<Ze?c.scrollLeft=Math.max(0,t.left+he-(Ct?0:10)):t.right>Me+Ze-3&&(c.scrollLeft=t.right+(Ct?0:10)-Me),c}function fa(e,t){t!=null&&(us(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Go(e){us(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function as(e,t,o){(t!=null||o!=null)&&us(e),t!=null&&(e.curOp.scrollLeft=t),o!=null&&(e.curOp.scrollTop=o)}function Yu(e,t){us(e),e.curOp.scrollToPos=t}function us(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var o=Wu(e,t.from),i=Wu(e,t.to);da(e,o,i,t.margin)}}function da(e,t,o,i){var n=Qu(e,{left:Math.min(t.left,o.left),top:Math.min(t.top,o.top)-i,right:Math.max(t.right,o.right),bottom:Math.max(t.bottom,o.bottom)+i});as(e,n.scrollLeft,n.scrollTop)}function qs(e,t){Math.abs(e.doc.scrollTop-t)<2||(f||tu(e,{top:t}),Ya(e,t,!0),f&&tu(e),ls(e,100))}function Ya(e,t,o){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),!(e.display.scroller.scrollTop==t&&!o)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Io(e,t,o,i){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),!((o?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!i)&&(e.doc.scrollLeft=t,Ol(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Js(e){var t=e.display,o=t.gutters.offsetWidth,i=Math.round(e.doc.height+jo(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?o:0,docHeight:i,scrollHeight:i+Co(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:o}}var Ro=function(e,t,o){this.cm=o;var i=this.vert=de("div",[de("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),n=this.horiz=de("div",[de("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");i.tabIndex=n.tabIndex=-1,e(i),e(n),ht(i,"scroll",function(){i.clientHeight&&t(i.scrollTop,"vertical")}),ht(n,"scroll",function(){n.clientWidth&&t(n.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ue&&Ae<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ro.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,o=e.scrollHeight>e.clientHeight+1,i=e.nativeBarWidth;if(o){this.vert.style.display="block",this.vert.style.bottom=t?i+"px":"0";var n=e.viewHeight-(t?i:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+n)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=o?i+"px":"0",this.horiz.style.left=e.barLeft+"px";var u=e.viewWidth-e.barLeft-(o?i:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+u)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(i==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:o?i:0,bottom:t?i:0}},Ro.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ro.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ro.prototype.zeroWidthHack=function(){var e=pr&&!nr?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new ar,this.disableVert=new ar},Ro.prototype.enableZeroWidthBar=function(e,t,o){e.style.visibility="";function i(){var n=e.getBoundingClientRect(),u=o=="vert"?document.elementFromPoint(n.right-1,(n.top+n.bottom)/2):document.elementFromPoint((n.right+n.left)/2,n.bottom-1);u!=e?e.style.visibility="hidden":t.set(1e3,i)}t.set(1e3,i)},Ro.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Ss=function(){};Ss.prototype.update=function(){return{bottom:0,right:0}},Ss.prototype.setScrollLeft=function(){},Ss.prototype.setScrollTop=function(){},Ss.prototype.clear=function(){};function wo(e,t){t||(t=Js(e));var o=e.display.barWidth,i=e.display.barHeight;Za(e,t);for(var n=0;n<4&&o!=e.display.barWidth||i!=e.display.barHeight;n++)o!=e.display.barWidth&&e.options.lineWrapping&&ss(e),Za(e,Js(e)),o=e.display.barWidth,i=e.display.barHeight}function Za(e,t){var o=e.display,i=o.scrollbars.update(t);o.sizer.style.paddingRight=(o.barWidth=i.right)+"px",o.sizer.style.paddingBottom=(o.barHeight=i.bottom)+"px",o.heightForcer.style.borderBottom=i.bottom+"px solid transparent",i.right&&i.bottom?(o.scrollbarFiller.style.display="block",o.scrollbarFiller.style.height=i.bottom+"px",o.scrollbarFiller.style.width=i.right+"px"):o.scrollbarFiller.style.display="",i.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(o.gutterFiller.style.display="block",o.gutterFiller.style.height=i.bottom+"px",o.gutterFiller.style.width=t.gutterWidth+"px"):o.gutterFiller.style.display=""}var ha={native:Ro,null:Ss};function ga(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&gn(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new ha[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),ht(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,o){o=="horizontal"?Io(e,t):qs(e,t)},e),e.display.scrollbars.addClass&&Vn(e.display.wrapper,e.display.scrollbars.addClass)}var Cc=0;function Fs(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Cc,markArrays:null},gc(e.curOp)}function zi(e){var t=e.curOp;t&&yc(t,function(o){for(var i=0;i<o.ops.length;i++)o.ops[i].cm.curOp=null;ma(o)})}function ma(e){for(var t=e.ops,o=0;o<t.length;o++)Zu(t[o]);for(var i=0;i<t.length;i++)Tl(t[i]);for(var n=0;n<t.length;n++)Ec(t[n]);for(var u=0;u<t.length;u++)eu(t[u]);for(var c=0;c<t.length;c++)ya(t[c])}function Zu(e){var t=e.cm,o=t.display;_l(t),e.updateMaxLine&&Rs(t),e.mustUpdate=e.viewChanged||e.forceUpdate||e.scrollTop!=null||e.scrollToPos&&(e.scrollToPos.from.line<o.viewFrom||e.scrollToPos.to.line>=o.viewTo)||o.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new cs(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Tl(e){e.updatedDisplay=e.mustUpdate&&rl(e.cm,e.update)}function Ec(e){var t=e.cm,o=t.display;e.updatedDisplay&&ss(t),e.barMeasure=Js(t),o.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=ju(t,o.maxLine,o.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(o.scroller.clientWidth,o.sizer.offsetLeft+e.adjustWidthTo+Co(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,o.sizer.offsetLeft+e.adjustWidthTo-Jo(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=o.input.prepareSelection())}function eu(e){var t=e.cm;e.adjustWidthTo!=null&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&Io(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var o=e.focus&&e.focus==tn();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,o),(e.updatedDisplay||e.startHeight!=t.doc.height)&&wo(t,e.barMeasure),e.updatedDisplay&&va(t,e.barMeasure),e.selectionChanged&&la(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),o&&Qa(e.cm)}function ya(e){var t=e.cm,o=t.display,i=t.doc;if(e.updatedDisplay&&Bl(t,e.update),o.wheelStartX!=null&&(e.scrollTop!=null||e.scrollLeft!=null||e.scrollToPos)&&(o.wheelStartX=o.wheelStartY=null),e.scrollTop!=null&&Ya(t,e.scrollTop,e.forceScroll),e.scrollLeft!=null&&Io(t,e.scrollLeft,!0,!0),e.scrollToPos){var n=Ku(t,qr(i,e.scrollToPos.from),qr(i,e.scrollToPos.to),e.scrollToPos.margin);Xu(t,n)}var u=e.maybeHiddenMarkers,c=e.maybeUnhiddenMarkers;if(u)for(var y=0;y<u.length;++y)u[y].lines.length||yr(u[y],"hide");if(c)for(var B=0;B<c.length;++B)c[B].lines.length&&yr(c[B],"unhide");o.wrapper.offsetHeight&&(i.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&yr(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Wi(e,t){if(e.curOp)return t();Fs(e);try{return t()}finally{zi(e)}}function Ei(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Fs(e);try{return t.apply(e,arguments)}finally{zi(e)}}}function Oi(e){return function(){if(this.curOp)return e.apply(this,arguments);Fs(this);try{return e.apply(this,arguments)}finally{zi(this)}}}function vi(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Fs(t);try{return e.apply(this,arguments)}finally{zi(t)}}}function ls(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,On(el,e))}function el(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var o=+new Date+e.options.workTime,i=ms(e,t.highlightFrontier),n=[];t.iter(i.line,Math.min(t.first+t.size,e.display.viewTo+500),function(u){if(i.line>=e.display.viewFrom){var c=u.styles,y=u.text.length>e.options.maxHighlightLength?Zn(t.mode,i.state):null,B=Du(e,u,i,!0);y&&(i.state=y),u.styles=B.styles;var M=u.styleClasses,ve=B.classes;ve?u.styleClasses=ve:M&&(u.styleClasses=null);for(var he=!c||c.length!=u.styles.length||M!=ve&&(!M||!ve||M.bgClass!=ve.bgClass||M.textClass!=ve.textClass),Ze=0;!he&&Ze<c.length;++Ze)he=c[Ze]!=u.styles[Ze];he&&n.push(i.line),u.stateAfter=i.save(),i.nextLine()}else u.text.length<=e.options.maxHighlightLength&&Na(e,u.text,i),u.stateAfter=i.line%5==0?i.save():null,i.nextLine();if(+new Date>o)return ls(e,e.options.workDelay),!0}),t.highlightFrontier=i.line,t.modeFrontier=Math.max(t.modeFrontier,i.line),n.length&&Wi(e,function(){for(var u=0;u<n.length;u++)qn(e,n[u],"text")})}}var cs=function(e,t,o){var i=e.display;this.viewport=t,this.visible=As(i,e.doc,t),this.editorIsHidden=!i.wrapper.offsetWidth,this.wrapperHeight=i.wrapper.clientHeight,this.wrapperWidth=i.wrapper.clientWidth,this.oldDisplayWidth=Jo(e),this.force=o,this.dims=Lo(e),this.events=[]};cs.prototype.signal=function(e,t){Jr(e,t)&&this.events.push(arguments)},cs.prototype.finish=function(){for(var e=0;e<this.events.length;e++)yr.apply(null,this.events[e])};function _l(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Co(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Co(e)+"px",t.scrollbarsClipped=!0)}function Nl(e){if(e.hasFocus())return null;var t=tn();if(!t||!Ar(e.display.lineDiv,t))return null;var o={activeElt:t};if(window.getSelection){var i=window.getSelection();i.anchorNode&&i.extend&&Ar(e.display.lineDiv,i.anchorNode)&&(o.anchorNode=i.anchorNode,o.anchorOffset=i.anchorOffset,o.focusNode=i.focusNode,o.focusOffset=i.focusOffset)}return o}function tl(e){if(!(!e||!e.activeElt||e.activeElt==tn())&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&Ar(document.body,e.anchorNode)&&Ar(document.body,e.focusNode))){var t=window.getSelection(),o=document.createRange();o.setEnd(e.anchorNode,e.anchorOffset),o.collapse(!1),t.removeAllRanges(),t.addRange(o),t.extend(e.focusNode,e.focusOffset)}}function rl(e,t){var o=e.display,i=e.doc;if(t.editorIsHidden)return lo(e),!1;if(!t.force&&t.visible.from>=o.viewFrom&&t.visible.to<=o.viewTo&&(o.updateLineNumbers==null||o.updateLineNumbers>=o.viewTo)&&o.renderedView==o.view&&Ju(e)==0)return!1;jl(e)&&(lo(e),t.dims=Lo(e));var n=i.first+i.size,u=Math.max(t.visible.from-e.options.viewportMargin,i.first),c=Math.min(n,t.visible.to+e.options.viewportMargin);o.viewFrom<u&&u-o.viewFrom<20&&(u=Math.max(i.first,o.viewFrom)),o.viewTo>c&&o.viewTo-c<20&&(c=Math.min(n,o.viewTo)),Vo&&(u=Ls(e.doc,u),c=Ra(e.doc,c));var y=u!=o.viewFrom||c!=o.viewTo||o.lastWrapHeight!=t.wrapperHeight||o.lastWrapWidth!=t.wrapperWidth;kl(e,u,c),o.viewOffset=Do(Oe(e.doc,o.viewFrom)),e.display.mover.style.top=o.viewOffset+"px";var B=Ju(e);if(!y&&B==0&&!t.force&&o.renderedView==o.view&&(o.updateLineNumbers==null||o.updateLineNumbers>=o.viewTo))return!1;var M=Nl(e);return B>4&&(o.lineDiv.style.display="none"),Pl(e,o.updateLineNumbers,t.dims),B>4&&(o.lineDiv.style.display=""),o.renderedView=o.view,tl(M),zt(o.cursorDiv),zt(o.selectionDiv),o.gutters.style.height=o.sizer.style.minHeight=0,y&&(o.lastWrapHeight=t.wrapperHeight,o.lastWrapWidth=t.wrapperWidth,ls(e,400)),o.updateLineNumbers=null,!0}function Bl(e,t){for(var o=t.viewport,i=!0;;i=!1){if(!i||!e.options.lineWrapping||t.oldDisplayWidth==Jo(e)){if(o&&o.top!=null&&(o={top:Math.min(e.doc.height+jo(e.display)-Hs(e),o.top)}),t.visible=As(e.display,e.doc,o),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break}else i&&(t.visible=As(e.display,e.doc,o));if(!rl(e,t))break;ss(e);var n=Js(e);is(e),wo(e,n),va(e,n),t.force=!1}t.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function tu(e,t){var o=new cs(e,t);if(rl(e,o)){ss(e),Bl(e,o);var i=Js(e);is(e),wo(e,i),va(e,i),o.finish()}}function Pl(e,t,o){var i=e.display,n=e.options.lineNumbers,u=i.lineDiv,c=u.firstChild;function y(Ct){var lt=Ct.nextSibling;return Be&&pr&&e.display.currentWheelTarget==Ct?Ct.style.display="none":Ct.parentNode.removeChild(Ct),lt}for(var B=i.view,M=i.viewFrom,ve=0;ve<B.length;ve++){var he=B[ve];if(!he.hidden)if(!he.node||he.node.parentNode!=u){var Ze=aa(e,he,M,o);u.insertBefore(Ze,c)}else{for(;c!=he.node;)c=y(c);var Me=n&&t!=null&&t<=M&&he.lineNumber;he.changes&&(Pt(he.changes,"gutter")>-1&&(Me=!1),xl(e,he,M,o)),Me&&(zt(he.lineNumber),he.lineNumber.appendChild(document.createTextNode(xi(e.options,M)))),c=he.node.nextSibling}M+=he.size}for(;c;)c=y(c)}function ru(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",Ni(e,"gutterChanged",e)}function va(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Co(e)+"px"}function Ol(e){var t=e.display,o=t.view;if(!(!t.alignWidgets&&(!t.gutters.firstChild||!e.options.fixedGutter))){for(var i=Uu(t)-t.scroller.scrollLeft+e.doc.scrollLeft,n=t.gutters.offsetWidth,u=i+"px",c=0;c<o.length;c++)if(!o[c].hidden){e.options.fixedGutter&&(o[c].gutter&&(o[c].gutter.style.left=u),o[c].gutterBackground&&(o[c].gutterBackground.style.left=u));var y=o[c].alignable;if(y)for(var B=0;B<y.length;B++)y[B].style.left=u}e.options.fixedGutter&&(t.gutters.style.left=i+n+"px")}}function jl(e){if(!e.options.lineNumbers)return!1;var t=e.doc,o=xi(e.options,t.first+t.size-1),i=e.display;if(o.length!=i.lineNumChars){var n=i.measure.appendChild(de("div",[de("div",o)],"CodeMirror-linenumber CodeMirror-gutter-elt")),u=n.firstChild.offsetWidth,c=n.offsetWidth-u;return i.lineGutter.style.width="",i.lineNumInnerWidth=Math.max(u,i.lineGutter.offsetWidth-c)+1,i.lineNumWidth=i.lineNumInnerWidth+c,i.lineNumChars=i.lineNumInnerWidth?o.length:-1,i.lineGutter.style.width=i.lineNumWidth+"px",ru(e.display),!0}return!1}function nl(e,t){for(var o=[],i=!1,n=0;n<e.length;n++){var u=e[n],c=null;if(typeof u!="string"&&(c=u.style,u=u.className),u=="CodeMirror-linenumbers")if(t)i=!0;else continue;o.push({className:u,style:c})}return t&&!i&&o.push({className:"CodeMirror-linenumbers",style:null}),o}function Ml(e){var t=e.gutters,o=e.gutterSpecs;zt(t),e.lineGutter=null;for(var i=0;i<o.length;++i){var n=o[i],u=n.className,c=n.style,y=t.appendChild(de("div",null,"CodeMirror-gutter "+u));c&&(y.style.cssText=c),u=="CodeMirror-linenumbers"&&(e.lineGutter=y,y.style.width=(e.lineNumWidth||1)+"px")}t.style.display=o.length?"":"none",ru(e)}function zo(e){Ml(e.display),qi(e),Ol(e)}function wc(e,t,o,i){var n=this;this.input=o,n.scrollbarFiller=de("div",null,"CodeMirror-scrollbar-filler"),n.scrollbarFiller.setAttribute("cm-not-content","true"),n.gutterFiller=de("div",null,"CodeMirror-gutter-filler"),n.gutterFiller.setAttribute("cm-not-content","true"),n.lineDiv=lr("div",null,"CodeMirror-code"),n.selectionDiv=de("div",null,null,"position: relative; z-index: 1"),n.cursorDiv=de("div",null,"CodeMirror-cursors"),n.measure=de("div",null,"CodeMirror-measure"),n.lineMeasure=de("div",null,"CodeMirror-measure"),n.lineSpace=lr("div",[n.measure,n.lineMeasure,n.selectionDiv,n.cursorDiv,n.lineDiv],null,"position: relative; outline: none");var u=lr("div",[n.lineSpace],"CodeMirror-lines");n.mover=de("div",[u],null,"position: relative"),n.sizer=de("div",[n.mover],"CodeMirror-sizer"),n.sizerWidth=null,n.heightForcer=de("div",null,null,"position: absolute; height: "+Dr+"px; width: 1px;"),n.gutters=de("div",null,"CodeMirror-gutters"),n.lineGutter=null,n.scroller=de("div",[n.sizer,n.heightForcer,n.gutters],"CodeMirror-scroll"),n.scroller.setAttribute("tabIndex","-1"),n.wrapper=de("div",[n.scrollbarFiller,n.gutterFiller,n.scroller],"CodeMirror"),n.wrapper.setAttribute("translate","no"),ue&&Ae<8&&(n.gutters.style.zIndex=-1,n.scroller.style.paddingRight=0),!Be&&!(f&&Wt)&&(n.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(n.wrapper):e(n.wrapper)),n.viewFrom=n.viewTo=t.first,n.reportedViewFrom=n.reportedViewTo=t.first,n.view=[],n.renderedView=null,n.externalMeasured=null,n.viewOffset=0,n.lastWrapHeight=n.lastWrapWidth=0,n.updateLineNumbers=null,n.nativeBarWidth=n.barHeight=n.barWidth=0,n.scrollbarsClipped=!1,n.lineNumWidth=n.lineNumInnerWidth=n.lineNumChars=null,n.alignWidgets=!1,n.cachedCharWidth=n.cachedTextHeight=n.cachedPaddingH=null,n.maxLine=null,n.maxLineLength=0,n.maxLineChanged=!1,n.wheelDX=n.wheelDY=n.wheelStartX=n.wheelStartY=null,n.shift=!1,n.selForContextMenu=null,n.activeTouch=null,n.gutterSpecs=nl(i.gutters,i.lineNumbers),Ml(n),o.init(n)}var nu=0,Ao=null;ue?Ao=-.53:f?Ao=15:Je?Ao=-.7:Qt&&(Ao=-1/3);function iu(e){var t=e.wheelDeltaX,o=e.wheelDeltaY;return t==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),o==null&&e.detail&&e.axis==e.VERTICAL_AXIS?o=e.detail:o==null&&(o=e.wheelDelta),{x:t,y:o}}function Ll(e){var t=iu(e);return t.x*=Ao,t.y*=Ao,t}function il(e,t){Je&&rt>=102&&(e.display.chromeScrollHack==null?e.display.sizer.style.pointerEvents="none":clearTimeout(e.display.chromeScrollHack),e.display.chromeScrollHack=setTimeout(function(){e.display.chromeScrollHack=null,e.display.sizer.style.pointerEvents=""},100));var o=iu(t),i=o.x,n=o.y,u=Ao;t.deltaMode===0&&(i=t.deltaX,n=t.deltaY,u=1);var c=e.display,y=c.scroller,B=y.scrollWidth>y.clientWidth,M=y.scrollHeight>y.clientHeight;if(!!(i&&B||n&&M)){if(n&&pr&&Be){e:for(var ve=t.target,he=c.view;ve!=y;ve=ve.parentNode)for(var Ze=0;Ze<he.length;Ze++)if(he[Ze].node==ve){e.display.currentWheelTarget=ve;break e}}if(i&&!f&&!bt&&u!=null){n&&M&&qs(e,Math.max(0,y.scrollTop+n*u)),Io(e,Math.max(0,y.scrollLeft+i*u)),(!n||n&&M)&&vt(t),c.wheelStartX=null;return}if(n&&u!=null){var Me=n*u,Ct=e.doc.scrollTop,lt=Ct+c.wrapper.clientHeight;Me<0?Ct=Math.max(0,Ct+Me-50):lt=Math.min(e.doc.height,lt+Me+50),tu(e,{top:Ct,bottom:lt})}nu<20&&t.deltaMode!==0&&(c.wheelStartX==null?(c.wheelStartX=y.scrollLeft,c.wheelStartY=y.scrollTop,c.wheelDX=i,c.wheelDY=n,setTimeout(function(){if(c.wheelStartX!=null){var Bt=y.scrollLeft-c.wheelStartX,er=y.scrollTop-c.wheelStartY,wt=er&&c.wheelDY&&er/c.wheelDY||Bt&&c.wheelDX&&Bt/c.wheelDX;c.wheelStartX=c.wheelStartY=null,wt&&(Ao=(Ao*nu+wt)/(nu+1),++nu)}},200)):(c.wheelDX+=i,c.wheelDY+=n))}}var co=function(e,t){this.ranges=e,this.primIndex=t};co.prototype.primary=function(){return this.ranges[this.primIndex]},co.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var o=this.ranges[t],i=e.ranges[t];if(!tr(o.anchor,i.anchor)||!tr(o.head,i.head))return!1}return!0},co.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new ei(br(this.ranges[t].anchor),br(this.ranges[t].head));return new co(e,this.primIndex)},co.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},co.prototype.contains=function(e,t){t||(t=e);for(var o=0;o<this.ranges.length;o++){var i=this.ranges[o];if(Pe(t,i.from())>=0&&Pe(e,i.to())<=0)return o}return-1};var ei=function(e,t){this.anchor=e,this.head=t};ei.prototype.from=function(){return $n(this.anchor,this.head)},ei.prototype.to=function(){return nn(this.anchor,this.head)},ei.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function So(e,t,o){var i=e&&e.options.selectionsMayTouch,n=t[o];t.sort(function(Ze,Me){return Pe(Ze.from(),Me.from())}),o=Pt(t,n);for(var u=1;u<t.length;u++){var c=t[u],y=t[u-1],B=Pe(y.to(),c.from());if(i&&!c.empty()?B>0:B>=0){var M=$n(y.from(),c.from()),ve=nn(y.to(),c.to()),he=y.empty()?c.from()==c.head:y.from()==y.head;u<=o&&--o,t.splice(--u,2,new ei(he?ve:M,he?M:ve))}}return new co(t,o)}function ps(e,t){return new co([new ei(e,t||e)],0)}function Ho(e){return e.text?b(e.from.line+e.text.length-1,kt(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function ou(e,t){if(Pe(e,t.from)<0)return e;if(Pe(e,t.to)<=0)return Ho(t);var o=e.line+t.text.length-(t.to.line-t.from.line)-1,i=e.ch;return e.line==t.to.line&&(i+=Ho(t).ch-t.to.ch),b(o,i)}function fs(e,t){for(var o=[],i=0;i<e.sel.ranges.length;i++){var n=e.sel.ranges[i];o.push(new ei(ou(n.anchor,t),ou(n.head,t)))}return So(e.cm,o,e.sel.primIndex)}function ol(e,t,o){return e.line==t.line?b(o.line,e.ch-t.ch+o.ch):b(o.line+(e.line-t.line),e.ch)}function Il(e,t,o){for(var i=[],n=b(e.first,0),u=n,c=0;c<t.length;c++){var y=t[c],B=ol(y.from,n,u),M=ol(Ho(y),n,u);if(n=y.to,u=M,o=="around"){var ve=e.sel.ranges[c],he=Pe(ve.head,ve.anchor)<0;i[c]=new ei(he?M:B,he?B:M)}else i[c]=new ei(B,B)}return new co(i,e.sel.primIndex)}function Xo(e){e.doc.mode=mn(e.options,e.doc.modeOption),Fo(e)}function Fo(e){e.doc.iter(function(t){t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,ls(e,100),e.state.modeGen++,e.curOp&&qi(e)}function Rl(e,t){return t.from.ch==0&&t.to.ch==0&&kt(t.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function sl(e,t,o,i){function n(wt){return o?o[wt]:null}function u(wt,It,ir){oa(wt,It,ir,i),Ni(wt,"change",wt,t)}function c(wt,It){for(var ir=[],Ve=wt;Ve<It;++Ve)ir.push(new Zo(M[Ve],n(Ve),i));return ir}var y=t.from,B=t.to,M=t.text,ve=Oe(e,y.line),he=Oe(e,B.line),Ze=kt(M),Me=n(M.length-1),Ct=B.line-y.line;if(t.full)e.insert(0,c(0,M.length)),e.remove(M.length,e.size-M.length);else if(Rl(e,t)){var lt=c(0,M.length-1);u(he,he.text,Me),Ct&&e.remove(y.line,Ct),lt.length&&e.insert(y.line,lt)}else if(ve==he)if(M.length==1)u(ve,ve.text.slice(0,y.ch)+Ze+ve.text.slice(B.ch),Me);else{var Bt=c(1,M.length-1);Bt.push(new Zo(Ze+ve.text.slice(B.ch),Me,i)),u(ve,ve.text.slice(0,y.ch)+M[0],n(0)),e.insert(y.line+1,Bt)}else if(M.length==1)u(ve,ve.text.slice(0,y.ch)+M[0]+he.text.slice(B.ch),n(0)),e.remove(y.line+1,Ct);else{u(ve,ve.text.slice(0,y.ch)+M[0],n(0)),u(he,Ze+he.text.slice(B.ch),Me);var er=c(1,M.length-1);Ct>1&&e.remove(y.line+1,Ct-1),e.insert(y.line+1,er)}Ni(e,"change",e,t)}function ds(e,t,o){function i(n,u,c){if(n.linked)for(var y=0;y<n.linked.length;++y){var B=n.linked[y];if(B.doc!=u){var M=c&&B.sharedHist;o&&!M||(t(B.doc,M),i(B.doc,n,M))}}}i(e,null,!0)}function al(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,qu(e),Xo(e),ul(e),e.options.direction=t.direction,e.options.lineWrapping||Rs(e),e.options.mode=t.modeOption,qi(e)}function ul(e){(e.doc.direction=="rtl"?Vn:gn)(e.display.lineDiv,"CodeMirror-rtl")}function Ac(e){Wi(e,function(){ul(e),qi(e)})}function Gs(e){this.done=[],this.undone=[],this.undoDepth=e?e.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e?e.maxGeneration:1}function Da(e,t){var o={from:br(t.from),to:Ho(t),text:Bi(e,t.from,t.to)};return pe(e,o,t.from.line,t.to.line+1),ds(e,function(i){return pe(i,o,t.from.line,t.to.line+1)},!0),o}function su(e){for(;e.length;){var t=kt(e);if(t.ranges)e.pop();else break}}function v(e,t){if(t)return su(e.done),kt(e.done);if(e.done.length&&!kt(e.done).ranges)return kt(e.done);if(e.done.length>1&&!e.done[e.done.length-2].ranges)return e.done.pop(),kt(e.done)}function te(e,t,o,i){var n=e.history;n.undone.length=0;var u=+new Date,c,y;if((n.lastOp==i||n.lastOrigin==t.origin&&t.origin&&(t.origin.charAt(0)=="+"&&n.lastModTime>u-(e.cm?e.cm.options.historyEventDelay:500)||t.origin.charAt(0)=="*"))&&(c=v(n,n.lastOp==i)))y=kt(c.changes),Pe(t.from,t.to)==0&&Pe(t.from,y.to)==0?y.to=Ho(t):c.changes.push(Da(e,t));else{var B=kt(n.done);for((!B||!B.ranges)&&Z(e.sel,n.done),c={changes:[Da(e,t)],generation:n.generation},n.done.push(c);n.done.length>n.undoDepth;)n.done.shift(),n.done[0].ranges||n.done.shift()}n.done.push(o),n.generation=++n.maxGeneration,n.lastModTime=n.lastSelTime=u,n.lastOp=n.lastSelOp=i,n.lastOrigin=n.lastSelOrigin=t.origin,y||yr(e,"historyAdded")}function G(e,t,o,i){var n=t.charAt(0);return n=="*"||n=="+"&&o.ranges.length==i.ranges.length&&o.somethingSelected()==i.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function q(e,t,o,i){var n=e.history,u=i&&i.origin;o==n.lastSelOp||u&&n.lastSelOrigin==u&&(n.lastModTime==n.lastSelTime&&n.lastOrigin==u||G(e,u,kt(n.done),t))?n.done[n.done.length-1]=t:Z(t,n.done),n.lastSelTime=+new Date,n.lastSelOrigin=u,n.lastSelOp=o,i&&i.clearRedo!==!1&&su(n.undone)}function Z(e,t){var o=kt(t);o&&o.ranges&&o.equals(e)||t.push(e)}function pe(e,t,o,i){var n=t["spans_"+e.id],u=0;e.iter(Math.max(e.first,o),Math.min(e.first+e.size,i),function(c){c.markedSpans&&((n||(n=t["spans_"+e.id]={}))[u]=c.markedSpans),++u})}function fe(e){if(!e)return null;for(var t,o=0;o<e.length;++o)e[o].marker.explicitlyCleared?t||(t=e.slice(0,o)):t&&t.push(e[o]);return t?t.length?t:null:e}function be(e,t){var o=t["spans_"+e.id];if(!o)return null;for(var i=[],n=0;n<t.text.length;++n)i.push(fe(o[n]));return i}function le(e,t){var o=be(e,t),i=Fu(e,t);if(!o)return i;if(!i)return o;for(var n=0;n<o.length;++n){var u=o[n],c=i[n];if(u&&c){e:for(var y=0;y<c.length;++y){for(var B=c[y],M=0;M<u.length;++M)if(u[M].marker==B.marker)continue e;u.push(B)}}else c&&(o[n]=c)}return o}function ge(e,t,o){for(var i=[],n=0;n<e.length;++n){var u=e[n];if(u.ranges){i.push(o?co.prototype.deepCopy.call(u):u);continue}var c=u.changes,y=[];i.push({changes:y});for(var B=0;B<c.length;++B){var M=c[B],ve=void 0;if(y.push({from:M.from,to:M.to,text:M.text}),t)for(var he in M)(ve=he.match(/^spans_(\d+)$/))&&Pt(t,Number(ve[1]))>-1&&(kt(y)[he]=M[he],delete M[he])}}return i}function E(e,t,o,i){if(i){var n=e.anchor;if(o){var u=Pe(t,n)<0;u!=Pe(o,n)<0?(n=t,t=o):u!=Pe(t,o)<0&&(t=o)}return new ei(n,t)}else return new ei(o||t,t)}function g(e,t,o,i,n){n==null&&(n=e.cm&&(e.cm.display.shift||e.extend)),_e(e,new co([E(e.sel.primary(),t,o,n)],0),i)}function Q(e,t,o){for(var i=[],n=e.cm&&(e.cm.display.shift||e.extend),u=0;u<e.sel.ranges.length;u++)i[u]=E(e.sel.ranges[u],t[u],null,n);var c=So(e.cm,i,e.sel.primIndex);_e(e,c,o)}function U(e,t,o,i){var n=e.sel.ranges.slice(0);n[t]=o,_e(e,So(e.cm,n,e.sel.primIndex),i)}function xe(e,t,o,i){_e(e,ps(t,o),i)}function me(e,t,o){var i={ranges:t.ranges,update:function(n){this.ranges=[];for(var u=0;u<n.length;u++)this.ranges[u]=new ei(qr(e,n[u].anchor),qr(e,n[u].head))},origin:o&&o.origin};return yr(e,"beforeSelectionChange",e,i),e.cm&&yr(e.cm,"beforeSelectionChange",e.cm,i),i.ranges!=t.ranges?So(e.cm,i.ranges,i.ranges.length-1):t}function je(e,t,o){var i=e.history.done,n=kt(i);n&&n.ranges?(i[i.length-1]=t,Ce(e,t,o)):_e(e,t,o)}function _e(e,t,o){Ce(e,t,o),q(e,e.sel,e.cm?e.cm.curOp.id:NaN,o)}function Ce(e,t,o){(Jr(e,"beforeSelectionChange")||e.cm&&Jr(e.cm,"beforeSelectionChange"))&&(t=me(e,t,o));var i=o&&o.bias||(Pe(t.primary().head,e.sel.primary().head)<0?-1:1);Ke(e,ct(e,t,i,!0)),!(o&&o.scroll===!1)&&e.cm&&e.cm.getOption("readOnly")!="nocursor"&&Go(e.cm)}function Ke(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,$r(e.cm)),Ni(e,"cursorActivity",e))}function Ye(e){Ke(e,ct(e,e.sel,null,!1))}function ct(e,t,o,i){for(var n,u=0;u<t.ranges.length;u++){var c=t.ranges[u],y=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[u],B=Nr(e,c.anchor,y&&y.anchor,o,i),M=c.head==c.anchor?B:Nr(e,c.head,y&&y.head,o,i);(n||B!=c.anchor||M!=c.head)&&(n||(n=t.ranges.slice(0,u)),n[u]=new ei(B,M))}return n?So(e.cm,n,t.primIndex):t}function cr(e,t,o,i,n){var u=Oe(e,t.line);if(u.markedSpans)for(var c=0;c<u.markedSpans.length;++c){var y=u.markedSpans[c],B=y.marker,M="selectLeft"in B?!B.selectLeft:B.inclusiveLeft,ve="selectRight"in B?!B.selectRight:B.inclusiveRight;if((y.from==null||(M?y.from<=t.ch:y.from<t.ch))&&(y.to==null||(ve?y.to>=t.ch:y.to>t.ch))){if(n&&(yr(B,"beforeCursorEnter"),B.explicitlyCleared))if(u.markedSpans){--c;continue}else break;if(!B.atomic)continue;if(o){var he=B.find(i<0?1:-1),Ze=void 0;if((i<0?ve:M)&&(he=jr(e,he,-i,he&&he.line==t.line?u:null)),he&&he.line==t.line&&(Ze=Pe(he,o))&&(i<0?Ze<0:Ze>0))return cr(e,he,t,i,n)}var Me=B.find(i<0?-1:1);return(i<0?M:ve)&&(Me=jr(e,Me,i,Me.line==t.line?u:null)),Me?cr(e,Me,t,i,n):null}}return t}function Nr(e,t,o,i,n){var u=i||1,c=cr(e,t,o,u,n)||!n&&cr(e,t,o,u,!0)||cr(e,t,o,-u,n)||!n&&cr(e,t,o,-u,!0);return c||(e.cantEdit=!0,b(e.first,0))}function jr(e,t,o,i){return o<0&&t.ch==0?t.line>e.first?qr(e,b(t.line-1)):null:o>0&&t.ch==(i||Oe(e,t.line)).text.length?t.line<e.first+e.size-1?b(t.line+1,0):null:new b(t.line,t.ch+o)}function an(e){e.setSelection(b(e.firstLine(),0),b(e.lastLine()),Hr)}function sn(e,t,o){var i={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return i.canceled=!0}};return o&&(i.update=function(n,u,c,y){n&&(i.from=qr(e,n)),u&&(i.to=qr(e,u)),c&&(i.text=c),y!==void 0&&(i.origin=y)}),yr(e,"beforeChange",e,i),e.cm&&yr(e.cm,"beforeChange",e.cm,i),i.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:i.from,to:i.to,text:i.text,origin:i.origin}}function xn(e,t,o){if(e.cm){if(!e.cm.curOp)return Ei(e.cm,xn)(e,t,o);if(e.cm.state.suppressEdits)return}if(!((Jr(e,"beforeChange")||e.cm&&Jr(e.cm,"beforeChange"))&&(t=sn(e,t,!0),!t))){var i=wu&&!o&&fc(e,t.from,t.to);if(i)for(var n=i.length-1;n>=0;--n)en(e,{from:i[n].from,to:i[n].to,text:n?[""]:t.text,origin:t.origin});else en(e,t)}}function en(e,t){if(!(t.text.length==1&&t.text[0]==""&&Pe(t.from,t.to)==0)){var o=fs(e,t);te(e,t,o,e.cm?e.cm.curOp.id:NaN),Yt(e,t,o,Fu(e,t));var i=[];ds(e,function(n,u){!u&&Pt(i,n.history)==-1&&(ni(n.history,t),i.push(n.history)),Yt(n,t,null,Fu(n,t))})}}function un(e,t,o){var i=e.cm&&e.cm.state.suppressEdits;if(!(i&&!o)){for(var n=e.history,u,c=e.sel,y=t=="undo"?n.done:n.undone,B=t=="undo"?n.undone:n.done,M=0;M<y.length&&(u=y[M],!(o?u.ranges&&!u.equals(e.sel):!u.ranges));M++);if(M!=y.length){for(n.lastOrigin=n.lastSelOrigin=null;;)if(u=y.pop(),u.ranges){if(Z(u,B),o&&!u.equals(e.sel)){_e(e,u,{clearRedo:!1});return}c=u}else if(i){y.push(u);return}else break;var ve=[];Z(c,B),B.push({changes:ve,generation:n.generation}),n.generation=u.generation||++n.maxGeneration;for(var he=Jr(e,"beforeChange")||e.cm&&Jr(e.cm,"beforeChange"),Ze=function(lt){var Bt=u.changes[lt];if(Bt.origin=t,he&&!sn(e,Bt,!1))return y.length=0,{};ve.push(Da(e,Bt));var er=lt?fs(e,Bt):kt(y);Yt(e,Bt,er,le(e,Bt)),!lt&&e.cm&&e.cm.scrollIntoView({from:Bt.from,to:Ho(Bt)});var wt=[];ds(e,function(It,ir){!ir&&Pt(wt,It.history)==-1&&(ni(It.history,Bt),wt.push(It.history)),Yt(It,Bt,null,le(It,Bt))})},Me=u.changes.length-1;Me>=0;--Me){var Ct=Ze(Me);if(Ct)return Ct.v}}}}function mr(e,t){if(t!=0&&(e.first+=t,e.sel=new co(or(e.sel.ranges,function(n){return new ei(b(n.anchor.line+t,n.anchor.ch),b(n.head.line+t,n.head.ch))}),e.sel.primIndex),e.cm)){qi(e.cm,e.first,e.first-t,t);for(var o=e.cm.display,i=o.viewFrom;i<o.viewTo;i++)qn(e.cm,i,"gutter")}}function Yt(e,t,o,i){if(e.cm&&!e.cm.curOp)return Ei(e.cm,Yt)(e,t,o,i);if(t.to.line<e.first){mr(e,t.text.length-1-(t.to.line-t.from.line));return}if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var n=t.text.length-1-(e.first-t.from.line);mr(e,n),t={from:b(e.first,0),to:b(t.to.line+n,t.to.ch),text:[kt(t.text)],origin:t.origin}}var u=e.lastLine();t.to.line>u&&(t={from:t.from,to:b(u,Oe(e,u).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Bi(e,t.from,t.to),o||(o=fs(e,t)),e.cm?vr(e.cm,t,i):sl(e,t,i),Ce(e,o,Hr),e.cantEdit&&Nr(e,b(e.firstLine(),0))&&(e.cantEdit=!1)}}function vr(e,t,o){var i=e.doc,n=e.display,u=t.from,c=t.to,y=!1,B=u.line;e.options.lineWrapping||(B=yn(so(Oe(i,u.line))),i.iter(B,c.line+1,function(Me){if(Me==n.maxLine)return y=!0,!0})),i.sel.contains(t.from,t.to)>-1&&$r(e),sl(i,t,o,Vu(e)),e.options.lineWrapping||(i.iter(B,u.line+t.text.length,function(Me){var Ct=Is(Me);Ct>n.maxLineLength&&(n.maxLine=Me,n.maxLineLength=Ct,n.maxLineChanged=!0,y=!1)}),y&&(e.curOp.updateMaxLine=!0)),Eu(i,u.line),ls(e,400);var M=t.text.length-(c.line-u.line)-1;t.full?qi(e):u.line==c.line&&t.text.length==1&&!Rl(e.doc,t)?qn(e,u.line,"text"):qi(e,u.line,c.line+1,M);var ve=Jr(e,"changes"),he=Jr(e,"change");if(he||ve){var Ze={from:u,to:c,text:t.text,removed:t.removed,origin:t.origin};he&&Ni(e,"change",e,Ze),ve&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(Ze)}e.display.selForContextMenu=null}function Jt(e,t,o,i,n){var u;i||(i=o),Pe(i,o)<0&&(u=[i,o],o=u[0],i=u[1]),typeof t=="string"&&(t=e.splitLines(t)),xn(e,{from:o,to:i,text:t,origin:n})}function mi(e,t,o,i){o<e.line?e.line+=i:t<e.line&&(e.line=t,e.ch=0)}function Yn(e,t,o,i){for(var n=0;n<e.length;++n){var u=e[n],c=!0;if(u.ranges){u.copied||(u=e[n]=u.deepCopy(),u.copied=!0);for(var y=0;y<u.ranges.length;y++)mi(u.ranges[y].anchor,t,o,i),mi(u.ranges[y].head,t,o,i);continue}for(var B=0;B<u.changes.length;++B){var M=u.changes[B];if(o<M.from.line)M.from=b(M.from.line+i,M.from.ch),M.to=b(M.to.line+i,M.to.ch);else if(t<=M.to.line){c=!1;break}}c||(e.splice(0,n+1),n=0)}}function ni(e,t){var o=t.from.line,i=t.to.line,n=t.text.length-(i-o)-1;Yn(e.done,o,i,n),Yn(e.undone,o,i,n)}function Un(e,t,o,i){var n=t,u=t;return typeof t=="number"?u=Oe(e,Rn(e,t)):n=yn(t),n==null?null:(i(u,n)&&e.cm&&qn(e.cm,n,o),u)}function Pn(e){this.lines=e,this.parent=null;for(var t=0,o=0;o<e.length;++o)e[o].parent=this,t+=e[o].height;this.height=t}Pn.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var o=e,i=e+t;o<i;++o){var n=this.lines[o];this.height-=n.height,qo(n),Ni(n,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,o){this.height+=o,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var i=0;i<t.length;++i)t[i].parent=this},iterN:function(e,t,o){for(var i=e+t;e<i;++e)if(o(this.lines[e]))return!0}};function Wr(e){this.children=e;for(var t=0,o=0,i=0;i<e.length;++i){var n=e[i];t+=n.chunkSize(),o+=n.height,n.parent=this}this.size=t,this.height=o,this.parent=null}Wr.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var o=0;o<this.children.length;++o){var i=this.children[o],n=i.chunkSize();if(e<n){var u=Math.min(t,n-e),c=i.height;if(i.removeInner(e,u),this.height-=c-i.height,n==u&&(this.children.splice(o--,1),i.parent=null),(t-=u)==0)break;e=0}else e-=n}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof Pn))){var y=[];this.collapse(y),this.children=[new Pn(y)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,o){this.size+=t.length,this.height+=o;for(var i=0;i<this.children.length;++i){var n=this.children[i],u=n.chunkSize();if(e<=u){if(n.insertInner(e,t,o),n.lines&&n.lines.length>50){for(var c=n.lines.length%25+25,y=c;y<n.lines.length;){var B=new Pn(n.lines.slice(y,y+=25));n.height-=B.height,this.children.splice(++i,0,B),B.parent=this}n.lines=n.lines.slice(0,c),this.maybeSpill()}break}e-=u}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),o=new Wr(t);if(e.parent){e.size-=o.size,e.height-=o.height;var n=Pt(e.parent.children,e);e.parent.children.splice(n+1,0,o)}else{var i=new Wr(e.children);i.parent=e,e.children=[i,o],e=i}o.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,o){for(var i=0;i<this.children.length;++i){var n=this.children[i],u=n.chunkSize();if(e<u){var c=Math.min(t,u-e);if(n.iterN(e,c,o))return!0;if((t-=c)==0)break;e=0}else e-=u}}};var wn=function(e,t,o){if(o)for(var i in o)o.hasOwnProperty(i)&&(this[i]=o[i]);this.doc=e,this.node=t};wn.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,o=this.line,i=yn(o);if(!(i==null||!t)){for(var n=0;n<t.length;++n)t[n]==this&&t.splice(n--,1);t.length||(o.widgets=null);var u=Ii(this);Ln(o,Math.max(0,o.height-u)),e&&(Wi(e,function(){dn(e,o,-u),qn(e,i,"widget")}),Ni(e,"lineWidgetCleared",e,this,i))}},wn.prototype.changed=function(){var e=this,t=this.height,o=this.doc.cm,i=this.line;this.height=null;var n=Ii(this)-t;!n||(Po(this.doc,i)||Ln(i,i.height+n),o&&Wi(o,function(){o.curOp.forceUpdate=!0,dn(o,i,n),Ni(o,"lineWidgetChanged",o,e,yn(i))}))},En(wn);function dn(e,t,o){Do(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&fa(e,o)}function Cn(e,t,o,i){var n=new wn(e,o,i),u=e.cm;return u&&n.noHScroll&&(u.display.alignWidgets=!0),Un(e,t,"widget",function(c){var y=c.widgets||(c.widgets=[]);if(n.insertAt==null?y.push(n):y.splice(Math.min(y.length,Math.max(0,n.insertAt)),0,n),n.line=c,u&&!Po(e,c)){var B=Do(c)<e.scrollTop;Ln(c,c.height+Ii(n)),B&&fa(u,n.height),u.curOp.forceUpdate=!0}return!0}),u&&Ni(u,"lineWidgetAdded",u,n,typeof t=="number"?t:yn(t)),n}var ut=0,jt=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++ut};jt.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Fs(e),Jr(this,"clear")){var o=this.find();o&&Ni(this,"clear",o.from,o.to)}for(var i=null,n=null,u=0;u<this.lines.length;++u){var c=this.lines[u],y=Ms(c.markedSpans,this);e&&!this.collapsed?qn(e,yn(c),"text"):e&&(y.to!=null&&(n=yn(c)),y.from!=null&&(i=yn(c))),c.markedSpans=ys(c.markedSpans,y),y.from==null&&this.collapsed&&!Po(this.doc,c)&&e&&Ln(c,Cs(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var B=0;B<this.lines.length;++B){var M=so(this.lines[B]),ve=Is(M);ve>e.display.maxLineLength&&(e.display.maxLine=M,e.display.maxLineLength=ve,e.display.maxLineChanged=!0)}i!=null&&e&&this.collapsed&&qi(e,i,n+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Ye(e.doc)),e&&Ni(e,"markerCleared",e,this,i,n),t&&zi(e),this.parent&&this.parent.clear()}},jt.prototype.find=function(e,t){e==null&&this.type=="bookmark"&&(e=1);for(var o,i,n=0;n<this.lines.length;++n){var u=this.lines[n],c=Ms(u.markedSpans,this);if(c.from!=null&&(o=b(t?u:yn(u),c.from),e==-1))return o;if(c.to!=null&&(i=b(t?u:yn(u),c.to),e==1))return i}return o&&{from:o,to:i}},jt.prototype.changed=function(){var e=this,t=this.find(-1,!0),o=this,i=this.doc.cm;!t||!i||Wi(i,function(){var n=t.line,u=yn(t.line),c=Eo(i,u);if(c&&(El(c),i.curOp.selectionChanged=i.curOp.forceUpdate=!0),i.curOp.updateMaxLine=!0,!Po(o.doc,n)&&o.height!=null){var y=o.height;o.height=null;var B=Ii(o)-y;B&&Ln(n,n.height+B)}Ni(i,"markerChanged",i,e)})},jt.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(!t.maybeHiddenMarkers||Pt(t.maybeHiddenMarkers,this)==-1)&&(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},jt.prototype.detachLine=function(e){if(this.lines.splice(Pt(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},En(jt);function Vt(e,t,o,i,n){if(i&&i.shared)return st(e,t,o,i,n);if(e.cm&&!e.cm.curOp)return Ei(e.cm,Vt)(e,t,o,i,n);var u=new jt(e,n),c=Pe(t,o);if(i&&li(i,u,!1),c>0||c==0&&u.clearWhenEmpty!==!1)return u;if(u.replacedWith&&(u.collapsed=!0,u.widgetNode=lr("span",[u.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||u.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(u.widgetNode.insertLeft=!0)),u.collapsed){if(La(e,t.line,t,o,u)||t.line!=o.line&&La(e,o.line,t,o,u))throw new Error("Inserting collapsed marker partially overlapping an existing one");Au()}u.addToHistory&&te(e,{from:t,to:o,origin:"markText"},e.sel,NaN);var y=t.line,B=e.cm,M;if(e.iter(y,o.line+1,function(he){B&&u.collapsed&&!B.options.lineWrapping&&so(he)==B.display.maxLine&&(M=!0),u.collapsed&&y!=t.line&&Ln(he,0),cc(he,new ja(u,y==t.line?t.ch:null,y==o.line?o.ch:null),e.cm&&e.cm.curOp),++y}),u.collapsed&&e.iter(t.line,o.line+1,function(he){Po(e,he)&&Ln(he,0)}),u.clearOnEnter&&ht(u,"beforeCursorEnter",function(){return u.clear()}),u.readOnly&&(Dl(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),u.collapsed&&(u.id=++ut,u.atomic=!0),B){if(M&&(B.curOp.updateMaxLine=!0),u.collapsed)qi(B,t.line,o.line+1);else if(u.className||u.startStyle||u.endStyle||u.css||u.attributes||u.title)for(var ve=t.line;ve<=o.line;ve++)qn(B,ve,"text");u.atomic&&Ye(B.doc),Ni(B,"markerAdded",B,u)}return u}var Tr=function(e,t){this.markers=e,this.primary=t;for(var o=0;o<e.length;++o)e[o].parent=this};Tr.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Ni(this,"clear")}},Tr.prototype.find=function(e,t){return this.primary.find(e,t)},En(Tr);function st(e,t,o,i,n){i=li(i),i.shared=!1;var u=[Vt(e,t,o,i,n)],c=u[0],y=i.widgetNode;return ds(e,function(B){y&&(i.widgetNode=y.cloneNode(!0)),u.push(Vt(B,qr(B,t),qr(B,o),i,n));for(var M=0;M<B.linked.length;++M)if(B.linked[M].isParent)return;c=kt(u)}),new Tr(u,c)}function Xr(e){return e.findMarks(b(e.first,0),e.clipPos(b(e.lastLine())),function(t){return t.parent})}function zr(e,t){for(var o=0;o<t.length;o++){var i=t[o],n=i.find(),u=e.clipPos(n.from),c=e.clipPos(n.to);if(Pe(u,c)){var y=Vt(e,u,c,i.primary,i.primary.type);i.markers.push(y),y.parent=i}}}function ji(e){for(var t=function(i){var n=e[i],u=[n.primary.doc];ds(n.primary.doc,function(B){return u.push(B)});for(var c=0;c<n.markers.length;c++){var y=n.markers[c];Pt(u,y.doc)==-1&&(y.parent=null,n.markers.splice(c--,1))}},o=0;o<e.length;o++)t(o)}var Fi=0,si=function(e,t,o,i,n){if(!(this instanceof si))return new si(e,t,o,i,n);o==null&&(o=0),Wr.call(this,[new Pn([new Zo("",null)])]),this.first=o,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=o;var u=b(o,0);this.sel=ps(u),this.history=new Gs(null),this.id=++Fi,this.modeOption=t,this.lineSep=i,this.direction=n=="rtl"?"rtl":"ltr",this.extend=!1,typeof e=="string"&&(e=this.splitLines(e)),sl(this,{from:u,to:u,text:e}),_e(this,ps(u),Hr)};si.prototype=Sr(Wr.prototype,{constructor:si,iter:function(e,t,o){o?this.iterN(e-this.first,t-e,o):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var o=0,i=0;i<t.length;++i)o+=t[i].height;this.insertInner(e-this.first,t,o)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Si(this,this.first,this.first+this.size);return e===!1?t:t.join(e||this.lineSeparator())},setValue:vi(function(e){var t=b(this.first,0),o=this.first+this.size-1;xn(this,{from:t,to:b(o,Oe(this,o).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&as(this.cm,0,0),_e(this,ps(t),Hr)}),replaceRange:function(e,t,o,i){t=qr(this,t),o=o?qr(this,o):t,Jt(this,e,t,o,i)},getRange:function(e,t,o){var i=Bi(this,qr(this,e),qr(this,t));return o===!1?i:o===""?i.join(""):i.join(o||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(yo(this,e))return Oe(this,e)},getLineNumber:function(e){return yn(e)},getLineHandleVisualStart:function(e){return typeof e=="number"&&(e=Oe(this,e)),so(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return qr(this,e)},getCursor:function(e){var t=this.sel.primary(),o;return e==null||e=="head"?o=t.head:e=="anchor"?o=t.anchor:e=="end"||e=="to"||e===!1?o=t.to():o=t.from(),o},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:vi(function(e,t,o){xe(this,qr(this,typeof e=="number"?b(e,t||0):e),null,o)}),setSelection:vi(function(e,t,o){xe(this,qr(this,e),qr(this,t||e),o)}),extendSelection:vi(function(e,t,o){g(this,qr(this,e),t&&qr(this,t),o)}),extendSelections:vi(function(e,t){Q(this,_a(this,e),t)}),extendSelectionsBy:vi(function(e,t){var o=or(this.sel.ranges,e);Q(this,_a(this,o),t)}),setSelections:vi(function(e,t,o){if(!!e.length){for(var i=[],n=0;n<e.length;n++)i[n]=new ei(qr(this,e[n].anchor),qr(this,e[n].head||e[n].anchor));t==null&&(t=Math.min(e.length-1,this.sel.primIndex)),_e(this,So(this.cm,i,t),o)}}),addSelection:vi(function(e,t,o){var i=this.sel.ranges.slice(0);i.push(new ei(qr(this,e),qr(this,t||e))),_e(this,So(this.cm,i,i.length-1),o)}),getSelection:function(e){for(var t=this.sel.ranges,o,i=0;i<t.length;i++){var n=Bi(this,t[i].from(),t[i].to());o=o?o.concat(n):n}return e===!1?o:o.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],o=this.sel.ranges,i=0;i<o.length;i++){var n=Bi(this,o[i].from(),o[i].to());e!==!1&&(n=n.join(e||this.lineSeparator())),t[i]=n}return t},replaceSelection:function(e,t,o){for(var i=[],n=0;n<this.sel.ranges.length;n++)i[n]=e;this.replaceSelections(i,t,o||"+input")},replaceSelections:vi(function(e,t,o){for(var i=[],n=this.sel,u=0;u<n.ranges.length;u++){var c=n.ranges[u];i[u]={from:c.from(),to:c.to(),text:this.splitLines(e[u]),origin:o}}for(var y=t&&t!="end"&&Il(this,i,t),B=i.length-1;B>=0;B--)xn(this,i[B]);y?je(this,y):this.cm&&Go(this.cm)}),undo:vi(function(){un(this,"undo")}),redo:vi(function(){un(this,"redo")}),undoSelection:vi(function(){un(this,"undo",!0)}),redoSelection:vi(function(){un(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,o=0,i=0;i<e.done.length;i++)e.done[i].ranges||++t;for(var n=0;n<e.undone.length;n++)e.undone[n].ranges||++o;return{undo:t,redo:o}},clearHistory:function(){var e=this;this.history=new Gs(this.history),ds(this,function(t){return t.history=e.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:ge(this.history.done),undone:ge(this.history.undone)}},setHistory:function(e){var t=this.history=new Gs(this.history);t.done=ge(e.done.slice(0),null,!0),t.undone=ge(e.undone.slice(0),null,!0)},setGutterMarker:vi(function(e,t,o){return Un(this,e,"gutter",function(i){var n=i.gutterMarkers||(i.gutterMarkers={});return n[t]=o,!o&&it(n)&&(i.gutterMarkers=null),!0})}),clearGutter:vi(function(e){var t=this;this.iter(function(o){o.gutterMarkers&&o.gutterMarkers[e]&&Un(t,o,"gutter",function(){return o.gutterMarkers[e]=null,it(o.gutterMarkers)&&(o.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if(typeof e=="number"){if(!yo(this,e)||(t=e,e=Oe(this,e),!e))return null}else if(t=yn(e),t==null)return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:vi(function(e,t,o){return Un(this,e,t=="gutter"?"gutter":"class",function(i){var n=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass";if(!i[n])i[n]=o;else{if(_r(o).test(i[n]))return!1;i[n]+=" "+o}return!0})}),removeLineClass:vi(function(e,t,o){return Un(this,e,t=="gutter"?"gutter":"class",function(i){var n=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass",u=i[n];if(u)if(o==null)i[n]=null;else{var c=u.match(_r(o));if(!c)return!1;var y=c.index+c[0].length;i[n]=u.slice(0,c.index)+(!c.index||y==u.length?"":" ")+u.slice(y)||null}else return!1;return!0})}),addLineWidget:vi(function(e,t,o){return Cn(this,e,t,o)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,o){return Vt(this,qr(this,e),qr(this,t),o,o&&o.type||"range")},setBookmark:function(e,t){var o={replacedWith:t&&(t.nodeType==null?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=qr(this,e),Vt(this,e,e,o,"bookmark")},findMarksAt:function(e){e=qr(this,e);var t=[],o=Oe(this,e.line).markedSpans;if(o)for(var i=0;i<o.length;++i){var n=o[i];(n.from==null||n.from<=e.ch)&&(n.to==null||n.to>=e.ch)&&t.push(n.marker.parent||n.marker)}return t},findMarks:function(e,t,o){e=qr(this,e),t=qr(this,t);var i=[],n=e.line;return this.iter(e.line,t.line+1,function(u){var c=u.markedSpans;if(c)for(var y=0;y<c.length;y++){var B=c[y];!(B.to!=null&&n==e.line&&e.ch>=B.to||B.from==null&&n!=e.line||B.from!=null&&n==t.line&&B.from>=t.ch)&&(!o||o(B.marker))&&i.push(B.marker.parent||B.marker)}++n}),i},getAllMarks:function(){var e=[];return this.iter(function(t){var o=t.markedSpans;if(o)for(var i=0;i<o.length;++i)o[i].from!=null&&e.push(o[i].marker)}),e},posFromIndex:function(e){var t,o=this.first,i=this.lineSeparator().length;return this.iter(function(n){var u=n.text.length+i;if(u>e)return t=e,!0;e-=u,++o}),qr(this,b(o,t))},indexFromPos:function(e){e=qr(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var o=this.lineSeparator().length;return this.iter(this.first,e.line,function(i){t+=i.text.length+o}),t},copy:function(e){var t=new si(Si(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,o=this.first+this.size;e.from!=null&&e.from>t&&(t=e.from),e.to!=null&&e.to<o&&(o=e.to);var i=new si(Si(this,t,o),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(i.history=this.history),(this.linked||(this.linked=[])).push({doc:i,sharedHist:e.sharedHist}),i.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],zr(i,Xr(this)),i},unlinkDoc:function(e){if(e instanceof Se&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){var o=this.linked[t];if(o.doc==e){this.linked.splice(t,1),e.unlinkDoc(this),ji(Xr(this));break}}if(e.history==this.history){var i=[e.id];ds(e,function(n){return i.push(n.id)},!0),e.history=new Gs(null),e.history.done=ge(this.history.done,i),e.history.undone=ge(this.history.undone,i)}},iterLinkedDocs:function(e){ds(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Ot(e)},lineSeparator:function(){return this.lineSep||`
|
|
11
|
+
`},setDirection:vi(function(e){e!="rtl"&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(t){return t.order=null}),this.cm&&Ac(this.cm))})}),si.prototype.eachLine=si.prototype.iter;var Zi=0;function Ji(e){var t=this;if(Mi(t),!(at(t,e)||ao(t.display,e))){vt(e),ue&&(Zi=+new Date);var o=ws(t,e,!0),i=e.dataTransfer.files;if(!(!o||t.isReadOnly()))if(i&&i.length&&window.FileReader&&window.File)for(var n=i.length,u=Array(n),c=0,y=function(){++c==n&&Ei(t,function(){o=qr(t.doc,o);var Me={from:o,to:o,text:t.doc.splitLines(u.filter(function(Ct){return Ct!=null}).join(t.doc.lineSeparator())),origin:"paste"};xn(t.doc,Me),je(t.doc,ps(qr(t.doc,o),qr(t.doc,Ho(Me))))})()},B=function(Me,Ct){if(t.options.allowDropFileTypes&&Pt(t.options.allowDropFileTypes,Me.type)==-1){y();return}var lt=new FileReader;lt.onerror=function(){return y()},lt.onload=function(){var Bt=lt.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Bt)){y();return}u[Ct]=Bt,y()},lt.readAsText(Me)},M=0;M<i.length;M++)B(i[M],M);else{if(t.state.draggingText&&t.doc.sel.contains(o)>-1){t.state.draggingText(e),setTimeout(function(){return t.display.input.focus()},20);return}try{var ve=e.dataTransfer.getData("Text");if(ve){var he;if(t.state.draggingText&&!t.state.draggingText.copy&&(he=t.listSelections()),Ce(t.doc,ps(o,o)),he)for(var Ze=0;Ze<he.length;++Ze)Jt(t.doc,"",he[Ze].anchor,he[Ze].head,"drag");t.replaceSelection(ve,"around","paste"),t.display.input.focus()}}catch{}}}}function ki(e,t){if(ue&&(!e.state.draggingText||+new Date-Zi<100)){Mn(t);return}if(!(at(e,t)||ao(e.display,t))&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!Qt)){var o=de("img",null,null,"position: fixed; left: 0; top: 0;");o.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",bt&&(o.width=o.height=1,e.display.wrapper.appendChild(o),o._top=o.offsetTop),t.dataTransfer.setDragImage(o,0,0),bt&&o.parentNode.removeChild(o)}}function eo(e,t){var o=ws(e,t);if(!!o){var i=document.createDocumentFragment();ua(e,o,i),e.display.dragCursor||(e.display.dragCursor=de("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),Cr(e.display.dragCursor,i)}}function Mi(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function wi(e){if(!!document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),o=[],i=0;i<t.length;i++){var n=t[i].CodeMirror;n&&o.push(n)}o.length&&o[0].operation(function(){for(var u=0;u<o.length;u++)e(o[u])})}}var Ti=!1;function zl(){Ti||(ba(),Ti=!0)}function ba(){var e;ht(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,wi(zp)},100))}),ht(window,"blur",function(){return wi(os)})}function zp(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Xs={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},ll=0;ll<10;ll++)Xs[ll+48]=Xs[ll+96]=String(ll);for(var Hl=65;Hl<=90;Hl++)Xs[Hl]=String.fromCharCode(Hl);for(var cl=1;cl<=12;cl++)Xs[cl+111]=Xs[cl+63235]="F"+cl;var ks={};ks.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},ks.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},ks.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},ks.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},ks.default=pr?ks.macDefault:ks.pcDefault;function Hp(e){var t=e.split(/-(?!$)/);e=t[t.length-1];for(var o,i,n,u,c=0;c<t.length-1;c++){var y=t[c];if(/^(cmd|meta|m)$/i.test(y))u=!0;else if(/^a(lt)?$/i.test(y))o=!0;else if(/^(c|ctrl|control)$/i.test(y))i=!0;else if(/^s(hift)?$/i.test(y))n=!0;else throw new Error("Unrecognized modifier name: "+y)}return o&&(e="Alt-"+e),i&&(e="Ctrl-"+e),u&&(e="Cmd-"+e),n&&(e="Shift-"+e),e}function Wp(e){var t={};for(var o in e)if(e.hasOwnProperty(o)){var i=e[o];if(/^(name|fallthrough|(de|at)tach)$/.test(o))continue;if(i=="..."){delete e[o];continue}for(var n=or(o.split(" "),Hp),u=0;u<n.length;u++){var c=void 0,y=void 0;u==n.length-1?(y=n.join(" "),c=i):(y=n.slice(0,u+1).join(" "),c="...");var B=t[y];if(!B)t[y]=c;else if(B!=c)throw new Error("Inconsistent bindings for "+y)}delete e[o]}for(var M in t)e[M]=t[M];return e}function au(e,t,o,i){t=Wl(t);var n=t.call?t.call(e,i):t[e];if(n===!1)return"nothing";if(n==="...")return"multi";if(n!=null&&o(n))return"handled";if(t.fallthrough){if(Object.prototype.toString.call(t.fallthrough)!="[object Array]")return au(e,t.fallthrough,o,i);for(var u=0;u<t.fallthrough.length;u++){var c=au(e,t.fallthrough[u],o,i);if(c)return c}}}function Qc(e){var t=typeof e=="string"?e:Xs[e.keyCode];return t=="Ctrl"||t=="Alt"||t=="Shift"||t=="Mod"}function xa(e,t,o){var i=e;return t.altKey&&i!="Alt"&&(e="Alt-"+e),(Dn?t.metaKey:t.ctrlKey)&&i!="Ctrl"&&(e="Ctrl-"+e),(Dn?t.ctrlKey:t.metaKey)&&i!="Mod"&&(e="Cmd-"+e),!o&&t.shiftKey&&i!="Shift"&&(e="Shift-"+e),e}function Yc(e,t){if(bt&&e.keyCode==34&&e.char)return!1;var o=Xs[e.keyCode];return o==null||e.altGraphKey?!1:(e.keyCode==3&&e.code&&(o=e.code),xa(o,e,t))}function Wl(e){return typeof e=="string"?ks[e]:e}function uu(e,t){for(var o=e.doc.sel.ranges,i=[],n=0;n<o.length;n++){for(var u=t(o[n]);i.length&&Pe(u.from,kt(i).to)<=0;){var c=i.pop();if(Pe(c.from,u.from)<0){u.from=c.from;break}}i.push(u)}Wi(e,function(){for(var y=i.length-1;y>=0;y--)Jt(e.doc,"",i[y].from,i[y].to,"+delete");Go(e)})}function Sc(e,t,o){var i=zn(e.text,t+o,o);return i<0||i>e.text.length?null:i}function Ts(e,t,o){var i=Sc(e,t.ch,o);return i==null?null:new b(t.line,i,o<0?"after":"before")}function pl(e,t,o,i,n){if(e){t.doc.direction=="rtl"&&(n=-n);var u=Ht(o,t.doc.direction);if(u){var c=n<0?kt(u):u[0],y=n<0==(c.level==1),B=y?"after":"before",M;if(c.level>0||t.doc.direction=="rtl"){var ve=Mo(t,o);M=n<0?o.text.length-1:0;var he=ho(t,ve,M).top;M=Jn(function(Ze){return ho(t,ve,Ze).top==he},n<0==(c.level==1)?c.from:c.to-1,M),B=="before"&&(M=Sc(o,M,1))}else M=n<0?c.to:c.from;return new b(i,M,B)}}return new b(i,n<0?o.text.length:0,n<0?"before":"after")}function m(e,t,o,i){var n=Ht(t,e.doc.direction);if(!n)return Ts(t,o,i);o.ch>=t.text.length?(o.ch=t.text.length,o.sticky="before"):o.ch<=0&&(o.ch=0,o.sticky="after");var u=di(n,o.ch,o.sticky),c=n[u];if(e.doc.direction=="ltr"&&c.level%2==0&&(i>0?c.to>o.ch:c.from<o.ch))return Ts(t,o,i);var y=function(er,wt){return Sc(t,er instanceof b?er.ch:er,wt)},B,M=function(er){return e.options.lineWrapping?(B=B||Mo(e,t),xs(e,t,B,er)):{begin:0,end:t.text.length}},ve=M(o.sticky=="before"?y(o,-1):o.ch);if(e.doc.direction=="rtl"||c.level==1){var he=c.level==1==i<0,Ze=y(o,he?1:-1);if(Ze!=null&&(he?Ze<=c.to&&Ze<=ve.end:Ze>=c.from&&Ze>=ve.begin)){var Me=he?"before":"after";return new b(o.line,Ze,Me)}}var Ct=function(er,wt,It){for(var ir=function(on,ti){return ti?new b(o.line,y(on,1),"before"):new b(o.line,on,"after")};er>=0&&er<n.length;er+=wt){var Ve=n[er],wr=wt>0==(Ve.level!=1),Pr=wr?It.begin:y(It.end,-1);if(Ve.from<=Pr&&Pr<Ve.to||(Pr=wr?Ve.from:y(Ve.to,-1),It.begin<=Pr&&Pr<It.end))return ir(Pr,wr)}},lt=Ct(u+i,i,ve);if(lt)return lt;var Bt=i>0?ve.end:y(ve.begin,-1);return Bt!=null&&!(i>0&&Bt==t.text.length)&&(lt=Ct(i>0?0:n.length-1,i,M(Bt)),lt)?lt:null}var A={selectAll:an,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Hr)},killLine:function(e){return uu(e,function(t){if(t.empty()){var o=Oe(e.doc,t.head.line).text.length;return t.head.ch==o&&t.head.line<e.lastLine()?{from:t.head,to:b(t.head.line+1,0)}:{from:t.head,to:b(t.head.line,o)}}else return{from:t.from(),to:t.to()}})},deleteLine:function(e){return uu(e,function(t){return{from:b(t.from().line,0),to:qr(e.doc,b(t.to().line+1,0))}})},delLineLeft:function(e){return uu(e,function(t){return{from:b(t.from().line,0),to:t.from()}})},delWrappedLineLeft:function(e){return uu(e,function(t){var o=e.charCoords(t.head,"div").top+5,i=e.coordsChar({left:0,top:o},"div");return{from:i,to:t.from()}})},delWrappedLineRight:function(e){return uu(e,function(t){var o=e.charCoords(t.head,"div").top+5,i=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:o},"div");return{from:t.from(),to:i}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(b(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(b(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return h(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return x(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return C(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var o=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:o},"div")},Zr)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var o=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:o},"div")},Zr)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var o=e.cursorCoords(t.head,"div").top+5,i=e.coordsChar({left:0,top:o},"div");return i.ch<e.getLine(i.line).search(/\S/)?x(e,t.head):i},Zr)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection(" ")},insertSoftTab:function(e){for(var t=[],o=e.listSelections(),i=e.options.tabSize,n=0;n<o.length;n++){var u=o[n].from(),c=Gt(e.getLine(u.line),u.ch,i);t.push(Lt(i-c%i))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Wi(e,function(){for(var t=e.listSelections(),o=[],i=0;i<t.length;i++)if(!!t[i].empty()){var n=t[i].head,u=Oe(e.doc,n.line).text;if(u){if(n.ch==u.length&&(n=new b(n.line,n.ch-1)),n.ch>0)n=new b(n.line,n.ch+1),e.replaceRange(u.charAt(n.ch-1)+u.charAt(n.ch-2),b(n.line,n.ch-2),n,"+transpose");else if(n.line>e.doc.first){var c=Oe(e.doc,n.line-1).text;c&&(n=new b(n.line,1),e.replaceRange(u.charAt(0)+e.doc.lineSeparator()+c.charAt(c.length-1),b(n.line-1,c.length-1),n,"+transpose"))}}o.push(new ei(n,n))}e.setSelections(o)})},newlineAndIndent:function(e){return Wi(e,function(){for(var t=e.listSelections(),o=t.length-1;o>=0;o--)e.replaceRange(e.doc.lineSeparator(),t[o].anchor,t[o].head,"+input");t=e.listSelections();for(var i=0;i<t.length;i++)e.indentLine(t[i].from().line,null,!0);Go(e)})},openLine:function(e){return e.replaceSelection(`
|
|
12
|
+
`,"start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function h(e,t){var o=Oe(e.doc,t),i=so(o);return i!=o&&(t=yn(i)),pl(!0,e,i,t,1)}function C(e,t){var o=Oe(e.doc,t),i=na(o);return i!=o&&(t=yn(i)),pl(!0,e,o,t,-1)}function x(e,t){var o=h(e,t.line),i=Oe(e.doc,o.line),n=Ht(i,e.doc.direction);if(!n||n[0].level==0){var u=Math.max(o.ch,i.text.search(/\S/)),c=t.line==o.line&&t.ch<=u&&t.ch;return b(o.line,c?0:u,o.sticky)}return o}function p(e,t,o){if(typeof t=="string"&&(t=A[t],!t))return!1;e.display.input.ensurePolled();var i=e.display.shift,n=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),o&&(e.display.shift=!1),n=t(e)!=rn}finally{e.display.shift=i,e.state.suppressEdits=!1}return n}function d(e,t,o){for(var i=0;i<e.state.keyMaps.length;i++){var n=au(t,e.state.keyMaps[i],o,e);if(n)return n}return e.options.extraKeys&&au(t,e.options.extraKeys,o,e)||au(t,e.options.keyMap,o,e)}var D=new ar;function w(e,t,o,i){var n=e.state.keySeq;if(n){if(Qc(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:D.set(50,function(){e.state.keySeq==n&&(e.state.keySeq=null,e.display.input.reset())}),k(e,n+" "+t,o,i))return!0}return k(e,t,o,i)}function k(e,t,o,i){var n=d(e,t,i);return n=="multi"&&(e.state.keySeq=t),n=="handled"&&Ni(e,"keyHandled",e,t,o),(n=="handled"||n=="multi")&&(vt(o),la(e)),!!n}function R(e,t){var o=Yc(t,!0);return o?t.shiftKey&&!e.state.keySeq?w(e,"Shift-"+o,t,function(i){return p(e,i,!0)})||w(e,o,t,function(i){if(typeof i=="string"?/^go[A-Z]/.test(i):i.motion)return p(e,i)}):w(e,o,t,function(i){return p(e,i)}):!1}function P(e,t,o){return w(e,"'"+o+"'",t,function(i){return p(e,i,!0)})}var I=null;function T(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField())&&(t.curOp.focus=tn(),!at(t,e))){ue&&Ae<11&&e.keyCode==27&&(e.returnValue=!1);var o=e.keyCode;t.display.shift=o==16||e.shiftKey;var i=R(t,e);bt&&(I=i?o:null,!i&&o==88&&!Xt&&(pr?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),f&&!pr&&!i&&o==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),o==18&&!/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)&&_(t)}}function _(e){var t=e.display.lineDiv;Vn(t,"CodeMirror-crosshair");function o(i){(i.keyCode==18||!i.altKey)&&(gn(t,"CodeMirror-crosshair"),Tt(document,"keyup",o),Tt(document,"mouseover",o))}ht(document,"keyup",o),ht(document,"mouseover",o)}function j(e){e.keyCode==16&&(this.doc.sel.shift=!1),at(this,e)}function re(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField())&&!(ao(t.display,e)||at(t,e)||e.ctrlKey&&!e.altKey||pr&&e.metaKey)){var o=e.keyCode,i=e.charCode;if(bt&&o==I){I=null,vt(e);return}if(!(bt&&(!e.which||e.which<10)&&R(t,e))){var n=String.fromCharCode(i==null?o:i);n!="\b"&&(P(t,e,n)||t.display.input.onKeyPress(e))}}}var ne=400,$=function(e,t,o){this.time=e,this.pos=t,this.button=o};$.prototype.compare=function(e,t,o){return this.time+ne>e&&Pe(t,this.pos)==0&&o==this.button};var J,ee;function oe(e,t){var o=+new Date;return ee&&ee.compare(o,e,t)?(J=ee=null,"triple"):J&&J.compare(o,e,t)?(ee=new $(o,e,t),J=null,"double"):(J=new $(o,e,t),ee=null,"single")}function ie(e){var t=this,o=t.display;if(!(at(t,e)||o.activeTouch&&o.input.supportsTouch())){if(o.input.ensurePolled(),o.shift=e.shiftKey,ao(o,e)){Be||(o.scroller.draggable=!1,setTimeout(function(){return o.scroller.draggable=!0},100));return}if(!Y(t,e)){var i=ws(t,e),n=Qn(e),u=i?oe(i,n):"single";window.focus(),n==1&&t.state.selectingText&&t.state.selectingText(e),!(i&&se(t,n,i,u,e))&&(n==1?i?N(t,i,u,e):Bn(e)==o.scroller&&vt(e):n==2?(i&&g(t.doc,i),setTimeout(function(){return o.input.focus()},20)):n==3&&(Lr?t.display.input.onContextMenu(e):ca(t)))}}}function se(e,t,o,i,n){var u="Click";return i=="double"?u="Double"+u:i=="triple"&&(u="Triple"+u),u=(t==1?"Left":t==2?"Middle":"Right")+u,w(e,xa(u,n),n,function(c){if(typeof c=="string"&&(c=A[c]),!c)return!1;var y=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),y=c(e,o)!=rn}finally{e.state.suppressEdits=!1}return y})}function z(e,t,o){var i=e.getOption("configureMouse"),n=i?i(e,t,o):{};if(n.unit==null){var u=kr?o.shiftKey&&o.metaKey:o.altKey;n.unit=u?"rectangle":t=="single"?"char":t=="double"?"word":"line"}return(n.extend==null||e.doc.extend)&&(n.extend=e.doc.extend||o.shiftKey),n.addNew==null&&(n.addNew=pr?o.metaKey:o.ctrlKey),n.moveOnDrag==null&&(n.moveOnDrag=!(pr?o.altKey:o.ctrlKey)),n}function N(e,t,o,i){ue?setTimeout(On(Qa,e),0):e.curOp.focus=tn();var n=z(e,o,i),u=e.doc.sel,c;e.options.dragDrop&&pi&&!e.isReadOnly()&&o=="single"&&(c=u.contains(t))>-1&&(Pe((c=u.ranges[c]).from(),t)<0||t.xRel>0)&&(Pe(c.to(),t)>0||t.xRel<0)?O(e,i,t,n):S(e,i,t,n)}function O(e,t,o,i){var n=e.display,u=!1,c=Ei(e,function(M){Be&&(n.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:ca(e)),Tt(n.wrapper.ownerDocument,"mouseup",c),Tt(n.wrapper.ownerDocument,"mousemove",y),Tt(n.scroller,"dragstart",B),Tt(n.scroller,"drop",c),u||(vt(M),i.addNew||g(e.doc,o,null,null,i.extend),Be&&!Qt||ue&&Ae==9?setTimeout(function(){n.wrapper.ownerDocument.body.focus({preventScroll:!0}),n.input.focus()},20):n.input.focus())}),y=function(M){u=u||Math.abs(t.clientX-M.clientX)+Math.abs(t.clientY-M.clientY)>=10},B=function(){return u=!0};Be&&(n.scroller.draggable=!0),e.state.draggingText=c,c.copy=!i.moveOnDrag,ht(n.wrapper.ownerDocument,"mouseup",c),ht(n.wrapper.ownerDocument,"mousemove",y),ht(n.scroller,"dragstart",B),ht(n.scroller,"drop",c),e.state.delayingBlurEvent=!0,setTimeout(function(){return n.input.focus()},20),n.scroller.dragDrop&&n.scroller.dragDrop()}function W(e,t,o){if(o=="char")return new ei(t,t);if(o=="word")return e.findWordAt(t);if(o=="line")return new ei(b(t.line,0),qr(e.doc,b(t.line+1,0)));var i=o(e,t);return new ei(i.from,i.to)}function S(e,t,o,i){ue&&ca(e);var n=e.display,u=e.doc;vt(t);var c,y,B=u.sel,M=B.ranges;if(i.addNew&&!i.extend?(y=u.sel.contains(o),y>-1?c=M[y]:c=new ei(o,o)):(c=u.sel.primary(),y=u.sel.primIndex),i.unit=="rectangle")i.addNew||(c=new ei(o,o)),o=ws(e,t,!0,!0),y=-1;else{var ve=W(e,o,i.unit);i.extend?c=E(c,ve.anchor,ve.head,i.extend):c=ve}i.addNew?y==-1?(y=M.length,_e(u,So(e,M.concat([c]),y),{scroll:!1,origin:"*mouse"})):M.length>1&&M[y].empty()&&i.unit=="char"&&!i.extend?(_e(u,So(e,M.slice(0,y).concat(M.slice(y+1)),0),{scroll:!1,origin:"*mouse"}),B=u.sel):U(u,y,c,Or):(y=0,_e(u,new co([c],0),Or),B=u.sel);var he=o;function Ze(It){if(Pe(he,It)!=0)if(he=It,i.unit=="rectangle"){for(var ir=[],Ve=e.options.tabSize,wr=Gt(Oe(u,o.line).text,o.ch,Ve),Pr=Gt(Oe(u,It.line).text,It.ch,Ve),on=Math.min(wr,Pr),ti=Math.max(wr,Pr),Hn=Math.min(o.line,It.line),Ai=Math.min(e.lastLine(),Math.max(o.line,It.line));Hn<=Ai;Hn++){var De=Oe(u,Hn).text,yt=Ue(De,on,Ve);on==ti?ir.push(new ei(b(Hn,yt),b(Hn,yt))):De.length>yt&&ir.push(new ei(b(Hn,yt),b(Hn,Ue(De,ti,Ve))))}ir.length||ir.push(new ei(o,o)),_e(u,So(e,B.ranges.slice(0,y).concat(ir),y),{origin:"*mouse",scroll:!1}),e.scrollIntoView(It)}else{var xr=c,pn=W(e,It,i.unit),hn=xr.anchor,Wn;Pe(pn.anchor,hn)>0?(Wn=pn.head,hn=$n(xr.from(),pn.anchor)):(Wn=pn.anchor,hn=nn(xr.to(),pn.head));var Xn=B.ranges.slice(0);Xn[y]=H(e,new ei(qr(u,hn),Wn)),_e(u,So(e,Xn,y),Or)}}var Me=n.wrapper.getBoundingClientRect(),Ct=0;function lt(It){var ir=++Ct,Ve=ws(e,It,!0,i.unit=="rectangle");if(!!Ve)if(Pe(Ve,he)!=0){e.curOp.focus=tn(),Ze(Ve);var wr=As(n,u);(Ve.line>=wr.to||Ve.line<wr.from)&&setTimeout(Ei(e,function(){Ct==ir&<(It)}),150)}else{var Pr=It.clientY<Me.top?-20:It.clientY>Me.bottom?20:0;Pr&&setTimeout(Ei(e,function(){Ct==ir&&(n.scroller.scrollTop+=Pr,lt(It))}),50)}}function Bt(It){e.state.selectingText=!1,Ct=1/0,It&&(vt(It),n.input.focus()),Tt(n.wrapper.ownerDocument,"mousemove",er),Tt(n.wrapper.ownerDocument,"mouseup",wt),u.history.lastSelOrigin=null}var er=Ei(e,function(It){It.buttons===0||!Qn(It)?Bt(It):lt(It)}),wt=Ei(e,Bt);e.state.selectingText=wt,ht(n.wrapper.ownerDocument,"mousemove",er),ht(n.wrapper.ownerDocument,"mouseup",wt)}function H(e,t){var o=t.anchor,i=t.head,n=Oe(e.doc,o.line);if(Pe(o,i)==0&&o.sticky==i.sticky)return t;var u=Ht(n);if(!u)return t;var c=di(u,o.ch,o.sticky),y=u[c];if(y.from!=o.ch&&y.to!=o.ch)return t;var B=c+(y.from==o.ch==(y.level!=1)?0:1);if(B==0||B==u.length)return t;var M;if(i.line!=o.line)M=(i.line-o.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var ve=di(u,i.ch,i.sticky),he=ve-c||(i.ch-o.ch)*(y.level==1?-1:1);ve==B-1||ve==B?M=he<0:M=he>0}var Ze=u[B+(M?-1:0)],Me=M==(Ze.level==1),Ct=Me?Ze.from:Ze.to,lt=Me?"after":"before";return o.ch==Ct&&o.sticky==lt?t:new ei(new b(o.line,Ct,lt),i)}function L(e,t,o,i){var n,u;if(t.touches)n=t.touches[0].clientX,u=t.touches[0].clientY;else try{n=t.clientX,u=t.clientY}catch{return!1}if(n>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;i&&vt(t);var c=e.display,y=c.lineDiv.getBoundingClientRect();if(u>y.bottom||!Jr(e,o))return Fn(t);u-=y.top-c.viewOffset;for(var B=0;B<e.display.gutterSpecs.length;++B){var M=c.gutters.childNodes[B];if(M&&M.getBoundingClientRect().right>=n){var ve=Pi(e.doc,u),he=e.display.gutterSpecs[B];return yr(e,o,e,ve,he.className,t),Fn(t)}}}function Y(e,t){return L(e,t,"gutterClick",!0)}function X(e,t){ao(e.display,t)||K(e,t)||at(e,t,"contextmenu")||Lr||e.display.input.onContextMenu(t)}function K(e,t){return Jr(e,"gutterContextMenu")?L(e,t,"gutterContextMenu",!1):!1}function ce(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ws(e)}var we={toString:function(){return"CodeMirror.Init"}},ye={},Ne={};function ke(e){var t=e.optionHandlers;function o(i,n,u,c){e.defaults[i]=n,u&&(t[i]=c?function(y,B,M){M!=we&&u(y,B,M)}:u)}e.defineOption=o,e.Init=we,o("value","",function(i,n){return i.setValue(n)},!0),o("mode",null,function(i,n){i.doc.modeOption=n,Xo(i)},!0),o("indentUnit",2,Xo,!0),o("indentWithTabs",!1),o("smartIndent",!0),o("tabSize",4,function(i){Fo(i),Ws(i),qi(i)},!0),o("lineSeparator",null,function(i,n){if(i.doc.lineSep=n,!!n){var u=[],c=i.doc.first;i.doc.iter(function(B){for(var M=0;;){var ve=B.text.indexOf(n,M);if(ve==-1)break;M=ve+n.length,u.push(b(c,ve))}c++});for(var y=u.length-1;y>=0;y--)Jt(i.doc,n,u[y],b(u[y].line,u[y].ch+n.length))}}),o("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(i,n,u){i.state.specialChars=new RegExp(n.source+(n.test(" ")?"":"| "),"g"),u!=we&&i.refresh()}),o("specialCharPlaceholder",dc,function(i){return i.refresh()},!0),o("electricChars",!0),o("inputStyle",Wt?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),o("spellcheck",!1,function(i,n){return i.getInputField().spellcheck=n},!0),o("autocorrect",!1,function(i,n){return i.getInputField().autocorrect=n},!0),o("autocapitalize",!1,function(i,n){return i.getInputField().autocapitalize=n},!0),o("rtlMoveVisually",!Rr),o("wholeLineUpdateBefore",!0),o("theme","default",function(i){ce(i),zo(i)},!0),o("keyMap","default",function(i,n,u){var c=Wl(n),y=u!=we&&Wl(u);y&&y.detach&&y.detach(i,c),c.attach&&c.attach(i,y||null)}),o("extraKeys",null),o("configureMouse",null),o("lineWrapping",!1,qe,!0),o("gutters",[],function(i,n){i.display.gutterSpecs=nl(n,i.options.lineNumbers),zo(i)},!0),o("fixedGutter",!0,function(i,n){i.display.gutters.style.left=n?Uu(i.display)+"px":"0",i.refresh()},!0),o("coverGutterNextToScrollbar",!1,function(i){return wo(i)},!0),o("scrollbarStyle","native",function(i){ga(i),wo(i),i.display.scrollbars.setScrollTop(i.doc.scrollTop),i.display.scrollbars.setScrollLeft(i.doc.scrollLeft)},!0),o("lineNumbers",!1,function(i,n){i.display.gutterSpecs=nl(i.options.gutters,n),zo(i)},!0),o("firstLineNumber",1,zo,!0),o("lineNumberFormatter",function(i){return i},zo,!0),o("showCursorWhenSelecting",!1,is,!0),o("resetSelectionOnContextMenu",!0),o("lineWiseCopyCut",!0),o("pasteLinesPerSelection",!0),o("selectionsMayTouch",!1),o("readOnly",!1,function(i,n){n=="nocursor"&&(os(i),i.display.input.blur()),i.display.input.readOnlyChanged(n)}),o("screenReaderLabel",null,function(i,n){n=n===""?null:n,i.display.input.screenReaderLabelChanged(n)}),o("disableInput",!1,function(i,n){n||i.display.input.reset()},!0),o("dragDrop",!0,Ee),o("allowDropFileTypes",null),o("cursorBlinkRate",530),o("cursorScrollMargin",0),o("cursorHeight",1,is,!0),o("singleCursorHeightPerLine",!0,is,!0),o("workTime",100),o("workDelay",100),o("flattenSpans",!0,Fo,!0),o("addModeClass",!1,Fo,!0),o("pollInterval",100),o("undoDepth",200,function(i,n){return i.doc.history.undoDepth=n}),o("historyEventDelay",1250),o("viewportMargin",10,function(i){return i.refresh()},!0),o("maxHighlightLength",1e4,Fo,!0),o("moveInputWithCursor",!0,function(i,n){n||i.display.input.resetPosition()}),o("tabindex",null,function(i,n){return i.display.input.getField().tabIndex=n||""}),o("autofocus",null),o("direction","ltr",function(i,n){return i.doc.setDirection(n)},!0),o("phrases",null)}function Ee(e,t,o){var i=o&&o!=we;if(!t!=!i){var n=e.display.dragFunctions,u=t?ht:Tt;u(e.display.scroller,"dragstart",n.start),u(e.display.scroller,"dragenter",n.enter),u(e.display.scroller,"dragover",n.over),u(e.display.scroller,"dragleave",n.leave),u(e.display.scroller,"drop",n.drop)}}function qe(e){e.options.lineWrapping?(Vn(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(gn(e.display.wrapper,"CodeMirror-wrap"),Rs(e)),qu(e),qi(e),Ws(e),setTimeout(function(){return wo(e)},100)}function Se(e,t){var o=this;if(!(this instanceof Se))return new Se(e,t);this.options=t=t?li(t):{},li(ye,t,!1);var i=t.value;typeof i=="string"?i=new si(i,t.mode,null,t.lineSeparator,t.direction):t.mode&&(i.modeOption=t.mode),this.doc=i;var n=new Se.inputStyles[t.inputStyle](this),u=this.display=new wc(e,i,n,t);u.wrapper.CodeMirror=this,ce(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ga(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new ar,keySeq:null,specialChars:null},t.autofocus&&!Wt&&u.input.focus(),ue&&Ae<11&&setTimeout(function(){return o.display.input.reset(!0)},20),Te(this),zl(),Fs(this),this.curOp.forceUpdate=!0,al(this,i),t.autofocus&&!Wt||this.hasFocus()?setTimeout(function(){o.hasFocus()&&!o.state.focused&&Vs(o)},20):os(this);for(var c in Ne)Ne.hasOwnProperty(c)&&Ne[c](this,t[c],we);jl(this),t.finishInit&&t.finishInit(this);for(var y=0;y<Ge.length;++y)Ge[y](this);zi(this),Be&&t.lineWrapping&&getComputedStyle(u.lineDiv).textRendering=="optimizelegibility"&&(u.lineDiv.style.textRendering="auto")}Se.defaults=ye,Se.optionHandlers=Ne;function Te(e){var t=e.display;ht(t.scroller,"mousedown",Ei(e,ie)),ue&&Ae<11?ht(t.scroller,"dblclick",Ei(e,function(B){if(!at(e,B)){var M=ws(e,B);if(!(!M||Y(e,B)||ao(e.display,B))){vt(B);var ve=e.findWordAt(M);g(e.doc,ve.anchor,ve.head)}}})):ht(t.scroller,"dblclick",function(B){return at(e,B)||vt(B)}),ht(t.scroller,"contextmenu",function(B){return X(e,B)}),ht(t.input.getField(),"contextmenu",function(B){t.scroller.contains(B.target)||X(e,B)});var o,i={end:0};function n(){t.activeTouch&&(o=setTimeout(function(){return t.activeTouch=null},1e3),i=t.activeTouch,i.end=+new Date)}function u(B){if(B.touches.length!=1)return!1;var M=B.touches[0];return M.radiusX<=1&&M.radiusY<=1}function c(B,M){if(M.left==null)return!0;var ve=M.left-B.left,he=M.top-B.top;return ve*ve+he*he>20*20}ht(t.scroller,"touchstart",function(B){if(!at(e,B)&&!u(B)&&!Y(e,B)){t.input.ensurePolled(),clearTimeout(o);var M=+new Date;t.activeTouch={start:M,moved:!1,prev:M-i.end<=300?i:null},B.touches.length==1&&(t.activeTouch.left=B.touches[0].pageX,t.activeTouch.top=B.touches[0].pageY)}}),ht(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),ht(t.scroller,"touchend",function(B){var M=t.activeTouch;if(M&&!ao(t,B)&&M.left!=null&&!M.moved&&new Date-M.start<300){var ve=e.coordsChar(t.activeTouch,"page"),he;!M.prev||c(M,M.prev)?he=new ei(ve,ve):!M.prev.prev||c(M,M.prev.prev)?he=e.findWordAt(ve):he=new ei(b(ve.line,0),qr(e.doc,b(ve.line+1,0))),e.setSelection(he.anchor,he.head),e.focus(),vt(B)}n()}),ht(t.scroller,"touchcancel",n),ht(t.scroller,"scroll",function(){t.scroller.clientHeight&&(qs(e,t.scroller.scrollTop),Io(e,t.scroller.scrollLeft,!0),yr(e,"scroll",e))}),ht(t.scroller,"mousewheel",function(B){return il(e,B)}),ht(t.scroller,"DOMMouseScroll",function(B){return il(e,B)}),ht(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(B){at(e,B)||Mn(B)},over:function(B){at(e,B)||(eo(e,B),Mn(B))},start:function(B){return ki(e,B)},drop:Ei(e,Ji),leave:function(B){at(e,B)||Mi(e)}};var y=t.input.getField();ht(y,"keyup",function(B){return j.call(e,B)}),ht(y,"keydown",Ei(e,T)),ht(y,"keypress",Ei(e,re)),ht(y,"focus",function(B){return Vs(e,B)}),ht(y,"blur",function(B){return os(e,B)})}var Ge=[];Se.defineInitHook=function(e){return Ge.push(e)};function Qe(e,t,o,i){var n=e.doc,u;o==null&&(o="add"),o=="smart"&&(n.mode.indent?u=ms(e,t).state:o="prev");var c=e.options.tabSize,y=Oe(n,t),B=Gt(y.text,null,c);y.stateAfter&&(y.stateAfter=null);var M=y.text.match(/^\s*/)[0],ve;if(!i&&!/\S/.test(y.text))ve=0,o="not";else if(o=="smart"&&(ve=n.mode.indent(u,y.text.slice(M.length),y.text),ve==rn||ve>150)){if(!i)return;o="prev"}o=="prev"?t>n.first?ve=Gt(Oe(n,t-1).text,null,c):ve=0:o=="add"?ve=B+e.options.indentUnit:o=="subtract"?ve=B-e.options.indentUnit:typeof o=="number"&&(ve=B+o),ve=Math.max(0,ve);var he="",Ze=0;if(e.options.indentWithTabs)for(var Me=Math.floor(ve/c);Me;--Me)Ze+=c,he+=" ";if(Ze<ve&&(he+=Lt(ve-Ze)),he!=M)return Jt(n,he,b(t,0),b(t,M.length),"+input"),y.stateAfter=null,!0;for(var Ct=0;Ct<n.sel.ranges.length;Ct++){var lt=n.sel.ranges[Ct];if(lt.head.line==t&<.head.ch<M.length){var Bt=b(t,M.length);U(n,Ct,new ei(Bt,Bt));break}}}var Xe=null;function At(e){Xe=e}function Fe(e,t,o,i,n){var u=e.doc;e.display.shift=!1,i||(i=u.sel);var c=+new Date-200,y=n=="paste"||e.state.pasteIncoming>c,B=Ot(t),M=null;if(y&&i.ranges.length>1)if(Xe&&Xe.text.join(`
|
|
13
|
+
`)==t){if(i.ranges.length%Xe.text.length==0){M=[];for(var ve=0;ve<Xe.text.length;ve++)M.push(u.splitLines(Xe.text[ve]))}}else B.length==i.ranges.length&&e.options.pasteLinesPerSelection&&(M=or(B,function(er){return[er]}));for(var he=e.curOp.updateInput,Ze=i.ranges.length-1;Ze>=0;Ze--){var Me=i.ranges[Ze],Ct=Me.from(),lt=Me.to();Me.empty()&&(o&&o>0?Ct=b(Ct.line,Ct.ch-o):e.state.overwrite&&!y?lt=b(lt.line,Math.min(Oe(u,lt.line).text.length,lt.ch+kt(B).length)):y&&Xe&&Xe.lineWise&&Xe.text.join(`
|
|
14
|
+
`)==B.join(`
|
|
15
|
+
`)&&(Ct=lt=b(Ct.line,0)));var Bt={from:Ct,to:lt,text:M?M[Ze%M.length]:B,origin:n||(y?"paste":e.state.cutIncoming>c?"cut":"+input")};xn(e.doc,Bt),Ni(e,"inputRead",e,Bt)}t&&!y&&Dt(e,t),Go(e),e.curOp.updateInput<2&&(e.curOp.updateInput=he),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Ie(e,t){var o=e.clipboardData&&e.clipboardData.getData("Text");if(o)return e.preventDefault(),!t.isReadOnly()&&!t.options.disableInput&&t.hasFocus()&&Wi(t,function(){return Fe(t,o,0,null,"paste")}),!0}function Dt(e,t){if(!(!e.options.electricChars||!e.options.smartIndent))for(var o=e.doc.sel,i=o.ranges.length-1;i>=0;i--){var n=o.ranges[i];if(!(n.head.ch>100||i&&o.ranges[i-1].head.line==n.head.line)){var u=e.getModeAt(n.head),c=!1;if(u.electricChars){for(var y=0;y<u.electricChars.length;y++)if(t.indexOf(u.electricChars.charAt(y))>-1){c=Qe(e,n.head.line,"smart");break}}else u.electricInput&&u.electricInput.test(Oe(e.doc,n.head.line).text.slice(0,n.head.ch))&&(c=Qe(e,n.head.line,"smart"));c&&Ni(e,"electricInput",e,n.head.line)}}}function _t(e){for(var t=[],o=[],i=0;i<e.doc.sel.ranges.length;i++){var n=e.doc.sel.ranges[i].head.line,u={anchor:b(n,0),head:b(n+1,0)};o.push(u),t.push(e.getRange(u.anchor,u.head))}return{text:t,ranges:o}}function mt(e,t,o,i){e.setAttribute("autocorrect",o?"":"off"),e.setAttribute("autocapitalize",i?"":"off"),e.setAttribute("spellcheck",!!t)}function Le(){var e=de("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),t=de("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Be?e.style.width="1000px":e.setAttribute("wrap","off"),pt&&(e.style.border="1px solid black"),mt(e),t}function Re(e){var t=e.optionHandlers,o=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(i,n){var u=this.options,c=u[i];u[i]==n&&i!="mode"||(u[i]=n,t.hasOwnProperty(i)&&Ei(this,t[i])(this,n,c),yr(this,"optionChange",this,i))},getOption:function(i){return this.options[i]},getDoc:function(){return this.doc},addKeyMap:function(i,n){this.state.keyMaps[n?"push":"unshift"](Wl(i))},removeKeyMap:function(i){for(var n=this.state.keyMaps,u=0;u<n.length;++u)if(n[u]==i||n[u].name==i)return n.splice(u,1),!0},addOverlay:Oi(function(i,n){var u=i.token?i:e.getMode(this.options,i);if(u.startState)throw new Error("Overlays may not be stateful.");gr(this.state.overlays,{mode:u,modeSpec:i,opaque:n&&n.opaque,priority:n&&n.priority||0},function(c){return c.priority}),this.state.modeGen++,qi(this)}),removeOverlay:Oi(function(i){for(var n=this.state.overlays,u=0;u<n.length;++u){var c=n[u].modeSpec;if(c==i||typeof i=="string"&&c.name==i){n.splice(u,1),this.state.modeGen++,qi(this);return}}}),indentLine:Oi(function(i,n,u){typeof n!="string"&&typeof n!="number"&&(n==null?n=this.options.smartIndent?"smart":"prev":n=n?"add":"subtract"),yo(this.doc,i)&&Qe(this,i,n,u)}),indentSelection:Oi(function(i){for(var n=this.doc.sel.ranges,u=-1,c=0;c<n.length;c++){var y=n[c];if(y.empty())y.head.line>u&&(Qe(this,y.head.line,i,!0),u=y.head.line,c==this.doc.sel.primIndex&&Go(this));else{var B=y.from(),M=y.to(),ve=Math.max(u,B.line);u=Math.min(this.lastLine(),M.line-(M.ch?0:1))+1;for(var he=ve;he<u;++he)Qe(this,he,i);var Ze=this.doc.sel.ranges;B.ch==0&&n.length==Ze.length&&Ze[c].from().ch>0&&U(this.doc,c,new ei(B,Ze[c].to()),Hr)}}}),getTokenAt:function(i,n){return ta(this,i,n)},getLineTokens:function(i,n){return ta(this,b(i),n,!0)},getTokenTypeAt:function(i){i=qr(this.doc,i);var n=bu(this,Oe(this.doc,i.line)),u=0,c=(n.length-1)/2,y=i.ch,B;if(y==0)B=n[2];else for(;;){var M=u+c>>1;if((M?n[M*2-1]:0)>=y)c=M;else if(n[M*2+1]<y)u=M+1;else{B=n[M*2+2];break}}var ve=B?B.indexOf("overlay "):-1;return ve<0?B:ve==0?null:B.slice(0,ve-1)},getModeAt:function(i){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(i).state).mode:n},getHelper:function(i,n){return this.getHelpers(i,n)[0]},getHelpers:function(i,n){var u=[];if(!o.hasOwnProperty(n))return u;var c=o[n],y=this.getModeAt(i);if(typeof y[n]=="string")c[y[n]]&&u.push(c[y[n]]);else if(y[n])for(var B=0;B<y[n].length;B++){var M=c[y[n][B]];M&&u.push(M)}else y.helperType&&c[y.helperType]?u.push(c[y.helperType]):c[y.name]&&u.push(c[y.name]);for(var ve=0;ve<c._global.length;ve++){var he=c._global[ve];he.pred(y,this)&&Pt(u,he.val)==-1&&u.push(he.val)}return u},getStateAfter:function(i,n){var u=this.doc;return i=Rn(u,i==null?u.first+u.size-1:i),ms(this,i+1,n).state},cursorCoords:function(i,n){var u,c=this.doc.sel.primary();return i==null?u=c.head:typeof i=="object"?u=qr(this.doc,i):u=i?c.from():c.to(),uo(this,u,n||"page")},charCoords:function(i,n){return Ri(this,qr(this.doc,i),n||"page")},coordsChar:function(i,n){return i=Ci(this,i,n||"page"),rs(this,i.left,i.top)},lineAtHeight:function(i,n){return i=Ci(this,{top:i,left:0},n||"page").top,Pi(this.doc,i+this.display.viewOffset)},heightAtLine:function(i,n,u){var c=!1,y;if(typeof i=="number"){var B=this.doc.first+this.doc.size-1;i<this.doc.first?i=this.doc.first:i>B&&(i=B,c=!0),y=Oe(this.doc,i)}else y=i;return Ga(this,y,{top:0,left:0},n||"page",u||c).top+(c?this.doc.height-Do(y):0)},defaultTextHeight:function(){return Cs(this.display)},defaultCharWidth:function(){return Es(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(i,n,u,c,y){var B=this.display;i=uo(this,qr(this.doc,i));var M=i.bottom,ve=i.left;if(n.style.position="absolute",n.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(n),B.sizer.appendChild(n),c=="over")M=i.top;else if(c=="above"||c=="near"){var he=Math.max(B.wrapper.clientHeight,this.doc.height),Ze=Math.max(B.sizer.clientWidth,B.lineSpace.clientWidth);(c=="above"||i.bottom+n.offsetHeight>he)&&i.top>n.offsetHeight?M=i.top-n.offsetHeight:i.bottom+n.offsetHeight<=he&&(M=i.bottom),ve+n.offsetWidth>Ze&&(ve=Ze-n.offsetWidth)}n.style.top=M+"px",n.style.left=n.style.right="",y=="right"?(ve=B.sizer.clientWidth-n.offsetWidth,n.style.right="0px"):(y=="left"?ve=0:y=="middle"&&(ve=(B.sizer.clientWidth-n.offsetWidth)/2),n.style.left=ve+"px"),u&&xc(this,{left:ve,top:M,right:ve+n.offsetWidth,bottom:M+n.offsetHeight})},triggerOnKeyDown:Oi(T),triggerOnKeyPress:Oi(re),triggerOnKeyUp:j,triggerOnMouseDown:Oi(ie),execCommand:function(i){if(A.hasOwnProperty(i))return A[i].call(null,this)},triggerElectric:Oi(function(i){Dt(this,i)}),findPosH:function(i,n,u,c){var y=1;n<0&&(y=-1,n=-n);for(var B=qr(this.doc,i),M=0;M<n&&(B=He(this.doc,B,y,u,c),!B.hitSide);++M);return B},moveH:Oi(function(i,n){var u=this;this.extendSelectionsBy(function(c){return u.display.shift||u.doc.extend||c.empty()?He(u.doc,c.head,i,n,u.options.rtlMoveVisually):i<0?c.from():c.to()},Zr)}),deleteH:Oi(function(i,n){var u=this.doc.sel,c=this.doc;u.somethingSelected()?c.replaceSelection("",null,"+delete"):uu(this,function(y){var B=He(c,y.head,i,n,!1);return i<0?{from:B,to:y.head}:{from:y.head,to:B}})}),findPosV:function(i,n,u,c){var y=1,B=c;n<0&&(y=-1,n=-n);for(var M=qr(this.doc,i),ve=0;ve<n;++ve){var he=uo(this,M,"div");if(B==null?B=he.left:he.left=B,M=Et(this,he,y,u),M.hitSide)break}return M},moveV:Oi(function(i,n){var u=this,c=this.doc,y=[],B=!this.display.shift&&!c.extend&&c.sel.somethingSelected();if(c.extendSelectionsBy(function(ve){if(B)return i<0?ve.from():ve.to();var he=uo(u,ve.head,"div");ve.goalColumn!=null&&(he.left=ve.goalColumn),y.push(he.left);var Ze=Et(u,he,i,n);return n=="page"&&ve==c.sel.primary()&&fa(u,Ri(u,Ze,"div").top-he.top),Ze},Zr),y.length)for(var M=0;M<c.sel.ranges.length;M++)c.sel.ranges[M].goalColumn=y[M]}),findWordAt:function(i){var n=this.doc,u=Oe(n,i.line).text,c=i.ch,y=i.ch;if(u){var B=this.getHelper(i,"wordChars");(i.sticky=="before"||y==u.length)&&c?--c:++y;for(var M=u.charAt(c),ve=Rt(M,B)?function(he){return Rt(he,B)}:/\s/.test(M)?function(he){return/\s/.test(he)}:function(he){return!/\s/.test(he)&&!Rt(he)};c>0&&ve(u.charAt(c-1));)--c;for(;y<u.length&&ve(u.charAt(y));)++y}return new ei(b(i.line,c),b(i.line,y))},toggleOverwrite:function(i){i!=null&&i==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Vn(this.display.cursorDiv,"CodeMirror-overwrite"):gn(this.display.cursorDiv,"CodeMirror-overwrite"),yr(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==tn()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Oi(function(i,n){as(this,i,n)}),getScrollInfo:function(){var i=this.display.scroller;return{left:i.scrollLeft,top:i.scrollTop,height:i.scrollHeight-Co(this)-this.display.barHeight,width:i.scrollWidth-Co(this)-this.display.barWidth,clientHeight:Hs(this),clientWidth:Jo(this)}},scrollIntoView:Oi(function(i,n){i==null?(i={from:this.doc.sel.primary().head,to:null},n==null&&(n=this.options.cursorScrollMargin)):typeof i=="number"?i={from:b(i,0),to:null}:i.from==null&&(i={from:i,to:null}),i.to||(i.to=i.from),i.margin=n||0,i.from.line!=null?Yu(this,i):da(this,i.from,i.to,i.margin)}),setSize:Oi(function(i,n){var u=this,c=function(B){return typeof B=="number"||/^\d+$/.test(String(B))?B+"px":B};i!=null&&(this.display.wrapper.style.width=c(i)),n!=null&&(this.display.wrapper.style.height=c(n)),this.options.lineWrapping&&Ru(this);var y=this.display.viewFrom;this.doc.iter(y,this.display.viewTo,function(B){if(B.widgets){for(var M=0;M<B.widgets.length;M++)if(B.widgets[M].noHScroll){qn(u,y,"widget");break}}++y}),this.curOp.forceUpdate=!0,yr(this,"refresh",this)}),operation:function(i){return Wi(this,i)},startOperation:function(){return Fs(this)},endOperation:function(){return zi(this)},refresh:Oi(function(){var i=this.display.cachedTextHeight;qi(this),this.curOp.forceUpdate=!0,Ws(this),as(this,this.doc.scrollLeft,this.doc.scrollTop),ru(this.display),(i==null||Math.abs(i-Cs(this.display))>.5||this.options.lineWrapping)&&qu(this),yr(this,"refresh",this)}),swapDoc:Oi(function(i){var n=this.doc;return n.cm=null,this.state.selectingText&&this.state.selectingText(),al(this,i),Ws(this),this.display.input.reset(),as(this,i.scrollLeft,i.scrollTop),this.curOp.forceScroll=!0,Ni(this,"swapDoc",this,n),n}),phrase:function(i){var n=this.options.phrases;return n&&Object.prototype.hasOwnProperty.call(n,i)?n[i]:i},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},En(e),e.registerHelper=function(i,n,u){o.hasOwnProperty(i)||(o[i]=e[i]={_global:[]}),o[i][n]=u},e.registerGlobalHelper=function(i,n,u,c){e.registerHelper(i,n,c),o[i]._global.push({pred:u,val:c})}}function He(e,t,o,i,n){var u=t,c=o,y=Oe(e,t.line),B=n&&e.direction=="rtl"?-o:o;function M(){var wt=t.line+B;return wt<e.first||wt>=e.first+e.size?!1:(t=new b(wt,t.ch,t.sticky),y=Oe(e,wt))}function ve(wt){var It;if(i=="codepoint"){var ir=y.text.charCodeAt(t.ch+(o>0?0:-1));if(isNaN(ir))It=null;else{var Ve=o>0?ir>=55296&&ir<56320:ir>=56320&&ir<57343;It=new b(t.line,Math.max(0,Math.min(y.text.length,t.ch+o*(Ve?2:1))),-o)}}else n?It=m(e.cm,y,t,o):It=Ts(y,t,o);if(It==null)if(!wt&&M())t=pl(n,e.cm,y,t.line,B);else return!1;else t=It;return!0}if(i=="char"||i=="codepoint")ve();else if(i=="column")ve(!0);else if(i=="word"||i=="group")for(var he=null,Ze=i=="group",Me=e.cm&&e.cm.getHelper(t,"wordChars"),Ct=!0;!(o<0&&!ve(!Ct));Ct=!1){var lt=y.text.charAt(t.ch)||`
|
|
16
|
+
`,Bt=Rt(lt,Me)?"w":Ze&<==`
|
|
17
|
+
`?"n":!Ze||/\s/.test(lt)?null:"p";if(Ze&&!Ct&&!Bt&&(Bt="s"),he&&he!=Bt){o<0&&(o=1,ve(),t.sticky="after");break}if(Bt&&(he=Bt),o>0&&!ve(!Ct))break}var er=Nr(e,t,u,c,!0);return tr(u,er)&&(er.hitSide=!0),er}function Et(e,t,o,i){var n=e.doc,u=t.left,c;if(i=="page"){var y=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),B=Math.max(y-.5*Cs(e.display),3);c=(o>0?t.bottom:t.top)+o*B}else i=="line"&&(c=o>0?t.bottom+3:t.top-3);for(var M;M=rs(e,u,c),!!M.outside;){if(o<0?c<=0:c>=n.height){M.hitSide=!0;break}c+=o*5}return M}var gt=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new ar,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};gt.prototype.init=function(e){var t=this,o=this,i=o.cm,n=o.div=e.lineDiv;n.contentEditable=!0,mt(n,i.options.spellcheck,i.options.autocorrect,i.options.autocapitalize);function u(y){for(var B=y.target;B;B=B.parentNode){if(B==n)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(B.className))break}return!1}ht(n,"paste",function(y){!u(y)||at(i,y)||Ie(y,i)||Ae<=11&&setTimeout(Ei(i,function(){return t.updateFromDOM()}),20)}),ht(n,"compositionstart",function(y){t.composing={data:y.data,done:!1}}),ht(n,"compositionupdate",function(y){t.composing||(t.composing={data:y.data,done:!1})}),ht(n,"compositionend",function(y){t.composing&&(y.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),ht(n,"touchstart",function(){return o.forceCompositionEnd()}),ht(n,"input",function(){t.composing||t.readFromDOMSoon()});function c(y){if(!(!u(y)||at(i,y))){if(i.somethingSelected())At({lineWise:!1,text:i.getSelections()}),y.type=="cut"&&i.replaceSelection("",null,"cut");else if(i.options.lineWiseCopyCut){var B=_t(i);At({lineWise:!0,text:B.text}),y.type=="cut"&&i.operation(function(){i.setSelections(B.ranges,0,Hr),i.replaceSelection("",null,"cut")})}else return;if(y.clipboardData){y.clipboardData.clearData();var M=Xe.text.join(`
|
|
18
|
+
`);if(y.clipboardData.setData("Text",M),y.clipboardData.getData("Text")==M){y.preventDefault();return}}var ve=Le(),he=ve.firstChild;i.display.lineSpace.insertBefore(ve,i.display.lineSpace.firstChild),he.value=Xe.text.join(`
|
|
19
|
+
`);var Ze=tn();ui(he),setTimeout(function(){i.display.lineSpace.removeChild(ve),Ze.focus(),Ze==n&&o.showPrimarySelection()},50)}}ht(n,"copy",c),ht(n,"cut",c)},gt.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},gt.prototype.prepareSelection=function(){var e=Ka(this.cm,!1);return e.focus=tn()==this.div,e},gt.prototype.showSelection=function(e,t){!e||!this.cm.display.view.length||((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},gt.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},gt.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,o=t.doc.sel.primary(),i=o.from(),n=o.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||n.line<t.display.viewFrom){e.removeAllRanges();return}var u=St(t,e.anchorNode,e.anchorOffset),c=St(t,e.focusNode,e.focusOffset);if(!(u&&!u.bad&&c&&!c.bad&&Pe($n(u,c),i)==0&&Pe(nn(u,c),n)==0)){var y=t.display.view,B=i.line>=t.display.viewFrom&&ur(t,i)||{node:y[0].measure.map[2],offset:0},M=n.line<t.display.viewTo&&ur(t,n);if(!M){var ve=y[y.length-1].measure,he=ve.maps?ve.maps[ve.maps.length-1]:ve.map;M={node:he[he.length-1],offset:he[he.length-2]-he[he.length-3]}}if(!B||!M){e.removeAllRanges();return}var Ze=e.rangeCount&&e.getRangeAt(0),Me;try{Me=Ut(B.node,B.offset,M.offset,M.node)}catch{}Me&&(!f&&t.state.focused?(e.collapse(B.node,B.offset),Me.collapsed||(e.removeAllRanges(),e.addRange(Me))):(e.removeAllRanges(),e.addRange(Me)),Ze&&e.anchorNode==null?e.addRange(Ze):f&&this.startGracePeriod()),this.rememberSelection()}},gt.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},gt.prototype.showMultipleSelections=function(e){Cr(this.cm.display.cursorDiv,e.cursors),Cr(this.cm.display.selectionDiv,e.selection)},gt.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},gt.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return Ar(this.div,t)},gt.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||tn()!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},gt.prototype.blur=function(){this.div.blur()},gt.prototype.getField=function(){return this.div},gt.prototype.supportsTouch=function(){return!0},gt.prototype.receivedFocus=function(){var e=this,t=this;this.selectionInEditor()?setTimeout(function(){return e.pollSelection()},20):Wi(this.cm,function(){return t.cm.curOp.selectionChanged=!0});function o(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,o))}this.polling.set(this.cm.options.pollInterval,o)},gt.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},gt.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var e=this.getSelection(),t=this.cm;if(dt&&Je&&this.cm.display.gutterSpecs.length&&Ur(e.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var o=St(t,e.anchorNode,e.anchorOffset),i=St(t,e.focusNode,e.focusOffset);o&&i&&Wi(t,function(){_e(t.doc,ps(o,i),Hr),(o.bad||i.bad)&&(t.curOp.selectionChanged=!0)})}}},gt.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,t=e.display,o=e.doc.sel.primary(),i=o.from(),n=o.to();if(i.ch==0&&i.line>e.firstLine()&&(i=b(i.line-1,Oe(e.doc,i.line-1).length)),n.ch==Oe(e.doc,n.line).text.length&&n.line<e.lastLine()&&(n=b(n.line+1,0)),i.line<t.viewFrom||n.line>t.viewTo-1)return!1;var u,c,y;i.line==t.viewFrom||(u=go(e,i.line))==0?(c=yn(t.view[0].line),y=t.view[0].node):(c=yn(t.view[u].line),y=t.view[u-1].node.nextSibling);var B=go(e,n.line),M,ve;if(B==t.view.length-1?(M=t.viewTo-1,ve=t.lineDiv.lastChild):(M=yn(t.view[B+1].line)-1,ve=t.view[B+1].node.previousSibling),!y)return!1;for(var he=e.doc.splitLines(Ft(e,y,ve,c,M)),Ze=Bi(e.doc,b(c,0),b(M,Oe(e.doc,M).text.length));he.length>1&&Ze.length>1;)if(kt(he)==kt(Ze))he.pop(),Ze.pop(),M--;else if(he[0]==Ze[0])he.shift(),Ze.shift(),c++;else break;for(var Me=0,Ct=0,lt=he[0],Bt=Ze[0],er=Math.min(lt.length,Bt.length);Me<er&<.charCodeAt(Me)==Bt.charCodeAt(Me);)++Me;for(var wt=kt(he),It=kt(Ze),ir=Math.min(wt.length-(he.length==1?Me:0),It.length-(Ze.length==1?Me:0));Ct<ir&&wt.charCodeAt(wt.length-Ct-1)==It.charCodeAt(It.length-Ct-1);)++Ct;if(he.length==1&&Ze.length==1&&c==i.line)for(;Me&&Me>i.ch&&wt.charCodeAt(wt.length-Ct-1)==It.charCodeAt(It.length-Ct-1);)Me--,Ct++;he[he.length-1]=wt.slice(0,wt.length-Ct).replace(/^\u200b+/,""),he[0]=he[0].slice(Me).replace(/\u200b+$/,"");var Ve=b(c,Me),wr=b(M,Ze.length?kt(Ze).length-Ct:0);if(he.length>1||he[0]||Pe(Ve,wr))return Jt(e.doc,he,Ve,wr,"+input"),!0},gt.prototype.ensurePolled=function(){this.forceCompositionEnd()},gt.prototype.reset=function(){this.forceCompositionEnd()},gt.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},gt.prototype.readFromDOMSoon=function(){var e=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80))},gt.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&Wi(this.cm,function(){return qi(e.cm)})},gt.prototype.setUneditable=function(e){e.contentEditable="false"},gt.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Ei(this.cm,Fe)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},gt.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},gt.prototype.onContextMenu=function(){},gt.prototype.resetPosition=function(){},gt.prototype.needsContentAttribute=!0;function ur(e,t){var o=Eo(e,t.line);if(!o||o.hidden)return null;var i=Oe(e.doc,t.line),n=Ja(o,i,t.line),u=Ht(i,e.doc.direction),c="left";if(u){var y=di(u,t.ch);c=y%2?"right":"left"}var B=Lu(n.map,t.ch,c);return B.offset=B.collapse=="right"?B.end:B.start,B}function Ur(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function Yr(e,t){return t&&(e.bad=!0),e}function Ft(e,t,o,i,n){var u="",c=!1,y=e.doc.lineSeparator(),B=!1;function M(Me){return function(Ct){return Ct.id==Me}}function ve(){c&&(u+=y,B&&(u+=y),c=B=!1)}function he(Me){Me&&(ve(),u+=Me)}function Ze(Me){if(Me.nodeType==1){var Ct=Me.getAttribute("cm-text");if(Ct){he(Ct);return}var lt=Me.getAttribute("cm-marker"),Bt;if(lt){var er=e.findMarks(b(i,0),b(n+1,0),M(+lt));er.length&&(Bt=er[0].find(0))&&he(Bi(e.doc,Bt.from,Bt.to).join(y));return}if(Me.getAttribute("contenteditable")=="false")return;var wt=/^(pre|div|p|li|table|br)$/i.test(Me.nodeName);if(!/^br$/i.test(Me.nodeName)&&Me.textContent.length==0)return;wt&&ve();for(var It=0;It<Me.childNodes.length;It++)Ze(Me.childNodes[It]);/^(pre|p)$/i.test(Me.nodeName)&&(B=!0),wt&&(c=!0)}else Me.nodeType==3&&he(Me.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Ze(t),t!=o;)t=t.nextSibling,B=!1;return u}function St(e,t,o){var i;if(t==e.display.lineDiv){if(i=e.display.lineDiv.childNodes[o],!i)return Yr(e.clipPos(b(e.display.viewTo-1)),!0);t=null,o=0}else for(i=t;;i=i.parentNode){if(!i||i==e.display.lineDiv)return null;if(i.parentNode&&i.parentNode==e.display.lineDiv)break}for(var n=0;n<e.display.view.length;n++){var u=e.display.view[n];if(u.node==i)return Mt(u,t,o)}}function Mt(e,t,o){var i=e.text.firstChild,n=!1;if(!t||!Ar(i,t))return Yr(b(yn(e.line),0),!0);if(t==i&&(n=!0,t=i.childNodes[o],o=0,!t)){var u=e.rest?kt(e.rest):e.line;return Yr(b(yn(u),u.text.length),n)}var c=t.nodeType==3?t:null,y=t;for(!c&&t.childNodes.length==1&&t.firstChild.nodeType==3&&(c=t.firstChild,o&&(o=c.nodeValue.length));y.parentNode!=i;)y=y.parentNode;var B=e.measure,M=B.maps;function ve(Bt,er,wt){for(var It=-1;It<(M?M.length:0);It++)for(var ir=It<0?B.map:M[It],Ve=0;Ve<ir.length;Ve+=3){var wr=ir[Ve+2];if(wr==Bt||wr==er){var Pr=yn(It<0?e.line:e.rest[It]),on=ir[Ve]+wt;return(wt<0||wr!=Bt)&&(on=ir[Ve+(wt?1:0)]),b(Pr,on)}}}var he=ve(c,y,o);if(he)return Yr(he,n);for(var Ze=y.nextSibling,Me=c?c.nodeValue.length-o:0;Ze;Ze=Ze.nextSibling){if(he=ve(Ze,Ze.firstChild,0),he)return Yr(b(he.line,he.ch-Me),n);Me+=Ze.textContent.length}for(var Ct=y.previousSibling,lt=o;Ct;Ct=Ct.previousSibling){if(he=ve(Ct,Ct.firstChild,-1),he)return Yr(b(he.line,he.ch+lt),n);lt+=Ct.textContent.length}}var tt=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new ar,this.hasSelection=!1,this.composing=null};tt.prototype.init=function(e){var t=this,o=this,i=this.cm;this.createField(e);var n=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),pt&&(n.style.width="0px"),ht(n,"input",function(){ue&&Ae>=9&&t.hasSelection&&(t.hasSelection=null),o.poll()}),ht(n,"paste",function(c){at(i,c)||Ie(c,i)||(i.state.pasteIncoming=+new Date,o.fastPoll())});function u(c){if(!at(i,c)){if(i.somethingSelected())At({lineWise:!1,text:i.getSelections()});else if(i.options.lineWiseCopyCut){var y=_t(i);At({lineWise:!0,text:y.text}),c.type=="cut"?i.setSelections(y.ranges,null,Hr):(o.prevInput="",n.value=y.text.join(`
|
|
20
|
+
`),ui(n))}else return;c.type=="cut"&&(i.state.cutIncoming=+new Date)}}ht(n,"cut",u),ht(n,"copy",u),ht(e.scroller,"paste",function(c){if(!(ao(e,c)||at(i,c))){if(!n.dispatchEvent){i.state.pasteIncoming=+new Date,o.focus();return}var y=new Event("paste");y.clipboardData=c.clipboardData,n.dispatchEvent(y)}}),ht(e.lineSpace,"selectstart",function(c){ao(e,c)||vt(c)}),ht(n,"compositionstart",function(){var c=i.getCursor("from");o.composing&&o.composing.range.clear(),o.composing={start:c,range:i.markText(c,i.getCursor("to"),{className:"CodeMirror-composing"})}}),ht(n,"compositionend",function(){o.composing&&(o.poll(),o.composing.range.clear(),o.composing=null)})},tt.prototype.createField=function(e){this.wrapper=Le(),this.textarea=this.wrapper.firstChild},tt.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},tt.prototype.prepareSelection=function(){var e=this.cm,t=e.display,o=e.doc,i=Ka(e);if(e.options.moveInputWithCursor){var n=uo(e,o.sel.primary().head,"div"),u=t.wrapper.getBoundingClientRect(),c=t.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,n.top+c.top-u.top)),i.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,n.left+c.left-u.left))}return i},tt.prototype.showSelection=function(e){var t=this.cm,o=t.display;Cr(o.cursorDiv,e.cursors),Cr(o.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},tt.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing)){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var o=t.getSelection();this.textarea.value=o,t.state.focused&&ui(this.textarea),ue&&Ae>=9&&(this.hasSelection=o)}else e||(this.prevInput=this.textarea.value="",ue&&Ae>=9&&(this.hasSelection=null))}},tt.prototype.getField=function(){return this.textarea},tt.prototype.supportsTouch=function(){return!1},tt.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Wt||tn()!=this.textarea))try{this.textarea.focus()}catch{}},tt.prototype.blur=function(){this.textarea.blur()},tt.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},tt.prototype.receivedFocus=function(){this.slowPoll()},tt.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},tt.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0;function o(){var i=t.poll();!i&&!e?(e=!0,t.polling.set(60,o)):(t.pollingFast=!1,t.slowPoll())}t.polling.set(20,o)},tt.prototype.poll=function(){var e=this,t=this.cm,o=this.textarea,i=this.prevInput;if(this.contextMenuPending||!t.state.focused||Nt(o)&&!i&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var n=o.value;if(n==i&&!t.somethingSelected())return!1;if(ue&&Ae>=9&&this.hasSelection===n||pr&&/[\uf700-\uf7ff]/.test(n))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var u=n.charCodeAt(0);if(u==8203&&!i&&(i="\u200B"),u==8666)return this.reset(),this.cm.execCommand("undo")}for(var c=0,y=Math.min(i.length,n.length);c<y&&i.charCodeAt(c)==n.charCodeAt(c);)++c;return Wi(t,function(){Fe(t,n.slice(c),i.length-c,null,e.composing?"*compose":null),n.length>1e3||n.indexOf(`
|
|
21
|
+
`)>-1?o.value=e.prevInput="":e.prevInput=n,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},tt.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},tt.prototype.onKeyPress=function(){ue&&Ae>=9&&(this.hasSelection=null),this.fastPoll()},tt.prototype.onContextMenu=function(e){var t=this,o=t.cm,i=o.display,n=t.textarea;t.contextMenuPending&&t.contextMenuPending();var u=ws(o,e),c=i.scroller.scrollTop;if(!u||bt)return;var y=o.options.resetSelectionOnContextMenu;y&&o.doc.sel.contains(u)==-1&&Ei(o,_e)(o.doc,ps(u),Hr);var B=n.style.cssText,M=t.wrapper.style.cssText,ve=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",n.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
22
|
+
top: `+(e.clientY-ve.top-5)+"px; left: "+(e.clientX-ve.left-5)+`px;
|
|
23
|
+
z-index: 1000; background: `+(ue?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
24
|
+
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var he;Be&&(he=window.scrollY),i.input.focus(),Be&&window.scrollTo(null,he),i.input.reset(),o.somethingSelected()||(n.value=t.prevInput=" "),t.contextMenuPending=Me,i.selForContextMenu=o.doc.sel,clearTimeout(i.detectingSelectAll);function Ze(){if(n.selectionStart!=null){var lt=o.somethingSelected(),Bt="\u200B"+(lt?n.value:"");n.value="\u21DA",n.value=Bt,t.prevInput=lt?"":"\u200B",n.selectionStart=1,n.selectionEnd=Bt.length,i.selForContextMenu=o.doc.sel}}function Me(){if(t.contextMenuPending==Me&&(t.contextMenuPending=!1,t.wrapper.style.cssText=M,n.style.cssText=B,ue&&Ae<9&&i.scrollbars.setScrollTop(i.scroller.scrollTop=c),n.selectionStart!=null)){(!ue||ue&&Ae<9)&&Ze();var lt=0,Bt=function(){i.selForContextMenu==o.doc.sel&&n.selectionStart==0&&n.selectionEnd>0&&t.prevInput=="\u200B"?Ei(o,an)(o):lt++<10?i.detectingSelectAll=setTimeout(Bt,500):(i.selForContextMenu=null,i.input.reset())};i.detectingSelectAll=setTimeout(Bt,200)}}if(ue&&Ae>=9&&Ze(),Lr){Mn(e);var Ct=function(){Tt(window,"mouseup",Ct),setTimeout(Me,20)};ht(window,"mouseup",Ct)}else setTimeout(Me,50)},tt.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},tt.prototype.setUneditable=function(){},tt.prototype.needsContentAttribute=!1;function rr(e,t){if(t=t?li(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),t.autofocus==null){var o=tn();t.autofocus=o==e||e.getAttribute("autofocus")!=null&&o==document.body}function i(){e.value=y.getValue()}var n;if(e.form&&(ht(e.form,"submit",i),!t.leaveSubmitMethodAlone)){var u=e.form;n=u.submit;try{var c=u.submit=function(){i(),u.submit=n,u.submit(),u.submit=c}}catch{}}t.finishInit=function(B){B.save=i,B.getTextArea=function(){return e},B.toTextArea=function(){B.toTextArea=isNaN,i(),e.parentNode.removeChild(B.getWrapperElement()),e.style.display="",e.form&&(Tt(e.form,"submit",i),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=n))}},e.style.display="none";var y=Se(function(B){return e.parentNode.insertBefore(B,e.nextSibling)},t);return y}function $e(e){e.off=Tt,e.on=ht,e.wheelEventPixels=Ll,e.Doc=si,e.splitLines=Ot,e.countColumn=Gt,e.findColumn=Ue,e.isWordChar=We,e.Pass=rn,e.signal=yr,e.Line=Zo,e.changeEnd=Ho,e.scrollbarModel=ha,e.Pos=b,e.cmpPos=Pe,e.modes=Fr,e.mimeModes=Mr,e.resolveMode=Qr,e.getMode=mn,e.modeExtensions=Gr,e.extendMode=fn,e.copyState=Zn,e.startState=ci,e.innerMode=ii,e.commands=A,e.keyMap=ks,e.keyName=Yc,e.isModifierKey=Qc,e.lookupKey=au,e.normalizeKeyMap=Wp,e.StringStream=Tn,e.SharedTextMarker=Tr,e.TextMarker=jt,e.LineWidget=wn,e.e_preventDefault=vt,e.e_stopPropagation=cn,e.e_stop=Mn,e.addClass=Vn,e.contains=Ar,e.rmClass=gn,e.keyNames=Xs}ke(Se),Re(Se);var Kt="iter insert remove copy getEditor constructor".split(" ");for(var qt in si.prototype)si.prototype.hasOwnProperty(qt)&&Pt(Kt,qt)<0&&(Se.prototype[qt]=function(e){return function(){return e.apply(this.doc,arguments)}}(si.prototype[qt]));return En(si),Se.inputStyles={textarea:tt,contenteditable:gt},Se.defineMode=function(e){!Se.defaults.mode&&e!="null"&&(Se.defaults.mode=e),Vr.apply(this,arguments)},Se.defineMIME=Kr,Se.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Se.defineMIME("text/plain","null"),Se.defineExtension=function(e,t){Se.prototype[e]=t},Se.defineDocExtension=function(e,t){si.prototype[e]=t},Se.fromTextArea=rr,$e(Se),Se.version="5.65.6",Se})})(Ta);var av=Ta.exports,ag={exports:{}};(function(r,s){(function(a){a(Ta.exports)})(function(a){a.defineMode("javascript",function(l,f){var F=l.indentUnit,V=f.statementIndent,ae=f.jsonld,ue=f.json||ae,Ae=f.trackScope!==!1,Be=f.typescript,ze=f.wordCharacters||/[\w$\xa1-\uffff]/,Je=function(){function b(qr){return{type:qr,style:"keyword"}}var Pe=b("keyword a"),tr=b("keyword b"),br=b("keyword c"),nn=b("keyword d"),$n=b("operator"),Rn={type:"atom",style:"atom"};return{if:b("if"),while:Pe,with:Pe,else:tr,do:tr,try:tr,finally:tr,return:nn,break:nn,continue:nn,new:b("new"),delete:br,void:br,throw:br,debugger:b("debugger"),var:b("var"),const:b("var"),let:b("var"),function:b("function"),catch:b("catch"),for:b("for"),switch:b("switch"),case:b("case"),default:b("default"),in:$n,typeof:$n,instanceof:$n,true:Rn,false:Rn,null:Rn,undefined:Rn,NaN:Rn,Infinity:Rn,this:b("this"),class:b("class"),super:b("atom"),yield:br,export:b("export"),import:b("import"),extends:br,await:br}}(),rt=/[+\-*&%=<>!?|~^@]/,bt=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Qt(b){for(var Pe=!1,tr,br=!1;(tr=b.next())!=null;){if(!Pe){if(tr=="/"&&!br)return;tr=="["?br=!0:br&&tr=="]"&&(br=!1)}Pe=!Pe&&tr=="\\"}}var nr,et;function pt(b,Pe,tr){return nr=b,et=tr,Pe}function dt(b,Pe){var tr=b.next();if(tr=='"'||tr=="'")return Pe.tokenize=Wt(tr),Pe.tokenize(b,Pe);if(tr=="."&&b.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return pt("number","number");if(tr=="."&&b.match(".."))return pt("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(tr))return pt(tr);if(tr=="="&&b.eat(">"))return pt("=>","operator");if(tr=="0"&&b.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return pt("number","number");if(/\d/.test(tr))return b.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),pt("number","number");if(tr=="/")return b.eat("*")?(Pe.tokenize=pr,pr(b,Pe)):b.eat("/")?(b.skipToEnd(),pt("comment","comment")):xi(b,Pe,1)?(Qt(b),b.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),pt("regexp","string-2")):(b.eat("="),pt("operator","operator",b.current()));if(tr=="`")return Pe.tokenize=kr,kr(b,Pe);if(tr=="#"&&b.peek()=="!")return b.skipToEnd(),pt("meta","meta");if(tr=="#"&&b.eatWhile(ze))return pt("variable","property");if(tr=="<"&&b.match("!--")||tr=="-"&&b.match("->")&&!/\S/.test(b.string.slice(0,b.start)))return b.skipToEnd(),pt("comment","comment");if(rt.test(tr))return(tr!=">"||!Pe.lexical||Pe.lexical.type!=">")&&(b.eat("=")?(tr=="!"||tr=="=")&&b.eat("="):/[<>*+\-|&?]/.test(tr)&&(b.eat(tr),tr==">"&&b.eat(tr))),tr=="?"&&b.eat(".")?pt("."):pt("operator","operator",b.current());if(ze.test(tr)){b.eatWhile(ze);var br=b.current();if(Pe.lastType!="."){if(Je.propertyIsEnumerable(br)){var nn=Je[br];return pt(nn.type,nn.style,br)}if(br=="async"&&b.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return pt("async","keyword",br)}return pt("variable","variable",br)}}function Wt(b){return function(Pe,tr){var br=!1,nn;if(ae&&Pe.peek()=="@"&&Pe.match(bt))return tr.tokenize=dt,pt("jsonld-keyword","meta");for(;(nn=Pe.next())!=null&&!(nn==b&&!br);)br=!br&&nn=="\\";return br||(tr.tokenize=dt),pt("string","string")}}function pr(b,Pe){for(var tr=!1,br;br=b.next();){if(br=="/"&&tr){Pe.tokenize=dt;break}tr=br=="*"}return pt("comment","comment")}function kr(b,Pe){for(var tr=!1,br;(br=b.next())!=null;){if(!tr&&(br=="`"||br=="$"&&b.eat("{"))){Pe.tokenize=dt;break}tr=!tr&&br=="\\"}return pt("quasi","string-2",b.current())}var Rr="([{}])";function Sn(b,Pe){Pe.fatArrowAt&&(Pe.fatArrowAt=null);var tr=b.string.indexOf("=>",b.start);if(!(tr<0)){if(Be){var br=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(b.string.slice(b.start,tr));br&&(tr=br.index)}for(var nn=0,$n=!1,Rn=tr-1;Rn>=0;--Rn){var qr=b.string.charAt(Rn),hi=Rr.indexOf(qr);if(hi>=0&&hi<3){if(!nn){++Rn;break}if(--nn==0){qr=="("&&($n=!0);break}}else if(hi>=3&&hi<6)++nn;else if(ze.test(qr))$n=!0;else if(/["'\/`]/.test(qr))for(;;--Rn){if(Rn==0)return;var _a=b.string.charAt(Rn-1);if(_a==qr&&b.string.charAt(Rn-2)!="\\"){Rn--;break}}else if($n&&!nn){++Rn;break}}$n&&!nn&&(Pe.fatArrowAt=Rn)}}var Dn={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function Lr(b,Pe,tr,br,nn,$n){this.indented=b,this.column=Pe,this.type=tr,this.prev=nn,this.info=$n,br!=null&&(this.align=br)}function _r(b,Pe){if(!Ae)return!1;for(var tr=b.localVars;tr;tr=tr.next)if(tr.name==Pe)return!0;for(var br=b.context;br;br=br.prev)for(var tr=br.vars;tr;tr=tr.next)if(tr.name==Pe)return!0}function gn(b,Pe,tr,br,nn){var $n=b.cc;for(zt.state=b,zt.stream=nn,zt.marked=null,zt.cc=$n,zt.style=Pe,b.lexical.hasOwnProperty("align")||(b.lexical.align=!0);;){var Rn=$n.length?$n.pop():ue?Or:rn;if(Rn(tr,br)){for(;$n.length&&$n[$n.length-1].lex;)$n.pop()();return zt.marked?zt.marked:tr=="variable"&&_r(b,br)?"variable-2":Pe}}}var zt={state:null,column:null,marked:null,cc:null};function Cr(){for(var b=arguments.length-1;b>=0;b--)zt.cc.push(arguments[b])}function de(){return Cr.apply(null,arguments),!0}function lr(b,Pe){for(var tr=Pe;tr;tr=tr.next)if(tr.name==b)return!0;return!1}function Ut(b){var Pe=zt.state;if(zt.marked="def",!!Ae){if(Pe.context){if(Pe.lexical.info=="var"&&Pe.context&&Pe.context.block){var tr=Ar(b,Pe.context);if(tr!=null){Pe.context=tr;return}}else if(!lr(b,Pe.localVars)){Pe.localVars=new ai(b,Pe.localVars);return}}f.globalVars&&!lr(b,Pe.globalVars)&&(Pe.globalVars=new ai(b,Pe.globalVars))}}function Ar(b,Pe){if(Pe)if(Pe.block){var tr=Ar(b,Pe.prev);return tr?tr==Pe.prev?Pe:new Vn(tr,Pe.vars,!0):null}else return lr(b,Pe.vars)?Pe:new Vn(Pe.prev,new ai(b,Pe.vars),!1);else return null}function tn(b){return b=="public"||b=="private"||b=="protected"||b=="abstract"||b=="readonly"}function Vn(b,Pe,tr){this.prev=b,this.vars=Pe,this.block=tr}function ai(b,Pe){this.name=b,this.next=Pe}var ui=new ai("this",new ai("arguments",null));function On(){zt.state.context=new Vn(zt.state.context,zt.state.localVars,!1),zt.state.localVars=ui}function li(){zt.state.context=new Vn(zt.state.context,zt.state.localVars,!0),zt.state.localVars=null}On.lex=li.lex=!0;function Gt(){zt.state.localVars=zt.state.context.vars,zt.state.context=zt.state.context.prev}Gt.lex=!0;function ar(b,Pe){var tr=function(){var br=zt.state,nn=br.indented;if(br.lexical.type=="stat")nn=br.lexical.indented;else for(var $n=br.lexical;$n&&$n.type==")"&&$n.align;$n=$n.prev)nn=$n.indented;br.lexical=new Lr(nn,zt.stream.column(),b,null,br.lexical,Pe)};return tr.lex=!0,tr}function Pt(){var b=zt.state;b.lexical.prev&&(b.lexical.type==")"&&(b.indented=b.lexical.indented),b.lexical=b.lexical.prev)}Pt.lex=!0;function Dr(b){function Pe(tr){return tr==b?de():b==";"||tr=="}"||tr==")"||tr=="]"?Cr():de(Pe)}return Pe}function rn(b,Pe){return b=="var"?de(ar("vardef",Pe),Qn,Dr(";"),Pt):b=="keyword a"?de(ar("form"),Ue,rn,Pt):b=="keyword b"?de(ar("form"),rn,Pt):b=="keyword d"?zt.stream.match(/^\s*$/,!1)?de():de(ar("stat"),Lt,Dr(";"),Pt):b=="debugger"?de(Dr(";")):b=="{"?de(ar("}"),li,Ir,Pt,Gt):b==";"?de():b=="if"?(zt.state.lexical.info=="else"&&zt.state.cc[zt.state.cc.length-1]==Pt&&zt.state.cc.pop()(),de(ar("form"),Ue,rn,Pt,Ot)):b=="function"?de(hr):b=="for"?de(ar("form"),li,Nt,rn,Gt,Pt):b=="class"||Be&&Pe=="interface"?(zt.marked="keyword",de(ar("form",b=="class"?b:Pe),Qr,Pt)):b=="variable"?Be&&Pe=="declare"?(zt.marked="keyword",de(rn)):Be&&(Pe=="module"||Pe=="enum"||Pe=="type")&&zt.stream.match(/^\s*\w/,!1)?(zt.marked="keyword",Pe=="enum"?de(yn):Pe=="type"?de(Mr,Dr("operator"),Tt,Dr(";")):de(ar("form"),pi,Dr("{"),ar("}"),Ir,Pt,Pt)):Be&&Pe=="namespace"?(zt.marked="keyword",de(ar("form"),Or,rn,Pt)):Be&&Pe=="abstract"?(zt.marked="keyword",de(rn)):de(ar("stat"),Br):b=="switch"?de(ar("form"),Ue,Dr("{"),ar("}","switch"),li,Ir,Pt,Pt,Gt):b=="case"?de(Or,Dr(":")):b=="default"?de(Dr(":")):b=="catch"?de(ar("form"),On,Hr,rn,Pt,Gt):b=="export"?de(ar("stat"),Zn,Pt):b=="import"?de(ar("stat"),ci,Pt):b=="async"?de(rn):Pe=="@"?de(Or,rn):Cr(ar("stat"),Or,Dr(";"),Pt)}function Hr(b){if(b=="(")return de(Vr,Dr(")"))}function Or(b,Pe){return nt(b,Pe,!1)}function Zr(b,Pe){return nt(b,Pe,!0)}function Ue(b){return b!="("?Cr():de(ar(")"),Lt,Dr(")"),Pt)}function nt(b,Pe,tr){if(zt.state.fatArrowAt==zt.stream.start){var br=tr?dr:Sr;if(b=="(")return de(On,ar(")"),kn(Vr,")"),Pt,Dr("=>"),br,Gt);if(b=="variable")return Cr(On,pi,Dr("=>"),br,Gt)}var nn=tr?or:kt;return Dn.hasOwnProperty(b)?de(nn):b=="function"?de(hr,nn):b=="class"||Be&&Pe=="interface"?(zt.marked="keyword",de(ar("form"),Kr,Pt)):b=="keyword c"||b=="async"?de(tr?Zr:Or):b=="("?de(ar(")"),Lt,Dr(")"),Pt,nn):b=="operator"||b=="spread"?de(tr?Zr:Or):b=="["?de(ar("]"),Ln,Pt,nn):b=="{"?di(zn,"}",null,nn):b=="quasi"?Cr(gr,nn):b=="new"?de(We(tr)):de()}function Lt(b){return b.match(/[;\}\)\],]/)?Cr():Cr(Or)}function kt(b,Pe){return b==","?de(Lt):or(b,Pe,!1)}function or(b,Pe,tr){var br=tr==!1?kt:or,nn=tr==!1?Or:Zr;if(b=="=>")return de(On,tr?dr:Sr,Gt);if(b=="operator")return/\+\+|--/.test(Pe)||Be&&Pe=="!"?de(br):Be&&Pe=="<"&&zt.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?de(ar(">"),kn(Tt,">"),Pt,br):Pe=="?"?de(Or,Dr(":"),nn):de(nn);if(b=="quasi")return Cr(gr,br);if(b!=";"){if(b=="(")return di(Zr,")","call",br);if(b==".")return de(ln,br);if(b=="[")return de(ar("]"),Lt,Dr("]"),Pt,br);if(Be&&Pe=="as")return zt.marked="keyword",de(Tt,br);if(b=="regexp")return zt.state.lastType=zt.marked="operator",zt.stream.backUp(zt.stream.pos-zt.stream.start-1),de(nn)}}function gr(b,Pe){return b!="quasi"?Cr():Pe.slice(Pe.length-2)!="${"?de(gr):de(Lt,Er)}function Er(b){if(b=="}")return zt.marked="string-2",zt.state.tokenize=kr,de(gr)}function Sr(b){return Sn(zt.stream,zt.state),Cr(b=="{"?rn:Or)}function dr(b){return Sn(zt.stream,zt.state),Cr(b=="{"?rn:Zr)}function We(b){return function(Pe){return Pe=="."?de(b?it:Rt):Pe=="variable"&&Be?de(Fn,b?or:kt):Cr(b?Zr:Or)}}function Rt(b,Pe){if(Pe=="target")return zt.marked="keyword",de(kt)}function it(b,Pe){if(Pe=="target")return zt.marked="keyword",de(or)}function Br(b){return b==":"?de(Pt,rn):Cr(kt,Dr(";"),Pt)}function ln(b){if(b=="variable")return zt.marked="property",de()}function zn(b,Pe){if(b=="async")return zt.marked="property",de(zn);if(b=="variable"||zt.style=="keyword"){if(zt.marked="property",Pe=="get"||Pe=="set")return de(Jn);var tr;return Be&&zt.state.fatArrowAt==zt.stream.start&&(tr=zt.stream.match(/^\s*:\s*/,!1))&&(zt.state.fatArrowAt=zt.stream.pos+tr[0].length),de(Gn)}else{if(b=="number"||b=="string")return zt.marked=ae?"property":zt.style+" property",de(Gn);if(b=="jsonld-keyword")return de(Gn);if(Be&&tn(Pe))return zt.marked="keyword",de(zn);if(b=="[")return de(Or,Ht,Dr("]"),Gn);if(b=="spread")return de(Zr,Gn);if(Pe=="*")return zt.marked="keyword",de(zn);if(b==":")return Cr(Gn)}}function Jn(b){return b!="variable"?Cr(Gn):(zt.marked="property",de(hr))}function Gn(b){if(b==":")return de(Zr);if(b=="(")return Cr(hr)}function kn(b,Pe,tr){function br(nn,$n){if(tr?tr.indexOf(nn)>-1:nn==","){var Rn=zt.state.lexical;return Rn.info=="call"&&(Rn.pos=(Rn.pos||0)+1),de(function(qr,hi){return qr==Pe||hi==Pe?Cr():Cr(b)},br)}return nn==Pe||$n==Pe?de():tr&&tr.indexOf(";")>-1?Cr(b):de(Dr(Pe))}return function(nn,$n){return nn==Pe||$n==Pe?de():Cr(b,br)}}function di(b,Pe,tr){for(var br=3;br<arguments.length;br++)zt.cc.push(arguments[br]);return de(ar(Pe,tr),kn(b,Pe),Pt)}function Ir(b){return b=="}"?de():Cr(rn,Ir)}function Ht(b,Pe){if(Be){if(b==":")return de(Tt);if(Pe=="?")return de(Ht)}}function $t(b,Pe){if(Be&&(b==":"||Pe=="in"))return de(Tt)}function ht(b){if(Be&&b==":")return zt.stream.match(/^\s*\w+\s+is\b/,!1)?de(Or,Zt,Tt):de(Tt)}function Zt(b,Pe){if(Pe=="is")return zt.marked="keyword",de()}function Tt(b,Pe){if(Pe=="keyof"||Pe=="typeof"||Pe=="infer"||Pe=="readonly")return zt.marked="keyword",de(Pe=="typeof"?Zr:Tt);if(b=="variable"||Pe=="void")return zt.marked="type",de(cn);if(Pe=="|"||Pe=="&")return de(Tt);if(b=="string"||b=="number"||b=="atom")return de(cn);if(b=="[")return de(ar("]"),kn(Tt,"]",","),Pt,cn);if(b=="{")return de(ar("}"),at,Pt,cn);if(b=="(")return de(kn(vt,")"),yr,cn);if(b=="<")return de(kn(Tt,">"),Tt);if(b=="quasi")return Cr(Jr,cn)}function yr(b){if(b=="=>")return de(Tt)}function at(b){return b.match(/[\}\)\]]/)?de():b==","||b==";"?de(at):Cr($r,at)}function $r(b,Pe){if(b=="variable"||zt.style=="keyword")return zt.marked="property",de($r);if(Pe=="?"||b=="number"||b=="string")return de($r);if(b==":")return de(Tt);if(b=="[")return de(Dr("variable"),$t,Dr("]"),$r);if(b=="(")return Cr(Fr,$r);if(!b.match(/[;\}\)\],]/))return de()}function Jr(b,Pe){return b!="quasi"?Cr():Pe.slice(Pe.length-2)!="${"?de(Jr):de(Tt,En)}function En(b){if(b=="}")return zt.marked="string-2",zt.state.tokenize=kr,de(Jr)}function vt(b,Pe){return b=="variable"&&zt.stream.match(/^\s*[?:]/,!1)||Pe=="?"?de(vt):b==":"?de(Tt):b=="spread"?de(vt):Cr(Tt)}function cn(b,Pe){if(Pe=="<")return de(ar(">"),kn(Tt,">"),Pt,cn);if(Pe=="|"||b=="."||Pe=="&")return de(Tt);if(b=="[")return de(Tt,Dr("]"),cn);if(Pe=="extends"||Pe=="implements")return zt.marked="keyword",de(Tt);if(Pe=="?")return de(Tt,Dr(":"),Tt)}function Fn(b,Pe){if(Pe=="<")return de(ar(">"),kn(Tt,">"),Pt,cn)}function Mn(){return Cr(Tt,Bn)}function Bn(b,Pe){if(Pe=="=")return de(Tt)}function Qn(b,Pe){return Pe=="enum"?(zt.marked="keyword",de(yn)):Cr(pi,Ht,ot,xt)}function pi(b,Pe){if(Be&&tn(Pe))return zt.marked="keyword",de(pi);if(b=="variable")return Ut(Pe),de();if(b=="spread")return de(pi);if(b=="[")return di(ft,"]");if(b=="{")return di(fr,"}")}function fr(b,Pe){return b=="variable"&&!zt.stream.match(/^\s*:/,!1)?(Ut(Pe),de(ot)):(b=="variable"&&(zt.marked="property"),b=="spread"?de(pi):b=="}"?Cr():b=="["?de(Or,Dr("]"),Dr(":"),fr):de(Dr(":"),pi,ot))}function ft(){return Cr(pi,ot)}function ot(b,Pe){if(Pe=="=")return de(Zr)}function xt(b){if(b==",")return de(Qn)}function Ot(b,Pe){if(b=="keyword b"&&Pe=="else")return de(ar("form","else"),rn,Pt)}function Nt(b,Pe){if(Pe=="await")return de(Nt);if(b=="(")return de(ar(")"),Xt,Pt)}function Xt(b){return b=="var"?de(Qn,sr):b=="variable"?de(sr):Cr(sr)}function sr(b,Pe){return b==")"?de():b==";"?de(sr):Pe=="in"||Pe=="of"?(zt.marked="keyword",de(Or,sr)):Cr(Or,sr)}function hr(b,Pe){if(Pe=="*")return zt.marked="keyword",de(hr);if(b=="variable")return Ut(Pe),de(hr);if(b=="(")return de(On,ar(")"),kn(Vr,")"),Pt,ht,rn,Gt);if(Be&&Pe=="<")return de(ar(">"),kn(Mn,">"),Pt,hr)}function Fr(b,Pe){if(Pe=="*")return zt.marked="keyword",de(Fr);if(b=="variable")return Ut(Pe),de(Fr);if(b=="(")return de(On,ar(")"),kn(Vr,")"),Pt,ht,Gt);if(Be&&Pe=="<")return de(ar(">"),kn(Mn,">"),Pt,Fr)}function Mr(b,Pe){if(b=="keyword"||b=="variable")return zt.marked="type",de(Mr);if(Pe=="<")return de(ar(">"),kn(Mn,">"),Pt)}function Vr(b,Pe){return Pe=="@"&&de(Or,Vr),b=="spread"?de(Vr):Be&&tn(Pe)?(zt.marked="keyword",de(Vr)):Be&&b=="this"?de(Ht,ot):Cr(pi,Ht,ot)}function Kr(b,Pe){return b=="variable"?Qr(b,Pe):mn(b,Pe)}function Qr(b,Pe){if(b=="variable")return Ut(Pe),de(mn)}function mn(b,Pe){if(Pe=="<")return de(ar(">"),kn(Mn,">"),Pt,mn);if(Pe=="extends"||Pe=="implements"||Be&&b==",")return Pe=="implements"&&(zt.marked="keyword"),de(Be?Tt:Or,mn);if(b=="{")return de(ar("}"),Gr,Pt)}function Gr(b,Pe){if(b=="async"||b=="variable"&&(Pe=="static"||Pe=="get"||Pe=="set"||Be&&tn(Pe))&&zt.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return zt.marked="keyword",de(Gr);if(b=="variable"||zt.style=="keyword")return zt.marked="property",de(fn,Gr);if(b=="number"||b=="string")return de(fn,Gr);if(b=="[")return de(Or,Ht,Dr("]"),fn,Gr);if(Pe=="*")return zt.marked="keyword",de(Gr);if(Be&&b=="(")return Cr(Fr,Gr);if(b==";"||b==",")return de(Gr);if(b=="}")return de();if(Pe=="@")return de(Or,Gr)}function fn(b,Pe){if(Pe=="!"||Pe=="?")return de(fn);if(b==":")return de(Tt,ot);if(Pe=="=")return de(Zr);var tr=zt.state.lexical.prev,br=tr&&tr.info=="interface";return Cr(br?Fr:hr)}function Zn(b,Pe){return Pe=="*"?(zt.marked="keyword",de(Si,Dr(";"))):Pe=="default"?(zt.marked="keyword",de(Or,Dr(";"))):b=="{"?de(kn(ii,"}"),Si,Dr(";")):Cr(rn)}function ii(b,Pe){if(Pe=="as")return zt.marked="keyword",de(Dr("variable"));if(b=="variable")return Cr(Zr,ii)}function ci(b){return b=="string"?de():b=="("?Cr(Or):b=="."?Cr(kt):Cr(Tn,Oe,Si)}function Tn(b,Pe){return b=="{"?di(Tn,"}"):(b=="variable"&&Ut(Pe),Pe=="*"&&(zt.marked="keyword"),de(Bi))}function Oe(b){if(b==",")return de(Tn,Oe)}function Bi(b,Pe){if(Pe=="as")return zt.marked="keyword",de(Tn)}function Si(b,Pe){if(Pe=="from")return zt.marked="keyword",de(Or)}function Ln(b){return b=="]"?de():Cr(kn(Zr,"]"))}function yn(){return Cr(ar("form"),pi,Dr("{"),ar("}"),kn(Pi,"}"),Pt,Pt)}function Pi(){return Cr(pi,ot)}function yo(b,Pe){return b.lastType=="operator"||b.lastType==","||rt.test(Pe.charAt(0))||/[,.]/.test(Pe.charAt(0))}function xi(b,Pe,tr){return Pe.tokenize==dt&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(Pe.lastType)||Pe.lastType=="quasi"&&/\{\s*$/.test(b.string.slice(0,b.pos-(tr||0)))}return{startState:function(b){var Pe={tokenize:dt,lastType:"sof",cc:[],lexical:new Lr((b||0)-F,0,"block",!1),localVars:f.localVars,context:f.localVars&&new Vn(null,null,!1),indented:b||0};return f.globalVars&&typeof f.globalVars=="object"&&(Pe.globalVars=f.globalVars),Pe},token:function(b,Pe){if(b.sol()&&(Pe.lexical.hasOwnProperty("align")||(Pe.lexical.align=!1),Pe.indented=b.indentation(),Sn(b,Pe)),Pe.tokenize!=pr&&b.eatSpace())return null;var tr=Pe.tokenize(b,Pe);return nr=="comment"?tr:(Pe.lastType=nr=="operator"&&(et=="++"||et=="--")?"incdec":nr,gn(Pe,tr,nr,et,b))},indent:function(b,Pe){if(b.tokenize==pr||b.tokenize==kr)return a.Pass;if(b.tokenize!=dt)return 0;var tr=Pe&&Pe.charAt(0),br=b.lexical,nn;if(!/^\s*else\b/.test(Pe))for(var $n=b.cc.length-1;$n>=0;--$n){var Rn=b.cc[$n];if(Rn==Pt)br=br.prev;else if(Rn!=Ot&&Rn!=Gt)break}for(;(br.type=="stat"||br.type=="form")&&(tr=="}"||(nn=b.cc[b.cc.length-1])&&(nn==kt||nn==or)&&!/^[,\.=+\-*:?[\(]/.test(Pe));)br=br.prev;V&&br.type==")"&&br.prev.type=="stat"&&(br=br.prev);var qr=br.type,hi=tr==qr;return qr=="vardef"?br.indented+(b.lastType=="operator"||b.lastType==","?br.info.length+1:0):qr=="form"&&tr=="{"?br.indented:qr=="form"?br.indented+F:qr=="stat"?br.indented+(yo(b,Pe)?V||F:0):br.info=="switch"&&!hi&&f.doubleIndentSwitch!=!1?br.indented+(/^(?:case|default)\b/.test(Pe)?F:2*F):br.align?br.column+(hi?0:1):br.indented+(hi?0:F)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:ue?null:"/*",blockCommentEnd:ue?null:"*/",blockCommentContinue:ue?null:" * ",lineComment:ue?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:ue?"json":"javascript",jsonldMode:ae,jsonMode:ue,expressionAllowed:xi,skipExpression:function(b){gn(b,"atom","atom","true",new a.StringStream("",2,null))}}}),a.registerHelper("wordChars","javascript",/[\w$]/),a.defineMIME("text/javascript","javascript"),a.defineMIME("text/ecmascript","javascript"),a.defineMIME("application/javascript","javascript"),a.defineMIME("application/x-javascript","javascript"),a.defineMIME("application/ecmascript","javascript"),a.defineMIME("application/json",{name:"javascript",json:!0}),a.defineMIME("application/x-json",{name:"javascript",json:!0}),a.defineMIME("application/manifest+json",{name:"javascript",json:!0}),a.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),a.defineMIME("text/typescript",{name:"javascript",typescript:!0}),a.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var uv={exports:{}};(function(r,s){(function(a){a(Ta.exports)})(function(a){a.defineMode("css",function(Lr,_r){var gn=_r.inline;_r.propertyKeywords||(_r=a.resolveMode("text/css"));var zt=Lr.indentUnit,Cr=_r.tokenHooks,de=_r.documentTypes||{},lr=_r.mediaTypes||{},Ut=_r.mediaFeatures||{},Ar=_r.mediaValueKeywords||{},tn=_r.propertyKeywords||{},Vn=_r.nonStandardPropertyKeywords||{},ai=_r.fontProperties||{},ui=_r.counterDescriptors||{},On=_r.colorKeywords||{},li=_r.valueKeywords||{},Gt=_r.allowNested,ar=_r.lineComment,Pt=_r.supportsAtComponent===!0,Dr=Lr.highlightNonStandardPropertyKeywords!==!1,rn,Hr;function Or(We,Rt){return rn=Rt,We}function Zr(We,Rt){var it=We.next();if(Cr[it]){var Br=Cr[it](We,Rt);if(Br!==!1)return Br}if(it=="@")return We.eatWhile(/[\w\\\-]/),Or("def",We.current());if(it=="="||(it=="~"||it=="|")&&We.eat("="))return Or(null,"compare");if(it=='"'||it=="'")return Rt.tokenize=Ue(it),Rt.tokenize(We,Rt);if(it=="#")return We.eatWhile(/[\w\\\-]/),Or("atom","hash");if(it=="!")return We.match(/^\s*\w*/),Or("keyword","important");if(/\d/.test(it)||it=="."&&We.eat(/\d/))return We.eatWhile(/[\w.%]/),Or("number","unit");if(it==="-"){if(/[\d.]/.test(We.peek()))return We.eatWhile(/[\w.%]/),Or("number","unit");if(We.match(/^-[\w\\\-]*/))return We.eatWhile(/[\w\\\-]/),We.match(/^\s*:/,!1)?Or("variable-2","variable-definition"):Or("variable-2","variable");if(We.match(/^\w+-/))return Or("meta","meta")}else return/[,+>*\/]/.test(it)?Or(null,"select-op"):it=="."&&We.match(/^-?[_a-z][_a-z0-9-]*/i)?Or("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(it)?Or(null,it):We.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(We.current())&&(Rt.tokenize=nt),Or("variable callee","variable")):/[\w\\\-]/.test(it)?(We.eatWhile(/[\w\\\-]/),Or("property","word")):Or(null,null)}function Ue(We){return function(Rt,it){for(var Br=!1,ln;(ln=Rt.next())!=null;){if(ln==We&&!Br){We==")"&&Rt.backUp(1);break}Br=!Br&&ln=="\\"}return(ln==We||!Br&&We!=")")&&(it.tokenize=null),Or("string","string")}}function nt(We,Rt){return We.next(),We.match(/^\s*[\"\')]/,!1)?Rt.tokenize=null:Rt.tokenize=Ue(")"),Or(null,"(")}function Lt(We,Rt,it){this.type=We,this.indent=Rt,this.prev=it}function kt(We,Rt,it,Br){return We.context=new Lt(it,Rt.indentation()+(Br===!1?0:zt),We.context),it}function or(We){return We.context.prev&&(We.context=We.context.prev),We.context.type}function gr(We,Rt,it){return dr[it.context.type](We,Rt,it)}function Er(We,Rt,it,Br){for(var ln=Br||1;ln>0;ln--)it.context=it.context.prev;return gr(We,Rt,it)}function Sr(We){var Rt=We.current().toLowerCase();li.hasOwnProperty(Rt)?Hr="atom":On.hasOwnProperty(Rt)?Hr="keyword":Hr="variable"}var dr={};return dr.top=function(We,Rt,it){if(We=="{")return kt(it,Rt,"block");if(We=="}"&&it.context.prev)return or(it);if(Pt&&/@component/i.test(We))return kt(it,Rt,"atComponentBlock");if(/^@(-moz-)?document$/i.test(We))return kt(it,Rt,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(We))return kt(it,Rt,"atBlock");if(/^@(font-face|counter-style)/i.test(We))return it.stateArg=We,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(We))return"keyframes";if(We&&We.charAt(0)=="@")return kt(it,Rt,"at");if(We=="hash")Hr="builtin";else if(We=="word")Hr="tag";else{if(We=="variable-definition")return"maybeprop";if(We=="interpolation")return kt(it,Rt,"interpolation");if(We==":")return"pseudo";if(Gt&&We=="(")return kt(it,Rt,"parens")}return it.context.type},dr.block=function(We,Rt,it){if(We=="word"){var Br=Rt.current().toLowerCase();return tn.hasOwnProperty(Br)?(Hr="property","maybeprop"):Vn.hasOwnProperty(Br)?(Hr=Dr?"string-2":"property","maybeprop"):Gt?(Hr=Rt.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(Hr+=" error","maybeprop")}else return We=="meta"?"block":!Gt&&(We=="hash"||We=="qualifier")?(Hr="error","block"):dr.top(We,Rt,it)},dr.maybeprop=function(We,Rt,it){return We==":"?kt(it,Rt,"prop"):gr(We,Rt,it)},dr.prop=function(We,Rt,it){if(We==";")return or(it);if(We=="{"&&Gt)return kt(it,Rt,"propBlock");if(We=="}"||We=="{")return Er(We,Rt,it);if(We=="(")return kt(it,Rt,"parens");if(We=="hash"&&!/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(Rt.current()))Hr+=" error";else if(We=="word")Sr(Rt);else if(We=="interpolation")return kt(it,Rt,"interpolation");return"prop"},dr.propBlock=function(We,Rt,it){return We=="}"?or(it):We=="word"?(Hr="property","maybeprop"):it.context.type},dr.parens=function(We,Rt,it){return We=="{"||We=="}"?Er(We,Rt,it):We==")"?or(it):We=="("?kt(it,Rt,"parens"):We=="interpolation"?kt(it,Rt,"interpolation"):(We=="word"&&Sr(Rt),"parens")},dr.pseudo=function(We,Rt,it){return We=="meta"?"pseudo":We=="word"?(Hr="variable-3",it.context.type):gr(We,Rt,it)},dr.documentTypes=function(We,Rt,it){return We=="word"&&de.hasOwnProperty(Rt.current())?(Hr="tag",it.context.type):dr.atBlock(We,Rt,it)},dr.atBlock=function(We,Rt,it){if(We=="(")return kt(it,Rt,"atBlock_parens");if(We=="}"||We==";")return Er(We,Rt,it);if(We=="{")return or(it)&&kt(it,Rt,Gt?"block":"top");if(We=="interpolation")return kt(it,Rt,"interpolation");if(We=="word"){var Br=Rt.current().toLowerCase();Br=="only"||Br=="not"||Br=="and"||Br=="or"?Hr="keyword":lr.hasOwnProperty(Br)?Hr="attribute":Ut.hasOwnProperty(Br)?Hr="property":Ar.hasOwnProperty(Br)?Hr="keyword":tn.hasOwnProperty(Br)?Hr="property":Vn.hasOwnProperty(Br)?Hr=Dr?"string-2":"property":li.hasOwnProperty(Br)?Hr="atom":On.hasOwnProperty(Br)?Hr="keyword":Hr="error"}return it.context.type},dr.atComponentBlock=function(We,Rt,it){return We=="}"?Er(We,Rt,it):We=="{"?or(it)&&kt(it,Rt,Gt?"block":"top",!1):(We=="word"&&(Hr="error"),it.context.type)},dr.atBlock_parens=function(We,Rt,it){return We==")"?or(it):We=="{"||We=="}"?Er(We,Rt,it,2):dr.atBlock(We,Rt,it)},dr.restricted_atBlock_before=function(We,Rt,it){return We=="{"?kt(it,Rt,"restricted_atBlock"):We=="word"&&it.stateArg=="@counter-style"?(Hr="variable","restricted_atBlock_before"):gr(We,Rt,it)},dr.restricted_atBlock=function(We,Rt,it){return We=="}"?(it.stateArg=null,or(it)):We=="word"?(it.stateArg=="@font-face"&&!ai.hasOwnProperty(Rt.current().toLowerCase())||it.stateArg=="@counter-style"&&!ui.hasOwnProperty(Rt.current().toLowerCase())?Hr="error":Hr="property","maybeprop"):"restricted_atBlock"},dr.keyframes=function(We,Rt,it){return We=="word"?(Hr="variable","keyframes"):We=="{"?kt(it,Rt,"top"):gr(We,Rt,it)},dr.at=function(We,Rt,it){return We==";"?or(it):We=="{"||We=="}"?Er(We,Rt,it):(We=="word"?Hr="tag":We=="hash"&&(Hr="builtin"),"at")},dr.interpolation=function(We,Rt,it){return We=="}"?or(it):We=="{"||We==";"?Er(We,Rt,it):(We=="word"?Hr="variable":We!="variable"&&We!="("&&We!=")"&&(Hr="error"),"interpolation")},{startState:function(We){return{tokenize:null,state:gn?"block":"top",stateArg:null,context:new Lt(gn?"block":"top",We||0,null)}},token:function(We,Rt){if(!Rt.tokenize&&We.eatSpace())return null;var it=(Rt.tokenize||Zr)(We,Rt);return it&&typeof it=="object"&&(rn=it[1],it=it[0]),Hr=it,rn!="comment"&&(Rt.state=dr[Rt.state](rn,We,Rt)),Hr},indent:function(We,Rt){var it=We.context,Br=Rt&&Rt.charAt(0),ln=it.indent;return it.type=="prop"&&(Br=="}"||Br==")")&&(it=it.prev),it.prev&&(Br=="}"&&(it.type=="block"||it.type=="top"||it.type=="interpolation"||it.type=="restricted_atBlock")?(it=it.prev,ln=it.indent):(Br==")"&&(it.type=="parens"||it.type=="atBlock_parens")||Br=="{"&&(it.type=="at"||it.type=="atBlock"))&&(ln=Math.max(0,it.indent-zt))),ln},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:ar,fold:"brace"}});function l(Lr){for(var _r={},gn=0;gn<Lr.length;++gn)_r[Lr[gn].toLowerCase()]=!0;return _r}var f=["domain","regexp","url","url-prefix"],F=l(f),V=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],ae=l(V),ue=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme","dynamic-range","video-dynamic-range"],Ae=l(ue),Be=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],ze=l(Be),Je=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],rt=l(Je),bt=["accent-color","aspect-ratio","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],Qt=l(bt),nr=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],et=l(nr),pt=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],dt=l(pt),Wt=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],pr=l(Wt),kr=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],Rr=l(kr),Sn=f.concat(V).concat(ue).concat(Be).concat(Je).concat(bt).concat(Wt).concat(kr);a.registerHelper("hintWords","css",Sn);function Dn(Lr,_r){for(var gn=!1,zt;(zt=Lr.next())!=null;){if(gn&&zt=="/"){_r.tokenize=null;break}gn=zt=="*"}return["comment","comment"]}a.defineMIME("text/css",{documentTypes:F,mediaTypes:ae,mediaFeatures:Ae,mediaValueKeywords:ze,propertyKeywords:rt,nonStandardPropertyKeywords:Qt,fontProperties:et,counterDescriptors:dt,colorKeywords:pr,valueKeywords:Rr,tokenHooks:{"/":function(Lr,_r){return Lr.eat("*")?(_r.tokenize=Dn,Dn(Lr,_r)):!1}},name:"css"}),a.defineMIME("text/x-scss",{mediaTypes:ae,mediaFeatures:Ae,mediaValueKeywords:ze,propertyKeywords:rt,nonStandardPropertyKeywords:Qt,colorKeywords:pr,valueKeywords:Rr,fontProperties:et,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Lr,_r){return Lr.eat("/")?(Lr.skipToEnd(),["comment","comment"]):Lr.eat("*")?(_r.tokenize=Dn,Dn(Lr,_r)):["operator","operator"]},":":function(Lr){return Lr.match(/^\s*\{/,!1)?[null,null]:!1},$:function(Lr){return Lr.match(/^[\w-]+/),Lr.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(Lr){return Lr.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),a.defineMIME("text/x-less",{mediaTypes:ae,mediaFeatures:Ae,mediaValueKeywords:ze,propertyKeywords:rt,nonStandardPropertyKeywords:Qt,colorKeywords:pr,valueKeywords:Rr,fontProperties:et,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Lr,_r){return Lr.eat("/")?(Lr.skipToEnd(),["comment","comment"]):Lr.eat("*")?(_r.tokenize=Dn,Dn(Lr,_r)):["operator","operator"]},"@":function(Lr){return Lr.eat("{")?[null,"interpolation"]:Lr.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:(Lr.eatWhile(/[\w\\\-]/),Lr.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),a.defineMIME("text/x-gss",{documentTypes:F,mediaTypes:ae,mediaFeatures:Ae,propertyKeywords:rt,nonStandardPropertyKeywords:Qt,fontProperties:et,counterDescriptors:dt,colorKeywords:pr,valueKeywords:Rr,supportsAtComponent:!0,tokenHooks:{"/":function(Lr,_r){return Lr.eat("*")?(_r.tokenize=Dn,Dn(Lr,_r)):!1}},name:"css",helperType:"gss"})})})();var ug={exports:{}};(function(r,s){(function(a){a(Ta.exports)})(function(a){var l={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},f={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};a.defineMode("xml",function(F,V){var ae=F.indentUnit,ue={},Ae=V.htmlMode?l:f;for(var Be in Ae)ue[Be]=Ae[Be];for(var Be in V)ue[Be]=V[Be];var ze,Je;function rt(de,lr){function Ut(Vn){return lr.tokenize=Vn,Vn(de,lr)}var Ar=de.next();if(Ar=="<")return de.eat("!")?de.eat("[")?de.match("CDATA[")?Ut(nr("atom","]]>")):null:de.match("--")?Ut(nr("comment","-->")):de.match("DOCTYPE",!0,!0)?(de.eatWhile(/[\w\._\-]/),Ut(et(1))):null:de.eat("?")?(de.eatWhile(/[\w\._\-]/),lr.tokenize=nr("meta","?>"),"meta"):(ze=de.eat("/")?"closeTag":"openTag",lr.tokenize=bt,"tag bracket");if(Ar=="&"){var tn;return de.eat("#")?de.eat("x")?tn=de.eatWhile(/[a-fA-F\d]/)&&de.eat(";"):tn=de.eatWhile(/[\d]/)&&de.eat(";"):tn=de.eatWhile(/[\w\.\-:]/)&&de.eat(";"),tn?"atom":"error"}else return de.eatWhile(/[^&<]/),null}rt.isInText=!0;function bt(de,lr){var Ut=de.next();if(Ut==">"||Ut=="/"&&de.eat(">"))return lr.tokenize=rt,ze=Ut==">"?"endTag":"selfcloseTag","tag bracket";if(Ut=="=")return ze="equals",null;if(Ut=="<"){lr.tokenize=rt,lr.state=kr,lr.tagName=lr.tagStart=null;var Ar=lr.tokenize(de,lr);return Ar?Ar+" tag error":"tag error"}else return/[\'\"]/.test(Ut)?(lr.tokenize=Qt(Ut),lr.stringStartCol=de.column(),lr.tokenize(de,lr)):(de.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Qt(de){var lr=function(Ut,Ar){for(;!Ut.eol();)if(Ut.next()==de){Ar.tokenize=bt;break}return"string"};return lr.isInAttribute=!0,lr}function nr(de,lr){return function(Ut,Ar){for(;!Ut.eol();){if(Ut.match(lr)){Ar.tokenize=rt;break}Ut.next()}return de}}function et(de){return function(lr,Ut){for(var Ar;(Ar=lr.next())!=null;){if(Ar=="<")return Ut.tokenize=et(de+1),Ut.tokenize(lr,Ut);if(Ar==">")if(de==1){Ut.tokenize=rt;break}else return Ut.tokenize=et(de-1),Ut.tokenize(lr,Ut)}return"meta"}}function pt(de){return de&&de.toLowerCase()}function dt(de,lr,Ut){this.prev=de.context,this.tagName=lr||"",this.indent=de.indented,this.startOfLine=Ut,(ue.doNotIndent.hasOwnProperty(lr)||de.context&&de.context.noIndent)&&(this.noIndent=!0)}function Wt(de){de.context&&(de.context=de.context.prev)}function pr(de,lr){for(var Ut;;){if(!de.context||(Ut=de.context.tagName,!ue.contextGrabbers.hasOwnProperty(pt(Ut))||!ue.contextGrabbers[pt(Ut)].hasOwnProperty(pt(lr))))return;Wt(de)}}function kr(de,lr,Ut){return de=="openTag"?(Ut.tagStart=lr.column(),Rr):de=="closeTag"?Sn:kr}function Rr(de,lr,Ut){return de=="word"?(Ut.tagName=lr.current(),Je="tag",_r):ue.allowMissingTagName&&de=="endTag"?(Je="tag bracket",_r(de,lr,Ut)):(Je="error",Rr)}function Sn(de,lr,Ut){if(de=="word"){var Ar=lr.current();return Ut.context&&Ut.context.tagName!=Ar&&ue.implicitlyClosed.hasOwnProperty(pt(Ut.context.tagName))&&Wt(Ut),Ut.context&&Ut.context.tagName==Ar||ue.matchClosing===!1?(Je="tag",Dn):(Je="tag error",Lr)}else return ue.allowMissingTagName&&de=="endTag"?(Je="tag bracket",Dn(de,lr,Ut)):(Je="error",Lr)}function Dn(de,lr,Ut){return de!="endTag"?(Je="error",Dn):(Wt(Ut),kr)}function Lr(de,lr,Ut){return Je="error",Dn(de,lr,Ut)}function _r(de,lr,Ut){if(de=="word")return Je="attribute",gn;if(de=="endTag"||de=="selfcloseTag"){var Ar=Ut.tagName,tn=Ut.tagStart;return Ut.tagName=Ut.tagStart=null,de=="selfcloseTag"||ue.autoSelfClosers.hasOwnProperty(pt(Ar))?pr(Ut,Ar):(pr(Ut,Ar),Ut.context=new dt(Ut,Ar,tn==Ut.indented)),kr}return Je="error",_r}function gn(de,lr,Ut){return de=="equals"?zt:(ue.allowMissing||(Je="error"),_r(de,lr,Ut))}function zt(de,lr,Ut){return de=="string"?Cr:de=="word"&&ue.allowUnquoted?(Je="string",_r):(Je="error",_r(de,lr,Ut))}function Cr(de,lr,Ut){return de=="string"?Cr:_r(de,lr,Ut)}return{startState:function(de){var lr={tokenize:rt,state:kr,indented:de||0,tagName:null,tagStart:null,context:null};return de!=null&&(lr.baseIndent=de),lr},token:function(de,lr){if(!lr.tagName&&de.sol()&&(lr.indented=de.indentation()),de.eatSpace())return null;ze=null;var Ut=lr.tokenize(de,lr);return(Ut||ze)&&Ut!="comment"&&(Je=null,lr.state=lr.state(ze||Ut,de,lr),Je&&(Ut=Je=="error"?Ut+" error":Je)),Ut},indent:function(de,lr,Ut){var Ar=de.context;if(de.tokenize.isInAttribute)return de.tagStart==de.indented?de.stringStartCol+1:de.indented+ae;if(Ar&&Ar.noIndent)return a.Pass;if(de.tokenize!=bt&&de.tokenize!=rt)return Ut?Ut.match(/^(\s*)/)[0].length:0;if(de.tagName)return ue.multilineTagIndentPastTag!==!1?de.tagStart+de.tagName.length+2:de.tagStart+ae*(ue.multilineTagIndentFactor||1);if(ue.alignCDATA&&/<!\[CDATA\[/.test(lr))return 0;var tn=lr&&/^<(\/)?([\w_:\.-]*)/.exec(lr);if(tn&&tn[1])for(;Ar;)if(Ar.tagName==tn[2]){Ar=Ar.prev;break}else if(ue.implicitlyClosed.hasOwnProperty(pt(Ar.tagName)))Ar=Ar.prev;else break;else if(tn)for(;Ar;){var Vn=ue.contextGrabbers[pt(Ar.tagName)];if(Vn&&Vn.hasOwnProperty(pt(tn[2])))Ar=Ar.prev;else break}for(;Ar&&Ar.prev&&!Ar.startOfLine;)Ar=Ar.prev;return Ar?Ar.indent+ae:de.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:ue.htmlMode?"html":"xml",helperType:ue.htmlMode?"html":"xml",skipAttribute:function(de){de.state==zt&&(de.state=_r)},xmlCurrentTag:function(de){return de.tagName?{name:de.tagName,close:de.type=="closeTag"}:null},xmlCurrentContext:function(de){for(var lr=[],Ut=de.context;Ut;Ut=Ut.prev)lr.push(Ut.tagName);return lr.reverse()}}}),a.defineMIME("text/xml","xml"),a.defineMIME("application/xml","xml"),a.mimeModes.hasOwnProperty("text/html")||a.defineMIME("text/html",{name:"xml",htmlMode:!0})})})();(function(r,s){(function(a){a(Ta.exports,ug.exports,ag.exports,uv.exports)})(function(a){var l={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function f(ze,Je,rt){var bt=ze.current(),Qt=bt.search(Je);return Qt>-1?ze.backUp(bt.length-Qt):bt.match(/<\/?$/)&&(ze.backUp(bt.length),ze.match(Je,!1)||ze.match(bt)),rt}var F={};function V(ze){var Je=F[ze];return Je||(F[ze]=new RegExp("\\s+"+ze+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function ae(ze,Je){var rt=ze.match(V(Je));return rt?/^\s*(.*?)\s*$/.exec(rt[2])[1]:""}function ue(ze,Je){return new RegExp((Je?"^":"")+"</\\s*"+ze+"\\s*>","i")}function Ae(ze,Je){for(var rt in ze)for(var bt=Je[rt]||(Je[rt]=[]),Qt=ze[rt],nr=Qt.length-1;nr>=0;nr--)bt.unshift(Qt[nr])}function Be(ze,Je){for(var rt=0;rt<ze.length;rt++){var bt=ze[rt];if(!bt[0]||bt[1].test(ae(Je,bt[0])))return bt[2]}}a.defineMode("htmlmixed",function(ze,Je){var rt=a.getMode(ze,{name:"xml",htmlMode:!0,multilineTagIndentFactor:Je.multilineTagIndentFactor,multilineTagIndentPastTag:Je.multilineTagIndentPastTag,allowMissingTagName:Je.allowMissingTagName}),bt={},Qt=Je&&Je.tags,nr=Je&&Je.scriptTypes;if(Ae(l,bt),Qt&&Ae(Qt,bt),nr)for(var et=nr.length-1;et>=0;et--)bt.script.unshift(["type",nr[et].matches,nr[et].mode]);function pt(dt,Wt){var pr=rt.token(dt,Wt.htmlState),kr=/\btag\b/.test(pr),Rr;if(kr&&!/[<>\s\/]/.test(dt.current())&&(Rr=Wt.htmlState.tagName&&Wt.htmlState.tagName.toLowerCase())&&bt.hasOwnProperty(Rr))Wt.inTag=Rr+" ";else if(Wt.inTag&&kr&&/>$/.test(dt.current())){var Sn=/^([\S]+) (.*)/.exec(Wt.inTag);Wt.inTag=null;var Dn=dt.current()==">"&&Be(bt[Sn[1]],Sn[2]),Lr=a.getMode(ze,Dn),_r=ue(Sn[1],!0),gn=ue(Sn[1],!1);Wt.token=function(zt,Cr){return zt.match(_r,!1)?(Cr.token=pt,Cr.localState=Cr.localMode=null,null):f(zt,gn,Cr.localMode.token(zt,Cr.localState))},Wt.localMode=Lr,Wt.localState=a.startState(Lr,rt.indent(Wt.htmlState,"",""))}else Wt.inTag&&(Wt.inTag+=dt.current(),dt.eol()&&(Wt.inTag+=" "));return pr}return{startState:function(){var dt=a.startState(rt);return{token:pt,inTag:null,localMode:null,localState:null,htmlState:dt}},copyState:function(dt){var Wt;return dt.localState&&(Wt=a.copyState(dt.localMode,dt.localState)),{token:dt.token,inTag:dt.inTag,localMode:dt.localMode,localState:Wt,htmlState:a.copyState(rt,dt.htmlState)}},token:function(dt,Wt){return Wt.token(dt,Wt)},indent:function(dt,Wt,pr){return!dt.localMode||/^\s*<\//.test(Wt)?rt.indent(dt.htmlState,Wt,pr):dt.localMode.indent?dt.localMode.indent(dt.localState,Wt,pr):a.Pass},innerMode:function(dt){return{state:dt.localState||dt.htmlState,mode:dt.localMode||rt}}}},"xml","javascript","css"),a.defineMIME("text/html","htmlmixed")})})();(function(r,s){(function(a){a(Ta.exports,ug.exports,ag.exports)})(function(a){function l(F,V,ae,ue){this.state=F,this.mode=V,this.depth=ae,this.prev=ue}function f(F){return new l(a.copyState(F.mode,F.state),F.mode,F.depth,F.prev&&f(F.prev))}a.defineMode("jsx",function(F,V){var ae=a.getMode(F,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),ue=a.getMode(F,V&&V.base||"javascript");function Ae(rt){var bt=rt.tagName;rt.tagName=null;var Qt=ae.indent(rt,"","");return rt.tagName=bt,Qt}function Be(rt,bt){return bt.context.mode==ae?ze(rt,bt,bt.context):Je(rt,bt,bt.context)}function ze(rt,bt,Qt){if(Qt.depth==2)return rt.match(/^.*?\*\//)?Qt.depth=1:rt.skipToEnd(),"comment";if(rt.peek()=="{"){ae.skipAttribute(Qt.state);var nr=Ae(Qt.state),et=Qt.state.context;if(et&&rt.match(/^[^>]*>\s*$/,!1)){for(;et.prev&&!et.startOfLine;)et=et.prev;et.startOfLine?nr-=F.indentUnit:Qt.prev.state.lexical&&(nr=Qt.prev.state.lexical.indented)}else Qt.depth==1&&(nr+=F.indentUnit);return bt.context=new l(a.startState(ue,nr),ue,0,bt.context),null}if(Qt.depth==1){if(rt.peek()=="<")return ae.skipAttribute(Qt.state),bt.context=new l(a.startState(ae,Ae(Qt.state)),ae,0,bt.context),null;if(rt.match("//"))return rt.skipToEnd(),"comment";if(rt.match("/*"))return Qt.depth=2,Be(rt,bt)}var pt=ae.token(rt,Qt.state),dt=rt.current(),Wt;return/\btag\b/.test(pt)?/>$/.test(dt)?Qt.state.context?Qt.depth=0:bt.context=bt.context.prev:/^</.test(dt)&&(Qt.depth=1):!pt&&(Wt=dt.indexOf("{"))>-1&&rt.backUp(dt.length-Wt),pt}function Je(rt,bt,Qt){if(rt.peek()=="<"&&ue.expressionAllowed(rt,Qt.state))return bt.context=new l(a.startState(ae,ue.indent(Qt.state,"","")),ae,0,bt.context),ue.skipExpression(Qt.state),null;var nr=ue.token(rt,Qt.state);if(!nr&&Qt.depth!=null){var et=rt.current();et=="{"?Qt.depth++:et=="}"&&--Qt.depth==0&&(bt.context=bt.context.prev)}return nr}return{startState:function(){return{context:new l(a.startState(ue),ue)}},copyState:function(rt){return{context:f(rt.context)}},token:Be,indent:function(rt,bt,Qt){return rt.context.mode.indent(rt.context.state,bt,Qt)},innerMode:function(rt){return rt.context}}},"xml","javascript"),a.defineMIME("text/jsx","jsx"),a.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})})();(function(r,s){(function(a){a(Ta.exports)})(function(a){a.defineOption("placeholder","",function(Ae,Be,ze){var Je=ze&&ze!=a.Init;if(Be&&!Je)Ae.on("blur",V),Ae.on("change",ae),Ae.on("swapDoc",ae),a.on(Ae.getInputField(),"compositionupdate",Ae.state.placeholderCompose=function(){F(Ae)}),ae(Ae);else if(!Be&&Je){Ae.off("blur",V),Ae.off("change",ae),Ae.off("swapDoc",ae),a.off(Ae.getInputField(),"compositionupdate",Ae.state.placeholderCompose),l(Ae);var rt=Ae.getWrapperElement();rt.className=rt.className.replace(" CodeMirror-empty","")}Be&&!Ae.hasFocus()&&V(Ae)});function l(Ae){Ae.state.placeholder&&(Ae.state.placeholder.parentNode.removeChild(Ae.state.placeholder),Ae.state.placeholder=null)}function f(Ae){l(Ae);var Be=Ae.state.placeholder=document.createElement("pre");Be.style.cssText="height: 0; overflow: visible",Be.style.direction=Ae.getOption("direction"),Be.className="CodeMirror-placeholder CodeMirror-line-like";var ze=Ae.getOption("placeholder");typeof ze=="string"&&(ze=document.createTextNode(ze)),Be.appendChild(ze),Ae.display.lineSpace.insertBefore(Be,Ae.display.lineSpace.firstChild)}function F(Ae){setTimeout(function(){var Be=!1;if(Ae.lineCount()==1){var ze=Ae.getInputField();Be=ze.nodeName=="TEXTAREA"?!Ae.getLine(0).length:!/[^\u200b]/.test(ze.querySelector(".CodeMirror-line").textContent)}Be?f(Ae):l(Ae)},20)}function V(Ae){ue(Ae)&&f(Ae)}function ae(Ae){var Be=Ae.getWrapperElement(),ze=ue(Ae);Be.className=Be.className.replace(" CodeMirror-empty","")+(ze?" CodeMirror-empty":""),ze?f(Ae):l(Ae)}function ue(Ae){return Ae.lineCount()===1&&Ae.getLine(0)===""}})})();(function(r,s){(function(a){a(Ta.exports)})(function(a){var l="CodeMirror-hint",f="CodeMirror-hint-active";a.showHint=function(et,pt,dt){if(!pt)return et.showHint(dt);dt&&dt.async&&(pt.async=!0);var Wt={hint:pt};if(dt)for(var pr in dt)Wt[pr]=dt[pr];return et.showHint(Wt)},a.defineExtension("showHint",function(et){et=ue(this,this.getCursor("start"),et);var pt=this.listSelections();if(!(pt.length>1)){if(this.somethingSelected()){if(!et.hint.supportsSelection)return;for(var dt=0;dt<pt.length;dt++)if(pt[dt].head.line!=pt[dt].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var Wt=this.state.completionActive=new F(this,et);!Wt.options.hint||(a.signal(this,"startCompletion",this),Wt.update(!0))}}),a.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function F(et,pt){if(this.cm=et,this.options=pt,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var dt=this;et.on("cursorActivity",this.activityFunc=function(){dt.cursorActivity()})}}var V=window.requestAnimationFrame||function(et){return setTimeout(et,1e3/60)},ae=window.cancelAnimationFrame||clearTimeout;F.prototype={close:function(){!this.active()||(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&a.signal(this.data,"close"),this.widget&&this.widget.close(),a.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(et,pt){var dt=et.list[pt],Wt=this;this.cm.operation(function(){dt.hint?dt.hint(Wt.cm,et,dt):Wt.cm.replaceRange(Ae(dt),dt.from||et.from,dt.to||et.to,"complete"),a.signal(et,"pick",dt),Wt.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(ae(this.debounce),this.debounce=0);var et=this.startPos;this.data&&(et=this.data.from);var pt=this.cm.getCursor(),dt=this.cm.getLine(pt.line);if(pt.line!=this.startPos.line||dt.length-pt.ch!=this.startLen-this.startPos.ch||pt.ch<et.ch||this.cm.somethingSelected()||!pt.ch||this.options.closeCharacters.test(dt.charAt(pt.ch-1)))this.close();else{var Wt=this;this.debounce=V(function(){Wt.update()}),this.widget&&this.widget.disable()}},update:function(et){if(this.tick!=null){var pt=this,dt=++this.tick;bt(this.options.hint,this.cm,this.options,function(Wt){pt.tick==dt&&pt.finishUpdate(Wt,et)})}},finishUpdate:function(et,pt){this.data&&a.signal(this.data,"update");var dt=this.widget&&this.widget.picked||pt&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=et,et&&et.list.length&&(dt&&et.list.length==1?this.pick(et,0):(this.widget=new Je(this,et),a.signal(et,"shown")))}};function ue(et,pt,dt){var Wt=et.options.hintOptions,pr={};for(var kr in nr)pr[kr]=nr[kr];if(Wt)for(var kr in Wt)Wt[kr]!==void 0&&(pr[kr]=Wt[kr]);if(dt)for(var kr in dt)dt[kr]!==void 0&&(pr[kr]=dt[kr]);return pr.hint.resolve&&(pr.hint=pr.hint.resolve(et,pt)),pr}function Ae(et){return typeof et=="string"?et:et.text}function Be(et,pt){var dt={Up:function(){pt.moveFocus(-1)},Down:function(){pt.moveFocus(1)},PageUp:function(){pt.moveFocus(-pt.menuSize()+1,!0)},PageDown:function(){pt.moveFocus(pt.menuSize()-1,!0)},Home:function(){pt.setFocus(0)},End:function(){pt.setFocus(pt.length-1)},Enter:pt.pick,Tab:pt.pick,Esc:pt.close},Wt=/Mac/.test(navigator.platform);Wt&&(dt["Ctrl-P"]=function(){pt.moveFocus(-1)},dt["Ctrl-N"]=function(){pt.moveFocus(1)});var pr=et.options.customKeys,kr=pr?{}:dt;function Rr(Lr,_r){var gn;typeof _r!="string"?gn=function(zt){return _r(zt,pt)}:dt.hasOwnProperty(_r)?gn=dt[_r]:gn=_r,kr[Lr]=gn}if(pr)for(var Sn in pr)pr.hasOwnProperty(Sn)&&Rr(Sn,pr[Sn]);var Dn=et.options.extraKeys;if(Dn)for(var Sn in Dn)Dn.hasOwnProperty(Sn)&&Rr(Sn,Dn[Sn]);return kr}function ze(et,pt){for(;pt&&pt!=et;){if(pt.nodeName.toUpperCase()==="LI"&&pt.parentNode==et)return pt;pt=pt.parentNode}}function Je(et,pt){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=et,this.data=pt,this.picked=!1;var dt=this,Wt=et.cm,pr=Wt.getInputField().ownerDocument,kr=pr.defaultView||pr.parentWindow,Rr=this.hints=pr.createElement("ul");Rr.setAttribute("role","listbox"),Rr.setAttribute("aria-expanded","true"),Rr.id=this.id;var Sn=et.cm.options.theme;Rr.className="CodeMirror-hints "+Sn,this.selectedHint=pt.selectedHint||0;for(var Dn=pt.list,Lr=0;Lr<Dn.length;++Lr){var _r=Rr.appendChild(pr.createElement("li")),gn=Dn[Lr],zt=l+(Lr!=this.selectedHint?"":" "+f);gn.className!=null&&(zt=gn.className+" "+zt),_r.className=zt,Lr==this.selectedHint&&_r.setAttribute("aria-selected","true"),_r.id=this.id+"-"+Lr,_r.setAttribute("role","option"),gn.render?gn.render(_r,pt,gn):_r.appendChild(pr.createTextNode(gn.displayText||Ae(gn))),_r.hintId=Lr}var Cr=et.options.container||pr.body,de=Wt.cursorCoords(et.options.alignWithWord?pt.from:null),lr=de.left,Ut=de.bottom,Ar=!0,tn=0,Vn=0;if(Cr!==pr.body){var ai=["absolute","relative","fixed"].indexOf(kr.getComputedStyle(Cr).position)!==-1,ui=ai?Cr:Cr.offsetParent,On=ui.getBoundingClientRect(),li=pr.body.getBoundingClientRect();tn=On.left-li.left-ui.scrollLeft,Vn=On.top-li.top-ui.scrollTop}Rr.style.left=lr-tn+"px",Rr.style.top=Ut-Vn+"px";var Gt=kr.innerWidth||Math.max(pr.body.offsetWidth,pr.documentElement.offsetWidth),ar=kr.innerHeight||Math.max(pr.body.offsetHeight,pr.documentElement.offsetHeight);Cr.appendChild(Rr),Wt.getInputField().setAttribute("aria-autocomplete","list"),Wt.getInputField().setAttribute("aria-owns",this.id),Wt.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var Pt=et.options.moveOnOverlap?Rr.getBoundingClientRect():new DOMRect,Dr=et.options.paddingForScrollbar?Rr.scrollHeight>Rr.clientHeight+1:!1,rn;setTimeout(function(){rn=Wt.getScrollInfo()});var Hr=Pt.bottom-ar;if(Hr>0){var Or=Pt.bottom-Pt.top,Zr=de.top-(de.bottom-Pt.top);if(Zr-Or>0)Rr.style.top=(Ut=de.top-Or-Vn)+"px",Ar=!1;else if(Or>ar){Rr.style.height=ar-5+"px",Rr.style.top=(Ut=de.bottom-Pt.top-Vn)+"px";var Ue=Wt.getCursor();pt.from.ch!=Ue.ch&&(de=Wt.cursorCoords(Ue),Rr.style.left=(lr=de.left-tn)+"px",Pt=Rr.getBoundingClientRect())}}var nt=Pt.right-Gt;if(Dr&&(nt+=Wt.display.nativeBarWidth),nt>0&&(Pt.right-Pt.left>Gt&&(Rr.style.width=Gt-5+"px",nt-=Pt.right-Pt.left-Gt),Rr.style.left=(lr=Math.max(de.left-nt-tn,0))+"px"),Dr)for(var Lt=Rr.firstChild;Lt;Lt=Lt.nextSibling)Lt.style.paddingRight=Wt.display.nativeBarWidth+"px";if(Wt.addKeyMap(this.keyMap=Be(et,{moveFocus:function(gr,Er){dt.changeActive(dt.selectedHint+gr,Er)},setFocus:function(gr){dt.changeActive(gr)},menuSize:function(){return dt.screenAmount()},length:Dn.length,close:function(){et.close()},pick:function(){dt.pick()},data:pt})),et.options.closeOnUnfocus){var kt;Wt.on("blur",this.onBlur=function(){kt=setTimeout(function(){et.close()},100)}),Wt.on("focus",this.onFocus=function(){clearTimeout(kt)})}Wt.on("scroll",this.onScroll=function(){var gr=Wt.getScrollInfo(),Er=Wt.getWrapperElement().getBoundingClientRect();rn||(rn=Wt.getScrollInfo());var Sr=Ut+rn.top-gr.top,dr=Sr-(kr.pageYOffset||(pr.documentElement||pr.body).scrollTop);if(Ar||(dr+=Rr.offsetHeight),dr<=Er.top||dr>=Er.bottom)return et.close();Rr.style.top=Sr+"px",Rr.style.left=lr+rn.left-gr.left+"px"}),a.on(Rr,"dblclick",function(gr){var Er=ze(Rr,gr.target||gr.srcElement);Er&&Er.hintId!=null&&(dt.changeActive(Er.hintId),dt.pick())}),a.on(Rr,"click",function(gr){var Er=ze(Rr,gr.target||gr.srcElement);Er&&Er.hintId!=null&&(dt.changeActive(Er.hintId),et.options.completeOnSingleClick&&dt.pick())}),a.on(Rr,"mousedown",function(){setTimeout(function(){Wt.focus()},20)});var or=this.getSelectedHintRange();return(or.from!==0||or.to!==0)&&this.scrollToActive(),a.signal(pt,"select",Dn[this.selectedHint],Rr.childNodes[this.selectedHint]),!0}Je.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var et=this.completion.cm.getInputField();et.removeAttribute("aria-activedescendant"),et.removeAttribute("aria-owns");var pt=this.completion.cm;this.completion.options.closeOnUnfocus&&(pt.off("blur",this.onBlur),pt.off("focus",this.onFocus)),pt.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var et=this;this.keyMap={Enter:function(){et.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(et,pt){if(et>=this.data.list.length?et=pt?this.data.list.length-1:0:et<0&&(et=pt?0:this.data.list.length-1),this.selectedHint!=et){var dt=this.hints.childNodes[this.selectedHint];dt&&(dt.className=dt.className.replace(" "+f,""),dt.removeAttribute("aria-selected")),dt=this.hints.childNodes[this.selectedHint=et],dt.className+=" "+f,dt.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",dt.id),this.scrollToActive(),a.signal(this.data,"select",this.data.list[this.selectedHint],dt)}},scrollToActive:function(){var et=this.getSelectedHintRange(),pt=this.hints.childNodes[et.from],dt=this.hints.childNodes[et.to],Wt=this.hints.firstChild;pt.offsetTop<this.hints.scrollTop?this.hints.scrollTop=pt.offsetTop-Wt.offsetTop:dt.offsetTop+dt.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=dt.offsetTop+dt.offsetHeight-this.hints.clientHeight+Wt.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var et=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-et),to:Math.min(this.data.list.length-1,this.selectedHint+et)}}};function rt(et,pt){if(!et.somethingSelected())return pt;for(var dt=[],Wt=0;Wt<pt.length;Wt++)pt[Wt].supportsSelection&&dt.push(pt[Wt]);return dt}function bt(et,pt,dt,Wt){if(et.async)et(pt,Wt,dt);else{var pr=et(pt,dt);pr&&pr.then?pr.then(Wt):Wt(pr)}}function Qt(et,pt){var dt=et.getHelpers(pt,"hint"),Wt;if(dt.length){var pr=function(kr,Rr,Sn){var Dn=rt(kr,dt);function Lr(_r){if(_r==Dn.length)return Rr(null);bt(Dn[_r],kr,Sn,function(gn){gn&&gn.list.length>0?Rr(gn):Lr(_r+1)})}Lr(0)};return pr.async=!0,pr.supportsSelection=!0,pr}else return(Wt=et.getHelper(et.getCursor(),"hintWords"))?function(kr){return a.hint.fromList(kr,{words:Wt})}:a.hint.anyword?function(kr,Rr){return a.hint.anyword(kr,Rr)}:function(){}}a.registerHelper("hint","auto",{resolve:Qt}),a.registerHelper("hint","fromList",function(et,pt){var dt=et.getCursor(),Wt=et.getTokenAt(dt),pr,kr=a.Pos(dt.line,Wt.start),Rr=dt;Wt.start<dt.ch&&/\w/.test(Wt.string.charAt(dt.ch-Wt.start-1))?pr=Wt.string.substr(0,dt.ch-Wt.start):(pr="",kr=dt);for(var Sn=[],Dn=0;Dn<pt.words.length;Dn++){var Lr=pt.words[Dn];Lr.slice(0,pr.length)==pr&&Sn.push(Lr)}if(Sn.length)return{list:Sn,from:kr,to:Rr}}),a.commands.autocomplete=a.showHint;var nr={hint:a.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};a.defineOption("hintOptions",null)})})();function lv(r,s,a={}){const l=av.fromTextArea(r.value,{theme:"vars",...vn(a)});no(a,F=>Object.entries(F).forEach(([V,ae])=>l.setOption(V,ae)));let f=!1;return l.on("change",()=>{if(f){f=!1;return}s.value=l.getValue()}),no(s,F=>{if(F!==l.getValue()){f=!0;const V=l.listSelections();l.replaceRange(F,l.posFromIndex(0),l.posFromIndex(1/0)),l.setSelections(V)}},{immediate:!0}),l}const cv={relative:"","font-mono":"","text-sm":""},pv=js({__name:"CodeMirror",props:{modelValue:null,mode:null,readOnly:{type:Boolean},matched:null,getHint:null},emits:["update:modelValue"],setup(r,{emit:s}){const a=r,l={html:"htmlmixed",vue:"htmlmixed",svelte:"htmlmixed",js:"javascript",mjs:"javascript",cjs:"javascript",ts:{name:"javascript",typescript:!0},mts:{name:"javascript",typescript:!0},cts:{name:"javascript",typescript:!0},jsx:{name:"javascript",jsx:!0},tsx:{name:"javascript",typescript:!0,jsx:!0}},f=Qi(),F=tv(a,"modelValue",s,{passive:!0}),V=_i(()=>l[a.mode||""]||a.mode),ae=_i(()=>a.getHint?{"Ctrl-Space":"autocomplete","Ctrl-.":"autocomplete","Cmd-Space":"autocomplete","Cmd-.":"autocomplete",Tab:"autocomplete"}:{}),ue=_i(()=>a.getHint?{hint:a.getHint}:{});return Bf(async()=>{const Ae=lv(f,F,ac({...Am(a),mode:V,hintOptions:ue,extraKeys:ae}));Ae.setSize("100%","100%"),a.getHint&&Ae.on("keyup",(bt,Qt)=>{Qt.key.match(/^[\w:-]$/)&&bt.execCommand("autocomplete")}),setTimeout(()=>Ae.refresh(),100);const Be=[];function ze(bt,Qt){Be.push(Ae.markText(Ae.posFromIndex(bt),Ae.posFromIndex(Qt),{className:"highlighted"}))}function Je(){Be.forEach(bt=>bt.clear()),sv(a.modelValue,Array.from(a.matched||[])).forEach(bt=>ze(bt[0],bt[1]))}let rt=0;no(()=>[a.modelValue,a.matched],async()=>{clearTimeout(rt),a.matched&&(rt=setTimeout(Je,200))},{immediate:!0})}),(Ae,Be)=>(Li(),po("div",cv,[Nn("textarea",{ref_key:"el",ref:f},null,512)]))}});var lg=(r,s)=>{const a=r.__vccOpts||r;for(const[l,f]of s)a[l]=f;return a};const fv={},dv={"bg-gray4:10":"","p-5":"",b:"b main",text:"sm gray5 dark:gray3"};function hv(r,s){return Li(),po("div",dv,[gp(r.$slots,"default")])}var gv=lg(fv,[["render",hv]]);const mv={style:{"background-color":"var(--cm-background)"},border:"l y gray-400/20",text:"gray-400/80","p-2":"","select-none":"",flex:"","all:my-auto":""},yv={"mr-2":"","op-60":""},vv={flex:"","gap-2":"","flex-auto":""},Dv=js({__name:"TitleBar",props:{title:null},setup(r){return(s,a)=>(Li(),po("div",mv,[gp(s.$slots,"before"),Nn("div",yv,To(r.title),1),Nn("div",vv,[gp(s.$slots,"default")])]))}}),bv="/@vite/client",cg=Lc(),pg=Lc(),xv=cg.on,fg=pg.on;vf(()=>import(bv),[]).then(r=>{const s=r.createHotContext("/");s.on("vite:beforeUpdate",a=>{a.updates.forEach(l=>{cg.trigger(l)})}),s.on("unocss:config-changed",()=>{pg.trigger()})}).catch(r=>{console.error("failed to connect to client vite server, you might need to do manual refresh to see the updates"),console.error(r)});const Ip="/__unocss_api",dg=Lp(Ip).json(),Rf=Lp(`${Ip}/overview`,{immediate:!1}).json(),to=dg.data,ip=Rf.data;fg(()=>{dg.execute(),Rf.execute()});function Jb(r){const s=Lp(_i(()=>`${Ip}/module?id=${encodeURIComponent(vn(r))}`),{refetch:!0}).json();return fg(()=>s.execute()),xv(a=>{var l;(a.path===vn(r)||a.path===vn(r).slice(((l=to.value)==null?void 0:l.root.length)||0))&&setTimeout(()=>{s.execute()},50)}),s}function Gb(r){const s=cy(r,500);return Lp(_i(()=>`${Ip}/repl?token=${encodeURIComponent(s.value)}`),{refetch:!0}).json()}const op=_i(()=>{if(!to.value)return{workspace:{children:{},items:[]},root:{children:{},items:[]}};const r=to.value.modules.map(l=>({full:l,path:l})),s=r.filter(l=>l.full.startsWith(to.value.root)),a=r.filter(l=>!l.full.startsWith(to.value.root));return s.forEach(l=>l.path=l.path.slice(to.value.root.length+1)),{workspace:jd(s,"Project Root"),root:jd(a,"Disk Root")}});function jd(r,s){const a={name:s,children:{},items:[]};function l(f,F,V=a){if(F.length<=1){V.items.push(f);return}const ae=F.shift();V.children[ae]||(V.children[ae]={name:ae,children:{},items:[]}),l(f,F,V.children[ae])}return r.forEach(f=>{const F=f.path.split(/\//g).filter(Boolean);l(f,F)}),a}const Cv={key:0,"ws-wrap":""},Ev=Nn("span",{op80:""},".",-1),wv={key:1},Av=js({__name:"ModuleId",props:{id:null},setup(r){return(s,a)=>r.id&&vn(to)?(Li(),po("span",Cv,[r.id.startsWith(vn(to).root)?(Li(),po(Uo,{key:0},[Ev,Nn("span",null,To(r.id.slice(vn(to).root.length)),1)],64)):(Li(),po("span",wv,To(r.id),1))])):Dp("",!0)}}),Sv=(r,s)=>{const a=Qi(null);return Gy(r,()=>{var f;const l=(f=If(r))==null?void 0:f.clientHeight;a.value=l?`--${s}: calc(100vh - ${l}px - 2px);`:null}),a};var hg={exports:{}};(function(r,s){(function(a){r.exports=a()})(function(){var a=(fr,ft)=>()=>(ft||fr((ft={exports:{}}).exports,ft),ft.exports),l=a((fr,ft)=>{var ot=function(xt){return xt&&xt.Math==Math&&xt};ft.exports=ot(typeof globalThis=="object"&&globalThis)||ot(typeof window=="object"&&window)||ot(typeof self=="object"&&self)||ot(typeof Jc=="object"&&Jc)||function(){return this}()||Function("return this")()}),f=a((fr,ft)=>{ft.exports=function(ot){try{return!!ot()}catch{return!0}}}),F=a((fr,ft)=>{var ot=f();ft.exports=!ot(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),V=a((fr,ft)=>{var ot=f();ft.exports=!ot(function(){var xt=function(){}.bind();return typeof xt!="function"||xt.hasOwnProperty("prototype")})}),ae=a((fr,ft)=>{var ot=V(),xt=Function.prototype.call;ft.exports=ot?xt.bind(xt):function(){return xt.apply(xt,arguments)}}),ue=a(fr=>{var ft={}.propertyIsEnumerable,ot=Object.getOwnPropertyDescriptor,xt=ot&&!ft.call({1:2},1);fr.f=xt?function(Ot){var Nt=ot(this,Ot);return!!Nt&&Nt.enumerable}:ft}),Ae=a((fr,ft)=>{ft.exports=function(ot,xt){return{enumerable:!(ot&1),configurable:!(ot&2),writable:!(ot&4),value:xt}}}),Be=a((fr,ft)=>{var ot=V(),xt=Function.prototype,Ot=xt.bind,Nt=xt.call,Xt=ot&&Ot.bind(Nt,Nt);ft.exports=ot?function(sr){return sr&&Xt(sr)}:function(sr){return sr&&function(){return Nt.apply(sr,arguments)}}}),ze=a((fr,ft)=>{var ot=Be(),xt=ot({}.toString),Ot=ot("".slice);ft.exports=function(Nt){return Ot(xt(Nt),8,-1)}}),Je=a((fr,ft)=>{var ot=l(),xt=Be(),Ot=f(),Nt=ze(),Xt=ot.Object,sr=xt("".split);ft.exports=Ot(function(){return!Xt("z").propertyIsEnumerable(0)})?function(hr){return Nt(hr)=="String"?sr(hr,""):Xt(hr)}:Xt}),rt=a((fr,ft)=>{var ot=l(),xt=ot.TypeError;ft.exports=function(Ot){if(Ot==null)throw xt("Can't call method on "+Ot);return Ot}}),bt=a((fr,ft)=>{var ot=Je(),xt=rt();ft.exports=function(Ot){return ot(xt(Ot))}}),Qt=a((fr,ft)=>{ft.exports=function(ot){return typeof ot=="function"}}),nr=a((fr,ft)=>{var ot=Qt();ft.exports=function(xt){return typeof xt=="object"?xt!==null:ot(xt)}}),et=a((fr,ft)=>{var ot=l(),xt=Qt(),Ot=function(Nt){return xt(Nt)?Nt:void 0};ft.exports=function(Nt,Xt){return arguments.length<2?Ot(ot[Nt]):ot[Nt]&&ot[Nt][Xt]}}),pt=a((fr,ft)=>{var ot=Be();ft.exports=ot({}.isPrototypeOf)}),dt=a((fr,ft)=>{var ot=et();ft.exports=ot("navigator","userAgent")||""}),Wt=a((fr,ft)=>{var ot=l(),xt=dt(),Ot=ot.process,Nt=ot.Deno,Xt=Ot&&Ot.versions||Nt&&Nt.version,sr=Xt&&Xt.v8,hr,Fr;sr&&(hr=sr.split("."),Fr=hr[0]>0&&hr[0]<4?1:+(hr[0]+hr[1])),!Fr&&xt&&(hr=xt.match(/Edge\/(\d+)/),(!hr||hr[1]>=74)&&(hr=xt.match(/Chrome\/(\d+)/),hr&&(Fr=+hr[1]))),ft.exports=Fr}),pr=a((fr,ft)=>{var ot=Wt(),xt=f();ft.exports=!!Object.getOwnPropertySymbols&&!xt(function(){var Ot=Symbol();return!String(Ot)||!(Object(Ot)instanceof Symbol)||!Symbol.sham&&ot&&ot<41})}),kr=a((fr,ft)=>{var ot=pr();ft.exports=ot&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Rr=a((fr,ft)=>{var ot=l(),xt=et(),Ot=Qt(),Nt=pt(),Xt=kr(),sr=ot.Object;ft.exports=Xt?function(hr){return typeof hr=="symbol"}:function(hr){var Fr=xt("Symbol");return Ot(Fr)&&Nt(Fr.prototype,sr(hr))}}),Sn=a((fr,ft)=>{var ot=l(),xt=ot.String;ft.exports=function(Ot){try{return xt(Ot)}catch{return"Object"}}}),Dn=a((fr,ft)=>{var ot=l(),xt=Qt(),Ot=Sn(),Nt=ot.TypeError;ft.exports=function(Xt){if(xt(Xt))return Xt;throw Nt(Ot(Xt)+" is not a function")}}),Lr=a((fr,ft)=>{var ot=Dn();ft.exports=function(xt,Ot){var Nt=xt[Ot];return Nt==null?void 0:ot(Nt)}}),_r=a((fr,ft)=>{var ot=l(),xt=ae(),Ot=Qt(),Nt=nr(),Xt=ot.TypeError;ft.exports=function(sr,hr){var Fr,Mr;if(hr==="string"&&Ot(Fr=sr.toString)&&!Nt(Mr=xt(Fr,sr))||Ot(Fr=sr.valueOf)&&!Nt(Mr=xt(Fr,sr))||hr!=="string"&&Ot(Fr=sr.toString)&&!Nt(Mr=xt(Fr,sr)))return Mr;throw Xt("Can't convert object to primitive value")}}),gn=a((fr,ft)=>{ft.exports=!1}),zt=a((fr,ft)=>{var ot=l(),xt=Object.defineProperty;ft.exports=function(Ot,Nt){try{xt(ot,Ot,{value:Nt,configurable:!0,writable:!0})}catch{ot[Ot]=Nt}return Nt}}),Cr=a((fr,ft)=>{var ot=l(),xt=zt(),Ot="__core-js_shared__",Nt=ot[Ot]||xt(Ot,{});ft.exports=Nt}),de=a((fr,ft)=>{var ot=gn(),xt=Cr();(ft.exports=function(Ot,Nt){return xt[Ot]||(xt[Ot]=Nt!==void 0?Nt:{})})("versions",[]).push({version:"3.22.2",mode:ot?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})}),lr=a((fr,ft)=>{var ot=l(),xt=rt(),Ot=ot.Object;ft.exports=function(Nt){return Ot(xt(Nt))}}),Ut=a((fr,ft)=>{var ot=Be(),xt=lr(),Ot=ot({}.hasOwnProperty);ft.exports=Object.hasOwn||function(Nt,Xt){return Ot(xt(Nt),Xt)}}),Ar=a((fr,ft)=>{var ot=Be(),xt=0,Ot=Math.random(),Nt=ot(1 .toString);ft.exports=function(Xt){return"Symbol("+(Xt===void 0?"":Xt)+")_"+Nt(++xt+Ot,36)}}),tn=a((fr,ft)=>{var ot=l(),xt=de(),Ot=Ut(),Nt=Ar(),Xt=pr(),sr=kr(),hr=xt("wks"),Fr=ot.Symbol,Mr=Fr&&Fr.for,Vr=sr?Fr:Fr&&Fr.withoutSetter||Nt;ft.exports=function(Kr){if(!Ot(hr,Kr)||!(Xt||typeof hr[Kr]=="string")){var Qr="Symbol."+Kr;Xt&&Ot(Fr,Kr)?hr[Kr]=Fr[Kr]:sr&&Mr?hr[Kr]=Mr(Qr):hr[Kr]=Vr(Qr)}return hr[Kr]}}),Vn=a((fr,ft)=>{var ot=l(),xt=ae(),Ot=nr(),Nt=Rr(),Xt=Lr(),sr=_r(),hr=tn(),Fr=ot.TypeError,Mr=hr("toPrimitive");ft.exports=function(Vr,Kr){if(!Ot(Vr)||Nt(Vr))return Vr;var Qr=Xt(Vr,Mr),mn;if(Qr){if(Kr===void 0&&(Kr="default"),mn=xt(Qr,Vr,Kr),!Ot(mn)||Nt(mn))return mn;throw Fr("Can't convert object to primitive value")}return Kr===void 0&&(Kr="number"),sr(Vr,Kr)}}),ai=a((fr,ft)=>{var ot=Vn(),xt=Rr();ft.exports=function(Ot){var Nt=ot(Ot,"string");return xt(Nt)?Nt:Nt+""}}),ui=a((fr,ft)=>{var ot=l(),xt=nr(),Ot=ot.document,Nt=xt(Ot)&&xt(Ot.createElement);ft.exports=function(Xt){return Nt?Ot.createElement(Xt):{}}}),On=a((fr,ft)=>{var ot=F(),xt=f(),Ot=ui();ft.exports=!ot&&!xt(function(){return Object.defineProperty(Ot("div"),"a",{get:function(){return 7}}).a!=7})}),li=a(fr=>{var ft=F(),ot=ae(),xt=ue(),Ot=Ae(),Nt=bt(),Xt=ai(),sr=Ut(),hr=On(),Fr=Object.getOwnPropertyDescriptor;fr.f=ft?Fr:function(Mr,Vr){if(Mr=Nt(Mr),Vr=Xt(Vr),hr)try{return Fr(Mr,Vr)}catch{}if(sr(Mr,Vr))return Ot(!ot(xt.f,Mr,Vr),Mr[Vr])}}),Gt=a((fr,ft)=>{var ot=F(),xt=f();ft.exports=ot&&xt(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),ar=a((fr,ft)=>{var ot=l(),xt=nr(),Ot=ot.String,Nt=ot.TypeError;ft.exports=function(Xt){if(xt(Xt))return Xt;throw Nt(Ot(Xt)+" is not an object")}}),Pt=a(fr=>{var ft=l(),ot=F(),xt=On(),Ot=Gt(),Nt=ar(),Xt=ai(),sr=ft.TypeError,hr=Object.defineProperty,Fr=Object.getOwnPropertyDescriptor,Mr="enumerable",Vr="configurable",Kr="writable";fr.f=ot?Ot?function(Qr,mn,Gr){if(Nt(Qr),mn=Xt(mn),Nt(Gr),typeof Qr=="function"&&mn==="prototype"&&"value"in Gr&&Kr in Gr&&!Gr[Kr]){var fn=Fr(Qr,mn);fn&&fn[Kr]&&(Qr[mn]=Gr.value,Gr={configurable:Vr in Gr?Gr[Vr]:fn[Vr],enumerable:Mr in Gr?Gr[Mr]:fn[Mr],writable:!1})}return hr(Qr,mn,Gr)}:hr:function(Qr,mn,Gr){if(Nt(Qr),mn=Xt(mn),Nt(Gr),xt)try{return hr(Qr,mn,Gr)}catch{}if("get"in Gr||"set"in Gr)throw sr("Accessors not supported");return"value"in Gr&&(Qr[mn]=Gr.value),Qr}}),Dr=a((fr,ft)=>{var ot=F(),xt=Pt(),Ot=Ae();ft.exports=ot?function(Nt,Xt,sr){return xt.f(Nt,Xt,Ot(1,sr))}:function(Nt,Xt,sr){return Nt[Xt]=sr,Nt}}),rn=a((fr,ft)=>{var ot=Be(),xt=Qt(),Ot=Cr(),Nt=ot(Function.toString);xt(Ot.inspectSource)||(Ot.inspectSource=function(Xt){return Nt(Xt)}),ft.exports=Ot.inspectSource}),Hr=a((fr,ft)=>{var ot=l(),xt=Qt(),Ot=rn(),Nt=ot.WeakMap;ft.exports=xt(Nt)&&/native code/.test(Ot(Nt))}),Or=a((fr,ft)=>{var ot=de(),xt=Ar(),Ot=ot("keys");ft.exports=function(Nt){return Ot[Nt]||(Ot[Nt]=xt(Nt))}}),Zr=a((fr,ft)=>{ft.exports={}}),Ue=a((fr,ft)=>{var ot=Hr(),xt=l(),Ot=Be(),Nt=nr(),Xt=Dr(),sr=Ut(),hr=Cr(),Fr=Or(),Mr=Zr(),Vr="Object already initialized",Kr=xt.TypeError,Qr=xt.WeakMap,mn,Gr,fn,Zn=function(Ln){return fn(Ln)?Gr(Ln):mn(Ln,{})},ii=function(Ln){return function(yn){var Pi;if(!Nt(yn)||(Pi=Gr(yn)).type!==Ln)throw Kr("Incompatible receiver, "+Ln+" required");return Pi}};ot||hr.state?(ci=hr.state||(hr.state=new Qr),Tn=Ot(ci.get),Oe=Ot(ci.has),Bi=Ot(ci.set),mn=function(Ln,yn){if(Oe(ci,Ln))throw new Kr(Vr);return yn.facade=Ln,Bi(ci,Ln,yn),yn},Gr=function(Ln){return Tn(ci,Ln)||{}},fn=function(Ln){return Oe(ci,Ln)}):(Si=Fr("state"),Mr[Si]=!0,mn=function(Ln,yn){if(sr(Ln,Si))throw new Kr(Vr);return yn.facade=Ln,Xt(Ln,Si,yn),yn},Gr=function(Ln){return sr(Ln,Si)?Ln[Si]:{}},fn=function(Ln){return sr(Ln,Si)});var ci,Tn,Oe,Bi,Si;ft.exports={set:mn,get:Gr,has:fn,enforce:Zn,getterFor:ii}}),nt=a((fr,ft)=>{var ot=F(),xt=Ut(),Ot=Function.prototype,Nt=ot&&Object.getOwnPropertyDescriptor,Xt=xt(Ot,"name"),sr=Xt&&function(){}.name==="something",hr=Xt&&(!ot||ot&&Nt(Ot,"name").configurable);ft.exports={EXISTS:Xt,PROPER:sr,CONFIGURABLE:hr}}),Lt=a((fr,ft)=>{var ot=l(),xt=Qt(),Ot=Ut(),Nt=Dr(),Xt=zt(),sr=rn(),hr=Ue(),Fr=nt().CONFIGURABLE,Mr=hr.get,Vr=hr.enforce,Kr=String(String).split("String");(ft.exports=function(Qr,mn,Gr,fn){var Zn=fn?!!fn.unsafe:!1,ii=fn?!!fn.enumerable:!1,ci=fn?!!fn.noTargetGet:!1,Tn=fn&&fn.name!==void 0?fn.name:mn,Oe;if(xt(Gr)&&(String(Tn).slice(0,7)==="Symbol("&&(Tn="["+String(Tn).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ot(Gr,"name")||Fr&&Gr.name!==Tn)&&Nt(Gr,"name",Tn),Oe=Vr(Gr),Oe.source||(Oe.source=Kr.join(typeof Tn=="string"?Tn:""))),Qr===ot){ii?Qr[mn]=Gr:Xt(mn,Gr);return}else Zn?!ci&&Qr[mn]&&(ii=!0):delete Qr[mn];ii?Qr[mn]=Gr:Nt(Qr,mn,Gr)})(Function.prototype,"toString",function(){return xt(this)&&Mr(this).source||sr(this)})}),kt=a((fr,ft)=>{var ot=Math.ceil,xt=Math.floor;ft.exports=function(Ot){var Nt=+Ot;return Nt!==Nt||Nt===0?0:(Nt>0?xt:ot)(Nt)}}),or=a((fr,ft)=>{var ot=kt(),xt=Math.max,Ot=Math.min;ft.exports=function(Nt,Xt){var sr=ot(Nt);return sr<0?xt(sr+Xt,0):Ot(sr,Xt)}}),gr=a((fr,ft)=>{var ot=kt(),xt=Math.min;ft.exports=function(Ot){return Ot>0?xt(ot(Ot),9007199254740991):0}}),Er=a((fr,ft)=>{var ot=gr();ft.exports=function(xt){return ot(xt.length)}}),Sr=a((fr,ft)=>{var ot=bt(),xt=or(),Ot=Er(),Nt=function(Xt){return function(sr,hr,Fr){var Mr=ot(sr),Vr=Ot(Mr),Kr=xt(Fr,Vr),Qr;if(Xt&&hr!=hr){for(;Vr>Kr;)if(Qr=Mr[Kr++],Qr!=Qr)return!0}else for(;Vr>Kr;Kr++)if((Xt||Kr in Mr)&&Mr[Kr]===hr)return Xt||Kr||0;return!Xt&&-1}};ft.exports={includes:Nt(!0),indexOf:Nt(!1)}}),dr=a((fr,ft)=>{var ot=Be(),xt=Ut(),Ot=bt(),Nt=Sr().indexOf,Xt=Zr(),sr=ot([].push);ft.exports=function(hr,Fr){var Mr=Ot(hr),Vr=0,Kr=[],Qr;for(Qr in Mr)!xt(Xt,Qr)&&xt(Mr,Qr)&&sr(Kr,Qr);for(;Fr.length>Vr;)xt(Mr,Qr=Fr[Vr++])&&(~Nt(Kr,Qr)||sr(Kr,Qr));return Kr}}),We=a((fr,ft)=>{ft.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Rt=a(fr=>{var ft=dr(),ot=We(),xt=ot.concat("length","prototype");fr.f=Object.getOwnPropertyNames||function(Ot){return ft(Ot,xt)}}),it=a(fr=>{fr.f=Object.getOwnPropertySymbols}),Br=a((fr,ft)=>{var ot=et(),xt=Be(),Ot=Rt(),Nt=it(),Xt=ar(),sr=xt([].concat);ft.exports=ot("Reflect","ownKeys")||function(hr){var Fr=Ot.f(Xt(hr)),Mr=Nt.f;return Mr?sr(Fr,Mr(hr)):Fr}}),ln=a((fr,ft)=>{var ot=Ut(),xt=Br(),Ot=li(),Nt=Pt();ft.exports=function(Xt,sr,hr){for(var Fr=xt(sr),Mr=Nt.f,Vr=Ot.f,Kr=0;Kr<Fr.length;Kr++){var Qr=Fr[Kr];!ot(Xt,Qr)&&!(hr&&ot(hr,Qr))&&Mr(Xt,Qr,Vr(sr,Qr))}}}),zn=a((fr,ft)=>{var ot=f(),xt=Qt(),Ot=/#|\.prototype\./,Nt=function(Mr,Vr){var Kr=sr[Xt(Mr)];return Kr==Fr?!0:Kr==hr?!1:xt(Vr)?ot(Vr):!!Vr},Xt=Nt.normalize=function(Mr){return String(Mr).replace(Ot,".").toLowerCase()},sr=Nt.data={},hr=Nt.NATIVE="N",Fr=Nt.POLYFILL="P";ft.exports=Nt}),Jn=a((fr,ft)=>{var ot=l(),xt=li().f,Ot=Dr(),Nt=Lt(),Xt=zt(),sr=ln(),hr=zn();ft.exports=function(Fr,Mr){var Vr=Fr.target,Kr=Fr.global,Qr=Fr.stat,mn,Gr,fn,Zn,ii,ci;if(Kr?Gr=ot:Qr?Gr=ot[Vr]||Xt(Vr,{}):Gr=(ot[Vr]||{}).prototype,Gr)for(fn in Mr){if(ii=Mr[fn],Fr.noTargetGet?(ci=xt(Gr,fn),Zn=ci&&ci.value):Zn=Gr[fn],mn=hr(Kr?fn:Vr+(Qr?".":"#")+fn,Fr.forced),!mn&&Zn!==void 0){if(typeof ii==typeof Zn)continue;sr(ii,Zn)}(Fr.sham||Zn&&Zn.sham)&&Ot(ii,"sham",!0),Nt(Gr,fn,ii,Fr)}}}),Gn=a((fr,ft)=>{var ot=ze();ft.exports=Array.isArray||function(xt){return ot(xt)=="Array"}}),kn=a((fr,ft)=>{var ot=Be(),xt=Dn(),Ot=V(),Nt=ot(ot.bind);ft.exports=function(Xt,sr){return xt(Xt),sr===void 0?Xt:Ot?Nt(Xt,sr):function(){return Xt.apply(sr,arguments)}}}),di=a((fr,ft)=>{var ot=l(),xt=Gn(),Ot=Er(),Nt=kn(),Xt=ot.TypeError,sr=function(hr,Fr,Mr,Vr,Kr,Qr,mn,Gr){for(var fn=Kr,Zn=0,ii=mn?Nt(mn,Gr):!1,ci,Tn;Zn<Vr;){if(Zn in Mr){if(ci=ii?ii(Mr[Zn],Zn,Fr):Mr[Zn],Qr>0&&xt(ci))Tn=Ot(ci),fn=sr(hr,Fr,ci,Tn,fn,Qr-1)-1;else{if(fn>=9007199254740991)throw Xt("Exceed the acceptable array length");hr[fn]=ci}fn++}Zn++}return fn};ft.exports=sr}),Ir=a((fr,ft)=>{var ot=tn(),xt=ot("toStringTag"),Ot={};Ot[xt]="z",ft.exports=String(Ot)==="[object z]"}),Ht=a((fr,ft)=>{var ot=l(),xt=Ir(),Ot=Qt(),Nt=ze(),Xt=tn(),sr=Xt("toStringTag"),hr=ot.Object,Fr=Nt(function(){return arguments}())=="Arguments",Mr=function(Vr,Kr){try{return Vr[Kr]}catch{}};ft.exports=xt?Nt:function(Vr){var Kr,Qr,mn;return Vr===void 0?"Undefined":Vr===null?"Null":typeof(Qr=Mr(Kr=hr(Vr),sr))=="string"?Qr:Fr?Nt(Kr):(mn=Nt(Kr))=="Object"&&Ot(Kr.callee)?"Arguments":mn}}),$t=a((fr,ft)=>{var ot=Be(),xt=f(),Ot=Qt(),Nt=Ht(),Xt=et(),sr=rn(),hr=function(){},Fr=[],Mr=Xt("Reflect","construct"),Vr=/^\s*(?:class|function)\b/,Kr=ot(Vr.exec),Qr=!Vr.exec(hr),mn=function(fn){if(!Ot(fn))return!1;try{return Mr(hr,Fr,fn),!0}catch{return!1}},Gr=function(fn){if(!Ot(fn))return!1;switch(Nt(fn)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Qr||!!Kr(Vr,sr(fn))}catch{return!0}};Gr.sham=!0,ft.exports=!Mr||xt(function(){var fn;return mn(mn.call)||!mn(Object)||!mn(function(){fn=!0})||fn})?Gr:mn}),ht=a((fr,ft)=>{var ot=l(),xt=Gn(),Ot=$t(),Nt=nr(),Xt=tn(),sr=Xt("species"),hr=ot.Array;ft.exports=function(Fr){var Mr;return xt(Fr)&&(Mr=Fr.constructor,Ot(Mr)&&(Mr===hr||xt(Mr.prototype))?Mr=void 0:Nt(Mr)&&(Mr=Mr[sr],Mr===null&&(Mr=void 0))),Mr===void 0?hr:Mr}}),Zt=a((fr,ft)=>{var ot=ht();ft.exports=function(xt,Ot){return new(ot(xt))(Ot===0?0:Ot)}}),Tt=a(()=>{var fr=Jn(),ft=di(),ot=Dn(),xt=lr(),Ot=Er(),Nt=Zt();fr({target:"Array",proto:!0},{flatMap:function(Xt){var sr=xt(this),hr=Ot(sr),Fr;return ot(Xt),Fr=Nt(sr,0),Fr.length=ft(Fr,sr,sr,hr,0,1,Xt,arguments.length>1?arguments[1]:void 0),Fr}})}),yr=a((fr,ft)=>{ft.exports={}}),at=a((fr,ft)=>{var ot=tn(),xt=yr(),Ot=ot("iterator"),Nt=Array.prototype;ft.exports=function(Xt){return Xt!==void 0&&(xt.Array===Xt||Nt[Ot]===Xt)}}),$r=a((fr,ft)=>{var ot=Ht(),xt=Lr(),Ot=yr(),Nt=tn(),Xt=Nt("iterator");ft.exports=function(sr){if(sr!=null)return xt(sr,Xt)||xt(sr,"@@iterator")||Ot[ot(sr)]}}),Jr=a((fr,ft)=>{var ot=l(),xt=ae(),Ot=Dn(),Nt=ar(),Xt=Sn(),sr=$r(),hr=ot.TypeError;ft.exports=function(Fr,Mr){var Vr=arguments.length<2?sr(Fr):Mr;if(Ot(Vr))return Nt(xt(Vr,Fr));throw hr(Xt(Fr)+" is not iterable")}}),En=a((fr,ft)=>{var ot=ae(),xt=ar(),Ot=Lr();ft.exports=function(Nt,Xt,sr){var hr,Fr;xt(Nt);try{if(hr=Ot(Nt,"return"),!hr){if(Xt==="throw")throw sr;return sr}hr=ot(hr,Nt)}catch(Mr){Fr=!0,hr=Mr}if(Xt==="throw")throw sr;if(Fr)throw hr;return xt(hr),sr}}),vt=a((fr,ft)=>{var ot=l(),xt=kn(),Ot=ae(),Nt=ar(),Xt=Sn(),sr=at(),hr=Er(),Fr=pt(),Mr=Jr(),Vr=$r(),Kr=En(),Qr=ot.TypeError,mn=function(fn,Zn){this.stopped=fn,this.result=Zn},Gr=mn.prototype;ft.exports=function(fn,Zn,ii){var ci=ii&&ii.that,Tn=!!(ii&&ii.AS_ENTRIES),Oe=!!(ii&&ii.IS_ITERATOR),Bi=!!(ii&&ii.INTERRUPTED),Si=xt(Zn,ci),Ln,yn,Pi,yo,xi,b,Pe,tr=function(nn){return Ln&&Kr(Ln,"normal",nn),new mn(!0,nn)},br=function(nn){return Tn?(Nt(nn),Bi?Si(nn[0],nn[1],tr):Si(nn[0],nn[1])):Bi?Si(nn,tr):Si(nn)};if(Oe)Ln=fn;else{if(yn=Vr(fn),!yn)throw Qr(Xt(fn)+" is not iterable");if(sr(yn)){for(Pi=0,yo=hr(fn);yo>Pi;Pi++)if(xi=br(fn[Pi]),xi&&Fr(Gr,xi))return xi;return new mn(!1)}Ln=Mr(fn,yn)}for(b=Ln.next;!(Pe=Ot(b,Ln)).done;){try{xi=br(Pe.value)}catch(nn){Kr(Ln,"throw",nn)}if(typeof xi=="object"&&xi&&Fr(Gr,xi))return xi}return new mn(!1)}}),cn=a((fr,ft)=>{var ot=ai(),xt=Pt(),Ot=Ae();ft.exports=function(Nt,Xt,sr){var hr=ot(Xt);hr in Nt?xt.f(Nt,hr,Ot(0,sr)):Nt[hr]=sr}}),Fn=a(()=>{var fr=Jn(),ft=vt(),ot=cn();fr({target:"Object",stat:!0},{fromEntries:function(xt){var Ot={};return ft(xt,function(Nt,Xt){ot(Ot,Nt,Xt)},{AS_ENTRIES:!0}),Ot}})}),Mn=a(()=>{var fr=Jn(),ft=l();fr({global:!0},{globalThis:ft})}),Bn=a(()=>{Mn()}),Qn=a(()=>{var fr=Jn(),ft=di(),ot=lr(),xt=Er(),Ot=kt(),Nt=Zt();fr({target:"Array",proto:!0},{flat:function(){var Xt=arguments.length?arguments[0]:void 0,sr=ot(this),hr=xt(sr),Fr=Nt(sr,0);return Fr.length=ft(Fr,sr,sr,hr,0,Xt===void 0?1:Ot(Xt)),Fr}})}),pi=a((fr,ft)=>{var ot=["cliName","cliCategory","cliDescription"],xt=["_"],Ot=["languageId"],Nt,Xt,sr,hr,Fr,Mr;function Vr(m,A){if(m==null)return{};var h=Kr(m,A),C,x;if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(m);for(x=0;x<p.length;x++)C=p[x],!(A.indexOf(C)>=0)&&(!Object.prototype.propertyIsEnumerable.call(m,C)||(h[C]=m[C]))}return h}function Kr(m,A){if(m==null)return{};var h={},C=Object.keys(m),x,p;for(p=0;p<C.length;p++)x=C[p],!(A.indexOf(x)>=0)&&(h[x]=m[x]);return h}Tt(),Fn(),Bn(),Qn();function Qr(m,A){return A||(A=m.slice(0)),Object.freeze(Object.defineProperties(m,{raw:{value:Object.freeze(A)}}))}var mn=Object.create,Gr=Object.defineProperty,fn=Object.getOwnPropertyDescriptor,Zn=Object.getOwnPropertyNames,ii=Object.getPrototypeOf,ci=Object.prototype.hasOwnProperty,Tn=(m,A)=>function(){return m&&(A=(0,m[Zn(m)[0]])(m=0)),A},Oe=(m,A)=>function(){return A||(0,m[Zn(m)[0]])((A={exports:{}}).exports,A),A.exports},Bi=(m,A)=>{for(var h in A)Gr(m,h,{get:A[h],enumerable:!0})},Si=(m,A,h,C)=>{if(A&&typeof A=="object"||typeof A=="function")for(let x of Zn(A))!ci.call(m,x)&&x!==h&&Gr(m,x,{get:()=>A[x],enumerable:!(C=fn(A,x))||C.enumerable});return m},Ln=(m,A,h)=>(h=m!=null?mn(ii(m)):{},Si(A||!m||!m.__esModule?Gr(h,"default",{value:m,enumerable:!0}):h,m)),yn=m=>Si(Gr({},"__esModule",{value:!0}),m),Pi,yo,xi,b=Tn({"<define:process>"(){Pi={},yo=[],xi={env:Pi,argv:yo}}}),Pe=Oe({"package.json"(m,A){A.exports={version:"2.7.1"}}}),tr=Oe({"node_modules/diff/lib/diff/base.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0}),m.default=A;function A(){}A.prototype={diff:function(x,p){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},D=d.callback;typeof d=="function"&&(D=d,d={}),this.options=d;var w=this;function k($){return D?(setTimeout(function(){D(void 0,$)},0),!0):$}x=this.castInput(x),p=this.castInput(p),x=this.removeEmpty(this.tokenize(x)),p=this.removeEmpty(this.tokenize(p));var R=p.length,P=x.length,I=1,T=R+P,_=[{newPos:-1,components:[]}],j=this.extractCommon(_[0],p,x,0);if(_[0].newPos+1>=R&&j+1>=P)return k([{value:this.join(p),count:p.length}]);function re(){for(var $=-1*I;$<=I;$+=2){var J=void 0,ee=_[$-1],oe=_[$+1],ie=(oe?oe.newPos:0)-$;ee&&(_[$-1]=void 0);var se=ee&&ee.newPos+1<R,z=oe&&0<=ie&&ie<P;if(!se&&!z){_[$]=void 0;continue}if(!se||z&&ee.newPos<oe.newPos?(J=C(oe),w.pushComponent(J.components,void 0,!0)):(J=ee,J.newPos++,w.pushComponent(J.components,!0,void 0)),ie=w.extractCommon(J,p,x,$),J.newPos+1>=R&&ie+1>=P)return k(h(w,J.components,p,x,w.useLongestToken));_[$]=J}I++}if(D)(function $(){setTimeout(function(){if(I>T)return D();re()||$()},0)})();else for(;I<=T;){var ne=re();if(ne)return ne}},pushComponent:function(x,p,d){var D=x[x.length-1];D&&D.added===p&&D.removed===d?x[x.length-1]={count:D.count+1,added:p,removed:d}:x.push({count:1,added:p,removed:d})},extractCommon:function(x,p,d,D){for(var w=p.length,k=d.length,R=x.newPos,P=R-D,I=0;R+1<w&&P+1<k&&this.equals(p[R+1],d[P+1]);)R++,P++,I++;return I&&x.components.push({count:I}),x.newPos=R,P},equals:function(x,p){return this.options.comparator?this.options.comparator(x,p):x===p||this.options.ignoreCase&&x.toLowerCase()===p.toLowerCase()},removeEmpty:function(x){for(var p=[],d=0;d<x.length;d++)x[d]&&p.push(x[d]);return p},castInput:function(x){return x},tokenize:function(x){return x.split("")},join:function(x){return x.join("")}};function h(x,p,d,D,w){for(var k=0,R=p.length,P=0,I=0;k<R;k++){var T=p[k];if(T.removed){if(T.value=x.join(D.slice(I,I+T.count)),I+=T.count,k&&p[k-1].added){var _=p[k-1];p[k-1]=p[k],p[k]=_}}else{if(!T.added&&w){var j=d.slice(P,P+T.count);j=j.map(function(ne,$){var J=D[I+$];return J.length>ne.length?J:ne}),T.value=x.join(j)}else T.value=x.join(d.slice(P,P+T.count));P+=T.count,T.added||(I+=T.count)}}var re=p[R-1];return R>1&&typeof re.value=="string"&&(re.added||re.removed)&&x.equals("",re.value)&&(p[R-2].value+=re.value,p.pop()),p}function C(x){return{newPos:x.newPos,components:x.components.slice(0)}}}}),br=Oe({"node_modules/diff/lib/diff/array.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0}),m.diffArrays=x,m.arrayDiff=void 0;var A=h(tr());function h(p){return p&&p.__esModule?p:{default:p}}var C=new A.default;m.arrayDiff=C,C.tokenize=function(p){return p.slice()},C.join=C.removeEmpty=function(p){return p};function x(p,d,D){return C.diff(p,d,D)}}}),nn=Oe({"src/document/doc-builders.js"(m,A){b();function h(W){return{type:"concat",parts:W}}function C(W){return{type:"indent",contents:W}}function x(W,S){return{type:"align",contents:S,n:W}}function p(W){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:S.id,contents:W,break:Boolean(S.shouldBreak),expandedStates:S.expandedStates}}function d(W){return x(Number.NEGATIVE_INFINITY,W)}function D(W){return x({type:"root"},W)}function w(W){return x(-1,W)}function k(W,S){return p(W[0],Object.assign(Object.assign({},S),{},{expandedStates:W}))}function R(W){return{type:"fill",parts:W}}function P(W,S){let H=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:W,flatContents:S,groupId:H.groupId}}function I(W,S){return{type:"indent-if-break",contents:W,groupId:S.groupId,negate:S.negate}}function T(W){return{type:"line-suffix",contents:W}}var _={type:"line-suffix-boundary"},j={type:"break-parent"},re={type:"trim"},ne={type:"line",hard:!0},$={type:"line",hard:!0,literal:!0},J={type:"line"},ee={type:"line",soft:!0},oe=h([ne,j]),ie=h([$,j]),se={type:"cursor",placeholder:Symbol("cursor")};function z(W,S){let H=[];for(let L=0;L<S.length;L++)L!==0&&H.push(W),H.push(S[L]);return h(H)}function N(W,S,H){let L=W;if(S>0){for(let Y=0;Y<Math.floor(S/H);++Y)L=C(L);L=x(S%H,L),L=x(Number.NEGATIVE_INFINITY,L)}return L}function O(W,S){return{type:"label",label:W,contents:S}}A.exports={concat:h,join:z,line:J,softline:ee,hardline:oe,literalline:ie,group:p,conditionalGroup:k,fill:R,lineSuffix:T,lineSuffixBoundary:_,cursor:se,breakParent:j,ifBreak:P,trim:re,indent:C,indentIfBreak:I,align:x,addAlignmentToDoc:N,markAsRoot:D,dedentToRoot:d,dedent:w,hardlineWithoutBreakParent:ne,literallineWithoutBreakParent:$,label:O}}}),$n=Oe({"src/common/end-of-line.js"(m,A){b();function h(d){let D=d.indexOf("\r");return D>=0?d.charAt(D+1)===`
|
|
25
|
+
`?"crlf":"cr":"lf"}function C(d){switch(d){case"cr":return"\r";case"crlf":return`\r
|
|
26
|
+
`;default:return`
|
|
27
|
+
`}}function x(d,D){let w;switch(D){case`
|
|
28
|
+
`:w=/\n/g;break;case"\r":w=/\r/g;break;case`\r
|
|
29
|
+
`:w=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(D),"."))}let k=d.match(w);return k?k.length:0}function p(d){return d.replace(/\r\n?/g,`
|
|
30
|
+
`)}A.exports={guessEndOfLine:h,convertEndOfLineToChars:C,countEndOfLineChars:x,normalizeEndOfLine:p}}}),Rn=Oe({"src/utils/get-last.js"(m,A){b();var h=C=>C[C.length-1];A.exports=h}});function qr(){let{onlyFirst:m=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(A,m?void 0:"g")}var hi=Tn({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){b()}});function _a(m){if(typeof m!="string")throw new TypeError("Expected a `string`, got `".concat(typeof m,"`"));return m.replace(qr(),"")}var ea=Tn({"node_modules/strip-ansi/index.js"(){b(),hi()}});function vo(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 Du=Tn({"node_modules/is-fullwidth-code-point/index.js"(){b()}}),bu=Oe({"node_modules/emoji-regex/index.js"(m,A){b(),A.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),ms={};Bi(ms,{default:()=>Na});function Na(m){if(typeof m!="string"||m.length===0||(m=_a(m),m.length===0))return 0;m=m.replace((0,Ba.default)()," ");let A=0;for(let h=0;h<m.length;h++){let C=m.codePointAt(h);C<=31||C>=127&&C<=159||C>=768&&C<=879||(C>65535&&h++,A+=vo(C)?2:1)}return A}var Ba,Pa=Tn({"node_modules/string-width/index.js"(){b(),ea(),Du(),Ba=Ln(bu())}}),Oa=Oe({"src/utils/get-string-width.js"(m,A){b();var h=(Pa(),yn(ms)).default,C=/[^\x20-\x7F]/;function x(p){return p?C.test(p)?h(p):p.length:0}A.exports=x}}),ta=Oe({"src/document/doc-utils.js"(m,A){b();var h=Rn(),{literalline:C,join:x}=nn(),p=S=>Array.isArray(S)||S&&S.type==="concat",d=S=>{if(Array.isArray(S))return S;if(S.type!=="concat"&&S.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return S.parts},D={};function w(S,H,L,Y){let X=[S];for(;X.length>0;){let K=X.pop();if(K===D){L(X.pop());continue}if(L&&X.push(K,D),!H||H(K)!==!1)if(p(K)||K.type==="fill"){let ce=d(K);for(let we=ce.length,ye=we-1;ye>=0;--ye)X.push(ce[ye])}else if(K.type==="if-break")K.flatContents&&X.push(K.flatContents),K.breakContents&&X.push(K.breakContents);else if(K.type==="group"&&K.expandedStates)if(Y)for(let ce=K.expandedStates.length,we=ce-1;we>=0;--we)X.push(K.expandedStates[we]);else X.push(K.contents);else K.contents&&X.push(K.contents)}}function k(S,H){let L=new Map;return Y(S);function Y(K){if(L.has(K))return L.get(K);let ce=X(K);return L.set(K,ce),ce}function X(K){if(Array.isArray(K))return H(K.map(Y));if(K.type==="concat"||K.type==="fill"){let ce=K.parts.map(Y);return H(Object.assign(Object.assign({},K),{},{parts:ce}))}if(K.type==="if-break"){let ce=K.breakContents&&Y(K.breakContents),we=K.flatContents&&Y(K.flatContents);return H(Object.assign(Object.assign({},K),{},{breakContents:ce,flatContents:we}))}if(K.type==="group"&&K.expandedStates){let ce=K.expandedStates.map(Y),we=ce[0];return H(Object.assign(Object.assign({},K),{},{contents:we,expandedStates:ce}))}if(K.contents){let ce=Y(K.contents);return H(Object.assign(Object.assign({},K),{},{contents:ce}))}return H(K)}}function R(S,H,L){let Y=L,X=!1;function K(ce){let we=H(ce);if(we!==void 0&&(X=!0,Y=we),X)return!1}return w(S,K),Y}function P(S){if(S.type==="group"&&S.break||S.type==="line"&&S.hard||S.type==="break-parent")return!0}function I(S){return R(S,P,!1)}function T(S){if(S.length>0){let H=h(S);!H.expandedStates&&!H.break&&(H.break="propagated")}return null}function _(S){let H=new Set,L=[];function Y(K){if(K.type==="break-parent"&&T(L),K.type==="group"){if(L.push(K),H.has(K))return!1;H.add(K)}}function X(K){K.type==="group"&&L.pop().break&&T(L)}w(S,Y,X,!0)}function j(S){return S.type==="line"&&!S.hard?S.soft?"":" ":S.type==="if-break"?S.flatContents||"":S}function re(S){return k(S,j)}var ne=(S,H)=>S&&S.type==="line"&&S.hard&&H&&H.type==="break-parent";function $(S){if(!S)return S;if(p(S)||S.type==="fill"){let H=d(S);for(;H.length>1&&ne(...H.slice(-2));)H.length-=2;if(H.length>0){let L=$(h(H));H[H.length-1]=L}return Array.isArray(S)?H:Object.assign(Object.assign({},S),{},{parts:H})}switch(S.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let H=$(S.contents);return Object.assign(Object.assign({},S),{},{contents:H})}case"if-break":{let H=$(S.breakContents),L=$(S.flatContents);return Object.assign(Object.assign({},S),{},{breakContents:H,flatContents:L})}}return S}function J(S){return $(oe(S))}function ee(S){switch(S.type){case"fill":if(S.parts.every(L=>L===""))return"";break;case"group":if(!S.contents&&!S.id&&!S.break&&!S.expandedStates)return"";if(S.contents.type==="group"&&S.contents.id===S.id&&S.contents.break===S.break&&S.contents.expandedStates===S.expandedStates)return S.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!S.contents)return"";break;case"if-break":if(!S.flatContents&&!S.breakContents)return"";break}if(!p(S))return S;let H=[];for(let L of d(S)){if(!L)continue;let[Y,...X]=p(L)?d(L):[L];typeof Y=="string"&&typeof h(H)=="string"?H[H.length-1]+=Y:H.push(Y),H.push(...X)}return H.length===0?"":H.length===1?H[0]:Array.isArray(S)?H:Object.assign(Object.assign({},S),{},{parts:H})}function oe(S){return k(S,H=>ee(H))}function ie(S){let H=[],L=S.filter(Boolean);for(;L.length>0;){let Y=L.shift();if(Y){if(p(Y)){L.unshift(...d(Y));continue}if(H.length>0&&typeof h(H)=="string"&&typeof Y=="string"){H[H.length-1]+=Y;continue}H.push(Y)}}return H}function se(S){return k(S,H=>Array.isArray(H)?ie(H):H.parts?Object.assign(Object.assign({},H),{},{parts:ie(H.parts)}):H)}function z(S){return k(S,H=>typeof H=="string"&&H.includes(`
|
|
31
|
+
`)?N(H):H)}function N(S){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:C;return x(H,S.split(`
|
|
32
|
+
`)).parts}function O(S){if(S.type==="line")return!0}function W(S){return R(S,O,!1)}A.exports={isConcat:p,getDocParts:d,willBreak:I,traverseDoc:w,findInDoc:R,mapDoc:k,propagateBreaks:_,removeLines:re,stripTrailingHardline:J,normalizeParts:ie,normalizeDoc:se,cleanDoc:oe,replaceTextEndOfLine:N,replaceEndOfLine:z,canBreak:W}}}),xu=Oe({"src/document/doc-printer.js"(m,A){b();var{convertEndOfLineToChars:h}=$n(),C=Rn(),x=Oa(),{fill:p,cursor:d,indent:D}=nn(),{isConcat:w,getDocParts:k}=ta(),R,P=1,I=2;function T(){return{value:"",length:0,queue:[]}}function _(ee,oe){return re(ee,{type:"indent"},oe)}function j(ee,oe,ie){return oe===Number.NEGATIVE_INFINITY?ee.root||T():oe<0?re(ee,{type:"dedent"},ie):oe?oe.type==="root"?Object.assign(Object.assign({},ee),{},{root:ee}):re(ee,{type:typeof oe=="string"?"stringAlign":"numberAlign",n:oe},ie):ee}function re(ee,oe,ie){let se=oe.type==="dedent"?ee.queue.slice(0,-1):[...ee.queue,oe],z="",N=0,O=0,W=0;for(let ce of se)switch(ce.type){case"indent":L(),ie.useTabs?S(1):H(ie.tabWidth);break;case"stringAlign":L(),z+=ce.n,N+=ce.n.length;break;case"numberAlign":O+=1,W+=ce.n;break;default:throw new Error("Unexpected type '".concat(ce.type,"'"))}return X(),Object.assign(Object.assign({},ee),{},{value:z,length:N,queue:se});function S(ce){z+=" ".repeat(ce),N+=ie.tabWidth*ce}function H(ce){z+=" ".repeat(ce),N+=ce}function L(){ie.useTabs?Y():X()}function Y(){O>0&&S(O),K()}function X(){W>0&&H(W),K()}function K(){O=0,W=0}}function ne(ee){if(ee.length===0)return 0;let oe=0;for(;ee.length>0&&typeof C(ee)=="string"&&/^[\t ]*$/.test(C(ee));)oe+=ee.pop().length;if(ee.length>0&&typeof C(ee)=="string"){let ie=C(ee).replace(/[\t ]*$/,"");oe+=C(ee).length-ie.length,ee[ee.length-1]=ie}return oe}function $(ee,oe,ie,se,z,N){let O=oe.length,W=[ee],S=[];for(;ie>=0;){if(W.length===0){if(O===0)return!0;W.push(oe[O-1]),O--;continue}let[H,L,Y]=W.pop();if(typeof Y=="string")S.push(Y),ie-=x(Y);else if(w(Y)){let X=k(Y);for(let K=X.length-1;K>=0;K--)W.push([H,L,X[K]])}else switch(Y.type){case"indent":W.push([_(H,se),L,Y.contents]);break;case"align":W.push([j(H,Y.n,se),L,Y.contents]);break;case"trim":ie+=ne(S);break;case"group":{if(N&&Y.break)return!1;let X=Y.break?P:L;W.push([H,X,Y.expandedStates&&X===P?C(Y.expandedStates):Y.contents]),Y.id&&(R[Y.id]=X);break}case"fill":for(let X=Y.parts.length-1;X>=0;X--)W.push([H,L,Y.parts[X]]);break;case"if-break":case"indent-if-break":{let X=Y.groupId?R[Y.groupId]:L;if(X===P){let K=Y.type==="if-break"?Y.breakContents:Y.negate?Y.contents:D(Y.contents);K&&W.push([H,L,K])}if(X===I){let K=Y.type==="if-break"?Y.flatContents:Y.negate?D(Y.contents):Y.contents;K&&W.push([H,L,K])}break}case"line":switch(L){case I:if(!Y.hard){Y.soft||(S.push(" "),ie-=1);break}return!0;case P:return!0}break;case"line-suffix":z=!0;break;case"line-suffix-boundary":if(z)return!1;break;case"label":W.push([H,L,Y.contents]);break}}return!1}function J(ee,oe){R={};let ie=oe.printWidth,se=h(oe.endOfLine),z=0,N=[[T(),P,ee]],O=[],W=!1,S=[];for(;N.length>0;){let[L,Y,X]=N.pop();if(typeof X=="string"){let K=se!==`
|
|
33
|
+
`?X.replace(/\n/g,se):X;O.push(K),z+=x(K)}else if(w(X)){let K=k(X);for(let ce=K.length-1;ce>=0;ce--)N.push([L,Y,K[ce]])}else switch(X.type){case"cursor":O.push(d.placeholder);break;case"indent":N.push([_(L,oe),Y,X.contents]);break;case"align":N.push([j(L,X.n,oe),Y,X.contents]);break;case"trim":z-=ne(O);break;case"group":switch(Y){case I:if(!W){N.push([L,X.break?P:I,X.contents]);break}case P:{W=!1;let K=[L,I,X.contents],ce=ie-z,we=S.length>0;if(!X.break&&$(K,N,ce,oe,we))N.push(K);else if(X.expandedStates){let ye=C(X.expandedStates);if(X.break){N.push([L,P,ye]);break}else for(let Ne=1;Ne<X.expandedStates.length+1;Ne++)if(Ne>=X.expandedStates.length){N.push([L,P,ye]);break}else{let ke=X.expandedStates[Ne],Ee=[L,I,ke];if($(Ee,N,ce,oe,we)){N.push(Ee);break}}}else N.push([L,P,X.contents]);break}}X.id&&(R[X.id]=C(N)[1]);break;case"fill":{let K=ie-z,{parts:ce}=X;if(ce.length===0)break;let[we,ye]=ce,Ne=[L,I,we],ke=[L,P,we],Ee=$(Ne,[],K,oe,S.length>0,!0);if(ce.length===1){Ee?N.push(Ne):N.push(ke);break}let qe=[L,I,ye],Se=[L,P,ye];if(ce.length===2){Ee?N.push(qe,Ne):N.push(Se,ke);break}ce.splice(0,2);let Te=[L,Y,p(ce)],Ge=ce[0];$([L,I,[we,ye,Ge]],[],K,oe,S.length>0,!0)?N.push(Te,qe,Ne):Ee?N.push(Te,Se,Ne):N.push(Te,Se,ke);break}case"if-break":case"indent-if-break":{let K=X.groupId?R[X.groupId]:Y;if(K===P){let ce=X.type==="if-break"?X.breakContents:X.negate?X.contents:D(X.contents);ce&&N.push([L,Y,ce])}if(K===I){let ce=X.type==="if-break"?X.flatContents:X.negate?D(X.contents):X.contents;ce&&N.push([L,Y,ce])}break}case"line-suffix":S.push([L,Y,X.contents]);break;case"line-suffix-boundary":S.length>0&&N.push([L,Y,{type:"line",hard:!0}]);break;case"line":switch(Y){case I:if(X.hard)W=!0;else{X.soft||(O.push(" "),z+=1);break}case P:if(S.length>0){N.push([L,Y,X],...S.reverse()),S=[];break}X.literal?L.root?(O.push(se,L.root.value),z=L.root.length):(O.push(se),z=0):(z-=ne(O),O.push(se+L.value),z=L.length);break}break;case"label":N.push([L,Y,X.contents]);break}N.length===0&&S.length>0&&(N.push(...S.reverse()),S=[])}let H=O.indexOf(d.placeholder);if(H!==-1){let L=O.indexOf(d.placeholder,H+1),Y=O.slice(0,H).join(""),X=O.slice(H+1,L).join(""),K=O.slice(L+1).join("");return{formatted:Y+X+K,cursorNodeStart:Y.length,cursorNodeText:X}}return{formatted:O.join("")}}A.exports={printDocToString:J}}}),Cu=Oe({"src/document/doc-debug.js"(m,A){b();var{isConcat:h,getDocParts:C}=ta();function x(d){if(!d)return"";if(h(d)){let D=[];for(let w of C(d))if(h(w))D.push(...x(w).parts);else{let k=x(w);k!==""&&D.push(k)}return{type:"concat",parts:D}}return d.type==="if-break"?Object.assign(Object.assign({},d),{},{breakContents:x(d.breakContents),flatContents:x(d.flatContents)}):d.type==="group"?Object.assign(Object.assign({},d),{},{contents:x(d.contents),expandedStates:d.expandedStates&&d.expandedStates.map(x)}):d.type==="fill"?{type:"fill",parts:d.parts.map(x)}:d.contents?Object.assign(Object.assign({},d),{},{contents:x(d.contents)}):d}function p(d){let D=Object.create(null),w=new Set;return k(x(d));function k(P,I,T){if(typeof P=="string")return JSON.stringify(P);if(h(P)){let _=C(P).map(k).filter(Boolean);return _.length===1?_[0]:"[".concat(_.join(", "),"]")}if(P.type==="line"){let _=Array.isArray(T)&&T[I+1]&&T[I+1].type==="break-parent";return P.literal?_?"literalline":"literallineWithoutBreakParent":P.hard?_?"hardline":"hardlineWithoutBreakParent":P.soft?"softline":"line"}if(P.type==="break-parent")return Array.isArray(T)&&T[I-1]&&T[I-1].type==="line"&&T[I-1].hard?void 0:"breakParent";if(P.type==="trim")return"trim";if(P.type==="indent")return"indent("+k(P.contents)+")";if(P.type==="align")return P.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+k(P.contents)+")":P.n<0?"dedent("+k(P.contents)+")":P.n.type==="root"?"markAsRoot("+k(P.contents)+")":"align("+JSON.stringify(P.n)+", "+k(P.contents)+")";if(P.type==="if-break")return"ifBreak("+k(P.breakContents)+(P.flatContents?", "+k(P.flatContents):"")+(P.groupId?(P.flatContents?"":', ""')+", { groupId: ".concat(R(P.groupId)," }"):"")+")";if(P.type==="indent-if-break"){let _=[];P.negate&&_.push("negate: true"),P.groupId&&_.push("groupId: ".concat(R(P.groupId)));let j=_.length>0?", { ".concat(_.join(", ")," }"):"";return"indentIfBreak(".concat(k(P.contents)).concat(j,")")}if(P.type==="group"){let _=[];P.break&&P.break!=="propagated"&&_.push("shouldBreak: true"),P.id&&_.push("id: ".concat(R(P.id)));let j=_.length>0?", { ".concat(_.join(", ")," }"):"";return P.expandedStates?"conditionalGroup([".concat(P.expandedStates.map(re=>k(re)).join(","),"]").concat(j,")"):"group(".concat(k(P.contents)).concat(j,")")}if(P.type==="fill")return"fill([".concat(P.parts.map(_=>k(_)).join(", "),"])");if(P.type==="line-suffix")return"lineSuffix("+k(P.contents)+")";if(P.type==="line-suffix-boundary")return"lineSuffixBoundary";if(P.type==="label")return"label(".concat(JSON.stringify(P.label),", ").concat(k(P.contents),")");throw new Error("Unknown doc type "+P.type)}function R(P){if(typeof P!="symbol")return JSON.stringify(String(P));if(P in D)return D[P];let I=String(P).slice(7,-1)||"symbol";for(let T=0;;T++){let _=I+(T>0?" #".concat(T):"");if(!w.has(_))return w.add(_),D[P]="Symbol.for(".concat(JSON.stringify(_),")")}}}A.exports={printDocToDebug:p}}}),bn=Oe({"src/document/index.js"(m,A){b(),A.exports={builders:nn(),printer:xu(),utils:ta(),debug:Cu()}}}),Eu={};Bi(Eu,{default:()=>wu});function wu(m){if(typeof m!="string")throw new TypeError("Expected a string");return m.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Vo=Tn({"node_modules/escape-string-regexp/index.js"(){b()}}),Dl=Oe({"node_modules/semver/internal/debug.js"(m,A){b();var h=typeof xi=="object"&&xi.env&&xi.env.NODE_DEBUG&&/\bsemver\b/i.test(xi.env.NODE_DEBUG)?function(){for(var C=arguments.length,x=new Array(C),p=0;p<C;p++)x[p]=arguments[p];return console.error("SEMVER",...x)}:()=>{};A.exports=h}}),Au=Oe({"node_modules/semver/internal/constants.js"(m,A){b();var h="2.0.0",C=256,x=Number.MAX_SAFE_INTEGER||9007199254740991,p=16;A.exports={SEMVER_SPEC_VERSION:h,MAX_LENGTH:C,MAX_SAFE_INTEGER:x,MAX_SAFE_COMPONENT_LENGTH:p}}}),ja=Oe({"node_modules/semver/internal/re.js"(m,A){b();var{MAX_SAFE_COMPONENT_LENGTH:h}=Au(),C=Dl();m=A.exports={};var x=m.re=[],p=m.src=[],d=m.t={},D=0,w=(k,R,P)=>{let I=D++;C(k,I,R),d[k]=I,p[I]=R,x[I]=new RegExp(R,P?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*"),w("NUMERICIDENTIFIERLOOSE","[0-9]+"),w("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),w("MAINVERSION","(".concat(p[d.NUMERICIDENTIFIER],")\\.(").concat(p[d.NUMERICIDENTIFIER],")\\.(").concat(p[d.NUMERICIDENTIFIER],")")),w("MAINVERSIONLOOSE","(".concat(p[d.NUMERICIDENTIFIERLOOSE],")\\.(").concat(p[d.NUMERICIDENTIFIERLOOSE],")\\.(").concat(p[d.NUMERICIDENTIFIERLOOSE],")")),w("PRERELEASEIDENTIFIER","(?:".concat(p[d.NUMERICIDENTIFIER],"|").concat(p[d.NONNUMERICIDENTIFIER],")")),w("PRERELEASEIDENTIFIERLOOSE","(?:".concat(p[d.NUMERICIDENTIFIERLOOSE],"|").concat(p[d.NONNUMERICIDENTIFIER],")")),w("PRERELEASE","(?:-(".concat(p[d.PRERELEASEIDENTIFIER],"(?:\\.").concat(p[d.PRERELEASEIDENTIFIER],")*))")),w("PRERELEASELOOSE","(?:-?(".concat(p[d.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(p[d.PRERELEASEIDENTIFIERLOOSE],")*))")),w("BUILDIDENTIFIER","[0-9A-Za-z-]+"),w("BUILD","(?:\\+(".concat(p[d.BUILDIDENTIFIER],"(?:\\.").concat(p[d.BUILDIDENTIFIER],")*))")),w("FULLPLAIN","v?".concat(p[d.MAINVERSION]).concat(p[d.PRERELEASE],"?").concat(p[d.BUILD],"?")),w("FULL","^".concat(p[d.FULLPLAIN],"$")),w("LOOSEPLAIN","[v=\\s]*".concat(p[d.MAINVERSIONLOOSE]).concat(p[d.PRERELEASELOOSE],"?").concat(p[d.BUILD],"?")),w("LOOSE","^".concat(p[d.LOOSEPLAIN],"$")),w("GTLT","((?:<|>)?=?)"),w("XRANGEIDENTIFIERLOOSE","".concat(p[d.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),w("XRANGEIDENTIFIER","".concat(p[d.NUMERICIDENTIFIER],"|x|X|\\*")),w("XRANGEPLAIN","[v=\\s]*(".concat(p[d.XRANGEIDENTIFIER],")(?:\\.(").concat(p[d.XRANGEIDENTIFIER],")(?:\\.(").concat(p[d.XRANGEIDENTIFIER],")(?:").concat(p[d.PRERELEASE],")?").concat(p[d.BUILD],"?)?)?")),w("XRANGEPLAINLOOSE","[v=\\s]*(".concat(p[d.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(p[d.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(p[d.XRANGEIDENTIFIERLOOSE],")(?:").concat(p[d.PRERELEASELOOSE],")?").concat(p[d.BUILD],"?)?)?")),w("XRANGE","^".concat(p[d.GTLT],"\\s*").concat(p[d.XRANGEPLAIN],"$")),w("XRANGELOOSE","^".concat(p[d.GTLT],"\\s*").concat(p[d.XRANGEPLAINLOOSE],"$")),w("COERCE","(^|[^\\d])(\\d{1,".concat(h,"})(?:\\.(\\d{1,").concat(h,"}))?(?:\\.(\\d{1,").concat(h,"}))?(?:$|[^\\d])")),w("COERCERTL",p[d.COERCE],!0),w("LONETILDE","(?:~>?)"),w("TILDETRIM","(\\s*)".concat(p[d.LONETILDE],"\\s+"),!0),m.tildeTrimReplace="$1~",w("TILDE","^".concat(p[d.LONETILDE]).concat(p[d.XRANGEPLAIN],"$")),w("TILDELOOSE","^".concat(p[d.LONETILDE]).concat(p[d.XRANGEPLAINLOOSE],"$")),w("LONECARET","(?:\\^)"),w("CARETTRIM","(\\s*)".concat(p[d.LONECARET],"\\s+"),!0),m.caretTrimReplace="$1^",w("CARET","^".concat(p[d.LONECARET]).concat(p[d.XRANGEPLAIN],"$")),w("CARETLOOSE","^".concat(p[d.LONECARET]).concat(p[d.XRANGEPLAINLOOSE],"$")),w("COMPARATORLOOSE","^".concat(p[d.GTLT],"\\s*(").concat(p[d.LOOSEPLAIN],")$|^$")),w("COMPARATOR","^".concat(p[d.GTLT],"\\s*(").concat(p[d.FULLPLAIN],")$|^$")),w("COMPARATORTRIM","(\\s*)".concat(p[d.GTLT],"\\s*(").concat(p[d.LOOSEPLAIN],"|").concat(p[d.XRANGEPLAIN],")"),!0),m.comparatorTrimReplace="$1$2$3",w("HYPHENRANGE","^\\s*(".concat(p[d.XRANGEPLAIN],")\\s+-\\s+(").concat(p[d.XRANGEPLAIN],")\\s*$")),w("HYPHENRANGELOOSE","^\\s*(".concat(p[d.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(p[d.XRANGEPLAINLOOSE],")\\s*$")),w("STAR","(<|>)?=?\\s*\\*"),w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Ms=Oe({"node_modules/semver/internal/parse-options.js"(m,A){b();var h=["includePrerelease","loose","rtl"],C=x=>x?typeof x!="object"?{loose:!0}:h.filter(p=>x[p]).reduce((p,d)=>(p[d]=!0,p),{}):{};A.exports=C}}),ys=Oe({"node_modules/semver/internal/identifiers.js"(m,A){b();var h=/^[0-9]+$/,C=(p,d)=>{let D=h.test(p),w=h.test(d);return D&&w&&(p=+p,d=+d),p===d?0:D&&!w?-1:w&&!D?1:p<d?-1:1},x=(p,d)=>C(d,p);A.exports={compareIdentifiers:C,rcompareIdentifiers:x}}}),cc=Oe({"node_modules/semver/classes/semver.js"(m,A){b();var h=Dl(),{MAX_LENGTH:C,MAX_SAFE_INTEGER:x}=Au(),{re:p,t:d}=ja(),D=Ms(),{compareIdentifiers:w}=ys(),k=class{constructor(R,P){if(P=D(P),R instanceof k){if(R.loose===!!P.loose&&R.includePrerelease===!!P.includePrerelease)return R;R=R.version}else if(typeof R!="string")throw new TypeError("Invalid Version: ".concat(R));if(R.length>C)throw new TypeError("version is longer than ".concat(C," characters"));h("SemVer",R,P),this.options=P,this.loose=!!P.loose,this.includePrerelease=!!P.includePrerelease;let I=R.trim().match(P.loose?p[d.LOOSE]:p[d.FULL]);if(!I)throw new TypeError("Invalid Version: ".concat(R));if(this.raw=R,this.major=+I[1],this.minor=+I[2],this.patch=+I[3],this.major>x||this.major<0)throw new TypeError("Invalid major version");if(this.minor>x||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>x||this.patch<0)throw new TypeError("Invalid patch version");I[4]?this.prerelease=I[4].split(".").map(T=>{if(/^[0-9]+$/.test(T)){let _=+T;if(_>=0&&_<x)return _}return T}):this.prerelease=[],this.build=I[5]?I[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(R){if(h("SemVer.compare",this.version,this.options,R),!(R instanceof k)){if(typeof R=="string"&&R===this.version)return 0;R=new k(R,this.options)}return R.version===this.version?0:this.compareMain(R)||this.comparePre(R)}compareMain(R){return R instanceof k||(R=new k(R,this.options)),w(this.major,R.major)||w(this.minor,R.minor)||w(this.patch,R.patch)}comparePre(R){if(R instanceof k||(R=new k(R,this.options)),this.prerelease.length&&!R.prerelease.length)return-1;if(!this.prerelease.length&&R.prerelease.length)return 1;if(!this.prerelease.length&&!R.prerelease.length)return 0;let P=0;do{let I=this.prerelease[P],T=R.prerelease[P];if(h("prerelease compare",P,I,T),I===void 0&&T===void 0)return 0;if(T===void 0)return 1;if(I===void 0)return-1;if(I!==T)return w(I,T)}while(++P)}compareBuild(R){R instanceof k||(R=new k(R,this.options));let P=0;do{let I=this.build[P],T=R.build[P];if(h("prerelease compare",P,I,T),I===void 0&&T===void 0)return 0;if(T===void 0)return 1;if(I===void 0)return-1;if(I!==T)return w(I,T)}while(++P)}inc(R,P){switch(R){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",P);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",P);break;case"prepatch":this.prerelease.length=0,this.inc("patch",P),this.inc("pre",P);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",P),this.inc("pre",P);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 I=this.prerelease.length;for(;--I>=0;)typeof this.prerelease[I]=="number"&&(this.prerelease[I]++,I=-2);I===-1&&this.prerelease.push(0)}P&&(w(this.prerelease[0],P)===0?isNaN(this.prerelease[1])&&(this.prerelease=[P,0]):this.prerelease=[P,0]);break;default:throw new Error("invalid increment argument: ".concat(R))}return this.format(),this.raw=this.version,this}};A.exports=k}}),Su=Oe({"node_modules/semver/functions/compare.js"(m,A){b();var h=cc(),C=(x,p,d)=>new h(x,d).compare(new h(p,d));A.exports=C}}),pc=Oe({"node_modules/semver/functions/lt.js"(m,A){b();var h=Su(),C=(x,p,d)=>h(x,p,d)<0;A.exports=C}}),Fu=Oe({"node_modules/semver/functions/gte.js"(m,A){b();var h=Su(),C=(x,p,d)=>h(x,p,d)>=0;A.exports=C}}),bl=Oe({"src/utils/arrayify.js"(m,A){b(),A.exports=(h,C)=>Object.entries(h).map(x=>{let[p,d]=x;return Object.assign({[C]:p},d)})}}),fc=Oe({"node_modules/outdent/lib/index.js"(m,A){b(),Object.defineProperty(m,"__esModule",{value:!0}),m.outdent=void 0;function h(){for(var $=[],J=0;J<arguments.length;J++)$[J]=arguments[J]}function C(){return typeof WeakMap<"u"?new WeakMap:x()}function x(){return{add:h,delete:h,get:h,set:h,has:function($){return!1}}}var p=Object.prototype.hasOwnProperty,d=function($,J){return p.call($,J)};function D($,J){for(var ee in J)d(J,ee)&&($[ee]=J[ee]);return $}var w=/^[ \t]*(?:\r\n|\r|\n)/,k=/(?:\r\n|\r|\n)[ \t]*$/,R=/^(?:[\r\n]|$)/,P=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,I=/^[ \t]*[\r\n][ \t\r\n]*$/;function T($,J,ee){var oe=0,ie=$[0].match(P);ie&&(oe=ie[1].length);var se="(\\r\\n|\\r|\\n).{0,"+oe+"}",z=new RegExp(se,"g");J&&($=$.slice(1));var N=ee.newline,O=ee.trimLeadingNewline,W=ee.trimTrailingNewline,S=typeof N=="string",H=$.length,L=$.map(function(Y,X){return Y=Y.replace(z,"$1"),X===0&&O&&(Y=Y.replace(w,"")),X===H-1&&W&&(Y=Y.replace(k,"")),S&&(Y=Y.replace(/\r\n|\n|\r/g,function(K){return N})),Y});return L}function _($,J){for(var ee="",oe=0,ie=$.length;oe<ie;oe++)ee+=$[oe],oe<ie-1&&(ee+=J[oe]);return ee}function j($){return d($,"raw")&&d($,"length")}function re($){var J=C(),ee=C();function oe(se){for(var z=[],N=1;N<arguments.length;N++)z[N-1]=arguments[N];if(j(se)){var O=se,W=(z[0]===oe||z[0]===ne)&&I.test(O[0])&&R.test(O[1]),S=W?ee:J,H=S.get(O);if(H||(H=T(O,W,$),S.set(O,H)),z.length===0)return H[0];var L=_(H,W?z.slice(1):z);return L}else return re(D(D({},$),se||{}))}var ie=D(oe,{string:function(se){return T([se],!1,$)[0]}});return ie}var ne=re({trimLeadingNewline:!0,trimTrailingNewline:!0});if(m.outdent=ne,m.default=ne,typeof A<"u")try{A.exports=ne,Object.defineProperty(ne,"__esModule",{value:!0}),ne.default=ne,ne.outdent=ne}catch{}}}),No=Oe({"src/main/core-options.js"(m,A){b();var{outdent:h}=fc(),C="Config",x="Editor",p="Format",d="Other",D="Output",w="Global",k="Special",R={cursorOffset:{since:"1.4.0",category:k,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:h(Nt||(Nt=Qr([`
|
|
34
|
+
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
35
|
+
This option cannot be used with --range-start and --range-end.
|
|
36
|
+
`]))),cliCategory:x},endOfLine:{since:"1.15.0",category:w,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:h(Xt||(Xt=Qr([`
|
|
37
|
+
Maintain existing
|
|
38
|
+
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
39
|
+
`])))}]},filepath:{since:"1.4.0",category:k,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:k,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:d},parser:{since:"0.0.10",category:w,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:P=>typeof P=="string"||typeof P=="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:w,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:P=>typeof P=="string"||typeof P=="object",cliName:"plugin",cliCategory:C},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:w,description:h(sr||(sr=Qr([`
|
|
40
|
+
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
41
|
+
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
42
|
+
Multiple values are accepted.
|
|
43
|
+
`]))),exception:P=>typeof P=="string"||typeof P=="object",cliName:"plugin-search-dir",cliCategory:C},printWidth:{since:"0.0.0",category:w,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:k,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:h(hr||(hr=Qr([`
|
|
44
|
+
Format code ending at a given character offset (exclusive).
|
|
45
|
+
The range will extend forwards to the end of the selected statement.
|
|
46
|
+
This option cannot be used with --cursor-offset.
|
|
47
|
+
`]))),cliCategory:x},rangeStart:{since:"1.4.0",category:k,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:h(Fr||(Fr=Qr([`
|
|
48
|
+
Format code starting at a given character offset.
|
|
49
|
+
The range will extend backwards to the start of the first line containing the selected statement.
|
|
50
|
+
This option cannot be used with --cursor-offset.
|
|
51
|
+
`]))),cliCategory:x},requirePragma:{since:"1.7.0",category:k,type:"boolean",default:!1,description:h(Mr||(Mr=Qr([`
|
|
52
|
+
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
53
|
+
in order for it to be formatted.
|
|
54
|
+
`]))),cliCategory:d},tabWidth:{type:"int",category:w,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:w,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:w,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};A.exports={CATEGORY_CONFIG:C,CATEGORY_EDITOR:x,CATEGORY_FORMAT:p,CATEGORY_OTHER:d,CATEGORY_OUTPUT:D,CATEGORY_GLOBAL:w,CATEGORY_SPECIAL:k,options:R}}}),fo=Oe({"src/main/support.js"(m,A){b();var h={compare:Su(),lt:pc(),gte:Fu()},C=bl(),x=Pe().version,p=No().options;function d(){let{plugins:w=[],showUnreleased:k=!1,showDeprecated:R=!1,showInternal:P=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=x.split("-",1)[0],T=w.flatMap($=>$.languages||[]).filter(j),_=C(Object.assign({},...w.map($=>{let{options:J}=$;return J}),p),"name").filter($=>j($)&&re($)).sort(($,J)=>$.name===J.name?0:$.name<J.name?-1:1).map(ne).map($=>{$=Object.assign({},$),Array.isArray($.default)&&($.default=$.default.length===1?$.default[0].value:$.default.filter(j).sort((ee,oe)=>h.compare(oe.since,ee.since))[0].value),Array.isArray($.choices)&&($.choices=$.choices.filter(ee=>j(ee)&&re(ee)),$.name==="parser"&&D($,T,w));let J=Object.fromEntries(w.filter(ee=>ee.defaultOptions&&ee.defaultOptions[$.name]!==void 0).map(ee=>[ee.name,ee.defaultOptions[$.name]]));return Object.assign(Object.assign({},$),{},{pluginDefaults:J})});return{languages:T,options:_};function j($){return k||!("since"in $)||$.since&&h.gte(I,$.since)}function re($){return R||!("deprecated"in $)||$.deprecated&&h.lt(I,$.deprecated)}function ne($){return P?$:Vr($,ot)}}function D(w,k,R){let P=new Set(w.choices.map(I=>I.value));for(let I of k)if(I.parsers){for(let T of I.parsers)if(!P.has(T)){P.add(T);let _=R.find(re=>re.parsers&&re.parsers[T]),j=I.name;_&&_.name&&(j+=" (plugin: ".concat(_.name,")")),w.choices.push({value:T,description:j})}}}A.exports={getSupportInfo:d}}}),Gi=Oe({"src/utils/is-non-empty-array.js"(m,A){b();function h(C){return Array.isArray(C)&&C.length>0}A.exports=h}}),oo=Oe({"src/utils/text/skip.js"(m,A){b();function h(D){return(w,k,R)=>{let P=R&&R.backwards;if(k===!1)return!1;let{length:I}=w,T=k;for(;T>=0&&T<I;){let _=w.charAt(T);if(D instanceof RegExp){if(!D.test(_))return T}else if(!D.includes(_))return T;P?T--:T++}return T===-1||T===I?T:!1}}var C=h(/\s/),x=h(" "),p=h(",; "),d=h(/[^\n\r]/);A.exports={skipWhitespace:C,skipSpaces:x,skipToLineEnd:p,skipEverythingButNewLine:d}}}),Bo=Oe({"src/utils/text/skip-inline-comment.js"(m,A){b();function h(C,x){if(x===!1)return!1;if(C.charAt(x)==="/"&&C.charAt(x+1)==="*"){for(let p=x+2;p<C.length;++p)if(C.charAt(p)==="*"&&C.charAt(p+1)==="/")return p+2}return x}A.exports=h}}),vs=Oe({"src/utils/text/skip-trailing-comment.js"(m,A){b();var{skipEverythingButNewLine:h}=oo();function C(x,p){return p===!1?!1:x.charAt(p)==="/"&&x.charAt(p+1)==="/"?h(x,p):p}A.exports=C}}),Ma=Oe({"src/utils/text/skip-newline.js"(m,A){b();function h(C,x,p){let d=p&&p.backwards;if(x===!1)return!1;let D=C.charAt(x);if(d){if(C.charAt(x-1)==="\r"&&D===`
|
|
55
|
+
`)return x-2;if(D===`
|
|
56
|
+
`||D==="\r"||D==="\u2028"||D==="\u2029")return x-1}else{if(D==="\r"&&C.charAt(x+1)===`
|
|
57
|
+
`)return x+2;if(D===`
|
|
58
|
+
`||D==="\r"||D==="\u2028"||D==="\u2029")return x+1}return x}A.exports=h}}),ra=Oe({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(m,A){b();var h=Bo(),C=Ma(),x=vs(),{skipSpaces:p}=oo();function d(D,w){let k=null,R=w;for(;R!==k;)k=R,R=p(D,R),R=h(D,R),R=x(D,R),R=C(D,R);return R}A.exports=d}}),jn=Oe({"src/common/util.js"(m,A){b();var{default:h}=(Vo(),yn(Eu)),C=Rn(),{getSupportInfo:x}=fo(),p=Gi(),d=Oa(),{skipWhitespace:D,skipSpaces:w,skipToLineEnd:k,skipEverythingButNewLine:R}=oo(),P=Bo(),I=vs(),T=Ma(),_=ra(),j=Se=>Se[Se.length-2];function re(Se){return(Te,Ge,Qe)=>{let Xe=Qe&&Qe.backwards;if(Ge===!1)return!1;let{length:At}=Te,Fe=Ge;for(;Fe>=0&&Fe<At;){let Ie=Te.charAt(Fe);if(Se instanceof RegExp){if(!Se.test(Ie))return Fe}else if(!Se.includes(Ie))return Fe;Xe?Fe--:Fe++}return Fe===-1||Fe===At?Fe:!1}}function ne(Se,Te){let Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Qe=w(Se,Ge.backwards?Te-1:Te,Ge),Xe=T(Se,Qe,Ge);return Qe!==Xe}function $(Se,Te,Ge){for(let Qe=Te;Qe<Ge;++Qe)if(Se.charAt(Qe)===`
|
|
59
|
+
`)return!0;return!1}function J(Se,Te,Ge){let Qe=Ge(Te)-1;Qe=w(Se,Qe,{backwards:!0}),Qe=T(Se,Qe,{backwards:!0}),Qe=w(Se,Qe,{backwards:!0});let Xe=T(Se,Qe,{backwards:!0});return Qe!==Xe}function ee(Se,Te){let Ge=null,Qe=Te;for(;Qe!==Ge;)Ge=Qe,Qe=k(Se,Qe),Qe=P(Se,Qe),Qe=w(Se,Qe);return Qe=I(Se,Qe),Qe=T(Se,Qe),Qe!==!1&&ne(Se,Qe)}function oe(Se,Te,Ge){return ee(Se,Ge(Te))}function ie(Se,Te,Ge){return _(Se,Ge(Te))}function se(Se,Te,Ge){return Se.charAt(ie(Se,Te,Ge))}function z(Se,Te){let Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return w(Se,Ge.backwards?Te-1:Te,Ge)!==Te}function N(Se,Te){let Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Qe=0;for(let Xe=Ge;Xe<Se.length;++Xe)Se[Xe]===" "?Qe=Qe+Te-Qe%Te:Qe++;return Qe}function O(Se,Te){let Ge=Se.lastIndexOf(`
|
|
60
|
+
`);return Ge===-1?0:N(Se.slice(Ge+1).match(/^[\t ]*/)[0],Te)}function W(Se,Te){let Ge={quote:'"',regex:/"/g,escaped:"""},Qe={quote:"'",regex:/'/g,escaped:"'"},Xe=Te==="'"?Qe:Ge,At=Xe===Qe?Ge:Qe,Fe=Xe;if(Se.includes(Xe.quote)||Se.includes(At.quote)){let Ie=(Se.match(Xe.regex)||[]).length,Dt=(Se.match(At.regex)||[]).length;Fe=Ie>Dt?At:Xe}return Fe}function S(Se,Te){let Ge=Se.slice(1,-1),Qe=Te.parser==="json"||Te.parser==="json5"&&Te.quoteProps==="preserve"&&!Te.singleQuote?'"':Te.__isInHtmlAttribute?"'":W(Ge,Te.singleQuote?"'":'"').quote;return H(Ge,Qe,!(Te.parser==="css"||Te.parser==="less"||Te.parser==="scss"||Te.__embeddedInHtml))}function H(Se,Te,Ge){let Qe=Te==='"'?"'":'"',Xe=/\\(.)|(["'])/gs,At=Se.replace(Xe,(Fe,Ie,Dt)=>Ie===Qe?Ie:Dt===Te?"\\"+Dt:Dt||(Ge&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Ie)?Ie:"\\"+Ie));return Te+At+Te}function L(Se){return Se.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function Y(Se,Te){let Ge=Se.match(new RegExp("(".concat(h(Te),")+"),"g"));return Ge===null?0:Ge.reduce((Qe,Xe)=>Math.max(Qe,Xe.length/Te.length),0)}function X(Se,Te){let Ge=Se.match(new RegExp("(".concat(h(Te),")+"),"g"));if(Ge===null)return 0;let Qe=new Map,Xe=0;for(let At of Ge){let Fe=At.length/Te.length;Qe.set(Fe,!0),Fe>Xe&&(Xe=Fe)}for(let At=1;At<Xe;At++)if(!Qe.get(At))return At;return Xe+1}function K(Se,Te){(Se.comments||(Se.comments=[])).push(Te),Te.printed=!1,Te.nodeDescription=qe(Se)}function ce(Se,Te){Te.leading=!0,Te.trailing=!1,K(Se,Te)}function we(Se,Te,Ge){Te.leading=!1,Te.trailing=!1,Ge&&(Te.marker=Ge),K(Se,Te)}function ye(Se,Te){Te.leading=!1,Te.trailing=!0,K(Se,Te)}function Ne(Se,Te){let{languages:Ge}=x({plugins:Te.plugins}),Qe=Ge.find(Xe=>{let{name:At}=Xe;return At.toLowerCase()===Se})||Ge.find(Xe=>{let{aliases:At}=Xe;return Array.isArray(At)&&At.includes(Se)})||Ge.find(Xe=>{let{extensions:At}=Xe;return Array.isArray(At)&&At.includes(".".concat(Se))});return Qe&&Qe.parsers[0]}function ke(Se){return Se&&Se.type==="front-matter"}function Ee(Se){let Te=new WeakMap;return function(Ge){return Te.has(Ge)||Te.set(Ge,Symbol(Se)),Te.get(Ge)}}function qe(Se){let Te=Se.type||Se.kind||"(unknown type)",Ge=String(Se.name||Se.id&&(typeof Se.id=="object"?Se.id.name:Se.id)||Se.key&&(typeof Se.key=="object"?Se.key.name:Se.key)||Se.value&&(typeof Se.value=="object"?"":String(Se.value))||Se.operator||"");return Ge.length>20&&(Ge=Ge.slice(0,19)+"\u2026"),Te+(Ge?" "+Ge:"")}A.exports={inferParserByLanguage:Ne,getStringWidth:d,getMaxContinuousCount:Y,getMinNotPresentContinuousCount:X,getPenultimate:j,getLast:C,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:_,getNextNonSpaceNonCommentCharacterIndex:ie,getNextNonSpaceNonCommentCharacter:se,skip:re,skipWhitespace:D,skipSpaces:w,skipToLineEnd:k,skipEverythingButNewLine:R,skipInlineComment:P,skipTrailingComment:I,skipNewline:T,isNextLineEmptyAfterIndex:ee,isNextLineEmpty:oe,isPreviousLineEmpty:J,hasNewline:ne,hasNewlineInRange:$,hasSpaces:z,getAlignmentSize:N,getIndentSize:O,getPreferredQuote:W,printString:S,printNumber:L,makeString:H,addLeadingComment:ce,addDanglingComment:we,addTrailingComment:ye,isFrontMatterNode:ke,isNonEmptyArray:p,createGroupIdMapper:Ee}}}),La={};Bi(La,{basename:()=>Do,default:()=>ku,delimiter:()=>za,dirname:()=>ia,extname:()=>Is,isAbsolute:()=>Ls,join:()=>Ra,normalize:()=>Ia,relative:()=>Po,resolve:()=>na,sep:()=>qo});function so(m,A){for(var h=0,C=m.length-1;C>=0;C--){var x=m[C];x==="."?m.splice(C,1):x===".."?(m.splice(C,1),h++):h&&(m.splice(C,1),h--)}if(A)for(;h--;h)m.unshift("..");return m}function na(){for(var m="",A=!1,h=arguments.length-1;h>=-1&&!A;h--){var C=h>=0?arguments[h]:"/";if(typeof C!="string")throw new TypeError("Arguments to path.resolve must be strings");!C||(m=C+"/"+m,A=C.charAt(0)==="/")}return m=so(Rs(m.split("/"),function(x){return!!x}),!A).join("/"),(A?"/":"")+m||"."}function Ia(m){var A=Ls(m),h=Ha(m,-1)==="/";return m=so(Rs(m.split("/"),function(C){return!!C}),!A).join("/"),!m&&!A&&(m="."),m&&h&&(m+="/"),(A?"/":"")+m}function Ls(m){return m.charAt(0)==="/"}function Ra(){var m=Array.prototype.slice.call(arguments,0);return Ia(Rs(m,function(A,h){if(typeof A!="string")throw new TypeError("Arguments to path.join must be strings");return A}).join("/"))}function Po(m,A){m=na(m).substr(1),A=na(A).substr(1);function h(k){for(var R=0;R<k.length&&k[R]==="";R++);for(var P=k.length-1;P>=0&&k[P]==="";P--);return R>P?[]:k.slice(R,P-R+1)}for(var C=h(m.split("/")),x=h(A.split("/")),p=Math.min(C.length,x.length),d=p,D=0;D<p;D++)if(C[D]!==x[D]){d=D;break}for(var w=[],D=d;D<C.length;D++)w.push("..");return w=w.concat(x.slice(d)),w.join("/")}function ia(m){var A=oa(m),h=A[0],C=A[1];return!h&&!C?".":(C&&(C=C.substr(0,C.length-1)),h+C)}function Do(m,A){var h=oa(m)[2];return A&&h.substr(-1*A.length)===A&&(h=h.substr(0,h.length-A.length)),h}function Is(m){return oa(m)[3]}function Rs(m,A){if(m.filter)return m.filter(A);for(var h=[],C=0;C<m.length;C++)A(m[C],C,m)&&h.push(m[C]);return h}var Zo,oa,qo,za,ku,Ha,zs=Tn({"node-modules-polyfills:path"(){b(),Zo=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,oa=function(m){return Zo.exec(m).slice(1)},qo="/",za=":",ku={extname:Is,basename:Do,dirname:ia,sep:qo,delimiter:za,relative:Po,join:Ra,isAbsolute:Ls,normalize:Ia,resolve:na},Ha="ab".substr(-1)==="b"?function(m,A,h){return m.substr(A,h)}:function(m,A,h){return A<0&&(A=m.length+A),m.substr(A,h)}}}),dc=Oe({"node-modules-polyfills-commonjs:path"(m,A){b();var h=(zs(),yn(La));if(h&&h.default){A.exports=h.default;for(let C in h)A.exports[C]=h[C]}else h&&(A.exports=h)}}),Ds=Oe({"src/common/errors.js"(m,A){b();var h=class extends Error{},C=class extends Error{},x=class extends Error{},p=class extends Error{};A.exports={ConfigError:h,DebugError:C,UndefinedParserError:x,ArgExpansionBailout:p}}}),bo={};Bi(bo,{__assign:()=>es,__asyncDelegator:()=>Ua,__asyncGenerator:()=>vc,__asyncValues:()=>Va,__await:()=>xo,__awaiter:()=>Xi,__classPrivateFieldGet:()=>aa,__classPrivateFieldSet:()=>Pu,__createBinding:()=>mc,__decorate:()=>Wa,__exportStar:()=>yc,__extends:()=>hc,__generator:()=>gc,__importDefault:()=>Bu,__importStar:()=>Nu,__makeTemplateObject:()=>bs,__metadata:()=>sa,__param:()=>$a,__read:()=>Ni,__rest:()=>Tu,__spread:()=>_u,__spreadArrays:()=>xl,__values:()=>Oo});function hc(m,A){Yi(m,A);function h(){this.constructor=m}m.prototype=A===null?Object.create(A):(h.prototype=A.prototype,new h)}function Tu(m,A){var h={};for(var C in m)Object.prototype.hasOwnProperty.call(m,C)&&A.indexOf(C)<0&&(h[C]=m[C]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,C=Object.getOwnPropertySymbols(m);x<C.length;x++)A.indexOf(C[x])<0&&Object.prototype.propertyIsEnumerable.call(m,C[x])&&(h[C[x]]=m[C[x]]);return h}function Wa(m,A,h,C){var x=arguments.length,p=x<3?A:C===null?C=Object.getOwnPropertyDescriptor(A,h):C,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(m,A,h,C);else for(var D=m.length-1;D>=0;D--)(d=m[D])&&(p=(x<3?d(p):x>3?d(A,h,p):d(A,h))||p);return x>3&&p&&Object.defineProperty(A,h,p),p}function $a(m,A){return function(h,C){A(h,C,m)}}function sa(m,A){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(m,A)}function Xi(m,A,h,C){function x(p){return p instanceof h?p:new h(function(d){d(p)})}return new(h||(h=Promise))(function(p,d){function D(R){try{k(C.next(R))}catch(P){d(P)}}function w(R){try{k(C.throw(R))}catch(P){d(P)}}function k(R){R.done?p(R.value):x(R.value).then(D,w)}k((C=C.apply(m,A||[])).next())})}function gc(m,A){var h={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]},C,x,p,d;return d={next:D(0),throw:D(1),return:D(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function D(k){return function(R){return w([k,R])}}function w(k){if(C)throw new TypeError("Generator is already executing.");for(;h;)try{if(C=1,x&&(p=k[0]&2?x.return:k[0]?x.throw||((p=x.return)&&p.call(x),0):x.next)&&!(p=p.call(x,k[1])).done)return p;switch(x=0,p&&(k=[k[0]&2,p.value]),k[0]){case 0:case 1:p=k;break;case 4:return h.label++,{value:k[1],done:!1};case 5:h.label++,x=k[1],k=[0];continue;case 7:k=h.ops.pop(),h.trys.pop();continue;default:if(p=h.trys,!(p=p.length>0&&p[p.length-1])&&(k[0]===6||k[0]===2)){h=0;continue}if(k[0]===3&&(!p||k[1]>p[0]&&k[1]<p[3])){h.label=k[1];break}if(k[0]===6&&h.label<p[1]){h.label=p[1],p=k;break}if(p&&h.label<p[2]){h.label=p[2],h.ops.push(k);break}p[2]&&h.ops.pop(),h.trys.pop();continue}k=A.call(m,h)}catch(R){k=[6,R],x=0}finally{C=p=0}if(k[0]&5)throw k[1];return{value:k[0]?k[1]:void 0,done:!0}}}function mc(m,A,h,C){C===void 0&&(C=h),m[C]=A[h]}function yc(m,A){for(var h in m)h!=="default"&&!A.hasOwnProperty(h)&&(A[h]=m[h])}function Oo(m){var A=typeof Symbol=="function"&&Symbol.iterator,h=A&&m[A],C=0;if(h)return h.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&C>=m.length&&(m=void 0),{value:m&&m[C++],done:!m}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ni(m,A){var h=typeof Symbol=="function"&&m[Symbol.iterator];if(!h)return m;var C=h.call(m),x,p=[],d;try{for(;(A===void 0||A-- >0)&&!(x=C.next()).done;)p.push(x.value)}catch(D){d={error:D}}finally{try{x&&!x.done&&(h=C.return)&&h.call(C)}finally{if(d)throw d.error}}return p}function _u(){for(var m=[],A=0;A<arguments.length;A++)m=m.concat(Ni(arguments[A]));return m}function xl(){for(var m=0,A=0,h=arguments.length;A<h;A++)m+=arguments[A].length;for(var C=Array(m),x=0,A=0;A<h;A++)for(var p=arguments[A],d=0,D=p.length;d<D;d++,x++)C[x]=p[d];return C}function xo(m){return this instanceof xo?(this.v=m,this):new xo(m)}function vc(m,A,h){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var C=h.apply(m,A||[]),x,p=[];return x={},d("next"),d("throw"),d("return"),x[Symbol.asyncIterator]=function(){return this},x;function d(I){C[I]&&(x[I]=function(T){return new Promise(function(_,j){p.push([I,T,_,j])>1||D(I,T)})})}function D(I,T){try{w(C[I](T))}catch(_){P(p[0][3],_)}}function w(I){I.value instanceof xo?Promise.resolve(I.value.v).then(k,R):P(p[0][2],I)}function k(I){D("next",I)}function R(I){D("throw",I)}function P(I,T){I(T),p.shift(),p.length&&D(p[0][0],p[0][1])}}function Ua(m){var A,h;return A={},C("next"),C("throw",function(x){throw x}),C("return"),A[Symbol.iterator]=function(){return this},A;function C(x,p){A[x]=m[x]?function(d){return(h=!h)?{value:xo(m[x](d)),done:x==="return"}:p?p(d):d}:p}}function Va(m){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var A=m[Symbol.asyncIterator],h;return A?A.call(m):(m=typeof Oo=="function"?Oo(m):m[Symbol.iterator](),h={},C("next"),C("throw"),C("return"),h[Symbol.asyncIterator]=function(){return this},h);function C(p){h[p]=m[p]&&function(d){return new Promise(function(D,w){d=m[p](d),x(D,w,d.done,d.value)})}}function x(p,d,D,w){Promise.resolve(w).then(function(k){p({value:k,done:D})},d)}}function bs(m,A){return Object.defineProperty?Object.defineProperty(m,"raw",{value:A}):m.raw=A,m}function Nu(m){if(m&&m.__esModule)return m;var A={};if(m!=null)for(var h in m)Object.hasOwnProperty.call(m,h)&&(A[h]=m[h]);return A.default=m,A}function Bu(m){return m&&m.__esModule?m:{default:m}}function aa(m,A){if(!A.has(m))throw new TypeError("attempted to get private field on non-instance");return A.get(m)}function Pu(m,A,h){if(!A.has(m))throw new TypeError("attempted to set private field on non-instance");return A.set(m,h),h}var Yi,es,Ii=Tn({"node_modules/tslib/tslib.es6.js"(){b(),Yi=function(m,A){return Yi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,C){h.__proto__=C}||function(h,C){for(var x in C)C.hasOwnProperty(x)&&(h[x]=C[x])},Yi(m,A)},es=function(){return es=Object.assign||function(m){for(var A,h=1,C=arguments.length;h<C;h++){A=arguments[h];for(var x in A)Object.prototype.hasOwnProperty.call(A,x)&&(m[x]=A[x])}return m},es.apply(this,arguments)}}}),ao=Oe({"node_modules/vnopts/lib/descriptors/api.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0}),m.apiDescriptor={key:A=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(A)?A:JSON.stringify(A),value(A){if(A===null||typeof A!="object")return JSON.stringify(A);if(Array.isArray(A))return"[".concat(A.map(C=>m.apiDescriptor.value(C)).join(", "),"]");let h=Object.keys(A);return h.length===0?"{}":"{ ".concat(h.map(C=>"".concat(m.apiDescriptor.key(C),": ").concat(m.apiDescriptor.value(A[C]))).join(", ")," }")},pair:A=>{let{key:h,value:C}=A;return m.apiDescriptor.value({[h]:C})}}}}),ts=Oe({"node_modules/vnopts/lib/descriptors/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ii(),yn(bo));A.__exportStar(ao(),m)}}),jo=Oe({"scripts/build/shims/chalk.cjs"(m,A){b();var h=C=>C;h.grey=h,h.red=h,h.bold=h,h.yellow=h,h.blue=h,h.default=h,A.exports=h}}),qa=Oe({"node_modules/vnopts/lib/handlers/deprecated/common.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=jo();m.commonDeprecatedHandler=(h,C,x)=>{let{descriptor:p}=x,d=["".concat(A.default.yellow(typeof h=="string"?p.key(h):p.pair(h))," is deprecated")];return C&&d.push("we now treat it as ".concat(A.default.blue(typeof C=="string"?p.key(C):p.pair(C)))),d.join("; ")+"."}}}),Co=Oe({"node_modules/vnopts/lib/handlers/deprecated/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ii(),yn(bo));A.__exportStar(qa(),m)}}),Jo=Oe({"node_modules/vnopts/lib/handlers/invalid/common.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=jo();m.commonInvalidHandler=(h,C,x)=>["Invalid ".concat(A.default.red(x.descriptor.key(h))," value."),"Expected ".concat(A.default.blue(x.schemas[h].expected(x)),","),"but received ".concat(A.default.red(x.descriptor.value(C)),".")].join(" ")}}),Hs=Oe({"node_modules/vnopts/lib/handlers/invalid/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ii(),yn(bo));A.__exportStar(Jo(),m)}}),Dc=Oe({"node_modules/vnopts/node_modules/leven/index.js"(m,A){b();var h=[],C=[];A.exports=function(x,p){if(x===p)return 0;var d=x;x.length>p.length&&(x=p,p=d);var D=x.length,w=p.length;if(D===0)return w;if(w===0)return D;for(;D>0&&x.charCodeAt(~-D)===p.charCodeAt(~-w);)D--,w--;if(D===0)return w;for(var k=0;k<D&&x.charCodeAt(k)===p.charCodeAt(k);)k++;if(D-=k,w-=k,D===0)return w;for(var R,P,I,T,_=0,j=0;_<D;)C[k+_]=x.charCodeAt(k+_),h[_]=++_;for(;j<w;)for(R=p.charCodeAt(k+j),I=j++,P=j,_=0;_<D;_++)T=R===C[k+_]?I:I+1,I=h[_],P=h[_]=I>P?T>P?P+1:T:T>I?I+1:T;return P}}}),Ja=Oe({"node_modules/vnopts/lib/handlers/unknown/leven.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=jo(),h=Dc();m.levenUnknownHandler=(C,x,p)=>{let{descriptor:d,logger:D,schemas:w}=p,k=["Ignored unknown option ".concat(A.default.yellow(d.pair({key:C,value:x})),".")],R=Object.keys(w).sort().find(P=>h(C,P)<3);R&&k.push("Did you mean ".concat(A.default.blue(d.key(R)),"?")),D.warn(k.join(" "))}}}),Ou=Oe({"node_modules/vnopts/lib/handlers/unknown/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ii(),yn(bo));A.__exportStar(Ja(),m)}}),ju=Oe({"node_modules/vnopts/lib/handlers/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ii(),yn(bo));A.__exportStar(Co(),m),A.__exportStar(Hs(),m),A.__exportStar(Ou(),m)}}),Eo=Oe({"node_modules/vnopts/lib/schema.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function h(p,d){let D=new p(d),w=Object.create(D);for(let k of A)k in d&&(w[k]=x(d[k],D,C.prototype[k].length));return w}m.createSchema=h;var C=class{constructor(p){this.name=p.name}static create(p){return h(this,p)}default(p){}expected(p){return"nothing"}validate(p,d){return!1}deprecated(p,d){return!1}forward(p,d){}redirect(p,d){}overlap(p,d,D){return p}preprocess(p,d){return p}postprocess(p,d){return p}};m.Schema=C;function x(p,d,D){return typeof p=="function"?function(){for(var w=arguments.length,k=new Array(w),R=0;R<w;R++)k[R]=arguments[R];return p(...k.slice(0,D-1),d,...k.slice(D-1))}:()=>p}}}),Mo=Oe({"node_modules/vnopts/lib/schemas/alias.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=Eo(),h=class extends A.Schema{constructor(C){super(C),this._sourceName=C.sourceName}expected(C){return C.schemas[this._sourceName].expected(C)}validate(C,x){return x.schemas[this._sourceName].validate(C,x)}redirect(C,x){return this._sourceName}};m.AliasSchema=h}}),ho=Oe({"node_modules/vnopts/lib/schemas/any.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=Eo(),h=class extends A.Schema{expected(){return"anything"}validate(){return!0}};m.AnySchema=h}}),Mu=Oe({"node_modules/vnopts/lib/schemas/array.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ii(),yn(bo)),h=Eo(),C=class extends h.Schema{constructor(p){var{valueSchema:d,name:D=d.name}=p,w=A.__rest(p,["valueSchema","name"]);super(Object.assign({},w,{name:D})),this._valueSchema=d}expected(p){return"an array of ".concat(this._valueSchema.expected(p))}validate(p,d){if(!Array.isArray(p))return!1;let D=[];for(let w of p){let k=d.normalizeValidateResult(this._valueSchema.validate(w,d),w);k!==!0&&D.push(k.value)}return D.length===0?!0:{value:D}}deprecated(p,d){let D=[];for(let w of p){let k=d.normalizeDeprecatedResult(this._valueSchema.deprecated(w,d),w);k!==!1&&D.push(...k.map(R=>{let{value:P}=R;return{value:[P]}}))}return D}forward(p,d){let D=[];for(let w of p){let k=d.normalizeForwardResult(this._valueSchema.forward(w,d),w);D.push(...k.map(x))}return D}redirect(p,d){let D=[],w=[];for(let k of p){let R=d.normalizeRedirectResult(this._valueSchema.redirect(k,d),k);"remain"in R&&D.push(R.remain),w.push(...R.redirect.map(x))}return D.length===0?{redirect:w}:{redirect:w,remain:D}}overlap(p,d){return p.concat(d)}};m.ArraySchema=C;function x(p){let{from:d,to:D}=p;return{from:[d],to:D}}}}),Lu=Oe({"node_modules/vnopts/lib/schemas/boolean.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=Eo(),h=class extends A.Schema{expected(){return"true or false"}validate(C){return typeof C=="boolean"}};m.BooleanSchema=h}}),Iu=Oe({"node_modules/vnopts/lib/utils.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});function A(T,_){let j=Object.create(null);for(let re of T){let ne=re[_];if(j[ne])throw new Error("Duplicate ".concat(_," ").concat(JSON.stringify(ne)));j[ne]=re}return j}m.recordFromArray=A;function h(T,_){let j=new Map;for(let re of T){let ne=re[_];if(j.has(ne))throw new Error("Duplicate ".concat(_," ").concat(JSON.stringify(ne)));j.set(ne,re)}return j}m.mapFromArray=h;function C(){let T=Object.create(null);return _=>{let j=JSON.stringify(_);return T[j]?!0:(T[j]=!0,!1)}}m.createAutoChecklist=C;function x(T,_){let j=[],re=[];for(let ne of T)_(ne)?j.push(ne):re.push(ne);return[j,re]}m.partition=x;function p(T){return T===Math.floor(T)}m.isInt=p;function d(T,_){if(T===_)return 0;let j=typeof T,re=typeof _,ne=["undefined","object","boolean","number","string"];return j!==re?ne.indexOf(j)-ne.indexOf(re):j!=="string"?Number(T)-Number(_):T.localeCompare(_)}m.comparePrimitive=d;function D(T){return T===void 0?{}:T}m.normalizeDefaultResult=D;function w(T,_){return T===!0?!0:T===!1?{value:_}:T}m.normalizeValidateResult=w;function k(T,_){let j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return T===!1?!1:T===!0?j?!0:[{value:_}]:"value"in T?[T]:T.length===0?!1:T}m.normalizeDeprecatedResult=k;function R(T,_){return typeof T=="string"||"key"in T?{from:_,to:T}:"from"in T?{from:T.from,to:T.to}:{from:_,to:T.to}}m.normalizeTransferResult=R;function P(T,_){return T===void 0?[]:Array.isArray(T)?T.map(j=>R(j,_)):[R(T,_)]}m.normalizeForwardResult=P;function I(T,_){let j=P(typeof T=="object"&&"redirect"in T?T.redirect:T,_);return j.length===0?{remain:_,redirect:j}:typeof T=="object"&&"remain"in T?{remain:T.remain,redirect:j}:{redirect:j}}m.normalizeRedirectResult=I}}),bc=Oe({"node_modules/vnopts/lib/schemas/choice.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=Eo(),h=Iu(),C=class extends A.Schema{constructor(x){super(x),this._choices=h.mapFromArray(x.choices.map(p=>p&&typeof p=="object"?p:{value:p}),"value")}expected(x){let{descriptor:p}=x,d=Array.from(this._choices.keys()).map(k=>this._choices.get(k)).filter(k=>!k.deprecated).map(k=>k.value).sort(h.comparePrimitive).map(p.value),D=d.slice(0,-2),w=d.slice(-2);return D.concat(w.join(" or ")).join(", ")}validate(x){return this._choices.has(x)}deprecated(x){let p=this._choices.get(x);return p&&p.deprecated?{value:x}:!1}forward(x){let p=this._choices.get(x);return p?p.forward:void 0}redirect(x){let p=this._choices.get(x);return p?p.redirect:void 0}};m.ChoiceSchema=C}}),Cl=Oe({"node_modules/vnopts/lib/schemas/number.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=Eo(),h=class extends A.Schema{expected(){return"a number"}validate(C,x){return typeof C=="number"}};m.NumberSchema=h}}),El=Oe({"node_modules/vnopts/lib/schemas/integer.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=Iu(),h=Cl(),C=class extends h.NumberSchema{expected(){return"an integer"}validate(x,p){return p.normalizeValidateResult(super.validate(x,p),x)===!0&&A.isInt(x)}};m.IntegerSchema=C}}),Ru=Oe({"node_modules/vnopts/lib/schemas/string.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=Eo(),h=class extends A.Schema{expected(){return"a string"}validate(C){return typeof C=="string"}};m.StringSchema=h}}),Ws=Oe({"node_modules/vnopts/lib/schemas/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ii(),yn(bo));A.__exportStar(Mo(),m),A.__exportStar(ho(),m),A.__exportStar(Mu(),m),A.__exportStar(Lu(),m),A.__exportStar(bc(),m),A.__exportStar(El(),m),A.__exportStar(Cl(),m),A.__exportStar(Ru(),m)}}),zu=Oe({"node_modules/vnopts/lib/defaults.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=ao(),h=qa(),C=Hs(),x=Ja();m.defaultDescriptor=A.apiDescriptor,m.defaultUnknownHandler=x.levenUnknownHandler,m.defaultInvalidHandler=C.commonInvalidHandler,m.defaultDeprecatedHandler=h.commonDeprecatedHandler}}),wl=Oe({"node_modules/vnopts/lib/normalize.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=zu(),h=Iu();m.normalize=(x,p,d)=>new C(p,d).normalize(x);var C=class{constructor(x,p){let{logger:d=console,descriptor:D=A.defaultDescriptor,unknown:w=A.defaultUnknownHandler,invalid:k=A.defaultInvalidHandler,deprecated:R=A.defaultDeprecatedHandler}=p||{};this._utils={descriptor:D,logger:d||{warn:()=>{}},schemas:h.recordFromArray(x,"name"),normalizeDefaultResult:h.normalizeDefaultResult,normalizeDeprecatedResult:h.normalizeDeprecatedResult,normalizeForwardResult:h.normalizeForwardResult,normalizeRedirectResult:h.normalizeRedirectResult,normalizeValidateResult:h.normalizeValidateResult},this._unknownHandler=w,this._invalidHandler=k,this._deprecatedHandler=R,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=h.createAutoChecklist()}normalize(x){let p={},d=[x],D=()=>{for(;d.length!==0;){let w=d.shift(),k=this._applyNormalization(w,p);d.push(...k)}};D();for(let w of Object.keys(this._utils.schemas)){let k=this._utils.schemas[w];if(!(w in p)){let R=h.normalizeDefaultResult(k.default(this._utils));"value"in R&&d.push({[w]:R.value})}}D();for(let w of Object.keys(this._utils.schemas)){let k=this._utils.schemas[w];w in p&&(p[w]=k.postprocess(p[w],this._utils))}return p}_applyNormalization(x,p){let d=[],[D,w]=h.partition(Object.keys(x),k=>k in this._utils.schemas);for(let k of D){let R=this._utils.schemas[k],P=R.preprocess(x[k],this._utils),I=h.normalizeValidateResult(R.validate(P,this._utils),P);if(I!==!0){let{value:re}=I,ne=this._invalidHandler(k,re,this._utils);throw typeof ne=="string"?new Error(ne):ne}let T=re=>{let{from:ne,to:$}=re;d.push(typeof $=="string"?{[$]:ne}:{[$.key]:$.value})},_=re=>{let{value:ne,redirectTo:$}=re,J=h.normalizeDeprecatedResult(R.deprecated(ne,this._utils),P,!0);if(J!==!1)if(J===!0)this._hasDeprecationWarned(k)||this._utils.logger.warn(this._deprecatedHandler(k,$,this._utils));else for(let{value:ee}of J){let oe={key:k,value:ee};if(!this._hasDeprecationWarned(oe)){let ie=typeof $=="string"?{key:$,value:ee}:$;this._utils.logger.warn(this._deprecatedHandler(oe,ie,this._utils))}}};h.normalizeForwardResult(R.forward(P,this._utils),P).forEach(T);let j=h.normalizeRedirectResult(R.redirect(P,this._utils),P);if(j.redirect.forEach(T),"remain"in j){let re=j.remain;p[k]=k in p?R.overlap(p[k],re,this._utils):re,_({value:re})}for(let{from:re,to:ne}of j.redirect)_({value:re,redirectTo:ne})}for(let k of w){let R=x[k],P=this._unknownHandler(k,R,this._utils);if(P)for(let I of Object.keys(P)){let T={[I]:P[I]};I in this._utils.schemas?d.push(T):Object.assign(p,T)}}return d}};m.Normalizer=C}}),Hu=Oe({"node_modules/vnopts/lib/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ii(),yn(bo));A.__exportStar(ts(),m),A.__exportStar(ju(),m),A.__exportStar(Ws(),m),A.__exportStar(wl(),m),A.__exportStar(Eo(),m)}}),Ga=Oe({"src/main/options-normalizer.js"(m,A){b();var h=Hu(),C=Rn(),x={key:I=>I.length===1?"-".concat(I):"--".concat(I),value:I=>h.apiDescriptor.value(I),pair:I=>{let{key:T,value:_}=I;return _===!1?"--no-".concat(T):_===!0?x.key(T):_===""?"".concat(x.key(T)," without an argument"):"".concat(x.key(T),"=").concat(_)}},p=I=>{let{colorsModule:T,levenshteinDistance:_}=I;return class extends h.ChoiceSchema{constructor(j){let{name:re,flags:ne}=j;super({name:re,choices:ne}),this._flags=[...ne].sort()}preprocess(j,re){if(typeof j=="string"&&j.length>0&&!this._flags.includes(j)){let ne=this._flags.find($=>_($,j)<3);if(ne)return re.logger.warn(["Unknown flag ".concat(T.yellow(re.descriptor.value(j)),","),"did you mean ".concat(T.blue(re.descriptor.value(ne)),"?")].join(" ")),ne}return j}expected(){return"a flag"}}},d;function D(I,T){let{logger:_=!1,isCLI:j=!1,passThrough:re=!1,colorsModule:ne=null,levenshteinDistance:$=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},J=re?Array.isArray(re)?(N,O)=>re.includes(N)?{[N]:O}:void 0:(N,O)=>({[N]:O}):(N,O,W)=>{let S=W.schemas,H=Vr(S,xt);return h.levenUnknownHandler(N,O,Object.assign(Object.assign({},W),{},{schemas:H}))},ee=j?x:h.apiDescriptor,oe=w(T,{isCLI:j,colorsModule:ne,levenshteinDistance:$}),ie=new h.Normalizer(oe,{logger:_,unknown:J,descriptor:ee}),se=_!==!1;se&&d&&(ie._hasDeprecationWarned=d);let z=ie.normalize(I);return se&&(d=ie._hasDeprecationWarned),j&&z["plugin-search"]===!1&&(z["plugin-search-dir"]=!1),z}function w(I,T){let{isCLI:_,colorsModule:j,levenshteinDistance:re}=T,ne=[];_&&ne.push(h.AnySchema.create({name:"_"}));for(let $ of I)ne.push(k($,{isCLI:_,optionInfos:I,colorsModule:j,levenshteinDistance:re})),$.alias&&_&&ne.push(h.AliasSchema.create({name:$.alias,sourceName:$.name}));return ne}function k(I,T){let{isCLI:_,optionInfos:j,colorsModule:re,levenshteinDistance:ne}=T,{name:$}=I;if($==="plugin-search-dir"||$==="pluginSearchDirs")return h.AnySchema.create({name:$,preprocess(ie){return ie===!1||(ie=Array.isArray(ie)?ie:[ie]),ie},validate(ie){return ie===!1?!0:ie.every(se=>typeof se=="string")},expected(){return"false or paths to plugin search dir"}});let J={name:$},ee,oe={};switch(I.type){case"int":ee=h.IntegerSchema,_&&(J.preprocess=Number);break;case"string":ee=h.StringSchema;break;case"choice":ee=h.ChoiceSchema,J.choices=I.choices.map(ie=>typeof ie=="object"&&ie.redirect?Object.assign(Object.assign({},ie),{},{redirect:{to:{key:I.name,value:ie.redirect}}}):ie);break;case"boolean":ee=h.BooleanSchema;break;case"flag":ee=p({colorsModule:re,levenshteinDistance:ne}),J.flags=j.flatMap(ie=>[ie.alias,ie.description&&ie.name,ie.oppositeDescription&&"no-".concat(ie.name)].filter(Boolean));break;case"path":ee=h.StringSchema;break;default:throw new Error("Unexpected type ".concat(I.type))}if(I.exception?J.validate=(ie,se,z)=>I.exception(ie)||se.validate(ie,z):J.validate=(ie,se,z)=>ie===void 0||se.validate(ie,z),I.redirect&&(oe.redirect=ie=>ie?{to:{key:I.redirect.option,value:I.redirect.value}}:void 0),I.deprecated&&(oe.deprecated=!0),_&&!I.array){let ie=J.preprocess||(se=>se);J.preprocess=(se,z,N)=>z.preprocess(ie(Array.isArray(se)?C(se):se),N)}return I.array?h.ArraySchema.create(Object.assign(Object.assign(Object.assign({},_?{preprocess:ie=>Array.isArray(ie)?ie:[ie]}:{}),oe),{},{valueSchema:ee.create(J)})):ee.create(Object.assign(Object.assign({},J),oe))}function R(I,T,_){return D(I,T,_)}function P(I,T,_){return D(I,T,Object.assign({isCLI:!0},_))}A.exports={normalizeApiOptions:R,normalizeCliOptions:P}}}),Ci=Oe({"src/language-js/loc.js"(m,A){b();var h=Gi();function C(w,k){let{ignoreDecorators:R}=k||{};if(!R){let P=w.declaration&&w.declaration.decorators||w.decorators;if(h(P))return C(P[0])}return w.range?w.range[0]:w.start}function x(w){return w.range?w.range[1]:w.end}function p(w,k){let R=C(w);return Number.isInteger(R)&&R===C(k)}function d(w,k){let R=x(w);return Number.isInteger(R)&&R===x(k)}function D(w,k){return p(w,k)&&d(w,k)}A.exports={locStart:C,locEnd:x,hasSameLocStart:p,hasSameLoc:D}}}),Ri=Oe({"src/main/load-parser.js"(m,A){b(),A.exports=()=>{}}}),uo=Oe({"scripts/build/shims/babel-highlight.cjs"(m,A){b();var h=jo(),C={shouldHighlight:()=>!1,getChalk:()=>h};A.exports=C}}),Wu=Oe({"node_modules/@babel/code-frame/lib/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0}),m.codeFrameColumns=d,m.default=D;var A=uo(),h=!1;function C(w){return{gutter:w.grey,marker:w.red.bold,message:w.red.bold}}var x=/\r\n|[\n\r\u2028\u2029]/;function p(w,k,R){let P=Object.assign({column:0,line:-1},w.start),I=Object.assign({},P,w.end),{linesAbove:T=2,linesBelow:_=3}=R||{},j=P.line,re=P.column,ne=I.line,$=I.column,J=Math.max(j-(T+1),0),ee=Math.min(k.length,ne+_);j===-1&&(J=0),ne===-1&&(ee=k.length);let oe=ne-j,ie={};if(oe)for(let se=0;se<=oe;se++){let z=se+j;if(!re)ie[z]=!0;else if(se===0){let N=k[z-1].length;ie[z]=[re,N-re+1]}else if(se===oe)ie[z]=[0,$];else{let N=k[z-se].length;ie[z]=[0,N]}}else re===$?re?ie[j]=[re,0]:ie[j]=!0:ie[j]=[re,$-re];return{start:J,end:ee,markerLines:ie}}function d(w,k){let R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},P=(R.highlightCode||R.forceColor)&&(0,A.shouldHighlight)(R),I=(0,A.getChalk)(R),T=C(I),_=(ie,se)=>P?ie(se):se,j=w.split(x),{start:re,end:ne,markerLines:$}=p(k,j,R),J=k.start&&typeof k.start.column=="number",ee=String(ne).length,oe=(P?(0,A.default)(w,R):w).split(x,ne).slice(re,ne).map((ie,se)=>{let z=re+1+se,N=" ".concat(z).slice(-ee),O=" ".concat(N," |"),W=$[z],S=!$[z+1];if(W){let H="";if(Array.isArray(W)){let L=ie.slice(0,Math.max(W[0]-1,0)).replace(/[^\t]/g," "),Y=W[1]||1;H=[`
|
|
61
|
+
`,_(T.gutter,O.replace(/\d/g," "))," ",L,_(T.marker,"^").repeat(Y)].join(""),S&&R.message&&(H+=" "+_(T.message,R.message))}return[_(T.marker,">"),_(T.gutter,O),ie.length>0?" ".concat(ie):"",H].join("")}else return" ".concat(_(T.gutter,O)).concat(ie.length>0?" ".concat(ie):"")}).join(`
|
|
62
|
+
`);return R.message&&!J&&(oe="".concat(" ".repeat(ee+1)).concat(R.message,`
|
|
63
|
+
`).concat(oe)),P?I.reset(oe):oe}function D(w,k,R){let P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!h){h=!0;let I="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(xi.emitWarning)xi.emitWarning(I,"DeprecationWarning");else{let T=new Error(I);T.name="DeprecationWarning",console.warn(new Error(I))}}return R=Math.max(R,0),d(w,{start:{column:R,line:k}},P)}}}),$s=Oe({"src/main/parser.js"(m,A){b();var{ConfigError:h}=Ds(),C=Ci();Ri();var{locStart:x,locEnd:p}=C,d=Object.getOwnPropertyNames,D=Object.getOwnPropertyDescriptor;function w(P){let I={};for(let T of P.plugins)if(T.parsers)for(let _ of d(T.parsers))Object.defineProperty(I,_,D(T.parsers,_));return I}function k(P){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w(P);if(typeof P.parser=="function")return{parse:P.parser,astFormat:"estree",locStart:x,locEnd:p};if(typeof P.parser=="string"){if(Object.prototype.hasOwnProperty.call(I,P.parser))return I[P.parser];throw new h(`Couldn't resolve parser "`.concat(P.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}function R(P,I){let T=w(I),_=Object.defineProperties({},Object.fromEntries(Object.keys(T).map(re=>[re,{enumerable:!0,get(){return T[re].parse}}]))),j=k(I,T);try{return j.preprocess&&(P=j.preprocess(P,I)),{text:P,ast:j.parse(P,_,I)}}catch(re){let{loc:ne}=re;if(ne){let{codeFrameColumns:$}=Wu();throw re.codeFrame=$(P,ne,{highlightCode:!0}),re.message+=`
|
|
64
|
+
`+re.codeFrame,re}throw re.stack}}A.exports={parse:R,resolveParser:k}}}),rs=Oe({"src/main/options.js"(m,A){b();var h=dc(),{UndefinedParserError:C}=Ds(),{getSupportInfo:x}=fo(),p=Ga(),{resolveParser:d}=$s(),D={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function w(P){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},T=Object.assign({},P),_=x({plugins:P.plugins,showUnreleased:!0,showDeprecated:!0}).options,j=Object.assign(Object.assign({},D),Object.fromEntries(_.filter(ee=>ee.default!==void 0).map(ee=>[ee.name,ee.default])));if(!T.parser){if(!T.filepath)(I.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."),T.parser="babel";else if(T.parser=R(T.filepath,T.plugins),!T.parser)throw new C("No parser could be inferred for file: ".concat(T.filepath))}let re=d(p.normalizeApiOptions(T,[_.find(ee=>ee.name==="parser")],{passThrough:!0,logger:!1}));T.astFormat=re.astFormat,T.locEnd=re.locEnd,T.locStart=re.locStart;let ne=k(T);T.printer=ne.printers[T.astFormat];let $=Object.fromEntries(_.filter(ee=>ee.pluginDefaults&&ee.pluginDefaults[ne.name]!==void 0).map(ee=>[ee.name,ee.pluginDefaults[ne.name]])),J=Object.assign(Object.assign({},j),$);for(let[ee,oe]of Object.entries(J))(T[ee]===null||T[ee]===void 0)&&(T[ee]=oe);return T.parser==="json"&&(T.trailingComma="none"),p.normalizeApiOptions(T,_,Object.assign({passThrough:Object.keys(D)},I))}function k(P){let{astFormat:I}=P;if(!I)throw new Error("getPlugin() requires astFormat to be set");let T=P.plugins.find(_=>_.printers&&_.printers[I]);if(!T)throw new Error(`Couldn't find plugin for AST format "`.concat(I,'"'));return T}function R(P,I){let T=h.basename(P).toLowerCase(),_=x({plugins:I}).languages.filter(j=>j.since!==null).find(j=>j.extensions&&j.extensions.some(re=>T.endsWith(re))||j.filenames&&j.filenames.some(re=>re.toLowerCase()===T));return _&&_.parsers[0]}A.exports={normalize:w,hiddenDefaults:D,inferParser:R}}}),$u=Oe({"src/main/massage-ast.js"(m,A){b();function h(C,x,p){if(Array.isArray(C))return C.map(k=>h(k,x,p)).filter(Boolean);if(!C||typeof C!="object")return C;let d=x.printer.massageAstNode,D;d&&d.ignoredProperties?D=d.ignoredProperties:D=new Set;let w={};for(let[k,R]of Object.entries(C))!D.has(k)&&typeof R!="function"&&(w[k]=h(R,x,C));if(d){let k=d(C,w,p);if(k===null)return;if(k)return k}return w}A.exports=h}}),xs=Oe({"scripts/build/shims/assert.cjs"(m,A){b();var h=()=>{};h.ok=h,h.strictEqual=h,A.exports=h}}),gi=Oe({"src/main/comments.js"(m,A){b();var h=xs(),{builders:{line:C,hardline:x,breakParent:p,indent:d,lineSuffix:D,join:w,cursor:k}}=bn(),{hasNewline:R,skipNewline:P,skipSpaces:I,isPreviousLineEmpty:T,addLeadingComment:_,addDanglingComment:j,addTrailingComment:re}=jn(),ne=new WeakMap;function $(ce,we,ye){if(!ce)return;let{printer:Ne,locStart:ke,locEnd:Ee}=we;if(ye){if(Ne.canAttachComment&&Ne.canAttachComment(ce)){let Se;for(Se=ye.length-1;Se>=0&&!(ke(ye[Se])<=ke(ce)&&Ee(ye[Se])<=Ee(ce));--Se);ye.splice(Se+1,0,ce);return}}else if(ne.has(ce))return ne.get(ce);let qe=Ne.getCommentChildNodes&&Ne.getCommentChildNodes(ce,we)||typeof ce=="object"&&Object.entries(ce).filter(Se=>{let[Te]=Se;return Te!=="enclosingNode"&&Te!=="precedingNode"&&Te!=="followingNode"&&Te!=="tokens"&&Te!=="comments"&&Te!=="parent"}).map(Se=>{let[,Te]=Se;return Te});if(qe){ye||(ye=[],ne.set(ce,ye));for(let Se of qe)$(Se,we,ye);return ye}}function J(ce,we,ye,Ne){let{locStart:ke,locEnd:Ee}=ye,qe=ke(we),Se=Ee(we),Te=$(ce,ye),Ge,Qe,Xe=0,At=Te.length;for(;Xe<At;){let Fe=Xe+At>>1,Ie=Te[Fe],Dt=ke(Ie),_t=Ee(Ie);if(Dt<=qe&&Se<=_t)return J(Ie,we,ye,Ie);if(_t<=qe){Ge=Ie,Xe=Fe+1;continue}if(Se<=Dt){Qe=Ie,At=Fe;continue}throw new Error("Comment location overlaps with node location")}if(Ne&&Ne.type==="TemplateLiteral"){let{quasis:Fe}=Ne,Ie=W(Fe,we,ye);Ge&&W(Fe,Ge,ye)!==Ie&&(Ge=null),Qe&&W(Fe,Qe,ye)!==Ie&&(Qe=null)}return{enclosingNode:Ne,precedingNode:Ge,followingNode:Qe}}var ee=()=>!1;function oe(ce,we,ye,Ne){if(!Array.isArray(ce))return;let ke=[],{locStart:Ee,locEnd:qe,printer:{handleComments:Se={}}}=Ne,{avoidAstMutation:Te,ownLine:Ge=ee,endOfLine:Qe=ee,remaining:Xe=ee}=Se,At=ce.map((Fe,Ie)=>Object.assign(Object.assign({},J(we,Fe,Ne)),{},{comment:Fe,text:ye,options:Ne,ast:we,isLastComment:ce.length-1===Ie}));for(let[Fe,Ie]of At.entries()){let{comment:Dt,precedingNode:_t,enclosingNode:mt,followingNode:Le,text:Re,options:He,ast:Et,isLastComment:gt}=Ie;if(He.parser==="json"||He.parser==="json5"||He.parser==="__js_expression"||He.parser==="__vue_expression"||He.parser==="__vue_ts_expression"){if(Ee(Dt)-Ee(Et)<=0){_(Et,Dt);continue}if(qe(Dt)-qe(Et)>=0){re(Et,Dt);continue}}let ur;if(Te?ur=[Ie]:(Dt.enclosingNode=mt,Dt.precedingNode=_t,Dt.followingNode=Le,ur=[Dt,Re,He,Et,gt]),se(Re,He,At,Fe))Dt.placement="ownLine",Ge(...ur)||(Le?_(Le,Dt):_t?re(_t,Dt):j(mt||Et,Dt));else if(z(Re,He,At,Fe))Dt.placement="endOfLine",Qe(...ur)||(_t?re(_t,Dt):Le?_(Le,Dt):j(mt||Et,Dt));else if(Dt.placement="remaining",!Xe(...ur))if(_t&&Le){let Ur=ke.length;Ur>0&&ke[Ur-1].followingNode!==Le&&N(ke,Re,He),ke.push(Ie)}else _t?re(_t,Dt):Le?_(Le,Dt):j(mt||Et,Dt)}if(N(ke,ye,Ne),!Te)for(let Fe of ce)delete Fe.precedingNode,delete Fe.enclosingNode,delete Fe.followingNode}var ie=ce=>!/[\S\n\u2028\u2029]/.test(ce);function se(ce,we,ye,Ne){let{comment:ke,precedingNode:Ee}=ye[Ne],{locStart:qe,locEnd:Se}=we,Te=qe(ke);if(Ee)for(let Ge=Ne-1;Ge>=0;Ge--){let{comment:Qe,precedingNode:Xe}=ye[Ge];if(Xe!==Ee||!ie(ce.slice(Se(Qe),Te)))break;Te=qe(Qe)}return R(ce,Te,{backwards:!0})}function z(ce,we,ye,Ne){let{comment:ke,followingNode:Ee}=ye[Ne],{locStart:qe,locEnd:Se}=we,Te=Se(ke);if(Ee)for(let Ge=Ne+1;Ge<ye.length;Ge++){let{comment:Qe,followingNode:Xe}=ye[Ge];if(Xe!==Ee||!ie(ce.slice(Te,qe(Qe))))break;Te=Se(Qe)}return R(ce,Te)}function N(ce,we,ye){let Ne=ce.length;if(Ne===0)return;let{precedingNode:ke,followingNode:Ee,enclosingNode:qe}=ce[0],Se=ye.printer.getGapRegex&&ye.printer.getGapRegex(qe)||/^[\s(]*$/,Te=ye.locStart(Ee),Ge;for(Ge=Ne;Ge>0;--Ge){let{comment:Qe,precedingNode:Xe,followingNode:At}=ce[Ge-1];h.strictEqual(Xe,ke),h.strictEqual(At,Ee);let Fe=we.slice(ye.locEnd(Qe),Te);if(Se.test(Fe))Te=ye.locStart(Qe);else break}for(let[Qe,{comment:Xe}]of ce.entries())Qe<Ge?re(ke,Xe):_(Ee,Xe);for(let Qe of[ke,Ee])Qe.comments&&Qe.comments.length>1&&Qe.comments.sort((Xe,At)=>ye.locStart(Xe)-ye.locStart(At));ce.length=0}function O(ce,we){let ye=ce.getValue();return ye.printed=!0,we.printer.printComment(ce,we)}function W(ce,we,ye){let Ne=ye.locStart(we)-1;for(let ke=1;ke<ce.length;++ke)if(Ne<ye.locStart(ce[ke]))return ke-1;return 0}function S(ce,we){let ye=ce.getValue(),Ne=[O(ce,we)],{printer:ke,originalText:Ee,locStart:qe,locEnd:Se}=we;if(ke.isBlockComment&&ke.isBlockComment(ye)){let Ge=R(Ee,Se(ye))?R(Ee,qe(ye),{backwards:!0})?x:C:" ";Ne.push(Ge)}else Ne.push(x);let Te=P(Ee,I(Ee,Se(ye)));return Te!==!1&&R(Ee,Te)&&Ne.push(x),Ne}function H(ce,we){let ye=ce.getValue(),Ne=O(ce,we),{printer:ke,originalText:Ee,locStart:qe}=we,Se=ke.isBlockComment&&ke.isBlockComment(ye);if(R(Ee,qe(ye),{backwards:!0})){let Ge=T(Ee,ye,qe);return D([x,Ge?x:"",Ne])}let Te=[" ",Ne];return Se||(Te=[D(Te),p]),Te}function L(ce,we,ye,Ne){let ke=[],Ee=ce.getValue();return!Ee||!Ee.comments||(ce.each(()=>{let qe=ce.getValue();!qe.leading&&!qe.trailing&&(!Ne||Ne(qe))&&ke.push(O(ce,we))},"comments"),ke.length===0)?"":ye?w(x,ke):d([x,w(x,ke)])}function Y(ce,we,ye){let Ne=ce.getValue();if(!Ne)return{};let ke=Ne.comments||[];ye&&(ke=ke.filter(Te=>!ye.has(Te)));let Ee=Ne===we.cursorNode;if(ke.length===0){let Te=Ee?k:"";return{leading:Te,trailing:Te}}let qe=[],Se=[];return ce.each(()=>{let Te=ce.getValue();if(ye&&ye.has(Te))return;let{leading:Ge,trailing:Qe}=Te;Ge?qe.push(S(ce,we)):Qe&&Se.push(H(ce,we))},"comments"),Ee&&(qe.unshift(k),Se.push(k)),{leading:qe,trailing:Se}}function X(ce,we,ye,Ne){let{leading:ke,trailing:Ee}=Y(ce,ye,Ne);return!ke&&!Ee?we:[ke,we,Ee]}function K(ce){if(ce)for(let we of ce){if(!we.printed)throw new Error('Comment "'+we.value.trim()+'" was not printed. Please report this error!');delete we.printed}}A.exports={attach:oe,printComments:X,printCommentsSeparately:Y,printDanglingComments:L,getSortedChildNodes:$,ensureAllCommentsPrinted:K}}}),Al=Oe({"src/common/ast-path.js"(m,A){b();var h=Rn();function C(d,D){let w=x(d.stack,D);return w===-1?null:d.stack[w]}function x(d,D){for(let w=d.length-1;w>=0;w-=2){let k=d[w];if(k&&!Array.isArray(k)&&--D<0)return w}return-1}var p=class{constructor(d){this.stack=[d]}getName(){let{stack:d}=this,{length:D}=d;return D>1?d[D-2]:null}getValue(){return h(this.stack)}getNode(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return C(this,d)}getParentNode(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return C(this,d+1)}call(d){let{stack:D}=this,{length:w}=D,k=h(D);for(var R=arguments.length,P=new Array(R>1?R-1:0),I=1;I<R;I++)P[I-1]=arguments[I];for(let _ of P)k=k[_],D.push(_,k);let T=d(this);return D.length=w,T}callParent(d){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,w=x(this.stack,D+1),k=this.stack.splice(w+1),R=d(this);return this.stack.push(...k),R}each(d){let{stack:D}=this,{length:w}=D,k=h(D);for(var R=arguments.length,P=new Array(R>1?R-1:0),I=1;I<R;I++)P[I-1]=arguments[I];for(let T of P)k=k[T],D.push(T,k);for(let T=0;T<k.length;++T)D.push(T,k[T]),d(this,T,k),D.length-=2;D.length=w}map(d){let D=[];for(var w=arguments.length,k=new Array(w>1?w-1:0),R=1;R<w;R++)k[R-1]=arguments[R];return this.each((P,I,T)=>{D[I]=d(P,I,T)},...k),D}try(d){let{stack:D}=this,w=[...D];try{return d()}finally{D.length=0,D.push(...w)}}match(){let d=this.stack.length-1,D=null,w=this.stack[d--];for(var k=arguments.length,R=new Array(k),P=0;P<k;P++)R[P]=arguments[P];for(let I of R){if(w===void 0)return!1;let T=null;if(typeof D=="number"&&(T=D,D=this.stack[d--],w=this.stack[d--]),I&&!I(w,D,T))return!1;D=this.stack[d--],w=this.stack[d--]}return!0}findAncestor(d){let D=this.stack.length-1,w=null,k=this.stack[D--];for(;k;){let R=null;if(typeof w=="number"&&(R=w,w=this.stack[D--],k=this.stack[D--]),w!==null&&d(k,w,R))return k;w=this.stack[D--],k=this.stack[D--]}}};A.exports=p}}),Sl=Oe({"src/main/multiparser.js"(m,A){b();var{utils:{stripTrailingHardline:h}}=bn(),{normalize:C}=rs(),x=gi();function p(D,w,k,R){if(k.printer.embed&&k.embeddedLanguageFormatting==="auto")return k.printer.embed(D,w,(P,I,T)=>d(P,I,k,R,T),k)}function d(D,w,k,R){let{stripTrailingHardline:P=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},I=C(Object.assign(Object.assign(Object.assign({},k),w),{},{parentParser:k.parser,originalText:D}),{passThrough:!0}),T=$s().parse(D,I),{ast:_}=T;D=T.text;let j=_.comments;delete _.comments,x.attach(j,_,D,I),I[Symbol.for("comments")]=j||[],I[Symbol.for("tokens")]=_.tokens||[];let re=R(_,I);return x.ensureAllCommentsPrinted(j),P?typeof re=="string"?re.replace(/(?:\r?\n)*$/,""):h(re):re}A.exports={printSubtree:p}}}),Fl=Oe({"src/main/ast-to-doc.js"(m,A){b();var h=Al(),{builders:{hardline:C,addAlignmentToDoc:x},utils:{propagateBreaks:p}}=bn(),{printComments:d}=gi(),D=Sl();function w(P,I){let T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:_}=I;_.preprocess&&(P=_.preprocess(P,I));let j=new Map,re=new h(P),ne=$();return T>0&&(ne=x([C,ne],T,I.tabWidth)),p(ne),ne;function $(ee,oe){return ee===void 0||ee===re?J(oe):Array.isArray(ee)?re.call(()=>J(oe),...ee):re.call(()=>J(oe),ee)}function J(ee){let oe=re.getValue(),ie=oe&&typeof oe=="object"&&ee===void 0;if(ie&&j.has(oe))return j.get(oe);let se=R(re,I,$,ee);return ie&&j.set(oe,se),se}}function k(P,I){let{originalText:T,[Symbol.for("comments")]:_,locStart:j,locEnd:re}=I,ne=j(P),$=re(P),J=new Set;for(let ee of _)j(ee)>=ne&&re(ee)<=$&&(ee.printed=!0,J.add(ee));return{doc:T.slice(ne,$),printedComments:J}}function R(P,I,T,_){let j=P.getValue(),{printer:re}=I,ne,$;if(re.hasPrettierIgnore&&re.hasPrettierIgnore(P))({doc:ne,printedComments:$}=k(j,I));else{if(j)try{ne=D.printSubtree(P,T,I,w)}catch(J){if(globalThis.PRETTIER_DEBUG)throw J}ne||(ne=re.print(P,I,T,_))}return(!re.willPrintOwnComments||!re.willPrintOwnComments(P,I))&&(ne=d(P,ne,I,$)),ne}A.exports=w}}),ns=Oe({"src/main/range-util.js"(m,A){b();var h=xs(),C=gi(),x=_=>{let{parser:j}=_;return j==="json"||j==="json5"||j==="json-stringify"};function p(_,j){let re=[_.node,..._.parentNodes],ne=new Set([j.node,...j.parentNodes]);return re.find($=>R.has($.type)&&ne.has($))}function d(_){let j=_.length-1;for(;;){let re=_[j];if(re&&(re.type==="Program"||re.type==="File"))j--;else break}return _.slice(0,j+1)}function D(_,j,re){let{locStart:ne,locEnd:$}=re,J=_.node,ee=j.node;if(J===ee)return{startNode:J,endNode:ee};let oe=ne(_.node);for(let se of d(j.parentNodes))if(ne(se)>=oe)ee=se;else break;let ie=$(j.node);for(let se of d(_.parentNodes))if($(se)<=ie)J=se;else break;return{startNode:J,endNode:ee}}function w(_,j,re,ne){let $=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],J=arguments.length>5?arguments[5]:void 0,{locStart:ee,locEnd:oe}=re,ie=ee(_),se=oe(_);if(!(j>se||j<ie||J==="rangeEnd"&&j===ie||J==="rangeStart"&&j===se)){for(let z of C.getSortedChildNodes(_,re)){let N=w(z,j,re,ne,[_,...$],J);if(N)return N}if(!ne||ne(_,$[0]))return{node:_,parentNodes:$}}}function k(_,j){return j!=="DeclareExportDeclaration"&&_!=="TypeParameterDeclaration"&&(_==="Directive"||_==="TypeAlias"||_==="TSExportAssignment"||_.startsWith("Declare")||_.startsWith("TSDeclare")||_.endsWith("Statement")||_.endsWith("Declaration"))}var R=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),P=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function I(_,j,re){if(!j)return!1;switch(_.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return k(j.type,re&&re.type);case"json":case"json5":case"json-stringify":return R.has(j.type);case"graphql":return P.has(j.kind);case"vue":return j.tag!=="root"}return!1}function T(_,j,re){let{rangeStart:ne,rangeEnd:$,locStart:J,locEnd:ee}=j;h.ok($>ne);let oe=_.slice(ne,$).search(/\S/),ie=oe===-1;if(!ie)for(ne+=oe;$>ne&&!/\S/.test(_[$-1]);--$);let se=w(re,ne,j,(W,S)=>I(j,W,S),[],"rangeStart"),z=ie?se:w(re,$,j,W=>I(j,W),[],"rangeEnd");if(!se||!z)return{rangeStart:0,rangeEnd:0};let N,O;if(x(j)){let W=p(se,z);N=W,O=W}else({startNode:N,endNode:O}=D(se,z,j));return{rangeStart:Math.min(J(N),J(O)),rangeEnd:Math.max(ee(N),ee(O))}}A.exports={calculateRange:T,findNodeAtOffset:w}}}),Cs=Oe({"src/main/core.js"(m,A){b();var{diffArrays:h}=br(),{printer:{printDocToString:C},debug:{printDocToDebug:x}}=bn(),{getAlignmentSize:p}=jn(),{guessEndOfLine:d,convertEndOfLineToChars:D,countEndOfLineChars:w,normalizeEndOfLine:k}=$n(),R=rs().normalize,P=$u(),I=gi(),T=$s(),_=Fl(),j=ns(),re="\uFEFF",ne=Symbol("cursor");function $(O,W,S){let H=W.comments;return H&&(delete W.comments,I.attach(H,W,O,S)),S[Symbol.for("comments")]=H||[],S[Symbol.for("tokens")]=W.tokens||[],S.originalText=O,H}function J(O,W){let S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!O||O.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:H,text:L}=T.parse(O,W);if(W.cursorOffset>=0){let ce=j.findNodeAtOffset(H,W.cursorOffset,W);ce&&ce.node&&(W.cursorNode=ce.node)}let Y=$(L,H,W),X=_(H,W,S),K=C(X,W);if(I.ensureAllCommentsPrinted(Y),S>0){let ce=K.formatted.trim();K.cursorNodeStart!==void 0&&(K.cursorNodeStart-=K.formatted.indexOf(ce)),K.formatted=ce+D(W.endOfLine)}if(W.cursorOffset>=0){let ce,we,ye,Ne,ke;if(W.cursorNode&&K.cursorNodeText?(ce=W.locStart(W.cursorNode),we=L.slice(ce,W.locEnd(W.cursorNode)),ye=W.cursorOffset-ce,Ne=K.cursorNodeStart,ke=K.cursorNodeText):(ce=0,we=L,ye=W.cursorOffset,Ne=0,ke=K.formatted),we===ke)return{formatted:K.formatted,cursorOffset:Ne+ye,comments:Y};let Ee=[...we];Ee.splice(ye,0,ne);let qe=[...ke],Se=h(Ee,qe),Te=Ne;for(let Ge of Se)if(Ge.removed){if(Ge.value.includes(ne))break}else Te+=Ge.count;return{formatted:K.formatted,cursorOffset:Te,comments:Y}}return{formatted:K.formatted,cursorOffset:-1,comments:Y}}function ee(O,W){let{ast:S,text:H}=T.parse(O,W),{rangeStart:L,rangeEnd:Y}=j.calculateRange(H,W,S),X=H.slice(L,Y),K=Math.min(L,H.lastIndexOf(`
|
|
65
|
+
`,L)+1),ce=H.slice(K,L).match(/^\s*/)[0],we=p(ce,W.tabWidth),ye=J(X,Object.assign(Object.assign({},W),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:W.cursorOffset>L&&W.cursorOffset<=Y?W.cursorOffset-L:-1,endOfLine:"lf"}),we),Ne=ye.formatted.trimEnd(),{cursorOffset:ke}=W;ke>Y?ke+=Ne.length-X.length:ye.cursorOffset>=0&&(ke=ye.cursorOffset+L);let Ee=H.slice(0,L)+Ne+H.slice(Y);if(W.endOfLine!=="lf"){let qe=D(W.endOfLine);ke>=0&&qe===`\r
|
|
66
|
+
`&&(ke+=w(Ee.slice(0,ke),`
|
|
67
|
+
`)),Ee=Ee.replace(/\n/g,qe)}return{formatted:Ee,cursorOffset:ke,comments:ye.comments}}function oe(O,W,S){return typeof W!="number"||Number.isNaN(W)||W<0||W>O.length?S:W}function ie(O,W){let{cursorOffset:S,rangeStart:H,rangeEnd:L}=W;return S=oe(O,S,-1),H=oe(O,H,0),L=oe(O,L,O.length),Object.assign(Object.assign({},W),{},{cursorOffset:S,rangeStart:H,rangeEnd:L})}function se(O,W){let{cursorOffset:S,rangeStart:H,rangeEnd:L,endOfLine:Y}=ie(O,W),X=O.charAt(0)===re;if(X&&(O=O.slice(1),S--,H--,L--),Y==="auto"&&(Y=d(O)),O.includes("\r")){let K=ce=>w(O.slice(0,Math.max(ce,0)),`\r
|
|
68
|
+
`);S-=K(S),H-=K(H),L-=K(L),O=k(O)}return{hasBOM:X,text:O,options:ie(O,Object.assign(Object.assign({},W),{},{cursorOffset:S,rangeStart:H,rangeEnd:L,endOfLine:Y}))}}function z(O,W){let S=T.resolveParser(W);return!S.hasPragma||S.hasPragma(O)}function N(O,W){let{hasBOM:S,text:H,options:L}=se(O,R(W));if(L.rangeStart>=L.rangeEnd&&H!==""||L.requirePragma&&!z(H,L))return{formatted:O,cursorOffset:W.cursorOffset,comments:[]};let Y;return L.rangeStart>0||L.rangeEnd<H.length?Y=ee(H,L):(!L.requirePragma&&L.insertPragma&&L.printer.insertPragma&&!z(H,L)&&(H=L.printer.insertPragma(H)),Y=J(H,L)),S&&(Y.formatted=re+Y.formatted,Y.cursorOffset>=0&&Y.cursorOffset++),Y}A.exports={formatWithCursor:N,parse(O,W,S){let{text:H,options:L}=se(O,R(W)),Y=T.parse(H,L);return S&&(Y.ast=P(Y.ast,L)),Y},formatAST(O,W){W=R(W);let S=_(O,W);return C(S,W)},formatDoc(O,W){return N(x(O),Object.assign(Object.assign({},W),{},{parser:"__js_expression"})).formatted},printToDoc(O,W){W=R(W);let{ast:S,text:H}=T.parse(O,W);return $(H,S,W),_(S,W)},printDocToString(O,W){return C(O,R(W))}}}}),Es=Oe({"src/common/util-shared.js"(m,A){b();var{getMaxContinuousCount:h,getStringWidth:C,getAlignmentSize:x,getIndentSize:p,skip:d,skipWhitespace:D,skipSpaces:w,skipNewline:k,skipToLineEnd:R,skipEverythingButNewLine:P,skipInlineComment:I,skipTrailingComment:T,hasNewline:_,hasNewlineInRange:j,hasSpaces:re,isNextLineEmpty:ne,isNextLineEmptyAfterIndex:$,isPreviousLineEmpty:J,getNextNonSpaceNonCommentCharacterIndex:ee,makeString:oe,addLeadingComment:ie,addDanglingComment:se,addTrailingComment:z}=jn();A.exports={getMaxContinuousCount:h,getStringWidth:C,getAlignmentSize:x,getIndentSize:p,skip:d,skipWhitespace:D,skipSpaces:w,skipNewline:k,skipToLineEnd:R,skipEverythingButNewLine:P,skipInlineComment:I,skipTrailingComment:T,hasNewline:_,hasNewlineInRange:j,hasSpaces:re,isNextLineEmpty:ne,isNextLineEmptyAfterIndex:$,isPreviousLineEmpty:J,getNextNonSpaceNonCommentCharacterIndex:ee,makeString:oe,addLeadingComment:ie,addDanglingComment:se,addTrailingComment:z}}}),Lo=Oe({"src/utils/create-language.js"(m,A){b(),A.exports=function(h,C){let{languageId:x}=h,p=Vr(h,Ot);return Object.assign(Object.assign({linguistLanguageId:x},p),C(h))}}}),Uu=Oe({"node_modules/esutils/lib/ast.js"(m,A){b(),function(){function h(w){if(w==null)return!1;switch(w.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 C(w){if(w==null)return!1;switch(w.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function x(w){if(w==null)return!1;switch(w.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 p(w){return x(w)||w!=null&&w.type==="FunctionDeclaration"}function d(w){switch(w.type){case"IfStatement":return w.alternate!=null?w.alternate:w.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return w.body}return null}function D(w){var k;if(w.type!=="IfStatement"||w.alternate==null)return!1;k=w.consequent;do{if(k.type==="IfStatement"&&k.alternate==null)return!0;k=d(k)}while(k);return!1}A.exports={isExpression:h,isStatement:x,isIterationStatement:C,isSourceElement:p,isProblematicIfStatement:D,trailingStatement:d}}()}}),Vu=Oe({"node_modules/esutils/lib/code.js"(m,A){b(),function(){var h,C,x,p,d,D;C={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]/},h={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 w($){return 48<=$&&$<=57}function k($){return 48<=$&&$<=57||97<=$&&$<=102||65<=$&&$<=70}function R($){return $>=48&&$<=55}x=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function P($){return $===32||$===9||$===11||$===12||$===160||$>=5760&&x.indexOf($)>=0}function I($){return $===10||$===13||$===8232||$===8233}function T($){if($<=65535)return String.fromCharCode($);var J=String.fromCharCode(Math.floor(($-65536)/1024)+55296),ee=String.fromCharCode(($-65536)%1024+56320);return J+ee}for(p=new Array(128),D=0;D<128;++D)p[D]=D>=97&&D<=122||D>=65&&D<=90||D===36||D===95;for(d=new Array(128),D=0;D<128;++D)d[D]=D>=97&&D<=122||D>=65&&D<=90||D>=48&&D<=57||D===36||D===95;function _($){return $<128?p[$]:C.NonAsciiIdentifierStart.test(T($))}function j($){return $<128?d[$]:C.NonAsciiIdentifierPart.test(T($))}function re($){return $<128?p[$]:h.NonAsciiIdentifierStart.test(T($))}function ne($){return $<128?d[$]:h.NonAsciiIdentifierPart.test(T($))}A.exports={isDecimalDigit:w,isHexDigit:k,isOctalDigit:R,isWhiteSpace:P,isLineTerminator:I,isIdentifierStartES5:_,isIdentifierPartES5:j,isIdentifierStartES6:re,isIdentifierPartES6:ne}}()}}),qu=Oe({"node_modules/esutils/lib/keyword.js"(m,A){b(),function(){var h=Vu();function C(_){switch(_){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function x(_,j){return!j&&_==="yield"?!1:p(_,j)}function p(_,j){if(j&&C(_))return!0;switch(_.length){case 2:return _==="if"||_==="in"||_==="do";case 3:return _==="var"||_==="for"||_==="new"||_==="try";case 4:return _==="this"||_==="else"||_==="case"||_==="void"||_==="with"||_==="enum";case 5:return _==="while"||_==="break"||_==="catch"||_==="throw"||_==="const"||_==="yield"||_==="class"||_==="super";case 6:return _==="return"||_==="typeof"||_==="delete"||_==="switch"||_==="export"||_==="import";case 7:return _==="default"||_==="finally"||_==="extends";case 8:return _==="function"||_==="continue"||_==="debugger";case 10:return _==="instanceof";default:return!1}}function d(_,j){return _==="null"||_==="true"||_==="false"||x(_,j)}function D(_,j){return _==="null"||_==="true"||_==="false"||p(_,j)}function w(_){return _==="eval"||_==="arguments"}function k(_){var j,re,ne;if(_.length===0||(ne=_.charCodeAt(0),!h.isIdentifierStartES5(ne)))return!1;for(j=1,re=_.length;j<re;++j)if(ne=_.charCodeAt(j),!h.isIdentifierPartES5(ne))return!1;return!0}function R(_,j){return(_-55296)*1024+(j-56320)+65536}function P(_){var j,re,ne,$,J;if(_.length===0)return!1;for(J=h.isIdentifierStartES6,j=0,re=_.length;j<re;++j){if(ne=_.charCodeAt(j),55296<=ne&&ne<=56319){if(++j,j>=re||($=_.charCodeAt(j),!(56320<=$&&$<=57343)))return!1;ne=R(ne,$)}if(!J(ne))return!1;J=h.isIdentifierPartES6}return!0}function I(_,j){return k(_)&&!d(_,j)}function T(_,j){return P(_)&&!D(_,j)}A.exports={isKeywordES5:x,isKeywordES6:p,isReservedWordES5:d,isReservedWordES6:D,isRestrictedWord:w,isIdentifierNameES5:k,isIdentifierNameES6:P,isIdentifierES5:I,isIdentifierES6:T}}()}}),ws=Oe({"node_modules/esutils/lib/utils.js"(m){b(),function(){m.ast=Uu(),m.code=Vu(),m.keyword=qu()}()}}),go=Oe({"src/language-js/utils/is-block-comment.js"(m,A){b();var h=new Set(["Block","CommentBlock","MultiLine"]),C=x=>h.has(x==null?void 0:x.type);A.exports=C}}),qi=Oe({"src/language-js/utils/is-node-matches.js"(m,A){b();function h(x,p){let d=p.split(".");for(let D=d.length-1;D>=0;D--){let w=d[D];if(D===0)return x.type==="Identifier"&&x.name===w;if(x.type!=="MemberExpression"||x.optional||x.computed||x.property.type!=="Identifier"||x.property.name!==w)return!1;x=x.object}}function C(x,p){return p.some(d=>h(x,d))}A.exports=C}}),qn=Oe({"src/language-js/utils/index.js"(m,A){b();var h=ws().keyword.isIdentifierNameES5,{getLast:C,hasNewline:x,skipWhitespace:p,isNonEmptyArray:d,isNextLineEmptyAfterIndex:D,getStringWidth:w}=jn(),{locStart:k,locEnd:R,hasSameLocStart:P}=Ci(),I=go(),T=qi(),_="(?:(?=.)\\s)",j=new RegExp("^".concat(_,"*:")),re=new RegExp("^".concat(_,"*::"));function ne(De){var yt,xr;return((yt=De.extra)===null||yt===void 0?void 0:yt.parenthesized)&&I((xr=De.trailingComments)===null||xr===void 0?void 0:xr[0])&&j.test(De.trailingComments[0].value)}function $(De){let yt=De==null?void 0:De[0];return I(yt)&&re.test(yt.value)}function J(De,yt){if(!De||typeof De!="object")return!1;if(Array.isArray(De))return De.some(pn=>J(pn,yt));let xr=yt(De);return typeof xr=="boolean"?xr:Object.values(De).some(pn=>J(pn,yt))}function ee(De){return De.type==="AssignmentExpression"||De.type==="BinaryExpression"||De.type==="LogicalExpression"||De.type==="NGPipeExpression"||De.type==="ConditionalExpression"||Dt(De)||_t(De)||De.type==="SequenceExpression"||De.type==="TaggedTemplateExpression"||De.type==="BindExpression"||De.type==="UpdateExpression"&&!De.prefix||De.type==="TSAsExpression"||De.type==="TSNonNullExpression"}function oe(De){var yt,xr,pn,hn,Wn,Xn;return De.expressions?De.expressions[0]:(yt=(xr=(pn=(hn=(Wn=(Xn=De.left)!==null&&Xn!==void 0?Xn:De.test)!==null&&Wn!==void 0?Wn:De.callee)!==null&&hn!==void 0?hn:De.object)!==null&&pn!==void 0?pn:De.tag)!==null&&xr!==void 0?xr:De.argument)!==null&&yt!==void 0?yt:De.expression}function ie(De,yt){if(yt.expressions)return["expressions",0];if(yt.left)return["left"];if(yt.test)return["test"];if(yt.object)return["object"];if(yt.callee)return["callee"];if(yt.tag)return["tag"];if(yt.argument)return["argument"];if(yt.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function se(De){return De=new Set(De),yt=>De.has(yt==null?void 0:yt.type)}var z=se(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),N=se(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function O(De){let yt=De.getParentNode();return De.getName()==="declaration"&&N(yt)?yt:null}var W=se(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function S(De){return De.type==="NumericLiteral"||De.type==="Literal"&&typeof De.value=="number"}function H(De){return De.type==="UnaryExpression"&&(De.operator==="+"||De.operator==="-")&&S(De.argument)}function L(De){return De.type==="StringLiteral"||De.type==="Literal"&&typeof De.value=="string"}var Y=se(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),X=se(["FunctionExpression","ArrowFunctionExpression"]);function K(De){return De.type==="FunctionExpression"||De.type==="ArrowFunctionExpression"&&De.body.type==="BlockStatement"}function ce(De){return Dt(De)&&De.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(De.callee.name)}var we=se(["JSXElement","JSXFragment"]);function ye(De,yt){if(De.parentParser!=="markdown"&&De.parentParser!=="mdx")return!1;let xr=yt.getNode();if(!xr.expression||!we(xr.expression))return!1;let pn=yt.getParentNode();return pn.type==="Program"&&pn.body.length===1}function Ne(De){return De.kind==="get"||De.kind==="set"}function ke(De){return Ne(De)||P(De,De.value)}function Ee(De){return(De.type==="ObjectTypeProperty"||De.type==="ObjectTypeInternalSlot")&&De.value.type==="FunctionTypeAnnotation"&&!De.static&&!ke(De)}function qe(De){return(De.type==="TypeAnnotation"||De.type==="TSTypeAnnotation")&&De.typeAnnotation.type==="FunctionTypeAnnotation"&&!De.static&&!P(De,De.typeAnnotation)}var Se=se(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function Te(De){return _t(De)||De.type==="BindExpression"&&Boolean(De.object)}var Ge=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 Qe(De){return De?!!((De.type==="GenericTypeAnnotation"||De.type==="TSTypeReference")&&!De.typeParameters||Ge.has(De.type)):!1}function Xe(De){let yt=/^(?:before|after)(?:Each|All)$/;return De.callee.type==="Identifier"&&yt.test(De.callee.name)&&De.arguments.length===1}var At=["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 Fe(De){return T(De,At)}function Ie(De,yt){if(De.type!=="CallExpression")return!1;if(De.arguments.length===1){if(ce(De)&&yt&&Ie(yt))return X(De.arguments[0]);if(Xe(De))return ce(De.arguments[0])}else if((De.arguments.length===2||De.arguments.length===3)&&(De.arguments[0].type==="TemplateLiteral"||L(De.arguments[0]))&&Fe(De.callee))return De.arguments[2]&&!S(De.arguments[2])?!1:(De.arguments.length===2?X(De.arguments[1]):K(De.arguments[1])&&he(De.arguments[1]).length<=1)||ce(De.arguments[1]);return!1}var Dt=se(["CallExpression","OptionalCallExpression"]),_t=se(["MemberExpression","OptionalMemberExpression"]);function mt(De){let yt="expressions";De.type==="TSTemplateLiteralType"&&(yt="types");let xr=De[yt];return xr.length===0?!1:xr.every(pn=>{if(Ve(pn))return!1;if(pn.type==="Identifier"||pn.type==="ThisExpression")return!0;if(_t(pn)){let hn=pn;for(;_t(hn);)if(hn.property.type!=="Identifier"&&hn.property.type!=="Literal"&&hn.property.type!=="StringLiteral"&&hn.property.type!=="NumericLiteral"||(hn=hn.object,Ve(hn)))return!1;return hn.type==="Identifier"||hn.type==="ThisExpression"}return!1})}function Le(De,yt){return De==="+"||De==="-"?De+yt:yt}function Re(De,yt){let xr=k(yt),pn=p(De,R(yt));return pn!==!1&&De.slice(xr,xr+2)==="/*"&&De.slice(pn,pn+2)==="*/"}function He(De,yt){return we(yt)?er(yt):Ve(yt,It.Leading,xr=>x(De,R(xr)))}function Et(De,yt){return yt.parser!=="json"&&L(De.key)&&rr(De.key).slice(1,-1)===De.key.value&&(h(De.key.value)&&!(yt.parser==="babel-ts"&&De.type==="ClassProperty"||yt.parser==="typescript"&&De.type==="PropertyDefinition")||gt(De.key.value)&&String(Number(De.key.value))===De.key.value&&(yt.parser==="babel"||yt.parser==="acorn"||yt.parser==="espree"||yt.parser==="meriyah"||yt.parser==="__babel_estree"))}function gt(De){return/^(?:\d+|\d+\.\d+)$/.test(De)}function ur(De,yt){let xr=/^[fx]?(?:describe|it|test)$/;return yt.type==="TaggedTemplateExpression"&&yt.quasi===De&&yt.tag.type==="MemberExpression"&&yt.tag.property.type==="Identifier"&&yt.tag.property.name==="each"&&(yt.tag.object.type==="Identifier"&&xr.test(yt.tag.object.name)||yt.tag.object.type==="MemberExpression"&&yt.tag.object.property.type==="Identifier"&&(yt.tag.object.property.name==="only"||yt.tag.object.property.name==="skip")&&yt.tag.object.object.type==="Identifier"&&xr.test(yt.tag.object.object.name))}function Ur(De){return De.quasis.some(yt=>yt.value.raw.includes(`
|
|
69
|
+
`))}function Yr(De,yt){return(De.type==="TemplateLiteral"&&Ur(De)||De.type==="TaggedTemplateExpression"&&Ur(De.quasi))&&!x(yt,k(De),{backwards:!0})}function Ft(De){if(!Ve(De))return!1;let yt=C(wr(De,It.Dangling));return yt&&!I(yt)}function St(De){if(De.length<=1)return!1;let yt=0;for(let xr of De)if(X(xr)){if(yt+=1,yt>1)return!0}else if(Dt(xr)){for(let pn of xr.arguments)if(X(pn))return!0}return!1}function Mt(De){let yt=De.getValue(),xr=De.getParentNode();return Dt(yt)&&Dt(xr)&&xr.callee===yt&&yt.arguments.length>xr.arguments.length&&xr.arguments.length>0}function tt(De,yt){if(yt>=2)return!1;let xr=hn=>tt(hn,yt+1),pn=De.type==="Literal"&&"regex"in De&&De.regex.pattern||De.type==="RegExpLiteral"&&De.pattern;return pn&&w(pn)>5?!1:De.type==="Literal"||De.type==="BigIntLiteral"||De.type==="DecimalLiteral"||De.type==="BooleanLiteral"||De.type==="NullLiteral"||De.type==="NumericLiteral"||De.type==="RegExpLiteral"||De.type==="StringLiteral"||De.type==="Identifier"||De.type==="ThisExpression"||De.type==="Super"||De.type==="PrivateName"||De.type==="PrivateIdentifier"||De.type==="ArgumentPlaceholder"||De.type==="Import"?!0:De.type==="TemplateLiteral"?De.quasis.every(hn=>!hn.value.raw.includes(`
|
|
70
|
+
`))&&De.expressions.every(xr):De.type==="ObjectExpression"?De.properties.every(hn=>!hn.computed&&(hn.shorthand||hn.value&&xr(hn.value))):De.type==="ArrayExpression"?De.elements.every(hn=>hn===null||xr(hn)):on(De)?(De.type==="ImportExpression"||tt(De.callee,yt))&&Ct(De).every(xr):_t(De)?tt(De.object,yt)&&tt(De.property,yt):De.type==="UnaryExpression"&&(De.operator==="!"||De.operator==="-")?tt(De.argument,yt):De.type==="TSNonNullExpression"?tt(De.expression,yt):!1}function rr(De){var yt,xr;return(yt=(xr=De.extra)===null||xr===void 0?void 0:xr.raw)!==null&&yt!==void 0?yt:De.raw}function $e(De){return De}function Kt(De){return De.filepath&&/\.tsx$/i.test(De.filepath)}function qt(De){let yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return De.trailingComma==="es5"&&yt==="es5"||De.trailingComma==="all"&&(yt==="all"||yt==="es5")}function e(De,yt){switch(De=y(De),De.type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return yt;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(De.object,yt);case"TaggedTemplateExpression":return De.tag.type==="FunctionExpression"?!1:e(De.tag,yt);case"CallExpression":case"OptionalCallExpression":return De.callee.type==="FunctionExpression"?!1:e(De.callee,yt);case"ConditionalExpression":return e(De.test,yt);case"UpdateExpression":return!De.prefix&&e(De.argument,yt);case"BindExpression":return De.object&&e(De.object,yt);case"SequenceExpression":return e(De.expressions[0],yt);case"TSAsExpression":case"TSNonNullExpression":return e(De.expression,yt);default:return!1}}var t={"==":!0,"!=":!0,"===":!0,"!==":!0},o={"*":!0,"/":!0,"%":!0},i={">>":!0,">>>":!0,"<<":!0};function n(De,yt){return!(c(yt)!==c(De)||De==="**"||t[De]&&t[yt]||yt==="%"&&o[De]||De==="%"&&o[yt]||yt!==De&&o[yt]&&o[De]||i[De]&&i[yt])}var u=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((De,yt)=>De.map(xr=>[xr,yt])));function c(De){return u.get(De)}function y(De){for(;De.left;)De=De.left;return De}function B(De){return Boolean(i[De])||De==="|"||De==="^"||De==="&"}function M(De){var yt;if(De.rest)return!0;let xr=he(De);return((yt=C(xr))===null||yt===void 0?void 0:yt.type)==="RestElement"}var ve=new WeakMap;function he(De){if(ve.has(De))return ve.get(De);let yt=[];return De.this&&yt.push(De.this),Array.isArray(De.parameters)?yt.push(...De.parameters):Array.isArray(De.params)&&yt.push(...De.params),De.rest&&yt.push(De.rest),ve.set(De,yt),yt}function Ze(De,yt){let xr=De.getValue(),pn=0,hn=Wn=>yt(Wn,pn++);xr.this&&De.call(hn,"this"),Array.isArray(xr.parameters)?De.each(hn,"parameters"):Array.isArray(xr.params)&&De.each(hn,"params"),xr.rest&&De.call(hn,"rest")}var Me=new WeakMap;function Ct(De){if(Me.has(De))return Me.get(De);let yt=De.arguments;return De.type==="ImportExpression"&&(yt=[De.source],De.attributes&&yt.push(De.attributes)),Me.set(De,yt),yt}function lt(De,yt){let xr=De.getValue();xr.type==="ImportExpression"?(De.call(pn=>yt(pn,0),"source"),xr.attributes&&De.call(pn=>yt(pn,1),"attributes")):De.each(yt,"arguments")}function Bt(De){return De.value.trim()==="prettier-ignore"&&!De.unignore}function er(De){return De&&(De.prettierIgnore||Ve(De,It.PrettierIgnore))}function wt(De){let yt=De.getValue();return er(yt)}var It={Leading:1<<1,Trailing:1<<2,Dangling:1<<3,Block:1<<4,Line:1<<5,PrettierIgnore:1<<6,First:1<<7,Last:1<<8},ir=(De,yt)=>{if(typeof De=="function"&&(yt=De,De=0),De||yt)return(xr,pn,hn)=>!(De&It.Leading&&!xr.leading||De&It.Trailing&&!xr.trailing||De&It.Dangling&&(xr.leading||xr.trailing)||De&It.Block&&!I(xr)||De&It.Line&&!z(xr)||De&It.First&&pn!==0||De&It.Last&&pn!==hn.length-1||De&It.PrettierIgnore&&!Bt(xr)||yt&&!yt(xr))};function Ve(De,yt,xr){if(!d(De==null?void 0:De.comments))return!1;let pn=ir(yt,xr);return pn?De.comments.some(pn):!0}function wr(De,yt,xr){if(!Array.isArray(De==null?void 0:De.comments))return[];let pn=ir(yt,xr);return pn?De.comments.filter(pn):De.comments}var Pr=(De,yt)=>{let{originalText:xr}=yt;return D(xr,R(De))};function on(De){return Dt(De)||De.type==="NewExpression"||De.type==="ImportExpression"}function ti(De){return De&&(De.type==="ObjectProperty"||De.type==="Property"&&!De.method&&De.kind==="init")}function Hn(De){return Boolean(De.__isUsingHackPipeline)}var Ai=Symbol("ifWithoutBlockAndSameLineComment");A.exports={getFunctionParameters:he,iterateFunctionParametersPath:Ze,getCallArguments:Ct,iterateCallArgumentsPath:lt,hasRestParameter:M,getLeftSide:oe,getLeftSidePathName:ie,getParentExportDeclaration:O,getTypeScriptMappedTypeModifier:Le,hasFlowAnnotationComment:$,hasFlowShorthandAnnotationComment:ne,hasLeadingOwnLineComment:He,hasNakedLeftSide:ee,hasNode:J,hasIgnoreComment:wt,hasNodeIgnoreComment:er,identity:$e,isBinaryish:Se,isCallLikeExpression:on,isEnabledHackPipeline:Hn,isLineComment:z,isPrettierIgnoreComment:Bt,isCallExpression:Dt,isMemberExpression:_t,isExportDeclaration:N,isFlowAnnotationComment:Re,isFunctionCompositionArgs:St,isFunctionNotation:ke,isFunctionOrArrowExpression:X,isGetterOrSetter:Ne,isJestEachTemplateLiteral:ur,isJsxNode:we,isLiteral:W,isLongCurriedCallExpression:Mt,isSimpleCallArgument:tt,isMemberish:Te,isNumericLiteral:S,isSignedNumericLiteral:H,isObjectProperty:ti,isObjectType:Y,isObjectTypePropertyAFunction:Ee,isSimpleType:Qe,isSimpleNumber:gt,isSimpleTemplateLiteral:mt,isStringLiteral:L,isStringPropSafeToUnquote:Et,isTemplateOnItsOwnLine:Yr,isTestCall:Ie,isTheOnlyJsxElementInMarkdown:ye,isTSXFile:Kt,isTypeAnnotationAFunction:qe,isNextLineEmpty:Pr,needsHardlineAfterDanglingComment:Ft,rawText:rr,shouldPrintComma:qt,isBitwiseOperator:B,shouldFlatten:n,startsWithNoLookaheadToken:e,getPrecedence:c,hasComment:Ve,getComments:wr,CommentCheckFlags:It,markerForIfWithoutBlockAndSameLineComment:Ai}}}),lo=Oe({"src/language-js/print/template-literal.js"(m,A){b();var h=Rn(),{getStringWidth:C,getIndentSize:x}=jn(),{builders:{join:p,hardline:d,softline:D,group:w,indent:k,align:R,lineSuffixBoundary:P,addAlignmentToDoc:I},printer:{printDocToString:T},utils:{mapDoc:_}}=bn(),{isBinaryish:j,isJestEachTemplateLiteral:re,isSimpleTemplateLiteral:ne,hasComment:$,isMemberExpression:J}=qn();function ee(O,W,S){let H=O.getValue();if(H.type==="TemplateLiteral"&&re(H,O.getParentNode())){let ce=oe(O,S,W);if(ce)return ce}let L="expressions";H.type==="TSTemplateLiteralType"&&(L="types");let Y=[],X=O.map(W,L),K=ne(H);return K&&(X=X.map(ce=>T(ce,Object.assign(Object.assign({},S),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),Y.push(P,"`"),O.each(ce=>{let we=ce.getName();if(Y.push(W()),we<X.length){let{tabWidth:ye}=S,Ne=ce.getValue(),ke=x(Ne.value.raw,ye),Ee=X[we];if(!K){let Se=H[L][we];($(Se)||J(Se)||Se.type==="ConditionalExpression"||Se.type==="SequenceExpression"||Se.type==="TSAsExpression"||j(Se))&&(Ee=[k([D,Ee]),D])}let qe=ke===0&&Ne.value.raw.endsWith(`
|
|
71
|
+
`)?R(Number.NEGATIVE_INFINITY,Ee):I(Ee,ke,ye);Y.push(w(["${",qe,P,"}"]))}},"quasis"),Y.push("`"),Y}function oe(O,W,S){let H=O.getNode(),L=H.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(L.length>1||L.some(Y=>Y.length>0)){W.__inJestEach=!0;let Y=O.map(S,"expressions");W.__inJestEach=!1;let X=[],K=Y.map(ke=>"${"+T(ke,Object.assign(Object.assign({},W),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),ce=[{hasLineBreak:!1,cells:[]}];for(let ke=1;ke<H.quasis.length;ke++){let Ee=h(ce),qe=K[ke-1];Ee.cells.push(qe),qe.includes(`
|
|
72
|
+
`)&&(Ee.hasLineBreak=!0),H.quasis[ke].value.raw.includes(`
|
|
73
|
+
`)&&ce.push({hasLineBreak:!1,cells:[]})}let we=Math.max(L.length,...ce.map(ke=>ke.cells.length)),ye=Array.from({length:we}).fill(0),Ne=[{cells:L},...ce.filter(ke=>ke.cells.length>0)];for(let{cells:ke}of Ne.filter(Ee=>!Ee.hasLineBreak))for(let[Ee,qe]of ke.entries())ye[Ee]=Math.max(ye[Ee],C(qe));return X.push(P,"`",k([d,p(d,Ne.map(ke=>p(" | ",ke.cells.map((Ee,qe)=>ke.hasLineBreak?Ee:Ee+" ".repeat(ye[qe]-C(Ee))))))]),d,"`"),X}}function ie(O,W){let S=O.getValue(),H=W();return $(S)&&(H=w([k([D,H]),D])),["${",H,P,"}"]}function se(O,W){return O.map(S=>ie(S,W),"expressions")}function z(O,W){return _(O,S=>typeof S=="string"?W?S.replace(/(\\*)`/g,"$1$1\\`"):N(S):S)}function N(O){return O.replace(/([\\`]|\${)/g,"\\$1")}A.exports={printTemplateLiteral:ee,printTemplateExpressions:se,escapeTemplateCharacters:z,uncookTemplateElementValue:N}}}),Xa=Oe({"src/language-js/embed/markdown.js"(m,A){b();var{builders:{indent:h,softline:C,literalline:x,dedentToRoot:p}}=bn(),{escapeTemplateCharacters:d}=lo();function D(k,R,P){let I=k.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(re,ne)=>"\\".repeat(ne.length/2)+"`"),T=w(I),_=T!=="";_&&(I=I.replace(new RegExp("^".concat(T),"gm"),""));let j=d(P(I,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",_?h([C,j]):[x,p(j)],C,"`"]}function w(k){let R=k.match(/^([^\S\n]*)\S/m);return R===null?"":R[1]}A.exports=D}}),kl=Oe({"src/language-js/embed/css.js"(m,A){b();var{isNonEmptyArray:h}=jn(),{builders:{indent:C,hardline:x,softline:p},utils:{mapDoc:d,replaceEndOfLine:D,cleanDoc:w}}=bn(),{printTemplateExpressions:k}=lo();function R(T,_,j){let re=T.getValue(),ne=re.quasis.map(ie=>ie.value.raw),$=0,J=ne.reduce((ie,se,z)=>z===0?se:ie+"@prettier-placeholder-"+$+++"-id"+se,""),ee=j(J,{parser:"scss"},{stripTrailingHardline:!0}),oe=k(T,_);return P(ee,re,oe)}function P(T,_,j){if(_.quasis.length===1&&!_.quasis[0].value.raw.trim())return"``";let re=I(T,j);if(!re)throw new Error("Couldn't insert all the expressions");return["`",C([x,re]),p,"`"]}function I(T,_){if(!h(_))return T;let j=0,re=d(w(T),ne=>typeof ne!="string"||!ne.includes("@prettier-placeholder")?ne:ne.split(/@prettier-placeholder-(\d+)-id/).map(($,J)=>J%2===0?D($):(j++,_[$])));return _.length===j?re:null}A.exports=R}}),Ju=Oe({"src/language-js/embed/graphql.js"(m,A){b();var{builders:{indent:h,join:C,hardline:x}}=bn(),{escapeTemplateCharacters:p,printTemplateExpressions:d}=lo();function D(k,R,P){let I=k.getValue(),T=I.quasis.length;if(T===1&&I.quasis[0].value.raw.trim()==="")return"``";let _=d(k,R),j=[];for(let re=0;re<T;re++){let ne=I.quasis[re],$=re===0,J=re===T-1,ee=ne.value.cooked,oe=ee.split(`
|
|
74
|
+
`),ie=oe.length,se=_[re],z=ie>2&&oe[0].trim()===""&&oe[1].trim()==="",N=ie>2&&oe[ie-1].trim()===""&&oe[ie-2].trim()==="",O=oe.every(S=>/^\s*(?:#[^\n\r]*)?$/.test(S));if(!J&&/#[^\n\r]*$/.test(oe[ie-1]))return null;let W=null;O?W=w(oe):W=P(ee,{parser:"graphql"},{stripTrailingHardline:!0}),W?(W=p(W,!1),!$&&z&&j.push(""),j.push(W),!J&&N&&j.push("")):!$&&!J&&z&&j.push(""),se&&j.push(se)}return["`",h([x,C(x,j)]),x,"`"]}function w(k){let R=[],P=!1,I=k.map(T=>T.trim());for(let[T,_]of I.entries())_!==""&&(I[T-1]===""&&P?R.push([x,_]):R.push(_),P=!0);return R.length===0?null:C(x,R)}A.exports=D}}),is=Oe({"src/language-js/embed/html.js"(m,A){b();var{builders:{indent:h,line:C,hardline:x,group:p},utils:{mapDoc:d}}=bn(),{printTemplateExpressions:D,uncookTemplateElementValue:w}=lo(),k=0;function R(P,I,T,_,j){let{parser:re}=j,ne=P.getValue(),$=k;k=k+1>>>0;let J=H=>"PRETTIER_HTML_PLACEHOLDER_".concat(H,"_").concat($,"_IN_JS"),ee=ne.quasis.map((H,L,Y)=>L===Y.length-1?H.value.cooked:H.value.cooked+J(L)).join(""),oe=D(P,I);if(oe.length===0&&ee.trim().length===0)return"``";let ie=new RegExp(J("(\\d+)"),"g"),se=0,z=T(ee,{parser:re,__onHtmlRoot(H){se=H.children.length}},{stripTrailingHardline:!0}),N=d(z,H=>{if(typeof H!="string")return H;let L=[],Y=H.split(ie);for(let X=0;X<Y.length;X++){let K=Y[X];if(X%2===0){K&&(K=w(K),_.__embeddedInHtml&&(K=K.replace(/<\/(script)\b/gi,"<\\/$1")),L.push(K));continue}let ce=Number(K);L.push(oe[ce])}return L}),O=/^\s/.test(ee)?" ":"",W=/\s$/.test(ee)?" ":"",S=_.htmlWhitespaceSensitivity==="ignore"?x:O&&W?C:null;return p(S?["`",h([S,p(N)]),S,"`"]:["`",O,se>1?h(p(N)):p(N),W,"`"])}A.exports=R}}),Ka=Oe({"src/language-js/embed.js"(m,A){b();var{hasComment:h,CommentCheckFlags:C,isObjectProperty:x}=qn(),p=Xa(),d=kl(),D=Ju(),w=is();function k(z){if(I(z)||re(z)||ne(z)||T(z))return"css";if(ee(z))return"graphql";if(ie(z))return"html";if(_(z))return"angular";if(P(z))return"markdown"}function R(z,N,O,W){let S=z.getValue();if(S.type!=="TemplateLiteral"||se(S))return;let H=k(z);if(H){if(H==="markdown")return p(z,N,O);if(H==="css")return d(z,N,O);if(H==="graphql")return D(z,N,O);if(H==="html"||H==="angular")return w(z,N,O,W,{parser:H})}}function P(z){let N=z.getValue(),O=z.getParentNode();return O&&O.type==="TaggedTemplateExpression"&&N.quasis.length===1&&O.tag.type==="Identifier"&&(O.tag.name==="md"||O.tag.name==="markdown")}function I(z){let N=z.getValue(),O=z.getParentNode(),W=z.getParentNode(1);return W&&N.quasis&&O.type==="JSXExpressionContainer"&&W.type==="JSXElement"&&W.openingElement.name.name==="style"&&W.openingElement.attributes.some(S=>S.name.name==="jsx")||O&&O.type==="TaggedTemplateExpression"&&O.tag.type==="Identifier"&&O.tag.name==="css"||O&&O.type==="TaggedTemplateExpression"&&O.tag.type==="MemberExpression"&&O.tag.object.name==="css"&&(O.tag.property.name==="global"||O.tag.property.name==="resolve")}function T(z){return z.match(N=>N.type==="TemplateLiteral",(N,O)=>N.type==="ArrayExpression"&&O==="elements",(N,O)=>x(N)&&N.key.type==="Identifier"&&N.key.name==="styles"&&O==="value",...j)}function _(z){return z.match(N=>N.type==="TemplateLiteral",(N,O)=>x(N)&&N.key.type==="Identifier"&&N.key.name==="template"&&O==="value",...j)}var j=[(z,N)=>z.type==="ObjectExpression"&&N==="properties",(z,N)=>z.type==="CallExpression"&&z.callee.type==="Identifier"&&z.callee.name==="Component"&&N==="arguments",(z,N)=>z.type==="Decorator"&&N==="expression"];function re(z){let N=z.getParentNode();if(!N||N.type!=="TaggedTemplateExpression")return!1;let O=N.tag.type==="ParenthesizedExpression"?N.tag.expression:N.tag;switch(O.type){case"MemberExpression":return $(O.object)||J(O);case"CallExpression":return $(O.callee)||O.callee.type==="MemberExpression"&&(O.callee.object.type==="MemberExpression"&&($(O.callee.object.object)||J(O.callee.object))||O.callee.object.type==="CallExpression"&&$(O.callee.object.callee));case"Identifier":return O.name==="css";default:return!1}}function ne(z){let N=z.getParentNode(),O=z.getParentNode(1);return O&&N.type==="JSXExpressionContainer"&&O.type==="JSXAttribute"&&O.name.type==="JSXIdentifier"&&O.name.name==="css"}function $(z){return z.type==="Identifier"&&z.name==="styled"}function J(z){return/^[A-Z]/.test(z.object.name)&&z.property.name==="extend"}function ee(z){let N=z.getValue(),O=z.getParentNode();return oe(N,"GraphQL")||O&&(O.type==="TaggedTemplateExpression"&&(O.tag.type==="MemberExpression"&&O.tag.object.name==="graphql"&&O.tag.property.name==="experimental"||O.tag.type==="Identifier"&&(O.tag.name==="gql"||O.tag.name==="graphql"))||O.type==="CallExpression"&&O.callee.type==="Identifier"&&O.callee.name==="graphql")}function oe(z,N){return h(z,C.Block|C.Leading,O=>{let{value:W}=O;return W===" ".concat(N," ")})}function ie(z){return oe(z.getValue(),"HTML")||z.match(N=>N.type==="TemplateLiteral",(N,O)=>N.type==="TaggedTemplateExpression"&&N.tag.type==="Identifier"&&N.tag.name==="html"&&O==="quasi")}function se(z){let{quasis:N}=z;return N.some(O=>{let{value:{cooked:W}}=O;return W===null})}A.exports=R}}),ua=Oe({"src/language-js/clean.js"(m,A){b();var h=go(),C=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),x=d=>{for(let D of d.quasis)delete D.value};function p(d,D,w){if(d.type==="Program"&&delete D.sourceType,(d.type==="BigIntLiteral"||d.type==="BigIntLiteralTypeAnnotation")&&D.value&&(D.value=D.value.toLowerCase()),(d.type==="BigIntLiteral"||d.type==="Literal")&&D.bigint&&(D.bigint=D.bigint.toLowerCase()),d.type==="DecimalLiteral"&&(D.value=Number(D.value)),d.type==="Literal"&&D.decimal&&(D.decimal=Number(D.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 D.key,d.type==="JSXElement"&&d.openingElement.name.name==="style"&&d.openingElement.attributes.some(P=>P.name.name==="jsx"))for(let{type:P,expression:I}of D.children)P==="JSXExpressionContainer"&&I.type==="TemplateLiteral"&&x(I);d.type==="JSXAttribute"&&d.name.name==="css"&&d.value.type==="JSXExpressionContainer"&&d.value.expression.type==="TemplateLiteral"&&x(D.value.expression),d.type==="JSXAttribute"&&d.value&&d.value.type==="Literal"&&/["']|"|'/.test(d.value.value)&&(D.value.value=D.value.value.replace(/["']|"|'/g,'"'));let k=d.expression||d.callee;if(d.type==="Decorator"&&k.type==="CallExpression"&&k.callee.name==="Component"&&k.arguments.length===1){let P=d.expression.arguments[0].properties;for(let[I,T]of D.expression.arguments[0].properties.entries())switch(P[I].key.name){case"styles":T.value.type==="ArrayExpression"&&x(T.value.elements[0]);break;case"template":T.value.type==="TemplateLiteral"&&x(T.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")&&x(D.quasi),d.type==="TemplateLiteral"){var R;(((R=d.leadingComments)===null||R===void 0?void 0:R.some(P=>h(P)&&["GraphQL","HTML"].some(I=>P.value===" ".concat(I," "))))||w.type==="CallExpression"&&w.callee.name==="graphql"||!d.leadingComments)&&x(D)}if(d.type==="InterpreterDirective"&&(D.value=D.value.trimEnd()),(d.type==="TSIntersectionType"||d.type==="TSUnionType")&&d.types.length===1)return D.types[0]}p.ignoredProperties=C,A.exports=p}}),Us={};Bi(Us,{EOL:()=>Yu,arch:()=>xc,cpus:()=>ss,default:()=>us,endianness:()=>Gu,freemem:()=>Vs,getNetworkInterfaces:()=>Ku,hostname:()=>la,loadavg:()=>Qa,networkInterfaces:()=>Xu,platform:()=>Qu,release:()=>As,tmpDir:()=>fa,tmpdir:()=>as,totalmem:()=>os,type:()=>pa,uptime:()=>ca});function Gu(){if(typeof Go>"u"){var m=new ArrayBuffer(2),A=new Uint8Array(m),h=new Uint16Array(m);if(A[0]=1,A[1]=2,h[0]===258)Go="BE";else if(h[0]===513)Go="LE";else throw new Error("unable to figure out endianess")}return Go}function la(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Qa(){return[]}function ca(){return 0}function Vs(){return Number.MAX_VALUE}function os(){return Number.MAX_VALUE}function ss(){return[]}function pa(){return"Browser"}function As(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function Xu(){}function Ku(){}function xc(){return"javascript"}function Qu(){return"browser"}function fa(){return"/tmp"}var Go,as,Yu,us,da=Tn({"node-modules-polyfills:os"(){b(),as=fa,Yu=`
|
|
75
|
+
`,us={EOL:Yu,tmpdir:as,tmpDir:fa,networkInterfaces:Xu,getNetworkInterfaces:Ku,release:As,type:pa,cpus:ss,totalmem:os,freemem:Vs,uptime:ca,loadavg:Qa,hostname:la,endianness:Gu}}}),qs=Oe({"node-modules-polyfills-commonjs:os"(m,A){b();var h=(da(),yn(Us));if(h&&h.default){A.exports=h.default;for(let C in h)A.exports[C]=h[C]}else h&&(A.exports=h)}}),Ya=Oe({"node_modules/detect-newline/index.js"(m,A){b();var h=C=>{if(typeof C!="string")throw new TypeError("Expected a string");let x=C.match(/(?:\r?\n)/g)||[];if(x.length===0)return;let p=x.filter(D=>D===`\r
|
|
76
|
+
`).length,d=x.length-p;return p>d?`\r
|
|
77
|
+
`:`
|
|
78
|
+
`};A.exports=h,A.exports.graceful=C=>typeof C=="string"&&h(C)||`
|
|
79
|
+
`}}),Io=Oe({"node_modules/jest-docblock/build/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0}),m.extract=T,m.parse=j,m.parseWithComments=re,m.print=ne,m.strip=_;function A(){let J=qs();return A=function(){return J},J}function h(){let J=C(Ya());return h=function(){return J},J}function C(J){return J&&J.__esModule?J:{default:J}}var x=/\*\/$/,p=/^\/\*\*/,d=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,D=/(^|\s+)\/\/([^\r\n]*)/g,w=/^(\r?\n)+/,k=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,R=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,P=/(\r?\n|^) *\* ?/g,I=[];function T(J){let ee=J.match(d);return ee?ee[0].trimLeft():""}function _(J){let ee=J.match(d);return ee&&ee[0]?J.substring(ee[0].length):J}function j(J){return re(J).pragmas}function re(J){let ee=(0,h().default)(J)||A().EOL;J=J.replace(p,"").replace(x,"").replace(P,"$1");let oe="";for(;oe!==J;)oe=J,J=J.replace(k,"".concat(ee,"$1 $2").concat(ee));J=J.replace(w,"").trimRight();let ie=Object.create(null),se=J.replace(R,"").replace(w,"").trimRight(),z;for(;z=R.exec(J);){let N=z[2].replace(D,"");typeof ie[z[1]]=="string"||Array.isArray(ie[z[1]])?ie[z[1]]=I.concat(ie[z[1]],N):ie[z[1]]=N}return{comments:se,pragmas:ie}}function ne(J){let{comments:ee="",pragmas:oe={}}=J,ie=(0,h().default)(ee)||A().EOL,se="/**",z=" *",N=" */",O=Object.keys(oe),W=O.map(H=>$(H,oe[H])).reduce((H,L)=>H.concat(L),[]).map(H=>z+" "+H+ie).join("");if(!ee){if(O.length===0)return"";if(O.length===1&&!Array.isArray(oe[O[0]])){let H=oe[O[0]];return"".concat(se," ").concat($(O[0],H)[0]).concat(N)}}let S=ee.split(ie).map(H=>"".concat(z," ").concat(H)).join(ie)+ie;return se+ie+(ee?S:"")+(ee&&O.length?z+ie:"")+W+N}function $(J,ee){return I.concat(ee).map(oe=>"@".concat(J," ").concat(oe).trim())}}}),Js=Oe({"src/language-js/utils/get-shebang.js"(m,A){b();function h(C){if(!C.startsWith("#!"))return"";let x=C.indexOf(`
|
|
80
|
+
`);return x===-1?C:C.slice(0,x)}A.exports=h}}),Ro=Oe({"src/language-js/pragma.js"(m,A){b();var{parseWithComments:h,strip:C,extract:x,print:p}=Io(),{normalizeEndOfLine:d}=$n(),D=Js();function w(P){let I=D(P);I&&(P=P.slice(I.length+1));let T=x(P),{pragmas:_,comments:j}=h(T);return{shebang:I,text:P,pragmas:_,comments:j}}function k(P){let I=Object.keys(w(P).pragmas);return I.includes("prettier")||I.includes("format")}function R(P){let{shebang:I,text:T,pragmas:_,comments:j}=w(P),re=C(T),ne=p({pragmas:Object.assign({format:""},_),comments:j.trimStart()});return(I?"".concat(I,`
|
|
81
|
+
`):"")+d(ne)+(re.startsWith(`
|
|
82
|
+
`)?`
|
|
83
|
+
`:`
|
|
84
|
+
|
|
85
|
+
`)+re}A.exports={hasPragma:k,insertPragma:R}}}),Ss=Oe({"src/language-js/comments.js"(m,A){b();var{getLast:h,hasNewline:C,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:x,getNextNonSpaceNonCommentCharacter:p,hasNewlineInRange:d,addLeadingComment:D,addTrailingComment:w,addDanglingComment:k,getNextNonSpaceNonCommentCharacterIndex:R,isNonEmptyArray:P}=jn(),{getFunctionParameters:I,isPrettierIgnoreComment:T,isJsxNode:_,hasFlowShorthandAnnotationComment:j,hasFlowAnnotationComment:re,hasIgnoreComment:ne,isCallLikeExpression:$,getCallArguments:J,isCallExpression:ee,isMemberExpression:oe,isObjectProperty:ie,isLineComment:se,getComments:z,CommentCheckFlags:N,markerForIfWithoutBlockAndSameLineComment:O}=qn(),{locStart:W,locEnd:S}=Ci(),H=go();function L(i){return[rr,_t,Ee,ye,Ne,ke,Ge,ur,He,gt,Ur,Yr,Xe,mt,Le].some(n=>n(i))}function Y(i){return[we,_t,qe,Ur,ye,Ne,ke,Ge,mt,Re,Et,gt,Mt,Le,Kt].some(n=>n(i))}function X(i){return[rr,ye,Ne,Se,Dt,Xe,gt,Ie,Fe,$e,Le,tt].some(n=>n(i))}function K(i,n){let u=(i.body||i.properties).find(c=>{let{type:y}=c;return y!=="EmptyStatement"});u?D(u,n):k(i,n)}function ce(i,n){i.type==="BlockStatement"?K(i,n):D(i,n)}function we(i){let{comment:n,followingNode:u}=i;return u&&t(n)?(D(u,n),!0):!1}function ye(i){let{comment:n,precedingNode:u,enclosingNode:c,followingNode:y,text:B}=i;if((c==null?void 0:c.type)!=="IfStatement"||!y)return!1;if(p(B,n,S)===")")return w(u,n),!0;if(u===c.consequent&&y===c.alternate){if(u.type==="BlockStatement")w(u,n);else{let M=n.type==="SingleLine"||n.loc.start.line===n.loc.end.line,ve=n.loc.start.line===u.loc.start.line;M&&ve?k(u,n,O):k(c,n)}return!0}return y.type==="BlockStatement"?(K(y,n),!0):y.type==="IfStatement"?(ce(y.consequent,n),!0):c.consequent===y?(D(y,n),!0):!1}function Ne(i){let{comment:n,precedingNode:u,enclosingNode:c,followingNode:y,text:B}=i;return(c==null?void 0:c.type)!=="WhileStatement"||!y?!1:p(B,n,S)===")"?(w(u,n),!0):y.type==="BlockStatement"?(K(y,n),!0):c.body===y?(D(y,n),!0):!1}function ke(i){let{comment:n,precedingNode:u,enclosingNode:c,followingNode:y}=i;return(c==null?void 0:c.type)!=="TryStatement"&&(c==null?void 0:c.type)!=="CatchClause"||!y?!1:c.type==="CatchClause"&&u?(w(u,n),!0):y.type==="BlockStatement"?(K(y,n),!0):y.type==="TryStatement"?(ce(y.finalizer,n),!0):y.type==="CatchClause"?(ce(y.body,n),!0):!1}function Ee(i){let{comment:n,enclosingNode:u,followingNode:c}=i;return oe(u)&&(c==null?void 0:c.type)==="Identifier"?(D(u,n),!0):!1}function qe(i){let{comment:n,precedingNode:u,enclosingNode:c,followingNode:y,text:B}=i,M=u&&!d(B,S(u),W(n));return(!u||!M)&&((c==null?void 0:c.type)==="ConditionalExpression"||(c==null?void 0:c.type)==="TSConditionalType")&&y?(D(y,n),!0):!1}function Se(i){let{comment:n,precedingNode:u,enclosingNode:c}=i;return ie(c)&&c.shorthand&&c.key===u&&c.value.type==="AssignmentPattern"?(w(c.value.left,n),!0):!1}var Te=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function Ge(i){let{comment:n,precedingNode:u,enclosingNode:c,followingNode:y}=i;if(Te.has(c==null?void 0:c.type)){if(P(c.decorators)&&!(y&&y.type==="Decorator"))return w(h(c.decorators),n),!0;if(c.body&&y===c.body)return K(c.body,n),!0;if(y){if(c.superClass&&y===c.superClass&&u&&(u===c.id||u===c.typeParameters))return w(u,n),!0;for(let B of["implements","extends","mixins"])if(c[B]&&y===c[B][0])return u&&(u===c.id||u===c.typeParameters||u===c.superClass)?w(u,n):k(c,n,B),!0}}return!1}var Qe=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition"]);function Xe(i){let{comment:n,precedingNode:u,enclosingNode:c,text:y}=i;return c&&u&&p(y,n,S)==="("&&(c.type==="Property"||c.type==="TSDeclareMethod"||c.type==="TSAbstractMethodDefinition")&&u.type==="Identifier"&&c.key===u&&p(y,u,S)!==":"||(u==null?void 0:u.type)==="Decorator"&&Qe.has(c==null?void 0:c.type)?(w(u,n),!0):!1}var At=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function Fe(i){let{comment:n,precedingNode:u,enclosingNode:c,text:y}=i;return p(y,n,S)!=="("?!1:u&&At.has(c==null?void 0:c.type)?(w(u,n),!0):!1}function Ie(i){let{comment:n,enclosingNode:u,text:c}=i;if((u==null?void 0:u.type)!=="ArrowFunctionExpression")return!1;let y=R(c,n,S);return y!==!1&&c.slice(y,y+2)==="=>"?(k(u,n),!0):!1}function Dt(i){let{comment:n,enclosingNode:u,text:c}=i;return p(c,n,S)!==")"?!1:u&&(qt(u)&&I(u).length===0||$(u)&&J(u).length===0)?(k(u,n),!0):((u==null?void 0:u.type)==="MethodDefinition"||(u==null?void 0:u.type)==="TSAbstractMethodDefinition")&&I(u.value).length===0?(k(u.value,n),!0):!1}function _t(i){let{comment:n,precedingNode:u,enclosingNode:c,followingNode:y,text:B}=i;if((u==null?void 0:u.type)==="FunctionTypeParam"&&(c==null?void 0:c.type)==="FunctionTypeAnnotation"&&(y==null?void 0:y.type)!=="FunctionTypeParam"||((u==null?void 0:u.type)==="Identifier"||(u==null?void 0:u.type)==="AssignmentPattern")&&c&&qt(c)&&p(B,n,S)===")")return w(u,n),!0;if((c==null?void 0:c.type)==="FunctionDeclaration"&&(y==null?void 0:y.type)==="BlockStatement"){let M=(()=>{let ve=I(c);if(ve.length>0)return x(B,S(h(ve)));let he=x(B,S(c.id));return he!==!1&&x(B,he+1)})();if(W(n)>M)return K(y,n),!0}return!1}function mt(i){let{comment:n,enclosingNode:u}=i;return(u==null?void 0:u.type)==="LabeledStatement"?(D(u,n),!0):!1}function Le(i){let{comment:n,enclosingNode:u}=i;return((u==null?void 0:u.type)==="ContinueStatement"||(u==null?void 0:u.type)==="BreakStatement")&&!u.label?(w(u,n),!0):!1}function Re(i){let{comment:n,precedingNode:u,enclosingNode:c}=i;return ee(c)&&u&&c.callee===u&&c.arguments.length>0?(D(c.arguments[0],n),!0):!1}function He(i){let{comment:n,precedingNode:u,enclosingNode:c,followingNode:y}=i;return(c==null?void 0:c.type)==="UnionTypeAnnotation"||(c==null?void 0:c.type)==="TSUnionType"?(T(n)&&(y.prettierIgnore=!0,n.unignore=!0),u?(w(u,n),!0):!1):(((y==null?void 0:y.type)==="UnionTypeAnnotation"||(y==null?void 0:y.type)==="TSUnionType")&&T(n)&&(y.types[0].prettierIgnore=!0,n.unignore=!0),!1)}function Et(i){let{comment:n,enclosingNode:u}=i;return ie(u)?(D(u,n),!0):!1}function gt(i){let{comment:n,enclosingNode:u,followingNode:c,ast:y,isLastComment:B}=i;return y&&y.body&&y.body.length===0?(B?k(y,n):D(y,n),!0):(u==null?void 0:u.type)==="Program"&&(u==null?void 0:u.body.length)===0&&!P(u.directives)?(B?k(u,n):D(u,n),!0):(c==null?void 0:c.type)==="Program"&&(c==null?void 0:c.body.length)===0&&(u==null?void 0:u.type)==="ModuleExpression"?(k(c,n),!0):!1}function ur(i){let{comment:n,enclosingNode:u}=i;return(u==null?void 0:u.type)==="ForInStatement"||(u==null?void 0:u.type)==="ForOfStatement"?(D(u,n),!0):!1}function Ur(i){let{comment:n,precedingNode:u,enclosingNode:c,text:y}=i;if((c==null?void 0:c.type)==="ImportSpecifier"||(c==null?void 0:c.type)==="ExportSpecifier")return D(c,n),!0;let B=(u==null?void 0:u.type)==="ImportSpecifier"&&(c==null?void 0:c.type)==="ImportDeclaration",M=(u==null?void 0:u.type)==="ExportSpecifier"&&(c==null?void 0:c.type)==="ExportNamedDeclaration";return(B||M)&&C(y,S(n))?(w(u,n),!0):!1}function Yr(i){let{comment:n,enclosingNode:u}=i;return(u==null?void 0:u.type)==="AssignmentPattern"?(D(u,n),!0):!1}var Ft=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),St=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function Mt(i){let{comment:n,enclosingNode:u,followingNode:c}=i;return Ft.has(u==null?void 0:u.type)&&c&&(St.has(c.type)||H(n))?(D(c,n),!0):!1}function tt(i){let{comment:n,enclosingNode:u,followingNode:c,text:y}=i;return!c&&((u==null?void 0:u.type)==="TSMethodSignature"||(u==null?void 0:u.type)==="TSDeclareFunction"||(u==null?void 0:u.type)==="TSAbstractMethodDefinition")&&p(y,n,S)===";"?(w(u,n),!0):!1}function rr(i){let{comment:n,enclosingNode:u,followingNode:c}=i;if(T(n)&&(u==null?void 0:u.type)==="TSMappedType"&&(c==null?void 0:c.type)==="TSTypeParameter"&&c.constraint)return u.prettierIgnore=!0,n.unignore=!0,!0}function $e(i){let{comment:n,precedingNode:u,enclosingNode:c,followingNode:y}=i;return(c==null?void 0:c.type)!=="TSMappedType"?!1:(y==null?void 0:y.type)==="TSTypeParameter"&&y.name?(D(y.name,n),!0):(u==null?void 0:u.type)==="TSTypeParameter"&&u.constraint?(w(u.constraint,n),!0):!1}function Kt(i){let{comment:n,enclosingNode:u,followingNode:c}=i;return!u||u.type!=="SwitchCase"||u.test?!1:(c.type==="BlockStatement"&&se(n)?K(c,n):k(u,n),!0)}function qt(i){return i.type==="ArrowFunctionExpression"||i.type==="FunctionExpression"||i.type==="FunctionDeclaration"||i.type==="ObjectMethod"||i.type==="ClassMethod"||i.type==="TSDeclareFunction"||i.type==="TSCallSignatureDeclaration"||i.type==="TSConstructSignatureDeclaration"||i.type==="TSMethodSignature"||i.type==="TSConstructorType"||i.type==="TSFunctionType"||i.type==="TSDeclareMethod"}function e(i,n){if((n.parser==="typescript"||n.parser==="flow"||n.parser==="acorn"||n.parser==="espree"||n.parser==="meriyah"||n.parser==="__babel_estree")&&i.type==="MethodDefinition"&&i.value&&i.value.type==="FunctionExpression"&&I(i.value).length===0&&!i.value.returnType&&!P(i.value.typeParameters)&&i.value.body)return[...i.decorators||[],i.key,i.value.body]}function t(i){return H(i)&&i.value[0]==="*"&&/@type\b/.test(i.value)}function o(i){let n=i.getValue(),u=i.getParentNode(),c=y=>re(z(y,N.Leading))||re(z(y,N.Trailing));return(n&&(_(n)||j(n)||ee(u)&&c(n))||u&&(u.type==="JSXSpreadAttribute"||u.type==="JSXSpreadChild"||u.type==="UnionTypeAnnotation"||u.type==="TSUnionType"||(u.type==="ClassDeclaration"||u.type==="ClassExpression")&&u.superClass===n))&&(!ne(i)||u.type==="UnionTypeAnnotation"||u.type==="TSUnionType")}A.exports={handleOwnLineComment:L,handleEndOfLineComment:Y,handleRemainingComment:X,isTypeCastComment:t,getCommentChildNodes:e,willPrintOwnComments:o}}}),wo=Oe({"src/language-js/needs-parens.js"(m,A){b();var h=Rn(),C=Gi(),{getFunctionParameters:x,getLeftSidePathName:p,hasFlowShorthandAnnotationComment:d,hasNakedLeftSide:D,hasNode:w,isBitwiseOperator:k,startsWithNoLookaheadToken:R,shouldFlatten:P,getPrecedence:I,isCallExpression:T,isMemberExpression:_,isObjectProperty:j}=qn();function re(se,z){let N=se.getParentNode();if(!N)return!1;let O=se.getName(),W=se.getNode();if(z.__isInHtmlInterpolation&&!z.bracketSpacing&&ee(W)&&oe(se))return!0;if(ne(W))return!1;if(z.parser!=="flow"&&d(se.getValue()))return!0;if(W.type==="Identifier")return!!(W.extra&&W.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(W.name)||O==="left"&&W.name==="async"&&N.type==="ForOfStatement"&&!N.await);switch(N.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(O==="superClass"&&(W.type==="ArrowFunctionExpression"||W.type==="AssignmentExpression"||W.type==="AwaitExpression"||W.type==="BinaryExpression"||W.type==="ConditionalExpression"||W.type==="LogicalExpression"||W.type==="NewExpression"||W.type==="ObjectExpression"||W.type==="SequenceExpression"||W.type==="TaggedTemplateExpression"||W.type==="UnaryExpression"||W.type==="UpdateExpression"||W.type==="YieldExpression"||W.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return ie(se,z)||W.type==="SequenceExpression";case"Decorator":{if(O==="expression"){let S=!1,H=!1,L=W;for(;L;)switch(L.type){case"MemberExpression":H=!0,L=L.object;break;case"CallExpression":if(H||S)return z.parser!=="typescript";S=!0,L=L.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return z.parser!=="typescript";default:return!0}return!0}break}case"ExpressionStatement":{if(R(W,!0))return!0;break}case"ArrowFunctionExpression":{if(O==="body"&&W.type!=="SequenceExpression"&&R(W,!1))return!0;break}}switch(W.type){case"UpdateExpression":if(N.type==="UnaryExpression")return W.prefix&&(W.operator==="++"&&N.operator==="+"||W.operator==="--"&&N.operator==="-");case"UnaryExpression":switch(N.type){case"UnaryExpression":return W.operator===N.operator&&(W.operator==="+"||W.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return O==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return O==="callee";case"BinaryExpression":return O==="left"&&N.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(N.type==="UpdateExpression"||W.operator==="in"&&$(se))return!0;if(W.operator==="|>"&&W.extra&&W.extra.parenthesized){let S=se.getParentNode(1);if(S.type==="BinaryExpression"&&S.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(N.type){case"TSAsExpression":return W.type!=="TSAsExpression";case"ConditionalExpression":return W.type==="TSAsExpression";case"CallExpression":case"NewExpression":case"OptionalCallExpression":return O==="callee";case"ClassExpression":case"ClassDeclaration":return O==="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 O==="object";case"AssignmentExpression":case"AssignmentPattern":return O==="left"&&(W.type==="TSTypeAssertion"||W.type==="TSAsExpression");case"LogicalExpression":if(W.type==="LogicalExpression")return N.operator!==W.operator;case"BinaryExpression":{let{operator:S,type:H}=W;if(!S&&H!=="TSTypeAssertion")return!0;let L=I(S),Y=N.operator,X=I(Y);return X>L||O==="right"&&X===L||X===L&&!P(Y,S)?!0:X<L&&S==="%"?Y==="+"||Y==="-":!!k(Y)}default:return!1}case"SequenceExpression":switch(N.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return O!=="expression";case"ArrowFunctionExpression":return O!=="body";default:return!0}case"YieldExpression":if(N.type==="UnaryExpression"||N.type==="AwaitExpression"||N.type==="TSAsExpression"||N.type==="TSNonNullExpression")return!0;case"AwaitExpression":switch(N.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return O==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return O==="callee";case"ConditionalExpression":return O==="test";case"BinaryExpression":return!(!W.argument&&N.operator==="|>");default:return!1}case"TSConditionalType":if(O==="extendsType"&&N.type==="TSConditionalType")return!0;case"TSFunctionType":case"TSConstructorType":if(O==="checkType"&&N.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((N.type==="TSUnionType"||N.type==="TSIntersectionType")&&N.types.length>1&&(!W.types||W.types.length>1))return!0;case"TSInferType":if(W.type==="TSInferType"&&N.type==="TSRestType")return!1;case"TSTypeOperator":return N.type==="TSArrayType"||N.type==="TSOptionalType"||N.type==="TSRestType"||O==="objectType"&&N.type==="TSIndexedAccessType"||N.type==="TSTypeOperator"||N.type==="TSTypeAnnotation"&&se.getParentNode(1).type.startsWith("TSJSDoc");case"ArrayTypeAnnotation":return N.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return N.type==="ArrayTypeAnnotation"||N.type==="NullableTypeAnnotation"||N.type==="IntersectionTypeAnnotation"||N.type==="UnionTypeAnnotation"||O==="objectType"&&(N.type==="IndexedAccessType"||N.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return N.type==="ArrayTypeAnnotation"||O==="objectType"&&(N.type==="IndexedAccessType"||N.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let S=N.type==="NullableTypeAnnotation"?se.getParentNode(1):N;return S.type==="UnionTypeAnnotation"||S.type==="IntersectionTypeAnnotation"||S.type==="ArrayTypeAnnotation"||O==="objectType"&&(S.type==="IndexedAccessType"||S.type==="OptionalIndexedAccessType")||S.type==="NullableTypeAnnotation"||N.type==="FunctionTypeParam"&&N.name===null&&x(W).some(H=>H.typeAnnotation&&H.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return O==="objectType"&&N.type==="IndexedAccessType";case"TypeofTypeAnnotation":return O==="objectType"&&(N.type==="IndexedAccessType"||N.type==="OptionalIndexedAccessType");case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof W.value=="string"&&N.type==="ExpressionStatement"&&!N.directive){let S=se.getParentNode(1);return S.type==="Program"||S.type==="BlockStatement"}return O==="object"&&N.type==="MemberExpression"&&typeof W.value=="number";case"AssignmentExpression":{let S=se.getParentNode(1);return O==="body"&&N.type==="ArrowFunctionExpression"?!0:O==="key"&&(N.type==="ClassProperty"||N.type==="PropertyDefinition")&&N.computed||(O==="init"||O==="update")&&N.type==="ForStatement"?!1:N.type==="ExpressionStatement"?W.left.type==="ObjectPattern":!(O==="key"&&N.type==="TSPropertySignature"||N.type==="AssignmentExpression"||N.type==="SequenceExpression"&&S&&S.type==="ForStatement"&&(S.init===N||S.update===N)||O==="value"&&N.type==="Property"&&S&&S.type==="ObjectPattern"&&S.properties.includes(N)||N.type==="NGChainedExpression")}case"ConditionalExpression":switch(N.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"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return O==="callee";case"ConditionalExpression":return O==="test";case"MemberExpression":case"OptionalMemberExpression":return O==="object";default:return!1}case"FunctionExpression":switch(N.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return O==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(N.type){case"BinaryExpression":return N.operator!=="|>"||W.extra&&W.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return O==="callee";case"MemberExpression":case"OptionalMemberExpression":return O==="object";case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return O==="test";default:return!1}case"ClassExpression":if(C(W.decorators))return!0;switch(N.type){case"NewExpression":return O==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let S=se.getParentNode(1);if(O==="object"&&N.type==="MemberExpression"||O==="callee"&&(N.type==="CallExpression"||N.type==="NewExpression")||N.type==="TSNonNullExpression"&&S.type==="MemberExpression"&&S.object===N)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(O==="callee"&&(N.type==="BindExpression"||N.type==="NewExpression")){let S=W;for(;S;)switch(S.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":S=S.object;break;case"TaggedTemplateExpression":S=S.tag;break;case"TSNonNullExpression":S=S.expression;break;default:return!1}}return!1;case"BindExpression":return O==="callee"&&(N.type==="BindExpression"||N.type==="NewExpression")||O==="object"&&_(N);case"NGPipeExpression":return!(N.type==="NGRoot"||N.type==="NGMicrosyntaxExpression"||N.type==="ObjectProperty"&&!(W.extra&&W.extra.parenthesized)||N.type==="ArrayExpression"||T(N)&&N.arguments[O]===W||O==="right"&&N.type==="NGPipeExpression"||O==="property"&&N.type==="MemberExpression"||N.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return O==="callee"||O==="left"&&N.type==="BinaryExpression"&&N.operator==="<"||N.type!=="ArrayExpression"&&N.type!=="ArrowFunctionExpression"&&N.type!=="AssignmentExpression"&&N.type!=="AssignmentPattern"&&N.type!=="BinaryExpression"&&N.type!=="NewExpression"&&N.type!=="ConditionalExpression"&&N.type!=="ExpressionStatement"&&N.type!=="JsExpressionRoot"&&N.type!=="JSXAttribute"&&N.type!=="JSXElement"&&N.type!=="JSXExpressionContainer"&&N.type!=="JSXFragment"&&N.type!=="LogicalExpression"&&!T(N)&&!j(N)&&N.type!=="ReturnStatement"&&N.type!=="ThrowStatement"&&N.type!=="TypeCastExpression"&&N.type!=="VariableDeclarator"&&N.type!=="YieldExpression";case"TypeAnnotation":return O==="returnType"&&N.type==="ArrowFunctionExpression"&&J(W)}return!1}function ne(se){return se.type==="BlockStatement"||se.type==="BreakStatement"||se.type==="ClassBody"||se.type==="ClassDeclaration"||se.type==="ClassMethod"||se.type==="ClassProperty"||se.type==="PropertyDefinition"||se.type==="ClassPrivateProperty"||se.type==="ContinueStatement"||se.type==="DebuggerStatement"||se.type==="DeclareClass"||se.type==="DeclareExportAllDeclaration"||se.type==="DeclareExportDeclaration"||se.type==="DeclareFunction"||se.type==="DeclareInterface"||se.type==="DeclareModule"||se.type==="DeclareModuleExports"||se.type==="DeclareVariable"||se.type==="DoWhileStatement"||se.type==="EnumDeclaration"||se.type==="ExportAllDeclaration"||se.type==="ExportDefaultDeclaration"||se.type==="ExportNamedDeclaration"||se.type==="ExpressionStatement"||se.type==="ForInStatement"||se.type==="ForOfStatement"||se.type==="ForStatement"||se.type==="FunctionDeclaration"||se.type==="IfStatement"||se.type==="ImportDeclaration"||se.type==="InterfaceDeclaration"||se.type==="LabeledStatement"||se.type==="MethodDefinition"||se.type==="ReturnStatement"||se.type==="SwitchStatement"||se.type==="ThrowStatement"||se.type==="TryStatement"||se.type==="TSDeclareFunction"||se.type==="TSEnumDeclaration"||se.type==="TSImportEqualsDeclaration"||se.type==="TSInterfaceDeclaration"||se.type==="TSModuleDeclaration"||se.type==="TSNamespaceExportDeclaration"||se.type==="TypeAlias"||se.type==="VariableDeclaration"||se.type==="WhileStatement"||se.type==="WithStatement"}function $(se){let z=0,N=se.getValue();for(;N;){let O=se.getParentNode(z++);if(O&&O.type==="ForStatement"&&O.init===N)return!0;N=O}return!1}function J(se){return w(se,z=>z.type==="ObjectTypeAnnotation"&&w(z,N=>N.type==="FunctionTypeAnnotation"||void 0)||void 0)}function ee(se){switch(se.type){case"ObjectExpression":return!0;default:return!1}}function oe(se){let z=se.getValue(),N=se.getParentNode(),O=se.getName();switch(N.type){case"NGPipeExpression":if(typeof O=="number"&&N.arguments[O]===z&&N.arguments.length-1===O)return se.callParent(oe);break;case"ObjectProperty":if(O==="value"){let W=se.getParentNode(1);return h(W.properties)===N}break;case"BinaryExpression":case"LogicalExpression":if(O==="right")return se.callParent(oe);break;case"ConditionalExpression":if(O==="alternate")return se.callParent(oe);break;case"UnaryExpression":if(N.prefix)return se.callParent(oe);break}return!1}function ie(se,z){let N=se.getValue(),O=se.getParentNode();return N.type==="FunctionExpression"||N.type==="ClassExpression"?O.type==="ExportDefaultDeclaration"||!re(se,z):!D(N)||O.type!=="ExportDefaultDeclaration"&&re(se,z)?!1:se.call(W=>ie(W,z),...p(se,N))}A.exports=re}}),Za=Oe({"src/language-js/print-preprocess.js"(m,A){b();function h(C,x){switch(x.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},C),{},{type:x.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:C,comments:[],rootMarker:x.rootMarker});default:return C}}A.exports=h}}),ha=Oe({"src/language-js/print/html-binding.js"(m,A){b();var{builders:{join:h,line:C,group:x,softline:p,indent:d}}=bn();function D(k,R,P){let I=k.getValue();if(R.__onHtmlBindingRoot&&k.getName()===null&&R.__onHtmlBindingRoot(I,R),I.type==="File"){if(R.__isVueForBindingLeft)return k.call(T=>{let _=h([",",C],T.map(P,"params")),{params:j}=T.getValue();return j.length===1?_:["(",d([p,x(_)]),p,")"]},"program","body",0);if(R.__isVueBindings)return k.call(T=>h([",",C],T.map(P,"params")),"program","body",0)}}function w(k){switch(k.type){case"MemberExpression":switch(k.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return w(k.object)}return!1;case"Identifier":return!0;default:return!1}}A.exports={isVueEventBindingExpression:w,printHtmlBinding:D}}}),ga=Oe({"src/language-js/print/binaryish.js"(m,A){b();var{printComments:h}=gi(),{getLast:C}=jn(),{builders:{join:x,line:p,softline:d,group:D,indent:w,align:k,ifBreak:R,indentIfBreak:P},utils:{cleanDoc:I,getDocParts:T,isConcat:_}}=bn(),{hasLeadingOwnLineComment:j,isBinaryish:re,isJsxNode:ne,shouldFlatten:$,hasComment:J,CommentCheckFlags:ee,isCallExpression:oe,isMemberExpression:ie,isObjectProperty:se,isEnabledHackPipeline:z}=qn(),N=0;function O(H,L,Y){let X=H.getValue(),K=H.getParentNode(),ce=H.getParentNode(1),we=X!==K.body&&(K.type==="IfStatement"||K.type==="WhileStatement"||K.type==="SwitchStatement"||K.type==="DoWhileStatement"),ye=z(L)&&X.operator==="|>",Ne=W(H,Y,L,!1,we);if(we)return Ne;if(ye)return D(Ne);if(oe(K)&&K.callee===X||K.type==="UnaryExpression"||ie(K)&&!K.computed)return D([w([d,...Ne]),d]);let ke=K.type==="ReturnStatement"||K.type==="ThrowStatement"||K.type==="JSXExpressionContainer"&&ce.type==="JSXAttribute"||X.operator!=="|"&&K.type==="JsExpressionRoot"||X.type!=="NGPipeExpression"&&(K.type==="NGRoot"&&L.parser==="__ng_binding"||K.type==="NGMicrosyntaxExpression"&&ce.type==="NGMicrosyntax"&&ce.body.length===1)||X===K.body&&K.type==="ArrowFunctionExpression"||X!==K.body&&K.type==="ForStatement"||K.type==="ConditionalExpression"&&ce.type!=="ReturnStatement"&&ce.type!=="ThrowStatement"&&!oe(ce)||K.type==="TemplateLiteral",Ee=K.type==="AssignmentExpression"||K.type==="VariableDeclarator"||K.type==="ClassProperty"||K.type==="PropertyDefinition"||K.type==="TSAbstractPropertyDefinition"||K.type==="ClassPrivateProperty"||se(K),qe=re(X.left)&&$(X.operator,X.left.operator);if(ke||S(X)&&!qe||!S(X)&&Ee)return D(Ne);if(Ne.length===0)return"";let Se=ne(X.right),Te=Ne.findIndex(Ie=>typeof Ie!="string"&&!Array.isArray(Ie)&&Ie.type==="group"),Ge=Ne.slice(0,Te===-1?1:Te+1),Qe=Ne.slice(Ge.length,Se?-1:void 0),Xe=Symbol("logicalChain-"+ ++N),At=D([...Ge,w(Qe)],{id:Xe});if(!Se)return At;let Fe=C(Ne);return D([At,P(Fe,{groupId:Xe})])}function W(H,L,Y,X,K){let ce=H.getValue();if(!re(ce))return[D(L())];let we=[];$(ce.operator,ce.left.operator)?we=H.call(Qe=>W(Qe,L,Y,!0,K),"left"):we.push(D(L("left")));let ye=S(ce),Ne=(ce.operator==="|>"||ce.type==="NGPipeExpression"||ce.operator==="|"&&Y.parser==="__vue_expression")&&!j(Y.originalText,ce.right),ke=ce.type==="NGPipeExpression"?"|":ce.operator,Ee=ce.type==="NGPipeExpression"&&ce.arguments.length>0?D(w([d,": ",x([d,":",R(" ")],H.map(L,"arguments").map(Qe=>k(2,D(Qe))))])):"",qe;if(ye)qe=[ke," ",L("right"),Ee];else{let Qe=z(Y)&&ke==="|>"?H.call(Xe=>W(Xe,L,Y,!0,K),"right"):L("right");qe=[Ne?p:"",ke,Ne?" ":p,Qe,Ee]}let Se=H.getParentNode(),Te=J(ce.left,ee.Trailing|ee.Line),Ge=Te||!(K&&ce.type==="LogicalExpression")&&Se.type!==ce.type&&ce.left.type!==ce.type&&ce.right.type!==ce.type;if(we.push(Ne?"":" ",Ge?D(qe,{shouldBreak:Te}):qe),X&&J(ce)){let Qe=I(h(H,we,Y));return _(Qe)||Qe.type==="fill"?T(Qe):[Qe]}return we}function S(H){return H.type!=="LogicalExpression"?!1:!!(H.right.type==="ObjectExpression"&&H.right.properties.length>0||H.right.type==="ArrayExpression"&&H.right.elements.length>0||ne(H.right))}A.exports={printBinaryishExpression:O,shouldInlineLogicalExpression:S}}}),Cc=Oe({"src/language-js/print/angular.js"(m,A){b();var{builders:{join:h,line:C,group:x}}=bn(),{hasNode:p,hasComment:d,getComments:D}=qn(),{printBinaryishExpression:w}=ga();function k(I,T,_){let j=I.getValue();if(j.type.startsWith("NG"))switch(j.type){case"NGRoot":return[_("node"),d(j.node)?" //"+D(j.node)[0].value.trimEnd():""];case"NGPipeExpression":return w(I,T,_);case"NGChainedExpression":return x(h([";",C],I.map(re=>P(re)?_():["(",_(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[j.prefix,": ",j.value.trim()];case"NGMicrosyntax":return I.map((re,ne)=>[ne===0?"":R(re.getValue(),ne,j)?" ":[";",C],_()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(j.name)?j.name:JSON.stringify(j.name);case"NGMicrosyntaxExpression":return[_("expression"),j.alias===null?"":[" as ",_("alias")]];case"NGMicrosyntaxKeyedExpression":{let re=I.getName(),ne=I.getParentNode(),$=R(j,re,ne)||(re===1&&(j.key.name==="then"||j.key.name==="else")||re===2&&j.key.name==="else"&&ne.body[re-1].type==="NGMicrosyntaxKeyedExpression"&&ne.body[re-1].key.name==="then")&&ne.body[0].type==="NGMicrosyntaxExpression";return[_("key"),$?" ":": ",_("expression")]}case"NGMicrosyntaxLet":return["let ",_("key"),j.value===null?"":[" = ",_("value")]];case"NGMicrosyntaxAs":return[_("key")," as ",_("alias")];default:throw new Error("Unknown Angular node type: ".concat(JSON.stringify(j.type),"."))}}function R(I,T,_){return I.type==="NGMicrosyntaxKeyedExpression"&&I.key.name==="of"&&T===1&&_.body[0].type==="NGMicrosyntaxLet"&&_.body[0].value===null}function P(I){return p(I.getValue(),T=>{switch(T.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}A.exports={printAngular:k}}}),Fs=Oe({"src/language-js/print/jsx.js"(m,A){b();var{printComments:h,printDanglingComments:C}=gi(),{builders:{line:x,hardline:p,softline:d,group:D,indent:w,conditionalGroup:k,fill:R,ifBreak:P,lineSuffixBoundary:I,join:T},utils:{willBreak:_}}=bn(),{getLast:j,getPreferredQuote:re}=jn(),{isJsxNode:ne,rawText:$,isLiteral:J,isCallExpression:ee,isStringLiteral:oe,isBinaryish:ie,hasComment:se,CommentCheckFlags:z,hasNodeIgnoreComment:N}=qn(),O=wo(),{willPrintOwnComments:W}=Ss(),S=mt=>mt===""||mt===x||mt===p||mt===d;function H(mt,Le,Re){let He=mt.getValue();if(He.type==="JSXElement"&&Fe(He))return[Re("openingElement"),Re("closingElement")];let Et=He.type==="JSXElement"?Re("openingElement"):Re("openingFragment"),gt=He.type==="JSXElement"?Re("closingElement"):Re("closingFragment");if(He.children.length===1&&He.children[0].type==="JSXExpressionContainer"&&(He.children[0].expression.type==="TemplateLiteral"||He.children[0].expression.type==="TaggedTemplateExpression"))return[Et,...mt.map(Re,"children"),gt];He.children=He.children.map(o=>Dt(o)?{type:"JSXText",value:" ",raw:" "}:o);let ur=He.children.some(ne),Ur=He.children.filter(o=>o.type==="JSXExpressionContainer").length>1,Yr=He.type==="JSXElement"&&He.openingElement.attributes.length>1,Ft=_(Et)||ur||Yr||Ur,St=mt.getParentNode().rootMarker==="mdx",Mt=Le.singleQuote?"{' '}":'{" "}',tt=St?" ":P([Mt,d]," "),rr=He.openingElement&&He.openingElement.name&&He.openingElement.name.name==="fbt",$e=L(mt,Le,Re,tt,rr),Kt=He.children.some(o=>Ie(o));for(let o=$e.length-2;o>=0;o--){let i=$e[o]===""&&$e[o+1]==="",n=$e[o]===p&&$e[o+1]===""&&$e[o+2]===p,u=($e[o]===d||$e[o]===p)&&$e[o+1]===""&&$e[o+2]===tt,c=$e[o]===tt&&$e[o+1]===""&&($e[o+2]===d||$e[o+2]===p),y=$e[o]===tt&&$e[o+1]===""&&$e[o+2]===tt,B=$e[o]===d&&$e[o+1]===""&&$e[o+2]===p||$e[o]===p&&$e[o+1]===""&&$e[o+2]===d;n&&Kt||i||u||y||B?$e.splice(o,2):c&&$e.splice(o+1,2)}for(;$e.length>0&&S(j($e));)$e.pop();for(;$e.length>1&&S($e[0])&&S($e[1]);)$e.shift(),$e.shift();let qt=[];for(let[o,i]of $e.entries()){if(i===tt){if(o===1&&$e[o-1]===""){if($e.length===2){qt.push(Mt);continue}qt.push([Mt,p]);continue}else if(o===$e.length-1){qt.push(Mt);continue}else if($e[o-1]===""&&$e[o-2]===p){qt.push(Mt);continue}}qt.push(i),_(i)&&(Ft=!0)}let e=Kt?R(qt):D(qt,{shouldBreak:!0});if(St)return e;let t=D([Et,w([p,e]),p,gt]);return Ft?t:k([D([Et,...$e,gt]),t])}function L(mt,Le,Re,He,Et){let gt=[];return mt.each((ur,Ur,Yr)=>{let Ft=ur.getValue();if(J(Ft)){let St=$(Ft);if(Ie(Ft)){let Mt=St.split(Qe);if(Mt[0]===""){if(gt.push(""),Mt.shift(),/\n/.test(Mt[0])){let rr=Yr[Ur+1];gt.push(X(Et,Mt[1],Ft,rr))}else gt.push(He);Mt.shift()}let tt;if(j(Mt)===""&&(Mt.pop(),tt=Mt.pop()),Mt.length===0)return;for(let[rr,$e]of Mt.entries())rr%2===1?gt.push(x):gt.push($e);if(tt!==void 0)if(/\n/.test(tt)){let rr=Yr[Ur+1];gt.push(X(Et,j(gt),Ft,rr))}else gt.push(He);else{let rr=Yr[Ur+1];gt.push(Y(Et,j(gt),Ft,rr))}}else/\n/.test(St)?St.match(/\n/g).length>1&>.push("",p):gt.push("",He)}else{let St=Re();gt.push(St);let Mt=Yr[Ur+1];if(Mt&&Ie(Mt)){let tt=At($(Mt)).split(Qe)[0];gt.push(Y(Et,tt,Ft,Mt))}else gt.push(p)}},"children"),gt}function Y(mt,Le,Re,He){return mt?"":Re.type==="JSXElement"&&!Re.closingElement||He&&He.type==="JSXElement"&&!He.closingElement?Le.length===1?d:p:d}function X(mt,Le,Re,He){return mt?p:Le.length===1?Re.type==="JSXElement"&&!Re.closingElement||He&&He.type==="JSXElement"&&!He.closingElement?p:d:p}function K(mt,Le,Re){let He=mt.getParentNode();if(!He||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[He.type])return Le;let Et=mt.match(void 0,ur=>ur.type==="ArrowFunctionExpression",ee,ur=>ur.type==="JSXExpressionContainer"),gt=O(mt,Re);return D([gt?"":P("("),w([d,Le]),d,gt?"":P(")")],{shouldBreak:Et})}function ce(mt,Le,Re){let He=mt.getValue(),Et=[];if(Et.push(Re("name")),He.value){let gt;if(oe(He.value)){let ur=$(He.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:Ur,quote:Yr,regex:Ft}=re(ur,Le.jsxSingleQuote?"'":'"');ur=ur.replace(Ft,Ur),gt=[Yr,ur,Yr]}else gt=Re("value");Et.push("=",gt)}return Et}function we(mt,Le,Re){let He=mt.getValue(),Et=(gt,ur)=>gt.type==="JSXEmptyExpression"||!se(gt)&&(gt.type==="ArrayExpression"||gt.type==="ObjectExpression"||gt.type==="ArrowFunctionExpression"||gt.type==="AwaitExpression"&&(Et(gt.argument,gt)||gt.argument.type==="JSXElement")||ee(gt)||gt.type==="FunctionExpression"||gt.type==="TemplateLiteral"||gt.type==="TaggedTemplateExpression"||gt.type==="DoExpression"||ne(ur)&&(gt.type==="ConditionalExpression"||ie(gt)));return Et(He.expression,mt.getParentNode(0))?D(["{",Re("expression"),I,"}"]):D(["{",w([d,Re("expression")]),d,I,"}"])}function ye(mt,Le,Re){let He=mt.getValue(),Et=He.name&&se(He.name)||He.typeParameters&&se(He.typeParameters);if(He.selfClosing&&He.attributes.length===0&&!Et)return["<",Re("name"),Re("typeParameters")," />"];if(He.attributes&&He.attributes.length===1&&He.attributes[0].value&&oe(He.attributes[0].value)&&!He.attributes[0].value.value.includes(`
|
|
86
|
+
`)&&!Et&&!se(He.attributes[0]))return D(["<",Re("name"),Re("typeParameters")," ",...mt.map(Re,"attributes"),He.selfClosing?" />":">"]);let gt=He.attributes.length>0&&se(j(He.attributes),z.Trailing),ur=He.attributes.length===0&&!Et||(Le.bracketSameLine||Le.jsxBracketSameLine)&&(!Et||He.attributes.length>0)&&!gt,Ur=He.attributes&&He.attributes.some(Ft=>Ft.value&&oe(Ft.value)&&Ft.value.value.includes(`
|
|
87
|
+
`)),Yr=Le.singleAttributePerLine&&He.attributes.length>1?p:x;return D(["<",Re("name"),Re("typeParameters"),w(mt.map(()=>[Yr,Re()],"attributes")),He.selfClosing?x:ur?">":d,He.selfClosing?"/>":ur?"":">"],{shouldBreak:Ur})}function Ne(mt,Le,Re){let He=mt.getValue(),Et=[];Et.push("</");let gt=Re("name");return se(He.name,z.Leading|z.Line)?Et.push(w([p,gt]),p):se(He.name,z.Leading|z.Block)?Et.push(" ",gt):Et.push(gt),Et.push(">"),Et}function ke(mt,Le){let Re=mt.getValue(),He=se(Re),Et=se(Re,z.Line),gt=Re.type==="JSXOpeningFragment";return[gt?"<":"</",w([Et?p:He&&!gt?" ":"",C(mt,Le,!0)]),Et?p:"",">"]}function Ee(mt,Le,Re){let He=h(mt,H(mt,Le,Re),Le);return K(mt,He,Le)}function qe(mt,Le){let Re=mt.getValue(),He=se(Re,z.Line);return[C(mt,Le,!He),He?p:""]}function Se(mt,Le,Re){let He=mt.getValue();return["{",mt.call(Et=>{let gt=["...",Re()],ur=Et.getValue();return!se(ur)||!W(Et)?gt:[w([d,h(Et,gt,Le)]),d]},He.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function Te(mt,Le,Re){let He=mt.getValue();if(He.type.startsWith("JSX"))switch(He.type){case"JSXAttribute":return ce(mt,Le,Re);case"JSXIdentifier":return String(He.name);case"JSXNamespacedName":return T(":",[Re("namespace"),Re("name")]);case"JSXMemberExpression":return T(".",[Re("object"),Re("property")]);case"JSXSpreadAttribute":return Se(mt,Le,Re);case"JSXSpreadChild":return Se(mt,Le,Re);case"JSXExpressionContainer":return we(mt,Le,Re);case"JSXFragment":case"JSXElement":return Ee(mt,Le,Re);case"JSXOpeningElement":return ye(mt,Le,Re);case"JSXClosingElement":return Ne(mt,Le,Re);case"JSXOpeningFragment":case"JSXClosingFragment":return ke(mt,Le);case"JSXEmptyExpression":return qe(mt,Le);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error("Unknown JSX node type: ".concat(JSON.stringify(He.type),"."))}}var Ge=`
|
|
88
|
+
\r `,Qe=new RegExp("(["+Ge+"]+)"),Xe=new RegExp("[^"+Ge+"]"),At=mt=>mt.replace(new RegExp("(?:^"+Qe.source+"|"+Qe.source+"$)"),"");function Fe(mt){if(mt.children.length===0)return!0;if(mt.children.length>1)return!1;let Le=mt.children[0];return J(Le)&&!Ie(Le)}function Ie(mt){return J(mt)&&(Xe.test($(mt))||!/\n/.test($(mt)))}function Dt(mt){return mt.type==="JSXExpressionContainer"&&J(mt.expression)&&mt.expression.value===" "&&!se(mt.expression)}function _t(mt){let Le=mt.getValue(),Re=mt.getParentNode();if(!Re||!Le||!ne(Le)||!ne(Re))return!1;let He=Re.children.indexOf(Le),Et=null;for(let gt=He;gt>0;gt--){let ur=Re.children[gt-1];if(!(ur.type==="JSXText"&&!Ie(ur))){Et=ur;break}}return Et&&Et.type==="JSXExpressionContainer"&&Et.expression.type==="JSXEmptyExpression"&&N(Et.expression)}A.exports={hasJsxIgnoreComment:_t,printJsx:Te}}}),zi=Oe({"src/language-js/print/misc.js"(m,A){b();var{isNonEmptyArray:h}=jn(),{builders:{indent:C,join:x,line:p}}=bn(),{isFlowAnnotationComment:d}=qn();function D(j){let re=j.getValue();return!re.optional||re.type==="Identifier"&&re===j.getParentNode().key?"":re.type==="OptionalCallExpression"||re.type==="OptionalMemberExpression"&&re.computed?"?.":"?"}function w(j){return j.getValue().definite||j.match(void 0,(re,ne)=>ne==="id"&&re.type==="VariableDeclarator"&&re.definite)?"!":""}function k(j,re,ne){let $=j.getValue();return $.typeArguments?ne("typeArguments"):$.typeParameters?ne("typeParameters"):""}function R(j,re,ne){let $=j.getValue();if(!$.typeAnnotation)return"";let J=j.getParentNode(),ee=J.type==="DeclareFunction"&&J.id===$;return d(re.originalText,$.typeAnnotation)?[" /*: ",ne("typeAnnotation")," */"]:[ee?"":": ",ne("typeAnnotation")]}function P(j,re,ne){return["::",ne("callee")]}function I(j,re,ne){let $=j.getValue();return h($.modifiers)?[x(" ",j.map(ne,"modifiers"))," "]:""}function T(j,re,ne){return j.type==="EmptyStatement"?";":j.type==="BlockStatement"||ne?[" ",re]:C([p,re])}function _(j,re,ne){return["...",ne("argument"),R(j,re,ne)]}A.exports={printOptionalToken:D,printDefiniteToken:w,printFunctionTypeParameters:k,printBindExpressionCallee:P,printTypeScriptModifiers:I,printTypeAnnotation:R,printRestSpread:_,adjustClause:T}}}),ma=Oe({"src/language-js/print/array.js"(m,A){b();var{printDanglingComments:h}=gi(),{builders:{line:C,softline:x,hardline:p,group:d,indent:D,ifBreak:w,fill:k}}=bn(),{getLast:R,hasNewline:P}=jn(),{shouldPrintComma:I,hasComment:T,CommentCheckFlags:_,isNextLineEmpty:j,isNumericLiteral:re,isSignedNumericLiteral:ne}=qn(),{locStart:$}=Ci(),{printOptionalToken:J,printTypeAnnotation:ee}=zi();function oe(N,O,W){let S=N.getValue(),H=[],L=S.type==="TupleExpression"?"#[":"[",Y="]";if(S.elements.length===0)T(S,_.Dangling)?H.push(d([L,h(N,O),x,Y])):H.push(L,Y);else{let X=R(S.elements),K=!(X&&X.type==="RestElement"),ce=X===null,we=Symbol("array"),ye=!O.__inJestEach&&S.elements.length>1&&S.elements.every((Ee,qe,Se)=>{let Te=Ee&&Ee.type;if(Te!=="ArrayExpression"&&Te!=="ObjectExpression")return!1;let Ge=Se[qe+1];if(Ge&&Te!==Ge.type)return!1;let Qe=Te==="ArrayExpression"?"elements":"properties";return Ee[Qe]&&Ee[Qe].length>1}),Ne=ie(S,O),ke=K?ce?",":I(O)?Ne?w(",","",{groupId:we}):w(","):"":"";H.push(d([L,D([x,Ne?z(N,O,W,ke):[se(N,O,"elements",W),ke],h(N,O,!0)]),x,Y],{shouldBreak:ye,id:we}))}return H.push(J(N),ee(N,O,W)),H}function ie(N,O){return N.elements.length>1&&N.elements.every(W=>W&&(re(W)||ne(W)&&!T(W.argument))&&!T(W,_.Trailing|_.Line,S=>!P(O.originalText,$(S),{backwards:!0})))}function se(N,O,W,S){let H=[],L=[];return N.each(Y=>{H.push(L,d(S())),L=[",",C],Y.getValue()&&j(Y.getValue(),O)&&L.push(x)},W),H}function z(N,O,W,S){let H=[];return N.each((L,Y,X)=>{let K=Y===X.length-1;H.push([W(),K?S:","]),K||H.push(j(L.getValue(),O)?[p,p]:T(X[Y+1],_.Leading|_.Line)?p:C)},"elements"),k(H)}A.exports={printArray:oe,printArrayItems:se,isConciselyPrintedArray:ie}}}),Zu=Oe({"src/language-js/print/call-arguments.js"(m,A){b();var{printDanglingComments:h}=gi(),{getLast:C,getPenultimate:x}=jn(),{getFunctionParameters:p,hasComment:d,CommentCheckFlags:D,isFunctionCompositionArgs:w,isJsxNode:k,isLongCurriedCallExpression:R,shouldPrintComma:P,getCallArguments:I,iterateCallArgumentsPath:T,isNextLineEmpty:_,isCallExpression:j,isStringLiteral:re,isObjectProperty:ne}=qn(),{builders:{line:$,hardline:J,softline:ee,group:oe,indent:ie,conditionalGroup:se,ifBreak:z,breakParent:N},utils:{willBreak:O}}=bn(),{ArgExpansionBailout:W}=Ds(),{isConciselyPrintedArray:S}=ma();function H(ye,Ne,ke){let Ee=ye.getValue(),qe=Ee.type==="ImportExpression",Se=I(Ee);if(Se.length===0)return["(",h(ye,Ne,!0),")"];if(K(Se))return["(",ke(["arguments",0]),", ",ke(["arguments",1]),")"];let Te=!1,Ge=!1,Qe=Se.length-1,Xe=[];T(ye,(mt,Le)=>{let Re=mt.getNode(),He=[ke()];Le===Qe||(_(Re,Ne)?(Le===0&&(Ge=!0),Te=!0,He.push(",",J,J)):He.push(",",$)),Xe.push(He)});let At=!(qe||Ee.callee&&Ee.callee.type==="Import")&&P(Ne,"all")?",":"";function Fe(){return oe(["(",ie([$,...Xe]),At,$,")"],{shouldBreak:!0})}if(Te||ye.getParentNode().type!=="Decorator"&&w(Se))return Fe();let Ie=X(Se),Dt=Y(Se,Ne);if(Ie||Dt){if(Ie?Xe.slice(1).some(O):Xe.slice(0,-1).some(O))return Fe();let mt=[];try{ye.try(()=>{T(ye,(Le,Re)=>{Ie&&Re===0&&(mt=[[ke([],{expandFirstArg:!0}),Xe.length>1?",":"",Ge?J:$,Ge?J:""],...Xe.slice(1)]),Dt&&Re===Qe&&(mt=[...Xe.slice(0,-1),ke([],{expandLastArg:!0})])})})}catch(Le){if(Le instanceof W)return Fe();throw Le}return[Xe.some(O)?N:"",se([["(",...mt,")"],Ie?["(",oe(mt[0],{shouldBreak:!0}),...mt.slice(1),")"]:["(",...Xe.slice(0,-1),oe(C(mt),{shouldBreak:!0}),")"],Fe()])]}let _t=["(",ie([ee,...Xe]),z(At),ee,")"];return R(ye)?_t:oe(_t,{shouldBreak:Xe.some(O)||Te})}function L(ye){let Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ye.type==="ObjectExpression"&&(ye.properties.length>0||d(ye))||ye.type==="ArrayExpression"&&(ye.elements.length>0||d(ye))||ye.type==="TSTypeAssertion"&&L(ye.expression)||ye.type==="TSAsExpression"&&L(ye.expression)||ye.type==="FunctionExpression"||ye.type==="ArrowFunctionExpression"&&(!ye.returnType||!ye.returnType.typeAnnotation||ye.returnType.typeAnnotation.type!=="TSTypeReference"||ce(ye.body))&&(ye.body.type==="BlockStatement"||ye.body.type==="ArrowFunctionExpression"&&L(ye.body,!0)||ye.body.type==="ObjectExpression"||ye.body.type==="ArrayExpression"||!Ne&&(j(ye.body)||ye.body.type==="ConditionalExpression")||k(ye.body))||ye.type==="DoExpression"||ye.type==="ModuleExpression"}function Y(ye,Ne){let ke=C(ye),Ee=x(ye);return!d(ke,D.Leading)&&!d(ke,D.Trailing)&&L(ke)&&(!Ee||Ee.type!==ke.type)&&(ye.length!==2||Ee.type!=="ArrowFunctionExpression"||ke.type!=="ArrayExpression")&&!(ye.length>1&&ke.type==="ArrayExpression"&&S(ke,Ne))}function X(ye){if(ye.length!==2)return!1;let[Ne,ke]=ye;return Ne.type==="ModuleExpression"&&we(ke)?!0:!d(Ne)&&(Ne.type==="FunctionExpression"||Ne.type==="ArrowFunctionExpression"&&Ne.body.type==="BlockStatement")&&ke.type!=="FunctionExpression"&&ke.type!=="ArrowFunctionExpression"&&ke.type!=="ConditionalExpression"&&!L(ke)}function K(ye){return ye.length===2&&ye[0].type==="ArrowFunctionExpression"&&p(ye[0]).length===0&&ye[0].body.type==="BlockStatement"&&ye[1].type==="ArrayExpression"&&!ye.some(Ne=>d(Ne))}function ce(ye){return ye.type==="BlockStatement"&&(ye.body.some(Ne=>Ne.type!=="EmptyStatement")||d(ye,D.Dangling))}function we(ye){return ye.type==="ObjectExpression"&&ye.properties.length===1&&ne(ye.properties[0])&&ye.properties[0].key.type==="Identifier"&&ye.properties[0].key.name==="type"&&re(ye.properties[0].value)&&ye.properties[0].value.value==="module"}A.exports=H}}),Tl=Oe({"src/language-js/print/member.js"(m,A){b();var{builders:{softline:h,group:C,indent:x,label:p}}=bn(),{isNumericLiteral:d,isMemberExpression:D,isCallExpression:w}=qn(),{printOptionalToken:k}=zi();function R(I,T,_){let j=I.getValue(),re=I.getParentNode(),ne,$=0;do ne=I.getParentNode($),$++;while(ne&&(D(ne)||ne.type==="TSNonNullExpression"));let J=_("object"),ee=P(I,T,_),oe=ne&&(ne.type==="NewExpression"||ne.type==="BindExpression"||ne.type==="AssignmentExpression"&&ne.left.type!=="Identifier")||j.computed||j.object.type==="Identifier"&&j.property.type==="Identifier"&&!D(re)||(re.type==="AssignmentExpression"||re.type==="VariableDeclarator")&&(w(j.object)&&j.object.arguments.length>0||j.object.type==="TSNonNullExpression"&&w(j.object.expression)&&j.object.expression.arguments.length>0||J.label==="member-chain");return p(J.label==="member-chain"?"member-chain":"member",[J,oe?ee:C(x([h,ee]))])}function P(I,T,_){let j=_("property"),re=I.getValue(),ne=k(I);return re.computed?!re.property||d(re.property)?[ne,"[",j,"]"]:C([ne,"[",x([h,j]),h,"]"]):[ne,".",j]}A.exports={printMemberExpression:R,printMemberLookup:P}}}),Ec=Oe({"src/language-js/print/member-chain.js"(m,A){b();var{printComments:h}=gi(),{getLast:C,isNextLineEmptyAfterIndex:x,getNextNonSpaceNonCommentCharacterIndex:p}=jn(),d=wo(),{isCallExpression:D,isMemberExpression:w,isFunctionOrArrowExpression:k,isLongCurriedCallExpression:R,isMemberish:P,isNumericLiteral:I,isSimpleCallArgument:T,hasComment:_,CommentCheckFlags:j,isNextLineEmpty:re}=qn(),{locEnd:ne}=Ci(),{builders:{join:$,hardline:J,group:ee,indent:oe,conditionalGroup:ie,breakParent:se,label:z},utils:{willBreak:N}}=bn(),O=Zu(),{printMemberLookup:W}=Tl(),{printOptionalToken:S,printFunctionTypeParameters:H,printBindExpressionCallee:L}=zi();function Y(X,K,ce){let we=X.getParentNode(),ye=!we||we.type==="ExpressionStatement",Ne=[];function ke(Mt){let{originalText:tt}=K,rr=p(tt,Mt,ne);return tt.charAt(rr)===")"?rr!==!1&&x(tt,rr+1):re(Mt,K)}function Ee(Mt){let tt=Mt.getValue();D(tt)&&(P(tt.callee)||D(tt.callee))?(Ne.unshift({node:tt,printed:[h(Mt,[S(Mt),H(Mt,K,ce),O(Mt,K,ce)],K),ke(tt)?J:""]}),Mt.call(rr=>Ee(rr),"callee")):P(tt)?(Ne.unshift({node:tt,needsParens:d(Mt,K),printed:h(Mt,w(tt)?W(Mt,K,ce):L(Mt,K,ce),K)}),Mt.call(rr=>Ee(rr),"object")):tt.type==="TSNonNullExpression"?(Ne.unshift({node:tt,printed:h(Mt,"!",K)}),Mt.call(rr=>Ee(rr),"expression")):Ne.unshift({node:tt,printed:ce()})}let qe=X.getValue();Ne.unshift({node:qe,printed:[S(X),H(X,K,ce),O(X,K,ce)]}),qe.callee&&X.call(Mt=>Ee(Mt),"callee");let Se=[],Te=[Ne[0]],Ge=1;for(;Ge<Ne.length&&(Ne[Ge].node.type==="TSNonNullExpression"||D(Ne[Ge].node)||w(Ne[Ge].node)&&Ne[Ge].node.computed&&I(Ne[Ge].node.property));++Ge)Te.push(Ne[Ge]);if(!D(Ne[0].node))for(;Ge+1<Ne.length&&P(Ne[Ge].node)&&P(Ne[Ge+1].node);++Ge)Te.push(Ne[Ge]);Se.push(Te),Te=[];let Qe=!1;for(;Ge<Ne.length;++Ge){if(Qe&&P(Ne[Ge].node)){if(Ne[Ge].node.computed&&I(Ne[Ge].node.property)){Te.push(Ne[Ge]);continue}Se.push(Te),Te=[],Qe=!1}(D(Ne[Ge].node)||Ne[Ge].node.type==="ImportExpression")&&(Qe=!0),Te.push(Ne[Ge]),_(Ne[Ge].node,j.Trailing)&&(Se.push(Te),Te=[],Qe=!1)}Te.length>0&&Se.push(Te);function Xe(Mt){return/^[A-Z]|^[$_]+$/.test(Mt)}function At(Mt){return Mt.length<=K.tabWidth}function Fe(Mt){let tt=Mt[1].length>0&&Mt[1][0].node.computed;if(Mt[0].length===1){let $e=Mt[0][0].node;return $e.type==="ThisExpression"||$e.type==="Identifier"&&(Xe($e.name)||ye&&At($e.name)||tt)}let rr=C(Mt[0]).node;return w(rr)&&rr.property.type==="Identifier"&&(Xe(rr.property.name)||tt)}let Ie=Se.length>=2&&!_(Se[1][0].node)&&Fe(Se);function Dt(Mt){let tt=Mt.map(rr=>rr.printed);return Mt.length>0&&C(Mt).needsParens?["(",...tt,")"]:tt}function _t(Mt){return Mt.length===0?"":oe(ee([J,$(J,Mt.map(Dt))]))}let mt=Se.map(Dt),Le=mt,Re=Ie?3:2,He=Se.flat(),Et=He.slice(1,-1).some(Mt=>_(Mt.node,j.Leading))||He.slice(0,-1).some(Mt=>_(Mt.node,j.Trailing))||Se[Re]&&_(Se[Re][0].node,j.Leading);if(Se.length<=Re&&!Et)return R(X)?Le:ee(Le);let gt=C(Se[Ie?1:0]).node,ur=!D(gt)&&ke(gt),Ur=[Dt(Se[0]),Ie?Se.slice(1,2).map(Dt):"",ur?J:"",_t(Se.slice(Ie?2:1))],Yr=Ne.map(Mt=>{let{node:tt}=Mt;return tt}).filter(D);function Ft(){let Mt=C(C(Se)).node,tt=C(mt);return D(Mt)&&N(tt)&&Yr.slice(0,-1).some(rr=>rr.arguments.some(k))}let St;return Et||Yr.length>2&&Yr.some(Mt=>!Mt.arguments.every(tt=>T(tt,0)))||mt.slice(0,-1).some(N)||Ft()?St=ee(Ur):St=[N(Le)||ur?se:"",ie([Le,Ur])],z("member-chain",St)}A.exports=Y}}),eu=Oe({"src/language-js/print/call-expression.js"(m,A){b();var{builders:{join:h,group:C}}=bn(),x=wo(),{getCallArguments:p,hasFlowAnnotationComment:d,isCallExpression:D,isMemberish:w,isStringLiteral:k,isTemplateOnItsOwnLine:R,isTestCall:P,iterateCallArgumentsPath:I}=qn(),T=Ec(),_=Zu(),{printOptionalToken:j,printFunctionTypeParameters:re}=zi();function ne(J,ee,oe){let ie=J.getValue(),se=J.getParentNode(),z=ie.type==="NewExpression",N=ie.type==="ImportExpression",O=j(J),W=p(ie);if(W.length>0&&(!N&&!z&&$(ie,se)||W.length===1&&R(W[0],ee.originalText)||!z&&P(ie,se))){let L=[];return I(J,()=>{L.push(oe())}),[z?"new ":"",oe("callee"),O,re(J,ee,oe),"(",h(", ",L),")"]}let S=(ee.parser==="babel"||ee.parser==="babel-flow")&&ie.callee&&ie.callee.type==="Identifier"&&d(ie.callee.trailingComments);if(S&&(ie.callee.trailingComments[0].printed=!0),!N&&!z&&w(ie.callee)&&!J.call(L=>x(L,ee),"callee"))return T(J,ee,oe);let H=[z?"new ":"",N?"import":oe("callee"),O,S?"/*:: ".concat(ie.callee.trailingComments[0].value.slice(2).trim()," */"):"",re(J,ee,oe),_(J,ee,oe)];return N||D(ie.callee)?C(H):H}function $(J,ee){if(J.callee.type!=="Identifier")return!1;if(J.callee.name==="require")return!0;if(J.callee.name==="define"){let oe=p(J);return ee.type==="ExpressionStatement"&&(oe.length===1||oe.length===2&&oe[0].type==="ArrayExpression"||oe.length===3&&k(oe[0])&&oe[1].type==="ArrayExpression")}return!1}A.exports={printCallExpression:ne}}}),ya=Oe({"src/language-js/print/assignment.js"(m,A){b();var{isNonEmptyArray:h,getStringWidth:C}=jn(),{builders:{line:x,group:p,indent:d,indentIfBreak:D,lineSuffixBoundary:w},utils:{cleanDoc:k,willBreak:R,canBreak:P}}=bn(),{hasLeadingOwnLineComment:I,isBinaryish:T,isStringLiteral:_,isLiteral:j,isNumericLiteral:re,isCallExpression:ne,isMemberExpression:$,getCallArguments:J,rawText:ee,hasComment:oe,isSignedNumericLiteral:ie,isObjectProperty:se}=qn(),{shouldInlineLogicalExpression:z}=ga(),{printCallExpression:N}=eu();function O(Fe,Ie,Dt,_t,mt,Le){let Re=H(Fe,Ie,Dt,_t,Le),He=Dt(Le,{assignmentLayout:Re});switch(Re){case"break-after-operator":return p([p(_t),mt,p(d([x,He]))]);case"never-break-after-operator":return p([p(_t),mt," ",He]);case"fluid":{let Et=Symbol("assignment");return p([p(_t),mt,p(d(x),{id:Et}),w,D(He,{groupId:Et})])}case"break-lhs":return p([_t,mt," ",p(He)]);case"chain":return[p(_t),mt,x,He];case"chain-tail":return[p(_t),mt,d([x,He])];case"chain-tail-arrow-chain":return[p(_t),mt,He];case"only-left":return _t}}function W(Fe,Ie,Dt){let _t=Fe.getValue();return O(Fe,Ie,Dt,Dt("left"),[" ",_t.operator],"right")}function S(Fe,Ie,Dt){return O(Fe,Ie,Dt,Dt("id")," =","init")}function H(Fe,Ie,Dt,_t,mt){let Le=Fe.getValue(),Re=Le[mt];if(!Re)return"only-left";let He=!X(Re);if(Fe.match(X,K,gt=>!He||gt.type!=="ExpressionStatement"&>.type!=="VariableDeclaration"))return He?Re.type==="ArrowFunctionExpression"&&Re.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!He&&X(Re.right)||I(Ie.originalText,Re))return"break-after-operator";if(Re.type==="CallExpression"&&Re.callee.name==="require"||Ie.parser==="json5"||Ie.parser==="json")return"never-break-after-operator";if(Y(Le)||ce(Le)||Ne(Le)||ke(Le)&&P(_t))return"break-lhs";let Et=Qe(Le,_t,Ie);return Fe.call(()=>L(Fe,Ie,Dt,Et),mt)?"break-after-operator":Et||Re.type==="TemplateLiteral"||Re.type==="TaggedTemplateExpression"||Re.type==="BooleanLiteral"||re(Re)||Re.type==="ClassExpression"?"never-break-after-operator":"fluid"}function L(Fe,Ie,Dt,_t){let mt=Fe.getValue();if(T(mt)&&!z(mt))return!0;switch(mt.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:He}=mt;return T(He)&&!z(He)}case"ClassExpression":return h(mt.decorators)}if(_t)return!1;let Le=mt,Re=[];for(;;)if(Le.type==="UnaryExpression")Le=Le.argument,Re.push("argument");else if(Le.type==="TSNonNullExpression")Le=Le.expression,Re.push("expression");else break;return!!(_(Le)||Fe.call(()=>Se(Fe,Ie,Dt),...Re))}function Y(Fe){if(K(Fe)){let Ie=Fe.left||Fe.id;return Ie.type==="ObjectPattern"&&Ie.properties.length>2&&Ie.properties.some(Dt=>se(Dt)&&(!Dt.shorthand||Dt.value&&Dt.value.type==="AssignmentPattern"))}return!1}function X(Fe){return Fe.type==="AssignmentExpression"}function K(Fe){return X(Fe)||Fe.type==="VariableDeclarator"}function ce(Fe){let Ie=we(Fe);if(h(Ie)){let Dt=Fe.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(Ie.length>1&&Ie.some(_t=>_t[Dt]||_t.default))return!0}return!1}function we(Fe){return ye(Fe)&&Fe.typeParameters&&Fe.typeParameters.params?Fe.typeParameters.params:null}function ye(Fe){return Fe.type==="TSTypeAliasDeclaration"||Fe.type==="TypeAlias"}function Ne(Fe){if(Fe.type!=="VariableDeclarator")return!1;let{typeAnnotation:Ie}=Fe.id;if(!Ie||!Ie.typeAnnotation)return!1;let Dt=Ee(Ie.typeAnnotation);return h(Dt)&&Dt.length>1&&Dt.some(_t=>h(Ee(_t))||_t.type==="TSConditionalType")}function ke(Fe){return Fe.type==="VariableDeclarator"&&Fe.init&&Fe.init.type==="ArrowFunctionExpression"}function Ee(Fe){return qe(Fe)&&Fe.typeParameters&&Fe.typeParameters.params?Fe.typeParameters.params:null}function qe(Fe){return Fe.type==="TSTypeReference"||Fe.type==="GenericTypeAnnotation"}function Se(Fe,Ie,Dt){let _t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,mt=Fe.getValue(),Le=()=>Se(Fe,Ie,Dt,!0);if(mt.type==="TSNonNullExpression")return Fe.call(Le,"expression");if(ne(mt)){if(N(Fe,Ie,Dt).label==="member-chain")return!1;let Re=J(mt);return!(Re.length===0||Re.length===1&&Ge(Re[0],Ie))||Xe(mt,Dt)?!1:Fe.call(Le,"callee")}return $(mt)?Fe.call(Le,"object"):_t&&(mt.type==="Identifier"||mt.type==="ThisExpression")}var Te=.25;function Ge(Fe,Ie){let{printWidth:Dt}=Ie;if(oe(Fe))return!1;let _t=Dt*Te;if(Fe.type==="ThisExpression"||Fe.type==="Identifier"&&Fe.name.length<=_t||ie(Fe)&&!oe(Fe.argument))return!0;let mt=Fe.type==="Literal"&&"regex"in Fe&&Fe.regex.pattern||Fe.type==="RegExpLiteral"&&Fe.pattern;return mt?mt.length<=_t:_(Fe)?ee(Fe).length<=_t:Fe.type==="TemplateLiteral"?Fe.expressions.length===0&&Fe.quasis[0].value.raw.length<=_t&&!Fe.quasis[0].value.raw.includes(`
|
|
89
|
+
`):j(Fe)}function Qe(Fe,Ie,Dt){if(!se(Fe))return!1;Ie=k(Ie);let _t=3;return typeof Ie=="string"&&C(Ie)<Dt.tabWidth+_t}function Xe(Fe,Ie){let Dt=At(Fe);if(h(Dt)){if(Dt.length>1)return!0;if(Dt.length===1){let mt=Dt[0];if(mt.type==="TSUnionType"||mt.type==="UnionTypeAnnotation"||mt.type==="TSIntersectionType"||mt.type==="IntersectionTypeAnnotation"||mt.type==="TSTypeLiteral"||mt.type==="ObjectTypeAnnotation")return!0}let _t=Fe.typeParameters?"typeParameters":"typeArguments";if(R(Ie(_t)))return!0}return!1}function At(Fe){return Fe.typeParameters&&Fe.typeParameters.params||Fe.typeArguments&&Fe.typeArguments.params}A.exports={printVariableDeclarator:S,printAssignmentExpression:W,printAssignment:O,isArrowFunctionVariableDeclarator:ke}}}),Wi=Oe({"src/language-js/print/function-parameters.js"(m,A){b();var{getNextNonSpaceNonCommentCharacter:h}=jn(),{printDanglingComments:C}=gi(),{builders:{line:x,hardline:p,softline:d,group:D,indent:w,ifBreak:k},utils:{removeLines:R,willBreak:P}}=bn(),{getFunctionParameters:I,iterateFunctionParametersPath:T,isSimpleType:_,isTestCall:j,isTypeAnnotationAFunction:re,isObjectType:ne,isObjectTypePropertyAFunction:$,hasRestParameter:J,shouldPrintComma:ee,hasComment:oe,isNextLineEmpty:ie}=qn(),{locEnd:se}=Ci(),{ArgExpansionBailout:z}=Ds(),{printFunctionTypeParameters:N}=zi();function O(L,Y,X,K,ce){let we=L.getValue(),ye=I(we),Ne=ce?N(L,X,Y):"";if(ye.length===0)return[Ne,"(",C(L,X,!0,Ge=>h(X.originalText,Ge,se)===")"),")"];let ke=L.getParentNode(),Ee=j(ke),qe=W(we),Se=[];if(T(L,(Ge,Qe)=>{let Xe=Qe===ye.length-1;Xe&&we.rest&&Se.push("..."),Se.push(Y()),!Xe&&(Se.push(","),Ee||qe?Se.push(" "):ie(ye[Qe],X)?Se.push(p,p):Se.push(x))}),K){if(P(Ne)||P(Se))throw new z;return D([R(Ne),"(",R(Se),")"])}let Te=ye.every(Ge=>!Ge.decorators);return qe&&Te?[Ne,"(",...Se,")"]:Ee?[Ne,"(",...Se,")"]:($(ke)||re(ke)||ke.type==="TypeAlias"||ke.type==="UnionTypeAnnotation"||ke.type==="TSUnionType"||ke.type==="IntersectionTypeAnnotation"||ke.type==="FunctionTypeAnnotation"&&ke.returnType===we)&&ye.length===1&&ye[0].name===null&&we.this!==ye[0]&&ye[0].typeAnnotation&&we.typeParameters===null&&_(ye[0].typeAnnotation)&&!we.rest?X.arrowParens==="always"?["(",...Se,")"]:Se:[Ne,"(",w([d,...Se]),k(!J(we)&&ee(X,"all")?",":""),d,")"]}function W(L){if(!L)return!1;let Y=I(L);if(Y.length!==1)return!1;let[X]=Y;return!oe(X)&&(X.type==="ObjectPattern"||X.type==="ArrayPattern"||X.type==="Identifier"&&X.typeAnnotation&&(X.typeAnnotation.type==="TypeAnnotation"||X.typeAnnotation.type==="TSTypeAnnotation")&&ne(X.typeAnnotation.typeAnnotation)||X.type==="FunctionTypeParam"&&ne(X.typeAnnotation)||X.type==="AssignmentPattern"&&(X.left.type==="ObjectPattern"||X.left.type==="ArrayPattern")&&(X.right.type==="Identifier"||X.right.type==="ObjectExpression"&&X.right.properties.length===0||X.right.type==="ArrayExpression"&&X.right.elements.length===0))}function S(L){let Y;return L.returnType?(Y=L.returnType,Y.typeAnnotation&&(Y=Y.typeAnnotation)):L.typeAnnotation&&(Y=L.typeAnnotation),Y}function H(L,Y){let X=S(L);if(!X)return!1;let K=L.typeParameters&&L.typeParameters.params;if(K){if(K.length>1)return!1;if(K.length===1){let ce=K[0];if(ce.constraint||ce.default)return!1}}return I(L).length===1&&(ne(X)||P(Y))}A.exports={printFunctionParameters:O,shouldHugFunctionParameters:W,shouldGroupFunctionParameters:H}}}),Ei=Oe({"src/language-js/print/type-annotation.js"(m,A){b();var{printComments:h,printDanglingComments:C}=gi(),{isNonEmptyArray:x}=jn(),{builders:{group:p,join:d,line:D,softline:w,indent:k,align:R,ifBreak:P}}=bn(),I=wo(),{locStart:T}=Ci(),{isSimpleType:_,isObjectType:j,hasLeadingOwnLineComment:re,isObjectTypePropertyAFunction:ne,shouldPrintComma:$}=qn(),{printAssignment:J}=ya(),{printFunctionParameters:ee,shouldGroupFunctionParameters:oe}=Wi(),{printArrayItems:ie}=ma();function se(X){if(_(X)||j(X))return!0;if(X.type==="UnionTypeAnnotation"||X.type==="TSUnionType"){let K=X.types.filter(we=>we.type==="VoidTypeAnnotation"||we.type==="TSVoidKeyword"||we.type==="NullLiteralTypeAnnotation"||we.type==="TSNullKeyword").length,ce=X.types.some(we=>we.type==="ObjectTypeAnnotation"||we.type==="TSTypeLiteral"||we.type==="GenericTypeAnnotation"||we.type==="TSTypeReference");if(X.types.length-1===K&&ce)return!0}return!1}function z(X,K,ce){let we=K.semi?";":"",ye=X.getValue(),Ne=[];return Ne.push("opaque type ",ce("id"),ce("typeParameters")),ye.supertype&&Ne.push(": ",ce("supertype")),ye.impltype&&Ne.push(" = ",ce("impltype")),Ne.push(we),Ne}function N(X,K,ce){let we=K.semi?";":"",ye=X.getValue(),Ne=[];ye.declare&&Ne.push("declare "),Ne.push("type ",ce("id"),ce("typeParameters"));let ke=ye.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[J(X,K,ce,Ne," =",ke),we]}function O(X,K,ce){let we=X.getValue(),ye=X.map(ce,"types"),Ne=[],ke=!1;for(let Ee=0;Ee<ye.length;++Ee)Ee===0?Ne.push(ye[Ee]):j(we.types[Ee-1])&&j(we.types[Ee])?Ne.push([" & ",ke?k(ye[Ee]):ye[Ee]]):!j(we.types[Ee-1])&&!j(we.types[Ee])?Ne.push(k([" &",D,ye[Ee]])):(Ee>1&&(ke=!0),Ne.push(" & ",Ee>1?k(ye[Ee]):ye[Ee]));return p(Ne)}function W(X,K,ce){let we=X.getValue(),ye=X.getParentNode(),Ne=ye.type!=="TypeParameterInstantiation"&&ye.type!=="TSTypeParameterInstantiation"&&ye.type!=="GenericTypeAnnotation"&&ye.type!=="TSTypeReference"&&ye.type!=="TSTypeAssertion"&&ye.type!=="TupleTypeAnnotation"&&ye.type!=="TSTupleType"&&!(ye.type==="FunctionTypeParam"&&!ye.name&&X.getParentNode(1).this!==ye)&&!((ye.type==="TypeAlias"||ye.type==="VariableDeclarator"||ye.type==="TSTypeAliasDeclaration")&&re(K.originalText,we)),ke=se(we),Ee=X.map(Te=>{let Ge=ce();return ke||(Ge=R(2,Ge)),h(Te,Ge,K)},"types");if(ke)return d(" | ",Ee);let qe=Ne&&!re(K.originalText,we),Se=[P([qe?D:"","| "]),d([D,"| "],Ee)];return I(X,K)?p([k(Se),w]):ye.type==="TupleTypeAnnotation"&&ye.types.length>1||ye.type==="TSTupleType"&&ye.elementTypes.length>1?p([k([P(["(",w]),Se]),w,P(")")]):p(Ne?k(Se):Se)}function S(X,K,ce){let we=X.getValue(),ye=[],Ne=X.getParentNode(0),ke=X.getParentNode(1),Ee=X.getParentNode(2),qe=we.type==="TSFunctionType"||!((Ne.type==="ObjectTypeProperty"||Ne.type==="ObjectTypeInternalSlot")&&!Ne.variance&&!Ne.optional&&T(Ne)===T(we)||Ne.type==="ObjectTypeCallProperty"||Ee&&Ee.type==="DeclareFunction"),Se=qe&&(Ne.type==="TypeAnnotation"||Ne.type==="TSTypeAnnotation"),Te=Se&&qe&&(Ne.type==="TypeAnnotation"||Ne.type==="TSTypeAnnotation")&&ke.type==="ArrowFunctionExpression";ne(Ne)&&(qe=!0,Se=!0),Te&&ye.push("(");let Ge=ee(X,ce,K,!1,!0),Qe=we.returnType||we.predicate||we.typeAnnotation?[qe?" => ":": ",ce("returnType"),ce("predicate"),ce("typeAnnotation")]:"",Xe=oe(we,Qe);return ye.push(Xe?p(Ge):Ge),Qe&&ye.push(Qe),Te&&ye.push(")"),p(ye)}function H(X,K,ce){let we=X.getValue(),ye=we.type==="TSTupleType"?"elementTypes":"types",Ne=we[ye],ke=x(Ne),Ee=ke?w:"";return p(["[",k([Ee,ie(X,K,ye,ce)]),P(ke&&$(K,"all")?",":""),C(X,K,!0),Ee,"]"])}function L(X,K,ce){let we=X.getValue(),ye=we.type==="OptionalIndexedAccessType"&&we.optional?"?.[":"[";return[ce("objectType"),ye,ce("indexType"),"]"]}function Y(X,K,ce){let we=X.getValue();return[we.postfix?"":ce,K("typeAnnotation"),we.postfix?ce:""]}A.exports={printOpaqueType:z,printTypeAlias:N,printIntersectionType:O,printUnionType:W,printFunctionType:S,printTupleType:H,printIndexedAccessType:L,shouldHugType:se,printJSDocType:Y}}}),Oi=Oe({"src/language-js/print/type-parameters.js"(m,A){b();var{printDanglingComments:h}=gi(),{builders:{join:C,line:x,hardline:p,softline:d,group:D,indent:w,ifBreak:k}}=bn(),{isTestCall:R,hasComment:P,CommentCheckFlags:I,isTSXFile:T,shouldPrintComma:_,getFunctionParameters:j,isObjectType:re}=qn(),{createGroupIdMapper:ne}=jn(),{shouldHugType:$}=Ei(),{isArrowFunctionVariableDeclarator:J}=ya(),ee=ne("typeParameters");function oe(z,N,O,W){let S=z.getValue();if(!S[W])return"";if(!Array.isArray(S[W]))return O(W);let H=z.getNode(2),L=H&&R(H);if(!z.match(X=>!(X[W].length===1&&re(X[W][0])),void 0,(X,K)=>K==="typeAnnotation",X=>X.type==="Identifier",J)&&(L||S[W].length===0||S[W].length===1&&(S[W][0].type==="NullableTypeAnnotation"||$(S[W][0]))))return["<",C(", ",z.map(O,W)),ie(z,N),">"];let Y=S.type==="TSTypeParameterInstantiation"?"":j(S).length===1&&T(N)&&!S[W][0].constraint&&z.getParentNode().type==="ArrowFunctionExpression"?",":_(N,"all")?k(","):"";return D(["<",w([d,C([",",x],z.map(O,W))]),Y,d,">"],{id:ee(S)})}function ie(z,N){let O=z.getValue();if(!P(O,I.Dangling))return"";let W=!P(O,I.Line),S=h(z,N,W);return W?S:[S,p]}function se(z,N,O){let W=z.getValue(),S=[],H=z.getParentNode();return H.type==="TSMappedType"?(S.push("[",O("name")),W.constraint&&S.push(" in ",O("constraint")),H.nameType&&S.push(" as ",z.callParent(()=>O("nameType"))),S.push("]"),S):(W.variance&&S.push(O("variance")),W.in&&S.push("in "),W.out&&S.push("out "),S.push(O("name")),W.bound&&S.push(": ",O("bound")),W.constraint&&S.push(" extends ",O("constraint")),W.default&&S.push(" = ",O("default")),S)}A.exports={printTypeParameter:se,printTypeParameters:oe,getTypeParametersGroupId:ee}}}),vi=Oe({"src/language-js/print/property.js"(m,A){b();var{printComments:h}=gi(),{printString:C,printNumber:x}=jn(),{isNumericLiteral:p,isSimpleNumber:d,isStringLiteral:D,isStringPropSafeToUnquote:w,rawText:k}=qn(),{printAssignment:R}=ya(),P=new WeakMap;function I(_,j,re){let ne=_.getNode();if(ne.computed)return["[",re("key"),"]"];let $=_.getParentNode(),{key:J}=ne;if(ne.type==="ClassPrivateProperty"&&J.type==="Identifier")return["#",re("key")];if(j.quoteProps==="consistent"&&!P.has($)){let ee=($.properties||$.body||$.members).some(oe=>!oe.computed&&oe.key&&D(oe.key)&&!w(oe,j));P.set($,ee)}if((J.type==="Identifier"||p(J)&&d(x(k(J)))&&String(J.value)===x(k(J))&&!(j.parser==="typescript"||j.parser==="babel-ts"))&&(j.parser==="json"||j.quoteProps==="consistent"&&P.get($))){let ee=C(JSON.stringify(J.type==="Identifier"?J.name:J.value.toString()),j);return _.call(oe=>h(oe,ee,j),"key")}return w(ne,j)&&(j.quoteProps==="as-needed"||j.quoteProps==="consistent"&&!P.get($))?_.call(ee=>h(ee,/^\d/.test(J.value)?x(J.value):J.value,j),"key"):re("key")}function T(_,j,re){return _.getValue().shorthand?re("value"):R(_,j,re,I(_,j,re),":","value")}A.exports={printProperty:T,printPropertyKey:I}}}),ls=Oe({"src/language-js/print/function.js"(m,A){b();var h=xs(),{printDanglingComments:C,printCommentsSeparately:x}=gi(),p=Rn(),{getNextNonSpaceNonCommentCharacterIndex:d}=jn(),{builders:{line:D,softline:w,group:k,indent:R,ifBreak:P,hardline:I,join:T,indentIfBreak:_},utils:{removeLines:j,willBreak:re}}=bn(),{ArgExpansionBailout:ne}=Ds(),{getFunctionParameters:$,hasLeadingOwnLineComment:J,isFlowAnnotationComment:ee,isJsxNode:oe,isTemplateOnItsOwnLine:ie,shouldPrintComma:se,startsWithNoLookaheadToken:z,isBinaryish:N,isLineComment:O,hasComment:W,getComments:S,CommentCheckFlags:H,isCallLikeExpression:L,isCallExpression:Y,getCallArguments:X,hasNakedLeftSide:K,getLeftSide:ce}=qn(),{locEnd:we}=Ci(),{printFunctionParameters:ye,shouldGroupFunctionParameters:Ne}=Wi(),{printPropertyKey:ke}=vi(),{printFunctionTypeParameters:Ee}=zi();function qe(Re,He,Et,gt){let ur=Re.getValue(),Ur=!1;if((ur.type==="FunctionDeclaration"||ur.type==="FunctionExpression")&>&>.expandLastArg){let tt=Re.getParentNode();Y(tt)&&X(tt).length>1&&(Ur=!0)}let Yr=[];ur.type==="TSDeclareFunction"&&ur.declare&&Yr.push("declare "),ur.async&&Yr.push("async "),ur.generator?Yr.push("function* "):Yr.push("function "),ur.id&&Yr.push(He("id"));let Ft=ye(Re,He,Et,Ur),St=Ie(Re,He,Et),Mt=Ne(ur,St);return Yr.push(Ee(Re,Et,He),k([Mt?k(Ft):Ft,St]),ur.body?" ":"",He("body")),Et.semi&&(ur.declare||!ur.body)&&Yr.push(";"),Yr}function Se(Re,He,Et){let gt=Re.getNode(),{kind:ur}=gt,Ur=gt.value||gt,Yr=[];return!ur||ur==="init"||ur==="method"||ur==="constructor"?Ur.async&&Yr.push("async "):(h.ok(ur==="get"||ur==="set"),Yr.push(ur," ")),Ur.generator&&Yr.push("*"),Yr.push(ke(Re,He,Et),gt.optional||gt.key.optional?"?":""),gt===Ur?Yr.push(Te(Re,He,Et)):Ur.type==="FunctionExpression"?Yr.push(Re.call(Ft=>Te(Ft,He,Et),"value")):Yr.push(Et("value")),Yr}function Te(Re,He,Et){let gt=Re.getNode(),ur=ye(Re,Et,He),Ur=Ie(Re,Et,He),Yr=Ne(gt,Ur),Ft=[Ee(Re,He,Et),k([Yr?k(ur):ur,Ur])];return gt.body?Ft.push(" ",Et("body")):Ft.push(He.semi?";":""),Ft}function Ge(Re,He,Et,gt){let ur=Re.getValue(),Ur=[];if(ur.async&&Ur.push("async "),Fe(Re,He))Ur.push(Et(["params",0]));else{let Ft=gt&&(gt.expandLastArg||gt.expandFirstArg),St=Ie(Re,Et,He);if(Ft){if(re(St))throw new ne;St=k(j(St))}Ur.push(k([ye(Re,Et,He,Ft,!0),St]))}let Yr=C(Re,He,!0,Ft=>{let St=d(He.originalText,Ft,we);return St!==!1&&He.originalText.slice(St,St+2)==="=>"});return Yr&&Ur.push(" ",Yr),Ur}function Qe(Re,He,Et,gt,ur,Ur){let Yr=Re.getName(),Ft=Re.getParentNode(),St=L(Ft)&&Yr==="callee",Mt=Boolean(He&&He.assignmentLayout),tt=Ur.body.type!=="BlockStatement"&&Ur.body.type!=="ObjectExpression"&&Ur.body.type!=="SequenceExpression",rr=St&&tt||He&&He.assignmentLayout==="chain-tail-arrow-chain",$e=Symbol("arrow-chain");return Ur.body.type==="SequenceExpression"&&(ur=k(["(",R([w,ur]),w,")"])),k([k(R([St||Mt?w:"",k(T([" =>",D],Et),{shouldBreak:gt})]),{id:$e,shouldBreak:rr})," =>",_(tt?R([D,ur]):[" ",ur],{groupId:$e}),St?P(w,"",{groupId:$e}):""])}function Xe(Re,He,Et,gt){let ur=Re.getValue(),Ur=[],Yr=[],Ft=!1;if(function $e(){let Kt=Ge(Re,He,Et,gt);if(Ur.length===0)Ur.push(Kt);else{let{leading:qt,trailing:e}=x(Re,He);Ur.push([qt,Kt]),Yr.unshift(e)}Ft=Ft||ur.returnType&&$(ur).length>0||ur.typeParameters||$(ur).some(qt=>qt.type!=="Identifier"),ur.body.type!=="ArrowFunctionExpression"||gt&>.expandLastArg?Yr.unshift(Et("body",gt)):(ur=ur.body,Re.call($e,"body"))}(),Ur.length>1)return Qe(Re,gt,Ur,Ft,Yr,ur);let St=Ur;if(St.push(" =>"),!J(He.originalText,ur.body)&&(ur.body.type==="ArrayExpression"||ur.body.type==="ObjectExpression"||ur.body.type==="BlockStatement"||oe(ur.body)||ie(ur.body,He.originalText)||ur.body.type==="ArrowFunctionExpression"||ur.body.type==="DoExpression"))return k([...St," ",Yr]);if(ur.body.type==="SequenceExpression")return k([...St,k([" (",R([w,Yr]),w,")"])]);let Mt=(gt&>.expandLastArg||Re.getParentNode().type==="JSXExpressionContainer")&&!W(ur),tt=gt&>.expandLastArg&&se(He,"all"),rr=ur.body.type==="ConditionalExpression"&&!z(ur.body,!1);return k([...St,k([R([D,rr?P("","("):"",Yr,rr?P("",")"):""]),Mt?[P(tt?",":""),w]:""])])}function At(Re){let He=$(Re);return He.length===1&&!Re.typeParameters&&!W(Re,H.Dangling)&&He[0].type==="Identifier"&&!He[0].typeAnnotation&&!W(He[0])&&!He[0].optional&&!Re.predicate&&!Re.returnType}function Fe(Re,He){if(He.arrowParens==="always")return!1;if(He.arrowParens==="avoid"){let Et=Re.getValue();return At(Et)}return!1}function Ie(Re,He,Et){let gt=Re.getValue(),ur=He("returnType");if(gt.returnType&&ee(Et.originalText,gt.returnType))return[" /*: ",ur," */"];let Ur=[ur];return gt.returnType&>.returnType.typeAnnotation&&Ur.unshift(": "),gt.predicate&&Ur.push(gt.returnType?" ":": ",He("predicate")),Ur}function Dt(Re,He,Et){let gt=Re.getValue(),ur=He.semi?";":"",Ur=[];gt.argument&&(Le(He,gt.argument)?Ur.push([" (",R([I,Et("argument")]),I,")"]):N(gt.argument)||gt.argument.type==="SequenceExpression"?Ur.push(k([P(" ("," "),R([w,Et("argument")]),w,P(")")])):Ur.push(" ",Et("argument")));let Yr=S(gt),Ft=p(Yr),St=Ft&&O(Ft);return St&&Ur.push(ur),W(gt,H.Dangling)&&Ur.push(" ",C(Re,He,!0)),St||Ur.push(ur),Ur}function _t(Re,He,Et){return["return",Dt(Re,He,Et)]}function mt(Re,He,Et){return["throw",Dt(Re,He,Et)]}function Le(Re,He){if(J(Re.originalText,He))return!0;if(K(He)){let Et=He,gt;for(;gt=ce(Et);)if(Et=gt,J(Re.originalText,Et))return!0}return!1}A.exports={printFunction:qe,printArrowFunction:Xe,printMethod:Se,printReturnStatement:_t,printThrowStatement:mt,printMethodInternal:Te,shouldPrintParamsWithoutParens:Fe}}}),el=Oe({"src/language-js/print/decorators.js"(m,A){b();var{isNonEmptyArray:h,hasNewline:C}=jn(),{builders:{line:x,hardline:p,join:d,breakParent:D,group:w}}=bn(),{locStart:k,locEnd:R}=Ci(),{getParentExportDeclaration:P}=qn();function I(ne,$,J){let ee=ne.getValue();return w([d(x,ne.map(J,"decorators")),j(ee,$)?p:x])}function T(ne,$,J){return[d(p,ne.map(J,"declaration","decorators")),p]}function _(ne,$,J){let ee=ne.getValue(),{decorators:oe}=ee;if(!h(oe)||re(ne.getParentNode()))return;let ie=ee.type==="ClassExpression"||ee.type==="ClassDeclaration"||j(ee,$);return[P(ne)?p:ie?D:"",d(x,ne.map(J,"decorators")),x]}function j(ne,$){return ne.decorators.some(J=>C($.originalText,R(J)))}function re(ne){if(ne.type!=="ExportDefaultDeclaration"&&ne.type!=="ExportNamedDeclaration"&&ne.type!=="DeclareExportDeclaration")return!1;let $=ne.declaration&&ne.declaration.decorators;return h($)&&k(ne,{ignoreDecorators:!0})>k($[0])}A.exports={printDecorators:_,printClassMemberDecorators:I,printDecoratorsBeforeExport:T,hasDecoratorsBeforeExport:re}}}),cs=Oe({"src/language-js/print/class.js"(m,A){b();var{isNonEmptyArray:h,createGroupIdMapper:C}=jn(),{printComments:x,printDanglingComments:p}=gi(),{builders:{join:d,line:D,hardline:w,softline:k,group:R,indent:P,ifBreak:I}}=bn(),{hasComment:T,CommentCheckFlags:_}=qn(),{getTypeParametersGroupId:j}=Oi(),{printMethod:re}=ls(),{printOptionalToken:ne,printTypeAnnotation:$,printDefiniteToken:J}=zi(),{printPropertyKey:ee}=vi(),{printAssignment:oe}=ya(),{printClassMemberDecorators:ie}=el();function se(X,K,ce){let we=X.getValue(),ye=[];we.declare&&ye.push("declare "),we.abstract&&ye.push("abstract "),ye.push("class");let Ne=we.id&&T(we.id,_.Trailing)||we.typeParameters&&T(we.typeParameters,_.Trailing)||we.superClass&&T(we.superClass)||h(we.extends)||h(we.mixins)||h(we.implements),ke=[],Ee=[];if(we.id&&ke.push(" ",ce("id")),ke.push(ce("typeParameters")),we.superClass){let qe=[H(X,K,ce),ce("superTypeParameters")],Se=X.call(Te=>["extends ",x(Te,qe,K)],"superClass");Ne?Ee.push(D,R(Se)):Ee.push(" ",Se)}else Ee.push(S(X,K,ce,"extends"));if(Ee.push(S(X,K,ce,"mixins"),S(X,K,ce,"implements")),Ne){let qe;W(we)?qe=[...ke,P(Ee)]:qe=P([...ke,Ee]),ye.push(R(qe,{id:z(we)}))}else ye.push(...ke,...Ee);return ye.push(" ",ce("body")),ye}var z=C("heritageGroup");function N(X){return I(w,"",{groupId:z(X)})}function O(X){return["superClass","extends","mixins","implements"].filter(K=>Boolean(X[K])).length>1}function W(X){return X.typeParameters&&!T(X.typeParameters,_.Trailing|_.Line)&&!O(X)}function S(X,K,ce,we){let ye=X.getValue();if(!h(ye[we]))return"";let Ne=p(X,K,!0,ke=>{let{marker:Ee}=ke;return Ee===we});return[W(ye)?I(" ",D,{groupId:j(ye.typeParameters)}):D,Ne,Ne&&w,we,R(P([D,d([",",D],X.map(ce,we))]))]}function H(X,K,ce){let we=ce("superClass");return X.getParentNode().type==="AssignmentExpression"?R(I(["(",P([k,we]),k,")"],we)):we}function L(X,K,ce){let we=X.getValue(),ye=[];return h(we.decorators)&&ye.push(ie(X,K,ce)),we.accessibility&&ye.push(we.accessibility+" "),we.readonly&&ye.push("readonly "),we.declare&&ye.push("declare "),we.static&&ye.push("static "),(we.type==="TSAbstractMethodDefinition"||we.abstract)&&ye.push("abstract "),we.override&&ye.push("override "),ye.push(re(X,K,ce)),ye}function Y(X,K,ce){let we=X.getValue(),ye=[],Ne=K.semi?";":"";return h(we.decorators)&&ye.push(ie(X,K,ce)),we.accessibility&&ye.push(we.accessibility+" "),we.declare&&ye.push("declare "),we.static&&ye.push("static "),(we.type==="TSAbstractPropertyDefinition"||we.abstract)&&ye.push("abstract "),we.override&&ye.push("override "),we.readonly&&ye.push("readonly "),we.variance&&ye.push(ce("variance")),we.type==="ClassAccessorProperty"&&ye.push("accessor "),ye.push(ee(X,K,ce),ne(X),J(X),$(X,K,ce)),[oe(X,K,ce,ye," =","value"),Ne]}A.exports={printClass:se,printClassMethod:L,printClassProperty:Y,printHardlineAfterHeritage:N}}}),_l=Oe({"src/language-js/print/interface.js"(m,A){b();var{isNonEmptyArray:h}=jn(),{builders:{join:C,line:x,group:p,indent:d,ifBreak:D}}=bn(),{hasComment:w,identity:k,CommentCheckFlags:R}=qn(),{getTypeParametersGroupId:P}=Oi(),{printTypeScriptModifiers:I}=zi();function T(_,j,re){let ne=_.getValue(),$=[];ne.declare&&$.push("declare "),ne.type==="TSInterfaceDeclaration"&&$.push(ne.abstract?"abstract ":"",I(_,j,re)),$.push("interface");let J=[],ee=[];ne.type!=="InterfaceTypeAnnotation"&&J.push(" ",re("id"),re("typeParameters"));let oe=ne.typeParameters&&!w(ne.typeParameters,R.Trailing|R.Line);return h(ne.extends)&&ee.push(oe?D(" ",x,{groupId:P(ne.typeParameters)}):x,"extends ",(ne.extends.length===1?k:d)(C([",",x],_.map(re,"extends")))),ne.id&&w(ne.id,R.Trailing)||h(ne.extends)?oe?$.push(p([...J,d(ee)])):$.push(p(d([...J,...ee]))):$.push(...J,...ee),$.push(" ",re("body")),p($)}A.exports={printInterface:T}}}),Nl=Oe({"src/language-js/print/module.js"(m,A){b();var{isNonEmptyArray:h}=jn(),{builders:{softline:C,group:x,indent:p,join:d,line:D,ifBreak:w,hardline:k}}=bn(),{printDanglingComments:R}=gi(),{hasComment:P,CommentCheckFlags:I,shouldPrintComma:T,needsHardlineAfterDanglingComment:_,isStringLiteral:j,rawText:re}=qn(),{locStart:ne,hasSameLoc:$}=Ci(),{hasDecoratorsBeforeExport:J,printDecoratorsBeforeExport:ee}=el();function oe(Y,X,K){let ce=Y.getValue(),we=X.semi?";":"",ye=[],{importKind:Ne}=ce;return ye.push("import"),Ne&&Ne!=="value"&&ye.push(" ",Ne),ye.push(O(Y,X,K),N(Y,X,K),S(Y,X,K),we),ye}function ie(Y,X,K){let ce=Y.getValue(),we=[];J(ce)&&we.push(ee(Y,X,K));let{type:ye,exportKind:Ne,declaration:ke}=ce;return we.push("export"),(ce.default||ye==="ExportDefaultDeclaration")&&we.push(" default"),P(ce,I.Dangling)&&(we.push(" ",R(Y,X,!0)),_(ce)&&we.push(k)),ke?we.push(" ",K("declaration")):we.push(Ne==="type"?" type":"",O(Y,X,K),N(Y,X,K),S(Y,X,K)),z(ce,X)&&we.push(";"),we}function se(Y,X,K){let ce=Y.getValue(),we=X.semi?";":"",ye=[],{exportKind:Ne,exported:ke}=ce;return ye.push("export"),Ne==="type"&&ye.push(" type"),ye.push(" *"),ke&&ye.push(" as ",K("exported")),ye.push(N(Y,X,K),S(Y,X,K),we),ye}function z(Y,X){if(!X.semi)return!1;let{type:K,declaration:ce}=Y,we=Y.default||K==="ExportDefaultDeclaration";if(!ce)return!0;let{type:ye}=ce;return!!(we&&ye!=="ClassDeclaration"&&ye!=="FunctionDeclaration"&&ye!=="TSInterfaceDeclaration"&&ye!=="DeclareClass"&&ye!=="DeclareFunction"&&ye!=="TSDeclareFunction"&&ye!=="EnumDeclaration")}function N(Y,X,K){let ce=Y.getValue();if(!ce.source)return"";let we=[];return W(ce,X)||we.push(" from"),we.push(" ",K("source")),we}function O(Y,X,K){let ce=Y.getValue();if(W(ce,X))return"";let we=[" "];if(h(ce.specifiers)){let ye=[],Ne=[];Y.each(()=>{let ke=Y.getValue().type;if(ke==="ExportNamespaceSpecifier"||ke==="ExportDefaultSpecifier"||ke==="ImportNamespaceSpecifier"||ke==="ImportDefaultSpecifier")ye.push(K());else if(ke==="ExportSpecifier"||ke==="ImportSpecifier")Ne.push(K());else throw new Error("Unknown specifier type ".concat(JSON.stringify(ke)))},"specifiers"),we.push(d(", ",ye)),Ne.length>0&&(ye.length>0&&we.push(", "),Ne.length>1||ye.length>0||ce.specifiers.some(ke=>P(ke))?we.push(x(["{",p([X.bracketSpacing?D:C,d([",",D],Ne)]),w(T(X)?",":""),X.bracketSpacing?D:C,"}"])):we.push(["{",X.bracketSpacing?" ":"",...Ne,X.bracketSpacing?" ":"","}"]))}else we.push("{}");return we}function W(Y,X){let{type:K,importKind:ce,source:we,specifiers:ye}=Y;return K!=="ImportDeclaration"||h(ye)||ce==="type"?!1:!/{\s*}/.test(X.originalText.slice(ne(Y),ne(we)))}function S(Y,X,K){let ce=Y.getNode();return h(ce.assertions)?[" assert {",X.bracketSpacing?" ":"",d(", ",Y.map(K,"assertions")),X.bracketSpacing?" ":"","}"]:""}function H(Y,X,K){let ce=Y.getNode(),{type:we}=ce,ye=[],Ne=we==="ImportSpecifier"?ce.importKind:ce.exportKind;Ne&&Ne!=="value"&&ye.push(Ne," ");let ke=we.startsWith("Import"),Ee=ke?"imported":"local",qe=ke?"local":"exported",Se=ce[Ee],Te=ce[qe],Ge="",Qe="";return we==="ExportNamespaceSpecifier"||we==="ImportNamespaceSpecifier"?Ge="*":Se&&(Ge=K(Ee)),Te&&!L(ce)&&(Qe=K(qe)),ye.push(Ge,Ge&&Qe?" as ":"",Qe),ye}function L(Y){if(Y.type!=="ImportSpecifier"&&Y.type!=="ExportSpecifier")return!1;let{local:X,[Y.type==="ImportSpecifier"?"imported":"exported"]:K}=Y;if(X.type!==K.type||!$(X,K))return!1;if(j(X))return X.value===K.value&&re(X)===re(K);switch(X.type){case"Identifier":return X.name===K.name;default:return!1}}A.exports={printImportDeclaration:oe,printExportDeclaration:ie,printExportAllDeclaration:se,printModuleSpecifier:H}}}),tl=Oe({"src/language-js/print/object.js"(m,A){b();var{printDanglingComments:h}=gi(),{builders:{line:C,softline:x,group:p,indent:d,ifBreak:D,hardline:w}}=bn(),{getLast:k,hasNewlineInRange:R,hasNewline:P,isNonEmptyArray:I}=jn(),{shouldPrintComma:T,hasComment:_,getComments:j,CommentCheckFlags:re,isNextLineEmpty:ne}=qn(),{locStart:$,locEnd:J}=Ci(),{printOptionalToken:ee,printTypeAnnotation:oe}=zi(),{shouldHugFunctionParameters:ie}=Wi(),{shouldHugType:se}=Ei(),{printHardlineAfterHeritage:z}=cs();function N(O,W,S){let H=W.semi?";":"",L=O.getValue(),Y;L.type==="TSTypeLiteral"?Y="members":L.type==="TSInterfaceBody"?Y="body":Y="properties";let X=L.type==="ObjectTypeAnnotation",K=[Y];X&&K.push("indexers","callProperties","internalSlots");let ce=K.map(Fe=>L[Fe][0]).sort((Fe,Ie)=>$(Fe)-$(Ie))[0],we=O.getParentNode(0),ye=X&&we&&(we.type==="InterfaceDeclaration"||we.type==="DeclareInterface"||we.type==="DeclareClass")&&O.getName()==="body",Ne=L.type==="TSInterfaceBody"||ye||L.type==="ObjectPattern"&&we.type!=="FunctionDeclaration"&&we.type!=="FunctionExpression"&&we.type!=="ArrowFunctionExpression"&&we.type!=="ObjectMethod"&&we.type!=="ClassMethod"&&we.type!=="ClassPrivateMethod"&&we.type!=="AssignmentPattern"&&we.type!=="CatchClause"&&L.properties.some(Fe=>Fe.value&&(Fe.value.type==="ObjectPattern"||Fe.value.type==="ArrayPattern"))||L.type!=="ObjectPattern"&&ce&&R(W.originalText,$(L),$(ce)),ke=ye?";":L.type==="TSInterfaceBody"||L.type==="TSTypeLiteral"?D(H,";"):",",Ee=L.type==="RecordExpression"?"#{":L.exact?"{|":"{",qe=L.exact?"|}":"}",Se=[];for(let Fe of K)O.each(Ie=>{let Dt=Ie.getValue();Se.push({node:Dt,printed:S(),loc:$(Dt)})},Fe);K.length>1&&Se.sort((Fe,Ie)=>Fe.loc-Ie.loc);let Te=[],Ge=Se.map(Fe=>{let Ie=[...Te,p(Fe.printed)];return Te=[ke,C],(Fe.node.type==="TSPropertySignature"||Fe.node.type==="TSMethodSignature"||Fe.node.type==="TSConstructSignatureDeclaration")&&_(Fe.node,re.PrettierIgnore)&&Te.shift(),ne(Fe.node,W)&&Te.push(w),Ie});if(L.inexact){let Fe;if(_(L,re.Dangling)){let Ie=_(L,re.Line);Fe=[h(O,W,!0),Ie||P(W.originalText,J(k(j(L))))?w:C,"..."]}else Fe=["..."];Ge.push([...Te,...Fe])}let Qe=k(L[Y]),Xe=!(L.inexact||Qe&&Qe.type==="RestElement"||Qe&&(Qe.type==="TSPropertySignature"||Qe.type==="TSCallSignatureDeclaration"||Qe.type==="TSMethodSignature"||Qe.type==="TSConstructSignatureDeclaration")&&_(Qe,re.PrettierIgnore)),At;if(Ge.length===0){if(!_(L,re.Dangling))return[Ee,qe,oe(O,W,S)];At=p([Ee,h(O,W),x,qe,ee(O),oe(O,W,S)])}else At=[ye&&I(L.properties)?z(we):"",Ee,d([W.bracketSpacing?C:x,...Ge]),D(Xe&&(ke!==","||T(W))?ke:""),W.bracketSpacing?C:x,qe,ee(O),oe(O,W,S)];return O.match(Fe=>Fe.type==="ObjectPattern"&&!Fe.decorators,(Fe,Ie,Dt)=>ie(Fe)&&(Ie==="params"||Ie==="parameters"||Ie==="this"||Ie==="rest")&&Dt===0)||O.match(se,(Fe,Ie)=>Ie==="typeAnnotation",(Fe,Ie)=>Ie==="typeAnnotation",(Fe,Ie,Dt)=>ie(Fe)&&(Ie==="params"||Ie==="parameters"||Ie==="this"||Ie==="rest")&&Dt===0)||!Ne&&O.match(Fe=>Fe.type==="ObjectPattern",Fe=>Fe.type==="AssignmentExpression"||Fe.type==="VariableDeclarator")?At:p(At,{shouldBreak:Ne})}A.exports={printObject:N}}}),rl=Oe({"src/language-js/print/flow.js"(m,A){b();var h=xs(),{printDanglingComments:C}=gi(),{printString:x,printNumber:p}=jn(),{builders:{hardline:d,softline:D,group:w,indent:k}}=bn(),{getParentExportDeclaration:R,isFunctionNotation:P,isGetterOrSetter:I,rawText:T,shouldPrintComma:_}=qn(),{locStart:j,locEnd:re}=Ci(),{printClass:ne}=cs(),{printOpaqueType:$,printTypeAlias:J,printIntersectionType:ee,printUnionType:oe,printFunctionType:ie,printTupleType:se,printIndexedAccessType:z}=Ei(),{printInterface:N}=_l(),{printTypeParameter:O,printTypeParameters:W}=Oi(),{printExportDeclaration:S,printExportAllDeclaration:H}=Nl(),{printArrayItems:L}=ma(),{printObject:Y}=tl(),{printPropertyKey:X}=vi(),{printOptionalToken:K,printTypeAnnotation:ce,printRestSpread:we}=zi();function ye(ke,Ee,qe){let Se=ke.getValue(),Te=Ee.semi?";":"",Ge=[];switch(Se.type){case"DeclareClass":return Ne(ke,ne(ke,Ee,qe));case"DeclareFunction":return Ne(ke,["function ",qe("id"),Se.predicate?" ":"",qe("predicate"),Te]);case"DeclareModule":return Ne(ke,["module ",qe("id")," ",qe("body")]);case"DeclareModuleExports":return Ne(ke,["module.exports",": ",qe("typeAnnotation"),Te]);case"DeclareVariable":return Ne(ke,["var ",qe("id"),Te]);case"DeclareOpaqueType":return Ne(ke,$(ke,Ee,qe));case"DeclareInterface":return Ne(ke,N(ke,Ee,qe));case"DeclareTypeAlias":return Ne(ke,J(ke,Ee,qe));case"DeclareExportDeclaration":return Ne(ke,S(ke,Ee,qe));case"DeclareExportAllDeclaration":return Ne(ke,H(ke,Ee,qe));case"OpaqueType":return $(ke,Ee,qe);case"TypeAlias":return J(ke,Ee,qe);case"IntersectionTypeAnnotation":return ee(ke,Ee,qe);case"UnionTypeAnnotation":return oe(ke,Ee,qe);case"FunctionTypeAnnotation":return ie(ke,Ee,qe);case"TupleTypeAnnotation":return se(ke,Ee,qe);case"GenericTypeAnnotation":return[qe("id"),W(ke,Ee,qe,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return z(ke,Ee,qe);case"TypeAnnotation":return qe("typeAnnotation");case"TypeParameter":return O(ke,Ee,qe);case"TypeofTypeAnnotation":return["typeof ",qe("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[qe("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(Se.value);case"EnumDeclaration":return["enum ",qe("id")," ",qe("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(Se.type==="EnumSymbolBody"||Se.explicitType){let Qe=null;switch(Se.type){case"EnumBooleanBody":Qe="boolean";break;case"EnumNumberBody":Qe="number";break;case"EnumStringBody":Qe="string";break;case"EnumSymbolBody":Qe="symbol";break}Ge.push("of ",Qe," ")}if(Se.members.length===0&&!Se.hasUnknownMembers)Ge.push(w(["{",C(ke,Ee),D,"}"]));else{let Qe=Se.members.length>0?[d,L(ke,Ee,"members",qe),Se.hasUnknownMembers||_(Ee)?",":""]:[];Ge.push(w(["{",k([...Qe,...Se.hasUnknownMembers?[d,"..."]:[]]),C(ke,Ee,!0),d,"}"]))}return Ge}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[qe("id")," = ",typeof Se.init=="object"?qe("init"):String(Se.init)];case"EnumDefaultedMember":return qe("id");case"FunctionTypeParam":{let Qe=Se.name?qe("name"):ke.getParentNode().this===Se?"this":"";return[Qe,K(ke),Qe?": ":"",qe("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return N(ke,Ee,qe);case"ClassImplements":case"InterfaceExtends":return[qe("id"),qe("typeParameters")];case"NullableTypeAnnotation":return["?",qe("typeAnnotation")];case"Variance":{let{kind:Qe}=Se;return h.ok(Qe==="plus"||Qe==="minus"),Qe==="plus"?"+":"-"}case"ObjectTypeCallProperty":return Se.static&&Ge.push("static "),Ge.push(qe("value")),Ge;case"ObjectTypeIndexer":return[Se.static?"static ":"",Se.variance?qe("variance"):"","[",qe("id"),Se.id?": ":"",qe("key"),"]: ",qe("value")];case"ObjectTypeProperty":{let Qe="";return Se.proto?Qe="proto ":Se.static&&(Qe="static "),[Qe,I(Se)?Se.kind+" ":"",Se.variance?qe("variance"):"",X(ke,Ee,qe),K(ke),P(Se)?"":": ",qe("value")]}case"ObjectTypeAnnotation":return Y(ke,Ee,qe);case"ObjectTypeInternalSlot":return[Se.static?"static ":"","[[",qe("id"),"]]",K(ke),Se.method?"":": ",qe("value")];case"ObjectTypeSpreadProperty":return we(ke,Ee,qe);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[qe("qualification"),".",qe("id")];case"StringLiteralTypeAnnotation":return x(T(Se),Ee);case"NumberLiteralTypeAnnotation":h.strictEqual(typeof Se.value,"number");case"BigIntLiteralTypeAnnotation":return Se.extra?p(Se.extra.raw):p(Se.raw);case"TypeCastExpression":return["(",qe("expression"),ce(ke,Ee,qe),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let Qe=W(ke,Ee,qe,"params");if(Ee.parser==="flow"){let Xe=j(Se),At=re(Se),Fe=Ee.originalText.lastIndexOf("/*",Xe),Ie=Ee.originalText.indexOf("*/",At);if(Fe!==-1&&Ie!==-1){let Dt=Ee.originalText.slice(Fe+2,Ie).trim();if(Dt.startsWith("::")&&!Dt.includes("/*")&&!Dt.includes("*/"))return["/*:: ",Qe," */"]}}return Qe}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",qe("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(Se.type))}}function Ne(ke,Ee){let qe=R(ke);return qe?(h.strictEqual(qe.type,"DeclareExportDeclaration"),Ee):["declare ",Ee]}A.exports={printFlow:ye}}}),Bl=Oe({"src/language-js/utils/is-ts-keyword-type.js"(m,A){b();function h(C){let{type:x}=C;return x.startsWith("TS")&&x.endsWith("Keyword")}A.exports=h}}),tu=Oe({"src/language-js/print/ternary.js"(m,A){b();var{hasNewlineInRange:h}=jn(),{isJsxNode:C,getComments:x,isCallExpression:p,isMemberExpression:d}=qn(),{locStart:D,locEnd:w}=Ci(),k=go(),{builders:{line:R,softline:P,group:I,indent:T,align:_,ifBreak:j,dedent:re,breakParent:ne}}=bn();function $(se){let z=[se];for(let N=0;N<z.length;N++){let O=z[N];for(let W of["test","consequent","alternate"]){let S=O[W];if(C(S))return!0;S.type==="ConditionalExpression"&&z.push(S)}}return!1}function J(se,z,N){let O=se.getValue(),W=O.type==="ConditionalExpression",S=W?"alternate":"falseType",H=se.getParentNode(),L=W?N("test"):[N("checkType")," ","extends"," ",N("extendsType")];return H.type===O.type&&H[S]===O?_(2,L):L}var ee=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function oe(se){let z=se.getValue();if(z.type!=="ConditionalExpression")return!1;let N,O=z;for(let W=0;!N;W++){let S=se.getParentNode(W);if(p(S)&&S.callee===O||d(S)&&S.object===O||S.type==="TSNonNullExpression"&&S.expression===O){O=S;continue}S.type==="NewExpression"&&S.callee===O||S.type==="TSAsExpression"&&S.expression===O?(N=se.getParentNode(W+1),O=S):N=S}return O===z?!1:N[ee.get(N.type)]===O}function ie(se,z,N){let O=se.getValue(),W=O.type==="ConditionalExpression",S=W?"consequent":"trueType",H=W?"alternate":"falseType",L=W?["test"]:["checkType","extendsType"],Y=O[S],X=O[H],K=[],ce=!1,we=se.getParentNode(),ye=we.type===O.type&&L.some(Ie=>we[Ie]===O),Ne=we.type===O.type&&!ye,ke,Ee,qe=0;do Ee=ke||O,ke=se.getParentNode(qe),qe++;while(ke&&ke.type===O.type&&L.every(Ie=>ke[Ie]!==Ee));let Se=ke||we,Te=Ee;if(W&&(C(O[L[0]])||C(Y)||C(X)||$(Te))){ce=!0,Ne=!0;let Ie=_t=>[j("("),T([P,_t]),P,j(")")],Dt=_t=>_t.type==="NullLiteral"||_t.type==="Literal"&&_t.value===null||_t.type==="Identifier"&&_t.name==="undefined";K.push(" ? ",Dt(Y)?N(S):Ie(N(S))," : ",X.type===O.type||Dt(X)?N(H):Ie(N(H)))}else{let Ie=[R,"? ",Y.type===O.type?j("","("):"",_(2,N(S)),Y.type===O.type?j("",")"):"",R,": ",X.type===O.type?N(H):_(2,N(H))];K.push(we.type!==O.type||we[H]===O||ye?Ie:z.useTabs?re(T(Ie)):_(Math.max(0,z.tabWidth-2),Ie))}let Ge=[...L.map(Ie=>x(O[Ie])),x(Y),x(X)].flat().some(Ie=>k(Ie)&&h(z.originalText,D(Ie),w(Ie))),Qe=Ie=>we===Se?I(Ie,{shouldBreak:Ge}):Ge?[Ie,ne]:Ie,Xe=!ce&&(d(we)||we.type==="NGPipeExpression"&&we.left===O)&&!we.computed,At=oe(se),Fe=Qe([J(se,z,N),Ne?K:T(K),W&&Xe&&!At?P:""]);return ye||At?I([T([P,Fe]),P]):Fe}A.exports={printTernary:ie}}}),Pl=Oe({"src/language-js/print/statement.js"(m,A){b();var{builders:{hardline:h}}=bn(),C=wo(),{getLeftSidePathName:x,hasNakedLeftSide:p,isJsxNode:d,isTheOnlyJsxElementInMarkdown:D,hasComment:w,CommentCheckFlags:k,isNextLineEmpty:R}=qn(),{shouldPrintParamsWithoutParens:P}=ls();function I(ee,oe,ie,se){let z=ee.getValue(),N=[],O=z.type==="ClassBody",W=T(z[se]);return ee.each((S,H,L)=>{let Y=S.getValue();if(Y.type==="EmptyStatement")return;let X=ie();!oe.semi&&!O&&!D(oe,S)&&_(S,oe)?w(Y,k.Leading)?N.push(ie([],{needsSemi:!0})):N.push(";",X):N.push(X),!oe.semi&&O&&$(Y)&&J(Y,L[H+1])&&N.push(";"),Y!==W&&(N.push(h),R(Y,oe)&&N.push(h))},se),N}function T(ee){for(let oe=ee.length-1;oe>=0;oe--){let ie=ee[oe];if(ie.type!=="EmptyStatement")return ie}}function _(ee,oe){return ee.getNode().type!=="ExpressionStatement"?!1:ee.call(ie=>j(ie,oe),"expression")}function j(ee,oe){let ie=ee.getValue();switch(ie.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!P(ee,oe))return!0;break}case"UnaryExpression":{let{prefix:se,operator:z}=ie;if(se&&(z==="+"||z==="-"))return!0;break}case"BindExpression":{if(!ie.object)return!0;break}case"Literal":{if(ie.regex)return!0;break}default:if(d(ie))return!0}return C(ee,oe)?!0:p(ie)?ee.call(se=>j(se,oe),...x(ee,ie)):!1}function re(ee,oe,ie){return I(ee,oe,ie,"body")}function ne(ee,oe,ie){return I(ee,oe,ie,"consequent")}var $=ee=>{let{type:oe}=ee;return oe==="ClassProperty"||oe==="PropertyDefinition"||oe==="ClassPrivateProperty"||oe==="ClassAccessorProperty"};function J(ee,oe){let ie=ee.key&&ee.key.name;if((ie==="static"||ie==="get"||ie==="set")&&!ee.value&&!ee.typeAnnotation)return!0;if(!oe||oe.static||oe.accessibility)return!1;if(!oe.computed){let se=oe.key&&oe.key.name;if(se==="in"||se==="instanceof")return!0}if($(oe)&&oe.variance&&!oe.static&&!oe.declare)return!0;switch(oe.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return oe.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((oe.value?oe.value.async:oe.async)||oe.kind==="get"||oe.kind==="set")return!1;let se=oe.value?oe.value.generator:oe.generator;return!!(oe.computed||se)}case"TSIndexSignature":return!0}return!1}A.exports={printBody:re,printSwitchCaseConsequent:ne}}}),ru=Oe({"src/language-js/print/block.js"(m,A){b();var{printDanglingComments:h}=gi(),{isNonEmptyArray:C}=jn(),{builders:{hardline:x,indent:p}}=bn(),{hasComment:d,CommentCheckFlags:D,isNextLineEmpty:w}=qn(),{printHardlineAfterHeritage:k}=cs(),{printBody:R}=Pl();function P(T,_,j){let re=T.getValue(),ne=[];if(re.type==="StaticBlock"&&ne.push("static "),re.type==="ClassBody"&&C(re.body)){let J=T.getParentNode();ne.push(k(J))}ne.push("{");let $=I(T,_,j);if($)ne.push(p([x,$]),x);else{let J=T.getParentNode(),ee=T.getParentNode(1);J.type==="ArrowFunctionExpression"||J.type==="FunctionExpression"||J.type==="FunctionDeclaration"||J.type==="ObjectMethod"||J.type==="ClassMethod"||J.type==="ClassPrivateMethod"||J.type==="ForStatement"||J.type==="WhileStatement"||J.type==="DoWhileStatement"||J.type==="DoExpression"||J.type==="CatchClause"&&!ee.finalizer||J.type==="TSModuleDeclaration"||J.type==="TSDeclareFunction"||re.type==="StaticBlock"||re.type==="ClassBody"||ne.push(x)}return ne.push("}"),ne}function I(T,_,j){let re=T.getValue(),ne=C(re.directives),$=re.body.some(oe=>oe.type!=="EmptyStatement"),J=d(re,D.Dangling);if(!ne&&!$&&!J)return"";let ee=[];if(ne&&T.each((oe,ie,se)=>{ee.push(j()),(ie<se.length-1||$||J)&&(ee.push(x),w(oe.getValue(),_)&&ee.push(x))},"directives"),$&&ee.push(R(T,_,j)),J&&ee.push(h(T,_,!0)),re.type==="Program"){let oe=T.getParentNode();(!oe||oe.type!=="ModuleExpression")&&ee.push(x)}return ee}A.exports={printBlock:P,printBlockBody:I}}}),va=Oe({"src/language-js/print/typescript.js"(m,A){b();var{printDanglingComments:h}=gi(),{hasNewlineInRange:C}=jn(),{builders:{join:x,line:p,hardline:d,softline:D,group:w,indent:k,conditionalGroup:R,ifBreak:P}}=bn(),{isLiteral:I,getTypeScriptMappedTypeModifier:T,shouldPrintComma:_,isCallExpression:j,isMemberExpression:re}=qn(),ne=Bl(),{locStart:$,locEnd:J}=Ci(),{printOptionalToken:ee,printTypeScriptModifiers:oe}=zi(),{printTernary:ie}=tu(),{printFunctionParameters:se,shouldGroupFunctionParameters:z}=Wi(),{printTemplateLiteral:N}=lo(),{printArrayItems:O}=ma(),{printObject:W}=tl(),{printClassProperty:S,printClassMethod:H}=cs(),{printTypeParameter:L,printTypeParameters:Y}=Oi(),{printPropertyKey:X}=vi(),{printFunction:K,printMethodInternal:ce}=ls(),{printInterface:we}=_l(),{printBlock:ye}=ru(),{printTypeAlias:Ne,printIntersectionType:ke,printUnionType:Ee,printFunctionType:qe,printTupleType:Se,printIndexedAccessType:Te,printJSDocType:Ge}=Ei();function Qe(Xe,At,Fe){let Ie=Xe.getValue();if(!Ie.type.startsWith("TS"))return;if(ne(Ie))return Ie.type.slice(2,-7).toLowerCase();let Dt=At.semi?";":"",_t=[];switch(Ie.type){case"TSThisType":return"this";case"TSTypeAssertion":{let mt=!(Ie.expression.type==="ArrayExpression"||Ie.expression.type==="ObjectExpression"),Le=w(["<",k([D,Fe("typeAnnotation")]),D,">"]),Re=[P("("),k([D,Fe("expression")]),D,P(")")];return mt?R([[Le,Fe("expression")],[Le,w(Re,{shouldBreak:!0})],[Le,Fe("expression")]]):w([Le,Fe("expression")])}case"TSDeclareFunction":return K(Xe,Fe,At);case"TSExportAssignment":return["export = ",Fe("expression"),Dt];case"TSModuleBlock":return ye(Xe,At,Fe);case"TSInterfaceBody":case"TSTypeLiteral":return W(Xe,At,Fe);case"TSTypeAliasDeclaration":return Ne(Xe,At,Fe);case"TSQualifiedName":return x(".",[Fe("left"),Fe("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return H(Xe,At,Fe);case"TSAbstractPropertyDefinition":return S(Xe,At,Fe);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return _t.push(Fe("expression")),Ie.typeParameters&&_t.push(Fe("typeParameters")),_t;case"TSTemplateLiteralType":return N(Xe,Fe,At);case"TSNamedTupleMember":return[Fe("label"),Ie.optional?"?":"",": ",Fe("elementType")];case"TSRestType":return["...",Fe("typeAnnotation")];case"TSOptionalType":return[Fe("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return we(Xe,At,Fe);case"TSClassImplements":return[Fe("expression"),Fe("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return Y(Xe,At,Fe,"params");case"TSTypeParameter":return L(Xe,At,Fe);case"TSAsExpression":{_t.push(Fe("expression")," as ",Fe("typeAnnotation"));let mt=Xe.getParentNode();return j(mt)&&mt.callee===Ie||re(mt)&&mt.object===Ie?w([k([D,..._t]),D]):_t}case"TSArrayType":return[Fe("elementType"),"[]"];case"TSPropertySignature":return Ie.readonly&&_t.push("readonly "),_t.push(X(Xe,At,Fe),ee(Xe)),Ie.typeAnnotation&&_t.push(": ",Fe("typeAnnotation")),Ie.initializer&&_t.push(" = ",Fe("initializer")),_t;case"TSParameterProperty":return Ie.accessibility&&_t.push(Ie.accessibility+" "),Ie.export&&_t.push("export "),Ie.static&&_t.push("static "),Ie.override&&_t.push("override "),Ie.readonly&&_t.push("readonly "),_t.push(Fe("parameter")),_t;case"TSTypeQuery":return["typeof ",Fe("exprName"),Fe("typeParameters")];case"TSIndexSignature":{let mt=Xe.getParentNode(),Le=Ie.parameters.length>1?P(_(At)?",":""):"",Re=w([k([D,x([", ",D],Xe.map(Fe,"parameters"))]),Le,D]);return[Ie.export?"export ":"",Ie.accessibility?[Ie.accessibility," "]:"",Ie.static?"static ":"",Ie.readonly?"readonly ":"",Ie.declare?"declare ":"","[",Ie.parameters?Re:"",Ie.typeAnnotation?"]: ":"]",Ie.typeAnnotation?Fe("typeAnnotation"):"",mt.type==="ClassBody"?Dt:""]}case"TSTypePredicate":return[Ie.asserts?"asserts ":"",Fe("parameterName"),Ie.typeAnnotation?[" is ",Fe("typeAnnotation")]:""];case"TSNonNullExpression":return[Fe("expression"),"!"];case"TSImportType":return[Ie.isTypeOf?"typeof ":"","import(",Fe(Ie.parameter?"parameter":"argument"),")",Ie.qualifier?[".",Fe("qualifier")]:"",Y(Xe,At,Fe,"typeParameters")];case"TSLiteralType":return Fe("literal");case"TSIndexedAccessType":return Te(Xe,At,Fe);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(Ie.type==="TSConstructorType"&&Ie.abstract&&_t.push("abstract "),Ie.type!=="TSCallSignatureDeclaration"&&_t.push("new "),_t.push(w(se(Xe,Fe,At,!1,!0))),Ie.returnType||Ie.typeAnnotation){let mt=Ie.type==="TSConstructorType";_t.push(mt?" => ":": ",Fe("returnType"),Fe("typeAnnotation"))}return _t}case"TSTypeOperator":return[Ie.operator," ",Fe("typeAnnotation")];case"TSMappedType":{let mt=C(At.originalText,$(Ie),J(Ie));return w(["{",k([At.bracketSpacing?p:D,Ie.readonly?[T(Ie.readonly,"readonly")," "]:"",oe(Xe,At,Fe),Fe("typeParameter"),Ie.optional?T(Ie.optional,"?"):"",Ie.typeAnnotation?": ":"",Fe("typeAnnotation"),P(Dt)]),h(Xe,At,!0),At.bracketSpacing?p:D,"}"],{shouldBreak:mt})}case"TSMethodSignature":{let mt=Ie.kind&&Ie.kind!=="method"?"".concat(Ie.kind," "):"";_t.push(Ie.accessibility?[Ie.accessibility," "]:"",mt,Ie.export?"export ":"",Ie.static?"static ":"",Ie.readonly?"readonly ":"",Ie.abstract?"abstract ":"",Ie.declare?"declare ":"",Ie.computed?"[":"",Fe("key"),Ie.computed?"]":"",ee(Xe));let Le=se(Xe,Fe,At,!1,!0),Re=Ie.returnType?"returnType":"typeAnnotation",He=Ie[Re],Et=He?Fe(Re):"",gt=z(Ie,Et);return _t.push(gt?w(Le):Le),He&&_t.push(": ",w(Et)),w(_t)}case"TSNamespaceExportDeclaration":return _t.push("export as namespace ",Fe("id")),At.semi&&_t.push(";"),w(_t);case"TSEnumDeclaration":return Ie.declare&&_t.push("declare "),Ie.modifiers&&_t.push(oe(Xe,At,Fe)),Ie.const&&_t.push("const "),_t.push("enum ",Fe("id")," "),Ie.members.length===0?_t.push(w(["{",h(Xe,At),D,"}"])):_t.push(w(["{",k([d,O(Xe,At,"members",Fe),_(At,"es5")?",":""]),h(Xe,At,!0),d,"}"])),_t;case"TSEnumMember":return Ie.computed?_t.push("[",Fe("id"),"]"):_t.push(Fe("id")),Ie.initializer&&_t.push(" = ",Fe("initializer")),_t;case"TSImportEqualsDeclaration":return Ie.isExport&&_t.push("export "),_t.push("import "),Ie.importKind&&Ie.importKind!=="value"&&_t.push(Ie.importKind," "),_t.push(Fe("id")," = ",Fe("moduleReference")),At.semi&&_t.push(";"),w(_t);case"TSExternalModuleReference":return["require(",Fe("expression"),")"];case"TSModuleDeclaration":{let mt=Xe.getParentNode(),Le=I(Ie.id),Re=mt.type==="TSModuleDeclaration",He=Ie.body&&Ie.body.type==="TSModuleDeclaration";if(Re)_t.push(".");else{Ie.declare&&_t.push("declare "),_t.push(oe(Xe,At,Fe));let Et=At.originalText.slice($(Ie),$(Ie.id));Ie.id.type==="Identifier"&&Ie.id.name==="global"&&!/namespace|module/.test(Et)||_t.push(Le||/(?:^|\s)module(?:\s|$)/.test(Et)?"module ":"namespace ")}return _t.push(Fe("id")),He?_t.push(Fe("body")):Ie.body?_t.push(" ",w(Fe("body"))):_t.push(Dt),_t}case"TSConditionalType":return ie(Xe,At,Fe);case"TSInferType":return["infer"," ",Fe("typeParameter")];case"TSIntersectionType":return ke(Xe,At,Fe);case"TSUnionType":return Ee(Xe,At,Fe);case"TSFunctionType":return qe(Xe,At,Fe);case"TSTupleType":return Se(Xe,At,Fe);case"TSTypeReference":return[Fe("typeName"),Y(Xe,At,Fe,"typeParameters")];case"TSTypeAnnotation":return Fe("typeAnnotation");case"TSEmptyBodyFunctionExpression":return ce(Xe,At,Fe);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Ge(Xe,Fe,"?");case"TSJSDocNonNullableType":return Ge(Xe,Fe,"!");case"TSInstantiationExpression":return[Fe("expression"),Fe("typeParameters")];default:throw new Error("Unknown TypeScript node type: ".concat(JSON.stringify(Ie.type),"."))}}A.exports={printTypescript:Qe}}}),Ol=Oe({"src/language-js/print/comment.js"(m,A){b();var{hasNewline:h}=jn(),{builders:{join:C,hardline:x},utils:{replaceTextEndOfLine:p}}=bn(),{isLineComment:d}=qn(),{locStart:D,locEnd:w}=Ci(),k=go();function R(T,_){let j=T.getValue();if(d(j))return _.originalText.slice(D(j),w(j)).trimEnd();if(k(j)){if(P(j)){let $=I(j);return j.trailing&&!h(_.originalText,D(j),{backwards:!0})?[x,$]:$}let re=w(j),ne=_.originalText.slice(re-3,re)==="*-/";return["/*",p(j.value),ne?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(j))}function P(T){let _="*".concat(T.value,"*").split(`
|
|
90
|
+
`);return _.length>1&&_.every(j=>j.trim()[0]==="*")}function I(T){let _=T.value.split(`
|
|
91
|
+
`);return["/*",C(x,_.map((j,re)=>re===0?j.trimEnd():" "+(re<_.length-1?j.trim():j.trimStart()))),"*/"]}A.exports={printComment:R}}}),jl=Oe({"src/language-js/print/literal.js"(m,A){b();var{printString:h,printNumber:C}=jn();function x(D,w){let k=D.getNode();switch(k.type){case"RegExpLiteral":return d(k);case"BigIntLiteral":return p(k.bigint||k.extra.raw);case"NumericLiteral":return C(k.extra.raw);case"StringLiteral":return h(k.extra.raw,w);case"NullLiteral":return"null";case"BooleanLiteral":return String(k.value);case"DecimalLiteral":return C(k.value)+"m";case"Literal":{if(k.regex)return d(k.regex);if(k.bigint)return p(k.raw);if(k.decimal)return C(k.decimal)+"m";let{value:R}=k;return typeof R=="number"?C(k.raw):typeof R=="string"?h(k.raw,w):String(R)}}}function p(D){return D.toLowerCase()}function d(D){let{pattern:w,flags:k}=D;return k=[...k].sort().join(""),"/".concat(w,"/").concat(k)}A.exports={printLiteral:x}}}),nl=Oe({"src/language-js/printer-estree.js"(m,A){b();var{printDanglingComments:h}=gi(),{hasNewline:C}=jn(),{builders:{join:x,line:p,hardline:d,softline:D,group:w,indent:k},utils:{replaceTextEndOfLine:R}}=bn(),P=Ka(),I=ua(),{insertPragma:T}=Ro(),_=Ss(),j=wo(),re=Za(),{hasFlowShorthandAnnotationComment:ne,hasComment:$,CommentCheckFlags:J,isTheOnlyJsxElementInMarkdown:ee,isLineComment:oe,isNextLineEmpty:ie,needsHardlineAfterDanglingComment:se,rawText:z,hasIgnoreComment:N,isCallExpression:O,isMemberExpression:W,markerForIfWithoutBlockAndSameLineComment:S}=qn(),{locStart:H,locEnd:L}=Ci(),Y=go(),{printHtmlBinding:X,isVueEventBindingExpression:K}=ha(),{printAngular:ce}=Cc(),{printJsx:we,hasJsxIgnoreComment:ye}=Fs(),{printFlow:Ne}=rl(),{printTypescript:ke}=va(),{printOptionalToken:Ee,printBindExpressionCallee:qe,printTypeAnnotation:Se,adjustClause:Te,printRestSpread:Ge,printDefiniteToken:Qe}=zi(),{printImportDeclaration:Xe,printExportDeclaration:At,printExportAllDeclaration:Fe,printModuleSpecifier:Ie}=Nl(),{printTernary:Dt}=tu(),{printTemplateLiteral:_t}=lo(),{printArray:mt}=ma(),{printObject:Le}=tl(),{printClass:Re,printClassMethod:He,printClassProperty:Et}=cs(),{printProperty:gt}=vi(),{printFunction:ur,printArrowFunction:Ur,printMethod:Yr,printReturnStatement:Ft,printThrowStatement:St}=ls(),{printCallExpression:Mt}=eu(),{printVariableDeclarator:tt,printAssignmentExpression:rr}=ya(),{printBinaryishExpression:$e}=ga(),{printSwitchCaseConsequent:Kt}=Pl(),{printMemberExpression:qt}=Tl(),{printBlock:e,printBlockBody:t}=ru(),{printComment:o}=Ol(),{printLiteral:i}=jl(),{printDecorators:n}=el();function u(M,ve,he,Ze){let Me=c(M,ve,he,Ze);if(!Me)return"";let Ct=M.getValue(),{type:lt}=Ct;if(lt==="ClassMethod"||lt==="ClassPrivateMethod"||lt==="ClassProperty"||lt==="ClassAccessorProperty"||lt==="PropertyDefinition"||lt==="TSAbstractPropertyDefinition"||lt==="ClassPrivateProperty"||lt==="MethodDefinition"||lt==="TSAbstractMethodDefinition"||lt==="TSDeclareMethod")return Me;let Bt=[Me],er=n(M,ve,he),wt=Ct.type==="ClassExpression"&&er;if(er&&(Bt=[...er,Me],!wt))return w(Bt);if(!j(M,ve))return Ze&&Ze.needsSemi&&Bt.unshift(";"),Bt.length===1&&Bt[0]===Me?Me:Bt;if(wt&&(Bt=[k([p,...Bt])]),Bt.unshift("("),Ze&&Ze.needsSemi&&Bt.unshift(";"),ne(Ct)){let[It]=Ct.trailingComments;Bt.push(" /*",It.value.trimStart(),"*/"),It.printed=!0}return wt&&Bt.push(p),Bt.push(")"),Bt}function c(M,ve,he,Ze){let Me=M.getValue(),Ct=ve.semi?";":"";if(!Me)return"";if(typeof Me=="string")return Me;for(let Bt of[i,X,ce,we,Ne,ke]){let er=Bt(M,ve,he);if(typeof er<"u")return er}let lt=[];switch(Me.type){case"JsExpressionRoot":return he("node");case"JsonRoot":return[he("node"),d];case"File":return Me.program&&Me.program.interpreter&<.push(he(["program","interpreter"])),lt.push(he("program")),lt;case"Program":return t(M,ve,he);case"EmptyStatement":return"";case"ExpressionStatement":{if(Me.directive)return[y(Me.expression,ve),Ct];if(ve.parser==="__vue_event_binding"||ve.parser==="__vue_ts_event_binding"){let er=M.getParentNode();if(er.type==="Program"&&er.body.length===1&&er.body[0]===Me)return[he("expression"),K(Me.expression)?";":""]}let Bt=h(M,ve,!0,er=>{let{marker:wt}=er;return wt===S});return[he("expression"),ee(ve,M)?"":Ct,Bt?[" ",Bt]:""]}case"ParenthesizedExpression":return!$(Me.expression)&&(Me.expression.type==="ObjectExpression"||Me.expression.type==="ArrayExpression")?["(",he("expression"),")"]:w(["(",k([D,he("expression")]),D,")"]);case"AssignmentExpression":return rr(M,ve,he);case"VariableDeclarator":return tt(M,ve,he);case"BinaryExpression":case"LogicalExpression":return $e(M,ve,he);case"AssignmentPattern":return[he("left")," = ",he("right")];case"OptionalMemberExpression":case"MemberExpression":return qt(M,ve,he);case"MetaProperty":return[he("meta"),".",he("property")];case"BindExpression":return Me.object&<.push(he("object")),lt.push(w(k([D,qe(M,ve,he)]))),lt;case"Identifier":return[Me.name,Ee(M),Qe(M),Se(M,ve,he)];case"V8IntrinsicIdentifier":return["%",Me.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return Ge(M,ve,he);case"FunctionDeclaration":case"FunctionExpression":return ur(M,he,ve,Ze);case"ArrowFunctionExpression":return Ur(M,ve,he,Ze);case"YieldExpression":return lt.push("yield"),Me.delegate&<.push("*"),Me.argument&<.push(" ",he("argument")),lt;case"AwaitExpression":{if(lt.push("await"),Me.argument){lt.push(" ",he("argument"));let Bt=M.getParentNode();if(O(Bt)&&Bt.callee===Me||W(Bt)&&Bt.object===Me){lt=[k([D,...lt]),D];let er=M.findAncestor(wt=>wt.type==="AwaitExpression"||wt.type==="BlockStatement");if(!er||er.type!=="AwaitExpression")return w(lt)}}return lt}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return At(M,ve,he);case"ExportAllDeclaration":return Fe(M,ve,he);case"ImportDeclaration":return Xe(M,ve,he);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Ie(M,ve,he);case"ImportAttribute":return[he("key"),": ",he("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return e(M,ve,he);case"ThrowStatement":return St(M,ve,he);case"ReturnStatement":return Ft(M,ve,he);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return Mt(M,ve,he);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return Le(M,ve,he);case"ObjectProperty":case"Property":return Me.method||Me.kind==="get"||Me.kind==="set"?Yr(M,ve,he):gt(M,ve,he);case"ObjectMethod":return Yr(M,ve,he);case"Decorator":return["@",he("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return mt(M,ve,he);case"SequenceExpression":{let Bt=M.getParentNode(0);if(Bt.type==="ExpressionStatement"||Bt.type==="ForStatement"){let er=[];return M.each((wt,It)=>{It===0?er.push(he()):er.push(",",k([p,he()]))},"expressions"),w(er)}return w(x([",",p],M.map(he,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[he("value"),Ct];case"DirectiveLiteral":return y(Me,ve);case"UnaryExpression":return lt.push(Me.operator),/[a-z]$/.test(Me.operator)&<.push(" "),$(Me.argument)?lt.push(w(["(",k([D,he("argument")]),D,")"])):lt.push(he("argument")),lt;case"UpdateExpression":return lt.push(he("argument"),Me.operator),Me.prefix&<.reverse(),lt;case"ConditionalExpression":return Dt(M,ve,he);case"VariableDeclaration":{let Bt=M.map(he,"declarations"),er=M.getParentNode(),wt=er.type==="ForStatement"||er.type==="ForInStatement"||er.type==="ForOfStatement",It=Me.declarations.some(Ve=>Ve.init),ir;return Bt.length===1&&!$(Me.declarations[0])?ir=Bt[0]:Bt.length>0&&(ir=k(Bt[0])),lt=[Me.declare?"declare ":"",Me.kind,ir?[" ",ir]:"",k(Bt.slice(1).map(Ve=>[",",It&&!wt?d:p,Ve]))],wt&&er.body!==Me||lt.push(Ct),w(lt)}case"WithStatement":return w(["with (",he("object"),")",Te(Me.body,he("body"))]);case"IfStatement":{let Bt=Te(Me.consequent,he("consequent")),er=w(["if (",w([k([D,he("test")]),D]),")",Bt]);if(lt.push(er),Me.alternate){let wt=$(Me.consequent,J.Trailing|J.Line)||se(Me),It=Me.consequent.type==="BlockStatement"&&!wt;lt.push(It?" ":d),$(Me,J.Dangling)&<.push(h(M,ve,!0),wt?d:" "),lt.push("else",w(Te(Me.alternate,he("alternate"),Me.alternate.type==="IfStatement")))}return lt}case"ForStatement":{let Bt=Te(Me.body,he("body")),er=h(M,ve,!0),wt=er?[er,D]:"";return!Me.init&&!Me.test&&!Me.update?[wt,w(["for (;;)",Bt])]:[wt,w(["for (",w([k([D,he("init"),";",p,he("test"),";",p,he("update")]),D]),")",Bt])]}case"WhileStatement":return w(["while (",w([k([D,he("test")]),D]),")",Te(Me.body,he("body"))]);case"ForInStatement":return w(["for (",he("left")," in ",he("right"),")",Te(Me.body,he("body"))]);case"ForOfStatement":return w(["for",Me.await?" await":""," (",he("left")," of ",he("right"),")",Te(Me.body,he("body"))]);case"DoWhileStatement":{let Bt=Te(Me.body,he("body"));return lt=[w(["do",Bt])],Me.body.type==="BlockStatement"?lt.push(" "):lt.push(d),lt.push("while (",w([k([D,he("test")]),D]),")",Ct),lt}case"DoExpression":return[Me.async?"async ":"","do ",he("body")];case"BreakStatement":return lt.push("break"),Me.label&<.push(" ",he("label")),lt.push(Ct),lt;case"ContinueStatement":return lt.push("continue"),Me.label&<.push(" ",he("label")),lt.push(Ct),lt;case"LabeledStatement":return Me.body.type==="EmptyStatement"?[he("label"),":;"]:[he("label"),": ",he("body")];case"TryStatement":return["try ",he("block"),Me.handler?[" ",he("handler")]:"",Me.finalizer?[" finally ",he("finalizer")]:""];case"CatchClause":if(Me.param){let Bt=$(Me.param,wt=>!Y(wt)||wt.leading&&C(ve.originalText,L(wt))||wt.trailing&&C(ve.originalText,H(wt),{backwards:!0})),er=he("param");return["catch ",Bt?["(",k([D,er]),D,") "]:["(",er,") "],he("body")]}return["catch ",he("body")];case"SwitchStatement":return[w(["switch (",k([D,he("discriminant")]),D,")"])," {",Me.cases.length>0?k([d,x(d,M.map((Bt,er,wt)=>{let It=Bt.getValue();return[he(),er!==wt.length-1&&ie(It,ve)?d:""]},"cases"))]):"",d,"}"];case"SwitchCase":{Me.test?lt.push("case ",he("test"),":"):lt.push("default:"),$(Me,J.Dangling)&<.push(" ",h(M,ve,!0));let Bt=Me.consequent.filter(er=>er.type!=="EmptyStatement");if(Bt.length>0){let er=Kt(M,ve,he);lt.push(Bt.length===1&&Bt[0].type==="BlockStatement"?[" ",er]:k([d,er]))}return lt}case"DebuggerStatement":return["debugger",Ct];case"ClassDeclaration":case"ClassExpression":return Re(M,ve,he);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return He(M,ve,he);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":return Et(M,ve,he);case"TemplateElement":return R(Me.value.raw);case"TemplateLiteral":return _t(M,he,ve);case"TaggedTemplateExpression":return[he("tag"),he("typeParameters"),he("quasi")];case"PrivateIdentifier":return["#",he("name")];case"PrivateName":return["#",he("id")];case"InterpreterDirective":return lt.push("#!",Me.value,d),ie(Me,ve)&<.push(d),lt;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{lt.push("module {");let Bt=he("body");return Bt&<.push(k([d,Bt]),d),lt.push("}"),lt}default:throw new Error("unknown type: "+JSON.stringify(Me.type))}}function y(M,ve){let he=z(M),Ze=he.slice(1,-1);if(Ze.includes('"')||Ze.includes("'"))return he;let Me=ve.singleQuote?"'":'"';return Me+Ze+Me}function B(M){return M.type&&!Y(M)&&!oe(M)&&M.type!=="EmptyStatement"&&M.type!=="TemplateElement"&&M.type!=="Import"&&M.type!=="TSEmptyBodyFunctionExpression"}A.exports={preprocess:re,print:u,embed:P,insertPragma:T,massageAstNode:I,hasPrettierIgnore(M){return N(M)||ye(M)},willPrintOwnComments:_.willPrintOwnComments,canAttachComment:B,printComment:o,isBlockComment:Y,handleComments:{avoidAstMutation:!0,ownLine:_.handleOwnLineComment,endOfLine:_.handleEndOfLineComment,remaining:_.handleRemainingComment},getCommentChildNodes:_.getCommentChildNodes}}}),Ml=Oe({"src/language-js/printer-estree-json.js"(m,A){b();var{builders:{hardline:h,indent:C,join:x}}=bn(),p=Za();function d(k,R,P){let I=k.getValue();switch(I.type){case"JsonRoot":return[P("node"),h];case"ArrayExpression":{if(I.elements.length===0)return"[]";let T=k.map(()=>k.getValue()===null?"null":P(),"elements");return["[",C([h,x([",",h],T)]),h,"]"]}case"ObjectExpression":return I.properties.length===0?"{}":["{",C([h,x([",",h],k.map(P,"properties"))]),h,"}"];case"ObjectProperty":return[P("key"),": ",P("value")];case"UnaryExpression":return[I.operator==="+"?"":I.operator,P("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return I.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(I.value);case"Identifier":{let T=k.getParentNode();return T&&T.type==="ObjectProperty"&&T.key===I?JSON.stringify(I.name):I.name}case"TemplateLiteral":return P(["quasis",0]);case"TemplateElement":return JSON.stringify(I.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(I.type))}}var D=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function w(k,R){let{type:P}=k;if(P==="ObjectProperty"&&k.key.type==="Identifier"){R.key={type:"StringLiteral",value:k.key.name};return}if(P==="UnaryExpression"&&k.operator==="+")return R.argument;if(P==="ArrayExpression"){for(let[I,T]of k.elements.entries())T===null&&R.elements.splice(I,0,{type:"NullLiteral"});return}if(P==="TemplateLiteral")return{type:"StringLiteral",value:k.quasis[0].value.cooked}}w.ignoredProperties=D,A.exports={preprocess:p,print:d,massageAstNode:w}}}),zo=Oe({"src/common/common-options.js"(m,A){b();var h="Common";A.exports={bracketSpacing:{since:"0.0.0",category:h,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:h,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:h,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:h,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:h,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),wc=Oe({"src/language-js/options.js"(m,A){b();var h=zo(),C="JavaScript";A.exports={arrowParens:{since:"1.9.0",category:C,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:h.bracketSameLine,bracketSpacing:h.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:C,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:C,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:h.singleQuote,jsxSingleQuote:{since:"1.15.0",category:C,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:C,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:C,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:h.singleAttributePerLine}}}),nu=Oe({"src/language-js/parse/parsers.js"(){b()}}),Ao=Oe({"node_modules/linguist-languages/data/JavaScript.json"(m,A){A.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),iu=Oe({"node_modules/linguist-languages/data/TypeScript.json"(m,A){A.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),Ll=Oe({"node_modules/linguist-languages/data/TSX.json"(m,A){A.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),il=Oe({"node_modules/linguist-languages/data/JSON.json"(m,A){A.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),co=Oe({"node_modules/linguist-languages/data/JSON with Comments.json"(m,A){A.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),ei=Oe({"node_modules/linguist-languages/data/JSON5.json"(m,A){A.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),So=Oe({"src/language-js/index.js"(m,A){b();var h=Lo(),C=nl(),x=Ml(),p=wc(),d=nu(),D=[h(Ao(),k=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...k.interpreters,"zx"],extensions:[...k.extensions.filter(R=>R!==".jsx"),".wxs"]})),h(Ao(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),h(Ao(),()=>({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})),h(iu(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),h(Ll(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),h(il(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),h(il(),k=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:k.extensions.filter(R=>R!==".jsonl")})),h(co(),k=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...k.filenames,".eslintrc",".swcrc"]})),h(ei(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],w={estree:C,"estree-json":x};A.exports={languages:D,options:p,printers:w,parsers:d}}}),ps=Oe({"src/language-css/clean.js"(m,A){b();var{isFrontMatterNode:h}=jn(),C=Rn(),x=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function p(D,w,k){if(h(D)&&D.lang==="yaml"&&delete w.value,D.type==="css-comment"&&k.type==="css-root"&&k.nodes.length>0&&((k.nodes[0]===D||h(k.nodes[0])&&k.nodes[1]===D)&&(delete w.text,/^\*\s*@(?:format|prettier)\s*$/.test(D.text))||k.type==="css-root"&&C(k.nodes)===D))return null;if(D.type==="value-root"&&delete w.text,(D.type==="media-query"||D.type==="media-query-list"||D.type==="media-feature-expression")&&delete w.value,D.type==="css-rule"&&delete w.params,D.type==="selector-combinator"&&(w.value=w.value.replace(/\s+/g," ")),D.type==="media-feature"&&(w.value=w.value.replace(/ /g,"")),(D.type==="value-word"&&(D.isColor&&D.isHex||["initial","inherit","unset","revert"].includes(w.value.replace().toLowerCase()))||D.type==="media-feature"||D.type==="selector-root-invalid"||D.type==="selector-pseudo")&&(w.value=w.value.toLowerCase()),D.type==="css-decl"&&(w.prop=w.prop.toLowerCase()),(D.type==="css-atrule"||D.type==="css-import")&&(w.name=w.name.toLowerCase()),D.type==="value-number"&&(w.unit=w.unit.toLowerCase()),(D.type==="media-feature"||D.type==="media-keyword"||D.type==="media-type"||D.type==="media-unknown"||D.type==="media-url"||D.type==="media-value"||D.type==="selector-attribute"||D.type==="selector-string"||D.type==="selector-class"||D.type==="selector-combinator"||D.type==="value-string")&&w.value&&(w.value=d(w.value)),D.type==="selector-attribute"&&(w.attribute=w.attribute.trim(),w.namespace&&typeof w.namespace=="string"&&(w.namespace=w.namespace.trim(),w.namespace.length===0&&(w.namespace=!0)),w.value&&(w.value=w.value.trim().replace(/^["']|["']$/g,""),delete w.quoted)),(D.type==="media-value"||D.type==="media-type"||D.type==="value-number"||D.type==="selector-root-invalid"||D.type==="selector-class"||D.type==="selector-combinator"||D.type==="selector-tag")&&w.value&&(w.value=w.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(R,P,I)=>{let T=Number(P);return Number.isNaN(T)?R:T+I.toLowerCase()})),D.type==="selector-tag"){let R=D.value.toLowerCase();["from","to"].includes(R)&&(w.value=R)}if(D.type==="css-atrule"&&D.name.toLowerCase()==="supports"&&delete w.value,D.type==="selector-unknown"&&delete w.value,D.type==="value-comma_group"){let R=D.groups.findIndex(P=>P.type==="value-number"&&P.unit==="...");R!==-1&&(w.groups[R].unit="",w.groups.splice(R+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}}p.ignoredProperties=x;function d(D){return D.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}A.exports=p}}),Ho=Oe({"src/utils/front-matter/print.js"(m,A){b();var{builders:{hardline:h,markAsRoot:C}}=bn();function x(p,d){if(p.lang==="yaml"){let D=p.value.trim(),w=D?d(D,{parser:"yaml"},{stripTrailingHardline:!0}):"";return C([p.startDelimiter,h,w,w?h:"",p.endDelimiter])}}A.exports=x}}),ou=Oe({"src/language-css/embed.js"(m,A){b();var{builders:{hardline:h}}=bn(),C=Ho();function x(p,d,D){let w=p.getValue();if(w.type==="front-matter"){let k=C(w,D);return k?[k,h]:""}}A.exports=x}}),fs=Oe({"src/utils/front-matter/parse.js"(m,A){b();var h=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function C(x){let p=x.match(h);if(!p)return{content:x};let{startDelimiter:d,language:D,value:w="",endDelimiter:k}=p.groups,R=D.trim()||"yaml";if(d==="+++"&&(R="toml"),R!=="yaml"&&d!==k)return{content:x};let[P]=p;return{frontMatter:{type:"front-matter",lang:R,value:w,startDelimiter:d,endDelimiter:k,raw:P.replace(/\n$/,"")},content:P.replace(/[^\n]/g," ")+x.slice(P.length)}}A.exports=C}}),ol=Oe({"src/language-css/pragma.js"(m,A){b();var h=Ro(),C=fs();function x(d){return h.hasPragma(C(d).content)}function p(d){let{frontMatter:D,content:w}=C(d);return(D?D.raw+`
|
|
92
|
+
|
|
93
|
+
`:"")+h.insertPragma(w)}A.exports={hasPragma:x,insertPragma:p}}}),Il=Oe({"src/language-css/utils/index.js"(m,A){b();var h=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 C(Le,Re){let He=Array.isArray(Re)?Re:[Re],Et=-1,gt;for(;gt=Le.getParentNode(++Et);)if(He.includes(gt.type))return Et;return-1}function x(Le,Re){let He=C(Le,Re);return He===-1?null:Le.getParentNode(He)}function p(Le){var Re;let He=x(Le,"css-decl");return He==null||(Re=He.prop)===null||Re===void 0?void 0:Re.toLowerCase()}var d=new Set(["initial","inherit","unset","revert"]);function D(Le){return d.has(Le.toLowerCase())}function w(Le,Re){let He=x(Le,"css-atrule");return(He==null?void 0:He.name)&&He.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(Re.toLowerCase())}function k(Le){return Le.includes("$")||Le.includes("@")||Le.includes("#")||Le.startsWith("%")||Le.startsWith("--")||Le.startsWith(":--")||Le.includes("(")&&Le.includes(")")?Le:Le.toLowerCase()}function R(Le,Re){var He;let Et=x(Le,"value-func");return(Et==null||(He=Et.value)===null||He===void 0?void 0:He.toLowerCase())===Re}function P(Le){var Re;let He=x(Le,"css-rule"),Et=He==null||(Re=He.raws)===null||Re===void 0?void 0:Re.selector;return Et&&(Et.startsWith(":import")||Et.startsWith(":export"))}function I(Le,Re){let He=Array.isArray(Re)?Re:[Re],Et=x(Le,"css-atrule");return Et&&He.includes(Et.name.toLowerCase())}function T(Le){let Re=Le.getValue(),He=x(Le,"css-atrule");return(He==null?void 0:He.name)==="import"&&Re.groups[0].value==="url"&&Re.groups.length===2}function _(Le){return Le.type==="value-func"&&Le.value.toLowerCase()==="url"}function j(Le,Re){var He;let Et=(He=Le.getParentNode())===null||He===void 0?void 0:He.nodes;return Et&&Et.indexOf(Re)===Et.length-1}function re(Le){let{selector:Re}=Le;return Re?typeof Re=="string"&&/^@.+:.*$/.test(Re)||Re.value&&/^@.+:.*$/.test(Re.value):!1}function ne(Le){return Le.type==="value-word"&&["from","through","end"].includes(Le.value)}function $(Le){return Le.type==="value-word"&&["and","or","not"].includes(Le.value)}function J(Le){return Le.type==="value-word"&&Le.value==="in"}function ee(Le){return Le.type==="value-operator"&&Le.value==="*"}function oe(Le){return Le.type==="value-operator"&&Le.value==="/"}function ie(Le){return Le.type==="value-operator"&&Le.value==="+"}function se(Le){return Le.type==="value-operator"&&Le.value==="-"}function z(Le){return Le.type==="value-operator"&&Le.value==="%"}function N(Le){return ee(Le)||oe(Le)||ie(Le)||se(Le)||z(Le)}function O(Le){return Le.type==="value-word"&&["==","!="].includes(Le.value)}function W(Le){return Le.type==="value-word"&&["<",">","<=",">="].includes(Le.value)}function S(Le){return Le.type==="css-atrule"&&["if","else","for","each","while"].includes(Le.name)}function H(Le){var Re;return((Re=Le.raws)===null||Re===void 0?void 0:Re.params)&&/^\(\s*\)$/.test(Le.raws.params)}function L(Le){return Le.name.startsWith("prettier-placeholder")}function Y(Le){return Le.prop.startsWith("@prettier-placeholder")}function X(Le,Re){return Le.value==="$$"&&Le.type==="value-func"&&(Re==null?void 0:Re.type)==="value-word"&&!Re.raws.before}function K(Le){var Re,He;return((Re=Le.value)===null||Re===void 0?void 0:Re.type)==="value-root"&&((He=Le.value.group)===null||He===void 0?void 0:He.type)==="value-value"&&Le.prop.toLowerCase()==="composes"}function ce(Le){var Re,He,Et;return((Re=Le.value)===null||Re===void 0||(He=Re.group)===null||He===void 0||(Et=He.group)===null||Et===void 0?void 0:Et.type)==="value-paren_group"&&Le.value.group.group.open!==null&&Le.value.group.group.close!==null}function we(Le){var Re;return((Re=Le.raws)===null||Re===void 0?void 0:Re.before)===""}function ye(Le){var Re,He;return Le.type==="value-comma_group"&&((Re=Le.groups)===null||Re===void 0||(He=Re[1])===null||He===void 0?void 0:He.type)==="value-colon"}function Ne(Le){var Re;return Le.type==="value-paren_group"&&((Re=Le.groups)===null||Re===void 0?void 0:Re[0])&&ye(Le.groups[0])}function ke(Le){var Re;let He=Le.getValue();if(He.groups.length===0)return!1;let Et=Le.getParentNode(1);if(!Ne(He)&&!(Et&&Ne(Et)))return!1;let gt=x(Le,"css-decl");return!!(gt!=null&&(Re=gt.prop)!==null&&Re!==void 0&&Re.startsWith("$")||Ne(Et)||Et.type==="value-func")}function Ee(Le){return Le.type==="value-comment"&&Le.inline}function qe(Le){return Le.type==="value-word"&&Le.value==="#"}function Se(Le){return Le.type==="value-word"&&Le.value==="{"}function Te(Le){return Le.type==="value-word"&&Le.value==="}"}function Ge(Le){return["value-word","value-atword"].includes(Le.type)}function Qe(Le){return(Le==null?void 0:Le.type)==="value-colon"}function Xe(Le,Re){if(!ye(Re))return!1;let{groups:He}=Re,Et=He.indexOf(Le);return Et===-1?!1:Qe(He[Et+1])}function At(Le){return Le.value&&["not","and","or"].includes(Le.value.toLowerCase())}function Fe(Le){return Le.type!=="value-func"?!1:h.has(Le.value.toLowerCase())}function Ie(Le){return/\/\//.test(Le.split(/[\n\r]/).pop())}function Dt(Le){return(Le==null?void 0:Le.type)==="value-atword"&&Le.value.startsWith("prettier-placeholder-")}function _t(Le,Re){var He,Et;if(((He=Le.open)===null||He===void 0?void 0:He.value)!=="("||((Et=Le.close)===null||Et===void 0?void 0:Et.value)!==")"||Le.groups.some(gt=>gt.type!=="value-comma_group"))return!1;if(Re.type==="value-comma_group"){let gt=Re.groups.indexOf(Le)-1,ur=Re.groups[gt];if((ur==null?void 0:ur.type)==="value-word"&&ur.value==="with")return!0}return!1}function mt(Le){var Re,He;return Le.type==="value-paren_group"&&((Re=Le.open)===null||Re===void 0?void 0:Re.value)==="("&&((He=Le.close)===null||He===void 0?void 0:He.value)===")"}A.exports={getAncestorCounter:C,getAncestorNode:x,getPropOfDeclNode:p,maybeToLowerCase:k,insideValueFunctionNode:R,insideICSSRuleNode:P,insideAtRuleNode:I,insideURLFunctionInImportAtRuleNode:T,isKeyframeAtRuleKeywords:w,isWideKeywords:D,isLastNode:j,isSCSSControlDirectiveNode:S,isDetachedRulesetDeclarationNode:re,isRelationalOperatorNode:W,isEqualityOperatorNode:O,isMultiplicationNode:ee,isDivisionNode:oe,isAdditionNode:ie,isSubtractionNode:se,isModuloNode:z,isMathOperatorNode:N,isEachKeywordNode:J,isForKeywordNode:ne,isURLFunctionNode:_,isIfElseKeywordNode:$,hasComposesNode:K,hasParensAroundNode:ce,hasEmptyRawBefore:we,isDetachedRulesetCallNode:H,isTemplatePlaceholderNode:L,isTemplatePropNode:Y,isPostcssSimpleVarNode:X,isKeyValuePairNode:ye,isKeyValuePairInParenGroupNode:Ne,isKeyInValuePairNode:Xe,isSCSSMapItemNode:ke,isInlineValueCommentNode:Ee,isHashNode:qe,isLeftCurlyBraceNode:Se,isRightCurlyBraceNode:Te,isWordNode:Ge,isColonNode:Qe,isMediaAndSupportsKeywords:At,isColorAdjusterFuncNode:Fe,lastLineHasInlineComment:Ie,isAtWordPlaceholderNode:Dt,isConfigurationNode:_t,isParenGroupNode:mt}}}),Xo=Oe({"src/utils/line-column-to-index.js"(m,A){b(),A.exports=function(h,C){let x=0;for(let p=0;p<h.line-1;++p)x=C.indexOf(`
|
|
94
|
+
`,x)+1;return x+h.column}}}),Fo=Oe({"src/language-css/loc.js"(m,A){b();var{skipEverythingButNewLine:h}=oo(),C=Rn(),x=Xo();function p(T,_){return typeof T.sourceIndex=="number"?T.sourceIndex:T.source?x(T.source.start,_)-1:null}function d(T,_){if(T.type==="css-comment"&&T.inline)return h(_,T.source.startOffset);let j=T.nodes&&C(T.nodes);return j&&T.source&&!T.source.end&&(T=j),T.source&&T.source.end?x(T.source.end,_):null}function D(T,_){T.source&&(T.source.startOffset=p(T,_),T.source.endOffset=d(T,_));for(let j in T){let re=T[j];j==="source"||!re||typeof re!="object"||(re.type==="value-root"||re.type==="value-unknown"?w(re,k(T),re.text||re.value):D(re,_))}}function w(T,_,j){T.source&&(T.source.startOffset=p(T,j)+_,T.source.endOffset=d(T,j)+_);for(let re in T){let ne=T[re];re==="source"||!ne||typeof ne!="object"||w(ne,_,j)}}function k(T){let _=T.source.startOffset;return typeof T.prop=="string"&&(_+=T.prop.length),T.type==="css-atrule"&&typeof T.name=="string"&&(_+=1+T.name.length+T.raws.afterName.match(/^\s*:?\s*/)[0].length),T.type!=="css-atrule"&&T.raws&&typeof T.raws.between=="string"&&(_+=T.raws.between.length),_}function R(T){let _="initial",j="initial",re,ne=!1,$=[];for(let J=0;J<T.length;J++){let ee=T[J];switch(_){case"initial":if(ee==="'"){_="single-quotes";continue}if(ee==='"'){_="double-quotes";continue}if((ee==="u"||ee==="U")&&T.slice(J,J+4).toLowerCase()==="url("){_="url",J+=3;continue}if(ee==="*"&&T[J-1]==="/"){_="comment-block";continue}if(ee==="/"&&T[J-1]==="/"){_="comment-inline",re=J-1;continue}continue;case"single-quotes":if(ee==="'"&&T[J-1]!=="\\"&&(_=j,j="initial"),ee===`
|
|
95
|
+
`||ee==="\r")return T;continue;case"double-quotes":if(ee==='"'&&T[J-1]!=="\\"&&(_=j,j="initial"),ee===`
|
|
96
|
+
`||ee==="\r")return T;continue;case"url":if(ee===")"&&(_="initial"),ee===`
|
|
97
|
+
`||ee==="\r")return T;if(ee==="'"){_="single-quotes",j="url";continue}if(ee==='"'){_="double-quotes",j="url";continue}continue;case"comment-block":ee==="/"&&T[J-1]==="*"&&(_="initial");continue;case"comment-inline":(ee==='"'||ee==="'"||ee==="*")&&(ne=!0),(ee===`
|
|
98
|
+
`||ee==="\r")&&(ne&&$.push([re,J]),_="initial",ne=!1);continue}}for(let[J,ee]of $)T=T.slice(0,J)+T.slice(J,ee).replace(/["'*]/g," ")+T.slice(ee);return T}function P(T){return T.source.startOffset}function I(T){return T.source.endOffset}A.exports={locStart:P,locEnd:I,calculateLoc:D,replaceQuotesInInlineComments:R}}}),Rl=Oe({"src/language-css/utils/is-less-parser.js"(m,A){b();function h(C){return C.parser==="css"||C.parser==="less"}A.exports=h}}),sl=Oe({"src/language-css/utils/is-scss.js"(m,A){b();function h(C,x){return C==="less"||C==="scss"?C==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(x)}A.exports=h}}),ds=Oe({"src/language-css/utils/css-units.evaluate.js"(m,A){A.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),al=Oe({"src/language-css/utils/print-unit.js"(m,A){b();var h=ds();function C(x){let p=x.toLowerCase();return Object.prototype.hasOwnProperty.call(h,p)?h[p]:x}A.exports=C}}),ul=Oe({"src/language-css/printer-postcss.js"(m,A){b();var h=Rn(),{printNumber:C,printString:x,hasNewline:p,isFrontMatterNode:d,isNextLineEmpty:D,isNonEmptyArray:w}=jn(),{builders:{join:k,line:R,hardline:P,softline:I,group:T,fill:_,indent:j,dedent:re,ifBreak:ne,breakParent:$},utils:{removeLines:J,getDocParts:ee}}=bn(),oe=ps(),ie=ou(),{insertPragma:se}=ol(),{getAncestorNode:z,getPropOfDeclNode:N,maybeToLowerCase:O,insideValueFunctionNode:W,insideICSSRuleNode:S,insideAtRuleNode:H,insideURLFunctionInImportAtRuleNode:L,isKeyframeAtRuleKeywords:Y,isWideKeywords:X,isLastNode:K,isSCSSControlDirectiveNode:ce,isDetachedRulesetDeclarationNode:we,isRelationalOperatorNode:ye,isEqualityOperatorNode:Ne,isMultiplicationNode:ke,isDivisionNode:Ee,isAdditionNode:qe,isSubtractionNode:Se,isMathOperatorNode:Te,isEachKeywordNode:Ge,isForKeywordNode:Qe,isURLFunctionNode:Xe,isIfElseKeywordNode:At,hasComposesNode:Fe,hasParensAroundNode:Ie,hasEmptyRawBefore:Dt,isKeyValuePairNode:_t,isKeyInValuePairNode:mt,isDetachedRulesetCallNode:Le,isTemplatePlaceholderNode:Re,isTemplatePropNode:He,isPostcssSimpleVarNode:Et,isSCSSMapItemNode:gt,isInlineValueCommentNode:ur,isHashNode:Ur,isLeftCurlyBraceNode:Yr,isRightCurlyBraceNode:Ft,isWordNode:St,isColonNode:Mt,isMediaAndSupportsKeywords:tt,isColorAdjusterFuncNode:rr,lastLineHasInlineComment:$e,isAtWordPlaceholderNode:Kt,isConfigurationNode:qt,isParenGroupNode:e}=Il(),{locStart:t,locEnd:o}=Fo(),i=Rl(),n=sl(),u=al();function c(wt){return wt.trailingComma==="es5"||wt.trailingComma==="all"}function y(wt,It,ir){let Ve=wt.getValue();if(!Ve)return"";if(typeof Ve=="string")return Ve;switch(Ve.type){case"front-matter":return[Ve.raw,P];case"css-root":{let wr=B(wt,It,ir),Pr=Ve.raws.after.trim();return[wr,Pr?" ".concat(Pr):"",ee(wr).length>0?P:""]}case"css-comment":{let wr=Ve.inline||Ve.raws.inline,Pr=It.originalText.slice(t(Ve),o(Ve));return wr?Pr.trimEnd():Pr}case"css-rule":return[ir("selector"),Ve.important?" !important":"",Ve.nodes?[Ve.selector&&Ve.selector.type==="selector-unknown"&&$e(Ve.selector.value)?R:" ","{",Ve.nodes.length>0?j([P,B(wt,It,ir)]):"",P,"}",we(Ve)?";":""]:";"];case"css-decl":{let wr=wt.getParentNode(),{between:Pr}=Ve.raws,on=Pr.trim(),ti=on===":",Hn=Fe(Ve)?J(ir("value")):ir("value");return!ti&&$e(on)&&(Hn=j([P,re(Hn)])),[Ve.raws.before.replace(/[\s;]/g,""),S(wt)?Ve.prop:O(Ve.prop),on.startsWith("//")?" ":"",on,Ve.extend?"":" ",i(It)&&Ve.extend&&Ve.selector?["extend(",ir("selector"),")"]:"",Hn,Ve.raws.important?Ve.raws.important.replace(/\s*!\s*important/i," !important"):Ve.important?" !important":"",Ve.raws.scssDefault?Ve.raws.scssDefault.replace(/\s*!default/i," !default"):Ve.scssDefault?" !default":"",Ve.raws.scssGlobal?Ve.raws.scssGlobal.replace(/\s*!global/i," !global"):Ve.scssGlobal?" !global":"",Ve.nodes?[" {",j([I,B(wt,It,ir)]),I,"}"]:He(Ve)&&!wr.raws.semicolon&&It.originalText[o(Ve)-1]!==";"?"":It.__isHTMLStyleAttribute&&K(wt,Ve)?ne(";"):";"]}case"css-atrule":{let wr=wt.getParentNode(),Pr=Re(Ve)&&!wr.raws.semicolon&&It.originalText[o(Ve)-1]!==";";if(i(It)){if(Ve.mixin)return[ir("selector"),Ve.important?" !important":"",Pr?"":";"];if(Ve.function)return[Ve.name,ir("params"),Pr?"":";"];if(Ve.variable)return["@",Ve.name,": ",Ve.value?ir("value"):"",Ve.raws.between.trim()?Ve.raws.between.trim()+" ":"",Ve.nodes?["{",j([Ve.nodes.length>0?I:"",B(wt,It,ir)]),I,"}"]:"",Pr?"":";"]}return["@",Le(Ve)||Ve.name.endsWith(":")?Ve.name:O(Ve.name),Ve.params?[Le(Ve)?"":Re(Ve)?Ve.raws.afterName===""?"":Ve.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(Ve.raws.afterName)?[P,P]:/^\s*\n/.test(Ve.raws.afterName)?P:" ":" ",ir("params")]:"",Ve.selector?j([" ",ir("selector")]):"",Ve.value?T([" ",ir("value"),ce(Ve)?Ie(Ve)?" ":R:""]):Ve.name==="else"?" ":"",Ve.nodes?[ce(Ve)?"":Ve.selector&&!Ve.selector.nodes&&typeof Ve.selector.value=="string"&&$e(Ve.selector.value)||!Ve.selector&&typeof Ve.params=="string"&&$e(Ve.params)?R:" ","{",j([Ve.nodes.length>0?I:"",B(wt,It,ir)]),I,"}"]:Pr?"":";"]}case"media-query-list":{let wr=[];return wt.each(Pr=>{let on=Pr.getValue();on.type==="media-query"&&on.value===""||wr.push(ir())},"nodes"),T(j(k(R,wr)))}case"media-query":return[k(" ",wt.map(ir,"nodes")),K(wt,Ve)?"":","];case"media-type":return Bt(Ct(Ve.value,It));case"media-feature-expression":return Ve.nodes?["(",...wt.map(ir,"nodes"),")"]:Ve.value;case"media-feature":return O(Ct(Ve.value.replace(/ +/g," "),It));case"media-colon":return[Ve.value," "];case"media-value":return Bt(Ct(Ve.value,It));case"media-keyword":return Ct(Ve.value,It);case"media-url":return Ct(Ve.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),It);case"media-unknown":return Ve.value;case"selector-root":return T([H(wt,"custom-selector")?[z(wt,"css-atrule").customSelector,R]:"",k([",",H(wt,["extend","custom-selector","nest"])?R:P],wt.map(ir,"nodes"))]);case"selector-selector":return T(j(wt.map(ir,"nodes")));case"selector-comment":return Ve.value;case"selector-string":return Ct(Ve.value,It);case"selector-tag":{let wr=wt.getParentNode(),Pr=wr&&wr.nodes.indexOf(Ve),on=Pr&&wr.nodes[Pr-1];return[Ve.namespace?[Ve.namespace===!0?"":Ve.namespace.trim(),"|"]:"",on.type==="selector-nesting"?Ve.value:Bt(Y(wt,Ve.value)?Ve.value.toLowerCase():Ve.value)]}case"selector-id":return["#",Ve.value];case"selector-class":return[".",Bt(Ct(Ve.value,It))];case"selector-attribute":return["[",Ve.namespace?[Ve.namespace===!0?"":Ve.namespace.trim(),"|"]:"",Ve.attribute.trim(),Ve.operator?Ve.operator:"",Ve.value?lt(Ct(Ve.value.trim(),It),It):"",Ve.insensitive?" i":"","]"];case"selector-combinator":{if(Ve.value==="+"||Ve.value===">"||Ve.value==="~"||Ve.value===">>>"){let on=wt.getParentNode();return[on.type==="selector-selector"&&on.nodes[0]===Ve?"":R,Ve.value,K(wt,Ve)?"":" "]}let wr=Ve.value.trim().startsWith("(")?R:"",Pr=Bt(Ct(Ve.value.trim(),It))||R;return[wr,Pr]}case"selector-universal":return[Ve.namespace?[Ve.namespace===!0?"":Ve.namespace.trim(),"|"]:"",Ve.value];case"selector-pseudo":return[O(Ve.value),w(Ve.nodes)?["(",k(", ",wt.map(ir,"nodes")),")"]:""];case"selector-nesting":return Ve.value;case"selector-unknown":{let wr=z(wt,"css-rule");if(wr&&wr.isSCSSNesterProperty)return Bt(Ct(O(Ve.value),It));let Pr=wt.getParentNode();if(Pr.raws&&Pr.raws.selector){let ti=t(Pr),Hn=ti+Pr.raws.selector.length;return It.originalText.slice(ti,Hn).trim()}let on=wt.getParentNode(1);if(Pr.type==="value-paren_group"&&on&&on.type==="value-func"&&on.value==="selector"){let ti=o(Pr.open)+1,Hn=t(Pr.close),Ai=It.originalText.slice(ti,Hn).trim();return $e(Ai)?[$,Ai]:Ai}return Ve.value}case"value-value":case"value-root":return ir("group");case"value-comment":return It.originalText.slice(t(Ve),o(Ve));case"value-comma_group":{let wr=wt.getParentNode(),Pr=wt.getParentNode(1),on=N(wt),ti=on&&wr.type==="value-value"&&(on==="grid"||on.startsWith("grid-template")),Hn=z(wt,"css-atrule"),Ai=Hn&&ce(Hn),De=Ve.groups.some(Xn=>ur(Xn)),yt=wt.map(ir,"groups"),xr=[],pn=W(wt,"url"),hn=!1,Wn=!1;for(let Xn=0;Xn<Ve.groups.length;++Xn){xr.push(yt[Xn]);let ri=Ve.groups[Xn-1],An=Ve.groups[Xn],_n=Ve.groups[Xn+1],Hi=Ve.groups[Xn+2];if(pn){(_n&&qe(_n)||qe(An))&&xr.push(" ");continue}if(H(wt,"forward")&&An.type==="value-word"&&An.value&&ri!==void 0&&ri.type==="value-word"&&ri.value==="as"&&_n.type==="value-operator"&&_n.value==="*"||!_n||An.type==="value-word"&&An.value.endsWith("-")&&Kt(_n))continue;let hs=An.type==="value-string"&&An.value.startsWith("#{"),$i=hn&&_n.type==="value-string"&&_n.value.endsWith("}");if(hs||$i){hn=!hn;continue}if(hn||Mt(An)||Mt(_n)||An.type==="value-atword"&&An.value===""||An.value==="~"||An.value&&An.value.includes("\\")&&_n&&_n.type!=="value-comment"||ri&&ri.value&&ri.value.indexOf("\\")===ri.value.length-1&&An.type==="value-operator"&&An.value==="/"||An.value==="\\"||Et(An,_n)||Ur(An)||Yr(An)||Ft(_n)||Yr(_n)&&Dt(_n)||Ft(An)&&Dt(_n)||An.value==="--"&&Ur(_n))continue;let $l=Te(An),gs=Te(_n);if(($l&&Ur(_n)||gs&&Ft(An))&&Dt(_n)||!ri&&Ee(An)||W(wt,"calc")&&(qe(An)||qe(_n)||Se(An)||Se(_n))&&Dt(_n))continue;let Ca=(qe(An)||Se(An))&&Xn===0&&(_n.type==="value-number"||_n.isHex)&&Pr&&rr(Pr)&&!Dt(_n),Ks=Hi&&Hi.type==="value-func"||Hi&&St(Hi)||An.type==="value-func"||St(An),Ki=_n.type==="value-func"||St(_n)||ri&&ri.type==="value-func"||ri&&St(ri);if(!(!(ke(_n)||ke(An))&&!W(wt,"calc")&&!Ca&&(Ee(_n)&&!Ks||Ee(An)&&!Ki||qe(_n)&&!Ks||qe(An)&&!Ki||Se(_n)||Se(An))&&(Dt(_n)||$l&&(!ri||ri&&Te(ri))))){if(ur(An)){if(wr.type==="value-paren_group"){xr.push(re(P));continue}xr.push(P);continue}if(Ai&&(Ne(_n)||ye(_n)||At(_n)||Ge(An)||Qe(An))){xr.push(" ");continue}if(Hn&&Hn.name.toLowerCase()==="namespace"){xr.push(" ");continue}if(ti){An.source&&_n.source&&An.source.start.line!==_n.source.start.line?(xr.push(P),Wn=!0):xr.push(" ");continue}if(gs){xr.push(" ");continue}if(!(_n&&_n.value==="...")&&!(Kt(An)&&Kt(_n)&&o(An)===t(_n))){if(Kt(An)&&e(_n)&&o(An)===t(_n.open)){xr.push(I);continue}if(An.value==="with"&&e(_n)){xr.push(" ");continue}xr.push(R)}}}return De&&xr.push($),Wn&&xr.unshift(P),Ai?T(j(xr)):L(wt)?T(_(xr)):T(j(_(xr)))}case"value-paren_group":{let wr=wt.getParentNode();if(wr&&Xe(wr)&&(Ve.groups.length===1||Ve.groups.length>0&&Ve.groups[0].type==="value-comma_group"&&Ve.groups[0].groups.length>0&&Ve.groups[0].groups[0].type==="value-word"&&Ve.groups[0].groups[0].value.startsWith("data:")))return[Ve.open?ir("open"):"",k(",",wt.map(ir,"groups")),Ve.close?ir("close"):""];if(!Ve.open){let pn=wt.map(ir,"groups"),hn=[];for(let Wn=0;Wn<pn.length;Wn++)Wn!==0&&hn.push([",",R]),hn.push(pn[Wn]);return T(j(_(hn)))}let Pr=gt(wt),on=h(Ve.groups),ti=on&&on.type==="value-comment",Hn=mt(Ve,wr),Ai=qt(Ve,wr),De=Ai||Pr&&!Hn,yt=Ai||Hn,xr=T([Ve.open?ir("open"):"",j([I,k([R],wt.map((pn,hn)=>{let Wn=pn.getValue(),Xn=hn===Ve.groups.length-1,ri=[ir(),Xn?"":","];if(_t(Wn)&&Wn.type==="value-comma_group"&&Wn.groups&&Wn.groups[0].type!=="value-paren_group"&&Wn.groups[2]&&Wn.groups[2].type==="value-paren_group"){let An=ee(ri[0].contents.contents);return An[1]=T(An[1]),T(re(ri))}if(!Xn&&Wn.type==="value-comma_group"&&w(Wn.groups)){let An=h(Wn.groups);An.source&&D(It.originalText,An,o)&&ri.push(P)}return ri},"groups"))]),ne(!ti&&n(It.parser,It.originalText)&&Pr&&c(It)?",":""),I,Ve.close?ir("close"):""],{shouldBreak:De});return yt?re(xr):xr}case"value-func":return[Ve.value,H(wt,"supports")&&tt(Ve)?" ":"",ir("group")];case"value-paren":return Ve.value;case"value-number":return[er(Ve.value),u(Ve.unit)];case"value-operator":return Ve.value;case"value-word":return Ve.isColor&&Ve.isHex||X(Ve.value)?Ve.value.toLowerCase():Ve.value;case"value-colon":{let wr=wt.getParentNode(),Pr=wr&&wr.groups.indexOf(Ve),on=Pr&&wr.groups[Pr-1];return[Ve.value,on&&typeof on.value=="string"&&h(on.value)==="\\"||W(wt,"url")?"":R]}case"value-comma":return[Ve.value," "];case"value-string":return x(Ve.raws.quote+Ve.value+Ve.raws.quote,It);case"value-atword":return["@",Ve.value];case"value-unicode-range":return Ve.value;case"value-unknown":return Ve.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(Ve.type)))}}function B(wt,It,ir){let Ve=[];return wt.each((wr,Pr,on)=>{let ti=on[Pr-1];if(ti&&ti.type==="css-comment"&&ti.text.trim()==="prettier-ignore"){let Hn=wr.getValue();Ve.push(It.originalText.slice(t(Hn),o(Hn)))}else Ve.push(ir());Pr!==on.length-1&&(on[Pr+1].type==="css-comment"&&!p(It.originalText,t(on[Pr+1]),{backwards:!0})&&!d(on[Pr])||on[Pr+1].type==="css-atrule"&&on[Pr+1].name==="else"&&on[Pr].type!=="css-comment"?Ve.push(" "):(Ve.push(It.__isHTMLStyleAttribute?R:P),D(It.originalText,wr.getValue(),o)&&!d(on[Pr])&&Ve.push(P)))},"nodes"),Ve}var M=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,ve=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,he=/[A-Za-z]+/g,Ze=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,Me=new RegExp(M.source+"|(".concat(Ze.source,")?(").concat(ve.source,")(").concat(he.source,")?"),"g");function Ct(wt,It){return wt.replace(M,ir=>x(ir,It))}function lt(wt,It){let ir=It.singleQuote?"'":'"';return wt.includes('"')||wt.includes("'")?wt:ir+wt+ir}function Bt(wt){return wt.replace(Me,(It,ir,Ve,wr,Pr)=>!Ve&&wr?er(wr)+O(Pr||""):It)}function er(wt){return C(wt).replace(/\.0(?=$|e)/,"")}A.exports={print:y,embed:ie,insertPragma:se,massageAstNode:oe}}}),Ac=Oe({"src/language-css/options.js"(m,A){b();var h=zo();A.exports={singleQuote:h.singleQuote}}}),Gs=Oe({"src/language-css/parsers.js"(){b()}}),Da=Oe({"node_modules/linguist-languages/data/CSS.json"(m,A){A.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),su=Oe({"node_modules/linguist-languages/data/PostCSS.json"(m,A){A.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),v=Oe({"node_modules/linguist-languages/data/Less.json"(m,A){A.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),te=Oe({"node_modules/linguist-languages/data/SCSS.json"(m,A){A.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),G=Oe({"src/language-css/index.js"(m,A){b();var h=Lo(),C=ul(),x=Ac(),p=Gs(),d=[h(Da(),w=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...w.extensions,".wxss"]})),h(su(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),h(v(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),h(te(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],D={postcss:C};A.exports={languages:d,options:x,printers:D,parsers:p}}}),q=Oe({"src/language-handlebars/loc.js"(m,A){b();function h(x){return x.loc.start.offset}function C(x){return x.loc.end.offset}A.exports={locStart:h,locEnd:C}}}),Z=Oe({"src/language-handlebars/clean.js"(m,A){b();function h(C,x){if(C.type==="TextNode"){let p=C.chars.trim();if(!p)return null;x.chars=p.replace(/[\t\n\f\r ]+/g," ")}C.type==="AttrNode"&&C.name.toLowerCase()==="class"&&delete x.value}h.ignoredProperties=new Set(["loc","selfClosing"]),A.exports=h}}),pe=Oe({"vendors/html-void-elements.json"(m,A){A.exports={htmlVoidElements:["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]}}}),fe=Oe({"src/language-handlebars/utils.js"(m,A){b();var{htmlVoidElements:h}=pe(),C=Rn();function x(J){let ee=J.getValue(),oe=J.getParentNode(0);return!!(P(J,["ElementNode"])&&C(oe.children)===ee||P(J,["Block"])&&C(oe.body)===ee)}function p(J){return J.toUpperCase()===J}function d(J){return R(J,["ElementNode"])&&typeof J.tag=="string"&&!J.tag.startsWith(":")&&(p(J.tag[0])||J.tag.includes("."))}var D=new Set(h);function w(J){return D.has(J.tag)||d(J)&&J.children.every(ee=>k(ee))}function k(J){return R(J,["TextNode"])&&!/\S/.test(J.chars)}function R(J,ee){return J&&ee.includes(J.type)}function P(J,ee){let oe=J.getParentNode(0);return R(oe,ee)}function I(J,ee){let oe=j(J);return R(oe,ee)}function T(J,ee){let oe=re(J);return R(oe,ee)}function _(J,ee){var oe,ie,se,z;let N=J.getValue(),O=(oe=J.getParentNode(0))!==null&&oe!==void 0?oe:{},W=(ie=(se=(z=O.children)!==null&&z!==void 0?z:O.body)!==null&&se!==void 0?se:O.parts)!==null&&ie!==void 0?ie:[],S=W.indexOf(N);return S!==-1&&W[S+ee]}function j(J){let ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return _(J,-ee)}function re(J){return _(J,1)}function ne(J){return R(J,["MustacheCommentStatement"])&&typeof J.value=="string"&&J.value.trim()==="prettier-ignore"}function $(J){let ee=J.getValue(),oe=j(J,2);return ne(ee)||ne(oe)}A.exports={getNextNode:re,getPreviousNode:j,hasPrettierIgnore:$,isLastNodeOfSiblings:x,isNextNodeOfSomeType:T,isNodeOfSomeType:R,isParentOfSomeType:P,isPreviousNodeOfSomeType:I,isVoid:w,isWhitespaceNode:k}}}),be=Oe({"src/language-handlebars/printer-glimmer.js"(m,A){b();var{builders:{dedent:h,fill:C,group:x,hardline:p,ifBreak:d,indent:D,join:w,line:k,softline:R},utils:{getDocParts:P,replaceTextEndOfLine:I}}=bn(),{getPreferredQuote:T,isNonEmptyArray:_}=jn(),{locStart:j,locEnd:re}=q(),ne=Z(),{getNextNode:$,getPreviousNode:J,hasPrettierIgnore:ee,isLastNodeOfSiblings:oe,isNextNodeOfSomeType:ie,isNodeOfSomeType:se,isParentOfSomeType:z,isPreviousNodeOfSomeType:N,isVoid:O,isWhitespaceNode:W}=fe(),S=2;function H($e,Kt,qt){let e=$e.getValue();if(!e)return"";if(ee($e))return Kt.originalText.slice(j(e),re(e));let t=Kt.singleQuote?"'":'"';switch(e.type){case"Block":case"Program":case"Template":return x($e.map(qt,"body"));case"ElementNode":{let o=x(Y($e,qt)),i=Kt.htmlWhitespaceSensitivity==="ignore"&&ie($e,["ElementNode"])?R:"";if(O(e))return[o,i];let n=["</",e.tag,">"];return e.children.length===0?[o,D(n),i]:Kt.htmlWhitespaceSensitivity==="ignore"?[o,D(X($e,Kt,qt)),p,D(n),i]:[o,D(x(X($e,Kt,qt))),D(n),i]}case"BlockStatement":{let o=$e.getParentNode(1);return o&&o.inverse&&o.inverse.body.length===1&&o.inverse.body[0]===e&&o.inverse.body[0].path.parts[0]==="if"?[Qe($e,qt),Dt($e,qt,Kt),_t($e,qt,Kt)]:[Te($e,qt),x([Dt($e,qt,Kt),_t($e,qt,Kt),Xe($e,qt,Kt)])]}case"ElementModifierStatement":return x(["{{",St($e,qt),"}}"]);case"MustacheStatement":return x([ce(e),St($e,qt),we(e)]);case"SubExpression":return x(["(",Ft($e,qt),R,")"]);case"AttrNode":{let o=e.value.type==="TextNode";if(o&&e.value.chars===""&&j(e.value)===re(e.value))return e.name;let i=o?T(e.value.chars,t).quote:e.value.type==="ConcatStatement"?T(e.value.parts.filter(u=>u.type==="TextNode").map(u=>u.chars).join(""),t).quote:"",n=qt("value");return[e.name,"=",i,e.name==="class"&&i?x(D(n)):n,i]}case"ConcatStatement":return $e.map(qt,"parts");case"Hash":return w(k,$e.map(qt,"pairs"));case"HashPair":return[e.key,"=",qt("value")];case"TextNode":{let o=e.chars.replace(/{{/g,"\\{{"),i=Re($e);if(i){if(i==="class"){let Ze=o.trim().split(/\s+/).join(" "),Me=!1,Ct=!1;return z($e,["ConcatStatement"])&&(N($e,["MustacheStatement"])&&/^\s/.test(o)&&(Me=!0),ie($e,["MustacheStatement"])&&/\s$/.test(o)&&Ze!==""&&(Ct=!0)),[Me?k:"",Ze,Ct?k:""]}return I(o)}let n=/^[\t\n\f\r ]*$/.test(o),u=!J($e),c=!$($e);if(Kt.htmlWhitespaceSensitivity!=="ignore"){let Ze=/^[\t\n\f\r ]*/,Me=/[\t\n\f\r ]*$/,Ct=c&&z($e,["Template"]),lt=u&&z($e,["Template"]);if(n){if(lt||Ct)return"";let ir=[k],Ve=He(o);return Ve&&(ir=ur(Ve)),oe($e)&&(ir=ir.map(wr=>h(wr))),ir}let[Bt]=o.match(Ze),[er]=o.match(Me),wt=[];if(Bt){wt=[k];let ir=He(Bt);ir&&(wt=ur(ir)),o=o.replace(Ze,"")}let It=[];if(er){if(!Ct){It=[k];let ir=He(er);ir&&(It=ur(ir)),oe($e)&&(It=It.map(Ve=>h(Ve)))}o=o.replace(Me,"")}return[...wt,C(mt(o)),...It]}let y=He(o),B=Et(o),M=gt(o);if((u||c)&&n&&z($e,["Block","ElementNode","Template"]))return"";n&&y?(B=Math.min(y,S),M=0):(ie($e,["BlockStatement","ElementNode"])&&(M=Math.max(M,1)),N($e,["BlockStatement","ElementNode"])&&(B=Math.max(B,1)));let ve="",he="";return M===0&&ie($e,["MustacheStatement"])&&(he=" "),B===0&&N($e,["MustacheStatement"])&&(ve=" "),u&&(B=0,ve=""),c&&(M=0,he=""),o=o.replace(/^[\t\n\f\r ]+/g,ve).replace(/[\t\n\f\r ]+$/,he),[...ur(B),C(mt(o)),...ur(M)]}case"MustacheCommentStatement":{let o=j(e),i=re(e),n=Kt.originalText.charAt(o+2)==="~",u=Kt.originalText.charAt(i-3)==="~",c=e.value.includes("}}")?"--":"";return["{{",n?"~":"","!",c,e.value,c,u?"~":"","}}"]}case"PathExpression":return e.original;case"BooleanLiteral":return String(e.value);case"CommentStatement":return["<!--",e.value,"-->"];case"StringLiteral":{if(Yr($e)){let o=Kt.singleQuote?'"':"'";return Ur(e.value,o)}return Ur(e.value,t)}case"NumberLiteral":return String(e.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(e.type))}}function L($e,Kt){return j($e)-j(Kt)}function Y($e,Kt){let qt=$e.getValue(),e=["attributes","modifiers","comments"].filter(o=>_(qt[o])),t=e.flatMap(o=>qt[o]).sort(L);for(let o of e)$e.each(i=>{let n=t.indexOf(i.getValue());t.splice(n,1,[k,Kt()])},o);return _(qt.blockParams)&&t.push(k,rr(qt)),["<",qt.tag,D(t),K(qt)]}function X($e,Kt,qt){let e=$e.getValue().children.every(t=>W(t));return Kt.htmlWhitespaceSensitivity==="ignore"&&e?"":$e.map((t,o)=>{let i=qt();return o===0&&Kt.htmlWhitespaceSensitivity==="ignore"?[R,i]:i},"children")}function K($e){return O($e)?d([R,"/>"],[" />",R]):d([R,">"],">")}function ce($e){let Kt=$e.escaped===!1?"{{{":"{{",qt=$e.strip&&$e.strip.open?"~":"";return[Kt,qt]}function we($e){let Kt=$e.escaped===!1?"}}}":"}}";return[$e.strip&&$e.strip.close?"~":"",Kt]}function ye($e){let Kt=ce($e),qt=$e.openStrip.open?"~":"";return[Kt,qt,"#"]}function Ne($e){let Kt=we($e);return[$e.openStrip.close?"~":"",Kt]}function ke($e){let Kt=ce($e),qt=$e.closeStrip.open?"~":"";return[Kt,qt,"/"]}function Ee($e){let Kt=we($e);return[$e.closeStrip.close?"~":"",Kt]}function qe($e){let Kt=ce($e),qt=$e.inverseStrip.open?"~":"";return[Kt,qt]}function Se($e){let Kt=we($e);return[$e.inverseStrip.close?"~":"",Kt]}function Te($e,Kt){let qt=$e.getValue(),e=ye(qt),t=Ne(qt),o=[Mt($e,Kt)],i=tt($e,Kt);if(i&&o.push(k,i),_(qt.program.blockParams)){let n=rr(qt.program);o.push(k,n)}return x([e,D(o),R,t])}function Ge($e,Kt){return[Kt.htmlWhitespaceSensitivity==="ignore"?p:"",qe($e),"else",Se($e)]}function Qe($e,Kt){let qt=$e.getParentNode(1);return[qe(qt),"else if ",tt($e,Kt),Se(qt)]}function Xe($e,Kt,qt){let e=$e.getValue();return qt.htmlWhitespaceSensitivity==="ignore"?[At(e)?R:p,ke(e),Kt("path"),Ee(e)]:[ke(e),Kt("path"),Ee(e)]}function At($e){return se($e,["BlockStatement"])&&$e.program.body.every(Kt=>W(Kt))}function Fe($e){return Ie($e)&&$e.inverse.body.length===1&&se($e.inverse.body[0],["BlockStatement"])&&$e.inverse.body[0].path.parts[0]==="if"}function Ie($e){return se($e,["BlockStatement"])&&$e.inverse}function Dt($e,Kt,qt){let e=$e.getValue();if(At(e))return"";let t=Kt("program");return qt.htmlWhitespaceSensitivity==="ignore"?D([p,t]):D(t)}function _t($e,Kt,qt){let e=$e.getValue(),t=Kt("inverse"),o=qt.htmlWhitespaceSensitivity==="ignore"?[p,t]:t;return Fe(e)?o:Ie(e)?[Ge(e,qt),D(o)]:""}function mt($e){return P(w(k,Le($e)))}function Le($e){return $e.split(/[\t\n\f\r ]+/)}function Re($e){for(let Kt=0;Kt<2;Kt++){let qt=$e.getParentNode(Kt);if(qt&&qt.type==="AttrNode")return qt.name.toLowerCase()}}function He($e){return $e=typeof $e=="string"?$e:"",$e.split(`
|
|
99
|
+
`).length-1}function Et($e){$e=typeof $e=="string"?$e:"";let Kt=($e.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return He(Kt)}function gt($e){$e=typeof $e=="string"?$e:"";let Kt=($e.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return He(Kt)}function ur(){let $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min($e,S)}).fill(p)}function Ur($e,Kt){let{quote:qt,regex:e}=T($e,Kt);return[qt,$e.replace(e,"\\".concat(qt)),qt]}function Yr($e){let Kt=0,qt=$e.getParentNode(Kt);for(;qt&&se(qt,["SubExpression"]);)Kt++,qt=$e.getParentNode(Kt);return!!(qt&&se($e.getParentNode(Kt+1),["ConcatStatement"])&&se($e.getParentNode(Kt+2),["AttrNode"]))}function Ft($e,Kt){let qt=Mt($e,Kt),e=tt($e,Kt);return e?D([qt,k,x(e)]):qt}function St($e,Kt){let qt=Mt($e,Kt),e=tt($e,Kt);return e?[D([qt,k,e]),R]:qt}function Mt($e,Kt){return Kt("path")}function tt($e,Kt){let qt=$e.getValue(),e=[];if(qt.params.length>0){let t=$e.map(Kt,"params");e.push(...t)}if(qt.hash&&qt.hash.pairs.length>0){let t=Kt("hash");e.push(t)}return e.length===0?"":w(k,e)}function rr($e){return["as |",$e.blockParams.join(" "),"|"]}A.exports={print:H,massageAstNode:ne}}}),le=Oe({"src/language-handlebars/parsers.js"(){b()}}),ge=Oe({"node_modules/linguist-languages/data/Handlebars.json"(m,A){A.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),E=Oe({"src/language-handlebars/index.js"(m,A){b();var h=Lo(),C=be(),x=le(),p=[h(ge(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],d={glimmer:C};A.exports={languages:p,printers:d,parsers:x}}}),g=Oe({"src/language-graphql/pragma.js"(m,A){b();function h(x){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(x)}function C(x){return`# @format
|
|
100
|
+
|
|
101
|
+
`+x}A.exports={hasPragma:h,insertPragma:C}}}),Q=Oe({"src/language-graphql/loc.js"(m,A){b();function h(x){return typeof x.start=="number"?x.start:x.loc&&x.loc.start}function C(x){return typeof x.end=="number"?x.end:x.loc&&x.loc.end}A.exports={locStart:h,locEnd:C}}}),U=Oe({"src/language-graphql/printer-graphql.js"(m,A){b();var{builders:{join:h,hardline:C,line:x,softline:p,group:d,indent:D,ifBreak:w}}=bn(),{isNextLineEmpty:k,isNonEmptyArray:R}=jn(),{insertPragma:P}=g(),{locStart:I,locEnd:T}=Q();function _(ie,se,z){let N=ie.getValue();if(!N)return"";if(typeof N=="string")return N;switch(N.kind){case"Document":{let O=[];return ie.each((W,S,H)=>{O.push(z()),S!==H.length-1&&(O.push(C),k(se.originalText,W.getValue(),T)&&O.push(C))},"definitions"),[...O,C]}case"OperationDefinition":{let O=se.originalText[I(N)]!=="{",W=Boolean(N.name);return[O?N.operation:"",O&&W?[" ",z("name")]:"",O&&!W&&R(N.variableDefinitions)?" ":"",R(N.variableDefinitions)?d(["(",D([p,h([w("",", "),p],ie.map(z,"variableDefinitions"))]),p,")"]):"",j(ie,z,N),N.selectionSet?!O&&!W?"":" ":"",z("selectionSet")]}case"FragmentDefinition":return["fragment ",z("name"),R(N.variableDefinitions)?d(["(",D([p,h([w("",", "),p],ie.map(z,"variableDefinitions"))]),p,")"]):""," on ",z("typeCondition"),j(ie,z,N)," ",z("selectionSet")];case"SelectionSet":return["{",D([C,h(C,re(ie,se,z,"selections"))]),C,"}"];case"Field":return d([N.alias?[z("alias"),": "]:"",z("name"),N.arguments.length>0?d(["(",D([p,h([w("",", "),p],re(ie,se,z,"arguments"))]),p,")"]):"",j(ie,z,N),N.selectionSet?" ":"",z("selectionSet")]);case"Name":return N.value;case"StringValue":{if(N.block){let O=N.value.replace(/"""/g,"\\$&").split(`
|
|
102
|
+
`);return O.length===1&&(O[0]=O[0].trim()),O.every(W=>W==="")&&(O.length=0),h(C,['"""',...O,'"""'])}return['"',N.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return N.value;case"BooleanValue":return N.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",z("name")];case"ListValue":return d(["[",D([p,h([w("",", "),p],ie.map(z,"values"))]),p,"]"]);case"ObjectValue":return d(["{",se.bracketSpacing&&N.fields.length>0?" ":"",D([p,h([w("",", "),p],ie.map(z,"fields"))]),p,w("",se.bracketSpacing&&N.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[z("name"),": ",z("value")];case"Directive":return["@",z("name"),N.arguments.length>0?d(["(",D([p,h([w("",", "),p],re(ie,se,z,"arguments"))]),p,")"]):""];case"NamedType":return z("name");case"VariableDefinition":return[z("variable"),": ",z("type"),N.defaultValue?[" = ",z("defaultValue")]:"",j(ie,z,N)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[z("description"),N.description?C:"",N.kind==="ObjectTypeExtension"?"extend ":"","type ",z("name"),N.interfaces.length>0?[" implements ",...J(ie,se,z)]:"",j(ie,z,N),N.fields.length>0?[" {",D([C,h(C,re(ie,se,z,"fields"))]),C,"}"]:""];case"FieldDefinition":return[z("description"),N.description?C:"",z("name"),N.arguments.length>0?d(["(",D([p,h([w("",", "),p],re(ie,se,z,"arguments"))]),p,")"]):"",": ",z("type"),j(ie,z,N)];case"DirectiveDefinition":return[z("description"),N.description?C:"","directive ","@",z("name"),N.arguments.length>0?d(["(",D([p,h([w("",", "),p],re(ie,se,z,"arguments"))]),p,")"]):"",N.repeatable?" repeatable":""," on ",h(" | ",ie.map(z,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[z("description"),N.description?C:"",N.kind==="EnumTypeExtension"?"extend ":"","enum ",z("name"),j(ie,z,N),N.values.length>0?[" {",D([C,h(C,re(ie,se,z,"values"))]),C,"}"]:""];case"EnumValueDefinition":return[z("description"),N.description?C:"",z("name"),j(ie,z,N)];case"InputValueDefinition":return[z("description"),N.description?N.description.block?C:x:"",z("name"),": ",z("type"),N.defaultValue?[" = ",z("defaultValue")]:"",j(ie,z,N)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[z("description"),N.description?C:"",N.kind==="InputObjectTypeExtension"?"extend ":"","input ",z("name"),j(ie,z,N),N.fields.length>0?[" {",D([C,h(C,re(ie,se,z,"fields"))]),C,"}"]:""];case"SchemaExtension":return["extend schema",j(ie,z,N),...N.operationTypes.length>0?[" {",D([C,h(C,re(ie,se,z,"operationTypes"))]),C,"}"]:[]];case"SchemaDefinition":return[z("description"),N.description?C:"","schema",j(ie,z,N)," {",N.operationTypes.length>0?D([C,h(C,re(ie,se,z,"operationTypes"))]):"",C,"}"];case"OperationTypeDefinition":return[z("operation"),": ",z("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[z("description"),N.description?C:"",N.kind==="InterfaceTypeExtension"?"extend ":"","interface ",z("name"),N.interfaces.length>0?[" implements ",...J(ie,se,z)]:"",j(ie,z,N),N.fields.length>0?[" {",D([C,h(C,re(ie,se,z,"fields"))]),C,"}"]:""];case"FragmentSpread":return["...",z("name"),j(ie,z,N)];case"InlineFragment":return["...",N.typeCondition?[" on ",z("typeCondition")]:"",j(ie,z,N)," ",z("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return d([z("description"),N.description?C:"",d([N.kind==="UnionTypeExtension"?"extend ":"","union ",z("name"),j(ie,z,N),N.types.length>0?[" =",w(""," "),D([w([x," "]),h([x,"| "],ie.map(z,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[z("description"),N.description?C:"",N.kind==="ScalarTypeExtension"?"extend ":"","scalar ",z("name"),j(ie,z,N)];case"NonNullType":return[z("type"),"!"];case"ListType":return["[",z("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(N.kind))}}function j(ie,se,z){if(z.directives.length===0)return"";let N=h(x,ie.map(se,"directives"));return z.kind==="FragmentDefinition"||z.kind==="OperationDefinition"?d([x,N]):[" ",d(D([p,N]))]}function re(ie,se,z,N){return ie.map((O,W,S)=>{let H=z();return W<S.length-1&&k(se.originalText,O.getValue(),T)?[H,C]:H},N)}function ne(ie){return ie.kind&&ie.kind!=="Comment"}function $(ie){let se=ie.getValue();if(se.kind==="Comment")return"#"+se.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(se))}function J(ie,se,z){let N=ie.getNode(),O=[],{interfaces:W}=N,S=ie.map(H=>z(H),"interfaces");for(let H=0;H<W.length;H++){let L=W[H];O.push(S[H]);let Y=W[H+1];if(Y){let X=se.originalText.slice(L.loc.end,Y.loc.start),K=X.includes("#"),ce=X.replace(/#.*/g,"").trim();O.push(ce===","?",":" &",K?x:" ")}}return O}function ee(ie,se){ie.kind==="StringValue"&&ie.block&&!ie.value.includes(`
|
|
103
|
+
`)&&(se.value=se.value.trim())}ee.ignoredProperties=new Set(["loc","comments"]);function oe(ie){var se;let z=ie.getValue();return z==null||(se=z.comments)===null||se===void 0?void 0:se.some(N=>N.value.trim()==="prettier-ignore")}A.exports={print:_,massageAstNode:ee,hasPrettierIgnore:oe,insertPragma:P,printComment:$,canAttachComment:ne}}}),xe=Oe({"src/language-graphql/options.js"(m,A){b();var h=zo();A.exports={bracketSpacing:h.bracketSpacing}}}),me=Oe({"src/language-graphql/parsers.js"(){b()}}),je=Oe({"node_modules/linguist-languages/data/GraphQL.json"(m,A){A.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),_e=Oe({"src/language-graphql/index.js"(m,A){b();var h=Lo(),C=U(),x=xe(),p=me(),d=[h(je(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],D={graphql:C};A.exports={languages:d,options:x,printers:D,parsers:p}}}),Ce=Oe({"src/language-markdown/loc.js"(m,A){b();function h(x){return x.position.start.offset}function C(x){return x.position.end.offset}A.exports={locStart:h,locEnd:C}}}),Ke=Oe({"src/language-markdown/constants.evaluate.js"(m,A){A.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),Ye=Oe({"src/language-markdown/utils.js"(m,A){b();var{getLast:h}=jn(),{locStart:C,locEnd:x}=Ce(),{cjkPattern:p,kPattern:d,punctuationPattern:D}=Ke(),w=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],k=[...w,"tableCell","paragraph","heading"],R=new RegExp(d),P=new RegExp(D);function I($,J){let ee="non-cjk",oe="cj-letter",ie="k-letter",se="cjk-punctuation",z=[],N=(J.proseWrap==="preserve"?$:$.replace(new RegExp("(".concat(p,`)
|
|
104
|
+
(`).concat(p,")"),"g"),"$1$2")).split(/([\t\n ]+)/);for(let[W,S]of N.entries()){if(W%2===1){z.push({type:"whitespace",value:/\n/.test(S)?`
|
|
105
|
+
`:" "});continue}if((W===0||W===N.length-1)&&S==="")continue;let H=S.split(new RegExp("(".concat(p,")")));for(let[L,Y]of H.entries())if(!((L===0||L===H.length-1)&&Y==="")){if(L%2===0){Y!==""&&O({type:"word",value:Y,kind:ee,hasLeadingPunctuation:P.test(Y[0]),hasTrailingPunctuation:P.test(h(Y))});continue}O(P.test(Y)?{type:"word",value:Y,kind:se,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:Y,kind:R.test(Y)?ie:oe,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return z;function O(W){let S=h(z);S&&S.type==="word"&&(S.kind===ee&&W.kind===oe&&!S.hasTrailingPunctuation||S.kind===oe&&W.kind===ee&&!W.hasLeadingPunctuation?z.push({type:"whitespace",value:" "}):!H(ee,se)&&![S.value,W.value].some(L=>/\u3000/.test(L))&&z.push({type:"whitespace",value:""})),z.push(W);function H(L,Y){return S.kind===L&&W.kind===Y||S.kind===Y&&W.kind===L}}}function T($,J){let[,ee,oe,ie]=J.slice($.position.start.offset,$.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:ee,marker:oe,leadingSpaces:ie}}function _($,J){if(!$.ordered||$.children.length<2)return!1;let ee=Number(T($.children[0],J.originalText).numberText),oe=Number(T($.children[1],J.originalText).numberText);if(ee===0&&$.children.length>2){let ie=Number(T($.children[2],J.originalText).numberText);return oe===1&&ie===1}return oe===1}function j($,J){let{value:ee}=$;return $.position.end.offset===J.length&&ee.endsWith(`
|
|
106
|
+
`)&&J.endsWith(`
|
|
107
|
+
`)?ee.slice(0,-1):ee}function re($,J){return function ee(oe,ie,se){let z=Object.assign({},J(oe,ie,se));return z.children&&(z.children=z.children.map((N,O)=>ee(N,O,[z,...se]))),z}($,null,[])}function ne($){if(($==null?void 0:$.type)!=="link"||$.children.length!==1)return!1;let[J]=$.children;return C($)===C(J)&&x($)===x(J)}A.exports={mapAst:re,splitText:I,punctuationPattern:D,getFencedCodeBlockValue:j,getOrderedListItemInfo:T,hasGitDiffFriendlyOrderedList:_,INLINE_NODE_TYPES:w,INLINE_NODE_WRAPPER_TYPES:k,isAutolink:ne}}}),ct=Oe({"src/language-markdown/embed.js"(m,A){b();var{inferParserByLanguage:h,getMaxContinuousCount:C}=jn(),{builders:{hardline:x,markAsRoot:p},utils:{replaceEndOfLine:d}}=bn(),D=Ho(),{getFencedCodeBlockValue:w}=Ye();function k(R,P,I,T){let _=R.getValue();if(_.type==="code"&&_.lang!==null){let j=h(_.lang,T);if(j){let re=T.__inJsTemplate?"~":"`",ne=re.repeat(Math.max(3,C(_.value,re)+1)),$={parser:j};_.lang==="tsx"&&($.filepath="dummy.tsx");let J=I(w(_,T.originalText),$,{stripTrailingHardline:!0});return p([ne,_.lang,_.meta?" "+_.meta:"",x,d(J),x,ne])}}switch(_.type){case"front-matter":return D(_,I);case"importExport":return[I(_.value,{parser:"babel"},{stripTrailingHardline:!0}),x];case"jsx":return I("<$>".concat(_.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}A.exports=k}}),cr=Oe({"src/language-markdown/pragma.js"(m,A){b();var h=fs(),C=["format","prettier"];function x(p){let d="@(".concat(C.join("|"),")"),D=new RegExp(["<!--\\s*".concat(d,"\\s*-->"),"{\\s*\\/\\*\\s*".concat(d,"\\s*\\*\\/\\s*}"),`<!--.*\r?
|
|
108
|
+
[\\s\\S]*(^|
|
|
109
|
+
)[^\\S
|
|
110
|
+
]*`.concat(d,`[^\\S
|
|
111
|
+
]*($|
|
|
112
|
+
)[\\s\\S]*
|
|
113
|
+
.*-->`)].join("|"),"m"),w=p.match(D);return(w==null?void 0:w.index)===0}A.exports={startWithPragma:x,hasPragma:p=>x(h(p).content.trimStart()),insertPragma:p=>{let d=h(p),D="<!-- @".concat(C[0]," -->");return d.frontMatter?"".concat(d.frontMatter.raw,`
|
|
114
|
+
|
|
115
|
+
`).concat(D,`
|
|
116
|
+
|
|
117
|
+
`).concat(d.content):"".concat(D,`
|
|
118
|
+
|
|
119
|
+
`).concat(d.content)}}}}),Nr=Oe({"src/language-markdown/print-preprocess.js"(m,A){b();var h=Rn(),{getOrderedListItemInfo:C,mapAst:x,splitText:p}=Ye(),d=/^.$/su;function D(ne,$){return ne=R(ne,$),ne=T(ne),ne=k(ne),ne=j(ne,$),ne=re(ne,$),ne=_(ne,$),ne=w(ne),ne=P(ne),ne}function w(ne){return x(ne,$=>$.type!=="import"&&$.type!=="export"?$:Object.assign(Object.assign({},$),{},{type:"importExport"}))}function k(ne){return x(ne,$=>$.type!=="inlineCode"?$:Object.assign(Object.assign({},$),{},{value:$.value.replace(/\s+/g," ")}))}function R(ne,$){return x(ne,J=>J.type!=="text"||J.value==="*"||J.value==="_"||!d.test(J.value)||J.position.end.offset-J.position.start.offset===J.value.length?J:Object.assign(Object.assign({},J),{},{value:$.originalText.slice(J.position.start.offset,J.position.end.offset)}))}function P(ne){return I(ne,($,J)=>$.type==="importExport"&&J.type==="importExport",($,J)=>({type:"importExport",value:$.value+`
|
|
120
|
+
|
|
121
|
+
`+J.value,position:{start:$.position.start,end:J.position.end}}))}function I(ne,$,J){return x(ne,ee=>{if(!ee.children)return ee;let oe=ee.children.reduce((ie,se)=>{let z=h(ie);return z&&$(z,se)?ie.splice(-1,1,J(z,se)):ie.push(se),ie},[]);return Object.assign(Object.assign({},ee),{},{children:oe})})}function T(ne){return I(ne,($,J)=>$.type==="text"&&J.type==="text",($,J)=>({type:"text",value:$.value+J.value,position:{start:$.position.start,end:J.position.end}}))}function _(ne,$){return x(ne,(J,ee,oe)=>{let[ie]=oe;if(J.type!=="text")return J;let{value:se}=J;return ie.type==="paragraph"&&(ee===0&&(se=se.trimStart()),ee===ie.children.length-1&&(se=se.trimEnd())),{type:"sentence",position:J.position,children:p(se,$)}})}function j(ne,$){return x(ne,(J,ee,oe)=>{if(J.type==="code"){let ie=/^\n?(?: {4,}|\t)/.test($.originalText.slice(J.position.start.offset,J.position.end.offset));if(J.isIndented=ie,ie)for(let se=0;se<oe.length;se++){let z=oe[se];if(z.hasIndentedCodeblock)break;z.type==="list"&&(z.hasIndentedCodeblock=!0)}}return J})}function re(ne,$){return x(ne,(oe,ie,se)=>{if(oe.type==="list"&&oe.children.length>0){for(let z=0;z<se.length;z++){let N=se[z];if(N.type==="list"&&!N.isAligned)return oe.isAligned=!1,oe}oe.isAligned=ee(oe)}return oe});function J(oe){return oe.children.length===0?-1:oe.children[0].position.start.column-1}function ee(oe){if(!oe.ordered)return!0;let[ie,se]=oe.children;if(C(ie,$.originalText).leadingSpaces.length>1)return!0;let z=J(ie);if(z===-1)return!1;if(oe.children.length===1)return z%$.tabWidth===0;let N=J(se);return z!==N?!1:z%$.tabWidth===0?!0:C(se,$.originalText).leadingSpaces.length>1}}A.exports=D}}),jr=Oe({"src/language-markdown/clean.js"(m,A){b();var{isFrontMatterNode:h}=jn(),{startWithPragma:C}=cr(),x=new Set(["position","raw"]);function p(d,D,w){if((d.type==="front-matter"||d.type==="code"||d.type==="yaml"||d.type==="import"||d.type==="export"||d.type==="jsx")&&delete D.value,d.type==="list"&&delete D.isAligned,(d.type==="list"||d.type==="listItem")&&(delete D.spread,delete D.loose),d.type==="text"||(d.type==="inlineCode"&&(D.value=d.value.replace(/[\t\n ]+/g," ")),d.type==="wikiLink"&&(D.value=d.value.trim().replace(/[\t\n]+/g," ")),(d.type==="definition"||d.type==="linkReference")&&(D.label=d.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),(d.type==="definition"||d.type==="link"||d.type==="image")&&d.title&&(D.title=d.title.replace(/\\(["')])/g,"$1")),w&&w.type==="root"&&w.children.length>0&&(w.children[0]===d||h(w.children[0])&&w.children[1]===d)&&d.type==="html"&&C(d.value)))return null}p.ignoredProperties=x,A.exports=p}}),an=Oe({"src/language-markdown/printer-markdown.js"(m,A){b();var{getLast:h,getMinNotPresentContinuousCount:C,getMaxContinuousCount:x,getStringWidth:p,isNonEmptyArray:d}=jn(),{builders:{breakParent:D,join:w,line:k,literalline:R,markAsRoot:P,hardline:I,softline:T,ifBreak:_,fill:j,align:re,indent:ne,group:$,hardlineWithoutBreakParent:J},utils:{normalizeDoc:ee,replaceTextEndOfLine:oe},printer:{printDocToString:ie}}=bn(),se=ct(),{insertPragma:z}=cr(),{locStart:N,locEnd:O}=Ce(),W=Nr(),S=jr(),{getFencedCodeBlockValue:H,hasGitDiffFriendlyOrderedList:L,splitText:Y,punctuationPattern:X,INLINE_NODE_TYPES:K,INLINE_NODE_WRAPPER_TYPES:ce,isAutolink:we}=Ye(),ye=new Set(["importExport"]),Ne=["heading","tableCell","link","wikiLink"],ke=new Set(["listItem","definition","footnoteDefinition"]);function Ee(Ft,St,Mt){let tt=Ft.getValue();if(Et(Ft))return Y(St.originalText.slice(tt.position.start.offset,tt.position.end.offset),St).map(rr=>rr.type==="word"?rr.value:rr.value===""?"":At(Ft,rr.value,St));switch(tt.type){case"front-matter":return St.originalText.slice(tt.position.start.offset,tt.position.end.offset);case"root":return tt.children.length===0?"":[ee(Ie(Ft,St,Mt)),ye.has(_t(tt).type)?"":I];case"paragraph":return Dt(Ft,St,Mt,{postprocessor:j});case"sentence":return Dt(Ft,St,Mt);case"word":{let rr=tt.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(X,")(_+)"),"(_+)(".concat(X,"|$)")].join("|"),"g"),(qt,e,t,o,i)=>(t?"".concat(e).concat(t):"".concat(o).concat(i)).replace(/_/g,"\\_")),$e=(qt,e,t)=>qt.type==="sentence"&&t===0,Kt=(qt,e,t)=>we(qt.children[t-1]);return rr!==tt.value&&(Ft.match(void 0,$e,Kt)||Ft.match(void 0,$e,(qt,e,t)=>qt.type==="emphasis"&&t===0,Kt))&&(rr=rr.replace(/^(\\?[*_])+/,qt=>qt.replace(/\\/g,""))),rr}case"whitespace":{let rr=Ft.getParentNode(),$e=rr.children.indexOf(tt),Kt=rr.children[$e+1],qt=Kt&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(Kt.value)?"never":St.proseWrap;return At(Ft,tt.value,{proseWrap:qt})}case"emphasis":{let rr;if(we(tt.children[0]))rr=St.originalText[tt.position.start.offset];else{let $e=Ft.getParentNode(),Kt=$e.children.indexOf(tt),qt=$e.children[Kt-1],e=$e.children[Kt+1];rr=qt&&qt.type==="sentence"&&qt.children.length>0&&h(qt.children).type==="word"&&!h(qt.children).hasTrailingPunctuation||e&&e.type==="sentence"&&e.children.length>0&&e.children[0].type==="word"&&!e.children[0].hasLeadingPunctuation||Xe(Ft,"emphasis")?"*":"_"}return[rr,Dt(Ft,St,Mt),rr]}case"strong":return["**",Dt(Ft,St,Mt),"**"];case"delete":return["~~",Dt(Ft,St,Mt),"~~"];case"inlineCode":{let rr=C(tt.value,"`"),$e="`".repeat(rr||1),Kt=rr&&!/^\s/.test(tt.value)?" ":"";return[$e,Kt,tt.value,Kt,$e]}case"wikiLink":{let rr="";return St.proseWrap==="preserve"?rr=tt.value:rr=tt.value.replace(/[\t\n]+/g," "),["[[",rr,"]]"]}case"link":switch(St.originalText[tt.position.start.offset]){case"<":{let rr="mailto:",$e=tt.url.startsWith(rr)&&St.originalText.slice(tt.position.start.offset+1,tt.position.start.offset+1+rr.length)!==rr?tt.url.slice(rr.length):tt.url;return["<",$e,">"]}case"[":return["[",Dt(Ft,St,Mt),"](",gt(tt.url,")"),ur(tt.title,St),")"];default:return St.originalText.slice(tt.position.start.offset,tt.position.end.offset)}case"image":return[""),ur(tt.title,St),")"];case"blockquote":return["> ",re("> ",Dt(Ft,St,Mt))];case"heading":return["#".repeat(tt.depth)+" ",Dt(Ft,St,Mt)];case"code":{if(tt.isIndented){let Kt=" ".repeat(4);return re(Kt,[Kt,...oe(tt.value,I)])}let rr=St.__inJsTemplate?"~":"`",$e=rr.repeat(Math.max(3,x(tt.value,rr)+1));return[$e,tt.lang||"",tt.meta?" "+tt.meta:"",I,...oe(H(tt,St.originalText),I),I,$e]}case"html":{let rr=Ft.getParentNode(),$e=rr.type==="root"&&h(rr.children)===tt?tt.value.trimEnd():tt.value,Kt=/^<!--.*-->$/s.test($e);return oe($e,Kt?I:P(R))}case"list":{let rr=Te(tt,Ft.getParentNode()),$e=L(tt,St);return Dt(Ft,St,Mt,{processor:(Kt,qt)=>{let e=o(),t=Kt.getValue();if(t.children.length===2&&t.children[1].type==="html"&&t.children[0].position.start.column!==t.children[1].position.start.column)return[e,qe(Kt,St,Mt,e)];return[e,re(" ".repeat(e.length),qe(Kt,St,Mt,e))];function o(){let i=tt.ordered?(qt===0?tt.start:$e?1:tt.start+qt)+(rr%2===0?". ":") "):rr%2===0?"- ":"* ";return tt.isAligned||tt.hasIndentedCodeblock?Se(i,St):i}}})}case"thematicBreak":{let rr=Qe(Ft,"list");return rr===-1?"---":Te(Ft.getParentNode(rr),Ft.getParentNode(rr+1))%2===0?"***":"---"}case"linkReference":return["[",Dt(Ft,St,Mt),"]",tt.referenceType==="full"?["[",tt.identifier,"]"]:tt.referenceType==="collapsed"?"[]":""];case"imageReference":switch(tt.referenceType){case"full":return["![",tt.alt||"","][",tt.identifier,"]"];default:return["![",tt.alt,"]",tt.referenceType==="collapsed"?"[]":""]}case"definition":{let rr=St.proseWrap==="always"?k:" ";return $(["[",tt.identifier,"]:",ne([rr,gt(tt.url),tt.title===null?"":[rr,ur(tt.title,St,!1)]])])}case"footnote":return["[^",Dt(Ft,St,Mt),"]"];case"footnoteReference":return["[^",tt.identifier,"]"];case"footnoteDefinition":{let rr=Ft.getParentNode().children[Ft.getName()+1],$e=tt.children.length===1&&tt.children[0].type==="paragraph"&&(St.proseWrap==="never"||St.proseWrap==="preserve"&&tt.children[0].position.start.line===tt.children[0].position.end.line);return["[^",tt.identifier,"]: ",$e?Dt(Ft,St,Mt):$([re(" ".repeat(4),Dt(Ft,St,Mt,{processor:(Kt,qt)=>qt===0?$([T,Mt()]):Mt()})),rr&&rr.type==="footnoteDefinition"?T:""])]}case"table":return Fe(Ft,St,Mt);case"tableCell":return Dt(Ft,St,Mt);case"break":return/\s/.test(St.originalText[tt.position.start.offset])?[" ",P(R)]:["\\",I];case"liquidNode":return oe(tt.value,I);case"importExport":return[tt.value,I];case"esComment":return["{/* ",tt.value," */}"];case"jsx":return tt.value;case"math":return["$$",I,tt.value?[...oe(tt.value,I),I]:"","$$"];case"inlineMath":return St.originalText.slice(N(tt),O(tt));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(tt.type)))}}function qe(Ft,St,Mt,tt){let rr=Ft.getValue(),$e=rr.checked===null?"":rr.checked?"[x] ":"[ ] ";return[$e,Dt(Ft,St,Mt,{processor:(Kt,qt)=>{if(qt===0&&Kt.getValue().type!=="list")return re(" ".repeat($e.length),Mt());let e=" ".repeat(Ur(St.tabWidth-tt.length,0,3));return[e,re(e,Mt())]}})]}function Se(Ft,St){let Mt=tt();return Ft+" ".repeat(Mt>=4?0:Mt);function tt(){let rr=Ft.length%St.tabWidth;return rr===0?0:St.tabWidth-rr}}function Te(Ft,St){return Ge(Ft,St,Mt=>Mt.ordered===Ft.ordered)}function Ge(Ft,St,Mt){let tt=-1;for(let rr of St.children)if(rr.type===Ft.type&&Mt(rr)?tt++:tt=-1,rr===Ft)return tt}function Qe(Ft,St){let Mt=Array.isArray(St)?St:[St],tt=-1,rr;for(;rr=Ft.getParentNode(++tt);)if(Mt.includes(rr.type))return tt;return-1}function Xe(Ft,St){let Mt=Qe(Ft,St);return Mt===-1?null:Ft.getParentNode(Mt)}function At(Ft,St,Mt){if(Mt.proseWrap==="preserve"&&St===`
|
|
122
|
+
`)return I;let tt=Mt.proseWrap==="always"&&!Xe(Ft,Ne);return St!==""?tt?k:" ":tt?T:""}function Fe(Ft,St,Mt){let tt=Ft.getValue(),rr=[],$e=Ft.map(i=>i.map((n,u)=>{let c=ie(Mt(),St).formatted,y=p(c);return rr[u]=Math.max(rr[u]||3,y),{text:c,width:y}},"children"),"children"),Kt=e(!1);if(St.proseWrap!=="never")return[D,Kt];let qt=e(!0);return[D,$(_(qt,Kt))];function e(i){let n=[o($e[0],i),t(i)];return $e.length>1&&n.push(w(J,$e.slice(1).map(u=>o(u,i)))),w(J,n)}function t(i){let n=rr.map((u,c)=>{let y=tt.align[c],B=y==="center"||y==="left"?":":"-",M=y==="center"||y==="right"?":":"-",ve=i?"-":"-".repeat(u-2);return"".concat(B).concat(ve).concat(M)});return"| ".concat(n.join(" | ")," |")}function o(i,n){let u=i.map((c,y)=>{let{text:B,width:M}=c;if(n)return B;let ve=rr[y]-M,he=tt.align[y],Ze=0;he==="right"?Ze=ve:he==="center"&&(Ze=Math.floor(ve/2));let Me=ve-Ze;return"".concat(" ".repeat(Ze)).concat(B).concat(" ".repeat(Me))});return"| ".concat(u.join(" | ")," |")}}function Ie(Ft,St,Mt){let tt=[],rr=null,{children:$e}=Ft.getValue();for(let[Kt,qt]of $e.entries())switch(mt(qt)){case"start":rr===null&&(rr={index:Kt,offset:qt.position.end.offset});break;case"end":rr!==null&&(tt.push({start:rr,end:{index:Kt,offset:qt.position.start.offset}}),rr=null);break}return Dt(Ft,St,Mt,{processor:(Kt,qt)=>{if(tt.length>0){let e=tt[0];if(qt===e.start.index)return[$e[e.start.index].value,St.originalText.slice(e.start.offset,e.end.offset),$e[e.end.index].value];if(e.start.index<qt&&qt<e.end.index)return!1;if(qt===e.end.index)return tt.shift(),!1}return Mt()}})}function Dt(Ft,St,Mt){let tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:rr}=tt,$e=tt.processor||(()=>Mt()),Kt=Ft.getValue(),qt=[],e;return Ft.each((t,o)=>{let i=t.getValue(),n=$e(t,o);if(n!==!1){let u={parts:qt,prevNode:e,parentNode:Kt,options:St};Le(i,u)&&(qt.push(I),e&&ye.has(e.type)||(Re(i,u)||He(i,u))&&qt.push(I),He(i,u)&&qt.push(I)),qt.push(n),e=i}},"children"),rr?rr(qt):qt}function _t(Ft){let St=Ft;for(;d(St.children);)St=h(St.children);return St}function mt(Ft){let St;if(Ft.type==="html")St=Ft.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let Mt;Ft.type==="esComment"?Mt=Ft:Ft.type==="paragraph"&&Ft.children.length===1&&Ft.children[0].type==="esComment"&&(Mt=Ft.children[0]),Mt&&(St=Mt.value.match(/^prettier-ignore(?:-(start|end))?$/))}return St?St[1]||"next":!1}function Le(Ft,St){let Mt=St.parts.length===0,tt=K.includes(Ft.type),rr=Ft.type==="html"&&ce.includes(St.parentNode.type);return!Mt&&!tt&&!rr}function Re(Ft,St){var Mt,tt,rr;let $e=(St.prevNode&&St.prevNode.type)===Ft.type&&ke.has(Ft.type),Kt=St.parentNode.type==="listItem"&&!St.parentNode.loose,qt=((Mt=St.prevNode)===null||Mt===void 0?void 0:Mt.type)==="listItem"&&St.prevNode.loose,e=mt(St.prevNode)==="next",t=Ft.type==="html"&&((tt=St.prevNode)===null||tt===void 0?void 0:tt.type)==="html"&&St.prevNode.position.end.line+1===Ft.position.start.line,o=Ft.type==="html"&&St.parentNode.type==="listItem"&&((rr=St.prevNode)===null||rr===void 0?void 0:rr.type)==="paragraph"&&St.prevNode.position.end.line+1===Ft.position.start.line;return qt||!($e||Kt||e||t||o)}function He(Ft,St){let Mt=St.prevNode&&St.prevNode.type==="list",tt=Ft.type==="code"&&Ft.isIndented;return Mt&&tt}function Et(Ft){let St=Xe(Ft,["linkReference","imageReference"]);return St&&(St.type!=="linkReference"||St.referenceType!=="full")}function gt(Ft){let St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Mt=[" ",...Array.isArray(St)?St:[St]];return new RegExp(Mt.map(tt=>"\\".concat(tt)).join("|")).test(Ft)?"<".concat(Ft,">"):Ft}function ur(Ft,St){let Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!Ft)return"";if(Mt)return" "+ur(Ft,St,!1);if(Ft=Ft.replace(/\\(["')])/g,"$1"),Ft.includes('"')&&Ft.includes("'")&&!Ft.includes(")"))return"(".concat(Ft,")");let tt=Ft.split("'").length-1,rr=Ft.split('"').length-1,$e=tt>rr?'"':rr>tt||St.singleQuote?"'":'"';return Ft=Ft.replace(/\\/,"\\\\"),Ft=Ft.replace(new RegExp("(".concat($e,")"),"g"),"\\$1"),"".concat($e).concat(Ft).concat($e)}function Ur(Ft,St,Mt){return Ft<St?St:Ft>Mt?Mt:Ft}function Yr(Ft){let St=Number(Ft.getName());if(St===0)return!1;let Mt=Ft.getParentNode().children[St-1];return mt(Mt)==="next"}A.exports={preprocess:W,print:Ee,embed:se,massageAstNode:S,hasPrettierIgnore:Yr,insertPragma:z}}}),sn=Oe({"src/language-markdown/options.js"(m,A){b();var h=zo();A.exports={proseWrap:h.proseWrap,singleQuote:h.singleQuote}}}),xn=Oe({"src/language-markdown/parsers.js"(){b()}}),en=Oe({"node_modules/linguist-languages/data/Markdown.json"(m,A){A.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),un=Oe({"src/language-markdown/index.js"(m,A){b();var h=Lo(),C=an(),x=sn(),p=xn(),d=[h(en(),w=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...w.filenames,"README"],extensions:w.extensions.filter(k=>k!==".mdx")})),h(en(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],D={mdast:C};A.exports={languages:d,options:x,printers:D,parsers:p}}}),mr=Oe({"src/language-html/clean.js"(m,A){b();var{isFrontMatterNode:h}=jn(),C=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function x(p,d){if(p.type==="text"||p.type==="comment"||h(p)||p.type==="yaml"||p.type==="toml")return null;p.type==="attribute"&&delete d.value,p.type==="docType"&&delete d.value}x.ignoredProperties=C,A.exports=x}}),Yt=Oe({"src/language-html/constants.evaluate.js"(m,A){A.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),vr=Oe({"src/language-html/utils/is-unknown-namespace.js"(m,A){b();function h(C){return C.type==="element"&&!C.hasExplicitNamespace&&!["html","svg"].includes(C.namespace)}A.exports=h}}),Jt=Oe({"src/language-html/utils/index.js"(m,A){b();var{inferParserByLanguage:h,isFrontMatterNode:C}=jn(),{builders:{line:x,hardline:p,join:d},utils:{getDocParts:D,replaceTextEndOfLine:w}}=bn(),{CSS_DISPLAY_TAGS:k,CSS_DISPLAY_DEFAULT:R,CSS_WHITE_SPACE_TAGS:P,CSS_WHITE_SPACE_DEFAULT:I}=Yt(),T=vr(),_=new Set([" ",`
|
|
123
|
+
`,"\f","\r"," "]),j=n=>n.replace(/^[\t\n\f\r ]+/,""),re=n=>n.replace(/[\t\n\f\r ]+$/,""),ne=n=>j(re(n)),$=n=>n.replace(/^[\t\f\r ]*\n/g,""),J=n=>$(re(n)),ee=n=>n.split(/[\t\n\f\r ]+/),oe=n=>n.match(/^[\t\n\f\r ]*/)[0],ie=n=>{let[,u,c,y]=n.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:u,trailingWhitespace:y,text:c}},se=n=>/[\t\n\f\r ]/.test(n);function z(n,u){return!!(n.type==="ieConditionalComment"&&n.lastChild&&!n.lastChild.isSelfClosing&&!n.lastChild.endSourceSpan||n.type==="ieConditionalComment"&&!n.complete||Et(n)&&n.children.some(c=>c.type!=="text"&&c.type!=="interpolation")||qt(n,u)&&!S(n)&&n.type!=="interpolation")}function N(n){return n.type==="attribute"||!n.parent||!n.prev?!1:O(n.prev)}function O(n){return n.type==="comment"&&n.value.trim()==="prettier-ignore"}function W(n){return n.type==="text"||n.type==="comment"}function S(n){return n.type==="element"&&(n.fullName==="script"||n.fullName==="style"||n.fullName==="svg:style"||T(n)&&(n.name==="script"||n.name==="style"))}function H(n){return n.children&&!S(n)}function L(n){return S(n)||n.type==="interpolation"||Y(n)}function Y(n){return Yr(n).startsWith("pre")}function X(n,u){let c=y();if(c&&!n.prev&&n.parent&&n.parent.tagDefinition&&n.parent.tagDefinition.ignoreFirstLf)return n.type==="interpolation";return c;function y(){return C(n)?!1:(n.type==="text"||n.type==="interpolation")&&n.prev&&(n.prev.type==="text"||n.prev.type==="interpolation")?!0:!n.parent||n.parent.cssDisplay==="none"?!1:Et(n.parent)?!0:!(!n.prev&&(n.parent.type==="root"||Et(n)&&n.parent||S(n.parent)||$e(n.parent,u)||!_t(n.parent.cssDisplay))||n.prev&&!Re(n.prev.cssDisplay))}}function K(n,u){return C(n)?!1:(n.type==="text"||n.type==="interpolation")&&n.next&&(n.next.type==="text"||n.next.type==="interpolation")?!0:!n.parent||n.parent.cssDisplay==="none"?!1:Et(n.parent)?!0:!(!n.next&&(n.parent.type==="root"||Et(n)&&n.parent||S(n.parent)||$e(n.parent,u)||!mt(n.parent.cssDisplay))||n.next&&!Le(n.next.cssDisplay))}function ce(n){return He(n.cssDisplay)&&!S(n)}function we(n){return C(n)||n.next&&n.sourceSpan.end&&n.sourceSpan.end.line+1<n.next.sourceSpan.start.line}function ye(n){return Ne(n)||n.type==="element"&&n.children.length>0&&(["body","script","style"].includes(n.name)||n.children.some(u=>Xe(u)))||n.firstChild&&n.firstChild===n.lastChild&&n.firstChild.type!=="text"&&Se(n.firstChild)&&(!n.lastChild.isTrailingSpaceSensitive||Te(n.lastChild))}function Ne(n){return n.type==="element"&&n.children.length>0&&(["html","head","ul","ol","select"].includes(n.name)||n.cssDisplay.startsWith("table")&&n.cssDisplay!=="table-cell")}function ke(n){return Ge(n)||n.prev&&Ee(n.prev)||qe(n)}function Ee(n){return Ge(n)||n.type==="element"&&n.fullName==="br"||qe(n)}function qe(n){return Se(n)&&Te(n)}function Se(n){return n.hasLeadingSpaces&&(n.prev?n.prev.sourceSpan.end.line<n.sourceSpan.start.line:n.parent.type==="root"||n.parent.startSourceSpan.end.line<n.sourceSpan.start.line)}function Te(n){return n.hasTrailingSpaces&&(n.next?n.next.sourceSpan.start.line>n.sourceSpan.end.line:n.parent.type==="root"||n.parent.endSourceSpan&&n.parent.endSourceSpan.start.line>n.sourceSpan.end.line)}function Ge(n){switch(n.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(n.name)}return!1}function Qe(n){return n.lastChild?Qe(n.lastChild):n}function Xe(n){return n.children&&n.children.some(u=>u.type!=="text")}function At(n){let{type:u,lang:c}=n.attrMap;if(u==="module"||u==="text/javascript"||u==="text/babel"||u==="application/javascript"||c==="jsx")return"babel";if(u==="application/x-typescript"||c==="ts"||c==="tsx")return"typescript";if(u==="text/markdown")return"markdown";if(u==="text/html")return"html";if(u&&(u.endsWith("json")||u.endsWith("importmap"))||u==="speculationrules")return"json";if(u==="text/x-handlebars-template")return"glimmer"}function Fe(n,u){let{lang:c}=n.attrMap;if(!c||c==="postcss"||c==="css")return"css";if(c==="scss")return"scss";if(c==="less")return"less";if(c==="stylus")return h("stylus",u)}function Ie(n,u){if(n.name==="script"&&!n.attrMap.src)return!n.attrMap.lang&&!n.attrMap.type?"babel":At(n);if(n.name==="style")return Fe(n,u);if(u&&qt(n,u))return At(n)||!("src"in n.attrMap)&&h(n.attrMap.lang,u)}function Dt(n){return n==="block"||n==="list-item"||n.startsWith("table")}function _t(n){return!Dt(n)&&n!=="inline-block"}function mt(n){return!Dt(n)&&n!=="inline-block"}function Le(n){return!Dt(n)}function Re(n){return!Dt(n)}function He(n){return!Dt(n)&&n!=="inline-block"}function Et(n){return Yr(n).startsWith("pre")}function gt(n,u){let c=0;for(let y=n.stack.length-1;y>=0;y--){let B=n.stack[y];B&&typeof B=="object"&&!Array.isArray(B)&&u(B)&&c++}return c}function ur(n,u){let c=n;for(;c;){if(u(c))return!0;c=c.parent}return!1}function Ur(n,u){if(n.prev&&n.prev.type==="comment"){let y=n.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(y)return y[1]}let c=!1;if(n.type==="element"&&n.namespace==="svg")if(ur(n,y=>y.fullName==="svg:foreignObject"))c=!0;else return n.name==="svg"?"inline-block":"block";switch(u.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return u.parser==="vue"&&n.parent&&n.parent.type==="root"?"block":n.type==="element"&&(!n.namespace||c||T(n))&&k[n.name]||R}}function Yr(n){return n.type==="element"&&(!n.namespace||T(n))&&P[n.name]||I}function Ft(n){let u=Number.POSITIVE_INFINITY;for(let c of n.split(`
|
|
124
|
+
`)){if(c.length===0)continue;if(!_.has(c[0]))return 0;let y=oe(c).length;c.length!==y&&y<u&&(u=y)}return u===Number.POSITIVE_INFINITY?0:u}function St(n){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ft(n);return u===0?n:n.split(`
|
|
125
|
+
`).map(c=>c.slice(u)).join(`
|
|
126
|
+
`)}function Mt(n,u){let c=0;for(let y=0;y<n.length;y++)n[y]===u&&c++;return c}function tt(n){return n.replace(/'/g,"'").replace(/"/g,'"')}var rr=new Set(["template","style","script"]);function $e(n,u){return Kt(n,u)&&!rr.has(n.fullName)}function Kt(n,u){return u.parser==="vue"&&n.type==="element"&&n.parent.type==="root"&&n.fullName.toLowerCase()!=="html"}function qt(n,u){return Kt(n,u)&&($e(n,u)||n.attrMap.lang&&n.attrMap.lang!=="html")}function e(n){let u=n.fullName;return u.charAt(0)==="#"||u==="slot-scope"||u==="v-slot"||u.startsWith("v-slot:")}function t(n,u){let c=n.parent;if(!Kt(c,u))return!1;let y=c.fullName,B=n.fullName;return y==="script"&&B==="setup"||y==="style"&&B==="vars"}function o(n){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.value;return n.parent.isWhitespaceSensitive?n.parent.isIndentationSensitive?w(u):w(St(J(u)),p):D(d(x,ee(u)))}function i(n,u){return Kt(n,u)&&n.name==="script"}A.exports={htmlTrim:ne,htmlTrimPreserveIndentation:J,hasHtmlWhitespace:se,getLeadingAndTrailingHtmlWhitespace:ie,canHaveInterpolation:H,countChars:Mt,countParents:gt,dedentString:St,forceBreakChildren:Ne,forceBreakContent:ye,forceNextEmptyLine:we,getLastDescendant:Qe,getNodeCssStyleDisplay:Ur,getNodeCssStyleWhiteSpace:Yr,hasPrettierIgnore:N,inferScriptParser:Ie,isVueCustomBlock:$e,isVueNonHtmlBlock:qt,isVueScriptTag:i,isVueSlotAttribute:e,isVueSfcBindingsAttribute:t,isVueSfcBlock:Kt,isDanglingSpaceSensitiveNode:ce,isIndentationSensitiveNode:Y,isLeadingSpaceSensitiveNode:X,isPreLikeNode:Et,isScriptLikeTag:S,isTextLikeNode:W,isTrailingSpaceSensitiveNode:K,isWhitespaceSensitiveNode:L,isUnknownNamespace:T,preferHardlineAsLeadingSpaces:ke,preferHardlineAsTrailingSpaces:Ee,shouldPreserveContent:z,unescapeQuoteEntities:tt,getTextValueParts:o}}}),mi=Oe({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0}),m.$EOF=0,m.$BSPACE=8,m.$TAB=9,m.$LF=10,m.$VTAB=11,m.$FF=12,m.$CR=13,m.$SPACE=32,m.$BANG=33,m.$DQ=34,m.$HASH=35,m.$$=36,m.$PERCENT=37,m.$AMPERSAND=38,m.$SQ=39,m.$LPAREN=40,m.$RPAREN=41,m.$STAR=42,m.$PLUS=43,m.$COMMA=44,m.$MINUS=45,m.$PERIOD=46,m.$SLASH=47,m.$COLON=58,m.$SEMICOLON=59,m.$LT=60,m.$EQ=61,m.$GT=62,m.$QUESTION=63,m.$0=48,m.$7=55,m.$9=57,m.$A=65,m.$E=69,m.$F=70,m.$X=88,m.$Z=90,m.$LBRACKET=91,m.$BACKSLASH=92,m.$RBRACKET=93,m.$CARET=94,m.$_=95,m.$a=97,m.$b=98,m.$e=101,m.$f=102,m.$n=110,m.$r=114,m.$t=116,m.$u=117,m.$v=118,m.$x=120,m.$z=122,m.$LBRACE=123,m.$BAR=124,m.$RBRACE=125,m.$NBSP=160,m.$PIPE=124,m.$TILDA=126,m.$AT=64,m.$BT=96;function A(D){return D>=m.$TAB&&D<=m.$SPACE||D==m.$NBSP}m.isWhitespace=A;function h(D){return m.$0<=D&&D<=m.$9}m.isDigit=h;function C(D){return D>=m.$a&&D<=m.$z||D>=m.$A&&D<=m.$Z}m.isAsciiLetter=C;function x(D){return D>=m.$a&&D<=m.$f||D>=m.$A&&D<=m.$F||h(D)}m.isAsciiHexDigit=x;function p(D){return D===m.$LF||D===m.$CR}m.isNewLine=p;function d(D){return m.$0<=D&&D<=m.$7}m.isOctalDigit=d}}),Yn=Oe({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=class{constructor(C,x,p){this.filePath=C,this.name=x,this.members=p}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}};m.StaticSymbol=A;var h=class{constructor(){this.cache=new Map}get(C,x,p){p=p||[];let d=p.length?".".concat(p.join(".")):"",D='"'.concat(C,'".').concat(x).concat(d),w=this.cache.get(D);return w||(w=new A(C,x,p),this.cache.set(D,w)),w}};m.StaticSymbolCache=h}}),ni=Oe({"node_modules/angular-html-parser/lib/compiler/src/util.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=/-+([a-z0-9])/g;function h(S){return S.replace(A,function(){for(var H=arguments.length,L=new Array(H),Y=0;Y<H;Y++)L[Y]=arguments[Y];return L[1].toUpperCase()})}m.dashCaseToCamelCase=h;function C(S,H){return p(S,":",H)}m.splitAtColon=C;function x(S,H){return p(S,".",H)}m.splitAtPeriod=x;function p(S,H,L){let Y=S.indexOf(H);return Y==-1?L:[S.slice(0,Y).trim(),S.slice(Y+1).trim()]}function d(S,H,L){return Array.isArray(S)?H.visitArray(S,L):$(S)?H.visitStringMap(S,L):S==null||typeof S=="string"||typeof S=="number"||typeof S=="boolean"?H.visitPrimitive(S,L):H.visitOther(S,L)}m.visitValue=d;function D(S){return S!=null}m.isDefined=D;function w(S){return S===void 0?null:S}m.noUndefined=w;var k=class{visitArray(S,H){return S.map(L=>d(L,this,H))}visitStringMap(S,H){let L={};return Object.keys(S).forEach(Y=>{L[Y]=d(S[Y],this,H)}),L}visitPrimitive(S,H){return S}visitOther(S,H){return S}};m.ValueTransformer=k,m.SyncAsync={assertSync:S=>{if(ie(S))throw new Error("Illegal state: value cannot be a promise");return S},then:(S,H)=>ie(S)?S.then(H):H(S),all:S=>S.some(ie)?Promise.all(S):S};function R(S){throw new Error("Internal Error: ".concat(S))}m.error=R;function P(S,H){let L=Error(S);return L[I]=!0,H&&(L[T]=H),L}m.syntaxError=P;var I="ngSyntaxError",T="ngParseErrors";function _(S){return S[I]}m.isSyntaxError=_;function j(S){return S[T]||[]}m.getParseErrors=j;function re(S){return S.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}m.escapeRegExp=re;var ne=Object.getPrototypeOf({});function $(S){return typeof S=="object"&&S!==null&&Object.getPrototypeOf(S)===ne}function J(S){let H="";for(let L=0;L<S.length;L++){let Y=S.charCodeAt(L);if(Y>=55296&&Y<=56319&&S.length>L+1){let X=S.charCodeAt(L+1);X>=56320&&X<=57343&&(L++,Y=(Y-55296<<10)+X-56320+65536)}Y<=127?H+=String.fromCharCode(Y):Y<=2047?H+=String.fromCharCode(Y>>6&31|192,Y&63|128):Y<=65535?H+=String.fromCharCode(Y>>12|224,Y>>6&63|128,Y&63|128):Y<=2097151&&(H+=String.fromCharCode(Y>>18&7|240,Y>>12&63|128,Y>>6&63|128,Y&63|128))}return H}m.utf8Encode=J;function ee(S){if(typeof S=="string")return S;if(S instanceof Array)return"["+S.map(ee).join(", ")+"]";if(S==null)return""+S;if(S.overriddenName)return"".concat(S.overriddenName);if(S.name)return"".concat(S.name);if(!S.toString)return"object";let H=S.toString();if(H==null)return""+H;let L=H.indexOf(`
|
|
127
|
+
`);return L===-1?H:H.substring(0,L)}m.stringify=ee;function oe(S){return typeof S=="function"&&S.hasOwnProperty("__forward_ref__")?S():S}m.resolveForwardRef=oe;function ie(S){return!!S&&typeof S.then=="function"}m.isPromise=ie;var se=class{constructor(S){this.full=S;let H=S.split(".");this.major=H[0],this.minor=H[1],this.patch=H.slice(2).join(".")}};m.Version=se;var z=typeof window<"u"&&window,N=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,O=typeof globalThis<"u"&&globalThis,W=O||z||N;m.global=W}}),Un=Oe({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=Yn(),h=ni(),C=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function x(L){return L.replace(/\W/g,"_")}m.sanitizeIdentifier=x;var p=0;function d(L){if(!L||!L.reference)return null;let Y=L.reference;if(Y instanceof A.StaticSymbol)return Y.name;if(Y.__anonymousType)return Y.__anonymousType;let X=h.stringify(Y);return X.indexOf("(")>=0?(X="anonymous_".concat(p++),Y.__anonymousType=X):X=x(X),X}m.identifierName=d;function D(L){let Y=L.reference;return Y instanceof A.StaticSymbol?Y.filePath:"./".concat(h.stringify(Y))}m.identifierModuleUrl=D;function w(L,Y){return"View_".concat(d({reference:L}),"_").concat(Y)}m.viewClassName=w;function k(L){return"RenderType_".concat(d({reference:L}))}m.rendererTypeName=k;function R(L){return"HostView_".concat(d({reference:L}))}m.hostViewClassName=R;function P(L){return"".concat(d({reference:L}),"NgFactory")}m.componentFactoryName=P;var I;(function(L){L[L.Pipe=0]="Pipe",L[L.Directive=1]="Directive",L[L.NgModule=2]="NgModule",L[L.Injectable=3]="Injectable"})(I=m.CompileSummaryKind||(m.CompileSummaryKind={}));function T(L){return L.value!=null?x(L.value):d(L.identifier)}m.tokenName=T;function _(L){return L.identifier!=null?L.identifier.reference:L.value}m.tokenReference=_;var j=class{constructor(){let{moduleUrl:L,styles:Y,styleUrls:X}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=L||null,this.styles=ie(Y),this.styleUrls=ie(X)}};m.CompileStylesheetMetadata=j;var re=class{constructor(L){let{encapsulation:Y,template:X,templateUrl:K,htmlAst:ce,styles:we,styleUrls:ye,externalStylesheets:Ne,animations:ke,ngContentSelectors:Ee,interpolation:qe,isInline:Se,preserveWhitespaces:Te}=L;if(this.encapsulation=Y,this.template=X,this.templateUrl=K,this.htmlAst=ce,this.styles=ie(we),this.styleUrls=ie(ye),this.externalStylesheets=ie(Ne),this.animations=ke?z(ke):[],this.ngContentSelectors=Ee||[],qe&&qe.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=qe,this.isInline=Se,this.preserveWhitespaces=Te}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};m.CompileTemplateMetadata=re;var ne=class{static create(L){let{isHost:Y,type:X,isComponent:K,selector:ce,exportAs:we,changeDetection:ye,inputs:Ne,outputs:ke,host:Ee,providers:qe,viewProviders:Se,queries:Te,guards:Ge,viewQueries:Qe,entryComponents:Xe,template:At,componentViewType:Fe,rendererType:Ie,componentFactory:Dt}=L,_t={},mt={},Le={};Ee!=null&&Object.keys(Ee).forEach(Et=>{let gt=Ee[Et],ur=Et.match(C);ur===null?Le[Et]=gt:ur[1]!=null?mt[ur[1]]=gt:ur[2]!=null&&(_t[ur[2]]=gt)});let Re={};Ne!=null&&Ne.forEach(Et=>{let gt=h.splitAtColon(Et,[Et,Et]);Re[gt[0]]=gt[1]});let He={};return ke!=null&&ke.forEach(Et=>{let gt=h.splitAtColon(Et,[Et,Et]);He[gt[0]]=gt[1]}),new ne({isHost:Y,type:X,isComponent:!!K,selector:ce,exportAs:we,changeDetection:ye,inputs:Re,outputs:He,hostListeners:_t,hostProperties:mt,hostAttributes:Le,providers:qe,viewProviders:Se,queries:Te,guards:Ge,viewQueries:Qe,entryComponents:Xe,template:At,componentViewType:Fe,rendererType:Ie,componentFactory:Dt})}constructor(L){let{isHost:Y,type:X,isComponent:K,selector:ce,exportAs:we,changeDetection:ye,inputs:Ne,outputs:ke,hostListeners:Ee,hostProperties:qe,hostAttributes:Se,providers:Te,viewProviders:Ge,queries:Qe,guards:Xe,viewQueries:At,entryComponents:Fe,template:Ie,componentViewType:Dt,rendererType:_t,componentFactory:mt}=L;this.isHost=!!Y,this.type=X,this.isComponent=K,this.selector=ce,this.exportAs=we,this.changeDetection=ye,this.inputs=Ne,this.outputs=ke,this.hostListeners=Ee,this.hostProperties=qe,this.hostAttributes=Se,this.providers=ie(Te),this.viewProviders=ie(Ge),this.queries=ie(Qe),this.guards=Xe,this.viewQueries=ie(At),this.entryComponents=ie(Fe),this.template=Ie,this.componentViewType=Dt,this.rendererType=_t,this.componentFactory=mt}toSummary(){return{summaryKind:I.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};m.CompileDirectiveMetadata=ne;var $=class{constructor(L){let{type:Y,name:X,pure:K}=L;this.type=Y,this.name=X,this.pure=!!K}toSummary(){return{summaryKind:I.Pipe,type:this.type,name:this.name,pure:this.pure}}};m.CompilePipeMetadata=$;var J=class{};m.CompileShallowModuleMetadata=J;var ee=class{constructor(L){let{type:Y,providers:X,declaredDirectives:K,exportedDirectives:ce,declaredPipes:we,exportedPipes:ye,entryComponents:Ne,bootstrapComponents:ke,importedModules:Ee,exportedModules:qe,schemas:Se,transitiveModule:Te,id:Ge}=L;this.type=Y||null,this.declaredDirectives=ie(K),this.exportedDirectives=ie(ce),this.declaredPipes=ie(we),this.exportedPipes=ie(ye),this.providers=ie(X),this.entryComponents=ie(Ne),this.bootstrapComponents=ie(ke),this.importedModules=ie(Ee),this.exportedModules=ie(qe),this.schemas=ie(Se),this.id=Ge||null,this.transitiveModule=Te||null}toSummary(){let L=this.transitiveModule;return{summaryKind:I.NgModule,type:this.type,entryComponents:L.entryComponents,providers:L.providers,modules:L.modules,exportedDirectives:L.exportedDirectives,exportedPipes:L.exportedPipes}}};m.CompileNgModuleMetadata=ee;var oe=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(L,Y){this.providers.push({provider:L,module:Y})}addDirective(L){this.directivesSet.has(L.reference)||(this.directivesSet.add(L.reference),this.directives.push(L))}addExportedDirective(L){this.exportedDirectivesSet.has(L.reference)||(this.exportedDirectivesSet.add(L.reference),this.exportedDirectives.push(L))}addPipe(L){this.pipesSet.has(L.reference)||(this.pipesSet.add(L.reference),this.pipes.push(L))}addExportedPipe(L){this.exportedPipesSet.has(L.reference)||(this.exportedPipesSet.add(L.reference),this.exportedPipes.push(L))}addModule(L){this.modulesSet.has(L.reference)||(this.modulesSet.add(L.reference),this.modules.push(L))}addEntryComponent(L){this.entryComponentsSet.has(L.componentType)||(this.entryComponentsSet.add(L.componentType),this.entryComponents.push(L))}};m.TransitiveCompileNgModuleMetadata=oe;function ie(L){return L||[]}var se=class{constructor(L,Y){let{useClass:X,useValue:K,useExisting:ce,useFactory:we,deps:ye,multi:Ne}=Y;this.token=L,this.useClass=X||null,this.useValue=K,this.useExisting=ce,this.useFactory=we||null,this.dependencies=ye||null,this.multi=!!Ne}};m.ProviderMeta=se;function z(L){return L.reduce((Y,X)=>{let K=Array.isArray(X)?z(X):X;return Y.concat(K)},[])}m.flatten=z;function N(L){return L.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function O(L,Y,X){let K;return X.isInline?Y.type.reference instanceof A.StaticSymbol?K="".concat(Y.type.reference.filePath,".").concat(Y.type.reference.name,".html"):K="".concat(d(L),"/").concat(d(Y.type),".html"):K=X.templateUrl,Y.type.reference instanceof A.StaticSymbol?K:N(K)}m.templateSourceUrl=O;function W(L,Y){let X=L.moduleUrl.split(/\/\\/g),K=X[X.length-1];return N("css/".concat(Y).concat(K,".ngstyle.js"))}m.sharedStylesheetJitUrl=W;function S(L){return N("".concat(d(L.type),"/module.ngfactory.js"))}m.ngModuleJitUrl=S;function H(L,Y){return N("".concat(d(L),"/").concat(d(Y.type),".ngfactory.js"))}m.templateJitUrl=H}}),Pn=Oe({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=mi(),h=Un(),C=class{constructor(R,P,I,T){this.file=R,this.offset=P,this.line=I,this.col=T}toString(){return this.offset!=null?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(R){let P=this.file.content,I=P.length,T=this.offset,_=this.line,j=this.col;for(;T>0&&R<0;)if(T--,R++,P.charCodeAt(T)==A.$LF){_--;let re=P.substr(0,T-1).lastIndexOf(String.fromCharCode(A.$LF));j=re>0?T-re:T}else j--;for(;T<I&&R>0;){let re=P.charCodeAt(T);T++,R--,re==A.$LF?(_++,j=0):j++}return new C(this.file,T,_,j)}getContext(R,P){let I=this.file.content,T=this.offset;if(T!=null){T>I.length-1&&(T=I.length-1);let _=T,j=0,re=0;for(;j<R&&T>0&&(T--,j++,!(I[T]==`
|
|
128
|
+
`&&++re==P)););for(j=0,re=0;j<R&&_<I.length-1&&(_++,j++,!(I[_]==`
|
|
129
|
+
`&&++re==P)););return{before:I.substring(T,this.offset),after:I.substring(this.offset,_+1)}}return null}};m.ParseLocation=C;var x=class{constructor(R,P){this.content=R,this.url=P}};m.ParseSourceFile=x;var p=class{constructor(R,P){let I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=R,this.end=P,this.details=I}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};m.ParseSourceSpan=p,m.EMPTY_PARSE_LOCATION=new C(new x("",""),0,0,0),m.EMPTY_SOURCE_SPAN=new p(m.EMPTY_PARSE_LOCATION,m.EMPTY_PARSE_LOCATION);var d;(function(R){R[R.WARNING=0]="WARNING",R[R.ERROR=1]="ERROR"})(d=m.ParseErrorLevel||(m.ParseErrorLevel={}));var D=class{constructor(R,P){let I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d.ERROR;this.span=R,this.msg=P,this.level=I}contextualMessage(){let R=this.span.start.getContext(100,3);return R?"".concat(this.msg,' ("').concat(R.before,"[").concat(d[this.level]," ->]").concat(R.after,'")'):this.msg}toString(){let R=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(R)}};m.ParseError=D;function w(R,P){let I=h.identifierModuleUrl(P),T=I!=null?"in ".concat(R," ").concat(h.identifierName(P)," in ").concat(I):"in ".concat(R," ").concat(h.identifierName(P)),_=new x("",T);return new p(new C(_,-1,-1,-1),new C(_,-1,-1,-1))}m.typeSourceSpan=w;function k(R,P,I){let T="in ".concat(R," ").concat(P," in ").concat(I),_=new x("",T);return new p(new C(_,-1,-1,-1),new C(_,-1,-1,-1))}m.r3JitTypeSourceSpan=k}}),Wr=Oe({"src/language-html/print-preprocess.js"(m,A){b();var{ParseSourceSpan:h}=Pn(),{htmlTrim:C,getLeadingAndTrailingHtmlWhitespace:x,hasHtmlWhitespace:p,canHaveInterpolation:d,getNodeCssStyleDisplay:D,isDanglingSpaceSensitiveNode:w,isIndentationSensitiveNode:k,isLeadingSpaceSensitiveNode:R,isTrailingSpaceSensitiveNode:P,isWhitespaceSensitiveNode:I,isVueScriptTag:T}=Jt(),_=[re,ne,J,oe,ie,N,se,z,O,ee,W];function j(S,H){for(let L of _)L(S,H);return S}function re(S){S.walk(H=>{if(H.type==="element"&&H.tagDefinition.ignoreFirstLf&&H.children.length>0&&H.children[0].type==="text"&&H.children[0].value[0]===`
|
|
130
|
+
`){let L=H.children[0];L.value.length===1?H.removeChild(L):L.value=L.value.slice(1)}})}function ne(S){let H=L=>L.type==="element"&&L.prev&&L.prev.type==="ieConditionalStartComment"&&L.prev.sourceSpan.end.offset===L.startSourceSpan.start.offset&&L.firstChild&&L.firstChild.type==="ieConditionalEndComment"&&L.firstChild.sourceSpan.start.offset===L.startSourceSpan.end.offset;S.walk(L=>{if(L.children)for(let Y=0;Y<L.children.length;Y++){let X=L.children[Y];if(!H(X))continue;let K=X.prev,ce=X.firstChild;L.removeChild(K),Y--;let we=new h(K.sourceSpan.start,ce.sourceSpan.end),ye=new h(we.start,X.sourceSpan.end);X.condition=K.condition,X.sourceSpan=ye,X.startSourceSpan=we,X.removeChild(ce)}})}function $(S,H,L){S.walk(Y=>{if(Y.children)for(let X=0;X<Y.children.length;X++){let K=Y.children[X];if(K.type!=="text"&&!H(K))continue;K.type!=="text"&&(K.type="text",K.value=L(K));let ce=K.prev;!ce||ce.type!=="text"||(ce.value+=K.value,ce.sourceSpan=new h(ce.sourceSpan.start,K.sourceSpan.end),Y.removeChild(K),X--)}})}function J(S){return $(S,H=>H.type==="cdata",H=>"<![CDATA[".concat(H.value,"]]>"))}function ee(S){let H=L=>L.type==="element"&&L.attrs.length===0&&L.children.length===1&&L.firstChild.type==="text"&&!p(L.children[0].value)&&!L.firstChild.hasLeadingSpaces&&!L.firstChild.hasTrailingSpaces&&L.isLeadingSpaceSensitive&&!L.hasLeadingSpaces&&L.isTrailingSpaceSensitive&&!L.hasTrailingSpaces&&L.prev&&L.prev.type==="text"&&L.next&&L.next.type==="text";S.walk(L=>{if(L.children)for(let Y=0;Y<L.children.length;Y++){let X=L.children[Y];if(!H(X))continue;let K=X.prev,ce=X.next;K.value+="<".concat(X.rawName,">")+X.firstChild.value+"</".concat(X.rawName,">")+ce.value,K.sourceSpan=new h(K.sourceSpan.start,ce.sourceSpan.end),K.isTrailingSpaceSensitive=ce.isTrailingSpaceSensitive,K.hasTrailingSpaces=ce.hasTrailingSpaces,L.removeChild(X),Y--,L.removeChild(ce)}})}function oe(S,H){if(H.parser==="html")return;let L=/{{(.+?)}}/s;S.walk(Y=>{if(d(Y))for(let X of Y.children){if(X.type!=="text")continue;let K=X.sourceSpan.start,ce=null,we=X.value.split(L);for(let ye=0;ye<we.length;ye++,K=ce){let Ne=we[ye];if(ye%2===0){ce=K.moveBy(Ne.length),Ne.length>0&&Y.insertChildBefore(X,{type:"text",value:Ne,sourceSpan:new h(K,ce)});continue}ce=K.moveBy(Ne.length+4),Y.insertChildBefore(X,{type:"interpolation",sourceSpan:new h(K,ce),children:Ne.length===0?[]:[{type:"text",value:Ne,sourceSpan:new h(K.moveBy(2),ce.moveBy(-2))}]})}Y.removeChild(X)}})}function ie(S){S.walk(H=>{if(!H.children)return;if(H.children.length===0||H.children.length===1&&H.children[0].type==="text"&&C(H.children[0].value).length===0){H.hasDanglingSpaces=H.children.length>0,H.children=[];return}let L=I(H),Y=k(H);if(!L)for(let X=0;X<H.children.length;X++){let K=H.children[X];if(K.type!=="text")continue;let{leadingWhitespace:ce,text:we,trailingWhitespace:ye}=x(K.value),Ne=K.prev,ke=K.next;we?(K.value=we,K.sourceSpan=new h(K.sourceSpan.start.moveBy(ce.length),K.sourceSpan.end.moveBy(-ye.length)),ce&&(Ne&&(Ne.hasTrailingSpaces=!0),K.hasLeadingSpaces=!0),ye&&(K.hasTrailingSpaces=!0,ke&&(ke.hasLeadingSpaces=!0))):(H.removeChild(K),X--,(ce||ye)&&(Ne&&(Ne.hasTrailingSpaces=!0),ke&&(ke.hasLeadingSpaces=!0)))}H.isWhitespaceSensitive=L,H.isIndentationSensitive=Y})}function se(S){S.walk(H=>{H.isSelfClosing=!H.children||H.type==="element"&&(H.tagDefinition.isVoid||H.startSourceSpan===H.endSourceSpan)})}function z(S,H){S.walk(L=>{L.type==="element"&&(L.hasHtmComponentClosingTag=L.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(H.originalText.slice(L.endSourceSpan.start.offset,L.endSourceSpan.end.offset)))})}function N(S,H){S.walk(L=>{L.cssDisplay=D(L,H)})}function O(S,H){S.walk(L=>{let{children:Y}=L;if(Y){if(Y.length===0){L.isDanglingSpaceSensitive=w(L);return}for(let X of Y)X.isLeadingSpaceSensitive=R(X,H),X.isTrailingSpaceSensitive=P(X,H);for(let X=0;X<Y.length;X++){let K=Y[X];K.isLeadingSpaceSensitive=(X===0||K.prev.isTrailingSpaceSensitive)&&K.isLeadingSpaceSensitive,K.isTrailingSpaceSensitive=(X===Y.length-1||K.next.isLeadingSpaceSensitive)&&K.isTrailingSpaceSensitive}}})}function W(S,H){if(H.parser==="vue"){let L=S.children.find(X=>T(X,H));if(!L)return;let{lang:Y}=L.attrMap;(Y==="ts"||Y==="typescript")&&(H.__should_parse_vue_template_with_ts=!0)}}A.exports=j}}),wn=Oe({"src/language-html/pragma.js"(m,A){b();function h(x){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(x)}function C(x){return`<!-- @format -->
|
|
131
|
+
|
|
132
|
+
`+x.replace(/^\s*\n/,"")}A.exports={hasPragma:h,insertPragma:C}}}),dn=Oe({"src/language-html/loc.js"(m,A){b();function h(x){return x.sourceSpan.start.offset}function C(x){return x.sourceSpan.end.offset}A.exports={locStart:h,locEnd:C}}}),Cn=Oe({"src/language-html/print/tag.js"(m,A){b();var h=xs(),{isNonEmptyArray:C}=jn(),{builders:{indent:x,join:p,line:d,softline:D,hardline:w},utils:{replaceTextEndOfLine:k}}=bn(),{locStart:R,locEnd:P}=dn(),{isTextLikeNode:I,getLastDescendant:T,isPreLikeNode:_,hasPrettierIgnore:j,shouldPreserveContent:re,isVueSfcBlock:ne}=Jt();function $(Ee,qe){return[Ee.isSelfClosing?"":J(Ee,qe),ee(Ee,qe)]}function J(Ee,qe){return Ee.lastChild&&S(Ee.lastChild)?"":[oe(Ee,qe),se(Ee,qe)]}function ee(Ee,qe){return(Ee.next?O(Ee.next):W(Ee.parent))?"":[z(Ee,qe),ie(Ee,qe)]}function oe(Ee,qe){return W(Ee)?z(Ee.lastChild,qe):""}function ie(Ee,qe){return S(Ee)?se(Ee.parent,qe):H(Ee)?Ne(Ee.next):""}function se(Ee,qe){if(h(!Ee.isSelfClosing),N(Ee,qe))return"";switch(Ee.type){case"ieConditionalComment":return"<!";case"element":if(Ee.hasHtmComponentClosingTag)return"<//";default:return"</".concat(Ee.rawName)}}function z(Ee,qe){if(N(Ee,qe))return"";switch(Ee.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(Ee.isSelfClosing)return"/>";default:return">"}}function N(Ee,qe){return!Ee.isSelfClosing&&!Ee.endSourceSpan&&(j(Ee)||re(Ee.parent,qe))}function O(Ee){return Ee.prev&&Ee.prev.type!=="docType"&&!I(Ee.prev)&&Ee.isLeadingSpaceSensitive&&!Ee.hasLeadingSpaces}function W(Ee){return Ee.lastChild&&Ee.lastChild.isTrailingSpaceSensitive&&!Ee.lastChild.hasTrailingSpaces&&!I(T(Ee.lastChild))&&!_(Ee)}function S(Ee){return!Ee.next&&!Ee.hasTrailingSpaces&&Ee.isTrailingSpaceSensitive&&I(T(Ee))}function H(Ee){return Ee.next&&!I(Ee.next)&&I(Ee)&&Ee.isTrailingSpaceSensitive&&!Ee.hasTrailingSpaces}function L(Ee){let qe=Ee.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return qe?qe[1]?qe[1].split(/\s+/):!0:!1}function Y(Ee){return!Ee.prev&&Ee.isLeadingSpaceSensitive&&!Ee.hasLeadingSpaces}function X(Ee,qe,Se){let Te=Ee.getValue();if(!C(Te.attrs))return Te.isSelfClosing?" ":"";let Ge=Te.prev&&Te.prev.type==="comment"&&L(Te.prev.value),Qe=typeof Ge=="boolean"?()=>Ge:Array.isArray(Ge)?Dt=>Ge.includes(Dt.rawName):()=>!1,Xe=Ee.map(Dt=>{let _t=Dt.getValue();return Qe(_t)?k(qe.originalText.slice(R(_t),P(_t))):Se()},"attrs"),At=Te.type==="element"&&Te.fullName==="script"&&Te.attrs.length===1&&Te.attrs[0].fullName==="src"&&Te.children.length===0,Fe=qe.singleAttributePerLine&&Te.attrs.length>1&&!ne(Te,qe)?w:d,Ie=[x([At?" ":d,p(Fe,Xe)])];return Te.firstChild&&Y(Te.firstChild)||Te.isSelfClosing&&W(Te.parent)||At?Ie.push(Te.isSelfClosing?" ":""):Ie.push(qe.bracketSameLine?Te.isSelfClosing?" ":"":Te.isSelfClosing?d:D),Ie}function K(Ee){return Ee.firstChild&&Y(Ee.firstChild)?"":ke(Ee)}function ce(Ee,qe,Se){let Te=Ee.getValue();return[we(Te,qe),X(Ee,qe,Se),Te.isSelfClosing?"":K(Te)]}function we(Ee,qe){return Ee.prev&&H(Ee.prev)?"":[ye(Ee,qe),Ne(Ee)]}function ye(Ee,qe){return Y(Ee)?ke(Ee.parent):O(Ee)?z(Ee.prev,qe):""}function Ne(Ee){switch(Ee.type){case"ieConditionalComment":case"ieConditionalStartComment":return"<!--[if ".concat(Ee.condition);case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(Ee.condition)return"<!--[if ".concat(Ee.condition,"]><!--><").concat(Ee.rawName);default:return"<".concat(Ee.rawName)}}function ke(Ee){switch(h(!Ee.isSelfClosing),Ee.type){case"ieConditionalComment":return"]>";case"element":if(Ee.condition)return"><!--<![endif]-->";default:return">"}}A.exports={printClosingTag:$,printClosingTagStart:J,printClosingTagStartMarker:se,printClosingTagEndMarker:z,printClosingTagSuffix:ie,printClosingTagEnd:ee,needsToBorrowLastChildClosingTagEndMarker:W,needsToBorrowParentClosingTagStartMarker:S,needsToBorrowPrevClosingTagEndMarker:O,printOpeningTag:ce,printOpeningTagStart:we,printOpeningTagPrefix:ye,printOpeningTagStartMarker:Ne,printOpeningTagEndMarker:ke,needsToBorrowNextOpeningTagStartMarker:H,needsToBorrowParentOpeningTagEndMarker:Y}}}),ut=Oe({"node_modules/parse-srcset/src/parse-srcset.js"(m,A){b(),function(h,C){typeof A=="object"&&A.exports?A.exports=C():h.parseSrcset=C()}(m,function(){return function(h,C){var x=C&&C.logger||console;function p(se){return se===" "||se===" "||se===`
|
|
133
|
+
`||se==="\f"||se==="\r"}function d(se){var z,N=se.exec(h.substring(J));if(N)return z=N[0],J+=z.length,z}for(var D=h.length,w=/^[ \t\n\r\u000c]+/,k=/^[, \t\n\r\u000c]+/,R=/^[^ \t\n\r\u000c]+/,P=/[,]+$/,I=/^\d+$/,T=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,_,j,re,ne,$,J=0,ee=[];;){if(d(k),J>=D)return ee;_=d(R),j=[],_.slice(-1)===","?(_=_.replace(P,""),ie()):oe()}function oe(){for(d(w),re="",ne="in descriptor";;){if($=h.charAt(J),ne==="in descriptor")if(p($))re&&(j.push(re),re="",ne="after descriptor");else if($===","){J+=1,re&&j.push(re),ie();return}else if($==="(")re=re+$,ne="in parens";else if($===""){re&&j.push(re),ie();return}else re=re+$;else if(ne==="in parens")if($===")")re=re+$,ne="in descriptor";else if($===""){j.push(re),ie();return}else re=re+$;else if(ne==="after descriptor"&&!p($))if($===""){ie();return}else ne="in descriptor",J-=1;J+=1}}function ie(){var se=!1,z,N,O,W,S={},H,L,Y,X,K;for(W=0;W<j.length;W++)H=j[W],L=H[H.length-1],Y=H.substring(0,H.length-1),X=parseInt(Y,10),K=parseFloat(Y),I.test(Y)&&L==="w"?((z||N)&&(se=!0),X===0?se=!0:z=X):T.test(Y)&&L==="x"?((z||N||O)&&(se=!0),K<0?se=!0:N=K):I.test(Y)&&L==="h"?((O||N)&&(se=!0),X===0?se=!0:O=X):se=!0;se?x&&x.error&&x.error("Invalid srcset descriptor found in '"+h+"' at '"+H+"'."):(S.url=_,z&&(S.w=z),N&&(S.d=N),O&&(S.h=O),ee.push(S))}}})}}),jt=Oe({"src/language-html/syntax-attribute.js"(m,A){b();var h=ut(),{builders:{ifBreak:C,join:x,line:p}}=bn();function d(w){let k=h(w,{logger:{error(oe){throw new Error(oe)}}}),R=k.some(oe=>{let{w:ie}=oe;return ie}),P=k.some(oe=>{let{h:ie}=oe;return ie}),I=k.some(oe=>{let{d:ie}=oe;return ie});if(R+P+I>1)throw new Error("Mixed descriptor in srcset is not supported");let T=R?"w":P?"h":"d",_=R?"w":P?"h":"x",j=oe=>Math.max(...oe),re=k.map(oe=>oe.url),ne=j(re.map(oe=>oe.length)),$=k.map(oe=>oe[T]).map(oe=>oe?oe.toString():""),J=$.map(oe=>{let ie=oe.indexOf(".");return ie===-1?oe.length:ie}),ee=j(J);return x([",",p],re.map((oe,ie)=>{let se=[oe],z=$[ie];if(z){let N=ne-oe.length+1,O=ee-J[ie],W=" ".repeat(N+O);se.push(C(W," "),z+_)}return se}))}function D(w){return w.trim().split(/\s+/).join(" ")}A.exports={printImgSrcset:d,printClassNames:D}}}),Vt=Oe({"src/language-html/syntax-vue.js"(m,A){b();var{builders:{group:h}}=bn();function C(D,w){let{left:k,operator:R,right:P}=x(D);return[h(w("function _(".concat(k,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",R," ",w(P,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function x(D){let w=/(.*?)\s+(in|of)\s+(.*)/s,k=/,([^,\]}]*)(?:,([^,\]}]*))?$/,R=/^\(|\)$/g,P=D.match(w);if(!P)return;let I={};if(I.for=P[3].trim(),!I.for)return;let T=P[1].trim().replace(R,""),_=T.match(k);_?(I.alias=T.replace(k,""),I.iterator1=_[1].trim(),_[2]&&(I.iterator2=_[2].trim())):I.alias=T;let j=[I.alias,I.iterator1,I.iterator2];if(!j.some((re,ne)=>!re&&(ne===0||j.slice(ne+1).some(Boolean))))return{left:j.filter(Boolean).join(","),operator:P[2],right:I.for}}function p(D,w){return w("function _(".concat(D,") {}"),{parser:"babel",__isVueBindings:!0})}function d(D){let w=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,k=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,R=D.trim();return w.test(R)||k.test(R)}A.exports={isVueEventBindingExpression:d,printVueFor:C,printVueBindings:p}}}),Tr=Oe({"src/language-html/get-node-content.js"(m,A){b();var{needsToBorrowParentClosingTagStartMarker:h,printClosingTagStartMarker:C,needsToBorrowLastChildClosingTagEndMarker:x,printClosingTagEndMarker:p,needsToBorrowParentOpeningTagEndMarker:d,printOpeningTagEndMarker:D}=Cn();function w(k,R){let P=k.startSourceSpan.end.offset;k.firstChild&&d(k.firstChild)&&(P-=D(k).length);let I=k.endSourceSpan.start.offset;return k.lastChild&&h(k.lastChild)?I+=C(k,R).length:x(k)&&(I-=p(k.lastChild,R).length),R.originalText.slice(P,I)}A.exports=w}}),st=Oe({"src/language-html/embed.js"(m,A){b();var{builders:{breakParent:h,group:C,hardline:x,indent:p,line:d,fill:D,softline:w},utils:{mapDoc:k,replaceTextEndOfLine:R}}=bn(),P=Ho(),{printClosingTag:I,printClosingTagSuffix:T,needsToBorrowPrevClosingTagEndMarker:_,printOpeningTagPrefix:j,printOpeningTag:re}=Cn(),{printImgSrcset:ne,printClassNames:$}=jt(),{printVueFor:J,printVueBindings:ee,isVueEventBindingExpression:oe}=Vt(),{isScriptLikeTag:ie,isVueNonHtmlBlock:se,inferScriptParser:z,htmlTrimPreserveIndentation:N,dedentString:O,unescapeQuoteEntities:W,isVueSlotAttribute:S,isVueSfcBindingsAttribute:H,getTextValueParts:L}=Jt(),Y=Tr();function X(ce,we,ye){let Ne=Xe=>new RegExp(Xe.join("|")).test(ce.fullName),ke=()=>W(ce.value),Ee=!1,qe=(Xe,At)=>{let Fe=Xe.type==="NGRoot"?Xe.node.type==="NGMicrosyntax"&&Xe.node.body.length===1&&Xe.node.body[0].type==="NGMicrosyntaxExpression"?Xe.node.body[0].expression:Xe.node:Xe.type==="JsExpressionRoot"?Xe.node:Xe;Fe&&(Fe.type==="ObjectExpression"||Fe.type==="ArrayExpression"||At.parser==="__vue_expression"&&(Fe.type==="TemplateLiteral"||Fe.type==="StringLiteral"))&&(Ee=!0)},Se=Xe=>C(Xe),Te=function(Xe){let At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return C([p([w,Xe]),At?w:""])},Ge=Xe=>Ee?Se(Xe):Te(Xe),Qe=(Xe,At)=>we(Xe,Object.assign({__onHtmlBindingRoot:qe,__embeddedInHtml:!0},At));if(ce.fullName==="srcset"&&(ce.parent.fullName==="img"||ce.parent.fullName==="source"))return Te(ne(ke()));if(ce.fullName==="class"&&!ye.parentParser){let Xe=ke();if(!Xe.includes("{{"))return $(Xe)}if(ce.fullName==="style"&&!ye.parentParser){let Xe=ke();if(!Xe.includes("{{"))return Te(Qe(Xe,{parser:"css",__isHTMLStyleAttribute:!0}))}if(ye.parser==="vue"){if(ce.fullName==="v-for")return J(ke(),Qe);if(S(ce)||H(ce,ye))return ee(ke(),Qe);let Xe=["^@","^v-on:"],At=["^:","^v-bind:"],Fe=["^v-"];if(Ne(Xe)){let Ie=ke(),Dt=oe(Ie)?"__js_expression":ye.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return Ge(Qe(Ie,{parser:Dt}))}if(Ne(At))return Ge(Qe(ke(),{parser:"__vue_expression"}));if(Ne(Fe))return Ge(Qe(ke(),{parser:"__js_expression"}))}if(ye.parser==="angular"){let Xe=(Le,Re)=>Qe(Le,Object.assign(Object.assign({},Re),{},{trailingComma:"none"})),At=["^\\*"],Fe=["^\\(.+\\)$","^on-"],Ie=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],Dt=["^i18n(-.+)?$"];if(Ne(Fe))return Ge(Xe(ke(),{parser:"__ng_action"}));if(Ne(Ie))return Ge(Xe(ke(),{parser:"__ng_binding"}));if(Ne(Dt)){let Le=ke().trim();return Te(D(L(ce,Le)),!Le.includes("@@"))}if(Ne(At))return Ge(Xe(ke(),{parser:"__ng_directive"}));let _t=/{{(.+?)}}/s,mt=ke();if(_t.test(mt)){let Le=[];for(let[Re,He]of mt.split(_t).entries())if(Re%2===0)Le.push(R(He));else try{Le.push(C(["{{",p([d,Xe(He,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),d,"}}"]))}catch{Le.push("{{",R(He),"}}")}return C(Le)}}return null}function K(ce,we,ye,Ne){let ke=ce.getValue();switch(ke.type){case"element":{if(ie(ke)||ke.type==="interpolation")return;if(!ke.isSelfClosing&&se(ke,Ne)){let Ee=z(ke,Ne);if(!Ee)return;let qe=Y(ke,Ne),Se=/^\s*$/.test(qe),Te="";return Se||(Te=ye(N(qe),{parser:Ee,__embeddedInHtml:!0},{stripTrailingHardline:!0}),Se=Te===""),[j(ke,Ne),C(re(ce,Ne,we)),Se?"":x,Te,Se?"":x,I(ke,Ne),T(ke,Ne)]}break}case"text":{if(ie(ke.parent)){let Ee=z(ke.parent,Ne);if(Ee){let qe=Ee==="markdown"?O(ke.value.replace(/^[^\S\n]*\n/,"")):ke.value,Se={parser:Ee,__embeddedInHtml:!0};if(Ne.parser==="html"&&Ee==="babel"){let Te="script",{attrMap:Ge}=ke.parent;Ge&&(Ge.type==="module"||Ge.type==="text/babel"&&Ge["data-type"]==="module")&&(Te="module"),Se.__babelSourceType=Te}return[h,j(ke,Ne),ye(qe,Se,{stripTrailingHardline:!0}),T(ke,Ne)]}}else if(ke.parent.type==="interpolation"){let Ee={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return Ne.parser==="angular"?(Ee.parser="__ng_interpolation",Ee.trailingComma="none"):Ne.parser==="vue"?Ee.parser=Ne.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":Ee.parser="__js_expression",[p([d,ye(ke.value,Ee,{stripTrailingHardline:!0})]),ke.parent.next&&_(ke.parent.next)?" ":d]}break}case"attribute":{if(!ke.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(Ne.originalText.slice(ke.valueSpan.start.offset,ke.valueSpan.end.offset)))return[ke.rawName,"=",ke.value];if(Ne.parser==="lwc"&&/^{.*}$/s.test(Ne.originalText.slice(ke.valueSpan.start.offset,ke.valueSpan.end.offset)))return[ke.rawName,"=",ke.value];let Ee=X(ke,(qe,Se)=>ye(qe,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},Se),{stripTrailingHardline:!0}),Ne);if(Ee)return[ke.rawName,'="',C(k(Ee,qe=>typeof qe=="string"?qe.replace(/"/g,"""):qe)),'"'];break}case"front-matter":return P(ke,ye)}}A.exports=K}}),Xr=Oe({"src/language-html/print/children.js"(m,A){b();var{builders:{breakParent:h,group:C,ifBreak:x,line:p,softline:d,hardline:D},utils:{replaceTextEndOfLine:w}}=bn(),{locStart:k,locEnd:R}=dn(),{forceBreakChildren:P,forceNextEmptyLine:I,isTextLikeNode:T,hasPrettierIgnore:_,preferHardlineAsLeadingSpaces:j}=Jt(),{printOpeningTagPrefix:re,needsToBorrowNextOpeningTagStartMarker:ne,printOpeningTagStartMarker:$,needsToBorrowPrevClosingTagEndMarker:J,printClosingTagEndMarker:ee,printClosingTagSuffix:oe,needsToBorrowParentClosingTagStartMarker:ie}=Cn();function se(O,W,S){let H=O.getValue();return _(H)?[re(H,W),...w(W.originalText.slice(k(H)+(H.prev&&ne(H.prev)?$(H).length:0),R(H)-(H.next&&J(H.next)?ee(H,W).length:0))),oe(H,W)]:S()}function z(O,W){return T(O)&&T(W)?O.isTrailingSpaceSensitive?O.hasTrailingSpaces?j(W)?D:p:"":j(W)?D:d:ne(O)&&(_(W)||W.firstChild||W.isSelfClosing||W.type==="element"&&W.attrs.length>0)||O.type==="element"&&O.isSelfClosing&&J(W)?"":!W.isLeadingSpaceSensitive||j(W)||J(W)&&O.lastChild&&ie(O.lastChild)&&O.lastChild.lastChild&&ie(O.lastChild.lastChild)?D:W.hasLeadingSpaces?p:d}function N(O,W,S){let H=O.getValue();if(P(H))return[h,...O.map(Y=>{let X=Y.getValue(),K=X.prev?z(X.prev,X):"";return[K?[K,I(X.prev)?D:""]:"",se(Y,W,S)]},"children")];let L=H.children.map(()=>Symbol(""));return O.map((Y,X)=>{let K=Y.getValue();if(T(K)){if(K.prev&&T(K.prev)){let qe=z(K.prev,K);if(qe)return I(K.prev)?[D,D,se(Y,W,S)]:[qe,se(Y,W,S)]}return se(Y,W,S)}let ce=[],we=[],ye=[],Ne=[],ke=K.prev?z(K.prev,K):"",Ee=K.next?z(K,K.next):"";return ke&&(I(K.prev)?ce.push(D,D):ke===D?ce.push(D):T(K.prev)?we.push(ke):we.push(x("",d,{groupId:L[X-1]}))),Ee&&(I(K)?T(K.next)&&Ne.push(D,D):Ee===D?T(K.next)&&Ne.push(D):ye.push(Ee)),[...ce,C([...we,C([se(Y,W,S),...ye],{id:L[X]})]),...Ne]},"children")}A.exports={printChildren:N}}}),zr=Oe({"src/language-html/print/element.js"(m,A){b();var{builders:{breakParent:h,dedentToRoot:C,group:x,ifBreak:p,indentIfBreak:d,indent:D,line:w,softline:k},utils:{replaceTextEndOfLine:R}}=bn(),P=Tr(),{shouldPreserveContent:I,isScriptLikeTag:T,isVueCustomBlock:_,countParents:j,forceBreakContent:re}=Jt(),{printOpeningTagPrefix:ne,printOpeningTag:$,printClosingTagSuffix:J,printClosingTag:ee,needsToBorrowPrevClosingTagEndMarker:oe,needsToBorrowLastChildClosingTagEndMarker:ie}=Cn(),{printChildren:se}=Xr();function z(N,O,W){let S=N.getValue();if(I(S,O))return[ne(S,O),x($(N,O,W)),...R(P(S,O)),...ee(S,O),J(S,O)];let H=S.children.length===1&&S.firstChild.type==="interpolation"&&S.firstChild.isLeadingSpaceSensitive&&!S.firstChild.hasLeadingSpaces&&S.lastChild.isTrailingSpaceSensitive&&!S.lastChild.hasTrailingSpaces,L=Symbol("element-attr-group-id"),Y=we=>x([x($(N,O,W),{id:L}),we,ee(S,O)]),X=we=>H?d(we,{groupId:L}):(T(S)||_(S,O))&&S.parent.type==="root"&&O.parser==="vue"&&!O.vueIndentScriptAndStyle?we:D(we),K=()=>H?p(k,"",{groupId:L}):S.firstChild.hasLeadingSpaces&&S.firstChild.isLeadingSpaceSensitive?w:S.firstChild.type==="text"&&S.isWhitespaceSensitive&&S.isIndentationSensitive?C(k):k,ce=()=>(S.next?oe(S.next):ie(S.parent))?S.lastChild.hasTrailingSpaces&&S.lastChild.isTrailingSpaceSensitive?" ":"":H?p(k,"",{groupId:L}):S.lastChild.hasTrailingSpaces&&S.lastChild.isTrailingSpaceSensitive?w:(S.lastChild.type==="comment"||S.lastChild.type==="text"&&S.isWhitespaceSensitive&&S.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(O.tabWidth*j(N,we=>we.parent&&we.parent.type!=="root"),"}$")).test(S.lastChild.value)?"":k;return S.children.length===0?Y(S.hasDanglingSpaces&&S.isDanglingSpaceSensitive?w:""):Y([re(S)?h:"",X([K(),se(N,O,W)]),ce()])}A.exports={printElement:z}}}),ji=Oe({"src/language-html/printer-html.js"(m,A){b();var{builders:{fill:h,group:C,hardline:x,literalline:p},utils:{cleanDoc:d,getDocParts:D,isConcat:w,replaceTextEndOfLine:k}}=bn(),R=mr(),{countChars:P,unescapeQuoteEntities:I,getTextValueParts:T}=Jt(),_=Wr(),{insertPragma:j}=wn(),{locStart:re,locEnd:ne}=dn(),$=st(),{printClosingTagSuffix:J,printClosingTagEnd:ee,printOpeningTagPrefix:oe,printOpeningTagStart:ie}=Cn(),{printElement:se}=zr(),{printChildren:z}=Xr();function N(O,W,S){let H=O.getValue();switch(H.type){case"front-matter":return k(H.raw);case"root":return W.__onHtmlRoot&&W.__onHtmlRoot(H),[C(z(O,W,S)),x];case"element":case"ieConditionalComment":return se(O,W,S);case"ieConditionalStartComment":case"ieConditionalEndComment":return[ie(H),ee(H)];case"interpolation":return[ie(H,W),...O.map(S,"children"),ee(H,W)];case"text":{if(H.parent.type==="interpolation"){let Y=/\n[^\S\n]*$/,X=Y.test(H.value),K=X?H.value.replace(Y,""):H.value;return[...k(K),X?x:""]}let L=d([oe(H,W),...T(H),J(H,W)]);return w(L)||L.type==="fill"?h(D(L)):L}case"docType":return[C([ie(H,W)," ",H.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),ee(H,W)];case"comment":return[oe(H,W),...k(W.originalText.slice(re(H),ne(H)),p),J(H,W)];case"attribute":{if(H.value===null)return H.rawName;let L=I(H.value),Y=P(L,"'"),X=P(L,'"'),K=Y<X?"'":'"';return[H.rawName,"=",K,...k(K==='"'?L.replace(/"/g,"""):L.replace(/'/g,"'")),K]}default:throw new Error("Unexpected node type ".concat(H.type))}}A.exports={preprocess:_,print:N,insertPragma:j,massageAstNode:R,embed:$}}}),Fi=Oe({"src/language-html/options.js"(m,A){b();var h=zo(),C="HTML";A.exports={bracketSameLine:h.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:C,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:h.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:C,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),si=Oe({"src/language-html/parsers.js"(){b()}}),Zi=Oe({"node_modules/linguist-languages/data/HTML.json"(m,A){A.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),Ji=Oe({"node_modules/linguist-languages/data/Vue.json"(m,A){A.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),ki=Oe({"src/language-html/index.js"(m,A){b();var h=Lo(),C=ji(),x=Fi(),p=si(),d=[h(Zi(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),h(Zi(),w=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...w.extensions,".mjml"]})),h(Zi(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),h(Ji(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],D={html:C};A.exports={languages:d,printers:D,options:x,parsers:p}}}),eo=Oe({"src/language-yaml/pragma.js"(m,A){b();function h(p){return/^\s*@(?:prettier|format)\s*$/.test(p)}function C(p){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(p)}function x(p){return`# @format
|
|
134
|
+
|
|
135
|
+
`.concat(p)}A.exports={isPragma:h,hasPragma:C,insertPragma:x}}}),Mi=Oe({"src/language-yaml/loc.js"(m,A){b();function h(x){return x.position.start.offset}function C(x){return x.position.end.offset}A.exports={locStart:h,locEnd:C}}}),wi=Oe({"src/language-yaml/embed.js"(m,A){b();function h(C,x,p,d){if(C.getValue().type==="root"&&d.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint)rc$/.test(d.filepath))return p(d.originalText,Object.assign(Object.assign({},d),{},{parser:"json"}))}A.exports=h}}),Ti=Oe({"src/language-yaml/utils.js"(m,A){b();var{getLast:h,isNonEmptyArray:C}=jn();function x(z,N){let O=0,W=z.stack.length-1;for(let S=0;S<W;S++){let H=z.stack[S];p(H)&&N(H)&&O++}return O}function p(z,N){return z&&typeof z.type=="string"&&(!N||N.includes(z.type))}function d(z,N,O){return N("children"in z?Object.assign(Object.assign({},z),{},{children:z.children.map(W=>d(W,N,z))}):z,O)}function D(z,N,O){Object.defineProperty(z,N,{get:O,enumerable:!1})}function w(z,N){let O=0,W=N.length;for(let S=z.position.end.offset-1;S<W;S++){let H=N[S];if(H===`
|
|
136
|
+
`&&O++,O===1&&/\S/.test(H))return!1;if(O===2)return!0}return!1}function k(z){switch(z.getValue().type){case"tag":case"anchor":case"comment":return!1}let N=z.stack.length;for(let O=1;O<N;O++){let W=z.stack[O],S=z.stack[O-1];if(Array.isArray(S)&&typeof W=="number"&&W!==S.length-1)return!1}return!0}function R(z){return C(z.children)?R(h(z.children)):z}function P(z){return z.value.trim()==="prettier-ignore"}function I(z){let N=z.getValue();if(N.type==="documentBody"){let O=z.getParentNode();return J(O.head)&&P(h(O.head.endComments))}return j(N)&&P(h(N.leadingComments))}function T(z){return!C(z.children)&&!_(z)}function _(z){return j(z)||re(z)||ne(z)||$(z)||J(z)}function j(z){return C(z==null?void 0:z.leadingComments)}function re(z){return C(z==null?void 0:z.middleComments)}function ne(z){return z==null?void 0:z.indicatorComment}function $(z){return z==null?void 0:z.trailingComment}function J(z){return C(z==null?void 0:z.endComments)}function ee(z){let N=[],O;for(let W of z.split(/( +)/))W!==" "?O===" "?N.push(W):N.push((N.pop()||"")+W):O===void 0&&N.unshift(""),O=W;return O===" "&&N.push((N.pop()||"")+" "),N[0]===""&&(N.shift(),N.unshift(" "+(N.shift()||""))),N}function oe(z,N,O){let W=N.split(`
|
|
137
|
+
`).map((S,H,L)=>H===0&&H===L.length-1?S:H!==0&&H!==L.length-1?S.trim():H===0?S.trimEnd():S.trimStart());return O.proseWrap==="preserve"?W.map(S=>S.length===0?[]:[S]):W.map(S=>S.length===0?[]:ee(S)).reduce((S,H,L)=>L!==0&&W[L-1].length>0&&H.length>0&&!(z==="quoteDouble"&&h(h(S)).endsWith("\\"))?[...S.slice(0,-1),[...h(S),...H]]:[...S,H],[]).map(S=>O.proseWrap==="never"?[S.join(" ")]:S)}function ie(z,N){let{parentIndent:O,isLastDescendant:W,options:S}=N,H=z.position.start.line===z.position.end.line?"":S.originalText.slice(z.position.start.offset,z.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],L;if(z.indent===null){let K=H.match(/^(?<leadingSpace> *)[^\n\r ]/m);L=K?K.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else L=z.indent-1+O;let Y=H.split(`
|
|
138
|
+
`).map(K=>K.slice(L));if(S.proseWrap==="preserve"||z.type==="blockLiteral")return X(Y.map(K=>K.length===0?[]:[K]));return X(Y.map(K=>K.length===0?[]:ee(K)).reduce((K,ce,we)=>we!==0&&Y[we-1].length>0&&ce.length>0&&!/^\s/.test(ce[0])&&!/^\s|\s$/.test(h(K))?[...K.slice(0,-1),[...h(K),...ce]]:[...K,ce],[]).map(K=>K.reduce((ce,we)=>ce.length>0&&/\s$/.test(h(ce))?[...ce.slice(0,-1),h(ce)+" "+we]:[...ce,we],[])).map(K=>S.proseWrap==="never"?[K.join(" ")]:K));function X(K){if(z.chomping==="keep")return h(K).length===0?K.slice(0,-1):K;let ce=0;for(let we=K.length-1;we>=0&&K[we].length===0;we--)ce++;return ce===0?K:ce>=2&&!W?K.slice(0,-(ce-1)):K.slice(0,-ce)}}function se(z){if(!z)return!0;switch(z.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}A.exports={getLast:h,getAncestorCount:x,isNode:p,isEmptyNode:T,isInlineNode:se,mapNode:d,defineShortcut:D,isNextLineEmpty:w,isLastDescendantNode:k,getBlockValueLineContents:ie,getFlowScalarLineContents:oe,getLastDescendantNode:R,hasPrettierIgnore:I,hasLeadingComments:j,hasMiddleComments:re,hasIndicatorComment:ne,hasTrailingComment:$,hasEndComments:J}}}),zl=Oe({"src/language-yaml/print-preprocess.js"(m,A){b();var{defineShortcut:h,mapNode:C}=Ti();function x(d){return C(d,p)}function p(d){switch(d.type){case"document":h(d,"head",()=>d.children[0]),h(d,"body",()=>d.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":h(d,"content",()=>d.children[0]);break;case"mappingItem":case"flowMappingItem":h(d,"key",()=>d.children[0]),h(d,"value",()=>d.children[1]);break}return d}A.exports=x}}),ba=Oe({"src/language-yaml/print/misc.js"(m,A){b();var{builders:{softline:h,align:C}}=bn(),{hasEndComments:x,isNextLineEmpty:p,isNode:d}=Ti(),D=new WeakMap;function w(P,I){let T=P.getValue(),_=P.stack[0],j;return D.has(_)?j=D.get(_):(j=new Set,D.set(_,j)),!j.has(T.position.end.line)&&(j.add(T.position.end.line),p(T,I)&&!k(P.getParentNode()))?h:""}function k(P){return x(P)&&!d(P,["documentHead","documentBody","flowMapping","flowSequence"])}function R(P,I){return C(" ".repeat(P),I)}A.exports={alignWithSpaces:R,shouldPrintEndComments:k,printNextEmptyLine:w}}}),zp=Oe({"src/language-yaml/print/flow-mapping-sequence.js"(m,A){b();var{builders:{ifBreak:h,line:C,softline:x,hardline:p,join:d}}=bn(),{isEmptyNode:D,getLast:w,hasEndComments:k}=Ti(),{printNextEmptyLine:R,alignWithSpaces:P}=ba();function I(_,j,re){let ne=_.getValue(),$=ne.type==="flowMapping",J=$?"{":"[",ee=$?"}":"]",oe=x;$&&ne.children.length>0&&re.bracketSpacing&&(oe=C);let ie=w(ne.children),se=ie&&ie.type==="flowMappingItem"&&D(ie.key)&&D(ie.value);return[J,P(re.tabWidth,[oe,T(_,j,re),re.trailingComma==="none"?"":h(","),k(ne)?[p,d(p,_.map(j,"endComments"))]:""]),se?"":oe,ee]}function T(_,j,re){let ne=_.getValue();return _.map(($,J)=>[j(),J===ne.children.length-1?"":[",",C,ne.children[J].position.start.line!==ne.children[J+1].position.start.line?R($,re.originalText):""]],"children")}A.exports={printFlowMapping:I,printFlowSequence:I}}}),Xs=Oe({"src/language-yaml/print/mapping-item.js"(m,A){b();var{builders:{conditionalGroup:h,group:C,hardline:x,ifBreak:p,join:d,line:D}}=bn(),{hasLeadingComments:w,hasMiddleComments:k,hasTrailingComment:R,hasEndComments:P,isNode:I,isEmptyNode:T,isInlineNode:_}=Ti(),{alignWithSpaces:j}=ba();function re(ee,oe,ie,se,z){let{key:N,value:O}=ee,W=T(N),S=T(O);if(W&&S)return": ";let H=se("key"),L=$(ee)?" ":"";if(S)return ee.type==="flowMappingItem"&&oe.type==="flowMapping"?H:ee.type==="mappingItem"&&ne(N.content,z)&&!R(N.content)&&(!oe.tag||oe.tag.value!=="tag:yaml.org,2002:set")?[H,L,":"]:["? ",j(2,H)];let Y=se("value");if(W)return[": ",j(2,Y)];if(w(O)||!_(N.content))return["? ",j(2,H),x,d("",ie.map(se,"value","leadingComments").map(Ne=>[Ne,x])),": ",j(2,Y)];if(J(N.content)&&!w(N.content)&&!k(N.content)&&!R(N.content)&&!P(N)&&!w(O.content)&&!k(O.content)&&!P(O)&&ne(O.content,z))return[H,L,": ",Y];let X=Symbol("mappingKey"),K=C([p("? "),C(j(2,H),{id:X})]),ce=[x,": ",j(2,Y)],we=[L,":"];w(O.content)||P(O)&&O.content&&!I(O.content,["mapping","sequence"])||oe.type==="mapping"&&R(N.content)&&_(O.content)||I(O.content,["mapping","sequence"])&&O.content.tag===null&&O.content.anchor===null?we.push(x):O.content&&we.push(D),we.push(Y);let ye=j(z.tabWidth,we);return ne(N.content,z)&&!w(N.content)&&!k(N.content)&&!P(N)?h([[H,ye]]):h([[K,p(ce,ye,{groupId:X})]])}function ne(ee,oe){if(!ee)return!0;switch(ee.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(oe.proseWrap==="preserve")return ee.position.start.line===ee.position.end.line;if(/\\$/m.test(oe.originalText.slice(ee.position.start.offset,ee.position.end.offset)))return!1;switch(oe.proseWrap){case"never":return!ee.value.includes(`
|
|
139
|
+
`);case"always":return!/[\n ]/.test(ee.value);default:return!1}}function $(ee){return ee.key.content&&ee.key.content.type==="alias"}function J(ee){if(!ee)return!0;switch(ee.type){case"plain":case"quoteDouble":case"quoteSingle":return ee.position.start.line===ee.position.end.line;case"alias":return!0;default:return!1}}A.exports=re}}),ll=Oe({"src/language-yaml/print/block.js"(m,A){b();var{builders:{dedent:h,dedentToRoot:C,fill:x,hardline:p,join:d,line:D,literalline:w,markAsRoot:k},utils:{getDocParts:R}}=bn(),{getAncestorCount:P,getBlockValueLineContents:I,hasIndicatorComment:T,isLastDescendantNode:_,isNode:j}=Ti(),{alignWithSpaces:re}=ba();function ne($,J,ee){let oe=$.getValue(),ie=P($,W=>j(W,["sequence","mapping"])),se=_($),z=[oe.type==="blockFolded"?">":"|"];oe.indent!==null&&z.push(oe.indent.toString()),oe.chomping!=="clip"&&z.push(oe.chomping==="keep"?"+":"-"),T(oe)&&z.push(" ",J("indicatorComment"));let N=I(oe,{parentIndent:ie,isLastDescendant:se,options:ee}),O=[];for(let[W,S]of N.entries())W===0&&O.push(p),O.push(x(R(d(D,S)))),W!==N.length-1?O.push(S.length===0?p:k(w)):oe.chomping==="keep"&&se&&O.push(C(S.length===0?p:w));return oe.indent===null?z.push(h(re(ee.tabWidth,O))):z.push(C(re(oe.indent-1+ie,O))),z}A.exports=ne}}),Hl=Oe({"src/language-yaml/printer-yaml.js"(m,A){b();var{builders:{breakParent:h,fill:C,group:x,hardline:p,join:d,line:D,lineSuffix:w,literalline:k},utils:{getDocParts:R,replaceTextEndOfLine:P}}=bn(),{isPreviousLineEmpty:I}=jn(),{insertPragma:T,isPragma:_}=eo(),{locStart:j}=Mi(),re=wi(),{getFlowScalarLineContents:ne,getLastDescendantNode:$,hasLeadingComments:J,hasMiddleComments:ee,hasTrailingComment:oe,hasEndComments:ie,hasPrettierIgnore:se,isLastDescendantNode:z,isNode:N,isInlineNode:O}=Ti(),W=zl(),{alignWithSpaces:S,printNextEmptyLine:H,shouldPrintEndComments:L}=ba(),{printFlowMapping:Y,printFlowSequence:X}=zp(),K=Xs(),ce=ll();function we(Te,Ge,Qe){let Xe=Te.getValue(),At=[];Xe.type!=="mappingValue"&&J(Xe)&&At.push([d(p,Te.map(Qe,"leadingComments")),p]);let{tag:Fe,anchor:Ie}=Xe;Fe&&At.push(Qe("tag")),Fe&&Ie&&At.push(" "),Ie&&At.push(Qe("anchor"));let Dt="";N(Xe,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!z(Te)&&(Dt=H(Te,Ge.originalText)),(Fe||Ie)&&(N(Xe,["sequence","mapping"])&&!ee(Xe)?At.push(p):At.push(" ")),ee(Xe)&&At.push([Xe.middleComments.length===1?"":p,d(p,Te.map(Qe,"middleComments")),p]);let _t=Te.getParentNode();return se(Te)?At.push(P(Ge.originalText.slice(Xe.position.start.offset,Xe.position.end.offset).trimEnd(),k)):At.push(x(ye(Xe,_t,Te,Ge,Qe))),oe(Xe)&&!N(Xe,["document","documentHead"])&&At.push(w([Xe.type==="mappingValue"&&!Xe.content?"":" ",_t.type==="mappingKey"&&Te.getParentNode(2).type==="mapping"&&O(Xe)?"":h,Qe("trailingComment")])),L(Xe)&&At.push(S(Xe.type==="sequenceItem"?2:0,[p,d(p,Te.map(mt=>[I(Ge.originalText,mt.getValue(),j)?p:"",Qe()],"endComments"))])),At.push(Dt),At}function ye(Te,Ge,Qe,Xe,At){switch(Te.type){case"root":{let{children:Fe}=Te,Ie=[];Qe.each((_t,mt)=>{let Le=Fe[mt],Re=Fe[mt+1];mt!==0&&Ie.push(p),Ie.push(At()),ke(Le,Re)?(Ie.push(p,"..."),oe(Le)&&Ie.push(" ",At("trailingComment"))):Re&&!oe(Re.head)&&Ie.push(p,"---")},"children");let Dt=$(Te);return(!N(Dt,["blockLiteral","blockFolded"])||Dt.chomping!=="keep")&&Ie.push(p),Ie}case"document":{let Fe=Ge.children[Qe.getName()+1],Ie=[];return Ee(Te,Fe,Ge,Xe)==="head"&&((Te.head.children.length>0||Te.head.endComments.length>0)&&Ie.push(At("head")),oe(Te.head)?Ie.push(["---"," ",At(["head","trailingComment"])]):Ie.push("---")),Ne(Te)&&Ie.push(At("body")),d(p,Ie)}case"documentHead":return d(p,[...Qe.map(At,"children"),...Qe.map(At,"endComments")]);case"documentBody":{let{children:Fe,endComments:Ie}=Te,Dt="";if(Fe.length>0&&Ie.length>0){let _t=$(Te);N(_t,["blockFolded","blockLiteral"])?_t.chomping!=="keep"&&(Dt=[p,p]):Dt=p}return[d(p,Qe.map(At,"children")),Dt,d(p,Qe.map(At,"endComments"))]}case"directive":return["%",d(" ",[Te.name,...Te.parameters])];case"comment":return["#",Te.value];case"alias":return["*",Te.value];case"tag":return Xe.originalText.slice(Te.position.start.offset,Te.position.end.offset);case"anchor":return["&",Te.value];case"plain":return qe(Te.type,Xe.originalText.slice(Te.position.start.offset,Te.position.end.offset),Xe);case"quoteDouble":case"quoteSingle":{let Fe="'",Ie='"',Dt=Xe.originalText.slice(Te.position.start.offset+1,Te.position.end.offset-1);if(Te.type==="quoteSingle"&&Dt.includes("\\")||Te.type==="quoteDouble"&&/\\[^"]/.test(Dt)){let mt=Te.type==="quoteDouble"?Ie:Fe;return[mt,qe(Te.type,Dt,Xe),mt]}if(Dt.includes(Ie))return[Fe,qe(Te.type,Te.type==="quoteDouble"?Dt.replace(/\\"/g,Ie).replace(/'/g,Fe.repeat(2)):Dt,Xe),Fe];if(Dt.includes(Fe))return[Ie,qe(Te.type,Te.type==="quoteSingle"?Dt.replace(/''/g,Fe):Dt,Xe),Ie];let _t=Xe.singleQuote?Fe:Ie;return[_t,qe(Te.type,Dt,Xe),_t]}case"blockFolded":case"blockLiteral":return ce(Qe,At,Xe);case"mapping":case"sequence":return d(p,Qe.map(At,"children"));case"sequenceItem":return["- ",S(2,Te.content?At("content"):"")];case"mappingKey":case"mappingValue":return Te.content?At("content"):"";case"mappingItem":case"flowMappingItem":return K(Te,Ge,Qe,At,Xe);case"flowMapping":return Y(Qe,At,Xe);case"flowSequence":return X(Qe,At,Xe);case"flowSequenceItem":return At("content");default:throw new Error("Unexpected node type ".concat(Te.type))}}function Ne(Te){return Te.body.children.length>0||ie(Te.body)}function ke(Te,Ge){return oe(Te)||Ge&&(Ge.head.children.length>0||ie(Ge.head))}function Ee(Te,Ge,Qe,Xe){return Qe.children[0]===Te&&/---(?:\s|$)/.test(Xe.originalText.slice(j(Te),j(Te)+4))||Te.head.children.length>0||ie(Te.head)||oe(Te.head)?"head":ke(Te,Ge)?!1:Ge?"root":!1}function qe(Te,Ge,Qe){let Xe=ne(Te,Ge,Qe);return d(p,Xe.map(At=>C(R(d(D,At)))))}function Se(Te,Ge){if(N(Ge))switch(delete Ge.position,Ge.type){case"comment":if(_(Ge.value))return null;break;case"quoteDouble":case"quoteSingle":Ge.type="quote";break}}A.exports={preprocess:W,embed:re,print:we,massageAstNode:Se,insertPragma:T}}}),cl=Oe({"src/language-yaml/options.js"(m,A){b();var h=zo();A.exports={bracketSpacing:h.bracketSpacing,singleQuote:h.singleQuote,proseWrap:h.proseWrap}}}),ks=Oe({"src/language-yaml/parsers.js"(){b()}}),Hp=Oe({"node_modules/linguist-languages/data/YAML.json"(m,A){A.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),Wp=Oe({"src/language-yaml/index.js"(m,A){b();var h=Lo(),C=Hl(),x=cl(),p=ks(),d=[h(Hp(),D=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...D.filenames.filter(w=>w!=="yarn.lock"),".prettierrc",".stylelintrc"]}))];A.exports={languages:d,printers:{yaml:C},options:x,parsers:p}}}),au=Oe({"src/languages.js"(m,A){b(),A.exports=[So(),G(),E(),_e(),un(),ki(),Wp()]}});b();var{version:Qc}=Pe(),xa=Cs(),{getSupportInfo:Yc}=fo(),Wl=Es(),uu=au(),Sc=bn();function Ts(m){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var h=arguments.length,C=new Array(h),x=0;x<h;x++)C[x]=arguments[x];let p=C[A]||{},d=p.plugins||[];return C[A]=Object.assign(Object.assign({},p),{},{plugins:[...uu,...Array.isArray(d)?d:Object.values(d)]}),m(...C)}}var pl=Ts(xa.formatWithCursor);ft.exports={formatWithCursor:pl,format(m,A){return pl(m,A).formatted},check(m,A){let{formatted:h}=pl(m,A);return h===m},doc:Sc,getSupportInfo:Ts(Yc,0),version:Qc,util:Wl,__debug:{parse:Ts(xa.parse),formatAST:Ts(xa.formatAST),formatDoc:Ts(xa.formatDoc),printToDoc:Ts(xa.printToDoc),printDocToString:Ts(xa.printDocToString)}}});return pi()})})(hg);var Fv=sg(hg.exports),gg={exports:{}};(function(r,s){(function(a){r.exports=a()})(function(){var a=(Ir,Ht)=>()=>(Ht||Ir((Ht={exports:{}}).exports,Ht),Ht.exports),l=a((Ir,Ht)=>{var $t=function(ht){return ht&&ht.Math==Math&&ht};Ht.exports=$t(typeof globalThis=="object"&&globalThis)||$t(typeof window=="object"&&window)||$t(typeof self=="object"&&self)||$t(typeof Jc=="object"&&Jc)||function(){return this}()||Function("return this")()}),f=a((Ir,Ht)=>{Ht.exports=function($t){try{return!!$t()}catch{return!0}}}),F=a((Ir,Ht)=>{var $t=f();Ht.exports=!$t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),V=a((Ir,Ht)=>{var $t=f();Ht.exports=!$t(function(){var ht=function(){}.bind();return typeof ht!="function"||ht.hasOwnProperty("prototype")})}),ae=a((Ir,Ht)=>{var $t=V(),ht=Function.prototype.call;Ht.exports=$t?ht.bind(ht):function(){return ht.apply(ht,arguments)}}),ue=a(Ir=>{var Ht={}.propertyIsEnumerable,$t=Object.getOwnPropertyDescriptor,ht=$t&&!Ht.call({1:2},1);Ir.f=ht?function(Zt){var Tt=$t(this,Zt);return!!Tt&&Tt.enumerable}:Ht}),Ae=a((Ir,Ht)=>{Ht.exports=function($t,ht){return{enumerable:!($t&1),configurable:!($t&2),writable:!($t&4),value:ht}}}),Be=a((Ir,Ht)=>{var $t=V(),ht=Function.prototype,Zt=ht.bind,Tt=ht.call,yr=$t&&Zt.bind(Tt,Tt);Ht.exports=$t?function(at){return at&&yr(at)}:function(at){return at&&function(){return Tt.apply(at,arguments)}}}),ze=a((Ir,Ht)=>{var $t=Be(),ht=$t({}.toString),Zt=$t("".slice);Ht.exports=function(Tt){return Zt(ht(Tt),8,-1)}}),Je=a((Ir,Ht)=>{var $t=l(),ht=Be(),Zt=f(),Tt=ze(),yr=$t.Object,at=ht("".split);Ht.exports=Zt(function(){return!yr("z").propertyIsEnumerable(0)})?function($r){return Tt($r)=="String"?at($r,""):yr($r)}:yr}),rt=a((Ir,Ht)=>{var $t=l(),ht=$t.TypeError;Ht.exports=function(Zt){if(Zt==null)throw ht("Can't call method on "+Zt);return Zt}}),bt=a((Ir,Ht)=>{var $t=Je(),ht=rt();Ht.exports=function(Zt){return $t(ht(Zt))}}),Qt=a((Ir,Ht)=>{Ht.exports=function($t){return typeof $t=="function"}}),nr=a((Ir,Ht)=>{var $t=Qt();Ht.exports=function(ht){return typeof ht=="object"?ht!==null:$t(ht)}}),et=a((Ir,Ht)=>{var $t=l(),ht=Qt(),Zt=function(Tt){return ht(Tt)?Tt:void 0};Ht.exports=function(Tt,yr){return arguments.length<2?Zt($t[Tt]):$t[Tt]&&$t[Tt][yr]}}),pt=a((Ir,Ht)=>{var $t=Be();Ht.exports=$t({}.isPrototypeOf)}),dt=a((Ir,Ht)=>{var $t=et();Ht.exports=$t("navigator","userAgent")||""}),Wt=a((Ir,Ht)=>{var $t=l(),ht=dt(),Zt=$t.process,Tt=$t.Deno,yr=Zt&&Zt.versions||Tt&&Tt.version,at=yr&&yr.v8,$r,Jr;at&&($r=at.split("."),Jr=$r[0]>0&&$r[0]<4?1:+($r[0]+$r[1])),!Jr&&ht&&($r=ht.match(/Edge\/(\d+)/),(!$r||$r[1]>=74)&&($r=ht.match(/Chrome\/(\d+)/),$r&&(Jr=+$r[1]))),Ht.exports=Jr}),pr=a((Ir,Ht)=>{var $t=Wt(),ht=f();Ht.exports=!!Object.getOwnPropertySymbols&&!ht(function(){var Zt=Symbol();return!String(Zt)||!(Object(Zt)instanceof Symbol)||!Symbol.sham&&$t&&$t<41})}),kr=a((Ir,Ht)=>{var $t=pr();Ht.exports=$t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Rr=a((Ir,Ht)=>{var $t=l(),ht=et(),Zt=Qt(),Tt=pt(),yr=kr(),at=$t.Object;Ht.exports=yr?function($r){return typeof $r=="symbol"}:function($r){var Jr=ht("Symbol");return Zt(Jr)&&Tt(Jr.prototype,at($r))}}),Sn=a((Ir,Ht)=>{var $t=l(),ht=$t.String;Ht.exports=function(Zt){try{return ht(Zt)}catch{return"Object"}}}),Dn=a((Ir,Ht)=>{var $t=l(),ht=Qt(),Zt=Sn(),Tt=$t.TypeError;Ht.exports=function(yr){if(ht(yr))return yr;throw Tt(Zt(yr)+" is not a function")}}),Lr=a((Ir,Ht)=>{var $t=Dn();Ht.exports=function(ht,Zt){var Tt=ht[Zt];return Tt==null?void 0:$t(Tt)}}),_r=a((Ir,Ht)=>{var $t=l(),ht=ae(),Zt=Qt(),Tt=nr(),yr=$t.TypeError;Ht.exports=function(at,$r){var Jr,En;if($r==="string"&&Zt(Jr=at.toString)&&!Tt(En=ht(Jr,at))||Zt(Jr=at.valueOf)&&!Tt(En=ht(Jr,at))||$r!=="string"&&Zt(Jr=at.toString)&&!Tt(En=ht(Jr,at)))return En;throw yr("Can't convert object to primitive value")}}),gn=a((Ir,Ht)=>{Ht.exports=!1}),zt=a((Ir,Ht)=>{var $t=l(),ht=Object.defineProperty;Ht.exports=function(Zt,Tt){try{ht($t,Zt,{value:Tt,configurable:!0,writable:!0})}catch{$t[Zt]=Tt}return Tt}}),Cr=a((Ir,Ht)=>{var $t=l(),ht=zt(),Zt="__core-js_shared__",Tt=$t[Zt]||ht(Zt,{});Ht.exports=Tt}),de=a((Ir,Ht)=>{var $t=gn(),ht=Cr();(Ht.exports=function(Zt,Tt){return ht[Zt]||(ht[Zt]=Tt!==void 0?Tt:{})})("versions",[]).push({version:"3.22.2",mode:$t?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})}),lr=a((Ir,Ht)=>{var $t=l(),ht=rt(),Zt=$t.Object;Ht.exports=function(Tt){return Zt(ht(Tt))}}),Ut=a((Ir,Ht)=>{var $t=Be(),ht=lr(),Zt=$t({}.hasOwnProperty);Ht.exports=Object.hasOwn||function(Tt,yr){return Zt(ht(Tt),yr)}}),Ar=a((Ir,Ht)=>{var $t=Be(),ht=0,Zt=Math.random(),Tt=$t(1 .toString);Ht.exports=function(yr){return"Symbol("+(yr===void 0?"":yr)+")_"+Tt(++ht+Zt,36)}}),tn=a((Ir,Ht)=>{var $t=l(),ht=de(),Zt=Ut(),Tt=Ar(),yr=pr(),at=kr(),$r=ht("wks"),Jr=$t.Symbol,En=Jr&&Jr.for,vt=at?Jr:Jr&&Jr.withoutSetter||Tt;Ht.exports=function(cn){if(!Zt($r,cn)||!(yr||typeof $r[cn]=="string")){var Fn="Symbol."+cn;yr&&Zt(Jr,cn)?$r[cn]=Jr[cn]:at&&En?$r[cn]=En(Fn):$r[cn]=vt(Fn)}return $r[cn]}}),Vn=a((Ir,Ht)=>{var $t=l(),ht=ae(),Zt=nr(),Tt=Rr(),yr=Lr(),at=_r(),$r=tn(),Jr=$t.TypeError,En=$r("toPrimitive");Ht.exports=function(vt,cn){if(!Zt(vt)||Tt(vt))return vt;var Fn=yr(vt,En),Mn;if(Fn){if(cn===void 0&&(cn="default"),Mn=ht(Fn,vt,cn),!Zt(Mn)||Tt(Mn))return Mn;throw Jr("Can't convert object to primitive value")}return cn===void 0&&(cn="number"),at(vt,cn)}}),ai=a((Ir,Ht)=>{var $t=Vn(),ht=Rr();Ht.exports=function(Zt){var Tt=$t(Zt,"string");return ht(Tt)?Tt:Tt+""}}),ui=a((Ir,Ht)=>{var $t=l(),ht=nr(),Zt=$t.document,Tt=ht(Zt)&&ht(Zt.createElement);Ht.exports=function(yr){return Tt?Zt.createElement(yr):{}}}),On=a((Ir,Ht)=>{var $t=F(),ht=f(),Zt=ui();Ht.exports=!$t&&!ht(function(){return Object.defineProperty(Zt("div"),"a",{get:function(){return 7}}).a!=7})}),li=a(Ir=>{var Ht=F(),$t=ae(),ht=ue(),Zt=Ae(),Tt=bt(),yr=ai(),at=Ut(),$r=On(),Jr=Object.getOwnPropertyDescriptor;Ir.f=Ht?Jr:function(En,vt){if(En=Tt(En),vt=yr(vt),$r)try{return Jr(En,vt)}catch{}if(at(En,vt))return Zt(!$t(ht.f,En,vt),En[vt])}}),Gt=a((Ir,Ht)=>{var $t=F(),ht=f();Ht.exports=$t&&ht(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),ar=a((Ir,Ht)=>{var $t=l(),ht=nr(),Zt=$t.String,Tt=$t.TypeError;Ht.exports=function(yr){if(ht(yr))return yr;throw Tt(Zt(yr)+" is not an object")}}),Pt=a(Ir=>{var Ht=l(),$t=F(),ht=On(),Zt=Gt(),Tt=ar(),yr=ai(),at=Ht.TypeError,$r=Object.defineProperty,Jr=Object.getOwnPropertyDescriptor,En="enumerable",vt="configurable",cn="writable";Ir.f=$t?Zt?function(Fn,Mn,Bn){if(Tt(Fn),Mn=yr(Mn),Tt(Bn),typeof Fn=="function"&&Mn==="prototype"&&"value"in Bn&&cn in Bn&&!Bn[cn]){var Qn=Jr(Fn,Mn);Qn&&Qn[cn]&&(Fn[Mn]=Bn.value,Bn={configurable:vt in Bn?Bn[vt]:Qn[vt],enumerable:En in Bn?Bn[En]:Qn[En],writable:!1})}return $r(Fn,Mn,Bn)}:$r:function(Fn,Mn,Bn){if(Tt(Fn),Mn=yr(Mn),Tt(Bn),ht)try{return $r(Fn,Mn,Bn)}catch{}if("get"in Bn||"set"in Bn)throw at("Accessors not supported");return"value"in Bn&&(Fn[Mn]=Bn.value),Fn}}),Dr=a((Ir,Ht)=>{var $t=F(),ht=Pt(),Zt=Ae();Ht.exports=$t?function(Tt,yr,at){return ht.f(Tt,yr,Zt(1,at))}:function(Tt,yr,at){return Tt[yr]=at,Tt}}),rn=a((Ir,Ht)=>{var $t=Be(),ht=Qt(),Zt=Cr(),Tt=$t(Function.toString);ht(Zt.inspectSource)||(Zt.inspectSource=function(yr){return Tt(yr)}),Ht.exports=Zt.inspectSource}),Hr=a((Ir,Ht)=>{var $t=l(),ht=Qt(),Zt=rn(),Tt=$t.WeakMap;Ht.exports=ht(Tt)&&/native code/.test(Zt(Tt))}),Or=a((Ir,Ht)=>{var $t=de(),ht=Ar(),Zt=$t("keys");Ht.exports=function(Tt){return Zt[Tt]||(Zt[Tt]=ht(Tt))}}),Zr=a((Ir,Ht)=>{Ht.exports={}}),Ue=a((Ir,Ht)=>{var $t=Hr(),ht=l(),Zt=Be(),Tt=nr(),yr=Dr(),at=Ut(),$r=Cr(),Jr=Or(),En=Zr(),vt="Object already initialized",cn=ht.TypeError,Fn=ht.WeakMap,Mn,Bn,Qn,pi=function(Xt){return Qn(Xt)?Bn(Xt):Mn(Xt,{})},fr=function(Xt){return function(sr){var hr;if(!Tt(sr)||(hr=Bn(sr)).type!==Xt)throw cn("Incompatible receiver, "+Xt+" required");return hr}};$t||$r.state?(ft=$r.state||($r.state=new Fn),ot=Zt(ft.get),xt=Zt(ft.has),Ot=Zt(ft.set),Mn=function(Xt,sr){if(xt(ft,Xt))throw new cn(vt);return sr.facade=Xt,Ot(ft,Xt,sr),sr},Bn=function(Xt){return ot(ft,Xt)||{}},Qn=function(Xt){return xt(ft,Xt)}):(Nt=Jr("state"),En[Nt]=!0,Mn=function(Xt,sr){if(at(Xt,Nt))throw new cn(vt);return sr.facade=Xt,yr(Xt,Nt,sr),sr},Bn=function(Xt){return at(Xt,Nt)?Xt[Nt]:{}},Qn=function(Xt){return at(Xt,Nt)});var ft,ot,xt,Ot,Nt;Ht.exports={set:Mn,get:Bn,has:Qn,enforce:pi,getterFor:fr}}),nt=a((Ir,Ht)=>{var $t=F(),ht=Ut(),Zt=Function.prototype,Tt=$t&&Object.getOwnPropertyDescriptor,yr=ht(Zt,"name"),at=yr&&function(){}.name==="something",$r=yr&&(!$t||$t&&Tt(Zt,"name").configurable);Ht.exports={EXISTS:yr,PROPER:at,CONFIGURABLE:$r}}),Lt=a((Ir,Ht)=>{var $t=l(),ht=Qt(),Zt=Ut(),Tt=Dr(),yr=zt(),at=rn(),$r=Ue(),Jr=nt().CONFIGURABLE,En=$r.get,vt=$r.enforce,cn=String(String).split("String");(Ht.exports=function(Fn,Mn,Bn,Qn){var pi=Qn?!!Qn.unsafe:!1,fr=Qn?!!Qn.enumerable:!1,ft=Qn?!!Qn.noTargetGet:!1,ot=Qn&&Qn.name!==void 0?Qn.name:Mn,xt;if(ht(Bn)&&(String(ot).slice(0,7)==="Symbol("&&(ot="["+String(ot).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Zt(Bn,"name")||Jr&&Bn.name!==ot)&&Tt(Bn,"name",ot),xt=vt(Bn),xt.source||(xt.source=cn.join(typeof ot=="string"?ot:""))),Fn===$t){fr?Fn[Mn]=Bn:yr(Mn,Bn);return}else pi?!ft&&Fn[Mn]&&(fr=!0):delete Fn[Mn];fr?Fn[Mn]=Bn:Tt(Fn,Mn,Bn)})(Function.prototype,"toString",function(){return ht(this)&&En(this).source||at(this)})}),kt=a((Ir,Ht)=>{var $t=Math.ceil,ht=Math.floor;Ht.exports=function(Zt){var Tt=+Zt;return Tt!==Tt||Tt===0?0:(Tt>0?ht:$t)(Tt)}}),or=a((Ir,Ht)=>{var $t=kt(),ht=Math.max,Zt=Math.min;Ht.exports=function(Tt,yr){var at=$t(Tt);return at<0?ht(at+yr,0):Zt(at,yr)}}),gr=a((Ir,Ht)=>{var $t=kt(),ht=Math.min;Ht.exports=function(Zt){return Zt>0?ht($t(Zt),9007199254740991):0}}),Er=a((Ir,Ht)=>{var $t=gr();Ht.exports=function(ht){return $t(ht.length)}}),Sr=a((Ir,Ht)=>{var $t=bt(),ht=or(),Zt=Er(),Tt=function(yr){return function(at,$r,Jr){var En=$t(at),vt=Zt(En),cn=ht(Jr,vt),Fn;if(yr&&$r!=$r){for(;vt>cn;)if(Fn=En[cn++],Fn!=Fn)return!0}else for(;vt>cn;cn++)if((yr||cn in En)&&En[cn]===$r)return yr||cn||0;return!yr&&-1}};Ht.exports={includes:Tt(!0),indexOf:Tt(!1)}}),dr=a((Ir,Ht)=>{var $t=Be(),ht=Ut(),Zt=bt(),Tt=Sr().indexOf,yr=Zr(),at=$t([].push);Ht.exports=function($r,Jr){var En=Zt($r),vt=0,cn=[],Fn;for(Fn in En)!ht(yr,Fn)&&ht(En,Fn)&&at(cn,Fn);for(;Jr.length>vt;)ht(En,Fn=Jr[vt++])&&(~Tt(cn,Fn)||at(cn,Fn));return cn}}),We=a((Ir,Ht)=>{Ht.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Rt=a(Ir=>{var Ht=dr(),$t=We(),ht=$t.concat("length","prototype");Ir.f=Object.getOwnPropertyNames||function(Zt){return Ht(Zt,ht)}}),it=a(Ir=>{Ir.f=Object.getOwnPropertySymbols}),Br=a((Ir,Ht)=>{var $t=et(),ht=Be(),Zt=Rt(),Tt=it(),yr=ar(),at=ht([].concat);Ht.exports=$t("Reflect","ownKeys")||function($r){var Jr=Zt.f(yr($r)),En=Tt.f;return En?at(Jr,En($r)):Jr}}),ln=a((Ir,Ht)=>{var $t=Ut(),ht=Br(),Zt=li(),Tt=Pt();Ht.exports=function(yr,at,$r){for(var Jr=ht(at),En=Tt.f,vt=Zt.f,cn=0;cn<Jr.length;cn++){var Fn=Jr[cn];!$t(yr,Fn)&&!($r&&$t($r,Fn))&&En(yr,Fn,vt(at,Fn))}}}),zn=a((Ir,Ht)=>{var $t=f(),ht=Qt(),Zt=/#|\.prototype\./,Tt=function(En,vt){var cn=at[yr(En)];return cn==Jr?!0:cn==$r?!1:ht(vt)?$t(vt):!!vt},yr=Tt.normalize=function(En){return String(En).replace(Zt,".").toLowerCase()},at=Tt.data={},$r=Tt.NATIVE="N",Jr=Tt.POLYFILL="P";Ht.exports=Tt}),Jn=a((Ir,Ht)=>{var $t=l(),ht=li().f,Zt=Dr(),Tt=Lt(),yr=zt(),at=ln(),$r=zn();Ht.exports=function(Jr,En){var vt=Jr.target,cn=Jr.global,Fn=Jr.stat,Mn,Bn,Qn,pi,fr,ft;if(cn?Bn=$t:Fn?Bn=$t[vt]||yr(vt,{}):Bn=($t[vt]||{}).prototype,Bn)for(Qn in En){if(fr=En[Qn],Jr.noTargetGet?(ft=ht(Bn,Qn),pi=ft&&ft.value):pi=Bn[Qn],Mn=$r(cn?Qn:vt+(Fn?".":"#")+Qn,Jr.forced),!Mn&&pi!==void 0){if(typeof fr==typeof pi)continue;at(fr,pi)}(Jr.sham||pi&&pi.sham)&&Zt(fr,"sham",!0),Tt(Bn,Qn,fr,Jr)}}}),Gn=a(()=>{var Ir=Jn(),Ht=l();Ir({global:!0},{globalThis:Ht})}),kn=a(()=>{Gn()}),di=a((Ir,Ht)=>{kn();var $t=Object.defineProperty,ht=Object.getOwnPropertyDescriptor,Zt=Object.getOwnPropertyNames,Tt=Object.prototype.hasOwnProperty,yr=(v,te)=>function(){return v&&(te=(0,v[Zt(v)[0]])(v=0)),te},at=(v,te)=>function(){return te||(0,v[Zt(v)[0]])((te={exports:{}}).exports,te),te.exports},$r=(v,te)=>{for(var G in te)$t(v,G,{get:te[G],enumerable:!0})},Jr=(v,te,G,q)=>{if(te&&typeof te=="object"||typeof te=="function")for(let Z of Zt(te))!Tt.call(v,Z)&&Z!==G&&$t(v,Z,{get:()=>te[Z],enumerable:!(q=ht(te,Z))||q.enumerable});return v},En=v=>Jr($t({},"__esModule",{value:!0}),v),vt=yr({"<define:process>"(){}}),cn=at({"src/common/parser-create-error.js"(v,te){vt();function G(q,Z){let pe=new SyntaxError(q+" ("+Z.start.line+":"+Z.start.column+")");return pe.loc=Z,pe}te.exports=G}}),Fn=at({"src/utils/get-last.js"(v,te){vt();var G=q=>q[q.length-1];te.exports=G}}),Mn=at({"src/utils/front-matter/parse.js"(v,te){vt();var G=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function q(Z){let pe=Z.match(G);if(!pe)return{content:Z};let{startDelimiter:fe,language:be,value:le="",endDelimiter:ge}=pe.groups,E=be.trim()||"yaml";if(fe==="+++"&&(E="toml"),E!=="yaml"&&fe!==ge)return{content:Z};let[g]=pe;return{frontMatter:{type:"front-matter",lang:E,value:le,startDelimiter:fe,endDelimiter:ge,raw:g.replace(/\n$/,"")},content:g.replace(/[^\n]/g," ")+Z.slice(g.length)}}te.exports=q}}),Bn={};$r(Bn,{EOL:()=>mn,arch:()=>Fr,cpus:()=>Ot,default:()=>Gr,endianness:()=>Qn,freemem:()=>ot,getNetworkInterfaces:()=>hr,hostname:()=>pi,loadavg:()=>fr,networkInterfaces:()=>sr,platform:()=>Mr,release:()=>Xt,tmpDir:()=>Vr,tmpdir:()=>Qr,totalmem:()=>xt,type:()=>Nt,uptime:()=>ft});function Qn(){if(typeof Kr>"u"){var v=new ArrayBuffer(2),te=new Uint8Array(v),G=new Uint16Array(v);if(te[0]=1,te[1]=2,G[0]===258)Kr="BE";else if(G[0]===513)Kr="LE";else throw new Error("unable to figure out endianess")}return Kr}function pi(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function fr(){return[]}function ft(){return 0}function ot(){return Number.MAX_VALUE}function xt(){return Number.MAX_VALUE}function Ot(){return[]}function Nt(){return"Browser"}function Xt(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function sr(){}function hr(){}function Fr(){return"javascript"}function Mr(){return"browser"}function Vr(){return"/tmp"}var Kr,Qr,mn,Gr,fn=yr({"node-modules-polyfills:os"(){vt(),Qr=Vr,mn=`
|
|
140
|
+
`,Gr={EOL:mn,tmpdir:Qr,tmpDir:Vr,networkInterfaces:sr,getNetworkInterfaces:hr,release:Xt,type:Nt,cpus:Ot,totalmem:xt,freemem:ot,uptime:ft,loadavg:fr,hostname:pi,endianness:Qn}}}),Zn=at({"node-modules-polyfills-commonjs:os"(v,te){vt();var G=(fn(),En(Bn));if(G&&G.default){te.exports=G.default;for(let q in G)te.exports[q]=G[q]}else G&&(te.exports=G)}}),ii=at({"node_modules/detect-newline/index.js"(v,te){vt();var G=q=>{if(typeof q!="string")throw new TypeError("Expected a string");let Z=q.match(/(?:\r?\n)/g)||[];if(Z.length===0)return;let pe=Z.filter(be=>be===`\r
|
|
141
|
+
`).length,fe=Z.length-pe;return pe>fe?`\r
|
|
142
|
+
`:`
|
|
143
|
+
`};te.exports=G,te.exports.graceful=q=>typeof q=="string"&&G(q)||`
|
|
144
|
+
`}}),ci=at({"node_modules/jest-docblock/build/index.js"(v){vt(),Object.defineProperty(v,"__esModule",{value:!0}),v.extract=U,v.parse=me,v.parseWithComments=je,v.print=_e,v.strip=xe;function te(){let Ke=Zn();return te=function(){return Ke},Ke}function G(){let Ke=q(ii());return G=function(){return Ke},Ke}function q(Ke){return Ke&&Ke.__esModule?Ke:{default:Ke}}var Z=/\*\/$/,pe=/^\/\*\*/,fe=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,be=/(^|\s+)\/\/([^\r\n]*)/g,le=/^(\r?\n)+/,ge=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,E=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,g=/(\r?\n|^) *\* ?/g,Q=[];function U(Ke){let Ye=Ke.match(fe);return Ye?Ye[0].trimLeft():""}function xe(Ke){let Ye=Ke.match(fe);return Ye&&Ye[0]?Ke.substring(Ye[0].length):Ke}function me(Ke){return je(Ke).pragmas}function je(Ke){let Ye=(0,G().default)(Ke)||te().EOL;Ke=Ke.replace(pe,"").replace(Z,"").replace(g,"$1");let ct="";for(;ct!==Ke;)ct=Ke,Ke=Ke.replace(ge,"".concat(Ye,"$1 $2").concat(Ye));Ke=Ke.replace(le,"").trimRight();let cr=Object.create(null),Nr=Ke.replace(E,"").replace(le,"").trimRight(),jr;for(;jr=E.exec(Ke);){let an=jr[2].replace(be,"");typeof cr[jr[1]]=="string"||Array.isArray(cr[jr[1]])?cr[jr[1]]=Q.concat(cr[jr[1]],an):cr[jr[1]]=an}return{comments:Nr,pragmas:cr}}function _e(Ke){let{comments:Ye="",pragmas:ct={}}=Ke,cr=(0,G().default)(Ye)||te().EOL,Nr="/**",jr=" *",an=" */",sn=Object.keys(ct),xn=sn.map(un=>Ce(un,ct[un])).reduce((un,mr)=>un.concat(mr),[]).map(un=>jr+" "+un+cr).join("");if(!Ye){if(sn.length===0)return"";if(sn.length===1&&!Array.isArray(ct[sn[0]])){let un=ct[sn[0]];return"".concat(Nr," ").concat(Ce(sn[0],un)[0]).concat(an)}}let en=Ye.split(cr).map(un=>"".concat(jr," ").concat(un)).join(cr)+cr;return Nr+cr+(Ye?en:"")+(Ye&&sn.length?jr+cr:"")+xn+an}function Ce(Ke,Ye){return Q.concat(Ye).map(ct=>"@".concat(Ke," ").concat(ct).trim())}}}),Tn=at({"src/common/end-of-line.js"(v,te){vt();function G(fe){let be=fe.indexOf("\r");return be>=0?fe.charAt(be+1)===`
|
|
145
|
+
`?"crlf":"cr":"lf"}function q(fe){switch(fe){case"cr":return"\r";case"crlf":return`\r
|
|
146
|
+
`;default:return`
|
|
147
|
+
`}}function Z(fe,be){let le;switch(be){case`
|
|
148
|
+
`:le=/\n/g;break;case"\r":le=/\r/g;break;case`\r
|
|
149
|
+
`:le=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(be),"."))}let ge=fe.match(le);return ge?ge.length:0}function pe(fe){return fe.replace(/\r\n?/g,`
|
|
150
|
+
`)}te.exports={guessEndOfLine:G,convertEndOfLineToChars:q,countEndOfLineChars:Z,normalizeEndOfLine:pe}}}),Oe=at({"src/language-js/utils/get-shebang.js"(v,te){vt();function G(q){if(!q.startsWith("#!"))return"";let Z=q.indexOf(`
|
|
151
|
+
`);return Z===-1?q:q.slice(0,Z)}te.exports=G}}),Bi=at({"src/language-js/pragma.js"(v,te){vt();var{parseWithComments:G,strip:q,extract:Z,print:pe}=ci(),{normalizeEndOfLine:fe}=Tn(),be=Oe();function le(g){let Q=be(g);Q&&(g=g.slice(Q.length+1));let U=Z(g),{pragmas:xe,comments:me}=G(U);return{shebang:Q,text:g,pragmas:xe,comments:me}}function ge(g){let Q=Object.keys(le(g).pragmas);return Q.includes("prettier")||Q.includes("format")}function E(g){let{shebang:Q,text:U,pragmas:xe,comments:me}=le(g),je=q(U),_e=pe({pragmas:Object.assign({format:""},xe),comments:me.trimStart()});return(Q?"".concat(Q,`
|
|
152
|
+
`):"")+fe(_e)+(je.startsWith(`
|
|
153
|
+
`)?`
|
|
154
|
+
`:`
|
|
155
|
+
|
|
156
|
+
`)+je}te.exports={hasPragma:ge,insertPragma:E}}}),Si=at({"src/language-css/pragma.js"(v,te){vt();var G=Bi(),q=Mn();function Z(fe){return G.hasPragma(q(fe).content)}function pe(fe){let{frontMatter:be,content:le}=q(fe);return(be?be.raw+`
|
|
157
|
+
|
|
158
|
+
`:"")+G.insertPragma(le)}te.exports={hasPragma:Z,insertPragma:pe}}}),Ln=at({"src/utils/text/skip.js"(v,te){vt();function G(be){return(le,ge,E)=>{let g=E&&E.backwards;if(ge===!1)return!1;let{length:Q}=le,U=ge;for(;U>=0&&U<Q;){let xe=le.charAt(U);if(be instanceof RegExp){if(!be.test(xe))return U}else if(!be.includes(xe))return U;g?U--:U++}return U===-1||U===Q?U:!1}}var q=G(/\s/),Z=G(" "),pe=G(",; "),fe=G(/[^\n\r]/);te.exports={skipWhitespace:q,skipSpaces:Z,skipToLineEnd:pe,skipEverythingButNewLine:fe}}}),yn=at({"src/utils/line-column-to-index.js"(v,te){vt(),te.exports=function(G,q){let Z=0;for(let pe=0;pe<G.line-1;++pe)Z=q.indexOf(`
|
|
159
|
+
`,Z)+1;return Z+G.column}}}),Pi=at({"src/language-css/loc.js"(v,te){vt();var{skipEverythingButNewLine:G}=Ln(),q=Fn(),Z=yn();function pe(U,xe){return typeof U.sourceIndex=="number"?U.sourceIndex:U.source?Z(U.source.start,xe)-1:null}function fe(U,xe){if(U.type==="css-comment"&&U.inline)return G(xe,U.source.startOffset);let me=U.nodes&&q(U.nodes);return me&&U.source&&!U.source.end&&(U=me),U.source&&U.source.end?Z(U.source.end,xe):null}function be(U,xe){U.source&&(U.source.startOffset=pe(U,xe),U.source.endOffset=fe(U,xe));for(let me in U){let je=U[me];me==="source"||!je||typeof je!="object"||(je.type==="value-root"||je.type==="value-unknown"?le(je,ge(U),je.text||je.value):be(je,xe))}}function le(U,xe,me){U.source&&(U.source.startOffset=pe(U,me)+xe,U.source.endOffset=fe(U,me)+xe);for(let je in U){let _e=U[je];je==="source"||!_e||typeof _e!="object"||le(_e,xe,me)}}function ge(U){let xe=U.source.startOffset;return typeof U.prop=="string"&&(xe+=U.prop.length),U.type==="css-atrule"&&typeof U.name=="string"&&(xe+=1+U.name.length+U.raws.afterName.match(/^\s*:?\s*/)[0].length),U.type!=="css-atrule"&&U.raws&&typeof U.raws.between=="string"&&(xe+=U.raws.between.length),xe}function E(U){let xe="initial",me="initial",je,_e=!1,Ce=[];for(let Ke=0;Ke<U.length;Ke++){let Ye=U[Ke];switch(xe){case"initial":if(Ye==="'"){xe="single-quotes";continue}if(Ye==='"'){xe="double-quotes";continue}if((Ye==="u"||Ye==="U")&&U.slice(Ke,Ke+4).toLowerCase()==="url("){xe="url",Ke+=3;continue}if(Ye==="*"&&U[Ke-1]==="/"){xe="comment-block";continue}if(Ye==="/"&&U[Ke-1]==="/"){xe="comment-inline",je=Ke-1;continue}continue;case"single-quotes":if(Ye==="'"&&U[Ke-1]!=="\\"&&(xe=me,me="initial"),Ye===`
|
|
160
|
+
`||Ye==="\r")return U;continue;case"double-quotes":if(Ye==='"'&&U[Ke-1]!=="\\"&&(xe=me,me="initial"),Ye===`
|
|
161
|
+
`||Ye==="\r")return U;continue;case"url":if(Ye===")"&&(xe="initial"),Ye===`
|
|
162
|
+
`||Ye==="\r")return U;if(Ye==="'"){xe="single-quotes",me="url";continue}if(Ye==='"'){xe="double-quotes",me="url";continue}continue;case"comment-block":Ye==="/"&&U[Ke-1]==="*"&&(xe="initial");continue;case"comment-inline":(Ye==='"'||Ye==="'"||Ye==="*")&&(_e=!0),(Ye===`
|
|
163
|
+
`||Ye==="\r")&&(_e&&Ce.push([je,Ke]),xe="initial",_e=!1);continue}}for(let[Ke,Ye]of Ce)U=U.slice(0,Ke)+U.slice(Ke,Ye).replace(/["'*]/g," ")+U.slice(Ye);return U}function g(U){return U.source.startOffset}function Q(U){return U.source.endOffset}te.exports={locStart:g,locEnd:Q,calculateLoc:be,replaceQuotesInInlineComments:E}}}),yo=at({"src/utils/is-non-empty-array.js"(v,te){vt();function G(q){return Array.isArray(q)&&q.length>0}te.exports=G}}),xi=at({"src/language-css/utils/has-scss-interpolation.js"(v,te){vt();var G=yo();function q(Z){if(G(Z)){for(let pe=Z.length-1;pe>0;pe--)if(Z[pe].type==="word"&&Z[pe].value==="{"&&Z[pe-1].type==="word"&&Z[pe-1].value.endsWith("#"))return!0}return!1}te.exports=q}}),b=at({"src/language-css/utils/has-string-or-function.js"(v,te){vt();function G(q){return q.some(Z=>Z.type==="string"||Z.type==="func")}te.exports=G}}),Pe=at({"src/language-css/utils/is-less-parser.js"(v,te){vt();function G(q){return q.parser==="css"||q.parser==="less"}te.exports=G}}),tr=at({"src/language-css/utils/is-scss.js"(v,te){vt();function G(q,Z){return q==="less"||q==="scss"?q==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(Z)}te.exports=G}}),br=at({"src/language-css/utils/is-scss-nested-property-node.js"(v,te){vt();function G(q){return q.selector?q.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":"):!1}te.exports=G}}),nn=at({"src/language-css/utils/is-scss-variable.js"(v,te){vt();function G(q){return Boolean((q==null?void 0:q.type)==="word"&&q.value.startsWith("$"))}te.exports=G}}),$n=at({"src/language-css/utils/stringify-node.js"(v,te){vt();function G(q){var Z,pe,fe;if(q.groups){var be,le,ge;let _e=((be=q.open)===null||be===void 0?void 0:be.value)||"",Ce=q.groups.map(Ye=>G(Ye)).join(((le=q.groups[0])===null||le===void 0?void 0:le.type)==="comma_group"?",":""),Ke=((ge=q.close)===null||ge===void 0?void 0:ge.value)||"";return _e+Ce+Ke}let E=((Z=q.raws)===null||Z===void 0?void 0:Z.before)||"",g=((pe=q.raws)===null||pe===void 0?void 0:pe.quote)||"",Q=q.type==="atword"?"@":"",U=q.value||"",xe=q.unit||"",me=q.group?G(q.group):"",je=((fe=q.raws)===null||fe===void 0?void 0:fe.after)||"";return E+g+Q+U+g+xe+me+je}te.exports=G}}),Rn=at({"src/language-css/utils/is-module-rule-name.js"(v,te){vt();var G=new Set(["import","use","forward"]);function q(Z){return G.has(Z)}te.exports=q}}),qr=at({"node_modules/postcss-values-parser/lib/node.js"(v,te){vt();var G=function(q,Z){let pe=new q.constructor;for(let fe in q){if(!q.hasOwnProperty(fe))continue;let be=q[fe],le=typeof be;fe==="parent"&&le==="object"?Z&&(pe[fe]=Z):fe==="source"?pe[fe]=be:be instanceof Array?pe[fe]=be.map(ge=>G(ge,pe)):fe!=="before"&&fe!=="after"&&fe!=="between"&&fe!=="semicolon"&&(le==="object"&&be!==null&&(be=G(be)),pe[fe]=be)}return pe};te.exports=class{constructor(q){q=q||{},this.raws={before:"",after:""};for(let Z in q)this[Z]=q[Z]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(q){q=q||{};let Z=G(this);for(let pe in q)Z[pe]=q[pe];return Z}cloneBefore(q){q=q||{};let Z=this.clone(q);return this.parent.insertBefore(this,Z),Z}cloneAfter(q){q=q||{};let Z=this.clone(q);return this.parent.insertAfter(this,Z),Z}replaceWith(){let q=Array.prototype.slice.call(arguments);if(this.parent){for(let Z of q)this.parent.insertBefore(this,Z);this.remove()}return this}moveTo(q){return this.cleanRaws(this.root()===q.root()),this.remove(),q.append(this),this}moveBefore(q){return this.cleanRaws(this.root()===q.root()),this.remove(),q.parent.insertBefore(q,this),this}moveAfter(q){return this.cleanRaws(this.root()===q.root()),this.remove(),q.parent.insertAfter(q,this),this}next(){let q=this.parent.index(this);return this.parent.nodes[q+1]}prev(){let q=this.parent.index(this);return this.parent.nodes[q-1]}toJSON(){let q={};for(let Z in this){if(!this.hasOwnProperty(Z)||Z==="parent")continue;let pe=this[Z];pe instanceof Array?q[Z]=pe.map(fe=>typeof fe=="object"&&fe.toJSON?fe.toJSON():fe):typeof pe=="object"&&pe.toJSON?q[Z]=pe.toJSON():q[Z]=pe}return q}root(){let q=this;for(;q.parent;)q=q.parent;return q}cleanRaws(q){delete this.raws.before,delete this.raws.after,q||delete this.raws.between}positionInside(q){let Z=this.toString(),pe=this.source.start.column,fe=this.source.start.line;for(let be=0;be<q;be++)Z[be]===`
|
|
164
|
+
`?(pe=1,fe+=1):pe+=1;return{line:fe,column:pe}}positionBy(q){let Z=this.source.start;if(Object(q).index)Z=this.positionInside(q.index);else if(Object(q).word){let pe=this.toString().indexOf(q.word);pe!==-1&&(Z=this.positionInside(pe))}return Z}}}}),hi=at({"node_modules/postcss-values-parser/lib/container.js"(v,te){vt();var G=qr(),q=class extends G{constructor(Z){super(Z),this.nodes||(this.nodes=[])}push(Z){return Z.parent=this,this.nodes.push(Z),this}each(Z){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let pe=this.lastEach,fe,be;if(this.indexes[pe]=0,!!this.nodes){for(;this.indexes[pe]<this.nodes.length&&(fe=this.indexes[pe],be=Z(this.nodes[fe],fe),be!==!1);)this.indexes[pe]+=1;return delete this.indexes[pe],be}}walk(Z){return this.each((pe,fe)=>{let be=Z(pe,fe);return be!==!1&&pe.walk&&(be=pe.walk(Z)),be})}walkType(Z,pe){if(!Z||!pe)throw new Error("Parameters {type} and {callback} are required.");let fe=typeof Z=="function";return this.walk((be,le)=>{if(fe&&be instanceof Z||!fe&&be.type===Z)return pe.call(this,be,le)})}append(Z){return Z.parent=this,this.nodes.push(Z),this}prepend(Z){return Z.parent=this,this.nodes.unshift(Z),this}cleanRaws(Z){if(super.cleanRaws(Z),this.nodes)for(let pe of this.nodes)pe.cleanRaws(Z)}insertAfter(Z,pe){let fe=this.index(Z),be;this.nodes.splice(fe+1,0,pe);for(let le in this.indexes)be=this.indexes[le],fe<=be&&(this.indexes[le]=be+this.nodes.length);return this}insertBefore(Z,pe){let fe=this.index(Z),be;this.nodes.splice(fe,0,pe);for(let le in this.indexes)be=this.indexes[le],fe<=be&&(this.indexes[le]=be+this.nodes.length);return this}removeChild(Z){Z=this.index(Z),this.nodes[Z].parent=void 0,this.nodes.splice(Z,1);let pe;for(let fe in this.indexes)pe=this.indexes[fe],pe>=Z&&(this.indexes[fe]=pe-1);return this}removeAll(){for(let Z of this.nodes)Z.parent=void 0;return this.nodes=[],this}every(Z){return this.nodes.every(Z)}some(Z){return this.nodes.some(Z)}index(Z){return typeof Z=="number"?Z:this.nodes.indexOf(Z)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let Z=this.nodes.map(String).join("");return this.value&&(Z=this.value+Z),this.raws.before&&(Z=this.raws.before+Z),this.raws.after&&(Z+=this.raws.after),Z}};q.registerWalker=Z=>{let pe="walk"+Z.name;pe.lastIndexOf("s")!==pe.length-1&&(pe+="s"),!q.prototype[pe]&&(q.prototype[pe]=function(fe){return this.walkType(Z,fe)})},te.exports=q}}),_a=at({"node_modules/postcss-values-parser/lib/root.js"(v,te){vt();var G=hi();te.exports=class extends G{constructor(q){super(q),this.type="root"}}}}),ea=at({"node_modules/postcss-values-parser/lib/value.js"(v,te){vt();var G=hi();te.exports=class extends G{constructor(q){super(q),this.type="value",this.unbalanced=0}}}}),vo=at({"node_modules/postcss-values-parser/lib/atword.js"(v,te){vt();var G=hi(),q=class extends G{constructor(Z){super(Z),this.type="atword"}toString(){return this.quoted&&this.raws.quote,[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};G.registerWalker(q),te.exports=q}}),Du=at({"node_modules/postcss-values-parser/lib/colon.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{constructor(pe){super(pe),this.type="colon"}};G.registerWalker(Z),te.exports=Z}}),bu=at({"node_modules/postcss-values-parser/lib/comma.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{constructor(pe){super(pe),this.type="comma"}};G.registerWalker(Z),te.exports=Z}}),ms=at({"node_modules/postcss-values-parser/lib/comment.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{constructor(pe){super(pe),this.type="comment",this.inline=Object(pe).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};G.registerWalker(Z),te.exports=Z}}),Na=at({"node_modules/postcss-values-parser/lib/function.js"(v,te){vt();var G=hi(),q=class extends G{constructor(Z){super(Z),this.type="func",this.unbalanced=-1}};G.registerWalker(q),te.exports=q}}),Ba=at({"node_modules/postcss-values-parser/lib/number.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{constructor(pe){super(pe),this.type="number",this.unit=Object(pe).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};G.registerWalker(Z),te.exports=Z}}),Pa=at({"node_modules/postcss-values-parser/lib/operator.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{constructor(pe){super(pe),this.type="operator"}};G.registerWalker(Z),te.exports=Z}}),Oa=at({"node_modules/postcss-values-parser/lib/paren.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{constructor(pe){super(pe),this.type="paren",this.parenType=""}};G.registerWalker(Z),te.exports=Z}}),ta=at({"node_modules/postcss-values-parser/lib/string.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{constructor(pe){super(pe),this.type="string"}toString(){let pe=this.quoted?this.raws.quote:"";return[this.raws.before,pe,this.value+"",pe,this.raws.after].join("")}};G.registerWalker(Z),te.exports=Z}}),xu=at({"node_modules/postcss-values-parser/lib/word.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{constructor(pe){super(pe),this.type="word"}};G.registerWalker(Z),te.exports=Z}}),Cu=at({"node_modules/postcss-values-parser/lib/unicode-range.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{constructor(pe){super(pe),this.type="unicode-range"}};G.registerWalker(Z),te.exports=Z}});function bn(){throw new Error("setTimeout has not been defined")}function Eu(){throw new Error("clearTimeout has not been defined")}function wu(v){if(No===setTimeout)return setTimeout(v,0);if((No===bn||!No)&&setTimeout)return No=setTimeout,setTimeout(v,0);try{return No(v,0)}catch{try{return No.call(null,v,0)}catch{return No.call(this,v,0)}}}function Vo(v){if(fo===clearTimeout)return clearTimeout(v);if((fo===Eu||!fo)&&clearTimeout)return fo=clearTimeout,clearTimeout(v);try{return fo(v)}catch{try{return fo.call(null,v)}catch{return fo.call(this,v)}}}function Dl(){!oo||!Bo||(oo=!1,Bo.length?Gi=Bo.concat(Gi):vs=-1,Gi.length&&Au())}function Au(){if(!oo){var v=wu(Dl);oo=!0;for(var te=Gi.length;te;){for(Bo=Gi,Gi=[];++vs<te;)Bo&&Bo[vs].run();vs=-1,te=Gi.length}Bo=null,oo=!1,Vo(v)}}function ja(v){var te=new Array(arguments.length-1);if(arguments.length>1)for(var G=1;G<arguments.length;G++)te[G-1]=arguments[G];Gi.push(new Ms(v,te)),Gi.length===1&&!oo&&wu(Au)}function Ms(v,te){this.fun=v,this.array=te}function ys(){}function cc(v){throw new Error("process.binding is not supported")}function Su(){return"/"}function pc(v){throw new Error("process.chdir is not supported")}function Fu(){return 0}function bl(v){var te=za.call(qo)*.001,G=Math.floor(te),q=Math.floor(te%1*1e9);return v&&(G=G-v[0],q=q-v[1],q<0&&(G--,q+=1e9)),[G,q]}function fc(){var v=new Date,te=v-ku;return te/1e3}var No,fo,Gi,oo,Bo,vs,Ma,ra,jn,La,so,na,Ia,Ls,Ra,Po,ia,Do,Is,Rs,Zo,oa,qo,za,ku,Ha,zs,dc=yr({"node-modules-polyfills:process"(){vt(),No=bn,fo=Eu,typeof globalThis.setTimeout=="function"&&(No=setTimeout),typeof globalThis.clearTimeout=="function"&&(fo=clearTimeout),Gi=[],oo=!1,vs=-1,Ms.prototype.run=function(){this.fun.apply(null,this.array)},Ma="browser",ra="browser",jn=!0,La={},so=[],na="",Ia={},Ls={},Ra={},Po=ys,ia=ys,Do=ys,Is=ys,Rs=ys,Zo=ys,oa=ys,qo=globalThis.performance||{},za=qo.now||qo.mozNow||qo.msNow||qo.oNow||qo.webkitNow||function(){return new Date().getTime()},ku=new Date,Ha={nextTick:ja,title:Ma,browser:jn,env:La,argv:so,version:na,versions:Ia,on:Po,addListener:ia,once:Do,off:Is,removeListener:Rs,removeAllListeners:Zo,emit:oa,binding:cc,cwd:Su,chdir:pc,umask:Fu,hrtime:bl,platform:ra,release:Ls,config:Ra,uptime:fc},zs=Ha}}),Ds,bo,hc=yr({"node_modules/rollup-plugin-node-polyfills/polyfills/inherits.js"(){vt(),typeof Object.create=="function"?Ds=function(v,te){v.super_=te,v.prototype=Object.create(te.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}})}:Ds=function(v,te){v.super_=te;var G=function(){};G.prototype=te.prototype,v.prototype=new G,v.prototype.constructor=v},bo=Ds}}),Tu={};$r(Tu,{_extend:()=>Ou,debuglog:()=>sa,default:()=>Lu,deprecate:()=>$a,format:()=>Wa,inherits:()=>bo,inspect:()=>Xi,isArray:()=>Ua,isBoolean:()=>Va,isBuffer:()=>Co,isDate:()=>ao,isError:()=>ts,isFunction:()=>jo,isNull:()=>bs,isNullOrUndefined:()=>Nu,isNumber:()=>Bu,isObject:()=>Ii,isPrimitive:()=>qa,isRegExp:()=>es,isString:()=>aa,isSymbol:()=>Pu,isUndefined:()=>Yi,log:()=>Ja});function Wa(v){if(!aa(v)){for(var te=[],G=0;G<arguments.length;G++)te.push(Xi(arguments[G]));return te.join(" ")}for(var G=1,q=arguments,Z=q.length,pe=String(v).replace(Eo,function(le){if(le==="%%")return"%";if(G>=Z)return le;switch(le){case"%s":return String(q[G++]);case"%d":return Number(q[G++]);case"%j":try{return JSON.stringify(q[G++])}catch{return"[Circular]"}default:return le}}),fe=q[G];G<Z;fe=q[++G])bs(fe)||!Ii(fe)?pe+=" "+fe:pe+=" "+Xi(fe);return pe}function $a(v,te){if(Yi(globalThis.process))return function(){return $a(v,te).apply(this,arguments)};if(zs.noDeprecation===!0)return v;var G=!1;function q(){if(!G){if(zs.throwDeprecation)throw new Error(te);zs.traceDeprecation?console.trace(te):console.error(te),G=!0}return v.apply(this,arguments)}return q}function sa(v){if(Yi(ho)&&(ho=zs.env.NODE_DEBUG||""),v=v.toUpperCase(),!Mo[v])if(new RegExp("\\b"+v+"\\b","i").test(ho)){var te=0;Mo[v]=function(){var G=Wa.apply(null,arguments);console.error("%s %d: %s",v,te,G)}}else Mo[v]=function(){};return Mo[v]}function Xi(v,te){var G={seen:[],stylize:mc};return arguments.length>=3&&(G.depth=arguments[2]),arguments.length>=4&&(G.colors=arguments[3]),Va(te)?G.showHidden=te:te&&Ou(G,te),Yi(G.showHidden)&&(G.showHidden=!1),Yi(G.depth)&&(G.depth=2),Yi(G.colors)&&(G.colors=!1),Yi(G.customInspect)&&(G.customInspect=!0),G.colors&&(G.stylize=gc),Oo(G,v,G.depth)}function gc(v,te){var G=Xi.styles[te];return G?"\x1B["+Xi.colors[G][0]+"m"+v+"\x1B["+Xi.colors[G][1]+"m":v}function mc(v,te){return v}function yc(v){var te={};return v.forEach(function(G,q){te[G]=!0}),te}function Oo(v,te,G){if(v.customInspect&&te&&jo(te.inspect)&&te.inspect!==Xi&&!(te.constructor&&te.constructor.prototype===te)){var q=te.inspect(G,v);return aa(q)||(q=Oo(v,q,G)),q}var Z=Ni(v,te);if(Z)return Z;var pe=Object.keys(te),fe=yc(pe);if(v.showHidden&&(pe=Object.getOwnPropertyNames(te)),ts(te)&&(pe.indexOf("message")>=0||pe.indexOf("description")>=0))return _u(te);if(pe.length===0){if(jo(te)){var be=te.name?": "+te.name:"";return v.stylize("[Function"+be+"]","special")}if(es(te))return v.stylize(RegExp.prototype.toString.call(te),"regexp");if(ao(te))return v.stylize(Date.prototype.toString.call(te),"date");if(ts(te))return _u(te)}var le="",ge=!1,E=["{","}"];if(Ua(te)&&(ge=!0,E=["[","]"]),jo(te)){var g=te.name?": "+te.name:"";le=" [Function"+g+"]"}if(es(te)&&(le=" "+RegExp.prototype.toString.call(te)),ao(te)&&(le=" "+Date.prototype.toUTCString.call(te)),ts(te)&&(le=" "+_u(te)),pe.length===0&&(!ge||te.length==0))return E[0]+le+E[1];if(G<0)return es(te)?v.stylize(RegExp.prototype.toString.call(te),"regexp"):v.stylize("[Object]","special");v.seen.push(te);var Q;return ge?Q=xl(v,te,G,fe,pe):Q=pe.map(function(U){return xo(v,te,G,fe,U,ge)}),v.seen.pop(),vc(Q,le,E)}function Ni(v,te){if(Yi(te))return v.stylize("undefined","undefined");if(aa(te)){var G="'"+JSON.stringify(te).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return v.stylize(G,"string")}if(Bu(te))return v.stylize(""+te,"number");if(Va(te))return v.stylize(""+te,"boolean");if(bs(te))return v.stylize("null","null")}function _u(v){return"["+Error.prototype.toString.call(v)+"]"}function xl(v,te,G,q,Z){for(var pe=[],fe=0,be=te.length;fe<be;++fe)ju(te,String(fe))?pe.push(xo(v,te,G,q,String(fe),!0)):pe.push("");return Z.forEach(function(le){le.match(/^\d+$/)||pe.push(xo(v,te,G,q,le,!0))}),pe}function xo(v,te,G,q,Z,pe){var fe,be,le;if(le=Object.getOwnPropertyDescriptor(te,Z)||{value:te[Z]},le.get?le.set?be=v.stylize("[Getter/Setter]","special"):be=v.stylize("[Getter]","special"):le.set&&(be=v.stylize("[Setter]","special")),ju(q,Z)||(fe="["+Z+"]"),be||(v.seen.indexOf(le.value)<0?(bs(G)?be=Oo(v,le.value,null):be=Oo(v,le.value,G-1),be.indexOf(`
|
|
165
|
+
`)>-1&&(pe?be=be.split(`
|
|
166
|
+
`).map(function(ge){return" "+ge}).join(`
|
|
167
|
+
`).substr(2):be=`
|
|
168
|
+
`+be.split(`
|
|
169
|
+
`).map(function(ge){return" "+ge}).join(`
|
|
170
|
+
`))):be=v.stylize("[Circular]","special")),Yi(fe)){if(pe&&Z.match(/^\d+$/))return be;fe=JSON.stringify(""+Z),fe.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(fe=fe.substr(1,fe.length-2),fe=v.stylize(fe,"name")):(fe=fe.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),fe=v.stylize(fe,"string"))}return fe+": "+be}function vc(v,te,G){var q=0,Z=v.reduce(function(pe,fe){return q++,fe.indexOf(`
|
|
171
|
+
`)>=0&&q++,pe+fe.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Z>60?G[0]+(te===""?"":te+`
|
|
172
|
+
`)+" "+v.join(`,
|
|
173
|
+
`)+" "+G[1]:G[0]+te+" "+v.join(", ")+" "+G[1]}function Ua(v){return Array.isArray(v)}function Va(v){return typeof v=="boolean"}function bs(v){return v===null}function Nu(v){return v==null}function Bu(v){return typeof v=="number"}function aa(v){return typeof v=="string"}function Pu(v){return typeof v=="symbol"}function Yi(v){return v===void 0}function es(v){return Ii(v)&&Jo(v)==="[object RegExp]"}function Ii(v){return typeof v=="object"&&v!==null}function ao(v){return Ii(v)&&Jo(v)==="[object Date]"}function ts(v){return Ii(v)&&(Jo(v)==="[object Error]"||v instanceof Error)}function jo(v){return typeof v=="function"}function qa(v){return v===null||typeof v=="boolean"||typeof v=="number"||typeof v=="string"||typeof v=="symbol"||typeof v>"u"}function Co(v){return Buffer.isBuffer(v)}function Jo(v){return Object.prototype.toString.call(v)}function Hs(v){return v<10?"0"+v.toString(10):v.toString(10)}function Dc(){var v=new Date,te=[Hs(v.getHours()),Hs(v.getMinutes()),Hs(v.getSeconds())].join(":");return[v.getDate(),Mu[v.getMonth()],te].join(" ")}function Ja(){console.log("%s - %s",Dc(),Wa.apply(null,arguments))}function Ou(v,te){if(!te||!Ii(te))return v;for(var G=Object.keys(te),q=G.length;q--;)v[G[q]]=te[G[q]];return v}function ju(v,te){return Object.prototype.hasOwnProperty.call(v,te)}var Eo,Mo,ho,Mu,Lu,Iu=yr({"node-modules-polyfills:util"(){vt(),dc(),hc(),Eo=/%[sdj%]/g,Mo={},Xi.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Xi.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},Mu=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Lu={inherits:bo,_extend:Ou,log:Ja,isBuffer:Co,isPrimitive:qa,isFunction:jo,isError:ts,isDate:ao,isObject:Ii,isRegExp:es,isUndefined:Yi,isSymbol:Pu,isString:aa,isNumber:Bu,isNullOrUndefined:Nu,isNull:bs,isBoolean:Va,isArray:Ua,inspect:Xi,deprecate:$a,format:Wa,debuglog:sa}}}),bc=at({"node-modules-polyfills-commonjs:util"(v,te){vt();var G=(Iu(),En(Tu));if(G&&G.default){te.exports=G.default;for(let q in G)te.exports[q]=G[q]}else G&&(te.exports=G)}}),Cl=at({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(v,te){vt();var G=class extends Error{constructor(q){super(q),this.name=this.constructor.name,this.message=q||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(q).stack}};te.exports=G}}),El=at({"node_modules/postcss-values-parser/lib/tokenize.js"(v,te){vt();var G="{".charCodeAt(0),q="}".charCodeAt(0),Z="(".charCodeAt(0),pe=")".charCodeAt(0),fe="'".charCodeAt(0),be='"'.charCodeAt(0),le="\\".charCodeAt(0),ge="/".charCodeAt(0),E=".".charCodeAt(0),g=",".charCodeAt(0),Q=":".charCodeAt(0),U="*".charCodeAt(0),xe="-".charCodeAt(0),me="+".charCodeAt(0),je="#".charCodeAt(0),_e=`
|
|
174
|
+
`.charCodeAt(0),Ce=" ".charCodeAt(0),Ke="\f".charCodeAt(0),Ye=" ".charCodeAt(0),ct="\r".charCodeAt(0),cr="@".charCodeAt(0),Nr="e".charCodeAt(0),jr="E".charCodeAt(0),an="0".charCodeAt(0),sn="9".charCodeAt(0),xn="u".charCodeAt(0),en="U".charCodeAt(0),un=/[ \n\t\r\{\(\)'"\\;,/]/g,mr=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,Yt=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,vr=/^[a-z0-9]/i,Jt=/^[a-f0-9?\-]/i,mi=bc(),Yn=Cl();te.exports=function(ni,Un){Un=Un||{};let Pn=[],Wr=ni.valueOf(),wn=Wr.length,dn=-1,Cn=1,ut=0,jt=0,Vt=null,Tr,st,Xr,zr,ji,Fi,si,Zi,Ji,ki,eo;function Mi(wi){let Ti=mi.format("Unclosed %s at line: %d, column: %d, token: %d",wi,Cn,ut-dn,ut);throw new Yn(Ti)}for(;ut<wn;){switch(Tr=Wr.charCodeAt(ut),Tr===_e&&(dn=ut,Cn+=1),Tr){case _e:case Ce:case Ye:case ct:case Ke:st=ut;do st+=1,Tr=Wr.charCodeAt(st),Tr===_e&&(dn=st,Cn+=1);while(Tr===Ce||Tr===_e||Tr===Ye||Tr===ct||Tr===Ke);Pn.push(["space",Wr.slice(ut,st),Cn,ut-dn,Cn,st-dn,ut]),ut=st-1;break;case Q:st=ut+1,Pn.push(["colon",Wr.slice(ut,st),Cn,ut-dn,Cn,st-dn,ut]),ut=st-1;break;case g:st=ut+1,Pn.push(["comma",Wr.slice(ut,st),Cn,ut-dn,Cn,st-dn,ut]),ut=st-1;break;case G:Pn.push(["{","{",Cn,ut-dn,Cn,st-dn,ut]);break;case q:Pn.push(["}","}",Cn,ut-dn,Cn,st-dn,ut]);break;case Z:jt++,Vt=!Vt&&jt===1&&Pn.length>0&&Pn[Pn.length-1][0]==="word"&&Pn[Pn.length-1][1]==="url",Pn.push(["(","(",Cn,ut-dn,Cn,st-dn,ut]);break;case pe:jt--,Vt=Vt&&jt>0,Pn.push([")",")",Cn,ut-dn,Cn,st-dn,ut]);break;case fe:case be:Xr=Tr===fe?"'":'"',st=ut;do for(Ji=!1,st=Wr.indexOf(Xr,st+1),st===-1&&Mi("quote"),ki=st;Wr.charCodeAt(ki-1)===le;)ki-=1,Ji=!Ji;while(Ji);Pn.push(["string",Wr.slice(ut,st+1),Cn,ut-dn,Cn,st-dn,ut]),ut=st;break;case cr:un.lastIndex=ut+1,un.test(Wr),un.lastIndex===0?st=Wr.length-1:st=un.lastIndex-2,Pn.push(["atword",Wr.slice(ut,st+1),Cn,ut-dn,Cn,st-dn,ut]),ut=st;break;case le:st=ut,Tr=Wr.charCodeAt(st+1),Pn.push(["word",Wr.slice(ut,st+1),Cn,ut-dn,Cn,st-dn,ut]),ut=st;break;case me:case xe:case U:if(st=ut+1,eo=Wr.slice(ut+1,st+1),Wr.slice(ut-1,ut),Tr===xe&&eo.charCodeAt(0)===xe){st++,Pn.push(["word",Wr.slice(ut,st),Cn,ut-dn,Cn,st-dn,ut]),ut=st-1;break}Pn.push(["operator",Wr.slice(ut,st),Cn,ut-dn,Cn,st-dn,ut]),ut=st-1;break;default:if(Tr===ge&&(Wr.charCodeAt(ut+1)===U||Un.loose&&!Vt&&Wr.charCodeAt(ut+1)===ge)){if(Wr.charCodeAt(ut+1)===U)st=Wr.indexOf("*/",ut+2)+1,st===0&&Mi("comment");else{let wi=Wr.indexOf(`
|
|
175
|
+
`,ut+2);st=wi!==-1?wi-1:wn}Fi=Wr.slice(ut,st+1),zr=Fi.split(`
|
|
176
|
+
`),ji=zr.length-1,ji>0?(si=Cn+ji,Zi=st-zr[ji].length):(si=Cn,Zi=dn),Pn.push(["comment",Fi,Cn,ut-dn,si,st-Zi,ut]),dn=Zi,Cn=si,ut=st}else if(Tr===je&&!vr.test(Wr.slice(ut+1,ut+2)))st=ut+1,Pn.push(["#",Wr.slice(ut,st),Cn,ut-dn,Cn,st-dn,ut]),ut=st-1;else if((Tr===xn||Tr===en)&&Wr.charCodeAt(ut+1)===me){st=ut+2;do st+=1,Tr=Wr.charCodeAt(st);while(st<wn&&Jt.test(Wr.slice(st,st+1)));Pn.push(["unicoderange",Wr.slice(ut,st),Cn,ut-dn,Cn,st-dn,ut]),ut=st-1}else if(Tr===ge)st=ut+1,Pn.push(["operator",Wr.slice(ut,st),Cn,ut-dn,Cn,st-dn,ut]),ut=st-1;else{let wi=mr;if(Tr>=an&&Tr<=sn&&(wi=Yt),wi.lastIndex=ut+1,wi.test(Wr),wi.lastIndex===0?st=Wr.length-1:st=wi.lastIndex-2,wi===Yt||Tr===E){let Ti=Wr.charCodeAt(st),zl=Wr.charCodeAt(st+1),ba=Wr.charCodeAt(st+2);(Ti===Nr||Ti===jr)&&(zl===xe||zl===me)&&ba>=an&&ba<=sn&&(Yt.lastIndex=st+2,Yt.test(Wr),Yt.lastIndex===0?st=Wr.length-1:st=Yt.lastIndex-2)}Pn.push(["word",Wr.slice(ut,st+1),Cn,ut-dn,Cn,st-dn,ut]),ut=st}break}ut++}return Pn}}}),Ru=at({"node_modules/flatten/index.js"(v,te){vt(),te.exports=function(G,q){if(q=typeof q=="number"?q:1/0,!q)return Array.isArray(G)?G.map(function(pe){return pe}):G;return Z(G,1);function Z(pe,fe){return pe.reduce(function(be,le){return Array.isArray(le)&&fe<q?be.concat(Z(le,fe+1)):be.concat(le)},[])}}}}),Ws=at({"node_modules/indexes-of/index.js"(v,te){vt(),te.exports=function(G,q){for(var Z=-1,pe=[];(Z=G.indexOf(q,Z+1))!==-1;)pe.push(Z);return pe}}}),zu=at({"node_modules/uniq/uniq.js"(v,te){vt();function G(pe,fe){for(var be=1,le=pe.length,ge=pe[0],E=pe[0],g=1;g<le;++g)if(E=ge,ge=pe[g],fe(ge,E)){if(g===be){be++;continue}pe[be++]=ge}return pe.length=be,pe}function q(pe){for(var fe=1,be=pe.length,le=pe[0],ge=pe[0],E=1;E<be;++E,ge=le)if(ge=le,le=pe[E],le!==ge){if(E===fe){fe++;continue}pe[fe++]=le}return pe.length=fe,pe}function Z(pe,fe,be){return pe.length===0?pe:fe?(be||pe.sort(fe),G(pe,fe)):(be||pe.sort(),q(pe))}te.exports=Z}}),wl=at({"node_modules/postcss-values-parser/lib/errors/ParserError.js"(v,te){vt();var G=class extends Error{constructor(q){super(q),this.name=this.constructor.name,this.message=q||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(q).stack}};te.exports=G}}),Hu=at({"node_modules/postcss-values-parser/lib/parser.js"(v,te){vt();var G=_a(),q=ea(),Z=vo(),pe=Du(),fe=bu(),be=ms(),le=Na(),ge=Ba(),E=Pa(),g=Oa(),Q=ta(),U=xu(),xe=Cu(),me=El(),je=Ru(),_e=Ws(),Ce=zu(),Ke=wl();function Ye(ct){return ct.sort((cr,Nr)=>cr-Nr)}te.exports=class{constructor(ct,cr){let Nr={loose:!1};this.cache=[],this.input=ct,this.options=Object.assign({},Nr,cr),this.position=0,this.unbalanced=0,this.root=new G;let jr=new q;this.root.append(jr),this.current=jr,this.tokens=me(ct,this.options)}parse(){return this.loop()}colon(){let ct=this.currToken;this.newNode(new pe({value:ct[1],source:{start:{line:ct[2],column:ct[3]},end:{line:ct[4],column:ct[5]}},sourceIndex:ct[6]})),this.position++}comma(){let ct=this.currToken;this.newNode(new fe({value:ct[1],source:{start:{line:ct[2],column:ct[3]},end:{line:ct[4],column:ct[5]}},sourceIndex:ct[6]})),this.position++}comment(){let ct=!1,cr=this.currToken[1].replace(/\/\*|\*\//g,""),Nr;this.options.loose&&cr.startsWith("//")&&(cr=cr.substring(2),ct=!0),Nr=new be({value:cr,inline:ct,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(Nr),this.position++}error(ct,cr){throw new Ke(ct+" at line: ".concat(cr[2],", column ").concat(cr[3]))}loop(){for(;this.position<this.tokens.length;)this.parseTokens();return!this.current.last&&this.spaces?this.current.raws.before+=this.spaces:this.spaces&&(this.current.last.raws.after+=this.spaces),this.spaces="",this.root}operator(){let ct=this.currToken[1],cr;if(ct==="+"||ct==="-"){if(this.options.loose||this.position>0&&(this.current.type==="func"&&this.current.value==="calc"?this.prevToken[0]!=="space"&&this.prevToken[0]!=="("?this.error("Syntax Error",this.currToken):this.nextToken[0]!=="space"&&this.nextToken[0]!=="word"?this.error("Syntax Error",this.currToken):this.nextToken[0]==="word"&&this.current.last.type!=="operator"&&this.current.last.value!=="("&&this.error("Syntax Error",this.currToken):(this.nextToken[0]==="space"||this.nextToken[0]==="operator"||this.prevToken[0]==="operator")&&this.error("Syntax Error",this.currToken)),this.options.loose){if((!this.current.nodes.length||this.current.last&&this.current.last.type==="operator")&&this.nextToken[0]==="word")return this.word()}else if(this.nextToken[0]==="word")return this.word()}return cr=new E({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),this.position++,this.newNode(cr)}parseTokens(){switch(this.currToken[0]){case"space":this.space();break;case"colon":this.colon();break;case"comma":this.comma();break;case"comment":this.comment();break;case"(":this.parenOpen();break;case")":this.parenClose();break;case"atword":case"word":this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange();break;default:this.word();break}}parenOpen(){let ct=1,cr=this.position+1,Nr=this.currToken,jr;for(;cr<this.tokens.length&&ct;){let an=this.tokens[cr];an[0]==="("&&ct++,an[0]===")"&&ct--,cr++}if(ct&&this.error("Expected closing parenthesis",Nr),jr=this.current.last,jr&&jr.type==="func"&&jr.unbalanced<0&&(jr.unbalanced=0,this.current=jr),this.current.unbalanced++,this.newNode(new g({value:Nr[1],source:{start:{line:Nr[2],column:Nr[3]},end:{line:Nr[4],column:Nr[5]}},sourceIndex:Nr[6]})),this.position++,this.current.type==="func"&&this.current.unbalanced&&this.current.value==="url"&&this.currToken[0]!=="string"&&this.currToken[0]!==")"&&!this.options.loose){let an=this.nextToken,sn=this.currToken[1],xn={line:this.currToken[2],column:this.currToken[3]};for(;an&&an[0]!==")"&&this.current.unbalanced;)this.position++,sn+=this.currToken[1],an=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new U({value:sn,source:{start:xn,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let ct=this.currToken;this.newNode(new g({value:ct[1],source:{start:{line:ct[2],column:ct[3]},end:{line:ct[4],column:ct[5]}},sourceIndex:ct[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",ct),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let ct=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=ct[1],this.position++):(this.spaces=ct[1],this.position++)}unicodeRange(){let ct=this.currToken;this.newNode(new xe({value:ct[1],source:{start:{line:ct[2],column:ct[3]},end:{line:ct[4],column:ct[5]}},sourceIndex:ct[6]})),this.position++}splitWord(){let ct=this.nextToken,cr=this.currToken[1],Nr=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,jr=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,an,sn;if(!jr.test(cr))for(;ct&&ct[0]==="word";)this.position++,cr+=this.currToken[1],ct=this.nextToken;an=_e(cr,"@"),sn=Ye(Ce(je([[0],an]))),sn.forEach((xn,en)=>{let un=sn[en+1]||cr.length,mr=cr.slice(xn,un),Yt;if(~an.indexOf(xn))Yt=new Z({value:mr.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+xn},end:{line:this.currToken[4],column:this.currToken[3]+(un-1)}},sourceIndex:this.currToken[6]+sn[en]});else if(Nr.test(this.currToken[1])){let vr=mr.replace(Nr,"");Yt=new ge({value:mr.replace(vr,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+xn},end:{line:this.currToken[4],column:this.currToken[3]+(un-1)}},sourceIndex:this.currToken[6]+sn[en],unit:vr})}else Yt=new(ct&&ct[0]==="("?le:U)({value:mr,source:{start:{line:this.currToken[2],column:this.currToken[3]+xn},end:{line:this.currToken[4],column:this.currToken[3]+(un-1)}},sourceIndex:this.currToken[6]+sn[en]}),Yt.type==="word"?(Yt.isHex=/^#(.+)/.test(mr),Yt.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(mr)):this.cache.push(this.current);this.newNode(Yt)}),this.position++}string(){let ct=this.currToken,cr=this.currToken[1],Nr=/^(\"|\')/,jr=Nr.test(cr),an="",sn;jr&&(an=cr.match(Nr)[0],cr=cr.slice(1,cr.length-1)),sn=new Q({value:cr,source:{start:{line:ct[2],column:ct[3]},end:{line:ct[4],column:ct[5]}},sourceIndex:ct[6],quoted:jr}),sn.raws.quote=an,this.newNode(sn),this.position++}word(){return this.splitWord()}newNode(ct){return this.spaces&&(ct.raws.before+=this.spaces,this.spaces=""),this.current.append(ct)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}}),Ga=at({"node_modules/postcss-values-parser/lib/index.js"(v,te){vt();var G=Hu(),q=vo(),Z=Du(),pe=bu(),fe=ms(),be=Na(),le=Ba(),ge=Pa(),E=Oa(),g=ta(),Q=Cu(),U=ea(),xe=xu(),me=function(je,_e){return new G(je,_e)};me.atword=function(je){return new q(je)},me.colon=function(je){return new Z(Object.assign({value:":"},je))},me.comma=function(je){return new pe(Object.assign({value:","},je))},me.comment=function(je){return new fe(je)},me.func=function(je){return new be(je)},me.number=function(je){return new le(je)},me.operator=function(je){return new ge(je)},me.paren=function(je){return new E(Object.assign({value:"("},je))},me.string=function(je){return new g(Object.assign({quote:"'"},je))},me.value=function(je){return new U(je)},me.word=function(je){return new xe(je)},me.unicodeRange=function(je){return new Q(je)},te.exports=me}}),Ci=at({"node_modules/postcss-selector-parser/dist/selectors/node.js"(v,te){vt(),v.__esModule=!0;var G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(fe){return typeof fe}:function(fe){return fe&&typeof Symbol=="function"&&fe.constructor===Symbol&&fe!==Symbol.prototype?"symbol":typeof fe};function q(fe,be){if(!(fe instanceof be))throw new TypeError("Cannot call a class as a function")}var Z=function fe(be,le){if((typeof be>"u"?"undefined":G(be))!=="object")return be;var ge=new be.constructor;for(var E in be)if(be.hasOwnProperty(E)){var g=be[E],Q=typeof g>"u"?"undefined":G(g);E==="parent"&&Q==="object"?le&&(ge[E]=le):g instanceof Array?ge[E]=g.map(function(U){return fe(U,ge)}):ge[E]=fe(g,ge)}return ge},pe=function(){function fe(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};q(this,fe);for(var le in be)this[le]=be[le];var ge=be.spaces;ge=ge===void 0?{}:ge;var E=ge.before,g=E===void 0?"":E,Q=ge.after,U=Q===void 0?"":Q;this.spaces={before:g,after:U}}return fe.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},fe.prototype.replaceWith=function(){if(this.parent){for(var be in arguments)this.parent.insertBefore(this,arguments[be]);this.remove()}return this},fe.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},fe.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},fe.prototype.clone=function(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},le=Z(this);for(var ge in be)le[ge]=be[ge];return le},fe.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},fe}();v.default=pe,te.exports=v.default}}),Ri=at({"node_modules/postcss-selector-parser/dist/selectors/types.js"(v){vt(),v.__esModule=!0,v.TAG="tag",v.STRING="string",v.SELECTOR="selector",v.ROOT="root",v.PSEUDO="pseudo",v.NESTING="nesting",v.ID="id",v.COMMENT="comment",v.COMBINATOR="combinator",v.CLASS="class",v.ATTRIBUTE="attribute",v.UNIVERSAL="universal"}}),uo=at({"node_modules/postcss-selector-parser/dist/selectors/container.js"(v,te){vt(),v.__esModule=!0;var G=function(){function U(xe,me){for(var je=0;je<me.length;je++){var _e=me[je];_e.enumerable=_e.enumerable||!1,_e.configurable=!0,"value"in _e&&(_e.writable=!0),Object.defineProperty(xe,_e.key,_e)}}return function(xe,me,je){return me&&U(xe.prototype,me),je&&U(xe,je),xe}}(),q=Ci(),Z=le(q),pe=Ri(),fe=be(pe);function be(U){if(U&&U.__esModule)return U;var xe={};if(U!=null)for(var me in U)Object.prototype.hasOwnProperty.call(U,me)&&(xe[me]=U[me]);return xe.default=U,xe}function le(U){return U&&U.__esModule?U:{default:U}}function ge(U,xe){if(!(U instanceof xe))throw new TypeError("Cannot call a class as a function")}function E(U,xe){if(!U)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return xe&&(typeof xe=="object"||typeof xe=="function")?xe:U}function g(U,xe){if(typeof xe!="function"&&xe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof xe);U.prototype=Object.create(xe&&xe.prototype,{constructor:{value:U,enumerable:!1,writable:!0,configurable:!0}}),xe&&(Object.setPrototypeOf?Object.setPrototypeOf(U,xe):U.__proto__=xe)}var Q=function(U){g(xe,U);function xe(me){ge(this,xe);var je=E(this,U.call(this,me));return je.nodes||(je.nodes=[]),je}return xe.prototype.append=function(me){return me.parent=this,this.nodes.push(me),this},xe.prototype.prepend=function(me){return me.parent=this,this.nodes.unshift(me),this},xe.prototype.at=function(me){return this.nodes[me]},xe.prototype.index=function(me){return typeof me=="number"?me:this.nodes.indexOf(me)},xe.prototype.removeChild=function(me){me=this.index(me),this.at(me).parent=void 0,this.nodes.splice(me,1);var je=void 0;for(var _e in this.indexes)je=this.indexes[_e],je>=me&&(this.indexes[_e]=je-1);return this},xe.prototype.removeAll=function(){for(var _e=this.nodes,me=Array.isArray(_e),je=0,_e=me?_e:_e[Symbol.iterator]();;){var Ce;if(me){if(je>=_e.length)break;Ce=_e[je++]}else{if(je=_e.next(),je.done)break;Ce=je.value}var Ke=Ce;Ke.parent=void 0}return this.nodes=[],this},xe.prototype.empty=function(){return this.removeAll()},xe.prototype.insertAfter=function(me,je){var _e=this.index(me);this.nodes.splice(_e+1,0,je);var Ce=void 0;for(var Ke in this.indexes)Ce=this.indexes[Ke],_e<=Ce&&(this.indexes[Ke]=Ce+this.nodes.length);return this},xe.prototype.insertBefore=function(me,je){var _e=this.index(me);this.nodes.splice(_e,0,je);var Ce=void 0;for(var Ke in this.indexes)Ce=this.indexes[Ke],_e<=Ce&&(this.indexes[Ke]=Ce+this.nodes.length);return this},xe.prototype.each=function(me){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var je=this.lastEach;if(this.indexes[je]=0,!!this.length){for(var _e=void 0,Ce=void 0;this.indexes[je]<this.length&&(_e=this.indexes[je],Ce=me(this.at(_e),_e),Ce!==!1);)this.indexes[je]+=1;if(delete this.indexes[je],Ce===!1)return!1}},xe.prototype.walk=function(me){return this.each(function(je,_e){var Ce=me(je,_e);if(Ce!==!1&&je.length&&(Ce=je.walk(me)),Ce===!1)return!1})},xe.prototype.walkAttributes=function(me){var je=this;return this.walk(function(_e){if(_e.type===fe.ATTRIBUTE)return me.call(je,_e)})},xe.prototype.walkClasses=function(me){var je=this;return this.walk(function(_e){if(_e.type===fe.CLASS)return me.call(je,_e)})},xe.prototype.walkCombinators=function(me){var je=this;return this.walk(function(_e){if(_e.type===fe.COMBINATOR)return me.call(je,_e)})},xe.prototype.walkComments=function(me){var je=this;return this.walk(function(_e){if(_e.type===fe.COMMENT)return me.call(je,_e)})},xe.prototype.walkIds=function(me){var je=this;return this.walk(function(_e){if(_e.type===fe.ID)return me.call(je,_e)})},xe.prototype.walkNesting=function(me){var je=this;return this.walk(function(_e){if(_e.type===fe.NESTING)return me.call(je,_e)})},xe.prototype.walkPseudos=function(me){var je=this;return this.walk(function(_e){if(_e.type===fe.PSEUDO)return me.call(je,_e)})},xe.prototype.walkTags=function(me){var je=this;return this.walk(function(_e){if(_e.type===fe.TAG)return me.call(je,_e)})},xe.prototype.walkUniversals=function(me){var je=this;return this.walk(function(_e){if(_e.type===fe.UNIVERSAL)return me.call(je,_e)})},xe.prototype.split=function(me){var je=this,_e=[];return this.reduce(function(Ce,Ke,Ye){var ct=me.call(je,Ke);return _e.push(Ke),ct?(Ce.push(_e),_e=[]):Ye===je.length-1&&Ce.push(_e),Ce},[])},xe.prototype.map=function(me){return this.nodes.map(me)},xe.prototype.reduce=function(me,je){return this.nodes.reduce(me,je)},xe.prototype.every=function(me){return this.nodes.every(me)},xe.prototype.some=function(me){return this.nodes.some(me)},xe.prototype.filter=function(me){return this.nodes.filter(me)},xe.prototype.sort=function(me){return this.nodes.sort(me)},xe.prototype.toString=function(){return this.map(String).join("")},G(xe,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),xe}(Z.default);v.default=Q,te.exports=v.default}}),Wu=at({"node_modules/postcss-selector-parser/dist/selectors/root.js"(v,te){vt(),v.__esModule=!0;var G=uo(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.ROOT,U}return g.prototype.toString=function(){var Q=this.reduce(function(U,xe){var me=String(xe);return me?U+me+",":""},"").slice(0,-1);return this.trailingComma?Q+",":Q},g}(q.default);v.default=ge,te.exports=v.default}}),$s=at({"node_modules/postcss-selector-parser/dist/selectors/selector.js"(v,te){vt(),v.__esModule=!0;var G=uo(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.SELECTOR,U}return g}(q.default);v.default=ge,te.exports=v.default}}),rs=at({"node_modules/postcss-selector-parser/dist/selectors/namespace.js"(v,te){vt(),v.__esModule=!0;var G=function(){function E(g,Q){for(var U=0;U<Q.length;U++){var xe=Q[U];xe.enumerable=xe.enumerable||!1,xe.configurable=!0,"value"in xe&&(xe.writable=!0),Object.defineProperty(g,xe.key,xe)}}return function(g,Q,U){return Q&&E(g.prototype,Q),U&&E(g,U),g}}(),q=Ci(),Z=pe(q);function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(){return fe(this,g),be(this,E.apply(this,arguments))}return g.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},G(g,[{key:"ns",get:function(){var Q=this.namespace;return Q?(typeof Q=="string"?Q:"")+"|":""}}]),g}(Z.default);v.default=ge,te.exports=v.default}}),$u=at({"node_modules/postcss-selector-parser/dist/selectors/className.js"(v,te){vt(),v.__esModule=!0;var G=rs(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.CLASS,U}return g.prototype.toString=function(){return[this.spaces.before,this.ns,String("."+this.value),this.spaces.after].join("")},g}(q.default);v.default=ge,te.exports=v.default}}),xs=at({"node_modules/postcss-selector-parser/dist/selectors/comment.js"(v,te){vt(),v.__esModule=!0;var G=Ci(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.COMMENT,U}return g}(q.default);v.default=ge,te.exports=v.default}}),gi=at({"node_modules/postcss-selector-parser/dist/selectors/id.js"(v,te){vt(),v.__esModule=!0;var G=rs(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.ID,U}return g.prototype.toString=function(){return[this.spaces.before,this.ns,String("#"+this.value),this.spaces.after].join("")},g}(q.default);v.default=ge,te.exports=v.default}}),Al=at({"node_modules/postcss-selector-parser/dist/selectors/tag.js"(v,te){vt(),v.__esModule=!0;var G=rs(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.TAG,U}return g}(q.default);v.default=ge,te.exports=v.default}}),Sl=at({"node_modules/postcss-selector-parser/dist/selectors/string.js"(v,te){vt(),v.__esModule=!0;var G=Ci(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.STRING,U}return g}(q.default);v.default=ge,te.exports=v.default}}),Fl=at({"node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(v,te){vt(),v.__esModule=!0;var G=uo(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.PSEUDO,U}return g.prototype.toString=function(){var Q=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),Q,this.spaces.after].join("")},g}(q.default);v.default=ge,te.exports=v.default}}),ns=at({"node_modules/postcss-selector-parser/dist/selectors/attribute.js"(v,te){vt(),v.__esModule=!0;var G=rs(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.ATTRIBUTE,U.raws={},U}return g.prototype.toString=function(){var Q=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&Q.push(this.operator),this.value&&Q.push(this.value),this.raws.insensitive?Q.push(this.raws.insensitive):this.insensitive&&Q.push(" i"),Q.push("]"),Q.concat(this.spaces.after).join("")},g}(q.default);v.default=ge,te.exports=v.default}}),Cs=at({"node_modules/postcss-selector-parser/dist/selectors/universal.js"(v,te){vt(),v.__esModule=!0;var G=rs(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.UNIVERSAL,U.value="*",U}return g}(q.default);v.default=ge,te.exports=v.default}}),Es=at({"node_modules/postcss-selector-parser/dist/selectors/combinator.js"(v,te){vt(),v.__esModule=!0;var G=Ci(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.COMBINATOR,U}return g}(q.default);v.default=ge,te.exports=v.default}}),Lo=at({"node_modules/postcss-selector-parser/dist/selectors/nesting.js"(v,te){vt(),v.__esModule=!0;var G=Ci(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.NESTING,U.value="&",U}return g}(q.default);v.default=ge,te.exports=v.default}}),Uu=at({"node_modules/postcss-selector-parser/dist/sortAscending.js"(v,te){vt(),v.__esModule=!0,v.default=G;function G(q){return q.sort(function(Z,pe){return Z-pe})}te.exports=v.default}}),Vu=at({"node_modules/postcss-selector-parser/dist/tokenize.js"(v,te){vt(),v.__esModule=!0,v.default=xn;var G=39,q=34,Z=92,pe=47,fe=10,be=32,le=12,ge=9,E=13,g=43,Q=62,U=126,xe=124,me=44,je=40,_e=41,Ce=91,Ke=93,Ye=59,ct=42,cr=58,Nr=38,jr=64,an=/[ \n\t\r\{\(\)'"\\;/]/g,sn=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function xn(en){for(var un=[],mr=en.css.valueOf(),Yt=void 0,vr=void 0,Jt=void 0,mi=void 0,Yn=void 0,ni=void 0,Un=void 0,Pn=void 0,Wr=void 0,wn=void 0,dn=void 0,Cn=mr.length,ut=-1,jt=1,Vt=0,Tr=function(st,Xr){if(en.safe)mr+=Xr,vr=mr.length-1;else throw en.error("Unclosed "+st,jt,Vt-ut,Vt)};Vt<Cn;){switch(Yt=mr.charCodeAt(Vt),Yt===fe&&(ut=Vt,jt+=1),Yt){case fe:case be:case ge:case E:case le:vr=Vt;do vr+=1,Yt=mr.charCodeAt(vr),Yt===fe&&(ut=vr,jt+=1);while(Yt===be||Yt===fe||Yt===ge||Yt===E||Yt===le);un.push(["space",mr.slice(Vt,vr),jt,Vt-ut,Vt]),Vt=vr-1;break;case g:case Q:case U:case xe:vr=Vt;do vr+=1,Yt=mr.charCodeAt(vr);while(Yt===g||Yt===Q||Yt===U||Yt===xe);un.push(["combinator",mr.slice(Vt,vr),jt,Vt-ut,Vt]),Vt=vr-1;break;case ct:un.push(["*","*",jt,Vt-ut,Vt]);break;case Nr:un.push(["&","&",jt,Vt-ut,Vt]);break;case me:un.push([",",",",jt,Vt-ut,Vt]);break;case Ce:un.push(["[","[",jt,Vt-ut,Vt]);break;case Ke:un.push(["]","]",jt,Vt-ut,Vt]);break;case cr:un.push([":",":",jt,Vt-ut,Vt]);break;case Ye:un.push([";",";",jt,Vt-ut,Vt]);break;case je:un.push(["(","(",jt,Vt-ut,Vt]);break;case _e:un.push([")",")",jt,Vt-ut,Vt]);break;case G:case q:Jt=Yt===G?"'":'"',vr=Vt;do for(wn=!1,vr=mr.indexOf(Jt,vr+1),vr===-1&&Tr("quote",Jt),dn=vr;mr.charCodeAt(dn-1)===Z;)dn-=1,wn=!wn;while(wn);un.push(["string",mr.slice(Vt,vr+1),jt,Vt-ut,jt,vr-ut,Vt]),Vt=vr;break;case jr:an.lastIndex=Vt+1,an.test(mr),an.lastIndex===0?vr=mr.length-1:vr=an.lastIndex-2,un.push(["at-word",mr.slice(Vt,vr+1),jt,Vt-ut,jt,vr-ut,Vt]),Vt=vr;break;case Z:for(vr=Vt,Un=!0;mr.charCodeAt(vr+1)===Z;)vr+=1,Un=!Un;Yt=mr.charCodeAt(vr+1),Un&&Yt!==pe&&Yt!==be&&Yt!==fe&&Yt!==ge&&Yt!==E&&Yt!==le&&(vr+=1),un.push(["word",mr.slice(Vt,vr+1),jt,Vt-ut,jt,vr-ut,Vt]),Vt=vr;break;default:Yt===pe&&mr.charCodeAt(Vt+1)===ct?(vr=mr.indexOf("*/",Vt+2)+1,vr===0&&Tr("comment","*/"),ni=mr.slice(Vt,vr+1),mi=ni.split(`
|
|
177
|
+
`),Yn=mi.length-1,Yn>0?(Pn=jt+Yn,Wr=vr-mi[Yn].length):(Pn=jt,Wr=ut),un.push(["comment",ni,jt,Vt-ut,Pn,vr-Wr,Vt]),ut=Wr,jt=Pn,Vt=vr):(sn.lastIndex=Vt+1,sn.test(mr),sn.lastIndex===0?vr=mr.length-1:vr=sn.lastIndex-2,un.push(["word",mr.slice(Vt,vr+1),jt,Vt-ut,jt,vr-ut,Vt]),Vt=vr);break}Vt++}return un}te.exports=v.default}}),qu=at({"node_modules/postcss-selector-parser/dist/parser.js"(v,te){vt(),v.__esModule=!0;var G=function(){function ut(jt,Vt){for(var Tr=0;Tr<Vt.length;Tr++){var st=Vt[Tr];st.enumerable=st.enumerable||!1,st.configurable=!0,"value"in st&&(st.writable=!0),Object.defineProperty(jt,st.key,st)}}return function(jt,Vt,Tr){return Vt&&ut(jt.prototype,Vt),Tr&&ut(jt,Tr),jt}}(),q=Ru(),Z=wn(q),pe=Ws(),fe=wn(pe),be=zu(),le=wn(be),ge=Wu(),E=wn(ge),g=$s(),Q=wn(g),U=$u(),xe=wn(U),me=xs(),je=wn(me),_e=gi(),Ce=wn(_e),Ke=Al(),Ye=wn(Ke),ct=Sl(),cr=wn(ct),Nr=Fl(),jr=wn(Nr),an=ns(),sn=wn(an),xn=Cs(),en=wn(xn),un=Es(),mr=wn(un),Yt=Lo(),vr=wn(Yt),Jt=Uu(),mi=wn(Jt),Yn=Vu(),ni=wn(Yn),Un=Ri(),Pn=Wr(Un);function Wr(ut){if(ut&&ut.__esModule)return ut;var jt={};if(ut!=null)for(var Vt in ut)Object.prototype.hasOwnProperty.call(ut,Vt)&&(jt[Vt]=ut[Vt]);return jt.default=ut,jt}function wn(ut){return ut&&ut.__esModule?ut:{default:ut}}function dn(ut,jt){if(!(ut instanceof jt))throw new TypeError("Cannot call a class as a function")}var Cn=function(){function ut(jt){dn(this,ut),this.input=jt,this.lossy=jt.options.lossless===!1,this.position=0,this.root=new E.default;var Vt=new Q.default;return this.root.append(Vt),this.current=Vt,this.lossy?this.tokens=(0,ni.default)({safe:jt.safe,css:jt.css.trim()}):this.tokens=(0,ni.default)(jt),this.loop()}return ut.prototype.attribute=function(){var jt="",Vt=void 0,Tr=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)jt+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~jt.indexOf("]")&&this.error("Expected a closing square bracket.");var st=jt.split(/((?:[*~^$|]?=))([^]*)/),Xr=st[0].split(/(\|)/g),zr={operator:st[1],value:st[2],source:{start:{line:Tr[2],column:Tr[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:Tr[4]};if(Xr.length>1?(Xr[0]===""&&(Xr[0]=!0),zr.attribute=this.parseValue(Xr[2]),zr.namespace=this.parseNamespace(Xr[0])):zr.attribute=this.parseValue(st[0]),Vt=new sn.default(zr),st[2]){var ji=st[2].split(/(\s+i\s*?)$/),Fi=ji[0].trim();Vt.value=this.lossy?Fi:ji[0],ji[1]&&(Vt.insensitive=!0,this.lossy||(Vt.raws.insensitive=ji[1])),Vt.quoted=Fi[0]==="'"||Fi[0]==='"',Vt.raws.unquoted=Vt.quoted?Fi.slice(1,-1):Fi}this.newNode(Vt),this.position++},ut.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var jt=new mr.default({value:"",source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position<this.tokens.length&&this.currToken&&(this.currToken[0]==="space"||this.currToken[0]==="combinator");)this.nextToken&&this.nextToken[0]==="combinator"?(jt.spaces.before=this.parseSpace(this.currToken[1]),jt.source.start.line=this.nextToken[2],jt.source.start.column=this.nextToken[3],jt.source.end.column=this.nextToken[3],jt.source.end.line=this.nextToken[2],jt.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?jt.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?jt.value=this.currToken[1]:this.currToken[0]==="space"&&(jt.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(jt)},ut.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var jt=new Q.default;this.current.parent.append(jt),this.current=jt,this.position++},ut.prototype.comment=function(){var jt=new je.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]});this.newNode(jt),this.position++},ut.prototype.error=function(jt){throw new this.input.error(jt)},ut.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},ut.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},ut.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},ut.prototype.namespace=function(){var jt=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(jt);if(this.nextToken[0]==="*")return this.position++,this.universal(jt)},ut.prototype.nesting=function(){this.newNode(new vr.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]})),this.position++},ut.prototype.parentheses=function(){var jt=this.current.last;if(jt&&jt.type===Pn.PSEUDO){var Vt=new Q.default,Tr=this.current;jt.append(Vt),this.current=Vt;var st=1;for(this.position++;this.position<this.tokens.length&&st;)this.currToken[0]==="("&&st++,this.currToken[0]===")"&&st--,st?this.parse():(Vt.parent.source.end.line=this.currToken[2],Vt.parent.source.end.column=this.currToken[3],this.position++);st&&this.error("Expected closing parenthesis."),this.current=Tr}else{var Xr=1;for(this.position++,jt.value+="(";this.position<this.tokens.length&&Xr;)this.currToken[0]==="("&&Xr++,this.currToken[0]===")"&&Xr--,jt.value+=this.parseParenthesisToken(this.currToken),this.position++;Xr&&this.error("Expected closing parenthesis.")}},ut.prototype.pseudo=function(){for(var jt=this,Vt="",Tr=this.currToken;this.currToken&&this.currToken[0]===":";)Vt+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var st=void 0;this.splitWord(!1,function(Xr,zr){Vt+=Xr,st=new jr.default({value:Vt,source:{start:{line:Tr[2],column:Tr[3]},end:{line:jt.currToken[4],column:jt.currToken[5]}},sourceIndex:Tr[4]}),jt.newNode(st),zr>1&&jt.nextToken&&jt.nextToken[0]==="("&&jt.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},ut.prototype.space=function(){var jt=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(jt[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(jt[1]),this.position++):this.combinator()},ut.prototype.string=function(){var jt=this.currToken;this.newNode(new cr.default({value:this.currToken[1],source:{start:{line:jt[2],column:jt[3]},end:{line:jt[4],column:jt[5]}},sourceIndex:jt[6]})),this.position++},ut.prototype.universal=function(jt){var Vt=this.nextToken;if(Vt&&Vt[1]==="|")return this.position++,this.namespace();this.newNode(new en.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),jt),this.position++},ut.prototype.splitWord=function(jt,Vt){for(var Tr=this,st=this.nextToken,Xr=this.currToken[1];st&&st[0]==="word";){this.position++;var zr=this.currToken[1];if(Xr+=zr,zr.lastIndexOf("\\")===zr.length-1){var ji=this.nextToken;ji&&ji[0]==="space"&&(Xr+=this.parseSpace(ji[1]," "),this.position++)}st=this.nextToken}var Fi=(0,fe.default)(Xr,"."),si=(0,fe.default)(Xr,"#"),Zi=(0,fe.default)(Xr,"#{");Zi.length&&(si=si.filter(function(ki){return!~Zi.indexOf(ki)}));var Ji=(0,mi.default)((0,le.default)((0,Z.default)([[0],Fi,si])));Ji.forEach(function(ki,eo){var Mi=Ji[eo+1]||Xr.length,wi=Xr.slice(ki,Mi);if(eo===0&&Vt)return Vt.call(Tr,wi,Ji.length);var Ti=void 0;~Fi.indexOf(ki)?Ti=new xe.default({value:wi.slice(1),source:{start:{line:Tr.currToken[2],column:Tr.currToken[3]+ki},end:{line:Tr.currToken[4],column:Tr.currToken[3]+(Mi-1)}},sourceIndex:Tr.currToken[6]+Ji[eo]}):~si.indexOf(ki)?Ti=new Ce.default({value:wi.slice(1),source:{start:{line:Tr.currToken[2],column:Tr.currToken[3]+ki},end:{line:Tr.currToken[4],column:Tr.currToken[3]+(Mi-1)}},sourceIndex:Tr.currToken[6]+Ji[eo]}):Ti=new Ye.default({value:wi,source:{start:{line:Tr.currToken[2],column:Tr.currToken[3]+ki},end:{line:Tr.currToken[4],column:Tr.currToken[3]+(Mi-1)}},sourceIndex:Tr.currToken[6]+Ji[eo]}),Tr.newNode(Ti,jt)}),this.position++},ut.prototype.word=function(jt){var Vt=this.nextToken;return Vt&&Vt[1]==="|"?(this.position++,this.namespace()):this.splitWord(jt)},ut.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},ut.prototype.parse=function(jt){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":jt&&this.missingParenthesis();break;case"[":this.attribute();break;case"]":this.missingSquareBracket();break;case"at-word":case"word":this.word();break;case":":this.pseudo();break;case";":this.missingBackslash();break;case",":this.comma();break;case"*":this.universal();break;case"&":this.nesting();break;case"combinator":this.combinator();break;case"string":this.string();break}},ut.prototype.parseNamespace=function(jt){if(this.lossy&&typeof jt=="string"){var Vt=jt.trim();return Vt.length?Vt:!0}return jt},ut.prototype.parseSpace=function(jt,Vt){return this.lossy?Vt||"":jt},ut.prototype.parseValue=function(jt){return this.lossy&&jt&&typeof jt=="string"?jt.trim():jt},ut.prototype.parseParenthesisToken=function(jt){return this.lossy?jt[0]==="space"?this.parseSpace(jt[1]," "):this.parseValue(jt[1]):jt[1]},ut.prototype.newNode=function(jt,Vt){return Vt&&(jt.namespace=this.parseNamespace(Vt)),this.spaces&&(jt.spaces.before=this.spaces,this.spaces=""),this.current.append(jt)},G(ut,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),ut}();v.default=Cn,te.exports=v.default}}),ws=at({"node_modules/postcss-selector-parser/dist/processor.js"(v,te){vt(),v.__esModule=!0;var G=function(){function le(ge,E){for(var g=0;g<E.length;g++){var Q=E[g];Q.enumerable=Q.enumerable||!1,Q.configurable=!0,"value"in Q&&(Q.writable=!0),Object.defineProperty(ge,Q.key,Q)}}return function(ge,E,g){return E&&le(ge.prototype,E),g&&le(ge,g),ge}}(),q=qu(),Z=pe(q);function pe(le){return le&&le.__esModule?le:{default:le}}function fe(le,ge){if(!(le instanceof ge))throw new TypeError("Cannot call a class as a function")}var be=function(){function le(ge){return fe(this,le),this.func=ge||function(){},this}return le.prototype.process=function(ge){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=new Z.default({css:ge,error:function(Q){throw new Error(Q)},options:E});return this.res=g,this.func(g),this},G(le,[{key:"result",get:function(){return String(this.res)}}]),le}();v.default=be,te.exports=v.default}}),go=at({"node_modules/postcss-selector-parser/dist/index.js"(v,te){vt(),v.__esModule=!0;var G=ws(),q=Yt(G),Z=ns(),pe=Yt(Z),fe=$u(),be=Yt(fe),le=Es(),ge=Yt(le),E=xs(),g=Yt(E),Q=gi(),U=Yt(Q),xe=Lo(),me=Yt(xe),je=Fl(),_e=Yt(je),Ce=Wu(),Ke=Yt(Ce),Ye=$s(),ct=Yt(Ye),cr=Sl(),Nr=Yt(cr),jr=Al(),an=Yt(jr),sn=Cs(),xn=Yt(sn),en=Ri(),un=mr(en);function mr(Jt){if(Jt&&Jt.__esModule)return Jt;var mi={};if(Jt!=null)for(var Yn in Jt)Object.prototype.hasOwnProperty.call(Jt,Yn)&&(mi[Yn]=Jt[Yn]);return mi.default=Jt,mi}function Yt(Jt){return Jt&&Jt.__esModule?Jt:{default:Jt}}var vr=function(Jt){return new q.default(Jt)};vr.attribute=function(Jt){return new pe.default(Jt)},vr.className=function(Jt){return new be.default(Jt)},vr.combinator=function(Jt){return new ge.default(Jt)},vr.comment=function(Jt){return new g.default(Jt)},vr.id=function(Jt){return new U.default(Jt)},vr.nesting=function(Jt){return new me.default(Jt)},vr.pseudo=function(Jt){return new _e.default(Jt)},vr.root=function(Jt){return new Ke.default(Jt)},vr.selector=function(Jt){return new ct.default(Jt)},vr.string=function(Jt){return new Nr.default(Jt)},vr.tag=function(Jt){return new an.default(Jt)},vr.universal=function(Jt){return new xn.default(Jt)},Object.keys(un).forEach(function(Jt){Jt!=="__esModule"&&(vr[Jt]=un[Jt])}),v.default=vr,te.exports=v.default}}),qi=at({"node_modules/postcss-media-query-parser/dist/nodes/Node.js"(v){vt(),Object.defineProperty(v,"__esModule",{value:!0});function te(G){this.after=G.after,this.before=G.before,this.type=G.type,this.value=G.value,this.sourceIndex=G.sourceIndex}v.default=te}}),qn=at({"node_modules/postcss-media-query-parser/dist/nodes/Container.js"(v){vt(),Object.defineProperty(v,"__esModule",{value:!0});var te=qi(),G=q(te);function q(pe){return pe&&pe.__esModule?pe:{default:pe}}function Z(pe){var fe=this;this.constructor(pe),this.nodes=pe.nodes,this.after===void 0&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),this.before===void 0&&(this.before=this.nodes.length>0?this.nodes[0].before:""),this.sourceIndex===void 0&&(this.sourceIndex=this.before.length),this.nodes.forEach(function(be){be.parent=fe})}Z.prototype=Object.create(G.default.prototype),Z.constructor=G.default,Z.prototype.walk=function(pe,fe){for(var be=typeof pe=="string"||pe instanceof RegExp,le=be?fe:pe,ge=typeof pe=="string"?new RegExp(pe):pe,E=0;E<this.nodes.length;E++){var g=this.nodes[E],Q=be?ge.test(g.type):!0;if(Q&&le&&le(g,E,this.nodes)===!1||g.nodes&&g.walk(pe,fe)===!1)return!1}return!0},Z.prototype.each=function(){for(var pe=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],fe=0;fe<this.nodes.length;fe++){var be=this.nodes[fe];if(pe(be,fe,this.nodes)===!1)return!1}return!0},v.default=Z}}),lo=at({"node_modules/postcss-media-query-parser/dist/parsers.js"(v){vt(),Object.defineProperty(v,"__esModule",{value:!0}),v.parseMediaFeature=fe,v.parseMediaQuery=be,v.parseMediaList=le;var te=qi(),G=pe(te),q=qn(),Z=pe(q);function pe(ge){return ge&&ge.__esModule?ge:{default:ge}}function fe(ge){var E=arguments.length<=1||arguments[1]===void 0?0:arguments[1],g=[{mode:"normal",character:null}],Q=[],U=0,xe="",me=null,je=null,_e=E,Ce=ge;ge[0]==="("&&ge[ge.length-1]===")"&&(Ce=ge.substring(1,ge.length-1),_e++);for(var Ke=0;Ke<Ce.length;Ke++){var Ye=Ce[Ke];if((Ye==="'"||Ye==='"')&&(g[U].isCalculationEnabled===!0?(g.push({mode:"string",isCalculationEnabled:!1,character:Ye}),U++):g[U].mode==="string"&&g[U].character===Ye&&Ce[Ke-1]!=="\\"&&(g.pop(),U--)),Ye==="{"?(g.push({mode:"interpolation",isCalculationEnabled:!0}),U++):Ye==="}"&&(g.pop(),U--),g[U].mode==="normal"&&Ye===":"){var ct=Ce.substring(Ke+1);je={type:"value",before:/^(\s*)/.exec(ct)[1],after:/(\s*)$/.exec(ct)[1],value:ct.trim()},je.sourceIndex=je.before.length+Ke+1+_e,me={type:"colon",sourceIndex:Ke+_e,after:je.before,value:":"};break}xe+=Ye}return xe={type:"media-feature",before:/^(\s*)/.exec(xe)[1],after:/(\s*)$/.exec(xe)[1],value:xe.trim()},xe.sourceIndex=xe.before.length+_e,Q.push(xe),me!==null&&(me.before=xe.after,Q.push(me)),je!==null&&Q.push(je),Q}function be(ge){var E=arguments.length<=1||arguments[1]===void 0?0:arguments[1],g=[],Q=0,U=!1,xe=void 0;function me(){return{before:"",after:"",value:""}}xe=me();for(var je=0;je<ge.length;je++){var _e=ge[je];U?(xe.value+=_e,(_e==="{"||_e==="(")&&Q++,(_e===")"||_e==="}")&&Q--):_e.search(/\s/)!==-1?xe.before+=_e:(_e==="("&&(xe.type="media-feature-expression",Q++),xe.value=_e,xe.sourceIndex=E+je,U=!0),U&&Q===0&&(_e===")"||je===ge.length-1||ge[je+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(xe.value)!==-1&&(xe.type="keyword"),xe.type==="media-feature-expression"&&(xe.nodes=fe(xe.value,xe.sourceIndex)),g.push(Array.isArray(xe.nodes)?new Z.default(xe):new G.default(xe)),xe=me(),U=!1)}for(var Ce=0;Ce<g.length;Ce++)if(xe=g[Ce],Ce>0&&(g[Ce-1].after=xe.before),xe.type===void 0){if(Ce>0){if(g[Ce-1].type==="media-feature-expression"){xe.type="keyword";continue}if(g[Ce-1].value==="not"||g[Ce-1].value==="only"){xe.type="media-type";continue}if(g[Ce-1].value==="and"){xe.type="media-feature-expression";continue}g[Ce-1].type==="media-type"&&(g[Ce+1]?xe.type=g[Ce+1].type==="media-feature-expression"?"keyword":"media-feature-expression":xe.type="media-feature-expression")}if(Ce===0){if(!g[Ce+1]){xe.type="media-type";continue}if(g[Ce+1]&&(g[Ce+1].type==="media-feature-expression"||g[Ce+1].type==="keyword")){xe.type="media-type";continue}if(g[Ce+2]){if(g[Ce+2].type==="media-feature-expression"){xe.type="media-type",g[Ce+1].type="keyword";continue}if(g[Ce+2].type==="keyword"){xe.type="keyword",g[Ce+1].type="media-type";continue}}if(g[Ce+3]&&g[Ce+3].type==="media-feature-expression"){xe.type="keyword",g[Ce+1].type="media-type",g[Ce+2].type="keyword";continue}}}return g}function le(ge){var E=[],g=0,Q=0,U=/^(\s*)url\s*\(/.exec(ge);if(U!==null){for(var xe=U[0].length,me=1;me>0;){var je=ge[xe];je==="("&&me++,je===")"&&me--,xe++}E.unshift(new G.default({type:"url",value:ge.substring(0,xe).trim(),sourceIndex:U[1].length,before:U[1],after:/^(\s*)/.exec(ge.substring(xe))[1]})),g=xe}for(var _e=g;_e<ge.length;_e++){var Ce=ge[_e];if(Ce==="("&&Q++,Ce===")"&&Q--,Q===0&&Ce===","){var Ke=ge.substring(g,_e),Ye=/^(\s*)/.exec(Ke)[1];E.push(new Z.default({type:"media-query",value:Ke.trim(),sourceIndex:g+Ye.length,nodes:be(Ke,g),before:Ye,after:/(\s*)$/.exec(Ke)[1]})),g=_e+1}}var ct=ge.substring(g),cr=/^(\s*)/.exec(ct)[1];return E.push(new Z.default({type:"media-query",value:ct.trim(),sourceIndex:g+cr.length,nodes:be(ct,g),before:cr,after:/(\s*)$/.exec(ct)[1]})),E}}}),Xa=at({"node_modules/postcss-media-query-parser/dist/index.js"(v){vt(),Object.defineProperty(v,"__esModule",{value:!0}),v.default=pe;var te=qn(),G=Z(te),q=lo();function Z(fe){return fe&&fe.__esModule?fe:{default:fe}}function pe(fe){return new G.default({nodes:(0,q.parseMediaList)(fe),type:"media-query-list",value:fe.trim()})}}}),kl={};$r(kl,{basename:()=>Qa,default:()=>Xu,delimiter:()=>As,dirname:()=>la,extname:()=>ca,isAbsolute:()=>ua,join:()=>Us,normalize:()=>Ka,relative:()=>Gu,resolve:()=>is,sep:()=>pa});function Ju(v,te){for(var G=0,q=v.length-1;q>=0;q--){var Z=v[q];Z==="."?v.splice(q,1):Z===".."?(v.splice(q,1),G++):G&&(v.splice(q,1),G--)}if(te)for(;G--;G)v.unshift("..");return v}function is(){for(var v="",te=!1,G=arguments.length-1;G>=-1&&!te;G--){var q=G>=0?arguments[G]:"/";if(typeof q!="string")throw new TypeError("Arguments to path.resolve must be strings");!q||(v=q+"/"+v,te=q.charAt(0)==="/")}return v=Ju(Vs(v.split("/"),function(Z){return!!Z}),!te).join("/"),(te?"/":"")+v||"."}function Ka(v){var te=ua(v),G=Ku(v,-1)==="/";return v=Ju(Vs(v.split("/"),function(q){return!!q}),!te).join("/"),!v&&!te&&(v="."),v&&G&&(v+="/"),(te?"/":"")+v}function ua(v){return v.charAt(0)==="/"}function Us(){var v=Array.prototype.slice.call(arguments,0);return Ka(Vs(v,function(te,G){if(typeof te!="string")throw new TypeError("Arguments to path.join must be strings");return te}).join("/"))}function Gu(v,te){v=is(v).substr(1),te=is(te).substr(1);function G(ge){for(var E=0;E<ge.length&&ge[E]==="";E++);for(var g=ge.length-1;g>=0&&ge[g]==="";g--);return E>g?[]:ge.slice(E,g-E+1)}for(var q=G(v.split("/")),Z=G(te.split("/")),pe=Math.min(q.length,Z.length),fe=pe,be=0;be<pe;be++)if(q[be]!==Z[be]){fe=be;break}for(var le=[],be=fe;be<q.length;be++)le.push("..");return le=le.concat(Z.slice(fe)),le.join("/")}function la(v){var te=ss(v),G=te[0],q=te[1];return!G&&!q?".":(q&&(q=q.substr(0,q.length-1)),G+q)}function Qa(v,te){var G=ss(v)[2];return te&&G.substr(-1*te.length)===te&&(G=G.substr(0,G.length-te.length)),G}function ca(v){return ss(v)[3]}function Vs(v,te){if(v.filter)return v.filter(te);for(var G=[],q=0;q<v.length;q++)te(v[q],q,v)&&G.push(v[q]);return G}var os,ss,pa,As,Xu,Ku,xc=yr({"node-modules-polyfills:path"(){vt(),os=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,ss=function(v){return os.exec(v).slice(1)},pa="/",As=":",Xu={extname:ca,basename:Qa,dirname:la,sep:pa,delimiter:As,relative:Gu,join:Us,isAbsolute:ua,normalize:Ka,resolve:is},Ku="ab".substr(-1)==="b"?function(v,te,G){return v.substr(te,G)}:function(v,te,G){return te<0&&(te=v.length+te),v.substr(te,G)}}}),Qu=at({"node-modules-polyfills-commonjs:path"(v,te){vt();var G=(xc(),En(kl));if(G&&G.default){te.exports=G.default;for(let q in G)te.exports[q]=G[q]}else G&&(te.exports=G)}}),fa=at({"node_modules/picocolors/picocolors.browser.js"(v,te){vt();var G=String,q=function(){return{isColorSupported:!1,reset:G,bold:G,dim:G,italic:G,underline:G,inverse:G,hidden:G,strikethrough:G,black:G,red:G,green:G,yellow:G,blue:G,magenta:G,cyan:G,white:G,gray:G,bgBlack:G,bgRed:G,bgGreen:G,bgYellow:G,bgBlue:G,bgMagenta:G,bgCyan:G,bgWhite:G}};te.exports=q(),te.exports.createColors=q}}),Go=at({"(disabled):node_modules/postcss/lib/terminal-highlight"(){vt()}}),as=at({"node_modules/postcss/lib/css-syntax-error.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=Z(fa()),q=Z(Go());function Z(me){return me&&me.__esModule?me:{default:me}}function pe(me){if(me===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me}function fe(me,je){me.prototype=Object.create(je.prototype),me.prototype.constructor=me,me.__proto__=je}function be(me){var je=typeof Map=="function"?new Map:void 0;return be=function(_e){if(_e===null||!E(_e))return _e;if(typeof _e!="function")throw new TypeError("Super expression must either be null or a function");if(typeof je<"u"){if(je.has(_e))return je.get(_e);je.set(_e,Ce)}function Ce(){return le(_e,arguments,Q(this).constructor)}return Ce.prototype=Object.create(_e.prototype,{constructor:{value:Ce,enumerable:!1,writable:!0,configurable:!0}}),g(Ce,_e)},be(me)}function le(me,je,_e){return ge()?le=Reflect.construct:le=function(Ce,Ke,Ye){var ct=[null];ct.push.apply(ct,Ke);var cr=Function.bind.apply(Ce,ct),Nr=new cr;return Ye&&g(Nr,Ye.prototype),Nr},le.apply(null,arguments)}function ge(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function E(me){return Function.toString.call(me).indexOf("[native code]")!==-1}function g(me,je){return g=Object.setPrototypeOf||function(_e,Ce){return _e.__proto__=Ce,_e},g(me,je)}function Q(me){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(je){return je.__proto__||Object.getPrototypeOf(je)},Q(me)}var U=function(me){fe(je,me);function je(Ce,Ke,Ye,ct,cr,Nr){var jr;return jr=me.call(this,Ce)||this,jr.name="CssSyntaxError",jr.reason=Ce,cr&&(jr.file=cr),ct&&(jr.source=ct),Nr&&(jr.plugin=Nr),typeof Ke<"u"&&typeof Ye<"u"&&(jr.line=Ke,jr.column=Ye),jr.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(pe(jr),je),jr}var _e=je.prototype;return _e.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},_e.showSourceCode=function(Ce){var Ke=this;if(!this.source)return"";var Ye=this.source;q.default&&(typeof Ce>"u"&&(Ce=G.default.isColorSupported),Ce&&(Ye=(0,q.default)(Ye)));var ct=Ye.split(/\r?\n/),cr=Math.max(this.line-3,0),Nr=Math.min(this.line+2,ct.length),jr=String(Nr).length;function an(xn){return Ce&&G.default.red?G.default.red(G.default.bold(xn)):xn}function sn(xn){return Ce&&G.default.gray?G.default.gray(xn):xn}return ct.slice(cr,Nr).map(function(xn,en){var un=cr+1+en,mr=" "+(" "+un).slice(-jr)+" | ";if(un===Ke.line){var Yt=sn(mr.replace(/\d/g," "))+xn.slice(0,Ke.column-1).replace(/[^\t]/g," ");return an(">")+sn(mr)+xn+`
|
|
178
|
+
`+Yt+an("^")}return" "+sn(mr)+xn}).join(`
|
|
179
|
+
`)},_e.toString=function(){var Ce=this.showSourceCode();return Ce&&(Ce=`
|
|
180
|
+
|
|
181
|
+
`+Ce+`
|
|
182
|
+
`),this.name+": "+this.message+Ce},je}(be(Error)),xe=U;v.default=xe,te.exports=v.default}}),Yu=at({"node_modules/postcss/lib/previous-map.js"(v,te){vt(),te.exports=class{}}}),us=at({"node_modules/postcss/lib/input.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=pe(Qu()),q=pe(as()),Z=pe(Yu());function pe(g){return g&&g.__esModule?g:{default:g}}function fe(g,Q){for(var U=0;U<Q.length;U++){var xe=Q[U];xe.enumerable=xe.enumerable||!1,xe.configurable=!0,"value"in xe&&(xe.writable=!0),Object.defineProperty(g,xe.key,xe)}}function be(g,Q,U){return Q&&fe(g.prototype,Q),U&&fe(g,U),g}var le=0,ge=function(){function g(U,xe){if(xe===void 0&&(xe={}),U===null||typeof U>"u"||typeof U=="object"&&!U.toString)throw new Error("PostCSS received "+U+" instead of CSS string");this.css=U.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,xe.from&&(/^\w+:\/\//.test(xe.from)||G.default.isAbsolute(xe.from)?this.file=xe.from:this.file=G.default.resolve(xe.from));var me=new Z.default(this.css,xe);if(me.text){this.map=me;var je=me.consumer().file;!this.file&&je&&(this.file=this.mapResolve(je))}this.file||(le+=1,this.id="<input css "+le+">"),this.map&&(this.map.file=this.from)}var Q=g.prototype;return Q.error=function(U,xe,me,je){je===void 0&&(je={});var _e,Ce=this.origin(xe,me);return Ce?_e=new q.default(U,Ce.line,Ce.column,Ce.source,Ce.file,je.plugin):_e=new q.default(U,xe,me,this.css,this.file,je.plugin),_e.input={line:xe,column:me,source:this.css},this.file&&(_e.input.file=this.file),_e},Q.origin=function(U,xe){if(!this.map)return!1;var me=this.map.consumer(),je=me.originalPositionFor({line:U,column:xe});if(!je.source)return!1;var _e={file:this.mapResolve(je.source),line:je.line,column:je.column},Ce=me.sourceContentFor(je.source);return Ce&&(_e.source=Ce),_e},Q.mapResolve=function(U){return/^\w+:\/\//.test(U)?U:G.default.resolve(this.map.consumer().sourceRoot||".",U)},be(g,[{key:"from",get:function(){return this.file||this.id}}]),g}(),E=ge;v.default=E,te.exports=v.default}}),da=at({"node_modules/postcss/lib/stringifier.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G={colon:": ",indent:" ",beforeDecl:`
|
|
183
|
+
`,beforeRule:`
|
|
184
|
+
`,beforeOpen:" ",beforeClose:`
|
|
185
|
+
`,beforeComment:`
|
|
186
|
+
`,after:`
|
|
187
|
+
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function q(fe){return fe[0].toUpperCase()+fe.slice(1)}var Z=function(){function fe(le){this.builder=le}var be=fe.prototype;return be.stringify=function(le,ge){this[le.type](le,ge)},be.root=function(le){this.body(le),le.raws.after&&this.builder(le.raws.after)},be.comment=function(le){var ge=this.raw(le,"left","commentLeft"),E=this.raw(le,"right","commentRight");this.builder("/*"+ge+le.text+E+"*/",le)},be.decl=function(le,ge){var E=this.raw(le,"between","colon"),g=le.prop+E+this.rawValue(le,"value");le.important&&(g+=le.raws.important||" !important"),ge&&(g+=";"),this.builder(g,le)},be.rule=function(le){this.block(le,this.rawValue(le,"selector")),le.raws.ownSemicolon&&this.builder(le.raws.ownSemicolon,le,"end")},be.atrule=function(le,ge){var E="@"+le.name,g=le.params?this.rawValue(le,"params"):"";if(typeof le.raws.afterName<"u"?E+=le.raws.afterName:g&&(E+=" "),le.nodes)this.block(le,E+g);else{var Q=(le.raws.between||"")+(ge?";":"");this.builder(E+g+Q,le)}},be.body=function(le){for(var ge=le.nodes.length-1;ge>0&&le.nodes[ge].type==="comment";)ge-=1;for(var E=this.raw(le,"semicolon"),g=0;g<le.nodes.length;g++){var Q=le.nodes[g],U=this.raw(Q,"before");U&&this.builder(U),this.stringify(Q,ge!==g||E)}},be.block=function(le,ge){var E=this.raw(le,"between","beforeOpen");this.builder(ge+E+"{",le,"start");var g;le.nodes&&le.nodes.length?(this.body(le),g=this.raw(le,"after")):g=this.raw(le,"after","emptyBody"),g&&this.builder(g),this.builder("}",le,"end")},be.raw=function(le,ge,E){var g;if(E||(E=ge),ge&&(g=le.raws[ge],typeof g<"u"))return g;var Q=le.parent;if(E==="before"&&(!Q||Q.type==="root"&&Q.first===le))return"";if(!Q)return G[E];var U=le.root();if(U.rawCache||(U.rawCache={}),typeof U.rawCache[E]<"u")return U.rawCache[E];if(E==="before"||E==="after")return this.beforeAfter(le,E);var xe="raw"+q(E);return this[xe]?g=this[xe](U,le):U.walk(function(me){if(g=me.raws[ge],typeof g<"u")return!1}),typeof g>"u"&&(g=G[E]),U.rawCache[E]=g,g},be.rawSemicolon=function(le){var ge;return le.walk(function(E){if(E.nodes&&E.nodes.length&&E.last.type==="decl"&&(ge=E.raws.semicolon,typeof ge<"u"))return!1}),ge},be.rawEmptyBody=function(le){var ge;return le.walk(function(E){if(E.nodes&&E.nodes.length===0&&(ge=E.raws.after,typeof ge<"u"))return!1}),ge},be.rawIndent=function(le){if(le.raws.indent)return le.raws.indent;var ge;return le.walk(function(E){var g=E.parent;if(g&&g!==le&&g.parent&&g.parent===le&&typeof E.raws.before<"u"){var Q=E.raws.before.split(`
|
|
188
|
+
`);return ge=Q[Q.length-1],ge=ge.replace(/[^\s]/g,""),!1}}),ge},be.rawBeforeComment=function(le,ge){var E;return le.walkComments(function(g){if(typeof g.raws.before<"u")return E=g.raws.before,E.indexOf(`
|
|
189
|
+
`)!==-1&&(E=E.replace(/[^\n]+$/,"")),!1}),typeof E>"u"?E=this.raw(ge,null,"beforeDecl"):E&&(E=E.replace(/[^\s]/g,"")),E},be.rawBeforeDecl=function(le,ge){var E;return le.walkDecls(function(g){if(typeof g.raws.before<"u")return E=g.raws.before,E.indexOf(`
|
|
190
|
+
`)!==-1&&(E=E.replace(/[^\n]+$/,"")),!1}),typeof E>"u"?E=this.raw(ge,null,"beforeRule"):E&&(E=E.replace(/[^\s]/g,"")),E},be.rawBeforeRule=function(le){var ge;return le.walk(function(E){if(E.nodes&&(E.parent!==le||le.first!==E)&&typeof E.raws.before<"u")return ge=E.raws.before,ge.indexOf(`
|
|
191
|
+
`)!==-1&&(ge=ge.replace(/[^\n]+$/,"")),!1}),ge&&(ge=ge.replace(/[^\s]/g,"")),ge},be.rawBeforeClose=function(le){var ge;return le.walk(function(E){if(E.nodes&&E.nodes.length>0&&typeof E.raws.after<"u")return ge=E.raws.after,ge.indexOf(`
|
|
192
|
+
`)!==-1&&(ge=ge.replace(/[^\n]+$/,"")),!1}),ge&&(ge=ge.replace(/[^\s]/g,"")),ge},be.rawBeforeOpen=function(le){var ge;return le.walk(function(E){if(E.type!=="decl"&&(ge=E.raws.between,typeof ge<"u"))return!1}),ge},be.rawColon=function(le){var ge;return le.walkDecls(function(E){if(typeof E.raws.between<"u")return ge=E.raws.between.replace(/[^\s:]/g,""),!1}),ge},be.beforeAfter=function(le,ge){var E;le.type==="decl"?E=this.raw(le,null,"beforeDecl"):le.type==="comment"?E=this.raw(le,null,"beforeComment"):ge==="before"?E=this.raw(le,null,"beforeRule"):E=this.raw(le,null,"beforeClose");for(var g=le.parent,Q=0;g&&g.type!=="root";)Q+=1,g=g.parent;if(E.indexOf(`
|
|
193
|
+
`)!==-1){var U=this.raw(le,null,"indent");if(U.length)for(var xe=0;xe<Q;xe++)E+=U}return E},be.rawValue=function(le,ge){var E=le[ge],g=le.raws[ge];return g&&g.value===E?g.raw:E},fe}(),pe=Z;v.default=pe,te.exports=v.default}}),qs=at({"node_modules/postcss/lib/stringify.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=q(da());function q(fe){return fe&&fe.__esModule?fe:{default:fe}}function Z(fe,be){var le=new G.default(be);le.stringify(fe)}var pe=Z;v.default=pe,te.exports=v.default}}),Ya=at({"node_modules/postcss/lib/node.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=pe(as()),q=pe(da()),Z=pe(qs());function pe(ge){return ge&&ge.__esModule?ge:{default:ge}}function fe(ge,E){var g=new ge.constructor;for(var Q in ge)if(ge.hasOwnProperty(Q)){var U=ge[Q],xe=typeof U;Q==="parent"&&xe==="object"?E&&(g[Q]=E):Q==="source"?g[Q]=U:U instanceof Array?g[Q]=U.map(function(me){return fe(me,g)}):(xe==="object"&&U!==null&&(U=fe(U)),g[Q]=U)}return g}var be=function(){function ge(g){g===void 0&&(g={}),this.raws={};for(var Q in g)this[Q]=g[Q]}var E=ge.prototype;return E.error=function(g,Q){if(Q===void 0&&(Q={}),this.source){var U=this.positionBy(Q);return this.source.input.error(g,U.line,U.column,Q)}return new G.default(g)},E.warn=function(g,Q,U){var xe={node:this};for(var me in U)xe[me]=U[me];return g.warn(Q,xe)},E.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},E.toString=function(g){g===void 0&&(g=Z.default),g.stringify&&(g=g.stringify);var Q="";return g(this,function(U){Q+=U}),Q},E.clone=function(g){g===void 0&&(g={});var Q=fe(this);for(var U in g)Q[U]=g[U];return Q},E.cloneBefore=function(g){g===void 0&&(g={});var Q=this.clone(g);return this.parent.insertBefore(this,Q),Q},E.cloneAfter=function(g){g===void 0&&(g={});var Q=this.clone(g);return this.parent.insertAfter(this,Q),Q},E.replaceWith=function(){if(this.parent){for(var g=arguments.length,Q=new Array(g),U=0;U<g;U++)Q[U]=arguments[U];for(var xe=0,me=Q;xe<me.length;xe++){var je=me[xe];this.parent.insertBefore(this,je)}this.remove()}return this},E.next=function(){if(this.parent){var g=this.parent.index(this);return this.parent.nodes[g+1]}},E.prev=function(){if(this.parent){var g=this.parent.index(this);return this.parent.nodes[g-1]}},E.before=function(g){return this.parent.insertBefore(this,g),this},E.after=function(g){return this.parent.insertAfter(this,g),this},E.toJSON=function(){var g={};for(var Q in this)if(!!this.hasOwnProperty(Q)&&Q!=="parent"){var U=this[Q];U instanceof Array?g[Q]=U.map(function(xe){return typeof xe=="object"&&xe.toJSON?xe.toJSON():xe}):typeof U=="object"&&U.toJSON?g[Q]=U.toJSON():g[Q]=U}return g},E.raw=function(g,Q){var U=new q.default;return U.raw(this,g,Q)},E.root=function(){for(var g=this;g.parent;)g=g.parent;return g},E.cleanRaws=function(g){delete this.raws.before,delete this.raws.after,g||delete this.raws.between},E.positionInside=function(g){for(var Q=this.toString(),U=this.source.start.column,xe=this.source.start.line,me=0;me<g;me++)Q[me]===`
|
|
194
|
+
`?(U=1,xe+=1):U+=1;return{line:xe,column:U}},E.positionBy=function(g){var Q=this.source.start;if(g.index)Q=this.positionInside(g.index);else if(g.word){var U=this.toString().indexOf(g.word);U!==-1&&(Q=this.positionInside(U))}return Q},ge}(),le=be;v.default=le,te.exports=v.default}}),Io=at({"node_modules/postcss/lib/comment.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=q(Ya());function q(be){return be&&be.__esModule?be:{default:be}}function Z(be,le){be.prototype=Object.create(le.prototype),be.prototype.constructor=be,be.__proto__=le}var pe=function(be){Z(le,be);function le(ge){var E;return E=be.call(this,ge)||this,E.type="comment",E}return le}(G.default),fe=pe;v.default=fe,te.exports=v.default}}),Js=at({"node_modules/postcss/lib/declaration.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=q(Ya());function q(be){return be&&be.__esModule?be:{default:be}}function Z(be,le){be.prototype=Object.create(le.prototype),be.prototype.constructor=be,be.__proto__=le}var pe=function(be){Z(le,be);function le(ge){var E;return E=be.call(this,ge)||this,E.type="decl",E}return le}(G.default),fe=pe;v.default=fe,te.exports=v.default}}),Ro=at({"node_modules/postcss/lib/tokenize.js"(v,te){vt(),v.__esModule=!0,v.default=an;var G="'".charCodeAt(0),q='"'.charCodeAt(0),Z="\\".charCodeAt(0),pe="/".charCodeAt(0),fe=`
|
|
195
|
+
`.charCodeAt(0),be=" ".charCodeAt(0),le="\f".charCodeAt(0),ge=" ".charCodeAt(0),E="\r".charCodeAt(0),g="[".charCodeAt(0),Q="]".charCodeAt(0),U="(".charCodeAt(0),xe=")".charCodeAt(0),me="{".charCodeAt(0),je="}".charCodeAt(0),_e=";".charCodeAt(0),Ce="*".charCodeAt(0),Ke=":".charCodeAt(0),Ye="@".charCodeAt(0),ct=/[ \n\t\r\f{}()'"\\;/[\]#]/g,cr=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,Nr=/.[\\/("'\n]/,jr=/[a-f0-9]/i;function an(sn,xn){xn===void 0&&(xn={});var en=sn.css.valueOf(),un=xn.ignoreErrors,mr,Yt,vr,Jt,mi,Yn,ni,Un,Pn,Wr,wn,dn,Cn,ut,jt=en.length,Vt=-1,Tr=1,st=0,Xr=[],zr=[];function ji(){return st}function Fi(ki){throw sn.error("Unclosed "+ki,Tr,st-Vt)}function si(){return zr.length===0&&st>=jt}function Zi(ki){if(zr.length)return zr.pop();if(!(st>=jt)){var eo=ki?ki.ignoreUnclosed:!1;switch(mr=en.charCodeAt(st),(mr===fe||mr===le||mr===E&&en.charCodeAt(st+1)!==fe)&&(Vt=st,Tr+=1),mr){case fe:case be:case ge:case E:case le:Yt=st;do Yt+=1,mr=en.charCodeAt(Yt),mr===fe&&(Vt=Yt,Tr+=1);while(mr===be||mr===fe||mr===ge||mr===E||mr===le);ut=["space",en.slice(st,Yt)],st=Yt-1;break;case g:case Q:case me:case je:case Ke:case _e:case xe:var Mi=String.fromCharCode(mr);ut=[Mi,Mi,Tr,st-Vt];break;case U:if(dn=Xr.length?Xr.pop()[1]:"",Cn=en.charCodeAt(st+1),dn==="url"&&Cn!==G&&Cn!==q&&Cn!==be&&Cn!==fe&&Cn!==ge&&Cn!==le&&Cn!==E){Yt=st;do{if(Wr=!1,Yt=en.indexOf(")",Yt+1),Yt===-1)if(un||eo){Yt=st;break}else Fi("bracket");for(wn=Yt;en.charCodeAt(wn-1)===Z;)wn-=1,Wr=!Wr}while(Wr);ut=["brackets",en.slice(st,Yt+1),Tr,st-Vt,Tr,Yt-Vt],st=Yt}else Yt=en.indexOf(")",st+1),Yn=en.slice(st,Yt+1),Yt===-1||Nr.test(Yn)?ut=["(","(",Tr,st-Vt]:(ut=["brackets",Yn,Tr,st-Vt,Tr,Yt-Vt],st=Yt);break;case G:case q:vr=mr===G?"'":'"',Yt=st;do{if(Wr=!1,Yt=en.indexOf(vr,Yt+1),Yt===-1)if(un||eo){Yt=st+1;break}else Fi("string");for(wn=Yt;en.charCodeAt(wn-1)===Z;)wn-=1,Wr=!Wr}while(Wr);Yn=en.slice(st,Yt+1),Jt=Yn.split(`
|
|
196
|
+
`),mi=Jt.length-1,mi>0?(Un=Tr+mi,Pn=Yt-Jt[mi].length):(Un=Tr,Pn=Vt),ut=["string",en.slice(st,Yt+1),Tr,st-Vt,Un,Yt-Pn],Vt=Pn,Tr=Un,st=Yt;break;case Ye:ct.lastIndex=st+1,ct.test(en),ct.lastIndex===0?Yt=en.length-1:Yt=ct.lastIndex-2,ut=["at-word",en.slice(st,Yt+1),Tr,st-Vt,Tr,Yt-Vt],st=Yt;break;case Z:for(Yt=st,ni=!0;en.charCodeAt(Yt+1)===Z;)Yt+=1,ni=!ni;if(mr=en.charCodeAt(Yt+1),ni&&mr!==pe&&mr!==be&&mr!==fe&&mr!==ge&&mr!==E&&mr!==le&&(Yt+=1,jr.test(en.charAt(Yt)))){for(;jr.test(en.charAt(Yt+1));)Yt+=1;en.charCodeAt(Yt+1)===be&&(Yt+=1)}ut=["word",en.slice(st,Yt+1),Tr,st-Vt,Tr,Yt-Vt],st=Yt;break;default:mr===pe&&en.charCodeAt(st+1)===Ce?(Yt=en.indexOf("*/",st+2)+1,Yt===0&&(un||eo?Yt=en.length:Fi("comment")),Yn=en.slice(st,Yt+1),Jt=Yn.split(`
|
|
197
|
+
`),mi=Jt.length-1,mi>0?(Un=Tr+mi,Pn=Yt-Jt[mi].length):(Un=Tr,Pn=Vt),ut=["comment",Yn,Tr,st-Vt,Un,Yt-Pn],Vt=Pn,Tr=Un,st=Yt):(cr.lastIndex=st+1,cr.test(en),cr.lastIndex===0?Yt=en.length-1:Yt=cr.lastIndex-2,ut=["word",en.slice(st,Yt+1),Tr,st-Vt,Tr,Yt-Vt],Xr.push(ut),st=Yt);break}return st++,ut}}function Ji(ki){zr.push(ki)}return{back:Ji,nextToken:Zi,endOfFile:si,position:ji}}te.exports=v.default}}),Ss=at({"node_modules/postcss/lib/parse.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=Z(eu()),q=Z(us());function Z(be){return be&&be.__esModule?be:{default:be}}function pe(be,le){var ge=new q.default(be,le),E=new G.default(ge);try{E.parse()}catch(g){throw g}return E.root}var fe=pe;v.default=fe,te.exports=v.default}}),wo=at({"node_modules/postcss/lib/list.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G={split:function(Z,pe,fe){for(var be=[],le="",ge=!1,E=0,g=!1,Q=!1,U=0;U<Z.length;U++){var xe=Z[U];g?Q?Q=!1:xe==="\\"?Q=!0:xe===g&&(g=!1):xe==='"'||xe==="'"?g=xe:xe==="("?E+=1:xe===")"?E>0&&(E-=1):E===0&&pe.indexOf(xe)!==-1&&(ge=!0),ge?(le!==""&&be.push(le.trim()),le="",ge=!1):le+=xe}return(fe||le!=="")&&be.push(le.trim()),be},space:function(Z){var pe=[" ",`
|
|
198
|
+
`," "];return G.split(Z,pe)},comma:function(Z){return G.split(Z,[","],!0)}},q=G;v.default=q,te.exports=v.default}}),Za=at({"node_modules/postcss/lib/rule.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=Z(ha()),q=Z(wo());function Z(E){return E&&E.__esModule?E:{default:E}}function pe(E,g){for(var Q=0;Q<g.length;Q++){var U=g[Q];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(E,U.key,U)}}function fe(E,g,Q){return g&&pe(E.prototype,g),Q&&pe(E,Q),E}function be(E,g){E.prototype=Object.create(g.prototype),E.prototype.constructor=E,E.__proto__=g}var le=function(E){be(g,E);function g(Q){var U;return U=E.call(this,Q)||this,U.type="rule",U.nodes||(U.nodes=[]),U}return fe(g,[{key:"selectors",get:function(){return q.default.comma(this.selector)},set:function(Q){var U=this.selector?this.selector.match(/,\s*/):null,xe=U?U[0]:","+this.raw("between","beforeOpen");this.selector=Q.join(xe)}}]),g}(G.default),ge=le;v.default=ge,te.exports=v.default}}),ha=at({"node_modules/postcss/lib/container.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=pe(Js()),q=pe(Io()),Z=pe(Ya());function pe(me){return me&&me.__esModule?me:{default:me}}function fe(me,je){var _e;if(typeof Symbol>"u"||me[Symbol.iterator]==null){if(Array.isArray(me)||(_e=be(me))||je&&me&&typeof me.length=="number"){_e&&(me=_e);var Ce=0;return function(){return Ce>=me.length?{done:!0}:{done:!1,value:me[Ce++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
199
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return _e=me[Symbol.iterator](),_e.next.bind(_e)}function be(me,je){if(me){if(typeof me=="string")return le(me,je);var _e=Object.prototype.toString.call(me).slice(8,-1);if(_e==="Object"&&me.constructor&&(_e=me.constructor.name),_e==="Map"||_e==="Set")return Array.from(me);if(_e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_e))return le(me,je)}}function le(me,je){(je==null||je>me.length)&&(je=me.length);for(var _e=0,Ce=new Array(je);_e<je;_e++)Ce[_e]=me[_e];return Ce}function ge(me,je){for(var _e=0;_e<je.length;_e++){var Ce=je[_e];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(me,Ce.key,Ce)}}function E(me,je,_e){return je&&ge(me.prototype,je),_e&&ge(me,_e),me}function g(me,je){me.prototype=Object.create(je.prototype),me.prototype.constructor=me,me.__proto__=je}function Q(me){return me.map(function(je){return je.nodes&&(je.nodes=Q(je.nodes)),delete je.source,je})}var U=function(me){g(je,me);function je(){return me.apply(this,arguments)||this}var _e=je.prototype;return _e.push=function(Ce){return Ce.parent=this,this.nodes.push(Ce),this},_e.each=function(Ce){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var Ke=this.lastEach;if(this.indexes[Ke]=0,!!this.nodes){for(var Ye,ct;this.indexes[Ke]<this.nodes.length&&(Ye=this.indexes[Ke],ct=Ce(this.nodes[Ye],Ye),ct!==!1);)this.indexes[Ke]+=1;return delete this.indexes[Ke],ct}},_e.walk=function(Ce){return this.each(function(Ke,Ye){var ct;try{ct=Ce(Ke,Ye)}catch(Nr){if(Nr.postcssNode=Ke,Nr.stack&&Ke.source&&/\n\s{4}at /.test(Nr.stack)){var cr=Ke.source;Nr.stack=Nr.stack.replace(/\n\s{4}at /,"$&"+cr.input.from+":"+cr.start.line+":"+cr.start.column+"$&")}throw Nr}return ct!==!1&&Ke.walk&&(ct=Ke.walk(Ce)),ct})},_e.walkDecls=function(Ce,Ke){return Ke?Ce instanceof RegExp?this.walk(function(Ye,ct){if(Ye.type==="decl"&&Ce.test(Ye.prop))return Ke(Ye,ct)}):this.walk(function(Ye,ct){if(Ye.type==="decl"&&Ye.prop===Ce)return Ke(Ye,ct)}):(Ke=Ce,this.walk(function(Ye,ct){if(Ye.type==="decl")return Ke(Ye,ct)}))},_e.walkRules=function(Ce,Ke){return Ke?Ce instanceof RegExp?this.walk(function(Ye,ct){if(Ye.type==="rule"&&Ce.test(Ye.selector))return Ke(Ye,ct)}):this.walk(function(Ye,ct){if(Ye.type==="rule"&&Ye.selector===Ce)return Ke(Ye,ct)}):(Ke=Ce,this.walk(function(Ye,ct){if(Ye.type==="rule")return Ke(Ye,ct)}))},_e.walkAtRules=function(Ce,Ke){return Ke?Ce instanceof RegExp?this.walk(function(Ye,ct){if(Ye.type==="atrule"&&Ce.test(Ye.name))return Ke(Ye,ct)}):this.walk(function(Ye,ct){if(Ye.type==="atrule"&&Ye.name===Ce)return Ke(Ye,ct)}):(Ke=Ce,this.walk(function(Ye,ct){if(Ye.type==="atrule")return Ke(Ye,ct)}))},_e.walkComments=function(Ce){return this.walk(function(Ke,Ye){if(Ke.type==="comment")return Ce(Ke,Ye)})},_e.append=function(){for(var Ce=arguments.length,Ke=new Array(Ce),Ye=0;Ye<Ce;Ye++)Ke[Ye]=arguments[Ye];for(var ct=0,cr=Ke;ct<cr.length;ct++)for(var Nr=cr[ct],jr=this.normalize(Nr,this.last),an=fe(jr),sn;!(sn=an()).done;){var xn=sn.value;this.nodes.push(xn)}return this},_e.prepend=function(){for(var Ce=arguments.length,Ke=new Array(Ce),Ye=0;Ye<Ce;Ye++)Ke[Ye]=arguments[Ye];Ke=Ke.reverse();for(var ct=fe(Ke),cr;!(cr=ct()).done;){for(var Nr=cr.value,jr=this.normalize(Nr,this.first,"prepend").reverse(),an=fe(jr),sn;!(sn=an()).done;){var xn=sn.value;this.nodes.unshift(xn)}for(var en in this.indexes)this.indexes[en]=this.indexes[en]+jr.length}return this},_e.cleanRaws=function(Ce){if(me.prototype.cleanRaws.call(this,Ce),this.nodes)for(var Ke=fe(this.nodes),Ye;!(Ye=Ke()).done;){var ct=Ye.value;ct.cleanRaws(Ce)}},_e.insertBefore=function(Ce,Ke){Ce=this.index(Ce);for(var Ye=Ce===0?"prepend":!1,ct=this.normalize(Ke,this.nodes[Ce],Ye).reverse(),cr=fe(ct),Nr;!(Nr=cr()).done;){var jr=Nr.value;this.nodes.splice(Ce,0,jr)}var an;for(var sn in this.indexes)an=this.indexes[sn],Ce<=an&&(this.indexes[sn]=an+ct.length);return this},_e.insertAfter=function(Ce,Ke){Ce=this.index(Ce);for(var Ye=this.normalize(Ke,this.nodes[Ce]).reverse(),ct=fe(Ye),cr;!(cr=ct()).done;){var Nr=cr.value;this.nodes.splice(Ce+1,0,Nr)}var jr;for(var an in this.indexes)jr=this.indexes[an],Ce<jr&&(this.indexes[an]=jr+Ye.length);return this},_e.removeChild=function(Ce){Ce=this.index(Ce),this.nodes[Ce].parent=void 0,this.nodes.splice(Ce,1);var Ke;for(var Ye in this.indexes)Ke=this.indexes[Ye],Ke>=Ce&&(this.indexes[Ye]=Ke-1);return this},_e.removeAll=function(){for(var Ce=fe(this.nodes),Ke;!(Ke=Ce()).done;){var Ye=Ke.value;Ye.parent=void 0}return this.nodes=[],this},_e.replaceValues=function(Ce,Ke,Ye){return Ye||(Ye=Ke,Ke={}),this.walkDecls(function(ct){Ke.props&&Ke.props.indexOf(ct.prop)===-1||Ke.fast&&ct.value.indexOf(Ke.fast)===-1||(ct.value=ct.value.replace(Ce,Ye))}),this},_e.every=function(Ce){return this.nodes.every(Ce)},_e.some=function(Ce){return this.nodes.some(Ce)},_e.index=function(Ce){return typeof Ce=="number"?Ce:this.nodes.indexOf(Ce)},_e.normalize=function(Ce,Ke){var Ye=this;if(typeof Ce=="string"){var ct=Ss();Ce=Q(ct(Ce).nodes)}else if(Array.isArray(Ce)){Ce=Ce.slice(0);for(var cr=fe(Ce),Nr;!(Nr=cr()).done;){var jr=Nr.value;jr.parent&&jr.parent.removeChild(jr,"ignore")}}else if(Ce.type==="root"){Ce=Ce.nodes.slice(0);for(var an=fe(Ce),sn;!(sn=an()).done;){var xn=sn.value;xn.parent&&xn.parent.removeChild(xn,"ignore")}}else if(Ce.type)Ce=[Ce];else if(Ce.prop){if(typeof Ce.value>"u")throw new Error("Value field is missed in node creation");typeof Ce.value!="string"&&(Ce.value=String(Ce.value)),Ce=[new G.default(Ce)]}else if(Ce.selector){var en=Za();Ce=[new en(Ce)]}else if(Ce.name){var un=ga();Ce=[new un(Ce)]}else if(Ce.text)Ce=[new q.default(Ce)];else throw new Error("Unknown node type in node creation");var mr=Ce.map(function(Yt){return Yt.parent&&Yt.parent.removeChild(Yt),typeof Yt.raws.before>"u"&&Ke&&typeof Ke.raws.before<"u"&&(Yt.raws.before=Ke.raws.before.replace(/[^\s]/g,"")),Yt.parent=Ye,Yt});return mr},E(je,[{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}}]),je}(Z.default),xe=U;v.default=xe,te.exports=v.default}}),ga=at({"node_modules/postcss/lib/at-rule.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=q(ha());function q(be){return be&&be.__esModule?be:{default:be}}function Z(be,le){be.prototype=Object.create(le.prototype),be.prototype.constructor=be,be.__proto__=le}var pe=function(be){Z(le,be);function le(E){var g;return g=be.call(this,E)||this,g.type="atrule",g}var ge=le.prototype;return ge.append=function(){var E;this.nodes||(this.nodes=[]);for(var g=arguments.length,Q=new Array(g),U=0;U<g;U++)Q[U]=arguments[U];return(E=be.prototype.append).call.apply(E,[this].concat(Q))},ge.prepend=function(){var E;this.nodes||(this.nodes=[]);for(var g=arguments.length,Q=new Array(g),U=0;U<g;U++)Q[U]=arguments[U];return(E=be.prototype.prepend).call.apply(E,[this].concat(Q))},le}(G.default),fe=pe;v.default=fe,te.exports=v.default}}),Cc=at({"node_modules/postcss/lib/map-generator.js"(v,te){vt(),te.exports=class{generate(){}}}}),Fs=at({"node_modules/postcss/lib/warn-once.js"(v,te){vt(),v.__esModule=!0,v.default=q;var G={};function q(Z){G[Z]||(G[Z]=!0,typeof console<"u"&&console.warn&&console.warn(Z))}te.exports=v.default}}),zi=at({"node_modules/postcss/lib/warning.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=function(){function Z(fe,be){if(be===void 0&&(be={}),this.type="warning",this.text=fe,be.node&&be.node.source){var le=be.node.positionBy(be);this.line=le.line,this.column=le.column}for(var ge in be)this[ge]=be[ge]}var pe=Z.prototype;return pe.toString=function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},Z}(),q=G;v.default=q,te.exports=v.default}}),ma=at({"node_modules/postcss/lib/result.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=q(zi());function q(le){return le&&le.__esModule?le:{default:le}}function Z(le,ge){for(var E=0;E<ge.length;E++){var g=ge[E];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(le,g.key,g)}}function pe(le,ge,E){return ge&&Z(le.prototype,ge),E&&Z(le,E),le}var fe=function(){function le(E,g,Q){this.processor=E,this.messages=[],this.root=g,this.opts=Q,this.css=void 0,this.map=void 0}var ge=le.prototype;return ge.toString=function(){return this.css},ge.warn=function(E,g){g===void 0&&(g={}),g.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(g.plugin=this.lastPlugin.postcssPlugin);var Q=new G.default(E,g);return this.messages.push(Q),Q},ge.warnings=function(){return this.messages.filter(function(E){return E.type==="warning"})},pe(le,[{key:"content",get:function(){return this.css}}]),le}(),be=fe;v.default=be,te.exports=v.default}}),Zu=at({"node_modules/postcss/lib/lazy-result.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=fe(Cc()),q=fe(qs());fe(Fs());var Z=fe(ma()),pe=fe(Ss());function fe(me){return me&&me.__esModule?me:{default:me}}function be(me,je){var _e;if(typeof Symbol>"u"||me[Symbol.iterator]==null){if(Array.isArray(me)||(_e=le(me))||je&&me&&typeof me.length=="number"){_e&&(me=_e);var Ce=0;return function(){return Ce>=me.length?{done:!0}:{done:!1,value:me[Ce++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
200
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return _e=me[Symbol.iterator](),_e.next.bind(_e)}function le(me,je){if(me){if(typeof me=="string")return ge(me,je);var _e=Object.prototype.toString.call(me).slice(8,-1);if(_e==="Object"&&me.constructor&&(_e=me.constructor.name),_e==="Map"||_e==="Set")return Array.from(me);if(_e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_e))return ge(me,je)}}function ge(me,je){(je==null||je>me.length)&&(je=me.length);for(var _e=0,Ce=new Array(je);_e<je;_e++)Ce[_e]=me[_e];return Ce}function E(me,je){for(var _e=0;_e<je.length;_e++){var Ce=je[_e];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(me,Ce.key,Ce)}}function g(me,je,_e){return je&&E(me.prototype,je),_e&&E(me,_e),me}function Q(me){return typeof me=="object"&&typeof me.then=="function"}var U=function(){function me(_e,Ce,Ke){this.stringified=!1,this.processed=!1;var Ye;if(typeof Ce=="object"&&Ce!==null&&Ce.type==="root")Ye=Ce;else if(Ce instanceof me||Ce instanceof Z.default)Ye=Ce.root,Ce.map&&(typeof Ke.map>"u"&&(Ke.map={}),Ke.map.inline||(Ke.map.inline=!1),Ke.map.prev=Ce.map);else{var ct=pe.default;Ke.syntax&&(ct=Ke.syntax.parse),Ke.parser&&(ct=Ke.parser),ct.parse&&(ct=ct.parse);try{Ye=ct(Ce,Ke)}catch(cr){this.error=cr}}this.result=new Z.default(_e,Ye,Ke)}var je=me.prototype;return je.warnings=function(){return this.sync().warnings()},je.toString=function(){return this.css},je.then=function(_e,Ce){return this.async().then(_e,Ce)},je.catch=function(_e){return this.async().catch(_e)},je.finally=function(_e){return this.async().then(_e,_e)},je.handleError=function(_e,Ce){try{if(this.error=_e,_e.name==="CssSyntaxError"&&!_e.plugin)_e.plugin=Ce.postcssPlugin,_e.setMessage();else if(Ce.postcssVersion&&!1)var Ke,Ye,ct,cr,Nr}catch(jr){console&&console.error&&console.error(jr)}},je.asyncTick=function(_e,Ce){var Ke=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,_e();try{var Ye=this.processor.plugins[this.plugin],ct=this.run(Ye);this.plugin+=1,Q(ct)?ct.then(function(){Ke.asyncTick(_e,Ce)}).catch(function(cr){Ke.handleError(cr,Ye),Ke.processed=!0,Ce(cr)}):this.asyncTick(_e,Ce)}catch(cr){this.processed=!0,Ce(cr)}},je.async=function(){var _e=this;return this.processed?new Promise(function(Ce,Ke){_e.error?Ke(_e.error):Ce(_e.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(Ce,Ke){if(_e.error)return Ke(_e.error);_e.plugin=0,_e.asyncTick(Ce,Ke)}).then(function(){return _e.processed=!0,_e.stringify()}),this.processing)},je.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;for(var _e=be(this.result.processor.plugins),Ce;!(Ce=_e()).done;){var Ke=Ce.value,Ye=this.run(Ke);if(Q(Ye))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},je.run=function(_e){this.result.lastPlugin=_e;try{return _e(this.result.root,this.result)}catch(Ce){throw this.handleError(Ce,_e),Ce}},je.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var _e=this.result.opts,Ce=q.default;_e.syntax&&(Ce=_e.syntax.stringify),_e.stringifier&&(Ce=_e.stringifier),Ce.stringify&&(Ce=Ce.stringify);var Ke=new G.default(Ce,this.result.root,this.result.opts),Ye=Ke.generate();return this.result.css=Ye[0],this.result.map=Ye[1],this.result},g(me,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]),me}(),xe=U;v.default=xe,te.exports=v.default}}),Tl=at({"node_modules/postcss/lib/processor.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=q(Zu());function q(ge){return ge&&ge.__esModule?ge:{default:ge}}function Z(ge,E){var g;if(typeof Symbol>"u"||ge[Symbol.iterator]==null){if(Array.isArray(ge)||(g=pe(ge))||E&&ge&&typeof ge.length=="number"){g&&(ge=g);var Q=0;return function(){return Q>=ge.length?{done:!0}:{done:!1,value:ge[Q++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
201
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return g=ge[Symbol.iterator](),g.next.bind(g)}function pe(ge,E){if(ge){if(typeof ge=="string")return fe(ge,E);var g=Object.prototype.toString.call(ge).slice(8,-1);if(g==="Object"&&ge.constructor&&(g=ge.constructor.name),g==="Map"||g==="Set")return Array.from(ge);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return fe(ge,E)}}function fe(ge,E){(E==null||E>ge.length)&&(E=ge.length);for(var g=0,Q=new Array(E);g<E;g++)Q[g]=ge[g];return Q}var be=function(){function ge(g){g===void 0&&(g=[]),this.version="7.0.39",this.plugins=this.normalize(g)}var E=ge.prototype;return E.use=function(g){return this.plugins=this.plugins.concat(this.normalize([g])),this},E.process=function(g){function Q(U){return g.apply(this,arguments)}return Q.toString=function(){return g.toString()},Q}(function(g,Q){return Q===void 0&&(Q={}),this.plugins.length===0&&(Q.parser,Q.stringifier),new G.default(this,g,Q)}),E.normalize=function(g){for(var Q=[],U=Z(g),xe;!(xe=U()).done;){var me=xe.value;if(me.postcss===!0){var je=me();throw new Error("PostCSS plugin "+je.postcssPlugin+` requires PostCSS 8.
|
|
202
|
+
Migration guide for end-users:
|
|
203
|
+
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`)}if(me.postcss&&(me=me.postcss),typeof me=="object"&&Array.isArray(me.plugins))Q=Q.concat(me.plugins);else if(typeof me=="function")Q.push(me);else if(!(typeof me=="object"&&(me.parse||me.stringify)))throw typeof me=="object"&&me.postcssPlugin?new Error("PostCSS plugin "+me.postcssPlugin+` requires PostCSS 8.
|
|
204
|
+
Migration guide for end-users:
|
|
205
|
+
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):new Error(me+" is not a PostCSS plugin")}return Q},ge}(),le=be;v.default=le,te.exports=v.default}}),Ec=at({"node_modules/postcss/lib/root.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=q(ha());function q(E){return E&&E.__esModule?E:{default:E}}function Z(E,g){var Q;if(typeof Symbol>"u"||E[Symbol.iterator]==null){if(Array.isArray(E)||(Q=pe(E))||g&&E&&typeof E.length=="number"){Q&&(E=Q);var U=0;return function(){return U>=E.length?{done:!0}:{done:!1,value:E[U++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
206
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Q=E[Symbol.iterator](),Q.next.bind(Q)}function pe(E,g){if(E){if(typeof E=="string")return fe(E,g);var Q=Object.prototype.toString.call(E).slice(8,-1);if(Q==="Object"&&E.constructor&&(Q=E.constructor.name),Q==="Map"||Q==="Set")return Array.from(E);if(Q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Q))return fe(E,g)}}function fe(E,g){(g==null||g>E.length)&&(g=E.length);for(var Q=0,U=new Array(g);Q<g;Q++)U[Q]=E[Q];return U}function be(E,g){E.prototype=Object.create(g.prototype),E.prototype.constructor=E,E.__proto__=g}var le=function(E){be(g,E);function g(U){var xe;return xe=E.call(this,U)||this,xe.type="root",xe.nodes||(xe.nodes=[]),xe}var Q=g.prototype;return Q.removeChild=function(U,xe){var me=this.index(U);return!xe&&me===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[me].raws.before),E.prototype.removeChild.call(this,U)},Q.normalize=function(U,xe,me){var je=E.prototype.normalize.call(this,U);if(xe){if(me==="prepend")this.nodes.length>1?xe.raws.before=this.nodes[1].raws.before:delete xe.raws.before;else if(this.first!==xe)for(var _e=Z(je),Ce;!(Ce=_e()).done;){var Ke=Ce.value;Ke.raws.before=xe.raws.before}}return je},Q.toResult=function(U){U===void 0&&(U={});var xe=Zu(),me=Tl(),je=new xe(new me,this,U);return je.stringify()},g}(G.default),ge=le;v.default=ge,te.exports=v.default}}),eu=at({"node_modules/postcss/lib/parser.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=le(Js()),q=le(Ro()),Z=le(Io()),pe=le(ga()),fe=le(Ec()),be=le(Za());function le(E){return E&&E.__esModule?E:{default:E}}var ge=function(){function E(Q){this.input=Q,this.root=new fe.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:Q,start:{line:1,column:1}}}var g=E.prototype;return g.createTokenizer=function(){this.tokenizer=(0,q.default)(this.input)},g.parse=function(){for(var Q;!this.tokenizer.endOfFile();)switch(Q=this.tokenizer.nextToken(),Q[0]){case"space":this.spaces+=Q[1];break;case";":this.freeSemicolon(Q);break;case"}":this.end(Q);break;case"comment":this.comment(Q);break;case"at-word":this.atrule(Q);break;case"{":this.emptyRule(Q);break;default:this.other(Q);break}this.endFile()},g.comment=function(Q){var U=new Z.default;this.init(U,Q[2],Q[3]),U.source.end={line:Q[4],column:Q[5]};var xe=Q[1].slice(2,-2);if(/^\s*$/.test(xe))U.text="",U.raws.left=xe,U.raws.right="";else{var me=xe.match(/^(\s*)([^]*[^\s])(\s*)$/);U.text=me[2],U.raws.left=me[1],U.raws.right=me[3]}},g.emptyRule=function(Q){var U=new be.default;this.init(U,Q[2],Q[3]),U.selector="",U.raws.between="",this.current=U},g.other=function(Q){for(var U=!1,xe=null,me=!1,je=null,_e=[],Ce=[],Ke=Q;Ke;){if(xe=Ke[0],Ce.push(Ke),xe==="("||xe==="[")je||(je=Ke),_e.push(xe==="("?")":"]");else if(_e.length===0)if(xe===";")if(me){this.decl(Ce);return}else break;else if(xe==="{"){this.rule(Ce);return}else if(xe==="}"){this.tokenizer.back(Ce.pop()),U=!0;break}else xe===":"&&(me=!0);else xe===_e[_e.length-1]&&(_e.pop(),_e.length===0&&(je=null));Ke=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(U=!0),_e.length>0&&this.unclosedBracket(je),U&&me){for(;Ce.length&&(Ke=Ce[Ce.length-1][0],!(Ke!=="space"&&Ke!=="comment"));)this.tokenizer.back(Ce.pop());this.decl(Ce)}else this.unknownWord(Ce)},g.rule=function(Q){Q.pop();var U=new be.default;this.init(U,Q[0][2],Q[0][3]),U.raws.between=this.spacesAndCommentsFromEnd(Q),this.raw(U,"selector",Q),this.current=U},g.decl=function(Q){var U=new G.default;this.init(U);var xe=Q[Q.length-1];for(xe[0]===";"&&(this.semicolon=!0,Q.pop()),xe[4]?U.source.end={line:xe[4],column:xe[5]}:U.source.end={line:xe[2],column:xe[3]};Q[0][0]!=="word";)Q.length===1&&this.unknownWord(Q),U.raws.before+=Q.shift()[1];for(U.source.start={line:Q[0][2],column:Q[0][3]},U.prop="";Q.length;){var me=Q[0][0];if(me===":"||me==="space"||me==="comment")break;U.prop+=Q.shift()[1]}U.raws.between="";for(var je;Q.length;)if(je=Q.shift(),je[0]===":"){U.raws.between+=je[1];break}else je[0]==="word"&&/\w/.test(je[1])&&this.unknownWord([je]),U.raws.between+=je[1];(U.prop[0]==="_"||U.prop[0]==="*")&&(U.raws.before+=U.prop[0],U.prop=U.prop.slice(1)),U.raws.between+=this.spacesAndCommentsFromStart(Q),this.precheckMissedSemicolon(Q);for(var _e=Q.length-1;_e>0;_e--){if(je=Q[_e],je[1].toLowerCase()==="!important"){U.important=!0;var Ce=this.stringFrom(Q,_e);Ce=this.spacesFromEnd(Q)+Ce,Ce!==" !important"&&(U.raws.important=Ce);break}else if(je[1].toLowerCase()==="important"){for(var Ke=Q.slice(0),Ye="",ct=_e;ct>0;ct--){var cr=Ke[ct][0];if(Ye.trim().indexOf("!")===0&&cr!=="space")break;Ye=Ke.pop()[1]+Ye}Ye.trim().indexOf("!")===0&&(U.important=!0,U.raws.important=Ye,Q=Ke)}if(je[0]!=="space"&&je[0]!=="comment")break}this.raw(U,"value",Q),U.value.indexOf(":")!==-1&&this.checkMissedSemicolon(Q)},g.atrule=function(Q){var U=new pe.default;U.name=Q[1].slice(1),U.name===""&&this.unnamedAtrule(U,Q),this.init(U,Q[2],Q[3]);for(var xe,me,je=!1,_e=!1,Ce=[];!this.tokenizer.endOfFile();){if(Q=this.tokenizer.nextToken(),Q[0]===";"){U.source.end={line:Q[2],column:Q[3]},this.semicolon=!0;break}else if(Q[0]==="{"){_e=!0;break}else if(Q[0]==="}"){if(Ce.length>0){for(me=Ce.length-1,xe=Ce[me];xe&&xe[0]==="space";)xe=Ce[--me];xe&&(U.source.end={line:xe[4],column:xe[5]})}this.end(Q);break}else Ce.push(Q);if(this.tokenizer.endOfFile()){je=!0;break}}U.raws.between=this.spacesAndCommentsFromEnd(Ce),Ce.length?(U.raws.afterName=this.spacesAndCommentsFromStart(Ce),this.raw(U,"params",Ce),je&&(Q=Ce[Ce.length-1],U.source.end={line:Q[4],column:Q[5]},this.spaces=U.raws.between,U.raws.between="")):(U.raws.afterName="",U.params=""),_e&&(U.nodes=[],this.current=U)},g.end=function(Q){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end={line:Q[2],column:Q[3]},this.current=this.current.parent):this.unexpectedClose(Q)},g.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces},g.freeSemicolon=function(Q){if(this.spaces+=Q[1],this.current.nodes){var U=this.current.nodes[this.current.nodes.length-1];U&&U.type==="rule"&&!U.raws.ownSemicolon&&(U.raws.ownSemicolon=this.spaces,this.spaces="")}},g.init=function(Q,U,xe){this.current.push(Q),Q.source={start:{line:U,column:xe},input:this.input},Q.raws.before=this.spaces,this.spaces="",Q.type!=="comment"&&(this.semicolon=!1)},g.raw=function(Q,U,xe){for(var me,je,_e=xe.length,Ce="",Ke=!0,Ye,ct,cr=/^([.|#])?([\w])+/i,Nr=0;Nr<_e;Nr+=1){if(me=xe[Nr],je=me[0],je==="comment"&&Q.type==="rule"){ct=xe[Nr-1],Ye=xe[Nr+1],ct[0]!=="space"&&Ye[0]!=="space"&&cr.test(ct[1])&&cr.test(Ye[1])?Ce+=me[1]:Ke=!1;continue}je==="comment"||je==="space"&&Nr===_e-1?Ke=!1:Ce+=me[1]}if(!Ke){var jr=xe.reduce(function(an,sn){return an+sn[1]},"");Q.raws[U]={value:Ce,raw:jr}}Q[U]=Ce},g.spacesAndCommentsFromEnd=function(Q){for(var U,xe="";Q.length&&(U=Q[Q.length-1][0],!(U!=="space"&&U!=="comment"));)xe=Q.pop()[1]+xe;return xe},g.spacesAndCommentsFromStart=function(Q){for(var U,xe="";Q.length&&(U=Q[0][0],!(U!=="space"&&U!=="comment"));)xe+=Q.shift()[1];return xe},g.spacesFromEnd=function(Q){for(var U,xe="";Q.length&&(U=Q[Q.length-1][0],U==="space");)xe=Q.pop()[1]+xe;return xe},g.stringFrom=function(Q,U){for(var xe="",me=U;me<Q.length;me++)xe+=Q[me][1];return Q.splice(U,Q.length-U),xe},g.colon=function(Q){for(var U=0,xe,me,je,_e=0;_e<Q.length;_e++){if(xe=Q[_e],me=xe[0],me==="("&&(U+=1),me===")"&&(U-=1),U===0&&me===":")if(!je)this.doubleColon(xe);else{if(je[0]==="word"&&je[1]==="progid")continue;return _e}je=xe}return!1},g.unclosedBracket=function(Q){throw this.input.error("Unclosed bracket",Q[2],Q[3])},g.unknownWord=function(Q){throw this.input.error("Unknown word",Q[0][2],Q[0][3])},g.unexpectedClose=function(Q){throw this.input.error("Unexpected }",Q[2],Q[3])},g.unclosedBlock=function(){var Q=this.current.source.start;throw this.input.error("Unclosed block",Q.line,Q.column)},g.doubleColon=function(Q){throw this.input.error("Double colon",Q[2],Q[3])},g.unnamedAtrule=function(Q,U){throw this.input.error("At-rule without name",U[2],U[3])},g.precheckMissedSemicolon=function(){},g.checkMissedSemicolon=function(Q){var U=this.colon(Q);if(U!==!1){for(var xe=0,me,je=U-1;je>=0&&(me=Q[je],!(me[0]!=="space"&&(xe+=1,xe===2)));je--);throw this.input.error("Missed semicolon",me[2],me[3])}},E}();v.default=ge,te.exports=v.default}}),ya=at({"node_modules/postcss-less/lib/nodes/inline-comment.js"(v,te){vt();var G=Ro(),q=us();te.exports={isInlineComment(Z){if(Z[0]==="word"&&Z[1].slice(0,2)==="//"){let pe=Z,fe=[],be;for(;Z;){if(/\r?\n/.test(Z[1])){if(/['"].*\r?\n/.test(Z[1])){fe.push(Z[1].substring(0,Z[1].indexOf(`
|
|
207
|
+
`)));let ge=Z[1].substring(Z[1].indexOf(`
|
|
208
|
+
`));ge+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new q(ge),this.tokenizer=G(this.input)}else this.tokenizer.back(Z);break}fe.push(Z[1]),be=Z,Z=this.tokenizer.nextToken({ignoreUnclosed:!0})}let le=["comment",fe.join(""),pe[2],pe[3],be[2],be[3]];return this.inlineComment(le),!0}else if(Z[1]==="/"){let pe=this.tokenizer.nextToken({ignoreUnclosed:!0});if(pe[0]==="comment"&&/^\/\*/.test(pe[1]))return pe[0]="word",pe[1]=pe[1].slice(1),Z[1]="//",this.tokenizer.back(pe),te.exports.isInlineComment.bind(this)(Z)}return!1}}}}),Wi=at({"node_modules/postcss-less/lib/nodes/interpolation.js"(v,te){vt(),te.exports={interpolation(G){let q=G,Z=[G],pe=["word","{","}"];if(G=this.tokenizer.nextToken(),q[1].length>1||G[0]!=="{")return this.tokenizer.back(G),!1;for(;G&&pe.includes(G[0]);)Z.push(G),G=this.tokenizer.nextToken();let fe=Z.map(g=>g[1]);[q]=Z;let be=Z.pop(),le=[q[2],q[3]],ge=[be[4]||be[2],be[5]||be[3]],E=["word",fe.join("")].concat(le,ge);return this.tokenizer.back(G),this.tokenizer.back(E),!0}}}}),Ei=at({"node_modules/postcss-less/lib/nodes/mixin.js"(v,te){vt();var G=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,q=/\.[0-9]/,Z=pe=>{let[,fe]=pe,[be]=fe;return(be==="."||be==="#")&&G.test(fe)===!1&&q.test(fe)===!1};te.exports={isMixinToken:Z}}}),Oi=at({"node_modules/postcss-less/lib/nodes/import.js"(v,te){vt();var G=Ro(),q=/^url\((.+)\)/;te.exports=Z=>{let{name:pe,params:fe=""}=Z;if(pe==="import"&&fe.length){Z.import=!0;let be=G({css:fe});for(Z.filename=fe.replace(q,"$1");!be.endOfFile();){let[le,ge]=be.nextToken();if(le==="word"&&ge==="url")return;if(le==="brackets"){Z.options=ge,Z.filename=fe.replace(ge,"").trim();break}}}}}}),vi=at({"node_modules/postcss-less/lib/nodes/variable.js"(v,te){vt();var G=/:$/,q=/^:(\s+)?/;te.exports=Z=>{let{name:pe,params:fe=""}=Z;if(Z.name.slice(-1)===":"){if(G.test(pe)){let[be]=pe.match(G);Z.name=pe.replace(be,""),Z.raws.afterName=be+(Z.raws.afterName||""),Z.variable=!0,Z.value=Z.params}if(q.test(fe)){let[be]=fe.match(q);Z.value=fe.replace(be,""),Z.raws.afterName=(Z.raws.afterName||"")+be,Z.variable=!0}}}}}),ls=at({"node_modules/postcss-less/lib/LessParser.js"(v,te){vt();var G=Io(),q=eu(),{isInlineComment:Z}=ya(),{interpolation:pe}=Wi(),{isMixinToken:fe}=Ei(),be=Oi(),le=vi(),ge=/(!\s*important)$/i;te.exports=class extends q{constructor(){super(...arguments),this.lastNode=null}atrule(E){pe.bind(this)(E)||(super.atrule(E),be(this.lastNode),le(this.lastNode))}decl(){super.decl(...arguments),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(E){E[0][1]=" ".concat(E[0][1]);let g=E.findIndex(me=>me[0]==="("),Q=E.reverse().find(me=>me[0]===")"),U=E.reverse().indexOf(Q),xe=E.splice(g,U).map(me=>me[1]).join("");for(let me of E.reverse())this.tokenizer.back(me);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=xe}init(E,g,Q){super.init(E,g,Q),this.lastNode=E}inlineComment(E){let g=new G,Q=E[1].slice(2);if(this.init(g,E[2],E[3]),g.source.end={line:E[4],column:E[5]},g.inline=!0,g.raws.begin="//",/^\s*$/.test(Q))g.text="",g.raws.left=Q,g.raws.right="";else{let U=Q.match(/^(\s*)([^]*[^\s])(\s*)$/);[,g.raws.left,g.text,g.raws.right]=U}}mixin(E){let[g]=E,Q=g[1].slice(0,1),U=E.findIndex(Ce=>Ce[0]==="brackets"),xe=E.findIndex(Ce=>Ce[0]==="("),me="";if((U<0||U>3)&&xe>0){let Ce=E.reduce((xn,en,un)=>en[0]===")"?un:xn),Ke=E.slice(xe,Ce+xe).map(xn=>xn[1]).join(""),[Ye]=E.slice(xe),ct=[Ye[2],Ye[3]],[cr]=E.slice(Ce,Ce+1),Nr=[cr[2],cr[3]],jr=["brackets",Ke].concat(ct,Nr),an=E.slice(0,xe),sn=E.slice(Ce+1);E=an,E.push(jr),E=E.concat(sn)}let je=[];for(let Ce of E)if((Ce[1]==="!"||je.length)&&je.push(Ce),Ce[1]==="important")break;if(je.length){let[Ce]=je,Ke=E.indexOf(Ce),Ye=je[je.length-1],ct=[Ce[2],Ce[3]],cr=[Ye[4],Ye[5]],Nr=je.map(an=>an[1]).join(""),jr=["word",Nr].concat(ct,cr);E.splice(Ke,je.length,jr)}let _e=E.findIndex(Ce=>ge.test(Ce[1]));_e>0&&([,me]=E[_e],E.splice(_e,1));for(let Ce of E.reverse())this.tokenizer.back(Ce);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=Q,me&&(this.lastNode.important=!0,this.lastNode.raws.important=me)}other(E){Z.bind(this)(E)||super.other(E)}rule(E){let g=E[E.length-1],Q=E[E.length-2];if(Q[0]==="at-word"&&g[0]==="{"&&(this.tokenizer.back(g),pe.bind(this)(Q))){let U=this.tokenizer.nextToken();E=E.slice(0,E.length-2).concat([U]);for(let xe of E.reverse())this.tokenizer.back(xe);return}super.rule(E),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(E){let[g]=E;if(E[0][1]==="each"&&E[1][0]==="("){this.each(E);return}if(fe(g)){this.mixin(E);return}super.unknownWord(E)}}}}),el=at({"node_modules/postcss-less/lib/LessStringifier.js"(v,te){vt();var G=da();te.exports=class extends G{atrule(q,Z){if(!q.mixin&&!q.variable&&!q.function){super.atrule(q,Z);return}let pe=q.function?"":q.raws.identifier||"@",fe="".concat(pe).concat(q.name),be=q.params?this.rawValue(q,"params"):"",le=q.raws.important||"";if(q.variable&&(be=q.value),typeof q.raws.afterName<"u"?fe+=q.raws.afterName:be&&(fe+=" "),q.nodes)this.block(q,fe+be+le);else{let ge=(q.raws.between||"")+le+(Z?";":"");this.builder(fe+be+ge,q)}}comment(q){if(q.inline){let Z=this.raw(q,"left","commentLeft"),pe=this.raw(q,"right","commentRight");this.builder("//".concat(Z).concat(q.text).concat(pe),q)}else super.comment(q)}}}}),cs=at({"node_modules/postcss-less/lib/index.js"(v,te){vt();var G=us(),q=ls(),Z=el();te.exports={parse(pe,fe){let be=new G(pe,fe),le=new q(be);return le.parse(),le.root},stringify(pe,fe){new Z(fe).stringify(pe)},nodeToString(pe){let fe="";return te.exports.stringify(pe,be=>{fe+=be}),fe}}}}),_l=at({"node_modules/postcss-scss/lib/scss-stringifier.js"(v,te){vt();function G(pe,fe){pe.prototype=Object.create(fe.prototype),pe.prototype.constructor=pe,pe.__proto__=fe}var q=da(),Z=function(pe){G(fe,pe);function fe(){return pe.apply(this,arguments)||this}var be=fe.prototype;return be.comment=function(le){var ge=this.raw(le,"left","commentLeft"),E=this.raw(le,"right","commentRight");if(le.raws.inline){var g=le.raws.text||le.text;this.builder("//"+ge+g+E,le)}else this.builder("/*"+ge+le.text+E+"*/",le)},be.decl=function(le,ge){if(!le.isNested)pe.prototype.decl.call(this,le,ge);else{var E=this.raw(le,"between","colon"),g=le.prop+E+this.rawValue(le,"value");le.important&&(g+=le.raws.important||" !important"),this.builder(g+"{",le,"start");var Q;le.nodes&&le.nodes.length?(this.body(le),Q=this.raw(le,"after")):Q=this.raw(le,"after","emptyBody"),Q&&this.builder(Q),this.builder("}",le,"end")}},be.rawValue=function(le,ge){var E=le[ge],g=le.raws[ge];return g&&g.value===E?g.scss?g.scss:g.raw:E},fe}(q);te.exports=Z}}),Nl=at({"node_modules/postcss-scss/lib/scss-stringify.js"(v,te){vt();var G=_l();te.exports=function(q,Z){var pe=new G(Z);pe.stringify(q)}}}),tl=at({"node_modules/postcss-scss/lib/nested-declaration.js"(v,te){vt();function G(pe,fe){pe.prototype=Object.create(fe.prototype),pe.prototype.constructor=pe,pe.__proto__=fe}var q=ha(),Z=function(pe){G(fe,pe);function fe(be){var le;return le=pe.call(this,be)||this,le.type="decl",le.isNested=!0,le.nodes||(le.nodes=[]),le}return fe}(q);te.exports=Z}}),rl=at({"node_modules/postcss-scss/lib/scss-tokenize.js"(v,te){vt();var G="'".charCodeAt(0),q='"'.charCodeAt(0),Z="\\".charCodeAt(0),pe="/".charCodeAt(0),fe=`
|
|
209
|
+
`.charCodeAt(0),be=" ".charCodeAt(0),le="\f".charCodeAt(0),ge=" ".charCodeAt(0),E="\r".charCodeAt(0),g="[".charCodeAt(0),Q="]".charCodeAt(0),U="(".charCodeAt(0),xe=")".charCodeAt(0),me="{".charCodeAt(0),je="}".charCodeAt(0),_e=";".charCodeAt(0),Ce="*".charCodeAt(0),Ke=":".charCodeAt(0),Ye="@".charCodeAt(0),ct=",".charCodeAt(0),cr="#".charCodeAt(0),Nr=/[ \n\t\r\f{}()'"\\;/[\]#]/g,jr=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,an=/.[\\/("'\n]/,sn=/[a-f0-9]/i,xn=/[\r\f\n]/g;te.exports=function(en,un){un===void 0&&(un={});var mr=en.css.valueOf(),Yt=un.ignoreErrors,vr,Jt,mi,Yn,ni,Un,Pn,Wr,wn,dn,Cn,ut,jt,Vt,Tr=mr.length,st=-1,Xr=1,zr=0,ji=[],Fi=[];function si(Mi){throw en.error("Unclosed "+Mi,Xr,zr-st)}function Zi(){return Fi.length===0&&zr>=Tr}function Ji(){for(var Mi=1,wi=!1,Ti=!1;Mi>0;)Jt+=1,mr.length<=Jt&&si("interpolation"),vr=mr.charCodeAt(Jt),ut=mr.charCodeAt(Jt+1),wi?!Ti&&vr===wi?(wi=!1,Ti=!1):vr===Z?Ti=!dn:Ti&&(Ti=!1):vr===G||vr===q?wi=vr:vr===je?Mi-=1:vr===cr&&ut===me&&(Mi+=1)}function ki(){if(Fi.length)return Fi.pop();if(!(zr>=Tr)){switch(vr=mr.charCodeAt(zr),(vr===fe||vr===le||vr===E&&mr.charCodeAt(zr+1)!==fe)&&(st=zr,Xr+=1),vr){case fe:case be:case ge:case E:case le:Jt=zr;do Jt+=1,vr=mr.charCodeAt(Jt),vr===fe&&(st=Jt,Xr+=1);while(vr===be||vr===fe||vr===ge||vr===E||vr===le);jt=["space",mr.slice(zr,Jt)],zr=Jt-1;break;case g:jt=["[","[",Xr,zr-st];break;case Q:jt=["]","]",Xr,zr-st];break;case me:jt=["{","{",Xr,zr-st];break;case je:jt=["}","}",Xr,zr-st];break;case ct:jt=["word",",",Xr,zr-st,Xr,zr-st+1];break;case Ke:jt=[":",":",Xr,zr-st];break;case _e:jt=[";",";",Xr,zr-st];break;case U:if(Cn=ji.length?ji.pop()[1]:"",ut=mr.charCodeAt(zr+1),Cn==="url"&&ut!==G&&ut!==q){for(Vt=1,dn=!1,Jt=zr+1;Jt<=mr.length-1;){if(ut=mr.charCodeAt(Jt),ut===Z)dn=!dn;else if(ut===U)Vt+=1;else if(ut===xe&&(Vt-=1,Vt===0))break;Jt+=1}Un=mr.slice(zr,Jt+1),Yn=Un.split(`
|
|
210
|
+
`),ni=Yn.length-1,ni>0?(Wr=Xr+ni,wn=Jt-Yn[ni].length):(Wr=Xr,wn=st),jt=["brackets",Un,Xr,zr-st,Wr,Jt-wn],st=wn,Xr=Wr,zr=Jt}else Jt=mr.indexOf(")",zr+1),Un=mr.slice(zr,Jt+1),Jt===-1||an.test(Un)?jt=["(","(",Xr,zr-st]:(jt=["brackets",Un,Xr,zr-st,Xr,Jt-st],zr=Jt);break;case xe:jt=[")",")",Xr,zr-st];break;case G:case q:for(mi=vr,Jt=zr,dn=!1;Jt<Tr&&(Jt++,Jt===Tr&&si("string"),vr=mr.charCodeAt(Jt),ut=mr.charCodeAt(Jt+1),!(!dn&&vr===mi));)vr===Z?dn=!dn:dn?dn=!1:vr===cr&&ut===me&&Ji();Un=mr.slice(zr,Jt+1),Yn=Un.split(`
|
|
211
|
+
`),ni=Yn.length-1,ni>0?(Wr=Xr+ni,wn=Jt-Yn[ni].length):(Wr=Xr,wn=st),jt=["string",mr.slice(zr,Jt+1),Xr,zr-st,Wr,Jt-wn],st=wn,Xr=Wr,zr=Jt;break;case Ye:Nr.lastIndex=zr+1,Nr.test(mr),Nr.lastIndex===0?Jt=mr.length-1:Jt=Nr.lastIndex-2,jt=["at-word",mr.slice(zr,Jt+1),Xr,zr-st,Xr,Jt-st],zr=Jt;break;case Z:for(Jt=zr,Pn=!0;mr.charCodeAt(Jt+1)===Z;)Jt+=1,Pn=!Pn;if(vr=mr.charCodeAt(Jt+1),Pn&&vr!==pe&&vr!==be&&vr!==fe&&vr!==ge&&vr!==E&&vr!==le&&(Jt+=1,sn.test(mr.charAt(Jt)))){for(;sn.test(mr.charAt(Jt+1));)Jt+=1;mr.charCodeAt(Jt+1)===be&&(Jt+=1)}jt=["word",mr.slice(zr,Jt+1),Xr,zr-st,Xr,Jt-st],zr=Jt;break;default:ut=mr.charCodeAt(zr+1),vr===cr&&ut===me?(Jt=zr,Ji(),Un=mr.slice(zr,Jt+1),Yn=Un.split(`
|
|
212
|
+
`),ni=Yn.length-1,ni>0?(Wr=Xr+ni,wn=Jt-Yn[ni].length):(Wr=Xr,wn=st),jt=["word",Un,Xr,zr-st,Wr,Jt-wn],st=wn,Xr=Wr,zr=Jt):vr===pe&&ut===Ce?(Jt=mr.indexOf("*/",zr+2)+1,Jt===0&&(Yt?Jt=mr.length:si("comment")),Un=mr.slice(zr,Jt+1),Yn=Un.split(`
|
|
213
|
+
`),ni=Yn.length-1,ni>0?(Wr=Xr+ni,wn=Jt-Yn[ni].length):(Wr=Xr,wn=st),jt=["comment",Un,Xr,zr-st,Wr,Jt-wn],st=wn,Xr=Wr,zr=Jt):vr===pe&&ut===pe?(xn.lastIndex=zr+1,xn.test(mr),xn.lastIndex===0?Jt=mr.length-1:Jt=xn.lastIndex-2,Un=mr.slice(zr,Jt+1),jt=["comment",Un,Xr,zr-st,Xr,Jt-st,"inline"],zr=Jt):(jr.lastIndex=zr+1,jr.test(mr),jr.lastIndex===0?Jt=mr.length-1:Jt=jr.lastIndex-2,jt=["word",mr.slice(zr,Jt+1),Xr,zr-st,Xr,Jt-st],ji.push(jt),zr=Jt);break}return zr++,jt}}function eo(Mi){Fi.push(Mi)}return{back:eo,nextToken:ki,endOfFile:Zi}}}}),Bl=at({"node_modules/postcss-scss/lib/scss-parser.js"(v,te){vt();function G(le,ge){le.prototype=Object.create(ge.prototype),le.prototype.constructor=le,le.__proto__=ge}var q=Io(),Z=eu(),pe=tl(),fe=rl(),be=function(le){G(ge,le);function ge(){return le.apply(this,arguments)||this}var E=ge.prototype;return E.createTokenizer=function(){this.tokenizer=fe(this.input)},E.rule=function(g){for(var Q=!1,U=0,xe="",_e=g,me=Array.isArray(_e),je=0,_e=me?_e:_e[Symbol.iterator]();;){var Ce;if(me){if(je>=_e.length)break;Ce=_e[je++]}else{if(je=_e.next(),je.done)break;Ce=je.value}var Ke=Ce;if(Q)Ke[0]!=="comment"&&Ke[0]!=="{"&&(xe+=Ke[1]);else{if(Ke[0]==="space"&&Ke[1].indexOf(`
|
|
214
|
+
`)!==-1)break;Ke[0]==="("?U+=1:Ke[0]===")"?U-=1:U===0&&Ke[0]===":"&&(Q=!0)}}if(!Q||xe.trim()===""||/^[a-zA-Z-:#]/.test(xe))le.prototype.rule.call(this,g);else{g.pop();var Ye=new pe;this.init(Ye);var ct=g[g.length-1];for(ct[4]?Ye.source.end={line:ct[4],column:ct[5]}:Ye.source.end={line:ct[2],column:ct[3]};g[0][0]!=="word";)Ye.raws.before+=g.shift()[1];for(Ye.source.start={line:g[0][2],column:g[0][3]},Ye.prop="";g.length;){var cr=g[0][0];if(cr===":"||cr==="space"||cr==="comment")break;Ye.prop+=g.shift()[1]}Ye.raws.between="";for(var Nr;g.length;)if(Nr=g.shift(),Nr[0]===":"){Ye.raws.between+=Nr[1];break}else Ye.raws.between+=Nr[1];(Ye.prop[0]==="_"||Ye.prop[0]==="*")&&(Ye.raws.before+=Ye.prop[0],Ye.prop=Ye.prop.slice(1)),Ye.raws.between+=this.spacesAndCommentsFromStart(g),this.precheckMissedSemicolon(g);for(var jr=g.length-1;jr>0;jr--){if(Nr=g[jr],Nr[1]==="!important"){Ye.important=!0;var an=this.stringFrom(g,jr);an=this.spacesFromEnd(g)+an,an!==" !important"&&(Ye.raws.important=an);break}else if(Nr[1]==="important"){for(var sn=g.slice(0),xn="",en=jr;en>0;en--){var un=sn[en][0];if(xn.trim().indexOf("!")===0&&un!=="space")break;xn=sn.pop()[1]+xn}xn.trim().indexOf("!")===0&&(Ye.important=!0,Ye.raws.important=xn,g=sn)}if(Nr[0]!=="space"&&Nr[0]!=="comment")break}this.raw(Ye,"value",g),Ye.value.indexOf(":")!==-1&&this.checkMissedSemicolon(g),this.current=Ye}},E.comment=function(g){if(g[6]==="inline"){var Q=new q;this.init(Q,g[2],g[3]),Q.raws.inline=!0,Q.source.end={line:g[4],column:g[5]};var U=g[1].slice(2);if(/^\s*$/.test(U))Q.text="",Q.raws.left=U,Q.raws.right="";else{var xe=U.match(/^(\s*)([^]*[^\s])(\s*)$/),me=xe[2].replace(/(\*\/|\/\*)/g,"*//*");Q.text=me,Q.raws.left=xe[1],Q.raws.right=xe[3],Q.raws.text=xe[2]}}else le.prototype.comment.call(this,g)},E.raw=function(g,Q,U){if(le.prototype.raw.call(this,g,Q,U),g.raws[Q]){var xe=g.raws[Q].raw;g.raws[Q].raw=U.reduce(function(me,je){if(je[0]==="comment"&&je[6]==="inline"){var _e=je[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return me+"/*"+_e+"*/"}else return me+je[1]},""),xe!==g.raws[Q].raw&&(g.raws[Q].scss=xe)}},ge}(Z);te.exports=be}}),tu=at({"node_modules/postcss-scss/lib/scss-parse.js"(v,te){vt();var G=us(),q=Bl();te.exports=function(Z,pe){var fe=new G(Z,pe),be=new q(fe);return be.parse(),be.root}}}),Pl=at({"node_modules/postcss-scss/lib/scss-syntax.js"(v,te){vt();var G=Nl(),q=tu();te.exports={parse:q,stringify:G}}});vt();var ru=cn(),va=Fn(),Ol=Mn(),{hasPragma:jl}=Si(),{locStart:nl,locEnd:Ml}=Pi(),{calculateLoc:zo,replaceQuotesInInlineComments:wc}=Pi(),nu=xi(),Ao=b(),iu=Pe(),Ll=tr(),il=br(),co=nn(),ei=$n(),So=Rn(),ps=v=>{for(;v.parent;)v=v.parent;return v};function Ho(v,te){let{nodes:G}=v,q={open:null,close:null,groups:[],type:"paren_group"},Z=[q],pe=q,fe={groups:[],type:"comma_group"},be=[fe];for(let le=0;le<G.length;++le){let ge=G[le];if(Ll(te.parser,ge.value)&&ge.type==="number"&&ge.unit===".."&&va(ge.value)==="."&&(ge.value=ge.value.slice(0,-1),ge.unit="..."),ge.type==="func"&&ge.value==="selector"&&(ge.group.groups=[Fo(ps(v).text.slice(ge.group.open.sourceIndex+1,ge.group.close.sourceIndex))]),ge.type==="func"&&ge.value==="url"){let E=ge.group&&ge.group.groups||[],g=[];for(let Q=0;Q<E.length;Q++){let U=E[Q];U.type==="comma_group"?g=[...g,...U.groups]:g.push(U)}if(nu(g)||!Ao(g)&&!co(g[0])){let Q=ei({groups:ge.group.groups});ge.group.groups=[Q.trim()]}}if(ge.type==="paren"&&ge.value==="(")q={open:ge,close:null,groups:[],type:"paren_group"},Z.push(q),fe={groups:[],type:"comma_group"},be.push(fe);else if(ge.type==="paren"&&ge.value===")"){if(fe.groups.length>0&&q.groups.push(fe),q.close=ge,be.length===1)throw new Error("Unbalanced parenthesis");be.pop(),fe=va(be),fe.groups.push(q),Z.pop(),q=va(Z)}else ge.type==="comma"?(q.groups.push(fe),fe={groups:[],type:"comma_group"},be[be.length-1]=fe):fe.groups.push(ge)}return fe.groups.length>0&&q.groups.push(fe),pe}function ou(v){return v.type==="paren_group"&&!v.open&&!v.close&&v.groups.length===1||v.type==="comma_group"&&v.groups.length===1?ou(v.groups[0]):v.type==="paren_group"||v.type==="comma_group"?Object.assign(Object.assign({},v),{},{groups:v.groups.map(ou)}):v}function fs(v,te,G){if(v&&typeof v=="object"){delete v.parent;for(let q in v)fs(v[q],te,G),q==="type"&&typeof v[q]=="string"&&!v[q].startsWith(te)&&(!G||!G.test(v[q]))&&(v[q]=te+v[q])}return v}function ol(v){if(v&&typeof v=="object"){delete v.parent;for(let te in v)ol(v[te]);!Array.isArray(v)&&v.value&&!v.type&&(v.type="unknown")}return v}function Il(v,te){if(v&&typeof v=="object"){for(let G in v)G!=="parent"&&(Il(v[G],te),G==="nodes"&&(v.group=ou(Ho(v,te)),delete v[G]));delete v.parent}return v}function Xo(v,te){let G=Ga(),q=null;try{q=G(v,{loose:!0}).parse()}catch{return{type:"value-unknown",value:v}}q.text=v;let Z=Il(q,te);return fs(Z,"value-",/^selector-/)}function Fo(v){if(/\/\/|\/\*/.test(v))return{type:"selector-unknown",value:v.trim()};let te=go(),G=null;try{te(q=>{G=q}).process(v)}catch{return{type:"selector-unknown",value:v}}return fs(G,"selector-")}function Rl(v){let te=Xa().default,G=null;try{G=te(v)}catch{return{type:"selector-unknown",value:v}}return fs(ol(G),"media-")}var sl=/(\s*)(!default).*$/,ds=/(\s*)(!global).*$/;function al(v,te){if(v&&typeof v=="object"){delete v.parent;for(let pe in v)al(v[pe],te);if(!v.type)return v;v.raws||(v.raws={});let G="";typeof v.selector=="string"&&(G=v.raws.selector?v.raws.selector.scss?v.raws.selector.scss:v.raws.selector.raw:v.selector,v.raws.between&&v.raws.between.trim().length>0&&(G+=v.raws.between),v.raws.selector=G);let q="";typeof v.value=="string"&&(q=v.raws.value?v.raws.value.scss?v.raws.value.scss:v.raws.value.raw:v.value,q=q.trim(),v.raws.value=q);let Z="";if(typeof v.params=="string"&&(Z=v.raws.params?v.raws.params.scss?v.raws.params.scss:v.raws.params.raw:v.params,v.raws.afterName&&v.raws.afterName.trim().length>0&&(Z=v.raws.afterName+Z),v.raws.between&&v.raws.between.trim().length>0&&(Z=Z+v.raws.between),Z=Z.trim(),v.raws.params=Z),G.trim().length>0)return G.startsWith("@")&&G.endsWith(":")?v:v.mixin?(v.selector=Xo(G,te),v):(il(v)&&(v.isSCSSNesterProperty=!0),v.selector=Fo(G),v);if(q.length>0){let pe=q.match(sl);pe&&(q=q.slice(0,pe.index),v.scssDefault=!0,pe[0].trim()!=="!default"&&(v.raws.scssDefault=pe[0]));let fe=q.match(ds);if(fe&&(q=q.slice(0,fe.index),v.scssGlobal=!0,fe[0].trim()!=="!global"&&(v.raws.scssGlobal=fe[0])),q.startsWith("progid:"))return{type:"value-unknown",value:q};v.value=Xo(q,te)}if(iu(te)&&v.type==="css-decl"&&q.startsWith("extend(")&&(v.extend||(v.extend=v.raws.between===":"),v.extend&&!v.selector&&(delete v.value,v.selector=Fo(q.slice(7,-1)))),v.type==="css-atrule"){if(iu(te)){if(v.mixin){let pe=v.raws.identifier+v.name+v.raws.afterName+v.raws.params;return v.selector=Fo(pe),delete v.params,v}if(v.function)return v}if(te.parser==="css"&&v.name==="custom-selector"){let pe=v.params.match(/:--\S+\s+/)[0].trim();return v.customSelector=pe,v.selector=Fo(v.params.slice(pe.length).trim()),delete v.params,v}if(iu(te)){if(v.name.includes(":")&&!v.params){v.variable=!0;let pe=v.name.split(":");v.name=pe[0],v.value=Xo(pe.slice(1).join(":"),te)}if(!["page","nest","keyframes"].includes(v.name)&&v.params&&v.params[0]===":"&&(v.variable=!0,v.value=Xo(v.params.slice(1),te),v.raws.afterName+=":"),v.variable)return delete v.params,v}}if(v.type==="css-atrule"&&Z.length>0){let{name:pe}=v,fe=v.name.toLowerCase();return pe==="warn"||pe==="error"?(v.params={type:"media-unknown",value:Z},v):pe==="extend"||pe==="nest"?(v.selector=Fo(Z),delete v.params,v):pe==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(Z)?v.params=Xo(Z,te):(v.selector=Fo(Z),delete v.params),v):So(fe)?(v.import=!0,delete v.filename,v.params=Xo(Z,te),v):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(pe)?(Z=Z.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),Z=Z.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),v.value=Xo(Z,te),delete v.params,v):["media","custom-media"].includes(fe)?Z.includes("#{")?{type:"media-unknown",value:Z}:(v.params=Rl(Z),v):(v.params=Z,v)}}return v}function ul(v,te,G){let q=Ol(te),{frontMatter:Z}=q;te=q.content;let pe;try{pe=v(te)}catch(fe){let{name:be,reason:le,line:ge,column:E}=fe;throw typeof ge!="number"?fe:ru("".concat(be,": ").concat(le),{start:{line:ge,column:E}})}return pe=al(fs(pe,"css-"),G),zo(pe,te),Z&&(Z.source={startOffset:0,endOffset:Z.raw.length},pe.nodes.unshift(Z)),pe}function Ac(v,te){let G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},q=Ll(G.parser,v)?[Da,Gs]:[Gs,Da],Z;for(let pe of q)try{return pe(v,te,G)}catch(fe){Z=Z||fe}if(Z)throw Z}function Gs(v,te){let G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},q=cs();return ul(Z=>q.parse(wc(Z)),v,G)}function Da(v,te){let G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{parse:q}=Pl();return ul(q,v,G)}var su={astFormat:"postcss",hasPragma:jl,locStart:nl,locEnd:Ml};Ht.exports={parsers:{css:Object.assign(Object.assign({},su),{},{parse:Ac}),less:Object.assign(Object.assign({},su),{},{parse:Gs}),scss:Object.assign(Object.assign({},su),{},{parse:Da})}}});return di()})})(gg);var kv=sg(gg.exports);function Tv(r,s){return _i(()=>{var a,l,f;if(!vn(s))return((a=vn(r))==null?void 0:a.css)||"/* empty */";try{return Fv.format(((l=vn(r))==null?void 0:l.css)||"",{parser:"css",plugins:[kv]})}catch(F){return console.error(F),`/* Error on prettifying: ${F.message} */
|
|
215
|
+
${((f=vn(r))==null?void 0:f.css)||""}`}})}const _v={"h-full":""},Nv={p:"x4 y2",grid:"~ cols-4 gap-4"},Bv=Nn("div",{op80:""}," Presets ",-1),Pv={op50:"","ws-pre":""},Ov={overflow:"auto"},jv=Nn("div",{op80:""}," Rules ",-1),Mv=Nn("span",{op50:""},"dynamic",-1),Lv=Nn("br",null,null,-1),Iv=Nn("span",{op50:""},"static",-1),Rv=Nn("div",{op80:""}," Variants ",-1),zv=Nn("div",{op80:""}," Shortcuts ",-1),Hv={key:0},Wv=Nn("div",{op80:""}," Config File ",-1),$v=Nn("div",{op80:""}," Version ",-1),Uv={op50:"","ws-pre":""},Vv={b:"t main",p:"x4 y2",grid:"~ cols-4 gap-4"},qv=Nn("div",{op80:""}," Included Files ",-1),Jv=Nn("div",{op80:""}," CSS Size ",-1),Gv=Nn("span",{op50:""},"gzipped",-1),Xv=Nn("div",{op80:""}," Matched Rules ",-1),Kv=Nn("div",{op80:""}," Layers ",-1),Qv={op50:"","ws-pre":""},Yv=_s(" Prettify "),Zv=js({__name:"Overview",setup(r){const s=Qi(null),a=Sv(s,"overview-scrolls");Rf.execute();const l=Qi(!1),f=Tv(ip,l);return(F,V)=>{const ae=Av,ue=Dv,Ae=gv,Be=pv;return Li(),po("div",_v,[yi(Ae,{ref_key:"status",ref:s,p0:""},{default:wa(()=>{var ze,Je,rt,bt,Qt,nr,et,pt,dt,Wt,pr,kr,Rr,Sn,Dn,Lr,_r,gn;return[Nn("div",Nv,[Nn("div",null,[Bv,Nn("div",Pv,To((rt=(Je=(ze=vn(to))==null?void 0:ze.config)==null?void 0:Je.presets)==null?void 0:rt.map(zt=>zt.name).join(`
|
|
216
|
+
`)),1)]),Nn("div",Ov,[jv,_s(" "+To((nr=(Qt=(bt=vn(to))==null?void 0:bt.config)==null?void 0:Qt.rulesDynamic)==null?void 0:nr.filter(Boolean).length)+" ",1),Mv,Lv,_s(" "+To(Object.keys(((pt=(et=vn(to))==null?void 0:et.config)==null?void 0:pt.rulesStaticMap)||{}).length)+" ",1),Iv]),Nn("div",null,[Rv,_s(" "+To((pr=(Wt=(dt=vn(to))==null?void 0:dt.config)==null?void 0:Wt.variants)==null?void 0:pr.length),1)]),Nn("div",null,[zv,_s(" "+To((kr=vn(to))==null?void 0:kr.config.shortcuts.length),1)]),(Rr=vn(to))!=null&&Rr.configPath?(Li(),po("div",Hv,[Wv,yi(ae,{id:vn(to).configPath},null,8,["id"])])):Dp("",!0),Nn("div",null,[$v,Nn("div",Uv,To((Sn=vn(to))==null?void 0:Sn.version),1)])]),Nn("div",Vv,[Nn("div",null,[qv,_s(" "+To((Dn=vn(to))==null?void 0:Dn.modules.length),1)]),Nn("div",null,[Jv,_s(" "+To(((((Lr=vn(ip))==null?void 0:Lr.gzipSize)||0)/1024).toFixed(2))+" KiB ",1),Gv]),Nn("div",null,[Xv,_s(" "+To((_r=vn(ip))==null?void 0:_r.matched.length),1)]),Nn("div",null,[Kv,Nn("div",Qv,To((gn=vn(ip))==null?void 0:gn.layers.join(`
|
|
217
|
+
`)),1)])]),yi(ue,{border:"t gray-400/20",title:"Output CSS"},{default:wa(()=>[Nn("label",null,[e0(Nn("input",{"onUpdate:modelValue":V[0]||(V[0]=zt=>l.value=zt),type:"checkbox"},null,512),[[Y0,l.value]]),Yv])]),_:1})]}),_:1},512),yi(Be,{"model-value":vn(f),"read-only":!0,mode:"css",class:"scrolls overview-scrolls",style:Xc(vn(a))},null,8,["model-value","style"])])}}}),eD={};function tD(r,s){const a=Zv;return Li(),Zl(a)}var rD=lg(eD,[["render",tD]]);const nD=()=>vf(()=>import("./repl.3c0184bc.js"),[]),iD=()=>vf(()=>import("./_id_.ab7c6e58.js"),[]),oD=[{name:"index",path:"/",component:rD,props:!0},{name:"repl",path:"/repl",component:nD,props:!0},{name:"module-id",path:"/module/:id",component:iD,props:!0}];/*!
|
|
218
|
+
* vue-router v4.0.16
|
|
219
|
+
* (c) 2022 Eduardo San Martin Morote
|
|
220
|
+
* @license MIT
|
|
221
|
+
*/const mg=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",lc=r=>mg?Symbol(r):"_vr_"+r,sD=lc("rvlm"),Md=lc("rvd"),zf=lc("r"),Hf=lc("rl"),gf=lc("rvl"),Gl=typeof window!="undefined";function aD(r){return r.__esModule||mg&&r[Symbol.toStringTag]==="Module"}const Di=Object.assign;function Xp(r,s){const a={};for(const l in s){const f=s[l];a[l]=Array.isArray(f)?f.map(r):r(f)}return a}const Ic=()=>{},uD=/\/$/,lD=r=>r.replace(uD,"");function Kp(r,s,a="/"){let l,f={},F="",V="";const ae=s.indexOf("?"),ue=s.indexOf("#",ae>-1?ae:0);return ae>-1&&(l=s.slice(0,ae),F=s.slice(ae+1,ue>-1?ue:s.length),f=r(F)),ue>-1&&(l=l||s.slice(0,ue),V=s.slice(ue,s.length)),l=dD(l!=null?l:s,a),{fullPath:l+(F&&"?")+F+V,path:l,query:f,hash:V}}function cD(r,s){const a=s.query?r(s.query):"";return s.path+(a&&"?")+a+(s.hash||"")}function Ld(r,s){return!s||!r.toLowerCase().startsWith(s.toLowerCase())?r:r.slice(s.length)||"/"}function pD(r,s,a){const l=s.matched.length-1,f=a.matched.length-1;return l>-1&&l===f&&rc(s.matched[l],a.matched[f])&&yg(s.params,a.params)&&r(s.query)===r(a.query)&&s.hash===a.hash}function rc(r,s){return(r.aliasOf||r)===(s.aliasOf||s)}function yg(r,s){if(Object.keys(r).length!==Object.keys(s).length)return!1;for(const a in r)if(!fD(r[a],s[a]))return!1;return!0}function fD(r,s){return Array.isArray(r)?Id(r,s):Array.isArray(s)?Id(s,r):r===s}function Id(r,s){return Array.isArray(s)?r.length===s.length&&r.every((a,l)=>a===s[l]):r.length===1&&r[0]===s}function dD(r,s){if(r.startsWith("/"))return r;if(!r)return s;const a=s.split("/"),l=r.split("/");let f=a.length-1,F,V;for(F=0;F<l.length;F++)if(V=l[F],!(f===1||V==="."))if(V==="..")f--;else break;return a.slice(0,f).join("/")+"/"+l.slice(F-(F===l.length?1:0)).join("/")}var Gc;(function(r){r.pop="pop",r.push="push"})(Gc||(Gc={}));var Rc;(function(r){r.back="back",r.forward="forward",r.unknown=""})(Rc||(Rc={}));function hD(r){if(!r)if(Gl){const s=document.querySelector("base");r=s&&s.getAttribute("href")||"/",r=r.replace(/^\w+:\/\/[^\/]+/,"")}else r="/";return r[0]!=="/"&&r[0]!=="#"&&(r="/"+r),lD(r)}const gD=/^[^#]+#/;function mD(r,s){return r.replace(gD,"#")+s}function yD(r,s){const a=document.documentElement.getBoundingClientRect(),l=r.getBoundingClientRect();return{behavior:s.behavior,left:l.left-a.left-(s.left||0),top:l.top-a.top-(s.top||0)}}const Rp=()=>({left:window.pageXOffset,top:window.pageYOffset});function vD(r){let s;if("el"in r){const a=r.el,l=typeof a=="string"&&a.startsWith("#"),f=typeof a=="string"?l?document.getElementById(a.slice(1)):document.querySelector(a):a;if(!f)return;s=yD(f,r)}else s=r;"scrollBehavior"in document.documentElement.style?window.scrollTo(s):window.scrollTo(s.left!=null?s.left:window.pageXOffset,s.top!=null?s.top:window.pageYOffset)}function Rd(r,s){return(history.state?history.state.position-s:-1)+r}const mf=new Map;function DD(r,s){mf.set(r,s)}function bD(r){const s=mf.get(r);return mf.delete(r),s}let xD=()=>location.protocol+"//"+location.host;function vg(r,s){const{pathname:a,search:l,hash:f}=s,F=r.indexOf("#");if(F>-1){let ae=f.includes(r.slice(F))?r.slice(F).length:1,ue=f.slice(ae);return ue[0]!=="/"&&(ue="/"+ue),Ld(ue,"")}return Ld(a,r)+l+f}function CD(r,s,a,l){let f=[],F=[],V=null;const ae=({state:Je})=>{const rt=vg(r,location),bt=a.value,Qt=s.value;let nr=0;if(Je){if(a.value=rt,s.value=Je,V&&V===bt){V=null;return}nr=Qt?Je.position-Qt.position:0}else l(rt);f.forEach(et=>{et(a.value,bt,{delta:nr,type:Gc.pop,direction:nr?nr>0?Rc.forward:Rc.back:Rc.unknown})})};function ue(){V=a.value}function Ae(Je){f.push(Je);const rt=()=>{const bt=f.indexOf(Je);bt>-1&&f.splice(bt,1)};return F.push(rt),rt}function Be(){const{history:Je}=window;!Je.state||Je.replaceState(Di({},Je.state,{scroll:Rp()}),"")}function ze(){for(const Je of F)Je();F=[],window.removeEventListener("popstate",ae),window.removeEventListener("beforeunload",Be)}return window.addEventListener("popstate",ae),window.addEventListener("beforeunload",Be),{pauseListeners:ue,listen:Ae,destroy:ze}}function zd(r,s,a,l=!1,f=!1){return{back:r,current:s,forward:a,replaced:l,position:window.history.length,scroll:f?Rp():null}}function ED(r){const{history:s,location:a}=window,l={value:vg(r,a)},f={value:s.state};f.value||F(l.value,{back:null,current:l.value,forward:null,position:s.length-1,replaced:!0,scroll:null},!0);function F(ue,Ae,Be){const ze=r.indexOf("#"),Je=ze>-1?(a.host&&document.querySelector("base")?r:r.slice(ze))+ue:xD()+r+ue;try{s[Be?"replaceState":"pushState"](Ae,"",Je),f.value=Ae}catch(rt){console.error(rt),a[Be?"replace":"assign"](Je)}}function V(ue,Ae){const Be=Di({},s.state,zd(f.value.back,ue,f.value.forward,!0),Ae,{position:f.value.position});F(ue,Be,!0),l.value=ue}function ae(ue,Ae){const Be=Di({},f.value,s.state,{forward:ue,scroll:Rp()});F(Be.current,Be,!0);const ze=Di({},zd(l.value,ue,null),{position:Be.position+1},Ae);F(ue,ze,!1),l.value=ue}return{location:l,state:f,push:ae,replace:V}}function wD(r){r=hD(r);const s=ED(r),a=CD(r,s.state,s.location,s.replace);function l(F,V=!0){V||a.pauseListeners(),history.go(F)}const f=Di({location:"",base:r,go:l,createHref:mD.bind(null,r)},s,a);return Object.defineProperty(f,"location",{enumerable:!0,get:()=>s.location.value}),Object.defineProperty(f,"state",{enumerable:!0,get:()=>s.state.value}),f}function AD(r){return r=location.host?r||location.pathname+location.search:"",r.includes("#")||(r+="#"),wD(r)}function SD(r){return typeof r=="string"||r&&typeof r=="object"}function Dg(r){return typeof r=="string"||typeof r=="symbol"}const cu={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},bg=lc("nf");var Hd;(function(r){r[r.aborted=4]="aborted",r[r.cancelled=8]="cancelled",r[r.duplicated=16]="duplicated"})(Hd||(Hd={}));function nc(r,s){return Di(new Error,{type:r,[bg]:!0},s)}function pu(r,s){return r instanceof Error&&bg in r&&(s==null||!!(r.type&s))}const Wd="[^/]+?",FD={sensitive:!1,strict:!1,start:!0,end:!0},kD=/[.+*?^${}()[\]/\\]/g;function TD(r,s){const a=Di({},FD,s),l=[];let f=a.start?"^":"";const F=[];for(const Ae of r){const Be=Ae.length?[]:[90];a.strict&&!Ae.length&&(f+="/");for(let ze=0;ze<Ae.length;ze++){const Je=Ae[ze];let rt=40+(a.sensitive?.25:0);if(Je.type===0)ze||(f+="/"),f+=Je.value.replace(kD,"\\$&"),rt+=40;else if(Je.type===1){const{value:bt,repeatable:Qt,optional:nr,regexp:et}=Je;F.push({name:bt,repeatable:Qt,optional:nr});const pt=et||Wd;if(pt!==Wd){rt+=10;try{new RegExp(`(${pt})`)}catch(Wt){throw new Error(`Invalid custom RegExp for param "${bt}" (${pt}): `+Wt.message)}}let dt=Qt?`((?:${pt})(?:/(?:${pt}))*)`:`(${pt})`;ze||(dt=nr&&Ae.length<2?`(?:/${dt})`:"/"+dt),nr&&(dt+="?"),f+=dt,rt+=20,nr&&(rt+=-8),Qt&&(rt+=-20),pt===".*"&&(rt+=-50)}Be.push(rt)}l.push(Be)}if(a.strict&&a.end){const Ae=l.length-1;l[Ae][l[Ae].length-1]+=.7000000000000001}a.strict||(f+="/?"),a.end?f+="$":a.strict&&(f+="(?:/|$)");const V=new RegExp(f,a.sensitive?"":"i");function ae(Ae){const Be=Ae.match(V),ze={};if(!Be)return null;for(let Je=1;Je<Be.length;Je++){const rt=Be[Je]||"",bt=F[Je-1];ze[bt.name]=rt&&bt.repeatable?rt.split("/"):rt}return ze}function ue(Ae){let Be="",ze=!1;for(const Je of r){(!ze||!Be.endsWith("/"))&&(Be+="/"),ze=!1;for(const rt of Je)if(rt.type===0)Be+=rt.value;else if(rt.type===1){const{value:bt,repeatable:Qt,optional:nr}=rt,et=bt in Ae?Ae[bt]:"";if(Array.isArray(et)&&!Qt)throw new Error(`Provided param "${bt}" is an array but it is not repeatable (* or + modifiers)`);const pt=Array.isArray(et)?et.join("/"):et;if(!pt)if(nr)Je.length<2&&r.length>1&&(Be.endsWith("/")?Be=Be.slice(0,-1):ze=!0);else throw new Error(`Missing required param "${bt}"`);Be+=pt}}return Be}return{re:V,score:l,keys:F,parse:ae,stringify:ue}}function _D(r,s){let a=0;for(;a<r.length&&a<s.length;){const l=s[a]-r[a];if(l)return l;a++}return r.length<s.length?r.length===1&&r[0]===40+40?-1:1:r.length>s.length?s.length===1&&s[0]===40+40?1:-1:0}function ND(r,s){let a=0;const l=r.score,f=s.score;for(;a<l.length&&a<f.length;){const F=_D(l[a],f[a]);if(F)return F;a++}if(Math.abs(f.length-l.length)===1){if($d(l))return 1;if($d(f))return-1}return f.length-l.length}function $d(r){const s=r[r.length-1];return r.length>0&&s[s.length-1]<0}const BD={type:0,value:""},PD=/[a-zA-Z0-9_]/;function OD(r){if(!r)return[[]];if(r==="/")return[[BD]];if(!r.startsWith("/"))throw new Error(`Invalid path "${r}"`);function s(rt){throw new Error(`ERR (${a})/"${Ae}": ${rt}`)}let a=0,l=a;const f=[];let F;function V(){F&&f.push(F),F=[]}let ae=0,ue,Ae="",Be="";function ze(){!Ae||(a===0?F.push({type:0,value:Ae}):a===1||a===2||a===3?(F.length>1&&(ue==="*"||ue==="+")&&s(`A repeatable param (${Ae}) must be alone in its segment. eg: '/:ids+.`),F.push({type:1,value:Ae,regexp:Be,repeatable:ue==="*"||ue==="+",optional:ue==="*"||ue==="?"})):s("Invalid state to consume buffer"),Ae="")}function Je(){Ae+=ue}for(;ae<r.length;){if(ue=r[ae++],ue==="\\"&&a!==2){l=a,a=4;continue}switch(a){case 0:ue==="/"?(Ae&&ze(),V()):ue===":"?(ze(),a=1):Je();break;case 4:Je(),a=l;break;case 1:ue==="("?a=2:PD.test(ue)?Je():(ze(),a=0,ue!=="*"&&ue!=="?"&&ue!=="+"&&ae--);break;case 2:ue===")"?Be[Be.length-1]=="\\"?Be=Be.slice(0,-1)+ue:a=3:Be+=ue;break;case 3:ze(),a=0,ue!=="*"&&ue!=="?"&&ue!=="+"&&ae--,Be="";break;default:s("Unknown state");break}}return a===2&&s(`Unfinished custom RegExp for param "${Ae}"`),ze(),V(),f}function jD(r,s,a){const l=TD(OD(r.path),a),f=Di(l,{record:r,parent:s,children:[],alias:[]});return s&&!f.record.aliasOf==!s.record.aliasOf&&s.children.push(f),f}function MD(r,s){const a=[],l=new Map;s=Vd({strict:!1,end:!0,sensitive:!1},s);function f(Be){return l.get(Be)}function F(Be,ze,Je){const rt=!Je,bt=ID(Be);bt.aliasOf=Je&&Je.record;const Qt=Vd(s,Be),nr=[bt];if("alias"in Be){const dt=typeof Be.alias=="string"?[Be.alias]:Be.alias;for(const Wt of dt)nr.push(Di({},bt,{components:Je?Je.record.components:bt.components,path:Wt,aliasOf:Je?Je.record:bt}))}let et,pt;for(const dt of nr){const{path:Wt}=dt;if(ze&&Wt[0]!=="/"){const pr=ze.record.path,kr=pr[pr.length-1]==="/"?"":"/";dt.path=ze.record.path+(Wt&&kr+Wt)}if(et=jD(dt,ze,Qt),Je?Je.alias.push(et):(pt=pt||et,pt!==et&&pt.alias.push(et),rt&&Be.name&&!Ud(et)&&V(Be.name)),"children"in bt){const pr=bt.children;for(let kr=0;kr<pr.length;kr++)F(pr[kr],et,Je&&Je.children[kr])}Je=Je||et,ue(et)}return pt?()=>{V(pt)}:Ic}function V(Be){if(Dg(Be)){const ze=l.get(Be);ze&&(l.delete(Be),a.splice(a.indexOf(ze),1),ze.children.forEach(V),ze.alias.forEach(V))}else{const ze=a.indexOf(Be);ze>-1&&(a.splice(ze,1),Be.record.name&&l.delete(Be.record.name),Be.children.forEach(V),Be.alias.forEach(V))}}function ae(){return a}function ue(Be){let ze=0;for(;ze<a.length&&ND(Be,a[ze])>=0&&(Be.record.path!==a[ze].record.path||!xg(Be,a[ze]));)ze++;a.splice(ze,0,Be),Be.record.name&&!Ud(Be)&&l.set(Be.record.name,Be)}function Ae(Be,ze){let Je,rt={},bt,Qt;if("name"in Be&&Be.name){if(Je=l.get(Be.name),!Je)throw nc(1,{location:Be});Qt=Je.record.name,rt=Di(LD(ze.params,Je.keys.filter(pt=>!pt.optional).map(pt=>pt.name)),Be.params),bt=Je.stringify(rt)}else if("path"in Be)bt=Be.path,Je=a.find(pt=>pt.re.test(bt)),Je&&(rt=Je.parse(bt),Qt=Je.record.name);else{if(Je=ze.name?l.get(ze.name):a.find(pt=>pt.re.test(ze.path)),!Je)throw nc(1,{location:Be,currentLocation:ze});Qt=Je.record.name,rt=Di({},ze.params,Be.params),bt=Je.stringify(rt)}const nr=[];let et=Je;for(;et;)nr.unshift(et.record),et=et.parent;return{name:Qt,path:bt,params:rt,matched:nr,meta:zD(nr)}}return r.forEach(Be=>F(Be)),{addRoute:F,resolve:Ae,removeRoute:V,getRoutes:ae,getRecordMatcher:f}}function LD(r,s){const a={};for(const l of s)l in r&&(a[l]=r[l]);return a}function ID(r){return{path:r.path,redirect:r.redirect,name:r.name,meta:r.meta||{},aliasOf:void 0,beforeEnter:r.beforeEnter,props:RD(r),children:r.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in r?r.components||{}:{default:r.component}}}function RD(r){const s={},a=r.props||!1;if("component"in r)s.default=a;else for(const l in r.components)s[l]=typeof a=="boolean"?a:a[l];return s}function Ud(r){for(;r;){if(r.record.aliasOf)return!0;r=r.parent}return!1}function zD(r){return r.reduce((s,a)=>Di(s,a.meta),{})}function Vd(r,s){const a={};for(const l in r)a[l]=l in s?s[l]:r[l];return a}function xg(r,s){return s.children.some(a=>a===r||xg(r,a))}const Cg=/#/g,HD=/&/g,WD=/\//g,$D=/=/g,UD=/\?/g,Eg=/\+/g,VD=/%5B/g,qD=/%5D/g,wg=/%5E/g,JD=/%60/g,Ag=/%7B/g,GD=/%7C/g,Sg=/%7D/g,XD=/%20/g;function Wf(r){return encodeURI(""+r).replace(GD,"|").replace(VD,"[").replace(qD,"]")}function KD(r){return Wf(r).replace(Ag,"{").replace(Sg,"}").replace(wg,"^")}function yf(r){return Wf(r).replace(Eg,"%2B").replace(XD,"+").replace(Cg,"%23").replace(HD,"%26").replace(JD,"`").replace(Ag,"{").replace(Sg,"}").replace(wg,"^")}function QD(r){return yf(r).replace($D,"%3D")}function YD(r){return Wf(r).replace(Cg,"%23").replace(UD,"%3F")}function ZD(r){return r==null?"":YD(r).replace(WD,"%2F")}function xp(r){try{return decodeURIComponent(""+r)}catch{}return""+r}function eb(r){const s={};if(r===""||r==="?")return s;const l=(r[0]==="?"?r.slice(1):r).split("&");for(let f=0;f<l.length;++f){const F=l[f].replace(Eg," "),V=F.indexOf("="),ae=xp(V<0?F:F.slice(0,V)),ue=V<0?null:xp(F.slice(V+1));if(ae in s){let Ae=s[ae];Array.isArray(Ae)||(Ae=s[ae]=[Ae]),Ae.push(ue)}else s[ae]=ue}return s}function qd(r){let s="";for(let a in r){const l=r[a];if(a=QD(a),l==null){l!==void 0&&(s+=(s.length?"&":"")+a);continue}(Array.isArray(l)?l.map(F=>F&&yf(F)):[l&&yf(l)]).forEach(F=>{F!==void 0&&(s+=(s.length?"&":"")+a,F!=null&&(s+="="+F))})}return s}function tb(r){const s={};for(const a in r){const l=r[a];l!==void 0&&(s[a]=Array.isArray(l)?l.map(f=>f==null?null:""+f):l==null?l:""+l)}return s}function Tc(){let r=[];function s(l){return r.push(l),()=>{const f=r.indexOf(l);f>-1&&r.splice(f,1)}}function a(){r=[]}return{add:s,list:()=>r,reset:a}}function hu(r,s,a,l,f){const F=l&&(l.enterCallbacks[f]=l.enterCallbacks[f]||[]);return()=>new Promise((V,ae)=>{const ue=ze=>{ze===!1?ae(nc(4,{from:a,to:s})):ze instanceof Error?ae(ze):SD(ze)?ae(nc(2,{from:s,to:ze})):(F&&l.enterCallbacks[f]===F&&typeof ze=="function"&&F.push(ze),V())},Ae=r.call(l&&l.instances[f],s,a,ue);let Be=Promise.resolve(Ae);r.length<3&&(Be=Be.then(ue)),Be.catch(ze=>ae(ze))})}function Qp(r,s,a,l){const f=[];for(const F of r)for(const V in F.components){let ae=F.components[V];if(!(s!=="beforeRouteEnter"&&!F.instances[V]))if(rb(ae)){const Ae=(ae.__vccOpts||ae)[s];Ae&&f.push(hu(Ae,a,l,F,V))}else{let ue=ae();f.push(()=>ue.then(Ae=>{if(!Ae)return Promise.reject(new Error(`Couldn't resolve component "${V}" at "${F.path}"`));const Be=aD(Ae)?Ae.default:Ae;F.components[V]=Be;const Je=(Be.__vccOpts||Be)[s];return Je&&hu(Je,a,l,F,V)()}))}}return f}function rb(r){return typeof r=="object"||"displayName"in r||"props"in r||"__vccOpts"in r}function Jd(r){const s=Aa(zf),a=Aa(Hf),l=_i(()=>s.resolve(vn(r.to))),f=_i(()=>{const{matched:ue}=l.value,{length:Ae}=ue,Be=ue[Ae-1],ze=a.matched;if(!Be||!ze.length)return-1;const Je=ze.findIndex(rc.bind(null,Be));if(Je>-1)return Je;const rt=Gd(ue[Ae-2]);return Ae>1&&Gd(Be)===rt&&ze[ze.length-1].path!==rt?ze.findIndex(rc.bind(null,ue[Ae-2])):Je}),F=_i(()=>f.value>-1&&sb(a.params,l.value.params)),V=_i(()=>f.value>-1&&f.value===a.matched.length-1&&yg(a.params,l.value.params));function ae(ue={}){return ob(ue)?s[vn(r.replace)?"replace":"push"](vn(r.to)).catch(Ic):Promise.resolve()}return{route:l,href:_i(()=>l.value.href),isActive:F,isExactActive:V,navigate:ae}}const nb=js({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Jd,setup(r,{slots:s}){const a=ac(Jd(r)),{options:l}=Aa(zf),f=_i(()=>({[Xd(r.activeClass,l.linkActiveClass,"router-link-active")]:a.isActive,[Xd(r.exactActiveClass,l.linkExactActiveClass,"router-link-exact-active")]:a.isExactActive}));return()=>{const F=s.default&&s.default(a);return r.custom?F:Lf("a",{"aria-current":a.isExactActive?r.ariaCurrentValue:null,href:a.href,onClick:a.navigate,class:f.value},F)}}}),ib=nb;function ob(r){if(!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)&&!r.defaultPrevented&&!(r.button!==void 0&&r.button!==0)){if(r.currentTarget&&r.currentTarget.getAttribute){const s=r.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(s))return}return r.preventDefault&&r.preventDefault(),!0}}function sb(r,s){for(const a in s){const l=s[a],f=r[a];if(typeof l=="string"){if(l!==f)return!1}else if(!Array.isArray(f)||f.length!==l.length||l.some((F,V)=>F!==f[V]))return!1}return!0}function Gd(r){return r?r.aliasOf?r.aliasOf.path:r.path:""}const Xd=(r,s,a)=>r!=null?r:s!=null?s:a,ab=js({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(r,{attrs:s,slots:a}){const l=Aa(gf),f=_i(()=>r.route||l.value),F=Aa(Md,0),V=_i(()=>f.value.matched[F]);up(Md,F+1),up(sD,V),up(gf,f);const ae=Qi();return no(()=>[ae.value,V.value,r.name],([ue,Ae,Be],[ze,Je,rt])=>{Ae&&(Ae.instances[Be]=ue,Je&&Je!==Ae&&ue&&ue===ze&&(Ae.leaveGuards.size||(Ae.leaveGuards=Je.leaveGuards),Ae.updateGuards.size||(Ae.updateGuards=Je.updateGuards))),ue&&Ae&&(!Je||!rc(Ae,Je)||!ze)&&(Ae.enterCallbacks[Be]||[]).forEach(bt=>bt(ue))},{flush:"post"}),()=>{const ue=f.value,Ae=V.value,Be=Ae&&Ae.components[r.name],ze=r.name;if(!Be)return Kd(a.default,{Component:Be,route:ue});const Je=Ae.props[r.name],rt=Je?Je===!0?ue.params:typeof Je=="function"?Je(ue):Je:null,Qt=Lf(Be,Di({},rt,s,{onVnodeUnmounted:nr=>{nr.component.isUnmounted&&(Ae.instances[ze]=null)},ref:ae}));return Kd(a.default,{Component:Qt,route:ue})||Qt}}});function Kd(r,s){if(!r)return null;const a=r(s);return a.length===1?a[0]:a}const ub=ab;function lb(r){const s=MD(r.routes,r),a=r.parseQuery||eb,l=r.stringifyQuery||qd,f=r.history,F=Tc(),V=Tc(),ae=Tc(),ue=Bc(cu);let Ae=cu;Gl&&r.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const Be=Xp.bind(null,Gt=>""+Gt),ze=Xp.bind(null,ZD),Je=Xp.bind(null,xp);function rt(Gt,ar){let Pt,Dr;return Dg(Gt)?(Pt=s.getRecordMatcher(Gt),Dr=ar):Dr=Gt,s.addRoute(Dr,Pt)}function bt(Gt){const ar=s.getRecordMatcher(Gt);ar&&s.removeRoute(ar)}function Qt(){return s.getRoutes().map(Gt=>Gt.record)}function nr(Gt){return!!s.getRecordMatcher(Gt)}function et(Gt,ar){if(ar=Di({},ar||ue.value),typeof Gt=="string"){const Zr=Kp(a,Gt,ar.path),Ue=s.resolve({path:Zr.path},ar),nt=f.createHref(Zr.fullPath);return Di(Zr,Ue,{params:Je(Ue.params),hash:xp(Zr.hash),redirectedFrom:void 0,href:nt})}let Pt;if("path"in Gt)Pt=Di({},Gt,{path:Kp(a,Gt.path,ar.path).path});else{const Zr=Di({},Gt.params);for(const Ue in Zr)Zr[Ue]==null&&delete Zr[Ue];Pt=Di({},Gt,{params:ze(Gt.params)}),ar.params=ze(ar.params)}const Dr=s.resolve(Pt,ar),rn=Gt.hash||"";Dr.params=Be(Je(Dr.params));const Hr=cD(l,Di({},Gt,{hash:KD(rn),path:Dr.path})),Or=f.createHref(Hr);return Di({fullPath:Hr,hash:rn,query:l===qd?tb(Gt.query):Gt.query||{}},Dr,{redirectedFrom:void 0,href:Or})}function pt(Gt){return typeof Gt=="string"?Kp(a,Gt,ue.value.path):Di({},Gt)}function dt(Gt,ar){if(Ae!==Gt)return nc(8,{from:ar,to:Gt})}function Wt(Gt){return Rr(Gt)}function pr(Gt){return Wt(Di(pt(Gt),{replace:!0}))}function kr(Gt){const ar=Gt.matched[Gt.matched.length-1];if(ar&&ar.redirect){const{redirect:Pt}=ar;let Dr=typeof Pt=="function"?Pt(Gt):Pt;return typeof Dr=="string"&&(Dr=Dr.includes("?")||Dr.includes("#")?Dr=pt(Dr):{path:Dr},Dr.params={}),Di({query:Gt.query,hash:Gt.hash,params:Gt.params},Dr)}}function Rr(Gt,ar){const Pt=Ae=et(Gt),Dr=ue.value,rn=Gt.state,Hr=Gt.force,Or=Gt.replace===!0,Zr=kr(Pt);if(Zr)return Rr(Di(pt(Zr),{state:rn,force:Hr,replace:Or}),ar||Pt);const Ue=Pt;Ue.redirectedFrom=ar;let nt;return!Hr&&pD(l,Dr,Pt)&&(nt=nc(16,{to:Ue,from:Dr}),Vn(Dr,Dr,!0,!1)),(nt?Promise.resolve(nt):Dn(Ue,Dr)).catch(Lt=>pu(Lt)?pu(Lt,2)?Lt:tn(Lt):Ut(Lt,Ue,Dr)).then(Lt=>{if(Lt){if(pu(Lt,2))return Rr(Di(pt(Lt.to),{state:rn,force:Hr,replace:Or}),ar||Ue)}else Lt=_r(Ue,Dr,!0,Or,rn);return Lr(Ue,Dr,Lt),Lt})}function Sn(Gt,ar){const Pt=dt(Gt,ar);return Pt?Promise.reject(Pt):Promise.resolve()}function Dn(Gt,ar){let Pt;const[Dr,rn,Hr]=cb(Gt,ar);Pt=Qp(Dr.reverse(),"beforeRouteLeave",Gt,ar);for(const Zr of Dr)Zr.leaveGuards.forEach(Ue=>{Pt.push(hu(Ue,Gt,ar))});const Or=Sn.bind(null,Gt,ar);return Pt.push(Or),Vl(Pt).then(()=>{Pt=[];for(const Zr of F.list())Pt.push(hu(Zr,Gt,ar));return Pt.push(Or),Vl(Pt)}).then(()=>{Pt=Qp(rn,"beforeRouteUpdate",Gt,ar);for(const Zr of rn)Zr.updateGuards.forEach(Ue=>{Pt.push(hu(Ue,Gt,ar))});return Pt.push(Or),Vl(Pt)}).then(()=>{Pt=[];for(const Zr of Gt.matched)if(Zr.beforeEnter&&!ar.matched.includes(Zr))if(Array.isArray(Zr.beforeEnter))for(const Ue of Zr.beforeEnter)Pt.push(hu(Ue,Gt,ar));else Pt.push(hu(Zr.beforeEnter,Gt,ar));return Pt.push(Or),Vl(Pt)}).then(()=>(Gt.matched.forEach(Zr=>Zr.enterCallbacks={}),Pt=Qp(Hr,"beforeRouteEnter",Gt,ar),Pt.push(Or),Vl(Pt))).then(()=>{Pt=[];for(const Zr of V.list())Pt.push(hu(Zr,Gt,ar));return Pt.push(Or),Vl(Pt)}).catch(Zr=>pu(Zr,8)?Zr:Promise.reject(Zr))}function Lr(Gt,ar,Pt){for(const Dr of ae.list())Dr(Gt,ar,Pt)}function _r(Gt,ar,Pt,Dr,rn){const Hr=dt(Gt,ar);if(Hr)return Hr;const Or=ar===cu,Zr=Gl?history.state:{};Pt&&(Dr||Or?f.replace(Gt.fullPath,Di({scroll:Or&&Zr&&Zr.scroll},rn)):f.push(Gt.fullPath,rn)),ue.value=Gt,Vn(Gt,ar,Pt,Or),tn()}let gn;function zt(){gn||(gn=f.listen((Gt,ar,Pt)=>{const Dr=et(Gt),rn=kr(Dr);if(rn){Rr(Di(rn,{replace:!0}),Dr).catch(Ic);return}Ae=Dr;const Hr=ue.value;Gl&&DD(Rd(Hr.fullPath,Pt.delta),Rp()),Dn(Dr,Hr).catch(Or=>pu(Or,12)?Or:pu(Or,2)?(Rr(Or.to,Dr).then(Zr=>{pu(Zr,20)&&!Pt.delta&&Pt.type===Gc.pop&&f.go(-1,!1)}).catch(Ic),Promise.reject()):(Pt.delta&&f.go(-Pt.delta,!1),Ut(Or,Dr,Hr))).then(Or=>{Or=Or||_r(Dr,Hr,!1),Or&&(Pt.delta?f.go(-Pt.delta,!1):Pt.type===Gc.pop&&pu(Or,20)&&f.go(-1,!1)),Lr(Dr,Hr,Or)}).catch(Ic)}))}let Cr=Tc(),de=Tc(),lr;function Ut(Gt,ar,Pt){tn(Gt);const Dr=de.list();return Dr.length?Dr.forEach(rn=>rn(Gt,ar,Pt)):console.error(Gt),Promise.reject(Gt)}function Ar(){return lr&&ue.value!==cu?Promise.resolve():new Promise((Gt,ar)=>{Cr.add([Gt,ar])})}function tn(Gt){return lr||(lr=!Gt,zt(),Cr.list().forEach(([ar,Pt])=>Gt?Pt(Gt):ar()),Cr.reset()),Gt}function Vn(Gt,ar,Pt,Dr){const{scrollBehavior:rn}=r;if(!Gl||!rn)return Promise.resolve();const Hr=!Pt&&bD(Rd(Gt.fullPath,0))||(Dr||!Pt)&&history.state&&history.state.scroll||null;return _p().then(()=>rn(Gt,ar,Hr)).then(Or=>Or&&vD(Or)).catch(Or=>Ut(Or,Gt,ar))}const ai=Gt=>f.go(Gt);let ui;const On=new Set;return{currentRoute:ue,addRoute:rt,removeRoute:bt,hasRoute:nr,getRoutes:Qt,resolve:et,options:r,push:Wt,replace:pr,go:ai,back:()=>ai(-1),forward:()=>ai(1),beforeEach:F.add,beforeResolve:V.add,afterEach:ae.add,onError:de.add,isReady:Ar,install(Gt){const ar=this;Gt.component("RouterLink",ib),Gt.component("RouterView",ub),Gt.config.globalProperties.$router=ar,Object.defineProperty(Gt.config.globalProperties,"$route",{enumerable:!0,get:()=>vn(ue)}),Gl&&!ui&&ue.value===cu&&(ui=!0,Wt(f.location).catch(rn=>{}));const Pt={};for(const rn in cu)Pt[rn]=_i(()=>ue.value[rn]);Gt.provide(zf,ar),Gt.provide(Hf,ac(Pt)),Gt.provide(gf,ue);const Dr=Gt.unmount;On.add(Gt),Gt.unmount=function(){On.delete(Gt),On.size<1&&(Ae=cu,gn&&gn(),gn=null,ue.value=cu,ui=!1,lr=!1),Dr()}}}}function Vl(r){return r.reduce((s,a)=>s.then(()=>a()),Promise.resolve())}function cb(r,s){const a=[],l=[],f=[],F=Math.max(s.matched.length,r.matched.length);for(let V=0;V<F;V++){const ae=s.matched[V];ae&&(r.matched.find(Ae=>rc(Ae,ae))?l.push(ae):a.push(ae));const ue=r.matched[V];ue&&(s.matched.find(Ae=>rc(Ae,ue))||f.push(ue))}return[a,l,f]}function pb(){return Aa(Hf)}const fb=js({__name:"FileIcon",props:{id:null},setup(r){const s=r,a=_i(()=>s.id.split(/\./g).pop()),l=_i(()=>{switch(a.value){case"vue":return"i-logos-vue";default:return"i-carbon-document-blank"}});return(f,F)=>(Li(),po("div",{class:Yl(vn(l))},null,2))}}),db={open:""},hb={"cursor-default":"","select-none":"","text-sm":"",truncate:"",p:"y1"},gb={"ml-1":""},mb=js({__name:"ModuleTreeNode",props:{node:null,icon:{default:"i-carbon-folder"}},setup(r){const s=pb();return(a,l)=>{const f=hp("ModuleTreeNode",!0),F=fb,V=hp("RouterLink");return Li(),po("details",db,[Nn("summary",hb,[Nn("div",{class:Yl(r.icon)},null,2),_s(" "+To(r.node.name),1)]),(Li(!0),po(Uo,null,rd(Object.entries(r.node.children),ae=>(Li(),Zl(f,{key:ae[0],ml2:"",node:ae[1]},null,8,["node"]))),128)),(Li(!0),po(Uo,null,rd(r.node.items,ae=>(Li(),po("div",{key:ae.full,ml4:"","ws-nowrap":""},[yi(V,{block:"","text-sm":"",p:"x2 y1",rounded:"",to:`/module/${encodeURIComponent(ae.full)}`,class:Yl({"bg-gray/10":ae.full===vn(s).params.id})},{default:wa(()=>[yi(F,{id:ae.path},null,8,["id"]),Nn("span",gb,To(ae.path.split("/").pop()),1)]),_:2},1032,["to","class"])]))),128))])}}});var yb="/__unocss/icon.svg";const vb={p:"x4 y3",b:"b main",flex:"","children:my-auto":""},Db=Nn("div",{flex:"","flex-auto":"","children:my-auto":"","ws-nowrap":""},[Nn("img",{src:yb,filter:"","dark:invert":"","inline-block":"",h:"1.3em",m:"r-1.5"}),Nn("div",{"of-hidden":""},[_s(" Inspector "),Nn("sup",{"text-teal5":"","bg-teal5:10":"",p:"x1.5 y0.5",rounded:"",italic:""},"beta")])],-1),bb=js({__name:"NarBar",setup(r){const s=Uy(),a=gy(s);return(l,f)=>(Li(),po("nav",vb,[Db,Nn("button",{"text-lg":"","i-carbon-sun":"","dark:i-carbon-moon":"",onClick:f[0]||(f[0]=F=>vn(a)())})]))}}),xb={"h-full":""},Cb={b:"r main","of-hidden":""},Eb={pt:"4",flex:"~ col gap-3"},wb=Nn("div",{"i-carbon-dashboard":""},null,-1),Ab=Nn("span",null," Overview ",-1),Sb=Nn("div",{"i-carbon-terminal":""},null,-1),Fb=Nn("span",null," REPL ",-1),kb=Nn("div",{b:"b main"},null,-1),Tb={b:"r main",class:"scrolls scrolls-sidebar"},_b=js({__name:"Sidebar",setup(r){return(s,a)=>{const l=bb,f=hp("RouterLink"),F=mb;return Li(),po("div",xb,[Nn("div",Cb,[yi(l),Nn("div",Eb,[yi(f,{block:"",to:"/","text-sm":"",m:"l-3.7"},{default:wa(()=>[wb,Ab]),_:1}),yi(f,{block:"",to:"/repl","text-sm":"",m:"l-3.7"},{default:wa(()=>[Sb,Fb]),_:1}),kb])]),Nn("div",Tb,[Object.keys(vn(op).workspace.children).length?(Li(),Zl(F,{key:0,node:vn(op).workspace,p:"l3 t4",icon:"i-carbon-portfolio"},null,8,["node"])):Dp("",!0),Object.keys(vn(op).root.children).length?(Li(),Zl(F,{key:1,node:vn(op).root,p:"l3 t4",icon:"i-carbon-vmdk-disk"},null,8,["node"])):Dp("",!0)])])}}});var Nb=Object.defineProperty,Bb=Object.defineProperties,Pb=Object.getOwnPropertyDescriptors,Cp=Object.getOwnPropertySymbols,Fg=Object.prototype.hasOwnProperty,kg=Object.prototype.propertyIsEnumerable,Qd=(r,s,a)=>s in r?Nb(r,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[s]=a,Ob=(r,s)=>{for(var a in s||(s={}))Fg.call(s,a)&&Qd(r,a,s[a]);if(Cp)for(var a of Cp(s))kg.call(s,a)&&Qd(r,a,s[a]);return r},jb=(r,s)=>Bb(r,Pb(s)),Mb=(r,s)=>{var a={};for(var l in r)Fg.call(r,l)&&s.indexOf(l)<0&&(a[l]=r[l]);if(r!=null&&Cp)for(var l of Cp(r))s.indexOf(l)<0&&kg.call(r,l)&&(a[l]=r[l]);return a};const Lb={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((r,s)=>(r[s.id]=s)&&r,{})}},methods:{updatePaneComponents(){this.panes.forEach(r=>{r.update&&r.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[r.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(r,s){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=s},onMouseMove(r){this.touch.mouseDown&&(r.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(r)),this.$emit("resize",this.panes.map(s=>({min:s.min,max:s.max,size:s.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(r,s){"ontouchstart"in window&&(r.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===s?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(r,s),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=s,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[s])},onSplitterDblClick(r,s){let a=0;this.panes=this.panes.map((l,f)=>(l.size=f===s?l.max:l.min,f!==s&&(a+=l.min),l)),this.panes[s].size-=a,this.$emit("pane-maximize",this.panes[s])},onPaneClick(r,s){this.$emit("pane-click",this.indexedPanes[s])},getCurrentMouseDrag(r){const s=this.container.getBoundingClientRect(),{clientX:a,clientY:l}="ontouchstart"in window&&r.touches?r.touches[0]:r;return{x:a-s.left,y:l-s.top}},getCurrentDragPercentage(r){r=r[this.horizontal?"y":"x"];const s=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(r=s-r),r*100/s},calculatePanesSize(r){const s=this.touch.activeSplitter;let a={prevPanesSize:this.sumPrevPanesSize(s),nextPanesSize:this.sumNextPanesSize(s),prevReachedMinPanes:0,nextReachedMinPanes:0};const l=0+(this.pushOtherPanes?0:a.prevPanesSize),f=100-(this.pushOtherPanes?0:a.nextPanesSize),F=Math.max(Math.min(this.getCurrentDragPercentage(r),f),l);let V=[s,s+1],ae=this.panes[V[0]]||null,ue=this.panes[V[1]]||null;const Ae=ae.max<100&&F>=ae.max+a.prevPanesSize,Be=ue.max<100&&F<=100-(ue.max+this.sumNextPanesSize(s+1));if(Ae||Be){Ae?(ae.size=ae.max,ue.size=Math.max(100-ae.max-a.prevPanesSize-a.nextPanesSize,0)):(ae.size=Math.max(100-ue.max-a.prevPanesSize-this.sumNextPanesSize(s+1),0),ue.size=ue.max);return}if(this.pushOtherPanes){const ze=this.doPushOtherPanes(a,F);if(!ze)return;({sums:a,panesToResize:V}=ze),ae=this.panes[V[0]]||null,ue=this.panes[V[1]]||null}ae!==null&&(ae.size=Math.min(Math.max(F-a.prevPanesSize-a.prevReachedMinPanes,ae.min),ae.max)),ue!==null&&(ue.size=Math.min(Math.max(100-F-a.nextPanesSize-a.nextReachedMinPanes,ue.min),ue.max))},doPushOtherPanes(r,s){const a=this.touch.activeSplitter,l=[a,a+1];return s<r.prevPanesSize+this.panes[l[0]].min&&(l[0]=this.findPrevExpandedPane(a).index,r.prevReachedMinPanes=0,l[0]<a&&this.panes.forEach((f,F)=>{F>l[0]&&F<=a&&(f.size=f.min,r.prevReachedMinPanes+=f.min)}),r.prevPanesSize=this.sumPrevPanesSize(l[0]),l[0]===void 0)?(r.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((f,F)=>{F>0&&F<=a&&(f.size=f.min,r.prevReachedMinPanes+=f.min)}),this.panes[l[1]].size=100-r.prevReachedMinPanes-this.panes[0].min-r.prevPanesSize-r.nextPanesSize,null):s>100-r.nextPanesSize-this.panes[l[1]].min&&(l[1]=this.findNextExpandedPane(a).index,r.nextReachedMinPanes=0,l[1]>a+1&&this.panes.forEach((f,F)=>{F>a&&F<l[1]&&(f.size=f.min,r.nextReachedMinPanes+=f.min)}),r.nextPanesSize=this.sumNextPanesSize(l[1]-1),l[1]===void 0)?(r.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((f,F)=>{F<this.panesCount-1&&F>=a+1&&(f.size=f.min,r.nextReachedMinPanes+=f.min)}),this.panes[l[0]].size=100-r.prevPanesSize-r.nextReachedMinPanes-this.panes[this.panesCount-1].min-r.nextPanesSize,null):{sums:r,panesToResize:l}},sumPrevPanesSize(r){return this.panes.reduce((s,a,l)=>s+(l<r?a.size:0),0)},sumNextPanesSize(r){return this.panes.reduce((s,a,l)=>s+(l>r+1?a.size:0),0)},findPrevExpandedPane(r){return[...this.panes].reverse().find(a=>a.index<r&&a.size>a.min)||{}},findNextExpandedPane(r){return this.panes.find(a=>a.index>r+1&&a.size>a.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(s=>{const a=s.classList.contains("splitpanes__pane"),l=s.classList.contains("splitpanes__splitter");if(!a&&!l){s.parentNode.removeChild(s),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed.");return}})},addSplitter(r,s,a=!1){const l=r-1,f=document.createElement("div");f.classList.add("splitpanes__splitter"),a||(f.onmousedown=F=>this.onMouseDown(F,l),typeof window!="undefined"&&"ontouchstart"in window&&(f.ontouchstart=F=>this.onMouseDown(F,l)),f.onclick=F=>this.onSplitterClick(F,l+1)),this.dblClickSplitter&&(f.ondblclick=F=>this.onSplitterDblClick(F,l+1)),s.parentNode.insertBefore(f,s)},removeSplitter(r){r.onmousedown=void 0,r.onclick=void 0,r.ondblclick=void 0,r.parentNode.removeChild(r)},redoSplitters(){const r=Array.from(this.container.children);r.forEach(a=>{a.className.includes("splitpanes__splitter")&&this.removeSplitter(a)});let s=0;r.forEach(a=>{a.className.includes("splitpanes__pane")&&(!s&&this.firstSplitter?this.addSplitter(s,a,!0):s&&this.addSplitter(s,a),s++)})},requestUpdate(r){var s=r,{target:a}=s,l=Mb(s,["target"]);const f=this.indexedPanes[a._.uid];Object.entries(l).forEach(([F,V])=>f[F]=V)},onPaneAdd(r){let s=-1;Array.from(r.$el.parentNode.children).some(f=>(f.className.includes("splitpanes__pane")&&s++,f===r.$el));const a=parseFloat(r.minSize),l=parseFloat(r.maxSize);this.panes.splice(s,0,{id:r._.uid,index:s,min:isNaN(a)?0:a,max:isNaN(l)?100:l,size:r.size===null?null:parseFloat(r.size),givenSize:r.size,update:r.update}),this.panes.forEach((f,F)=>f.index=F),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[s]}),this.$emit("pane-add",{index:s,panes:this.panes.map(f=>({min:f.min,max:f.max,size:f.size}))})})},onPaneRemove(r){const s=this.panes.findIndex(l=>l.id===r._.uid),a=this.panes.splice(s,1)[0];this.panes.forEach((l,f)=>l.index=f),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:jb(Ob({},a),{index:s})}),this.$emit("pane-remove",{removed:a,panes:this.panes.map(l=>({min:l.min,max:l.max,size:l.size}))})})},resetPaneSizes(r={}){!r.addedPane&&!r.removedPane?this.initialPanesSizing():this.panes.some(s=>s.givenSize!==null||s.min||s.max<100)?this.equalizeAfterAddOrRemove(r):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(s=>({min:s.min,max:s.max,size:s.size})))},equalize(){const r=100/this.panesCount;let s=0,a=[],l=[];this.panes.forEach(f=>{f.size=Math.max(Math.min(r,f.max),f.min),s-=f.size,f.size>=f.max&&a.push(f.id),f.size<=f.min&&l.push(f.id)}),s>.1&&this.readjustSizes(s,a,l)},initialPanesSizing(){100/this.panesCount;let r=100,s=[],a=[],l=0;this.panes.forEach(F=>{r-=F.size,F.size!==null&&l++,F.size>=F.max&&s.push(F.id),F.size<=F.min&&a.push(F.id)});let f=100;r>.1&&(this.panes.forEach(F=>{F.size===null&&(F.size=Math.max(Math.min(r/(this.panesCount-l),F.max),F.min)),f-=F.size}),f>.1&&this.readjustSizes(r,s,a))},equalizeAfterAddOrRemove({addedPane:r,removedPane:s}={}){let a=100/this.panesCount,l=0,f=[],F=[];r&&r.givenSize!==null&&(a=(100-r.givenSize)/(this.panesCount-1)),this.panes.forEach(V=>{l-=V.size,V.size>=V.max&&f.push(V.id),V.size<=V.min&&F.push(V.id)}),!(Math.abs(l)<.1)&&(this.panes.forEach(V=>{r&&r.givenSize!==null&&r.id===V.id||(V.size=Math.max(Math.min(a,V.max),V.min)),l-=V.size,V.size>=V.max&&f.push(V.id),V.size<=V.min&&F.push(V.id)}),l>.1&&this.readjustSizes(l,f,F))},readjustSizes(r,s,a){let l;r>0?l=r/(this.panesCount-s.length):l=r/(this.panesCount-a.length),this.panes.forEach((f,F)=>{if(r>0&&!s.includes(f.id)){const V=Math.max(Math.min(f.size+l,f.max),f.min);r-=V-f.size,f.size=V}else if(!a.includes(f.id)){const V=Math.max(Math.min(f.size+l,f.max),f.min);r-=V-f.size,f.size=V}f.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[f.id].size}%`})}),Math.abs(r)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(r){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((a,l)=>{a.ondblclick=r?f=>this.onSplitterDblClick(f,l):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return Lf("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}};var Ib=(r,s)=>{const a=r.__vccOpts||r;for(const[l,f]of s)a[l]=f;return a};const Rb={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(r){this.style=r}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(r){this.requestUpdate({target:this,size:r})},minSizeNumber(r){this.requestUpdate({target:this,min:r})},maxSizeNumber(r){this.requestUpdate({target:this,max:r})}}};function zb(r,s,a,l,f,F){return Li(),po("div",{class:"splitpanes__pane",onClick:s[0]||(s[0]=V=>F.onPaneClick(V,r._.uid)),style:Xc(r.style)},[gp(r.$slots,"default")],4)}var Yd=Ib(Rb,[["render",zb]]);const Hb={"h-screen":"","w-screen":"","of-hidden":""},Wb={"h-full":"","of-hidden":""},$b=js({__name:"App",setup(r){return(s,a)=>{const l=_b,f=hp("RouterView");return Li(),po("div",Hb,[yi(vn(Lb),null,{default:wa(()=>[yi(vn(Yd),{size:"20","push-other-panes":!1},{default:wa(()=>[yi(l)]),_:1}),yi(vn(Yd),{size:"80"},{default:wa(()=>[Nn("div",Wb,[yi(f)])]),_:1})]),_:1})])}}}),Tg=ry($b);Tg.use(lb({history:AD(),routes:oD}));Tg.mount("#app");export{e0 as A,Y0 as B,Lb as C,Av as D,Dv as E,pb as F,gv as _,Vb as a,yi as b,po as c,js as d,Nn as e,Gb as f,vn as g,pv as h,Ui as i,lg as j,Zl as k,qb as l,ov as m,Xc as n,Li as o,Jb as p,Ub as q,Qi as r,Tv as s,Fm as t,Sv as u,_s as v,wa as w,To as x,Dp as y,Yd as z};
|