@nuxtjs/sitemap 5.1.5 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/200.html +107 -83
- package/dist/client/404.html +107 -83
- package/dist/client/_nuxt/{BTnhwlxZ.js → 4id9yZy9.js} +1 -1
- package/dist/client/_nuxt/{3Yx8WcR-.js → B3g-KkBK.js} +1 -1
- package/dist/client/_nuxt/{CRWwmX0L.js → B4ACM-c0.js} +1 -1
- package/dist/client/_nuxt/B5NHDIr7.js +353 -0
- package/dist/client/_nuxt/{Bz4xi2rU.js → B6ZnTe72.js} +1 -1
- package/dist/client/_nuxt/{B6nY7VDA.js → B6bHXiXE.js} +1 -1
- package/dist/client/_nuxt/B7rNE5kf.js +1 -0
- package/dist/client/_nuxt/BAMIS8DD.js +1 -0
- package/dist/client/_nuxt/BEjL32p1.js +5754 -0
- package/dist/client/_nuxt/BLD-YeUO.js +36 -0
- package/dist/client/_nuxt/BVGdgKAv.js +1 -0
- package/dist/client/_nuxt/{wORFcijT.js → BXR915QZ.js} +1 -1
- package/dist/client/_nuxt/{DCj4DH6i.js → BYdKNJ10.js} +1 -1
- package/dist/client/_nuxt/BZfs-ost.js +1 -0
- package/dist/client/_nuxt/{DCdPDLy4.js → BacI6-DX.js} +1 -1
- package/dist/client/_nuxt/BcF9sHHc.js +6 -0
- package/dist/client/_nuxt/{DCk2z-Tu.js → BdfWgkoX.js} +1 -1
- package/dist/client/_nuxt/{DaCkt_J7.js → Br6ll-O0.js} +1 -1
- package/dist/client/_nuxt/BscxmKrE.js +8 -0
- package/dist/client/_nuxt/BwXNTs7T.js +1 -0
- package/dist/client/_nuxt/Bx89rGXK.js +1 -0
- package/dist/client/_nuxt/{CQ1WWl9n.js → Bxkoe-BC.js} +1 -1
- package/dist/client/_nuxt/C3qJFuQy.js +3 -0
- package/dist/client/_nuxt/C3qUB5O8.js +301 -0
- package/dist/client/_nuxt/C6XIsc4F.js +1 -0
- package/dist/client/_nuxt/C9UBdavN.js +1 -0
- package/dist/client/_nuxt/CA9nliXM.js +1 -0
- package/dist/client/_nuxt/{BsfQk1vf.js → CEfge3mM.js} +1 -1
- package/dist/client/_nuxt/CGmujMTu.js +1 -0
- package/dist/client/_nuxt/{CQTpvb7m.js → CHCTrc3a.js} +1 -1
- package/dist/client/_nuxt/{B9E_xdxs.js → CNkYXcD4.js} +1 -1
- package/dist/client/_nuxt/CO5hpdkB.js +1 -0
- package/dist/client/_nuxt/{DsudziMp.js → COIrKlfF.js} +1 -1
- package/dist/client/_nuxt/{DZ3fVoEH.js → CSPeAESR.js} +1 -1
- package/dist/client/_nuxt/C_ZPRiAj.js +26 -0
- package/dist/client/_nuxt/{DCAtC51B.js → CarfVElc.js} +1 -1
- package/dist/client/_nuxt/{BgBwMnrY.js → CcYwH0AH.js} +1 -1
- package/dist/client/_nuxt/Cgl53LJQ.js +1 -0
- package/dist/client/_nuxt/{RgJsN3zu.js → ChMCFiS0.js} +1 -1
- package/dist/client/_nuxt/CiRxTSAc.js +1 -0
- package/dist/client/_nuxt/CpAANOdC.js +1 -0
- package/dist/client/_nuxt/{DfUNg_8t.js → CqYeW6XZ.js} +1 -1
- package/dist/client/_nuxt/{CL7Ixq1B.js → CrgTADc5.js} +1 -1
- package/dist/client/_nuxt/CuJfdYLG.js +1 -0
- package/dist/client/_nuxt/D71BffLY.js +1 -0
- package/dist/client/_nuxt/{A6fgiLY6.js → D8ltPvRq.js} +1 -1
- package/dist/client/_nuxt/DAfrLhwG.js +1 -0
- package/dist/client/_nuxt/{Bd7iooY8.js → DGDuLtS6.js} +1 -1
- package/dist/client/_nuxt/DGMFlOLs.js +1 -0
- package/dist/client/_nuxt/{j8KhMG0x.js → DGxQkqYo.js} +1 -1
- package/dist/client/_nuxt/DKb4lQY2.js +1 -0
- package/dist/client/_nuxt/{DIr-ordK.js → DKlGn9uv.js} +1 -1
- package/dist/client/_nuxt/{CUVblut_.js → DR5YgmI2.js} +1 -1
- package/dist/client/_nuxt/DS9ZWoKD.js +1 -0
- package/dist/client/_nuxt/{D-pQtGOP.js → DVLwECkk.js} +1 -1
- package/dist/client/_nuxt/DZLoTQm4.js +1 -0
- package/dist/client/_nuxt/{ZQC2c-5V.js → D_T9yQUo.js} +3 -3
- package/dist/client/_nuxt/Db2-y2xY.js +1 -0
- package/dist/client/_nuxt/Dit6kIrv.js +11 -0
- package/dist/client/_nuxt/{DXpYegZJ.js → Djqq6n-7.js} +1 -1
- package/dist/client/_nuxt/Dkb1Nx48.js +1 -0
- package/dist/client/_nuxt/{DywwDckn.js → Du6_OKDb.js} +1 -1
- package/dist/client/_nuxt/FJDVp-XM.js +1 -0
- package/dist/client/_nuxt/{IHMnEr_d.js → G-Jz5hiA.js} +1 -1
- package/dist/client/_nuxt/HrnDn_2Q.js +1 -0
- package/dist/client/_nuxt/Icon.CBNAyDNE.css +1 -0
- package/dist/client/_nuxt/IconCSS.BjWhc-VD.css +1 -0
- package/dist/client/_nuxt/{CPHkTjfH.js → JgH_6NEN.js} +1 -1
- package/dist/client/_nuxt/KPqz0Sb3.js +1 -0
- package/dist/client/_nuxt/Ksn5IXup.js +1 -0
- package/dist/client/_nuxt/{wPLeKH6q.js → Lpdzc9s2.js} +1 -1
- package/dist/client/_nuxt/MS3qTAOR.js +1 -0
- package/dist/client/_nuxt/P5f3PASf.js +40 -0
- package/dist/client/_nuxt/{BILqrcpa.js → YdT6Gj0u.js} +1 -1
- package/dist/client/_nuxt/alpzPJ78.js +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/eed887b5-8cf6-4ae2-9094-c95111b61a41.json +1 -0
- package/dist/client/_nuxt/{Bdb36Id5.js → dIHJ9UdL.js} +1 -1
- package/dist/client/_nuxt/entry.BFped8KZ.css +1 -0
- package/dist/client/_nuxt/{BoOAlWED.js → hm-j440x.js} +1 -1
- package/dist/client/_nuxt/o5b8QYQO.js +3 -0
- package/dist/client/_nuxt/{doGI2cFk.js → wKgfcFVx.js} +1 -1
- package/dist/client/_nuxt/{Bd73LTSp.js → wwwLBkz3.js} +1 -1
- package/dist/client/index.html +107 -83
- package/dist/module.d.mts +0 -15
- package/dist/module.d.ts +0 -15
- package/dist/module.json +1 -1
- package/dist/module.mjs +6 -4
- package/dist/runtime/nitro/sitemap/builder/sitemap-index.mjs +5 -1
- package/dist/runtime/nitro/sitemap/builder/sitemap.mjs +1 -1
- package/dist/runtime/nitro/sitemap/urlset/sources.d.ts +3 -2
- package/dist/runtime/nitro/sitemap/urlset/sources.mjs +5 -4
- package/dist/runtime/types.d.ts +3 -0
- package/package.json +12 -12
- package/dist/client/_nuxt/-hLHpAOl.js +0 -1
- package/dist/client/_nuxt/BBv1LFm6.js +0 -6
- package/dist/client/_nuxt/BIMuYTWL.js +0 -3
- package/dist/client/_nuxt/BSyl5yf0.js +0 -1
- package/dist/client/_nuxt/BswfO-CF.js +0 -1
- package/dist/client/_nuxt/CGQbO34C.js +0 -1
- package/dist/client/_nuxt/CudBhkk3.js +0 -1
- package/dist/client/_nuxt/D4LhxNOI.js +0 -1
- package/dist/client/_nuxt/D4k753MY.js +0 -1
- package/dist/client/_nuxt/DnhXxWz-.js +0 -1
- package/dist/client/_nuxt/DoA0sgnJ.js +0 -36
- package/dist/client/_nuxt/Dszwcx0o.js +0 -1
- package/dist/client/_nuxt/DzPyIVdT.js +0 -9
- package/dist/client/_nuxt/Icon.Cz7P-B9Q.css +0 -1
- package/dist/client/_nuxt/IconCSS.CuOlVhPM.css +0 -1
- package/dist/client/_nuxt/TQ9oWRfF.js +0 -1
- package/dist/client/_nuxt/WoBtJUue.js +0 -1
- package/dist/client/_nuxt/bmJ2objS.js +0 -1
- package/dist/client/_nuxt/builds/meta/9c660240-bc8b-4a63-883d-04cd5c521393.json +0 -1
- package/dist/client/_nuxt/entry.Ch27ueg_.css +0 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
function __vite__mapDeps(indexes) {
|
|
2
|
+
if (!__vite__mapDeps.viteFileDeps) {
|
|
3
|
+
__vite__mapDeps.viteFileDeps = ["./4id9yZy9.js","./5gXNyPeq.js","./Icon.CBNAyDNE.css","./D8ltPvRq.js","./IconCSS.BjWhc-VD.css","./COIrKlfF.js","./CbViG2Xw.js","./Dch3xQiY.js","./CbYhyuC0.js","./CNkYXcD4.js","./BeX7Iu5M.js","./DC4hdoM9.js","./CsYA0RN7.js","./ClXEvkw9.js","./CupVZNk8.js","./DGMFlOLs.js","./C5gCGmDW.js","./B2DkETJQ.js","./RCJZWN-0.js","./BF6G6X0H.js","./Bg0wAK5a.js","./BOnd8D4O.js","./DouzTJIq.js","./DbK06e1c.js","./DISxKEhY.js","./DvyTQcux.js","./DNR26wTC.js","./BaNxgKSR.js","./RE3ujT-k.js","./DS9ZWoKD.js","./BAMIS8DD.js","./wChcbJ1V.js","./DAGYewaG.js","./CsyrCbsw.js","./D_T9yQUo.js","./DwuVtWc2.js","./BXfENWL6.js","./BIxS-Weu.js","./Du6_OKDb.js","./B9S9BZZh.js","./DHmGyzbM.js","./RqY_Nz63.js","./Dwo2i-71.js","./CarfVElc.js","./BZfs-ost.js","./BVGdgKAv.js","./DGxQkqYo.js","./CMDmr8et.js","./vMsNTMhM.js","./Dez-Qvcc.js","./BT9ZzGyQ.js","./DC8MraHL.js","./BXR915QZ.js","./DSrLtGYv.js","./DXT9h7v2.js","./BlxWTfDV.js","./C1DVX8_8.js","./Cgl53LJQ.js","./B6bHXiXE.js","./ChMCFiS0.js","./sQpxpyUs.js","./D6pmzCqS.js","./Djqq6n-7.js","./BdfWgkoX.js","./NL97_oaV.js","./B_SUYfiV.js","./CoEqzGFw.js","./DAVo6uMX.js","./JgH_6NEN.js","./Bbv8ARUV.js","./CQUCfALx.js","./BN4LRXf6.js","./BmCW-tYz.js","./G-Jz5hiA.js","./DUdlC5k_.js","./BR6CMsBL.js","./CqYeW6XZ.js","./CiRxTSAc.js","./Dit6kIrv.js","./DzwdaLuO.js","./D4LaosRr.js","./DY7_9Ga-.js","./o5b8QYQO.js","./Db2-y2xY.js","./nclm9rTJ.js","./Dg0DGYq4.js","./DGDuLtS6.js","./CcYwH0AH.js","./DR5YgmI2.js","./YdT6Gj0u.js","./Cthz8VOO.js","./DhFF74a2.js","./BwXNTs7T.js","./Lpdzc9s2.js","./CHCTrc3a.js","./DXZpi2gR.js","./8t4jSAMm.js","./BiDE021q.js","./DmDrTTlz.js","./dIHJ9UdL.js","./DKb4lQY2.js","./DJZWsvj0.js","./C15OxdQ5.js","./DLP9ZvWb.js","./wKgfcFVx.js","./BacI6-DX.js","./BcF9sHHc.js","./DYI1rfmx.js","./Bh8mriwU.js","./B4ACM-c0.js","./P5f3PASf.js","./DeVv6D4_.js","./beD-FUib.js","./CJQrLysU.js","./BPiaQZfK.js","./D384ylkT.js","./9ZOzOPqN.js","./DZLoTQm4.js","./BaedD2tq.js","./hm-j440x.js","./error-404.BRldFSII.css","./wwwLBkz3.js","./error-500.D8yw_IbC.css"]
|
|
4
|
+
}
|
|
5
|
+
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
6
|
+
}
|
|
7
|
+
var td=Object.defineProperty;var nd=(e,t,n)=>t in e?td(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var b=(e,t,n)=>(nd(e,typeof t!="symbol"?t+"":t,n),n);/**
|
|
8
|
+
* @vue/shared v3.4.21
|
|
9
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
10
|
+
* @license MIT
|
|
11
|
+
**/function as(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const me={},yn=[],Xe=()=>{},rd=()=>!1,hr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),cs=e=>e.startsWith("onUpdate:"),Ne=Object.assign,us=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},od=Object.prototype.hasOwnProperty,ae=(e,t)=>od.call(e,t),X=Array.isArray,vn=e=>mr(e)==="[object Map]",Fa=e=>mr(e)==="[object Set]",rl=e=>mr(e)==="[object Date]",Q=e=>typeof e=="function",be=e=>typeof e=="string",Ht=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",fs=e=>(pe(e)||Q(e))&&Q(e.then)&&Q(e.catch),Ua=Object.prototype.toString,mr=e=>Ua.call(e),id=e=>mr(e).slice(8,-1),Ga=e=>mr(e)==="[object Object]",ds=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,bn=as(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Oo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},sd=/-(\w)/g,mt=Oo(e=>e.replace(sd,(t,n)=>n?n.toUpperCase():"")),ld=/\B([A-Z])/g,an=Oo(e=>e.replace(ld,"-$1").toLowerCase()),Lo=Oo(e=>e.charAt(0).toUpperCase()+e.slice(1)),ti=Oo(e=>e?`on${Lo(e)}`:""),Bt=(e,t)=>!Object.is(e,t),Br=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Jr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ad=e=>{const t=parseFloat(e);return isNaN(t)?e:t},cd=e=>{const t=be(e)?Number(e):NaN;return isNaN(t)?e:t};let ol;const Wa=()=>ol||(ol=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Zt(e){if(X(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=be(r)?pd(r):Zt(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(be(e)||pe(e))return e}const ud=/;(?![^(]*\))/g,fd=/:([^]+)/,dd=/\/\*[^]*?\*\//g;function pd(e){const t={};return e.replace(dd,"").split(ud).forEach(n=>{if(n){const r=n.split(fd);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Te(e){let t="";if(be(e))t=e;else if(X(e))for(let n=0;n<e.length;n++){const r=Te(e[n]);r&&(t+=r+" ")}else if(pe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function za(e){if(!e)return null;let{class:t,style:n}=e;return t&&!be(t)&&(e.class=Te(t)),n&&(e.style=Zt(n)),e}const hd="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",md=as(hd);function qa(e){return!!e||e===""}function _d(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Yr(e[r],t[r]);return n}function Yr(e,t){if(e===t)return!0;let n=rl(e),r=rl(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Ht(e),r=Ht(t),n||r)return e===t;if(n=X(e),r=X(t),n||r)return n&&r?_d(e,t):!1;if(n=pe(e),r=pe(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const s in e){const l=e.hasOwnProperty(s),a=t.hasOwnProperty(s);if(l&&!a||!l&&a||!Yr(e[s],t[s]))return!1}}return String(e)===String(t)}const De=e=>be(e)?e:e==null?"":X(e)||pe(e)&&(e.toString===Ua||!Q(e.toString))?JSON.stringify(e,Ka,2):String(e),Ka=(e,t)=>t&&t.__v_isRef?Ka(e,t.value):vn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[ni(r,i)+" =>"]=o,n),{})}:Fa(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ni(n))}:Ht(t)?ni(t):pe(t)&&!X(t)&&!Ga(t)?String(t):t,ni=(e,t="")=>{var n;return Ht(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
12
|
+
* @vue/reactivity v3.4.21
|
|
13
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
14
|
+
* @license MIT
|
|
15
|
+
**/let Ke;class Ja{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ke,!t&&Ke&&(this.index=(Ke.scopes||(Ke.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ke;try{return Ke=this,t()}finally{Ke=n}}}on(){Ke=this}off(){Ke=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 gd(e){return new Ja(e)}function yd(e,t=Ke){t&&t.active&&t.effects.push(e)}function Ya(){return Ke}function vd(e){Ke&&Ke.cleanups.push(e)}let en;class ps{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,yd(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,cn();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(bd(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),un()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Dt,n=en;try{return Dt=!0,en=this,this._runnings++,il(this),this.fn()}finally{sl(this),this._runnings--,en=n,Dt=t}}stop(){var t;this.active&&(il(this),sl(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function bd(e){return e.value}function il(e){e._trackId++,e._depsLength=0}function sl(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Xa(e.deps[t],e);e.deps.length=e._depsLength}}function Xa(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Dt=!0,Ci=0;const Qa=[];function cn(){Qa.push(Dt),Dt=!1}function un(){const e=Qa.pop();Dt=e===void 0?!0:e}function hs(){Ci++}function ms(){for(Ci--;!Ci&&xi.length;)xi.shift()()}function Za(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Xa(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const xi=[];function ec(e,t,n){hs();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&&xi.push(r.scheduler)))}ms()}const tc=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Xr=new WeakMap,tn=Symbol(""),Si=Symbol("");function Ge(e,t,n){if(Dt&&en){let r=Xr.get(e);r||Xr.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=tc(()=>r.delete(n))),Za(en,o)}}function Tt(e,t,n,r,o,i){const s=Xr.get(e);if(!s)return;let l=[];if(t==="clear")l=[...s.values()];else if(n==="length"&&X(e)){const a=Number(r);s.forEach((c,u)=>{(u==="length"||!Ht(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(s.get(n)),t){case"add":X(e)?ds(n)&&l.push(s.get("length")):(l.push(s.get(tn)),vn(e)&&l.push(s.get(Si)));break;case"delete":X(e)||(l.push(s.get(tn)),vn(e)&&l.push(s.get(Si)));break;case"set":vn(e)&&l.push(s.get(tn));break}hs();for(const a of l)a&&ec(a,4);ms()}function wd(e,t){var n;return(n=Xr.get(e))==null?void 0:n.get(t)}const Ed=as("__proto__,__v_isRef,__isVue"),nc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ht)),ll=Td();function Td(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ue(this);for(let i=0,s=this.length;i<s;i++)Ge(r,"get",i+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(ue)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){cn(),hs();const r=ue(this)[t].apply(this,n);return ms(),un(),r}}),e}function Cd(e){const t=ue(this);return Ge(t,"has",e),t.hasOwnProperty(e)}class rc{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?Md:lc:i?sc:ic).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=X(t);if(!o){if(s&&ae(ll,n))return Reflect.get(ll,n,r);if(n==="hasOwnProperty")return Cd}const l=Reflect.get(t,n,r);return(Ht(n)?nc.has(n):Ed(n))||(o||Ge(t,"get",n),i)?l:Oe(l)?s&&ds(n)?l:l.value:pe(l)?o?ys(l):Ct(l):l}}class oc extends rc{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const a=rn(i);if(!Qr(r)&&!rn(r)&&(i=ue(i),r=ue(r)),!X(t)&&Oe(i)&&!Oe(r))return a?!1:(i.value=r,!0)}const s=X(t)&&ds(n)?Number(n)<t.length:ae(t,n),l=Reflect.set(t,n,r,o);return t===ue(o)&&(s?Bt(r,i)&&Tt(t,"set",n,r):Tt(t,"add",n,r)),l}deleteProperty(t,n){const r=ae(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Tt(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Ht(n)||!nc.has(n))&&Ge(t,"has",n),r}ownKeys(t){return Ge(t,"iterate",X(t)?"length":tn),Reflect.ownKeys(t)}}class xd extends rc{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Sd=new oc,Pd=new xd,Ad=new oc(!0),_s=e=>e,ko=e=>Reflect.getPrototypeOf(e);function Er(e,t,n=!1,r=!1){e=e.__v_raw;const o=ue(e),i=ue(t);n||(Bt(t,i)&&Ge(o,"get",t),Ge(o,"get",i));const{has:s}=ko(o),l=r?_s:n?bs:Zn;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 Tr(e,t=!1){const n=this.__v_raw,r=ue(n),o=ue(e);return t||(Bt(e,o)&&Ge(r,"has",e),Ge(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Cr(e,t=!1){return e=e.__v_raw,!t&&Ge(ue(e),"iterate",tn),Reflect.get(e,"size",e)}function al(e){e=ue(e);const t=ue(this);return ko(t).has.call(t,e)||(t.add(e),Tt(t,"add",e,e)),this}function cl(e,t){t=ue(t);const n=ue(this),{has:r,get:o}=ko(n);let i=r.call(n,e);i||(e=ue(e),i=r.call(n,e));const s=o.call(n,e);return n.set(e,t),i?Bt(t,s)&&Tt(n,"set",e,t):Tt(n,"add",e,t),this}function ul(e){const t=ue(this),{has:n,get:r}=ko(t);let o=n.call(t,e);o||(e=ue(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&Tt(t,"delete",e,void 0),i}function fl(){const e=ue(this),t=e.size!==0,n=e.clear();return t&&Tt(e,"clear",void 0,void 0),n}function xr(e,t){return function(r,o){const i=this,s=i.__v_raw,l=ue(s),a=t?_s:e?bs:Zn;return!e&&Ge(l,"iterate",tn),s.forEach((c,u)=>r.call(o,a(c),a(u),i))}}function Sr(e,t,n){return function(...r){const o=this.__v_raw,i=ue(o),s=vn(i),l=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,c=o[e](...r),u=n?_s:t?bs:Zn;return!t&&Ge(i,"iterate",a?Si:tn),{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 St(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Rd(){const e={get(i){return Er(this,i)},get size(){return Cr(this)},has:Tr,add:al,set:cl,delete:ul,clear:fl,forEach:xr(!1,!1)},t={get(i){return Er(this,i,!1,!0)},get size(){return Cr(this)},has:Tr,add:al,set:cl,delete:ul,clear:fl,forEach:xr(!1,!0)},n={get(i){return Er(this,i,!0)},get size(){return Cr(this,!0)},has(i){return Tr.call(this,i,!0)},add:St("add"),set:St("set"),delete:St("delete"),clear:St("clear"),forEach:xr(!0,!1)},r={get(i){return Er(this,i,!0,!0)},get size(){return Cr(this,!0)},has(i){return Tr.call(this,i,!0)},add:St("add"),set:St("set"),delete:St("delete"),clear:St("clear"),forEach:xr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Sr(i,!1,!1),n[i]=Sr(i,!0,!1),t[i]=Sr(i,!1,!0),r[i]=Sr(i,!0,!0)}),[e,n,t,r]}const[Od,Ld,kd,Id]=Rd();function gs(e,t){const n=t?e?Id:kd:e?Ld:Od;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ae(n,o)&&o in r?n:r,o,i)}const Nd={get:gs(!1,!1)},Dd={get:gs(!1,!0)},$d={get:gs(!0,!1)},ic=new WeakMap,sc=new WeakMap,lc=new WeakMap,Md=new WeakMap;function Vd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Hd(e){return e.__v_skip||!Object.isExtensible(e)?0:Vd(id(e))}function Ct(e){return rn(e)?e:vs(e,!1,Sd,Nd,ic)}function ac(e){return vs(e,!1,Ad,Dd,sc)}function ys(e){return vs(e,!0,Pd,$d,lc)}function vs(e,t,n,r,o){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=Hd(e);if(s===0)return e;const l=new Proxy(e,s===2?r:n);return o.set(e,l),l}function wn(e){return rn(e)?wn(e.__v_raw):!!(e&&e.__v_isReactive)}function rn(e){return!!(e&&e.__v_isReadonly)}function Qr(e){return!!(e&&e.__v_isShallow)}function cc(e){return wn(e)||rn(e)}function ue(e){const t=e&&e.__v_raw;return t?ue(t):e}function uc(e){return Object.isExtensible(e)&&Jr(e,"__v_skip",!0),e}const Zn=e=>pe(e)?Ct(e):e,bs=e=>pe(e)?ys(e):e;class fc{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 ps(()=>t(this._value),()=>jr(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=ue(this);return(!t._cacheable||t.effect.dirty)&&Bt(t._value,t._value=t.effect.run())&&jr(t,4),dc(t),t.effect._dirtyLevel>=2&&jr(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Bd(e,t,n=!1){let r,o;const i=Q(e);return i?(r=e,o=Xe):(r=e.get,o=e.set),new fc(r,o,i||!o,n)}function dc(e){var t;Dt&&en&&(e=ue(e),Za(en,(t=e.dep)!=null?t:e.dep=tc(()=>e.dep=void 0,e instanceof fc?e:void 0)))}function jr(e,t=4,n){e=ue(e);const r=e.dep;r&&ec(r,t)}function Oe(e){return!!(e&&e.__v_isRef===!0)}function ve(e){return pc(e,!1)}function Pi(e){return pc(e,!0)}function pc(e,t){return Oe(e)?e:new jd(e,t)}class jd{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ue(t),this._value=n?t:Zn(t)}get value(){return dc(this),this._value}set value(t){const n=this.__v_isShallow||Qr(t)||rn(t);t=n?t:ue(t),Bt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Zn(t),jr(this,4))}}function ne(e){return Oe(e)?e.value:e}function Fd(e){return Q(e)?e():ne(e)}const Ud={get:(e,t,n)=>ne(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Oe(o)&&!Oe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function hc(e){return wn(e)?e:new Proxy(e,Ud)}class Gd{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 wd(ue(this._object),this._key)}}class Wd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function mc(e,t,n){return Oe(e)?e:Q(e)?new Wd(e):pe(e)&&arguments.length>1?zd(e,t,n):ve(e)}function zd(e,t,n){const r=e[t];return Oe(r)?r:new Gd(e,t,n)}/**
|
|
16
|
+
* @vue/runtime-core v3.4.21
|
|
17
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
18
|
+
* @license MIT
|
|
19
|
+
**/function $t(e,t,n,r){try{return r?e(...r):e()}catch(o){$n(o,t,n)}}function ot(e,t,n,r){if(Q(e)){const i=$t(e,t,n,r);return i&&fs(i)&&i.catch(s=>{$n(s,t,n)}),i}const o=[];for(let i=0;i<e.length;i++)o.push(ot(e[i],t,n,r));return o}function $n(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){$t(a,null,10,[e,s,l]);return}}qd(e,n,o,r)}function qd(e,t,n,r=!0){console.error(e)}let er=!1,Ai=!1;const $e=[];let ft=0;const En=[];let Lt=null,Jt=0;const _c=Promise.resolve();let ws=null;function fn(e){const t=ws||_c;return e?t.then(this?e.bind(this):e):t}function Kd(e){let t=ft+1,n=$e.length;for(;t<n;){const r=t+n>>>1,o=$e[r],i=tr(o);i<e||i===e&&o.pre?t=r+1:n=r}return t}function Io(e){(!$e.length||!$e.includes(e,er&&e.allowRecurse?ft+1:ft))&&(e.id==null?$e.push(e):$e.splice(Kd(e.id),0,e),gc())}function gc(){!er&&!Ai&&(Ai=!0,ws=_c.then(yc))}function Jd(e){const t=$e.indexOf(e);t>ft&&$e.splice(t,1)}function Ri(e){X(e)?En.push(...e):(!Lt||!Lt.includes(e,e.allowRecurse?Jt+1:Jt))&&En.push(e),gc()}function dl(e,t,n=er?ft+1:0){for(;n<$e.length;n++){const r=$e[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;$e.splice(n,1),n--,r()}}}function Zr(e){if(En.length){const t=[...new Set(En)].sort((n,r)=>tr(n)-tr(r));if(En.length=0,Lt){Lt.push(...t);return}for(Lt=t,Jt=0;Jt<Lt.length;Jt++)Lt[Jt]();Lt=null,Jt=0}}const tr=e=>e.id==null?1/0:e.id,Yd=(e,t)=>{const n=tr(e)-tr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function yc(e){Ai=!1,er=!0,$e.sort(Yd);try{for(ft=0;ft<$e.length;ft++){const t=$e[ft];t&&t.active!==!1&&$t(t,null,14)}}finally{ft=0,$e.length=0,Zr(),er=!1,ws=null,($e.length||En.length)&&yc()}}function Xd(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||me;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]||me;d&&(o=n.map(p=>be(p)?p.trim():p)),f&&(o=n.map(ad))}let l,a=r[l=ti(t)]||r[l=ti(mt(t))];!a&&i&&(a=r[l=ti(an(t))]),a&&ot(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,ot(c,e,6,o)}}function vc(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(!Q(e)){const a=c=>{const u=vc(c,t,!0);u&&(l=!0,Ne(s,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(pe(e)&&r.set(e,null),null):(X(i)?i.forEach(a=>s[a]=null):Ne(s,i),pe(e)&&r.set(e,s),s)}function No(e,t){return!e||!hr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ae(e,t[0].toLowerCase()+t.slice(1))||ae(e,an(t))||ae(e,t))}let Ce=null,Do=null;function eo(e){const t=Ce;return Ce=e,Do=e&&e.type.__scopeId||null,t}function bc(e){Do=e}function wc(){Do=null}const Qd=e=>re;function re(e,t=Ce,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Cl(-1);const i=eo(t);let s;try{s=e(...o)}finally{eo(i),r._d&&Cl(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function ri(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:_}=e;let v,E;const C=eo(e);try{if(n.shapeFlag&4){const S=o||r,T=S;v=Ye(u.call(T,S,f,i,p,d,h)),E=a}else{const S=t;v=Ye(S.length>1?S(i,{attrs:a,slots:l,emit:c}):S(i,null)),E=t.props?a:ep(a)}}catch(S){zn.length=0,$n(S,e,1),v=W(lt)}let y=v;if(E&&_!==!1){const S=Object.keys(E),{shapeFlag:T}=y;S.length&&T&7&&(s&&S.some(cs)&&(E=tp(E,s)),y=In(y,E))}return n.dirs&&(y=In(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),v=y,eo(C),v}function Zd(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(rr(o)){if(o.type!==lt||o.children==="v-if"){if(n)return;n=o}}else return}return n}const ep=e=>{let t;for(const n in e)(n==="class"||n==="style"||hr(n))&&((t||(t={}))[n]=e[n]);return t},tp=(e,t)=>{const n={};for(const r in e)(!cs(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function np(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?pl(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]&&!No(c,d))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===s?!1:r?s?pl(r,s,c):!0:!!s;return!1}function pl(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]&&!No(n,i))return!0}return!1}function Es({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 Ts="components";function on(e,t){return Tc(Ts,e,!0,t)||e}const Ec=Symbol.for("v-ndc");function rp(e){return be(e)?Tc(Ts,e,!1)||e:e||Ec}function Tc(e,t,n=!0,r=!1){const o=Ce||xe;if(o){const i=o.type;if(e===Ts){const l=eh(i,!1);if(l&&(l===t||l===mt(t)||l===Lo(mt(t))))return i}const s=hl(o[e]||i[e],t)||hl(o.appContext[e],t);return!s&&r?i:s}}function hl(e,t){return e&&(e[t]||e[mt(t)]||e[Lo(mt(t))])}const op=e=>e.__isSuspense;let Oi=0;const ip={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,l,a,c){if(e==null)lp(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}ap(e,t,n,r,o,s,l,a,c)}},hydrate:cp,create:Cs,normalize:up},sp=ip;function nr(e,t){const n=e.props&&e.props[t];Q(n)&&n()}function lp(e,t,n,r,o,i,s,l,a){const{p:c,o:{createElement:u}}=a,f=u("div"),d=e.suspense=Cs(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?(nr(e,"onPending"),nr(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,s),Tn(d,e.ssFallback)):d.resolve(!1,!0)}function ap(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:_,isInFallback:v,isHydrating:E}=f;if(_)f.pendingBranch=d,Nt(d,_)?(a(_,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0?f.resolve():v&&(E||(a(h,p,n,r,o,null,i,s,l),Tn(f,p)))):(f.pendingId=Oi++,E?(f.isHydrating=!1,f.activeBranch=_):c(_,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),v?(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),Tn(f,p))):h&&Nt(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&&Nt(d,h))a(h,d,n,r,o,f,i,s,l),Tn(f,d);else if(nr(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=Oi++,a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0)f.resolve();else{const{timeout:C,pendingId:y}=f;C>0?setTimeout(()=>{f.pendingId===y&&f.fallback(p)},C):C===0&&f.fallback(p)}}function Cs(e,t,n,r,o,i,s,l,a,c,u=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:_,remove:v}}=c;let E;const C=fp(e);C&&t!=null&&t.pendingBranch&&(E=t.pendingId,t.deps++);const y=e.props?cd(e.props.timeout):void 0,S=i,T={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:Oi++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,A=!1){const{vnode:V,activeBranch:B,pendingBranch:O,pendingId:G,effects:z,parentComponent:oe,container:ce}=T;let fe=!1;T.isHydrating?T.isHydrating=!1:x||(fe=B&&O.transition&&O.transition.mode==="out-in",fe&&(B.transition.afterLeave=()=>{G===T.pendingId&&(d(O,ce,i===S?h(B):i,0),Ri(z))}),B&&(_(B.el)!==T.hiddenContainer&&(i=h(B)),p(B,oe,T,!0)),fe||d(O,ce,i,0)),Tn(T,O),T.pendingBranch=null,T.isInFallback=!1;let F=T.parent,Y=!1;for(;F;){if(F.pendingBranch){F.effects.push(...z),Y=!0;break}F=F.parent}!Y&&!fe&&Ri(z),T.effects=[],C&&t&&t.pendingBranch&&E===t.pendingId&&(t.deps--,t.deps===0&&!A&&t.resolve()),nr(V,"onResolve")},fallback(x){if(!T.pendingBranch)return;const{vnode:A,activeBranch:V,parentComponent:B,container:O,namespace:G}=T;nr(A,"onFallback");const z=h(V),oe=()=>{T.isInFallback&&(f(null,x,O,z,B,null,G,l,a),Tn(T,x))},ce=x.transition&&x.transition.mode==="out-in";ce&&(V.transition.afterLeave=oe),T.isInFallback=!0,p(V,B,null,!0),ce||oe()},move(x,A,V){T.activeBranch&&d(T.activeBranch,x,A,V),T.container=x},next(){return T.activeBranch&&h(T.activeBranch)},registerDep(x,A){const V=!!T.pendingBranch;V&&T.deps++;const B=x.vnode.el;x.asyncDep.catch(O=>{$n(O,x,0)}).then(O=>{if(x.isUnmounted||T.isUnmounted||T.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:G}=x;Mi(x,O,!1),B&&(G.el=B);const z=!B&&x.subTree.el;A(x,G,_(B||x.subTree.el),B?null:h(x.subTree),T,s,a),z&&v(z),Es(x,G.el),V&&--T.deps===0&&T.resolve()})},unmount(x,A){T.isUnmounted=!0,T.activeBranch&&p(T.activeBranch,n,x,A),T.pendingBranch&&p(T.pendingBranch,n,x,A)}};return T}function cp(e,t,n,r,o,i,s,l,a){const c=t.suspense=Cs(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 up(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=ml(r?n.default:n),e.ssFallback=r?ml(n.fallback):W(lt)}function ml(e){let t;if(Q(e)){const n=kn&&e._c;n&&(e._d=!1,j()),e=e(),n&&(e._d=!0,t=Qe,Wc())}return X(e)&&(e=Zd(e)),e=Ye(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Cc(e,t){t&&t.pendingBranch?X(e)?t.effects.push(...e):t.effects.push(e):Ri(e)}function Tn(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,Es(r,o))}function fp(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const dp=Symbol.for("v-scx"),pp=()=>Sn(dp);function xc(e,t){return $o(e,null,t)}function hp(e,t){return $o(e,null,{flush:"post"})}const Pr={};function dt(e,t,n){return $o(e,t,n)}function $o(e,t,{immediate:n,deep:r,flush:o,once:i,onTrack:s,onTrigger:l}=me){if(t&&i){const x=t;t=(...A)=>{x(...A),T()}}const a=xe,c=x=>r===!0?x:Yt(x,r===!1?1:void 0);let u,f=!1,d=!1;if(Oe(e)?(u=()=>e.value,f=Qr(e)):wn(e)?(u=()=>c(e),f=!0):X(e)?(d=!0,f=e.some(x=>wn(x)||Qr(x)),u=()=>e.map(x=>{if(Oe(x))return x.value;if(wn(x))return c(x);if(Q(x))return $t(x,a,2)})):Q(e)?t?u=()=>$t(e,a,2):u=()=>(p&&p(),ot(e,a,3,[h])):u=Xe,t&&r){const x=u;u=()=>Yt(x())}let p,h=x=>{p=y.onStop=()=>{$t(x,a,4),p=y.onStop=void 0}},_;if(_r)if(h=Xe,t?n&&ot(t,a,3,[u(),d?[]:void 0,h]):u(),o==="sync"){const x=pp();_=x.__watcherHandles||(x.__watcherHandles=[])}else return Xe;let v=d?new Array(e.length).fill(Pr):Pr;const E=()=>{if(!(!y.active||!y.dirty))if(t){const x=y.run();(r||f||(d?x.some((A,V)=>Bt(A,v[V])):Bt(x,v)))&&(p&&p(),ot(t,a,3,[x,v===Pr?void 0:d&&v[0]===Pr?[]:v,h]),v=x)}else y.run()};E.allowRecurse=!!t;let C;o==="sync"?C=E:o==="post"?C=()=>je(E,a&&a.suspense):(E.pre=!0,a&&(E.id=a.uid),C=()=>Io(E));const y=new ps(u,Xe,C),S=Ya(),T=()=>{y.stop(),S&&us(S.effects,y)};return t?n?E():v=y.run():o==="post"?je(y.run.bind(y),a&&a.suspense):y.run(),_&&_.push(T),T}function mp(e,t,n){const r=this.proxy,o=be(e)?e.includes(".")?Sc(r,e):()=>r[e]:e.bind(r,r);let i;Q(t)?i=t:(i=t.handler,n=t);const s=sn(this),l=$o(o,i.bind(r),n);return s(),l}function Sc(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 Yt(e,t,n=0,r){if(!pe(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),Oe(e))Yt(e.value,t,n,r);else if(X(e))for(let o=0;o<e.length;o++)Yt(e[o],t,n,r);else if(Fa(e)||vn(e))e.forEach(o=>{Yt(o,t,n,r)});else if(Ga(e))for(const o in e)Yt(e[o],t,n,r);return e}function _p(e,t){if(Ce===null)return e;const n=jo(Ce)||Ce.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,s,l,a=me]=t[o];i&&(Q(i)&&(i={mounted:i,updated:i}),i.deep&&Yt(s),r.push({dir:i,instance:n,value:s,oldValue:void 0,arg:l,modifiers:a}))}return e}function ut(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&&(cn(),ot(a,n,8,[e.el,l,e,t]),un())}}/*! #__NO_SIDE_EFFECTS__ */function We(e,t){return Q(e)?Ne({name:e.name},t,{setup:e}):e}const Cn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function to(e){Q(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((_,v)=>{l(h,()=>_(f()),()=>v(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 We({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=xe;if(c)return()=>oi(c,p);const h=C=>{a=null,$n(C,p,13,!r)};if(s&&p.suspense||_r)return d().then(C=>()=>oi(C,p)).catch(C=>(h(C),()=>r?W(r,{error:C}):null));const _=ve(!1),v=ve(),E=ve(!!o);return o&&setTimeout(()=>{E.value=!1},o),i!=null&&setTimeout(()=>{if(!_.value&&!v.value){const C=new Error(`Async component timed out after ${i}ms.`);h(C),v.value=C}},i),d().then(()=>{_.value=!0,p.parent&&xs(p.parent.vnode)&&(p.parent.effect.dirty=!0,Io(p.parent.update))}).catch(C=>{h(C),v.value=C}),()=>{if(_.value&&c)return oi(c,p);if(v.value&&r)return W(r,{error:v.value});if(n&&!E.value)return W(n)}}})}function oi(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=W(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const xs=e=>e.type.__isKeepAlive;function Pc(e,t){Rc(e,"a",t)}function Ac(e,t){Rc(e,"da",t)}function Rc(e,t,n=xe){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Mo(t,r,n),n){let o=n.parent;for(;o&&o.parent;)xs(o.parent.vnode)&&gp(r,t,n,o),o=o.parent}}function gp(e,t,n,r){const o=Mo(t,e,r,!0);Ps(()=>{us(r[t],o)},n)}function Mo(e,t,n=xe,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;cn();const l=sn(n),a=ot(t,n,e,s);return l(),un(),a});return r?o.unshift(i):o.push(i),i}}const xt=e=>(t,n=xe)=>(!_r||e==="sp")&&Mo(e,(...r)=>t(...r),n),yp=xt("bm"),Vo=xt("m"),vp=xt("bu"),bp=xt("u"),Ss=xt("bum"),Ps=xt("um"),wp=xt("sp"),Ep=xt("rtg"),Tp=xt("rtc");function Oc(e,t=xe){Mo("ec",e,t)}function _n(e,t,n,r){let o;const i=n&&n[r];if(X(e)||be(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(pe(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 Fe(e,t,n={},r,o){if(Ce.isCE||Ce.parent&&Cn(Ce.parent)&&Ce.parent.isCE)return t!=="default"&&(n.name=t),W("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),j();const s=i&&Lc(i(n)),l=ye(ge,{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 Lc(e){return e.some(t=>rr(t)?!(t.type===lt||t.type===ge&&!Lc(t.children)):!0)?e:null}const Li=e=>e?Kc(e)?jo(e)||e.proxy:Li(e.parent):null,Wn=Ne(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=>Li(e.parent),$root:e=>Li(e.root),$emit:e=>e.emit,$options:e=>As(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Io(e.update)}),$nextTick:e=>e.n||(e.n=fn.bind(e.proxy)),$watch:e=>mp.bind(e)}),ii=(e,t)=>e!==me&&!e.__isScriptSetup&&ae(e,t),Cp={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(ii(r,t))return s[t]=1,r[t];if(o!==me&&ae(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&ae(c,t))return s[t]=3,i[t];if(n!==me&&ae(n,t))return s[t]=4,n[t];ki&&(s[t]=0)}}const u=Wn[t];let f,d;if(u)return t==="$attrs"&&Ge(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==me&&ae(n,t))return s[t]=4,n[t];if(d=a.config.globalProperties,ae(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return ii(o,t)?(o[t]=n,!0):r!==me&&ae(r,t)?(r[t]=n,!0):ae(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!==me&&ae(e,s)||ii(t,s)||(l=i[0])&&ae(l,s)||ae(r,s)||ae(Wn,s)||ae(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ae(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function _l(e){return X(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function xp(e){const t=Mn();let n=e();return $i(),fs(n)&&(n=n.catch(r=>{throw sn(t),r})),[n,()=>sn(t)]}let ki=!0;function Sp(e){const t=As(e),n=e.proxy,r=e.ctx;ki=!1,t.beforeCreate&&gl(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:_,deactivated:v,beforeDestroy:E,beforeUnmount:C,destroyed:y,unmounted:S,render:T,renderTracked:x,renderTriggered:A,errorCaptured:V,serverPrefetch:B,expose:O,inheritAttrs:G,components:z,directives:oe,filters:ce}=t;if(c&&Pp(c,r,null),s)for(const Y in s){const q=s[Y];Q(q)&&(r[Y]=q.bind(n))}if(o){const Y=o.call(n,n);pe(Y)&&(e.data=Ct(Y))}if(ki=!0,i)for(const Y in i){const q=i[Y],yt=Q(q)?q.bind(n,n):Q(q.get)?q.get.bind(n,n):Xe,br=!Q(q)&&Q(q.set)?q.set.bind(n):Xe,Gt=Ue({get:yt,set:br});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>Gt.value,set:at=>Gt.value=at})}if(l)for(const Y in l)kc(l[Y],r,n,Y);if(a){const Y=Q(a)?a.call(n):a;Reflect.ownKeys(Y).forEach(q=>{Nc(q,Y[q])})}u&&gl(u,e,"c");function F(Y,q){X(q)?q.forEach(yt=>Y(yt.bind(n))):q&&Y(q.bind(n))}if(F(yp,f),F(Vo,d),F(vp,p),F(bp,h),F(Pc,_),F(Ac,v),F(Oc,V),F(Tp,x),F(Ep,A),F(Ss,C),F(Ps,S),F(wp,B),X(O))if(O.length){const Y=e.exposed||(e.exposed={});O.forEach(q=>{Object.defineProperty(Y,q,{get:()=>n[q],set:yt=>n[q]=yt})})}else e.exposed||(e.exposed={});T&&e.render===Xe&&(e.render=T),G!=null&&(e.inheritAttrs=G),z&&(e.components=z),oe&&(e.directives=oe)}function Pp(e,t,n=Xe){X(e)&&(e=Ii(e));for(const r in e){const o=e[r];let i;pe(o)?"default"in o?i=Sn(o.from||r,o.default,!0):i=Sn(o.from||r):i=Sn(o),Oe(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function gl(e,t,n){ot(X(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function kc(e,t,n,r){const o=r.includes(".")?Sc(n,r):()=>n[r];if(be(e)){const i=t[e];Q(i)&&dt(o,i)}else if(Q(e))dt(o,e.bind(n));else if(pe(e))if(X(e))e.forEach(i=>kc(i,t,n,r));else{const i=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(i)&&dt(o,i,e)}}function As(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=>no(a,c,s,!0)),no(a,t,s)),pe(t)&&i.set(t,a),a}function no(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&no(e,i,n,!0),o&&o.forEach(s=>no(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const l=Ap[s]||n&&n[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const Ap={data:yl,props:vl,emits:vl,methods:Un,computed:Un,beforeCreate:Me,created:Me,beforeMount:Me,mounted:Me,beforeUpdate:Me,updated:Me,beforeDestroy:Me,beforeUnmount:Me,destroyed:Me,unmounted:Me,activated:Me,deactivated:Me,errorCaptured:Me,serverPrefetch:Me,components:Un,directives:Un,watch:Op,provide:yl,inject:Rp};function yl(e,t){return t?e?function(){return Ne(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function Rp(e,t){return Un(Ii(e),Ii(t))}function Ii(e){if(X(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Me(e,t){return e?[...new Set([].concat(e,t))]:t}function Un(e,t){return e?Ne(Object.create(null),e,t):t}function vl(e,t){return e?X(e)&&X(t)?[...new Set([...e,...t])]:Ne(Object.create(null),_l(e),_l(t??{})):t}function Op(e,t){if(!e)return t;if(!t)return e;const n=Ne(Object.create(null),e);for(const r in t)n[r]=Me(e[r],t[r]);return n}function Ic(){return{app:null,config:{isNativeTag:rd,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 Lp=0;function kp(e,t){return function(r,o=null){Q(r)||(r=Ne({},r)),o!=null&&!pe(o)&&(o=null);const i=Ic(),s=new WeakSet;let l=!1;const a=i.app={_uid:Lp++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:Yc,get config(){return i.config},set config(c){},use(c,...u){return s.has(c)||(c&&Q(c.install)?(s.add(c),c.install(a,...u)):Q(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=W(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,jo(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=xn;xn=a;try{return c()}finally{xn=u}}};return a}}let xn=null;function Nc(e,t){if(xe){let n=xe.provides;const r=xe.parent&&xe.parent.provides;r===n&&(n=xe.provides=Object.create(r)),n[e]=t}}function Sn(e,t,n=!1){const r=xe||Ce;if(r||xn){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:xn._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Q(t)?t.call(r&&r.proxy):t}}function Dc(){return!!(xe||Ce||xn)}function Ip(e,t,n,r=!1){const o={},i={};Jr(i,Ho,1),e.propsDefaults=Object.create(null),$c(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:ac(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function Np(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,l=ue(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(No(e.emitsOptions,d))continue;const p=t[d];if(a)if(ae(i,d))p!==i[d]&&(i[d]=p,c=!0);else{const h=mt(d);o[h]=Ni(a,l,h,p,e,!1)}else p!==i[d]&&(i[d]=p,c=!0)}}}else{$c(e,t,o,i)&&(c=!0);let u;for(const f in l)(!t||!ae(t,f)&&((u=an(f))===f||!ae(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Ni(a,l,f,void 0,e,!0)):delete o[f]);if(i!==l)for(const f in i)(!t||!ae(t,f))&&(delete i[f],c=!0)}c&&Tt(e,"set","$attrs")}function $c(e,t,n,r){const[o,i]=e.propsOptions;let s=!1,l;if(t)for(let a in t){if(bn(a))continue;const c=t[a];let u;o&&ae(o,u=mt(a))?!i||!i.includes(u)?n[u]=c:(l||(l={}))[u]=c:No(e.emitsOptions,a)||(!(a in r)||c!==r[a])&&(r[a]=c,s=!0)}if(i){const a=ue(n),c=l||me;for(let u=0;u<i.length;u++){const f=i[u];n[f]=Ni(o,a,f,c[f],e,!ae(c,f))}}return s}function Ni(e,t,n,r,o,i){const s=e[n];if(s!=null){const l=ae(s,"default");if(l&&r===void 0){const a=s.default;if(s.type!==Function&&!s.skipFactory&&Q(a)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=sn(o);r=c[n]=a.call(null,t),u()}}else r=a}s[0]&&(i&&!l?r=!1:s[1]&&(r===""||r===an(n))&&(r=!0))}return r}function Mc(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(!Q(e)){const u=f=>{a=!0;const[d,p]=Mc(f,t,!0);Ne(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 pe(e)&&r.set(e,yn),yn;if(X(i))for(let u=0;u<i.length;u++){const f=mt(i[u]);bl(f)&&(s[f]=me)}else if(i)for(const u in i){const f=mt(u);if(bl(f)){const d=i[u],p=s[f]=X(d)||Q(d)?{type:d}:Ne({},d);if(p){const h=Tl(Boolean,p.type),_=Tl(String,p.type);p[0]=h>-1,p[1]=_<0||h<_,(h>-1||ae(p,"default"))&&l.push(f)}}}const c=[s,l];return pe(e)&&r.set(e,c),c}function bl(e){return e[0]!=="$"&&!bn(e)}function wl(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function El(e,t){return wl(e)===wl(t)}function Tl(e,t){return X(t)?t.findIndex(n=>El(n,e)):Q(t)&&El(t,e)?0:-1}const Vc=e=>e[0]==="_"||e==="$stable",Rs=e=>X(e)?e.map(Ye):[Ye(e)],Dp=(e,t,n)=>{if(t._n)return t;const r=re((...o)=>Rs(t(...o)),n);return r._c=!1,r},Hc=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Vc(o))continue;const i=e[o];if(Q(i))t[o]=Dp(o,i,r);else if(i!=null){const s=Rs(i);t[o]=()=>s}}},Bc=(e,t)=>{const n=Rs(t);e.slots.default=()=>n},$p=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ue(t),Jr(t,"_",n)):Hc(t,e.slots={})}else e.slots={},t&&Bc(e,t);Jr(e.slots,Ho,1)},Mp=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=me;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(Ne(o,t),!n&&l===1&&delete o._):(i=!t.$stable,Hc(t,o)),s=t}else t&&(Bc(e,t),s={default:1});if(i)for(const l in o)!Vc(l)&&s[l]==null&&delete o[l]};function ro(e,t,n,r,o=!1){if(X(e)){e.forEach((d,p)=>ro(d,t&&(X(t)?t[p]:t),n,r,o));return}if(Cn(r)&&!o)return;const i=r.shapeFlag&4?jo(r.component)||r.component.proxy:r.el,s=o?null:i,{i:l,r:a}=e,c=t&&t.r,u=l.refs===me?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(be(c)?(u[c]=null,ae(f,c)&&(f[c]=null)):Oe(c)&&(c.value=null)),Q(a))$t(a,l,12,[s,u]);else{const d=be(a),p=Oe(a);if(d||p){const h=()=>{if(e.f){const _=d?ae(f,a)?f[a]:u[a]:a.value;o?X(_)&&us(_,i):X(_)?_.includes(i)||_.push(i):d?(u[a]=[i],ae(f,a)&&(f[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else d?(u[a]=s,ae(f,a)&&(f[a]=s)):p&&(a.value=s,e.k&&(u[e.k]=s))};s?(h.id=-1,je(h,n)):h()}}}let Pt=!1;const Vp=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Hp=e=>e.namespaceURI.includes("MathML"),Ar=e=>{if(Vp(e))return"svg";if(Hp(e))return"mathml"},Rr=e=>e.nodeType===8;function Bp(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:l,insert:a,createComment:c}}=e,u=(y,S)=>{if(!S.hasChildNodes()){n(null,y,S),Zr(),S._vnode=y;return}Pt=!1,f(S.firstChild,y,null,null,null),Zr(),S._vnode=y,Pt&&console.error("Hydration completed but contains mismatches.")},f=(y,S,T,x,A,V=!1)=>{const B=Rr(y)&&y.data==="[",O=()=>_(y,S,T,x,A,B),{type:G,ref:z,shapeFlag:oe,patchFlag:ce}=S;let fe=y.nodeType;S.el=y,ce===-2&&(V=!1,S.dynamicChildren=null);let F=null;switch(G){case Ln:fe!==3?S.children===""?(a(S.el=o(""),s(y),y),F=y):F=O():(y.data!==S.children&&(Pt=!0,y.data=S.children),F=i(y));break;case lt:C(y)?(F=i(y),E(S.el=y.content.firstChild,y,T)):fe!==8||B?F=O():F=i(y);break;case Pn:if(B&&(y=i(y),fe=y.nodeType),fe===1||fe===3){F=y;const Y=!S.children.length;for(let q=0;q<S.staticCount;q++)Y&&(S.children+=F.nodeType===1?F.outerHTML:F.data),q===S.staticCount-1&&(S.anchor=F),F=i(F);return B?i(F):F}else O();break;case ge:B?F=h(y,S,T,x,A,V):F=O();break;default:if(oe&1)(fe!==1||S.type.toLowerCase()!==y.tagName.toLowerCase())&&!C(y)?F=O():F=d(y,S,T,x,A,V);else if(oe&6){S.slotScopeIds=A;const Y=s(y);if(B?F=v(y):Rr(y)&&y.data==="teleport start"?F=v(y,y.data,"teleport end"):F=i(y),t(S,Y,null,T,x,Ar(Y),V),Cn(S)){let q;B?(q=W(ge),q.anchor=F?F.previousSibling:Y.lastChild):q=y.nodeType===3?se(""):W("div"),q.el=y,S.component.subTree=q}}else oe&64?fe!==8?F=O():F=S.type.hydrate(y,S,T,x,A,V,e,p):oe&128&&(F=S.type.hydrate(y,S,T,x,Ar(s(y)),A,V,e,f))}return z!=null&&ro(z,null,x,S),F},d=(y,S,T,x,A,V)=>{V=V||!!S.dynamicChildren;const{type:B,props:O,patchFlag:G,shapeFlag:z,dirs:oe,transition:ce}=S,fe=B==="input"||B==="option";if(fe||G!==-1){oe&&ut(S,null,T,"created");let F=!1;if(C(y)){F=Fc(x,ce)&&T&&T.vnode.props&&T.vnode.props.appear;const q=y.content.firstChild;F&&ce.beforeEnter(q),E(q,y,T),S.el=y=q}if(z&16&&!(O&&(O.innerHTML||O.textContent))){let q=p(y.firstChild,S,y,T,x,A,V);for(;q;){Pt=!0;const yt=q;q=q.nextSibling,l(yt)}}else z&8&&y.textContent!==S.children&&(Pt=!0,y.textContent=S.children);if(O)if(fe||!V||G&48)for(const q in O)(fe&&(q.endsWith("value")||q==="indeterminate")||hr(q)&&!bn(q)||q[0]===".")&&r(y,q,null,O[q],void 0,void 0,T);else O.onClick&&r(y,"onClick",null,O.onClick,void 0,void 0,T);let Y;(Y=O&&O.onVnodeBeforeMount)&&Je(Y,T,S),oe&&ut(S,null,T,"beforeMount"),((Y=O&&O.onVnodeMounted)||oe||F)&&Cc(()=>{Y&&Je(Y,T,S),F&&ce.enter(y),oe&&ut(S,null,T,"mounted")},x)}return y.nextSibling},p=(y,S,T,x,A,V,B)=>{B=B||!!S.dynamicChildren;const O=S.children,G=O.length;for(let z=0;z<G;z++){const oe=B?O[z]:O[z]=Ye(O[z]);if(y)y=f(y,oe,x,A,V,B);else{if(oe.type===Ln&&!oe.children)continue;Pt=!0,n(null,oe,T,null,x,A,Ar(T),V)}}return y},h=(y,S,T,x,A,V)=>{const{slotScopeIds:B}=S;B&&(A=A?A.concat(B):B);const O=s(y),G=p(i(y),S,O,T,x,A,V);return G&&Rr(G)&&G.data==="]"?i(S.anchor=G):(Pt=!0,a(S.anchor=c("]"),O,G),G)},_=(y,S,T,x,A,V)=>{if(Pt=!0,S.el=null,V){const G=v(y);for(;;){const z=i(y);if(z&&z!==G)l(z);else break}}const B=i(y),O=s(y);return l(y),n(null,S,O,B,T,x,Ar(O),A),B},v=(y,S="[",T="]")=>{let x=0;for(;y;)if(y=i(y),y&&Rr(y)&&(y.data===S&&x++,y.data===T)){if(x===0)return i(y);x--}return y},E=(y,S,T)=>{const x=S.parentNode;x&&x.replaceChild(y,S);let A=T;for(;A;)A.vnode.el===S&&(A.vnode.el=A.subTree.el=y),A=A.parent},C=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,f]}const je=Cc;function jp(e){return jc(e)}function Fp(e){return jc(e,Bp)}function jc(e,t){const n=Wa();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=Xe,insertStaticContent:h}=e,_=(g,w,P,R=null,L=null,$=null,H=void 0,D=null,M=!!w.dynamicChildren)=>{if(g===w)return;g&&!Nt(g,w)&&(R=wr(g),at(g,L,$,!0),g=null),w.patchFlag===-2&&(M=!1,w.dynamicChildren=null);const{type:k,ref:U,shapeFlag:J}=w;switch(k){case Ln:v(g,w,P,R);break;case lt:E(g,w,P,R);break;case Pn:g==null&&C(w,P,R,H);break;case ge:z(g,w,P,R,L,$,H,D,M);break;default:J&1?T(g,w,P,R,L,$,H,D,M):J&6?oe(g,w,P,R,L,$,H,D,M):(J&64||J&128)&&k.process(g,w,P,R,L,$,H,D,M,hn)}U!=null&&L&&ro(U,g&&g.ref,$,w||g,!w)},v=(g,w,P,R)=>{if(g==null)r(w.el=l(w.children),P,R);else{const L=w.el=g.el;w.children!==g.children&&c(L,w.children)}},E=(g,w,P,R)=>{g==null?r(w.el=a(w.children||""),P,R):w.el=g.el},C=(g,w,P,R)=>{[g.el,g.anchor]=h(g.children,w,P,R,g.el,g.anchor)},y=({el:g,anchor:w},P,R)=>{let L;for(;g&&g!==w;)L=d(g),r(g,P,R),g=L;r(w,P,R)},S=({el:g,anchor:w})=>{let P;for(;g&&g!==w;)P=d(g),o(g),g=P;o(w)},T=(g,w,P,R,L,$,H,D,M)=>{w.type==="svg"?H="svg":w.type==="math"&&(H="mathml"),g==null?x(w,P,R,L,$,H,D,M):B(g,w,L,$,H,D,M)},x=(g,w,P,R,L,$,H,D)=>{let M,k;const{props:U,shapeFlag:J,transition:K,dirs:ee}=g;if(M=g.el=s(g.type,$,U&&U.is,U),J&8?u(M,g.children):J&16&&V(g.children,M,null,R,L,si(g,$),H,D),ee&&ut(g,null,R,"created"),A(M,g,g.scopeId,H,R),U){for(const de in U)de!=="value"&&!bn(de)&&i(M,de,null,U[de],$,g.children,R,L,vt);"value"in U&&i(M,"value",null,U.value,$),(k=U.onVnodeBeforeMount)&&Je(k,R,g)}ee&&ut(g,null,R,"beforeMount");const ie=Fc(L,K);ie&&K.beforeEnter(M),r(M,w,P),((k=U&&U.onVnodeMounted)||ie||ee)&&je(()=>{k&&Je(k,R,g),ie&&K.enter(M),ee&&ut(g,null,R,"mounted")},L)},A=(g,w,P,R,L)=>{if(P&&p(g,P),R)for(let $=0;$<R.length;$++)p(g,R[$]);if(L){let $=L.subTree;if(w===$){const H=L.vnode;A(g,H,H.scopeId,H.slotScopeIds,L.parent)}}},V=(g,w,P,R,L,$,H,D,M=0)=>{for(let k=M;k<g.length;k++){const U=g[k]=D?kt(g[k]):Ye(g[k]);_(null,U,w,P,R,L,$,H,D)}},B=(g,w,P,R,L,$,H)=>{const D=w.el=g.el;let{patchFlag:M,dynamicChildren:k,dirs:U}=w;M|=g.patchFlag&16;const J=g.props||me,K=w.props||me;let ee;if(P&&Wt(P,!1),(ee=K.onVnodeBeforeUpdate)&&Je(ee,P,w,g),U&&ut(w,g,P,"beforeUpdate"),P&&Wt(P,!0),k?O(g.dynamicChildren,k,D,P,R,si(w,L),$):H||q(g,w,D,null,P,R,si(w,L),$,!1),M>0){if(M&16)G(D,w,J,K,P,R,L);else if(M&2&&J.class!==K.class&&i(D,"class",null,K.class,L),M&4&&i(D,"style",J.style,K.style,L),M&8){const ie=w.dynamicProps;for(let de=0;de<ie.length;de++){const _e=ie[de],Pe=J[_e],tt=K[_e];(tt!==Pe||_e==="value")&&i(D,_e,Pe,tt,L,g.children,P,R,vt)}}M&1&&g.children!==w.children&&u(D,w.children)}else!H&&k==null&&G(D,w,J,K,P,R,L);((ee=K.onVnodeUpdated)||U)&&je(()=>{ee&&Je(ee,P,w,g),U&&ut(w,g,P,"updated")},R)},O=(g,w,P,R,L,$,H)=>{for(let D=0;D<w.length;D++){const M=g[D],k=w[D],U=M.el&&(M.type===ge||!Nt(M,k)||M.shapeFlag&70)?f(M.el):P;_(M,k,U,null,R,L,$,H,!0)}},G=(g,w,P,R,L,$,H)=>{if(P!==R){if(P!==me)for(const D in P)!bn(D)&&!(D in R)&&i(g,D,P[D],null,H,w.children,L,$,vt);for(const D in R){if(bn(D))continue;const M=R[D],k=P[D];M!==k&&D!=="value"&&i(g,D,k,M,H,w.children,L,$,vt)}"value"in R&&i(g,"value",P.value,R.value,H)}},z=(g,w,P,R,L,$,H,D,M)=>{const k=w.el=g?g.el:l(""),U=w.anchor=g?g.anchor:l("");let{patchFlag:J,dynamicChildren:K,slotScopeIds:ee}=w;ee&&(D=D?D.concat(ee):ee),g==null?(r(k,P,R),r(U,P,R),V(w.children||[],P,U,L,$,H,D,M)):J>0&&J&64&&K&&g.dynamicChildren?(O(g.dynamicChildren,K,P,L,$,H,D),(w.key!=null||L&&w===L.subTree)&&Uc(g,w,!0)):q(g,w,P,U,L,$,H,D,M)},oe=(g,w,P,R,L,$,H,D,M)=>{w.slotScopeIds=D,g==null?w.shapeFlag&512?L.ctx.activate(w,P,R,H,M):ce(w,P,R,L,$,H,M):fe(g,w,M)},ce=(g,w,P,R,L,$,H)=>{const D=g.component=Jp(g,R,L);if(xs(g)&&(D.ctx.renderer=hn),Yp(D),D.asyncDep){if(L&&L.registerDep(D,F),!g.el){const M=D.subTree=W(lt);E(null,M,w,P)}}else F(D,g,w,P,L,$,H)},fe=(g,w,P)=>{const R=w.component=g.component;if(np(g,w,P))if(R.asyncDep&&!R.asyncResolved){Y(R,w,P);return}else R.next=w,Jd(R.update),R.effect.dirty=!0,R.update();else w.el=g.el,R.vnode=w},F=(g,w,P,R,L,$,H)=>{const D=()=>{if(g.isMounted){let{next:U,bu:J,u:K,parent:ee,vnode:ie}=g;{const mn=Gc(g);if(mn){U&&(U.el=ie.el,Y(g,U,H)),mn.asyncDep.then(()=>{g.isUnmounted||D()});return}}let de=U,_e;Wt(g,!1),U?(U.el=ie.el,Y(g,U,H)):U=ie,J&&Br(J),(_e=U.props&&U.props.onVnodeBeforeUpdate)&&Je(_e,ee,U,ie),Wt(g,!0);const Pe=ri(g),tt=g.subTree;g.subTree=Pe,_(tt,Pe,f(tt.el),wr(tt),g,L,$),U.el=Pe.el,de===null&&Es(g,Pe.el),K&&je(K,L),(_e=U.props&&U.props.onVnodeUpdated)&&je(()=>Je(_e,ee,U,ie),L)}else{let U;const{el:J,props:K}=w,{bm:ee,m:ie,parent:de}=g,_e=Cn(w);if(Wt(g,!1),ee&&Br(ee),!_e&&(U=K&&K.onVnodeBeforeMount)&&Je(U,de,w),Wt(g,!0),J&&ei){const Pe=()=>{g.subTree=ri(g),ei(J,g.subTree,g,L,null)};_e?w.type.__asyncLoader().then(()=>!g.isUnmounted&&Pe()):Pe()}else{const Pe=g.subTree=ri(g);_(null,Pe,P,R,g,L,$),w.el=Pe.el}if(ie&&je(ie,L),!_e&&(U=K&&K.onVnodeMounted)){const Pe=w;je(()=>Je(U,de,Pe),L)}(w.shapeFlag&256||de&&Cn(de.vnode)&&de.vnode.shapeFlag&256)&&g.a&&je(g.a,L),g.isMounted=!0,w=P=R=null}},M=g.effect=new ps(D,Xe,()=>Io(k),g.scope),k=g.update=()=>{M.dirty&&M.run()};k.id=g.uid,Wt(g,!0),k()},Y=(g,w,P)=>{w.component=g;const R=g.vnode.props;g.vnode=w,g.next=null,Np(g,w.props,R,P),Mp(g,w.children,P),cn(),dl(g),un()},q=(g,w,P,R,L,$,H,D,M=!1)=>{const k=g&&g.children,U=g?g.shapeFlag:0,J=w.children,{patchFlag:K,shapeFlag:ee}=w;if(K>0){if(K&128){br(k,J,P,R,L,$,H,D,M);return}else if(K&256){yt(k,J,P,R,L,$,H,D,M);return}}ee&8?(U&16&&vt(k,L,$),J!==k&&u(P,J)):U&16?ee&16?br(k,J,P,R,L,$,H,D,M):vt(k,L,$,!0):(U&8&&u(P,""),ee&16&&V(J,P,R,L,$,H,D,M))},yt=(g,w,P,R,L,$,H,D,M)=>{g=g||yn,w=w||yn;const k=g.length,U=w.length,J=Math.min(k,U);let K;for(K=0;K<J;K++){const ee=w[K]=M?kt(w[K]):Ye(w[K]);_(g[K],ee,P,null,L,$,H,D,M)}k>U?vt(g,L,$,!0,!1,J):V(w,P,R,L,$,H,D,M,J)},br=(g,w,P,R,L,$,H,D,M)=>{let k=0;const U=w.length;let J=g.length-1,K=U-1;for(;k<=J&&k<=K;){const ee=g[k],ie=w[k]=M?kt(w[k]):Ye(w[k]);if(Nt(ee,ie))_(ee,ie,P,null,L,$,H,D,M);else break;k++}for(;k<=J&&k<=K;){const ee=g[J],ie=w[K]=M?kt(w[K]):Ye(w[K]);if(Nt(ee,ie))_(ee,ie,P,null,L,$,H,D,M);else break;J--,K--}if(k>J){if(k<=K){const ee=K+1,ie=ee<U?w[ee].el:R;for(;k<=K;)_(null,w[k]=M?kt(w[k]):Ye(w[k]),P,ie,L,$,H,D,M),k++}}else if(k>K)for(;k<=J;)at(g[k],L,$,!0),k++;else{const ee=k,ie=k,de=new Map;for(k=ie;k<=K;k++){const ze=w[k]=M?kt(w[k]):Ye(w[k]);ze.key!=null&&de.set(ze.key,k)}let _e,Pe=0;const tt=K-ie+1;let mn=!1,el=0;const jn=new Array(tt);for(k=0;k<tt;k++)jn[k]=0;for(k=ee;k<=J;k++){const ze=g[k];if(Pe>=tt){at(ze,L,$,!0);continue}let ct;if(ze.key!=null)ct=de.get(ze.key);else for(_e=ie;_e<=K;_e++)if(jn[_e-ie]===0&&Nt(ze,w[_e])){ct=_e;break}ct===void 0?at(ze,L,$,!0):(jn[ct-ie]=k+1,ct>=el?el=ct:mn=!0,_(ze,w[ct],P,null,L,$,H,D,M),Pe++)}const tl=mn?Up(jn):yn;for(_e=tl.length-1,k=tt-1;k>=0;k--){const ze=ie+k,ct=w[ze],nl=ze+1<U?w[ze+1].el:R;jn[k]===0?_(null,ct,P,nl,L,$,H,D,M):mn&&(_e<0||k!==tl[_e]?Gt(ct,P,nl,2):_e--)}}},Gt=(g,w,P,R,L=null)=>{const{el:$,type:H,transition:D,children:M,shapeFlag:k}=g;if(k&6){Gt(g.component.subTree,w,P,R);return}if(k&128){g.suspense.move(w,P,R);return}if(k&64){H.move(g,w,P,hn);return}if(H===ge){r($,w,P);for(let J=0;J<M.length;J++)Gt(M[J],w,P,R);r(g.anchor,w,P);return}if(H===Pn){y(g,w,P);return}if(R!==2&&k&1&&D)if(R===0)D.beforeEnter($),r($,w,P),je(()=>D.enter($),L);else{const{leave:J,delayLeave:K,afterLeave:ee}=D,ie=()=>r($,w,P),de=()=>{J($,()=>{ie(),ee&&ee()})};K?K($,ie,de):de()}else r($,w,P)},at=(g,w,P,R=!1,L=!1)=>{const{type:$,props:H,ref:D,children:M,dynamicChildren:k,shapeFlag:U,patchFlag:J,dirs:K}=g;if(D!=null&&ro(D,null,P,g,!0),U&256){w.ctx.deactivate(g);return}const ee=U&1&&K,ie=!Cn(g);let de;if(ie&&(de=H&&H.onVnodeBeforeUnmount)&&Je(de,w,g),U&6)ed(g.component,P,R);else{if(U&128){g.suspense.unmount(P,R);return}ee&&ut(g,null,w,"beforeUnmount"),U&64?g.type.remove(g,w,P,L,hn,R):k&&($!==ge||J>0&&J&64)?vt(k,w,P,!1,!0):($===ge&&J&384||!L&&U&16)&&vt(M,w,P),R&&Qs(g)}(ie&&(de=H&&H.onVnodeUnmounted)||ee)&&je(()=>{de&&Je(de,w,g),ee&&ut(g,null,w,"unmounted")},P)},Qs=g=>{const{type:w,el:P,anchor:R,transition:L}=g;if(w===ge){Zf(P,R);return}if(w===Pn){S(g);return}const $=()=>{o(P),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(g.shapeFlag&1&&L&&!L.persisted){const{leave:H,delayLeave:D}=L,M=()=>H(P,$);D?D(g.el,$,M):M()}else $()},Zf=(g,w)=>{let P;for(;g!==w;)P=d(g),o(g),g=P;o(w)},ed=(g,w,P)=>{const{bum:R,scope:L,update:$,subTree:H,um:D}=g;R&&Br(R),L.stop(),$&&($.active=!1,at(H,g,w,P)),D&&je(D,w),je(()=>{g.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve())},vt=(g,w,P,R=!1,L=!1,$=0)=>{for(let H=$;H<g.length;H++)at(g[H],w,P,R,L)},wr=g=>g.shapeFlag&6?wr(g.component.subTree):g.shapeFlag&128?g.suspense.next():d(g.anchor||g.el);let Qo=!1;const Zs=(g,w,P)=>{g==null?w._vnode&&at(w._vnode,null,null,!0):_(w._vnode||null,g,w,null,null,null,P),Qo||(Qo=!0,dl(),Zr(),Qo=!1),w._vnode=g},hn={p:_,um:at,m:Gt,r:Qs,mt:ce,mc:V,pc:q,pbc:O,n:wr,o:e};let Zo,ei;return t&&([Zo,ei]=t(hn)),{render:Zs,hydrate:Zo,createApp:kp(Zs,Zo)}}function si({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 Wt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Fc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Uc(e,t,n=!1){const r=e.children,o=t.children;if(X(r)&&X(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]=kt(o[i]),l.el=s.el),n||Uc(s,l)),l.type===Ln&&(l.el=s.el)}}function Up(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 Gc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Gc(t)}const Gp=e=>e.__isTeleport,ge=Symbol.for("v-fgt"),Ln=Symbol.for("v-txt"),lt=Symbol.for("v-cmt"),Pn=Symbol.for("v-stc"),zn=[];let Qe=null;function j(e=!1){zn.push(Qe=e?null:[])}function Wc(){zn.pop(),Qe=zn[zn.length-1]||null}let kn=1;function Cl(e){kn+=e}function zc(e){return e.dynamicChildren=kn>0?Qe||yn:null,Wc(),kn>0&&Qe&&Qe.push(e),e}function Z(e,t,n,r,o,i){return zc(N(e,t,n,r,o,i,!0))}function ye(e,t,n,r,o){return zc(W(e,t,n,r,o,!0))}function rr(e){return e?e.__v_isVNode===!0:!1}function Nt(e,t){return e.type===t.type&&e.key===t.key}const Ho="__vInternal",qc=({key:e})=>e??null,Fr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?be(e)||Oe(e)||Q(e)?{i:Ce,r:e,k:t,f:!!n}:e:null);function N(e,t=null,n=null,r=0,o=null,i=e===ge?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&qc(t),ref:t&&Fr(t),scopeId:Do,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:Ce};return l?(Ls(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=be(n)?8:16),kn>0&&!s&&Qe&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&Qe.push(a),a}const W=Wp;function Wp(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Ec)&&(e=lt),rr(e)){const l=In(e,t,!0);return n&&Ls(l,n),kn>0&&!i&&Qe&&(l.shapeFlag&6?Qe[Qe.indexOf(e)]=l:Qe.push(l)),l.patchFlag|=-2,l}if(th(e)&&(e=e.__vccOpts),t){t=Os(t);let{class:l,style:a}=t;l&&!be(l)&&(t.class=Te(l)),pe(a)&&(cc(a)&&!X(a)&&(a=Ne({},a)),t.style=Zt(a))}const s=be(e)?1:op(e)?128:Gp(e)?64:pe(e)?4:Q(e)?2:0;return N(e,t,n,r,o,s,i,!0)}function Os(e){return e?cc(e)||Ho in e?Ne({},e):e:null}function In(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:s}=e,l=t?Bo(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&qc(l),ref:t&&t.ref?n&&o?X(o)?o.concat(Fr(t)):[o,Fr(t)]:Fr(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!==ge?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&&In(e.ssContent),ssFallback:e.ssFallback&&In(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function se(e=" ",t=0){return W(Ln,null,e,t)}function zp(e,t){const n=W(Pn,null,e);return n.staticCount=t,n}function ke(e="",t=!1){return t?(j(),ye(lt,null,e)):W(lt,null,e)}function Ye(e){return e==null||typeof e=="boolean"?W(lt):X(e)?W(ge,null,e.slice()):typeof e=="object"?kt(e):W(Ln,null,String(e))}function kt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:In(e)}function Ls(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(X(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Ls(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Ho in t)?t._ctx=Ce:o===3&&Ce&&(Ce.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:Ce},n=32):(t=String(t),r&64?(n=16,t=[se(t)]):n=8);e.children=t,e.shapeFlag|=n}function Bo(...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=Te([t.class,r.class]));else if(o==="style")t.style=Zt([t.style,r.style]);else if(hr(o)){const i=t[o],s=r[o];s&&i!==s&&!(X(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=r[o])}return t}function Je(e,t,n,r=null){ot(e,t,7,[n,r])}const qp=Ic();let Kp=0;function Jp(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||qp,i={uid:Kp++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ja(!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:Mc(r,o),emitsOptions:vc(r,o),emit:null,emitted:null,propsDefaults:me,inheritAttrs:r.inheritAttrs,ctx:me,data:me,props:me,attrs:me,slots:me,refs:me,setupState:me,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=Xd.bind(null,i),e.ce&&e.ce(i),i}let xe=null;const Mn=()=>xe||Ce;let oo,Di;{const e=Wa(),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)}};oo=t("__VUE_INSTANCE_SETTERS__",n=>xe=n),Di=t("__VUE_SSR_SETTERS__",n=>_r=n)}const sn=e=>{const t=xe;return oo(e),e.scope.on(),()=>{e.scope.off(),oo(t)}},$i=()=>{xe&&xe.scope.off(),oo(null)};function Kc(e){return e.vnode.shapeFlag&4}let _r=!1;function Yp(e,t=!1){t&&Di(t);const{props:n,children:r}=e.vnode,o=Kc(e);Ip(e,n,o,t),$p(e,r);const i=o?Xp(e,t):void 0;return t&&Di(!1),i}function Xp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=uc(new Proxy(e.ctx,Cp));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Zp(e):null,i=sn(e);cn();const s=$t(r,e,0,[e.props,o]);if(un(),i(),fs(s)){if(s.then($i,$i),t)return s.then(l=>{Mi(e,l,t)}).catch(l=>{$n(l,e,0)});e.asyncDep=s}else Mi(e,s,t)}else Jc(e,t)}function Mi(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=hc(t)),Jc(e,n)}let xl;function Jc(e,t,n){const r=e.type;if(!e.render){if(!t&&xl&&!r.render){const o=r.template||As(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=Ne(Ne({isCustomElement:i,delimiters:l},s),a);r.render=xl(o,c)}}e.render=r.render||Xe}{const o=sn(e);cn();try{Sp(e)}finally{un(),o()}}}function Qp(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ge(e,"get","$attrs"),t[n]}}))}function Zp(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Qp(e)},slots:e.slots,emit:e.emit,expose:t}}function jo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(hc(uc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Wn)return Wn[n](e)},has(t,n){return n in t||n in Wn}}))}function eh(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function th(e){return Q(e)&&"__vccOpts"in e}const Ue=(e,t)=>Bd(e,t,_r);function io(e,t,n){const r=arguments.length;return r===2?pe(t)&&!X(t)?rr(t)?W(e,null,[t]):W(e,t):W(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&rr(n)&&(n=[n]),W(e,t,n))}const Yc="3.4.21";/**
|
|
20
|
+
* @vue/runtime-dom v3.4.21
|
|
21
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
22
|
+
* @license MIT
|
|
23
|
+
**/const nh="http://www.w3.org/2000/svg",rh="http://www.w3.org/1998/Math/MathML",It=typeof document<"u"?document:null,Sl=It&&It.createElement("template"),oh={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"?It.createElementNS(nh,e):t==="mathml"?It.createElementNS(rh,e):It.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>It.createTextNode(e),createComment:e=>It.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>It.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{Sl.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const l=Sl.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]}},ih=Symbol("_vtc");function sh(e,t,n){const r=e[ih];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Pl=Symbol("_vod"),lh=Symbol("_vsh"),Xc=Symbol("");function Rw(e){const t=Mn();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Hi(i,o))},r=()=>{const o=e(t.proxy);Vi(t.subTree,o),n(o)};hp(r),Vo(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Ps(()=>o.disconnect())})}function Vi(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Vi(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Hi(e.el,t);else if(e.type===ge)e.children.forEach(n=>Vi(n,t));else if(e.type===Pn){let{el:n,anchor:r}=e;for(;n&&(Hi(n,t),n!==r);)n=n.nextSibling}}function Hi(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[Xc]=r}}const ah=/(^|;)\s*display\s*:/;function ch(e,t,n){const r=e.style,o=be(n);let i=!1;if(n&&!o){if(t)if(be(t))for(const s of t.split(";")){const l=s.slice(0,s.indexOf(":")).trim();n[l]==null&&Ur(r,l,"")}else for(const s in t)n[s]==null&&Ur(r,s,"");for(const s in n)s==="display"&&(i=!0),Ur(r,s,n[s])}else if(o){if(t!==n){const s=r[Xc];s&&(n+=";"+s),r.cssText=n,i=ah.test(n)}}else t&&e.removeAttribute("style");Pl in e&&(e[Pl]=i?r.display:"",e[lh]&&(r.display="none"))}const Al=/\s*!important$/;function Ur(e,t,n){if(X(n))n.forEach(r=>Ur(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=uh(e,t);Al.test(n)?e.setProperty(an(r),n.replace(Al,""),"important"):e[r]=n}}const Rl=["Webkit","Moz","ms"],li={};function uh(e,t){const n=li[t];if(n)return n;let r=mt(t);if(r!=="filter"&&r in e)return li[t]=r;r=Lo(r);for(let o=0;o<Rl.length;o++){const i=Rl[o]+r;if(i in e)return li[t]=i}return t}const Ol="http://www.w3.org/1999/xlink";function fh(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Ol,t.slice(6,t.length)):e.setAttributeNS(Ol,t,n);else{const i=md(t);n==null||i&&!qa(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function dh(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=qa(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function Qc(e,t,n,r){e.addEventListener(t,n,r)}function ph(e,t,n,r){e.removeEventListener(t,n,r)}const Ll=Symbol("_vei");function hh(e,t,n,r,o=null){const i=e[Ll]||(e[Ll]={}),s=i[t];if(r&&s)s.value=r;else{const[l,a]=mh(t);if(r){const c=i[t]=yh(r,o);Qc(e,l,c,a)}else s&&(ph(e,l,s,a),i[t]=void 0)}}const kl=/(?:Once|Passive|Capture)$/;function mh(e){let t;if(kl.test(e)){t={};let r;for(;r=e.match(kl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):an(e.slice(2)),t]}let ai=0;const _h=Promise.resolve(),gh=()=>ai||(_h.then(()=>ai=0),ai=Date.now());function yh(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ot(vh(r,n.value),t,5,[r])};return n.value=e,n.attached=gh(),n}function vh(e,t){if(X(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 Il=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,bh=(e,t,n,r,o,i,s,l,a)=>{const c=o==="svg";t==="class"?sh(e,r,c):t==="style"?ch(e,n,r):hr(t)?cs(t)||hh(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):wh(e,t,r,c))?dh(e,t,r,i,s,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),fh(e,t,r,c))};function wh(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Il(t)&&Q(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 Il(t)&&be(n)?!1:t in e}const Nl=e=>{const t=e.props["onUpdate:modelValue"]||!1;return X(t)?n=>Br(t,n):t},ci=Symbol("_assign"),Eh={created(e,{value:t},n){e.checked=Yr(t,n.props.value),e[ci]=Nl(n),Qc(e,"change",()=>{e[ci](Th(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[ci]=Nl(r),t!==n&&(e.checked=Yr(t,r.props.value))}};function Th(e){return"_value"in e?e._value:e.value}const Ch={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},xh=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=an(o.key);if(t.some(s=>s===i||Ch[s]===i))return e(o)})},Zc=Ne({patchProp:bh},oh);let qn,Dl=!1;function Sh(){return qn||(qn=jp(Zc))}function Ph(){return qn=Dl?qn:Fp(Zc),Dl=!0,qn}const eu=(...e)=>{const t=Sh().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=nu(r);if(!o)return;const i=t._component;!Q(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,tu(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},Ah=(...e)=>{const t=Ph().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=nu(r);if(o)return n(o,!0,tu(o))},t};function tu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function nu(e){return be(e)?document.querySelector(e):e}const Rh=/"(?:_|\\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*:/,Oh=/"(?: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*:/,Lh=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function kh(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Ih(e);return}return t}function Ih(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function so(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(!Lh.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Rh.test(e)||Oh.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,kh)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Nh=/#/g,Dh=/&/g,$h=/\//g,Mh=/=/g,ks=/\+/g,Vh=/%5e/gi,Hh=/%60/gi,Bh=/%7c/gi,jh=/%20/gi;function Fh(e){return encodeURI(""+e).replace(Bh,"|")}function Bi(e){return Fh(typeof e=="string"?e:JSON.stringify(e)).replace(ks,"%2B").replace(jh,"+").replace(Nh,"%23").replace(Dh,"%26").replace(Hh,"`").replace(Vh,"^").replace($h,"%2F")}function ui(e){return Bi(e).replace(Mh,"%3D")}function lo(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Uh(e){return lo(e.replace(ks," "))}function Gh(e){return lo(e.replace(ks," "))}function Is(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=Uh(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=Gh(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 Wh(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ui(e)}=${Bi(n)}`).join("&"):`${ui(e)}=${Bi(t)}`:ui(e)}function ru(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Wh(t,e[t])).filter(Boolean).join("&")}const zh=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,qh=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Kh=/^([/\\]\s*){2,}[^/\\]/,Jh=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Yh=/\/$|\/\?|\/#/,Xh=/^\.?\//;function Ft(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?zh.test(e):qh.test(e)||(t.acceptRelative?Kh.test(e):!1)}function Qh(e){return!!e&&Jh.test(e)}function ji(e="",t){return t?Yh.test(e):e.endsWith("/")}function Fo(e="",t){if(!t)return(ji(e)?e.slice(0,-1):e)||"/";if(!ji(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 ao(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(ji(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 Zh(e=""){return e.startsWith("/")}function $l(e=""){return Zh(e)?e:"/"+e}function em(e,t){if(iu(t)||Ft(e))return e;const n=Fo(t);return e.startsWith(n)?e:Vn(n,e)}function tm(e,t){if(iu(t))return e;const n=Fo(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function ou(e,t){const n=Hn(e),r={...Is(n.search),...t};return n.search=ru(r),au(n)}function iu(e){return!e||e==="/"}function nm(e){return e&&e!=="/"}function Vn(e,...t){let n=e||"";for(const r of t.filter(o=>nm(o)))if(n){const o=r.replace(Xh,"");n=ao(n)+o}else n=r;return n}function su(...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&&Ft(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 rm(e,t,n={}){return n.trailingSlash||(e=ao(e),t=ao(t)),n.leadingSlash||(e=$l(e),t=$l(t)),n.encoding||(e=lo(e),t=lo(t)),e===t}const lu=Symbol.for("ufo:protocolRelative");function Hn(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(!Ft(e,{acceptRelative:!0}))return t?Hn(t+e):Ml(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",l=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:a,search:c,hash:u}=Ml(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,[lu]:!r}}function Ml(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function au(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[lu]?(e.protocol||"")+"//":"")+o+i+t+n+r}class om extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function im(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 om(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 sm=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Vl(e="GET"){return sm.has(e.toUpperCase())}function lm(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 am=new Set(["image/svg","application/xml","application/xhtml","application/html"]),cm=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function um(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return cm.test(t)?"json":am.has(t)||t.startsWith("text/")?"text":"blob"}function fm(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 dm=new Set([408,409,425,429,500,502,503,504]),pm=new Set([101,204,205,304]);function cu(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=Vl(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):dm.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=im(l);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(a,c={}){var p;const u={request:a,options:fm(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=em(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=ou(u.request,{...u.options.params,...u.options.query}))),u.options.body&&Vl(u.options.method)&&(lm(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&&!pm.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||um(u.response.headers.get("content-type")||"");switch(h){case"json":{const _=await u.response.text(),v=u.options.parseResponse||so;u.response._data=v(_);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={})=>cu({...e,defaults:{...e.defaults,...l}}),s}const Ns=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")}(),hm=Ns.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),mm=Ns.Headers,_m=Ns.AbortController,gm=cu({fetch:hm,Headers:mm,AbortController:_m}),ym=gm,vm=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},co=vm().app,bm=()=>co.baseURL,wm=()=>co.buildAssetsDir,Ds=(...e)=>su(uu(),wm(),...e),uu=(...e)=>{const t=co.cdnURL||co.baseURL;return e.length?su(t,...e):t};globalThis.__buildAssetsURL=Ds,globalThis.__publicAssetsURL=uu;globalThis.$fetch||(globalThis.$fetch=ym.create({baseURL:bm()}));function Fi(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Fi(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const Em={run:e=>e()},Tm=()=>Em,fu=typeof console.createTask<"u"?console.createTask:Tm;function Cm(e,t){const n=t.shift(),r=fu(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function xm(e,t){const n=t.shift(),r=fu(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function fi(e,t){for(const n of[...e])n(t)}class Sm{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=Fi(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=Fi(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(Cm,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(xm,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&fi(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&fi(this._after,o)}):(this._after&&o&&fi(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 du(){return new Sm}function Pm(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;Ui.add(c);try{const u=o?o.run(s,l):l();return n||(t=void 0),await u}finally{Ui.delete(c)}}}}function Am(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Pm({...e,...r})),t[n],t[n]}}}const uo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Hl="__unctx__",Rm=uo[Hl]||(uo[Hl]=Am()),Om=(e,t={})=>Rm.get(e,t),Bl="__unctx_async_handlers__",Ui=uo[Bl]||(uo[Bl]=new Set);function pu(e){const t=[];for(const o of Ui){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 hu=Om("nuxt-app",{asyncContext:!1}),Lm="__nuxt_plugin";function km(e){let t=0;const n={_scope:gd(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.2"},get vue(){return n.vueApp.version}},payload:Ct({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>Dm(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=du(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;Or(n,s,i),Or(n.vueApp.config.globalProperties,s,i)},Or(n.vueApp,"$nuxt",n),Or(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||we;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}async function Im(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 Nm(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=Im(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 gt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Lm]:!0,_name:t})}function Dm(e,t,n){const r=()=>n?t(...n):t();return hu.set(e),e.vueApp.runWithContext(r)}function $m(){var t;let e;return Dc()&&(e=(t=Mn())==null?void 0:t.appContext.app.$nuxt),e=e||hu.tryUse(),e||null}function we(){const e=$m();if(!e)throw new Error("[nuxt] instance unavailable");return e}function or(e){return we().$config}function Or(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Mm(e,t){return{ctx:{table:e},matchAll:n=>_u(n,e,t)}}function mu(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,mu(o)])):new Map(Object.entries(e[n]));return t}function Vm(e){return Mm(mu(e))}function _u(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of jl(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of jl(t.dynamic))if(e.startsWith(i+"/")){const l="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(..._u(l,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function jl(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function di(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 Gi(e,t,n=".",r){if(!di(t))return Gi(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]]:di(s)&&di(o[i])?o[i]=Gi(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function gu(e){return(...t)=>t.reduce((n,r)=>Gi(n,r,"",e),{})}const Hm=gu(),Bm=gu((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function jm(e,t){try{return t in e}catch{return!1}}var Fm=Object.defineProperty,Um=(e,t,n)=>t in e?Fm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qt=(e,t,n)=>(Um(e,typeof t!="symbol"?t+"":t,n),n);class Wi extends Error{constructor(t,n={}){super(t,n),qt(this,"statusCode",500),qt(this,"fatal",!1),qt(this,"unhandled",!1),qt(this,"statusMessage"),qt(this,"data"),qt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:zi(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=yu(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}qt(Wi,"__h3_error__",!0);function Gm(e){if(typeof e=="string")return new Wi(e);if(Wm(e))return e;const t=new Wi(e.message??e.statusMessage??"",{cause:e.cause||e});if(jm(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=zi(e.statusCode,t.statusCode):e.status&&(t.statusCode=zi(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;yu(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 Wm(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const zm=/[^\u0009\u0020-\u007E]/g;function yu(e=""){return e.replace(zm,"")}function zi(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const vu=Symbol("route"),Ut=()=>{var e;return(e=we())==null?void 0:e.$router},bu=()=>Dc()?Sn(vu,we()._route):we()._route;const qm=()=>{try{if(we()._processingMiddleware)return!0}catch{return!1}return!1},wu=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:ou(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(", ");return open(n,l,c),Promise.resolve()}const r=(t==null?void 0:t.external)||Ft(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=Hn(n).protocol;if(l&&Qh(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=qm();if(!r&&o)return e;const i=Ut(),s=we();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)},Eu="__nuxt_error",$s=()=>mc(we().payload,"error"),Km=e=>{const t=Ms(e);try{const n=we(),r=$s();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},Jm=async(e={})=>{const t=we(),n=$s();t.callHook("app:error:cleared",e),e.redirect&&await Ut().replace(e.redirect),n.value=null},Ym=e=>!!e&&typeof e=="object"&&Eu in e,Ms=e=>{const t=Gm(e);return Object.defineProperty(t,Eu,{value:!0,configurable:!1,writable:!1}),t},Xm="modulepreload",Qm=function(e,t){return e[0]==="."?new URL(e,t).href:e},Fl={},Zm=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=Qm(a,r),a in Fl)return;Fl[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":Xm,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)=>Zm(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),e_=-1,t_=-2,n_=-3,r_=-4,o_=-5,i_=-6;function s_(e,t){return l_(JSON.parse(e),t)}function l_(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===e_)return;if(i===n_)return NaN;if(i===r_)return 1/0;if(i===o_)return-1/0;if(i===i_)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!==t_&&(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 a_(e){return Array.isArray(e)?e:[e]}const c_=["title","titleTemplate","script","style","noscript"],Gr=["base","meta","link","style","script","noscript"],u_=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],f_=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Tu=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],d_=typeof window<"u";function Vs(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 Ul(e){return e._h||Vs(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Cu(e,t){const{props:n,tag:r}=e;if(f_.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 Gl(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function p_(e,t,n){const r={tag:e,props:await xu(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return Tu.forEach(o=>{const i=typeof r.props[o]<"u"?r.props[o]:n[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||c_.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 h_(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 xu(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=h_(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!Tu.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 m_=10;async function __(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&u_.includes(n)).forEach(([n,r])=>{const o=a_(r);t.push(...o.map(i=>p_(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<<m_)+r,n))}const Wl={base:-10,title:10},zl={critical:-80,high:-10,low:20};function fo(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 Wl&&(t=Wl[e.tag]),typeof n=="string"&&n in zl?t+zl[n]:t)}const g_=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],ql=["onload","onerror","onabort","onprogress","onloadstart"],At="%separator";function Wr(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(At)&&(e.endsWith(At)&&(e=e.slice(0,-At.length).trim()),e.startsWith(At)&&(e=e.slice(At.length).trim()),e=e.replace(new RegExp(`\\${At}\\s*\\${At}`,"g"),At),e=Wr(e,{separator:n},n)),e}async function Su(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:Gr.includes(f.tag)?Ul(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(_=>Gr.includes(_.tagName.toLowerCase()))){const _={tag:h.tagName.toLowerCase(),props:await xu(h.getAttributeNames().reduce((C,y)=>({...C,[y]:h.getAttribute(y)}),{})),innerHTML:h.innerHTML};let v=1,E=Cu(_);for(;E&&p.find(C=>C._d===E);)E=`${E}:${v++}`;_._d=E||void 0,p.push(_),i.elMap[h.getAttribute("data-hid")||Ul(_)]=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(_=>{p[_]&&p[_]!==d[_]&&(d[_]=p[_])}),s(f,"el",()=>{var _;(_=i.elMap[f])==null||_.remove(),delete i.elMap[f]}));for(const[_,v]of Object.entries(p._eventHandlers||{}))d.getAttribute(`data-${_}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:d).addEventListener(_.replace("on",""),v.bind(d)),d.setAttribute(`data-${_}`,""));Object.entries(p.props).forEach(([_,v])=>{const E=`attr:${_}`;if(_==="class")for(const C of(v||"").split(" ").filter(Boolean))h&&s(f,`${E}:${C}`,()=>d.classList.remove(C)),!d.classList.contains(C)&&d.classList.add(C);else if(_==="style")for(const C of(v||"").split(";").filter(Boolean)){const[y,...S]=C.split(":").map(T=>T.trim());s(f,`${E}:${C}:${y}`,()=>{d.style.removeProperty(y)}),d.style.setProperty(y,S.join(":"))}else d.getAttribute(_)!==v&&d.setAttribute(_,v===!0?"":String(v)),h&&s(f,E,()=>d.removeAttribute(_))})}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):Gr.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 y_(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await Su(e,t),delete e._domUpdatePromise,r()}))}function v_(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){y_(i,e)}}}}}const b_=["templateParams","htmlAttrs","bodyAttrs"],w_={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=Cu(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&&b_.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(fo(r)>fo(i))return}const s=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Gr.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))}}},E_={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"}})}}},T_=["script","link","bodyAttrs"],C_=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>T_.includes(r.tag)))Object.entries(n.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"&&(e.ssr&&ql.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||Vs(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=>ql.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","")))}}}}),x_=["link","style","script","noscript"],S_={hooks:{"tag:normalise":({tag:e})=>{e.key&&x_.includes(e.tag)&&(e.props["data-hid"]=e._h=Vs(e.key))}}},P_={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 g_)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)=>fo(n)-fo(r))}}},A_={meta:"content",link:"href",htmlAttrs:"lang"},R_=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=Wr(i.pageTitle||r||"",i,s);for(const a of n.filter(c=>c.processTemplateParams!==!1)){const c=A_[a.tag];c&&typeof a.props[c]=="string"?a.props[c]=Wr(a.props[c],i,s):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(u=>{typeof a[u]=="string"&&(a[u]=Wr(a[u],i,s))})}e._templateParams=i,e._separator=s,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),O_={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=Gl(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=Gl(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)}}},L_={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 Pu;function k_(e={}){const t=I_(e);return t.use(v_()),Pu=t}function Kl(e,t){return!e||e==="server"&&t||e==="client"&&!t}function I_(e={}){const t=du();t.addHooks(e.hooks||{}),e.document=e.document||(d_?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),Kl(c.mode,n)&&t.addHooks(c.hooks||{}))},push(a,c){c==null||delete c.head;const u={_i:o++,input:a,...c};return Kl(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 __(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[w_,E_,C_,S_,P_,R_,O_,L_,...(e==null?void 0:e.plugins)||[]].forEach(a=>l.use(a)),l.hooks.callHook("init",l),l}function N_(){return Pu}const D_=Yc.startsWith("3");function $_(e){return typeof e=="function"?e():ne(e)}function po(e,t=""){if(e instanceof Promise)return e;const n=$_(e);return!e||!n?n:Array.isArray(n)?n.map(r=>po(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,ne(o)]:[r,po(o,r)])):n}const M_={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=po(t.input)}}},Au="usehead";function V_(e){return{install(n){D_&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Au,e))}}.install}function H_(e={}){e.domDelayFn=e.domDelayFn||(n=>fn(()=>setTimeout(()=>n(),0)));const t=k_(e);return t.use(M_),t.install=V_(t),t}const qi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ki="__unhead_injection_handler__";function B_(e){qi[Ki]=e}function j_(){if(Ki in qi)return qi[Ki]();const e=Sn(Au);return e||N_()}function F_(e,t={}){const n=t.head||j_();if(n)return n.ssr?n.push(e,t):U_(n,e,t)}function U_(e,t,n={}){const r=ve(!1),o=ve({});xc(()=>{o.value=r.value?{}:po(t)});const i=e.push(o.value,n);return dt(o,l=>{i.patch(l)}),Mn()&&(Ss(()=>{i.dispose()}),Ac(()=>{r.value=!0}),Pc(()=>{r.value=!1})),i}const G_={nuxt:{buildId:"eed887b5-8cf6-4ae2-9094-c95111b61a41"}},W_=Bm(G_);function Ru(){const e=we();return e._appConfig||(e._appConfig=Ct(W_)),e._appConfig}const z_={componentName:"NuxtLink"},q_="#__nuxt";let zr,Ou;function K_(){var t;const e=(t=Ru().nuxt)==null?void 0:t.buildId;return zr=$fetch(Ds(`builds/meta/${e}.json`)),zr.then(n=>{Ou=Vm(n.matcher)}),zr}function Uo(){return zr||K_()}async function Hs(e){return await Uo(),Hm({},...Ou.matchAll(e).reverse())}function Jl(e,t={}){const n=Y_(e,t),r=we(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=X_(e).then(i=>i?Lu(n).then(s=>s||(delete o[n],null)):(o[n]=null,null))),o[n]}const J_="_payload.json";function Y_(e,t={}){var o;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Ft(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(o=Ru().nuxt)==null?void 0:o.buildId);return Vn(or().app.baseURL,n.pathname,J_+(r?`?${r}`:""))}async function Lu(e){const t=fetch(e).then(n=>n.text().then(ku));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function X_(e=bu().path){if(e=Fo(e),(await Uo()).prerendered.includes(e))return!0;const n=await Hs(e);return!!n.prerender&&!n.redirect}let Lr=null;async function Q_(){if(Lr)return Lr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await ku(e.textContent||""),n=e.dataset.src?await Lu(e.dataset.src):void 0;return Lr={...t,...n,...window.__NUXT__},Lr}async function ku(e){return await s_(e,we()._payloadRevivers)}function Z_(e,t){we()._payloadRevivers[e]=t}const Yl={NuxtError:e=>Ms(e),EmptyShallowRef:e=>Pi(e==="_"?void 0:e==="0n"?BigInt(0):so(e)),EmptyRef:e=>ve(e==="_"?void 0:e==="0n"?BigInt(0):so(e)),ShallowRef:e=>Pi(e),ShallowReactive:e=>ac(e),Ref:e=>ve(e),Reactive:e=>Ct(e)},eg=gt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Yl)Z_(r,Yl[r]);Object.assign(e.payload,([t,n]=pu(()=>e.runWithContext(Q_)),t=await t,n(),t)),window.__NUXT__=e.payload}}),tg=[],ng=gt({name:"nuxt:head",enforce:"pre",setup(e){const t=H_({plugins:tg});B_(()=>we().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Su(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)}}}),rg=async e=>{let t,n;const r=([t,n]=pu(()=>Hs(e.path)),t=await t,n(),t);if(r.redirect)return Ft(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},og=[rg];function pi(e){typeof e=="object"&&(e=au({pathname:e.path||"",search:ru(e.query||{}),hash:e.hash||""}));const t=Hn(e.toString());return{path:t.pathname,fullPath:e,query:Is(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const ig=gt({name:"nuxt:router",enforce:"pre",setup(e){const t=tm(window.location.pathname,or().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=or().app.baseURL,s=Ct(pi(t));async function l(f,d){try{const p=pi(f);for(const h of r["navigate:before"]){const _=await h(p,s);if(_===!1||_ instanceof Error)return;if(typeof _=="string"&&_.length)return l(_,!0)}for(const h of r["resolve:before"])await h(p,s);Object.assign(s,p),window.history[d?"replaceState":"pushState"]({},"",Vn(i,p.fullPath)),e.isHydrating||await e.runWithContext(Jm);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:Ue(()=>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:pi,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",We({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 _;const h=c.resolve(f.to);return f.custom?(_=d.default)==null?void 0:_.call(d,{href:f.to,navigate:p,route:h}):io("a",{href:f.to,onClick:v=>(v.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=Ct(f.meta||{}),e.isHydrating&&u&&!rn(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const p=new Set([...og,...e._middleware.global]);{const h=await e.runWithContext(()=>Hs(f.path));if(h.appMiddleware)for(const _ in h.appMiddleware){const v=e._middleware.named[_];if(!v)return;h.appMiddleware[_]?p.add(v):p.delete(v)}}for(const h of p){const _=await e.runWithContext(()=>h(f,d));if(_!==!0&&(_||_===!1))return _}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),rm(s.fullPath,t)||await e.runWithContext(()=>wu(s.fullPath))}),{provide:{route:s,router:c}}}}),Ji=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),sg=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Bs=e=>{const t=we();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Ji(e)}):Ji(e)},lg=gt({name:"nuxt:payload",setup(e){Ut().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Jl(t.path);r&&Object.assign(e.static.data,r.data)}),Bs(()=>{var t;e.hooks.hook("link:prefetch",async n=>{Hn(n).protocol||await Jl(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Uo,1e3)})}}),ag=gt(e=>{let t;async function n(){const r=await Uo();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);try{const o=await $fetch(Ds("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}Bs(()=>{t=setTimeout(n,1e3*60*60)})}),cg=to(()=>m(()=>import("./4id9yZy9.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(e=>e.default||e.default||e)),ug=to(()=>m(()=>import("./D8ltPvRq.js"),__vite__mapDeps([3,1,4]),import.meta.url).then(e=>e.default||e.default||e)),fg=[["Icon",cg],["IconCSS",ug]],dg=gt({name:"nuxt:global-components",setup(e){for(const[t,n]of fg)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),pg="$s";function hg(...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=pg+n,i=we(),s=mc(i.payload.state,o);if(s.value===void 0&&r){const l=r();if(Oe(l))return i.payload.state[o]=l,l;s.value=l}return s}const mg="__NUXT_COLOR_MODE__",_g="nuxt-color-mode",bt=window[mg]||{},gg=gt(e=>{const t=hg("color-mode",()=>Ct({preference:bt.preference,value:bt.value,unknown:!1,forced:!1})).value;Ut().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"?bt.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=bt.getColorScheme())}))}dt(()=>t.preference,o=>{var i;t.forced||(o==="system"?(t.value=bt.getColorScheme(),r()):t.value=o,(i=window.localStorage)==null||i.setItem(_g,o))},{immediate:!0}),dt(()=>t.value,(o,i)=>{bt.removeColorScheme(i),bt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=bt.preference,t.value=bt.value,t.unknown=!1)}),e.provide("colorMode",t)}),yg=gt(()=>{});function vg(e={}){const t=e.path||window.location.pathname;let n={};try{n=so(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:we().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const bg=gt({name:"nuxt:chunk-reload",setup(e){const t=Ut(),n=or(),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:Vn(n.app.baseURL,i.fullPath);vg({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),wg=["top","right","bottom","left"],Xl=["start","end"],Ql=wg.reduce((e,t)=>e.concat(t,t+"-"+Xl[0],t+"-"+Xl[1]),[]),ir=Math.min,Kt=Math.max,Eg={left:"right",right:"left",bottom:"top",top:"bottom"},Tg={start:"end",end:"start"};function Yi(e,t,n){return Kt(e,ir(t,n))}function dn(e,t){return typeof e=="function"?e(t):e}function _t(e){return e.split("-")[0]}function it(e){return e.split("-")[1]}function Iu(e){return e==="x"?"y":"x"}function js(e){return e==="y"?"height":"width"}function gr(e){return["top","bottom"].includes(_t(e))?"y":"x"}function Fs(e){return Iu(gr(e))}function Nu(e,t,n){n===void 0&&(n=!1);const r=it(e),o=Fs(e),i=js(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=mo(s)),[s,mo(s)]}function Cg(e){const t=mo(e);return[ho(e),t,ho(t)]}function ho(e){return e.replace(/start|end/g,t=>Tg[t])}function xg(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function Sg(e,t,n,r){const o=it(e);let i=xg(_t(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(ho)))),i}function mo(e){return e.replace(/left|right|bottom|top/g,t=>Eg[t])}function Pg(e){return{top:0,right:0,bottom:0,left:0,...e}}function Du(e){return typeof e!="number"?Pg(e):{top:e,right:e,bottom:e,left:e}}function Kn(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Zl(e,t,n){let{reference:r,floating:o}=e;const i=gr(t),s=Fs(t),l=js(s),a=_t(t),c=i==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[l]/2-o[l]/2;let p;switch(a){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(it(t)){case"start":p[s]-=d*(n&&c?-1:1);break;case"end":p[s]+=d*(n&&c?-1:1);break}return p}const Ag=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=Zl(c,r,a),d=r,p={},h=0;for(let _=0;_<l.length;_++){const{name:v,fn:E}=l[_],{x:C,y,data:S,reset:T}=await E({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});u=C??u,f=y??f,p={...p,[v]:{...p[v],...S}},T&&h<=50&&(h++,typeof T=="object"&&(T.placement&&(d=T.placement),T.rects&&(c=T.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):T.rects),{x:u,y:f}=Zl(c,d,a)),_=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:p}};async function Go(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:l,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=dn(t,e),h=Du(p),v=l[d?f==="floating"?"reference":"floating":f],E=Kn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),C=f==="floating"?{...s.floating,x:r,y:o}:s.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),S=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},T=Kn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:C,offsetParent:y,strategy:a}):C);return{top:(E.top-T.top+h.top)/S.y,bottom:(T.bottom-E.bottom+h.bottom)/S.y,left:(E.left-T.left+h.left)/S.x,right:(T.right-E.right+h.right)/S.x}}const Rg=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:a}=t,{element:c,padding:u=0}=dn(e,t)||{};if(c==null)return{};const f=Du(u),d={x:n,y:r},p=Fs(o),h=js(p),_=await s.getDimensions(c),v=p==="y",E=v?"top":"left",C=v?"bottom":"right",y=v?"clientHeight":"clientWidth",S=i.reference[h]+i.reference[p]-d[p]-i.floating[h],T=d[p]-i.reference[p],x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let A=x?x[y]:0;(!A||!await(s.isElement==null?void 0:s.isElement(x)))&&(A=l.floating[y]||i.floating[h]);const V=S/2-T/2,B=A/2-_[h]/2-1,O=ir(f[E],B),G=ir(f[C],B),z=O,oe=A-_[h]-G,ce=A/2-_[h]/2+V,fe=Yi(z,ce,oe),F=!a.arrow&&it(o)!=null&&ce!==fe&&i.reference[h]/2-(ce<z?O:G)-_[h]/2<0,Y=F?ce<z?ce-z:ce-oe:0;return{[p]:d[p]+Y,data:{[p]:fe,centerOffset:ce-fe-Y,...F&&{alignmentOffset:Y}},reset:F}}});function Og(e,t,n){return(e?[...n.filter(o=>it(o)===e),...n.filter(o=>it(o)!==e)]:n.filter(o=>_t(o)===o)).filter(o=>e?it(o)===e||(t?ho(o)!==o:!1):!0)}const Lg=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:i,middlewareData:s,placement:l,platform:a,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:d=Ql,autoAlignment:p=!0,...h}=dn(e,t),_=f!==void 0||d===Ql?Og(f||null,p,d):d,v=await Go(t,h),E=((n=s.autoPlacement)==null?void 0:n.index)||0,C=_[E];if(C==null)return{};const y=Nu(C,i,await(a.isRTL==null?void 0:a.isRTL(c.floating)));if(l!==C)return{reset:{placement:_[0]}};const S=[v[_t(C)],v[y[0]],v[y[1]]],T=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:C,overflows:S}],x=_[E+1];if(x)return{data:{index:E+1,overflows:T},reset:{placement:x}};const A=T.map(O=>{const G=it(O.placement);return[O.placement,G&&u?O.overflows.slice(0,2).reduce((z,oe)=>z+oe,0):O.overflows[0],O.overflows]}).sort((O,G)=>O[1]-G[1]),B=((o=A.filter(O=>O[2].slice(0,it(O[0])?2:3).every(G=>G<=0))[0])==null?void 0:o[0])||A[0][0];return B!==l?{data:{index:E+1,overflows:T},reset:{placement:B}}:{}}}},kg=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:a,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:_=!0,...v}=dn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const E=_t(o),C=_t(l)===l,y=await(a.isRTL==null?void 0:a.isRTL(c.floating)),S=d||(C||!_?[mo(l)]:Cg(l));!d&&h!=="none"&&S.push(...Sg(l,_,h,y));const T=[l,...S],x=await Go(t,v),A=[];let V=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&A.push(x[E]),f){const z=Nu(o,s,y);A.push(x[z[0]],x[z[1]])}if(V=[...V,{placement:o,overflows:A}],!A.every(z=>z<=0)){var B,O;const z=(((B=i.flip)==null?void 0:B.index)||0)+1,oe=T[z];if(oe)return{data:{index:z,overflows:V},reset:{placement:oe}};let ce=(O=V.filter(fe=>fe.overflows[0]<=0).sort((fe,F)=>fe.overflows[1]-F.overflows[1])[0])==null?void 0:O.placement;if(!ce)switch(p){case"bestFit":{var G;const fe=(G=V.map(F=>[F.placement,F.overflows.filter(Y=>Y>0).reduce((Y,q)=>Y+q,0)]).sort((F,Y)=>F[1]-Y[1])[0])==null?void 0:G[0];fe&&(ce=fe);break}case"initialPlacement":ce=l;break}if(o!==ce)return{reset:{placement:ce}}}return{}}}};async function Ig(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=_t(n),l=it(n),a=gr(n)==="y",c=["left","top"].includes(s)?-1:1,u=i&&a?-1:1,f=dn(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof h=="number"&&(p=l==="end"?h*-1:h),a?{x:p*u,y:d*c}:{x:d*c,y:p*u}}const Ng=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:l}=t,a=await Ig(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:s}}}}},Dg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:v=>{let{x:E,y:C}=v;return{x:E,y:C}}},...a}=dn(e,t),c={x:n,y:r},u=await Go(t,a),f=gr(_t(o)),d=Iu(f);let p=c[d],h=c[f];if(i){const v=d==="y"?"top":"left",E=d==="y"?"bottom":"right",C=p+u[v],y=p-u[E];p=Yi(C,p,y)}if(s){const v=f==="y"?"top":"left",E=f==="y"?"bottom":"right",C=h+u[v],y=h-u[E];h=Yi(C,h,y)}const _=l.fn({...t,[d]:p,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r}}}}},$g=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:s=()=>{},...l}=dn(e,t),a=await Go(t,l),c=_t(n),u=it(n),f=gr(n)==="y",{width:d,height:p}=r.floating;let h,_;c==="top"||c==="bottom"?(h=c,_=u===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(_=c,h=u==="end"?"top":"bottom");const v=p-a[h],E=d-a[_],C=!t.middlewareData.shift;let y=v,S=E;if(f){const x=d-a.left-a.right;S=u||C?ir(E,x):x}else{const x=p-a.top-a.bottom;y=u||C?ir(v,x):x}if(C&&!u){const x=Kt(a.left,0),A=Kt(a.right,0),V=Kt(a.top,0),B=Kt(a.bottom,0);f?S=d-2*(x!==0||A!==0?x+A:Kt(a.left,a.right)):y=p-2*(V!==0||B!==0?V+B:Kt(a.top,a.bottom))}await s({...t,availableWidth:S,availableHeight:y});const T=await o.getDimensions(i.floating);return d!==T.width||p!==T.height?{reset:{rects:!0}}:{}}}};function Ze(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pt(e){return Ze(e).getComputedStyle(e)}const ea=Math.min,Jn=Math.max,_o=Math.round;function $u(e){const t=pt(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,i=e.offsetHeight,s=_o(n)!==o||_o(r)!==i;return s&&(n=o,r=i),{width:n,height:r,fallback:s}}function jt(e){return Vu(e)?(e.nodeName||"").toLowerCase():""}let kr;function Mu(){if(kr)return kr;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(kr=e.brands.map(t=>t.brand+"/"+t.version).join(" "),kr):navigator.userAgent}function ht(e){return e instanceof Ze(e).HTMLElement}function Mt(e){return e instanceof Ze(e).Element}function Vu(e){return e instanceof Ze(e).Node}function ta(e){return typeof ShadowRoot>"u"?!1:e instanceof Ze(e).ShadowRoot||e instanceof ShadowRoot}function Wo(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=pt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Mg(e){return["table","td","th"].includes(jt(e))}function Xi(e){const t=/firefox/i.test(Mu()),n=pt(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(o=>n.willChange.includes(o))||["paint","layout","strict","content"].some(o=>{const i=n.contain;return i!=null&&i.includes(o)})}function Hu(){return!/^((?!chrome|android).)*safari/i.test(Mu())}function Us(e){return["html","body","#document"].includes(jt(e))}function Bu(e){return Mt(e)?e:e.contextElement}const ju={x:1,y:1};function An(e){const t=Bu(e);if(!ht(t))return ju;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:i}=$u(t);let s=(i?_o(n.width):n.width)/r,l=(i?_o(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}function sr(e,t,n,r){var o,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),l=Bu(e);let a=ju;t&&(r?Mt(r)&&(a=An(r)):a=An(e));const c=l?Ze(l):window,u=!Hu()&&n;let f=(s.left+(u&&((o=c.visualViewport)==null?void 0:o.offsetLeft)||0))/a.x,d=(s.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/a.y,p=s.width/a.x,h=s.height/a.y;if(l){const _=Ze(l),v=r&&Mt(r)?Ze(r):r;let E=_.frameElement;for(;E&&r&&v!==_;){const C=An(E),y=E.getBoundingClientRect(),S=getComputedStyle(E);y.x+=(E.clientLeft+parseFloat(S.paddingLeft))*C.x,y.y+=(E.clientTop+parseFloat(S.paddingTop))*C.y,f*=C.x,d*=C.y,p*=C.x,h*=C.y,f+=y.x,d+=y.y,E=Ze(E).frameElement}}return{width:p,height:h,top:d,right:f+p,bottom:d+h,left:f,x:f,y:d}}function Vt(e){return((Vu(e)?e.ownerDocument:e.document)||window.document).documentElement}function zo(e){return Mt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Fu(e){return sr(Vt(e)).left+zo(e).scrollLeft}function lr(e){if(jt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ta(e)&&e.host||Vt(e);return ta(t)?t.host:t}function Uu(e){const t=lr(e);return Us(t)?t.ownerDocument.body:ht(t)&&Wo(t)?t:Uu(t)}function go(e,t){var n;t===void 0&&(t=[]);const r=Uu(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=Ze(r);return o?t.concat(i,i.visualViewport||[],Wo(r)?r:[]):t.concat(r,go(r))}function na(e,t,n){return t==="viewport"?Kn(function(r,o){const i=Ze(r),s=Vt(r),l=i.visualViewport;let a=s.clientWidth,c=s.clientHeight,u=0,f=0;if(l){a=l.width,c=l.height;const d=Hu();(d||!d&&o==="fixed")&&(u=l.offsetLeft,f=l.offsetTop)}return{width:a,height:c,x:u,y:f}}(e,n)):Mt(t)?Kn(function(r,o){const i=sr(r,!0,o==="fixed"),s=i.top+r.clientTop,l=i.left+r.clientLeft,a=ht(r)?An(r):{x:1,y:1};return{width:r.clientWidth*a.x,height:r.clientHeight*a.y,x:l*a.x,y:s*a.y}}(t,n)):Kn(function(r){const o=Vt(r),i=zo(r),s=r.ownerDocument.body,l=Jn(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),a=Jn(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight);let c=-i.scrollLeft+Fu(r);const u=-i.scrollTop;return pt(s).direction==="rtl"&&(c+=Jn(o.clientWidth,s.clientWidth)-l),{width:l,height:a,x:c,y:u}}(Vt(e)))}function ra(e){return ht(e)&&pt(e).position!=="fixed"?e.offsetParent:null}function oa(e){const t=Ze(e);let n=ra(e);for(;n&&Mg(n)&&pt(n).position==="static";)n=ra(n);return n&&(jt(n)==="html"||jt(n)==="body"&&pt(n).position==="static"&&!Xi(n))?t:n||function(r){let o=lr(r);for(;ht(o)&&!Us(o);){if(Xi(o))return o;o=lr(o)}return null}(e)||t}function Vg(e,t,n){const r=ht(t),o=Vt(t),i=sr(e,!0,n==="fixed",t);let s={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(r||!r&&n!=="fixed")if((jt(t)!=="body"||Wo(o))&&(s=zo(t)),ht(t)){const a=sr(t,!0);l.x=a.x+t.clientLeft,l.y=a.y+t.clientTop}else o&&(l.x=Fu(o));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}const Hg={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=go(c).filter(v=>Mt(v)&&jt(v)!=="body"),p=null;const h=pt(c).position==="fixed";let _=h?lr(c):c;for(;Mt(_)&&!Us(_);){const v=pt(_),E=Xi(_);(h?E||p:E||v.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=v:d=d.filter(C=>C!==_),_=lr(_)}return u.set(c,d),d}(t,this._c):[].concat(n),s=[...i,r],l=s[0],a=s.reduce((c,u)=>{const f=na(t,u,o);return c.top=Jn(f.top,c.top),c.right=ea(f.right,c.right),c.bottom=ea(f.bottom,c.bottom),c.left=Jn(f.left,c.left),c},na(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=ht(n),i=Vt(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},l={x:1,y:1};const a={x:0,y:0};if((o||!o&&r!=="fixed")&&((jt(n)!=="body"||Wo(i))&&(s=zo(n)),ht(n))){const c=sr(n);l=An(n),a.x=c.x+n.clientLeft,a.y=c.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+a.x,y:t.y*l.y-s.scrollTop*l.y+a.y}},isElement:Mt,getDimensions:function(e){return ht(e)?$u(e):e.getBoundingClientRect()},getOffsetParent:oa,getDocumentElement:Vt,getScale:An,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||oa,i=this.getDimensions;return{reference:Vg(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>pt(e).direction==="rtl"},Bg=(e,t,n)=>{const r=new Map,o={platform:Hg,...n},i={...o.platform,_c:r};return Ag(e,t,{...o,platform:i})};function Gu(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Gu(e[n],t[n]):e[n]=t[n])}const st={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function ar(e,t){let n=st.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=st.themes[n.$extend]||{}:(n=null,r=st[t]):n=null;while(n);return r}function jg(e){const t=[e];let n=st.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=st.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function ia(e){const t=[e];let n=st.themes[e]||{};do n.$extend?(t.push(n.$extend),n=st.themes[n.$extend]||{}):n=null;while(n);return t}let Nn=!1;if(typeof window<"u"){Nn=!1;try{const e=Object.defineProperty({},"passive",{get(){Nn=!0}});window.addEventListener("test",null,e)}catch{}}let Wu=!1;typeof window<"u"&&typeof navigator<"u"&&(Wu=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const zu=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),sa={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},la={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function aa(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function hi(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const nt=[];let zt=null;const ca={};function ua(e){let t=ca[e];return t||(t=ca[e]=[]),t}let Qi=function(){};typeof window<"u"&&(Qi=window.Element);function le(e){return function(t){return ar(t.theme,e)}}const mi="__floating-vue__popper",qu=()=>We({name:"VPopper",provide(){return{[mi]:{parentPopper:this}}},inject:{[mi]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:le("disabled")},positioningDisabled:{type:Boolean,default:le("positioningDisabled")},placement:{type:String,default:le("placement"),validator:e=>zu.includes(e)},delay:{type:[String,Number,Object],default:le("delay")},distance:{type:[Number,String],default:le("distance")},skidding:{type:[Number,String],default:le("skidding")},triggers:{type:Array,default:le("triggers")},showTriggers:{type:[Array,Function],default:le("showTriggers")},hideTriggers:{type:[Array,Function],default:le("hideTriggers")},popperTriggers:{type:Array,default:le("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:le("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:le("popperHideTriggers")},container:{type:[String,Object,Qi,Boolean],default:le("container")},boundary:{type:[String,Qi],default:le("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:le("strategy")},autoHide:{type:[Boolean,Function],default:le("autoHide")},handleResize:{type:Boolean,default:le("handleResize")},instantMove:{type:Boolean,default:le("instantMove")},eagerMount:{type:Boolean,default:le("eagerMount")},popperClass:{type:[String,Array,Object],default:le("popperClass")},computeTransformOrigin:{type:Boolean,default:le("computeTransformOrigin")},autoMinSize:{type:Boolean,default:le("autoMinSize")},autoSize:{type:[Boolean,String],default:le("autoSize")},autoMaxSize:{type:Boolean,default:le("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:le("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:le("preventOverflow")},overflowPadding:{type:[Number,String],default:le("overflowPadding")},arrowPadding:{type:[Number,String],default:le("arrowPadding")},arrowOverflow:{type:Boolean,default:le("arrowOverflow")},flip:{type:Boolean,default:le("flip")},shift:{type:Boolean,default:le("shift")},shiftCrossAxis:{type:Boolean,default:le("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:le("noAutoFocus")},disposeTimeout:{type:Number,default:le("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[mi])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,o;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Ng({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Lg({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Dg({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(kg({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Rg({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:i})=>{let s;const{centerOffset:l}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(l)>o.reference.width/2:s=Math.abs(l)>o.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:s})=>{var l;if((l=s.autoSize)!=null&&l.skip)return{};let a,c;return i.startsWith("top")||i.startsWith("bottom")?a=o.reference.width:c=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=a!=null?`${a}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push($g({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:o})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const n=await Bg(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),zt&&this.instantMove&&zt.instantMove&&zt!==this.parentPopper){zt.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(zt=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await hi(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...go(this.$_referenceNode),...go(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),o=t.x+t.width/2-(r.left+n.offsetLeft),i=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${o}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<nt.length;n++)t=nt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}nt.push(this),document.body.classList.add("v-popper--some-open");for(const t of ia(this.theme))ua(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await hi(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,aa(nt,this),nt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of ia(this.theme)){const r=ua(n);aa(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}zt===this&&(zt=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await hi(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,sa,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],sa,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,la,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],la,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,Nn?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,o){let i=n;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(s=>{const l=t[s];l&&this.$_registerEventListeners(e,l,o)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:i}=n;!e||e===o?r.forEach(s=>s.removeEventListener(o,i)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Yn>=e.left&&Yn<=e.right&&Xn>=e.top&&Xn<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Yn-Rt,r=Xn-Ot,o=t.left+t.width/2-Rt+(t.top+t.height/2)-Ot+t.width+t.height,i=Rt+n*o,s=Ot+r*o;return Ir(Rt,Ot,i,s,t.left,t.top,t.left,t.bottom)||Ir(Rt,Ot,i,s,t.left,t.top,t.right,t.top)||Ir(Rt,Ot,i,s,t.right,t.top,t.right,t.bottom)||Ir(Rt,Ot,i,s,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Wu){const e=Nn?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>fa(t,!0),e),document.addEventListener("touchend",t=>da(t,!0),e)}else window.addEventListener("mousedown",e=>fa(e,!1),!0),window.addEventListener("click",e=>da(e,!1),!0);window.addEventListener("resize",Ug)}function fa(e,t){if(st.autoHideOnMousedown)Ku(e,t);else for(let n=0;n<nt.length;n++){const r=nt[n];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function da(e,t){st.autoHideOnMousedown||Ku(e,t)}function Ku(e,t){const n={};for(let r=nt.length-1;r>=0;r--){const o=nt[r];try{const i=o.containsGlobalTarget=o.mouseDownContains||o.popperNode().contains(e.target);o.pendingHide=!1,requestAnimationFrame(()=>{if(o.pendingHide=!1,!n[o.randomId]&&pa(o,i,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let l=o.parentPopper;for(;l;)n[l.randomId]=!0,l=l.parentPopper;return}let s=o.parentPopper;for(;s&&pa(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,t),s=s.parentPopper}})}catch{}}}function pa(e,t,n){return n.closeAllPopover||n.closePopover&&t||Fg(e,n)&&!t}function Fg(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function Ug(){for(let e=0;e<nt.length;e++)nt[e].$_computePosition()}let Rt=0,Ot=0,Yn=0,Xn=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Rt=Yn,Ot=Xn,Yn=e.clientX,Xn=e.clientY},Nn?{passive:!0}:void 0);function Ir(e,t,n,r,o,i,s,l){const a=((s-o)*(t-i)-(l-i)*(e-o))/((l-i)*(n-e)-(s-o)*(r-t)),c=((n-e)*(t-i)-(r-t)*(e-o))/((l-i)*(n-e)-(s-o)*(r-t));return a>=0&&a<=1&&c>=0&&c<=1}const Gg={extends:qu()},qo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function Wg(e,t,n,r,o,i){return j(),Z("div",{ref:"reference",class:Te(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Fe(e.$slots,"default",za(Os(e.slotData)))],2)}const zg=qo(Gg,[["render",Wg]]);function qg(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}let qr;function Zi(){Zi.init||(Zi.init=!0,qr=qg()!==-1)}var Ko={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Zi(),fn(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",qr&&this.$el.appendChild(e),e.data="about:blank",qr||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!qr&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Kg=Qd();bc("data-v-b329ee4c");const Jg={class:"resize-observer",tabindex:"-1"};wc();const Yg=Kg((e,t,n,r,o,i)=>(j(),ye("div",Jg)));Ko.render=Yg;Ko.__scopeId="data-v-b329ee4c";Ko.__file="src/components/ResizeObserver.vue";const Ju=(e="theme")=>({computed:{themeClass(){return jg(this[e])}}}),Xg=We({name:"VPopperContent",components:{ResizeObserver:Ko},mixins:[Ju()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Qg=["id","aria-hidden","tabindex","data-popper-placement"],Zg={ref:"inner",class:"v-popper__inner"},e0=N("div",{class:"v-popper__arrow-outer"},null,-1),t0=N("div",{class:"v-popper__arrow-inner"},null,-1),n0=[e0,t0];function r0(e,t,n,r,o,i){const s=on("ResizeObserver");return j(),Z("div",{id:e.popperId,ref:"popover",class:Te(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:Zt(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=xh(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[N("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),N("div",{class:"v-popper__wrapper",style:Zt(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[N("div",Zg,[e.mounted?(j(),Z(ge,{key:0},[N("div",null,[Fe(e.$slots,"default")]),e.handleResize?(j(),ye(s,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):ke("",!0)],64)):ke("",!0)],512),N("div",{ref:"arrow",class:"v-popper__arrow-container",style:Zt(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},n0,4)],4)],46,Qg)}const Yu=qo(Xg,[["render",r0]]),Xu={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let es=function(){};typeof window<"u"&&(es=window.Element);const o0=We({name:"VPopperWrapper",components:{Popper:zg,PopperContent:Yu},mixins:[Xu,Ju("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,es,Boolean],default:void 0},boundary:{type:[String,es],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function i0(e,t,n,r,o,i){const s=on("PopperContent"),l=on("Popper");return j(),ye(l,Bo({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=a=>e.$emit("update:shown",a)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:re(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:p,hide:h,handleResize:_,onResize:v,classes:E,result:C})=>[Fe(e.$slots,"default",{shown:c,show:p,hide:h}),W(s,{ref:"popperContent","popper-id":a,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":_,classes:E,result:C,onHide:h,onResize:v},{default:re(()=>[Fe(e.$slots,"popper",{shown:c,hide:h})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Gs=qo(o0,[["render",i0]]),s0={...Gs,name:"VDropdown",vPopperTheme:"dropdown"},l0={...Gs,name:"VMenu",vPopperTheme:"menu"},a0={...Gs,name:"VTooltip",vPopperTheme:"tooltip"},c0=We({name:"VTooltipDirective",components:{Popper:qu(),PopperContent:Yu},mixins:[Xu],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>ar(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>ar(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),u0=["innerHTML"],f0=["textContent"];function d0(e,t,n,r,o,i){const s=on("PopperContent"),l=on("Popper");return j(),ye(l,Bo({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:re(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:p,handleResize:h,onResize:_,classes:v,result:E})=>[W(s,{ref:"popperContent",class:Te({"v-popper--tooltip-loading":e.loading}),"popper-id":a,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":h,classes:v,result:E,onHide:p,onResize:_},{default:re(()=>[e.html?(j(),Z("div",{key:0,innerHTML:e.finalContent},null,8,u0)):(j(),Z("div",{key:1,textContent:De(e.finalContent)},null,8,f0))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const p0=qo(c0,[["render",d0]]),Qu="v-popper--has-tooltip";function h0(e,t){let n=e.placement;if(!n&&t)for(const r of zu)t[r]&&(n=r);return n||(n=ar(e.theme||"tooltip","placement")),n}function Zu(e,t,n){let r;const o=typeof t;return o==="string"?r={content:t}:t&&o==="object"?r=t:r={content:!1},r.placement=h0(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let _i,cr,m0=0;function _0(){if(_i)return;cr=ve([]),_i=eu({name:"VTooltipDirectiveApp",setup(){return{directives:cr}},render(){return this.directives.map(t=>io(p0,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),_i.mount(e)}function g0(e,t,n){_0();const r=ve(Zu(e,t,n)),o=ve(!1),i={id:m0++,options:r,shown:o};return cr.value.push(i),e.classList&&e.classList.add(Qu),e.$_popper={options:r,item:i,show(){o.value=!0},hide(){o.value=!1}}}function ef(e){if(e.$_popper){const t=cr.value.indexOf(e.$_popper.item);t!==-1&&cr.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Qu)}function ha(e,{value:t,modifiers:n}){const r=Zu(e,t,n);if(!r.content||ar(r.theme||"tooltip","disabled"))ef(e);else{let o;e.$_popper?(o=e.$_popper,o.options.value=r):o=g0(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?o.show():o.hide())}}const y0={beforeMount:ha,updated:ha,beforeUnmount(e){ef(e)}};function ma(e){e.addEventListener("mousedown",yo),e.addEventListener("click",yo),e.addEventListener("touchstart",tf,Nn?{passive:!0}:!1)}function _a(e){e.removeEventListener("mousedown",yo),e.removeEventListener("click",yo),e.removeEventListener("touchstart",tf),e.removeEventListener("touchend",nf),e.removeEventListener("touchcancel",rf)}function yo(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function tf(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",nf),t.addEventListener("touchcancel",rf)}}function nf(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function rf(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const v0={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&ma(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?ma(e):_a(e))},beforeUnmount(e){_a(e)}};function b0(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Gu(st,t),e.directive("tooltip",y0),e.directive("close-popper",v0),e.component("VTooltip",a0),e.component("VDropdown",s0),e.component("VMenu",l0))}const w0={version:"5.2.2",install:b0,options:st},E0=gt(e=>{e.vueApp.use(w0)}),T0=[eg,ng,ig,lg,ag,dg,gg,yg,bg,E0],Ws=We({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(j(),Z("div",{class:Te(["n-icon",t.icon])},null,2))}}),Jo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},C0={},x0={class:"n-badge"};function S0(e,t){return j(),Z("span",x0,[Fe(e.$slots,"default")])}const of=Jo(C0,[["render",S0]]);async function sf(e,t=Ut()){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(()=>sf(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 P0=(...e)=>e.find(t=>t!==void 0);function A0(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 ga(r,e.trailingSlash);const i="path"in r&&r.path!==void 0?r.path:o(r).path;return{...r,name:void 0,path:ga(i,e.trailingSlash)}}return We({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=Ut(),s=or(),l=Ue(()=>{const h=r.to||r.href||"";return n(h,i.resolve)}),a=Ue(()=>typeof l.value=="string"&&Ft(l.value,{acceptRelative:!0})),c=Ue(()=>r.target&&r.target!=="_self"),u=Ue(()=>r.external||c.value?!0:typeof l.value=="object"?!1:l.value===""||a.value),f=ve(!1),d=ve(null),p=h=>{var _;d.value=r.custom?(_=h==null?void 0:h.$el)==null?void 0:_.nextElementSibling:h==null?void 0:h.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!L0()){const _=we();let v,E=null;Vo(()=>{const C=O0();Bs(()=>{v=Ji(()=>{var y;(y=d==null?void 0:d.value)!=null&&y.tagName&&(E=C.observe(d.value,async()=>{E==null||E(),E=null;const S=typeof l.value=="string"?l.value:i.resolve(l.value).fullPath;await Promise.all([_.hooks.callHook("link:prefetch",S).catch(()=>{}),!u.value&&sf(l.value,i).catch(()=>{})]),f.value=!0}))})})}),Ss(()=>{v&&sg(v),E==null||E(),E=null})}return()=>{var E,C;if(!u.value){const y={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&&(y.class=r.prefetchedClass||e.prefetchedClass),y.rel=r.rel||void 0),io(on("RouterLink"),y,o.default)}const h=typeof l.value=="object"?((E=i.resolve(l.value))==null?void 0:E.href)??null:l.value&&!r.external&&!a.value?n(Vn(s.app.baseURL,l.value),i.resolve):l.value||null,_=r.target||null,v=P0(r.noRel?"":r.rel,e.externalRelAttribute,a.value||c.value?"noopener noreferrer":"")||null;if(r.custom){if(!o.default)return null;const y=()=>wu(h,{replace:r.replace,external:r.external});return o.default({href:h,navigate:y,get route(){if(!h)return;const S=Hn(h);return{path:S.pathname,fullPath:S.pathname,get query(){return Is(S.search)},hash:S.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:h}},rel:v,target:_,isExternal:u.value,isActive:!1,isExactActive:!1})}return io("a",{ref:d,href:h,rel:v,target:_},(C=o.default)==null?void 0:C.call(o))}}})}const R0=A0(z_);function ga(e,t){const n=t==="append"?ao:Fo;return Ft(e)&&!e.startsWith("http")?e:n(e,!0)}function O0(){const e=we();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 L0(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const k0={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},lf=We({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=Ue(()=>t.href||t.to);return(r,o)=>{const i=R0;return j(),ye(i,Bo(n.value?{href:n.value,target:r.target,rel:r.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||r.underline}}),{default:re(()=>[Fe(r.$slots,"default"),n.value&&r.target==="_blank"?(j(),Z("div",k0)):ke("",!0)]),_:3},16,["class"])}}}),I0={},N0={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},D0=zp('<path d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z" fill="currentColor"></path><path d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z" fill="currentColor"></path><path d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z" fill="currentColor"></path><path d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z" fill="currentColor"></path><path d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z" fill="#00DC82"></path><path d="M892 200C881.746 200 873.788 197.911 866 194C858.212 189.959 851.543 184.169 847 177C842.587 169.7 840.389 161.646 840 152H868C868.649 159.039 870.717 163.959 875 168C879.413 172.041 885.861 174 893 174C899.62 174 904.106 172.737 908 170C912.024 167.263 914 164.084 914 159C914 155.48 913.336 152.086 911 150C908.793 147.784 906.375 146.173 903 145C899.625 143.827 894.23 142.564 888 141C878.784 138.784 870.971 136.477 865 134C859.159 131.393 854.283 127.605 850 122C845.717 116.395 844 108.777 844 99C844 91.5698 845.976 84.8659 850 79C854.024 73.1341 859.861 68.2589 867 65C874.139 61.6108 881.914 60 891 60C900.735 60 909.601 61.4805 917 65C924.528 68.5196 929.846 73.4823 934 80C938.283 86.5177 940.74 94.3967 941 103H913C912.481 97.5251 910.894 93.1285 907 90C903.106 86.7411 897.49 85 891 85C885.289 85 880.375 86.5233 877 89C873.625 91.4767 872 94.959 872 99C872 102.78 873.664 105.784 876 108C878.336 110.216 881.366 111.696 885 113C888.634 114.173 893.64 115.566 900 117C909.346 119.216 916.159 121.654 922 124C927.841 126.346 932.846 130.395 937 136C941.283 141.475 944 148.354 944 158C944 166.473 941.283 173.743 937 180C932.717 186.257 926.788 191.611 919 195C911.342 198.389 902.124 200 892 200Z" fill="#00DC82"></path><path d="M1056 200H961V60H1054V87H990V116H1041V141H990V173H1056V200Z" fill="#00DC82"></path><path d="M1134 200C1120.76 200 1108.64 196.996 1098 191C1087.49 184.873 1080.1 176.559 1074 166C1068.03 155.311 1065 143.296 1065 130C1065 116.704 1068.03 104.559 1074 94C1080.1 83.311 1088.49 74.9963 1099 69C1109.64 62.8734 1120.76 60 1134 60C1147.11 60 1159.49 62.8734 1170 69C1180.64 74.9963 1189.03 83.311 1195 94C1201.1 104.559 1204 116.704 1204 130C1204 143.296 1201.1 155.311 1195 166C1189.03 176.559 1180.64 184.873 1170 191C1159.49 196.996 1147.11 200 1134 200ZM1134 174C1141.66 174 1148.9 172.78 1155 169C1161.23 165.089 1165.63 159.778 1169 153C1172.5 146.222 1174 138.473 1174 130C1174 121.527 1172.5 113.778 1169 107C1165.63 100.222 1161.23 94.9106 1155 91C1148.9 87.0894 1141.66 85 1134 85C1126.34 85 1120.1 87.0894 1114 91C1107.9 94.9106 1102.5 100.222 1099 107C1095.63 113.778 1094 121.527 1094 130C1094 138.473 1095.63 146.222 1099 153C1102.5 159.778 1107.9 165.089 1114 169C1120.1 172.78 1126.34 174 1134 174Z" fill="#00DC82"></path>',8),$0=[D0];function M0(e,t){return j(),Z("svg",N0,$0)}const V0=Jo(I0,[["render",M0]]),H0={},B0={class:"n-loading n-panel-grids-center"},j0={class:"flex flex-col animate-pulse items-center text-lg"},F0=N("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function U0(e,t){return j(),Z("div",B0,[N("div",j0,[F0,Fe(e.$slots,"default",{},()=>[se(" Loading... ")])])])}const G0=Jo(H0,[["render",U0]]),af=[{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("./COIrKlfF.js").then(e=>e.e),__vite__mapDeps([5,6,7,8]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>m(()=>import("./CNkYXcD4.js"),__vite__mapDeps([9,5,6,7,8,10]),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([11,6,7,8,12,13,14]),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:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>m(()=>import("./DGMFlOLs.js"),__vite__mapDeps([15,6,7,8,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,13,14,33,34,35,36,37,38,39,40,41,42,12,43,44,45,46,47,48,10,49,50,51]),import.meta.url)},{id:"asm",name:"Assembly",import:()=>m(()=>import("./PWN5J14X.js"),[],import.meta.url)},{id:"astro",name:"Astro",import:()=>m(()=>import("./BXR915QZ.js"),__vite__mapDeps([52,14,7,51,53,47,8,10,38,54,55]),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([56,6,7,8,12,13,23,14]),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("./Cgl53LJQ.js"),__vite__mapDeps([57,23,6,7,8,13]),import.meta.url)},{id:"codeowners",name:"CODEOWNERS",import:()=>m(()=>import("./CGmujMTu.js"),[],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,7]),import.meta.url)},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>m(()=>import("./C3qUB5O8.js"),[],import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>m(()=>import("./BOnd8D4O.js"),__vite__mapDeps([21,22,18,23]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>m(()=>import("./B6bHXiXE.js"),__vite__mapDeps([58,6,7,8,23,18,44]),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("./DZLoTQm4.js"),[],import.meta.url)},{id:"dax",name:"DAX",import:()=>m(()=>import("./DsfXcHUZ.js"),[],import.meta.url)},{id:"desktop",name:"Desktop",import:()=>m(()=>import("./D71BffLY.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([27,6,7,8]),import.meta.url)},{id:"elm",name:"Elm",import:()=>m(()=>import("./RE3ujT-k.js"),__vite__mapDeps([28,22,18]),import.meta.url)},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>m(()=>import("./BEjL32p1.js"),[],import.meta.url)},{id:"erb",name:"ERB",import:()=>m(()=>import("./ChMCFiS0.js"),__vite__mapDeps([59,6,7,8,43,12,13,23,18,44,45]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>m(()=>import("./DS9ZWoKD.js"),[],import.meta.url)},{id:"fennel",name:"Fennel",import:()=>m(()=>import("./C6XIsc4F.js"),[],import.meta.url)},{id:"fish",name:"Fish",import:()=>m(()=>import("./DfeQjIbs.js"),[],import.meta.url)},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>m(()=>import("./KPqz0Sb3.js"),[],import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>m(()=>import("./sQpxpyUs.js"),__vite__mapDeps([60,61]),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("./Djqq6n-7.js"),__vite__mapDeps([62,63]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>m(()=>import("./NL97_oaV.js"),__vite__mapDeps([64,65,66]),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:"genie",name:"Genie",import:()=>m(()=>import("./DAfrLhwG.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([67,25]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>m(()=>import("./JgH_6NEN.js"),__vite__mapDeps([68,44]),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([69,7,51,8,6]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>m(()=>import("./CQUCfALx.js"),__vite__mapDeps([70,51,8,7,6]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>m(()=>import("./DouzTJIq.js"),__vite__mapDeps([22,18]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>m(()=>import("./nclm9rTJ.js"),[],import.meta.url)},{id:"go",name:"Go",import:()=>m(()=>import("./BAMIS8DD.js"),[],import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>m(()=>import("./BN4LRXf6.js"),__vite__mapDeps([71,7,51,33,55]),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([72,6,7,8,23]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>m(()=>import("./G-Jz5hiA.js"),__vite__mapDeps([73,43,6,7,8,12,13,23,18,44,45,47,20,63]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>m(()=>import("./DUdlC5k_.js"),__vite__mapDeps([74,6,7,8,16]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>m(()=>import("./DAGYewaG.js"),[],import.meta.url)},{id:"haxe",name:"Haxe",import:()=>m(()=>import("./Dit6kIrv.js"),[],import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>m(()=>import("./CpAANOdC.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([6,7,8]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>m(()=>import("./BR6CMsBL.js"),__vite__mapDeps([75,6,7,8]),import.meta.url)},{id:"http",name:"HTTP",import:()=>m(()=>import("./CqYeW6XZ.js"),__vite__mapDeps([76,44,14,12,13,71,7,51,33,55]),import.meta.url)},{id:"hxml",name:"HXML",import:()=>m(()=>import("./CiRxTSAc.js"),__vite__mapDeps([77,78]),import.meta.url)},{id:"hy",name:"Hy",import:()=>m(()=>import("./C3qJFuQy.js"),[],import.meta.url)},{id:"imba",name:"Imba",import:()=>m(()=>import("./DzwdaLuO.js"),__vite__mapDeps([79,51]),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([80,6,7,8]),import.meta.url)},{id:"jison",name:"Jison",import:()=>m(()=>import("./DY7_9Ga-.js"),__vite__mapDeps([81,7]),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("./D_T9yQUo.js"),__vite__mapDeps([34,21,22,18,23,35,7,36]),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("./DKlGn9uv.js"),[],import.meta.url)},{id:"latex",name:"LaTeX",import:()=>m(()=>import("./o5b8QYQO.js"),__vite__mapDeps([82,83,36,44,8,84,32,6,7,13,34,21,22,18,23,35,45,43,12,46,51,16,48]),import.meta.url)},{id:"less",name:"Less",import:()=>m(()=>import("./Du6_OKDb.js"),[],import.meta.url)},{id:"liquid",name:"Liquid",import:()=>m(()=>import("./Dg0DGYq4.js"),__vite__mapDeps([85,6,7,8,14]),import.meta.url)},{id:"log",name:"Log file",import:()=>m(()=>import("./Ksn5IXup.js"),[],import.meta.url)},{id:"logo",name:"Logo",import:()=>m(()=>import("./DdacRhvC.js"),[],import.meta.url)},{id:"lua",name:"Lua",import:()=>m(()=>import("./BVGdgKAv.js"),__vite__mapDeps([45,18]),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("./BdfWgkoX.js"),[],import.meta.url)},{id:"marko",name:"Marko",import:()=>m(()=>import("./DGDuLtS6.js"),__vite__mapDeps([86,8,38,10,7]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>m(()=>import("./Btshr8M_.js"),[],import.meta.url)},{id:"mdc",name:"MDC",import:()=>m(()=>import("./CcYwH0AH.js"),__vite__mapDeps([87,63,16,75,6,7,8]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>m(()=>import("./CBPJd_fO.js"),[],import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>m(()=>import("./Dkb1Nx48.js"),[],import.meta.url)},{id:"mojo",name:"Mojo",import:()=>m(()=>import("./-7WWnkdy.js"),[],import.meta.url)},{id:"move",name:"Move",import:()=>m(()=>import("./C9UBdavN.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("./DR5YgmI2.js"),__vite__mapDeps([88,45,18]),import.meta.url)},{id:"nim",name:"Nim",import:()=>m(()=>import("./YdT6Gj0u.js"),__vite__mapDeps([89,18,6,7,8,12,13,22,63]),import.meta.url)},{id:"nix",name:"Nix",import:()=>m(()=>import("./B7rNE5kf.js"),[],import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>m(()=>import("./CrgTADc5.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("./B6ZnTe72.js"),[],import.meta.url)},{id:"perl",name:"Perl",import:()=>m(()=>import("./Dwo2i-71.js"),__vite__mapDeps([42,6,7,8,12,13,23]),import.meta.url)},{id:"php",name:"PHP",import:()=>m(()=>import("./Cthz8VOO.js"),__vite__mapDeps([90,6,7,8,12,13,23,14]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>m(()=>import("./BbJj1K1w.js"),[],import.meta.url)},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>m(()=>import("./HrnDn_2Q.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([91,7,8,47,10,53,20,6]),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:"qml",name:"QML",import:()=>m(()=>import("./BwXNTs7T.js"),__vite__mapDeps([92,7]),import.meta.url)},{id:"qmldir",name:"QML Directory",import:()=>m(()=>import("./MS3qTAOR.js"),[],import.meta.url)},{id:"qss",name:"Qt Style Sheets",import:()=>m(()=>import("./FJDVp-XM.js"),[],import.meta.url)},{id:"r",name:"R",import:()=>m(()=>import("./BXfENWL6.js"),[],import.meta.url)},{id:"racket",name:"Racket",import:()=>m(()=>import("./B5NHDIr7.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("./Lpdzc9s2.js"),__vite__mapDeps([93,6,7,8,24]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>m(()=>import("./CrhH3_Og.js"),[],import.meta.url)},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>m(()=>import("./C_ZPRiAj.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("./CHCTrc3a.js"),__vite__mapDeps([94,75,6,7,8,21,22,18,23,35,44,16,95,43,12,13,45]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>m(()=>import("./CarfVElc.js"),__vite__mapDeps([43,6,7,8,12,13,23,18,44,45]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>m(()=>import("./DGxQkqYo.js"),[],import.meta.url)},{id:"sas",name:"SAS",import:()=>m(()=>import("./8t4jSAMm.js"),__vite__mapDeps([96,23]),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([10,8]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>m(()=>import("./BiDE021q.js"),__vite__mapDeps([97,98]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>m(()=>import("./BZfs-ost.js"),[],import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>m(()=>import("./dIHJ9UdL.js"),__vite__mapDeps([99,44]),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:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>m(()=>import("./DKb4lQY2.js"),__vite__mapDeps([100,6,7,8]),import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>m(()=>import("./DJZWsvj0.js"),__vite__mapDeps([101,102]),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([103,23]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>m(()=>import("./DSrLtGYv.js"),[],import.meta.url)},{id:"svelte",name:"Svelte",import:()=>m(()=>import("./wKgfcFVx.js"),__vite__mapDeps([104,7,51,20,53,47,8,10,38,54,91,6,63]),import.meta.url)},{id:"swift",name:"Swift",import:()=>m(()=>import("./Dez-Qvcc.js"),[],import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>m(()=>import("./BscxmKrE.js"),[],import.meta.url)},{id:"systemd",name:"Systemd Units",import:()=>m(()=>import("./CuJfdYLG.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("./DBeuZS66.js"),[],import.meta.url)},{id:"tex",name:"TeX",import:()=>m(()=>import("./Db2-y2xY.js"),__vite__mapDeps([83,36]),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("./BacI6-DX.js"),__vite__mapDeps([105,8,7,10,90,6,12,13,23,14,35,43,18,44,45]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>m(()=>import("./DC8MraHL.js"),[],import.meta.url)},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>m(()=>import("./Bx89rGXK.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:"vala",name:"Vala",import:()=>m(()=>import("./CO5hpdkB.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("./BcF9sHHc.js"),__vite__mapDeps([106,6,7,8,63,91,47,10,53,20,38,51,33,55,14,107,108,16,50,71,75]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>m(()=>import("./B4ACM-c0.js"),__vite__mapDeps([109,106,6,7,8,63,91,47,10,53,20,38,51,33,55,14,107,108,16,50,71,75]),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:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>m(()=>import("./P5f3PASf.js"),__vite__mapDeps([110,6,7,8,111,13,45,18,39,42,12,23,36,43,44,90,14,112,113,16,114,19,20,21,22,25,26,30,31,91,47,10,53,107,38,40,49,115,116,35,34,46,48,51,24,62,63,117,74,29,27,82,83,84,32,118]),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([12,13]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>m(()=>import("./CJQrLysU.js"),__vite__mapDeps([113,12,13]),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)}],W0=Object.fromEntries(af.map(e=>[e.id,e.import])),z0=Object.fromEntries(af.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),q0={...W0,...z0},K0=async e=>m(()=>import("./CsTmP73Z.js"),[],import.meta.url).then(t=>t.default(e)),J0=[{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("./CSPeAESR.js"),[],import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>m(()=>import("./BYdKNJ10.js"),[],import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>m(()=>import("./DVLwECkk.js"),[],import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>m(()=>import("./CEfge3mM.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:"one-light",displayName:"One Light",type:"light",import:()=>m(()=>import("./alpzPJ78.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:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>m(()=>import("./CA9nliXM.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("./B3g-KkBK.js"),[],import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>m(()=>import("./Bxkoe-BC.js"),[],import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>m(()=>import("./Br6ll-O0.js"),[],import.meta.url)}],Y0=Object.fromEntries(J0.map(e=>[e.id,e.import]));var rt;(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"})(rt||(rt={}));var Dn;(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),_=e.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:p,foreground:h,background:_})}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,_,v){let E=e.getLanguageId(u),C=e.getTokenType(u),y=e.containsBalancedBrackets(u)?1:0,S=e.getFontStyle(u),T=e.getForeground(u),x=e.getBackground(u);return f!==0&&(E=f),d!==8&&(C=d),p!==null&&(y=p?1:0),h!==-1&&(S=h),_!==0&&(T=_),v!==0&&(x=v),(E<<0|C<<8|y<<10|S<<11|T<<15|x<<24)>>>0}e.set=c})(Dn||(Dn={}));function vo(e,t){const n=[],r=X0(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(ya(o)){const a=[];do a.push(o),o=r.next();while(ya(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 ya(e){return!!e&&!!e.match(/[\w\.:]+/)}function X0(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 cf(e){typeof e.dispose=="function"&&e.dispose()}function Q0(e){return zs(e)}function zs(e){return Array.isArray(e)?Z0(e):typeof e=="object"?ey(e):e}function Z0(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=zs(e[n]);return t}function ey(e){let t={};for(let n in e)t[n]=zs(e[n]);return t}function uf(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function ff(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?ff(e.substring(0,e.length-1)):e.substr(~t+1)}let gi=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class Nr{static hasCaptures(t){return t===null?!1:(gi.lastIndex=0,gi.test(t))}static replaceCaptures(t,n,r){return t.replace(gi,(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 df(e,t){return e<t?-1:e>t?1:0}function pf(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=df(e[o],t[o]);if(i!==0)return i}return 0}return n-r}function va(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 hf(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class mf{constructor(t){b(this,"fn");b(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 ur{constructor(t){b(this,"scopeName");this.scopeName=t}toKey(){return this.scopeName}}class ty{constructor(t,n){b(this,"scopeName");b(this,"ruleName");this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class ny{constructor(){b(this,"_references",[]);b(this,"_seenReferenceKeys",new Set);b(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 ry{constructor(t,n){b(this,"repo");b(this,"initialScopeName");b(this,"seenFullScopeRequests",new Set);b(this,"seenPartialScopeRequests",new Set);b(this,"Q");this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new ur(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new ny;for(const r of t)oy(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof ur){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 oy(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 ur?Kr({baseGrammar:i,selfGrammar:o},r):ts(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 ur(l))}function ts(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];bo([r],t,n)}}function Kr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&bo(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&bo(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function bo(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?uf({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&bo(r.patterns,{...t,repository:o},n);const i=r.include;if(!i)continue;const s=_f(i);switch(s.kind){case 0:Kr({...t,selfGrammar:t.baseGrammar},n);break;case 1:Kr(t,n);break;case 2:ts(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?ts(s.ruleName,a,n):Kr(a,n)}else s.kind===4?n.add(new ty(s.scopeName,s.ruleName)):n.add(new ur(s.scopeName));break}}}class iy{constructor(){b(this,"kind",0)}}class sy{constructor(){b(this,"kind",1)}}class ly{constructor(t){b(this,"ruleName");b(this,"kind",2);this.ruleName=t}}class ay{constructor(t){b(this,"scopeName");b(this,"kind",3);this.scopeName=t}}class cy{constructor(t,n){b(this,"scopeName");b(this,"ruleName");b(this,"kind",4);this.scopeName=t,this.ruleName=n}}function _f(e){if(e==="$base")return new iy;if(e==="$self")return new sy;const t=e.indexOf("#");if(t===-1)return new ay(e);if(t===0)return new ly(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new cy(n,r)}}const uy=/\\(\d+)/,ba=/\\(\d+)/g,fy=-1,gf=-2;class yr{constructor(t,n,r,o){b(this,"$location");b(this,"id");b(this,"_nameIsCapturing");b(this,"_name");b(this,"_contentNameIsCapturing");b(this,"_contentName");this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=Nr.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=Nr.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${ff(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:Nr.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Nr.replaceCaptures(this._contentName,t,n)}}class dy extends yr{constructor(n,r,o,i,s){super(n,r,o,i);b(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 py extends yr{constructor(n,r,o,i,s){super(n,r,o,null);b(this,"_match");b(this,"captures");b(this,"_cachedCompiledPatterns");this._match=new ln(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 fr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class wa extends yr{constructor(n,r,o,i,s){super(n,r,o,i);b(this,"hasMissingPatterns");b(this,"patterns");b(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 fr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class ns extends yr{constructor(n,r,o,i,s,l,a,c,u,f){super(n,r,o,i);b(this,"_begin");b(this,"beginCaptures");b(this,"_end");b(this,"endHasBackReferences");b(this,"endCaptures");b(this,"applyEndPatternLast");b(this,"hasMissingPatterns");b(this,"patterns");b(this,"_cachedCompiledPatterns");this._begin=new ln(s,this.id),this.beginCaptures=l,this._end=new ln(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 fr;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 wo extends yr{constructor(n,r,o,i,s,l,a,c,u){super(n,r,o,i);b(this,"_begin");b(this,"beginCaptures");b(this,"whileCaptures");b(this,"_while");b(this,"whileHasBackReferences");b(this,"hasMissingPatterns");b(this,"patterns");b(this,"_cachedCompiledPatterns");b(this,"_cachedCompiledWhilePatterns");this._begin=new ln(s,this.id),this.beginCaptures=l,this.whileCaptures=c,this._while=new ln(a,gf),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 fr;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 fr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||""),this._cachedCompiledWhilePatterns}}class Ae{static createCaptureRule(t,n,r,o,i){return t.registerRule(s=>new dy(n,s,r,o,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new py(t.$vscodeTextmateLocation,t.id,t.name,t.match,Ae._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=uf({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new wa(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Ae._compilePatterns(i,n,r))}return t.while?new wo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Ae._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Ae._compileCaptures(t.whileCaptures||t.captures,n,r),Ae._compilePatterns(t.patterns,n,r)):new ns(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Ae._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Ae._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Ae._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=Ae.getCompiledRuleId(t[s],n,r)),o[l]=Ae.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=_f(l.include);switch(c.kind){case 0:case 1:a=Ae.getCompiledRuleId(r[l.include],n,r);break;case 2:let u=r[c.ruleName];u&&(a=Ae.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=Ae.getCompiledRuleId(h,n,p.repository))}else a=Ae.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else a=Ae.getCompiledRuleId(l,n,r);if(a!==-1){const c=n.getRule(a);let u=!1;if((c instanceof wa||c instanceof ns||c instanceof wo)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(a)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}}class ln{constructor(t,n){b(this,"source");b(this,"ruleId");b(this,"hasAnchor");b(this,"hasBackReferences");b(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=uy.test(this.source)}clone(){return new ln(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 ba.lastIndex=0,this.source.replace(ba,(o,i)=>hf(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 fr{constructor(){b(this,"_items");b(this,"_hasAnchors");b(this,"_cached");b(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 Ea(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 Ea(t,o,this._items.map(i=>i.ruleId))}}class Ea{constructor(t,n,r){b(this,"regExps");b(this,"rules");b(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 Eo{constructor(t,n,r){b(this,"_colorMap");b(this,"_defaults");b(this,"_root");b(this,"_cachedMatchRoot",new mf(t=>this._root.match(t)));this._colorMap=t,this._defaults=n,this._root=r}static createFromRawTheme(t,n){return this.createFromParsedTheme(_y(t),n)}static createFromParsedTheme(t,n){return yy(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=>hy(t.parent,i.parentScopes));return o?new yf(o.fontStyle,o.foreground,o.background):null}}class nn{constructor(t,n){b(this,"parent");b(this,"scopeName");this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new nn(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new nn(n,t[r]);return n}push(t){return new nn(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 hy(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(my(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}function my(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}class yf{constructor(t,n,r){b(this,"fontStyle");b(this,"foregroundId");b(this,"backgroundId");this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function _y(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"&&va(s.settings.foreground)&&(c=s.settings.foreground);let u=null;typeof s.settings.background=="string"&&va(s.settings.background)&&(u=s.settings.background);for(let f=0,d=l.length;f<d;f++){let h=l[f].trim().split(" "),_=h[h.length-1],v=null;h.length>1&&(v=h.slice(0,h.length-1),v.reverse()),n[r++]=new gy(_,v,o,a,c,u)}}return n}class gy{constructor(t,n,r,o,i,s){b(this,"scope");b(this,"parentScopes");b(this,"index");b(this,"fontStyle");b(this,"foreground");b(this,"background");this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=o,this.foreground=i,this.background=s}}function yy(e,t){e.sort((a,c)=>{let u=df(a.scope,c.scope);return u!==0||(u=pf(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 vy(t),s=new yf(n,i.getId(r),i.getId(o)),l=new Qn(new dr(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 Eo(i,s,l)}class vy{constructor(t){b(this,"_isFrozen");b(this,"_lastColorId");b(this,"_id2color");b(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 dr{constructor(t,n,r,o,i){b(this,"scopeDepth");b(this,"parentScopes");b(this,"fontStyle");b(this,"foreground");b(this,"background");this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=o,this.background=i}clone(){return new dr(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 Qn{constructor(t,n=[],r={}){b(this,"_mainRule");b(this,"_children");b(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 Qn._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):Qn._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 Qn(this._mainRule.clone(),dr.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(pf(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 dr(t,n,r,o,i))}}class yi{constructor(t,n){b(this,"languageId");b(this,"tokenType");this.languageId=t,this.tokenType=n}}const gn=class gn{constructor(t,n){b(this,"_defaultAttributes");b(this,"_embeddedLanguagesMatcher");b(this,"_getBasicScopeAttributes",new mf(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new yi(n,r)}));this._defaultAttributes=new yi(t,8),this._embeddedLanguagesMatcher=new by(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?gn._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(gn.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!")}};b(gn,"_NULL_SCOPE_METADATA",new yi(0,0)),b(gn,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/);let rs=gn;class by{constructor(t){b(this,"values");b(this,"scopesRegExp");if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,o])=>hf(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 Ta{constructor(t,n){b(this,"stack");b(this,"stoppedEarly");this.stack=t,this.stoppedEarly=n}}function vf(e,t,n,r,o,i,s,l){const a=t.content.length;let c=!1,u=-1;if(s){const p=wy(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 Ta(o,!0);d()}return new Ta(o,!1);function d(){const p=Ey(e,t,n,r,o,u);if(!p){i.produce(o,a),c=!0;return}const h=p.captureIndices,_=p.matchedRuleId,v=h&&h.length>0?h[0].end>r:!1;if(_===fy){const E=o.getRule(e);i.produce(o,h[0].start),o=o.withContentNameScopesList(o.nameScopesList),Gn(e,t,n,o,i,E.endCaptures,h),i.produce(o,h[0].end);const C=o;if(o=o.parent,u=C.getAnchorPos(),!v&&C.getEnterPos()===r){o=C,i.produce(o,a),c=!0;return}}else{const E=e.getRule(_);i.produce(o,h[0].start);const C=o,y=E.getName(t.content,h),S=o.contentNameScopesList.pushAttributed(y,e);if(o=o.push(_,r,u,h[0].end===a,null,S,S),E instanceof ns){const T=E;Gn(e,t,n,o,i,T.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const x=T.getContentName(t.content,h),A=S.pushAttributed(x,e);if(o=o.withContentNameScopesList(A),T.endHasBackReferences&&(o=o.withEndRule(T.getEndWithResolvedBackReferences(t.content,h))),!v&&C.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(E instanceof wo){const T=E;Gn(e,t,n,o,i,T.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const x=T.getContentName(t.content,h),A=S.pushAttributed(x,e);if(o=o.withContentNameScopesList(A),T.whileHasBackReferences&&(o=o.withEndRule(T.getWhileWithResolvedBackReferences(t.content,h))),!v&&C.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(Gn(e,t,n,o,i,E.captures,h),i.produce(o,h[0].end),o=o.pop(),!v){o=o.safePop(),i.produce(o,a),c=!0;return}}h[0].end>r&&(r=h[0].end,n=!1)}}function wy(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 wo&&l.push({rule:c,stack:a})}for(let a=l.pop();a;a=l.pop()){const{ruleScanner:c,findOptions:u}=xy(a.rule,e,a.stack.endRule,n,r===s),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==gf){o=a.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(i.produce(a.stack,f.captureIndices[0].start),Gn(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 Ey(e,t,n,r,o,i){const s=Ty(e,t,n,r,o,i),l=e.getInjections();if(l.length===0)return s;const a=Cy(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 Ty(e,t,n,r,o,i){const s=o.getRule(e),{ruleScanner:l,findOptions:a}=bf(s,e,o.endRule,n,r===i),c=l.findNextMatchSync(t,r,a);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Cy(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 _=t.getRule(h.ruleId),{ruleScanner:v,findOptions:E}=bf(_,t,null,r,o===s),C=v.findNextMatchSync(n,o,E);if(!C)continue;const y=C.captureIndices[0].start;if(!(y>=l)&&(l=y,a=C.captureIndices,c=C.ruleId,u=h.priority,l===o))break}return a?{priorityMatch:u===-1,captureIndices:a,matchedRuleId:c}:null}function bf(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function xy(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function Gn(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 _=d.getName(l,s),v=r.contentNameScopesList.pushAttributed(_,e),E=d.getContentName(l,s),C=v.pushAttributed(E,e),y=r.push(d.retokenizeCapturedWithRuleId,p.start,-1,!1,null,v,C),S=e.createOnigString(l.substring(0,p.end));vf(e,S,n&&p.start===0,p.start,y,o,!1,0),cf(S);continue}const h=d.getName(l,s);if(h!==null){const v=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(h,e);c.push(new Sy(v,p.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class Sy{constructor(t,n){b(this,"scopes");b(this,"endPos");this.scopes=t,this.endPos=n}}function Py(e,t,n,r,o,i,s,l){return new Ry(e,t,n,r,o,i,s,l)}function Ca(e,t,n,r,o){const i=vo(t,To),s=Ae.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 To(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(Ay(t[o],r))return n=o+1,!0;return!1})}function Ay(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 Ry{constructor(t,n,r,o,i,s,l,a){b(this,"_rootScopeName");b(this,"balancedBracketSelectors");b(this,"_onigLib");b(this,"_rootId");b(this,"_lastRuleId");b(this,"_ruleId2desc");b(this,"_includedGrammars");b(this,"_grammarRepository");b(this,"_grammar");b(this,"_injections");b(this,"_basicScopeAttributesProvider");b(this,"_tokenTypeMatchers");if(this._rootScopeName=t,this.balancedBracketSelectors=s,this._onigLib=a,this._basicScopeAttributesProvider=new rs(r,o),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=xa(n,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const c of Object.keys(i)){const u=vo(c,To);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)Ca(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&&Ca(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]=xa(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=Ae.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!n||n===pr.NULL){i=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),d=Dn.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=He.createRootAndLookUpScopeName(p,d,this):h=He.createRoot("unknown",d),n=new pr(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 Ly(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=vf(this,s,i,0,n,a,!0,o);return cf(s),{lineLength:l,lineTokens:a,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function xa(e,t){return e=Q0(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 He{constructor(t,n,r){b(this,"parent");b(this,"scopePath");b(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=nn.push(o,i.scopeNames),r=new He(r,o,i.encodedTokenAttributes);return r}static createRoot(t,n){return new He(null,new nn(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),i=new nn(null,t),s=r.themeProvider.themeMatch(i),l=He.mergeAttributes(n,o,s);return new He(null,i,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return He.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),Dn.set(t,n.languageId,n.tokenType,null,o,i,s)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return He._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const i of r)o=He._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=He.mergeAttributes(t.tokenAttributes,o,s);return new He(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 wt=class wt{constructor(t,n,r,o,i,s,l,a){b(this,"parent");b(this,"ruleId");b(this,"beginRuleCapturedEOL");b(this,"endRule");b(this,"nameScopesList");b(this,"contentNameScopesList");b(this,"_stackElementBrand");b(this,"_enterPos");b(this,"_anchorPos");b(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:wt._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?He.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(){wt._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,i,s,l){return new wt(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 wt(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=He.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new wt(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,He.fromExtension(r,n.contentNameScopesList))}};b(wt,"NULL",new wt(null,0,0,0,!1,null,null,null));let pr=wt;class Oy{constructor(t,n){b(this,"balancedBracketScopes");b(this,"unbalancedBracketScopes");b(this,"allowAny",!1);this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):vo(r,To).map(o=>o.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>vo(r,To).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 Ly{constructor(t,n,r,o){b(this,"balancedBracketSelectors");b(this,"_emitBinaryTokens");b(this,"_lineText");b(this,"_tokens");b(this,"_binaryTokens");b(this,"_lastTokenEndIndex");b(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=Dn.set(i,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(l))}if(s&&(i=Dn.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 ky{constructor(t,n){b(this,"_onigLibPromise");b(this,"_grammars",new Map);b(this,"_rawGrammars",new Map);b(this,"_injectionGrammars",new Map);b(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,Py(t,s,n,r,o,i,this,await this._onigLibPromise))}return this._grammars.get(t)}}let Iy=class{constructor(t){b(this,"_options");b(this,"_syncRegistry");b(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new ky(Eo.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Eo.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 Oy(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,o,i){const s=new ry(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 Ny=pr.NULL,Le={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 Et{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&Le.LANGUAGEID_MASK)>>>Le.LANGUAGEID_OFFSET}static getTokenType(t){return(t&Le.TOKEN_TYPE_MASK)>>>Le.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&Le.FONT_STYLE_MASK)>>>Le.FONT_STYLE_OFFSET}static getForeground(t){return(t&Le.FOREGROUND_MASK)>>>Le.FOREGROUND_OFFSET}static getBackground(t){return(t&Le.BACKGROUND_MASK)>>>Le.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&Le.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,o,i,s){let l=Et.getLanguageId(t),a=Et.getTokenType(t),c=Et.getFontStyle(t),u=Et.getForeground(t),f=Et.getBackground(t);const d=Et.containsBalancedBrackets(t)?1:0;return n!==0&&(l=n),r!==0&&(a=r===8?0:r),o!==rt.NotSet&&(c=o),i!==0&&(u=i),s!==0&&(f=s),(l<<Le.LANGUAGEID_OFFSET|a<<Le.TOKEN_TYPE_OFFSET|c<<Le.FONT_STYLE_OFFSET|d<<Le.BALANCED_BRACKETS_OFFSET|u<<Le.FOREGROUND_OFFSET|f<<Le.BACKGROUND_OFFSET)>>>0}}function Yo(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 wf(e){return!e||["plaintext","txt","text","plain"].includes(e)}function Ef(e){return e==="ansi"||wf(e)}function Tf(e){return e==="none"}function Cf(e){return Tf(e)}function xf(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 Dy(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 $y(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?Dy(o,i):o})):e}function Co(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[o,i]of Object.entries((t==null?void 0:t.colorReplacements)||{}))typeof i=="string"?n[o]=i:o===r&&Object.assign(n,i);return n}function Xt(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function Sf(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&rt.Italic&&(t["font-style"]="italic"),e.fontStyle&rt.Bold&&(t["font-weight"]="bold"),e.fontStyle&rt.Underline&&(t["text-decoration"]="underline")),t}function Pf(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function My(e){const t=Yo(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 Qt=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],vi={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function Vy(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 Sa(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 Hy(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)vi[o]&&t.push({type:"setDecoration",value:vi[o]});else if(o<=29){const i=vi[o-20];i&&t.push({type:"resetDecoration",value:i})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Qt[o-30]}});else if(o===38){const[i,s]=Sa(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:Qt[o-40]}});else if(o===48){const[i,s]=Sa(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:Qt[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Qt[o-100+8]}})}return t}function By(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const s=Vy(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=Hy(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 jy={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 Fy(e=jy){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<Qt.length;c++)r.push(t(Qt[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 Uy(e,t,n){const r=Co(e,n),o=Yo(t),i=Fy(Object.fromEntries(Qt.map(l=>{var a;return[l,(a=e.colors)==null?void 0:a[`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`]]}))),s=By();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=Xt(c,r),u=Xt(u,r),a.decorations.has("dim")&&(c=Gy(c));let f=rt.None;return a.decorations.has("bold")&&(f|=rt.Bold),a.decorations.has("italic")&&(f|=rt.Italic),a.decorations.has("underline")&&(f|=rt.Underline),{content:a.value,offset:l[1],color:c,bgColor:u,fontStyle:f}}))}function Gy(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 qs(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(wf(r)||Tf(o))return Yo(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:i,colorMap:s}=e.setTheme(o);if(r==="ansi")return Uy(i,t,n);const l=e.getLanguage(r);return Wy(t,l,i,s,n)}function Wy(e,t,n,r,o){const i=Co(n,o),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:l=500}=o,a=Yo(e);let c=Ny,u=[];const f=[];for(let d=0,p=a.length;d<p;d++){const[h,_]=a[d];if(h===""){u=[],f.push([]);continue}if(s>0&&h.length>=s){u=[],f.push([{content:h,offset:_,color:"",fontStyle:0}]);continue}let v,E,C;o.includeExplanation&&(v=t.tokenizeLine(h,c),E=v.tokens,C=0);const y=t.tokenizeLine2(h,c,l),S=y.tokens.length/2;for(let T=0;T<S;T++){const x=y.tokens[2*T],A=T+1<S?y.tokens[2*T+2]:h.length;if(x===A)continue;const V=y.tokens[2*T+1],B=Xt(r[Et.getForeground(V)],i),O=Et.getFontStyle(V),G={content:h.substring(x,A),offset:_+x,color:B,fontStyle:O};if(o.includeExplanation){G.explanation=[];let z=0;for(;x+z<A;){const oe=E[C],ce=h.substring(oe.startIndex,oe.endIndex);z+=ce.length,G.explanation.push({content:ce,scopes:zy(n,oe.scopes)}),C+=1}}u.push(G)}f.push(u),u=[],c=y.ruleStack}return f}function zy(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:Ky(e,s,i)}}return n}function Pa(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function qy(e,t,n,r){if(!Pa(e,n))return!1;let o=t.length-1,i=r.length-1;for(;o>=0&&i>=0;)Pa(t[o],r[i])&&(o-=1),i-=1;return o===-1}function Ky(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);qy(p,h,t,n)&&(r[o++]=l,c=u)}}return r}function Af(e,t,n){const r=Object.entries(n.themes).filter(s=>s[1]).map(s=>({color:s[0],theme:s[1]})),o=Jy(...r.map(s=>qs(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:_,...v}=f[l][c];u.variants[r[d].color]=v}),u}))}function Jy(...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 Ie extends Error{constructor(t){super(t),this.name="ShikiError"}}function xo(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(_=>_[1]).map(_=>({color:_[0],theme:_[1]})).sort((_,v)=>_.color===a?-1:v.color===a?1:0);if(u.length===0)throw new Ie("`themes` option must not be empty");const f=Af(e,t,n);if(a&&!u.find(_=>_.color===a))throw new Ie(`\`themes\` option must contain the defaultColor key \`${a}\``);const d=u.map(_=>e.getTheme(_.theme)),p=u.map(_=>_.color);i=f.map(_=>_.map(v=>Yy(v,p,c,a)));const h=u.map(_=>Co(_.theme,n));o=u.map((_,v)=>(v===0&&a?"":`${c+_.color}:`)+(Xt(d[v].fg,h[v])||"inherit")).join(";"),r=u.map((_,v)=>(v===0&&a?"":`${c+_.color}-bg:`)+(Xt(d[v].bg,h[v])||"inherit")).join(";"),s=`shiki-themes ${d.map(_=>_.name).join(" ")}`,l=a?void 0:[o,r].join(";")}else if("theme"in n){const a=Co(n.theme,n.colorReplacements);i=qs(e,t,n);const c=e.getTheme(n.theme);r=Xt(c.bg,a),o=Xt(c.fg,a),s=c.name}else throw new Ie("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:o,bg:r,themeName:s,rootStyle:l}}function Yy(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(a=>Sf(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?Pf(l):Object.values(l).join(";"),o}function Xy(){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=My(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 Ie(`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 Ie(`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 $y(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 Ie(`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,_){const v=i[d];let E="",C=-1,y=-1;function S(x){return x.type==="text"?x.value:x.type==="element"?x.children.map(S).join(""):""}if(p===0&&(C=0),h===0&&(y=0),h===Number.POSITIVE_INFINITY&&(y=v.children.length),C===-1||y===-1)for(let x=0;x<v.children.length;x++)E+=S(v.children[x]),C===-1&&E.length===p&&(C=x+1),y===-1&&E.length===h&&(y=x+1);if(C===-1)throw new Ie(`Failed to find start index for decoration ${JSON.stringify(_.start)}`);if(y===-1)throw new Ie(`Failed to find end index for decoration ${JSON.stringify(_.end)}`);const T=v.children.slice(C,y);if(!_.alwaysWrap&&T.length===v.children.length)a(v,_,"line");else if(!_.alwaysWrap&&T.length===1&&T[0].type==="element")a(T[0],_,"token");else{const x={type:"element",tagName:"span",properties:{},children:T};a(x,_,"wrapper"),v.children.splice(C,T.length,x)}}function l(d,p){i[d]=a(i[d],p,"line")}function a(d,p,h){var E;const _=p.properties||{},v=p.transform||(C=>C);return d.tagName=p.tagName||"span",d.properties={...d.properties,..._,class:d.properties.class},(E=p.properties)!=null&&E.class&&xf(d,p.properties.class),d=v(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 _=p.line+1;_<h.line;_++)c.unshift(()=>l(_,d));s(h.line,0,h.character,d)}}c.forEach(d=>d())}}}const Qy=[Xy()];function So(e){return[...e.transformers||[],...Qy]}function Po(e,t,n,r={meta:{},options:n,codeToHast:(o,i)=>Po(e,o,i),codeToTokens:(o,i)=>xo(e,o,i)}){var d,p;let o=t;for(const h of So(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}=xo(e,o,n);const{mergeWhitespaces:u=!0}=n;u===!0?i=ev(i):u==="never"&&(i=tv(i));const f={...r,get source(){return o}};for(const h of So(n))i=((p=h.tokens)==null?void 0:p.call(f,i))||i;return Zy(i,{...n,fg:s,bg:l,themeName:a,rootStyle:c},f)}function Zy(e,t,n){var d,p,h;const r=So(t),o=[],i={type:"root",children:[]},{structure:s="classic"}=t;let l={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(([_])=>!_.startsWith("_")))},children:[]},a={type:"element",tagName:"code",properties:{},children:o};const c=[],u={...n,structure:s,addClassToHast:xf,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return i},get pre(){return l},get code(){return a},get lines(){return c}};if(e.forEach((_,v)=>{var y,S;v&&(s==="inline"?i.children.push({type:"element",tagName:"br",properties:{},children:[]}):s==="classic"&&o.push({type:"text",value:`
|
|
26
|
+
`}));let E={type:"element",tagName:"span",properties:{class:"line"},children:[]},C=0;for(const T of _){let x={type:"element",tagName:"span",properties:{},children:[{type:"text",value:T.content}]};const A=T.htmlStyle||Pf(Sf(T));A&&(x.properties.style=A);for(const V of r)x=((y=V==null?void 0:V.span)==null?void 0:y.call(u,x,v+1,C,E))||x;s==="inline"?i.children.push(x):s==="classic"&&E.children.push(x),C+=T.content.length}if(s==="classic"){for(const T of r)E=((S=T==null?void 0:T.line)==null?void 0:S.call(u,E,v+1))||E;c.push(E),o.push(E)}}),s==="classic"){for(const _ of r)a=((d=_==null?void 0:_.code)==null?void 0:d.call(u,a))||a;l.children.push(a);for(const _ of r)l=((p=_==null?void 0:_.pre)==null?void 0:p.call(u,l))||l;i.children.push(l)}let f=i;for(const _ of r)f=((h=_==null?void 0:_.root)==null?void 0:h.call(u,f))||f;return f}function ev(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((i,s)=>{const a=!(i.fontStyle&&i.fontStyle&rt.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 tv(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 nv=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class vr{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}vr.prototype.property={};vr.prototype.normal={};vr.prototype.space=null;function Rf(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 vr(n,r,t)}function os(e){return e.toLowerCase()}class et{constructor(t,n){this.property=t,this.attribute=n}}et.prototype.space=null;et.prototype.boolean=!1;et.prototype.booleanish=!1;et.prototype.overloadedBoolean=!1;et.prototype.number=!1;et.prototype.commaSeparated=!1;et.prototype.spaceSeparated=!1;et.prototype.commaOrSpaceSeparated=!1;et.prototype.mustUseProperty=!1;et.prototype.defined=!1;let rv=0;const te=pn(),Ee=pn(),Of=pn(),I=pn(),he=pn(),Rn=pn(),qe=pn();function pn(){return 2**++rv}var is=Object.freeze({__proto__:null,boolean:te,booleanish:Ee,commaOrSpaceSeparated:qe,commaSeparated:Rn,number:I,overloadedBoolean:Of,spaceSeparated:he});const bi=Object.keys(is);class Ks extends et{constructor(t,n,r,o){let i=-1;if(super(t,n),Aa(this,"space",o),typeof r=="number")for(;++i<bi.length;){const s=bi[i];Aa(this,bi[i],(r&is[s])===is[s])}}}Ks.prototype.defined=!0;function Aa(e,t,n){n&&(e[t]=n)}const ov={}.hasOwnProperty;function Bn(e){const t={},n={};let r;for(r in e.properties)if(ov.call(e.properties,r)){const o=e.properties[r],i=new Ks(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[os(r)]=r,n[os(i.attribute)]=r}return new vr(t,n,e.space)}const Lf=Bn({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}}),kf=Bn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function If(e,t){return t in e?e[t]:t}function Nf(e,t){return If(e,t.toLowerCase())}const Df=Bn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Nf,properties:{xmlns:null,xmlnsXLink:null}}),$f=Bn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Ee,ariaAutoComplete:null,ariaBusy:Ee,ariaChecked:Ee,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:he,ariaCurrent:null,ariaDescribedBy:he,ariaDetails:null,ariaDisabled:Ee,ariaDropEffect:he,ariaErrorMessage:null,ariaExpanded:Ee,ariaFlowTo:he,ariaGrabbed:Ee,ariaHasPopup:null,ariaHidden:Ee,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:he,ariaLevel:I,ariaLive:null,ariaModal:Ee,ariaMultiLine:Ee,ariaMultiSelectable:Ee,ariaOrientation:null,ariaOwns:he,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:Ee,ariaReadOnly:Ee,ariaRelevant:null,ariaRequired:Ee,ariaRoleDescription:he,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:Ee,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null}}),iv=Bn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Nf,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Rn,acceptCharset:he,accessKey:he,action:null,allow:null,allowFullScreen:te,allowPaymentRequest:te,allowUserMedia:te,alt:null,as:null,async:te,autoCapitalize:null,autoComplete:he,autoFocus:te,autoPlay:te,blocking:he,capture:null,charSet:null,checked:te,cite:null,className:he,cols:I,colSpan:null,content:null,contentEditable:Ee,controls:te,controlsList:he,coords:I|Rn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:te,defer:te,dir:null,dirName:null,disabled:te,download:Of,draggable:Ee,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:te,formTarget:null,headers:he,height:I,hidden:te,high:I,href:null,hrefLang:null,htmlFor:he,httpEquiv:he,id:null,imageSizes:null,imageSrcSet:null,inert:te,inputMode:null,integrity:null,is:null,isMap:te,itemId:null,itemProp:he,itemRef:he,itemScope:te,itemType:he,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:te,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:te,muted:te,name:null,nonce:null,noModule:te,noValidate:te,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:te,optimum:I,pattern:null,ping:he,placeholder:null,playsInline:te,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:te,referrerPolicy:null,rel:he,required:te,reversed:te,rows:I,rowSpan:I,sandbox:he,scope:null,scoped:te,seamless:te,selected:te,shadowRootDelegatesFocus:te,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:Ee,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:te,useMap:null,value:Ee,width:I,wrap:null,align:null,aLink:null,archive:he,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:te,declare:te,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:te,noHref:te,noShade:te,noWrap:te,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:Ee,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:te,disableRemotePlayback:te,prefix:null,property:null,results:I,security:null,unselectable:null}}),sv=Bn({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:If,properties:{about:qe,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:he,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:te,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:Rn,g2:Rn,glyphName:Rn,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:qe,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:he,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:qe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:qe,rev:qe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:qe,requiredFeatures:qe,requiredFonts:qe,requiredFormats:qe,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:qe,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:qe,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:qe,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}}),lv=/^data[-\w.:]+$/i,Ra=/-[a-z]/g,av=/[A-Z]/g;function cv(e,t){const n=os(t);let r=t,o=et;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&lv.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Ra,fv);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Ra.test(i)){let s=i.replace(av,uv);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}o=Ks}return new o(r,t)}function uv(e){return"-"+e.toLowerCase()}function fv(e){return e.charAt(1).toUpperCase()}const dv=Rf([kf,Lf,Df,$f,iv],"html"),Mf=Rf([kf,Lf,Df,$f,sv],"svg"),Oa={}.hasOwnProperty;function pv(e,t){const n=t||{};function r(o,...i){let s=r.invalid;const l=r.handlers;if(o&&Oa.call(o,e)){const a=String(o[e]);s=Oa.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 hv(e,t){if(e=e.replace(t.subset?mv(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 mv(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function _v(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function gv(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const yv=["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"],wi={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:"€"},vv=["cent","copy","divide","gt","lt","not","para","times"],Vf={}.hasOwnProperty,ss={};let Dr;for(Dr in wi)Vf.call(wi,Dr)&&(ss[wi[Dr]]=Dr);function bv(e,t,n,r){const o=String.fromCharCode(e);if(Vf.call(ss,o)){const i=ss[o],s="&"+i;return n&&yv.includes(i)&&!vv.includes(i)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?s:s+";"}return""}function wv(e,t,n){let r=_v(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=bv(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const i=gv(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function On(e,t){return hv(e,Object.assign({format:wv},t))}const Ev=/^>|^->|<!--|-->|--!>|<!-$/g,Tv=[">"],Cv=["<",">"];function xv(e,t,n,r){return r.settings.bogusComments?"<?"+On(e.value,Object.assign({},r.settings.characterReferences,{subset:Tv}))+">":"<!--"+e.value.replace(Ev,o)+"-->";function o(i){return On(i,Object.assign({},r.settings.characterReferences,{subset:Cv}))}}function Sv(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function La(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 Pv(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function Av(e){return e.join(" ").trim()}const Rv=/[ \t\n\f\r]/g;function Js(e){return typeof e=="object"?e.type==="text"?ka(e.value):!1:ka(e)}function ka(e){return e.replace(Rv,"")===""}const Se=Bf(1),Hf=Bf(-1),Ov=[];function Bf(e){return t;function t(n,r,o){const i=n?n.children:Ov;let s=(r||0)+e,l=i[s];if(!o)for(;l&&Js(l);)s+=e,l=i[s];return l}}const Lv={}.hasOwnProperty;function jf(e){return t;function t(n,r,o){return Lv.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const Ys=jf({body:Iv,caption:Ei,colgroup:Ei,dd:Mv,dt:$v,head:Ei,html:kv,li:Dv,optgroup:Vv,option:Hv,p:Nv,rp:Ia,rt:Ia,tbody:jv,td:Na,tfoot:Fv,th:Na,thead:Bv,tr:Uv});function Ei(e,t,n){const r=Se(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Js(r.value.charAt(0)))}function kv(e,t,n){const r=Se(n,t);return!r||r.type!=="comment"}function Iv(e,t,n){const r=Se(n,t);return!r||r.type!=="comment"}function Nv(e,t,n){const r=Se(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 Dv(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&r.tagName==="li"}function $v(e,t,n){const r=Se(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function Mv(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Ia(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Vv(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function Hv(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Bv(e,t,n){const r=Se(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function jv(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Fv(e,t,n){return!Se(n,t)}function Uv(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Na(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const Gv=jf({body:qv,colgroup:Kv,head:zv,html:Wv,tbody:Jv});function Wv(e){const t=Se(e,-1);return!t||t.type!=="comment"}function zv(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 qv(e){const t=Se(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Js(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Kv(e,t,n){const r=Hf(n,t),o=Se(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Ys(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function Jv(e,t,n){const r=Hf(n,t),o=Se(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Ys(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const $r={name:[[`
|
|
27
|
+
\f\r &/=>`.split(""),`
|
|
28
|
+
\f\r "&'/=>\``.split("")],[`\0
|
|
29
|
+
\f\r "&'/<=>`.split(""),`\0
|
|
30
|
+
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
|
31
|
+
\f\r &>`.split(""),`\0
|
|
32
|
+
\f\r "&'<=>\``.split("")],[`\0
|
|
33
|
+
\f\r "&'<=>\``.split(""),`\0
|
|
34
|
+
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Yv(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=Mf);const c=Xv(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(s=!1),(c||!i||!Gv(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||!Ys(e,t,n))&&l.push("</"+e.tagName+">"),l.join("")}function Xv(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const i=Qv(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 Qv(e,t,n){const r=cv(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=On(r.attribute,Object.assign({},e.settings.characterReferences,{subset:$r.name[o][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Pv:Av)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?a:(e.settings.preferUnquoted&&(l=On(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:$r.unquoted[o][i]}))),l!==n&&(e.settings.quoteSmart&&La(n,s)>La(n,e.alternative)&&(s=e.alternative),l=s+On(n,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?$r.single:$r.double)[o][i],attribute:!0}))+s),a+(l&&"="+l))}const Zv=["<","&"];function Ff(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:On(e.value,Object.assign({},r.settings.characterReferences,{subset:Zv}))}function eb(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Ff(e,t,n,r)}function tb(e,t,n,r){return r.all(e)}const nb=pv("type",{invalid:rb,unknown:ob,handlers:{comment:xv,doctype:Sv,element:Yv,raw:eb,root:tb,text:Ff}});function rb(e){throw new Error("Expected node, not `"+e+"`")}function ob(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const ib={},sb={},lb=[];function ab(e,t){const n=t||ib,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:cb,all:ub,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||nv,characterReferences:n.characterReferences||sb,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Mf:dv,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function cb(e,t,n){return nb(e,t,n,this)}function ub(e){const t=[],n=e&&e.children||lb;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function fb(e,t,n){var i;const r={meta:{},options:n,codeToHast:(s,l)=>Po(e,s,l),codeToTokens:(s,l)=>xo(e,s,l)};let o=ab(Po(e,t,n,r));for(const s of So(n))o=((i=s.postprocess)==null?void 0:i.call(r,o,n))||o;return o}async function db(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 _=(v,E)=>v+(E-v%E)%E;for(let v=1;v<=4;v*=2){let E=p*(1+.2/v);E=Math.min(E,d+100663296);const C=Math.min(h,_(Math.max(d,E),65536));if(a(C))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 Re=null,pb=!1;function hb(e){throw new Ie(e.UTF8ToString(e.getLastOnigError()))}class Xo{constructor(t){b(this,"utf16Length");b(this,"utf8Length");b(this,"utf16Value");b(this,"utf8Value");b(this,"utf16OffsetToUtf8");b(this,"utf8OffsetToUtf16");const n=t.length,r=Xo._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 Be=class Be{constructor(t){b(this,"id",++Be.LAST_ID);b(this,"_onigBinding");b(this,"content");b(this,"utf16Length");b(this,"utf8Length");b(this,"utf16OffsetToUtf8");b(this,"utf8OffsetToUtf16");b(this,"ptr");if(!Re)throw new Ie("Must invoke loadWasm first.");this._onigBinding=Re,this.content=t;const n=new Xo(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Be._sharedPtrInUse?(Be._sharedPtr||(Be._sharedPtr=Re.omalloc(1e4)),Be._sharedPtrInUse=!0,Re.HEAPU8.set(n.utf8Value,Be._sharedPtr),this.ptr=Be._sharedPtr):this.ptr=n.createString(Re)}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===Be._sharedPtr?Be._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};b(Be,"LAST_ID",0),b(Be,"_sharedPtr",0),b(Be,"_sharedPtrInUse",!1);let Ao=Be;class mb{constructor(t){b(this,"_onigBinding");b(this,"_ptr");if(!Re)throw new Ie("Must invoke loadWasm first.");const n=[],r=[];for(let l=0,a=t.length;l<a;l++){const c=new Xo(t[l]);n[l]=c.createString(Re),r[l]=c.utf8Length}const o=Re.omalloc(4*t.length);Re.HEAPU32.set(n,o/4);const i=Re.omalloc(4*t.length);Re.HEAPU32.set(r,i/4);const s=Re.createOnigScanner(o,i,t.length);for(let l=0,a=t.length;l<a;l++)Re.ofree(n[l]);Re.ofree(i),Re.ofree(o),s===0&&hb(Re),this._onigBinding=Re,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=pb,i=0;if(typeof r=="number"?(r&8&&(o=!0),i=r):typeof r=="boolean"&&(o=r),typeof t=="string"){t=new Ao(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 _b(e){return typeof e.instantiator=="function"}function gb(e){return typeof e.default=="function"}function yb(e){return typeof e.data<"u"}function vb(e){return typeof Response<"u"&&e instanceof Response}function bb(e){var t;return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&((t=Buffer.isBuffer)==null?void 0:t.call(Buffer,e))||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let Mr;function wb(e){if(Mr)return Mr;async function t(){Re=await db(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),_b(r)?r=await r.instantiator(n):gb(r)?r=await r.default(n):(yb(r)&&(r=r.data),vb(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await Eb(r)(n):r=await Tb(r)(n):bb(r)?r=await Ti(r)(n):r instanceof WebAssembly.Module?r=await Ti(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await Ti(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Mr=t(),Mr}function Ti(e){return t=>WebAssembly.instantiate(e,t)}function Eb(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Tb(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function Cb(e){return new Ao(e)}function xb(e){return new mb(e)}const Da={light:"#333333",dark:"#bbbbbb"},$a={light:"#fffffe",dark:"#1e1e1e"},Ma="__shiki_resolved";function Uf(e){var l,a,c,u,f;if(e!=null&&e[Ma])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"?Da.light:Da.dark),n||(n=t.type==="light"?$a.light:$a.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 v,E;const p=((v=d.settings)==null?void 0:v.foreground)&&!d.settings.foreground.startsWith("#"),h=((E=d.settings)==null?void 0:E.background)&&!d.settings.background.startsWith("#");if(!p&&!h)return d;const _={...d,settings:{...d.settings}};if(p){const C=s(d.settings.foreground);t.colorReplacements[C]=d.settings.foreground,_.settings.foreground=C}if(h){const C=s(d.settings.background);t.colorReplacements[C]=d.settings.background,_.settings.background=C}return _});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,Ma,{enumerable:!1,writable:!1,value:!0}),t}class Sb extends Iy{constructor(n,r,o,i={}){super(n);b(this,"_resolver");b(this,"_themes");b(this,"_langs");b(this,"_alias");b(this,"_resolvedThemes",{});b(this,"_resolvedGrammars",{});b(this,"_langMap",{});b(this,"_langGraph",new Map);b(this,"_textmateThemeCache",new WeakMap);b(this,"_loadedThemesCache",null);b(this,"_loadedLanguagesCache",null);this._resolver=n,this._themes=r,this._langs=o,this._alias=i,r.forEach(s=>this.loadTheme(s)),o.forEach(s=>this.loadLanguage(s))}getTheme(n){return typeof n=="string"?this._resolvedThemes[n]:this.loadTheme(n)}loadTheme(n){const r=Uf(n);return r.name&&(this._resolvedThemes[r.name]=r,this._loadedThemesCache=null),r}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=Object.keys(this._resolvedThemes)),this._loadedThemesCache}setTheme(n){let r=this._textmateThemeCache.get(n);r||(r=Eo.createFromRawTheme(n),this._textmateThemeCache.set(n,r)),this._syncRegistry.setTheme(r)}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 Ie(`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}),this._loadedLanguagesCache=null,r.size)for(const u of r)delete this._resolvedGrammars[u.name],this._loadedLanguagesCache=null,(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 Ie(`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 this._loadedLanguagesCache||(this._loadedLanguagesCache=Object.keys({...this._resolvedGrammars,...this._alias})),this._loadedLanguagesCache}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 Pb{constructor(t,n){b(this,"_langs",new Map);b(this,"_scopeToLang",new Map);b(this,"_injections",new Map);b(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 Ab;async function Rb(e={}){async function t(v){return Promise.resolve(typeof v=="function"?v():v).then(E=>E.default||E)}async function n(v){return Array.from(new Set((await Promise.all(v.filter(E=>!Ef(E)).map(async E=>await t(E).then(C=>Array.isArray(C)?C:[C])))).flat()))}const r=e.loadWasm||Ab,[o,i]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(v=>v.map(Uf)),n(e.langs||[]),r?wb(r):void 0]),s=new Pb(Promise.resolve({createOnigScanner(v){return xb(v)},createOnigString(v){return Cb(v)}}),i),l=new Sb(s,o,i,e.langAlias);await l.init();let a;function c(v){const E=l.getGrammar(typeof v=="string"?v:v.name);if(!E)throw new Ie(`Language \`${v}\` not found, you may need to load it first`);return E}function u(v){if(v==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const E=l.getTheme(v);if(!E)throw new Ie(`Theme \`${v}\` not found, you may need to load it first`);return E}function f(v){const E=u(v);a!==v&&(l.setTheme(E),a=v);const C=l.getColorMap();return{theme:E,colorMap:C}}function d(){return l.getLoadedThemes()}function p(){return l.getLoadedLanguages()}async function h(...v){await l.loadLanguages(await n(v))}async function _(...v){await Promise.all(v.map(async E=>Cf(E)?null:l.loadTheme(await t(E))))}return{setTheme:f,getTheme:u,getLanguage:c,getLoadedThemes:d,getLoadedLanguages:p,loadLanguage:h,loadTheme:_}}async function Ob(e={}){const t=await Rb(e);return{codeToTokensBase:(n,r)=>qs(t,n,r),codeToTokensWithThemes:(n,r)=>Af(t,n,r),codeToTokens:(n,r)=>xo(t,n,r),codeToHast:(n,r)=>Po(t,n,r),codeToHtml:(n,r)=>fb(t,n,r),...t,getInternalContext:()=>t}}function Lb(e,t,n){async function r(o){function i(u){if(typeof u=="string"){if(Ef(u))return[];const f=e[u];if(!f)throw new Ie(`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(Cf(u))return"none";if(typeof u=="string"){const f=t[u];if(!f)throw new Ie(`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 Ob({...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 kb=Lb(q0,Y0,K0);let Ib;const Fn=[];function Nb(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 Ib.value},configurable:!0}),()=>{Fn.splice(Fn.indexOf(e),1)}}const Ve=ve(null);async function Gf(){ls.value&&(Ve.value=await ls.value("/__sitemap__/debug.json"))}const ls=ve(),Wf=ve(),zf=ve();Nb(async e=>{ls.value=e.host.app.$fetch,xc(()=>{zf.value=e.host.app.colorMode.value}),Wf.value=e.devtools,Gf()});const qf=ve();function Db(){return kb({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{qf.value=e})}function Kf(e,t){return Ue(()=>{var r;const n=((r=Wf.value)==null?void 0:r.colorMode)||"light";return qf.value.codeToHtml(Fd(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const $b=["innerHTML"],Jf=We({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!1},transformRendered:{}},setup(e){const t=e,n=Ue(()=>{const r=Kf(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,o)=>(j(),Z("pre",{class:Te(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,$b))}}),Mb={flex:"~ gap-3","items-center":""},Vb=We({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(j(),Z("div",Mb,[t.icon?(j(),Z("div",{key:0,class:Te(t.icon)},null,2)):ke("",!0),Fe(t.$slots,"default",{},()=>[N("div",null,De(t.text),1)])]))}});function Hb(e){return Ya()?(vd(e),!0):!1}function Xs(e){return typeof e=="function"?e():ne(e)}const Bb=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const jb=e=>typeof e<"u",Fb=Object.prototype.toString,Ub=e=>Fb.call(e)==="[object Object]",Gb=()=>{};function Wb(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const Yf=e=>e();function zb(e=Yf){const t=ve(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...i)=>{t.value&&e(...i)};return{isActive:ys(t),pause:n,resume:r,eventFilter:o}}function qb(e){return e||Mn()}function Kb(e,t,n={}){const{eventFilter:r=Yf,...o}=n;return dt(e,Wb(r,t),o)}function Jb(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:i,pause:s,resume:l,isActive:a}=zb(r);return{stop:Kb(e,t,{...o,eventFilter:i}),pause:s,resume:l,isActive:a}}function Yb(e,t=!0,n){qb()?Vo(e,n):t?e():fn(e)}function Xb(e){var t;const n=Xs(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Ro=Bb?window:void 0;function Va(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Ro):[t,n,r,o]=e,!t)return Gb;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},l=(u,f,d,p)=>(u.addEventListener(f,d,p),()=>u.removeEventListener(f,d,p)),a=dt(()=>[Xb(t),Xs(o)],([u,f])=>{if(s(),!u)return;const d=Ub(f)?{...f}:f;i.push(...n.flatMap(p=>r.map(h=>l(u,p,h,d))))},{immediate:!0,flush:"post"}),c=()=>{a(),s()};return Hb(c),c}function Qb(e){return JSON.parse(JSON.stringify(e))}const Vr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Hr="__vueuse_ssr_handlers__",Zb=e1();function e1(){return Hr in Vr||(Vr[Hr]=Vr[Hr]||{}),Vr[Hr]}function t1(e,t){return Zb[e]||t}function n1(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const r1={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ha="vueuse-storage";function o1(e,t,n,r={}){var o;const{flush:i="pre",deep:s=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:u,window:f=Ro,eventFilter:d,onError:p=O=>{console.error(O)},initOnMounted:h}=r,_=(u?Pi:ve)(typeof t=="function"?t():t);if(!n)try{n=t1("getDefaultStorage",()=>{var O;return(O=Ro)==null?void 0:O.localStorage})()}catch(O){p(O)}if(!n)return _;const v=Xs(t),E=n1(v),C=(o=r.serializer)!=null?o:r1[E],{pause:y,resume:S}=Jb(_,()=>x(_.value),{flush:i,deep:s,eventFilter:d});f&&l&&Yb(()=>{Va(f,"storage",V),Va(f,Ha,B),h&&V()}),h||V();function T(O,G){f&&f.dispatchEvent(new CustomEvent(Ha,{detail:{key:e,oldValue:O,newValue:G,storageArea:n}}))}function x(O){try{const G=n.getItem(e);if(O==null)T(G,null),n.removeItem(e);else{const z=C.write(O);G!==z&&(n.setItem(e,z),T(G,z))}}catch(G){p(G)}}function A(O){const G=O?O.newValue:n.getItem(e);if(G==null)return a&&v!=null&&n.setItem(e,C.write(v)),v;if(!O&&c){const z=C.read(G);return typeof c=="function"?c(z,v):E==="object"&&!Array.isArray(z)?{...v,...z}:z}else return typeof G!="string"?G:C.read(G)}function V(O){if(!(O&&O.storageArea!==n)){if(O&&O.key==null){_.value=v;return}if(!(O&&O.key!==e)){y();try{(O==null?void 0:O.newValue)!==C.write(_.value)&&(_.value=A(O))}catch(G){p(G)}finally{O?fn(S):S()}}}}function B(O){V(O.detail)}return _}function i1(e,t,n={}){const{window:r=Ro}=n;return o1(e,t,r==null?void 0:r.localStorage,n)}function s1(e,t,n,r={}){var o,i,s;const{clone:l=!1,passive:a=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,p=Mn(),h=n||(p==null?void 0:p.emit)||((o=p==null?void 0:p.$emit)==null?void 0:o.bind(p))||((s=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(p==null?void 0:p.proxy));let _=c;t||(t="modelValue"),_=_||`update:${t.toString()}`;const v=y=>l?typeof l=="function"?l(y):Qb(y):y,E=()=>jb(e[t])?v(e[t]):f,C=y=>{d?d(y)&&h(_,y):h(_,y)};if(a){const y=E(),S=ve(y);let T=!1;return dt(()=>e[t],x=>{T||(T=!0,S.value=v(x),fn(()=>T=!1))}),dt(S,x=>{!T&&(x!==e[t]||u)&&C(x)},{deep:u}),S}else return Ue({get(){return E()},set(y){C(y)}})}const Xf=e=>(bc("data-v-348c1d92"),e=e(),wc(),e),l1=["open"],a1={"text-base":""},c1={key:0,"text-sm":"",op50:""},u1=Xf(()=>N("div",{class:"flex-auto"},null,-1)),f1=Xf(()=>N("div",{class:"x-divider"},null,-1)),d1=We({__name:"OSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(e){const n=s1(e,"open");function r(o){n.value=o.target.open}return(o,i)=>{const s=Ws,l=Vb;return j(),Z(ge,null,[N("details",{open:ne(n),onToggle:r},[N("summary",{class:Te(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",o.collapse?"":"pointer-events-none"])},[W(l,{icon:o.icon,text:o.text,"text-xl":"",transition:"",class:Te([ne(n)?"op100":"op60",o.headerClass])},{default:re(()=>[N("div",null,[N("div",a1,[Fe(o.$slots,"text",{},()=>[se(De(o.text),1)],!0)]),o.description||o.$slots.description?(j(),Z("div",c1,[Fe(o.$slots,"description",{},()=>[se(De(o.description),1)],!0)])):ke("",!0)]),u1,Fe(o.$slots,"actions",{},void 0,!0),o.collapse?(j(),ye(s,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):ke("",!0)]),_:3},8,["icon","text","class"])],2),N("div",{class:Te(["flex flex-col flex-gap2 pb6 pt2",typeof o.padding=="string"?o.padding:o.padding?"px4":""])},[Fe(o.$slots,"details",{},void 0,!0),N("div",{class:Te([o.containerClass,"mt1"])},[Fe(o.$slots,"default",{},void 0,!0)],2),Fe(o.$slots,"footer",{},void 0,!0)],2)],40,l1),f1],64)}}}),Qf=Jo(d1,[["__scopeId","data-v-348c1d92"]]),p1={class:"flex space-x-5"},h1={class:"opacity-80 text-base mb-1 flex space-x-3 items-center"},m1={key:0,class:"flex space-x-2"},_1={key:0,class:"opacity-60 text-sm"},g1={class:"flex items-center space-x-3"},y1={key:0},v1={key:1,class:"text-xs mt-1 opacity-70"},b1={key:0},w1={key:2,class:"px-3 py-3 mt-2 dark:bg-gray-900/50 bg-gray-50/50 opacity-70"},E1=N("h3",{class:"text-sm font-bold mb-1"}," Hints ",-1),T1={class:"list-disc ml-5"},C1=["innerHTML"],x1=We({__name:"Source",props:{source:{},showContext:{type:Boolean}},setup(e){const t=e,n=Ue(()=>{var i;const o=typeof t.source.fetch=="string"?t.source.fetch:t.source.fetch[0];return o.includes("http")?o:Vn(((i=Ve.value)==null?void 0:i.nitroOrigin)||"localhost",o)});function r(o){return o.replace(/`([^`]+)`/g,"<code>$1</code>")}return(o,i)=>{const s=Ws,l=of,a=lf,c=Jf,u=Qf;return j(),ye(u,null,{text:re(()=>[N("div",p1,[N("h3",h1,[o.source.fetch?(j(),Z("div",m1,[W(s,{icon:"carbon:api-1",class:"opacity-50 text-lg"}),o.source.timeTakenMs?(j(),Z("div",_1,De(o.source.timeTakenMs)+"ms ",1)):ke("",!0)])):ke("",!0),N("div",null,De(o.source.context.name),1),N("div",null,[W(l,null,{default:re(()=>{var f;return[se(De(((f=o.source.urls)==null?void 0:f.length)||0),1)]}),_:1})])])])]),description:re(()=>[N("div",g1,[o.source.fetch?(j(),Z("div",y1,[W(a,{href:ne(n),target:"_blank"},{default:re(()=>[se(De(o.source.fetch),1)]),_:1},8,["href"])])):ke("",!0),o.source.context.description?(j(),Z("div",v1,De(o.source.context.description),1)):ke("",!0)])]),default:re(()=>{var f;return[o.source.error?(j(),Z("div",b1,[W(s,{icon:"carbon:warning",class:"text-red-500"}),se(" "+De(o.source.error),1)])):(j(),ye(c,{key:1,class:"max-h-[250px] overflow-y-auto",code:JSON.stringify(o.source.urls,null,2),lang:"json"},null,8,["code"])),(f=o.source.context.tips)!=null&&f.length?(j(),Z("div",w1,[E1,N("ul",T1,[(j(!0),Z(ge,null,_n(o.source.context.tips,(d,p)=>(j(),Z("li",{key:p,class:"text-sm opacity-80 mb-1",innerHTML:r(d)},null,8,C1))),128))])])):ke("",!0)]}),_:1})}}}),S1={class:"relative n-bg-base flex flex-col"},P1={class:"sticky top-0 z-2 px-4 pt-4"},A1={class:"flex justify-between items-start",mb2:""},R1={class:"flex space-x-5"},O1={"text-xl":"",flex:"","items-center":"","gap-2":""},L1={class:"flex items-center space-x-3 text-xl"},k1={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},I1={class:"px-5 py-2"},N1={"text-lg":"",flex:"","items-center":""},D1={class:"px-5 py-2"},$1={"text-lg":"",flex:"","items-center":""},M1={class:"px-5 py-2"},V1={"text-lg":"",flex:"","items-center":""},H1={class:"px-5 py-2"},B1={"text-lg":"",flex:"","items-center":""},j1={class:"px-5 py-2"},F1={"text-lg":"",flex:"","items-center":""},U1=["value","title"],G1={class:"items-center space-x-3 hidden lg:flex"},W1={class:"opacity-80 text-sm"},z1={class:"opacity-80 text-sm"},q1={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},K1={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},J1={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},Y1={key:0,class:"space-y-5"},X1=N("div",null,[N("h2",{class:"text-lg mb-1"}," Sitemaps "),N("p",{"text-xs":"",op60:""}," The sitemaps generated from your site. ")],-1),Q1={class:"opacity-80 text-base mb-1"},Z1={class:"px-3 py-2 space-y-5"},ew={key:0},tw=N("div",{class:"text-sm mb-1 opacity-80"}," This is a special sitemap file that links to your other sitemaps. ",-1),nw={class:"text-sm opacity-70"},rw={key:0,class:"flex space-x-5"},ow=N("div",{class:"w-40"},[N("div",{class:"font-bold text-sm mb-1"}," Sources "),N("div",{class:"opacity-40 text-xs max-w-60"},[se(" Local sources associated with just this sitemap."),N("br"),se("Example: Load in a dynamic list of URLs from an API endpoint. ")])],-1),iw={class:"flex-grow"},sw={class:"flex space-x-5"},lw=N("div",{class:"w-40"},[N("div",{class:"font-bold text-sm mb-1"}," App Sources "),N("div",{class:"opacity-40 text-xs max-w-60"},[se(" Configured with the "),N("code",null,"includeAppSources"),se(" option. ")])],-1),aw={class:"flex-grow flex flex-col justify-center"},cw={key:0,class:"opacity-70"},uw={key:1,class:"opacity-70"},fw={class:"opacity-50 text-xs mt-2"},dw={class:"flex space-x-5"},pw=N("div",{class:"w-40"},[N("div",{class:"font-bold text-sm mb-1"}," Sitemap Options "),N("div",{class:"opacity-40 text-xs max-w-60"}," Extra options used to filter the URLs on the final sitemap and set defaults. ")],-1),hw={class:"n-bg-base/20 flex-grow"},mw={key:1,class:"space-y-5"},_w=N("div",null,[N("h2",{class:"text-lg mb-1"}," App Sources "),N("p",{"text-xs":"",op60:""}," Automatic global sources generated from your application. ")],-1),gw={key:2,class:"space-y-5"},yw=N("div",null,[N("h2",{class:"text-lg mb-1"}," User Sources "),N("p",{"text-xs":"",op60:""}," Manually provided global sources provided by you. ")],-1),vw={key:3,class:"h-full max-h-full overflow-hidden"},bw={class:"opacity-80 text-base mb-1"},ww={class:"px-3 py-2 space-y-5"},Ew=["innerHTML"],Tw={key:4,class:"h-full max-h-full overflow-hidden"},Cw=N("iframe",{src:"https://nuxtseo.com/sitemap",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1),xw=[Cw],Sw=We({__name:"app",async setup(e){let t,n;[t,n]=xp(()=>Db()),await t,n();const r=ve(!1);async function o(){r.value=!0,Ve.value=null,await Gf(),setTimeout(()=>{r.value=!1},300)}const i=i1("@nuxtjs/sitemap:tab","sitemaps");function s(f){return Ve.value?f==="sitemap"||f==="sitemap.xml"?`${Ve.value.nitroOrigin}sitemap.xml`:f==="index"?`${Ve.value.nitroOrigin}sitemap_index.xml`:`${Ve.value.nitroOrigin}${f}-sitemap.xml`:""}function l(f){const d={};return Object.entries(f).forEach(([p,h])=>{h!==void 0&&(!Array.isArray(h)||h.length>0)&&p!=="includeAppSources"&&(d[p]=h)}),d}F_({htmlAttrs:{class:()=>zf.value||""}});const a=Ue(()=>{var f,d;return((d=(f=Ve.value)==null?void 0:f.runtimeConfig)==null?void 0:d.excludeAppSources)||[]}),c=Ue(()=>{var f;return(((f=Ve.value)==null?void 0:f.globalSources)||[]).filter(d=>d.sourceType==="app")}),u=Ue(()=>{var f;return(((f=Ve.value)==null?void 0:f.globalSources)||[]).filter(d=>d.sourceType==="user")});return(f,d)=>{var x;const p=Ws,h=of,_=on("VTooltip"),v=lf,E=V0,C=G0,y=x1,S=Jf,T=Qf;return j(),Z("div",S1,[N("header",P1,[N("div",A1,[N("div",R1,[N("h1",O1,[W(p,{icon:"carbon:load-balancer-application",class:"text-blue-300"}),se(" Sitemap "),W(h,{class:"text-sm"},{default:re(()=>{var A,V;return[se(De((V=(A=ne(Ve))==null?void 0:A.runtimeConfig)==null?void 0:V.version),1)]}),_:1})])]),N("div",L1,[N("fieldset",k1,[(j(),Z(ge,null,_n(["sitemaps","user-sources","app-sources","debug","docs"],(A,V)=>N("label",{key:V,class:Te(["relative n-border-base hover:n-bg-active cursor-pointer",[V?"border-l n-border-base ml--1px":"",A===ne(i)?"n-bg-active":""]])},[A==="sitemaps"?(j(),Z("div",{key:0,class:Te([A===ne(i)?"":"op35"])},[W(_,null,{popper:re(()=>[se(" Sitemaps ")]),default:re(()=>[N("div",I1,[N("h2",N1,[W(p,{icon:"carbon:load-balancer-application opacity-50"}),W(h,{class:"text-sm"},{default:re(()=>{var B;return[se(De(Object.keys(((B=ne(Ve))==null?void 0:B.sitemaps)||{}).length||0),1)]}),_:1})])])]),_:1})],2)):ke("",!0),A==="user-sources"?(j(),Z("div",{key:1,class:Te([A===ne(i)?"":"op35"])},[W(_,null,{popper:re(()=>[se(" User Sources ")]),default:re(()=>[N("div",D1,[N("h2",$1,[W(p,{icon:"carbon:group-account opacity-50"}),W(h,{class:"text-sm"},{default:re(()=>[se(De(u.value.length),1)]),_:1})])])]),_:1})],2)):ke("",!0),A==="app-sources"?(j(),Z("div",{key:2,class:Te([A===ne(i)?"":"op35"])},[W(_,null,{popper:re(()=>[se(" App Sources ")]),default:re(()=>[N("div",M1,[N("h2",V1,[W(p,{icon:"carbon:bot opacity-50"}),W(h,{class:"text-sm"},{default:re(()=>[se(De(c.value.length),1)]),_:1})])])]),_:1})],2)):A==="debug"?(j(),Z("div",{key:3,class:Te([A===ne(i)?"":"op35"])},[W(_,null,{popper:re(()=>[se(" Debug ")]),default:re(()=>[N("div",H1,[N("h2",B1,[W(p,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):A==="docs"?(j(),Z("div",{key:4,class:Te([A===ne(i)?"":"op35"])},[W(_,null,{popper:re(()=>[se(" Documentation ")]),default:re(()=>[N("div",j1,[N("h2",F1,[W(p,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):ke("",!0),_p(N("input",{"onUpdate:modelValue":d[0]||(d[0]=B=>Oe(i)?i.value=B:null),type:"radio",value:A,title:A,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,U1),[[Eh,ne(i)]])],2)),64))]),W(_,null,{popper:re(()=>[se(" Refresh ")]),default:re(()=>[N("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:o},[W(p,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1})]),N("div",G1,[N("div",W1,[W(v,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:re(()=>[W(p,{icon:"carbon:favorite",class:"mr-[2px]"}),se(" Sponsor ")]),_:1})]),N("div",z1,[W(v,{href:"https://github.com/nuxt-modules/sitemap",target:"_blank"},{default:re(()=>[W(p,{icon:"logos:github-icon",class:"mr-[2px]"}),se(" Submit an issue ")]),_:1})]),N("a",q1,[W(E)])])])]),N("div",K1,[N("main",J1,[!((x=ne(Ve))!=null&&x.globalSources)||r.value?(j(),ye(C,{key:0})):(j(),Z(ge,{key:1},[ne(i)==="sitemaps"?(j(),Z("div",Y1,[X1,(j(!0),Z(ge,null,_n(ne(Ve).sitemaps,(A,V)=>(j(),ye(T,{key:V},{text:re(()=>[N("h3",Q1,[se(De(A.sitemapName)+" ",1),(A.sources||[]).some(B=>!!B.error)?(j(),ye(p,{key:0,icon:"carbon:warning",class:"text-red-500"})):ke("",!0)])]),description:re(()=>[W(v,{target:"_blank",href:s(A.sitemapName)},{default:re(()=>[se(De(s(A.sitemapName)),1)]),_:2},1032,["href"])]),default:re(()=>[N("div",Z1,[A.sitemapName==="index"?(j(),Z("div",ew,[tw,N("div",nw,[se(" You can learn about this on the "),W(v,{underline:"",target:"_blank",href:"https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps"},{default:re(()=>[se(" Google Search Central ")]),_:1}),se(". ")])])):(j(),Z(ge,{key:1},[A.sources&&A.sources.length?(j(),Z("div",rw,[ow,N("div",iw,[(j(!0),Z(ge,null,_n(A.sources,(B,O)=>(j(),ye(y,{key:O,source:B},null,8,["source"]))),128))])])):ke("",!0),N("div",sw,[lw,N("div",aw,[A.includeAppSources&&a.value!==!0?(j(),Z("div",cw,[W(p,{icon:"carbon:checkmark",class:"text-green-500 text-lg"}),se(" Enabled ")])):(j(),Z("div",uw,[W(p,{icon:"carbon:close",class:"text-red-500 text-lg"}),se(" Disabled ")])),N("div",fw,[se(" Switch to "),W(v,{underline:"",class:"cursor-pointer",onClick:d[1]||(d[1]=B=>i.value="app-sources")},{default:re(()=>[se(" App sources ")]),_:1}),se(" to learn more. ")])])]),N("div",dw,[pw,N("div",hw,[W(S,{class:"max-h-[350px] min-h-full overflow-y-auto",code:JSON.stringify(l(A),null,2),lang:"json"},null,8,["code"])])])],64))])]),_:2},1024))),128))])):ne(i)==="app-sources"?(j(),Z("div",mw,[_w,(j(!0),Z(ge,null,_n(c.value,(A,V)=>(j(),ye(y,{key:V,source:A},null,8,["source"]))),128))])):ne(i)==="user-sources"?(j(),Z("div",gw,[yw,(j(!0),Z(ge,null,_n(u.value,(A,V)=>(j(),ye(y,{key:V,source:A},null,8,["source"]))),128))])):ne(i)==="debug"?(j(),Z("div",vw,[W(T,null,{text:re(()=>[N("h3",bw,[W(p,{icon:"carbon:settings",class:"mr-1"}),se(" Runtime Config ")])]),default:re(()=>{var A;return[N("div",ww,[N("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:ne(Kf)(JSON.stringify((A=ne(Ve))==null?void 0:A.runtimeConfig,null,2),"json").value},null,8,Ew)])]}),_:1})])):ne(i)==="docs"?(j(),Z("div",Tw,xw)):ke("",!0)],64))])])])}}}),Pw={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
|
|
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?to(()=>m(()=>import("./hm-j440x.js"),__vite__mapDeps([119,120]),import.meta.url).then(f=>f.default||f)):to(()=>m(()=>import("./wwwLBkz3.js"),__vite__mapDeps([121,122]),import.meta.url).then(f=>f.default||f));return(f,d)=>(j(),ye(ne(u),za(Os({statusCode:ne(r),statusMessage:ne(i),description:ne(s),stack:ne(l)})),null,16))}},Ba={__name:"nuxt-root",setup(e){const t=()=>null,n=we(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Ut().beforeEach(l)}const o=!1;Nc(vu,bu()),n.hooks.callHookWith(l=>l.map(a=>a()),"vue:setup");const i=$s();Oc((l,a,c)=>{if(n.hooks.callHook("vue:error",l,a,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),Ym(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>Km(l)),!1});const s=!1;return(l,a)=>(j(),ye(sp,{onResolve:ne(r)},{default:re(()=>[ne(i)?(j(),ye(ne(Pw),{key:0,error:ne(i)},null,8,["error"])):ne(s)?(j(),ye(ne(t),{key:1,context:ne(s)},null,8,["context"])):ne(o)?(j(),ye(rp(ne(o)),{key:2})):(j(),ye(ne(Sw),{key:3}))]),_:1},8,["onResolve"]))}};let ja;{let e;ja=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")?Ah(Ba):eu(Ba),o=km({vueApp:r});async function i(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||Ms(a)}r.config.errorHandler=i;try{await Nm(o,T0)}catch(a){i(a)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(q_),await o.hooks.callHook("app:mounted",r),await fn()}catch(a){i(a)}return r.config.errorHandler===i&&(r.config.errorHandler=void 0),r},e=ja().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Rw as A,Jo as _,N as a,W as b,Z as c,se as d,R0 as e,wc as f,We as g,io as h,Ru as i,dt as j,hg as k,Ue as l,xp as m,Te as n,j as o,bc as p,Zt as q,ve as r,ye as s,De as t,F_ as u,ne as v,re as w,rp as x,Fe as y,we as z};
|