@nuxt/scripts 0.1.7 → 0.1.9

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.
@@ -1,6 +1,6 @@
1
1
  function __vite__mapDeps(indexes) {
2
2
  if (!__vite__mapDeps.viteFileDeps) {
3
- __vite__mapDeps.viteFileDeps = ["./DsudziMp.js","./CbViG2Xw.js","./Dch3xQiY.js","./CbYhyuC0.js","./B9E_xdxs.js","./BeX7Iu5M.js","./DC4hdoM9.js","./CsYA0RN7.js","./ClXEvkw9.js","./CupVZNk8.js","./wORFcijT.js","./DC8MraHL.js","./DSrLtGYv.js","./CMDmr8et.js","./DywwDckn.js","./DXT9h7v2.js","./BlxWTfDV.js","./C1DVX8_8.js","./DbK06e1c.js","./TQ9oWRfF.js","./Bg0wAK5a.js","./BOnd8D4O.js","./DouzTJIq.js","./RCJZWN-0.js","./B6nY7VDA.js","./D4k753MY.js","./BaNxgKSR.js","./RE3ujT-k.js","./RgJsN3zu.js","./DCAtC51B.js","./DnhXxWz-.js","./sQpxpyUs.js","./D6pmzCqS.js","./DXpYegZJ.js","./DCk2z-Tu.js","./NL97_oaV.js","./B_SUYfiV.js","./CoEqzGFw.js","./DAVo6uMX.js","./DvyTQcux.js","./CPHkTjfH.js","./Bbv8ARUV.js","./CQUCfALx.js","./BN4LRXf6.js","./CsyrCbsw.js","./BmCW-tYz.js","./IHMnEr_d.js","./DUdlC5k_.js","./C5gCGmDW.js","./BR6CMsBL.js","./DfUNg_8t.js","./DzwdaLuO.js","./D4LaosRr.js","./DY7_9Ga-.js","./ZQC2c-5V.js","./DwuVtWc2.js","./BXfENWL6.js","./BIMuYTWL.js","./CGQbO34C.js","./DAGYewaG.js","./j8KhMG0x.js","./vMsNTMhM.js","./nclm9rTJ.js","./Dg0DGYq4.js","./Bd7iooY8.js","./BgBwMnrY.js","./CUVblut_.js","./BILqrcpa.js","./Dwo2i-71.js","./Cthz8VOO.js","./DhFF74a2.js","./wPLeKH6q.js","./DISxKEhY.js","./CQTpvb7m.js","./DXZpi2gR.js","./8t4jSAMm.js","./BiDE021q.js","./DmDrTTlz.js","./Bdb36Id5.js","./DJZWsvj0.js","./C15OxdQ5.js","./DLP9ZvWb.js","./doGI2cFk.js","./DCdPDLy4.js","./BBv1LFm6.js","./DYI1rfmx.js","./Bh8mriwU.js","./BT9ZzGyQ.js","./CRWwmX0L.js","./CJQrLysU.js","./vqIOxd68.js","./D1ek2jBE.js","./error-404.ORekjfyJ.css","./CV_REd8b.js","./error-500.BIuFL0tW.css"]
3
+ __vite__mapDeps.viteFileDeps = ["./DsudziMp.js","./CbViG2Xw.js","./Dch3xQiY.js","./CbYhyuC0.js","./B9E_xdxs.js","./BeX7Iu5M.js","./DC4hdoM9.js","./CsYA0RN7.js","./ClXEvkw9.js","./CupVZNk8.js","./wORFcijT.js","./DC8MraHL.js","./DSrLtGYv.js","./CMDmr8et.js","./DywwDckn.js","./DXT9h7v2.js","./BlxWTfDV.js","./C1DVX8_8.js","./DbK06e1c.js","./TQ9oWRfF.js","./Bg0wAK5a.js","./BOnd8D4O.js","./DouzTJIq.js","./RCJZWN-0.js","./B6nY7VDA.js","./D4k753MY.js","./BaNxgKSR.js","./RE3ujT-k.js","./RgJsN3zu.js","./DCAtC51B.js","./DnhXxWz-.js","./sQpxpyUs.js","./D6pmzCqS.js","./DXpYegZJ.js","./DCk2z-Tu.js","./NL97_oaV.js","./B_SUYfiV.js","./CoEqzGFw.js","./DAVo6uMX.js","./DvyTQcux.js","./CPHkTjfH.js","./Bbv8ARUV.js","./CQUCfALx.js","./BN4LRXf6.js","./CsyrCbsw.js","./BmCW-tYz.js","./IHMnEr_d.js","./DUdlC5k_.js","./C5gCGmDW.js","./BR6CMsBL.js","./DfUNg_8t.js","./DzwdaLuO.js","./D4LaosRr.js","./DY7_9Ga-.js","./ZQC2c-5V.js","./DwuVtWc2.js","./BXfENWL6.js","./BIMuYTWL.js","./CGQbO34C.js","./DAGYewaG.js","./j8KhMG0x.js","./vMsNTMhM.js","./nclm9rTJ.js","./Dg0DGYq4.js","./Bd7iooY8.js","./BgBwMnrY.js","./CUVblut_.js","./BILqrcpa.js","./Dwo2i-71.js","./Cthz8VOO.js","./DhFF74a2.js","./wPLeKH6q.js","./DISxKEhY.js","./CQTpvb7m.js","./DXZpi2gR.js","./8t4jSAMm.js","./BiDE021q.js","./DmDrTTlz.js","./Bdb36Id5.js","./DJZWsvj0.js","./C15OxdQ5.js","./DLP9ZvWb.js","./doGI2cFk.js","./DCdPDLy4.js","./BBv1LFm6.js","./DYI1rfmx.js","./Bh8mriwU.js","./BT9ZzGyQ.js","./CRWwmX0L.js","./CJQrLysU.js","./BAdl5pI-.js","./598pLFA2.js","./error-404.ORekjfyJ.css","./Cx7pcWFu.js","./error-500.BIuFL0tW.css"]
4
4
  }
5
5
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
6
6
  }
@@ -8,22 +8,22 @@ var Cc=Object.defineProperty;var Sc=(e,t,n)=>t in e?Cc(e,t,{enumerable:!0,config
8
8
  * @vue/shared v3.4.21
9
9
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
10
10
  * @license MIT
11
- **/function Uo(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const ae={},Ut=[],je=()=>{},Lc=()=>!1,On=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Go=e=>e.startsWith("onUpdate:"),Re=Object.assign,Wo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Oc=Object.prototype.hasOwnProperty,Q=(e,t)=>Oc.call(e,t),W=Array.isArray,Gt=e=>Sr(e)==="[object Map]",Ys=e=>Sr(e)==="[object Set]",U=e=>typeof e=="function",ue=e=>typeof e=="string",on=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",qo=e=>(se(e)||U(e))&&U(e.then)&&U(e.catch),Xs=Object.prototype.toString,Sr=e=>Xs.call(e),Ic=e=>Sr(e).slice(8,-1),Qs=e=>Sr(e)==="[object Object]",Ko=e=>ue(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Wt=Uo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Lr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},xc=/-(\w)/g,Ze=Lr(e=>e.replace(xc,(t,n)=>n?n.toUpperCase():"")),kc=/\B([A-Z])/g,sn=Lr(e=>e.replace(kc,"-$1").toLowerCase()),Or=Lr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Wr=Lr(e=>e?`on${Or(e)}`:""),bt=(e,t)=>!Object.is(e,t),qr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},ir=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Nc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Dc=e=>{const t=ue(e)?Number(e):NaN;return isNaN(t)?e:t};let Ii;const Zs=()=>Ii||(Ii=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ir(e){if(W(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=ue(r)?jc(r):Ir(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(ue(e)||se(e))return e}const Mc=/;(?![^(]*\))/g,Vc=/:([^]+)/,Bc=/\/\*[^]*?\*\//g;function jc(e){const t={};return e.replace(Bc,"").split(Mc).forEach(n=>{if(n){const r=n.split(Vc);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function kt(e){let t="";if(ue(e))t=e;else if(W(e))for(let n=0;n<e.length;n++){const r=kt(e[n]);r&&(t+=r+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Fc(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ue(t)&&(e.class=kt(t)),n&&(e.style=Ir(n)),e}const Hc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$c=Uo(Hc);function el(e){return!!e||e===""}const at=e=>ue(e)?e:e==null?"":W(e)||se(e)&&(e.toString===Xs||!U(e.toString))?JSON.stringify(e,tl,2):String(e),tl=(e,t)=>t&&t.__v_isRef?tl(e,t.value):Gt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[Kr(r,i)+" =>"]=o,n),{})}:Ys(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Kr(n))}:on(t)?Kr(t):se(t)&&!W(t)&&!Qs(t)?String(t):t,Kr=(e,t="")=>{var n;return on(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
11
+ **/function Go(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const ae={},Gt=[],je=()=>{},Lc=()=>!1,In=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Wo=e=>e.startsWith("onUpdate:"),Re=Object.assign,qo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Oc=Object.prototype.hasOwnProperty,Q=(e,t)=>Oc.call(e,t),W=Array.isArray,Wt=e=>Lr(e)==="[object Map]",Xs=e=>Lr(e)==="[object Set]",U=e=>typeof e=="function",ce=e=>typeof e=="string",sn=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",Ko=e=>(se(e)||U(e))&&U(e.then)&&U(e.catch),Qs=Object.prototype.toString,Lr=e=>Qs.call(e),Ic=e=>Lr(e).slice(8,-1),Zs=e=>Lr(e)==="[object Object]",zo=e=>ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,qt=Go(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Or=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},xc=/-(\w)/g,Ze=Or(e=>e.replace(xc,(t,n)=>n?n.toUpperCase():"")),kc=/\B([A-Z])/g,ln=Or(e=>e.replace(kc,"-$1").toLowerCase()),Ir=Or(e=>e.charAt(0).toUpperCase()+e.slice(1)),qr=Or(e=>e?`on${Ir(e)}`:""),bt=(e,t)=>!Object.is(e,t),Kr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},sr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Nc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Dc=e=>{const t=ce(e)?Number(e):NaN;return isNaN(t)?e:t};let xi;const el=()=>xi||(xi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xr(e){if(W(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=ce(r)?jc(r):xr(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(ce(e)||se(e))return e}const Mc=/;(?![^(]*\))/g,Vc=/:([^]+)/,Bc=/\/\*[^]*?\*\//g;function jc(e){const t={};return e.replace(Bc,"").split(Mc).forEach(n=>{if(n){const r=n.split(Vc);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Nt(e){let t="";if(ce(e))t=e;else if(W(e))for(let n=0;n<e.length;n++){const r=Nt(e[n]);r&&(t+=r+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Fc(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ce(t)&&(e.class=Nt(t)),n&&(e.style=xr(n)),e}const Hc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$c=Go(Hc);function tl(e){return!!e||e===""}const at=e=>ce(e)?e:e==null?"":W(e)||se(e)&&(e.toString===Qs||!U(e.toString))?JSON.stringify(e,nl,2):String(e),nl=(e,t)=>t&&t.__v_isRef?nl(e,t.value):Wt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[zr(r,i)+" =>"]=o,n),{})}:Xs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>zr(n))}:sn(t)?zr(t):se(t)&&!W(t)&&!Zs(t)?String(t):t,zr=(e,t="")=>{var n;return sn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
12
12
  * @vue/reactivity v3.4.21
13
13
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
14
14
  * @license MIT
15
- **/let Ue;class nl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ue,!t&&Ue&&(this.index=(Ue.scopes||(Ue.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ue;try{return Ue=this,t()}finally{Ue=n}}}on(){Ue=this}off(){Ue=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Uc(e){return new nl(e)}function Gc(e,t=Ue){t&&t.active&&t.effects.push(e)}function Wc(){return Ue}let Ct;class zo{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Gc(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Nt();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(qc(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Dt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=gt,n=Ct;try{return gt=!0,Ct=this,this._runnings++,xi(this),this.fn()}finally{ki(this),this._runnings--,Ct=n,gt=t}}stop(){var t;this.active&&(xi(this),ki(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function qc(e){return e.value}function xi(e){e._trackId++,e._depsLength=0}function ki(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)rl(e.deps[t],e);e.deps.length=e._depsLength}}function rl(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let gt=!0,uo=0;const ol=[];function Nt(){ol.push(gt),gt=!1}function Dt(){const e=ol.pop();gt=e===void 0?!0:e}function Jo(){uo++}function Yo(){for(uo--;!uo&&fo.length;)fo.shift()()}function il(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&rl(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const fo=[];function sl(e,t,n){Jo();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&fo.push(r.scheduler)))}Yo()}const ll=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},sr=new WeakMap,St=Symbol(""),po=Symbol("");function ke(e,t,n){if(gt&&Ct){let r=sr.get(e);r||sr.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=ll(()=>r.delete(n))),il(Ct,o)}}function it(e,t,n,r,o,i){const s=sr.get(e);if(!s)return;let l=[];if(t==="clear")l=[...s.values()];else if(n==="length"&&W(e)){const a=Number(r);s.forEach((c,u)=>{(u==="length"||!on(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(s.get(n)),t){case"add":W(e)?Ko(n)&&l.push(s.get("length")):(l.push(s.get(St)),Gt(e)&&l.push(s.get(po)));break;case"delete":W(e)||(l.push(s.get(St)),Gt(e)&&l.push(s.get(po)));break;case"set":Gt(e)&&l.push(s.get(St));break}Jo();for(const a of l)a&&sl(a,4);Yo()}function Kc(e,t){var n;return(n=sr.get(e))==null?void 0:n.get(t)}const zc=Uo("__proto__,__v_isRef,__isVue"),al=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(on)),Ni=Jc();function Jc(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Z(this);for(let i=0,s=this.length;i<s;i++)ke(r,"get",i+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(Z)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Nt(),Jo();const r=Z(this)[t].apply(this,n);return Yo(),Dt(),r}}),e}function Yc(e){const t=Z(this);return ke(t,"has",e),t.hasOwnProperty(e)}class cl{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?cu:pl:i?dl:fl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=W(t);if(!o){if(s&&Q(Ni,n))return Reflect.get(Ni,n,r);if(n==="hasOwnProperty")return Yc}const l=Reflect.get(t,n,r);return(on(n)?al.has(n):zc(n))||(o||ke(t,"get",n),i)?l:Te(l)?s&&Ko(n)?l:l.value:se(l)?o?ml(l):Ke(l):l}}class ul extends cl{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const a=Ot(i);if(!lr(r)&&!Ot(r)&&(i=Z(i),r=Z(r)),!W(t)&&Te(i)&&!Te(r))return a?!1:(i.value=r,!0)}const s=W(t)&&Ko(n)?Number(n)<t.length:Q(t,n),l=Reflect.set(t,n,r,o);return t===Z(o)&&(s?bt(r,i)&&it(t,"set",n,r):it(t,"add",n,r)),l}deleteProperty(t,n){const r=Q(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&it(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!on(n)||!al.has(n))&&ke(t,"has",n),r}ownKeys(t){return ke(t,"iterate",W(t)?"length":St),Reflect.ownKeys(t)}}class Xc extends cl{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Qc=new ul,Zc=new Xc,eu=new ul(!0),Xo=e=>e,xr=e=>Reflect.getPrototypeOf(e);function Vn(e,t,n=!1,r=!1){e=e.__v_raw;const o=Z(e),i=Z(t);n||(bt(t,i)&&ke(o,"get",t),ke(o,"get",i));const{has:s}=xr(o),l=r?Xo:n?ei:bn;if(s.call(o,t))return l(e.get(t));if(s.call(o,i))return l(e.get(i));e!==o&&e.get(t)}function Bn(e,t=!1){const n=this.__v_raw,r=Z(n),o=Z(e);return t||(bt(e,o)&&ke(r,"has",e),ke(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function jn(e,t=!1){return e=e.__v_raw,!t&&ke(Z(e),"iterate",St),Reflect.get(e,"size",e)}function Di(e){e=Z(e);const t=Z(this);return xr(t).has.call(t,e)||(t.add(e),it(t,"add",e,e)),this}function Mi(e,t){t=Z(t);const n=Z(this),{has:r,get:o}=xr(n);let i=r.call(n,e);i||(e=Z(e),i=r.call(n,e));const s=o.call(n,e);return n.set(e,t),i?bt(t,s)&&it(n,"set",e,t):it(n,"add",e,t),this}function Vi(e){const t=Z(this),{has:n,get:r}=xr(t);let o=n.call(t,e);o||(e=Z(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&it(t,"delete",e,void 0),i}function Bi(){const e=Z(this),t=e.size!==0,n=e.clear();return t&&it(e,"clear",void 0,void 0),n}function Fn(e,t){return function(r,o){const i=this,s=i.__v_raw,l=Z(s),a=t?Xo:e?ei:bn;return!e&&ke(l,"iterate",St),s.forEach((c,u)=>r.call(o,a(c),a(u),i))}}function Hn(e,t,n){return function(...r){const o=this.__v_raw,i=Z(o),s=Gt(i),l=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,c=o[e](...r),u=n?Xo:t?ei:bn;return!t&&ke(i,"iterate",a?po:St),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function ct(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function tu(){const e={get(i){return Vn(this,i)},get size(){return jn(this)},has:Bn,add:Di,set:Mi,delete:Vi,clear:Bi,forEach:Fn(!1,!1)},t={get(i){return Vn(this,i,!1,!0)},get size(){return jn(this)},has:Bn,add:Di,set:Mi,delete:Vi,clear:Bi,forEach:Fn(!1,!0)},n={get(i){return Vn(this,i,!0)},get size(){return jn(this,!0)},has(i){return Bn.call(this,i,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:Fn(!0,!1)},r={get(i){return Vn(this,i,!0,!0)},get size(){return jn(this,!0)},has(i){return Bn.call(this,i,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:Fn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Hn(i,!1,!1),n[i]=Hn(i,!0,!1),t[i]=Hn(i,!1,!0),r[i]=Hn(i,!0,!0)}),[e,n,t,r]}const[nu,ru,ou,iu]=tu();function Qo(e,t){const n=t?e?iu:ou:e?ru:nu;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Q(n,o)&&o in r?n:r,o,i)}const su={get:Qo(!1,!1)},lu={get:Qo(!1,!0)},au={get:Qo(!0,!1)},fl=new WeakMap,dl=new WeakMap,pl=new WeakMap,cu=new WeakMap;function uu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fu(e){return e.__v_skip||!Object.isExtensible(e)?0:uu(Ic(e))}function Ke(e){return Ot(e)?e:Zo(e,!1,Qc,su,fl)}function hl(e){return Zo(e,!1,eu,lu,dl)}function ml(e){return Zo(e,!0,Zc,au,pl)}function Zo(e,t,n,r,o){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=fu(e);if(s===0)return e;const l=new Proxy(e,s===2?r:n);return o.set(e,l),l}function qt(e){return Ot(e)?qt(e.__v_raw):!!(e&&e.__v_isReactive)}function Ot(e){return!!(e&&e.__v_isReadonly)}function lr(e){return!!(e&&e.__v_isShallow)}function _l(e){return qt(e)||Ot(e)}function Z(e){const t=e&&e.__v_raw;return t?Z(t):e}function gl(e){return Object.isExtensible(e)&&ir(e,"__v_skip",!0),e}const bn=e=>se(e)?Ke(e):e,ei=e=>se(e)?ml(e):e;class yl{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new zo(()=>t(this._value),()=>Xn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=Z(this);return(!t._cacheable||t.effect.dirty)&&bt(t._value,t._value=t.effect.run())&&Xn(t,4),bl(t),t.effect._dirtyLevel>=2&&Xn(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function du(e,t,n=!1){let r,o;const i=U(e);return i?(r=e,o=je):(r=e.get,o=e.set),new yl(r,o,i||!o,n)}function bl(e){var t;gt&&Ct&&(e=Z(e),il(Ct,(t=e.dep)!=null?t:e.dep=ll(()=>e.dep=void 0,e instanceof yl?e:void 0)))}function Xn(e,t=4,n){e=Z(e);const r=e.dep;r&&sl(r,t)}function Te(e){return!!(e&&e.__v_isRef===!0)}function We(e){return vl(e,!1)}function ji(e){return vl(e,!0)}function vl(e,t){return Te(e)?e:new pu(e,t)}class pu{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Z(t),this._value=n?t:bn(t)}get value(){return bl(this),this._value}set value(t){const n=this.__v_isShallow||lr(t)||Ot(t);t=n?t:Z(t),bt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:bn(t),Xn(this,4))}}function ie(e){return Te(e)?e.value:e}function hu(e){return U(e)?e():ie(e)}const mu={get:(e,t,n)=>ie(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Te(o)&&!Te(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function El(e){return qt(e)?e:new Proxy(e,mu)}class _u{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Kc(Z(this._object),this._key)}}class gu{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function wl(e,t,n){return Te(e)?e:U(e)?new gu(e):se(e)&&arguments.length>1?yu(e,t,n):We(e)}function yu(e,t,n){const r=e[t];return Te(r)?r:new _u(e,t,n)}/**
15
+ **/let Ue;class rl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ue,!t&&Ue&&(this.index=(Ue.scopes||(Ue.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ue;try{return Ue=this,t()}finally{Ue=n}}}on(){Ue=this}off(){Ue=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Uc(e){return new rl(e)}function Gc(e,t=Ue){t&&t.active&&t.effects.push(e)}function Wc(){return Ue}let St;class Jo{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Gc(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Dt();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(qc(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Mt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=gt,n=St;try{return gt=!0,St=this,this._runnings++,ki(this),this.fn()}finally{Ni(this),this._runnings--,St=n,gt=t}}stop(){var t;this.active&&(ki(this),Ni(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function qc(e){return e.value}function ki(e){e._trackId++,e._depsLength=0}function Ni(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)ol(e.deps[t],e);e.deps.length=e._depsLength}}function ol(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let gt=!0,fo=0;const il=[];function Dt(){il.push(gt),gt=!1}function Mt(){const e=il.pop();gt=e===void 0?!0:e}function Yo(){fo++}function Xo(){for(fo--;!fo&&po.length;)po.shift()()}function sl(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&ol(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const po=[];function ll(e,t,n){Yo();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&po.push(r.scheduler)))}Xo()}const al=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},lr=new WeakMap,Lt=Symbol(""),ho=Symbol("");function ke(e,t,n){if(gt&&St){let r=lr.get(e);r||lr.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=al(()=>r.delete(n))),sl(St,o)}}function it(e,t,n,r,o,i){const s=lr.get(e);if(!s)return;let l=[];if(t==="clear")l=[...s.values()];else if(n==="length"&&W(e)){const a=Number(r);s.forEach((c,u)=>{(u==="length"||!sn(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(s.get(n)),t){case"add":W(e)?zo(n)&&l.push(s.get("length")):(l.push(s.get(Lt)),Wt(e)&&l.push(s.get(ho)));break;case"delete":W(e)||(l.push(s.get(Lt)),Wt(e)&&l.push(s.get(ho)));break;case"set":Wt(e)&&l.push(s.get(Lt));break}Yo();for(const a of l)a&&ll(a,4);Xo()}function Kc(e,t){var n;return(n=lr.get(e))==null?void 0:n.get(t)}const zc=Go("__proto__,__v_isRef,__isVue"),cl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(sn)),Di=Jc();function Jc(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ee(this);for(let i=0,s=this.length;i<s;i++)ke(r,"get",i+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(ee)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Dt(),Yo();const r=ee(this)[t].apply(this,n);return Xo(),Mt(),r}}),e}function Yc(e){const t=ee(this);return ke(t,"has",e),t.hasOwnProperty(e)}class ul{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?cu:hl:i?pl:dl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=W(t);if(!o){if(s&&Q(Di,n))return Reflect.get(Di,n,r);if(n==="hasOwnProperty")return Yc}const l=Reflect.get(t,n,r);return(sn(n)?cl.has(n):zc(n))||(o||ke(t,"get",n),i)?l:Te(l)?s&&zo(n)?l:l.value:se(l)?o?_l(l):Ke(l):l}}class fl extends ul{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const a=It(i);if(!ar(r)&&!It(r)&&(i=ee(i),r=ee(r)),!W(t)&&Te(i)&&!Te(r))return a?!1:(i.value=r,!0)}const s=W(t)&&zo(n)?Number(n)<t.length:Q(t,n),l=Reflect.set(t,n,r,o);return t===ee(o)&&(s?bt(r,i)&&it(t,"set",n,r):it(t,"add",n,r)),l}deleteProperty(t,n){const r=Q(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&it(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!sn(n)||!cl.has(n))&&ke(t,"has",n),r}ownKeys(t){return ke(t,"iterate",W(t)?"length":Lt),Reflect.ownKeys(t)}}class Xc extends ul{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Qc=new fl,Zc=new Xc,eu=new fl(!0),Qo=e=>e,kr=e=>Reflect.getPrototypeOf(e);function Bn(e,t,n=!1,r=!1){e=e.__v_raw;const o=ee(e),i=ee(t);n||(bt(t,i)&&ke(o,"get",t),ke(o,"get",i));const{has:s}=kr(o),l=r?Qo:n?ti:vn;if(s.call(o,t))return l(e.get(t));if(s.call(o,i))return l(e.get(i));e!==o&&e.get(t)}function jn(e,t=!1){const n=this.__v_raw,r=ee(n),o=ee(e);return t||(bt(e,o)&&ke(r,"has",e),ke(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Fn(e,t=!1){return e=e.__v_raw,!t&&ke(ee(e),"iterate",Lt),Reflect.get(e,"size",e)}function Mi(e){e=ee(e);const t=ee(this);return kr(t).has.call(t,e)||(t.add(e),it(t,"add",e,e)),this}function Vi(e,t){t=ee(t);const n=ee(this),{has:r,get:o}=kr(n);let i=r.call(n,e);i||(e=ee(e),i=r.call(n,e));const s=o.call(n,e);return n.set(e,t),i?bt(t,s)&&it(n,"set",e,t):it(n,"add",e,t),this}function Bi(e){const t=ee(this),{has:n,get:r}=kr(t);let o=n.call(t,e);o||(e=ee(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&it(t,"delete",e,void 0),i}function ji(){const e=ee(this),t=e.size!==0,n=e.clear();return t&&it(e,"clear",void 0,void 0),n}function Hn(e,t){return function(r,o){const i=this,s=i.__v_raw,l=ee(s),a=t?Qo:e?ti:vn;return!e&&ke(l,"iterate",Lt),s.forEach((c,u)=>r.call(o,a(c),a(u),i))}}function $n(e,t,n){return function(...r){const o=this.__v_raw,i=ee(o),s=Wt(i),l=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,c=o[e](...r),u=n?Qo:t?ti:vn;return!t&&ke(i,"iterate",a?ho:Lt),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function ct(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function tu(){const e={get(i){return Bn(this,i)},get size(){return Fn(this)},has:jn,add:Mi,set:Vi,delete:Bi,clear:ji,forEach:Hn(!1,!1)},t={get(i){return Bn(this,i,!1,!0)},get size(){return Fn(this)},has:jn,add:Mi,set:Vi,delete:Bi,clear:ji,forEach:Hn(!1,!0)},n={get(i){return Bn(this,i,!0)},get size(){return Fn(this,!0)},has(i){return jn.call(this,i,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:Hn(!0,!1)},r={get(i){return Bn(this,i,!0,!0)},get size(){return Fn(this,!0)},has(i){return jn.call(this,i,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:Hn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=$n(i,!1,!1),n[i]=$n(i,!0,!1),t[i]=$n(i,!1,!0),r[i]=$n(i,!0,!0)}),[e,n,t,r]}const[nu,ru,ou,iu]=tu();function Zo(e,t){const n=t?e?iu:ou:e?ru:nu;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Q(n,o)&&o in r?n:r,o,i)}const su={get:Zo(!1,!1)},lu={get:Zo(!1,!0)},au={get:Zo(!0,!1)},dl=new WeakMap,pl=new WeakMap,hl=new WeakMap,cu=new WeakMap;function uu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fu(e){return e.__v_skip||!Object.isExtensible(e)?0:uu(Ic(e))}function Ke(e){return It(e)?e:ei(e,!1,Qc,su,dl)}function ml(e){return ei(e,!1,eu,lu,pl)}function _l(e){return ei(e,!0,Zc,au,hl)}function ei(e,t,n,r,o){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=fu(e);if(s===0)return e;const l=new Proxy(e,s===2?r:n);return o.set(e,l),l}function Kt(e){return It(e)?Kt(e.__v_raw):!!(e&&e.__v_isReactive)}function It(e){return!!(e&&e.__v_isReadonly)}function ar(e){return!!(e&&e.__v_isShallow)}function gl(e){return Kt(e)||It(e)}function ee(e){const t=e&&e.__v_raw;return t?ee(t):e}function yl(e){return Object.isExtensible(e)&&sr(e,"__v_skip",!0),e}const vn=e=>se(e)?Ke(e):e,ti=e=>se(e)?_l(e):e;class bl{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Jo(()=>t(this._value),()=>Qn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=ee(this);return(!t._cacheable||t.effect.dirty)&&bt(t._value,t._value=t.effect.run())&&Qn(t,4),vl(t),t.effect._dirtyLevel>=2&&Qn(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function du(e,t,n=!1){let r,o;const i=U(e);return i?(r=e,o=je):(r=e.get,o=e.set),new bl(r,o,i||!o,n)}function vl(e){var t;gt&&St&&(e=ee(e),sl(St,(t=e.dep)!=null?t:e.dep=al(()=>e.dep=void 0,e instanceof bl?e:void 0)))}function Qn(e,t=4,n){e=ee(e);const r=e.dep;r&&ll(r,t)}function Te(e){return!!(e&&e.__v_isRef===!0)}function We(e){return El(e,!1)}function Fi(e){return El(e,!0)}function El(e,t){return Te(e)?e:new pu(e,t)}class pu{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ee(t),this._value=n?t:vn(t)}get value(){return vl(this),this._value}set value(t){const n=this.__v_isShallow||ar(t)||It(t);t=n?t:ee(t),bt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:vn(t),Qn(this,4))}}function ie(e){return Te(e)?e.value:e}function hu(e){return U(e)?e():ie(e)}const mu={get:(e,t,n)=>ie(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Te(o)&&!Te(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function wl(e){return Kt(e)?e:new Proxy(e,mu)}class _u{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Kc(ee(this._object),this._key)}}class gu{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Rl(e,t,n){return Te(e)?e:U(e)?new gu(e):se(e)&&arguments.length>1?yu(e,t,n):We(e)}function yu(e,t,n){const r=e[t];return Te(r)?r:new _u(e,t,n)}/**
16
16
  * @vue/runtime-core v3.4.21
17
17
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
18
18
  * @license MIT
19
- **/function yt(e,t,n,r){try{return r?e(...r):e()}catch(o){ln(o,t,n)}}function qe(e,t,n,r){if(U(e)){const i=yt(e,t,n,r);return i&&qo(i)&&i.catch(s=>{ln(s,t,n)}),i}const o=[];for(let i=0;i<e.length;i++)o.push(qe(e[i],t,n,r));return o}function ln(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let i=t.parent;const s=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,s,l)===!1)return}i=i.parent}const a=t.appContext.config.errorHandler;if(a){yt(a,null,10,[e,s,l]);return}}bu(e,n,o,r)}function bu(e,t,n,r=!0){console.error(e)}let vn=!1,ho=!1;const Ae=[];let Qe=0;const Kt=[];let dt=null,Pt=0;const Rl=Promise.resolve();let ti=null;function ni(e){const t=ti||Rl;return e?t.then(this?e.bind(this):e):t}function vu(e){let t=Qe+1,n=Ae.length;for(;t<n;){const r=t+n>>>1,o=Ae[r],i=En(o);i<e||i===e&&o.pre?t=r+1:n=r}return t}function kr(e){(!Ae.length||!Ae.includes(e,vn&&e.allowRecurse?Qe+1:Qe))&&(e.id==null?Ae.push(e):Ae.splice(vu(e.id),0,e),Tl())}function Tl(){!vn&&!ho&&(ho=!0,ti=Rl.then(Pl))}function Eu(e){const t=Ae.indexOf(e);t>Qe&&Ae.splice(t,1)}function mo(e){W(e)?Kt.push(...e):(!dt||!dt.includes(e,e.allowRecurse?Pt+1:Pt))&&Kt.push(e),Tl()}function Fi(e,t,n=vn?Qe+1:0){for(;n<Ae.length;n++){const r=Ae[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Ae.splice(n,1),n--,r()}}}function ar(e){if(Kt.length){const t=[...new Set(Kt)].sort((n,r)=>En(n)-En(r));if(Kt.length=0,dt){dt.push(...t);return}for(dt=t,Pt=0;Pt<dt.length;Pt++)dt[Pt]();dt=null,Pt=0}}const En=e=>e.id==null?1/0:e.id,wu=(e,t)=>{const n=En(e)-En(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Pl(e){ho=!1,vn=!0,Ae.sort(wu);try{for(Qe=0;Qe<Ae.length;Qe++){const t=Ae[Qe];t&&t.active!==!1&&yt(t,null,14)}}finally{Qe=0,Ae.length=0,ar(),vn=!1,ti=null,(Ae.length||Kt.length)&&Pl()}}function Ru(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ae;let o=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in r){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:f,trim:d}=r[u]||ae;d&&(o=n.map(h=>ue(h)?h.trim():h)),f&&(o=n.map(Nc))}let l,a=r[l=Wr(t)]||r[l=Wr(Ze(t))];!a&&i&&(a=r[l=Wr(sn(t))]),a&&qe(a,e,6,o);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,qe(c,e,6,o)}}function Al(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},l=!1;if(!U(e)){const a=c=>{const u=Al(c,t,!0);u&&(l=!0,Re(s,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(se(e)&&r.set(e,null),null):(W(i)?i.forEach(a=>s[a]=null):Re(s,i),se(e)&&r.set(e,s),s)}function Nr(e,t){return!e||!On(t)?!1:(t=t.slice(2).replace(/Once$/,""),Q(e,t[0].toLowerCase()+t.slice(1))||Q(e,sn(t))||Q(e,t))}let we=null,Dr=null;function cr(e){const t=we;return we=e,Dr=e&&e.type.__scopeId||null,t}function dy(e){Dr=e}function py(){Dr=null}function wn(e,t=we,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&ts(-1);const i=cr(t);let s;try{s=e(...o)}finally{cr(i),r._d&&ts(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function zr(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[s],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:h,ctx:p,inheritAttrs:v}=e;let E,P;const S=cr(e);try{if(n.shapeFlag&4){const R=o||r,T=R;E=Be(u.call(T,R,f,i,h,d,p)),P=a}else{const R=t;E=Be(R.length>1?R(i,{attrs:a,slots:l,emit:c}):R(i,null)),P=t.props?a:Pu(a)}}catch(R){_n.length=0,ln(R,e,1),E=fe(ze)}let b=E;if(P&&v!==!1){const R=Object.keys(P),{shapeFlag:T}=b;R.length&&T&7&&(s&&R.some(Go)&&(P=Au(P,s)),b=nn(b,P))}return n.dirs&&(b=nn(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),E=b,cr(S),E}function Tu(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Tn(o)){if(o.type!==ze||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Pu=e=>{let t;for(const n in e)(n==="class"||n==="style"||On(n))&&((t||(t={}))[n]=e[n]);return t},Au=(e,t)=>{const n={};for(const r in e)(!Go(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Cu(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:l,patchFlag:a}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Hi(r,s,c):!!s;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(s[d]!==r[d]&&!Nr(c,d))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===s?!1:r?s?Hi(r,s,c):!0:!!s;return!1}function Hi(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!Nr(n,i))return!0}return!1}function ri({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const oi="components";function Su(e,t){return Ll(oi,e,!0,t)||e}const Cl=Symbol.for("v-ndc");function Sl(e){return ue(e)?Ll(oi,e,!1)||e:e||Cl}function Ll(e,t,n=!0,r=!1){const o=we||me;if(o){const i=o.type;if(e===oi){const l=Pf(i,!1);if(l&&(l===t||l===Ze(t)||l===Or(Ze(t))))return i}const s=$i(o[e]||i[e],t)||$i(o.appContext[e],t);return!s&&r?i:s}}function $i(e,t){return e&&(e[t]||e[Ze(t)]||e[Or(Ze(t))])}const Lu=e=>e.__isSuspense;let _o=0;const Ou={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,l,a,c){if(e==null)xu(t,n,r,o,i,s,l,a,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}ku(e,t,n,r,o,s,l,a,c)}},hydrate:Nu,create:ii,normalize:Du},Iu=Ou;function Rn(e,t){const n=e.props&&e.props[t];U(n)&&n()}function xu(e,t,n,r,o,i,s,l,a){const{p:c,o:{createElement:u}}=a,f=u("div"),d=e.suspense=ii(e,o,r,t,f,n,i,s,l,a);c(null,d.pendingBranch=e.ssContent,f,null,r,d,i,s),d.deps>0?(Rn(e,"onPending"),Rn(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,s),zt(d,e.ssFallback)):d.resolve(!1,!0)}function ku(e,t,n,r,o,i,s,l,{p:a,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:v,isInFallback:E,isHydrating:P}=f;if(v)f.pendingBranch=d,mt(d,v)?(a(v,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0?f.resolve():E&&(P||(a(p,h,n,r,o,null,i,s,l),zt(f,h)))):(f.pendingId=_o++,P?(f.isHydrating=!1,f.activeBranch=v):c(v,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),E?(a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0?f.resolve():(a(p,h,n,r,o,null,i,s,l),zt(f,h))):p&&mt(d,p)?(a(p,d,n,r,o,f,i,s,l),f.resolve(!0)):(a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0&&f.resolve()));else if(p&&mt(d,p))a(p,d,n,r,o,f,i,s,l),zt(f,d);else if(Rn(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=_o++,a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0)f.resolve();else{const{timeout:S,pendingId:b}=f;S>0?setTimeout(()=>{f.pendingId===b&&f.fallback(h)},S):S===0&&f.fallback(h)}}function ii(e,t,n,r,o,i,s,l,a,c,u=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:v,remove:E}}=c;let P;const S=Mu(e);S&&t!=null&&t.pendingBranch&&(P=t.pendingId,t.deps++);const b=e.props?Dc(e.props.timeout):void 0,R=i,T={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:_o++,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(A=!1,V=!1){const{vnode:K,activeBranch:G,pendingBranch:H,pendingId:ee,effects:X,parentComponent:re,container:he}=T;let ce=!1;T.isHydrating?T.isHydrating=!1:A||(ce=G&&H.transition&&H.transition.mode==="out-in",ce&&(G.transition.afterLeave=()=>{ee===T.pendingId&&(d(H,he,i===R?p(G):i,0),mo(X))}),G&&(v(G.el)!==T.hiddenContainer&&(i=p(G)),h(G,re,T,!0)),ce||d(H,he,i,0)),zt(T,H),T.pendingBranch=null,T.isInFallback=!1;let B=T.parent,J=!1;for(;B;){if(B.pendingBranch){B.effects.push(...X),J=!0;break}B=B.parent}!J&&!ce&&mo(X),T.effects=[],S&&t&&t.pendingBranch&&P===t.pendingId&&(t.deps--,t.deps===0&&!V&&t.resolve()),Rn(K,"onResolve")},fallback(A){if(!T.pendingBranch)return;const{vnode:V,activeBranch:K,parentComponent:G,container:H,namespace:ee}=T;Rn(V,"onFallback");const X=p(K),re=()=>{T.isInFallback&&(f(null,A,H,X,G,null,ee,l,a),zt(T,A))},he=A.transition&&A.transition.mode==="out-in";he&&(K.transition.afterLeave=re),T.isInFallback=!0,h(K,G,null,!0),he||re()},move(A,V,K){T.activeBranch&&d(T.activeBranch,A,V,K),T.container=A},next(){return T.activeBranch&&p(T.activeBranch)},registerDep(A,V){const K=!!T.pendingBranch;K&&T.deps++;const G=A.vnode.el;A.asyncDep.catch(H=>{ln(H,A,0)}).then(H=>{if(A.isUnmounted||T.isUnmounted||T.pendingId!==A.suspenseId)return;A.asyncResolved=!0;const{vnode:ee}=A;Ro(A,H,!1),G&&(ee.el=G);const X=!G&&A.subTree.el;V(A,ee,v(G||A.subTree.el),G?null:p(A.subTree),T,s,a),X&&E(X),ri(A,ee.el),K&&--T.deps===0&&T.resolve()})},unmount(A,V){T.isUnmounted=!0,T.activeBranch&&h(T.activeBranch,n,A,V),T.pendingBranch&&h(T.pendingBranch,n,A,V)}};return T}function Nu(e,t,n,r,o,i,s,l,a){const c=t.suspense=ii(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,l,!0),u=a(e,c.pendingBranch=t.ssContent,n,c,i,s);return c.deps===0&&c.resolve(!1,!0),u}function Du(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Ui(r?n.default:n),e.ssFallback=r?Ui(n.fallback):fe(ze)}function Ui(e){let t;if(U(e)){const n=tn&&e._c;n&&(e._d=!1,ne()),e=e(),n&&(e._d=!0,t=Fe,Xl())}return W(e)&&(e=Tu(e)),e=Be(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ol(e,t){t&&t.pendingBranch?W(e)?t.effects.push(...e):t.effects.push(e):mo(e)}function zt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,ri(r,o))}function Mu(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const Vu=Symbol.for("v-scx"),Bu=()=>Xt(Vu);function hy(e,t){return si(e,null,t)}const $n={};function hn(e,t,n){return si(e,t,n)}function si(e,t,{immediate:n,deep:r,flush:o,once:i,onTrack:s,onTrigger:l}=ae){if(t&&i){const A=t;t=(...V)=>{A(...V),T()}}const a=me,c=A=>r===!0?A:Ht(A,r===!1?1:void 0);let u,f=!1,d=!1;if(Te(e)?(u=()=>e.value,f=lr(e)):qt(e)?(u=()=>c(e),f=!0):W(e)?(d=!0,f=e.some(A=>qt(A)||lr(A)),u=()=>e.map(A=>{if(Te(A))return A.value;if(qt(A))return c(A);if(U(A))return yt(A,a,2)})):U(e)?t?u=()=>yt(e,a,2):u=()=>(h&&h(),qe(e,a,3,[p])):u=je,t&&r){const A=u;u=()=>Ht(A())}let h,p=A=>{h=b.onStop=()=>{yt(A,a,4),h=b.onStop=void 0}},v;if(In)if(p=je,t?n&&qe(t,a,3,[u(),d?[]:void 0,p]):u(),o==="sync"){const A=Bu();v=A.__watcherHandles||(A.__watcherHandles=[])}else return je;let E=d?new Array(e.length).fill($n):$n;const P=()=>{if(!(!b.active||!b.dirty))if(t){const A=b.run();(r||f||(d?A.some((V,K)=>bt(V,E[K])):bt(A,E)))&&(h&&h(),qe(t,a,3,[A,E===$n?void 0:d&&E[0]===$n?[]:E,p]),E=A)}else b.run()};P.allowRecurse=!!t;let S;o==="sync"?S=P:o==="post"?S=()=>xe(P,a&&a.suspense):(P.pre=!0,a&&(P.id=a.uid),S=()=>kr(P));const b=new zo(u,je,S),R=Wc(),T=()=>{b.stop(),R&&Wo(R.effects,b)};return t?n?P():E=b.run():o==="post"?xe(b.run.bind(b),a&&a.suspense):b.run(),v&&v.push(T),T}function ju(e,t,n){const r=this.proxy,o=ue(e)?e.includes(".")?Il(r,e):()=>r[e]:e.bind(r,r);let i;U(t)?i=t:(i=t.handler,n=t);const s=It(this),l=si(o,i.bind(r),n);return s(),l}function Il(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Ht(e,t,n=0,r){if(!se(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Te(e))Ht(e.value,t,n,r);else if(W(e))for(let o=0;o<e.length;o++)Ht(e[o],t,n,r);else if(Ys(e)||Gt(e))e.forEach(o=>{Ht(o,t,n,r)});else if(Qs(e))for(const o in e)Ht(e[o],t,n,r);return e}function Xe(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const l=o[s];i&&(l.oldValue=i[s].value);let a=l.dir[r];a&&(Nt(),qe(a,n,8,[e.el,l,e,t]),Dt())}}/*! #__NO_SIDE_EFFECTS__ */function Mt(e,t){return U(e)?Re({name:e.name},t,{setup:e}):e}const Jt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Gi(e){U(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:s=!0,onError:l}=e;let a=null,c,u=0;const f=()=>(u++,a=null,d()),d=()=>{let h;return a||(h=a=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),l)return new Promise((v,E)=>{l(p,()=>v(f()),()=>E(p),u+1)});throw p}).then(p=>h!==a&&a?a:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return Mt({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const h=me;if(c)return()=>Jr(c,h);const p=S=>{a=null,ln(S,h,13,!r)};if(s&&h.suspense||In)return d().then(S=>()=>Jr(S,h)).catch(S=>(p(S),()=>r?fe(r,{error:S}):null));const v=We(!1),E=We(),P=We(!!o);return o&&setTimeout(()=>{P.value=!1},o),i!=null&&setTimeout(()=>{if(!v.value&&!E.value){const S=new Error(`Async component timed out after ${i}ms.`);p(S),E.value=S}},i),d().then(()=>{v.value=!0,h.parent&&li(h.parent.vnode)&&(h.parent.effect.dirty=!0,kr(h.parent.update))}).catch(S=>{p(S),E.value=S}),()=>{if(v.value&&c)return Jr(c,h);if(E.value&&r)return fe(r,{error:E.value});if(n&&!P.value)return fe(n)}}})}function Jr(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=fe(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const li=e=>e.type.__isKeepAlive;function Fu(e,t){xl(e,"a",t)}function Hu(e,t){xl(e,"da",t)}function xl(e,t,n=me){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Mr(t,r,n),n){let o=n.parent;for(;o&&o.parent;)li(o.parent.vnode)&&$u(r,t,n,o),o=o.parent}}function $u(e,t,n,r){const o=Mr(t,e,r,!0);Dl(()=>{Wo(r[t],o)},n)}function Mr(e,t,n=me,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;Nt();const l=It(n),a=qe(t,n,e,s);return l(),Dt(),a});return r?o.unshift(i):o.push(i),i}}const st=e=>(t,n=me)=>(!In||e==="sp")&&Mr(e,(...r)=>t(...r),n),Uu=st("bm"),kl=st("m"),Gu=st("bu"),Wu=st("u"),Nl=st("bum"),Dl=st("um"),qu=st("sp"),Ku=st("rtg"),zu=st("rtc");function Ml(e,t=me){Mr("ec",e,t)}function Wi(e,t,n,r){let o;const i=n&&n[r];if(W(e)||ue(e)){o=new Array(e.length);for(let s=0,l=e.length;s<l;s++)o[s]=t(e[s],s,void 0,i&&i[s])}else if(typeof e=="number"){o=new Array(e);for(let s=0;s<e;s++)o[s]=t(s+1,s,void 0,i&&i[s])}else if(se(e))if(e[Symbol.iterator])o=Array.from(e,(s,l)=>t(s,l,void 0,i&&i[l]));else{const s=Object.keys(e);o=new Array(s.length);for(let l=0,a=s.length;l<a;l++){const c=s[l];o[l]=t(e[c],c,l,i&&i[l])}}else o=[];return n&&(n[r]=o),o}function qi(e,t,n={},r,o){if(we.isCE||we.parent&&Jt(we.parent)&&we.parent.isCE)return t!=="default"&&(n.name=t),fe("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),ne();const s=i&&Vl(i(n)),l=Me(Pe,{key:n.key||s&&s.key||`_${t}`},s||(r?r():[]),s&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Vl(e){return e.some(t=>Tn(t)?!(t.type===ze||t.type===Pe&&!Vl(t.children)):!0)?e:null}const go=e=>e?ra(e)?fi(e)||e.proxy:go(e.parent):null,mn=Re(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>go(e.parent),$root:e=>go(e.root),$emit:e=>e.emit,$options:e=>ai(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,kr(e.update)}),$nextTick:e=>e.n||(e.n=ni.bind(e.proxy)),$watch:e=>ju.bind(e)}),Yr=(e,t)=>e!==ae&&!e.__isScriptSetup&&Q(e,t),Ju={get({_:e},t){const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(Yr(r,t))return s[t]=1,r[t];if(o!==ae&&Q(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&Q(c,t))return s[t]=3,i[t];if(n!==ae&&Q(n,t))return s[t]=4,n[t];yo&&(s[t]=0)}}const u=mn[t];let f,d;if(u)return t==="$attrs"&&ke(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ae&&Q(n,t))return s[t]=4,n[t];if(d=a.config.globalProperties,Q(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return Yr(o,t)?(o[t]=n,!0):r!==ae&&Q(r,t)?(r[t]=n,!0):Q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let l;return!!n[s]||e!==ae&&Q(e,s)||Yr(t,s)||(l=i[0])&&Q(l,s)||Q(r,s)||Q(mn,s)||Q(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ki(e){return W(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Yu(e){const t=na();let n=e();return wo(),qo(n)&&(n=n.catch(r=>{throw It(t),r})),[n,()=>It(t)]}let yo=!0;function Xu(e){const t=ai(e),n=e.proxy,r=e.ctx;yo=!1,t.beforeCreate&&zi(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:v,deactivated:E,beforeDestroy:P,beforeUnmount:S,destroyed:b,unmounted:R,render:T,renderTracked:A,renderTriggered:V,errorCaptured:K,serverPrefetch:G,expose:H,inheritAttrs:ee,components:X,directives:re,filters:he}=t;if(c&&Qu(c,r,null),s)for(const J in s){const F=s[J];U(F)&&(r[J]=F.bind(n))}if(o){const J=o.call(n,n);se(J)&&(e.data=Ke(J))}if(yo=!0,i)for(const J in i){const F=i[J],et=U(F)?F.bind(n,n):U(F.get)?F.get.bind(n,n):je,Dn=!U(F)&&U(F.set)?F.set.bind(n):je,wt=_t({get:et,set:Dn});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>wt.value,set:Je=>wt.value=Je})}if(l)for(const J in l)Bl(l[J],r,n,J);if(a){const J=U(a)?a.call(n):a;Reflect.ownKeys(J).forEach(F=>{Fl(F,J[F])})}u&&zi(u,e,"c");function B(J,F){W(F)?F.forEach(et=>J(et.bind(n))):F&&J(F.bind(n))}if(B(Uu,f),B(kl,d),B(Gu,h),B(Wu,p),B(Fu,v),B(Hu,E),B(Ml,K),B(zu,A),B(Ku,V),B(Nl,S),B(Dl,R),B(qu,G),W(H))if(H.length){const J=e.exposed||(e.exposed={});H.forEach(F=>{Object.defineProperty(J,F,{get:()=>n[F],set:et=>n[F]=et})})}else e.exposed||(e.exposed={});T&&e.render===je&&(e.render=T),ee!=null&&(e.inheritAttrs=ee),X&&(e.components=X),re&&(e.directives=re)}function Qu(e,t,n=je){W(e)&&(e=bo(e));for(const r in e){const o=e[r];let i;se(o)?"default"in o?i=Xt(o.from||r,o.default,!0):i=Xt(o.from||r):i=Xt(o),Te(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function zi(e,t,n){qe(W(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Bl(e,t,n,r){const o=r.includes(".")?Il(n,r):()=>n[r];if(ue(e)){const i=t[e];U(i)&&hn(o,i)}else if(U(e))hn(o,e.bind(n));else if(se(e))if(W(e))e.forEach(i=>Bl(i,t,n,r));else{const i=U(e.handler)?e.handler.bind(n):t[e.handler];U(i)&&hn(o,i,e)}}function ai(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,l=i.get(t);let a;return l?a=l:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(c=>ur(a,c,s,!0)),ur(a,t,s)),se(t)&&i.set(t,a),a}function ur(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&ur(e,i,n,!0),o&&o.forEach(s=>ur(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const l=Zu[s]||n&&n[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const Zu={data:Ji,props:Yi,emits:Yi,methods:dn,computed:dn,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:dn,directives:dn,watch:tf,provide:Ji,inject:ef};function Ji(e,t){return t?e?function(){return Re(U(e)?e.call(this,this):e,U(t)?t.call(this,this):t)}:t:e}function ef(e,t){return dn(bo(e),bo(t))}function bo(e){if(W(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ce(e,t){return e?[...new Set([].concat(e,t))]:t}function dn(e,t){return e?Re(Object.create(null),e,t):t}function Yi(e,t){return e?W(e)&&W(t)?[...new Set([...e,...t])]:Re(Object.create(null),Ki(e),Ki(t??{})):t}function tf(e,t){if(!e)return t;if(!t)return e;const n=Re(Object.create(null),e);for(const r in t)n[r]=Ce(e[r],t[r]);return n}function jl(){return{app:null,config:{isNativeTag:Lc,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 nf=0;function rf(e,t){return function(r,o=null){U(r)||(r=Re({},r)),o!=null&&!se(o)&&(o=null);const i=jl(),s=new WeakSet;let l=!1;const a=i.app={_uid:nf++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:ia,get config(){return i.config},set config(c){},use(c,...u){return s.has(c)||(c&&U(c.install)?(s.add(c),c.install(a,...u)):U(c)&&(s.add(c),c(a,...u))),a},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),a},component(c,u){return u?(i.components[c]=u,a):i.components[c]},directive(c,u){return u?(i.directives[c]=u,a):i.directives[c]},mount(c,u,f){if(!l){const d=fe(r,o);return d.appContext=i,f===!0?f="svg":f===!1&&(f=void 0),u&&t?t(d,c):e(d,c,f),l=!0,a._container=c,c.__vue_app__=a,fi(d.component)||d.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return i.provides[c]=u,a},runWithContext(c){const u=Yt;Yt=a;try{return c()}finally{Yt=u}}};return a}}let Yt=null;function Fl(e,t){if(me){let n=me.provides;const r=me.parent&&me.parent.provides;r===n&&(n=me.provides=Object.create(r)),n[e]=t}}function Xt(e,t,n=!1){const r=me||we;if(r||Yt){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Yt._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&U(t)?t.call(r&&r.proxy):t}}function Hl(){return!!(me||we||Yt)}function of(e,t,n,r=!1){const o={},i={};ir(i,Vr,1),e.propsDefaults=Object.create(null),$l(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:hl(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function sf(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,l=Z(o),[a]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Nr(e.emitsOptions,d))continue;const h=t[d];if(a)if(Q(i,d))h!==i[d]&&(i[d]=h,c=!0);else{const p=Ze(d);o[p]=vo(a,l,p,h,e,!1)}else h!==i[d]&&(i[d]=h,c=!0)}}}else{$l(e,t,o,i)&&(c=!0);let u;for(const f in l)(!t||!Q(t,f)&&((u=sn(f))===f||!Q(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=vo(a,l,f,void 0,e,!0)):delete o[f]);if(i!==l)for(const f in i)(!t||!Q(t,f))&&(delete i[f],c=!0)}c&&it(e,"set","$attrs")}function $l(e,t,n,r){const[o,i]=e.propsOptions;let s=!1,l;if(t)for(let a in t){if(Wt(a))continue;const c=t[a];let u;o&&Q(o,u=Ze(a))?!i||!i.includes(u)?n[u]=c:(l||(l={}))[u]=c:Nr(e.emitsOptions,a)||(!(a in r)||c!==r[a])&&(r[a]=c,s=!0)}if(i){const a=Z(n),c=l||ae;for(let u=0;u<i.length;u++){const f=i[u];n[f]=vo(o,a,f,c[f],e,!Q(c,f))}}return s}function vo(e,t,n,r,o,i){const s=e[n];if(s!=null){const l=Q(s,"default");if(l&&r===void 0){const a=s.default;if(s.type!==Function&&!s.skipFactory&&U(a)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=It(o);r=c[n]=a.call(null,t),u()}}else r=a}s[0]&&(i&&!l?r=!1:s[1]&&(r===""||r===sn(n))&&(r=!0))}return r}function Ul(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const i=e.props,s={},l=[];let a=!1;if(!U(e)){const u=f=>{a=!0;const[d,h]=Ul(f,t,!0);Re(s,d),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return se(e)&&r.set(e,Ut),Ut;if(W(i))for(let u=0;u<i.length;u++){const f=Ze(i[u]);Xi(f)&&(s[f]=ae)}else if(i)for(const u in i){const f=Ze(u);if(Xi(f)){const d=i[u],h=s[f]=W(d)||U(d)?{type:d}:Re({},d);if(h){const p=es(Boolean,h.type),v=es(String,h.type);h[0]=p>-1,h[1]=v<0||p<v,(p>-1||Q(h,"default"))&&l.push(f)}}}const c=[s,l];return se(e)&&r.set(e,c),c}function Xi(e){return e[0]!=="$"&&!Wt(e)}function Qi(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Zi(e,t){return Qi(e)===Qi(t)}function es(e,t){return W(t)?t.findIndex(n=>Zi(n,e)):U(t)&&Zi(t,e)?0:-1}const Gl=e=>e[0]==="_"||e==="$stable",ci=e=>W(e)?e.map(Be):[Be(e)],lf=(e,t,n)=>{if(t._n)return t;const r=wn((...o)=>ci(t(...o)),n);return r._c=!1,r},Wl=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Gl(o))continue;const i=e[o];if(U(i))t[o]=lf(o,i,r);else if(i!=null){const s=ci(i);t[o]=()=>s}}},ql=(e,t)=>{const n=ci(t);e.slots.default=()=>n},af=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Z(t),ir(t,"_",n)):Wl(t,e.slots={})}else e.slots={},t&&ql(e,t);ir(e.slots,Vr,1)},cf=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=ae;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(Re(o,t),!n&&l===1&&delete o._):(i=!t.$stable,Wl(t,o)),s=t}else t&&(ql(e,t),s={default:1});if(i)for(const l in o)!Gl(l)&&s[l]==null&&delete o[l]};function fr(e,t,n,r,o=!1){if(W(e)){e.forEach((d,h)=>fr(d,t&&(W(t)?t[h]:t),n,r,o));return}if(Jt(r)&&!o)return;const i=r.shapeFlag&4?fi(r.component)||r.component.proxy:r.el,s=o?null:i,{i:l,r:a}=e,c=t&&t.r,u=l.refs===ae?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(ue(c)?(u[c]=null,Q(f,c)&&(f[c]=null)):Te(c)&&(c.value=null)),U(a))yt(a,l,12,[s,u]);else{const d=ue(a),h=Te(a);if(d||h){const p=()=>{if(e.f){const v=d?Q(f,a)?f[a]:u[a]:a.value;o?W(v)&&Wo(v,i):W(v)?v.includes(i)||v.push(i):d?(u[a]=[i],Q(f,a)&&(f[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else d?(u[a]=s,Q(f,a)&&(f[a]=s)):h&&(a.value=s,e.k&&(u[e.k]=s))};s?(p.id=-1,xe(p,n)):p()}}}let ut=!1;const uf=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",ff=e=>e.namespaceURI.includes("MathML"),Un=e=>{if(uf(e))return"svg";if(ff(e))return"mathml"},Gn=e=>e.nodeType===8;function df(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:l,insert:a,createComment:c}}=e,u=(b,R)=>{if(!R.hasChildNodes()){n(null,b,R),ar(),R._vnode=b;return}ut=!1,f(R.firstChild,b,null,null,null),ar(),R._vnode=b,ut&&console.error("Hydration completed but contains mismatches.")},f=(b,R,T,A,V,K=!1)=>{const G=Gn(b)&&b.data==="[",H=()=>v(b,R,T,A,V,G),{type:ee,ref:X,shapeFlag:re,patchFlag:he}=R;let ce=b.nodeType;R.el=b,he===-2&&(K=!1,R.dynamicChildren=null);let B=null;switch(ee){case en:ce!==3?R.children===""?(a(R.el=o(""),s(b),b),B=b):B=H():(b.data!==R.children&&(ut=!0,b.data=R.children),B=i(b));break;case ze:S(b)?(B=i(b),P(R.el=b.content.firstChild,b,T)):ce!==8||G?B=H():B=i(b);break;case Qn:if(G&&(b=i(b),ce=b.nodeType),ce===1||ce===3){B=b;const J=!R.children.length;for(let F=0;F<R.staticCount;F++)J&&(R.children+=B.nodeType===1?B.outerHTML:B.data),F===R.staticCount-1&&(R.anchor=B),B=i(B);return G?i(B):B}else H();break;case Pe:G?B=p(b,R,T,A,V,K):B=H();break;default:if(re&1)(ce!==1||R.type.toLowerCase()!==b.tagName.toLowerCase())&&!S(b)?B=H():B=d(b,R,T,A,V,K);else if(re&6){R.slotScopeIds=V;const J=s(b);if(G?B=E(b):Gn(b)&&b.data==="teleport start"?B=E(b,b.data,"teleport end"):B=i(b),t(R,J,null,T,A,Un(J),K),Jt(R)){let F;G?(F=fe(Pe),F.anchor=B?B.previousSibling:J.lastChild):F=b.nodeType===3?dr(""):fe("div"),F.el=b,R.component.subTree=F}}else re&64?ce!==8?B=H():B=R.type.hydrate(b,R,T,A,V,K,e,h):re&128&&(B=R.type.hydrate(b,R,T,A,Un(s(b)),V,K,e,f))}return X!=null&&fr(X,null,A,R),B},d=(b,R,T,A,V,K)=>{K=K||!!R.dynamicChildren;const{type:G,props:H,patchFlag:ee,shapeFlag:X,dirs:re,transition:he}=R,ce=G==="input"||G==="option";if(ce||ee!==-1){re&&Xe(R,null,T,"created");let B=!1;if(S(b)){B=zl(A,he)&&T&&T.vnode.props&&T.vnode.props.appear;const F=b.content.firstChild;B&&he.beforeEnter(F),P(F,b,T),R.el=b=F}if(X&16&&!(H&&(H.innerHTML||H.textContent))){let F=h(b.firstChild,R,b,T,A,V,K);for(;F;){ut=!0;const et=F;F=F.nextSibling,l(et)}}else X&8&&b.textContent!==R.children&&(ut=!0,b.textContent=R.children);if(H)if(ce||!K||ee&48)for(const F in H)(ce&&(F.endsWith("value")||F==="indeterminate")||On(F)&&!Wt(F)||F[0]===".")&&r(b,F,null,H[F],void 0,void 0,T);else H.onClick&&r(b,"onClick",null,H.onClick,void 0,void 0,T);let J;(J=H&&H.onVnodeBeforeMount)&&Ve(J,T,R),re&&Xe(R,null,T,"beforeMount"),((J=H&&H.onVnodeMounted)||re||B)&&Ol(()=>{J&&Ve(J,T,R),B&&he.enter(b),re&&Xe(R,null,T,"mounted")},A)}return b.nextSibling},h=(b,R,T,A,V,K,G)=>{G=G||!!R.dynamicChildren;const H=R.children,ee=H.length;for(let X=0;X<ee;X++){const re=G?H[X]:H[X]=Be(H[X]);if(b)b=f(b,re,A,V,K,G);else{if(re.type===en&&!re.children)continue;ut=!0,n(null,re,T,null,A,V,Un(T),K)}}return b},p=(b,R,T,A,V,K)=>{const{slotScopeIds:G}=R;G&&(V=V?V.concat(G):G);const H=s(b),ee=h(i(b),R,H,T,A,V,K);return ee&&Gn(ee)&&ee.data==="]"?i(R.anchor=ee):(ut=!0,a(R.anchor=c("]"),H,ee),ee)},v=(b,R,T,A,V,K)=>{if(ut=!0,R.el=null,K){const ee=E(b);for(;;){const X=i(b);if(X&&X!==ee)l(X);else break}}const G=i(b),H=s(b);return l(b),n(null,R,H,G,T,A,Un(H),V),G},E=(b,R="[",T="]")=>{let A=0;for(;b;)if(b=i(b),b&&Gn(b)&&(b.data===R&&A++,b.data===T)){if(A===0)return i(b);A--}return b},P=(b,R,T)=>{const A=R.parentNode;A&&A.replaceChild(b,R);let V=T;for(;V;)V.vnode.el===R&&(V.vnode.el=V.subTree.el=b),V=V.parent},S=b=>b.nodeType===1&&b.tagName.toLowerCase()==="template";return[u,f]}const xe=Ol;function pf(e){return Kl(e)}function hf(e){return Kl(e,df)}function Kl(e,t){const n=Zs();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=je,insertStaticContent:p}=e,v=(_,g,w,C=null,L=null,k=null,D=void 0,x=null,N=!!g.dynamicChildren)=>{if(_===g)return;_&&!mt(_,g)&&(C=Mn(_),Je(_,L,k,!0),_=null),g.patchFlag===-2&&(N=!1,g.dynamicChildren=null);const{type:O,ref:M,shapeFlag:$}=g;switch(O){case en:E(_,g,w,C);break;case ze:P(_,g,w,C);break;case Qn:_==null&&S(g,w,C,D);break;case Pe:X(_,g,w,C,L,k,D,x,N);break;default:$&1?T(_,g,w,C,L,k,D,x,N):$&6?re(_,g,w,C,L,k,D,x,N):($&64||$&128)&&O.process(_,g,w,C,L,k,D,x,N,Bt)}M!=null&&L&&fr(M,_&&_.ref,k,g||_,!g)},E=(_,g,w,C)=>{if(_==null)r(g.el=l(g.children),w,C);else{const L=g.el=_.el;g.children!==_.children&&c(L,g.children)}},P=(_,g,w,C)=>{_==null?r(g.el=a(g.children||""),w,C):g.el=_.el},S=(_,g,w,C)=>{[_.el,_.anchor]=p(_.children,g,w,C,_.el,_.anchor)},b=({el:_,anchor:g},w,C)=>{let L;for(;_&&_!==g;)L=d(_),r(_,w,C),_=L;r(g,w,C)},R=({el:_,anchor:g})=>{let w;for(;_&&_!==g;)w=d(_),o(_),_=w;o(g)},T=(_,g,w,C,L,k,D,x,N)=>{g.type==="svg"?D="svg":g.type==="math"&&(D="mathml"),_==null?A(g,w,C,L,k,D,x,N):G(_,g,L,k,D,x,N)},A=(_,g,w,C,L,k,D,x)=>{let N,O;const{props:M,shapeFlag:$,transition:j,dirs:q}=_;if(N=_.el=s(_.type,k,M&&M.is,M),$&8?u(N,_.children):$&16&&K(_.children,N,null,C,L,Xr(_,k),D,x),q&&Xe(_,null,C,"created"),V(N,_,_.scopeId,D,C),M){for(const te in M)te!=="value"&&!Wt(te)&&i(N,te,null,M[te],k,_.children,C,L,tt);"value"in M&&i(N,"value",null,M.value,k),(O=M.onVnodeBeforeMount)&&Ve(O,C,_)}q&&Xe(_,null,C,"beforeMount");const Y=zl(L,j);Y&&j.beforeEnter(N),r(N,g,w),((O=M&&M.onVnodeMounted)||Y||q)&&xe(()=>{O&&Ve(O,C,_),Y&&j.enter(N),q&&Xe(_,null,C,"mounted")},L)},V=(_,g,w,C,L)=>{if(w&&h(_,w),C)for(let k=0;k<C.length;k++)h(_,C[k]);if(L){let k=L.subTree;if(g===k){const D=L.vnode;V(_,D,D.scopeId,D.slotScopeIds,L.parent)}}},K=(_,g,w,C,L,k,D,x,N=0)=>{for(let O=N;O<_.length;O++){const M=_[O]=x?pt(_[O]):Be(_[O]);v(null,M,g,w,C,L,k,D,x)}},G=(_,g,w,C,L,k,D)=>{const x=g.el=_.el;let{patchFlag:N,dynamicChildren:O,dirs:M}=g;N|=_.patchFlag&16;const $=_.props||ae,j=g.props||ae;let q;if(w&&Rt(w,!1),(q=j.onVnodeBeforeUpdate)&&Ve(q,w,g,_),M&&Xe(g,_,w,"beforeUpdate"),w&&Rt(w,!0),O?H(_.dynamicChildren,O,x,w,C,Xr(g,L),k):D||F(_,g,x,null,w,C,Xr(g,L),k,!1),N>0){if(N&16)ee(x,g,$,j,w,C,L);else if(N&2&&$.class!==j.class&&i(x,"class",null,j.class,L),N&4&&i(x,"style",$.style,j.style,L),N&8){const Y=g.dynamicProps;for(let te=0;te<Y.length;te++){const le=Y[te],ge=$[le],$e=j[le];($e!==ge||le==="value")&&i(x,le,ge,$e,L,_.children,w,C,tt)}}N&1&&_.children!==g.children&&u(x,g.children)}else!D&&O==null&&ee(x,g,$,j,w,C,L);((q=j.onVnodeUpdated)||M)&&xe(()=>{q&&Ve(q,w,g,_),M&&Xe(g,_,w,"updated")},C)},H=(_,g,w,C,L,k,D)=>{for(let x=0;x<g.length;x++){const N=_[x],O=g[x],M=N.el&&(N.type===Pe||!mt(N,O)||N.shapeFlag&70)?f(N.el):w;v(N,O,M,null,C,L,k,D,!0)}},ee=(_,g,w,C,L,k,D)=>{if(w!==C){if(w!==ae)for(const x in w)!Wt(x)&&!(x in C)&&i(_,x,w[x],null,D,g.children,L,k,tt);for(const x in C){if(Wt(x))continue;const N=C[x],O=w[x];N!==O&&x!=="value"&&i(_,x,O,N,D,g.children,L,k,tt)}"value"in C&&i(_,"value",w.value,C.value,D)}},X=(_,g,w,C,L,k,D,x,N)=>{const O=g.el=_?_.el:l(""),M=g.anchor=_?_.anchor:l("");let{patchFlag:$,dynamicChildren:j,slotScopeIds:q}=g;q&&(x=x?x.concat(q):q),_==null?(r(O,w,C),r(M,w,C),K(g.children||[],w,M,L,k,D,x,N)):$>0&&$&64&&j&&_.dynamicChildren?(H(_.dynamicChildren,j,w,L,k,D,x),(g.key!=null||L&&g===L.subTree)&&Jl(_,g,!0)):F(_,g,w,M,L,k,D,x,N)},re=(_,g,w,C,L,k,D,x,N)=>{g.slotScopeIds=x,_==null?g.shapeFlag&512?L.ctx.activate(g,w,C,D,N):he(g,w,C,L,k,D,N):ce(_,g,N)},he=(_,g,w,C,L,k,D)=>{const x=_.component=vf(_,C,L);if(li(_)&&(x.ctx.renderer=Bt),Ef(x),x.asyncDep){if(L&&L.registerDep(x,B),!_.el){const N=x.subTree=fe(ze);P(null,N,g,w)}}else B(x,_,g,w,L,k,D)},ce=(_,g,w)=>{const C=g.component=_.component;if(Cu(_,g,w))if(C.asyncDep&&!C.asyncResolved){J(C,g,w);return}else C.next=g,Eu(C.update),C.effect.dirty=!0,C.update();else g.el=_.el,C.vnode=g},B=(_,g,w,C,L,k,D)=>{const x=()=>{if(_.isMounted){let{next:M,bu:$,u:j,parent:q,vnode:Y}=_;{const jt=Yl(_);if(jt){M&&(M.el=Y.el,J(_,M,D)),jt.asyncDep.then(()=>{_.isUnmounted||x()});return}}let te=M,le;Rt(_,!1),M?(M.el=Y.el,J(_,M,D)):M=Y,$&&qr($),(le=M.props&&M.props.onVnodeBeforeUpdate)&&Ve(le,q,M,Y),Rt(_,!0);const ge=zr(_),$e=_.subTree;_.subTree=ge,v($e,ge,f($e.el),Mn($e),_,L,k),M.el=ge.el,te===null&&ri(_,ge.el),j&&xe(j,L),(le=M.props&&M.props.onVnodeUpdated)&&xe(()=>Ve(le,q,M,Y),L)}else{let M;const{el:$,props:j}=g,{bm:q,m:Y,parent:te}=_,le=Jt(g);if(Rt(_,!1),q&&qr(q),!le&&(M=j&&j.onVnodeBeforeMount)&&Ve(M,te,g),Rt(_,!0),$&&Gr){const ge=()=>{_.subTree=zr(_),Gr($,_.subTree,_,L,null)};le?g.type.__asyncLoader().then(()=>!_.isUnmounted&&ge()):ge()}else{const ge=_.subTree=zr(_);v(null,ge,w,C,_,L,k),g.el=ge.el}if(Y&&xe(Y,L),!le&&(M=j&&j.onVnodeMounted)){const ge=g;xe(()=>Ve(M,te,ge),L)}(g.shapeFlag&256||te&&Jt(te.vnode)&&te.vnode.shapeFlag&256)&&_.a&&xe(_.a,L),_.isMounted=!0,g=w=C=null}},N=_.effect=new zo(x,je,()=>kr(O),_.scope),O=_.update=()=>{N.dirty&&N.run()};O.id=_.uid,Rt(_,!0),O()},J=(_,g,w)=>{g.component=_;const C=_.vnode.props;_.vnode=g,_.next=null,sf(_,g.props,C,w),cf(_,g.children,w),Nt(),Fi(_),Dt()},F=(_,g,w,C,L,k,D,x,N=!1)=>{const O=_&&_.children,M=_?_.shapeFlag:0,$=g.children,{patchFlag:j,shapeFlag:q}=g;if(j>0){if(j&128){Dn(O,$,w,C,L,k,D,x,N);return}else if(j&256){et(O,$,w,C,L,k,D,x,N);return}}q&8?(M&16&&tt(O,L,k),$!==O&&u(w,$)):M&16?q&16?Dn(O,$,w,C,L,k,D,x,N):tt(O,L,k,!0):(M&8&&u(w,""),q&16&&K($,w,C,L,k,D,x,N))},et=(_,g,w,C,L,k,D,x,N)=>{_=_||Ut,g=g||Ut;const O=_.length,M=g.length,$=Math.min(O,M);let j;for(j=0;j<$;j++){const q=g[j]=N?pt(g[j]):Be(g[j]);v(_[j],q,w,null,L,k,D,x,N)}O>M?tt(_,L,k,!0,!1,$):K(g,w,C,L,k,D,x,N,$)},Dn=(_,g,w,C,L,k,D,x,N)=>{let O=0;const M=g.length;let $=_.length-1,j=M-1;for(;O<=$&&O<=j;){const q=_[O],Y=g[O]=N?pt(g[O]):Be(g[O]);if(mt(q,Y))v(q,Y,w,null,L,k,D,x,N);else break;O++}for(;O<=$&&O<=j;){const q=_[$],Y=g[j]=N?pt(g[j]):Be(g[j]);if(mt(q,Y))v(q,Y,w,null,L,k,D,x,N);else break;$--,j--}if(O>$){if(O<=j){const q=j+1,Y=q<M?g[q].el:C;for(;O<=j;)v(null,g[O]=N?pt(g[O]):Be(g[O]),w,Y,L,k,D,x,N),O++}}else if(O>j)for(;O<=$;)Je(_[O],L,k,!0),O++;else{const q=O,Y=O,te=new Map;for(O=Y;O<=j;O++){const Ne=g[O]=N?pt(g[O]):Be(g[O]);Ne.key!=null&&te.set(Ne.key,O)}let le,ge=0;const $e=j-Y+1;let jt=!1,Si=0;const un=new Array($e);for(O=0;O<$e;O++)un[O]=0;for(O=q;O<=$;O++){const Ne=_[O];if(ge>=$e){Je(Ne,L,k,!0);continue}let Ye;if(Ne.key!=null)Ye=te.get(Ne.key);else for(le=Y;le<=j;le++)if(un[le-Y]===0&&mt(Ne,g[le])){Ye=le;break}Ye===void 0?Je(Ne,L,k,!0):(un[Ye-Y]=O+1,Ye>=Si?Si=Ye:jt=!0,v(Ne,g[Ye],w,null,L,k,D,x,N),ge++)}const Li=jt?mf(un):Ut;for(le=Li.length-1,O=$e-1;O>=0;O--){const Ne=Y+O,Ye=g[Ne],Oi=Ne+1<M?g[Ne+1].el:C;un[O]===0?v(null,Ye,w,Oi,L,k,D,x,N):jt&&(le<0||O!==Li[le]?wt(Ye,w,Oi,2):le--)}}},wt=(_,g,w,C,L=null)=>{const{el:k,type:D,transition:x,children:N,shapeFlag:O}=_;if(O&6){wt(_.component.subTree,g,w,C);return}if(O&128){_.suspense.move(g,w,C);return}if(O&64){D.move(_,g,w,Bt);return}if(D===Pe){r(k,g,w);for(let $=0;$<N.length;$++)wt(N[$],g,w,C);r(_.anchor,g,w);return}if(D===Qn){b(_,g,w);return}if(C!==2&&O&1&&x)if(C===0)x.beforeEnter(k),r(k,g,w),xe(()=>x.enter(k),L);else{const{leave:$,delayLeave:j,afterLeave:q}=x,Y=()=>r(k,g,w),te=()=>{$(k,()=>{Y(),q&&q()})};j?j(k,Y,te):te()}else r(k,g,w)},Je=(_,g,w,C=!1,L=!1)=>{const{type:k,props:D,ref:x,children:N,dynamicChildren:O,shapeFlag:M,patchFlag:$,dirs:j}=_;if(x!=null&&fr(x,null,w,_,!0),M&256){g.ctx.deactivate(_);return}const q=M&1&&j,Y=!Jt(_);let te;if(Y&&(te=D&&D.onVnodeBeforeUnmount)&&Ve(te,g,_),M&6)Ac(_.component,w,C);else{if(M&128){_.suspense.unmount(w,C);return}q&&Xe(_,null,g,"beforeUnmount"),M&64?_.type.remove(_,g,w,L,Bt,C):O&&(k!==Pe||$>0&&$&64)?tt(O,g,w,!1,!0):(k===Pe&&$&384||!L&&M&16)&&tt(N,g,w),C&&Ai(_)}(Y&&(te=D&&D.onVnodeUnmounted)||q)&&xe(()=>{te&&Ve(te,g,_),q&&Xe(_,null,g,"unmounted")},w)},Ai=_=>{const{type:g,el:w,anchor:C,transition:L}=_;if(g===Pe){Pc(w,C);return}if(g===Qn){R(_);return}const k=()=>{o(w),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(_.shapeFlag&1&&L&&!L.persisted){const{leave:D,delayLeave:x}=L,N=()=>D(w,k);x?x(_.el,k,N):N()}else k()},Pc=(_,g)=>{let w;for(;_!==g;)w=d(_),o(_),_=w;o(g)},Ac=(_,g,w)=>{const{bum:C,scope:L,update:k,subTree:D,um:x}=_;C&&qr(C),L.stop(),k&&(k.active=!1,Je(D,_,g,w)),x&&xe(x,g),xe(()=>{_.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},tt=(_,g,w,C=!1,L=!1,k=0)=>{for(let D=k;D<_.length;D++)Je(_[D],g,w,C,L)},Mn=_=>_.shapeFlag&6?Mn(_.component.subTree):_.shapeFlag&128?_.suspense.next():d(_.anchor||_.el);let $r=!1;const Ci=(_,g,w)=>{_==null?g._vnode&&Je(g._vnode,null,null,!0):v(g._vnode||null,_,g,null,null,null,w),$r||($r=!0,Fi(),ar(),$r=!1),g._vnode=_},Bt={p:v,um:Je,m:wt,r:Ai,mt:he,mc:K,pc:F,pbc:H,n:Mn,o:e};let Ur,Gr;return t&&([Ur,Gr]=t(Bt)),{render:Ci,hydrate:Ur,createApp:rf(Ci,Ur)}}function Xr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Rt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function zl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Jl(e,t,n=!1){const r=e.children,o=t.children;if(W(r)&&W(o))for(let i=0;i<r.length;i++){const s=r[i];let l=o[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[i]=pt(o[i]),l.el=s.el),n||Jl(s,l)),l.type===en&&(l.el=s.el)}}function mf(e){const t=e.slice(),n=[0];let r,o,i,s,l;const a=e.length;for(r=0;r<a;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)l=i+s>>1,e[n[l]]<c?i=l+1:s=l;c<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function Yl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Yl(t)}const _f=e=>e.__isTeleport,Pe=Symbol.for("v-fgt"),en=Symbol.for("v-txt"),ze=Symbol.for("v-cmt"),Qn=Symbol.for("v-stc"),_n=[];let Fe=null;function ne(e=!1){_n.push(Fe=e?null:[])}function Xl(){_n.pop(),Fe=_n[_n.length-1]||null}let tn=1;function ts(e){tn+=e}function Ql(e){return e.dynamicChildren=tn>0?Fe||Ut:null,Xl(),tn>0&&Fe&&Fe.push(e),e}function Oe(e,t,n,r,o,i){return Ql(Se(e,t,n,r,o,i,!0))}function Me(e,t,n,r,o){return Ql(fe(e,t,n,r,o,!0))}function Tn(e){return e?e.__v_isVNode===!0:!1}function mt(e,t){return e.type===t.type&&e.key===t.key}const Vr="__vInternal",Zl=({key:e})=>e??null,Zn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ue(e)||Te(e)||U(e)?{i:we,r:e,k:t,f:!!n}:e:null);function Se(e,t=null,n=null,r=0,o=null,i=e===Pe?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Zl(t),ref:t&&Zn(t),scopeId:Dr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:we};return l?(ui(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=ue(n)?8:16),tn>0&&!s&&Fe&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&Fe.push(a),a}const fe=gf;function gf(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Cl)&&(e=ze),Tn(e)){const l=nn(e,t,!0);return n&&ui(l,n),tn>0&&!i&&Fe&&(l.shapeFlag&6?Fe[Fe.indexOf(e)]=l:Fe.push(l)),l.patchFlag|=-2,l}if(Af(e)&&(e=e.__vccOpts),t){t=ea(t);let{class:l,style:a}=t;l&&!ue(l)&&(t.class=kt(l)),se(a)&&(_l(a)&&!W(a)&&(a=Re({},a)),t.style=Ir(a))}const s=ue(e)?1:Lu(e)?128:_f(e)?64:se(e)?4:U(e)?2:0;return Se(e,t,n,r,o,s,i,!0)}function ea(e){return e?_l(e)||Vr in e?Re({},e):e:null}function nn(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:s}=e,l=t?ta(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Zl(l),ref:t&&t.ref?n&&o?W(o)?o.concat(Zn(t)):[o,Zn(t)]:Zn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nn(e.ssContent),ssFallback:e.ssFallback&&nn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function dr(e=" ",t=0){return fe(en,null,e,t)}function Ft(e="",t=!1){return t?(ne(),Me(ze,null,e)):fe(ze,null,e)}function Be(e){return e==null||typeof e=="boolean"?fe(ze):W(e)?fe(Pe,null,e.slice()):typeof e=="object"?pt(e):fe(en,null,String(e))}function pt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nn(e)}function ui(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(W(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),ui(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Vr in t)?t._ctx=we:o===3&&we&&(we.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else U(t)?(t={default:t,_ctx:we},n=32):(t=String(t),r&64?(n=16,t=[dr(t)]):n=8);e.children=t,e.shapeFlag|=n}function ta(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=kt([t.class,r.class]));else if(o==="style")t.style=Ir([t.style,r.style]);else if(On(o)){const i=t[o],s=r[o];s&&i!==s&&!(W(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=r[o])}return t}function Ve(e,t,n,r=null){qe(e,t,7,[n,r])}const yf=jl();let bf=0;function vf(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||yf,i={uid:bf++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new nl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ul(r,o),emitsOptions:Al(r,o),emit:null,emitted:null,propsDefaults:ae,inheritAttrs:r.inheritAttrs,ctx:ae,data:ae,props:ae,attrs:ae,slots:ae,refs:ae,setupState:ae,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.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 i.ctx={_:i},i.root=t?t.root:i,i.emit=Ru.bind(null,i),e.ce&&e.ce(i),i}let me=null;const na=()=>me||we;let pr,Eo;{const e=Zs(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};pr=t("__VUE_INSTANCE_SETTERS__",n=>me=n),Eo=t("__VUE_SSR_SETTERS__",n=>In=n)}const It=e=>{const t=me;return pr(e),e.scope.on(),()=>{e.scope.off(),pr(t)}},wo=()=>{me&&me.scope.off(),pr(null)};function ra(e){return e.vnode.shapeFlag&4}let In=!1;function Ef(e,t=!1){t&&Eo(t);const{props:n,children:r}=e.vnode,o=ra(e);of(e,n,o,t),af(e,r);const i=o?wf(e,t):void 0;return t&&Eo(!1),i}function wf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=gl(new Proxy(e.ctx,Ju));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Tf(e):null,i=It(e);Nt();const s=yt(r,e,0,[e.props,o]);if(Dt(),i(),qo(s)){if(s.then(wo,wo),t)return s.then(l=>{Ro(e,l,t)}).catch(l=>{ln(l,e,0)});e.asyncDep=s}else Ro(e,s,t)}else oa(e,t)}function Ro(e,t,n){U(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=El(t)),oa(e,n)}let ns;function oa(e,t,n){const r=e.type;if(!e.render){if(!t&&ns&&!r.render){const o=r.template||ai(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=Re(Re({isCustomElement:i,delimiters:l},s),a);r.render=ns(o,c)}}e.render=r.render||je}{const o=It(e);Nt();try{Xu(e)}finally{Dt(),o()}}}function Rf(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ke(e,"get","$attrs"),t[n]}}))}function Tf(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Rf(e)},slots:e.slots,emit:e.emit,expose:t}}function fi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(El(gl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in mn)return mn[n](e)},has(t,n){return n in t||n in mn}}))}function Pf(e,t=!0){return U(e)?e.displayName||e.name:e.name||t&&e.__name}function Af(e){return U(e)&&"__vccOpts"in e}const _t=(e,t)=>du(e,t,In);function To(e,t,n){const r=arguments.length;return r===2?se(t)&&!W(t)?Tn(t)?fe(e,null,[t]):fe(e,t):fe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Tn(n)&&(n=[n]),fe(e,t,n))}const ia="3.4.21";/**
19
+ **/function yt(e,t,n,r){try{return r?e(...r):e()}catch(o){an(o,t,n)}}function qe(e,t,n,r){if(U(e)){const i=yt(e,t,n,r);return i&&Ko(i)&&i.catch(s=>{an(s,t,n)}),i}const o=[];for(let i=0;i<e.length;i++)o.push(qe(e[i],t,n,r));return o}function an(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let i=t.parent;const s=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,s,l)===!1)return}i=i.parent}const a=t.appContext.config.errorHandler;if(a){yt(a,null,10,[e,s,l]);return}}bu(e,n,o,r)}function bu(e,t,n,r=!0){console.error(e)}let En=!1,mo=!1;const Ae=[];let Qe=0;const zt=[];let dt=null,Pt=0;const Tl=Promise.resolve();let ni=null;function ri(e){const t=ni||Tl;return e?t.then(this?e.bind(this):e):t}function vu(e){let t=Qe+1,n=Ae.length;for(;t<n;){const r=t+n>>>1,o=Ae[r],i=wn(o);i<e||i===e&&o.pre?t=r+1:n=r}return t}function Nr(e){(!Ae.length||!Ae.includes(e,En&&e.allowRecurse?Qe+1:Qe))&&(e.id==null?Ae.push(e):Ae.splice(vu(e.id),0,e),Pl())}function Pl(){!En&&!mo&&(mo=!0,ni=Tl.then(Al))}function Eu(e){const t=Ae.indexOf(e);t>Qe&&Ae.splice(t,1)}function _o(e){W(e)?zt.push(...e):(!dt||!dt.includes(e,e.allowRecurse?Pt+1:Pt))&&zt.push(e),Pl()}function Hi(e,t,n=En?Qe+1:0){for(;n<Ae.length;n++){const r=Ae[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Ae.splice(n,1),n--,r()}}}function cr(e){if(zt.length){const t=[...new Set(zt)].sort((n,r)=>wn(n)-wn(r));if(zt.length=0,dt){dt.push(...t);return}for(dt=t,Pt=0;Pt<dt.length;Pt++)dt[Pt]();dt=null,Pt=0}}const wn=e=>e.id==null?1/0:e.id,wu=(e,t)=>{const n=wn(e)-wn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Al(e){mo=!1,En=!0,Ae.sort(wu);try{for(Qe=0;Qe<Ae.length;Qe++){const t=Ae[Qe];t&&t.active!==!1&&yt(t,null,14)}}finally{Qe=0,Ae.length=0,cr(),En=!1,ni=null,(Ae.length||zt.length)&&Al()}}function Ru(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ae;let o=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in r){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:f,trim:d}=r[u]||ae;d&&(o=n.map(p=>ce(p)?p.trim():p)),f&&(o=n.map(Nc))}let l,a=r[l=qr(t)]||r[l=qr(Ze(t))];!a&&i&&(a=r[l=qr(ln(t))]),a&&qe(a,e,6,o);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,qe(c,e,6,o)}}function Cl(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},l=!1;if(!U(e)){const a=c=>{const u=Cl(c,t,!0);u&&(l=!0,Re(s,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(se(e)&&r.set(e,null),null):(W(i)?i.forEach(a=>s[a]=null):Re(s,i),se(e)&&r.set(e,s),s)}function Dr(e,t){return!e||!In(t)?!1:(t=t.slice(2).replace(/Once$/,""),Q(e,t[0].toLowerCase()+t.slice(1))||Q(e,ln(t))||Q(e,t))}let we=null,Mr=null;function ur(e){const t=we;return we=e,Mr=e&&e.type.__scopeId||null,t}function dy(e){Mr=e}function py(){Mr=null}function Rn(e,t=we,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&ns(-1);const i=ur(t);let s;try{s=e(...o)}finally{ur(i),r._d&&ns(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function Jr(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[s],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:p,ctx:h,inheritAttrs:b}=e;let E,P;const S=ur(e);try{if(n.shapeFlag&4){const R=o||r,T=R;E=Be(u.call(T,R,f,i,p,d,h)),P=a}else{const R=t;E=Be(R.length>1?R(i,{attrs:a,slots:l,emit:c}):R(i,null)),P=t.props?a:Pu(a)}}catch(R){gn.length=0,an(R,e,1),E=ue(ze)}let v=E;if(P&&b!==!1){const R=Object.keys(P),{shapeFlag:T}=v;R.length&&T&7&&(s&&R.some(Wo)&&(P=Au(P,s)),v=rn(v,P))}return n.dirs&&(v=rn(v),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),E=v,ur(S),E}function Tu(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Pn(o)){if(o.type!==ze||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Pu=e=>{let t;for(const n in e)(n==="class"||n==="style"||In(n))&&((t||(t={}))[n]=e[n]);return t},Au=(e,t)=>{const n={};for(const r in e)(!Wo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Cu(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:l,patchFlag:a}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?$i(r,s,c):!!s;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(s[d]!==r[d]&&!Dr(c,d))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===s?!1:r?s?$i(r,s,c):!0:!!s;return!1}function $i(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!Dr(n,i))return!0}return!1}function oi({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const ii="components";function Su(e,t){return Ol(ii,e,!0,t)||e}const Sl=Symbol.for("v-ndc");function Ll(e){return ce(e)?Ol(ii,e,!1)||e:e||Sl}function Ol(e,t,n=!0,r=!1){const o=we||he;if(o){const i=o.type;if(e===ii){const l=Pf(i,!1);if(l&&(l===t||l===Ze(t)||l===Ir(Ze(t))))return i}const s=Ui(o[e]||i[e],t)||Ui(o.appContext[e],t);return!s&&r?i:s}}function Ui(e,t){return e&&(e[t]||e[Ze(t)]||e[Ir(Ze(t))])}const Lu=e=>e.__isSuspense;let go=0;const Ou={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,l,a,c){if(e==null)xu(t,n,r,o,i,s,l,a,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}ku(e,t,n,r,o,s,l,a,c)}},hydrate:Nu,create:si,normalize:Du},Iu=Ou;function Tn(e,t){const n=e.props&&e.props[t];U(n)&&n()}function xu(e,t,n,r,o,i,s,l,a){const{p:c,o:{createElement:u}}=a,f=u("div"),d=e.suspense=si(e,o,r,t,f,n,i,s,l,a);c(null,d.pendingBranch=e.ssContent,f,null,r,d,i,s),d.deps>0?(Tn(e,"onPending"),Tn(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,s),Jt(d,e.ssFallback)):d.resolve(!1,!0)}function ku(e,t,n,r,o,i,s,l,{p:a,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:b,isInFallback:E,isHydrating:P}=f;if(b)f.pendingBranch=d,mt(d,b)?(a(b,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0?f.resolve():E&&(P||(a(h,p,n,r,o,null,i,s,l),Jt(f,p)))):(f.pendingId=go++,P?(f.isHydrating=!1,f.activeBranch=b):c(b,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),E?(a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0?f.resolve():(a(h,p,n,r,o,null,i,s,l),Jt(f,p))):h&&mt(d,h)?(a(h,d,n,r,o,f,i,s,l),f.resolve(!0)):(a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0&&f.resolve()));else if(h&&mt(d,h))a(h,d,n,r,o,f,i,s,l),Jt(f,d);else if(Tn(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=go++,a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0)f.resolve();else{const{timeout:S,pendingId:v}=f;S>0?setTimeout(()=>{f.pendingId===v&&f.fallback(p)},S):S===0&&f.fallback(p)}}function si(e,t,n,r,o,i,s,l,a,c,u=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:b,remove:E}}=c;let P;const S=Mu(e);S&&t!=null&&t.pendingBranch&&(P=t.pendingId,t.deps++);const v=e.props?Dc(e.props.timeout):void 0,R=i,T={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:go++,timeout:typeof v=="number"?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(A=!1,V=!1){const{vnode:K,activeBranch:G,pendingBranch:H,pendingId:X,effects:Z,parentComponent:te,container:_e}=T;let pe=!1;T.isHydrating?T.isHydrating=!1:A||(pe=G&&H.transition&&H.transition.mode==="out-in",pe&&(G.transition.afterLeave=()=>{X===T.pendingId&&(d(H,_e,i===R?h(G):i,0),_o(Z))}),G&&(b(G.el)!==T.hiddenContainer&&(i=h(G)),p(G,te,T,!0)),pe||d(H,_e,i,0)),Jt(T,H),T.pendingBranch=null,T.isInFallback=!1;let B=T.parent,J=!1;for(;B;){if(B.pendingBranch){B.effects.push(...Z),J=!0;break}B=B.parent}!J&&!pe&&_o(Z),T.effects=[],S&&t&&t.pendingBranch&&P===t.pendingId&&(t.deps--,t.deps===0&&!V&&t.resolve()),Tn(K,"onResolve")},fallback(A){if(!T.pendingBranch)return;const{vnode:V,activeBranch:K,parentComponent:G,container:H,namespace:X}=T;Tn(V,"onFallback");const Z=h(K),te=()=>{T.isInFallback&&(f(null,A,H,Z,G,null,X,l,a),Jt(T,A))},_e=A.transition&&A.transition.mode==="out-in";_e&&(K.transition.afterLeave=te),T.isInFallback=!0,p(K,G,null,!0),_e||te()},move(A,V,K){T.activeBranch&&d(T.activeBranch,A,V,K),T.container=A},next(){return T.activeBranch&&h(T.activeBranch)},registerDep(A,V){const K=!!T.pendingBranch;K&&T.deps++;const G=A.vnode.el;A.asyncDep.catch(H=>{an(H,A,0)}).then(H=>{if(A.isUnmounted||T.isUnmounted||T.pendingId!==A.suspenseId)return;A.asyncResolved=!0;const{vnode:X}=A;To(A,H,!1),G&&(X.el=G);const Z=!G&&A.subTree.el;V(A,X,b(G||A.subTree.el),G?null:h(A.subTree),T,s,a),Z&&E(Z),oi(A,X.el),K&&--T.deps===0&&T.resolve()})},unmount(A,V){T.isUnmounted=!0,T.activeBranch&&p(T.activeBranch,n,A,V),T.pendingBranch&&p(T.pendingBranch,n,A,V)}};return T}function Nu(e,t,n,r,o,i,s,l,a){const c=t.suspense=si(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,l,!0),u=a(e,c.pendingBranch=t.ssContent,n,c,i,s);return c.deps===0&&c.resolve(!1,!0),u}function Du(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Gi(r?n.default:n),e.ssFallback=r?Gi(n.fallback):ue(ze)}function Gi(e){let t;if(U(e)){const n=nn&&e._c;n&&(e._d=!1,re()),e=e(),n&&(e._d=!0,t=Fe,Ql())}return W(e)&&(e=Tu(e)),e=Be(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Il(e,t){t&&t.pendingBranch?W(e)?t.effects.push(...e):t.effects.push(e):_o(e)}function Jt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,oi(r,o))}function Mu(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const Vu=Symbol.for("v-scx"),Bu=()=>Qt(Vu);function hy(e,t){return li(e,null,t)}const Un={};function mn(e,t,n){return li(e,t,n)}function li(e,t,{immediate:n,deep:r,flush:o,once:i,onTrack:s,onTrigger:l}=ae){if(t&&i){const A=t;t=(...V)=>{A(...V),T()}}const a=he,c=A=>r===!0?A:$t(A,r===!1?1:void 0);let u,f=!1,d=!1;if(Te(e)?(u=()=>e.value,f=ar(e)):Kt(e)?(u=()=>c(e),f=!0):W(e)?(d=!0,f=e.some(A=>Kt(A)||ar(A)),u=()=>e.map(A=>{if(Te(A))return A.value;if(Kt(A))return c(A);if(U(A))return yt(A,a,2)})):U(e)?t?u=()=>yt(e,a,2):u=()=>(p&&p(),qe(e,a,3,[h])):u=je,t&&r){const A=u;u=()=>$t(A())}let p,h=A=>{p=v.onStop=()=>{yt(A,a,4),p=v.onStop=void 0}},b;if(xn)if(h=je,t?n&&qe(t,a,3,[u(),d?[]:void 0,h]):u(),o==="sync"){const A=Bu();b=A.__watcherHandles||(A.__watcherHandles=[])}else return je;let E=d?new Array(e.length).fill(Un):Un;const P=()=>{if(!(!v.active||!v.dirty))if(t){const A=v.run();(r||f||(d?A.some((V,K)=>bt(V,E[K])):bt(A,E)))&&(p&&p(),qe(t,a,3,[A,E===Un?void 0:d&&E[0]===Un?[]:E,h]),E=A)}else v.run()};P.allowRecurse=!!t;let S;o==="sync"?S=P:o==="post"?S=()=>xe(P,a&&a.suspense):(P.pre=!0,a&&(P.id=a.uid),S=()=>Nr(P));const v=new Jo(u,je,S),R=Wc(),T=()=>{v.stop(),R&&qo(R.effects,v)};return t?n?P():E=v.run():o==="post"?xe(v.run.bind(v),a&&a.suspense):v.run(),b&&b.push(T),T}function ju(e,t,n){const r=this.proxy,o=ce(e)?e.includes(".")?xl(r,e):()=>r[e]:e.bind(r,r);let i;U(t)?i=t:(i=t.handler,n=t);const s=xt(this),l=li(o,i.bind(r),n);return s(),l}function xl(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function $t(e,t,n=0,r){if(!se(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Te(e))$t(e.value,t,n,r);else if(W(e))for(let o=0;o<e.length;o++)$t(e[o],t,n,r);else if(Xs(e)||Wt(e))e.forEach(o=>{$t(o,t,n,r)});else if(Zs(e))for(const o in e)$t(e[o],t,n,r);return e}function Xe(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const l=o[s];i&&(l.oldValue=i[s].value);let a=l.dir[r];a&&(Dt(),qe(a,n,8,[e.el,l,e,t]),Mt())}}/*! #__NO_SIDE_EFFECTS__ */function Vt(e,t){return U(e)?Re({name:e.name},t,{setup:e}):e}const Yt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Wi(e){U(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:s=!0,onError:l}=e;let a=null,c,u=0;const f=()=>(u++,a=null,d()),d=()=>{let p;return a||(p=a=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),l)return new Promise((b,E)=>{l(h,()=>b(f()),()=>E(h),u+1)});throw h}).then(h=>p!==a&&a?a:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return Vt({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=he;if(c)return()=>Yr(c,p);const h=S=>{a=null,an(S,p,13,!r)};if(s&&p.suspense||xn)return d().then(S=>()=>Yr(S,p)).catch(S=>(h(S),()=>r?ue(r,{error:S}):null));const b=We(!1),E=We(),P=We(!!o);return o&&setTimeout(()=>{P.value=!1},o),i!=null&&setTimeout(()=>{if(!b.value&&!E.value){const S=new Error(`Async component timed out after ${i}ms.`);h(S),E.value=S}},i),d().then(()=>{b.value=!0,p.parent&&ai(p.parent.vnode)&&(p.parent.effect.dirty=!0,Nr(p.parent.update))}).catch(S=>{h(S),E.value=S}),()=>{if(b.value&&c)return Yr(c,p);if(E.value&&r)return ue(r,{error:E.value});if(n&&!P.value)return ue(n)}}})}function Yr(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=ue(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const ai=e=>e.type.__isKeepAlive;function Fu(e,t){kl(e,"a",t)}function Hu(e,t){kl(e,"da",t)}function kl(e,t,n=he){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Vr(t,r,n),n){let o=n.parent;for(;o&&o.parent;)ai(o.parent.vnode)&&$u(r,t,n,o),o=o.parent}}function $u(e,t,n,r){const o=Vr(t,e,r,!0);Ml(()=>{qo(r[t],o)},n)}function Vr(e,t,n=he,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;Dt();const l=xt(n),a=qe(t,n,e,s);return l(),Mt(),a});return r?o.unshift(i):o.push(i),i}}const st=e=>(t,n=he)=>(!xn||e==="sp")&&Vr(e,(...r)=>t(...r),n),Uu=st("bm"),Nl=st("m"),Gu=st("bu"),Wu=st("u"),Dl=st("bum"),Ml=st("um"),qu=st("sp"),Ku=st("rtg"),zu=st("rtc");function Vl(e,t=he){Vr("ec",e,t)}function qi(e,t,n,r){let o;const i=n&&n[r];if(W(e)||ce(e)){o=new Array(e.length);for(let s=0,l=e.length;s<l;s++)o[s]=t(e[s],s,void 0,i&&i[s])}else if(typeof e=="number"){o=new Array(e);for(let s=0;s<e;s++)o[s]=t(s+1,s,void 0,i&&i[s])}else if(se(e))if(e[Symbol.iterator])o=Array.from(e,(s,l)=>t(s,l,void 0,i&&i[l]));else{const s=Object.keys(e);o=new Array(s.length);for(let l=0,a=s.length;l<a;l++){const c=s[l];o[l]=t(e[c],c,l,i&&i[l])}}else o=[];return n&&(n[r]=o),o}function Ki(e,t,n={},r,o){if(we.isCE||we.parent&&Yt(we.parent)&&we.parent.isCE)return t!=="default"&&(n.name=t),ue("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),re();const s=i&&Bl(i(n)),l=Me(Pe,{key:n.key||s&&s.key||`_${t}`},s||(r?r():[]),s&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Bl(e){return e.some(t=>Pn(t)?!(t.type===ze||t.type===Pe&&!Bl(t.children)):!0)?e:null}const yo=e=>e?oa(e)?di(e)||e.proxy:yo(e.parent):null,_n=Re(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>yo(e.parent),$root:e=>yo(e.root),$emit:e=>e.emit,$options:e=>ci(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Nr(e.update)}),$nextTick:e=>e.n||(e.n=ri.bind(e.proxy)),$watch:e=>ju.bind(e)}),Xr=(e,t)=>e!==ae&&!e.__isScriptSetup&&Q(e,t),Ju={get({_:e},t){const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(Xr(r,t))return s[t]=1,r[t];if(o!==ae&&Q(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&Q(c,t))return s[t]=3,i[t];if(n!==ae&&Q(n,t))return s[t]=4,n[t];bo&&(s[t]=0)}}const u=_n[t];let f,d;if(u)return t==="$attrs"&&ke(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ae&&Q(n,t))return s[t]=4,n[t];if(d=a.config.globalProperties,Q(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return Xr(o,t)?(o[t]=n,!0):r!==ae&&Q(r,t)?(r[t]=n,!0):Q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let l;return!!n[s]||e!==ae&&Q(e,s)||Xr(t,s)||(l=i[0])&&Q(l,s)||Q(r,s)||Q(_n,s)||Q(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function zi(e){return W(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Yu(e){const t=ra();let n=e();return Ro(),Ko(n)&&(n=n.catch(r=>{throw xt(t),r})),[n,()=>xt(t)]}let bo=!0;function Xu(e){const t=ci(e),n=e.proxy,r=e.ctx;bo=!1,t.beforeCreate&&Ji(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:b,deactivated:E,beforeDestroy:P,beforeUnmount:S,destroyed:v,unmounted:R,render:T,renderTracked:A,renderTriggered:V,errorCaptured:K,serverPrefetch:G,expose:H,inheritAttrs:X,components:Z,directives:te,filters:_e}=t;if(c&&Qu(c,r,null),s)for(const J in s){const F=s[J];U(F)&&(r[J]=F.bind(n))}if(o){const J=o.call(n,n);se(J)&&(e.data=Ke(J))}if(bo=!0,i)for(const J in i){const F=i[J],et=U(F)?F.bind(n,n):U(F.get)?F.get.bind(n,n):je,Mn=!U(F)&&U(F.set)?F.set.bind(n):je,wt=_t({get:et,set:Mn});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>wt.value,set:Je=>wt.value=Je})}if(l)for(const J in l)jl(l[J],r,n,J);if(a){const J=U(a)?a.call(n):a;Reflect.ownKeys(J).forEach(F=>{Hl(F,J[F])})}u&&Ji(u,e,"c");function B(J,F){W(F)?F.forEach(et=>J(et.bind(n))):F&&J(F.bind(n))}if(B(Uu,f),B(Nl,d),B(Gu,p),B(Wu,h),B(Fu,b),B(Hu,E),B(Vl,K),B(zu,A),B(Ku,V),B(Dl,S),B(Ml,R),B(qu,G),W(H))if(H.length){const J=e.exposed||(e.exposed={});H.forEach(F=>{Object.defineProperty(J,F,{get:()=>n[F],set:et=>n[F]=et})})}else e.exposed||(e.exposed={});T&&e.render===je&&(e.render=T),X!=null&&(e.inheritAttrs=X),Z&&(e.components=Z),te&&(e.directives=te)}function Qu(e,t,n=je){W(e)&&(e=vo(e));for(const r in e){const o=e[r];let i;se(o)?"default"in o?i=Qt(o.from||r,o.default,!0):i=Qt(o.from||r):i=Qt(o),Te(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function Ji(e,t,n){qe(W(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function jl(e,t,n,r){const o=r.includes(".")?xl(n,r):()=>n[r];if(ce(e)){const i=t[e];U(i)&&mn(o,i)}else if(U(e))mn(o,e.bind(n));else if(se(e))if(W(e))e.forEach(i=>jl(i,t,n,r));else{const i=U(e.handler)?e.handler.bind(n):t[e.handler];U(i)&&mn(o,i,e)}}function ci(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,l=i.get(t);let a;return l?a=l:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(c=>fr(a,c,s,!0)),fr(a,t,s)),se(t)&&i.set(t,a),a}function fr(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&fr(e,i,n,!0),o&&o.forEach(s=>fr(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const l=Zu[s]||n&&n[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const Zu={data:Yi,props:Xi,emits:Xi,methods:pn,computed:pn,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:pn,directives:pn,watch:tf,provide:Yi,inject:ef};function Yi(e,t){return t?e?function(){return Re(U(e)?e.call(this,this):e,U(t)?t.call(this,this):t)}:t:e}function ef(e,t){return pn(vo(e),vo(t))}function vo(e){if(W(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ce(e,t){return e?[...new Set([].concat(e,t))]:t}function pn(e,t){return e?Re(Object.create(null),e,t):t}function Xi(e,t){return e?W(e)&&W(t)?[...new Set([...e,...t])]:Re(Object.create(null),zi(e),zi(t??{})):t}function tf(e,t){if(!e)return t;if(!t)return e;const n=Re(Object.create(null),e);for(const r in t)n[r]=Ce(e[r],t[r]);return n}function Fl(){return{app:null,config:{isNativeTag:Lc,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 nf=0;function rf(e,t){return function(r,o=null){U(r)||(r=Re({},r)),o!=null&&!se(o)&&(o=null);const i=Fl(),s=new WeakSet;let l=!1;const a=i.app={_uid:nf++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:sa,get config(){return i.config},set config(c){},use(c,...u){return s.has(c)||(c&&U(c.install)?(s.add(c),c.install(a,...u)):U(c)&&(s.add(c),c(a,...u))),a},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),a},component(c,u){return u?(i.components[c]=u,a):i.components[c]},directive(c,u){return u?(i.directives[c]=u,a):i.directives[c]},mount(c,u,f){if(!l){const d=ue(r,o);return d.appContext=i,f===!0?f="svg":f===!1&&(f=void 0),u&&t?t(d,c):e(d,c,f),l=!0,a._container=c,c.__vue_app__=a,di(d.component)||d.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return i.provides[c]=u,a},runWithContext(c){const u=Xt;Xt=a;try{return c()}finally{Xt=u}}};return a}}let Xt=null;function Hl(e,t){if(he){let n=he.provides;const r=he.parent&&he.parent.provides;r===n&&(n=he.provides=Object.create(r)),n[e]=t}}function Qt(e,t,n=!1){const r=he||we;if(r||Xt){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Xt._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&U(t)?t.call(r&&r.proxy):t}}function $l(){return!!(he||we||Xt)}function of(e,t,n,r=!1){const o={},i={};sr(i,Br,1),e.propsDefaults=Object.create(null),Ul(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:ml(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function sf(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,l=ee(o),[a]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Dr(e.emitsOptions,d))continue;const p=t[d];if(a)if(Q(i,d))p!==i[d]&&(i[d]=p,c=!0);else{const h=Ze(d);o[h]=Eo(a,l,h,p,e,!1)}else p!==i[d]&&(i[d]=p,c=!0)}}}else{Ul(e,t,o,i)&&(c=!0);let u;for(const f in l)(!t||!Q(t,f)&&((u=ln(f))===f||!Q(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Eo(a,l,f,void 0,e,!0)):delete o[f]);if(i!==l)for(const f in i)(!t||!Q(t,f))&&(delete i[f],c=!0)}c&&it(e,"set","$attrs")}function Ul(e,t,n,r){const[o,i]=e.propsOptions;let s=!1,l;if(t)for(let a in t){if(qt(a))continue;const c=t[a];let u;o&&Q(o,u=Ze(a))?!i||!i.includes(u)?n[u]=c:(l||(l={}))[u]=c:Dr(e.emitsOptions,a)||(!(a in r)||c!==r[a])&&(r[a]=c,s=!0)}if(i){const a=ee(n),c=l||ae;for(let u=0;u<i.length;u++){const f=i[u];n[f]=Eo(o,a,f,c[f],e,!Q(c,f))}}return s}function Eo(e,t,n,r,o,i){const s=e[n];if(s!=null){const l=Q(s,"default");if(l&&r===void 0){const a=s.default;if(s.type!==Function&&!s.skipFactory&&U(a)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=xt(o);r=c[n]=a.call(null,t),u()}}else r=a}s[0]&&(i&&!l?r=!1:s[1]&&(r===""||r===ln(n))&&(r=!0))}return r}function Gl(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const i=e.props,s={},l=[];let a=!1;if(!U(e)){const u=f=>{a=!0;const[d,p]=Gl(f,t,!0);Re(s,d),p&&l.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return se(e)&&r.set(e,Gt),Gt;if(W(i))for(let u=0;u<i.length;u++){const f=Ze(i[u]);Qi(f)&&(s[f]=ae)}else if(i)for(const u in i){const f=Ze(u);if(Qi(f)){const d=i[u],p=s[f]=W(d)||U(d)?{type:d}:Re({},d);if(p){const h=ts(Boolean,p.type),b=ts(String,p.type);p[0]=h>-1,p[1]=b<0||h<b,(h>-1||Q(p,"default"))&&l.push(f)}}}const c=[s,l];return se(e)&&r.set(e,c),c}function Qi(e){return e[0]!=="$"&&!qt(e)}function Zi(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function es(e,t){return Zi(e)===Zi(t)}function ts(e,t){return W(t)?t.findIndex(n=>es(n,e)):U(t)&&es(t,e)?0:-1}const Wl=e=>e[0]==="_"||e==="$stable",ui=e=>W(e)?e.map(Be):[Be(e)],lf=(e,t,n)=>{if(t._n)return t;const r=Rn((...o)=>ui(t(...o)),n);return r._c=!1,r},ql=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Wl(o))continue;const i=e[o];if(U(i))t[o]=lf(o,i,r);else if(i!=null){const s=ui(i);t[o]=()=>s}}},Kl=(e,t)=>{const n=ui(t);e.slots.default=()=>n},af=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ee(t),sr(t,"_",n)):ql(t,e.slots={})}else e.slots={},t&&Kl(e,t);sr(e.slots,Br,1)},cf=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=ae;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(Re(o,t),!n&&l===1&&delete o._):(i=!t.$stable,ql(t,o)),s=t}else t&&(Kl(e,t),s={default:1});if(i)for(const l in o)!Wl(l)&&s[l]==null&&delete o[l]};function dr(e,t,n,r,o=!1){if(W(e)){e.forEach((d,p)=>dr(d,t&&(W(t)?t[p]:t),n,r,o));return}if(Yt(r)&&!o)return;const i=r.shapeFlag&4?di(r.component)||r.component.proxy:r.el,s=o?null:i,{i:l,r:a}=e,c=t&&t.r,u=l.refs===ae?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(ce(c)?(u[c]=null,Q(f,c)&&(f[c]=null)):Te(c)&&(c.value=null)),U(a))yt(a,l,12,[s,u]);else{const d=ce(a),p=Te(a);if(d||p){const h=()=>{if(e.f){const b=d?Q(f,a)?f[a]:u[a]:a.value;o?W(b)&&qo(b,i):W(b)?b.includes(i)||b.push(i):d?(u[a]=[i],Q(f,a)&&(f[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else d?(u[a]=s,Q(f,a)&&(f[a]=s)):p&&(a.value=s,e.k&&(u[e.k]=s))};s?(h.id=-1,xe(h,n)):h()}}}let ut=!1;const uf=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",ff=e=>e.namespaceURI.includes("MathML"),Gn=e=>{if(uf(e))return"svg";if(ff(e))return"mathml"},Wn=e=>e.nodeType===8;function df(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:l,insert:a,createComment:c}}=e,u=(v,R)=>{if(!R.hasChildNodes()){n(null,v,R),cr(),R._vnode=v;return}ut=!1,f(R.firstChild,v,null,null,null),cr(),R._vnode=v,ut&&console.error("Hydration completed but contains mismatches.")},f=(v,R,T,A,V,K=!1)=>{const G=Wn(v)&&v.data==="[",H=()=>b(v,R,T,A,V,G),{type:X,ref:Z,shapeFlag:te,patchFlag:_e}=R;let pe=v.nodeType;R.el=v,_e===-2&&(K=!1,R.dynamicChildren=null);let B=null;switch(X){case tn:pe!==3?R.children===""?(a(R.el=o(""),s(v),v),B=v):B=H():(v.data!==R.children&&(ut=!0,v.data=R.children),B=i(v));break;case ze:S(v)?(B=i(v),P(R.el=v.content.firstChild,v,T)):pe!==8||G?B=H():B=i(v);break;case Zn:if(G&&(v=i(v),pe=v.nodeType),pe===1||pe===3){B=v;const J=!R.children.length;for(let F=0;F<R.staticCount;F++)J&&(R.children+=B.nodeType===1?B.outerHTML:B.data),F===R.staticCount-1&&(R.anchor=B),B=i(B);return G?i(B):B}else H();break;case Pe:G?B=h(v,R,T,A,V,K):B=H();break;default:if(te&1)(pe!==1||R.type.toLowerCase()!==v.tagName.toLowerCase())&&!S(v)?B=H():B=d(v,R,T,A,V,K);else if(te&6){R.slotScopeIds=V;const J=s(v);if(G?B=E(v):Wn(v)&&v.data==="teleport start"?B=E(v,v.data,"teleport end"):B=i(v),t(R,J,null,T,A,Gn(J),K),Yt(R)){let F;G?(F=ue(Pe),F.anchor=B?B.previousSibling:J.lastChild):F=v.nodeType===3?pr(""):ue("div"),F.el=v,R.component.subTree=F}}else te&64?pe!==8?B=H():B=R.type.hydrate(v,R,T,A,V,K,e,p):te&128&&(B=R.type.hydrate(v,R,T,A,Gn(s(v)),V,K,e,f))}return Z!=null&&dr(Z,null,A,R),B},d=(v,R,T,A,V,K)=>{K=K||!!R.dynamicChildren;const{type:G,props:H,patchFlag:X,shapeFlag:Z,dirs:te,transition:_e}=R,pe=G==="input"||G==="option";if(pe||X!==-1){te&&Xe(R,null,T,"created");let B=!1;if(S(v)){B=Jl(A,_e)&&T&&T.vnode.props&&T.vnode.props.appear;const F=v.content.firstChild;B&&_e.beforeEnter(F),P(F,v,T),R.el=v=F}if(Z&16&&!(H&&(H.innerHTML||H.textContent))){let F=p(v.firstChild,R,v,T,A,V,K);for(;F;){ut=!0;const et=F;F=F.nextSibling,l(et)}}else Z&8&&v.textContent!==R.children&&(ut=!0,v.textContent=R.children);if(H)if(pe||!K||X&48)for(const F in H)(pe&&(F.endsWith("value")||F==="indeterminate")||In(F)&&!qt(F)||F[0]===".")&&r(v,F,null,H[F],void 0,void 0,T);else H.onClick&&r(v,"onClick",null,H.onClick,void 0,void 0,T);let J;(J=H&&H.onVnodeBeforeMount)&&Ve(J,T,R),te&&Xe(R,null,T,"beforeMount"),((J=H&&H.onVnodeMounted)||te||B)&&Il(()=>{J&&Ve(J,T,R),B&&_e.enter(v),te&&Xe(R,null,T,"mounted")},A)}return v.nextSibling},p=(v,R,T,A,V,K,G)=>{G=G||!!R.dynamicChildren;const H=R.children,X=H.length;for(let Z=0;Z<X;Z++){const te=G?H[Z]:H[Z]=Be(H[Z]);if(v)v=f(v,te,A,V,K,G);else{if(te.type===tn&&!te.children)continue;ut=!0,n(null,te,T,null,A,V,Gn(T),K)}}return v},h=(v,R,T,A,V,K)=>{const{slotScopeIds:G}=R;G&&(V=V?V.concat(G):G);const H=s(v),X=p(i(v),R,H,T,A,V,K);return X&&Wn(X)&&X.data==="]"?i(R.anchor=X):(ut=!0,a(R.anchor=c("]"),H,X),X)},b=(v,R,T,A,V,K)=>{if(ut=!0,R.el=null,K){const X=E(v);for(;;){const Z=i(v);if(Z&&Z!==X)l(Z);else break}}const G=i(v),H=s(v);return l(v),n(null,R,H,G,T,A,Gn(H),V),G},E=(v,R="[",T="]")=>{let A=0;for(;v;)if(v=i(v),v&&Wn(v)&&(v.data===R&&A++,v.data===T)){if(A===0)return i(v);A--}return v},P=(v,R,T)=>{const A=R.parentNode;A&&A.replaceChild(v,R);let V=T;for(;V;)V.vnode.el===R&&(V.vnode.el=V.subTree.el=v),V=V.parent},S=v=>v.nodeType===1&&v.tagName.toLowerCase()==="template";return[u,f]}const xe=Il;function pf(e){return zl(e)}function hf(e){return zl(e,df)}function zl(e,t){const n=el();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=je,insertStaticContent:h}=e,b=(_,g,w,C=null,L=null,k=null,D=void 0,x=null,N=!!g.dynamicChildren)=>{if(_===g)return;_&&!mt(_,g)&&(C=Vn(_),Je(_,L,k,!0),_=null),g.patchFlag===-2&&(N=!1,g.dynamicChildren=null);const{type:O,ref:M,shapeFlag:$}=g;switch(O){case tn:E(_,g,w,C);break;case ze:P(_,g,w,C);break;case Zn:_==null&&S(g,w,C,D);break;case Pe:Z(_,g,w,C,L,k,D,x,N);break;default:$&1?T(_,g,w,C,L,k,D,x,N):$&6?te(_,g,w,C,L,k,D,x,N):($&64||$&128)&&O.process(_,g,w,C,L,k,D,x,N,jt)}M!=null&&L&&dr(M,_&&_.ref,k,g||_,!g)},E=(_,g,w,C)=>{if(_==null)r(g.el=l(g.children),w,C);else{const L=g.el=_.el;g.children!==_.children&&c(L,g.children)}},P=(_,g,w,C)=>{_==null?r(g.el=a(g.children||""),w,C):g.el=_.el},S=(_,g,w,C)=>{[_.el,_.anchor]=h(_.children,g,w,C,_.el,_.anchor)},v=({el:_,anchor:g},w,C)=>{let L;for(;_&&_!==g;)L=d(_),r(_,w,C),_=L;r(g,w,C)},R=({el:_,anchor:g})=>{let w;for(;_&&_!==g;)w=d(_),o(_),_=w;o(g)},T=(_,g,w,C,L,k,D,x,N)=>{g.type==="svg"?D="svg":g.type==="math"&&(D="mathml"),_==null?A(g,w,C,L,k,D,x,N):G(_,g,L,k,D,x,N)},A=(_,g,w,C,L,k,D,x)=>{let N,O;const{props:M,shapeFlag:$,transition:j,dirs:q}=_;if(N=_.el=s(_.type,k,M&&M.is,M),$&8?u(N,_.children):$&16&&K(_.children,N,null,C,L,Qr(_,k),D,x),q&&Xe(_,null,C,"created"),V(N,_,_.scopeId,D,C),M){for(const ne in M)ne!=="value"&&!qt(ne)&&i(N,ne,null,M[ne],k,_.children,C,L,tt);"value"in M&&i(N,"value",null,M.value,k),(O=M.onVnodeBeforeMount)&&Ve(O,C,_)}q&&Xe(_,null,C,"beforeMount");const Y=Jl(L,j);Y&&j.beforeEnter(N),r(N,g,w),((O=M&&M.onVnodeMounted)||Y||q)&&xe(()=>{O&&Ve(O,C,_),Y&&j.enter(N),q&&Xe(_,null,C,"mounted")},L)},V=(_,g,w,C,L)=>{if(w&&p(_,w),C)for(let k=0;k<C.length;k++)p(_,C[k]);if(L){let k=L.subTree;if(g===k){const D=L.vnode;V(_,D,D.scopeId,D.slotScopeIds,L.parent)}}},K=(_,g,w,C,L,k,D,x,N=0)=>{for(let O=N;O<_.length;O++){const M=_[O]=x?pt(_[O]):Be(_[O]);b(null,M,g,w,C,L,k,D,x)}},G=(_,g,w,C,L,k,D)=>{const x=g.el=_.el;let{patchFlag:N,dynamicChildren:O,dirs:M}=g;N|=_.patchFlag&16;const $=_.props||ae,j=g.props||ae;let q;if(w&&Rt(w,!1),(q=j.onVnodeBeforeUpdate)&&Ve(q,w,g,_),M&&Xe(g,_,w,"beforeUpdate"),w&&Rt(w,!0),O?H(_.dynamicChildren,O,x,w,C,Qr(g,L),k):D||F(_,g,x,null,w,C,Qr(g,L),k,!1),N>0){if(N&16)X(x,g,$,j,w,C,L);else if(N&2&&$.class!==j.class&&i(x,"class",null,j.class,L),N&4&&i(x,"style",$.style,j.style,L),N&8){const Y=g.dynamicProps;for(let ne=0;ne<Y.length;ne++){const le=Y[ne],ge=$[le],$e=j[le];($e!==ge||le==="value")&&i(x,le,ge,$e,L,_.children,w,C,tt)}}N&1&&_.children!==g.children&&u(x,g.children)}else!D&&O==null&&X(x,g,$,j,w,C,L);((q=j.onVnodeUpdated)||M)&&xe(()=>{q&&Ve(q,w,g,_),M&&Xe(g,_,w,"updated")},C)},H=(_,g,w,C,L,k,D)=>{for(let x=0;x<g.length;x++){const N=_[x],O=g[x],M=N.el&&(N.type===Pe||!mt(N,O)||N.shapeFlag&70)?f(N.el):w;b(N,O,M,null,C,L,k,D,!0)}},X=(_,g,w,C,L,k,D)=>{if(w!==C){if(w!==ae)for(const x in w)!qt(x)&&!(x in C)&&i(_,x,w[x],null,D,g.children,L,k,tt);for(const x in C){if(qt(x))continue;const N=C[x],O=w[x];N!==O&&x!=="value"&&i(_,x,O,N,D,g.children,L,k,tt)}"value"in C&&i(_,"value",w.value,C.value,D)}},Z=(_,g,w,C,L,k,D,x,N)=>{const O=g.el=_?_.el:l(""),M=g.anchor=_?_.anchor:l("");let{patchFlag:$,dynamicChildren:j,slotScopeIds:q}=g;q&&(x=x?x.concat(q):q),_==null?(r(O,w,C),r(M,w,C),K(g.children||[],w,M,L,k,D,x,N)):$>0&&$&64&&j&&_.dynamicChildren?(H(_.dynamicChildren,j,w,L,k,D,x),(g.key!=null||L&&g===L.subTree)&&Yl(_,g,!0)):F(_,g,w,M,L,k,D,x,N)},te=(_,g,w,C,L,k,D,x,N)=>{g.slotScopeIds=x,_==null?g.shapeFlag&512?L.ctx.activate(g,w,C,D,N):_e(g,w,C,L,k,D,N):pe(_,g,N)},_e=(_,g,w,C,L,k,D)=>{const x=_.component=vf(_,C,L);if(ai(_)&&(x.ctx.renderer=jt),Ef(x),x.asyncDep){if(L&&L.registerDep(x,B),!_.el){const N=x.subTree=ue(ze);P(null,N,g,w)}}else B(x,_,g,w,L,k,D)},pe=(_,g,w)=>{const C=g.component=_.component;if(Cu(_,g,w))if(C.asyncDep&&!C.asyncResolved){J(C,g,w);return}else C.next=g,Eu(C.update),C.effect.dirty=!0,C.update();else g.el=_.el,C.vnode=g},B=(_,g,w,C,L,k,D)=>{const x=()=>{if(_.isMounted){let{next:M,bu:$,u:j,parent:q,vnode:Y}=_;{const Ft=Xl(_);if(Ft){M&&(M.el=Y.el,J(_,M,D)),Ft.asyncDep.then(()=>{_.isUnmounted||x()});return}}let ne=M,le;Rt(_,!1),M?(M.el=Y.el,J(_,M,D)):M=Y,$&&Kr($),(le=M.props&&M.props.onVnodeBeforeUpdate)&&Ve(le,q,M,Y),Rt(_,!0);const ge=Jr(_),$e=_.subTree;_.subTree=ge,b($e,ge,f($e.el),Vn($e),_,L,k),M.el=ge.el,ne===null&&oi(_,ge.el),j&&xe(j,L),(le=M.props&&M.props.onVnodeUpdated)&&xe(()=>Ve(le,q,M,Y),L)}else{let M;const{el:$,props:j}=g,{bm:q,m:Y,parent:ne}=_,le=Yt(g);if(Rt(_,!1),q&&Kr(q),!le&&(M=j&&j.onVnodeBeforeMount)&&Ve(M,ne,g),Rt(_,!0),$&&Wr){const ge=()=>{_.subTree=Jr(_),Wr($,_.subTree,_,L,null)};le?g.type.__asyncLoader().then(()=>!_.isUnmounted&&ge()):ge()}else{const ge=_.subTree=Jr(_);b(null,ge,w,C,_,L,k),g.el=ge.el}if(Y&&xe(Y,L),!le&&(M=j&&j.onVnodeMounted)){const ge=g;xe(()=>Ve(M,ne,ge),L)}(g.shapeFlag&256||ne&&Yt(ne.vnode)&&ne.vnode.shapeFlag&256)&&_.a&&xe(_.a,L),_.isMounted=!0,g=w=C=null}},N=_.effect=new Jo(x,je,()=>Nr(O),_.scope),O=_.update=()=>{N.dirty&&N.run()};O.id=_.uid,Rt(_,!0),O()},J=(_,g,w)=>{g.component=_;const C=_.vnode.props;_.vnode=g,_.next=null,sf(_,g.props,C,w),cf(_,g.children,w),Dt(),Hi(_),Mt()},F=(_,g,w,C,L,k,D,x,N=!1)=>{const O=_&&_.children,M=_?_.shapeFlag:0,$=g.children,{patchFlag:j,shapeFlag:q}=g;if(j>0){if(j&128){Mn(O,$,w,C,L,k,D,x,N);return}else if(j&256){et(O,$,w,C,L,k,D,x,N);return}}q&8?(M&16&&tt(O,L,k),$!==O&&u(w,$)):M&16?q&16?Mn(O,$,w,C,L,k,D,x,N):tt(O,L,k,!0):(M&8&&u(w,""),q&16&&K($,w,C,L,k,D,x,N))},et=(_,g,w,C,L,k,D,x,N)=>{_=_||Gt,g=g||Gt;const O=_.length,M=g.length,$=Math.min(O,M);let j;for(j=0;j<$;j++){const q=g[j]=N?pt(g[j]):Be(g[j]);b(_[j],q,w,null,L,k,D,x,N)}O>M?tt(_,L,k,!0,!1,$):K(g,w,C,L,k,D,x,N,$)},Mn=(_,g,w,C,L,k,D,x,N)=>{let O=0;const M=g.length;let $=_.length-1,j=M-1;for(;O<=$&&O<=j;){const q=_[O],Y=g[O]=N?pt(g[O]):Be(g[O]);if(mt(q,Y))b(q,Y,w,null,L,k,D,x,N);else break;O++}for(;O<=$&&O<=j;){const q=_[$],Y=g[j]=N?pt(g[j]):Be(g[j]);if(mt(q,Y))b(q,Y,w,null,L,k,D,x,N);else break;$--,j--}if(O>$){if(O<=j){const q=j+1,Y=q<M?g[q].el:C;for(;O<=j;)b(null,g[O]=N?pt(g[O]):Be(g[O]),w,Y,L,k,D,x,N),O++}}else if(O>j)for(;O<=$;)Je(_[O],L,k,!0),O++;else{const q=O,Y=O,ne=new Map;for(O=Y;O<=j;O++){const Ne=g[O]=N?pt(g[O]):Be(g[O]);Ne.key!=null&&ne.set(Ne.key,O)}let le,ge=0;const $e=j-Y+1;let Ft=!1,Li=0;const fn=new Array($e);for(O=0;O<$e;O++)fn[O]=0;for(O=q;O<=$;O++){const Ne=_[O];if(ge>=$e){Je(Ne,L,k,!0);continue}let Ye;if(Ne.key!=null)Ye=ne.get(Ne.key);else for(le=Y;le<=j;le++)if(fn[le-Y]===0&&mt(Ne,g[le])){Ye=le;break}Ye===void 0?Je(Ne,L,k,!0):(fn[Ye-Y]=O+1,Ye>=Li?Li=Ye:Ft=!0,b(Ne,g[Ye],w,null,L,k,D,x,N),ge++)}const Oi=Ft?mf(fn):Gt;for(le=Oi.length-1,O=$e-1;O>=0;O--){const Ne=Y+O,Ye=g[Ne],Ii=Ne+1<M?g[Ne+1].el:C;fn[O]===0?b(null,Ye,w,Ii,L,k,D,x,N):Ft&&(le<0||O!==Oi[le]?wt(Ye,w,Ii,2):le--)}}},wt=(_,g,w,C,L=null)=>{const{el:k,type:D,transition:x,children:N,shapeFlag:O}=_;if(O&6){wt(_.component.subTree,g,w,C);return}if(O&128){_.suspense.move(g,w,C);return}if(O&64){D.move(_,g,w,jt);return}if(D===Pe){r(k,g,w);for(let $=0;$<N.length;$++)wt(N[$],g,w,C);r(_.anchor,g,w);return}if(D===Zn){v(_,g,w);return}if(C!==2&&O&1&&x)if(C===0)x.beforeEnter(k),r(k,g,w),xe(()=>x.enter(k),L);else{const{leave:$,delayLeave:j,afterLeave:q}=x,Y=()=>r(k,g,w),ne=()=>{$(k,()=>{Y(),q&&q()})};j?j(k,Y,ne):ne()}else r(k,g,w)},Je=(_,g,w,C=!1,L=!1)=>{const{type:k,props:D,ref:x,children:N,dynamicChildren:O,shapeFlag:M,patchFlag:$,dirs:j}=_;if(x!=null&&dr(x,null,w,_,!0),M&256){g.ctx.deactivate(_);return}const q=M&1&&j,Y=!Yt(_);let ne;if(Y&&(ne=D&&D.onVnodeBeforeUnmount)&&Ve(ne,g,_),M&6)Ac(_.component,w,C);else{if(M&128){_.suspense.unmount(w,C);return}q&&Xe(_,null,g,"beforeUnmount"),M&64?_.type.remove(_,g,w,L,jt,C):O&&(k!==Pe||$>0&&$&64)?tt(O,g,w,!1,!0):(k===Pe&&$&384||!L&&M&16)&&tt(N,g,w),C&&Ci(_)}(Y&&(ne=D&&D.onVnodeUnmounted)||q)&&xe(()=>{ne&&Ve(ne,g,_),q&&Xe(_,null,g,"unmounted")},w)},Ci=_=>{const{type:g,el:w,anchor:C,transition:L}=_;if(g===Pe){Pc(w,C);return}if(g===Zn){R(_);return}const k=()=>{o(w),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(_.shapeFlag&1&&L&&!L.persisted){const{leave:D,delayLeave:x}=L,N=()=>D(w,k);x?x(_.el,k,N):N()}else k()},Pc=(_,g)=>{let w;for(;_!==g;)w=d(_),o(_),_=w;o(g)},Ac=(_,g,w)=>{const{bum:C,scope:L,update:k,subTree:D,um:x}=_;C&&Kr(C),L.stop(),k&&(k.active=!1,Je(D,_,g,w)),x&&xe(x,g),xe(()=>{_.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},tt=(_,g,w,C=!1,L=!1,k=0)=>{for(let D=k;D<_.length;D++)Je(_[D],g,w,C,L)},Vn=_=>_.shapeFlag&6?Vn(_.component.subTree):_.shapeFlag&128?_.suspense.next():d(_.anchor||_.el);let Ur=!1;const Si=(_,g,w)=>{_==null?g._vnode&&Je(g._vnode,null,null,!0):b(g._vnode||null,_,g,null,null,null,w),Ur||(Ur=!0,Hi(),cr(),Ur=!1),g._vnode=_},jt={p:b,um:Je,m:wt,r:Ci,mt:_e,mc:K,pc:F,pbc:H,n:Vn,o:e};let Gr,Wr;return t&&([Gr,Wr]=t(jt)),{render:Si,hydrate:Gr,createApp:rf(Si,Gr)}}function Qr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Rt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Jl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Yl(e,t,n=!1){const r=e.children,o=t.children;if(W(r)&&W(o))for(let i=0;i<r.length;i++){const s=r[i];let l=o[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[i]=pt(o[i]),l.el=s.el),n||Yl(s,l)),l.type===tn&&(l.el=s.el)}}function mf(e){const t=e.slice(),n=[0];let r,o,i,s,l;const a=e.length;for(r=0;r<a;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)l=i+s>>1,e[n[l]]<c?i=l+1:s=l;c<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function Xl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Xl(t)}const _f=e=>e.__isTeleport,Pe=Symbol.for("v-fgt"),tn=Symbol.for("v-txt"),ze=Symbol.for("v-cmt"),Zn=Symbol.for("v-stc"),gn=[];let Fe=null;function re(e=!1){gn.push(Fe=e?null:[])}function Ql(){gn.pop(),Fe=gn[gn.length-1]||null}let nn=1;function ns(e){nn+=e}function Zl(e){return e.dynamicChildren=nn>0?Fe||Gt:null,Ql(),nn>0&&Fe&&Fe.push(e),e}function Oe(e,t,n,r,o,i){return Zl(Se(e,t,n,r,o,i,!0))}function Me(e,t,n,r,o){return Zl(ue(e,t,n,r,o,!0))}function Pn(e){return e?e.__v_isVNode===!0:!1}function mt(e,t){return e.type===t.type&&e.key===t.key}const Br="__vInternal",ea=({key:e})=>e??null,er=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ce(e)||Te(e)||U(e)?{i:we,r:e,k:t,f:!!n}:e:null);function Se(e,t=null,n=null,r=0,o=null,i=e===Pe?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ea(t),ref:t&&er(t),scopeId:Mr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:we};return l?(fi(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=ce(n)?8:16),nn>0&&!s&&Fe&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&Fe.push(a),a}const ue=gf;function gf(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Sl)&&(e=ze),Pn(e)){const l=rn(e,t,!0);return n&&fi(l,n),nn>0&&!i&&Fe&&(l.shapeFlag&6?Fe[Fe.indexOf(e)]=l:Fe.push(l)),l.patchFlag|=-2,l}if(Af(e)&&(e=e.__vccOpts),t){t=ta(t);let{class:l,style:a}=t;l&&!ce(l)&&(t.class=Nt(l)),se(a)&&(gl(a)&&!W(a)&&(a=Re({},a)),t.style=xr(a))}const s=ce(e)?1:Lu(e)?128:_f(e)?64:se(e)?4:U(e)?2:0;return Se(e,t,n,r,o,s,i,!0)}function ta(e){return e?gl(e)||Br in e?Re({},e):e:null}function rn(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:s}=e,l=t?na(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ea(l),ref:t&&t.ref?n&&o?W(o)?o.concat(er(t)):[o,er(t)]:er(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&rn(e.ssContent),ssFallback:e.ssFallback&&rn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function pr(e=" ",t=0){return ue(tn,null,e,t)}function Ht(e="",t=!1){return t?(re(),Me(ze,null,e)):ue(ze,null,e)}function Be(e){return e==null||typeof e=="boolean"?ue(ze):W(e)?ue(Pe,null,e.slice()):typeof e=="object"?pt(e):ue(tn,null,String(e))}function pt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:rn(e)}function fi(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(W(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),fi(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Br in t)?t._ctx=we:o===3&&we&&(we.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else U(t)?(t={default:t,_ctx:we},n=32):(t=String(t),r&64?(n=16,t=[pr(t)]):n=8);e.children=t,e.shapeFlag|=n}function na(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Nt([t.class,r.class]));else if(o==="style")t.style=xr([t.style,r.style]);else if(In(o)){const i=t[o],s=r[o];s&&i!==s&&!(W(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=r[o])}return t}function Ve(e,t,n,r=null){qe(e,t,7,[n,r])}const yf=Fl();let bf=0;function vf(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||yf,i={uid:bf++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new rl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Gl(r,o),emitsOptions:Cl(r,o),emit:null,emitted:null,propsDefaults:ae,inheritAttrs:r.inheritAttrs,ctx:ae,data:ae,props:ae,attrs:ae,slots:ae,refs:ae,setupState:ae,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.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 i.ctx={_:i},i.root=t?t.root:i,i.emit=Ru.bind(null,i),e.ce&&e.ce(i),i}let he=null;const ra=()=>he||we;let hr,wo;{const e=el(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};hr=t("__VUE_INSTANCE_SETTERS__",n=>he=n),wo=t("__VUE_SSR_SETTERS__",n=>xn=n)}const xt=e=>{const t=he;return hr(e),e.scope.on(),()=>{e.scope.off(),hr(t)}},Ro=()=>{he&&he.scope.off(),hr(null)};function oa(e){return e.vnode.shapeFlag&4}let xn=!1;function Ef(e,t=!1){t&&wo(t);const{props:n,children:r}=e.vnode,o=oa(e);of(e,n,o,t),af(e,r);const i=o?wf(e,t):void 0;return t&&wo(!1),i}function wf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=yl(new Proxy(e.ctx,Ju));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Tf(e):null,i=xt(e);Dt();const s=yt(r,e,0,[e.props,o]);if(Mt(),i(),Ko(s)){if(s.then(Ro,Ro),t)return s.then(l=>{To(e,l,t)}).catch(l=>{an(l,e,0)});e.asyncDep=s}else To(e,s,t)}else ia(e,t)}function To(e,t,n){U(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=wl(t)),ia(e,n)}let rs;function ia(e,t,n){const r=e.type;if(!e.render){if(!t&&rs&&!r.render){const o=r.template||ci(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=Re(Re({isCustomElement:i,delimiters:l},s),a);r.render=rs(o,c)}}e.render=r.render||je}{const o=xt(e);Dt();try{Xu(e)}finally{Mt(),o()}}}function Rf(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ke(e,"get","$attrs"),t[n]}}))}function Tf(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Rf(e)},slots:e.slots,emit:e.emit,expose:t}}function di(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(wl(yl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _n)return _n[n](e)},has(t,n){return n in t||n in _n}}))}function Pf(e,t=!0){return U(e)?e.displayName||e.name:e.name||t&&e.__name}function Af(e){return U(e)&&"__vccOpts"in e}const _t=(e,t)=>du(e,t,xn);function Po(e,t,n){const r=arguments.length;return r===2?se(t)&&!W(t)?Pn(t)?ue(e,null,[t]):ue(e,t):ue(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Pn(n)&&(n=[n]),ue(e,t,n))}const sa="3.4.21";/**
20
20
  * @vue/runtime-dom v3.4.21
21
21
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
22
22
  * @license MIT
23
- **/const Cf="http://www.w3.org/2000/svg",Sf="http://www.w3.org/1998/Math/MathML",ht=typeof document<"u"?document:null,rs=ht&&ht.createElement("template"),Lf={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?ht.createElementNS(Cf,e):t==="mathml"?ht.createElementNS(Sf,e):ht.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>ht.createTextNode(e),createComment:e=>ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{rs.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const l=rs.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Of=Symbol("_vtc");function If(e,t,n){const r=e[Of];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const os=Symbol("_vod"),xf=Symbol("_vsh"),kf=Symbol(""),Nf=/(^|;)\s*display\s*:/;function Df(e,t,n){const r=e.style,o=ue(n);let i=!1;if(n&&!o){if(t)if(ue(t))for(const s of t.split(";")){const l=s.slice(0,s.indexOf(":")).trim();n[l]==null&&er(r,l,"")}else for(const s in t)n[s]==null&&er(r,s,"");for(const s in n)s==="display"&&(i=!0),er(r,s,n[s])}else if(o){if(t!==n){const s=r[kf];s&&(n+=";"+s),r.cssText=n,i=Nf.test(n)}}else t&&e.removeAttribute("style");os in e&&(e[os]=i?r.display:"",e[xf]&&(r.display="none"))}const is=/\s*!important$/;function er(e,t,n){if(W(n))n.forEach(r=>er(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Mf(e,t);is.test(n)?e.setProperty(sn(r),n.replace(is,""),"important"):e[r]=n}}const ss=["Webkit","Moz","ms"],Qr={};function Mf(e,t){const n=Qr[t];if(n)return n;let r=Ze(t);if(r!=="filter"&&r in e)return Qr[t]=r;r=Or(r);for(let o=0;o<ss.length;o++){const i=ss[o]+r;if(i in e)return Qr[t]=i}return t}const ls="http://www.w3.org/1999/xlink";function Vf(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ls,t.slice(6,t.length)):e.setAttributeNS(ls,t,n);else{const i=$c(t);n==null||i&&!el(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Bf(e,t,n,r,o,i,s){if(t==="innerHTML"||t==="textContent"){r&&s(r,o,i),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const c=l==="OPTION"?e.getAttribute("value")||"":e.value,u=n??"";(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=el(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function jf(e,t,n,r){e.addEventListener(t,n,r)}function Ff(e,t,n,r){e.removeEventListener(t,n,r)}const as=Symbol("_vei");function Hf(e,t,n,r,o=null){const i=e[as]||(e[as]={}),s=i[t];if(r&&s)s.value=r;else{const[l,a]=$f(t);if(r){const c=i[t]=Wf(r,o);jf(e,l,c,a)}else s&&(Ff(e,l,s,a),i[t]=void 0)}}const cs=/(?:Once|Passive|Capture)$/;function $f(e){let t;if(cs.test(e)){t={};let r;for(;r=e.match(cs);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):sn(e.slice(2)),t]}let Zr=0;const Uf=Promise.resolve(),Gf=()=>Zr||(Uf.then(()=>Zr=0),Zr=Date.now());function Wf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;qe(qf(r,n.value),t,5,[r])};return n.value=e,n.attached=Gf(),n}function qf(e,t){if(W(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const us=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Kf=(e,t,n,r,o,i,s,l,a)=>{const c=o==="svg";t==="class"?If(e,r,c):t==="style"?Df(e,n,r):On(t)?Go(t)||Hf(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):zf(e,t,r,c))?Bf(e,t,r,i,s,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Vf(e,t,r,c))};function zf(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&us(t)&&U(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return us(t)&&ue(n)?!1:t in e}const sa=Re({patchProp:Kf},Lf);let gn,fs=!1;function Jf(){return gn||(gn=pf(sa))}function Yf(){return gn=fs?gn:hf(sa),fs=!0,gn}const Xf=(...e)=>{const t=Jf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=aa(r);if(!o)return;const i=t._component;!U(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,la(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},Qf=(...e)=>{const t=Yf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=aa(r);if(o)return n(o,!0,la(o))},t};function la(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function aa(e){return ue(e)?document.querySelector(e):e}const Zf=/#/g,ed=/&/g,td=/\//g,nd=/=/g,di=/\+/g,rd=/%5e/gi,od=/%60/gi,id=/%7c/gi,sd=/%20/gi;function ld(e){return encodeURI(""+e).replace(id,"|")}function Po(e){return ld(typeof e=="string"?e:JSON.stringify(e)).replace(di,"%2B").replace(sd,"+").replace(Zf,"%23").replace(ed,"%26").replace(od,"`").replace(rd,"^").replace(td,"%2F")}function eo(e){return Po(e).replace(nd,"%3D")}function hr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function ad(e){return hr(e.replace(di," "))}function cd(e){return hr(e.replace(di," "))}function pi(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=ad(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=cd(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function ud(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${eo(e)}=${Po(n)}`).join("&"):`${eo(e)}=${Po(t)}`:eo(e)}function ca(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>ud(t,e[t])).filter(Boolean).join("&")}const fd=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,dd=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,pd=/^([/\\]\s*){2,}[^/\\]/,hd=/^[\s\0]*(blob|data|javascript|vbscript):$/i,md=/\/$|\/\?|\/#/,_d=/^\.?\//;function gd(e){return["./","../"].some(t=>e.startsWith(t))}function vt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?fd.test(e):dd.test(e)||(t.acceptRelative?pd.test(e):!1)}function yd(e){return!!e&&hd.test(e)}function Ao(e="",t){return t?md.test(e):e.endsWith("/")}function Br(e="",t){if(!t)return(Ao(e)?e.slice(0,-1):e)||"/";if(!Ao(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[i,...s]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function mr(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Ao(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[i,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function bd(e=""){return e.startsWith("/")}function ds(e=""){return bd(e)?e:"/"+e}function vd(e,t){if(fa(t)||vt(e))return e;const n=Br(t);return e.startsWith(n)?e:xn(n,e)}function Ed(e,t){if(fa(t))return e;const n=Br(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function ua(e,t){const n=an(e),r={...pi(n.search),...t};return n.search=ca(r),ha(n)}function fa(e){return!e||e==="/"}function wd(e){return e&&e!=="/"}function xn(e,...t){let n=e||"";for(const r of t.filter(o=>wd(o)))if(n){const o=r.replace(_d,"");n=mr(n)+o}else n=r;return n}function da(...e){var s,l,a,c;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&vt(r[0]))continue;r.pop(),o--;continue}if(f===1&&((s=r[r.length-1])!=null&&s.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),o++}}let i=r.join("/");return o>=0?(l=n[0])!=null&&l.startsWith("/")&&!i.startsWith("/")?i="/"+i:(a=n[0])!=null&&a.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*o)+i,(c=n[n.length-1])!=null&&c.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function Rd(e,t,n={}){return n.trailingSlash||(e=mr(e),t=mr(t)),n.leadingSlash||(e=ds(e),t=ds(t)),n.encoding||(e=hr(e),t=hr(t)),e===t}const pa=Symbol.for("ufo:protocolRelative");function an(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!vt(e,{acceptRelative:!0}))return t?an(t+e):ps(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",l=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:a,search:c,hash:u}=ps(l.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:a,search:c,hash:u,[pa]:!r}}function ps(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function ha(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[pa]?(e.protocol||"")+"//":"")+o+i+t+n+r}const Td=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},_r=Td().app,Pd=()=>_r.baseURL,Ad=()=>_r.buildAssetsDir,hi=(...e)=>da(ma(),Ad(),...e),ma=(...e)=>{const t=_r.cdnURL||_r.baseURL;return e.length?da(t,...e):t};globalThis.__buildAssetsURL=hi,globalThis.__publicAssetsURL=ma;const Cd=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Sd=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Ld=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Od(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Id(e);return}return t}function Id(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function gr(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!Ld.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Cd.test(e)||Sd.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Od)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}class xd extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function kd(e){var a,c,u,f,d;const t=((a=e.error)==null?void 0:a.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${o}: ${i}${t?` ${t}`:""}`,l=new xd(s,e.error?{cause:e.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(l,h,{get(){return e[h]}});for(const[h,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,h,{get(){return e.response&&e.response[p]}});return l}const Nd=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function hs(e="GET"){return Nd.has(e.toUpperCase())}function Dd(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Md=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Vd=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Bd(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Vd.test(t)?"json":Md.has(t)||t.startsWith("text/")?"text":"blob"}function jd(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[o,i]of new n((e==null?void 0:e.headers)||{}))r.headers.set(o,i)}return r}const Fd=new Set([408,409,425,429,500,502,503,504]),Hd=new Set([101,204,205,304]);function _a(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(l){const a=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!a){let u;typeof l.options.retry=="number"?u=l.options.retry:u=hs(l.options.method)?0:1;const f=l.response&&l.response.status||500;if(u>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(f):Fd.has(f))){const d=l.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),i(l.request,{...l.options,retry:u-1})}}const c=kd(l);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(a,c={}){var h;const u={request:a,options:jd(c,e.defaults,n),response:void 0,error:void 0};u.options.method=(h=u.options.method)==null?void 0:h.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=vd(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=ua(u.request,{...u.options.params,...u.options.query}))),u.options.body&&hs(u.options.method)&&(Dd(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let f;if(!u.options.signal&&u.options.timeout){const p=new r;f=setTimeout(()=>p.abort(),u.options.timeout),u.options.signal=p.signal}try{u.response=await t(u.request,u.options)}catch(p){return u.error=p,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!Hd.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||Bd(u.response.headers.get("content-type")||"");switch(p){case"json":{const v=await u.response.text(),E=u.options.parseResponse||gr;u.response._data=E(v);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[p]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},s=async function(a,c){return(await i(a,c))._data};return s.raw=i,s.native=(...l)=>t(...l),s.create=(l={})=>_a({...e,defaults:{...e.defaults,...l}}),s}const mi=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),$d=mi.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Ud=mi.Headers,Gd=mi.AbortController,Wd=_a({fetch:$d,Headers:Ud,AbortController:Gd}),qd=Wd;globalThis.$fetch||(globalThis.$fetch=qd.create({baseURL:Pd()}));function Co(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Co(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const Kd={run:e=>e()},zd=()=>Kd,ga=typeof console.createTask<"u"?console.createTask:zd;function Jd(e,t){const n=t.shift(),r=ga(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function Yd(e,t){const n=t.shift(),r=ga(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function to(e,t){for(const n of[...e])n(t)}class Xd{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Co(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Co(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Jd,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Yd,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&to(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&to(this._after,o)}):(this._after&&o&&to(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function ya(){return new Xd}function Qd(e={}){let t,n=!1;const r=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o&&t===void 0){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,l)=>{l||r(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,l)=>{r(s),t=s;try{return o?o.run(s,l):l()}finally{n||(t=void 0)}},async callAsync(s,l){t=s;const a=()=>{t=s},c=()=>t===s?a:void 0;So.add(c);try{const u=o?o.run(s,l):l();return n||(t=void 0),await u}finally{So.delete(c)}}}}function Zd(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Qd({...e,...r})),t[n],t[n]}}}const yr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},ms="__unctx__",ep=yr[ms]||(yr[ms]=Zd()),tp=(e,t={})=>ep.get(e,t),_s="__unctx_async_handlers__",So=yr[_s]||(yr[_s]=new Set);function ba(e){const t=[];for(const o of So){const i=o();i&&t.push(i)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const va=tp("nuxt-app",{asyncContext:!1}),np="__nuxt_plugin";function rp(e){let t=0;const n={_scope:Uc(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.1"},get vue(){return n.vueApp.version}},payload:Ke({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>sp(n,o)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=ya(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;Wn(n,s,i),Wn(n.vueApp.config.globalProperties,s,i)},Wn(n.vueApp,"$nuxt",n),Wn(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||de;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=Ke(n.payload.config);return n.provide("config",r),n}async function op(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function ip(e,t){const n=[],r=[],o=[],i=[];let s=0;async function l(a){var u;const c=((u=a.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),a]);else{const f=op(e,a).then(async()=>{a._name&&(n.push(a._name),await Promise.all(r.map(async([d,h])=>{d.has(a._name)&&(d.delete(a._name),d.size===0&&(s++,await l(h)))})))});a.parallel?o.push(f.catch(d=>i.push(d))):await f}}for(const a of t)await l(a);if(await Promise.all(o),s)for(let a=0;a<s;a++)await Promise.all(o);if(i.length)throw i[0]}function lt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[np]:!0,_name:t})}function sp(e,t,n){const r=()=>n?t(...n):t();return va.set(e),e.vueApp.runWithContext(r)}function lp(){var t;let e;return Hl()&&(e=(t=na())==null?void 0:t.appContext.app.$nuxt),e=e||va.tryUse(),e||null}function de(){const e=lp();if(!e)throw new Error("[nuxt] instance unavailable");return e}function Pn(e){return de().$config}function Wn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function ap(e,t){return{ctx:{table:e},matchAll:n=>wa(n,e,t)}}function Ea(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,Ea(o)])):new Map(Object.entries(e[n]));return t}function cp(e){return ap(Ea(e))}function wa(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of gs(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of gs(t.dynamic))if(e.startsWith(i+"/")){const l="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...wa(l,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function gs(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function no(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Lo(e,t,n=".",r){if(!no(t))return Lo(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:no(s)&&no(o[i])?o[i]=Lo(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function Ra(e){return(...t)=>t.reduce((n,r)=>Lo(n,r,"",e),{})}const up=Ra(),fp=Ra((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function dp(e,t){try{return t in e}catch{return!1}}var pp=Object.defineProperty,hp=(e,t,n)=>t in e?pp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tt=(e,t,n)=>(hp(e,typeof t!="symbol"?t+"":t,n),n);class Oo extends Error{constructor(t,n={}){super(t,n),Tt(this,"statusCode",500),Tt(this,"fatal",!1),Tt(this,"unhandled",!1),Tt(this,"statusMessage"),Tt(this,"data"),Tt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Io(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Ta(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Tt(Oo,"__h3_error__",!0);function mp(e){if(typeof e=="string")return new Oo(e);if(_p(e))return e;const t=new Oo(e.message??e.statusMessage??"",{cause:e.cause||e});if(dp(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Io(e.statusCode,t.statusCode):e.status&&(t.statusCode=Io(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Ta(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function _p(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const gp=/[^\u0009\u0020-\u007E]/g;function Ta(e=""){return e.replace(gp,"")}function Io(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Pa=Symbol("route"),Et=()=>{var e;return(e=de())==null?void 0:e.$router},Aa=()=>Hl()?Xt(Pa,de()._route):de()._route;const yp=()=>{try{if(de()._processingMiddleware)return!0}catch{return!0}return!1},Ca=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:ua(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:l="_blank",windowFeatures:a={}}=t.open,c=Object.entries(a).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");open(n,l,c)}return Promise.resolve()}const r=(t==null?void 0:t.external)||vt(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const l=an(n).protocol;if(l&&yd(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=yp();if(!r&&o)return e;const i=Et(),s=de();return r?(s._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?s.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)},Sa="__nuxt_error",_i=()=>wl(de().payload,"error"),bp=e=>{const t=gi(e);try{const n=de(),r=_i();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},vp=async(e={})=>{const t=de(),n=_i();t.callHook("app:error:cleared",e),e.redirect&&await Et().replace(e.redirect),n.value=null},Ep=e=>!!e&&typeof e=="object"&&Sa in e,gi=e=>{const t=mp(e);return Object.defineProperty(t,Sa,{value:!0,configurable:!1,writable:!1}),t},wp="modulepreload",Rp=function(e,t){return e[0]==="."?new URL(e,t).href:e},ys={},Tp=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.all(n.map(a=>{if(a=Rp(a,r),a in ys)return;ys[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let h=i.length-1;h>=0;h--){const p=i[h];if(p.href===a&&(!c||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":wp,c||(d.as="script",d.crossOrigin=""),d.href=a,l&&d.setAttribute("nonce",l),document.head.appendChild(d),c)return new Promise((h,p)=>{d.addEventListener("load",h),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${a}`)))})}))}return o.then(()=>t()).catch(i=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i})},m=(...e)=>Tp(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Pp=-1,Ap=-2,Cp=-3,Sp=-4,Lp=-5,Op=-6;function Ip(e,t){return xp(JSON.parse(e),t)}function xp(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(i,s=!1){if(i===Pp)return;if(i===Cp)return NaN;if(i===Sp)return 1/0;if(i===Lp)return-1/0;if(i===Op)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const l=n[i];if(!l||typeof l!="object")r[i]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const a=l[0],c=t==null?void 0:t[a];if(c)return r[i]=c(o(l[1]));switch(a){case"Date":r[i]=new Date(l[1]);break;case"Set":const u=new Set;r[i]=u;for(let h=1;h<l.length;h+=1)u.add(o(l[h]));break;case"Map":const f=new Map;r[i]=f;for(let h=1;h<l.length;h+=2)f.set(o(l[h]),o(l[h+1]));break;case"RegExp":r[i]=new RegExp(l[1],l[2]);break;case"Object":r[i]=Object(l[1]);break;case"BigInt":r[i]=BigInt(l[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let h=1;h<l.length;h+=2)d[l[h]]=o(l[h+1]);break;default:throw new Error(`Unknown type ${a}`)}}else{const a=new Array(l.length);r[i]=a;for(let c=0;c<l.length;c+=1){const u=l[c];u!==Ap&&(a[c]=o(u))}}else{const a={};r[i]=a;for(const c in l){const u=l[c];a[c]=o(u)}}return r[i]}return o(0)}function kp(e){return Array.isArray(e)?e:[e]}const Np=["title","titleTemplate","script","style","noscript"],tr=["base","meta","link","style","script","noscript"],Dp=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Mp=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],La=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],Vp=typeof window<"u";function yi(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function bs(e){return e._h||yi(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Oa(e,t){const{props:n,tag:r}=e;if(Mp.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const i of o)if(typeof n[i]<"u"){const s=String(n[i]);return t&&!t(s)?!1:`${r}:${i}:${s}`}return!1}function vs(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Bp(e,t,n){const r={tag:e,props:await Ia(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return La.forEach(o=>{const i=typeof r.props[o]<"u"?r.props[o]:n[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||Np.includes(r.tag))&&(r[o==="children"?"innerHTML":o]=i),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function jp(e,t){const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,o])=>e==="style"?`${r}:${o}`:r)),(Array.isArray(t)?t.join(n):t).split(n).filter(r=>r.trim()).filter(Boolean).join(n)}async function Ia(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=jp(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!La.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}const Fp=10;async function Hp(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&Dp.includes(n)).forEach(([n,r])=>{const o=kp(r);t.push(...o.map(i=>Bp(n,i,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<Fp)+r,n))}const Es={base:-10,title:10},ws={critical:-80,high:-10,low:20};function br(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in Es&&(t=Es[e.tag]),typeof n=="string"&&n in ws?t+ws[n]:t)}const $p=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Rs=["onload","onerror","onabort","onprogress","onloadstart"],ft="%separator";function nr(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(s){let l;return["s","pageTitle"].includes(s)?l=t.pageTitle:s.includes(".")?l=s.split(".").reduce((a,c)=>a&&a[c]||void 0,t):l=t[s],typeof l<"u"?(l||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(s=>{const l=r(s.slice(1));typeof l=="string"&&(e=e.replace(new RegExp(`\\${s}(\\W|$)`,"g"),(a,c)=>`${l}${c}`).trim())}),e.includes(ft)&&(e.endsWith(ft)&&(e=e.slice(0,-ft.length).trim()),e.startsWith(ft)&&(e=e.slice(ft.length).trim()),e=e.replace(new RegExp(`\\${ft}\\s*\\${ft}`,"g"),ft),e=nr(e,{separator:n},n)),e}async function xa(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:tr.includes(f.tag)?bs(f):f.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n[f])==null?void 0:u.children,h=[];for(const p of[...d].filter(v=>tr.includes(v.tagName.toLowerCase()))){const v={tag:p.tagName.toLowerCase(),props:await Ia(p.getAttributeNames().reduce((S,b)=>({...S,[b]:p.getAttribute(b)}),{})),innerHTML:p.innerHTML};let E=1,P=Oa(v);for(;P&&h.find(S=>S._d===P);)P=`${P}:${E++}`;v._d=P||void 0,h.push(v),i.elMap[p.getAttribute("data-hid")||bs(v)]=p}}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function s(f,d,h){const p=`${f}:${d}`;i.sideEffects[p]=h,delete i.pendingSideEffects[p]}function l({id:f,$el:d,tag:h}){const p=h.tag.endsWith("Attrs");i.elMap[f]=d,p||(["textContent","innerHTML"].forEach(v=>{h[v]&&h[v]!==d[v]&&(d[v]=h[v])}),s(f,"el",()=>{var v;(v=i.elMap[f])==null||v.remove(),delete i.elMap[f]}));for(const[v,E]of Object.entries(h._eventHandlers||{}))d.getAttribute(`data-${v}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:d).addEventListener(v.replace("on",""),E.bind(d)),d.setAttribute(`data-${v}`,""));Object.entries(h.props).forEach(([v,E])=>{const P=`attr:${v}`;if(v==="class")for(const S of(E||"").split(" ").filter(Boolean))p&&s(f,`${P}:${S}`,()=>d.classList.remove(S)),!d.classList.contains(S)&&d.classList.add(S);else if(v==="style")for(const S of(E||"").split(";").filter(Boolean)){const[b,...R]=S.split(":").map(T=>T.trim());s(f,`${P}:${S}:${b}`,()=>{d.style.removeProperty(b)}),d.style.setProperty(b,R.join(":"))}else d.getAttribute(v)!==E&&d.setAttribute(v,E===!0?"":String(E)),p&&s(f,P,()=>d.removeAttribute(v))})}const a=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:h,id:p}=f;if(h){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||i.elMap[p],f.$el?l(f):tr.includes(d.tag)&&a.push(f)}}for(const f of a){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),c[d]=c[d]||n.createDocumentFragment(),c[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,s);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(i.pendingSideEffects).forEach(f=>f()),e._dom=i,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function Up(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await xa(e,t),delete e._domUpdatePromise,r()}))}function Gp(e){return t=>{var r,o;const n=((o=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(i){Up(i,e)}}}}}const Wp=["templateParams","htmlAttrs","bodyAttrs"],qp={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=Oa(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,i=t[o];if(i){let l=r==null?void 0:r.tagDuplicateStrategy;if(!l&&Wp.includes(r.tag)&&(l="merge"),l==="merge"){const a=i.props;["class","style"].forEach(c=>{a[c]&&(r.props[c]?(c==="style"&&!a[c].endsWith(";")&&(a[c]+=";"),r.props[c]=`${a[c]} ${r.props[c]}`):r.props[c]=a[c])}),t[o].props={...a,...r.props};return}else if(r._e===i._e){i._duped=i._duped||[],r._d=`${i._d}:${i._duped.length+1}`,i._duped.push(r);return}else if(br(r)>br(i))return}const s=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(tr.includes(r.tag)&&s===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},Kp={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},zp=["script","link","bodyAttrs"],Jp=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>zp.includes(r.tag)))Object.entries(n.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"&&(e.ssr&&Rs.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=o)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||yi(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var r,o;for(const i of Object.keys((t==null?void 0:t.dataset)||{}).filter(s=>Rs.some(l=>`${l}fired`===s))){const s=i.replace("fired","");(o=(r=n._eventHandlers)==null?void 0:r[s])==null||o.call(t,new Event(s.replace("on","")))}}}}),Yp=["link","style","script","noscript"],Xp={hooks:{"tag:normalise":({tag:e})=>{e.key&&Yp.includes(e.tag)&&(e.props["data-hid"]=e._h=yi(e.key))}}},Qp={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of $p)for(const o of e.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(n))){const i=t(o.tagPriority.replace(n,""));typeof i<"u"&&(o._p=i+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>br(n)-br(r))}}},Zp={meta:"content",link:"href",htmlAttrs:"lang"},eh=e=>({hooks:{"tags:resolve":t=>{var l;const{tags:n}=t,r=(l=n.find(a=>a.tag==="title"))==null?void 0:l.textContent,o=n.findIndex(a=>a.tag==="templateParams"),i=o!==-1?n[o].props:{},s=i.separator||"|";delete i.separator,i.pageTitle=nr(i.pageTitle||r||"",i,s);for(const a of n.filter(c=>c.processTemplateParams!==!1)){const c=Zp[a.tag];c&&typeof a.props[c]=="string"?a.props[c]=nr(a.props[c],i,s):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(u=>{typeof a[u]=="string"&&(a[u]=nr(a[u],i,s))})}e._templateParams=i,e._separator=s,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),th={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=vs(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=vs(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},nh={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let ka;function rh(e={}){const t=oh(e);return t.use(Gp()),ka=t}function Ts(e,t){return!e||e==="server"&&t||e==="client"&&!t}function oh(e={}){const t=ya();t.addHooks(e.hooks||{}),e.document=e.document||(Vp?document:void 0);const n=!e.document,r=()=>{l.dirty=!0,t.callHook("entries:updated",l)};let o=0,i=[];const s=[],l={plugins:s,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(a){const c=typeof a=="function"?a(l):a;(!c.key||!s.some(u=>u.key===c.key))&&(s.push(c),Ts(c.mode,n)&&t.addHooks(c.hooks||{}))},push(a,c){c==null||delete c.head;const u={_i:o++,input:a,...c};return Ts(u.mode,n)&&(i.push(u),r()),{dispose(){i=i.filter(f=>f._i!==u._i),t.callHook("entries:updated",l),r()},patch(f){i=i.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const a={tags:[],entries:[...i]};await t.callHook("entries:resolve",a);for(const c of a.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await Hp(c)){const d={tag:f,entry:c,resolvedOptions:l.resolvedOptions};await t.callHook("tag:normalise",d),a.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a),a.tags},ssr:n};return[qp,Kp,Jp,Xp,Qp,eh,th,nh,...(e==null?void 0:e.plugins)||[]].forEach(a=>l.use(a)),l.hooks.callHook("init",l),l}function ih(){return ka}const sh=ia.startsWith("3");function lh(e){return typeof e=="function"?e():ie(e)}function xo(e,t=""){if(e instanceof Promise)return e;const n=lh(e);return!e||!n?n:Array.isArray(n)?n.map(r=>xo(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,ie(o)]:[r,xo(o,r)])):n}const ah={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=xo(t.input)}}},Na="usehead";function ch(e){return{install(n){sh&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Na,e))}}.install}function uh(e={}){e.domDelayFn=e.domDelayFn||(n=>ni(()=>setTimeout(()=>n(),0)));const t=rh(e);return t.use(ah),t.install=ch(t),t}const ko=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},No="__unhead_injection_handler__";function fh(e){ko[No]=e}function my(){if(No in ko)return ko[No]();const e=Xt(Na);return e||ih()}const dh={nuxt:{buildId:"b5db882d-dfbd-4edf-87b5-38d1f0a456e3"}},ph=fp(dh);function Da(){const e=de();return e._appConfig||(e._appConfig=Ke(ph)),e._appConfig}const hh={componentName:"NuxtLink"},mh="#__nuxt";let rr,Ma;function _h(){var t;const e=(t=Da().nuxt)==null?void 0:t.buildId;return rr=$fetch(hi(`builds/meta/${e}.json`)),rr.then(n=>{Ma=cp(n.matcher)}),rr}function jr(){return rr||_h()}async function bi(e){return await jr(),up({},...Ma.matchAll(e).reverse())}function Ps(e,t={}){const n=yh(e,t),r=de(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=bh(e).then(i=>i?Va(n).then(s=>s||(delete o[n],null)):(o[n]=null,null))),o[n]}const gh="_payload.json";function yh(e,t={}){var o;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||vt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(o=Da().nuxt)==null?void 0:o.buildId);return xn(Pn().app.baseURL,n.pathname,gh+(r?`?${r}`:""))}async function Va(e){const t=fetch(e).then(n=>n.text().then(Ba));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function bh(e=Aa().path){if(e=Br(e),(await jr()).prerendered.includes(e))return!0;const n=await bi(e);return!!n.prerender&&!n.redirect}let qn=null;async function vh(){if(qn)return qn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Ba(e.textContent||""),n=e.dataset.src?await Va(e.dataset.src):void 0;return qn={...t,...n,...window.__NUXT__},qn}async function Ba(e){return await Ip(e,de()._payloadRevivers)}function Eh(e,t){de()._payloadRevivers[e]=t}const As={NuxtError:e=>gi(e),EmptyShallowRef:e=>ji(e==="_"?void 0:e==="0n"?BigInt(0):gr(e)),EmptyRef:e=>We(e==="_"?void 0:e==="0n"?BigInt(0):gr(e)),ShallowRef:e=>ji(e),ShallowReactive:e=>hl(e),Ref:e=>We(e),Reactive:e=>Ke(e)},wh=lt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in As)Eh(r,As[r]);Object.assign(e.payload,([t,n]=ba(()=>e.runWithContext(vh)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Rh=[],Th=lt({name:"nuxt:head",enforce:"pre",setup(e){const t=uh({plugins:Rh});fh(()=>de().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await xa(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}}),Ph=async e=>{let t,n;const r=([t,n]=ba(()=>bi(e.path)),t=await t,n(),t);if(r.redirect)return vt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Ah=[Ph];function ro(e){typeof e=="object"&&(e=ha({pathname:e.path||"",search:ca(e.query||{}),hash:e.hash||""}));const t=an(e.toString());return{path:t.pathname,fullPath:e,query:pi(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const Ch=lt({name:"nuxt:router",enforce:"pre",setup(e){const t=Ed(window.location.pathname,Pn().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(f,d)=>(r[f].push(d),()=>r[f].splice(r[f].indexOf(d),1)),i=Pn().app.baseURL,s=Ke(ro(t));async function l(f,d){try{const h=ro(f);for(const p of r["navigate:before"]){const v=await p(h,s);if(v===!1||v instanceof Error)return;if(typeof v=="string"&&v.length)return l(v,!0)}for(const p of r["resolve:before"])await p(h,s);Object.assign(s,h),window.history[d?"replaceState":"pushState"]({},"",xn(i,h.fullPath)),e.isHydrating||await e.runWithContext(vp);for(const p of r["navigate:after"])await p(h,s)}catch(h){for(const p of r.error)await p(h)}}const c={currentRoute:_t(()=>s),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>l(f,!1),replace:f=>l(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>o("resolve:before",f),beforeEach:f=>o("navigate:before",f),afterEach:f=>o("navigate:after",f),onError:f=>o("error",f),resolve:ro,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(h=>h.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",Mt({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const h=()=>l(f.to,f.replace);return()=>{var v;const p=c.resolve(f.to);return f.custom?(v=d.default)==null?void 0:v.call(d,{href:f.to,navigate:h,route:p}):To("a",{href:f.to,onClick:E=>(E.preventDefault(),h())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),e._route=s,e._middleware=e._middleware||{global:[],named:{}};const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=Ke(f.meta||{}),e.isHydrating&&u&&!Ot(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const h=new Set([...Ah,...e._middleware.global]);{const p=await e.runWithContext(()=>bi(f.path));if(p.appMiddleware)for(const v in p.appMiddleware){const E=e._middleware.named[v];if(!E)return;p.appMiddleware[v]?h.add(E):h.delete(E)}}for(const p of h){const v=await e.runWithContext(()=>p(f,d));if(v!==!0&&(v||v===!1))return v}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),Rd(s.fullPath,t)||await e.runWithContext(()=>Ca(s.fullPath))}),{provide:{route:s,router:c}}}}),Do=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Sh=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),vi=e=>{const t=de();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Do(e)}):Do(e)},Lh=lt({name:"nuxt:payload",setup(e){Et().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Ps(t.path);r&&Object.assign(e.static.data,r.data)}),vi(()=>{var t;e.hooks.hook("link:prefetch",async n=>{an(n).protocol||await Ps(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(jr,1e3)})}}),Oh=lt(e=>{let t;async function n(){const r=await jr();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const o=await $fetch(hi("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}vi(()=>{t=setTimeout(n,1e3*60*60)})}),Ih=lt({name:"nuxt:global-components"}),xh="$s";function kh(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=xh+n,i=de(),s=wl(i.payload.state,o);if(s.value===void 0&&r){const l=r();if(Te(l))return i.payload.state[o]=l,l;s.value=l}return s}const Nh="__NUXT_COLOR_MODE__",Dh="nuxt-color-mode",nt=window[Nh]||{},Mh=lt(e=>{const t=kh("color-mode",()=>Ke({preference:nt.preference,value:nt.value,unknown:!1,forced:!1})).value;Et().afterEach(o=>{const i=o.meta.colorMode;i&&i!=="system"?(t.value=i,t.forced=!0):(i==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?nt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=nt.getColorScheme())}))}hn(()=>t.preference,o=>{var i;t.forced||(o==="system"?(t.value=nt.getColorScheme(),r()):t.value=o,(i=window.localStorage)==null||i.setItem(Dh,o))},{immediate:!0}),hn(()=>t.value,(o,i)=>{nt.removeColorScheme(i),nt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=nt.preference,t.value=nt.value,t.unknown=!1)}),e.provide("colorMode",t)}),Vh=lt(()=>{});function Bh(e={}){const t=e.path||window.location.pathname;let n={};try{n=gr(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:de().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const jh=lt({name:"nuxt:chunk-reload",setup(e){const t=Et(),n=Pn(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const l="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:xn(n.app.baseURL,i.fullPath);Bh({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),Fh=[wh,Th,Ch,Lh,Oh,Ih,Mh,Vh,jh],Hh=Mt({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(ne(),Oe("div",{class:kt(["n-icon",t.icon])},null,2))}});async function ja(e,t=Et()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>ja(e,t));t._routePreloaded.add(n);const i=r.map(s=>{var l;return(l=s.components)==null?void 0:l.default}).filter(s=>typeof s=="function");for(const s of i){const l=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(l)));o.push(l)}await Promise.all(o)}const $h=(...e)=>e.find(t=>t!==void 0);function Uh(e){const t=e.componentName||"NuxtLink";function n(r,o){if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return Cs(r,e.trailingSlash);const i="path"in r&&r.path!==void 0?r.path:o(r).path;return{...r,name:void 0,path:Cs(i,e.trailingSlash)}}return Mt({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:o}){const i=Et(),s=Pn(),l=_t(()=>{const p=r.to||r.href||"";return n(p,i.resolve)}),a=_t(()=>typeof l.value=="string"&&vt(l.value,{acceptRelative:!0})),c=_t(()=>r.target&&r.target!=="_self"),u=_t(()=>r.external||c.value?!0:typeof l.value=="object"?!1:l.value===""||a.value),f=We(!1),d=We(null),h=p=>{var v;d.value=r.custom?(v=p==null?void 0:p.$el)==null?void 0:v.nextElementSibling:p==null?void 0:p.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!qh()){const v=de();let E,P=null;kl(()=>{const S=Wh();vi(()=>{E=Do(()=>{var b;(b=d==null?void 0:d.value)!=null&&b.tagName&&(P=S.observe(d.value,async()=>{P==null||P(),P=null;const R=typeof l.value=="string"?l.value:i.resolve(l.value).fullPath;await Promise.all([v.hooks.callHook("link:prefetch",R).catch(()=>{}),!u.value&&ja(l.value,i).catch(()=>{})]),f.value=!0}))})})}),Nl(()=>{E&&Sh(E),P==null||P(),P=null})}return()=>{var P,S;if(!u.value){const b={ref:h,to:l.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(f.value&&(b.class=r.prefetchedClass||e.prefetchedClass),b.rel=r.rel||void 0),To(Su("RouterLink"),b,o.default)}const p=typeof l.value=="object"?((P=i.resolve(l.value))==null?void 0:P.href)??null:l.value&&!r.external&&!a.value?n(xn(s.app.baseURL,l.value),i.resolve):l.value||null,v=r.target||null,E=$h(r.noRel?"":r.rel,e.externalRelAttribute,a.value||c.value?"noopener noreferrer":"")||null;if(r.custom){if(!o.default)return null;const b=()=>Ca(p,{replace:r.replace,external:r.external});return o.default({href:p,navigate:b,get route(){if(!p)return;const R=an(p);return{path:R.pathname,fullPath:R.pathname,get query(){return pi(R.search)},hash:R.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:p}},rel:E,target:v,isExternal:u.value,isActive:!1,isExactActive:!1})}return To("a",{ref:d,href:p,rel:E,target:v},(S=o.default)==null?void 0:S.call(o))}}})}const Gh=Uh(hh);function Cs(e,t){const n=t==="append"?mr:Br;return vt(e)&&!e.startsWith("http")?e:n(e,!0)}function Wh(){const e=de();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,s)=>(t||(t=new IntersectionObserver(l=>{for(const a of l){const c=n.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&c&&c()}})),n.set(i,s),t.observe(i),()=>{n.delete(i),t.unobserve(i),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function qh(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const Kh=Mt({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const r=Hh;return ne(),Me(Sl(t.to?ie(Gh):"button"),ta({to:t.to},{...t.$attrs,...!t.to&&{type:t.type},...t.disabled?{disabled:!0}:{tabindex:0}},{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":t.border},{"n-icon-button":!t.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:wn(()=>[qi(t.$slots,"icon",{},()=>[t.icon?(ne(),Me(r,{key:0,icon:t.icon,class:kt({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):Ft("",!0)]),qi(t.$slots,"default")]),_:3},16,["to","class"])}}}),Fa=[{id:"abap",name:"ABAP",import:()=>m(()=>import("./DXFkqnOI.js"),[],import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>m(()=>import("./D6NljDpC.js"),[],import.meta.url)},{id:"ada",name:"Ada",import:()=>m(()=>import("./CowR2XfX.js"),[],import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>m(()=>import("./DsudziMp.js").then(e=>e.e),__vite__mapDeps([0,1,2,3]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>m(()=>import("./B9E_xdxs.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>m(()=>import("./rS0jd3Ly.js"),[],import.meta.url)},{id:"apex",name:"Apex",import:()=>m(()=>import("./Sfo2eW0G.js"),[],import.meta.url)},{id:"apl",name:"APL",import:()=>m(()=>import("./DC4hdoM9.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>m(()=>import("./B4yE-MfL.js"),[],import.meta.url)},{id:"ara",name:"Ara",import:()=>m(()=>import("./CG4fK2Nq.js"),[],import.meta.url)},{id:"asm",name:"Assembly",import:()=>m(()=>import("./PWN5J14X.js"),[],import.meta.url)},{id:"astro",name:"Astro",import:()=>m(()=>import("./wORFcijT.js"),__vite__mapDeps([10,9,2,11,12,13,3,5,14,15,16]),import.meta.url)},{id:"awk",name:"AWK",import:()=>m(()=>import("./i0IPvypD.js"),[],import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>m(()=>import("./T9ysyp6P.js"),[],import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>m(()=>import("./BPiaQZfK.js"),[],import.meta.url)},{id:"beancount",name:"Beancount",import:()=>m(()=>import("./Urb1RsFe.js"),[],import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>m(()=>import("./CxrokwfH.js"),[],import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>m(()=>import("./BaedD2tq.js"),[],import.meta.url)},{id:"bicep",name:"Bicep",import:()=>m(()=>import("./3ghuYFLd.js"),[],import.meta.url)},{id:"blade",name:"Blade",import:()=>m(()=>import("./C1DVX8_8.js"),__vite__mapDeps([17,1,2,3,7,8,18,9]),import.meta.url)},{id:"c",name:"C",import:()=>m(()=>import("./RCJZWN-0.js"),[],import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>m(()=>import("./Bgpqy2XC.js"),[],import.meta.url)},{id:"clarity",name:"Clarity",import:()=>m(()=>import("./CIekO_uJ.js"),[],import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>m(()=>import("./BF6G6X0H.js"),[],import.meta.url)},{id:"cmake",name:"CMake",import:()=>m(()=>import("./DXZpi2gR.js"),[],import.meta.url)},{id:"cobol",name:"COBOL",import:()=>m(()=>import("./TQ9oWRfF.js"),__vite__mapDeps([19,18,1,2,3,8]),import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>m(()=>import("./BOpLLL-w.js"),[],import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>m(()=>import("./Bg0wAK5a.js"),__vite__mapDeps([20,2]),import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>m(()=>import("./BOnd8D4O.js"),__vite__mapDeps([21,22,23,18]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>m(()=>import("./B6nY7VDA.js"),__vite__mapDeps([24,1,2,3,18,23,25]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>m(()=>import("./DISxKEhY.js"),[],import.meta.url)},{id:"css",name:"CSS",import:()=>m(()=>import("./CbYhyuC0.js"),[],import.meta.url)},{id:"csv",name:"CSV",import:()=>m(()=>import("./B2DkETJQ.js"),[],import.meta.url)},{id:"cue",name:"CUE",import:()=>m(()=>import("./C6Aznpr-.js"),[],import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>m(()=>import("./ByMv4Xf1.js"),[],import.meta.url)},{id:"d",name:"D",import:()=>m(()=>import("./PifQWv0n.js"),[],import.meta.url)},{id:"dart",name:"Dart",import:()=>m(()=>import("./BswfO-CF.js"),[],import.meta.url)},{id:"dax",name:"DAX",import:()=>m(()=>import("./DsfXcHUZ.js"),[],import.meta.url)},{id:"diff",name:"Diff",import:()=>m(()=>import("./DvyTQcux.js"),[],import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>m(()=>import("./DNR26wTC.js"),[],import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>m(()=>import("./Eh5U-gDp.js"),[],import.meta.url)},{id:"elixir",name:"Elixir",import:()=>m(()=>import("./BaNxgKSR.js"),__vite__mapDeps([26,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>m(()=>import("./RE3ujT-k.js"),__vite__mapDeps([27,22,23]),import.meta.url)},{id:"erb",name:"ERB",import:()=>m(()=>import("./RgJsN3zu.js"),__vite__mapDeps([28,1,2,3,29,7,8,18,23,25,30]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>m(()=>import("./C3YqBJkQ.js"),[],import.meta.url)},{id:"fish",name:"Fish",import:()=>m(()=>import("./DfeQjIbs.js"),[],import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>m(()=>import("./sQpxpyUs.js"),__vite__mapDeps([31,32]),import.meta.url)},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>m(()=>import("./D6pmzCqS.js"),[],import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>m(()=>import("./DXpYegZJ.js"),__vite__mapDeps([33,34]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>m(()=>import("./NL97_oaV.js"),__vite__mapDeps([35,36,37]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>m(()=>import("./CoEqzGFw.js"),[],import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>m(()=>import("./B_SUYfiV.js"),[],import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>m(()=>import("./DjTlIhuc.js"),[],import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>m(()=>import("./DAVo6uMX.js"),__vite__mapDeps([38,39]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>m(()=>import("./CPHkTjfH.js"),__vite__mapDeps([40,25]),import.meta.url)},{id:"gleam",name:"Gleam",import:()=>m(()=>import("./Dz2Ca8U2.js"),[],import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>m(()=>import("./Bbv8ARUV.js"),__vite__mapDeps([41,2,11,3,1]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>m(()=>import("./CQUCfALx.js"),__vite__mapDeps([42,11,3,2,1]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>m(()=>import("./DouzTJIq.js"),__vite__mapDeps([22,23]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>m(()=>import("./nclm9rTJ.js"),[],import.meta.url)},{id:"go",name:"Go",import:()=>m(()=>import("./WoBtJUue.js"),[],import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>m(()=>import("./BN4LRXf6.js"),__vite__mapDeps([43,2,11,44,16]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>m(()=>import("./wChcbJ1V.js"),[],import.meta.url)},{id:"hack",name:"Hack",import:()=>m(()=>import("./BmCW-tYz.js"),__vite__mapDeps([45,1,2,3,18]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>m(()=>import("./IHMnEr_d.js"),__vite__mapDeps([46,29,1,2,3,7,8,18,23,25,30,13,20,34]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>m(()=>import("./DUdlC5k_.js"),__vite__mapDeps([47,1,2,3,48]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>m(()=>import("./DAGYewaG.js"),[],import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>m(()=>import("./BG_OyJVq.js"),[],import.meta.url)},{id:"hjson",name:"Hjson",import:()=>m(()=>import("./DZqG9GXz.js"),[],import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>m(()=>import("./DmDrTTlz.js"),[],import.meta.url)},{id:"html",name:"HTML",import:()=>m(()=>import("./CbViG2Xw.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>m(()=>import("./BR6CMsBL.js"),__vite__mapDeps([49,1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>m(()=>import("./DfUNg_8t.js"),__vite__mapDeps([50,25,9,7,8,43,2,11,44,16]),import.meta.url)},{id:"imba",name:"Imba",import:()=>m(()=>import("./DzwdaLuO.js"),__vite__mapDeps([51,11]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>m(()=>import("./DeVv6D4_.js"),[],import.meta.url)},{id:"java",name:"Java",import:()=>m(()=>import("./ClXEvkw9.js"),[],import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>m(()=>import("./Dch3xQiY.js"),[],import.meta.url)},{id:"jinja",name:"Jinja",import:()=>m(()=>import("./D4LaosRr.js"),__vite__mapDeps([52,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>m(()=>import("./DY7_9Ga-.js"),__vite__mapDeps([53,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>m(()=>import("./CupVZNk8.js"),[],import.meta.url)},{id:"json5",name:"JSON5",import:()=>m(()=>import("./Bh8mriwU.js"),[],import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>m(()=>import("./DYI1rfmx.js"),[],import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>m(()=>import("./BUpeXbsf.js"),[],import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>m(()=>import("./C9d3aiqh.js"),[],import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>m(()=>import("./Dble9ECP.js"),[],import.meta.url)},{id:"jsx",name:"JSX",import:()=>m(()=>import("./CsyrCbsw.js"),[],import.meta.url)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>m(()=>import("./ZQC2c-5V.js"),__vite__mapDeps([54,21,22,23,18,55,2,56]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>m(()=>import("./BIxS-Weu.js"),[],import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>m(()=>import("./DIr-ordK.js"),[],import.meta.url)},{id:"latex",name:"LaTeX",import:()=>m(()=>import("./BIMuYTWL.js"),__vite__mapDeps([57,58,56,3,59,1,2,7,8,30,23,54,21,22,18,55,29,25,11,48,60,61,62]),import.meta.url)},{id:"less",name:"Less",import:()=>m(()=>import("./DywwDckn.js"),[],import.meta.url)},{id:"liquid",name:"Liquid",import:()=>m(()=>import("./Dg0DGYq4.js"),__vite__mapDeps([63,1,2,3,9]),import.meta.url)},{id:"lisp",name:"Lisp",import:()=>m(()=>import("./D4LhxNOI.js"),[],import.meta.url)},{id:"logo",name:"Logo",import:()=>m(()=>import("./DdacRhvC.js"),[],import.meta.url)},{id:"lua",name:"Lua",import:()=>m(()=>import("./DnhXxWz-.js"),__vite__mapDeps([30,23]),import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>m(()=>import("./B9S9BZZh.js"),[],import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>m(()=>import("./DCk2z-Tu.js"),[],import.meta.url)},{id:"marko",name:"Marko",import:()=>m(()=>import("./Bd7iooY8.js"),__vite__mapDeps([64,3,14,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>m(()=>import("./Btshr8M_.js"),[],import.meta.url)},{id:"mdc",name:"MDC",import:()=>m(()=>import("./BgBwMnrY.js"),__vite__mapDeps([65,34,48,49,1,2,3]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>m(()=>import("./CBPJd_fO.js"),[],import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>m(()=>import("./BSyl5yf0.js"),[],import.meta.url)},{id:"mojo",name:"Mojo",import:()=>m(()=>import("./-7WWnkdy.js"),[],import.meta.url)},{id:"move",name:"Move",import:()=>m(()=>import("./bmJ2objS.js"),[],import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>m(()=>import("./B9CT-1u6.js"),[],import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>m(()=>import("./DBxHOdLe.js"),[],import.meta.url)},{id:"nginx",name:"Nginx",import:()=>m(()=>import("./CUVblut_.js"),__vite__mapDeps([66,30,23]),import.meta.url)},{id:"nim",name:"Nim",import:()=>m(()=>import("./BILqrcpa.js"),__vite__mapDeps([67,23,1,2,3,7,8,22,34]),import.meta.url)},{id:"nix",name:"Nix",import:()=>m(()=>import("./Dszwcx0o.js"),[],import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>m(()=>import("./CL7Ixq1B.js"),[],import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>m(()=>import("./DHmGyzbM.js"),[],import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>m(()=>import("./BWKJ1FCf.js"),[],import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>m(()=>import("./RqY_Nz63.js"),[],import.meta.url)},{id:"pascal",name:"Pascal",import:()=>m(()=>import("./Bz4xi2rU.js"),[],import.meta.url)},{id:"perl",name:"Perl",import:()=>m(()=>import("./Dwo2i-71.js"),__vite__mapDeps([68,1,2,3,7,8,18]),import.meta.url)},{id:"php",name:"PHP",import:()=>m(()=>import("./Cthz8VOO.js"),__vite__mapDeps([69,1,2,3,7,8,18,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>m(()=>import("./BbJj1K1w.js"),[],import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>m(()=>import("./DXT9h7v2.js"),[],import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>m(()=>import("./CApMHEaB.js"),[],import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>m(()=>import("./9ZOzOPqN.js"),[],import.meta.url)},{id:"prisma",name:"Prisma",import:()=>m(()=>import("./BBJYjQ0k.js"),[],import.meta.url)},{id:"prolog",name:"Prolog",import:()=>m(()=>import("./BH_RS3WO.js"),[],import.meta.url)},{id:"proto",name:"Protocol Buffer 3",import:()=>m(()=>import("./DOtRmeXT.js"),[],import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>m(()=>import("./DhFF74a2.js"),__vite__mapDeps([70,2,3,13,5,12,20,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>m(()=>import("./37ic6j3l.js"),[],import.meta.url)},{id:"purescript",name:"PureScript",import:()=>m(()=>import("./CfPQhs6g.js"),[],import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>m(()=>import("./DwuVtWc2.js"),[],import.meta.url)},{id:"r",name:"R",import:()=>m(()=>import("./BXfENWL6.js"),[],import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>m(()=>import("./D384ylkT.js"),[],import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>m(()=>import("./wPLeKH6q.js"),__vite__mapDeps([71,1,2,3,72]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>m(()=>import("./CrhH3_Og.js"),[],import.meta.url)},{id:"rel",name:"Rel",import:()=>m(()=>import("./6Kuza3Wr.js"),[],import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>m(()=>import("./AgnqFTPX.js"),[],import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>m(()=>import("./CQTpvb7m.js"),__vite__mapDeps([73,49,1,2,3,21,22,23,18,55,25,48,74,29,7,8,30]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>m(()=>import("./DCAtC51B.js"),__vite__mapDeps([29,1,2,3,7,8,18,23,25,30]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>m(()=>import("./j8KhMG0x.js"),[],import.meta.url)},{id:"sas",name:"SAS",import:()=>m(()=>import("./8t4jSAMm.js"),__vite__mapDeps([75,18]),import.meta.url)},{id:"sass",name:"Sass",import:()=>m(()=>import("./CMDmr8et.js"),[],import.meta.url)},{id:"scala",name:"Scala",import:()=>m(()=>import("./vMsNTMhM.js"),[],import.meta.url)},{id:"scheme",name:"Scheme",import:()=>m(()=>import("./1Je9_Reo.js"),[],import.meta.url)},{id:"scss",name:"SCSS",import:()=>m(()=>import("./BeX7Iu5M.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>m(()=>import("./BiDE021q.js"),__vite__mapDeps([76,77]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>m(()=>import("./D4k753MY.js"),[],import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>m(()=>import("./Bdb36Id5.js"),__vite__mapDeps([78,25]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>m(()=>import("./DSsji4Hu.js"),[],import.meta.url)},{id:"solidity",name:"Solidity",import:()=>m(()=>import("./CThH5sBG.js"),[],import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>m(()=>import("./DJZWsvj0.js"),__vite__mapDeps([79,80]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>m(()=>import("./6XBPEST2.js"),[],import.meta.url)},{id:"sql",name:"SQL",import:()=>m(()=>import("./DbK06e1c.js"),[],import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>m(()=>import("./BH1M7C1g.js"),[],import.meta.url)},{id:"stata",name:"Stata",import:()=>m(()=>import("./DLP9ZvWb.js"),__vite__mapDeps([81,18]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>m(()=>import("./DSrLtGYv.js"),[],import.meta.url)},{id:"svelte",name:"Svelte",import:()=>m(()=>import("./doGI2cFk.js"),__vite__mapDeps([82,2,11,20,12,13,3,5,14,15,70,1,34]),import.meta.url)},{id:"swift",name:"Swift",import:()=>m(()=>import("./Dez-Qvcc.js"),[],import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>m(()=>import("./DzPyIVdT.js"),[],import.meta.url)},{id:"tasl",name:"Tasl",import:()=>m(()=>import("./BxwAa5i0.js"),[],import.meta.url)},{id:"tcl",name:"Tcl",import:()=>m(()=>import("./C_8Fx7bH.js"),[],import.meta.url)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>m(()=>import("./7fd6vGzb.js"),[],import.meta.url)},{id:"tex",name:"TeX",import:()=>m(()=>import("./CGQbO34C.js"),__vite__mapDeps([58,56]),import.meta.url)},{id:"toml",name:"TOML",import:()=>m(()=>import("./BT9ZzGyQ.js"),[],import.meta.url)},{id:"tsv",name:"TSV",import:()=>m(()=>import("./DnLUQrgA.js"),[],import.meta.url)},{id:"tsx",name:"TSX",import:()=>m(()=>import("./BlxWTfDV.js"),[],import.meta.url)},{id:"turtle",name:"Turtle",import:()=>m(()=>import("./C15OxdQ5.js"),[],import.meta.url)},{id:"twig",name:"Twig",import:()=>m(()=>import("./DCdPDLy4.js"),__vite__mapDeps([83,3,2,5,69,1,7,8,18,9,55,29,23,25,30]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>m(()=>import("./DC8MraHL.js"),[],import.meta.url)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>m(()=>import("./I4qd5QHW.js"),[],import.meta.url)},{id:"v",name:"V",import:()=>m(()=>import("./C2TBxDwV.js"),[],import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>m(()=>import("./beD-FUib.js"),[],import.meta.url)},{id:"verilog",name:"Verilog",import:()=>m(()=>import("./DVfdqzEq.js"),[],import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>m(()=>import("./QZ3jNtnE.js"),[],import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>m(()=>import("./BLluXI4E.js"),[],import.meta.url)},{id:"vue",name:"Vue",import:()=>m(()=>import("./BBv1LFm6.js"),__vite__mapDeps([84,1,2,3,34,70,13,5,12,20,14,11,44,16,9,85,86,48,87,43,49]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>m(()=>import("./CRWwmX0L.js"),__vite__mapDeps([88,84,1,2,3,34,70,13,5,12,20,14,11,44,16,9,85,86,48,87,43,49]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>m(()=>import("./o-cPXEvd.js"),[],import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>m(()=>import("./Cicx_DS6.js"),[],import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>m(()=>import("./D3VXSfF0.js"),[],import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>m(()=>import("./BZz1Hhek.js"),[],import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>m(()=>import("./BICIrM8O.js"),[],import.meta.url)},{id:"xml",name:"XML",import:()=>m(()=>import("./CsYA0RN7.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>m(()=>import("./CJQrLysU.js"),__vite__mapDeps([89,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>m(()=>import("./C5gCGmDW.js"),[],import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>m(()=>import("./B1nm99XP.js"),[],import.meta.url)},{id:"zig",name:"Zig",import:()=>m(()=>import("./Bsp1M94H.js"),[],import.meta.url)}],zh=Object.fromEntries(Fa.map(e=>[e.id,e.import])),Jh=Object.fromEntries(Fa.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),Yh={...zh,...Jh},Xh=async e=>m(()=>import("./CsTmP73Z.js"),[],import.meta.url).then(t=>t.default(e)),Qh=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>m(()=>import("./YxQm0tCS.js"),[],import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>m(()=>import("./BaWyeHV_.js"),[],import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>m(()=>import("./Bn5gmY5k.js"),[],import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>m(()=>import("./DZ3fVoEH.js"),[],import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>m(()=>import("./DCj4DH6i.js"),[],import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>m(()=>import("./D-pQtGOP.js"),[],import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>m(()=>import("./BsfQk1vf.js"),[],import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>m(()=>import("./KEYLhlmT.js"),[],import.meta.url)},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>m(()=>import("./DGO8GyiP.js"),[],import.meta.url)},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>m(()=>import("./9B1nZgL-.js"),[],import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>m(()=>import("./CzPA46E-.js"),[],import.meta.url)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>m(()=>import("./BXF7Vm5l.js"),[],import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>m(()=>import("./CRDKj6ck.js"),[],import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>m(()=>import("./CRlnGVMD.js"),[],import.meta.url)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>m(()=>import("./UREJT2Bw.js"),[],import.meta.url)},{id:"houston",displayName:"Houston",type:"dark",import:()=>m(()=>import("./CZZ6oYdA.js"),[],import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>m(()=>import("./BsvsQ1iS.js"),[],import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>m(()=>import("./B2BuIiKK.js"),[],import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>m(()=>import("./BrGg7AAd.js"),[],import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>m(()=>import("./DDRuGeQH.js"),[],import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>m(()=>import("./CBL0qBdF.js"),[],import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>m(()=>import("./D7gg1Usp.js"),[],import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>m(()=>import("./iSbrOpM4.js"),[],import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>m(()=>import("./BITGhEdf.js"),[],import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>m(()=>import("./sMI-pExk.js"),[],import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>m(()=>import("./BeocmOPF.js"),[],import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>m(()=>import("./CsyjKwr8.js"),[],import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>m(()=>import("./BTtaZsq5.js"),[],import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>m(()=>import("./Cda-MJFk.js"),[],import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>m(()=>import("./jaXbsbtS.js"),[],import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>m(()=>import("./CX_FIdg1.js"),[],import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>m(()=>import("./Bj5xdiaE.js"),[],import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>m(()=>import("./CdedUr_-.js"),[],import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>m(()=>import("./C7oZ9nno.js"),[],import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>m(()=>import("./hXH8Gyq8.js"),[],import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>m(()=>import("./C86elO-m.js"),[],import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>m(()=>import("./xPNGhBYe.js"),[],import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>m(()=>import("./BBDuFDsq.js"),[],import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>m(()=>import("./eJfcURhx.js"),[],import.meta.url)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>m(()=>import("./BSB_bK09.js"),[],import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>m(()=>import("./CrjQeCwm.js"),[],import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>m(()=>import("./DggdVF2v.js"),[],import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>m(()=>import("./A1WiD9SJ.js"),[],import.meta.url)}],Zh=Object.fromEntries(Qh.map(e=>[e.id,e.import]));var Ge;(function(e){e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline"})(Ge||(Ge={}));var rn;(function(e){function t(u){return u.toString(2).padStart(32,"0")}e.toBinaryStr=t;function n(u){const f=e.getLanguageId(u),d=e.getTokenType(u),h=e.getFontStyle(u),p=e.getForeground(u),v=e.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:h,foreground:p,background:v})}e.print=n;function r(u){return(u&255)>>>0}e.getLanguageId=r;function o(u){return(u&768)>>>8}e.getTokenType=o;function i(u){return(u&1024)!==0}e.containsBalancedBrackets=i;function s(u){return(u&30720)>>>11}e.getFontStyle=s;function l(u){return(u&16744448)>>>15}e.getForeground=l;function a(u){return(u&4278190080)>>>24}e.getBackground=a;function c(u,f,d,h,p,v,E){let P=e.getLanguageId(u),S=e.getTokenType(u),b=e.containsBalancedBrackets(u)?1:0,R=e.getFontStyle(u),T=e.getForeground(u),A=e.getBackground(u);return f!==0&&(P=f),d!==8&&(S=d),h!==null&&(b=h?1:0),p!==-1&&(R=p),v!==0&&(T=v),E!==0&&(A=E),(P<<0|S<<8|b<<10|R<<11|T<<15|A<<24)>>>0}e.set=c})(rn||(rn={}));function vr(e,t){const n=[],r=em(e);let o=r.next();for(;o!==null;){let a=0;if(o.length===2&&o.charAt(1)===":"){switch(o.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=r.next()}let c=s();if(n.push({matcher:c,priority:a}),o!==",")break;o=r.next()}return n;function i(){if(o==="-"){o=r.next();const a=i();return c=>!!a&&!a(c)}if(o==="("){o=r.next();const a=l();return o===")"&&(o=r.next()),a}if(Ss(o)){const a=[];do a.push(o),o=r.next();while(Ss(o));return c=>t(a,c)}return null}function s(){const a=[];let c=i();for(;c;)a.push(c),c=i();return u=>a.every(f=>f(u))}function l(){const a=[];let c=s();for(;c&&(a.push(c),o==="|"||o===",");){do o=r.next();while(o==="|"||o===",");c=s()}return u=>a.some(f=>f(u))}}function Ss(e){return!!e&&!!e.match(/[\w\.:]+/)}function em(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function Ha(e){typeof e.dispose=="function"&&e.dispose()}function tm(e){return Ei(e)}function Ei(e){return Array.isArray(e)?nm(e):typeof e=="object"?rm(e):e}function nm(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Ei(e[n]);return t}function rm(e){let t={};for(let n in e)t[n]=Ei(e[n]);return t}function $a(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Ua(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Ua(e.substring(0,e.length-1)):e.substr(~t+1)}let oo=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class Kn{static hasCaptures(t){return t===null?!1:(oo.lastIndex=0,oo.test(t))}static replaceCaptures(t,n,r){return t.replace(oo,(o,i,s,l)=>{let a=r[parseInt(i||s,10)];if(a){let c=n.substring(a.start,a.end);for(;c[0]===".";)c=c.substring(1);switch(l){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return o})}}function Ga(e,t){return e<t?-1:e>t?1:0}function Wa(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let o=0;o<n;o++){let i=Ga(e[o],t[o]);if(i!==0)return i}return 0}return n-r}function Ls(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function qa(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class Ka{constructor(t){y(this,"fn");y(this,"cache",new Map);this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const n=this.fn(t);return this.cache.set(t,n),n}}class An{constructor(t){y(this,"scopeName");this.scopeName=t}toKey(){return this.scopeName}}class om{constructor(t,n){y(this,"scopeName");y(this,"ruleName");this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class im{constructor(){y(this,"_references",[]);y(this,"_seenReferenceKeys",new Set);y(this,"visitedRule",new Set)}get references(){return this._references}add(t){const n=t.toKey();this._seenReferenceKeys.has(n)||(this._seenReferenceKeys.add(n),this._references.push(t))}}class sm{constructor(t,n){y(this,"repo");y(this,"initialScopeName");y(this,"seenFullScopeRequests",new Set);y(this,"seenPartialScopeRequests",new Set);y(this,"Q");this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new An(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new im;for(const r of t)lm(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof An){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}}function lm(e,t,n,r){const o=n.lookup(e.scopeName);if(!o){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const i=n.lookup(t);e instanceof An?or({baseGrammar:i,selfGrammar:o},r):Mo(e.ruleName,{baseGrammar:i,selfGrammar:o,repository:o.repository},r);const s=n.injections(e.scopeName);if(s)for(const l of s)r.add(new An(l))}function Mo(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];Er([r],t,n)}}function or(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Er(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Er(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function Er(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?$a({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Er(r.patterns,{...t,repository:o},n);const i=r.include;if(!i)continue;const s=za(i);switch(s.kind){case 0:or({...t,selfGrammar:t.baseGrammar},n);break;case 1:or(t,n);break;case 2:Mo(s.ruleName,{...t,repository:o},n);break;case 3:case 4:const l=s.scopeName===t.selfGrammar.scopeName?t.selfGrammar:s.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(l){const a={baseGrammar:t.baseGrammar,selfGrammar:l,repository:o};s.kind===4?Mo(s.ruleName,a,n):or(a,n)}else s.kind===4?n.add(new om(s.scopeName,s.ruleName)):n.add(new An(s.scopeName));break}}}class am{constructor(){y(this,"kind",0)}}class cm{constructor(){y(this,"kind",1)}}class um{constructor(t){y(this,"ruleName");y(this,"kind",2);this.ruleName=t}}class fm{constructor(t){y(this,"scopeName");y(this,"kind",3);this.scopeName=t}}class dm{constructor(t,n){y(this,"scopeName");y(this,"ruleName");y(this,"kind",4);this.scopeName=t,this.ruleName=n}}function za(e){if(e==="$base")return new am;if(e==="$self")return new cm;const t=e.indexOf("#");if(t===-1)return new fm(e);if(t===0)return new um(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new dm(n,r)}}const pm=/\\(\d+)/,Os=/\\(\d+)/g,hm=-1,Ja=-2;class kn{constructor(t,n,r,o){y(this,"$location");y(this,"id");y(this,"_nameIsCapturing");y(this,"_name");y(this,"_contentNameIsCapturing");y(this,"_contentName");this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=Kn.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=Kn.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${Ua(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,n){return!this._nameIsCapturing||this._name===null||t===null||n===null?this._name:Kn.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Kn.replaceCaptures(this._contentName,t,n)}}class mm extends kn{constructor(n,r,o,i,s){super(n,r,o,i);y(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(n,r){throw new Error("Not supported!")}compile(n,r){throw new Error("Not supported!")}compileAG(n,r,o,i){throw new Error("Not supported!")}}class _m extends kn{constructor(n,r,o,i,s){super(n,r,o,null);y(this,"_match");y(this,"captures");y(this,"_cachedCompiledPatterns");this._match=new xt(i,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,r){r.push(this._match)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Cn,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Is extends kn{constructor(n,r,o,i,s){super(n,r,o,i);y(this,"hasMissingPatterns");y(this,"patterns");y(this,"_cachedCompiledPatterns");this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,r){for(const o of this.patterns)n.getRule(o).collectPatterns(n,r)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Cn,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Vo extends kn{constructor(n,r,o,i,s,l,a,c,u,f){super(n,r,o,i);y(this,"_begin");y(this,"beginCaptures");y(this,"_end");y(this,"endHasBackReferences");y(this,"endCaptures");y(this,"applyEndPatternLast");y(this,"hasMissingPatterns");y(this,"patterns");y(this,"_cachedCompiledPatterns");this._begin=new xt(s,this.id),this.beginCaptures=l,this._end=new xt(a||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=c,this.applyEndPatternLast=u||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(n,r){return this._end.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n,r).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n,r).compileAG(n,o,i)}_getCachedCompiledPatterns(n,r){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Cn;for(const o of this.patterns)n.getRule(o).collectPatterns(n,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,r):this._cachedCompiledPatterns.setSource(0,r)),this._cachedCompiledPatterns}}class wr extends kn{constructor(n,r,o,i,s,l,a,c,u){super(n,r,o,i);y(this,"_begin");y(this,"beginCaptures");y(this,"whileCaptures");y(this,"_while");y(this,"whileHasBackReferences");y(this,"hasMissingPatterns");y(this,"patterns");y(this,"_cachedCompiledPatterns");y(this,"_cachedCompiledWhilePatterns");this._begin=new xt(s,this.id),this.beginCaptures=l,this.whileCaptures=c,this._while=new xt(a,Ja),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(n,r){return this._while.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Cn;for(const r of this.patterns)n.getRule(r).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,r){return this._getCachedCompiledWhilePatterns(n,r).compile(n)}compileWhileAG(n,r,o,i){return this._getCachedCompiledWhilePatterns(n,r).compileAG(n,o,i)}_getCachedCompiledWhilePatterns(n,r){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Cn,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||"￿"),this._cachedCompiledWhilePatterns}}class ye{static createCaptureRule(t,n,r,o,i){return t.registerRule(s=>new mm(n,s,r,o,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new _m(t.$vscodeTextmateLocation,t.id,t.name,t.match,ye._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=$a({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new Is(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,ye._compilePatterns(i,n,r))}return t.while?new wr(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,ye._compileCaptures(t.whileCaptures||t.captures,n,r),ye._compilePatterns(t.patterns,n,r)):new Vo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,ye._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,ye._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let o=[];if(t){let i=0;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);l>i&&(i=l)}for(let s=0;s<=i;s++)o[s]=null;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);let a=0;t[s].patterns&&(a=ye.getCompiledRuleId(t[s],n,r)),o[l]=ye.createCaptureRule(n,t[s].$vscodeTextmateLocation,t[s].name,t[s].contentName,a)}}return o}static _compilePatterns(t,n,r){let o=[];if(t)for(let i=0,s=t.length;i<s;i++){const l=t[i];let a=-1;if(l.include){const c=za(l.include);switch(c.kind){case 0:case 1:a=ye.getCompiledRuleId(r[l.include],n,r);break;case 2:let u=r[c.ruleName];u&&(a=ye.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,h=n.getExternalGrammar(f,r);if(h)if(d){let p=h.repository[d];p&&(a=ye.getCompiledRuleId(p,n,h.repository))}else a=ye.getCompiledRuleId(h.repository.$self,n,h.repository);break}}else a=ye.getCompiledRuleId(l,n,r);if(a!==-1){const c=n.getRule(a);let u=!1;if((c instanceof Is||c instanceof Vo||c instanceof wr)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(a)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}}class xt{constructor(t,n){y(this,"source");y(this,"ruleId");y(this,"hasAnchor");y(this,"hasBackReferences");y(this,"_anchorCache");if(t){const r=t.length;let o=0,i=[],s=!1;for(let l=0;l<r;l++)if(t.charAt(l)==="\\"&&l+1<r){const c=t.charAt(l+1);c==="z"?(i.push(t.substring(o,l)),i.push("$(?!\\n)(?<!\\n)"),o=l+2):(c==="A"||c==="G")&&(s=!0),l++}this.hasAnchor=s,o===0?this.source=t:(i.push(t.substring(o,r)),this.source=i.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=pm.test(this.source)}clone(){return new xt(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){let r=n.map(o=>t.substring(o.start,o.end));return Os.lastIndex=0,this.source.replace(Os,(o,i)=>qa(r[parseInt(i,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],o=[],i,s,l,a;for(i=0,s=this.source.length;i<s;i++)l=this.source.charAt(i),t[i]=l,n[i]=l,r[i]=l,o[i]=l,l==="\\"&&i+1<s&&(a=this.source.charAt(i+1),a==="A"?(t[i+1]="￿",n[i+1]="￿",r[i+1]="A",o[i+1]="A"):a==="G"?(t[i+1]="￿",n[i+1]="G",r[i+1]="￿",o[i+1]="G"):(t[i+1]=a,n[i+1]=a,r[i+1]=a,o[i+1]=a),i++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:o.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}}class Cn{constructor(){y(this,"_items");y(this,"_hasAnchors");y(this,"_cached");y(this,"_anchorCache");this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,n){this._items[t].source!==n&&(this._disposeCaches(),this._items[t].setSource(n))}compile(t){if(!this._cached){let n=this._items.map(r=>r.source);this._cached=new xs(t,n,this._items.map(r=>r.ruleId))}return this._cached}compileAG(t,n,r){return this._hasAnchors?n?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,n,r){let o=this._items.map(i=>i.resolveAnchors(n,r));return new xs(t,o,this._items.map(i=>i.ruleId))}}class xs{constructor(t,n,r){y(this,"regExps");y(this,"rules");y(this,"scanner");this.regExps=n,this.rules=r,this.scanner=t.createOnigScanner(n)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let n=0,r=this.rules.length;n<r;n++)t.push(" - "+this.rules[n]+": "+this.regExps[n]);return t.join(`
24
- `)}findNextMatchSync(t,n,r){const o=this.scanner.findNextMatchSync(t,n,r);return o?{ruleId:this.rules[o.index],captureIndices:o.captureIndices}:null}}class Bo{constructor(t,n,r){y(this,"_colorMap");y(this,"_defaults");y(this,"_root");y(this,"_cachedMatchRoot",new Ka(t=>this._root.match(t)));this._colorMap=t,this._defaults=n,this._root=r}static createFromRawTheme(t,n){return this.createFromParsedTheme(bm(t),n)}static createFromParsedTheme(t,n){return Em(t,n)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const n=t.scopeName,o=this._cachedMatchRoot.get(n).find(i=>gm(t.parent,i.parentScopes));return o?new Ya(o.fontStyle,o.foreground,o.background):null}}class Lt{constructor(t,n){y(this,"parent");y(this,"scopeName");this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new Lt(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Lt(n,t[r]);return n}push(t){return new Lt(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}}function gm(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(ym(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}function ym(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}class Ya{constructor(t,n,r){y(this,"fontStyle");y(this,"foregroundId");y(this,"backgroundId");this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function bm(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,i=t.length;o<i;o++){let s=t[o];if(!s.settings)continue;let l;if(typeof s.scope=="string"){let f=s.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),l=f.split(",")}else Array.isArray(s.scope)?l=s.scope:l=[""];let a=-1;if(typeof s.settings.fontStyle=="string"){a=0;let f=s.settings.fontStyle.split(" ");for(let d=0,h=f.length;d<h;d++)switch(f[d]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let c=null;typeof s.settings.foreground=="string"&&Ls(s.settings.foreground)&&(c=s.settings.foreground);let u=null;typeof s.settings.background=="string"&&Ls(s.settings.background)&&(u=s.settings.background);for(let f=0,d=l.length;f<d;f++){let p=l[f].trim().split(" "),v=p[p.length-1],E=null;p.length>1&&(E=p.slice(0,p.length-1),E.reverse()),n[r++]=new vm(v,E,o,a,c,u)}}return n}class vm{constructor(t,n,r,o,i,s){y(this,"scope");y(this,"parentScopes");y(this,"index");y(this,"fontStyle");y(this,"foreground");y(this,"background");this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=o,this.foreground=i,this.background=s}}function Em(e,t){e.sort((a,c)=>{let u=Ga(a.scope,c.scope);return u!==0||(u=Wa(a.parentScopes,c.parentScopes),u!==0)?u:a.index-c.index});let n=0,r="#000000",o="#ffffff";for(;e.length>=1&&e[0].scope==="";){let a=e.shift();a.fontStyle!==-1&&(n=a.fontStyle),a.foreground!==null&&(r=a.foreground),a.background!==null&&(o=a.background)}let i=new wm(t),s=new Ya(n,i.getId(r),i.getId(o)),l=new yn(new Sn(0,null,-1,0,0),[]);for(let a=0,c=e.length;a<c;a++){let u=e[a];l.insert(0,u.scope,u.parentScopes,u.fontStyle,i.getId(u.foreground),i.getId(u.background))}return new Bo(i,s,l)}class wm{constructor(t){y(this,"_isFrozen");y(this,"_lastColorId");y(this,"_id2color");y(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let n=0,r=t.length;n<r;n++)this._color2id[t[n]]=n,this._id2color[n]=t[n]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let n=this._color2id[t];if(n)return n;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return n=++this._lastColorId,this._color2id[t]=n,this._id2color[n]=t,n}getColorMap(){return this._id2color.slice(0)}}class Sn{constructor(t,n,r,o,i){y(this,"scopeDepth");y(this,"parentScopes");y(this,"fontStyle");y(this,"foreground");y(this,"background");this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=o,this.background=i}clone(){return new Sn(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,o=t.length;r<o;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,o){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),o!==0&&(this.background=o)}}class yn{constructor(t,n=[],r={}){y(this,"_mainRule");y(this,"_children");y(this,"_rulesWithParentScopes");this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _sortBySpecificity(t){return t.length===1||t.sort(this._cmpBySpecificity),t}static _cmpBySpecificity(t,n){if(t.scopeDepth===n.scopeDepth){const r=t.parentScopes,o=n.parentScopes;let i=r===null?0:r.length,s=o===null?0:o.length;if(i===s)for(let l=0;l<i;l++){const a=r[l].length,c=o[l].length;if(a!==c)return c-a}return s-i}return n.scopeDepth-t.scopeDepth}match(t){if(t==="")return yn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let n=t.indexOf("."),r,o;return n===-1?(r=t,o=""):(r=t.substring(0,n),o=t.substring(n+1)),this._children.hasOwnProperty(r)?this._children[r].match(o):yn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(t,n,r,o,i,s){if(n===""){this._doInsertHere(t,r,o,i,s);return}let l=n.indexOf("."),a,c;l===-1?(a=n,c=""):(a=n.substring(0,l),c=n.substring(l+1));let u;this._children.hasOwnProperty(a)?u=this._children[a]:(u=new yn(this._mainRule.clone(),Sn.cloneArr(this._rulesWithParentScopes)),this._children[a]=u),u.insert(t+1,c,r,o,i,s)}_doInsertHere(t,n,r,o,i){if(n===null){this._mainRule.acceptOverwrite(t,r,o,i);return}for(let s=0,l=this._rulesWithParentScopes.length;s<l;s++){let a=this._rulesWithParentScopes[s];if(Wa(a.parentScopes,n)===0){a.acceptOverwrite(t,r,o,i);return}}r===-1&&(r=this._mainRule.fontStyle),o===0&&(o=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new Sn(t,n,r,o,i))}}class io{constructor(t,n){y(this,"languageId");y(this,"tokenType");this.languageId=t,this.tokenType=n}}const $t=class $t{constructor(t,n){y(this,"_defaultAttributes");y(this,"_embeddedLanguagesMatcher");y(this,"_getBasicScopeAttributes",new Ka(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new io(n,r)}));this._defaultAttributes=new io(t,8),this._embeddedLanguagesMatcher=new Rm(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?$t._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match($t.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}};y($t,"_NULL_SCOPE_METADATA",new io(0,0)),y($t,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/);let jo=$t;class Rm{constructor(t){y(this,"values");y(this,"scopesRegExp");if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,o])=>qa(r));n.sort(),n.reverse(),this.scopesRegExp=new RegExp(`^((${n.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const n=t.match(this.scopesRegExp);if(n)return this.values.get(n[1])}}class ks{constructor(t,n){y(this,"stack");y(this,"stoppedEarly");this.stack=t,this.stoppedEarly=n}}function Xa(e,t,n,r,o,i,s,l){const a=t.content.length;let c=!1,u=-1;if(s){const h=Tm(e,t,n,r,o,i);o=h.stack,r=h.linePos,n=h.isFirstLine,u=h.anchorPosition}const f=Date.now();for(;!c;){if(l!==0&&Date.now()-f>l)return new ks(o,!0);d()}return new ks(o,!1);function d(){const h=Pm(e,t,n,r,o,u);if(!h){i.produce(o,a),c=!0;return}const p=h.captureIndices,v=h.matchedRuleId,E=p&&p.length>0?p[0].end>r:!1;if(v===hm){const P=o.getRule(e);i.produce(o,p[0].start),o=o.withContentNameScopesList(o.nameScopesList),pn(e,t,n,o,i,P.endCaptures,p),i.produce(o,p[0].end);const S=o;if(o=o.parent,u=S.getAnchorPos(),!E&&S.getEnterPos()===r){o=S,i.produce(o,a),c=!0;return}}else{const P=e.getRule(v);i.produce(o,p[0].start);const S=o,b=P.getName(t.content,p),R=o.contentNameScopesList.pushAttributed(b,e);if(o=o.push(v,r,u,p[0].end===a,null,R,R),P instanceof Vo){const T=P;pn(e,t,n,o,i,T.beginCaptures,p),i.produce(o,p[0].end),u=p[0].end;const A=T.getContentName(t.content,p),V=R.pushAttributed(A,e);if(o=o.withContentNameScopesList(V),T.endHasBackReferences&&(o=o.withEndRule(T.getEndWithResolvedBackReferences(t.content,p))),!E&&S.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(P instanceof wr){const T=P;pn(e,t,n,o,i,T.beginCaptures,p),i.produce(o,p[0].end),u=p[0].end;const A=T.getContentName(t.content,p),V=R.pushAttributed(A,e);if(o=o.withContentNameScopesList(V),T.whileHasBackReferences&&(o=o.withEndRule(T.getWhileWithResolvedBackReferences(t.content,p))),!E&&S.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(pn(e,t,n,o,i,P.captures,p),i.produce(o,p[0].end),o=o.pop(),!E){o=o.safePop(),i.produce(o,a),c=!0;return}}p[0].end>r&&(r=p[0].end,n=!1)}}function Tm(e,t,n,r,o,i){let s=o.beginRuleCapturedEOL?0:-1;const l=[];for(let a=o;a;a=a.pop()){const c=a.getRule(e);c instanceof wr&&l.push({rule:c,stack:a})}for(let a=l.pop();a;a=l.pop()){const{ruleScanner:c,findOptions:u}=Sm(a.rule,e,a.stack.endRule,n,r===s),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==Ja){o=a.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(i.produce(a.stack,f.captureIndices[0].start),pn(e,t,n,a.stack,i,a.rule.whileCaptures,f.captureIndices),i.produce(a.stack,f.captureIndices[0].end),s=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{o=a.stack.pop();break}}return{stack:o,linePos:r,anchorPosition:s,isFirstLine:n}}function Pm(e,t,n,r,o,i){const s=Am(e,t,n,r,o,i),l=e.getInjections();if(l.length===0)return s;const a=Cm(l,e,t,n,r,o,i);if(!a)return s;if(!s)return a;const c=s.captureIndices[0].start,u=a.captureIndices[0].start;return u<c||a.priorityMatch&&u===c?a:s}function Am(e,t,n,r,o,i){const s=o.getRule(e),{ruleScanner:l,findOptions:a}=Qa(s,e,o.endRule,n,r===i),c=l.findNextMatchSync(t,r,a);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Cm(e,t,n,r,o,i,s){let l=Number.MAX_VALUE,a=null,c,u=0;const f=i.contentNameScopesList.getScopeNames();for(let d=0,h=e.length;d<h;d++){const p=e[d];if(!p.matcher(f))continue;const v=t.getRule(p.ruleId),{ruleScanner:E,findOptions:P}=Qa(v,t,null,r,o===s),S=E.findNextMatchSync(n,o,P);if(!S)continue;const b=S.captureIndices[0].start;if(!(b>=l)&&(l=b,a=S.captureIndices,c=S.ruleId,u=p.priority,l===o))break}return a?{priorityMatch:u===-1,captureIndices:a,matchedRuleId:c}:null}function Qa(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function Sm(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function pn(e,t,n,r,o,i,s){if(i.length===0)return;const l=t.content,a=Math.min(i.length,s.length),c=[],u=s[0].end;for(let f=0;f<a;f++){const d=i[f];if(d===null)continue;const h=s[f];if(h.length===0)continue;if(h.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=h.start;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?o.produceFromScopes(c[c.length-1].scopes,h.start):o.produce(r,h.start),d.retokenizeCapturedWithRuleId){const v=d.getName(l,s),E=r.contentNameScopesList.pushAttributed(v,e),P=d.getContentName(l,s),S=E.pushAttributed(P,e),b=r.push(d.retokenizeCapturedWithRuleId,h.start,-1,!1,null,E,S),R=e.createOnigString(l.substring(0,h.end));Xa(e,R,n&&h.start===0,h.start,b,o,!1,0),Ha(R);continue}const p=d.getName(l,s);if(p!==null){const E=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(p,e);c.push(new Lm(E,h.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class Lm{constructor(t,n){y(this,"scopes");y(this,"endPos");this.scopes=t,this.endPos=n}}function Om(e,t,n,r,o,i,s,l){return new xm(e,t,n,r,o,i,s,l)}function Ns(e,t,n,r,o){const i=vr(t,Rr),s=ye.getCompiledRuleId(n,r,o.repository);for(const l of i)e.push({debugSelector:t,matcher:l.matcher,ruleId:s,grammar:o,priority:l.priority})}function Rr(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let o=n;o<t.length;o++)if(Im(t[o],r))return n=o+1,!0;return!1})}function Im(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}class xm{constructor(t,n,r,o,i,s,l,a){y(this,"_rootScopeName");y(this,"balancedBracketSelectors");y(this,"_onigLib");y(this,"_rootId");y(this,"_lastRuleId");y(this,"_ruleId2desc");y(this,"_includedGrammars");y(this,"_grammarRepository");y(this,"_grammar");y(this,"_injections");y(this,"_basicScopeAttributesProvider");y(this,"_tokenTypeMatchers");if(this._rootScopeName=t,this.balancedBracketSelectors=s,this._onigLib=a,this._basicScopeAttributesProvider=new jo(r,o),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=Ds(n,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const c of Object.keys(i)){const u=vr(c,Rr);for(const f of u)this._tokenTypeMatchers.push({matcher:f.matcher,type:i[c]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:i=>i===this._rootScopeName?this._grammar:this.getExternalGrammar(i),injections:i=>this._grammarRepository.injections(i)},n=[],r=this._rootScopeName,o=t.lookup(r);if(o){const i=o.injections;if(i)for(let l in i)Ns(n,l,i[l],this,o);const s=this._grammarRepository.injections(r);s&&s.forEach(l=>{const a=this.getExternalGrammar(l);if(a){const c=a.injectionSelector;c&&Ns(n,c,a,this,a)}})}return n.sort((i,s)=>i.priority-s.priority),n}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const n=++this._lastRuleId,r=t(n);return this._ruleId2desc[n]=r,r}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,n){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const r=this._grammarRepository.lookup(t);if(r)return this._includedGrammars[t]=Ds(r,n&&n.$base),this._includedGrammars[t]}}tokenizeLine(t,n,r=0){const o=this._tokenize(t,n,!1,r);return{tokens:o.lineTokens.getResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}tokenizeLine2(t,n,r=0){const o=this._tokenize(t,n,!0,r);return{tokens:o.lineTokens.getBinaryResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}_tokenize(t,n,r,o){this._rootId===-1&&(this._rootId=ye.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!n||n===Ln.NULL){i=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),d=rn.set(0,u.languageId,u.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),h=this.getRule(this._rootId).getName(null,null);let p;h?p=Le.createRootAndLookUpScopeName(h,d,this):p=Le.createRoot("unknown",d),n=new Ln(null,this._rootId,-1,-1,!1,null,p,p)}else i=!1,n.reset();t=t+`
25
- `;const s=this.createOnigString(t),l=s.content.length,a=new Nm(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=Xa(this,s,i,0,n,a,!0,o);return Ha(s),{lineLength:l,lineTokens:a,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function Ds(e,t){return e=tm(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}class Le{constructor(t,n,r){y(this,"parent");y(this,"scopePath");y(this,"tokenAttributes");this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,o=(t==null?void 0:t.scopePath)??null;for(const i of n)o=Lt.push(o,i.scopeNames),r=new Le(r,o,i.encodedTokenAttributes);return r}static createRoot(t,n){return new Le(null,new Lt(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),i=new Lt(null,t),s=r.themeProvider.themeMatch(i),l=Le.mergeAttributes(n,o,s);return new Le(null,i,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return Le.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let o=-1,i=0,s=0;return r!==null&&(o=r.fontStyle,i=r.foregroundId,s=r.backgroundId),rn.set(t,n.languageId,n.tokenType,null,o,i,s)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return Le._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const i of r)o=Le._pushAttributed(o,i,n);return o}static _pushAttributed(t,n,r){const o=r.getMetadataForScope(n),i=t.scopePath.push(n),s=r.themeProvider.themeMatch(i),l=Le.mergeAttributes(t.tokenAttributes,o,s);return new Le(t,i,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var o;const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((o=r.parent)==null?void 0:o.scopePath)??null)}),r=r.parent;return r===t?n.reverse():void 0}}const rt=class rt{constructor(t,n,r,o,i,s,l,a){y(this,"parent");y(this,"ruleId");y(this,"beginRuleCapturedEOL");y(this,"endRule");y(this,"nameScopesList");y(this,"contentNameScopesList");y(this,"_stackElementBrand");y(this,"_enterPos");y(this,"_anchorPos");y(this,"depth");this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=i,this.endRule=s,this.nameScopesList=l,this.contentNameScopesList=a,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=o}equals(t){return t===null?!1:rt._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Le.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){rt._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,i,s,l){return new rt(this,t,n,r,o,i,s,l)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){var r,o;return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(o=this.contentNameScopesList)==null?void 0:o.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new rt(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){var t,n,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((n=this.nameScopesList)==null?void 0:n.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,n){const r=Le.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new rt(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Le.fromExtension(r,n.contentNameScopesList))}};y(rt,"NULL",new rt(null,0,0,0,!1,null,null,null));let Ln=rt;class km{constructor(t,n){y(this,"balancedBracketScopes");y(this,"unbalancedBracketScopes");y(this,"allowAny",!1);this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):vr(r,Rr).map(o=>o.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>vr(r,Rr).map(o=>o.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const n of this.unbalancedBracketScopes)if(n(t))return!1;for(const n of this.balancedBracketScopes)if(n(t))return!0;return this.allowAny}}class Nm{constructor(t,n,r,o){y(this,"balancedBracketSelectors");y(this,"_emitBinaryTokens");y(this,"_lineText");y(this,"_tokens");y(this,"_binaryTokens");y(this,"_lastTokenEndIndex");y(this,"_tokenTypeOverrides");this.balancedBracketSelectors=o,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,n){this.produceFromScopes(t.contentNameScopesList,n)}produceFromScopes(t,n){var o;if(this._lastTokenEndIndex>=n)return;if(this._emitBinaryTokens){let i=(t==null?void 0:t.tokenAttributes)??0,s=!1;if((o=this.balancedBracketSelectors)!=null&&o.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const l=(t==null?void 0:t.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(l)&&(i=rn.set(i,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(l))}if(s&&(i=rn.set(i,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=n;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=n;return}const r=(t==null?void 0:t.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:n,scopes:r}),this._lastTokenEndIndex=n}getResult(t,n){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===n-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,n){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===n-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let o=0,i=this._binaryTokens.length;o<i;o++)r[o]=this._binaryTokens[o];return r}}class Dm{constructor(t,n){y(this,"_onigLibPromise");y(this,"_grammars",new Map);y(this,"_rawGrammars",new Map);y(this,"_injectionGrammars",new Map);y(this,"_theme");this._onigLibPromise=n,this._theme=t}dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,n){this._rawGrammars.set(t.scopeName,t),n&&this._injectionGrammars.set(t.scopeName,n)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}async grammarForScopeName(t,n,r,o,i){if(!this._grammars.has(t)){let s=this._rawGrammars.get(t);if(!s)return null;this._grammars.set(t,Om(t,s,n,r,o,i,this,await this._onigLibPromise))}return this._grammars.get(t)}}let Mm=class{constructor(t){y(this,"_options");y(this,"_syncRegistry");y(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new Dm(Bo.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Bo.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new km(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,o,i){const s=new sm(this._syncRegistry,t);for(;s.Q.length>0;)await Promise.all(s.Q.map(l=>this._loadSingleGrammar(l.scopeName))),s.processQueue();return this._grammarForScopeName(t,n,r,o,i)}async _loadSingleGrammar(t){return this._ensureGrammarCache.has(t)||this._ensureGrammarCache.set(t,this._doLoadSingleGrammar(t)),this._ensureGrammarCache.get(t)}async _doLoadSingleGrammar(t){const n=await this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}async addGrammar(t,n=[],r=0,o=null){return this._syncRegistry.addGrammar(t,n),await this._grammarForScopeName(t.scopeName,r,o)}_grammarForScopeName(t,n=0,r=null,o=null,i=null){return this._syncRegistry.grammarForScopeName(t,n,r,o,i)}};const Vm=Ln.NULL,ve={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class ot{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&ve.LANGUAGEID_MASK)>>>ve.LANGUAGEID_OFFSET}static getTokenType(t){return(t&ve.TOKEN_TYPE_MASK)>>>ve.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&ve.FONT_STYLE_MASK)>>>ve.FONT_STYLE_OFFSET}static getForeground(t){return(t&ve.FOREGROUND_MASK)>>>ve.FOREGROUND_OFFSET}static getBackground(t){return(t&ve.BACKGROUND_MASK)>>>ve.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&ve.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,o,i,s){let l=ot.getLanguageId(t),a=ot.getTokenType(t),c=ot.getFontStyle(t),u=ot.getForeground(t),f=ot.getBackground(t);const d=ot.containsBalancedBrackets(t)?1:0;return n!==0&&(l=n),r!==0&&(a=r===8?0:r),o!==Ge.NotSet&&(c=o),i!==0&&(u=i),s!==0&&(f=s),(l<<ve.LANGUAGEID_OFFSET|a<<ve.TOKEN_TYPE_OFFSET|c<<ve.FONT_STYLE_OFFSET|d<<ve.BALANCED_BRACKETS_OFFSET|u<<ve.FOREGROUND_OFFSET|f<<ve.BACKGROUND_OFFSET)>>>0}}function Fr(e,t=!1){var i;const n=e.split(/(\r?\n)/g);let r=0;const o=[];for(let s=0;s<n.length;s+=2){const l=t?n[s]+(n[s+1]||""):n[s];o.push([l,r]),r+=n[s].length,r+=((i=n[s+1])==null?void 0:i.length)||0}return o}function Za(e){return!e||["plaintext","txt","text","plain"].includes(e)}function ec(e){return e==="ansi"||Za(e)}function tc(e){return e==="none"}function nc(e){return tc(e)}function rc(e,t){var r;if(!t)return e;e.properties||(e.properties={}),(r=e.properties).class||(r.class=[]),typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const o of n)o&&!e.properties.class.includes(o)&&e.properties.class.push(o);return e}function Bm(e,t){let n=0;const r=[];for(const o of t)o>n&&r.push({...e,content:e.content.slice(n,o),offset:e.offset+n}),n=o;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function jm(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,o)=>r-o);return n.length?e.map(r=>r.flatMap(o=>{const i=n.filter(s=>o.offset<s&&s<o.offset+o.content.length).map(s=>s-o.offset).sort((s,l)=>s-l);return i.length?Bm(o,i):o})):e}function oc(e,t){return(t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e}function ic(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&Ge.Italic&&(t["font-style"]="italic"),e.fontStyle&Ge.Bold&&(t["font-weight"]="bold"),e.fontStyle&Ge.Underline&&(t["text-decoration"]="underline")),t}function sc(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function Fm(e){const t=Fr(e,!0).map(([o])=>o);function n(o){let i=o,s=0;for(const l of t){if(i<l.length)break;i-=l.length,s++}return{line:s,character:i}}function r(o,i){let s=0;for(let l=0;l<o;l++)s+=t[l].length;return s+=i,s}return{lines:t,indexToPos:n,posToIndex:r}}var At=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],so={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function Hm(e,t){const n=e.indexOf("\x1B[",t);if(n!==-1){const r=e.indexOf("m",n);return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function Ms(e,t){let n=1;const r=e[t+n++];let o;if(r==="2"){const i=[e[t+n++],e[t+n++],e[t+n]].map(s=>Number.parseInt(s));i.length===3&&!i.some(s=>Number.isNaN(s))&&(o={type:"rgb",rgb:i})}else if(r==="5"){const i=Number.parseInt(e[t+n]);Number.isNaN(i)||(o={type:"table",index:Number(i)})}return[n,o]}function $m(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],o=Number.parseInt(r);if(!Number.isNaN(o))if(o===0)t.push({type:"resetAll"});else if(o<=9)so[o]&&t.push({type:"setDecoration",value:so[o]});else if(o<=29){const i=so[o-20];i&&t.push({type:"resetDecoration",value:i})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:At[o-30]}});else if(o===38){const[i,s]=Ms(e,n);s&&t.push({type:"setForegroundColor",value:s}),n+=i}else if(o===39)t.push({type:"resetForegroundColor"});else if(o<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:At[o-40]}});else if(o===48){const[i,s]=Ms(e,n);s&&t.push({type:"setBackgroundColor",value:s}),n+=i}else o===49?t.push({type:"resetBackgroundColor"}):o>=90&&o<=97?t.push({type:"setForegroundColor",value:{type:"named",name:At[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:At[o-100+8]}})}return t}function Um(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const s=Hm(r,i),l=s.sequence?r.substring(i,s.startPosition):r.substring(i);if(l.length>0&&o.push({value:l,foreground:e,background:t,decorations:new Set(n)}),s.sequence){const a=$m(s.sequence);for(const c of a)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of a)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}i=s.position}while(i<r.length);return o}}}var Gm={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function Wm(e=Gm){function t(l){return e[l]}function n(l){return`#${l.map(a=>Math.max(0,Math.min(a,255)).toString(16).padStart(2,"0")).join("")}`}let r;function o(){if(r)return r;r=[];for(let c=0;c<At.length;c++)r.push(t(At[c]));let l=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let f=0;f<6;f++)r.push(n([l[c],l[u],l[f]]));let a=8;for(let c=0;c<24;c++,a+=10)r.push(n([a,a,a]));return r}function i(l){return o()[l]}function s(l){switch(l.type){case"named":return t(l.name);case"rgb":return n(l.rgb);case"table":return i(l.index)}}return{value:s}}function qm(e,t,n){const r={...e.colorReplacements,...n==null?void 0:n.colorReplacements},o=Fr(t),i=Wm(Object.fromEntries(At.map(l=>{var a;return[l,(a=e.colors)==null?void 0:a[`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`]]}))),s=Um();return o.map(l=>s.parse(l[0]).map(a=>{let c,u;a.decorations.has("reverse")?(c=a.background?i.value(a.background):e.bg,u=a.foreground?i.value(a.foreground):e.fg):(c=a.foreground?i.value(a.foreground):e.fg,u=a.background?i.value(a.background):void 0),c=oc(c,r),a.decorations.has("dim")&&(c=Km(c));let f=Ge.None;return a.decorations.has("bold")&&(f|=Ge.Bold),a.decorations.has("italic")&&(f|=Ge.Italic),a.decorations.has("underline")&&(f|=Ge.Underline),{content:a.value,offset:l[1],color:c,bgColor:u,fontStyle:f}}))}function Km(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function wi(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(Za(r)||tc(o))return Fr(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:i,colorMap:s}=e.setTheme(o);if(r==="ansi")return qm(i,t,n);const l=e.getLanguage(r);return zm(t,l,i,s,n)}function zm(e,t,n,r,o){const i={...n.colorReplacements,...o==null?void 0:o.colorReplacements},{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:l=500}=o,a=Fr(e);let c=Vm,u=[];const f=[];for(let d=0,h=a.length;d<h;d++){const[p,v]=a[d];if(p===""){u=[],f.push([]);continue}if(s>0&&p.length>=s){u=[],f.push([{content:p,offset:v,color:"",fontStyle:0}]);continue}let E,P,S;o.includeExplanation&&(E=t.tokenizeLine(p,c),P=E.tokens,S=0);const b=t.tokenizeLine2(p,c,l),R=b.tokens.length/2;for(let T=0;T<R;T++){const A=b.tokens[2*T],V=T+1<R?b.tokens[2*T+2]:p.length;if(A===V)continue;const K=b.tokens[2*T+1],G=ot.getForeground(K),H=oc(r[G],i),ee=ot.getFontStyle(K),X={content:p.substring(A,V),offset:v+A,color:H,fontStyle:ee};if(o.includeExplanation){X.explanation=[];let re=0;for(;A+re<V;){const he=P[S],ce=p.substring(he.startIndex,he.endIndex);re+=ce.length,X.explanation.push({content:ce,scopes:Jm(n,he.scopes)}),S+=1}}u.push(X)}f.push(u),u=[],c=b.ruleStack}return f}function Jm(e,t){const n=[];for(let r=0,o=t.length;r<o;r++){const i=t.slice(0,r),s=t[r];n[r]={scopeName:s,themeMatches:Xm(e,s,i)}}return n}function Vs(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function Ym(e,t,n,r){if(!Vs(e,n))return!1;let o=t.length-1,i=r.length-1;for(;o>=0&&i>=0;)Vs(t[o],r[i])&&(o-=1),i-=1;return o===-1}function Xm(e,t,n){const r=[];let o=0;for(let i=0,s=e.settings.length;i<s;i++){const l=e.settings[i];let a;if(typeof l.scope=="string")a=l.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(l.scope))a=l.scope;else continue;for(let c=0,u=a.length;c<u;c++){const d=a[c].split(/ /),h=d[d.length-1],p=d.slice(0,d.length-1);Ym(h,p,t,n)&&(r[o++]=l,c=u)}}return r}function lc(e,t,n){const r=Object.entries(n.themes).filter(s=>s[1]).map(s=>({color:s[0],theme:s[1]})),o=Qm(...r.map(s=>wi(e,t,{...n,theme:s.theme})));return o[0].map((s,l)=>s.map((a,c)=>{const u={content:a.content,variants:{},offset:a.offset};return o.forEach((f,d)=>{const{content:h,explanation:p,offset:v,...E}=f[l][c];u.variants[r[d].color]=E}),u}))}function Qm(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const o=e.map(a=>a[r]),i=t.map(()=>[]);t.forEach((a,c)=>a.push(i[c]));const s=o.map(()=>0),l=o.map(a=>a[0]);for(;l.every(a=>a);){const a=Math.min(...l.map(c=>c.content.length));for(let c=0;c<n;c++){const u=l[c];u.content.length===a?(i[c].push(u),s[c]+=1,l[c]=o[c][s[c]]):(i[c].push({...u,content:u.content.slice(0,a)}),l[c]={...u,content:u.content.slice(a),offset:u.offset+a})}}}return t}class Ee extends Error{constructor(t){super(t),this.name="ShikiError"}}function Tr(e,t,n){let r,o,i,s,l;if("themes"in n){const{defaultColor:a="light",cssVariablePrefix:c="--shiki-"}=n,u=Object.entries(n.themes).filter(p=>p[1]).map(p=>({color:p[0],theme:p[1]})).sort((p,v)=>p.color===a?-1:v.color===a?1:0);if(u.length===0)throw new Ee("`themes` option must not be empty");const f=lc(e,t,n);if(a&&!u.find(p=>p.color===a))throw new Ee(`\`themes\` option must contain the defaultColor key \`${a}\``);const d=u.map(p=>e.getTheme(p.theme)),h=u.map(p=>p.color);i=f.map(p=>p.map(v=>Zm(v,h,c,a))),o=u.map((p,v)=>(v===0&&a?"":`${c+p.color}:`)+(d[v].fg||"inherit")).join(";"),r=u.map((p,v)=>(v===0&&a?"":`${c+p.color}-bg:`)+(d[v].bg||"inherit")).join(";"),s=`shiki-themes ${d.map(p=>p.name).join(" ")}`,l=a?void 0:[o,r].join(";")}else if("theme"in n){i=wi(e,t,n);const a=e.getTheme(n.theme);r=a.bg,o=a.fg,s=a.name}else throw new Ee("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:o,bg:r,themeName:s,rootStyle:l}}function Zm(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(a=>ic(e.variants[a])),s=new Set(i.flatMap(a=>Object.keys(a))),l=i.reduce((a,c,u)=>{for(const f of s){const d=c[f]||"inherit";if(u===0&&r)a[f]=d;else{const h=f==="color"?"":f==="background-color"?"-bg":`-${f}`,p=n+t[u]+(f==="color"?"":h);a[f]?a[f]+=`;${p}:${d}`:a[f]=`${p}:${d}`}}return a},{});return o.htmlStyle=r?sc(l):Object.values(l).join(";"),o}function e_(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let i=function(l){return typeof l=="number"?{...o.indexToPos(l),offset:l}:{...l,offset:o.posToIndex(l.line,l.character)}};const o=Fm(r.source),s=(r.options.decorations||[]).map(l=>({...l,start:i(l.start),end:i(l.end)}));n(s),e.set(r.meta,{decorations:s,converter:o,source:r.source})}return e.get(r.meta)}function n(r){for(let o=0;o<r.length;o++){const i=r[o];if(i.start.offset>i.end.offset)throw new Ee(`Invalid decoration range: ${JSON.stringify(i.start)} - ${JSON.stringify(i.end)}`);for(let s=o+1;s<r.length;s++){const l=r[s],a=i.start.offset<l.start.offset&&l.start.offset<i.end.offset,c=i.start.offset<l.end.offset&&l.end.offset<i.end.offset,u=l.start.offset<i.start.offset&&i.start.offset<l.end.offset,f=l.start.offset<i.end.offset&&i.end.offset<l.end.offset;if(a||c||u||f){if(c&&c||u&&f)continue;throw new Ee(`Decorations ${JSON.stringify(i.start)} and ${JSON.stringify(l.start)} intersect.`)}}}}return{name:"shiki:decorations",tokens(r){var l;if(!((l=this.options.decorations)!=null&&l.length))return;const i=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return jm(r,i)},code(r){var f;if(!((f=this.options.decorations)!=null&&f.length))return;const o=t(this),i=Array.from(r.children).filter(d=>d.type==="element"&&d.tagName==="span");if(i.length!==o.converter.lines.length)throw new Ee(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${o.converter.lines.length}). Failed to apply decorations.`);function s(d,h,p,v){const E=i[d];let P="",S=-1,b=-1;function R(A){return A.type==="text"?A.value:A.type==="element"?A.children.map(R).join(""):""}if(h===0&&(S=0),p===0&&(b=0),p===Number.POSITIVE_INFINITY&&(b=E.children.length),S===-1||b===-1)for(let A=0;A<E.children.length;A++)P+=R(E.children[A]),S===-1&&P.length===h&&(S=A+1),b===-1&&P.length===p&&(b=A+1);if(S===-1)throw new Ee(`Failed to find start index for decoration ${JSON.stringify(v.start)}`);if(b===-1)throw new Ee(`Failed to find end index for decoration ${JSON.stringify(v.end)}`);const T=E.children.slice(S,b);if(!v.alwaysWrap&&T.length===E.children.length)a(E,v,"line");else if(!v.alwaysWrap&&T.length===1&&T[0].type==="element")a(T[0],v,"token");else{const A={type:"element",tagName:"span",properties:{},children:T};a(A,v,"wrapper"),E.children.splice(S,T.length,A)}}function l(d,h){i[d]=a(i[d],h,"line")}function a(d,h,p){var P;const v=h.properties||{},E=h.transform||(S=>S);return d.tagName=h.tagName||"span",d.properties={...d.properties,...v,class:d.properties.class},(P=h.properties)!=null&&P.class&&rc(d,h.properties.class),d=E(d,p)||d,d}const c=[],u=o.decorations.sort((d,h)=>h.start.offset-d.start.offset);for(const d of u){const{start:h,end:p}=d;if(h.line===p.line)s(h.line,h.character,p.character,d);else if(h.line<p.line){s(h.line,h.character,Number.POSITIVE_INFINITY,d);for(let v=h.line+1;v<p.line;v++)c.unshift(()=>l(v,d));s(p.line,0,p.character,d)}}c.forEach(d=>d())}}}const t_=[e_()];function Pr(e){return[...e.transformers||[],...t_]}function Ar(e,t,n,r={meta:{},options:n,codeToHast:(o,i)=>Ar(e,o,i),codeToTokens:(o,i)=>Tr(e,o,i)}){var d,h;let o=t;for(const p of Pr(n))o=((d=p.preprocess)==null?void 0:d.call(r,o,n))||o;let{tokens:i,fg:s,bg:l,themeName:a,rootStyle:c}=Tr(e,o,n);const{mergeWhitespaces:u=!0}=n;u===!0?i=r_(i):u==="never"&&(i=o_(i));const f={...r,get source(){return o}};for(const p of Pr(n))i=((h=p.tokens)==null?void 0:h.call(f,i))||i;return n_(i,{...n,fg:s,bg:l,themeName:a,rootStyle:c},f)}function n_(e,t,n){var f,d,h;const r=Pr(t),o=[],i={type:"root",children:[]};let s={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([p])=>!p.startsWith("_")))},children:[]},l={type:"element",tagName:"code",properties:{},children:o};const a=[],c={...n,addClassToHast:rc,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return i},get pre(){return s},get code(){return l},get lines(){return a}};e.forEach((p,v)=>{var S,b;v&&o.push({type:"text",value:`
26
- `});let E={type:"element",tagName:"span",properties:{class:"line"},children:[]},P=0;for(const R of p){let T={type:"element",tagName:"span",properties:{},children:[{type:"text",value:R.content}]};const A=R.htmlStyle||sc(ic(R));A&&(T.properties.style=A);for(const V of r)T=((S=V==null?void 0:V.span)==null?void 0:S.call(c,T,v+1,P,E))||T;E.children.push(T),P+=R.content.length}for(const R of r)E=((b=R==null?void 0:R.line)==null?void 0:b.call(c,E,v+1))||E;a.push(E),o.push(E)});for(const p of r)l=((f=p==null?void 0:p.code)==null?void 0:f.call(c,l))||l;s.children.push(l);for(const p of r)s=((d=p==null?void 0:p.pre)==null?void 0:d.call(c,s))||s;i.children.push(s);let u=i;for(const p of r)u=((h=p==null?void 0:p.root)==null?void 0:h.call(c,u))||u;return u}function r_(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((i,s)=>{const a=!(i.fontStyle&&i.fontStyle&Ge.Underline);a&&i.content.match(/^\s+$/)&&t[s+1]?(o||(o=i.offset),r+=i.content):r?(a?n.push({...i,offset:o,content:r+i.content}):n.push({content:r,offset:o},i),o=0,r=""):n.push(i)}),n})}function o_(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,o,i,s]=r;if(!o&&!s)return n;const l=[{...n,offset:n.offset+o.length,content:i}];return o&&l.unshift({content:o,offset:n.offset}),s&&l.push({content:s,offset:n.offset+o.length+i.length}),l}))}const i_=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Nn{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Nn.prototype.property={};Nn.prototype.normal={};Nn.prototype.space=null;function ac(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new Nn(n,r,t)}function Fo(e){return e.toLowerCase()}class He{constructor(t,n){this.property=t,this.attribute=n}}He.prototype.space=null;He.prototype.boolean=!1;He.prototype.booleanish=!1;He.prototype.overloadedBoolean=!1;He.prototype.number=!1;He.prototype.commaSeparated=!1;He.prototype.spaceSeparated=!1;He.prototype.commaOrSpaceSeparated=!1;He.prototype.mustUseProperty=!1;He.prototype.defined=!1;let s_=0;const z=Vt(),pe=Vt(),cc=Vt(),I=Vt(),oe=Vt(),Qt=Vt(),De=Vt();function Vt(){return 2**++s_}var Ho=Object.freeze({__proto__:null,boolean:z,booleanish:pe,commaOrSpaceSeparated:De,commaSeparated:Qt,number:I,overloadedBoolean:cc,spaceSeparated:oe});const lo=Object.keys(Ho);class Ri extends He{constructor(t,n,r,o){let i=-1;if(super(t,n),Bs(this,"space",o),typeof r=="number")for(;++i<lo.length;){const s=lo[i];Bs(this,lo[i],(r&Ho[s])===Ho[s])}}}Ri.prototype.defined=!0;function Bs(e,t,n){n&&(e[t]=n)}const l_={}.hasOwnProperty;function cn(e){const t={},n={};let r;for(r in e.properties)if(l_.call(e.properties,r)){const o=e.properties[r],i=new Ri(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Fo(r)]=r,n[Fo(i.attribute)]=r}return new Nn(t,n,e.space)}const uc=cn({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),fc=cn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function dc(e,t){return t in e?e[t]:t}function pc(e,t){return dc(e,t.toLowerCase())}const hc=cn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:pc,properties:{xmlns:null,xmlnsXLink:null}}),mc=cn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:pe,ariaAutoComplete:null,ariaBusy:pe,ariaChecked:pe,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:oe,ariaCurrent:null,ariaDescribedBy:oe,ariaDetails:null,ariaDisabled:pe,ariaDropEffect:oe,ariaErrorMessage:null,ariaExpanded:pe,ariaFlowTo:oe,ariaGrabbed:pe,ariaHasPopup:null,ariaHidden:pe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:oe,ariaLevel:I,ariaLive:null,ariaModal:pe,ariaMultiLine:pe,ariaMultiSelectable:pe,ariaOrientation:null,ariaOwns:oe,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:pe,ariaReadOnly:pe,ariaRelevant:null,ariaRequired:pe,ariaRoleDescription:oe,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:pe,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null}}),a_=cn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:pc,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Qt,acceptCharset:oe,accessKey:oe,action:null,allow:null,allowFullScreen:z,allowPaymentRequest:z,allowUserMedia:z,alt:null,as:null,async:z,autoCapitalize:null,autoComplete:oe,autoFocus:z,autoPlay:z,blocking:oe,capture:null,charSet:null,checked:z,cite:null,className:oe,cols:I,colSpan:null,content:null,contentEditable:pe,controls:z,controlsList:oe,coords:I|Qt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:z,defer:z,dir:null,dirName:null,disabled:z,download:cc,draggable:pe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:z,formTarget:null,headers:oe,height:I,hidden:z,high:I,href:null,hrefLang:null,htmlFor:oe,httpEquiv:oe,id:null,imageSizes:null,imageSrcSet:null,inert:z,inputMode:null,integrity:null,is:null,isMap:z,itemId:null,itemProp:oe,itemRef:oe,itemScope:z,itemType:oe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:z,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:z,muted:z,name:null,nonce:null,noModule:z,noValidate:z,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:z,optimum:I,pattern:null,ping:oe,placeholder:null,playsInline:z,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:z,referrerPolicy:null,rel:oe,required:z,reversed:z,rows:I,rowSpan:I,sandbox:oe,scope:null,scoped:z,seamless:z,selected:z,shadowRootDelegatesFocus:z,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:pe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:I,step:null,style:null,tabIndex:I,target:null,title:null,translate:null,type:null,typeMustMatch:z,useMap:null,value:pe,width:I,wrap:null,align:null,aLink:null,archive:oe,axis:null,background:null,bgColor:null,border:I,borderColor:null,bottomMargin:I,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:z,declare:z,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:z,noHref:z,noShade:z,noWrap:z,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:pe,standby:null,summary:null,text:null,topMargin:I,valueType:null,version:null,vAlign:null,vLink:null,vSpace:I,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:z,disableRemotePlayback:z,prefix:null,property:null,results:I,security:null,unselectable:null}}),c_=cn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:dc,properties:{about:De,accentHeight:I,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:I,amplitude:I,arabicForm:null,ascent:I,attributeName:null,attributeType:null,azimuth:I,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:I,by:null,calcMode:null,capHeight:I,className:oe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:I,diffuseConstant:I,direction:null,display:null,dur:null,divisor:I,dominantBaseline:null,download:z,dx:null,dy:null,edgeMode:null,editable:null,elevation:I,enableBackground:null,end:null,event:null,exponent:I,externalResourcesRequired:null,fill:null,fillOpacity:I,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Qt,g2:Qt,glyphName:Qt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:I,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:I,horizOriginX:I,horizOriginY:I,id:null,ideographic:I,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:I,k:I,k1:I,k2:I,k3:I,k4:I,kernelMatrix:De,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:I,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:I,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:I,overlineThickness:I,paintOrder:null,panose1:null,path:null,pathLength:I,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:oe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:De,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:De,rev:De,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:De,requiredFeatures:De,requiredFonts:De,requiredFormats:De,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:I,specularExponent:I,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:I,strikethroughThickness:I,string:null,stroke:null,strokeDashArray:De,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:I,strokeOpacity:I,strokeWidth:null,style:null,surfaceScale:I,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:De,tabIndex:I,tableValues:null,target:null,targetX:I,targetY:I,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:De,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:I,underlineThickness:I,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:I,values:null,vAlphabetic:I,vMathematical:I,vectorEffect:null,vHanging:I,vIdeographic:I,version:null,vertAdvY:I,vertOriginX:I,vertOriginY:I,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:I,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),u_=/^data[-\w.:]+$/i,js=/-[a-z]/g,f_=/[A-Z]/g;function d_(e,t){const n=Fo(t);let r=t,o=He;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&u_.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(js,h_);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!js.test(i)){let s=i.replace(f_,p_);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}o=Ri}return new o(r,t)}function p_(e){return"-"+e.toLowerCase()}function h_(e){return e.charAt(1).toUpperCase()}const m_=ac([fc,uc,hc,mc,a_],"html"),_c=ac([fc,uc,hc,mc,c_],"svg"),Fs={}.hasOwnProperty;function __(e,t){const n=t||{};function r(o,...i){let s=r.invalid;const l=r.handlers;if(o&&Fs.call(o,e)){const a=String(o[e]);s=Fs.call(l,a)?l[a]:r.unknown}if(s)return s.call(this,o,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function g_(e,t){if(e=e.replace(t.subset?y_(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(o,i,s){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,s.charCodeAt(i+2),t)}function r(o,i,s){return t.format(o.charCodeAt(0),s.charCodeAt(i+1),t)}}function y_(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function b_(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function v_(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const E_=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],ao={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},w_=["cent","copy","divide","gt","lt","not","para","times"],gc={}.hasOwnProperty,$o={};let zn;for(zn in ao)gc.call(ao,zn)&&($o[ao[zn]]=zn);function R_(e,t,n,r){const o=String.fromCharCode(e);if(gc.call($o,o)){const i=$o[o],s="&"+i;return n&&E_.includes(i)&&!w_.includes(i)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?s:s+";"}return""}function T_(e,t,n){let r=b_(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=R_(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const i=v_(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function Zt(e,t){return g_(e,Object.assign({format:T_},t))}function P_(e,t,n,r){return r.settings.bogusComments?"<?"+Zt(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"<!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,o)+"-->";function o(i){return Zt(i,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function A_(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Hs(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;o!==-1;)r++,o=n.indexOf(t,o+t.length);return r}function C_(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function S_(e){return e.join(" ").trim()}const L_=/[ \t\n\f\r]/g;function Ti(e){return typeof e=="object"?e.type==="text"?$s(e.value):!1:$s(e)}function $s(e){return e.replace(L_,"")===""}const _e=bc(1),yc=bc(-1),O_=[];function bc(e){return t;function t(n,r,o){const i=n?n.children:O_;let s=(r||0)+e,l=i[s];if(!o)for(;l&&Ti(l);)s+=e,l=i[s];return l}}const I_={}.hasOwnProperty;function vc(e){return t;function t(n,r,o){return I_.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const Pi=vc({body:k_,caption:co,colgroup:co,dd:V_,dt:M_,head:co,html:x_,li:D_,optgroup:B_,option:j_,p:N_,rp:Us,rt:Us,tbody:H_,td:Gs,tfoot:$_,th:Gs,thead:F_,tr:U_});function co(e,t,n){const r=_e(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Ti(r.value.charAt(0)))}function x_(e,t,n){const r=_e(n,t);return!r||r.type!=="comment"}function k_(e,t,n){const r=_e(n,t);return!r||r.type!=="comment"}function N_(e,t,n){const r=_e(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function D_(e,t,n){const r=_e(n,t);return!r||r.type==="element"&&r.tagName==="li"}function M_(e,t,n){const r=_e(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function V_(e,t,n){const r=_e(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Us(e,t,n){const r=_e(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function B_(e,t,n){const r=_e(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function j_(e,t,n){const r=_e(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function F_(e,t,n){const r=_e(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function H_(e,t,n){const r=_e(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function $_(e,t,n){return!_e(n,t)}function U_(e,t,n){const r=_e(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Gs(e,t,n){const r=_e(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const G_=vc({body:K_,colgroup:z_,head:q_,html:W_,tbody:J_});function W_(e){const t=_e(e,-1);return!t||t.type!=="comment"}function q_(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const o=t[r];if(o.type==="element"&&(o.tagName==="title"||o.tagName==="base")){if(n.includes(o.tagName))return!1;n.push(o.tagName)}}return t.length>0}function K_(e){const t=_e(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Ti(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function z_(e,t,n){const r=yc(n,t),o=_e(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Pi(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function J_(e,t,n){const r=yc(n,t),o=_e(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Pi(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const Jn={name:[[`
23
+ **/const Cf="http://www.w3.org/2000/svg",Sf="http://www.w3.org/1998/Math/MathML",ht=typeof document<"u"?document:null,os=ht&&ht.createElement("template"),Lf={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?ht.createElementNS(Cf,e):t==="mathml"?ht.createElementNS(Sf,e):ht.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>ht.createTextNode(e),createComment:e=>ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{os.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const l=os.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Of=Symbol("_vtc");function If(e,t,n){const r=e[Of];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const is=Symbol("_vod"),xf=Symbol("_vsh"),kf=Symbol(""),Nf=/(^|;)\s*display\s*:/;function Df(e,t,n){const r=e.style,o=ce(n);let i=!1;if(n&&!o){if(t)if(ce(t))for(const s of t.split(";")){const l=s.slice(0,s.indexOf(":")).trim();n[l]==null&&tr(r,l,"")}else for(const s in t)n[s]==null&&tr(r,s,"");for(const s in n)s==="display"&&(i=!0),tr(r,s,n[s])}else if(o){if(t!==n){const s=r[kf];s&&(n+=";"+s),r.cssText=n,i=Nf.test(n)}}else t&&e.removeAttribute("style");is in e&&(e[is]=i?r.display:"",e[xf]&&(r.display="none"))}const ss=/\s*!important$/;function tr(e,t,n){if(W(n))n.forEach(r=>tr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Mf(e,t);ss.test(n)?e.setProperty(ln(r),n.replace(ss,""),"important"):e[r]=n}}const ls=["Webkit","Moz","ms"],Zr={};function Mf(e,t){const n=Zr[t];if(n)return n;let r=Ze(t);if(r!=="filter"&&r in e)return Zr[t]=r;r=Ir(r);for(let o=0;o<ls.length;o++){const i=ls[o]+r;if(i in e)return Zr[t]=i}return t}const as="http://www.w3.org/1999/xlink";function Vf(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(as,t.slice(6,t.length)):e.setAttributeNS(as,t,n);else{const i=$c(t);n==null||i&&!tl(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Bf(e,t,n,r,o,i,s){if(t==="innerHTML"||t==="textContent"){r&&s(r,o,i),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const c=l==="OPTION"?e.getAttribute("value")||"":e.value,u=n??"";(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=tl(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function jf(e,t,n,r){e.addEventListener(t,n,r)}function Ff(e,t,n,r){e.removeEventListener(t,n,r)}const cs=Symbol("_vei");function Hf(e,t,n,r,o=null){const i=e[cs]||(e[cs]={}),s=i[t];if(r&&s)s.value=r;else{const[l,a]=$f(t);if(r){const c=i[t]=Wf(r,o);jf(e,l,c,a)}else s&&(Ff(e,l,s,a),i[t]=void 0)}}const us=/(?:Once|Passive|Capture)$/;function $f(e){let t;if(us.test(e)){t={};let r;for(;r=e.match(us);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ln(e.slice(2)),t]}let eo=0;const Uf=Promise.resolve(),Gf=()=>eo||(Uf.then(()=>eo=0),eo=Date.now());function Wf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;qe(qf(r,n.value),t,5,[r])};return n.value=e,n.attached=Gf(),n}function qf(e,t){if(W(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const fs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Kf=(e,t,n,r,o,i,s,l,a)=>{const c=o==="svg";t==="class"?If(e,r,c):t==="style"?Df(e,n,r):In(t)?Wo(t)||Hf(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):zf(e,t,r,c))?Bf(e,t,r,i,s,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Vf(e,t,r,c))};function zf(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&fs(t)&&U(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return fs(t)&&ce(n)?!1:t in e}const la=Re({patchProp:Kf},Lf);let yn,ds=!1;function Jf(){return yn||(yn=pf(la))}function Yf(){return yn=ds?yn:hf(la),ds=!0,yn}const Xf=(...e)=>{const t=Jf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ca(r);if(!o)return;const i=t._component;!U(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,aa(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},Qf=(...e)=>{const t=Yf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ca(r);if(o)return n(o,!0,aa(o))},t};function aa(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ca(e){return ce(e)?document.querySelector(e):e}const Zf=/#/g,ed=/&/g,td=/\//g,nd=/=/g,pi=/\+/g,rd=/%5e/gi,od=/%60/gi,id=/%7c/gi,sd=/%20/gi;function ld(e){return encodeURI(""+e).replace(id,"|")}function Ao(e){return ld(typeof e=="string"?e:JSON.stringify(e)).replace(pi,"%2B").replace(sd,"+").replace(Zf,"%23").replace(ed,"%26").replace(od,"`").replace(rd,"^").replace(td,"%2F")}function to(e){return Ao(e).replace(nd,"%3D")}function mr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function ad(e){return mr(e.replace(pi," "))}function cd(e){return mr(e.replace(pi," "))}function hi(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=ad(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=cd(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function ud(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${to(e)}=${Ao(n)}`).join("&"):`${to(e)}=${Ao(t)}`:to(e)}function ua(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>ud(t,e[t])).filter(Boolean).join("&")}const fd=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,dd=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,pd=/^([/\\]\s*){2,}[^/\\]/,hd=/^[\s\0]*(blob|data|javascript|vbscript):$/i,md=/\/$|\/\?|\/#/,_d=/^\.?\//;function gd(e){return["./","../"].some(t=>e.startsWith(t))}function vt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?fd.test(e):dd.test(e)||(t.acceptRelative?pd.test(e):!1)}function yd(e){return!!e&&hd.test(e)}function Co(e="",t){return t?md.test(e):e.endsWith("/")}function jr(e="",t){if(!t)return(Co(e)?e.slice(0,-1):e)||"/";if(!Co(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[i,...s]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function _r(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Co(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[i,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function bd(e=""){return e.startsWith("/")}function ps(e=""){return bd(e)?e:"/"+e}function vd(e,t){if(da(t)||vt(e))return e;const n=jr(t);return e.startsWith(n)?e:kn(n,e)}function Ed(e,t){if(da(t))return e;const n=jr(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function fa(e,t){const n=cn(e),r={...hi(n.search),...t};return n.search=ua(r),ma(n)}function da(e){return!e||e==="/"}function wd(e){return e&&e!=="/"}function kn(e,...t){let n=e||"";for(const r of t.filter(o=>wd(o)))if(n){const o=r.replace(_d,"");n=_r(n)+o}else n=r;return n}function pa(...e){var s,l,a,c;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&vt(r[0]))continue;r.pop(),o--;continue}if(f===1&&((s=r[r.length-1])!=null&&s.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),o++}}let i=r.join("/");return o>=0?(l=n[0])!=null&&l.startsWith("/")&&!i.startsWith("/")?i="/"+i:(a=n[0])!=null&&a.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*o)+i,(c=n[n.length-1])!=null&&c.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function Rd(e,t,n={}){return n.trailingSlash||(e=_r(e),t=_r(t)),n.leadingSlash||(e=ps(e),t=ps(t)),n.encoding||(e=mr(e),t=mr(t)),e===t}const ha=Symbol.for("ufo:protocolRelative");function cn(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!vt(e,{acceptRelative:!0}))return t?cn(t+e):hs(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",l=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:a,search:c,hash:u}=hs(l.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:a,search:c,hash:u,[ha]:!r}}function hs(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function ma(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[ha]?(e.protocol||"")+"//":"")+o+i+t+n+r}const Td=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},gr=Td().app,Pd=()=>gr.baseURL,Ad=()=>gr.buildAssetsDir,mi=(...e)=>pa(_a(),Ad(),...e),_a=(...e)=>{const t=gr.cdnURL||gr.baseURL;return e.length?pa(t,...e):t};globalThis.__buildAssetsURL=mi,globalThis.__publicAssetsURL=_a;const Cd=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Sd=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Ld=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Od(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Id(e);return}return t}function Id(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function yr(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!Ld.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Cd.test(e)||Sd.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Od)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}class xd extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function kd(e){var a,c,u,f,d;const t=((a=e.error)==null?void 0:a.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${o}: ${i}${t?` ${t}`:""}`,l=new xd(s,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(l,p,{get(){return e[p]}});for(const[p,h]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,p,{get(){return e.response&&e.response[h]}});return l}const Nd=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ms(e="GET"){return Nd.has(e.toUpperCase())}function Dd(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Md=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Vd=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Bd(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Vd.test(t)?"json":Md.has(t)||t.startsWith("text/")?"text":"blob"}function jd(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[o,i]of new n((e==null?void 0:e.headers)||{}))r.headers.set(o,i)}return r}const Fd=new Set([408,409,425,429,500,502,503,504]),Hd=new Set([101,204,205,304]);function ga(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(l){const a=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!a){let u;typeof l.options.retry=="number"?u=l.options.retry:u=ms(l.options.method)?0:1;const f=l.response&&l.response.status||500;if(u>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(f):Fd.has(f))){const d=l.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),i(l.request,{...l.options,retry:u-1})}}const c=kd(l);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(a,c={}){var p;const u={request:a,options:jd(c,e.defaults,n),response:void 0,error:void 0};u.options.method=(p=u.options.method)==null?void 0:p.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=vd(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=fa(u.request,{...u.options.params,...u.options.query}))),u.options.body&&ms(u.options.method)&&(Dd(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let f;if(!u.options.signal&&u.options.timeout){const h=new r;f=setTimeout(()=>h.abort(),u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!Hd.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||Bd(u.response.headers.get("content-type")||"");switch(h){case"json":{const b=await u.response.text(),E=u.options.parseResponse||yr;u.response._data=E(b);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},s=async function(a,c){return(await i(a,c))._data};return s.raw=i,s.native=(...l)=>t(...l),s.create=(l={})=>ga({...e,defaults:{...e.defaults,...l}}),s}const _i=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),$d=_i.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Ud=_i.Headers,Gd=_i.AbortController,Wd=ga({fetch:$d,Headers:Ud,AbortController:Gd}),qd=Wd;globalThis.$fetch||(globalThis.$fetch=qd.create({baseURL:Pd()}));function So(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?So(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const Kd={run:e=>e()},zd=()=>Kd,ya=typeof console.createTask<"u"?console.createTask:zd;function Jd(e,t){const n=t.shift(),r=ya(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function Yd(e,t){const n=t.shift(),r=ya(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function no(e,t){for(const n of[...e])n(t)}class Xd{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=So(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=So(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Jd,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Yd,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&no(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&no(this._after,o)}):(this._after&&o&&no(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function ba(){return new Xd}function Qd(e={}){let t,n=!1;const r=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o&&t===void 0){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,l)=>{l||r(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,l)=>{r(s),t=s;try{return o?o.run(s,l):l()}finally{n||(t=void 0)}},async callAsync(s,l){t=s;const a=()=>{t=s},c=()=>t===s?a:void 0;Lo.add(c);try{const u=o?o.run(s,l):l();return n||(t=void 0),await u}finally{Lo.delete(c)}}}}function Zd(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Qd({...e,...r})),t[n],t[n]}}}const br=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},_s="__unctx__",ep=br[_s]||(br[_s]=Zd()),tp=(e,t={})=>ep.get(e,t),gs="__unctx_async_handlers__",Lo=br[gs]||(br[gs]=new Set);function va(e){const t=[];for(const o of Lo){const i=o();i&&t.push(i)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const Ea=tp("nuxt-app",{asyncContext:!1}),np="__nuxt_plugin";function rp(e){let t=0;const n={_scope:Uc(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.1"},get vue(){return n.vueApp.version}},payload:Ke({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>sp(n,o)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=ba(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;qn(n,s,i),qn(n.vueApp.config.globalProperties,s,i)},qn(n.vueApp,"$nuxt",n),qn(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||fe;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=Ke(n.payload.config);return n.provide("config",r),n}async function op(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function ip(e,t){const n=[],r=[],o=[],i=[];let s=0;async function l(a){var u;const c=((u=a.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),a]);else{const f=op(e,a).then(async()=>{a._name&&(n.push(a._name),await Promise.all(r.map(async([d,p])=>{d.has(a._name)&&(d.delete(a._name),d.size===0&&(s++,await l(p)))})))});a.parallel?o.push(f.catch(d=>i.push(d))):await f}}for(const a of t)await l(a);if(await Promise.all(o),s)for(let a=0;a<s;a++)await Promise.all(o);if(i.length)throw i[0]}function lt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[np]:!0,_name:t})}function sp(e,t,n){const r=()=>n?t(...n):t();return Ea.set(e),e.vueApp.runWithContext(r)}function lp(){var t;let e;return $l()&&(e=(t=ra())==null?void 0:t.appContext.app.$nuxt),e=e||Ea.tryUse(),e||null}function fe(){const e=lp();if(!e)throw new Error("[nuxt] instance unavailable");return e}function An(e){return fe().$config}function qn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function ap(e,t){return{ctx:{table:e},matchAll:n=>Ra(n,e,t)}}function wa(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,wa(o)])):new Map(Object.entries(e[n]));return t}function cp(e){return ap(wa(e))}function Ra(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of ys(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of ys(t.dynamic))if(e.startsWith(i+"/")){const l="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...Ra(l,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function ys(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function ro(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Oo(e,t,n=".",r){if(!ro(t))return Oo(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:ro(s)&&ro(o[i])?o[i]=Oo(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function Ta(e){return(...t)=>t.reduce((n,r)=>Oo(n,r,"",e),{})}const up=Ta(),fp=Ta((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function dp(e,t){try{return t in e}catch{return!1}}var pp=Object.defineProperty,hp=(e,t,n)=>t in e?pp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tt=(e,t,n)=>(hp(e,typeof t!="symbol"?t+"":t,n),n);class Io extends Error{constructor(t,n={}){super(t,n),Tt(this,"statusCode",500),Tt(this,"fatal",!1),Tt(this,"unhandled",!1),Tt(this,"statusMessage"),Tt(this,"data"),Tt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:xo(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Pa(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Tt(Io,"__h3_error__",!0);function mp(e){if(typeof e=="string")return new Io(e);if(_p(e))return e;const t=new Io(e.message??e.statusMessage??"",{cause:e.cause||e});if(dp(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=xo(e.statusCode,t.statusCode):e.status&&(t.statusCode=xo(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Pa(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function _p(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const gp=/[^\u0009\u0020-\u007E]/g;function Pa(e=""){return e.replace(gp,"")}function xo(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Aa=Symbol("route"),Et=()=>{var e;return(e=fe())==null?void 0:e.$router},Ca=()=>$l()?Qt(Aa,fe()._route):fe()._route;const yp=()=>{try{if(fe()._processingMiddleware)return!0}catch{return!0}return!1},Sa=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:fa(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:l="_blank",windowFeatures:a={}}=t.open,c=Object.entries(a).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");open(n,l,c)}return Promise.resolve()}const r=(t==null?void 0:t.external)||vt(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const l=cn(n).protocol;if(l&&yd(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=yp();if(!r&&o)return e;const i=Et(),s=fe();return r?(s._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?s.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)},La="__nuxt_error",gi=()=>Rl(fe().payload,"error"),bp=e=>{const t=yi(e);try{const n=fe(),r=gi();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},vp=async(e={})=>{const t=fe(),n=gi();t.callHook("app:error:cleared",e),e.redirect&&await Et().replace(e.redirect),n.value=null},Ep=e=>!!e&&typeof e=="object"&&La in e,yi=e=>{const t=mp(e);return Object.defineProperty(t,La,{value:!0,configurable:!1,writable:!1}),t},wp="modulepreload",Rp=function(e,t){return e[0]==="."?new URL(e,t).href:e},bs={},Tp=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.all(n.map(a=>{if(a=Rp(a,r),a in bs)return;bs[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let p=i.length-1;p>=0;p--){const h=i[p];if(h.href===a&&(!c||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":wp,c||(d.as="script",d.crossOrigin=""),d.href=a,l&&d.setAttribute("nonce",l),document.head.appendChild(d),c)return new Promise((p,h)=>{d.addEventListener("load",p),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})}))}return o.then(()=>t()).catch(i=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i})},m=(...e)=>Tp(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Pp=-1,Ap=-2,Cp=-3,Sp=-4,Lp=-5,Op=-6;function Ip(e,t){return xp(JSON.parse(e),t)}function xp(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(i,s=!1){if(i===Pp)return;if(i===Cp)return NaN;if(i===Sp)return 1/0;if(i===Lp)return-1/0;if(i===Op)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const l=n[i];if(!l||typeof l!="object")r[i]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const a=l[0],c=t==null?void 0:t[a];if(c)return r[i]=c(o(l[1]));switch(a){case"Date":r[i]=new Date(l[1]);break;case"Set":const u=new Set;r[i]=u;for(let p=1;p<l.length;p+=1)u.add(o(l[p]));break;case"Map":const f=new Map;r[i]=f;for(let p=1;p<l.length;p+=2)f.set(o(l[p]),o(l[p+1]));break;case"RegExp":r[i]=new RegExp(l[1],l[2]);break;case"Object":r[i]=Object(l[1]);break;case"BigInt":r[i]=BigInt(l[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let p=1;p<l.length;p+=2)d[l[p]]=o(l[p+1]);break;default:throw new Error(`Unknown type ${a}`)}}else{const a=new Array(l.length);r[i]=a;for(let c=0;c<l.length;c+=1){const u=l[c];u!==Ap&&(a[c]=o(u))}}else{const a={};r[i]=a;for(const c in l){const u=l[c];a[c]=o(u)}}return r[i]}return o(0)}function kp(e){return Array.isArray(e)?e:[e]}const Np=["title","titleTemplate","script","style","noscript"],nr=["base","meta","link","style","script","noscript"],Dp=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Mp=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Oa=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],Vp=typeof window<"u";function bi(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function vs(e){return e._h||bi(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Ia(e,t){const{props:n,tag:r}=e;if(Mp.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const i of o)if(typeof n[i]<"u"){const s=String(n[i]);return t&&!t(s)?!1:`${r}:${i}:${s}`}return!1}function Es(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Bp(e,t,n){const r={tag:e,props:await xa(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return Oa.forEach(o=>{const i=typeof r.props[o]<"u"?r.props[o]:n[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||Np.includes(r.tag))&&(r[o==="children"?"innerHTML":o]=i),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function jp(e,t){const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,o])=>e==="style"?`${r}:${o}`:r)),(Array.isArray(t)?t.join(n):t).split(n).filter(r=>r.trim()).filter(Boolean).join(n)}async function xa(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=jp(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!Oa.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}const Fp=10;async function Hp(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&Dp.includes(n)).forEach(([n,r])=>{const o=kp(r);t.push(...o.map(i=>Bp(n,i,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<Fp)+r,n))}const ws={base:-10,title:10},Rs={critical:-80,high:-10,low:20};function vr(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in ws&&(t=ws[e.tag]),typeof n=="string"&&n in Rs?t+Rs[n]:t)}const $p=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Ts=["onload","onerror","onabort","onprogress","onloadstart"],ft="%separator";function rr(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(s){let l;return["s","pageTitle"].includes(s)?l=t.pageTitle:s.includes(".")?l=s.split(".").reduce((a,c)=>a&&a[c]||void 0,t):l=t[s],typeof l<"u"?(l||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(s=>{const l=r(s.slice(1));typeof l=="string"&&(e=e.replace(new RegExp(`\\${s}(\\W|$)`,"g"),(a,c)=>`${l}${c}`).trim())}),e.includes(ft)&&(e.endsWith(ft)&&(e=e.slice(0,-ft.length).trim()),e.startsWith(ft)&&(e=e.slice(ft.length).trim()),e=e.replace(new RegExp(`\\${ft}\\s*\\${ft}`,"g"),ft),e=rr(e,{separator:n},n)),e}async function ka(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:nr.includes(f.tag)?vs(f):f.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n[f])==null?void 0:u.children,p=[];for(const h of[...d].filter(b=>nr.includes(b.tagName.toLowerCase()))){const b={tag:h.tagName.toLowerCase(),props:await xa(h.getAttributeNames().reduce((S,v)=>({...S,[v]:h.getAttribute(v)}),{})),innerHTML:h.innerHTML};let E=1,P=Ia(b);for(;P&&p.find(S=>S._d===P);)P=`${P}:${E++}`;b._d=P||void 0,p.push(b),i.elMap[h.getAttribute("data-hid")||vs(b)]=h}}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function s(f,d,p){const h=`${f}:${d}`;i.sideEffects[h]=p,delete i.pendingSideEffects[h]}function l({id:f,$el:d,tag:p}){const h=p.tag.endsWith("Attrs");i.elMap[f]=d,h||(["textContent","innerHTML"].forEach(b=>{p[b]&&p[b]!==d[b]&&(d[b]=p[b])}),s(f,"el",()=>{var b;(b=i.elMap[f])==null||b.remove(),delete i.elMap[f]}));for(const[b,E]of Object.entries(p._eventHandlers||{}))d.getAttribute(`data-${b}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:d).addEventListener(b.replace("on",""),E.bind(d)),d.setAttribute(`data-${b}`,""));Object.entries(p.props).forEach(([b,E])=>{const P=`attr:${b}`;if(b==="class")for(const S of(E||"").split(" ").filter(Boolean))h&&s(f,`${P}:${S}`,()=>d.classList.remove(S)),!d.classList.contains(S)&&d.classList.add(S);else if(b==="style")for(const S of(E||"").split(";").filter(Boolean)){const[v,...R]=S.split(":").map(T=>T.trim());s(f,`${P}:${S}:${v}`,()=>{d.style.removeProperty(v)}),d.style.setProperty(v,R.join(":"))}else d.getAttribute(b)!==E&&d.setAttribute(b,E===!0?"":String(E)),h&&s(f,P,()=>d.removeAttribute(b))})}const a=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:p,id:h}=f;if(p){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||i.elMap[h],f.$el?l(f):nr.includes(d.tag)&&a.push(f)}}for(const f of a){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),c[d]=c[d]||n.createDocumentFragment(),c[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,s);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(i.pendingSideEffects).forEach(f=>f()),e._dom=i,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function Up(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await ka(e,t),delete e._domUpdatePromise,r()}))}function Gp(e){return t=>{var r,o;const n=((o=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(i){Up(i,e)}}}}}const Wp=["templateParams","htmlAttrs","bodyAttrs"],qp={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=Ia(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,i=t[o];if(i){let l=r==null?void 0:r.tagDuplicateStrategy;if(!l&&Wp.includes(r.tag)&&(l="merge"),l==="merge"){const a=i.props;["class","style"].forEach(c=>{a[c]&&(r.props[c]?(c==="style"&&!a[c].endsWith(";")&&(a[c]+=";"),r.props[c]=`${a[c]} ${r.props[c]}`):r.props[c]=a[c])}),t[o].props={...a,...r.props};return}else if(r._e===i._e){i._duped=i._duped||[],r._d=`${i._d}:${i._duped.length+1}`,i._duped.push(r);return}else if(vr(r)>vr(i))return}const s=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(nr.includes(r.tag)&&s===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},Kp={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},zp=["script","link","bodyAttrs"],Jp=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>zp.includes(r.tag)))Object.entries(n.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"&&(e.ssr&&Ts.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=o)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||bi(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var r,o;for(const i of Object.keys((t==null?void 0:t.dataset)||{}).filter(s=>Ts.some(l=>`${l}fired`===s))){const s=i.replace("fired","");(o=(r=n._eventHandlers)==null?void 0:r[s])==null||o.call(t,new Event(s.replace("on","")))}}}}),Yp=["link","style","script","noscript"],Xp={hooks:{"tag:normalise":({tag:e})=>{e.key&&Yp.includes(e.tag)&&(e.props["data-hid"]=e._h=bi(e.key))}}},Qp={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of $p)for(const o of e.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(n))){const i=t(o.tagPriority.replace(n,""));typeof i<"u"&&(o._p=i+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>vr(n)-vr(r))}}},Zp={meta:"content",link:"href",htmlAttrs:"lang"},eh=e=>({hooks:{"tags:resolve":t=>{var l;const{tags:n}=t,r=(l=n.find(a=>a.tag==="title"))==null?void 0:l.textContent,o=n.findIndex(a=>a.tag==="templateParams"),i=o!==-1?n[o].props:{},s=i.separator||"|";delete i.separator,i.pageTitle=rr(i.pageTitle||r||"",i,s);for(const a of n.filter(c=>c.processTemplateParams!==!1)){const c=Zp[a.tag];c&&typeof a.props[c]=="string"?a.props[c]=rr(a.props[c],i,s):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(u=>{typeof a[u]=="string"&&(a[u]=rr(a[u],i,s))})}e._templateParams=i,e._separator=s,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),th={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=Es(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=Es(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},nh={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let Na;function rh(e={}){const t=oh(e);return t.use(Gp()),Na=t}function Ps(e,t){return!e||e==="server"&&t||e==="client"&&!t}function oh(e={}){const t=ba();t.addHooks(e.hooks||{}),e.document=e.document||(Vp?document:void 0);const n=!e.document,r=()=>{l.dirty=!0,t.callHook("entries:updated",l)};let o=0,i=[];const s=[],l={plugins:s,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(a){const c=typeof a=="function"?a(l):a;(!c.key||!s.some(u=>u.key===c.key))&&(s.push(c),Ps(c.mode,n)&&t.addHooks(c.hooks||{}))},push(a,c){c==null||delete c.head;const u={_i:o++,input:a,...c};return Ps(u.mode,n)&&(i.push(u),r()),{dispose(){i=i.filter(f=>f._i!==u._i),t.callHook("entries:updated",l),r()},patch(f){i=i.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const a={tags:[],entries:[...i]};await t.callHook("entries:resolve",a);for(const c of a.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await Hp(c)){const d={tag:f,entry:c,resolvedOptions:l.resolvedOptions};await t.callHook("tag:normalise",d),a.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a),a.tags},ssr:n};return[qp,Kp,Jp,Xp,Qp,eh,th,nh,...(e==null?void 0:e.plugins)||[]].forEach(a=>l.use(a)),l.hooks.callHook("init",l),l}function ih(){return Na}const sh=sa.startsWith("3");function lh(e){return typeof e=="function"?e():ie(e)}function ko(e,t=""){if(e instanceof Promise)return e;const n=lh(e);return!e||!n?n:Array.isArray(n)?n.map(r=>ko(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,ie(o)]:[r,ko(o,r)])):n}const ah={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=ko(t.input)}}},Da="usehead";function ch(e){return{install(n){sh&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Da,e))}}.install}function uh(e={}){e.domDelayFn=e.domDelayFn||(n=>ri(()=>setTimeout(()=>n(),0)));const t=rh(e);return t.use(ah),t.install=ch(t),t}const No=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Do="__unhead_injection_handler__";function fh(e){No[Do]=e}function my(){if(Do in No)return No[Do]();const e=Qt(Da);return e||ih()}const dh={nuxt:{buildId:"5fdc85c0-58a5-4956-bedd-f94dc9ec3924"}},ph=fp(dh);function Ma(){const e=fe();return e._appConfig||(e._appConfig=Ke(ph)),e._appConfig}const hh={componentName:"NuxtLink"},mh="#__nuxt";let or,Va;function _h(){var t;const e=(t=Ma().nuxt)==null?void 0:t.buildId;return or=$fetch(mi(`builds/meta/${e}.json`)),or.then(n=>{Va=cp(n.matcher)}),or}function Fr(){return or||_h()}async function vi(e){return await Fr(),up({},...Va.matchAll(e).reverse())}function As(e,t={}){const n=yh(e,t),r=fe(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=bh(e).then(i=>i?Ba(n).then(s=>s||(delete o[n],null)):(o[n]=null,null))),o[n]}const gh="_payload.json";function yh(e,t={}){var o;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||vt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(o=Ma().nuxt)==null?void 0:o.buildId);return kn(An().app.baseURL,n.pathname,gh+(r?`?${r}`:""))}async function Ba(e){const t=fetch(e).then(n=>n.text().then(ja));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function bh(e=Ca().path){if(e=jr(e),(await Fr()).prerendered.includes(e))return!0;const n=await vi(e);return!!n.prerender&&!n.redirect}let Kn=null;async function vh(){if(Kn)return Kn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await ja(e.textContent||""),n=e.dataset.src?await Ba(e.dataset.src):void 0;return Kn={...t,...n,...window.__NUXT__},Kn}async function ja(e){return await Ip(e,fe()._payloadRevivers)}function Eh(e,t){fe()._payloadRevivers[e]=t}const Cs={NuxtError:e=>yi(e),EmptyShallowRef:e=>Fi(e==="_"?void 0:e==="0n"?BigInt(0):yr(e)),EmptyRef:e=>We(e==="_"?void 0:e==="0n"?BigInt(0):yr(e)),ShallowRef:e=>Fi(e),ShallowReactive:e=>ml(e),Ref:e=>We(e),Reactive:e=>Ke(e)},wh=lt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Cs)Eh(r,Cs[r]);Object.assign(e.payload,([t,n]=va(()=>e.runWithContext(vh)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Rh=[],Th=lt({name:"nuxt:head",enforce:"pre",setup(e){const t=uh({plugins:Rh});fh(()=>fe().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await ka(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}}),Ph=async e=>{let t,n;const r=([t,n]=va(()=>vi(e.path)),t=await t,n(),t);if(r.redirect)return vt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Ah=[Ph];function oo(e){typeof e=="object"&&(e=ma({pathname:e.path||"",search:ua(e.query||{}),hash:e.hash||""}));const t=cn(e.toString());return{path:t.pathname,fullPath:e,query:hi(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const Ch=lt({name:"nuxt:router",enforce:"pre",setup(e){const t=Ed(window.location.pathname,An().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(f,d)=>(r[f].push(d),()=>r[f].splice(r[f].indexOf(d),1)),i=An().app.baseURL,s=Ke(oo(t));async function l(f,d){try{const p=oo(f);for(const h of r["navigate:before"]){const b=await h(p,s);if(b===!1||b instanceof Error)return;if(typeof b=="string"&&b.length)return l(b,!0)}for(const h of r["resolve:before"])await h(p,s);Object.assign(s,p),window.history[d?"replaceState":"pushState"]({},"",kn(i,p.fullPath)),e.isHydrating||await e.runWithContext(vp);for(const h of r["navigate:after"])await h(p,s)}catch(p){for(const h of r.error)await h(p)}}const c={currentRoute:_t(()=>s),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>l(f,!1),replace:f=>l(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>o("resolve:before",f),beforeEach:f=>o("navigate:before",f),afterEach:f=>o("navigate:after",f),onError:f=>o("error",f),resolve:oo,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(p=>p.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",Vt({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const p=()=>l(f.to,f.replace);return()=>{var b;const h=c.resolve(f.to);return f.custom?(b=d.default)==null?void 0:b.call(d,{href:f.to,navigate:p,route:h}):Po("a",{href:f.to,onClick:E=>(E.preventDefault(),p())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),e._route=s,e._middleware=e._middleware||{global:[],named:{}};const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=Ke(f.meta||{}),e.isHydrating&&u&&!It(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const p=new Set([...Ah,...e._middleware.global]);{const h=await e.runWithContext(()=>vi(f.path));if(h.appMiddleware)for(const b in h.appMiddleware){const E=e._middleware.named[b];if(!E)return;h.appMiddleware[b]?p.add(E):p.delete(E)}}for(const h of p){const b=await e.runWithContext(()=>h(f,d));if(b!==!0&&(b||b===!1))return b}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),Rd(s.fullPath,t)||await e.runWithContext(()=>Sa(s.fullPath))}),{provide:{route:s,router:c}}}}),Mo=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Sh=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Ei=e=>{const t=fe();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Mo(e)}):Mo(e)},Lh=lt({name:"nuxt:payload",setup(e){Et().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await As(t.path);r&&Object.assign(e.static.data,r.data)}),Ei(()=>{var t;e.hooks.hook("link:prefetch",async n=>{cn(n).protocol||await As(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Fr,1e3)})}}),Oh=lt(e=>{let t;async function n(){const r=await Fr();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const o=await $fetch(mi("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}Ei(()=>{t=setTimeout(n,1e3*60*60)})}),Ih=lt({name:"nuxt:global-components"}),xh="$s";function kh(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=xh+n,i=fe(),s=Rl(i.payload.state,o);if(s.value===void 0&&r){const l=r();if(Te(l))return i.payload.state[o]=l,l;s.value=l}return s}const Nh="__NUXT_COLOR_MODE__",Dh="nuxt-color-mode",nt=window[Nh]||{},Mh=lt(e=>{const t=kh("color-mode",()=>Ke({preference:nt.preference,value:nt.value,unknown:!1,forced:!1})).value;Et().afterEach(o=>{const i=o.meta.colorMode;i&&i!=="system"?(t.value=i,t.forced=!0):(i==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?nt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=nt.getColorScheme())}))}mn(()=>t.preference,o=>{var i;t.forced||(o==="system"?(t.value=nt.getColorScheme(),r()):t.value=o,(i=window.localStorage)==null||i.setItem(Dh,o))},{immediate:!0}),mn(()=>t.value,(o,i)=>{nt.removeColorScheme(i),nt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=nt.preference,t.value=nt.value,t.unknown=!1)}),e.provide("colorMode",t)}),Vh=lt(()=>{});function Bh(e={}){const t=e.path||window.location.pathname;let n={};try{n=yr(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:fe().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const jh=lt({name:"nuxt:chunk-reload",setup(e){const t=Et(),n=An(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const l="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:kn(n.app.baseURL,i.fullPath);Bh({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),Fh=[wh,Th,Ch,Lh,Oh,Ih,Mh,Vh,jh],Hh=Vt({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(re(),Oe("div",{class:Nt(["n-icon",t.icon])},null,2))}});async function Fa(e,t=Et()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>Fa(e,t));t._routePreloaded.add(n);const i=r.map(s=>{var l;return(l=s.components)==null?void 0:l.default}).filter(s=>typeof s=="function");for(const s of i){const l=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(l)));o.push(l)}await Promise.all(o)}const $h=(...e)=>e.find(t=>t!==void 0);function Uh(e){const t=e.componentName||"NuxtLink";function n(r,o){if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return Ss(r,e.trailingSlash);const i="path"in r&&r.path!==void 0?r.path:o(r).path;return{...r,name:void 0,path:Ss(i,e.trailingSlash)}}return Vt({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:o}){const i=Et(),s=An(),l=_t(()=>{const h=r.to||r.href||"";return n(h,i.resolve)}),a=_t(()=>typeof l.value=="string"&&vt(l.value,{acceptRelative:!0})),c=_t(()=>r.target&&r.target!=="_self"),u=_t(()=>r.external||c.value?!0:typeof l.value=="object"?!1:l.value===""||a.value),f=We(!1),d=We(null),p=h=>{var b;d.value=r.custom?(b=h==null?void 0:h.$el)==null?void 0:b.nextElementSibling:h==null?void 0:h.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!qh()){const b=fe();let E,P=null;Nl(()=>{const S=Wh();Ei(()=>{E=Mo(()=>{var v;(v=d==null?void 0:d.value)!=null&&v.tagName&&(P=S.observe(d.value,async()=>{P==null||P(),P=null;const R=typeof l.value=="string"?l.value:i.resolve(l.value).fullPath;await Promise.all([b.hooks.callHook("link:prefetch",R).catch(()=>{}),!u.value&&Fa(l.value,i).catch(()=>{})]),f.value=!0}))})})}),Dl(()=>{E&&Sh(E),P==null||P(),P=null})}return()=>{var P,S;if(!u.value){const v={ref:p,to:l.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(f.value&&(v.class=r.prefetchedClass||e.prefetchedClass),v.rel=r.rel||void 0),Po(Su("RouterLink"),v,o.default)}const h=typeof l.value=="object"?((P=i.resolve(l.value))==null?void 0:P.href)??null:l.value&&!r.external&&!a.value?n(kn(s.app.baseURL,l.value),i.resolve):l.value||null,b=r.target||null,E=$h(r.noRel?"":r.rel,e.externalRelAttribute,a.value||c.value?"noopener noreferrer":"")||null;if(r.custom){if(!o.default)return null;const v=()=>Sa(h,{replace:r.replace,external:r.external});return o.default({href:h,navigate:v,get route(){if(!h)return;const R=cn(h);return{path:R.pathname,fullPath:R.pathname,get query(){return hi(R.search)},hash:R.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:h}},rel:E,target:b,isExternal:u.value,isActive:!1,isExactActive:!1})}return Po("a",{ref:d,href:h,rel:E,target:b},(S=o.default)==null?void 0:S.call(o))}}})}const Gh=Uh(hh);function Ss(e,t){const n=t==="append"?_r:jr;return vt(e)&&!e.startsWith("http")?e:n(e,!0)}function Wh(){const e=fe();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,s)=>(t||(t=new IntersectionObserver(l=>{for(const a of l){const c=n.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&c&&c()}})),n.set(i,s),t.observe(i),()=>{n.delete(i),t.unobserve(i),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function qh(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const Kh=Vt({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const r=Hh;return re(),Me(Ll(t.to?ie(Gh):"button"),na({to:t.to},{...t.$attrs,...!t.to&&{type:t.type},...t.disabled?{disabled:!0}:{tabindex:0}},{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":t.border},{"n-icon-button":!t.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:Rn(()=>[Ki(t.$slots,"icon",{},()=>[t.icon?(re(),Me(r,{key:0,icon:t.icon,class:Nt({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):Ht("",!0)]),Ki(t.$slots,"default")]),_:3},16,["to","class"])}}}),Ha=[{id:"abap",name:"ABAP",import:()=>m(()=>import("./DXFkqnOI.js"),[],import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>m(()=>import("./D6NljDpC.js"),[],import.meta.url)},{id:"ada",name:"Ada",import:()=>m(()=>import("./CowR2XfX.js"),[],import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>m(()=>import("./DsudziMp.js").then(e=>e.e),__vite__mapDeps([0,1,2,3]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>m(()=>import("./B9E_xdxs.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>m(()=>import("./rS0jd3Ly.js"),[],import.meta.url)},{id:"apex",name:"Apex",import:()=>m(()=>import("./Sfo2eW0G.js"),[],import.meta.url)},{id:"apl",name:"APL",import:()=>m(()=>import("./DC4hdoM9.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>m(()=>import("./B4yE-MfL.js"),[],import.meta.url)},{id:"ara",name:"Ara",import:()=>m(()=>import("./CG4fK2Nq.js"),[],import.meta.url)},{id:"asm",name:"Assembly",import:()=>m(()=>import("./PWN5J14X.js"),[],import.meta.url)},{id:"astro",name:"Astro",import:()=>m(()=>import("./wORFcijT.js"),__vite__mapDeps([10,9,2,11,12,13,3,5,14,15,16]),import.meta.url)},{id:"awk",name:"AWK",import:()=>m(()=>import("./i0IPvypD.js"),[],import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>m(()=>import("./T9ysyp6P.js"),[],import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>m(()=>import("./BPiaQZfK.js"),[],import.meta.url)},{id:"beancount",name:"Beancount",import:()=>m(()=>import("./Urb1RsFe.js"),[],import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>m(()=>import("./CxrokwfH.js"),[],import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>m(()=>import("./BaedD2tq.js"),[],import.meta.url)},{id:"bicep",name:"Bicep",import:()=>m(()=>import("./3ghuYFLd.js"),[],import.meta.url)},{id:"blade",name:"Blade",import:()=>m(()=>import("./C1DVX8_8.js"),__vite__mapDeps([17,1,2,3,7,8,18,9]),import.meta.url)},{id:"c",name:"C",import:()=>m(()=>import("./RCJZWN-0.js"),[],import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>m(()=>import("./Bgpqy2XC.js"),[],import.meta.url)},{id:"clarity",name:"Clarity",import:()=>m(()=>import("./CIekO_uJ.js"),[],import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>m(()=>import("./BF6G6X0H.js"),[],import.meta.url)},{id:"cmake",name:"CMake",import:()=>m(()=>import("./DXZpi2gR.js"),[],import.meta.url)},{id:"cobol",name:"COBOL",import:()=>m(()=>import("./TQ9oWRfF.js"),__vite__mapDeps([19,18,1,2,3,8]),import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>m(()=>import("./BOpLLL-w.js"),[],import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>m(()=>import("./Bg0wAK5a.js"),__vite__mapDeps([20,2]),import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>m(()=>import("./BOnd8D4O.js"),__vite__mapDeps([21,22,23,18]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>m(()=>import("./B6nY7VDA.js"),__vite__mapDeps([24,1,2,3,18,23,25]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>m(()=>import("./DISxKEhY.js"),[],import.meta.url)},{id:"css",name:"CSS",import:()=>m(()=>import("./CbYhyuC0.js"),[],import.meta.url)},{id:"csv",name:"CSV",import:()=>m(()=>import("./B2DkETJQ.js"),[],import.meta.url)},{id:"cue",name:"CUE",import:()=>m(()=>import("./C6Aznpr-.js"),[],import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>m(()=>import("./ByMv4Xf1.js"),[],import.meta.url)},{id:"d",name:"D",import:()=>m(()=>import("./PifQWv0n.js"),[],import.meta.url)},{id:"dart",name:"Dart",import:()=>m(()=>import("./BswfO-CF.js"),[],import.meta.url)},{id:"dax",name:"DAX",import:()=>m(()=>import("./DsfXcHUZ.js"),[],import.meta.url)},{id:"diff",name:"Diff",import:()=>m(()=>import("./DvyTQcux.js"),[],import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>m(()=>import("./DNR26wTC.js"),[],import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>m(()=>import("./Eh5U-gDp.js"),[],import.meta.url)},{id:"elixir",name:"Elixir",import:()=>m(()=>import("./BaNxgKSR.js"),__vite__mapDeps([26,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>m(()=>import("./RE3ujT-k.js"),__vite__mapDeps([27,22,23]),import.meta.url)},{id:"erb",name:"ERB",import:()=>m(()=>import("./RgJsN3zu.js"),__vite__mapDeps([28,1,2,3,29,7,8,18,23,25,30]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>m(()=>import("./C3YqBJkQ.js"),[],import.meta.url)},{id:"fish",name:"Fish",import:()=>m(()=>import("./DfeQjIbs.js"),[],import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>m(()=>import("./sQpxpyUs.js"),__vite__mapDeps([31,32]),import.meta.url)},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>m(()=>import("./D6pmzCqS.js"),[],import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>m(()=>import("./DXpYegZJ.js"),__vite__mapDeps([33,34]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>m(()=>import("./NL97_oaV.js"),__vite__mapDeps([35,36,37]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>m(()=>import("./CoEqzGFw.js"),[],import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>m(()=>import("./B_SUYfiV.js"),[],import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>m(()=>import("./DjTlIhuc.js"),[],import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>m(()=>import("./DAVo6uMX.js"),__vite__mapDeps([38,39]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>m(()=>import("./CPHkTjfH.js"),__vite__mapDeps([40,25]),import.meta.url)},{id:"gleam",name:"Gleam",import:()=>m(()=>import("./Dz2Ca8U2.js"),[],import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>m(()=>import("./Bbv8ARUV.js"),__vite__mapDeps([41,2,11,3,1]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>m(()=>import("./CQUCfALx.js"),__vite__mapDeps([42,11,3,2,1]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>m(()=>import("./DouzTJIq.js"),__vite__mapDeps([22,23]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>m(()=>import("./nclm9rTJ.js"),[],import.meta.url)},{id:"go",name:"Go",import:()=>m(()=>import("./WoBtJUue.js"),[],import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>m(()=>import("./BN4LRXf6.js"),__vite__mapDeps([43,2,11,44,16]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>m(()=>import("./wChcbJ1V.js"),[],import.meta.url)},{id:"hack",name:"Hack",import:()=>m(()=>import("./BmCW-tYz.js"),__vite__mapDeps([45,1,2,3,18]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>m(()=>import("./IHMnEr_d.js"),__vite__mapDeps([46,29,1,2,3,7,8,18,23,25,30,13,20,34]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>m(()=>import("./DUdlC5k_.js"),__vite__mapDeps([47,1,2,3,48]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>m(()=>import("./DAGYewaG.js"),[],import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>m(()=>import("./BG_OyJVq.js"),[],import.meta.url)},{id:"hjson",name:"Hjson",import:()=>m(()=>import("./DZqG9GXz.js"),[],import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>m(()=>import("./DmDrTTlz.js"),[],import.meta.url)},{id:"html",name:"HTML",import:()=>m(()=>import("./CbViG2Xw.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>m(()=>import("./BR6CMsBL.js"),__vite__mapDeps([49,1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>m(()=>import("./DfUNg_8t.js"),__vite__mapDeps([50,25,9,7,8,43,2,11,44,16]),import.meta.url)},{id:"imba",name:"Imba",import:()=>m(()=>import("./DzwdaLuO.js"),__vite__mapDeps([51,11]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>m(()=>import("./DeVv6D4_.js"),[],import.meta.url)},{id:"java",name:"Java",import:()=>m(()=>import("./ClXEvkw9.js"),[],import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>m(()=>import("./Dch3xQiY.js"),[],import.meta.url)},{id:"jinja",name:"Jinja",import:()=>m(()=>import("./D4LaosRr.js"),__vite__mapDeps([52,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>m(()=>import("./DY7_9Ga-.js"),__vite__mapDeps([53,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>m(()=>import("./CupVZNk8.js"),[],import.meta.url)},{id:"json5",name:"JSON5",import:()=>m(()=>import("./Bh8mriwU.js"),[],import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>m(()=>import("./DYI1rfmx.js"),[],import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>m(()=>import("./BUpeXbsf.js"),[],import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>m(()=>import("./C9d3aiqh.js"),[],import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>m(()=>import("./Dble9ECP.js"),[],import.meta.url)},{id:"jsx",name:"JSX",import:()=>m(()=>import("./CsyrCbsw.js"),[],import.meta.url)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>m(()=>import("./ZQC2c-5V.js"),__vite__mapDeps([54,21,22,23,18,55,2,56]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>m(()=>import("./BIxS-Weu.js"),[],import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>m(()=>import("./DIr-ordK.js"),[],import.meta.url)},{id:"latex",name:"LaTeX",import:()=>m(()=>import("./BIMuYTWL.js"),__vite__mapDeps([57,58,56,3,59,1,2,7,8,30,23,54,21,22,18,55,29,25,11,48,60,61,62]),import.meta.url)},{id:"less",name:"Less",import:()=>m(()=>import("./DywwDckn.js"),[],import.meta.url)},{id:"liquid",name:"Liquid",import:()=>m(()=>import("./Dg0DGYq4.js"),__vite__mapDeps([63,1,2,3,9]),import.meta.url)},{id:"lisp",name:"Lisp",import:()=>m(()=>import("./D4LhxNOI.js"),[],import.meta.url)},{id:"logo",name:"Logo",import:()=>m(()=>import("./DdacRhvC.js"),[],import.meta.url)},{id:"lua",name:"Lua",import:()=>m(()=>import("./DnhXxWz-.js"),__vite__mapDeps([30,23]),import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>m(()=>import("./B9S9BZZh.js"),[],import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>m(()=>import("./DCk2z-Tu.js"),[],import.meta.url)},{id:"marko",name:"Marko",import:()=>m(()=>import("./Bd7iooY8.js"),__vite__mapDeps([64,3,14,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>m(()=>import("./Btshr8M_.js"),[],import.meta.url)},{id:"mdc",name:"MDC",import:()=>m(()=>import("./BgBwMnrY.js"),__vite__mapDeps([65,34,48,49,1,2,3]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>m(()=>import("./CBPJd_fO.js"),[],import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>m(()=>import("./BSyl5yf0.js"),[],import.meta.url)},{id:"mojo",name:"Mojo",import:()=>m(()=>import("./-7WWnkdy.js"),[],import.meta.url)},{id:"move",name:"Move",import:()=>m(()=>import("./bmJ2objS.js"),[],import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>m(()=>import("./B9CT-1u6.js"),[],import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>m(()=>import("./DBxHOdLe.js"),[],import.meta.url)},{id:"nginx",name:"Nginx",import:()=>m(()=>import("./CUVblut_.js"),__vite__mapDeps([66,30,23]),import.meta.url)},{id:"nim",name:"Nim",import:()=>m(()=>import("./BILqrcpa.js"),__vite__mapDeps([67,23,1,2,3,7,8,22,34]),import.meta.url)},{id:"nix",name:"Nix",import:()=>m(()=>import("./Dszwcx0o.js"),[],import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>m(()=>import("./CL7Ixq1B.js"),[],import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>m(()=>import("./DHmGyzbM.js"),[],import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>m(()=>import("./BWKJ1FCf.js"),[],import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>m(()=>import("./RqY_Nz63.js"),[],import.meta.url)},{id:"pascal",name:"Pascal",import:()=>m(()=>import("./Bz4xi2rU.js"),[],import.meta.url)},{id:"perl",name:"Perl",import:()=>m(()=>import("./Dwo2i-71.js"),__vite__mapDeps([68,1,2,3,7,8,18]),import.meta.url)},{id:"php",name:"PHP",import:()=>m(()=>import("./Cthz8VOO.js"),__vite__mapDeps([69,1,2,3,7,8,18,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>m(()=>import("./BbJj1K1w.js"),[],import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>m(()=>import("./DXT9h7v2.js"),[],import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>m(()=>import("./CApMHEaB.js"),[],import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>m(()=>import("./9ZOzOPqN.js"),[],import.meta.url)},{id:"prisma",name:"Prisma",import:()=>m(()=>import("./BBJYjQ0k.js"),[],import.meta.url)},{id:"prolog",name:"Prolog",import:()=>m(()=>import("./BH_RS3WO.js"),[],import.meta.url)},{id:"proto",name:"Protocol Buffer 3",import:()=>m(()=>import("./DOtRmeXT.js"),[],import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>m(()=>import("./DhFF74a2.js"),__vite__mapDeps([70,2,3,13,5,12,20,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>m(()=>import("./37ic6j3l.js"),[],import.meta.url)},{id:"purescript",name:"PureScript",import:()=>m(()=>import("./CfPQhs6g.js"),[],import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>m(()=>import("./DwuVtWc2.js"),[],import.meta.url)},{id:"r",name:"R",import:()=>m(()=>import("./BXfENWL6.js"),[],import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>m(()=>import("./D384ylkT.js"),[],import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>m(()=>import("./wPLeKH6q.js"),__vite__mapDeps([71,1,2,3,72]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>m(()=>import("./CrhH3_Og.js"),[],import.meta.url)},{id:"rel",name:"Rel",import:()=>m(()=>import("./6Kuza3Wr.js"),[],import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>m(()=>import("./AgnqFTPX.js"),[],import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>m(()=>import("./CQTpvb7m.js"),__vite__mapDeps([73,49,1,2,3,21,22,23,18,55,25,48,74,29,7,8,30]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>m(()=>import("./DCAtC51B.js"),__vite__mapDeps([29,1,2,3,7,8,18,23,25,30]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>m(()=>import("./j8KhMG0x.js"),[],import.meta.url)},{id:"sas",name:"SAS",import:()=>m(()=>import("./8t4jSAMm.js"),__vite__mapDeps([75,18]),import.meta.url)},{id:"sass",name:"Sass",import:()=>m(()=>import("./CMDmr8et.js"),[],import.meta.url)},{id:"scala",name:"Scala",import:()=>m(()=>import("./vMsNTMhM.js"),[],import.meta.url)},{id:"scheme",name:"Scheme",import:()=>m(()=>import("./1Je9_Reo.js"),[],import.meta.url)},{id:"scss",name:"SCSS",import:()=>m(()=>import("./BeX7Iu5M.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>m(()=>import("./BiDE021q.js"),__vite__mapDeps([76,77]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>m(()=>import("./D4k753MY.js"),[],import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>m(()=>import("./Bdb36Id5.js"),__vite__mapDeps([78,25]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>m(()=>import("./DSsji4Hu.js"),[],import.meta.url)},{id:"solidity",name:"Solidity",import:()=>m(()=>import("./CThH5sBG.js"),[],import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>m(()=>import("./DJZWsvj0.js"),__vite__mapDeps([79,80]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>m(()=>import("./6XBPEST2.js"),[],import.meta.url)},{id:"sql",name:"SQL",import:()=>m(()=>import("./DbK06e1c.js"),[],import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>m(()=>import("./BH1M7C1g.js"),[],import.meta.url)},{id:"stata",name:"Stata",import:()=>m(()=>import("./DLP9ZvWb.js"),__vite__mapDeps([81,18]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>m(()=>import("./DSrLtGYv.js"),[],import.meta.url)},{id:"svelte",name:"Svelte",import:()=>m(()=>import("./doGI2cFk.js"),__vite__mapDeps([82,2,11,20,12,13,3,5,14,15,70,1,34]),import.meta.url)},{id:"swift",name:"Swift",import:()=>m(()=>import("./Dez-Qvcc.js"),[],import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>m(()=>import("./DzPyIVdT.js"),[],import.meta.url)},{id:"tasl",name:"Tasl",import:()=>m(()=>import("./BxwAa5i0.js"),[],import.meta.url)},{id:"tcl",name:"Tcl",import:()=>m(()=>import("./C_8Fx7bH.js"),[],import.meta.url)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>m(()=>import("./7fd6vGzb.js"),[],import.meta.url)},{id:"tex",name:"TeX",import:()=>m(()=>import("./CGQbO34C.js"),__vite__mapDeps([58,56]),import.meta.url)},{id:"toml",name:"TOML",import:()=>m(()=>import("./BT9ZzGyQ.js"),[],import.meta.url)},{id:"tsv",name:"TSV",import:()=>m(()=>import("./DnLUQrgA.js"),[],import.meta.url)},{id:"tsx",name:"TSX",import:()=>m(()=>import("./BlxWTfDV.js"),[],import.meta.url)},{id:"turtle",name:"Turtle",import:()=>m(()=>import("./C15OxdQ5.js"),[],import.meta.url)},{id:"twig",name:"Twig",import:()=>m(()=>import("./DCdPDLy4.js"),__vite__mapDeps([83,3,2,5,69,1,7,8,18,9,55,29,23,25,30]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>m(()=>import("./DC8MraHL.js"),[],import.meta.url)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>m(()=>import("./I4qd5QHW.js"),[],import.meta.url)},{id:"v",name:"V",import:()=>m(()=>import("./C2TBxDwV.js"),[],import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>m(()=>import("./beD-FUib.js"),[],import.meta.url)},{id:"verilog",name:"Verilog",import:()=>m(()=>import("./DVfdqzEq.js"),[],import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>m(()=>import("./QZ3jNtnE.js"),[],import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>m(()=>import("./BLluXI4E.js"),[],import.meta.url)},{id:"vue",name:"Vue",import:()=>m(()=>import("./BBv1LFm6.js"),__vite__mapDeps([84,1,2,3,34,70,13,5,12,20,14,11,44,16,9,85,86,48,87,43,49]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>m(()=>import("./CRWwmX0L.js"),__vite__mapDeps([88,84,1,2,3,34,70,13,5,12,20,14,11,44,16,9,85,86,48,87,43,49]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>m(()=>import("./o-cPXEvd.js"),[],import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>m(()=>import("./Cicx_DS6.js"),[],import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>m(()=>import("./D3VXSfF0.js"),[],import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>m(()=>import("./BZz1Hhek.js"),[],import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>m(()=>import("./BICIrM8O.js"),[],import.meta.url)},{id:"xml",name:"XML",import:()=>m(()=>import("./CsYA0RN7.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>m(()=>import("./CJQrLysU.js"),__vite__mapDeps([89,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>m(()=>import("./C5gCGmDW.js"),[],import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>m(()=>import("./B1nm99XP.js"),[],import.meta.url)},{id:"zig",name:"Zig",import:()=>m(()=>import("./Bsp1M94H.js"),[],import.meta.url)}],zh=Object.fromEntries(Ha.map(e=>[e.id,e.import])),Jh=Object.fromEntries(Ha.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),Yh={...zh,...Jh},Xh=async e=>m(()=>import("./CsTmP73Z.js"),[],import.meta.url).then(t=>t.default(e)),Qh=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>m(()=>import("./YxQm0tCS.js"),[],import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>m(()=>import("./BaWyeHV_.js"),[],import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>m(()=>import("./Bn5gmY5k.js"),[],import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>m(()=>import("./DZ3fVoEH.js"),[],import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>m(()=>import("./DCj4DH6i.js"),[],import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>m(()=>import("./D-pQtGOP.js"),[],import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>m(()=>import("./BsfQk1vf.js"),[],import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>m(()=>import("./KEYLhlmT.js"),[],import.meta.url)},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>m(()=>import("./DGO8GyiP.js"),[],import.meta.url)},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>m(()=>import("./9B1nZgL-.js"),[],import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>m(()=>import("./CzPA46E-.js"),[],import.meta.url)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>m(()=>import("./BXF7Vm5l.js"),[],import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>m(()=>import("./CRDKj6ck.js"),[],import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>m(()=>import("./CRlnGVMD.js"),[],import.meta.url)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>m(()=>import("./UREJT2Bw.js"),[],import.meta.url)},{id:"houston",displayName:"Houston",type:"dark",import:()=>m(()=>import("./CZZ6oYdA.js"),[],import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>m(()=>import("./BsvsQ1iS.js"),[],import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>m(()=>import("./B2BuIiKK.js"),[],import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>m(()=>import("./BrGg7AAd.js"),[],import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>m(()=>import("./DDRuGeQH.js"),[],import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>m(()=>import("./CBL0qBdF.js"),[],import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>m(()=>import("./D7gg1Usp.js"),[],import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>m(()=>import("./iSbrOpM4.js"),[],import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>m(()=>import("./BITGhEdf.js"),[],import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>m(()=>import("./sMI-pExk.js"),[],import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>m(()=>import("./BeocmOPF.js"),[],import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>m(()=>import("./CsyjKwr8.js"),[],import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>m(()=>import("./BTtaZsq5.js"),[],import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>m(()=>import("./Cda-MJFk.js"),[],import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>m(()=>import("./jaXbsbtS.js"),[],import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>m(()=>import("./CX_FIdg1.js"),[],import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>m(()=>import("./Bj5xdiaE.js"),[],import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>m(()=>import("./CdedUr_-.js"),[],import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>m(()=>import("./C7oZ9nno.js"),[],import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>m(()=>import("./hXH8Gyq8.js"),[],import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>m(()=>import("./C86elO-m.js"),[],import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>m(()=>import("./xPNGhBYe.js"),[],import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>m(()=>import("./BBDuFDsq.js"),[],import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>m(()=>import("./eJfcURhx.js"),[],import.meta.url)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>m(()=>import("./BSB_bK09.js"),[],import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>m(()=>import("./CrjQeCwm.js"),[],import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>m(()=>import("./DggdVF2v.js"),[],import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>m(()=>import("./A1WiD9SJ.js"),[],import.meta.url)}],Zh=Object.fromEntries(Qh.map(e=>[e.id,e.import]));var Ge;(function(e){e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline"})(Ge||(Ge={}));var on;(function(e){function t(u){return u.toString(2).padStart(32,"0")}e.toBinaryStr=t;function n(u){const f=e.getLanguageId(u),d=e.getTokenType(u),p=e.getFontStyle(u),h=e.getForeground(u),b=e.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:p,foreground:h,background:b})}e.print=n;function r(u){return(u&255)>>>0}e.getLanguageId=r;function o(u){return(u&768)>>>8}e.getTokenType=o;function i(u){return(u&1024)!==0}e.containsBalancedBrackets=i;function s(u){return(u&30720)>>>11}e.getFontStyle=s;function l(u){return(u&16744448)>>>15}e.getForeground=l;function a(u){return(u&4278190080)>>>24}e.getBackground=a;function c(u,f,d,p,h,b,E){let P=e.getLanguageId(u),S=e.getTokenType(u),v=e.containsBalancedBrackets(u)?1:0,R=e.getFontStyle(u),T=e.getForeground(u),A=e.getBackground(u);return f!==0&&(P=f),d!==8&&(S=d),p!==null&&(v=p?1:0),h!==-1&&(R=h),b!==0&&(T=b),E!==0&&(A=E),(P<<0|S<<8|v<<10|R<<11|T<<15|A<<24)>>>0}e.set=c})(on||(on={}));function Er(e,t){const n=[],r=em(e);let o=r.next();for(;o!==null;){let a=0;if(o.length===2&&o.charAt(1)===":"){switch(o.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=r.next()}let c=s();if(n.push({matcher:c,priority:a}),o!==",")break;o=r.next()}return n;function i(){if(o==="-"){o=r.next();const a=i();return c=>!!a&&!a(c)}if(o==="("){o=r.next();const a=l();return o===")"&&(o=r.next()),a}if(Ls(o)){const a=[];do a.push(o),o=r.next();while(Ls(o));return c=>t(a,c)}return null}function s(){const a=[];let c=i();for(;c;)a.push(c),c=i();return u=>a.every(f=>f(u))}function l(){const a=[];let c=s();for(;c&&(a.push(c),o==="|"||o===",");){do o=r.next();while(o==="|"||o===",");c=s()}return u=>a.some(f=>f(u))}}function Ls(e){return!!e&&!!e.match(/[\w\.:]+/)}function em(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function $a(e){typeof e.dispose=="function"&&e.dispose()}function tm(e){return wi(e)}function wi(e){return Array.isArray(e)?nm(e):typeof e=="object"?rm(e):e}function nm(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=wi(e[n]);return t}function rm(e){let t={};for(let n in e)t[n]=wi(e[n]);return t}function Ua(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Ga(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Ga(e.substring(0,e.length-1)):e.substr(~t+1)}let io=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class zn{static hasCaptures(t){return t===null?!1:(io.lastIndex=0,io.test(t))}static replaceCaptures(t,n,r){return t.replace(io,(o,i,s,l)=>{let a=r[parseInt(i||s,10)];if(a){let c=n.substring(a.start,a.end);for(;c[0]===".";)c=c.substring(1);switch(l){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return o})}}function Wa(e,t){return e<t?-1:e>t?1:0}function qa(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let o=0;o<n;o++){let i=Wa(e[o],t[o]);if(i!==0)return i}return 0}return n-r}function Os(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function Ka(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class za{constructor(t){y(this,"fn");y(this,"cache",new Map);this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const n=this.fn(t);return this.cache.set(t,n),n}}class Cn{constructor(t){y(this,"scopeName");this.scopeName=t}toKey(){return this.scopeName}}class om{constructor(t,n){y(this,"scopeName");y(this,"ruleName");this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class im{constructor(){y(this,"_references",[]);y(this,"_seenReferenceKeys",new Set);y(this,"visitedRule",new Set)}get references(){return this._references}add(t){const n=t.toKey();this._seenReferenceKeys.has(n)||(this._seenReferenceKeys.add(n),this._references.push(t))}}class sm{constructor(t,n){y(this,"repo");y(this,"initialScopeName");y(this,"seenFullScopeRequests",new Set);y(this,"seenPartialScopeRequests",new Set);y(this,"Q");this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Cn(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new im;for(const r of t)lm(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof Cn){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}}function lm(e,t,n,r){const o=n.lookup(e.scopeName);if(!o){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const i=n.lookup(t);e instanceof Cn?ir({baseGrammar:i,selfGrammar:o},r):Vo(e.ruleName,{baseGrammar:i,selfGrammar:o,repository:o.repository},r);const s=n.injections(e.scopeName);if(s)for(const l of s)r.add(new Cn(l))}function Vo(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];wr([r],t,n)}}function ir(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&wr(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&wr(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function wr(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?Ua({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&wr(r.patterns,{...t,repository:o},n);const i=r.include;if(!i)continue;const s=Ja(i);switch(s.kind){case 0:ir({...t,selfGrammar:t.baseGrammar},n);break;case 1:ir(t,n);break;case 2:Vo(s.ruleName,{...t,repository:o},n);break;case 3:case 4:const l=s.scopeName===t.selfGrammar.scopeName?t.selfGrammar:s.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(l){const a={baseGrammar:t.baseGrammar,selfGrammar:l,repository:o};s.kind===4?Vo(s.ruleName,a,n):ir(a,n)}else s.kind===4?n.add(new om(s.scopeName,s.ruleName)):n.add(new Cn(s.scopeName));break}}}class am{constructor(){y(this,"kind",0)}}class cm{constructor(){y(this,"kind",1)}}class um{constructor(t){y(this,"ruleName");y(this,"kind",2);this.ruleName=t}}class fm{constructor(t){y(this,"scopeName");y(this,"kind",3);this.scopeName=t}}class dm{constructor(t,n){y(this,"scopeName");y(this,"ruleName");y(this,"kind",4);this.scopeName=t,this.ruleName=n}}function Ja(e){if(e==="$base")return new am;if(e==="$self")return new cm;const t=e.indexOf("#");if(t===-1)return new fm(e);if(t===0)return new um(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new dm(n,r)}}const pm=/\\(\d+)/,Is=/\\(\d+)/g,hm=-1,Ya=-2;class Nn{constructor(t,n,r,o){y(this,"$location");y(this,"id");y(this,"_nameIsCapturing");y(this,"_name");y(this,"_contentNameIsCapturing");y(this,"_contentName");this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=zn.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=zn.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${Ga(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,n){return!this._nameIsCapturing||this._name===null||t===null||n===null?this._name:zn.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:zn.replaceCaptures(this._contentName,t,n)}}class mm extends Nn{constructor(n,r,o,i,s){super(n,r,o,i);y(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(n,r){throw new Error("Not supported!")}compile(n,r){throw new Error("Not supported!")}compileAG(n,r,o,i){throw new Error("Not supported!")}}class _m extends Nn{constructor(n,r,o,i,s){super(n,r,o,null);y(this,"_match");y(this,"captures");y(this,"_cachedCompiledPatterns");this._match=new kt(i,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,r){r.push(this._match)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Sn,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class xs extends Nn{constructor(n,r,o,i,s){super(n,r,o,i);y(this,"hasMissingPatterns");y(this,"patterns");y(this,"_cachedCompiledPatterns");this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,r){for(const o of this.patterns)n.getRule(o).collectPatterns(n,r)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Sn,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Bo extends Nn{constructor(n,r,o,i,s,l,a,c,u,f){super(n,r,o,i);y(this,"_begin");y(this,"beginCaptures");y(this,"_end");y(this,"endHasBackReferences");y(this,"endCaptures");y(this,"applyEndPatternLast");y(this,"hasMissingPatterns");y(this,"patterns");y(this,"_cachedCompiledPatterns");this._begin=new kt(s,this.id),this.beginCaptures=l,this._end=new kt(a||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=c,this.applyEndPatternLast=u||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(n,r){return this._end.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n,r).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n,r).compileAG(n,o,i)}_getCachedCompiledPatterns(n,r){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Sn;for(const o of this.patterns)n.getRule(o).collectPatterns(n,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,r):this._cachedCompiledPatterns.setSource(0,r)),this._cachedCompiledPatterns}}class Rr extends Nn{constructor(n,r,o,i,s,l,a,c,u){super(n,r,o,i);y(this,"_begin");y(this,"beginCaptures");y(this,"whileCaptures");y(this,"_while");y(this,"whileHasBackReferences");y(this,"hasMissingPatterns");y(this,"patterns");y(this,"_cachedCompiledPatterns");y(this,"_cachedCompiledWhilePatterns");this._begin=new kt(s,this.id),this.beginCaptures=l,this.whileCaptures=c,this._while=new kt(a,Ya),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(n,r){return this._while.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Sn;for(const r of this.patterns)n.getRule(r).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,r){return this._getCachedCompiledWhilePatterns(n,r).compile(n)}compileWhileAG(n,r,o,i){return this._getCachedCompiledWhilePatterns(n,r).compileAG(n,o,i)}_getCachedCompiledWhilePatterns(n,r){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Sn,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||"￿"),this._cachedCompiledWhilePatterns}}class ye{static createCaptureRule(t,n,r,o,i){return t.registerRule(s=>new mm(n,s,r,o,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new _m(t.$vscodeTextmateLocation,t.id,t.name,t.match,ye._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Ua({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new xs(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,ye._compilePatterns(i,n,r))}return t.while?new Rr(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,ye._compileCaptures(t.whileCaptures||t.captures,n,r),ye._compilePatterns(t.patterns,n,r)):new Bo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,ye._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,ye._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let o=[];if(t){let i=0;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);l>i&&(i=l)}for(let s=0;s<=i;s++)o[s]=null;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);let a=0;t[s].patterns&&(a=ye.getCompiledRuleId(t[s],n,r)),o[l]=ye.createCaptureRule(n,t[s].$vscodeTextmateLocation,t[s].name,t[s].contentName,a)}}return o}static _compilePatterns(t,n,r){let o=[];if(t)for(let i=0,s=t.length;i<s;i++){const l=t[i];let a=-1;if(l.include){const c=Ja(l.include);switch(c.kind){case 0:case 1:a=ye.getCompiledRuleId(r[l.include],n,r);break;case 2:let u=r[c.ruleName];u&&(a=ye.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(f,r);if(p)if(d){let h=p.repository[d];h&&(a=ye.getCompiledRuleId(h,n,p.repository))}else a=ye.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else a=ye.getCompiledRuleId(l,n,r);if(a!==-1){const c=n.getRule(a);let u=!1;if((c instanceof xs||c instanceof Bo||c instanceof Rr)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(a)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}}class kt{constructor(t,n){y(this,"source");y(this,"ruleId");y(this,"hasAnchor");y(this,"hasBackReferences");y(this,"_anchorCache");if(t){const r=t.length;let o=0,i=[],s=!1;for(let l=0;l<r;l++)if(t.charAt(l)==="\\"&&l+1<r){const c=t.charAt(l+1);c==="z"?(i.push(t.substring(o,l)),i.push("$(?!\\n)(?<!\\n)"),o=l+2):(c==="A"||c==="G")&&(s=!0),l++}this.hasAnchor=s,o===0?this.source=t:(i.push(t.substring(o,r)),this.source=i.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=pm.test(this.source)}clone(){return new kt(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){let r=n.map(o=>t.substring(o.start,o.end));return Is.lastIndex=0,this.source.replace(Is,(o,i)=>Ka(r[parseInt(i,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],o=[],i,s,l,a;for(i=0,s=this.source.length;i<s;i++)l=this.source.charAt(i),t[i]=l,n[i]=l,r[i]=l,o[i]=l,l==="\\"&&i+1<s&&(a=this.source.charAt(i+1),a==="A"?(t[i+1]="￿",n[i+1]="￿",r[i+1]="A",o[i+1]="A"):a==="G"?(t[i+1]="￿",n[i+1]="G",r[i+1]="￿",o[i+1]="G"):(t[i+1]=a,n[i+1]=a,r[i+1]=a,o[i+1]=a),i++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:o.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}}class Sn{constructor(){y(this,"_items");y(this,"_hasAnchors");y(this,"_cached");y(this,"_anchorCache");this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,n){this._items[t].source!==n&&(this._disposeCaches(),this._items[t].setSource(n))}compile(t){if(!this._cached){let n=this._items.map(r=>r.source);this._cached=new ks(t,n,this._items.map(r=>r.ruleId))}return this._cached}compileAG(t,n,r){return this._hasAnchors?n?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,n,r){let o=this._items.map(i=>i.resolveAnchors(n,r));return new ks(t,o,this._items.map(i=>i.ruleId))}}class ks{constructor(t,n,r){y(this,"regExps");y(this,"rules");y(this,"scanner");this.regExps=n,this.rules=r,this.scanner=t.createOnigScanner(n)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let n=0,r=this.rules.length;n<r;n++)t.push(" - "+this.rules[n]+": "+this.regExps[n]);return t.join(`
24
+ `)}findNextMatchSync(t,n,r){const o=this.scanner.findNextMatchSync(t,n,r);return o?{ruleId:this.rules[o.index],captureIndices:o.captureIndices}:null}}class jo{constructor(t,n,r){y(this,"_colorMap");y(this,"_defaults");y(this,"_root");y(this,"_cachedMatchRoot",new za(t=>this._root.match(t)));this._colorMap=t,this._defaults=n,this._root=r}static createFromRawTheme(t,n){return this.createFromParsedTheme(bm(t),n)}static createFromParsedTheme(t,n){return Em(t,n)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const n=t.scopeName,o=this._cachedMatchRoot.get(n).find(i=>gm(t.parent,i.parentScopes));return o?new Xa(o.fontStyle,o.foreground,o.background):null}}class Ot{constructor(t,n){y(this,"parent");y(this,"scopeName");this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new Ot(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Ot(n,t[r]);return n}push(t){return new Ot(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}}function gm(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(ym(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}function ym(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}class Xa{constructor(t,n,r){y(this,"fontStyle");y(this,"foregroundId");y(this,"backgroundId");this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function bm(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,i=t.length;o<i;o++){let s=t[o];if(!s.settings)continue;let l;if(typeof s.scope=="string"){let f=s.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),l=f.split(",")}else Array.isArray(s.scope)?l=s.scope:l=[""];let a=-1;if(typeof s.settings.fontStyle=="string"){a=0;let f=s.settings.fontStyle.split(" ");for(let d=0,p=f.length;d<p;d++)switch(f[d]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let c=null;typeof s.settings.foreground=="string"&&Os(s.settings.foreground)&&(c=s.settings.foreground);let u=null;typeof s.settings.background=="string"&&Os(s.settings.background)&&(u=s.settings.background);for(let f=0,d=l.length;f<d;f++){let h=l[f].trim().split(" "),b=h[h.length-1],E=null;h.length>1&&(E=h.slice(0,h.length-1),E.reverse()),n[r++]=new vm(b,E,o,a,c,u)}}return n}class vm{constructor(t,n,r,o,i,s){y(this,"scope");y(this,"parentScopes");y(this,"index");y(this,"fontStyle");y(this,"foreground");y(this,"background");this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=o,this.foreground=i,this.background=s}}function Em(e,t){e.sort((a,c)=>{let u=Wa(a.scope,c.scope);return u!==0||(u=qa(a.parentScopes,c.parentScopes),u!==0)?u:a.index-c.index});let n=0,r="#000000",o="#ffffff";for(;e.length>=1&&e[0].scope==="";){let a=e.shift();a.fontStyle!==-1&&(n=a.fontStyle),a.foreground!==null&&(r=a.foreground),a.background!==null&&(o=a.background)}let i=new wm(t),s=new Xa(n,i.getId(r),i.getId(o)),l=new bn(new Ln(0,null,-1,0,0),[]);for(let a=0,c=e.length;a<c;a++){let u=e[a];l.insert(0,u.scope,u.parentScopes,u.fontStyle,i.getId(u.foreground),i.getId(u.background))}return new jo(i,s,l)}class wm{constructor(t){y(this,"_isFrozen");y(this,"_lastColorId");y(this,"_id2color");y(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let n=0,r=t.length;n<r;n++)this._color2id[t[n]]=n,this._id2color[n]=t[n]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let n=this._color2id[t];if(n)return n;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return n=++this._lastColorId,this._color2id[t]=n,this._id2color[n]=t,n}getColorMap(){return this._id2color.slice(0)}}class Ln{constructor(t,n,r,o,i){y(this,"scopeDepth");y(this,"parentScopes");y(this,"fontStyle");y(this,"foreground");y(this,"background");this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=o,this.background=i}clone(){return new Ln(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,o=t.length;r<o;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,o){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),o!==0&&(this.background=o)}}class bn{constructor(t,n=[],r={}){y(this,"_mainRule");y(this,"_children");y(this,"_rulesWithParentScopes");this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _sortBySpecificity(t){return t.length===1||t.sort(this._cmpBySpecificity),t}static _cmpBySpecificity(t,n){if(t.scopeDepth===n.scopeDepth){const r=t.parentScopes,o=n.parentScopes;let i=r===null?0:r.length,s=o===null?0:o.length;if(i===s)for(let l=0;l<i;l++){const a=r[l].length,c=o[l].length;if(a!==c)return c-a}return s-i}return n.scopeDepth-t.scopeDepth}match(t){if(t==="")return bn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let n=t.indexOf("."),r,o;return n===-1?(r=t,o=""):(r=t.substring(0,n),o=t.substring(n+1)),this._children.hasOwnProperty(r)?this._children[r].match(o):bn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(t,n,r,o,i,s){if(n===""){this._doInsertHere(t,r,o,i,s);return}let l=n.indexOf("."),a,c;l===-1?(a=n,c=""):(a=n.substring(0,l),c=n.substring(l+1));let u;this._children.hasOwnProperty(a)?u=this._children[a]:(u=new bn(this._mainRule.clone(),Ln.cloneArr(this._rulesWithParentScopes)),this._children[a]=u),u.insert(t+1,c,r,o,i,s)}_doInsertHere(t,n,r,o,i){if(n===null){this._mainRule.acceptOverwrite(t,r,o,i);return}for(let s=0,l=this._rulesWithParentScopes.length;s<l;s++){let a=this._rulesWithParentScopes[s];if(qa(a.parentScopes,n)===0){a.acceptOverwrite(t,r,o,i);return}}r===-1&&(r=this._mainRule.fontStyle),o===0&&(o=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new Ln(t,n,r,o,i))}}class so{constructor(t,n){y(this,"languageId");y(this,"tokenType");this.languageId=t,this.tokenType=n}}const Ut=class Ut{constructor(t,n){y(this,"_defaultAttributes");y(this,"_embeddedLanguagesMatcher");y(this,"_getBasicScopeAttributes",new za(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new so(n,r)}));this._defaultAttributes=new so(t,8),this._embeddedLanguagesMatcher=new Rm(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?Ut._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(Ut.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}};y(Ut,"_NULL_SCOPE_METADATA",new so(0,0)),y(Ut,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/);let Fo=Ut;class Rm{constructor(t){y(this,"values");y(this,"scopesRegExp");if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,o])=>Ka(r));n.sort(),n.reverse(),this.scopesRegExp=new RegExp(`^((${n.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const n=t.match(this.scopesRegExp);if(n)return this.values.get(n[1])}}class Ns{constructor(t,n){y(this,"stack");y(this,"stoppedEarly");this.stack=t,this.stoppedEarly=n}}function Qa(e,t,n,r,o,i,s,l){const a=t.content.length;let c=!1,u=-1;if(s){const p=Tm(e,t,n,r,o,i);o=p.stack,r=p.linePos,n=p.isFirstLine,u=p.anchorPosition}const f=Date.now();for(;!c;){if(l!==0&&Date.now()-f>l)return new Ns(o,!0);d()}return new Ns(o,!1);function d(){const p=Pm(e,t,n,r,o,u);if(!p){i.produce(o,a),c=!0;return}const h=p.captureIndices,b=p.matchedRuleId,E=h&&h.length>0?h[0].end>r:!1;if(b===hm){const P=o.getRule(e);i.produce(o,h[0].start),o=o.withContentNameScopesList(o.nameScopesList),hn(e,t,n,o,i,P.endCaptures,h),i.produce(o,h[0].end);const S=o;if(o=o.parent,u=S.getAnchorPos(),!E&&S.getEnterPos()===r){o=S,i.produce(o,a),c=!0;return}}else{const P=e.getRule(b);i.produce(o,h[0].start);const S=o,v=P.getName(t.content,h),R=o.contentNameScopesList.pushAttributed(v,e);if(o=o.push(b,r,u,h[0].end===a,null,R,R),P instanceof Bo){const T=P;hn(e,t,n,o,i,T.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const A=T.getContentName(t.content,h),V=R.pushAttributed(A,e);if(o=o.withContentNameScopesList(V),T.endHasBackReferences&&(o=o.withEndRule(T.getEndWithResolvedBackReferences(t.content,h))),!E&&S.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(P instanceof Rr){const T=P;hn(e,t,n,o,i,T.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const A=T.getContentName(t.content,h),V=R.pushAttributed(A,e);if(o=o.withContentNameScopesList(V),T.whileHasBackReferences&&(o=o.withEndRule(T.getWhileWithResolvedBackReferences(t.content,h))),!E&&S.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(hn(e,t,n,o,i,P.captures,h),i.produce(o,h[0].end),o=o.pop(),!E){o=o.safePop(),i.produce(o,a),c=!0;return}}h[0].end>r&&(r=h[0].end,n=!1)}}function Tm(e,t,n,r,o,i){let s=o.beginRuleCapturedEOL?0:-1;const l=[];for(let a=o;a;a=a.pop()){const c=a.getRule(e);c instanceof Rr&&l.push({rule:c,stack:a})}for(let a=l.pop();a;a=l.pop()){const{ruleScanner:c,findOptions:u}=Sm(a.rule,e,a.stack.endRule,n,r===s),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==Ya){o=a.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(i.produce(a.stack,f.captureIndices[0].start),hn(e,t,n,a.stack,i,a.rule.whileCaptures,f.captureIndices),i.produce(a.stack,f.captureIndices[0].end),s=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{o=a.stack.pop();break}}return{stack:o,linePos:r,anchorPosition:s,isFirstLine:n}}function Pm(e,t,n,r,o,i){const s=Am(e,t,n,r,o,i),l=e.getInjections();if(l.length===0)return s;const a=Cm(l,e,t,n,r,o,i);if(!a)return s;if(!s)return a;const c=s.captureIndices[0].start,u=a.captureIndices[0].start;return u<c||a.priorityMatch&&u===c?a:s}function Am(e,t,n,r,o,i){const s=o.getRule(e),{ruleScanner:l,findOptions:a}=Za(s,e,o.endRule,n,r===i),c=l.findNextMatchSync(t,r,a);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Cm(e,t,n,r,o,i,s){let l=Number.MAX_VALUE,a=null,c,u=0;const f=i.contentNameScopesList.getScopeNames();for(let d=0,p=e.length;d<p;d++){const h=e[d];if(!h.matcher(f))continue;const b=t.getRule(h.ruleId),{ruleScanner:E,findOptions:P}=Za(b,t,null,r,o===s),S=E.findNextMatchSync(n,o,P);if(!S)continue;const v=S.captureIndices[0].start;if(!(v>=l)&&(l=v,a=S.captureIndices,c=S.ruleId,u=h.priority,l===o))break}return a?{priorityMatch:u===-1,captureIndices:a,matchedRuleId:c}:null}function Za(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function Sm(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function hn(e,t,n,r,o,i,s){if(i.length===0)return;const l=t.content,a=Math.min(i.length,s.length),c=[],u=s[0].end;for(let f=0;f<a;f++){const d=i[f];if(d===null)continue;const p=s[f];if(p.length===0)continue;if(p.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=p.start;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?o.produceFromScopes(c[c.length-1].scopes,p.start):o.produce(r,p.start),d.retokenizeCapturedWithRuleId){const b=d.getName(l,s),E=r.contentNameScopesList.pushAttributed(b,e),P=d.getContentName(l,s),S=E.pushAttributed(P,e),v=r.push(d.retokenizeCapturedWithRuleId,p.start,-1,!1,null,E,S),R=e.createOnigString(l.substring(0,p.end));Qa(e,R,n&&p.start===0,p.start,v,o,!1,0),$a(R);continue}const h=d.getName(l,s);if(h!==null){const E=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(h,e);c.push(new Lm(E,p.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class Lm{constructor(t,n){y(this,"scopes");y(this,"endPos");this.scopes=t,this.endPos=n}}function Om(e,t,n,r,o,i,s,l){return new xm(e,t,n,r,o,i,s,l)}function Ds(e,t,n,r,o){const i=Er(t,Tr),s=ye.getCompiledRuleId(n,r,o.repository);for(const l of i)e.push({debugSelector:t,matcher:l.matcher,ruleId:s,grammar:o,priority:l.priority})}function Tr(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let o=n;o<t.length;o++)if(Im(t[o],r))return n=o+1,!0;return!1})}function Im(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}class xm{constructor(t,n,r,o,i,s,l,a){y(this,"_rootScopeName");y(this,"balancedBracketSelectors");y(this,"_onigLib");y(this,"_rootId");y(this,"_lastRuleId");y(this,"_ruleId2desc");y(this,"_includedGrammars");y(this,"_grammarRepository");y(this,"_grammar");y(this,"_injections");y(this,"_basicScopeAttributesProvider");y(this,"_tokenTypeMatchers");if(this._rootScopeName=t,this.balancedBracketSelectors=s,this._onigLib=a,this._basicScopeAttributesProvider=new Fo(r,o),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=Ms(n,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const c of Object.keys(i)){const u=Er(c,Tr);for(const f of u)this._tokenTypeMatchers.push({matcher:f.matcher,type:i[c]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:i=>i===this._rootScopeName?this._grammar:this.getExternalGrammar(i),injections:i=>this._grammarRepository.injections(i)},n=[],r=this._rootScopeName,o=t.lookup(r);if(o){const i=o.injections;if(i)for(let l in i)Ds(n,l,i[l],this,o);const s=this._grammarRepository.injections(r);s&&s.forEach(l=>{const a=this.getExternalGrammar(l);if(a){const c=a.injectionSelector;c&&Ds(n,c,a,this,a)}})}return n.sort((i,s)=>i.priority-s.priority),n}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const n=++this._lastRuleId,r=t(n);return this._ruleId2desc[n]=r,r}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,n){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const r=this._grammarRepository.lookup(t);if(r)return this._includedGrammars[t]=Ms(r,n&&n.$base),this._includedGrammars[t]}}tokenizeLine(t,n,r=0){const o=this._tokenize(t,n,!1,r);return{tokens:o.lineTokens.getResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}tokenizeLine2(t,n,r=0){const o=this._tokenize(t,n,!0,r);return{tokens:o.lineTokens.getBinaryResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}_tokenize(t,n,r,o){this._rootId===-1&&(this._rootId=ye.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!n||n===On.NULL){i=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),d=on.set(0,u.languageId,u.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),p=this.getRule(this._rootId).getName(null,null);let h;p?h=Le.createRootAndLookUpScopeName(p,d,this):h=Le.createRoot("unknown",d),n=new On(null,this._rootId,-1,-1,!1,null,h,h)}else i=!1,n.reset();t=t+`
25
+ `;const s=this.createOnigString(t),l=s.content.length,a=new Nm(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=Qa(this,s,i,0,n,a,!0,o);return $a(s),{lineLength:l,lineTokens:a,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function Ms(e,t){return e=tm(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}class Le{constructor(t,n,r){y(this,"parent");y(this,"scopePath");y(this,"tokenAttributes");this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,o=(t==null?void 0:t.scopePath)??null;for(const i of n)o=Ot.push(o,i.scopeNames),r=new Le(r,o,i.encodedTokenAttributes);return r}static createRoot(t,n){return new Le(null,new Ot(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),i=new Ot(null,t),s=r.themeProvider.themeMatch(i),l=Le.mergeAttributes(n,o,s);return new Le(null,i,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return Le.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let o=-1,i=0,s=0;return r!==null&&(o=r.fontStyle,i=r.foregroundId,s=r.backgroundId),on.set(t,n.languageId,n.tokenType,null,o,i,s)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return Le._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const i of r)o=Le._pushAttributed(o,i,n);return o}static _pushAttributed(t,n,r){const o=r.getMetadataForScope(n),i=t.scopePath.push(n),s=r.themeProvider.themeMatch(i),l=Le.mergeAttributes(t.tokenAttributes,o,s);return new Le(t,i,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var o;const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((o=r.parent)==null?void 0:o.scopePath)??null)}),r=r.parent;return r===t?n.reverse():void 0}}const rt=class rt{constructor(t,n,r,o,i,s,l,a){y(this,"parent");y(this,"ruleId");y(this,"beginRuleCapturedEOL");y(this,"endRule");y(this,"nameScopesList");y(this,"contentNameScopesList");y(this,"_stackElementBrand");y(this,"_enterPos");y(this,"_anchorPos");y(this,"depth");this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=i,this.endRule=s,this.nameScopesList=l,this.contentNameScopesList=a,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=o}equals(t){return t===null?!1:rt._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Le.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){rt._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,i,s,l){return new rt(this,t,n,r,o,i,s,l)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){var r,o;return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(o=this.contentNameScopesList)==null?void 0:o.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new rt(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){var t,n,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((n=this.nameScopesList)==null?void 0:n.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,n){const r=Le.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new rt(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Le.fromExtension(r,n.contentNameScopesList))}};y(rt,"NULL",new rt(null,0,0,0,!1,null,null,null));let On=rt;class km{constructor(t,n){y(this,"balancedBracketScopes");y(this,"unbalancedBracketScopes");y(this,"allowAny",!1);this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):Er(r,Tr).map(o=>o.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>Er(r,Tr).map(o=>o.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const n of this.unbalancedBracketScopes)if(n(t))return!1;for(const n of this.balancedBracketScopes)if(n(t))return!0;return this.allowAny}}class Nm{constructor(t,n,r,o){y(this,"balancedBracketSelectors");y(this,"_emitBinaryTokens");y(this,"_lineText");y(this,"_tokens");y(this,"_binaryTokens");y(this,"_lastTokenEndIndex");y(this,"_tokenTypeOverrides");this.balancedBracketSelectors=o,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,n){this.produceFromScopes(t.contentNameScopesList,n)}produceFromScopes(t,n){var o;if(this._lastTokenEndIndex>=n)return;if(this._emitBinaryTokens){let i=(t==null?void 0:t.tokenAttributes)??0,s=!1;if((o=this.balancedBracketSelectors)!=null&&o.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const l=(t==null?void 0:t.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(l)&&(i=on.set(i,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(l))}if(s&&(i=on.set(i,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=n;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=n;return}const r=(t==null?void 0:t.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:n,scopes:r}),this._lastTokenEndIndex=n}getResult(t,n){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===n-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,n){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===n-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let o=0,i=this._binaryTokens.length;o<i;o++)r[o]=this._binaryTokens[o];return r}}class Dm{constructor(t,n){y(this,"_onigLibPromise");y(this,"_grammars",new Map);y(this,"_rawGrammars",new Map);y(this,"_injectionGrammars",new Map);y(this,"_theme");this._onigLibPromise=n,this._theme=t}dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,n){this._rawGrammars.set(t.scopeName,t),n&&this._injectionGrammars.set(t.scopeName,n)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}async grammarForScopeName(t,n,r,o,i){if(!this._grammars.has(t)){let s=this._rawGrammars.get(t);if(!s)return null;this._grammars.set(t,Om(t,s,n,r,o,i,this,await this._onigLibPromise))}return this._grammars.get(t)}}let Mm=class{constructor(t){y(this,"_options");y(this,"_syncRegistry");y(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new Dm(jo.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(jo.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new km(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,o,i){const s=new sm(this._syncRegistry,t);for(;s.Q.length>0;)await Promise.all(s.Q.map(l=>this._loadSingleGrammar(l.scopeName))),s.processQueue();return this._grammarForScopeName(t,n,r,o,i)}async _loadSingleGrammar(t){return this._ensureGrammarCache.has(t)||this._ensureGrammarCache.set(t,this._doLoadSingleGrammar(t)),this._ensureGrammarCache.get(t)}async _doLoadSingleGrammar(t){const n=await this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}async addGrammar(t,n=[],r=0,o=null){return this._syncRegistry.addGrammar(t,n),await this._grammarForScopeName(t.scopeName,r,o)}_grammarForScopeName(t,n=0,r=null,o=null,i=null){return this._syncRegistry.grammarForScopeName(t,n,r,o,i)}};const Vm=On.NULL,ve={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class ot{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&ve.LANGUAGEID_MASK)>>>ve.LANGUAGEID_OFFSET}static getTokenType(t){return(t&ve.TOKEN_TYPE_MASK)>>>ve.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&ve.FONT_STYLE_MASK)>>>ve.FONT_STYLE_OFFSET}static getForeground(t){return(t&ve.FOREGROUND_MASK)>>>ve.FOREGROUND_OFFSET}static getBackground(t){return(t&ve.BACKGROUND_MASK)>>>ve.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&ve.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,o,i,s){let l=ot.getLanguageId(t),a=ot.getTokenType(t),c=ot.getFontStyle(t),u=ot.getForeground(t),f=ot.getBackground(t);const d=ot.containsBalancedBrackets(t)?1:0;return n!==0&&(l=n),r!==0&&(a=r===8?0:r),o!==Ge.NotSet&&(c=o),i!==0&&(u=i),s!==0&&(f=s),(l<<ve.LANGUAGEID_OFFSET|a<<ve.TOKEN_TYPE_OFFSET|c<<ve.FONT_STYLE_OFFSET|d<<ve.BALANCED_BRACKETS_OFFSET|u<<ve.FOREGROUND_OFFSET|f<<ve.BACKGROUND_OFFSET)>>>0}}function Hr(e,t=!1){var i;const n=e.split(/(\r?\n)/g);let r=0;const o=[];for(let s=0;s<n.length;s+=2){const l=t?n[s]+(n[s+1]||""):n[s];o.push([l,r]),r+=n[s].length,r+=((i=n[s+1])==null?void 0:i.length)||0}return o}function ec(e){return!e||["plaintext","txt","text","plain"].includes(e)}function tc(e){return e==="ansi"||ec(e)}function nc(e){return e==="none"}function rc(e){return nc(e)}function oc(e,t){var r;if(!t)return e;e.properties||(e.properties={}),(r=e.properties).class||(r.class=[]),typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const o of n)o&&!e.properties.class.includes(o)&&e.properties.class.push(o);return e}function Bm(e,t){let n=0;const r=[];for(const o of t)o>n&&r.push({...e,content:e.content.slice(n,o),offset:e.offset+n}),n=o;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function jm(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,o)=>r-o);return n.length?e.map(r=>r.flatMap(o=>{const i=n.filter(s=>o.offset<s&&s<o.offset+o.content.length).map(s=>s-o.offset).sort((s,l)=>s-l);return i.length?Bm(o,i):o})):e}function At(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function ic(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&Ge.Italic&&(t["font-style"]="italic"),e.fontStyle&Ge.Bold&&(t["font-weight"]="bold"),e.fontStyle&Ge.Underline&&(t["text-decoration"]="underline")),t}function sc(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function Fm(e){const t=Hr(e,!0).map(([o])=>o);function n(o){let i=o,s=0;for(const l of t){if(i<l.length)break;i-=l.length,s++}return{line:s,character:i}}function r(o,i){let s=0;for(let l=0;l<o;l++)s+=t[l].length;return s+=i,s}return{lines:t,indexToPos:n,posToIndex:r}}var Ct=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],lo={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function Hm(e,t){const n=e.indexOf("\x1B[",t);if(n!==-1){const r=e.indexOf("m",n);return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function Vs(e,t){let n=1;const r=e[t+n++];let o;if(r==="2"){const i=[e[t+n++],e[t+n++],e[t+n]].map(s=>Number.parseInt(s));i.length===3&&!i.some(s=>Number.isNaN(s))&&(o={type:"rgb",rgb:i})}else if(r==="5"){const i=Number.parseInt(e[t+n]);Number.isNaN(i)||(o={type:"table",index:Number(i)})}return[n,o]}function $m(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],o=Number.parseInt(r);if(!Number.isNaN(o))if(o===0)t.push({type:"resetAll"});else if(o<=9)lo[o]&&t.push({type:"setDecoration",value:lo[o]});else if(o<=29){const i=lo[o-20];i&&t.push({type:"resetDecoration",value:i})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Ct[o-30]}});else if(o===38){const[i,s]=Vs(e,n);s&&t.push({type:"setForegroundColor",value:s}),n+=i}else if(o===39)t.push({type:"resetForegroundColor"});else if(o<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Ct[o-40]}});else if(o===48){const[i,s]=Vs(e,n);s&&t.push({type:"setBackgroundColor",value:s}),n+=i}else o===49?t.push({type:"resetBackgroundColor"}):o>=90&&o<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Ct[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Ct[o-100+8]}})}return t}function Um(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const s=Hm(r,i),l=s.sequence?r.substring(i,s.startPosition):r.substring(i);if(l.length>0&&o.push({value:l,foreground:e,background:t,decorations:new Set(n)}),s.sequence){const a=$m(s.sequence);for(const c of a)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of a)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}i=s.position}while(i<r.length);return o}}}var Gm={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function Wm(e=Gm){function t(l){return e[l]}function n(l){return`#${l.map(a=>Math.max(0,Math.min(a,255)).toString(16).padStart(2,"0")).join("")}`}let r;function o(){if(r)return r;r=[];for(let c=0;c<Ct.length;c++)r.push(t(Ct[c]));let l=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let f=0;f<6;f++)r.push(n([l[c],l[u],l[f]]));let a=8;for(let c=0;c<24;c++,a+=10)r.push(n([a,a,a]));return r}function i(l){return o()[l]}function s(l){switch(l.type){case"named":return t(l.name);case"rgb":return n(l.rgb);case"table":return i(l.index)}}return{value:s}}function qm(e,t,n){const r={...e.colorReplacements,...n==null?void 0:n.colorReplacements},o=Hr(t),i=Wm(Object.fromEntries(Ct.map(l=>{var a;return[l,(a=e.colors)==null?void 0:a[`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`]]}))),s=Um();return o.map(l=>s.parse(l[0]).map(a=>{let c,u;a.decorations.has("reverse")?(c=a.background?i.value(a.background):e.bg,u=a.foreground?i.value(a.foreground):e.fg):(c=a.foreground?i.value(a.foreground):e.fg,u=a.background?i.value(a.background):void 0),c=At(c,r),u=At(u,r),a.decorations.has("dim")&&(c=Km(c));let f=Ge.None;return a.decorations.has("bold")&&(f|=Ge.Bold),a.decorations.has("italic")&&(f|=Ge.Italic),a.decorations.has("underline")&&(f|=Ge.Underline),{content:a.value,offset:l[1],color:c,bgColor:u,fontStyle:f}}))}function Km(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function Ri(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(ec(r)||nc(o))return Hr(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:i,colorMap:s}=e.setTheme(o);if(r==="ansi")return qm(i,t,n);const l=e.getLanguage(r);return zm(t,l,i,s,n)}function zm(e,t,n,r,o){const i={...n.colorReplacements,...o==null?void 0:o.colorReplacements},{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:l=500}=o,a=Hr(e);let c=Vm,u=[];const f=[];for(let d=0,p=a.length;d<p;d++){const[h,b]=a[d];if(h===""){u=[],f.push([]);continue}if(s>0&&h.length>=s){u=[],f.push([{content:h,offset:b,color:"",fontStyle:0}]);continue}let E,P,S;o.includeExplanation&&(E=t.tokenizeLine(h,c),P=E.tokens,S=0);const v=t.tokenizeLine2(h,c,l),R=v.tokens.length/2;for(let T=0;T<R;T++){const A=v.tokens[2*T],V=T+1<R?v.tokens[2*T+2]:h.length;if(A===V)continue;const K=v.tokens[2*T+1],G=At(r[ot.getForeground(K)],i),H=ot.getFontStyle(K),X={content:h.substring(A,V),offset:b+A,color:G,fontStyle:H};if(o.includeExplanation){X.explanation=[];let Z=0;for(;A+Z<V;){const te=P[S],_e=h.substring(te.startIndex,te.endIndex);Z+=_e.length,X.explanation.push({content:_e,scopes:Jm(n,te.scopes)}),S+=1}}u.push(X)}f.push(u),u=[],c=v.ruleStack}return f}function Jm(e,t){const n=[];for(let r=0,o=t.length;r<o;r++){const i=t.slice(0,r),s=t[r];n[r]={scopeName:s,themeMatches:Xm(e,s,i)}}return n}function Bs(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function Ym(e,t,n,r){if(!Bs(e,n))return!1;let o=t.length-1,i=r.length-1;for(;o>=0&&i>=0;)Bs(t[o],r[i])&&(o-=1),i-=1;return o===-1}function Xm(e,t,n){const r=[];let o=0;for(let i=0,s=e.settings.length;i<s;i++){const l=e.settings[i];let a;if(typeof l.scope=="string")a=l.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(l.scope))a=l.scope;else continue;for(let c=0,u=a.length;c<u;c++){const d=a[c].split(/ /),p=d[d.length-1],h=d.slice(0,d.length-1);Ym(p,h,t,n)&&(r[o++]=l,c=u)}}return r}function lc(e,t,n){const r=Object.entries(n.themes).filter(s=>s[1]).map(s=>({color:s[0],theme:s[1]})),o=Qm(...r.map(s=>Ri(e,t,{...n,theme:s.theme})));return o[0].map((s,l)=>s.map((a,c)=>{const u={content:a.content,variants:{},offset:a.offset};return o.forEach((f,d)=>{const{content:p,explanation:h,offset:b,...E}=f[l][c];u.variants[r[d].color]=E}),u}))}function Qm(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const o=e.map(a=>a[r]),i=t.map(()=>[]);t.forEach((a,c)=>a.push(i[c]));const s=o.map(()=>0),l=o.map(a=>a[0]);for(;l.every(a=>a);){const a=Math.min(...l.map(c=>c.content.length));for(let c=0;c<n;c++){const u=l[c];u.content.length===a?(i[c].push(u),s[c]+=1,l[c]=o[c][s[c]]):(i[c].push({...u,content:u.content.slice(0,a)}),l[c]={...u,content:u.content.slice(a),offset:u.offset+a})}}}return t}class Ee extends Error{constructor(t){super(t),this.name="ShikiError"}}function Pr(e,t,n){let r,o,i,s,l;if("themes"in n){const{defaultColor:a="light",cssVariablePrefix:c="--shiki-",colorReplacements:u}=n,f=Object.entries(n.themes).filter(b=>b[1]).map(b=>({color:b[0],theme:b[1]})).sort((b,E)=>b.color===a?-1:E.color===a?1:0);if(f.length===0)throw new Ee("`themes` option must not be empty");const d=lc(e,t,n);if(a&&!f.find(b=>b.color===a))throw new Ee(`\`themes\` option must contain the defaultColor key \`${a}\``);const p=f.map(b=>e.getTheme(b.theme)),h=f.map(b=>b.color);i=d.map(b=>b.map(E=>Zm(E,h,c,a))),o=f.map((b,E)=>(E===0&&a?"":`${c+b.color}:`)+(At(p[E].fg,u)||"inherit")).join(";"),r=f.map((b,E)=>(E===0&&a?"":`${c+b.color}-bg:`)+(At(p[E].bg,u)||"inherit")).join(";"),s=`shiki-themes ${p.map(b=>b.name).join(" ")}`,l=a?void 0:[o,r].join(";")}else if("theme"in n){const{colorReplacements:a}=n;i=Ri(e,t,n);const c=e.getTheme(n.theme);r=At(c.bg,a),o=At(c.fg,a),s=c.name}else throw new Ee("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:o,bg:r,themeName:s,rootStyle:l}}function Zm(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(a=>ic(e.variants[a])),s=new Set(i.flatMap(a=>Object.keys(a))),l=i.reduce((a,c,u)=>{for(const f of s){const d=c[f]||"inherit";if(u===0&&r)a[f]=d;else{const p=f==="color"?"":f==="background-color"?"-bg":`-${f}`,h=n+t[u]+(f==="color"?"":p);a[f]?a[f]+=`;${h}:${d}`:a[f]=`${h}:${d}`}}return a},{});return o.htmlStyle=r?sc(l):Object.values(l).join(";"),o}function e_(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let i=function(l){return typeof l=="number"?{...o.indexToPos(l),offset:l}:{...l,offset:o.posToIndex(l.line,l.character)}};const o=Fm(r.source),s=(r.options.decorations||[]).map(l=>({...l,start:i(l.start),end:i(l.end)}));n(s),e.set(r.meta,{decorations:s,converter:o,source:r.source})}return e.get(r.meta)}function n(r){for(let o=0;o<r.length;o++){const i=r[o];if(i.start.offset>i.end.offset)throw new Ee(`Invalid decoration range: ${JSON.stringify(i.start)} - ${JSON.stringify(i.end)}`);for(let s=o+1;s<r.length;s++){const l=r[s],a=i.start.offset<l.start.offset&&l.start.offset<i.end.offset,c=i.start.offset<l.end.offset&&l.end.offset<i.end.offset,u=l.start.offset<i.start.offset&&i.start.offset<l.end.offset,f=l.start.offset<i.end.offset&&i.end.offset<l.end.offset;if(a||c||u||f){if(c&&c||u&&f)continue;throw new Ee(`Decorations ${JSON.stringify(i.start)} and ${JSON.stringify(l.start)} intersect.`)}}}}return{name:"shiki:decorations",tokens(r){var l;if(!((l=this.options.decorations)!=null&&l.length))return;const i=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return jm(r,i)},code(r){var f;if(!((f=this.options.decorations)!=null&&f.length))return;const o=t(this),i=Array.from(r.children).filter(d=>d.type==="element"&&d.tagName==="span");if(i.length!==o.converter.lines.length)throw new Ee(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${o.converter.lines.length}). Failed to apply decorations.`);function s(d,p,h,b){const E=i[d];let P="",S=-1,v=-1;function R(A){return A.type==="text"?A.value:A.type==="element"?A.children.map(R).join(""):""}if(p===0&&(S=0),h===0&&(v=0),h===Number.POSITIVE_INFINITY&&(v=E.children.length),S===-1||v===-1)for(let A=0;A<E.children.length;A++)P+=R(E.children[A]),S===-1&&P.length===p&&(S=A+1),v===-1&&P.length===h&&(v=A+1);if(S===-1)throw new Ee(`Failed to find start index for decoration ${JSON.stringify(b.start)}`);if(v===-1)throw new Ee(`Failed to find end index for decoration ${JSON.stringify(b.end)}`);const T=E.children.slice(S,v);if(!b.alwaysWrap&&T.length===E.children.length)a(E,b,"line");else if(!b.alwaysWrap&&T.length===1&&T[0].type==="element")a(T[0],b,"token");else{const A={type:"element",tagName:"span",properties:{},children:T};a(A,b,"wrapper"),E.children.splice(S,T.length,A)}}function l(d,p){i[d]=a(i[d],p,"line")}function a(d,p,h){var P;const b=p.properties||{},E=p.transform||(S=>S);return d.tagName=p.tagName||"span",d.properties={...d.properties,...b,class:d.properties.class},(P=p.properties)!=null&&P.class&&oc(d,p.properties.class),d=E(d,h)||d,d}const c=[],u=o.decorations.sort((d,p)=>p.start.offset-d.start.offset);for(const d of u){const{start:p,end:h}=d;if(p.line===h.line)s(p.line,p.character,h.character,d);else if(p.line<h.line){s(p.line,p.character,Number.POSITIVE_INFINITY,d);for(let b=p.line+1;b<h.line;b++)c.unshift(()=>l(b,d));s(h.line,0,h.character,d)}}c.forEach(d=>d())}}}const t_=[e_()];function Ar(e){return[...e.transformers||[],...t_]}function Cr(e,t,n,r={meta:{},options:n,codeToHast:(o,i)=>Cr(e,o,i),codeToTokens:(o,i)=>Pr(e,o,i)}){var d,p;let o=t;for(const h of Ar(n))o=((d=h.preprocess)==null?void 0:d.call(r,o,n))||o;let{tokens:i,fg:s,bg:l,themeName:a,rootStyle:c}=Pr(e,o,n);const{mergeWhitespaces:u=!0}=n;u===!0?i=r_(i):u==="never"&&(i=o_(i));const f={...r,get source(){return o}};for(const h of Ar(n))i=((p=h.tokens)==null?void 0:p.call(f,i))||i;return n_(i,{...n,fg:s,bg:l,themeName:a,rootStyle:c},f)}function n_(e,t,n){var f,d,p;const r=Ar(t),o=[],i={type:"root",children:[]};let s={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([h])=>!h.startsWith("_")))},children:[]},l={type:"element",tagName:"code",properties:{},children:o};const a=[],c={...n,addClassToHast:oc,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return i},get pre(){return s},get code(){return l},get lines(){return a}};e.forEach((h,b)=>{var S,v;b&&o.push({type:"text",value:`
26
+ `});let E={type:"element",tagName:"span",properties:{class:"line"},children:[]},P=0;for(const R of h){let T={type:"element",tagName:"span",properties:{},children:[{type:"text",value:R.content}]};const A=R.htmlStyle||sc(ic(R));A&&(T.properties.style=A);for(const V of r)T=((S=V==null?void 0:V.span)==null?void 0:S.call(c,T,b+1,P,E))||T;E.children.push(T),P+=R.content.length}for(const R of r)E=((v=R==null?void 0:R.line)==null?void 0:v.call(c,E,b+1))||E;a.push(E),o.push(E)});for(const h of r)l=((f=h==null?void 0:h.code)==null?void 0:f.call(c,l))||l;s.children.push(l);for(const h of r)s=((d=h==null?void 0:h.pre)==null?void 0:d.call(c,s))||s;i.children.push(s);let u=i;for(const h of r)u=((p=h==null?void 0:h.root)==null?void 0:p.call(c,u))||u;return u}function r_(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((i,s)=>{const a=!(i.fontStyle&&i.fontStyle&Ge.Underline);a&&i.content.match(/^\s+$/)&&t[s+1]?(o||(o=i.offset),r+=i.content):r?(a?n.push({...i,offset:o,content:r+i.content}):n.push({content:r,offset:o},i),o=0,r=""):n.push(i)}),n})}function o_(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,o,i,s]=r;if(!o&&!s)return n;const l=[{...n,offset:n.offset+o.length,content:i}];return o&&l.unshift({content:o,offset:n.offset}),s&&l.push({content:s,offset:n.offset+o.length+i.length}),l}))}const i_=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Dn{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Dn.prototype.property={};Dn.prototype.normal={};Dn.prototype.space=null;function ac(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new Dn(n,r,t)}function Ho(e){return e.toLowerCase()}class He{constructor(t,n){this.property=t,this.attribute=n}}He.prototype.space=null;He.prototype.boolean=!1;He.prototype.booleanish=!1;He.prototype.overloadedBoolean=!1;He.prototype.number=!1;He.prototype.commaSeparated=!1;He.prototype.spaceSeparated=!1;He.prototype.commaOrSpaceSeparated=!1;He.prototype.mustUseProperty=!1;He.prototype.defined=!1;let s_=0;const z=Bt(),de=Bt(),cc=Bt(),I=Bt(),oe=Bt(),Zt=Bt(),De=Bt();function Bt(){return 2**++s_}var $o=Object.freeze({__proto__:null,boolean:z,booleanish:de,commaOrSpaceSeparated:De,commaSeparated:Zt,number:I,overloadedBoolean:cc,spaceSeparated:oe});const ao=Object.keys($o);class Ti extends He{constructor(t,n,r,o){let i=-1;if(super(t,n),js(this,"space",o),typeof r=="number")for(;++i<ao.length;){const s=ao[i];js(this,ao[i],(r&$o[s])===$o[s])}}}Ti.prototype.defined=!0;function js(e,t,n){n&&(e[t]=n)}const l_={}.hasOwnProperty;function un(e){const t={},n={};let r;for(r in e.properties)if(l_.call(e.properties,r)){const o=e.properties[r],i=new Ti(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Ho(r)]=r,n[Ho(i.attribute)]=r}return new Dn(t,n,e.space)}const uc=un({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),fc=un({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function dc(e,t){return t in e?e[t]:t}function pc(e,t){return dc(e,t.toLowerCase())}const hc=un({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:pc,properties:{xmlns:null,xmlnsXLink:null}}),mc=un({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:de,ariaAutoComplete:null,ariaBusy:de,ariaChecked:de,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:oe,ariaCurrent:null,ariaDescribedBy:oe,ariaDetails:null,ariaDisabled:de,ariaDropEffect:oe,ariaErrorMessage:null,ariaExpanded:de,ariaFlowTo:oe,ariaGrabbed:de,ariaHasPopup:null,ariaHidden:de,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:oe,ariaLevel:I,ariaLive:null,ariaModal:de,ariaMultiLine:de,ariaMultiSelectable:de,ariaOrientation:null,ariaOwns:oe,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:de,ariaReadOnly:de,ariaRelevant:null,ariaRequired:de,ariaRoleDescription:oe,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:de,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null}}),a_=un({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:pc,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Zt,acceptCharset:oe,accessKey:oe,action:null,allow:null,allowFullScreen:z,allowPaymentRequest:z,allowUserMedia:z,alt:null,as:null,async:z,autoCapitalize:null,autoComplete:oe,autoFocus:z,autoPlay:z,blocking:oe,capture:null,charSet:null,checked:z,cite:null,className:oe,cols:I,colSpan:null,content:null,contentEditable:de,controls:z,controlsList:oe,coords:I|Zt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:z,defer:z,dir:null,dirName:null,disabled:z,download:cc,draggable:de,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:z,formTarget:null,headers:oe,height:I,hidden:z,high:I,href:null,hrefLang:null,htmlFor:oe,httpEquiv:oe,id:null,imageSizes:null,imageSrcSet:null,inert:z,inputMode:null,integrity:null,is:null,isMap:z,itemId:null,itemProp:oe,itemRef:oe,itemScope:z,itemType:oe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:z,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:z,muted:z,name:null,nonce:null,noModule:z,noValidate:z,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:z,optimum:I,pattern:null,ping:oe,placeholder:null,playsInline:z,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:z,referrerPolicy:null,rel:oe,required:z,reversed:z,rows:I,rowSpan:I,sandbox:oe,scope:null,scoped:z,seamless:z,selected:z,shadowRootDelegatesFocus:z,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:de,src:null,srcDoc:null,srcLang:null,srcSet:null,start:I,step:null,style:null,tabIndex:I,target:null,title:null,translate:null,type:null,typeMustMatch:z,useMap:null,value:de,width:I,wrap:null,align:null,aLink:null,archive:oe,axis:null,background:null,bgColor:null,border:I,borderColor:null,bottomMargin:I,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:z,declare:z,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:z,noHref:z,noShade:z,noWrap:z,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:de,standby:null,summary:null,text:null,topMargin:I,valueType:null,version:null,vAlign:null,vLink:null,vSpace:I,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:z,disableRemotePlayback:z,prefix:null,property:null,results:I,security:null,unselectable:null}}),c_=un({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:dc,properties:{about:De,accentHeight:I,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:I,amplitude:I,arabicForm:null,ascent:I,attributeName:null,attributeType:null,azimuth:I,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:I,by:null,calcMode:null,capHeight:I,className:oe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:I,diffuseConstant:I,direction:null,display:null,dur:null,divisor:I,dominantBaseline:null,download:z,dx:null,dy:null,edgeMode:null,editable:null,elevation:I,enableBackground:null,end:null,event:null,exponent:I,externalResourcesRequired:null,fill:null,fillOpacity:I,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Zt,g2:Zt,glyphName:Zt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:I,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:I,horizOriginX:I,horizOriginY:I,id:null,ideographic:I,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:I,k:I,k1:I,k2:I,k3:I,k4:I,kernelMatrix:De,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:I,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:I,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:I,overlineThickness:I,paintOrder:null,panose1:null,path:null,pathLength:I,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:oe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:De,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:De,rev:De,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:De,requiredFeatures:De,requiredFonts:De,requiredFormats:De,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:I,specularExponent:I,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:I,strikethroughThickness:I,string:null,stroke:null,strokeDashArray:De,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:I,strokeOpacity:I,strokeWidth:null,style:null,surfaceScale:I,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:De,tabIndex:I,tableValues:null,target:null,targetX:I,targetY:I,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:De,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:I,underlineThickness:I,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:I,values:null,vAlphabetic:I,vMathematical:I,vectorEffect:null,vHanging:I,vIdeographic:I,version:null,vertAdvY:I,vertOriginX:I,vertOriginY:I,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:I,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),u_=/^data[-\w.:]+$/i,Fs=/-[a-z]/g,f_=/[A-Z]/g;function d_(e,t){const n=Ho(t);let r=t,o=He;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&u_.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Fs,h_);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Fs.test(i)){let s=i.replace(f_,p_);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}o=Ti}return new o(r,t)}function p_(e){return"-"+e.toLowerCase()}function h_(e){return e.charAt(1).toUpperCase()}const m_=ac([fc,uc,hc,mc,a_],"html"),_c=ac([fc,uc,hc,mc,c_],"svg"),Hs={}.hasOwnProperty;function __(e,t){const n=t||{};function r(o,...i){let s=r.invalid;const l=r.handlers;if(o&&Hs.call(o,e)){const a=String(o[e]);s=Hs.call(l,a)?l[a]:r.unknown}if(s)return s.call(this,o,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function g_(e,t){if(e=e.replace(t.subset?y_(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(o,i,s){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,s.charCodeAt(i+2),t)}function r(o,i,s){return t.format(o.charCodeAt(0),s.charCodeAt(i+1),t)}}function y_(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function b_(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function v_(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const E_=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],co={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},w_=["cent","copy","divide","gt","lt","not","para","times"],gc={}.hasOwnProperty,Uo={};let Jn;for(Jn in co)gc.call(co,Jn)&&(Uo[co[Jn]]=Jn);function R_(e,t,n,r){const o=String.fromCharCode(e);if(gc.call(Uo,o)){const i=Uo[o],s="&"+i;return n&&E_.includes(i)&&!w_.includes(i)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?s:s+";"}return""}function T_(e,t,n){let r=b_(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=R_(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const i=v_(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function en(e,t){return g_(e,Object.assign({format:T_},t))}function P_(e,t,n,r){return r.settings.bogusComments?"<?"+en(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"<!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,o)+"-->";function o(i){return en(i,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function A_(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function $s(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;o!==-1;)r++,o=n.indexOf(t,o+t.length);return r}function C_(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function S_(e){return e.join(" ").trim()}const L_=/[ \t\n\f\r]/g;function Pi(e){return typeof e=="object"?e.type==="text"?Us(e.value):!1:Us(e)}function Us(e){return e.replace(L_,"")===""}const me=bc(1),yc=bc(-1),O_=[];function bc(e){return t;function t(n,r,o){const i=n?n.children:O_;let s=(r||0)+e,l=i[s];if(!o)for(;l&&Pi(l);)s+=e,l=i[s];return l}}const I_={}.hasOwnProperty;function vc(e){return t;function t(n,r,o){return I_.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const Ai=vc({body:k_,caption:uo,colgroup:uo,dd:V_,dt:M_,head:uo,html:x_,li:D_,optgroup:B_,option:j_,p:N_,rp:Gs,rt:Gs,tbody:H_,td:Ws,tfoot:$_,th:Ws,thead:F_,tr:U_});function uo(e,t,n){const r=me(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Pi(r.value.charAt(0)))}function x_(e,t,n){const r=me(n,t);return!r||r.type!=="comment"}function k_(e,t,n){const r=me(n,t);return!r||r.type!=="comment"}function N_(e,t,n){const r=me(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function D_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="li"}function M_(e,t,n){const r=me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function V_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Gs(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function B_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function j_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function F_(e,t,n){const r=me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function H_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function $_(e,t,n){return!me(n,t)}function U_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Ws(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const G_=vc({body:K_,colgroup:z_,head:q_,html:W_,tbody:J_});function W_(e){const t=me(e,-1);return!t||t.type!=="comment"}function q_(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const o=t[r];if(o.type==="element"&&(o.tagName==="title"||o.tagName==="base")){if(n.includes(o.tagName))return!1;n.push(o.tagName)}}return t.length>0}function K_(e){const t=me(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Pi(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function z_(e,t,n){const r=yc(n,t),o=me(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Ai(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function J_(e,t,n){const r=yc(n,t),o=me(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Ai(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const Yn={name:[[`
27
27
  \f\r &/=>`.split(""),`
28
28
  \f\r "&'/=>\``.split("")],[`\0
29
29
  \f\r "&'/<=>`.split(""),`\0
@@ -31,6 +31,6 @@ var Cc=Object.defineProperty;var Sc=(e,t,n)=>t in e?Cc(e,t,{enumerable:!0,config
31
31
  \f\r &>`.split(""),`\0
32
32
  \f\r "&'<=>\``.split("")],[`\0
33
33
  \f\r "&'<=>\``.split(""),`\0
34
- \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Y_(e,t,n,r){const o=r.schema,i=o.space==="svg"?!1:r.settings.omitOptionalTags;let s=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const l=[];let a;o.space==="html"&&e.tagName==="svg"&&(r.schema=_c);const c=X_(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(s=!1),(c||!i||!G_(e,t,n))&&(l.push("<",e.tagName,c?" "+c:""),s&&(o.space==="svg"||r.settings.closeSelfClosing)&&(a=c.charAt(c.length-1),(!r.settings.tightSelfClosing||a==="/"||a&&a!=='"'&&a!=="'")&&l.push(" "),l.push("/")),l.push(">")),l.push(u),!s&&(!i||!Pi(e,t,n))&&l.push("</"+e.tagName+">"),l.join("")}function X_(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const i=Q_(e,o,t[o]);i&&n.push(i)}}for(;++r<n.length;){const i=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&i!=='"'&&i!=="'"&&(n[r]+=" ")}return n.join("")}function Q_(e,t,n){const r=d_(e.schema,t),o=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=e.settings.allowDangerousCharacters?0:1;let s=e.quote,l;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean&&typeof n!="string")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const a=Zt(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Jn.name[o][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?C_:S_)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?a:(e.settings.preferUnquoted&&(l=Zt(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Jn.unquoted[o][i]}))),l!==n&&(e.settings.quoteSmart&&Hs(n,s)>Hs(n,e.alternative)&&(s=e.alternative),l=s+Zt(n,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?Jn.single:Jn.double)[o][i],attribute:!0}))+s),a+(l&&"="+l))}function Ec(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Zt(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function Z_(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Ec(e,t,n,r)}function eg(e,t,n,r){return r.all(e)}const tg=__("type",{invalid:ng,unknown:rg,handlers:{comment:P_,doctype:A_,element:Y_,raw:Z_,root:eg,text:Ec}});function ng(e){throw new Error("Expected node, not `"+e+"`")}function rg(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const og={},ig={},sg=[];function lg(e,t){const n=t||og,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:ag,all:cg,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||i_,characterReferences:n.characterReferences||ig,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?_c:m_,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function ag(e,t,n){return tg(e,t,n,this)}function cg(e){const t=[],n=e&&e.children||sg;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function ug(e,t,n){var i;const r={meta:{},options:n,codeToHast:(s,l)=>Ar(e,s,l),codeToTokens:(s,l)=>Tr(e,s,l)};let o=lg(Ar(e,t,n,r));for(const s of Pr(n))o=((i=s.postprocess)==null?void 0:i.call(r,o,n))||o;return o}async function fg(e){let t,n;const r={};function o(d){n=d,r.HEAPU8=new Uint8Array(d),r.HEAPU32=new Uint32Array(d)}function i(){return typeof performance<"u"?performance.now():Date.now()}function s(d,h,p){r.HEAPU8.copyWithin(d,h,h+p)}function l(){return 2147483648}function a(d){try{return t.grow(d-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}function c(d){const h=r.HEAPU8.length;d=d>>>0;const p=l();if(d>p)return!1;const v=(E,P)=>E+(P-E%P)%P;for(let E=1;E<=4;E*=2){let P=h*(1+.2/E);P=Math.min(P,d+100663296);const S=Math.min(p,v(Math.max(d,P),65536));if(a(S))return!0}return!1}const u={emscripten_get_now:i,emscripten_memcpy_big:s,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const h=await e({env:u,wasi_snapshot_preview1:u});t=h.memory,o(t.buffer),Object.assign(r,h)}return await f(),r}let be=null,dg=!1;function pg(e){throw new Ee(e.UTF8ToString(e.getLastOnigError()))}class Hr{constructor(t){y(this,"utf16Length");y(this,"utf8Length");y(this,"utf16Value");y(this,"utf8Value");y(this,"utf16OffsetToUtf8");y(this,"utf8OffsetToUtf16");const n=t.length,r=Hr._utf8ByteLength(t),o=r!==n,i=o?new Uint32Array(n+1):null;o&&(i[n]=r);const s=o?new Uint32Array(r+1):null;o&&(s[r]=n);const l=new Uint8Array(r);let a=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,d=!1;if(u>=55296&&u<=56319&&c+1<n){const h=t.charCodeAt(c+1);h>=56320&&h<=57343&&(f=(u-55296<<10)+65536|h-56320,d=!0)}o&&(i[c]=a,d&&(i[c+1]=a),f<=127?s[a+0]=c:f<=2047?(s[a+0]=c,s[a+1]=c):f<=65535?(s[a+0]=c,s[a+1]=c,s[a+2]=c):(s[a+0]=c,s[a+1]=c,s[a+2]=c,s[a+3]=c)),f<=127?l[a++]=f:f<=2047?(l[a++]=192|(f&1984)>>>6,l[a++]=128|(f&63)>>>0):f<=65535?(l[a++]=224|(f&61440)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0):(l[a++]=240|(f&1835008)>>>18,l[a++]=128|(f&258048)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=l,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=s}static _utf8ByteLength(t){let n=0;for(let r=0,o=t.length;r<o;r++){const i=t.charCodeAt(r);let s=i,l=!1;if(i>=55296&&i<=56319&&r+1<o){const a=t.charCodeAt(r+1);a>=56320&&a<=57343&&(s=(i-55296<<10)+65536|a-56320,l=!0)}s<=127?n+=1:s<=2047?n+=2:s<=65535?n+=3:n+=4,l&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const Ie=class Ie{constructor(t){y(this,"id",++Ie.LAST_ID);y(this,"_onigBinding");y(this,"content");y(this,"utf16Length");y(this,"utf8Length");y(this,"utf16OffsetToUtf8");y(this,"utf8OffsetToUtf16");y(this,"ptr");if(!be)throw new Ee("Must invoke loadWasm first.");this._onigBinding=be,this.content=t;const n=new Hr(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Ie._sharedPtrInUse?(Ie._sharedPtr||(Ie._sharedPtr=be.omalloc(1e4)),Ie._sharedPtrInUse=!0,be.HEAPU8.set(n.utf8Value,Ie._sharedPtr),this.ptr=Ie._sharedPtr):this.ptr=n.createString(be)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===Ie._sharedPtr?Ie._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};y(Ie,"LAST_ID",0),y(Ie,"_sharedPtr",0),y(Ie,"_sharedPtrInUse",!1);let Cr=Ie;class hg{constructor(t){y(this,"_onigBinding");y(this,"_ptr");if(!be)throw new Ee("Must invoke loadWasm first.");const n=[],r=[];for(let l=0,a=t.length;l<a;l++){const c=new Hr(t[l]);n[l]=c.createString(be),r[l]=c.utf8Length}const o=be.omalloc(4*t.length);be.HEAPU32.set(n,o/4);const i=be.omalloc(4*t.length);be.HEAPU32.set(r,i/4);const s=be.createOnigScanner(o,i,t.length);for(let l=0,a=t.length;l<a;l++)be.ofree(n[l]);be.ofree(i),be.ofree(o),s===0&&pg(be),this._onigBinding=be,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=dg,i=0;if(typeof r=="number"?(r&8&&(o=!0),i=r):typeof r=="boolean"&&(o=r),typeof t=="string"){t=new Cr(t);const s=this._findNextMatchSync(t,n,o,i);return t.dispose(),s}return this._findNextMatchSync(t,n,o,i)}_findNextMatchSync(t,n,r,o){const i=this._onigBinding;let s;if(r?s=i.findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o):s=i.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o),s===0)return null;const l=i.HEAPU32;let a=s/4;const c=l[a++],u=l[a++],f=[];for(let d=0;d<u;d++){const h=t.convertUtf8OffsetToUtf16(l[a++]),p=t.convertUtf8OffsetToUtf16(l[a++]);f[d]={start:h,end:p,length:p-h}}return{index:c,captureIndices:f}}}function mg(e){return typeof e.instantiator=="function"}function _g(e){return typeof e.default=="function"}function gg(e){return typeof e.data<"u"}function yg(e){return typeof Response<"u"&&e instanceof Response}function bg(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let Yn;function vg(e){if(Yn)return Yn;async function t(){be=await fg(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),mg(r)?r=await r.instantiator(n):_g(r)?r=await r.default(n):(gg(r)&&(r=r.data),yg(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await wg(r)(n):r=await Rg(r)(n):bg(r)&&(r=await Eg(r)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Yn=t(),Yn}function Eg(e){return t=>WebAssembly.instantiate(e,t)}function wg(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Rg(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function Tg(e){return new Cr(e)}function Pg(e){return new hg(e)}const Ws={light:"#333333",dark:"#bbbbbb"},qs={light:"#fffffe",dark:"#1e1e1e"},Ks="__shiki_resolved";function wc(e){var l,a,c,u,f;if(e!=null&&e[Ks])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type="dark"),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:n,fg:r}=t;if(!n||!r){const d=t.settings?t.settings.find(h=>!h.name&&!h.scope):void 0;(l=d==null?void 0:d.settings)!=null&&l.foreground&&(r=d.settings.foreground),(a=d==null?void 0:d.settings)!=null&&a.background&&(n=d.settings.background),!r&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(r=t.colors["editor.foreground"]),!n&&((u=t==null?void 0:t.colors)!=null&&u["editor.background"])&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?Ws.light:Ws.dark),n||(n=t.type==="light"?qs.light:qs.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let o=0;const i=new Map;function s(d){var p;if(i.has(d))return i.get(d);o+=1;const h=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(p=t.colorReplacements)!=null&&p[`#${h}`]?s(d):(i.set(d,h),h)}t.settings=t.settings.map(d=>{var E,P;const h=((E=d.settings)==null?void 0:E.foreground)&&!d.settings.foreground.startsWith("#"),p=((P=d.settings)==null?void 0:P.background)&&!d.settings.background.startsWith("#");if(!h&&!p)return d;const v={...d,settings:{...d.settings}};if(h){const S=s(d.settings.foreground);t.colorReplacements[S]=d.settings.foreground,v.settings.foreground=S}if(p){const S=s(d.settings.background);t.colorReplacements[S]=d.settings.background,v.settings.background=S}return v});for(const d of Object.keys(t.colors||{}))if((d==="editor.foreground"||d==="editor.background"||d.startsWith("terminal.ansi"))&&!((f=t.colors[d])!=null&&f.startsWith("#"))){const h=s(t.colors[d]);t.colorReplacements[h]=t.colors[d],t.colors[d]=h}return Object.defineProperty(t,Ks,{enumerable:!1,writable:!1,value:!0}),t}class Ag extends Mm{constructor(n,r,o){super(n);y(this,"_resolver");y(this,"_themes");y(this,"_langs");y(this,"_resolvedThemes",{});y(this,"_resolvedGrammars",{});y(this,"_langMap",{});y(this,"_langGraph",new Map);y(this,"alias",{});this._resolver=n,this._themes=r,this._langs=o,r.forEach(i=>this.loadTheme(i)),o.forEach(i=>this.loadLanguage(i))}getTheme(n){return typeof n=="string"?this._resolvedThemes[n]:this.loadTheme(n)}loadTheme(n){const r=wc(n);return r.name&&(this._resolvedThemes[r.name]=r),r}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(n){if(this.alias[n]){const r=new Set([n]);for(;this.alias[n];){if(n=this.alias[n],r.has(n))throw new Ee(`Circular alias \`${Array.from(r).join(" -> ")} -> ${n}\``);r.add(n)}}return this._resolvedGrammars[n]}async loadLanguage(n){var s,l,a,c;if(this.getGrammar(n.name))return;const r=new Set(Object.values(this._langMap).filter(u=>{var f;return(f=u.embeddedLangsLazy)==null?void 0:f.includes(n.name)}));this._resolver.addLanguage(n);const o={balancedBracketSelectors:n.balancedBracketSelectors||["*"],unbalancedBracketSelectors:n.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(n.scopeName,n);const i=await this.loadGrammarWithConfiguration(n.scopeName,1,o);if(this._resolvedGrammars[n.name]=i,n.aliases&&n.aliases.forEach(u=>{this.alias[u]=n.name}),r.size)for(const u of r)delete this._resolvedGrammars[u.name],(l=(s=this._syncRegistry)==null?void 0:s._injectionGrammars)==null||l.delete(u.scopeName),(c=(a=this._syncRegistry)==null?void 0:a._grammars)==null||c.delete(u.scopeName),await this.loadLanguage(this._langMap[u.name])}async init(){this._themes.map(n=>this.loadTheme(n)),await this.loadLanguages(this._langs)}async loadLanguages(n){for(const i of n)this.resolveEmbeddedLanguages(i);const r=Array.from(this._langGraph.entries()),o=r.filter(([i,s])=>!s);if(o.length){const i=r.filter(([s,l])=>{var a;return l&&((a=l.embeddedLangs)==null?void 0:a.some(c=>o.map(([u])=>u).includes(c)))}).filter(s=>!o.includes(s));throw new Ee(`Missing languages ${o.map(([s])=>`\`${s}\``).join(", ")}, required by ${i.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[i,s]of r)this._resolver.addLanguage(s);for(const[i,s]of r)await this.loadLanguage(s)}getLoadedLanguages(){return Object.keys({...this._resolvedGrammars,...this.alias})}resolveEmbeddedLanguages(n){if(this._langMap[n.name]=n,this._langGraph.set(n.name,n),n.embeddedLangs)for(const r of n.embeddedLangs)this._langGraph.set(r,this._langMap[r])}}class Cg{constructor(t,n){y(this,"_langs",new Map);y(this,"_scopeToLang",new Map);y(this,"_injections",new Map);y(this,"_onigLibPromise");this._onigLibPromise=t,n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLibPromise}getLangRegistration(t){return this._langs.get(t)}async loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let o=1;o<=n.length;o++){const i=n.slice(0,o).join(".");r=[...r,...this._injections.get(i)||[]]}return r}}let Sg;async function Lg(e={}){async function t(E){return Promise.resolve(typeof E=="function"?E():E).then(P=>P.default||P)}async function n(E){return Array.from(new Set((await Promise.all(E.filter(P=>!ec(P)).map(async P=>await t(P).then(S=>Array.isArray(S)?S:[S])))).flat()))}const r=e.loadWasm||Sg,[o,i]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(E=>E.map(wc)),n(e.langs||[]),r?vg(r):void 0]),s=new Cg(Promise.resolve({createOnigScanner(E){return Pg(E)},createOnigString(E){return Tg(E)}}),i),l=new Ag(s,o,i);Object.assign(l.alias,e.langAlias),await l.init();let a;function c(E){const P=l.getGrammar(typeof E=="string"?E:E.name);if(!P)throw new Ee(`Language \`${E}\` not found, you may need to load it first`);return P}function u(E){if(E==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const P=l.getTheme(E);if(!P)throw new Ee(`Theme \`${E}\` not found, you may need to load it first`);return P}function f(E){const P=u(E);a!==E&&(l.setTheme(P),a=E);const S=l.getColorMap();return{theme:P,colorMap:S}}function d(){return l.getLoadedThemes()}function h(){return l.getLoadedLanguages()}async function p(...E){await l.loadLanguages(await n(E))}async function v(...E){await Promise.all(E.map(async P=>nc(P)?null:l.loadTheme(await t(P))))}return{setTheme:f,getTheme:u,getLanguage:c,getLoadedThemes:d,getLoadedLanguages:h,loadLanguage:p,loadTheme:v}}async function Og(e={}){const t=await Lg(e);return{codeToTokensBase:(n,r)=>wi(t,n,r),codeToTokensWithThemes:(n,r)=>lc(t,n,r),codeToTokens:(n,r)=>Tr(t,n,r),codeToHast:(n,r)=>Ar(t,n,r),codeToHtml:(n,r)=>ug(t,n,r),...t,getInternalContext:()=>t}}function Ig(e,t,n){async function r(o){function i(u){if(typeof u=="string"){if(ec(u))return[];const f=e[u];if(!f)throw new Ee(`Language \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}function s(u){if(nc(u))return"none";if(typeof u=="string"){const f=t[u];if(!f)throw new Ee(`Theme \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}const l=(o.themes??[]).map(u=>s(u)),a=(o.langs??[]).map(u=>i(u)),c=await Og({...o,themes:l,langs:a,loadWasm:n});return{...c,loadLanguage(...u){return c.loadLanguage(...u.map(i))},loadTheme(...u){return c.loadTheme(...u.map(s))}}}return r}const xg=Ig(Yh,Zh,Xh),Rc=We(),Tc=We();function kg(){return xg({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{Tc.value=e})}function Ng(e,t){return _t(()=>{var r;const n=((r=Rc.value)==null?void 0:r.colorMode)||"light";return Tc.value.codeToHtml(hu(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const Dg=["innerHTML"],Mg=Mt({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!1},transformRendered:{}},setup(e){const t=e,n=_t(()=>{const r=Ng(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,o)=>(ne(),Oe("pre",{class:kt(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,Dg))}});async function Vg(e){const t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return jg(await Bg(t))}async function Bg(e){const t=e.body.getReader(),n=+e.headers.get("Content-Length");if(n)return n;{let r=0;for(;;){const{done:o,value:i}=await t.read();if(o)return r;r+=i.length}}}function jg(e){const t=["Bytes","KB","MB","GB","TB"];if(e===0)return"0 Byte";const n=Math.floor(Math.log(e)/Math.log(1024));return`${Number.parseFloat((e/1024**n).toFixed(2))} ${t[n]}`}function Fg(e){return new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"numeric",second:"numeric",hour12:!0}).format(e)}function Hg(e){return gd(e)?new URL(e).origin:e}let $g;const fn=[];function Ug(e){if(fn.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&fn.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&fn.forEach(n=>n(t))},get(){return $g.value},configurable:!0}),()=>{fn.splice(fn.indexOf(e),1)}}const Gg={class:"relative n-bg-base flex flex-col"},Wg={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},qg={class:"mx-auto flex flex-col w-full"},Kg={key:0},zg=Se("div",null,"No scripts loaded.",-1),Jg=[zg],Yg={class:"space-y-3"},Xg={class:"flex items-center justify-between w-full mb-3"},Qg={class:"flex items-center gap-4"},Zg=["title","href"],ey=["src"],ty={class:"opacity-70"},ny={key:0},ry={class:"space-y-2"},oy={class:"opacity-40"},iy={key:0,class:"font-bold px-2 py-[2px] bg-green-50 text-green-700 rounded-lg"},sy={key:1,class:"font-bold px-2 py-[2px] bg-gray-100 text-gray-700 rounded-lg"},ly={key:2,class:"font-bold px-2 py-[2px] bg-red-100 text-red-700 rounded-lg"},ay={key:3,class:"font-bold px-2 py-[2px] bg-yellow-100 text-yellow-700 rounded-lg"},cy=Mt({__name:"app",async setup(e){let t,n;[t,n]=Yu(()=>kg()),await t,n();const r=We({}),o=Ke({});function i(s){r.value={...s};for(const l in s)o[l]||Vg(s[l].src).then(a=>{o[l]=a}).catch(()=>{o[l]=0})}return Ug(async s=>{Rc.value=s.devtools,s.host.nuxt.hooks.hook("scripts:updated",l=>{i(l.scripts)}),i(s.host.nuxt._scripts)}),(s,l)=>{const a=Kh,c=Mg;return ne(),Oe("div",Gg,[Se("div",Wg,[Se("main",qg,[Object.keys(ie(r)).length?Ft("",!0):(ne(),Oe("div",Kg,Jg)),Se("div",Yg,[(ne(!0),Oe(Pe,null,Wi(ie(r),(u,f)=>(ne(),Oe("div",{key:f,class:"w-full"},[Se("div",Xg,[Se("div",Qg,[Se("a",{class:"text-xl font-bold flex gap-2 items-center font-mono",title:u.src,target:"_blank",href:u.src},[Se("img",{src:`https://www.google.com/s2/favicons?domain=${ie(Hg)(u.src)}`,class:"w-4 h-4 rounded-lg"},null,8,ey),Se("div",null,at(u.key),1)],8,Zg),Se("div",ty,at(u.$script.status.value),1),ie(o)[u.key]?(ne(),Oe("div",ny,at(ie(o)[u.key]),1)):Ft("",!0)]),Se("div",null,[u.$script.status==="awaitingLoad"?(ne(),Me(a,{key:0,onClick:d=>u.$script.load()},{default:wn(()=>[dr(" Load ")]),_:2},1032,["onClick"])):u.$script.status==="loaded"?(ne(),Me(a,{key:1,onClick:d=>u.$script.remove()},{default:wn(()=>[dr(" Remove ")]),_:2},1032,["onClick"])):Ft("",!0)])]),Se("div",ry,[(ne(!0),Oe(Pe,null,Wi(u.events,(d,h)=>(ne(),Oe("div",{key:h,class:"flex gap-3 text-xs justify-start items-center"},[Se("div",oy,at(ie(Fg)(d.at)),1),d.type==="status"?(ne(),Oe(Pe,{key:0},[d.status==="loaded"?(ne(),Oe("div",iy,at(d.status),1)):d.status==="awaitingLoad"?(ne(),Oe("div",sy,at(d.status),1)):d.status==="removed"||d.status==="error"?(ne(),Oe("div",ly,at(d.status),1)):d.status==="loading"?(ne(),Oe("div",ay,at(d.status),1)):Ft("",!0)],64)):d.type==="fn-call"?(ne(),Me(c,{key:1,code:`${d.fn}(${d.args.map(p=>JSON.stringify(p,null,2)).join(", ")})`,lang:"javascript"},null,8,["code"])):Ft("",!0)]))),128))])]))),128))])])])])}}}),uy={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
34
+ \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Y_(e,t,n,r){const o=r.schema,i=o.space==="svg"?!1:r.settings.omitOptionalTags;let s=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const l=[];let a;o.space==="html"&&e.tagName==="svg"&&(r.schema=_c);const c=X_(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(s=!1),(c||!i||!G_(e,t,n))&&(l.push("<",e.tagName,c?" "+c:""),s&&(o.space==="svg"||r.settings.closeSelfClosing)&&(a=c.charAt(c.length-1),(!r.settings.tightSelfClosing||a==="/"||a&&a!=='"'&&a!=="'")&&l.push(" "),l.push("/")),l.push(">")),l.push(u),!s&&(!i||!Ai(e,t,n))&&l.push("</"+e.tagName+">"),l.join("")}function X_(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const i=Q_(e,o,t[o]);i&&n.push(i)}}for(;++r<n.length;){const i=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&i!=='"'&&i!=="'"&&(n[r]+=" ")}return n.join("")}function Q_(e,t,n){const r=d_(e.schema,t),o=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=e.settings.allowDangerousCharacters?0:1;let s=e.quote,l;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean&&typeof n!="string")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const a=en(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Yn.name[o][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?C_:S_)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?a:(e.settings.preferUnquoted&&(l=en(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Yn.unquoted[o][i]}))),l!==n&&(e.settings.quoteSmart&&$s(n,s)>$s(n,e.alternative)&&(s=e.alternative),l=s+en(n,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?Yn.single:Yn.double)[o][i],attribute:!0}))+s),a+(l&&"="+l))}function Ec(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:en(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function Z_(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Ec(e,t,n,r)}function eg(e,t,n,r){return r.all(e)}const tg=__("type",{invalid:ng,unknown:rg,handlers:{comment:P_,doctype:A_,element:Y_,raw:Z_,root:eg,text:Ec}});function ng(e){throw new Error("Expected node, not `"+e+"`")}function rg(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const og={},ig={},sg=[];function lg(e,t){const n=t||og,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:ag,all:cg,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||i_,characterReferences:n.characterReferences||ig,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?_c:m_,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function ag(e,t,n){return tg(e,t,n,this)}function cg(e){const t=[],n=e&&e.children||sg;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function ug(e,t,n){var i;const r={meta:{},options:n,codeToHast:(s,l)=>Cr(e,s,l),codeToTokens:(s,l)=>Pr(e,s,l)};let o=lg(Cr(e,t,n,r));for(const s of Ar(n))o=((i=s.postprocess)==null?void 0:i.call(r,o,n))||o;return o}async function fg(e){let t,n;const r={};function o(d){n=d,r.HEAPU8=new Uint8Array(d),r.HEAPU32=new Uint32Array(d)}function i(){return typeof performance<"u"?performance.now():Date.now()}function s(d,p,h){r.HEAPU8.copyWithin(d,p,p+h)}function l(){return 2147483648}function a(d){try{return t.grow(d-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}function c(d){const p=r.HEAPU8.length;d=d>>>0;const h=l();if(d>h)return!1;const b=(E,P)=>E+(P-E%P)%P;for(let E=1;E<=4;E*=2){let P=p*(1+.2/E);P=Math.min(P,d+100663296);const S=Math.min(h,b(Math.max(d,P),65536));if(a(S))return!0}return!1}const u={emscripten_get_now:i,emscripten_memcpy_big:s,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const p=await e({env:u,wasi_snapshot_preview1:u});t=p.memory,o(t.buffer),Object.assign(r,p)}return await f(),r}let be=null,dg=!1;function pg(e){throw new Ee(e.UTF8ToString(e.getLastOnigError()))}class $r{constructor(t){y(this,"utf16Length");y(this,"utf8Length");y(this,"utf16Value");y(this,"utf8Value");y(this,"utf16OffsetToUtf8");y(this,"utf8OffsetToUtf16");const n=t.length,r=$r._utf8ByteLength(t),o=r!==n,i=o?new Uint32Array(n+1):null;o&&(i[n]=r);const s=o?new Uint32Array(r+1):null;o&&(s[r]=n);const l=new Uint8Array(r);let a=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,d=!1;if(u>=55296&&u<=56319&&c+1<n){const p=t.charCodeAt(c+1);p>=56320&&p<=57343&&(f=(u-55296<<10)+65536|p-56320,d=!0)}o&&(i[c]=a,d&&(i[c+1]=a),f<=127?s[a+0]=c:f<=2047?(s[a+0]=c,s[a+1]=c):f<=65535?(s[a+0]=c,s[a+1]=c,s[a+2]=c):(s[a+0]=c,s[a+1]=c,s[a+2]=c,s[a+3]=c)),f<=127?l[a++]=f:f<=2047?(l[a++]=192|(f&1984)>>>6,l[a++]=128|(f&63)>>>0):f<=65535?(l[a++]=224|(f&61440)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0):(l[a++]=240|(f&1835008)>>>18,l[a++]=128|(f&258048)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=l,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=s}static _utf8ByteLength(t){let n=0;for(let r=0,o=t.length;r<o;r++){const i=t.charCodeAt(r);let s=i,l=!1;if(i>=55296&&i<=56319&&r+1<o){const a=t.charCodeAt(r+1);a>=56320&&a<=57343&&(s=(i-55296<<10)+65536|a-56320,l=!0)}s<=127?n+=1:s<=2047?n+=2:s<=65535?n+=3:n+=4,l&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const Ie=class Ie{constructor(t){y(this,"id",++Ie.LAST_ID);y(this,"_onigBinding");y(this,"content");y(this,"utf16Length");y(this,"utf8Length");y(this,"utf16OffsetToUtf8");y(this,"utf8OffsetToUtf16");y(this,"ptr");if(!be)throw new Ee("Must invoke loadWasm first.");this._onigBinding=be,this.content=t;const n=new $r(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Ie._sharedPtrInUse?(Ie._sharedPtr||(Ie._sharedPtr=be.omalloc(1e4)),Ie._sharedPtrInUse=!0,be.HEAPU8.set(n.utf8Value,Ie._sharedPtr),this.ptr=Ie._sharedPtr):this.ptr=n.createString(be)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===Ie._sharedPtr?Ie._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};y(Ie,"LAST_ID",0),y(Ie,"_sharedPtr",0),y(Ie,"_sharedPtrInUse",!1);let Sr=Ie;class hg{constructor(t){y(this,"_onigBinding");y(this,"_ptr");if(!be)throw new Ee("Must invoke loadWasm first.");const n=[],r=[];for(let l=0,a=t.length;l<a;l++){const c=new $r(t[l]);n[l]=c.createString(be),r[l]=c.utf8Length}const o=be.omalloc(4*t.length);be.HEAPU32.set(n,o/4);const i=be.omalloc(4*t.length);be.HEAPU32.set(r,i/4);const s=be.createOnigScanner(o,i,t.length);for(let l=0,a=t.length;l<a;l++)be.ofree(n[l]);be.ofree(i),be.ofree(o),s===0&&pg(be),this._onigBinding=be,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=dg,i=0;if(typeof r=="number"?(r&8&&(o=!0),i=r):typeof r=="boolean"&&(o=r),typeof t=="string"){t=new Sr(t);const s=this._findNextMatchSync(t,n,o,i);return t.dispose(),s}return this._findNextMatchSync(t,n,o,i)}_findNextMatchSync(t,n,r,o){const i=this._onigBinding;let s;if(r?s=i.findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o):s=i.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o),s===0)return null;const l=i.HEAPU32;let a=s/4;const c=l[a++],u=l[a++],f=[];for(let d=0;d<u;d++){const p=t.convertUtf8OffsetToUtf16(l[a++]),h=t.convertUtf8OffsetToUtf16(l[a++]);f[d]={start:p,end:h,length:h-p}}return{index:c,captureIndices:f}}}function mg(e){return typeof e.instantiator=="function"}function _g(e){return typeof e.default=="function"}function gg(e){return typeof e.data<"u"}function yg(e){return typeof Response<"u"&&e instanceof Response}function bg(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let Xn;function vg(e){if(Xn)return Xn;async function t(){be=await fg(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),mg(r)?r=await r.instantiator(n):_g(r)?r=await r.default(n):(gg(r)&&(r=r.data),yg(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await wg(r)(n):r=await Rg(r)(n):bg(r)&&(r=await Eg(r)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Xn=t(),Xn}function Eg(e){return t=>WebAssembly.instantiate(e,t)}function wg(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Rg(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function Tg(e){return new Sr(e)}function Pg(e){return new hg(e)}const qs={light:"#333333",dark:"#bbbbbb"},Ks={light:"#fffffe",dark:"#1e1e1e"},zs="__shiki_resolved";function wc(e){var l,a,c,u,f;if(e!=null&&e[zs])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type="dark"),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:n,fg:r}=t;if(!n||!r){const d=t.settings?t.settings.find(p=>!p.name&&!p.scope):void 0;(l=d==null?void 0:d.settings)!=null&&l.foreground&&(r=d.settings.foreground),(a=d==null?void 0:d.settings)!=null&&a.background&&(n=d.settings.background),!r&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(r=t.colors["editor.foreground"]),!n&&((u=t==null?void 0:t.colors)!=null&&u["editor.background"])&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?qs.light:qs.dark),n||(n=t.type==="light"?Ks.light:Ks.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let o=0;const i=new Map;function s(d){var h;if(i.has(d))return i.get(d);o+=1;const p=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(h=t.colorReplacements)!=null&&h[`#${p}`]?s(d):(i.set(d,p),p)}t.settings=t.settings.map(d=>{var E,P;const p=((E=d.settings)==null?void 0:E.foreground)&&!d.settings.foreground.startsWith("#"),h=((P=d.settings)==null?void 0:P.background)&&!d.settings.background.startsWith("#");if(!p&&!h)return d;const b={...d,settings:{...d.settings}};if(p){const S=s(d.settings.foreground);t.colorReplacements[S]=d.settings.foreground,b.settings.foreground=S}if(h){const S=s(d.settings.background);t.colorReplacements[S]=d.settings.background,b.settings.background=S}return b});for(const d of Object.keys(t.colors||{}))if((d==="editor.foreground"||d==="editor.background"||d.startsWith("terminal.ansi"))&&!((f=t.colors[d])!=null&&f.startsWith("#"))){const p=s(t.colors[d]);t.colorReplacements[p]=t.colors[d],t.colors[d]=p}return Object.defineProperty(t,zs,{enumerable:!1,writable:!1,value:!0}),t}class Ag extends Mm{constructor(n,r,o){super(n);y(this,"_resolver");y(this,"_themes");y(this,"_langs");y(this,"_resolvedThemes",{});y(this,"_resolvedGrammars",{});y(this,"_langMap",{});y(this,"_langGraph",new Map);y(this,"alias",{});this._resolver=n,this._themes=r,this._langs=o,r.forEach(i=>this.loadTheme(i)),o.forEach(i=>this.loadLanguage(i))}getTheme(n){return typeof n=="string"?this._resolvedThemes[n]:this.loadTheme(n)}loadTheme(n){const r=wc(n);return r.name&&(this._resolvedThemes[r.name]=r),r}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(n){if(this.alias[n]){const r=new Set([n]);for(;this.alias[n];){if(n=this.alias[n],r.has(n))throw new Ee(`Circular alias \`${Array.from(r).join(" -> ")} -> ${n}\``);r.add(n)}}return this._resolvedGrammars[n]}async loadLanguage(n){var s,l,a,c;if(this.getGrammar(n.name))return;const r=new Set(Object.values(this._langMap).filter(u=>{var f;return(f=u.embeddedLangsLazy)==null?void 0:f.includes(n.name)}));this._resolver.addLanguage(n);const o={balancedBracketSelectors:n.balancedBracketSelectors||["*"],unbalancedBracketSelectors:n.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(n.scopeName,n);const i=await this.loadGrammarWithConfiguration(n.scopeName,1,o);if(this._resolvedGrammars[n.name]=i,n.aliases&&n.aliases.forEach(u=>{this.alias[u]=n.name}),r.size)for(const u of r)delete this._resolvedGrammars[u.name],(l=(s=this._syncRegistry)==null?void 0:s._injectionGrammars)==null||l.delete(u.scopeName),(c=(a=this._syncRegistry)==null?void 0:a._grammars)==null||c.delete(u.scopeName),await this.loadLanguage(this._langMap[u.name])}async init(){this._themes.map(n=>this.loadTheme(n)),await this.loadLanguages(this._langs)}async loadLanguages(n){for(const i of n)this.resolveEmbeddedLanguages(i);const r=Array.from(this._langGraph.entries()),o=r.filter(([i,s])=>!s);if(o.length){const i=r.filter(([s,l])=>{var a;return l&&((a=l.embeddedLangs)==null?void 0:a.some(c=>o.map(([u])=>u).includes(c)))}).filter(s=>!o.includes(s));throw new Ee(`Missing languages ${o.map(([s])=>`\`${s}\``).join(", ")}, required by ${i.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[i,s]of r)this._resolver.addLanguage(s);for(const[i,s]of r)await this.loadLanguage(s)}getLoadedLanguages(){return Object.keys({...this._resolvedGrammars,...this.alias})}resolveEmbeddedLanguages(n){if(this._langMap[n.name]=n,this._langGraph.set(n.name,n),n.embeddedLangs)for(const r of n.embeddedLangs)this._langGraph.set(r,this._langMap[r])}}class Cg{constructor(t,n){y(this,"_langs",new Map);y(this,"_scopeToLang",new Map);y(this,"_injections",new Map);y(this,"_onigLibPromise");this._onigLibPromise=t,n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLibPromise}getLangRegistration(t){return this._langs.get(t)}async loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let o=1;o<=n.length;o++){const i=n.slice(0,o).join(".");r=[...r,...this._injections.get(i)||[]]}return r}}let Sg;async function Lg(e={}){async function t(E){return Promise.resolve(typeof E=="function"?E():E).then(P=>P.default||P)}async function n(E){return Array.from(new Set((await Promise.all(E.filter(P=>!tc(P)).map(async P=>await t(P).then(S=>Array.isArray(S)?S:[S])))).flat()))}const r=e.loadWasm||Sg,[o,i]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(E=>E.map(wc)),n(e.langs||[]),r?vg(r):void 0]),s=new Cg(Promise.resolve({createOnigScanner(E){return Pg(E)},createOnigString(E){return Tg(E)}}),i),l=new Ag(s,o,i);Object.assign(l.alias,e.langAlias),await l.init();let a;function c(E){const P=l.getGrammar(typeof E=="string"?E:E.name);if(!P)throw new Ee(`Language \`${E}\` not found, you may need to load it first`);return P}function u(E){if(E==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const P=l.getTheme(E);if(!P)throw new Ee(`Theme \`${E}\` not found, you may need to load it first`);return P}function f(E){const P=u(E);a!==E&&(l.setTheme(P),a=E);const S=l.getColorMap();return{theme:P,colorMap:S}}function d(){return l.getLoadedThemes()}function p(){return l.getLoadedLanguages()}async function h(...E){await l.loadLanguages(await n(E))}async function b(...E){await Promise.all(E.map(async P=>rc(P)?null:l.loadTheme(await t(P))))}return{setTheme:f,getTheme:u,getLanguage:c,getLoadedThemes:d,getLoadedLanguages:p,loadLanguage:h,loadTheme:b}}async function Og(e={}){const t=await Lg(e);return{codeToTokensBase:(n,r)=>Ri(t,n,r),codeToTokensWithThemes:(n,r)=>lc(t,n,r),codeToTokens:(n,r)=>Pr(t,n,r),codeToHast:(n,r)=>Cr(t,n,r),codeToHtml:(n,r)=>ug(t,n,r),...t,getInternalContext:()=>t}}function Ig(e,t,n){async function r(o){function i(u){if(typeof u=="string"){if(tc(u))return[];const f=e[u];if(!f)throw new Ee(`Language \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}function s(u){if(rc(u))return"none";if(typeof u=="string"){const f=t[u];if(!f)throw new Ee(`Theme \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}const l=(o.themes??[]).map(u=>s(u)),a=(o.langs??[]).map(u=>i(u)),c=await Og({...o,themes:l,langs:a,loadWasm:n});return{...c,loadLanguage(...u){return c.loadLanguage(...u.map(i))},loadTheme(...u){return c.loadTheme(...u.map(s))}}}return r}const xg=Ig(Yh,Zh,Xh),Rc=We(),Tc=We();function kg(){return xg({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{Tc.value=e})}function Ng(e,t){return _t(()=>{var r;const n=((r=Rc.value)==null?void 0:r.colorMode)||"light";return Tc.value.codeToHtml(hu(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const Dg=["innerHTML"],Mg=Vt({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!1},transformRendered:{}},setup(e){const t=e,n=_t(()=>{const r=Ng(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,o)=>(re(),Oe("pre",{class:Nt(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,Dg))}});async function Vg(e){const t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return jg(await Bg(t))}async function Bg(e){const t=e.body.getReader(),n=+e.headers.get("Content-Length");if(n)return n;{let r=0;for(;;){const{done:o,value:i}=await t.read();if(o)return r;r+=i.length}}}function jg(e){const t=["Bytes","KB","MB","GB","TB"];if(e===0)return"0 Byte";const n=Math.floor(Math.log(e)/Math.log(1024));return`${Number.parseFloat((e/1024**n).toFixed(2))} ${t[n]}`}function Fg(e){return new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"numeric",second:"numeric",hour12:!0}).format(e)}function Hg(e){return gd(e)?new URL(e).origin:e}let $g;const dn=[];function Ug(e){if(dn.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&dn.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&dn.forEach(n=>n(t))},get(){return $g.value},configurable:!0}),()=>{dn.splice(dn.indexOf(e),1)}}const Gg={class:"relative n-bg-base flex flex-col"},Wg={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},qg={class:"mx-auto flex flex-col w-full"},Kg={key:0},zg=Se("div",null,"No scripts loaded.",-1),Jg=[zg],Yg={class:"space-y-3"},Xg={class:"flex items-center justify-between w-full mb-3"},Qg={class:"flex items-center gap-4"},Zg=["title","href"],ey=["src"],ty={class:"opacity-70"},ny={key:0},ry={class:"space-y-2"},oy={class:"opacity-40"},iy={key:0,class:"font-bold px-2 py-[2px] bg-green-50 text-green-700 rounded-lg"},sy={key:1,class:"font-bold px-2 py-[2px] bg-gray-100 text-gray-700 rounded-lg"},ly={key:2,class:"font-bold px-2 py-[2px] bg-red-100 text-red-700 rounded-lg"},ay={key:3,class:"font-bold px-2 py-[2px] bg-yellow-100 text-yellow-700 rounded-lg"},cy=Vt({__name:"app",async setup(e){let t,n;[t,n]=Yu(()=>kg()),await t,n();const r=We({}),o=Ke({});function i(s){r.value={...s};for(const l in s)o[l]||Vg(s[l].src).then(a=>{o[l]=a}).catch(()=>{o[l]=0})}return Ug(async s=>{Rc.value=s.devtools,s.host.nuxt.hooks.hook("scripts:updated",l=>{i(l.scripts)}),i(s.host.nuxt._scripts)}),(s,l)=>{const a=Kh,c=Mg;return re(),Oe("div",Gg,[Se("div",Wg,[Se("main",qg,[Object.keys(ie(r)).length?Ht("",!0):(re(),Oe("div",Kg,Jg)),Se("div",Yg,[(re(!0),Oe(Pe,null,qi(ie(r),(u,f)=>(re(),Oe("div",{key:f,class:"w-full"},[Se("div",Xg,[Se("div",Qg,[Se("a",{class:"text-xl font-bold flex gap-2 items-center font-mono",title:u.src,target:"_blank",href:u.src},[Se("img",{src:`https://www.google.com/s2/favicons?domain=${ie(Hg)(u.src)}`,class:"w-4 h-4 rounded-lg"},null,8,ey),Se("div",null,at(u.key),1)],8,Zg),Se("div",ty,at(u.$script.status.value),1),ie(o)[u.key]?(re(),Oe("div",ny,at(ie(o)[u.key]),1)):Ht("",!0)]),Se("div",null,[u.$script.status==="awaitingLoad"?(re(),Me(a,{key:0,onClick:d=>u.$script.load()},{default:Rn(()=>[pr(" Load ")]),_:2},1032,["onClick"])):u.$script.status==="loaded"?(re(),Me(a,{key:1,onClick:d=>u.$script.remove()},{default:Rn(()=>[pr(" Remove ")]),_:2},1032,["onClick"])):Ht("",!0)])]),Se("div",ry,[(re(!0),Oe(Pe,null,qi(u.events,(d,p)=>(re(),Oe("div",{key:p,class:"flex gap-3 text-xs justify-start items-center"},[Se("div",oy,at(ie(Fg)(d.at)),1),d.type==="status"?(re(),Oe(Pe,{key:0},[d.status==="loaded"?(re(),Oe("div",iy,at(d.status),1)):d.status==="awaitingLoad"?(re(),Oe("div",sy,at(d.status),1)):d.status==="removed"||d.status==="error"?(re(),Oe("div",ly,at(d.status),1)):d.status==="loading"?(re(),Oe("div",ay,at(d.status),1)):Ht("",!0)],64)):d.type==="fn-call"?(re(),Me(c,{key:1,code:`${d.fn}(${d.args.map(h=>JSON.stringify(h,null,2)).join(", ")})`,lang:"javascript"},null,8,["code"])):Ht("",!0)]))),128))])]))),128))])])])])}}}),uy={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
35
35
  `).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
36
- `);const r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),l=void 0,u=o?Gi(()=>m(()=>import("./vqIOxd68.js"),__vite__mapDeps([90,91,92]),import.meta.url).then(f=>f.default||f)):Gi(()=>m(()=>import("./CV_REd8b.js"),__vite__mapDeps([93,91,94]),import.meta.url).then(f=>f.default||f));return(f,d)=>(ne(),Me(ie(u),Fc(ea({statusCode:ie(r),statusMessage:ie(i),description:ie(s),stack:ie(l)})),null,16))}},zs={__name:"nuxt-root",setup(e){const t=()=>null,n=de(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Et().beforeEach(l)}const o=!1;Fl(Pa,Aa()),n.hooks.callHookWith(l=>l.map(a=>a()),"vue:setup");const i=_i();Ml((l,a,c)=>{if(n.hooks.callHook("vue:error",l,a,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),Ep(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>bp(l)),!1});const s=!1;return(l,a)=>(ne(),Me(Iu,{onResolve:ie(r)},{default:wn(()=>[ie(i)?(ne(),Me(ie(uy),{key:0,error:ie(i)},null,8,["error"])):ie(s)?(ne(),Me(ie(t),{key:1,context:ie(s)},null,8,["context"])):ie(o)?(ne(),Me(Sl(ie(o)),{key:2})):(ne(),Me(ie(cy),{key:3}))]),_:1},8,["onResolve"]))}};let Js;{let e;Js=async function(){var s,l;if(e)return e;const r=!!((s=window.__NUXT__)!=null&&s.serverRendered||((l=document.getElementById("__NUXT_DATA__"))==null?void 0:l.dataset.ssr)==="true")?Qf(zs):Xf(zs),o=rp({vueApp:r});async function i(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||gi(a)}r.config.errorHandler=i;try{await ip(o,Fh)}catch(a){i(a)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(mh),await o.hooks.callHook("app:mounted",r),await ni()}catch(a){i(a)}return r.config.errorHandler===i&&(r.config.errorHandler=void 0),r},e=Js().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Gh as _,Se as a,fe as b,Oe as c,dr as d,py as e,hy as f,hn as g,Nl as h,my as i,Hu as j,Fu as k,xo as l,na as m,ne as o,dy as p,We as r,at as t,wn as w};
36
+ `);const r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),l=void 0,u=o?Wi(()=>m(()=>import("./BAdl5pI-.js"),__vite__mapDeps([90,91,92]),import.meta.url).then(f=>f.default||f)):Wi(()=>m(()=>import("./Cx7pcWFu.js"),__vite__mapDeps([93,91,94]),import.meta.url).then(f=>f.default||f));return(f,d)=>(re(),Me(ie(u),Fc(ta({statusCode:ie(r),statusMessage:ie(i),description:ie(s),stack:ie(l)})),null,16))}},Js={__name:"nuxt-root",setup(e){const t=()=>null,n=fe(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Et().beforeEach(l)}const o=!1;Hl(Aa,Ca()),n.hooks.callHookWith(l=>l.map(a=>a()),"vue:setup");const i=gi();Vl((l,a,c)=>{if(n.hooks.callHook("vue:error",l,a,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),Ep(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>bp(l)),!1});const s=!1;return(l,a)=>(re(),Me(Iu,{onResolve:ie(r)},{default:Rn(()=>[ie(i)?(re(),Me(ie(uy),{key:0,error:ie(i)},null,8,["error"])):ie(s)?(re(),Me(ie(t),{key:1,context:ie(s)},null,8,["context"])):ie(o)?(re(),Me(Ll(ie(o)),{key:2})):(re(),Me(ie(cy),{key:3}))]),_:1},8,["onResolve"]))}};let Ys;{let e;Ys=async function(){var s,l;if(e)return e;const r=!!((s=window.__NUXT__)!=null&&s.serverRendered||((l=document.getElementById("__NUXT_DATA__"))==null?void 0:l.dataset.ssr)==="true")?Qf(Js):Xf(Js),o=rp({vueApp:r});async function i(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||yi(a)}r.config.errorHandler=i;try{await ip(o,Fh)}catch(a){i(a)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(mh),await o.hooks.callHook("app:mounted",r),await ri()}catch(a){i(a)}return r.config.errorHandler===i&&(r.config.errorHandler=void 0),r},e=Ys().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Gh as _,Se as a,ue as b,Oe as c,pr as d,py as e,hy as f,mn as g,Dl as h,my as i,Hu as j,Fu as k,ko as l,ra as m,re as o,dy as p,We as r,at as t,Rn as w};