@nuxt/scripts 0.4.2 → 0.4.4
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 +14 -13
- package/dist/client/404.html +14 -13
- package/dist/client/_nuxt/Bf6Ng02J.js +31 -0
- package/dist/client/_nuxt/{iP9mcxdl.js → BsZo98M5.js} +1 -1
- package/dist/client/_nuxt/{BJEDUQYt.js → C0cterrC.js} +1 -1
- package/dist/client/_nuxt/{B9E_xdxs.js → CNkYXcD4.js} +1 -1
- package/dist/client/_nuxt/{DsudziMp.js → COIrKlfF.js} +1 -1
- package/dist/client/_nuxt/C_ZPRiAj.js +26 -0
- package/dist/client/_nuxt/{B4ACM-c0.js → DCjyzNN-.js} +1 -1
- package/dist/client/_nuxt/{DKlGn9uv.js → DGEpfOTx.js} +1 -1
- package/dist/client/_nuxt/Dd6f7Z5P.js +1 -0
- package/dist/client/_nuxt/{PGJIGHGk.js → ISosJq17.js} +1 -1
- package/dist/client/_nuxt/MN12aA4C.js +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/3255a134-7caf-4d76-96f4-05475e276415.json +1 -0
- package/dist/client/_nuxt/{BcF9sHHc.js → o8H-iTt6.js} +2 -2
- package/dist/client/_nuxt/xtV5iK4E.js +1 -0
- package/dist/client/index.html +14 -13
- package/dist/module.d.mts +1 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +2 -2
- package/dist/registry.d.mts +4 -4
- package/dist/registry.d.ts +4 -4
- package/dist/runtime/composables/useAnalyticsPageEvent.d.ts +1 -4
- package/dist/runtime/composables/useConsentScriptTrigger.d.ts +1 -1
- package/dist/runtime/composables/useElementScriptTrigger.d.ts +1 -1
- package/dist/runtime/registry/cloudflare-web-analytics.d.ts +1 -16
- package/dist/runtime/registry/{cloudflare-web-analytics.mjs → cloudflare-web-analytics.js} +1 -2
- package/dist/runtime/registry/fathom-analytics.d.ts +1 -28
- package/dist/runtime/registry/{fathom-analytics.mjs → fathom-analytics.js} +1 -1
- package/dist/runtime/registry/google-analytics.d.ts +1 -8
- package/dist/runtime/registry/{google-analytics.mjs → google-analytics.js} +1 -1
- package/dist/runtime/registry/google-maps.d.ts +1 -9
- package/dist/runtime/registry/{google-maps.mjs → google-maps.js} +1 -1
- package/dist/runtime/registry/google-tag-manager.d.ts +1 -5
- package/dist/runtime/registry/{google-tag-manager.mjs → google-tag-manager.js} +1 -1
- package/dist/runtime/registry/hotjar.d.ts +1 -7
- package/dist/runtime/registry/{hotjar.mjs → hotjar.js} +1 -1
- package/dist/runtime/registry/intercom.d.ts +1 -19
- package/dist/runtime/registry/{intercom.mjs → intercom.js} +1 -1
- package/dist/runtime/registry/{lemon-squeezy.mjs → lemon-squeezy.js} +1 -2
- package/dist/runtime/registry/matomo-analytics.d.ts +1 -11
- package/dist/runtime/registry/{matomo-analytics.mjs → matomo-analytics.js} +1 -2
- package/dist/runtime/registry/meta-pixel.d.ts +1 -5
- package/dist/runtime/registry/{meta-pixel.mjs → meta-pixel.js} +1 -2
- package/dist/runtime/registry/npm.d.ts +1 -11
- package/dist/runtime/registry/{npm.mjs → npm.js} +1 -1
- package/dist/runtime/registry/plausible-analytics.d.ts +1 -7
- package/dist/runtime/registry/{plausible-analytics.mjs → plausible-analytics.js} +1 -1
- package/dist/runtime/registry/segment.d.ts +1 -7
- package/dist/runtime/registry/{segment.mjs → segment.js} +1 -1
- package/dist/runtime/registry/stripe.d.ts +1 -5
- package/dist/runtime/registry/{stripe.mjs → stripe.js} +1 -3
- package/dist/runtime/registry/{vimeo-player.mjs → vimeo-player.js} +1 -1
- package/dist/runtime/registry/x-pixel.d.ts +1 -7
- package/dist/runtime/registry/{x-pixel.mjs → x-pixel.js} +1 -2
- package/dist/runtime/registry/{youtube-player.mjs → youtube-player.js} +1 -2
- package/dist/runtime/types.d.ts +17 -17
- package/dist/runtime/utils.d.ts +3 -3
- package/package.json +33 -29
- package/dist/client/_nuxt/BBSnVM_c.js +0 -31
- package/dist/client/_nuxt/Bsp1M94H.js +0 -1
- package/dist/client/_nuxt/C9UBdavN.js +0 -1
- package/dist/client/_nuxt/Dz2Ca8U2.js +0 -1
- package/dist/client/_nuxt/builds/meta/f37c599d-d78f-4a74-8eda-256234cbc028.json +0 -1
- /package/dist/runtime/composables/{useAnalyticsPageEvent.mjs → useAnalyticsPageEvent.js} +0 -0
- /package/dist/runtime/composables/{useConsentScriptTrigger.mjs → useConsentScriptTrigger.js} +0 -0
- /package/dist/runtime/composables/{useElementScriptTrigger.mjs → useElementScriptTrigger.js} +0 -0
- /package/dist/runtime/composables/{useScript.mjs → useScript.js} +0 -0
- /package/dist/runtime/{types.mjs → types.js} +0 -0
- /package/dist/runtime/{utils.mjs → utils.js} +0 -0
- /package/dist/runtime/validation/{mock.mjs → mock.js} +0 -0
- /package/dist/runtime/validation/{valibot.mjs → valibot.js} +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const __vite__fileDeps=["./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","./o8H-iTt6.js","./DYI1rfmx.js","./Bh8mriwU.js","./DCjyzNN-.js","./P5f3PASf.js","./DeVv6D4_.js","./beD-FUib.js","./CJQrLysU.js","./BPiaQZfK.js","./D384ylkT.js","./9ZOzOPqN.js","./DZLoTQm4.js","./BaedD2tq.js","./ISosJq17.js","./C0cterrC.js","./error-404.BRldFSII.css","./BsZo98M5.js","./error-500.D8yw_IbC.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
+
var Ac=Object.defineProperty;var Cc=(e,t,n)=>t in e?Ac(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var g=(e,t,n)=>(Cc(e,typeof t!="symbol"?t+"":t,n),n);/**
|
|
3
|
+
* @vue/shared v3.4.27
|
|
4
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
|
+
* @license MIT
|
|
6
|
+
**//*! #__NO_SIDE_EFFECTS__ */function $o(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const ae={},Gt=[],je=()=>{},Sc=()=>!1,In=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Uo=e=>e.startsWith("onUpdate:"),Ee=Object.assign,Go=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Lc=Object.prototype.hasOwnProperty,Q=(e,t)=>Lc.call(e,t),W=Array.isArray,Wt=e=>Or(e)==="[object Map]",zs=e=>Or(e)==="[object Set]",G=e=>typeof e=="function",ce=e=>typeof e=="string",Mt=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",Wo=e=>(se(e)||G(e))&&G(e.then)&&G(e.catch),Js=Object.prototype.toString,Or=e=>Js.call(e),Oc=e=>Or(e).slice(8,-1),Ys=e=>Or(e)==="[object Object]",qo=e=>ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,qt=$o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ir=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ic=/-(\w)/g,Qe=Ir(e=>e.replace(Ic,(t,n)=>n?n.toUpperCase():"")),xc=/\B([A-Z])/g,on=Ir(e=>e.replace(xc,"-$1").toLowerCase()),xr=Ir(e=>e.charAt(0).toUpperCase()+e.slice(1)),qr=Ir(e=>e?`on${xr(e)}`:""),bt=(e,t)=>!Object.is(e,t),Kr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Xs=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},kc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Nc=e=>{const t=ce(e)?Number(e):NaN;return isNaN(t)?e:t};let Li;const Qs=()=>Li||(Li=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function kr(e){if(W(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=ce(r)?Bc(r):kr(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(ce(e)||se(e))return e}const Dc=/;(?![^(]*\))/g,Mc=/:([^]+)/,Vc=/\/\*[^]*?\*\//g;function Bc(e){const t={};return e.replace(Vc,"").split(Dc).forEach(n=>{if(n){const r=n.split(Mc);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Vt(e){let t="";if(ce(e))t=e;else if(W(e))for(let n=0;n<e.length;n++){const r=Vt(e[n]);r&&(t+=r+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function jc(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ce(t)&&(e.class=Vt(t)),n&&(e.style=kr(n)),e}const Fc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Hc=$o(Fc);function Zs(e){return!!e||e===""}const at=e=>ce(e)?e:e==null?"":W(e)||se(e)&&(e.toString===Js||!G(e.toString))?JSON.stringify(e,el,2):String(e),el=(e,t)=>t&&t.__v_isRef?el(e,t.value):Wt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[zr(r,i)+" =>"]=o,n),{})}:zs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>zr(n))}:Mt(t)?zr(t):se(t)&&!W(t)&&!Ys(t)?String(t):t,zr=(e,t="")=>{var n;return Mt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
7
|
+
* @vue/reactivity v3.4.27
|
|
8
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
9
|
+
* @license MIT
|
|
10
|
+
**/let Ue;class tl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ue,!t&&Ue&&(this.index=(Ue.scopes||(Ue.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ue;try{return Ue=this,t()}finally{Ue=n}}}on(){Ue=this}off(){Ue=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function $c(e){return new tl(e)}function Uc(e,t=Ue){t&&t.active&&t.effects.push(e)}function Gc(){return Ue}let It;class Ko{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,Uc(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Et();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Wc(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),vt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=gt,n=It;try{return gt=!0,It=this,this._runnings++,Oi(this),this.fn()}finally{Ii(this),this._runnings--,It=n,gt=t}}stop(){this.active&&(Oi(this),Ii(this),this.onStop&&this.onStop(),this.active=!1)}}function Wc(e){return e.value}function Oi(e){e._trackId++,e._depsLength=0}function Ii(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)nl(e.deps[t],e);e.deps.length=e._depsLength}}function nl(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let gt=!0,po=0;const rl=[];function Et(){rl.push(gt),gt=!1}function vt(){const e=rl.pop();gt=e===void 0?!0:e}function zo(){po++}function Jo(){for(po--;!po&&ho.length;)ho.shift()()}function ol(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&nl(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const ho=[];function il(e,t,n){zo();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&&ho.push(r.scheduler)))}Jo()}const sl=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},sr=new WeakMap,xt=Symbol(""),mo=Symbol("");function Ne(e,t,n){if(gt&&It){let r=sr.get(e);r||sr.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=sl(()=>r.delete(n))),ol(It,o)}}function it(e,t,n,r,o,i){const s=sr.get(e);if(!s)return;let l=[];if(t==="clear")l=[...s.values()];else if(n==="length"&&W(e)){const a=Number(r);s.forEach((c,u)=>{(u==="length"||!Mt(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(s.get(n)),t){case"add":W(e)?qo(n)&&l.push(s.get("length")):(l.push(s.get(xt)),Wt(e)&&l.push(s.get(mo)));break;case"delete":W(e)||(l.push(s.get(xt)),Wt(e)&&l.push(s.get(mo)));break;case"set":Wt(e)&&l.push(s.get(xt));break}zo();for(const a of l)a&&il(a,4);Jo()}function qc(e,t){const n=sr.get(e);return n&&n.get(t)}const Kc=$o("__proto__,__v_isRef,__isVue"),ll=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Mt)),xi=zc();function zc(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ee(this);for(let i=0,s=this.length;i<s;i++)Ne(r,"get",i+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(ee)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Et(),zo();const r=ee(this)[t].apply(this,n);return Jo(),vt(),r}}),e}function Jc(e){Mt(e)||(e=String(e));const t=ee(this);return Ne(t,"has",e),t.hasOwnProperty(e)}class al{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?au:dl:i?fl:ul).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=W(t);if(!o){if(s&&Q(xi,n))return Reflect.get(xi,n,r);if(n==="hasOwnProperty")return Jc}const l=Reflect.get(t,n,r);return(Mt(n)?ll.has(n):Kc(n))||(o||Ne(t,"get",n),i)?l:Te(l)?s&&qo(n)?l:l.value:se(l)?o?hl(l):Ze(l):l}}class cl extends al{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const a=Zt(i);if(!lr(r)&&!Zt(r)&&(i=ee(i),r=ee(r)),!W(t)&&Te(i)&&!Te(r))return a?!1:(i.value=r,!0)}const s=W(t)&&qo(n)?Number(n)<t.length:Q(t,n),l=Reflect.set(t,n,r,o);return t===ee(o)&&(s?bt(r,i)&&it(t,"set",n,r):it(t,"add",n,r)),l}deleteProperty(t,n){const r=Q(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&it(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Mt(n)||!ll.has(n))&&Ne(t,"has",n),r}ownKeys(t){return Ne(t,"iterate",W(t)?"length":xt),Reflect.ownKeys(t)}}class Yc extends al{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Xc=new cl,Qc=new Yc,Zc=new cl(!0);const Yo=e=>e,Nr=e=>Reflect.getPrototypeOf(e);function Bn(e,t,n=!1,r=!1){e=e.__v_raw;const o=ee(e),i=ee(t);n||(bt(t,i)&&Ne(o,"get",t),Ne(o,"get",i));const{has:s}=Nr(o),l=r?Yo:n?Zo:En;if(s.call(o,t))return l(e.get(t));if(s.call(o,i))return l(e.get(i));e!==o&&e.get(t)}function jn(e,t=!1){const n=this.__v_raw,r=ee(n),o=ee(e);return t||(bt(e,o)&&Ne(r,"has",e),Ne(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Fn(e,t=!1){return e=e.__v_raw,!t&&Ne(ee(e),"iterate",xt),Reflect.get(e,"size",e)}function ki(e){e=ee(e);const t=ee(this);return Nr(t).has.call(t,e)||(t.add(e),it(t,"add",e,e)),this}function Ni(e,t){t=ee(t);const n=ee(this),{has:r,get:o}=Nr(n);let i=r.call(n,e);i||(e=ee(e),i=r.call(n,e));const s=o.call(n,e);return n.set(e,t),i?bt(t,s)&&it(n,"set",e,t):it(n,"add",e,t),this}function Di(e){const t=ee(this),{has:n,get:r}=Nr(t);let o=n.call(t,e);o||(e=ee(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&it(t,"delete",e,void 0),i}function Mi(){const e=ee(this),t=e.size!==0,n=e.clear();return t&&it(e,"clear",void 0,void 0),n}function Hn(e,t){return function(r,o){const i=this,s=i.__v_raw,l=ee(s),a=t?Yo:e?Zo:En;return!e&&Ne(l,"iterate",xt),s.forEach((c,u)=>r.call(o,a(c),a(u),i))}}function $n(e,t,n){return function(...r){const o=this.__v_raw,i=ee(o),s=Wt(i),l=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,c=o[e](...r),u=n?Yo:t?Zo:En;return!t&&Ne(i,"iterate",a?mo:xt),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function ct(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function eu(){const e={get(i){return Bn(this,i)},get size(){return Fn(this)},has:jn,add:ki,set:Ni,delete:Di,clear:Mi,forEach:Hn(!1,!1)},t={get(i){return Bn(this,i,!1,!0)},get size(){return Fn(this)},has:jn,add:ki,set:Ni,delete:Di,clear:Mi,forEach:Hn(!1,!0)},n={get(i){return Bn(this,i,!0)},get size(){return Fn(this,!0)},has(i){return jn.call(this,i,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:Hn(!0,!1)},r={get(i){return Bn(this,i,!0,!0)},get size(){return Fn(this,!0)},has(i){return jn.call(this,i,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:Hn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=$n(i,!1,!1),n[i]=$n(i,!0,!1),t[i]=$n(i,!1,!0),r[i]=$n(i,!0,!0)}),[e,n,t,r]}const[tu,nu,ru,ou]=eu();function Xo(e,t){const n=t?e?ou:ru:e?nu:tu;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Q(n,o)&&o in r?n:r,o,i)}const iu={get:Xo(!1,!1)},su={get:Xo(!1,!0)},lu={get:Xo(!0,!1)};const ul=new WeakMap,fl=new WeakMap,dl=new WeakMap,au=new WeakMap;function cu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function uu(e){return e.__v_skip||!Object.isExtensible(e)?0:cu(Oc(e))}function Ze(e){return Zt(e)?e:Qo(e,!1,Xc,iu,ul)}function pl(e){return Qo(e,!1,Zc,su,fl)}function hl(e){return Qo(e,!0,Qc,lu,dl)}function Qo(e,t,n,r,o){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=uu(e);if(s===0)return e;const l=new Proxy(e,s===2?r:n);return o.set(e,l),l}function pn(e){return Zt(e)?pn(e.__v_raw):!!(e&&e.__v_isReactive)}function Zt(e){return!!(e&&e.__v_isReadonly)}function lr(e){return!!(e&&e.__v_isShallow)}function ml(e){return e?!!e.__v_raw:!1}function ee(e){const t=e&&e.__v_raw;return t?ee(t):e}function fu(e){return Object.isExtensible(e)&&Xs(e,"__v_skip",!0),e}const En=e=>se(e)?Ze(e):e,Zo=e=>se(e)?hl(e):e;class _l{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 Ko(()=>t(this._value),()=>Qn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=ee(this);return(!t._cacheable||t.effect.dirty)&&bt(t._value,t._value=t.effect.run())&&Qn(t,4),gl(t),t.effect._dirtyLevel>=2&&Qn(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function du(e,t,n=!1){let r,o;const i=G(e);return i?(r=e,o=je):(r=e.get,o=e.set),new _l(r,o,i||!o,n)}function gl(e){var t;gt&&It&&(e=ee(e),ol(It,(t=e.dep)!=null?t:e.dep=sl(()=>e.dep=void 0,e instanceof _l?e:void 0)))}function Qn(e,t=4,n){e=ee(e);const r=e.dep;r&&il(r,t)}function Te(e){return!!(e&&e.__v_isRef===!0)}function We(e){return yl(e,!1)}function Vi(e){return yl(e,!0)}function yl(e,t){return Te(e)?e:new pu(e,t)}class pu{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ee(t),this._value=n?t:En(t)}get value(){return gl(this),this._value}set value(t){const n=this.__v_isShallow||lr(t)||Zt(t);t=n?t:ee(t),bt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:En(t),Qn(this,4))}}function ie(e){return Te(e)?e.value:e}function hu(e){return G(e)?e():ie(e)}const mu={get:(e,t,n)=>ie(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Te(o)&&!Te(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function bl(e){return pn(e)?e:new Proxy(e,mu)}class _u{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return qc(ee(this._object),this._key)}}class gu{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function El(e,t,n){return Te(e)?e:G(e)?new gu(e):se(e)&&arguments.length>1?yu(e,t,n):We(e)}function yu(e,t,n){const r=e[t];return Te(r)?r:new _u(e,t,n)}/**
|
|
11
|
+
* @vue/runtime-core v3.4.27
|
|
12
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
13
|
+
* @license MIT
|
|
14
|
+
**/function yt(e,t,n,r){try{return r?e(...r):e()}catch(o){sn(o,t,n)}}function qe(e,t,n,r){if(G(e)){const o=yt(e,t,n,r);return o&&Wo(o)&&o.catch(i=>{sn(i,t,n)}),o}if(W(e)){const o=[];for(let i=0;i<e.length;i++)o.push(qe(e[i],t,n,r));return o}}function sn(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){Et(),yt(a,null,10,[e,s,l]),vt();return}}bu(e,n,o,r)}function bu(e,t,n,r=!0){console.error(e)}let vn=!1,_o=!1;const Ae=[];let Xe=0;const Kt=[];let dt=null,St=0;const vl=Promise.resolve();let ei=null;function ti(e){const t=ei||vl;return e?t.then(this?e.bind(this):e):t}function Eu(e){let t=Xe+1,n=Ae.length;for(;t<n;){const r=t+n>>>1,o=Ae[r],i=wn(o);i<e||i===e&&o.pre?t=r+1:n=r}return t}function Dr(e){(!Ae.length||!Ae.includes(e,vn&&e.allowRecurse?Xe+1:Xe))&&(e.id==null?Ae.push(e):Ae.splice(Eu(e.id),0,e),wl())}function wl(){!vn&&!_o&&(_o=!0,ei=vl.then(Rl))}function vu(e){const t=Ae.indexOf(e);t>Xe&&Ae.splice(t,1)}function go(e){W(e)?Kt.push(...e):(!dt||!dt.includes(e,e.allowRecurse?St+1:St))&&Kt.push(e),wl()}function Bi(e,t,n=vn?Xe+1:0){for(;n<Ae.length;n++){const r=Ae[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Ae.splice(n,1),n--,r()}}}function ar(e){if(Kt.length){const t=[...new Set(Kt)].sort((n,r)=>wn(n)-wn(r));if(Kt.length=0,dt){dt.push(...t);return}for(dt=t,St=0;St<dt.length;St++)dt[St]();dt=null,St=0}}const wn=e=>e.id==null?1/0:e.id,wu=(e,t)=>{const n=wn(e)-wn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Rl(e){_o=!1,vn=!0,Ae.sort(wu);try{for(Xe=0;Xe<Ae.length;Xe++){const t=Ae[Xe];t&&t.active!==!1&&yt(t,null,14)}}finally{Xe=0,Ae.length=0,ar(),vn=!1,ei=null,(Ae.length||Kt.length)&&Rl()}}function Ru(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ae;let o=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in r){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:f,trim:d}=r[u]||ae;d&&(o=n.map(h=>ce(h)?h.trim():h)),f&&(o=n.map(kc))}let l,a=r[l=qr(t)]||r[l=qr(Qe(t))];!a&&i&&(a=r[l=qr(on(t))]),a&&qe(a,e,6,o);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,qe(c,e,6,o)}}function Tl(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(!G(e)){const a=c=>{const u=Tl(c,t,!0);u&&(l=!0,Ee(s,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(se(e)&&r.set(e,null),null):(W(i)?i.forEach(a=>s[a]=null):Ee(s,i),se(e)&&r.set(e,s),s)}function Mr(e,t){return!e||!In(t)?!1:(t=t.slice(2).replace(/Once$/,""),Q(e,t[0].toLowerCase()+t.slice(1))||Q(e,on(t))||Q(e,t))}let Re=null,Vr=null;function cr(e){const t=Re;return Re=e,Vr=e&&e.type.__scopeId||null,t}function gy(e){Vr=e}function yy(){Vr=null}function Rn(e,t=Re,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Zi(-1);const i=cr(t);let s;try{s=e(...o)}finally{cr(i),r._d&&Zi(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function Jr(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:s,attrs:l,emit:a,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:m,inheritAttrs:y}=e,v=cr(e);let R,C;try{if(n.shapeFlag&4){const A=o||r,T=A;R=Be(c.call(T,A,u,f,h,d,m)),C=l}else{const A=t;R=Be(A.length>1?A(f,{attrs:l,slots:s,emit:a}):A(f,null)),C=t.props?l:Pu(l)}}catch(A){gn.length=0,sn(A,e,1),R=ue(Ke)}let E=R;if(C&&y!==!1){const A=Object.keys(C),{shapeFlag:T}=E;A.length&&T&7&&(i&&A.some(Uo)&&(C=Au(C,i)),E=nn(E,C,!1,!0))}return n.dirs&&(E=nn(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&(E.transition=n.transition),R=E,cr(v),R}function Tu(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Pn(o)){if(o.type!==Ke||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Pu=e=>{let t;for(const n in e)(n==="class"||n==="style"||In(n))&&((t||(t={}))[n]=e[n]);return t},Au=(e,t)=>{const n={};for(const r in e)(!Uo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Cu(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:l,patchFlag:a}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?ji(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]&&!Mr(c,d))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===s?!1:r?s?ji(r,s,c):!0:!!s;return!1}function ji(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]&&!Mr(n,i))return!0}return!1}function ni({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 Pl="components";function Su(e,t){return Sl(Pl,e,!0,t)||e}const Al=Symbol.for("v-ndc");function Cl(e){return ce(e)?Sl(Pl,e,!1)||e:e||Al}function Sl(e,t,n=!0,r=!1){const o=Re||he;if(o){const i=o.type;{const l=Pf(i,!1);if(l&&(l===t||l===Qe(t)||l===xr(Qe(t))))return i}const s=Fi(o[e]||i[e],t)||Fi(o.appContext[e],t);return!s&&r?i:s}}function Fi(e,t){return e&&(e[t]||e[Qe(t)]||e[xr(Qe(t))])}const Lu=e=>e.__isSuspense;let yo=0;const Ou={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,l,a,c){if(e==null)xu(t,n,r,o,i,s,l,a,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}ku(e,t,n,r,o,s,l,a,c)}},hydrate:Nu,create:ri,normalize:Du},Iu=Ou;function Tn(e,t){const n=e.props&&e.props[t];G(n)&&n()}function xu(e,t,n,r,o,i,s,l,a){const{p:c,o:{createElement:u}}=a,f=u("div"),d=e.suspense=ri(e,o,r,t,f,n,i,s,l,a);c(null,d.pendingBranch=e.ssContent,f,null,r,d,i,s),d.deps>0?(Tn(e,"onPending"),Tn(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,s),zt(d,e.ssFallback)):d.resolve(!1,!0)}function ku(e,t,n,r,o,i,s,l,{p:a,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:m,pendingBranch:y,isInFallback:v,isHydrating:R}=f;if(y)f.pendingBranch=d,mt(d,y)?(a(y,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0?f.resolve():v&&(R||(a(m,h,n,r,o,null,i,s,l),zt(f,h)))):(f.pendingId=yo++,R?(f.isHydrating=!1,f.activeBranch=y):c(y,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(m,h,n,r,o,null,i,s,l),zt(f,h))):m&&mt(d,m)?(a(m,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(m&&mt(d,m))a(m,d,n,r,o,f,i,s,l),zt(f,d);else if(Tn(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=yo++,a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0)f.resolve();else{const{timeout:C,pendingId:E}=f;C>0?setTimeout(()=>{f.pendingId===E&&f.fallback(h)},C):C===0&&f.fallback(h)}}function ri(e,t,n,r,o,i,s,l,a,c,u=!1){const{p:f,m:d,um:h,n:m,o:{parentNode:y,remove:v}}=c;let R;const C=Mu(e);C&&t&&t.pendingBranch&&(R=t.pendingId,t.deps++);const E=e.props?Nc(e.props.timeout):void 0,A=i,T={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:yo++,timeout:typeof E=="number"?E:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(P=!1,V=!1){const{vnode:U,activeBranch:q,pendingBranch:H,pendingId:X,effects:Z,parentComponent:ne,container:_e}=T;let pe=!1;T.isHydrating?T.isHydrating=!1:P||(pe=q&&H.transition&&H.transition.mode==="out-in",pe&&(q.transition.afterLeave=()=>{X===T.pendingId&&(d(H,_e,i===A?m(q):i,0),go(Z))}),q&&(y(q.el)!==T.hiddenContainer&&(i=m(q)),h(q,ne,T,!0)),pe||d(H,_e,i,0)),zt(T,H),T.pendingBranch=null,T.isInFallback=!1;let B=T.parent,J=!1;for(;B;){if(B.pendingBranch){B.effects.push(...Z),J=!0;break}B=B.parent}!J&&!pe&&go(Z),T.effects=[],C&&t&&t.pendingBranch&&R===t.pendingId&&(t.deps--,t.deps===0&&!V&&t.resolve()),Tn(U,"onResolve")},fallback(P){if(!T.pendingBranch)return;const{vnode:V,activeBranch:U,parentComponent:q,container:H,namespace:X}=T;Tn(V,"onFallback");const Z=m(U),ne=()=>{T.isInFallback&&(f(null,P,H,Z,q,null,X,l,a),zt(T,P))},_e=P.transition&&P.transition.mode==="out-in";_e&&(U.transition.afterLeave=ne),T.isInFallback=!0,h(U,q,null,!0),_e||ne()},move(P,V,U){T.activeBranch&&d(T.activeBranch,P,V,U),T.container=P},next(){return T.activeBranch&&m(T.activeBranch)},registerDep(P,V){const U=!!T.pendingBranch;U&&T.deps++;const q=P.vnode.el;P.asyncDep.catch(H=>{sn(H,P,0)}).then(H=>{if(P.isUnmounted||T.isUnmounted||T.pendingId!==P.suspenseId)return;P.asyncResolved=!0;const{vnode:X}=P;Po(P,H,!1),q&&(X.el=q);const Z=!q&&P.subTree.el;V(P,X,y(q||P.subTree.el),q?null:m(P.subTree),T,s,a),Z&&v(Z),ni(P,X.el),U&&--T.deps===0&&T.resolve()})},unmount(P,V){T.isUnmounted=!0,T.activeBranch&&h(T.activeBranch,n,P,V),T.pendingBranch&&h(T.pendingBranch,n,P,V)}};return T}function Nu(e,t,n,r,o,i,s,l,a){const c=t.suspense=ri(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,l,!0),u=a(e,c.pendingBranch=t.ssContent,n,c,i,s);return c.deps===0&&c.resolve(!1,!0),u}function Du(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Hi(r?n.default:n),e.ssFallback=r?Hi(n.fallback):ue(Ke)}function Hi(e){let t;if(G(e)){const n=tn&&e._c;n&&(e._d=!1,te()),e=e(),n&&(e._d=!0,t=Fe,Zl())}return W(e)&&(e=Tu(e)),e=Be(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ll(e,t){t&&t.pendingBranch?W(e)?t.effects.push(...e):t.effects.push(e):go(e)}function zt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,ni(r,o))}function Mu(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Vu=Symbol.for("v-scx"),Bu=()=>_n(Vu);function by(e,t){return oi(e,null,t)}const Un={};function hn(e,t,n){return oi(e,t,n)}function oi(e,t,{immediate:n,deep:r,flush:o,once:i,onTrack:s,onTrigger:l}=ae){if(t&&i){const P=t;t=(...V)=>{P(...V),T()}}const a=he,c=P=>r===!0?P:$t(P,r===!1?1:void 0);let u,f=!1,d=!1;if(Te(e)?(u=()=>e.value,f=lr(e)):pn(e)?(u=()=>c(e),f=!0):W(e)?(d=!0,f=e.some(P=>pn(P)||lr(P)),u=()=>e.map(P=>{if(Te(P))return P.value;if(pn(P))return c(P);if(G(P))return yt(P,a,2)})):G(e)?t?u=()=>yt(e,a,2):u=()=>(h&&h(),qe(e,a,3,[m])):u=je,t&&r){const P=u;u=()=>$t(P())}let h,m=P=>{h=E.onStop=()=>{yt(P,a,4),h=E.onStop=void 0}},y;if(xn)if(m=je,t?n&&qe(t,a,3,[u(),d?[]:void 0,m]):u(),o==="sync"){const P=Bu();y=P.__watcherHandles||(P.__watcherHandles=[])}else return je;let v=d?new Array(e.length).fill(Un):Un;const R=()=>{if(!(!E.active||!E.dirty))if(t){const P=E.run();(r||f||(d?P.some((V,U)=>bt(V,v[U])):bt(P,v)))&&(h&&h(),qe(t,a,3,[P,v===Un?void 0:d&&v[0]===Un?[]:v,m]),v=P)}else E.run()};R.allowRecurse=!!t;let C;o==="sync"?C=R:o==="post"?C=()=>Ie(R,a&&a.suspense):(R.pre=!0,a&&(R.id=a.uid),C=()=>Dr(R));const E=new Ko(u,je,C),A=Gc(),T=()=>{E.stop(),A&&Go(A.effects,E)};return t?n?R():v=E.run():o==="post"?Ie(E.run.bind(E),a&&a.suspense):E.run(),y&&y.push(T),T}function ju(e,t,n){const r=this.proxy,o=ce(e)?e.includes(".")?Ol(r,e):()=>r[e]:e.bind(r,r);let i;G(t)?i=t:(i=t.handler,n=t);const s=Nt(this),l=oi(o,i.bind(r),n);return s(),l}function Ol(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function $t(e,t=1/0,n){if(t<=0||!se(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Te(e))$t(e.value,t,n);else if(W(e))for(let r=0;r<e.length;r++)$t(e[r],t,n);else if(zs(e)||Wt(e))e.forEach(r=>{$t(r,t,n)});else if(Ys(e))for(const r in e)$t(e[r],t,n);return e}function Ye(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&&(Et(),qe(a,n,8,[e.el,l,e,t]),vt())}}/*! #__NO_SIDE_EFFECTS__ */function Bt(e,t){return G(e)?Ee({name:e.name},t,{setup:e}):e}const Jt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function $i(e){G(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:s=!0,onError:l}=e;let a=null,c,u=0;const f=()=>(u++,a=null,d()),d=()=>{let h;return a||(h=a=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((y,v)=>{l(m,()=>y(f()),()=>v(m),u+1)});throw m}).then(m=>h!==a&&a?a:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return Bt({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const h=he;if(c)return()=>Yr(c,h);const m=C=>{a=null,sn(C,h,13,!r)};if(s&&h.suspense||xn)return d().then(C=>()=>Yr(C,h)).catch(C=>(m(C),()=>r?ue(r,{error:C}):null));const y=We(!1),v=We(),R=We(!!o);return o&&setTimeout(()=>{R.value=!1},o),i!=null&&setTimeout(()=>{if(!y.value&&!v.value){const C=new Error(`Async component timed out after ${i}ms.`);m(C),v.value=C}},i),d().then(()=>{y.value=!0,h.parent&&ii(h.parent.vnode)&&(h.parent.effect.dirty=!0,Dr(h.parent.update))}).catch(C=>{m(C),v.value=C}),()=>{if(y.value&&c)return Yr(c,h);if(v.value&&r)return ue(r,{error:v.value});if(n&&!R.value)return ue(n)}}})}function Yr(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=ue(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const ii=e=>e.type.__isKeepAlive;function Fu(e,t){Il(e,"a",t)}function Hu(e,t){Il(e,"da",t)}function Il(e,t,n=he){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Br(t,r,n),n){let o=n.parent;for(;o&&o.parent;)ii(o.parent.vnode)&&$u(r,t,n,o),o=o.parent}}function $u(e,t,n,r){const o=Br(t,e,r,!0);Nl(()=>{Go(r[t],o)},n)}function Br(e,t,n=he,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;Et();const l=Nt(n),a=qe(t,n,e,s);return l(),vt(),a});return r?o.unshift(i):o.push(i),i}}const st=e=>(t,n=he)=>(!xn||e==="sp")&&Br(e,(...r)=>t(...r),n),Uu=st("bm"),xl=st("m"),Gu=st("bu"),Wu=st("u"),kl=st("bum"),Nl=st("um"),qu=st("sp"),Ku=st("rtg"),zu=st("rtc");function Dl(e,t=he){Br("ec",e,t)}function Ui(e,t,n,r){let o;const i=n;if(W(e)||ce(e)){o=new Array(e.length);for(let s=0,l=e.length;s<l;s++)o[s]=t(e[s],s,void 0,i)}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)}else if(se(e))if(e[Symbol.iterator])o=Array.from(e,(s,l)=>t(s,l,void 0,i));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)}}else o=[];return o}function Gi(e,t,n={},r,o){if(Re.isCE||Re.parent&&Jt(Re.parent)&&Re.parent.isCE)return t!=="default"&&(n.name=t),ue("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),te();const s=i&&Ml(i(n)),l=ke(Pe,{key:n.key||s&&s.key||`_${t}`},s||(r?r():[]),s&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Ml(e){return e.some(t=>Pn(t)?!(t.type===Ke||t.type===Pe&&!Ml(t.children)):!0)?e:null}const bo=e=>e?ia(e)?ci(e)||e.proxy:bo(e.parent):null,mn=Ee(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=>bo(e.parent),$root:e=>bo(e.root),$emit:e=>e.emit,$options:e=>si(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Dr(e.update)}),$nextTick:e=>e.n||(e.n=ti.bind(e.proxy)),$watch:e=>ju.bind(e)}),Xr=(e,t)=>e!==ae&&!e.__isScriptSetup&&Q(e,t),Ju={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(Xr(r,t))return s[t]=1,r[t];if(o!==ae&&Q(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&Q(c,t))return s[t]=3,i[t];if(n!==ae&&Q(n,t))return s[t]=4,n[t];Eo&&(s[t]=0)}}const u=mn[t];let f,d;if(u)return t==="$attrs"&&Ne(e.attrs,"get",""),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ae&&Q(n,t))return s[t]=4,n[t];if(d=a.config.globalProperties,Q(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return Xr(o,t)?(o[t]=n,!0):r!==ae&&Q(r,t)?(r[t]=n,!0):Q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let l;return!!n[s]||e!==ae&&Q(e,s)||Xr(t,s)||(l=i[0])&&Q(l,s)||Q(r,s)||Q(mn,s)||Q(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Wi(e){return W(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Yu(e){const t=oa();let n=e();return To(),Wo(n)&&(n=n.catch(r=>{throw Nt(t),r})),[n,()=>Nt(t)]}let Eo=!0;function Xu(e){const t=si(e),n=e.proxy,r=e.ctx;Eo=!1,t.beforeCreate&&qi(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:m,activated:y,deactivated:v,beforeDestroy:R,beforeUnmount:C,destroyed:E,unmounted:A,render:T,renderTracked:P,renderTriggered:V,errorCaptured:U,serverPrefetch:q,expose:H,inheritAttrs:X,components:Z,directives:ne,filters:_e}=t;if(c&&Qu(c,r,null),s)for(const J in s){const F=s[J];G(F)&&(r[J]=F.bind(n))}if(o){const J=o.call(n,n);se(J)&&(e.data=Ze(J))}if(Eo=!0,i)for(const J in i){const F=i[J],et=G(F)?F.bind(n,n):G(F.get)?F.get.bind(n,n):je,Mn=!G(F)&&G(F.set)?F.set.bind(n):je,Tt=_t({get:et,set:Mn});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>Tt.value,set:ze=>Tt.value=ze})}if(l)for(const J in l)Vl(l[J],r,n,J);if(a){const J=G(a)?a.call(n):a;Reflect.ownKeys(J).forEach(F=>{jl(F,J[F])})}u&&qi(u,e,"c");function B(J,F){W(F)?F.forEach(et=>J(et.bind(n))):F&&J(F.bind(n))}if(B(Uu,f),B(xl,d),B(Gu,h),B(Wu,m),B(Fu,y),B(Hu,v),B(Dl,U),B(zu,P),B(Ku,V),B(kl,C),B(Nl,A),B(qu,q),W(H))if(H.length){const J=e.exposed||(e.exposed={});H.forEach(F=>{Object.defineProperty(J,F,{get:()=>n[F],set:et=>n[F]=et})})}else e.exposed||(e.exposed={});T&&e.render===je&&(e.render=T),X!=null&&(e.inheritAttrs=X),Z&&(e.components=Z),ne&&(e.directives=ne)}function Qu(e,t,n=je){W(e)&&(e=vo(e));for(const r in e){const o=e[r];let i;se(o)?"default"in o?i=_n(o.from||r,o.default,!0):i=_n(o.from||r):i=_n(o),Te(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function qi(e,t,n){qe(W(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Vl(e,t,n,r){const o=r.includes(".")?Ol(n,r):()=>n[r];if(ce(e)){const i=t[e];G(i)&&hn(o,i)}else if(G(e))hn(o,e.bind(n));else if(se(e))if(W(e))e.forEach(i=>Vl(i,t,n,r));else{const i=G(e.handler)?e.handler.bind(n):t[e.handler];G(i)&&hn(o,i,e)}}function si(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,l=i.get(t);let a;return l?a=l:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(c=>ur(a,c,s,!0)),ur(a,t,s)),se(t)&&i.set(t,a),a}function ur(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&ur(e,i,n,!0),o&&o.forEach(s=>ur(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const l=Zu[s]||n&&n[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const Zu={data:Ki,props:zi,emits:zi,methods:fn,computed:fn,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:fn,directives:fn,watch:tf,provide:Ki,inject:ef};function Ki(e,t){return t?e?function(){return Ee(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function ef(e,t){return fn(vo(e),vo(t))}function vo(e){if(W(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ce(e,t){return e?[...new Set([].concat(e,t))]:t}function fn(e,t){return e?Ee(Object.create(null),e,t):t}function zi(e,t){return e?W(e)&&W(t)?[...new Set([...e,...t])]:Ee(Object.create(null),Wi(e),Wi(t??{})):t}function tf(e,t){if(!e)return t;if(!t)return e;const n=Ee(Object.create(null),e);for(const r in t)n[r]=Ce(e[r],t[r]);return n}function Bl(){return{app:null,config:{isNativeTag:Sc,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let nf=0;function rf(e,t){return function(r,o=null){G(r)||(r=Ee({},r)),o!=null&&!se(o)&&(o=null);const i=Bl(),s=new WeakSet;let l=!1;const a=i.app={_uid:nf++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:la,get config(){return i.config},set config(c){},use(c,...u){return s.has(c)||(c&&G(c.install)?(s.add(c),c.install(a,...u)):G(c)&&(s.add(c),c(a,...u))),a},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),a},component(c,u){return u?(i.components[c]=u,a):i.components[c]},directive(c,u){return u?(i.directives[c]=u,a):i.directives[c]},mount(c,u,f){if(!l){const d=ue(r,o);return d.appContext=i,f===!0?f="svg":f===!1&&(f=void 0),u&&t?t(d,c):e(d,c,f),l=!0,a._container=c,c.__vue_app__=a,ci(d.component)||d.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return i.provides[c]=u,a},runWithContext(c){const u=Yt;Yt=a;try{return c()}finally{Yt=u}}};return a}}let Yt=null;function jl(e,t){if(he){let n=he.provides;const r=he.parent&&he.parent.provides;r===n&&(n=he.provides=Object.create(r)),n[e]=t}}function _n(e,t,n=!1){const r=he||Re;if(r||Yt){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Yt._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&G(t)?t.call(r&&r.proxy):t}}function Fl(){return!!(he||Re||Yt)}const Hl={},$l=()=>Object.create(Hl),Ul=e=>Object.getPrototypeOf(e)===Hl;function of(e,t,n,r=!1){const o={},i=$l();e.propsDefaults=Object.create(null),Gl(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:pl(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function sf(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,l=ee(o),[a]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Mr(e.emitsOptions,d))continue;const h=t[d];if(a)if(Q(i,d))h!==i[d]&&(i[d]=h,c=!0);else{const m=Qe(d);o[m]=wo(a,l,m,h,e,!1)}else h!==i[d]&&(i[d]=h,c=!0)}}}else{Gl(e,t,o,i)&&(c=!0);let u;for(const f in l)(!t||!Q(t,f)&&((u=on(f))===f||!Q(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=wo(a,l,f,void 0,e,!0)):delete o[f]);if(i!==l)for(const f in i)(!t||!Q(t,f))&&(delete i[f],c=!0)}c&&it(e.attrs,"set","")}function Gl(e,t,n,r){const[o,i]=e.propsOptions;let s=!1,l;if(t)for(let a in t){if(qt(a))continue;const c=t[a];let u;o&&Q(o,u=Qe(a))?!i||!i.includes(u)?n[u]=c:(l||(l={}))[u]=c:Mr(e.emitsOptions,a)||(!(a in r)||c!==r[a])&&(r[a]=c,s=!0)}if(i){const a=ee(n),c=l||ae;for(let u=0;u<i.length;u++){const f=i[u];n[f]=wo(o,a,f,c[f],e,!Q(c,f))}}return s}function wo(e,t,n,r,o,i){const s=e[n];if(s!=null){const l=Q(s,"default");if(l&&r===void 0){const a=s.default;if(s.type!==Function&&!s.skipFactory&&G(a)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=Nt(o);r=c[n]=a.call(null,t),u()}}else r=a}s[0]&&(i&&!l?r=!1:s[1]&&(r===""||r===on(n))&&(r=!0))}return r}function Wl(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(!G(e)){const u=f=>{a=!0;const[d,h]=Wl(f,t,!0);Ee(s,d),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return se(e)&&r.set(e,Gt),Gt;if(W(i))for(let u=0;u<i.length;u++){const f=Qe(i[u]);Ji(f)&&(s[f]=ae)}else if(i)for(const u in i){const f=Qe(u);if(Ji(f)){const d=i[u],h=s[f]=W(d)||G(d)?{type:d}:Ee({},d);if(h){const m=Qi(Boolean,h.type),y=Qi(String,h.type);h[0]=m>-1,h[1]=y<0||m<y,(m>-1||Q(h,"default"))&&l.push(f)}}}const c=[s,l];return se(e)&&r.set(e,c),c}function Ji(e){return e[0]!=="$"&&!qt(e)}function Yi(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Xi(e,t){return Yi(e)===Yi(t)}function Qi(e,t){return W(t)?t.findIndex(n=>Xi(n,e)):G(t)&&Xi(t,e)?0:-1}const ql=e=>e[0]==="_"||e==="$stable",li=e=>W(e)?e.map(Be):[Be(e)],lf=(e,t,n)=>{if(t._n)return t;const r=Rn((...o)=>li(t(...o)),n);return r._c=!1,r},Kl=(e,t,n)=>{const r=e._ctx;for(const o in e){if(ql(o))continue;const i=e[o];if(G(i))t[o]=lf(o,i,r);else if(i!=null){const s=li(i);t[o]=()=>s}}},zl=(e,t)=>{const n=li(t);e.slots.default=()=>n},af=(e,t)=>{const n=e.slots=$l();if(e.vnode.shapeFlag&32){const r=t._;r?(Ee(n,t),Xs(n,"_",r,!0)):Kl(t,n)}else t&&zl(e,t)},cf=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=ae;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(Ee(o,t),!n&&l===1&&delete o._):(i=!t.$stable,Kl(t,o)),s=t}else t&&(zl(e,t),s={default:1});if(i)for(const l in o)!ql(l)&&s[l]==null&&delete o[l]};function fr(e,t,n,r,o=!1){if(W(e)){e.forEach((d,h)=>fr(d,t&&(W(t)?t[h]:t),n,r,o));return}if(Jt(r)&&!o)return;const i=r.shapeFlag&4?ci(r.component)||r.component.proxy:r.el,s=o?null:i,{i:l,r:a}=e,c=t&&t.r,u=l.refs===ae?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(ce(c)?(u[c]=null,Q(f,c)&&(f[c]=null)):Te(c)&&(c.value=null)),G(a))yt(a,l,12,[s,u]);else{const d=ce(a),h=Te(a);if(d||h){const m=()=>{if(e.f){const y=d?Q(f,a)?f[a]:u[a]:a.value;o?W(y)&&Go(y,i):W(y)?y.includes(i)||y.push(i):d?(u[a]=[i],Q(f,a)&&(f[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else d?(u[a]=s,Q(f,a)&&(f[a]=s)):h&&(a.value=s,e.k&&(u[e.k]=s))};s?(m.id=-1,Ie(m,n)):m()}}}let ut=!1;const uf=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",ff=e=>e.namespaceURI.includes("MathML"),Gn=e=>{if(uf(e))return"svg";if(ff(e))return"mathml"},Wn=e=>e.nodeType===8;function df(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:l,insert:a,createComment:c}}=e,u=(E,A)=>{if(!A.hasChildNodes()){n(null,E,A),ar(),A._vnode=E;return}ut=!1,f(A.firstChild,E,null,null,null),ar(),A._vnode=E,ut&&console.error("Hydration completed but contains mismatches.")},f=(E,A,T,P,V,U=!1)=>{U=U||!!A.dynamicChildren;const q=Wn(E)&&E.data==="[",H=()=>y(E,A,T,P,V,q),{type:X,ref:Z,shapeFlag:ne,patchFlag:_e}=A;let pe=E.nodeType;A.el=E,_e===-2&&(U=!1,A.dynamicChildren=null);let B=null;switch(X){case en:pe!==3?A.children===""?(a(A.el=o(""),s(E),E),B=E):B=H():(E.data!==A.children&&(ut=!0,E.data=A.children),B=i(E));break;case Ke:C(E)?(B=i(E),R(A.el=E.content.firstChild,E,T)):pe!==8||q?B=H():B=i(E);break;case Zn:if(q&&(E=i(E),pe=E.nodeType),pe===1||pe===3){B=E;const J=!A.children.length;for(let F=0;F<A.staticCount;F++)J&&(A.children+=B.nodeType===1?B.outerHTML:B.data),F===A.staticCount-1&&(A.anchor=B),B=i(B);return q?i(B):B}else H();break;case Pe:q?B=m(E,A,T,P,V,U):B=H();break;default:if(ne&1)(pe!==1||A.type.toLowerCase()!==E.tagName.toLowerCase())&&!C(E)?B=H():B=d(E,A,T,P,V,U);else if(ne&6){A.slotScopeIds=V;const J=s(E);if(q?B=v(E):Wn(E)&&E.data==="teleport start"?B=v(E,E.data,"teleport end"):B=i(E),t(A,J,null,T,P,Gn(J),U),Jt(A)){let F;q?(F=ue(Pe),F.anchor=B?B.previousSibling:J.lastChild):F=E.nodeType===3?dr(""):ue("div"),F.el=E,A.component.subTree=F}}else ne&64?pe!==8?B=H():B=A.type.hydrate(E,A,T,P,V,U,e,h):ne&128&&(B=A.type.hydrate(E,A,T,P,Gn(s(E)),V,U,e,f))}return Z!=null&&fr(Z,null,P,A),B},d=(E,A,T,P,V,U)=>{U=U||!!A.dynamicChildren;const{type:q,props:H,patchFlag:X,shapeFlag:Z,dirs:ne,transition:_e}=A,pe=q==="input"||q==="option";if(pe||X!==-1){ne&&Ye(A,null,T,"created");let B=!1;if(C(E)){B=Yl(P,_e)&&T&&T.vnode.props&&T.vnode.props.appear;const F=E.content.firstChild;B&&_e.beforeEnter(F),R(F,E,T),A.el=E=F}if(Z&16&&!(H&&(H.innerHTML||H.textContent))){let F=h(E.firstChild,A,E,T,P,V,U);for(;F;){ut=!0;const et=F;F=F.nextSibling,l(et)}}else Z&8&&E.textContent!==A.children&&(ut=!0,E.textContent=A.children);if(H)if(pe||!U||X&48)for(const F in H)(pe&&(F.endsWith("value")||F==="indeterminate")||In(F)&&!qt(F)||F[0]===".")&&r(E,F,null,H[F],void 0,void 0,T);else H.onClick&&r(E,"onClick",null,H.onClick,void 0,void 0,T);let J;(J=H&&H.onVnodeBeforeMount)&&Ve(J,T,A),ne&&Ye(A,null,T,"beforeMount"),((J=H&&H.onVnodeMounted)||ne||B)&&Ll(()=>{J&&Ve(J,T,A),B&&_e.enter(E),ne&&Ye(A,null,T,"mounted")},P)}return E.nextSibling},h=(E,A,T,P,V,U,q)=>{q=q||!!A.dynamicChildren;const H=A.children,X=H.length;for(let Z=0;Z<X;Z++){const ne=q?H[Z]:H[Z]=Be(H[Z]);if(E)E=f(E,ne,P,V,U,q);else{if(ne.type===en&&!ne.children)continue;ut=!0,n(null,ne,T,null,P,V,Gn(T),U)}}return E},m=(E,A,T,P,V,U)=>{const{slotScopeIds:q}=A;q&&(V=V?V.concat(q):q);const H=s(E),X=h(i(E),A,H,T,P,V,U);return X&&Wn(X)&&X.data==="]"?i(A.anchor=X):(ut=!0,a(A.anchor=c("]"),H,X),X)},y=(E,A,T,P,V,U)=>{if(ut=!0,A.el=null,U){const X=v(E);for(;;){const Z=i(E);if(Z&&Z!==X)l(Z);else break}}const q=i(E),H=s(E);return l(E),n(null,A,H,q,T,P,Gn(H),V),q},v=(E,A="[",T="]")=>{let P=0;for(;E;)if(E=i(E),E&&Wn(E)&&(E.data===A&&P++,E.data===T)){if(P===0)return i(E);P--}return E},R=(E,A,T)=>{const P=A.parentNode;P&&P.replaceChild(E,A);let V=T;for(;V;)V.vnode.el===A&&(V.vnode.el=V.subTree.el=E),V=V.parent},C=E=>E.nodeType===1&&E.tagName.toLowerCase()==="template";return[u,f]}const Ie=Ll;function pf(e){return Jl(e)}function hf(e){return Jl(e,df)}function Jl(e,t){const n=Qs();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=je,insertStaticContent:m}=e,y=(_,b,w,S=null,L=null,k=null,D=void 0,x=null,N=!!b.dynamicChildren)=>{if(_===b)return;_&&!mt(_,b)&&(S=Vn(_),ze(_,L,k,!0),_=null),b.patchFlag===-2&&(N=!1,b.dynamicChildren=null);const{type:O,ref:M,shapeFlag:$}=b;switch(O){case en:v(_,b,w,S);break;case Ke:R(_,b,w,S);break;case Zn:_==null&&C(b,w,S,D);break;case Pe:Z(_,b,w,S,L,k,D,x,N);break;default:$&1?T(_,b,w,S,L,k,D,x,N):$&6?ne(_,b,w,S,L,k,D,x,N):($&64||$&128)&&O.process(_,b,w,S,L,k,D,x,N,Ft)}M!=null&&L&&fr(M,_&&_.ref,k,b||_,!b)},v=(_,b,w,S)=>{if(_==null)r(b.el=l(b.children),w,S);else{const L=b.el=_.el;b.children!==_.children&&c(L,b.children)}},R=(_,b,w,S)=>{_==null?r(b.el=a(b.children||""),w,S):b.el=_.el},C=(_,b,w,S)=>{[_.el,_.anchor]=m(_.children,b,w,S,_.el,_.anchor)},E=({el:_,anchor:b},w,S)=>{let L;for(;_&&_!==b;)L=d(_),r(_,w,S),_=L;r(b,w,S)},A=({el:_,anchor:b})=>{let w;for(;_&&_!==b;)w=d(_),o(_),_=w;o(b)},T=(_,b,w,S,L,k,D,x,N)=>{b.type==="svg"?D="svg":b.type==="math"&&(D="mathml"),_==null?P(b,w,S,L,k,D,x,N):q(_,b,L,k,D,x,N)},P=(_,b,w,S,L,k,D,x)=>{let N,O;const{props:M,shapeFlag:$,transition:j,dirs:K}=_;if(N=_.el=s(_.type,k,M&&M.is,M),$&8?u(N,_.children):$&16&&U(_.children,N,null,S,L,Qr(_,k),D,x),K&&Ye(_,null,S,"created"),V(N,_,_.scopeId,D,S),M){for(const re in M)re!=="value"&&!qt(re)&&i(N,re,null,M[re],k,_.children,S,L,tt);"value"in M&&i(N,"value",null,M.value,k),(O=M.onVnodeBeforeMount)&&Ve(O,S,_)}K&&Ye(_,null,S,"beforeMount");const Y=Yl(L,j);Y&&j.beforeEnter(N),r(N,b,w),((O=M&&M.onVnodeMounted)||Y||K)&&Ie(()=>{O&&Ve(O,S,_),Y&&j.enter(N),K&&Ye(_,null,S,"mounted")},L)},V=(_,b,w,S,L)=>{if(w&&h(_,w),S)for(let k=0;k<S.length;k++)h(_,S[k]);if(L){let k=L.subTree;if(b===k){const D=L.vnode;V(_,D,D.scopeId,D.slotScopeIds,L.parent)}}},U=(_,b,w,S,L,k,D,x,N=0)=>{for(let O=N;O<_.length;O++){const M=_[O]=x?pt(_[O]):Be(_[O]);y(null,M,b,w,S,L,k,D,x)}},q=(_,b,w,S,L,k,D)=>{const x=b.el=_.el;let{patchFlag:N,dynamicChildren:O,dirs:M}=b;N|=_.patchFlag&16;const $=_.props||ae,j=b.props||ae;let K;if(w&&Pt(w,!1),(K=j.onVnodeBeforeUpdate)&&Ve(K,w,b,_),M&&Ye(b,_,w,"beforeUpdate"),w&&Pt(w,!0),O?H(_.dynamicChildren,O,x,w,S,Qr(b,L),k):D||F(_,b,x,null,w,S,Qr(b,L),k,!1),N>0){if(N&16)X(x,b,$,j,w,S,L);else if(N&2&&$.class!==j.class&&i(x,"class",null,j.class,L),N&4&&i(x,"style",$.style,j.style,L),N&8){const Y=b.dynamicProps;for(let re=0;re<Y.length;re++){const le=Y[re],ge=$[le],$e=j[le];($e!==ge||le==="value")&&i(x,le,ge,$e,L,_.children,w,S,tt)}}N&1&&_.children!==b.children&&u(x,b.children)}else!D&&O==null&&X(x,b,$,j,w,S,L);((K=j.onVnodeUpdated)||M)&&Ie(()=>{K&&Ve(K,w,b,_),M&&Ye(b,_,w,"updated")},S)},H=(_,b,w,S,L,k,D)=>{for(let x=0;x<b.length;x++){const N=_[x],O=b[x],M=N.el&&(N.type===Pe||!mt(N,O)||N.shapeFlag&70)?f(N.el):w;y(N,O,M,null,S,L,k,D,!0)}},X=(_,b,w,S,L,k,D)=>{if(w!==S){if(w!==ae)for(const x in w)!qt(x)&&!(x in S)&&i(_,x,w[x],null,D,b.children,L,k,tt);for(const x in S){if(qt(x))continue;const N=S[x],O=w[x];N!==O&&x!=="value"&&i(_,x,O,N,D,b.children,L,k,tt)}"value"in S&&i(_,"value",w.value,S.value,D)}},Z=(_,b,w,S,L,k,D,x,N)=>{const O=b.el=_?_.el:l(""),M=b.anchor=_?_.anchor:l("");let{patchFlag:$,dynamicChildren:j,slotScopeIds:K}=b;K&&(x=x?x.concat(K):K),_==null?(r(O,w,S),r(M,w,S),U(b.children||[],w,M,L,k,D,x,N)):$>0&&$&64&&j&&_.dynamicChildren?(H(_.dynamicChildren,j,w,L,k,D,x),(b.key!=null||L&&b===L.subTree)&&Xl(_,b,!0)):F(_,b,w,M,L,k,D,x,N)},ne=(_,b,w,S,L,k,D,x,N)=>{b.slotScopeIds=x,_==null?b.shapeFlag&512?L.ctx.activate(b,w,S,D,N):_e(b,w,S,L,k,D,N):pe(_,b,N)},_e=(_,b,w,S,L,k,D)=>{const x=_.component=Ef(_,S,L);if(ii(_)&&(x.ctx.renderer=Ft),vf(x),x.asyncDep){if(L&&L.registerDep(x,B),!_.el){const N=x.subTree=ue(Ke);R(null,N,b,w)}}else B(x,_,b,w,L,k,D)},pe=(_,b,w)=>{const S=b.component=_.component;if(Cu(_,b,w))if(S.asyncDep&&!S.asyncResolved){J(S,b,w);return}else S.next=b,vu(S.update),S.effect.dirty=!0,S.update();else b.el=_.el,S.vnode=b},B=(_,b,w,S,L,k,D)=>{const x=()=>{if(_.isMounted){let{next:M,bu:$,u:j,parent:K,vnode:Y}=_;{const Ht=Ql(_);if(Ht){M&&(M.el=Y.el,J(_,M,D)),Ht.asyncDep.then(()=>{_.isUnmounted||x()});return}}let re=M,le;Pt(_,!1),M?(M.el=Y.el,J(_,M,D)):M=Y,$&&Kr($),(le=M.props&&M.props.onVnodeBeforeUpdate)&&Ve(le,K,M,Y),Pt(_,!0);const ge=Jr(_),$e=_.subTree;_.subTree=ge,y($e,ge,f($e.el),Vn($e),_,L,k),M.el=ge.el,re===null&&ni(_,ge.el),j&&Ie(j,L),(le=M.props&&M.props.onVnodeUpdated)&&Ie(()=>Ve(le,K,M,Y),L)}else{let M;const{el:$,props:j}=b,{bm:K,m:Y,parent:re}=_,le=Jt(b);if(Pt(_,!1),K&&Kr(K),!le&&(M=j&&j.onVnodeBeforeMount)&&Ve(M,re,b),Pt(_,!0),$&&Wr){const ge=()=>{_.subTree=Jr(_),Wr($,_.subTree,_,L,null)};le?b.type.__asyncLoader().then(()=>!_.isUnmounted&&ge()):ge()}else{const ge=_.subTree=Jr(_);y(null,ge,w,S,_,L,k),b.el=ge.el}if(Y&&Ie(Y,L),!le&&(M=j&&j.onVnodeMounted)){const ge=b;Ie(()=>Ve(M,re,ge),L)}(b.shapeFlag&256||re&&Jt(re.vnode)&&re.vnode.shapeFlag&256)&&_.a&&Ie(_.a,L),_.isMounted=!0,b=w=S=null}},N=_.effect=new Ko(x,je,()=>Dr(O),_.scope),O=_.update=()=>{N.dirty&&N.run()};O.id=_.uid,Pt(_,!0),O()},J=(_,b,w)=>{b.component=_;const S=_.vnode.props;_.vnode=b,_.next=null,sf(_,b.props,S,w),cf(_,b.children,w),Et(),Bi(_),vt()},F=(_,b,w,S,L,k,D,x,N=!1)=>{const O=_&&_.children,M=_?_.shapeFlag:0,$=b.children,{patchFlag:j,shapeFlag:K}=b;if(j>0){if(j&128){Mn(O,$,w,S,L,k,D,x,N);return}else if(j&256){et(O,$,w,S,L,k,D,x,N);return}}K&8?(M&16&&tt(O,L,k),$!==O&&u(w,$)):M&16?K&16?Mn(O,$,w,S,L,k,D,x,N):tt(O,L,k,!0):(M&8&&u(w,""),K&16&&U($,w,S,L,k,D,x,N))},et=(_,b,w,S,L,k,D,x,N)=>{_=_||Gt,b=b||Gt;const O=_.length,M=b.length,$=Math.min(O,M);let j;for(j=0;j<$;j++){const K=b[j]=N?pt(b[j]):Be(b[j]);y(_[j],K,w,null,L,k,D,x,N)}O>M?tt(_,L,k,!0,!1,$):U(b,w,S,L,k,D,x,N,$)},Mn=(_,b,w,S,L,k,D,x,N)=>{let O=0;const M=b.length;let $=_.length-1,j=M-1;for(;O<=$&&O<=j;){const K=_[O],Y=b[O]=N?pt(b[O]):Be(b[O]);if(mt(K,Y))y(K,Y,w,null,L,k,D,x,N);else break;O++}for(;O<=$&&O<=j;){const K=_[$],Y=b[j]=N?pt(b[j]):Be(b[j]);if(mt(K,Y))y(K,Y,w,null,L,k,D,x,N);else break;$--,j--}if(O>$){if(O<=j){const K=j+1,Y=K<M?b[K].el:S;for(;O<=j;)y(null,b[O]=N?pt(b[O]):Be(b[O]),w,Y,L,k,D,x,N),O++}}else if(O>j)for(;O<=$;)ze(_[O],L,k,!0),O++;else{const K=O,Y=O,re=new Map;for(O=Y;O<=j;O++){const De=b[O]=N?pt(b[O]):Be(b[O]);De.key!=null&&re.set(De.key,O)}let le,ge=0;const $e=j-Y+1;let Ht=!1,Ai=0;const cn=new Array($e);for(O=0;O<$e;O++)cn[O]=0;for(O=K;O<=$;O++){const De=_[O];if(ge>=$e){ze(De,L,k,!0);continue}let Je;if(De.key!=null)Je=re.get(De.key);else for(le=Y;le<=j;le++)if(cn[le-Y]===0&&mt(De,b[le])){Je=le;break}Je===void 0?ze(De,L,k,!0):(cn[Je-Y]=O+1,Je>=Ai?Ai=Je:Ht=!0,y(De,b[Je],w,null,L,k,D,x,N),ge++)}const Ci=Ht?mf(cn):Gt;for(le=Ci.length-1,O=$e-1;O>=0;O--){const De=Y+O,Je=b[De],Si=De+1<M?b[De+1].el:S;cn[O]===0?y(null,Je,w,Si,L,k,D,x,N):Ht&&(le<0||O!==Ci[le]?Tt(Je,w,Si,2):le--)}}},Tt=(_,b,w,S,L=null)=>{const{el:k,type:D,transition:x,children:N,shapeFlag:O}=_;if(O&6){Tt(_.component.subTree,b,w,S);return}if(O&128){_.suspense.move(b,w,S);return}if(O&64){D.move(_,b,w,Ft);return}if(D===Pe){r(k,b,w);for(let $=0;$<N.length;$++)Tt(N[$],b,w,S);r(_.anchor,b,w);return}if(D===Zn){E(_,b,w);return}if(S!==2&&O&1&&x)if(S===0)x.beforeEnter(k),r(k,b,w),Ie(()=>x.enter(k),L);else{const{leave:$,delayLeave:j,afterLeave:K}=x,Y=()=>r(k,b,w),re=()=>{$(k,()=>{Y(),K&&K()})};j?j(k,Y,re):re()}else r(k,b,w)},ze=(_,b,w,S=!1,L=!1)=>{const{type:k,props:D,ref:x,children:N,dynamicChildren:O,shapeFlag:M,patchFlag:$,dirs:j}=_;if(x!=null&&fr(x,null,w,_,!0),M&256){b.ctx.deactivate(_);return}const K=M&1&&j,Y=!Jt(_);let re;if(Y&&(re=D&&D.onVnodeBeforeUnmount)&&Ve(re,b,_),M&6)Pc(_.component,w,S);else{if(M&128){_.suspense.unmount(w,S);return}K&&Ye(_,null,b,"beforeUnmount"),M&64?_.type.remove(_,b,w,L,Ft,S):O&&(k!==Pe||$>0&&$&64)?tt(O,b,w,!1,!0):(k===Pe&&$&384||!L&&M&16)&&tt(N,b,w),S&&Ti(_)}(Y&&(re=D&&D.onVnodeUnmounted)||K)&&Ie(()=>{re&&Ve(re,b,_),K&&Ye(_,null,b,"unmounted")},w)},Ti=_=>{const{type:b,el:w,anchor:S,transition:L}=_;if(b===Pe){Tc(w,S);return}if(b===Zn){A(_);return}const k=()=>{o(w),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(_.shapeFlag&1&&L&&!L.persisted){const{leave:D,delayLeave:x}=L,N=()=>D(w,k);x?x(_.el,k,N):N()}else k()},Tc=(_,b)=>{let w;for(;_!==b;)w=d(_),o(_),_=w;o(b)},Pc=(_,b,w)=>{const{bum:S,scope:L,update:k,subTree:D,um:x}=_;S&&Kr(S),L.stop(),k&&(k.active=!1,ze(D,_,b,w)),x&&Ie(x,b),Ie(()=>{_.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},tt=(_,b,w,S=!1,L=!1,k=0)=>{for(let D=k;D<_.length;D++)ze(_[D],b,w,S,L)},Vn=_=>_.shapeFlag&6?Vn(_.component.subTree):_.shapeFlag&128?_.suspense.next():d(_.anchor||_.el);let Ur=!1;const Pi=(_,b,w)=>{_==null?b._vnode&&ze(b._vnode,null,null,!0):y(b._vnode||null,_,b,null,null,null,w),Ur||(Ur=!0,Bi(),ar(),Ur=!1),b._vnode=_},Ft={p:y,um:ze,m:Tt,r:Ti,mt:_e,mc:U,pc:F,pbc:H,n:Vn,o:e};let Gr,Wr;return t&&([Gr,Wr]=t(Ft)),{render:Pi,hydrate:Gr,createApp:rf(Pi,Gr)}}function Qr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Pt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Yl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Xl(e,t,n=!1){const r=e.children,o=t.children;if(W(r)&&W(o))for(let i=0;i<r.length;i++){const s=r[i];let l=o[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[i]=pt(o[i]),l.el=s.el),n||Xl(s,l)),l.type===en&&(l.el=s.el)}}function mf(e){const t=e.slice(),n=[0];let r,o,i,s,l;const a=e.length;for(r=0;r<a;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)l=i+s>>1,e[n[l]]<c?i=l+1:s=l;c<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function Ql(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ql(t)}const _f=e=>e.__isTeleport,Pe=Symbol.for("v-fgt"),en=Symbol.for("v-txt"),Ke=Symbol.for("v-cmt"),Zn=Symbol.for("v-stc"),gn=[];let Fe=null;function te(e=!1){gn.push(Fe=e?null:[])}function Zl(){gn.pop(),Fe=gn[gn.length-1]||null}let tn=1;function Zi(e){tn+=e}function ea(e){return e.dynamicChildren=tn>0?Fe||Gt:null,Zl(),tn>0&&Fe&&Fe.push(e),e}function Se(e,t,n,r,o,i){return ea(xe(e,t,n,r,o,i,!0))}function ke(e,t,n,r,o){return ea(ue(e,t,n,r,o,!0))}function Pn(e){return e?e.__v_isVNode===!0:!1}function mt(e,t){return e.type===t.type&&e.key===t.key}const ta=({key:e})=>e??null,er=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ce(e)||Te(e)||G(e)?{i:Re,r:e,k:t,f:!!n}:e:null);function xe(e,t=null,n=null,r=0,o=null,i=e===Pe?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ta(t),ref:t&&er(t),scopeId:Vr,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:Re};return l?(ai(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=ce(n)?8:16),tn>0&&!s&&Fe&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&Fe.push(a),a}const ue=gf;function gf(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Al)&&(e=Ke),Pn(e)){const l=nn(e,t,!0);return n&&ai(l,n),tn>0&&!i&&Fe&&(l.shapeFlag&6?Fe[Fe.indexOf(e)]=l:Fe.push(l)),l.patchFlag|=-2,l}if(Af(e)&&(e=e.__vccOpts),t){t=na(t);let{class:l,style:a}=t;l&&!ce(l)&&(t.class=Vt(l)),se(a)&&(ml(a)&&!W(a)&&(a=Ee({},a)),t.style=kr(a))}const s=ce(e)?1:Lu(e)?128:_f(e)?64:se(e)?4:G(e)?2:0;return xe(e,t,n,r,o,s,i,!0)}function na(e){return e?ml(e)||Ul(e)?Ee({},e):e:null}function nn(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:l,transition:a}=e,c=t?ra(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&ta(c),ref:t&&t.ref?n&&i?W(i)?i.concat(er(t)):[i,er(t)]:er(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pe?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nn(e.ssContent),ssFallback:e.ssFallback&&nn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&(u.transition=a.clone(u)),u}function dr(e=" ",t=0){return ue(en,null,e,t)}function At(e="",t=!1){return t?(te(),ke(Ke,null,e)):ue(Ke,null,e)}function Be(e){return e==null||typeof e=="boolean"?ue(Ke):W(e)?ue(Pe,null,e.slice()):typeof e=="object"?pt(e):ue(en,null,String(e))}function pt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nn(e)}function ai(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(W(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),ai(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Ul(t)?t._ctx=Re:o===3&&Re&&(Re.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else G(t)?(t={default:t,_ctx:Re},n=32):(t=String(t),r&64?(n=16,t=[dr(t)]):n=8);e.children=t,e.shapeFlag|=n}function ra(...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=Vt([t.class,r.class]));else if(o==="style")t.style=kr([t.style,r.style]);else if(In(o)){const i=t[o],s=r[o];s&&i!==s&&!(W(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=r[o])}return t}function Ve(e,t,n,r=null){qe(e,t,7,[n,r])}const yf=Bl();let bf=0;function Ef(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||yf,i={uid:bf++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new tl(!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:Wl(r,o),emitsOptions:Tl(r,o),emit:null,emitted:null,propsDefaults:ae,inheritAttrs:r.inheritAttrs,ctx:ae,data:ae,props:ae,attrs:ae,slots:ae,refs:ae,setupState:ae,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Ru.bind(null,i),e.ce&&e.ce(i),i}let he=null;const oa=()=>he||Re;let pr,Ro;{const e=Qs(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};pr=t("__VUE_INSTANCE_SETTERS__",n=>he=n),Ro=t("__VUE_SSR_SETTERS__",n=>xn=n)}const Nt=e=>{const t=he;return pr(e),e.scope.on(),()=>{e.scope.off(),pr(t)}},To=()=>{he&&he.scope.off(),pr(null)};function ia(e){return e.vnode.shapeFlag&4}let xn=!1;function vf(e,t=!1){t&&Ro(t);const{props:n,children:r}=e.vnode,o=ia(e);of(e,n,o,t),af(e,r);const i=o?wf(e,t):void 0;return t&&Ro(!1),i}function wf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ju);const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Tf(e):null,i=Nt(e);Et();const s=yt(r,e,0,[e.props,o]);if(vt(),i(),Wo(s)){if(s.then(To,To),t)return s.then(l=>{Po(e,l,t)}).catch(l=>{sn(l,e,0)});e.asyncDep=s}else Po(e,s,t)}else sa(e,t)}function Po(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=bl(t)),sa(e,n)}let es;function sa(e,t,n){const r=e.type;if(!e.render){if(!t&&es&&!r.render){const o=r.template||si(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=Ee(Ee({isCustomElement:i,delimiters:l},s),a);r.render=es(o,c)}}e.render=r.render||je}{const o=Nt(e);Et();try{Xu(e)}finally{vt(),o()}}}const Rf={get(e,t){return Ne(e,"get",""),e[t]}};function Tf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Rf),slots:e.slots,emit:e.emit,expose:t}}function ci(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(bl(fu(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in mn)return mn[n](e)},has(t,n){return n in t||n in mn}}))}function Pf(e,t=!0){return G(e)?e.displayName||e.name:e.name||t&&e.__name}function Af(e){return G(e)&&"__vccOpts"in e}const _t=(e,t)=>du(e,t,xn);function Ao(e,t,n){const r=arguments.length;return r===2?se(t)&&!W(t)?Pn(t)?ue(e,null,[t]):ue(e,t):ue(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Pn(n)&&(n=[n]),ue(e,t,n))}const la="3.4.27";/**
|
|
15
|
+
* @vue/runtime-dom v3.4.27
|
|
16
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
17
|
+
* @license MIT
|
|
18
|
+
**/const Cf="http://www.w3.org/2000/svg",Sf="http://www.w3.org/1998/Math/MathML",ht=typeof document<"u"?document:null,ts=ht&&ht.createElement("template"),Lf={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?ht.createElementNS(Cf,e):t==="mathml"?ht.createElementNS(Sf,e):ht.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>ht.createTextNode(e),createComment:e=>ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{ts.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const l=ts.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Of=Symbol("_vtc");function If(e,t,n){const r=e[Of];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ns=Symbol("_vod"),xf=Symbol("_vsh"),kf=Symbol(""),Nf=/(^|;)\s*display\s*:/;function Df(e,t,n){const r=e.style,o=ce(n);let i=!1;if(n&&!o){if(t)if(ce(t))for(const s of t.split(";")){const l=s.slice(0,s.indexOf(":")).trim();n[l]==null&&tr(r,l,"")}else for(const s in t)n[s]==null&&tr(r,s,"");for(const s in n)s==="display"&&(i=!0),tr(r,s,n[s])}else if(o){if(t!==n){const s=r[kf];s&&(n+=";"+s),r.cssText=n,i=Nf.test(n)}}else t&&e.removeAttribute("style");ns in e&&(e[ns]=i?r.display:"",e[xf]&&(r.display="none"))}const rs=/\s*!important$/;function tr(e,t,n){if(W(n))n.forEach(r=>tr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Mf(e,t);rs.test(n)?e.setProperty(on(r),n.replace(rs,""),"important"):e[r]=n}}const os=["Webkit","Moz","ms"],Zr={};function Mf(e,t){const n=Zr[t];if(n)return n;let r=Qe(t);if(r!=="filter"&&r in e)return Zr[t]=r;r=xr(r);for(let o=0;o<os.length;o++){const i=os[o]+r;if(i in e)return Zr[t]=i}return t}const is="http://www.w3.org/1999/xlink";function Vf(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(is,t.slice(6,t.length)):e.setAttributeNS(is,t,n);else{const i=Hc(t);n==null||i&&!Zs(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Bf(e,t,n,r,o,i,s){if(t==="innerHTML"||t==="textContent"){r&&s(r,o,i),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const c=l==="OPTION"?e.getAttribute("value")||"":e.value,u=n??"";(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Zs(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function jf(e,t,n,r){e.addEventListener(t,n,r)}function Ff(e,t,n,r){e.removeEventListener(t,n,r)}const ss=Symbol("_vei");function Hf(e,t,n,r,o=null){const i=e[ss]||(e[ss]={}),s=i[t];if(r&&s)s.value=r;else{const[l,a]=$f(t);if(r){const c=i[t]=Wf(r,o);jf(e,l,c,a)}else s&&(Ff(e,l,s,a),i[t]=void 0)}}const ls=/(?:Once|Passive|Capture)$/;function $f(e){let t;if(ls.test(e)){t={};let r;for(;r=e.match(ls);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):on(e.slice(2)),t]}let eo=0;const Uf=Promise.resolve(),Gf=()=>eo||(Uf.then(()=>eo=0),eo=Date.now());function Wf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;qe(qf(r,n.value),t,5,[r])};return n.value=e,n.attached=Gf(),n}function qf(e,t){if(W(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const as=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Kf=(e,t,n,r,o,i,s,l,a)=>{const c=o==="svg";t==="class"?If(e,r,c):t==="style"?Df(e,n,r):In(t)?Uo(t)||Hf(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):zf(e,t,r,c))?Bf(e,t,r,i,s,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Vf(e,t,r,c))};function zf(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&as(t)&&G(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 as(t)&&ce(n)?!1:t in e}const aa=Ee({patchProp:Kf},Lf);let yn,cs=!1;function Jf(){return yn||(yn=pf(aa))}function Yf(){return yn=cs?yn:hf(aa),cs=!0,yn}const Xf=(...e)=>{const t=Jf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ua(r);if(!o)return;const i=t._component;!G(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,ca(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},Qf=(...e)=>{const t=Yf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ua(r);if(o)return n(o,!0,ca(o))},t};function ca(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ua(e){return ce(e)?document.querySelector(e):e}const Zf=/"(?:_|\\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*:/,ed=/"(?: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*:/,td=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function nd(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){rd(e);return}return t}function rd(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function hr(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(!td.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Zf.test(e)||ed.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,nd)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const od=/#/g,id=/&/g,sd=/\//g,ld=/=/g,ui=/\+/g,ad=/%5e/gi,cd=/%60/gi,ud=/%7c/gi,fd=/%20/gi;function dd(e){return encodeURI(""+e).replace(ud,"|")}function Co(e){return dd(typeof e=="string"?e:JSON.stringify(e)).replace(ui,"%2B").replace(fd,"+").replace(od,"%23").replace(id,"%26").replace(cd,"`").replace(ad,"^").replace(sd,"%2F")}function to(e){return Co(e).replace(ld,"%3D")}function mr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function pd(e){return mr(e.replace(ui," "))}function hd(e){return mr(e.replace(ui," "))}function fi(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=pd(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=hd(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 md(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${to(e)}=${Co(n)}`).join("&"):`${to(e)}=${Co(t)}`:to(e)}function fa(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>md(t,e[t])).filter(Boolean).join("&")}const _d=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,gd=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,yd=/^([/\\]\s*){2,}[^/\\]/,bd=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Ed=/\/$|\/\?|\/#/,vd=/^\.?\//;function wd(e){return["./","../"].some(t=>e.startsWith(t))}function wt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?_d.test(e):gd.test(e)||(t.acceptRelative?yd.test(e):!1)}function Rd(e){return!!e&&bd.test(e)}function So(e="",t){return t?Ed.test(e):e.endsWith("/")}function jr(e="",t){if(!t)return(So(e)?e.slice(0,-1):e)||"/";if(!So(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[i,...s]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function _r(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(So(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 Td(e=""){return e.startsWith("/")}function us(e=""){return Td(e)?e:"/"+e}function Pd(e,t){if(pa(t)||wt(e))return e;const n=jr(t);return e.startsWith(n)?e:kn(n,e)}function Ad(e,t){if(pa(t))return e;const n=jr(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function da(e,t){const n=ln(e),r={...fi(n.search),...t};return n.search=fa(r),_a(n)}function pa(e){return!e||e==="/"}function Cd(e){return e&&e!=="/"}function kn(e,...t){let n=e||"";for(const r of t.filter(o=>Cd(o)))if(n){const o=r.replace(vd,"");n=_r(n)+o}else n=r;return n}function ha(...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&&wt(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 Sd(e,t,n={}){return n.trailingSlash||(e=_r(e),t=_r(t)),n.leadingSlash||(e=us(e),t=us(t)),n.encoding||(e=mr(e),t=mr(t)),e===t}const ma=Symbol.for("ufo:protocolRelative");function ln(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(!wt(e,{acceptRelative:!0}))return t?ln(t+e):fs(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",l=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:a,search:c,hash:u}=fs(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,[ma]:!r}}function fs(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function _a(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[ma]?(e.protocol||"")+"//":"")+o+i+t+n+r}class Ld extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Od(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 Ld(s,e.error?{cause:e.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(l,h,{get(){return e[h]}});for(const[h,m]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,h,{get(){return e.response&&e.response[m]}});return l}const Id=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ds(e="GET"){return Id.has(e.toUpperCase())}function xd(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 kd=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Nd=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Dd(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Nd.test(t)?"json":kd.has(t)||t.startsWith("text/")?"text":"blob"}function Md(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 Vd=new Set([408,409,425,429,500,502,503,504]),Bd=new Set([101,204,205,304]);function ga(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(l){const a=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!a){let u;typeof l.options.retry=="number"?u=l.options.retry:u=ds(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):Vd.has(f))){const d=l.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),i(l.request,{...l.options,retry:u-1})}}const c=Od(l);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(a,c={}){var h;const u={request:a,options:Md(c,e.defaults,n),response:void 0,error:void 0};u.options.method=(h=u.options.method)==null?void 0:h.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Pd(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=da(u.request,{...u.options.params,...u.options.query}))),u.options.body&&ds(u.options.method)&&(xd(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 m=new r;f=setTimeout(()=>m.abort(),u.options.timeout),u.options.signal=m.signal}try{u.response=await t(u.request,u.options)}catch(m){return u.error=m,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!Bd.has(u.response.status)&&u.options.method!=="HEAD"){const m=(u.options.parseResponse?"json":u.options.responseType)||Dd(u.response.headers.get("content-type")||"");switch(m){case"json":{const y=await u.response.text(),v=u.options.parseResponse||hr;u.response._data=v(y);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[m]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},s=async function(a,c){return(await i(a,c))._data};return s.raw=i,s.native=(...l)=>t(...l),s.create=(l={})=>ga({...e,defaults:{...e.defaults,...l}}),s}const di=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")}(),jd=di.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Fd=di.Headers,Hd=di.AbortController,$d=ga({fetch:jd,Headers:Fd,AbortController:Hd}),Ud=$d,Gd=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},gr=Gd().app,Wd=()=>gr.baseURL,qd=()=>gr.buildAssetsDir,pi=(...e)=>ha(ya(),qd(),...e),ya=(...e)=>{const t=gr.cdnURL||gr.baseURL;return e.length?ha(t,...e):t};globalThis.__buildAssetsURL=pi,globalThis.__publicAssetsURL=ya;globalThis.$fetch||(globalThis.$fetch=Ud.create({baseURL:Wd()}));function Lo(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Lo(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const Kd={run:e=>e()},zd=()=>Kd,ba=typeof console.createTask<"u"?console.createTask:zd;function Jd(e,t){const n=t.shift(),r=ba(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function Yd(e,t){const n=t.shift(),r=ba(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function no(e,t){for(const n of[...e])n(t)}class Xd{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Lo(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=Lo(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Jd,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Yd,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&no(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&no(this._after,o)}):(this._after&&o&&no(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Ea(){return new Xd}function Qd(e={}){let t,n=!1;const r=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o&&t===void 0){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,l)=>{l||r(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,l)=>{r(s),t=s;try{return o?o.run(s,l):l()}finally{n||(t=void 0)}},async callAsync(s,l){t=s;const a=()=>{t=s},c=()=>t===s?a:void 0;Oo.add(c);try{const u=o?o.run(s,l):l();return n||(t=void 0),await u}finally{Oo.delete(c)}}}}function Zd(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Qd({...e,...r})),t[n],t[n]}}}const yr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},ps="__unctx__",ep=yr[ps]||(yr[ps]=Zd()),tp=(e,t={})=>ep.get(e,t),hs="__unctx_async_handlers__",Oo=yr[hs]||(yr[hs]=new Set);function va(e){const t=[];for(const o of Oo){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 wa=tp("nuxt-app",{asyncContext:!1}),np="__nuxt_plugin";function rp(e){let t=0;const n={_scope:$c(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.2"},get vue(){return n.vueApp.version}},payload:Ze({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>sp(n,o)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Ea(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;qn(n,s,i),qn(n.vueApp.config.globalProperties,s,i)},qn(n.vueApp,"$nuxt",n),qn(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||fe;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}async function op(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function ip(e,t){const n=[],r=[],o=[],i=[];let s=0;async function l(a){var u;const c=((u=a.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),a]);else{const f=op(e,a).then(async()=>{a._name&&(n.push(a._name),await Promise.all(r.map(async([d,h])=>{d.has(a._name)&&(d.delete(a._name),d.size===0&&(s++,await l(h)))})))});a.parallel?o.push(f.catch(d=>i.push(d))):await f}}for(const a of t)await l(a);if(await Promise.all(o),s)for(let a=0;a<s;a++)await Promise.all(o);if(i.length)throw i[0]}function lt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[np]:!0,_name:t})}function sp(e,t,n){const r=()=>t();return wa.set(e),e.vueApp.runWithContext(r)}function lp(){var t;let e;return Fl()&&(e=(t=oa())==null?void 0:t.appContext.app.$nuxt),e=e||wa.tryUse(),e||null}function fe(){const e=lp();if(!e)throw new Error("[nuxt] instance unavailable");return e}function An(e){return fe().$config}function qn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function ap(e,t){return{ctx:{table:e},matchAll:n=>Ta(n,e)}}function Ra(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,Ra(o)])):new Map(Object.entries(e[n]));return t}function cp(e){return ap(Ra(e))}function Ta(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of ms(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of ms(t.dynamic))if(e.startsWith(i+"/")){const l="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...Ta(l,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function ms(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function ro(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Io(e,t,n=".",r){if(!ro(t))return Io(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:ro(s)&&ro(o[i])?o[i]=Io(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function Pa(e){return(...t)=>t.reduce((n,r)=>Io(n,r,"",e),{})}const up=Pa(),fp=Pa((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function dp(e,t){try{return t in e}catch{return!1}}var pp=Object.defineProperty,hp=(e,t,n)=>t in e?pp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ct=(e,t,n)=>(hp(e,typeof t!="symbol"?t+"":t,n),n);class xo extends Error{constructor(t,n={}){super(t,n),Ct(this,"statusCode",500),Ct(this,"fatal",!1),Ct(this,"unhandled",!1),Ct(this,"statusMessage"),Ct(this,"data"),Ct(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:ko(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Aa(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Ct(xo,"__h3_error__",!0);function mp(e){if(typeof e=="string")return new xo(e);if(_p(e))return e;const t=new xo(e.message??e.statusMessage??"",{cause:e.cause||e});if(dp(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=ko(e.statusCode,t.statusCode):e.status&&(t.statusCode=ko(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Aa(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function _p(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const gp=/[^\u0009\u0020-\u007E]/g;function Aa(e=""){return e.replace(gp,"")}function ko(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Ca=Symbol("route"),Rt=()=>{var e;return(e=fe())==null?void 0:e.$router},Sa=()=>Fl()?_n(Ca,fe()._route):fe()._route;const yp=()=>{try{if(fe()._processingMiddleware)return!0}catch{return!1}return!1},La=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:da(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)||wt(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=ln(n).protocol;if(l&&Rd(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=yp();if(!r&&o)return e;const i=Rt(),s=fe();return r?(s._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?s.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)},Oa="__nuxt_error",hi=()=>El(fe().payload,"error"),bp=e=>{const t=mi(e);try{const n=fe(),r=hi();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},Ep=async(e={})=>{const t=fe(),n=hi();t.callHook("app:error:cleared",e),e.redirect&&await Rt().replace(e.redirect),n.value=null},vp=e=>!!e&&typeof e=="object"&&Oa in e,mi=e=>{const t=mp(e);return Object.defineProperty(t,Oa,{value:!0,configurable:!1,writable:!1}),t},wp=-1,Rp=-2,Tp=-3,Pp=-4,Ap=-5,Cp=-6;function Sp(e,t){return Lp(JSON.parse(e),t)}function Lp(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===wp)return;if(i===Tp)return NaN;if(i===Pp)return 1/0;if(i===Ap)return-1/0;if(i===Cp)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const l=n[i];if(!l||typeof l!="object")r[i]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const a=l[0],c=t==null?void 0:t[a];if(c)return r[i]=c(o(l[1]));switch(a){case"Date":r[i]=new Date(l[1]);break;case"Set":const u=new Set;r[i]=u;for(let h=1;h<l.length;h+=1)u.add(o(l[h]));break;case"Map":const f=new Map;r[i]=f;for(let h=1;h<l.length;h+=2)f.set(o(l[h]),o(l[h+1]));break;case"RegExp":r[i]=new RegExp(l[1],l[2]);break;case"Object":r[i]=Object(l[1]);break;case"BigInt":r[i]=BigInt(l[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let h=1;h<l.length;h+=2)d[l[h]]=o(l[h+1]);break;default:throw new Error(`Unknown type ${a}`)}}else{const a=new Array(l.length);r[i]=a;for(let c=0;c<l.length;c+=1){const u=l[c];u!==Rp&&(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 Op(e){return Array.isArray(e)?e:[e]}const Ip=["title","titleTemplate","script","style","noscript"],nr=["base","meta","link","style","script","noscript"],xp=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],kp=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Ia=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],Np=typeof window<"u";function _i(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 _s(e){return e._h||_i(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function xa(e,t){const{props:n,tag:r}=e;if(kp.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`${r}:${i}:${s}`}return!1}function gs(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Dp(e,t,n){const r={tag:e,props:await ka(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return Ia.forEach(o=>{const i=typeof r.props[o]<"u"?r.props[o]:n[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||Ip.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 Mp(e,t){var r;const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,i])=>e==="style"?`${o}:${i}`:o)),(r=Array.isArray(t)?t.join(n):t)==null?void 0:r.split(n).filter(o=>o.trim()).filter(Boolean).join(n)}async function ka(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=Mp(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!Ia.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 Vp=10;async function Bp(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&xp.includes(n)).forEach(([n,r])=>{const o=Op(r);t.push(...o.map(i=>Dp(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<<Vp)+r,n))}const ys={base:-10,title:10},bs={critical:-80,high:-10,low:20};function br(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in ys&&(t=ys[e.tag]),typeof n=="string"&&n in bs?t+bs[n]:t)}const jp=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Es=["onload","onerror","onabort","onprogress","onloadstart"],ft="%separator";function rr(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(s){let l;return["s","pageTitle"].includes(s)?l=t.pageTitle:s.includes(".")?l=s.split(".").reduce((a,c)=>a&&a[c]||void 0,t):l=t[s],typeof l<"u"?(l||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(s=>{const l=r(s.slice(1));typeof l=="string"&&(e=e.replace(new RegExp(`\\${s}(\\W|$)`,"g"),(a,c)=>`${l}${c}`).trim())}),e.includes(ft)&&(e.endsWith(ft)&&(e=e.slice(0,-ft.length).trim()),e.startsWith(ft)&&(e=e.slice(ft.length).trim()),e=e.replace(new RegExp(`\\${ft}\\s*\\${ft}`,"g"),ft),e=rr(e,{separator:n},n)),e}async function Na(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:nr.includes(f.tag)?_s(f):f.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n[f])==null?void 0:u.children,h=[];for(const m of[...d].filter(y=>nr.includes(y.tagName.toLowerCase()))){const y={tag:m.tagName.toLowerCase(),props:await ka(m.getAttributeNames().reduce((C,E)=>({...C,[E]:m.getAttribute(E)}),{})),innerHTML:m.innerHTML};let v=1,R=xa(y);for(;R&&h.find(C=>C._d===R);)R=`${R}:${v++}`;y._d=R||void 0,h.push(y),i.elMap[m.getAttribute("data-hid")||_s(y)]=m}}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function s(f,d,h){const m=`${f}:${d}`;i.sideEffects[m]=h,delete i.pendingSideEffects[m]}function l({id:f,$el:d,tag:h}){const m=h.tag.endsWith("Attrs");i.elMap[f]=d,m||(["textContent","innerHTML"].forEach(y=>{h[y]&&h[y]!==d[y]&&(d[y]=h[y])}),s(f,"el",()=>{var y;(y=i.elMap[f])==null||y.remove(),delete i.elMap[f]}));for(const[y,v]of Object.entries(h._eventHandlers||{}))d.getAttribute(`data-${y}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:d).addEventListener(y.replace("on",""),v.bind(d)),d.setAttribute(`data-${y}`,""));Object.entries(h.props).forEach(([y,v])=>{const R=`attr:${y}`;if(y==="class")for(const C of(v||"").split(" ").filter(Boolean))m&&s(f,`${R}:${C}`,()=>d.classList.remove(C)),!d.classList.contains(C)&&d.classList.add(C);else if(y==="style")for(const C of(v||"").split(";").filter(Boolean)){const[E,...A]=C.split(":").map(T=>T.trim());s(f,`${R}:${C}:${E}`,()=>{d.style.removeProperty(E)}),d.style.setProperty(E,A.join(":"))}else d.getAttribute(y)!==v&&d.setAttribute(y,v===!0?"":String(v)),m&&s(f,R,()=>d.removeAttribute(y))})}const a=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:h,id:m}=f;if(h){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||i.elMap[m],f.$el?l(f):nr.includes(d.tag)&&a.push(f)}}for(const f of a){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),c[d]=c[d]||n.createDocumentFragment(),c[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,s);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(i.pendingSideEffects).forEach(f=>f()),e._dom=i,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function Fp(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await Na(e,t),delete e._domUpdatePromise,r()}))}function Hp(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){Fp(i,e)}}}}}const $p=["templateParams","htmlAttrs","bodyAttrs"],Up={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=xa(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&&$p.includes(r.tag)&&(l="merge"),l==="merge"){const a=i.props;["class","style"].forEach(c=>{a[c]&&(r.props[c]?(c==="style"&&!a[c].endsWith(";")&&(a[c]+=";"),r.props[c]=`${a[c]} ${r.props[c]}`):r.props[c]=a[c])}),t[o].props={...a,...r.props};return}else if(r._e===i._e){i._duped=i._duped||[],r._d=`${i._d}:${i._duped.length+1}`,i._duped.push(r);return}else if(br(r)>br(i))return}const s=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(nr.includes(r.tag)&&s===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},Gp={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"}})}}},Wp=["script","link","bodyAttrs"],qp=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>Wp.includes(r.tag)))Object.entries(n.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"&&(e.ssr&&Es.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||_i(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=>Es.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","")))}}}}),Kp=["link","style","script","noscript"],zp={hooks:{"tag:normalise":({tag:e})=>{e.key&&Kp.includes(e.tag)&&(e.props["data-hid"]=e._h=_i(e.key))}}},Jp={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 jp)for(const o of e.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(n))){const i=t(o.tagPriority.replace(n,""));typeof i<"u"&&(o._p=i+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>br(n)-br(r))}}},Yp={meta:"content",link:"href",htmlAttrs:"lang"},Xp=e=>({hooks:{"tags:resolve":t=>{var l;const{tags:n}=t,r=(l=n.find(a=>a.tag==="title"))==null?void 0:l.textContent,o=n.findIndex(a=>a.tag==="templateParams"),i=o!==-1?n[o].props:{},s=i.separator||"|";delete i.separator,i.pageTitle=rr(i.pageTitle||r||"",i,s);for(const a of n.filter(c=>c.processTemplateParams!==!1)){const c=Yp[a.tag];c&&typeof a.props[c]=="string"?a.props[c]=rr(a.props[c],i,s):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(u=>{typeof a[u]=="string"&&(a[u]=rr(a[u],i,s))})}e._templateParams=i,e._separator=s,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),Qp={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=gs(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=gs(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)}}},Zp={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}`))}}};function eh(e={}){const t=th(e);return t.use(Hp()),t}function vs(e,t){return!e||e==="server"&&t||e==="client"&&!t}function th(e={}){const t=Ea();t.addHooks(e.hooks||{}),e.document=e.document||(Np?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),vs(c.mode,n)&&t.addHooks(c.hooks||{}))},push(a,c){c==null||delete c.head;const u={_i:o++,input:a,...c};return vs(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 Bp(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[Up,Gp,qp,zp,Jp,Xp,Qp,Zp,...(e==null?void 0:e.plugins)||[]].forEach(a=>l.use(a)),l.hooks.callHook("init",l),l}const nh=la.startsWith("3");function rh(e){return typeof e=="function"?e():ie(e)}function No(e,t=""){if(e instanceof Promise)return e;const n=rh(e);return!e||!n?n:Array.isArray(n)?n.map(r=>No(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,ie(o)]:[r,No(o,r)])):n}const oh={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=No(t.input)}}},ih="usehead";function sh(e){return{install(n){nh&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(ih,e))}}.install}function lh(e={}){e.domDelayFn=e.domDelayFn||(n=>ti(()=>setTimeout(()=>n(),0)));const t=eh(e);return t.use(oh),t.install=sh(t),t}const ah=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ch="__unhead_injection_handler__";function uh(e){ah[ch]=e}const fh={nuxt:{buildId:"3255a134-7caf-4d76-96f4-05475e276415"}},dh=fp(fh);function Da(){const e=fe();return e._appConfig||(e._appConfig=Ze(dh)),e._appConfig}const ph={componentName:"NuxtLink"},hh="#__nuxt";let or,Ma;function mh(){var t;const e=(t=Da().nuxt)==null?void 0:t.buildId;return or=$fetch(pi(`builds/meta/${e}.json`)),or.then(n=>{Ma=cp(n.matcher)}),or}function Fr(){return or||mh()}async function gi(e){return await Fr(),up({},...Ma.matchAll(e).reverse())}function ws(e,t={}){const n=gh(e,t),r=fe(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=yh(e).then(i=>i?Va(n).then(s=>s||(delete o[n],null)):(o[n]=null,null))),o[n]}const _h="_payload.json";function gh(e,t={}){var o;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||wt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(o=Da().nuxt)==null?void 0:o.buildId);return kn(An().app.baseURL,n.pathname,_h+(r?`?${r}`:""))}async function Va(e){const t=fetch(e).then(n=>n.text().then(Ba));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function yh(e=Sa().path){if(e=jr(e),(await Fr()).prerendered.includes(e))return!0;const n=await gi(e);return!!n.prerender&&!n.redirect}let Kn=null;async function bh(){if(Kn)return Kn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Ba(e.textContent||""),n=e.dataset.src?await Va(e.dataset.src):void 0;return Kn={...t,...n,...window.__NUXT__},Kn}async function Ba(e){return await Sp(e,fe()._payloadRevivers)}function Eh(e,t){fe()._payloadRevivers[e]=t}const Rs={NuxtError:e=>mi(e),EmptyShallowRef:e=>Vi(e==="_"?void 0:e==="0n"?BigInt(0):hr(e)),EmptyRef:e=>We(e==="_"?void 0:e==="0n"?BigInt(0):hr(e)),ShallowRef:e=>Vi(e),ShallowReactive:e=>pl(e),Ref:e=>We(e),Reactive:e=>Ze(e)},vh=lt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Rs)Eh(r,Rs[r]);Object.assign(e.payload,([t,n]=va(()=>e.runWithContext(bh)),t=await t,n(),t)),window.__NUXT__=e.payload}}),wh=[],Rh=lt({name:"nuxt:head",enforce:"pre",setup(e){const t=lh({plugins:wh});uh(()=>fe().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Na(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)}}}),Th=async e=>{let t,n;const r=([t,n]=va(()=>gi(e.path)),t=await t,n(),t);if(r.redirect)return wt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Ph=[Th];function oo(e){typeof e=="object"&&(e=_a({pathname:e.path||"",search:fa(e.query||{}),hash:e.hash||""}));const t=ln(e.toString());return{path:t.pathname,fullPath:e,query:fi(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const Ah=lt({name:"nuxt:router",enforce:"pre",setup(e){const t=Ad(window.location.pathname,An().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(f,d)=>(r[f].push(d),()=>r[f].splice(r[f].indexOf(d),1)),i=An().app.baseURL,s=Ze(oo(t));async function l(f,d){try{const h=oo(f);for(const m of r["navigate:before"]){const y=await m(h,s);if(y===!1||y instanceof Error)return;if(typeof y=="string"&&y.length)return l(y,!0)}for(const m of r["resolve:before"])await m(h,s);Object.assign(s,h),window.history[d?"replaceState":"pushState"]({},"",kn(i,h.fullPath)),e.isHydrating||await e.runWithContext(Ep);for(const m of r["navigate:after"])await m(h,s)}catch(h){for(const m of r.error)await m(h)}}const c={currentRoute:_t(()=>s),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>l(f,!1),replace:f=>l(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>o("resolve:before",f),beforeEach:f=>o("navigate:before",f),afterEach:f=>o("navigate:after",f),onError:f=>o("error",f),resolve:oo,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(h=>h.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",Bt({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const h=()=>l(f.to,f.replace);return()=>{var y;const m=c.resolve(f.to);return f.custom?(y=d.default)==null?void 0:y.call(d,{href:f.to,navigate:h,route:m}):Ao("a",{href:f.to,onClick:v=>(v.preventDefault(),h())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),e._route=s,e._middleware=e._middleware||{global:[],named:{}};const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=Ze(f.meta||{}),e.isHydrating&&u&&!Zt(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const h=new Set([...Ph,...e._middleware.global]);{const m=await e.runWithContext(()=>gi(f.path));if(m.appMiddleware)for(const y in m.appMiddleware){const v=e._middleware.named[y];if(!v)return;m.appMiddleware[y]?h.add(v):h.delete(v)}}for(const m of h){const y=await e.runWithContext(()=>m(f,d));if(y!==!0&&(y||y===!1))return y}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),Sd(s.fullPath,t)||await e.runWithContext(()=>La(s.fullPath))}),{provide:{route:s,router:c}}}}),Do=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Ch=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),yi=e=>{const t=fe();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Do(e)}):Do(e)},Sh=lt({name:"nuxt:payload",setup(e){Rt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await ws(t.path);r&&Object.assign(e.static.data,r.data)}),yi(()=>{var t;e.hooks.hook("link:prefetch",async n=>{ln(n).protocol||await ws(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Fr,1e3)})}}),Lh=lt(e=>{let t;async function n(){const r=await Fr();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);try{const o=await $fetch(pi("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}yi(()=>{t=setTimeout(n,1e3*60*60)})}),Oh=lt({name:"nuxt:global-components"}),Ih="$s";function xh(...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=Ih+n,i=fe(),s=El(i.payload.state,o);if(s.value===void 0&&r){const l=r();if(Te(l))return i.payload.state[o]=l,l;s.value=l}return s}const kh="__NUXT_COLOR_MODE__",Nh="nuxt-color-mode",nt=window[kh]||{},Dh=lt(e=>{const t=xh("color-mode",()=>Ze({preference:nt.preference,value:nt.value,unknown:!1,forced:!1})).value;Rt().afterEach(o=>{const i=o.meta.colorMode;i&&i!=="system"?(t.value=i,t.forced=!0):(i==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?nt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=nt.getColorScheme())}))}hn(()=>t.preference,o=>{var i;t.forced||(o==="system"?(t.value=nt.getColorScheme(),r()):t.value=o,(i=window.localStorage)==null||i.setItem(Nh,o))},{immediate:!0}),hn(()=>t.value,(o,i)=>{nt.removeColorScheme(i),nt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=nt.preference,t.value=nt.value,t.unknown=!1)}),e.provide("colorMode",t)}),Mh=lt(()=>{});function Vh(e={}){const t=e.path||window.location.pathname;let n={};try{n=hr(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:fe().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Bh=lt({name:"nuxt:chunk-reload",setup(e){const t=Rt(),n=An(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const l="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:kn(n.app.baseURL,i.fullPath);Vh({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),jh=[vh,Rh,Ah,Sh,Lh,Oh,Dh,Mh,Bh],Fh="modulepreload",Hh=function(e,t){return e[0]==="."?new URL(e,t).href:e},Ts={},$h=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=Hh(a,r),a in Ts)return;Ts[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let h=i.length-1;h>=0;h--){const m=i[h];if(m.href===a&&(!c||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":Fh,c||(d.as="script",d.crossOrigin=""),d.href=a,l&&d.setAttribute("nonce",l),document.head.appendChild(d),c)return new Promise((h,m)=>{d.addEventListener("load",h),d.addEventListener("error",()=>m(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})},p=(...e)=>$h(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Uh=Bt({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(te(),Se("div",{class:Vt(["n-icon",t.icon])},null,2))}});async function ja(e,t=Rt()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>ja(e,t));t._routePreloaded.add(n);const i=r.map(s=>{var l;return(l=s.components)==null?void 0:l.default}).filter(s=>typeof s=="function");for(const s of i){const l=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(l)));o.push(l)}await Promise.all(o)}const Gh=(...e)=>e.find(t=>t!==void 0);function Wh(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 Ps(r,e.trailingSlash);const i="path"in r&&r.path!==void 0?r.path:o(r).path;return{...r,name:void 0,path:Ps(i,e.trailingSlash)}}return Bt({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=Rt(),s=An(),l=_t(()=>{const m=r.to||r.href||"";return n(m,i.resolve)}),a=_t(()=>typeof l.value=="string"&&wt(l.value,{acceptRelative:!0})),c=_t(()=>r.target&&r.target!=="_self"),u=_t(()=>r.external||c.value?!0:typeof l.value=="object"?!1:l.value===""||a.value),f=We(!1),d=We(null),h=m=>{var y;d.value=r.custom?(y=m==null?void 0:m.$el)==null?void 0:y.nextElementSibling:m==null?void 0:m.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!zh()){const y=fe();let v,R=null;xl(()=>{const C=Kh();yi(()=>{v=Do(()=>{var E;(E=d==null?void 0:d.value)!=null&&E.tagName&&(R=C.observe(d.value,async()=>{R==null||R(),R=null;const A=typeof l.value=="string"?l.value:i.resolve(l.value).fullPath;await Promise.all([y.hooks.callHook("link:prefetch",A).catch(()=>{}),!u.value&&ja(l.value,i).catch(()=>{})]),f.value=!0}))})})}),kl(()=>{v&&Ch(v),R==null||R(),R=null})}return()=>{var R,C;if(!u.value){const E={ref:h,to:l.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(f.value&&(E.class=r.prefetchedClass||e.prefetchedClass),E.rel=r.rel||void 0),Ao(Su("RouterLink"),E,o.default)}const m=typeof l.value=="object"?((R=i.resolve(l.value))==null?void 0:R.href)??null:l.value&&!r.external&&!a.value?n(kn(s.app.baseURL,l.value),i.resolve):l.value||null,y=r.target||null,v=Gh(r.noRel?"":r.rel,e.externalRelAttribute,a.value||c.value?"noopener noreferrer":"")||null;if(r.custom){if(!o.default)return null;const E=()=>La(m,{replace:r.replace,external:r.external});return o.default({href:m,navigate:E,get route(){if(!m)return;const A=ln(m);return{path:A.pathname,fullPath:A.pathname,get query(){return fi(A.search)},hash:A.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:m}},rel:v,target:y,isExternal:u.value,isActive:!1,isExactActive:!1})}return Ao("a",{ref:d,href:m,rel:v,target:y},(C=o.default)==null?void 0:C.call(o))}}})}const qh=Wh(ph);function Ps(e,t){const n=t==="append"?_r:jr;return wt(e)&&!e.startsWith("http")?e:n(e,!0)}function Kh(){const e=fe();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,s)=>(t||(t=new IntersectionObserver(l=>{for(const a of l){const c=n.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&c&&c()}})),n.set(i,s),t.observe(i),()=>{n.delete(i),t.unobserve(i),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function zh(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const Jh=Bt({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const r=Uh;return te(),ke(Cl(t.to?ie(qh):"button"),ra({to:t.to},{...t.$attrs,...!t.to&&{type:t.type},...t.disabled?{disabled:!0}:{tabindex:0}},{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":t.border},{"n-icon-button":!t.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:Rn(()=>[Gi(t.$slots,"icon",{},()=>[t.icon?(te(),ke(r,{key:0,icon:t.icon,class:Vt({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):At("",!0)]),Gi(t.$slots,"default")]),_:3},16,["to","class"])}}}),Fa=[{id:"abap",name:"ABAP",import:()=>p(()=>import("./DXFkqnOI.js"),[],import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>p(()=>import("./D6NljDpC.js"),[],import.meta.url)},{id:"ada",name:"Ada",import:()=>p(()=>import("./CowR2XfX.js"),[],import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>p(()=>import("./COIrKlfF.js").then(e=>e.e),__vite__mapDeps([0,1,2,3]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>p(()=>import("./CNkYXcD4.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>p(()=>import("./rS0jd3Ly.js"),[],import.meta.url)},{id:"apex",name:"Apex",import:()=>p(()=>import("./Sfo2eW0G.js"),[],import.meta.url)},{id:"apl",name:"APL",import:()=>p(()=>import("./DC4hdoM9.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>p(()=>import("./B4yE-MfL.js"),[],import.meta.url)},{id:"ara",name:"Ara",import:()=>p(()=>import("./CG4fK2Nq.js"),[],import.meta.url)},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>p(()=>import("./DGMFlOLs.js"),__vite__mapDeps([10,1,2,3,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,8,9,28,29,30,31,32,33,34,35,36,37,7,38,39,40,41,42,43,5,44,45,46]),import.meta.url)},{id:"asm",name:"Assembly",import:()=>p(()=>import("./PWN5J14X.js"),[],import.meta.url)},{id:"astro",name:"Astro",import:()=>p(()=>import("./BXR915QZ.js"),__vite__mapDeps([47,9,2,46,48,42,3,5,33,49,50]),import.meta.url)},{id:"awk",name:"AWK",import:()=>p(()=>import("./i0IPvypD.js"),[],import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>p(()=>import("./T9ysyp6P.js"),[],import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>p(()=>import("./BPiaQZfK.js"),[],import.meta.url)},{id:"beancount",name:"Beancount",import:()=>p(()=>import("./Urb1RsFe.js"),[],import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>p(()=>import("./CxrokwfH.js"),[],import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>p(()=>import("./BaedD2tq.js"),[],import.meta.url)},{id:"bicep",name:"Bicep",import:()=>p(()=>import("./3ghuYFLd.js"),[],import.meta.url)},{id:"blade",name:"Blade",import:()=>p(()=>import("./C1DVX8_8.js"),__vite__mapDeps([51,1,2,3,7,8,18,9]),import.meta.url)},{id:"c",name:"C",import:()=>p(()=>import("./RCJZWN-0.js"),[],import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>p(()=>import("./Bgpqy2XC.js"),[],import.meta.url)},{id:"clarity",name:"Clarity",import:()=>p(()=>import("./CIekO_uJ.js"),[],import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>p(()=>import("./BF6G6X0H.js"),[],import.meta.url)},{id:"cmake",name:"CMake",import:()=>p(()=>import("./DXZpi2gR.js"),[],import.meta.url)},{id:"cobol",name:"COBOL",import:()=>p(()=>import("./Cgl53LJQ.js"),__vite__mapDeps([52,18,1,2,3,8]),import.meta.url)},{id:"codeowners",name:"CODEOWNERS",import:()=>p(()=>import("./CGmujMTu.js"),[],import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>p(()=>import("./BOpLLL-w.js"),[],import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>p(()=>import("./Bg0wAK5a.js"),__vite__mapDeps([15,2]),import.meta.url)},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>p(()=>import("./C3qUB5O8.js"),[],import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>p(()=>import("./BOnd8D4O.js"),__vite__mapDeps([16,17,13,18]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>p(()=>import("./B6bHXiXE.js"),__vite__mapDeps([53,1,2,3,18,13,39]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>p(()=>import("./DISxKEhY.js"),[],import.meta.url)},{id:"css",name:"CSS",import:()=>p(()=>import("./CbYhyuC0.js"),[],import.meta.url)},{id:"csv",name:"CSV",import:()=>p(()=>import("./B2DkETJQ.js"),[],import.meta.url)},{id:"cue",name:"CUE",import:()=>p(()=>import("./C6Aznpr-.js"),[],import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>p(()=>import("./ByMv4Xf1.js"),[],import.meta.url)},{id:"d",name:"D",import:()=>p(()=>import("./PifQWv0n.js"),[],import.meta.url)},{id:"dart",name:"Dart",import:()=>p(()=>import("./DZLoTQm4.js"),[],import.meta.url)},{id:"dax",name:"DAX",import:()=>p(()=>import("./DsfXcHUZ.js"),[],import.meta.url)},{id:"desktop",name:"Desktop",import:()=>p(()=>import("./D71BffLY.js"),[],import.meta.url)},{id:"diff",name:"Diff",import:()=>p(()=>import("./DvyTQcux.js"),[],import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>p(()=>import("./DNR26wTC.js"),[],import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>p(()=>import("./Eh5U-gDp.js"),[],import.meta.url)},{id:"elixir",name:"Elixir",import:()=>p(()=>import("./BaNxgKSR.js"),__vite__mapDeps([22,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>p(()=>import("./RE3ujT-k.js"),__vite__mapDeps([23,17,13]),import.meta.url)},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>p(()=>import("./BEjL32p1.js"),[],import.meta.url)},{id:"erb",name:"ERB",import:()=>p(()=>import("./ChMCFiS0.js"),__vite__mapDeps([54,1,2,3,38,7,8,18,13,39,40]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>p(()=>import("./DS9ZWoKD.js"),[],import.meta.url)},{id:"fennel",name:"Fennel",import:()=>p(()=>import("./C6XIsc4F.js"),[],import.meta.url)},{id:"fish",name:"Fish",import:()=>p(()=>import("./DfeQjIbs.js"),[],import.meta.url)},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>p(()=>import("./KPqz0Sb3.js"),[],import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>p(()=>import("./sQpxpyUs.js"),__vite__mapDeps([55,56]),import.meta.url)},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>p(()=>import("./D6pmzCqS.js"),[],import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>p(()=>import("./Djqq6n-7.js"),__vite__mapDeps([57,58]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>p(()=>import("./NL97_oaV.js"),__vite__mapDeps([59,60,61]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>p(()=>import("./CoEqzGFw.js"),[],import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>p(()=>import("./B_SUYfiV.js"),[],import.meta.url)},{id:"genie",name:"Genie",import:()=>p(()=>import("./DAfrLhwG.js"),[],import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>p(()=>import("./DjTlIhuc.js"),[],import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>p(()=>import("./DAVo6uMX.js"),__vite__mapDeps([62,20]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>p(()=>import("./JgH_6NEN.js"),__vite__mapDeps([63,39]),import.meta.url)},{id:"gleam",name:"Gleam",import:()=>p(()=>import("./Dd6f7Z5P.js"),[],import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>p(()=>import("./Bbv8ARUV.js"),__vite__mapDeps([64,2,46,3,1]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>p(()=>import("./CQUCfALx.js"),__vite__mapDeps([65,46,3,2,1]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>p(()=>import("./DouzTJIq.js"),__vite__mapDeps([17,13]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>p(()=>import("./nclm9rTJ.js"),[],import.meta.url)},{id:"go",name:"Go",import:()=>p(()=>import("./BAMIS8DD.js"),[],import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>p(()=>import("./BN4LRXf6.js"),__vite__mapDeps([66,2,46,28,50]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>p(()=>import("./wChcbJ1V.js"),[],import.meta.url)},{id:"hack",name:"Hack",import:()=>p(()=>import("./BmCW-tYz.js"),__vite__mapDeps([67,1,2,3,18]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>p(()=>import("./G-Jz5hiA.js"),__vite__mapDeps([68,38,1,2,3,7,8,18,13,39,40,42,15,58]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>p(()=>import("./DUdlC5k_.js"),__vite__mapDeps([69,1,2,3,11]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>p(()=>import("./DAGYewaG.js"),[],import.meta.url)},{id:"haxe",name:"Haxe",import:()=>p(()=>import("./Dit6kIrv.js"),[],import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>p(()=>import("./CpAANOdC.js"),[],import.meta.url)},{id:"hjson",name:"Hjson",import:()=>p(()=>import("./DZqG9GXz.js"),[],import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>p(()=>import("./DmDrTTlz.js"),[],import.meta.url)},{id:"html",name:"HTML",import:()=>p(()=>import("./CbViG2Xw.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>p(()=>import("./BR6CMsBL.js"),__vite__mapDeps([70,1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>p(()=>import("./CqYeW6XZ.js"),__vite__mapDeps([71,39,9,7,8,66,2,46,28,50]),import.meta.url)},{id:"hxml",name:"HXML",import:()=>p(()=>import("./CiRxTSAc.js"),__vite__mapDeps([72,73]),import.meta.url)},{id:"hy",name:"Hy",import:()=>p(()=>import("./C3qJFuQy.js"),[],import.meta.url)},{id:"imba",name:"Imba",import:()=>p(()=>import("./DzwdaLuO.js"),__vite__mapDeps([74,46]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>p(()=>import("./DeVv6D4_.js"),[],import.meta.url)},{id:"java",name:"Java",import:()=>p(()=>import("./ClXEvkw9.js"),[],import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>p(()=>import("./Dch3xQiY.js"),[],import.meta.url)},{id:"jinja",name:"Jinja",import:()=>p(()=>import("./D4LaosRr.js"),__vite__mapDeps([75,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>p(()=>import("./DY7_9Ga-.js"),__vite__mapDeps([76,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>p(()=>import("./CupVZNk8.js"),[],import.meta.url)},{id:"json5",name:"JSON5",import:()=>p(()=>import("./Bh8mriwU.js"),[],import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>p(()=>import("./DYI1rfmx.js"),[],import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>p(()=>import("./BUpeXbsf.js"),[],import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>p(()=>import("./C9d3aiqh.js"),[],import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>p(()=>import("./Dble9ECP.js"),[],import.meta.url)},{id:"jsx",name:"JSX",import:()=>p(()=>import("./CsyrCbsw.js"),[],import.meta.url)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>p(()=>import("./D_T9yQUo.js"),__vite__mapDeps([29,16,17,13,18,30,2,31]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>p(()=>import("./BIxS-Weu.js"),[],import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>p(()=>import("./DGEpfOTx.js"),[],import.meta.url)},{id:"latex",name:"LaTeX",import:()=>p(()=>import("./o5b8QYQO.js"),__vite__mapDeps([77,78,31,39,3,79,27,1,2,8,29,16,17,13,18,30,40,38,7,41,46,11,43]),import.meta.url)},{id:"less",name:"Less",import:()=>p(()=>import("./Du6_OKDb.js"),[],import.meta.url)},{id:"liquid",name:"Liquid",import:()=>p(()=>import("./Dg0DGYq4.js"),__vite__mapDeps([80,1,2,3,9]),import.meta.url)},{id:"log",name:"Log file",import:()=>p(()=>import("./Ksn5IXup.js"),[],import.meta.url)},{id:"logo",name:"Logo",import:()=>p(()=>import("./DdacRhvC.js"),[],import.meta.url)},{id:"lua",name:"Lua",import:()=>p(()=>import("./BVGdgKAv.js"),__vite__mapDeps([40,13]),import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>p(()=>import("./B9S9BZZh.js"),[],import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>p(()=>import("./BdfWgkoX.js"),[],import.meta.url)},{id:"marko",name:"Marko",import:()=>p(()=>import("./DGDuLtS6.js"),__vite__mapDeps([81,3,33,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>p(()=>import("./Btshr8M_.js"),[],import.meta.url)},{id:"mdc",name:"MDC",import:()=>p(()=>import("./CcYwH0AH.js"),__vite__mapDeps([82,58,11,70,1,2,3]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>p(()=>import("./CBPJd_fO.js"),[],import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>p(()=>import("./Dkb1Nx48.js"),[],import.meta.url)},{id:"mojo",name:"Mojo",import:()=>p(()=>import("./-7WWnkdy.js"),[],import.meta.url)},{id:"move",name:"Move",import:()=>p(()=>import("./MN12aA4C.js"),[],import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>p(()=>import("./B9CT-1u6.js"),[],import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>p(()=>import("./DBxHOdLe.js"),[],import.meta.url)},{id:"nginx",name:"Nginx",import:()=>p(()=>import("./DR5YgmI2.js"),__vite__mapDeps([83,40,13]),import.meta.url)},{id:"nim",name:"Nim",import:()=>p(()=>import("./YdT6Gj0u.js"),__vite__mapDeps([84,13,1,2,3,7,8,17,58]),import.meta.url)},{id:"nix",name:"Nix",import:()=>p(()=>import("./B7rNE5kf.js"),[],import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>p(()=>import("./CrgTADc5.js"),[],import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>p(()=>import("./DHmGyzbM.js"),[],import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>p(()=>import("./BWKJ1FCf.js"),[],import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>p(()=>import("./RqY_Nz63.js"),[],import.meta.url)},{id:"pascal",name:"Pascal",import:()=>p(()=>import("./B6ZnTe72.js"),[],import.meta.url)},{id:"perl",name:"Perl",import:()=>p(()=>import("./Dwo2i-71.js"),__vite__mapDeps([37,1,2,3,7,8,18]),import.meta.url)},{id:"php",name:"PHP",import:()=>p(()=>import("./Cthz8VOO.js"),__vite__mapDeps([85,1,2,3,7,8,18,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>p(()=>import("./BbJj1K1w.js"),[],import.meta.url)},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>p(()=>import("./HrnDn_2Q.js"),[],import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>p(()=>import("./DXT9h7v2.js"),[],import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>p(()=>import("./CApMHEaB.js"),[],import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>p(()=>import("./9ZOzOPqN.js"),[],import.meta.url)},{id:"prisma",name:"Prisma",import:()=>p(()=>import("./BBJYjQ0k.js"),[],import.meta.url)},{id:"prolog",name:"Prolog",import:()=>p(()=>import("./BH_RS3WO.js"),[],import.meta.url)},{id:"proto",name:"Protocol Buffer 3",import:()=>p(()=>import("./DOtRmeXT.js"),[],import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>p(()=>import("./DhFF74a2.js"),__vite__mapDeps([86,2,3,42,5,48,15,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>p(()=>import("./37ic6j3l.js"),[],import.meta.url)},{id:"purescript",name:"PureScript",import:()=>p(()=>import("./CfPQhs6g.js"),[],import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>p(()=>import("./DwuVtWc2.js"),[],import.meta.url)},{id:"qml",name:"QML",import:()=>p(()=>import("./BwXNTs7T.js"),__vite__mapDeps([87,2]),import.meta.url)},{id:"qmldir",name:"QML Directory",import:()=>p(()=>import("./MS3qTAOR.js"),[],import.meta.url)},{id:"qss",name:"Qt Style Sheets",import:()=>p(()=>import("./FJDVp-XM.js"),[],import.meta.url)},{id:"r",name:"R",import:()=>p(()=>import("./BXfENWL6.js"),[],import.meta.url)},{id:"racket",name:"Racket",import:()=>p(()=>import("./B5NHDIr7.js"),[],import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>p(()=>import("./D384ylkT.js"),[],import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>p(()=>import("./Lpdzc9s2.js"),__vite__mapDeps([88,1,2,3,19]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>p(()=>import("./CrhH3_Og.js"),[],import.meta.url)},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>p(()=>import("./C_ZPRiAj.js"),[],import.meta.url)},{id:"rel",name:"Rel",import:()=>p(()=>import("./6Kuza3Wr.js"),[],import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>p(()=>import("./AgnqFTPX.js"),[],import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>p(()=>import("./CHCTrc3a.js"),__vite__mapDeps([89,70,1,2,3,16,17,13,18,30,39,11,90,38,7,8,40]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>p(()=>import("./CarfVElc.js"),__vite__mapDeps([38,1,2,3,7,8,18,13,39,40]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>p(()=>import("./DGxQkqYo.js"),[],import.meta.url)},{id:"sas",name:"SAS",import:()=>p(()=>import("./8t4jSAMm.js"),__vite__mapDeps([91,18]),import.meta.url)},{id:"sass",name:"Sass",import:()=>p(()=>import("./CMDmr8et.js"),[],import.meta.url)},{id:"scala",name:"Scala",import:()=>p(()=>import("./vMsNTMhM.js"),[],import.meta.url)},{id:"scheme",name:"Scheme",import:()=>p(()=>import("./1Je9_Reo.js"),[],import.meta.url)},{id:"scss",name:"SCSS",import:()=>p(()=>import("./BeX7Iu5M.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>p(()=>import("./BiDE021q.js"),__vite__mapDeps([92,93]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>p(()=>import("./BZfs-ost.js"),[],import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>p(()=>import("./dIHJ9UdL.js"),__vite__mapDeps([94,39]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>p(()=>import("./DSsji4Hu.js"),[],import.meta.url)},{id:"solidity",name:"Solidity",import:()=>p(()=>import("./CThH5sBG.js"),[],import.meta.url)},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>p(()=>import("./DKb4lQY2.js"),__vite__mapDeps([95,1,2,3]),import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>p(()=>import("./DJZWsvj0.js"),__vite__mapDeps([96,97]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>p(()=>import("./6XBPEST2.js"),[],import.meta.url)},{id:"sql",name:"SQL",import:()=>p(()=>import("./DbK06e1c.js"),[],import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>p(()=>import("./BH1M7C1g.js"),[],import.meta.url)},{id:"stata",name:"Stata",import:()=>p(()=>import("./DLP9ZvWb.js"),__vite__mapDeps([98,18]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>p(()=>import("./DSrLtGYv.js"),[],import.meta.url)},{id:"svelte",name:"Svelte",import:()=>p(()=>import("./wKgfcFVx.js"),__vite__mapDeps([99,2,46,15,48,42,3,5,33,49,86,1,58]),import.meta.url)},{id:"swift",name:"Swift",import:()=>p(()=>import("./Dez-Qvcc.js"),[],import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>p(()=>import("./BscxmKrE.js"),[],import.meta.url)},{id:"systemd",name:"Systemd Units",import:()=>p(()=>import("./CuJfdYLG.js"),[],import.meta.url)},{id:"tasl",name:"Tasl",import:()=>p(()=>import("./BxwAa5i0.js"),[],import.meta.url)},{id:"tcl",name:"Tcl",import:()=>p(()=>import("./C_8Fx7bH.js"),[],import.meta.url)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>p(()=>import("./DBeuZS66.js"),[],import.meta.url)},{id:"tex",name:"TeX",import:()=>p(()=>import("./Db2-y2xY.js"),__vite__mapDeps([78,31]),import.meta.url)},{id:"toml",name:"TOML",import:()=>p(()=>import("./BT9ZzGyQ.js"),[],import.meta.url)},{id:"tsv",name:"TSV",import:()=>p(()=>import("./DnLUQrgA.js"),[],import.meta.url)},{id:"tsx",name:"TSX",import:()=>p(()=>import("./BlxWTfDV.js"),[],import.meta.url)},{id:"turtle",name:"Turtle",import:()=>p(()=>import("./C15OxdQ5.js"),[],import.meta.url)},{id:"twig",name:"Twig",import:()=>p(()=>import("./BacI6-DX.js"),__vite__mapDeps([100,3,2,5,85,1,7,8,18,9,30,38,13,39,40]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>p(()=>import("./DC8MraHL.js"),[],import.meta.url)},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>p(()=>import("./Bx89rGXK.js"),[],import.meta.url)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>p(()=>import("./I4qd5QHW.js"),[],import.meta.url)},{id:"v",name:"V",import:()=>p(()=>import("./C2TBxDwV.js"),[],import.meta.url)},{id:"vala",name:"Vala",import:()=>p(()=>import("./CO5hpdkB.js"),[],import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>p(()=>import("./beD-FUib.js"),[],import.meta.url)},{id:"verilog",name:"Verilog",import:()=>p(()=>import("./DVfdqzEq.js"),[],import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>p(()=>import("./QZ3jNtnE.js"),[],import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>p(()=>import("./BLluXI4E.js"),[],import.meta.url)},{id:"vue",name:"Vue",import:()=>p(()=>import("./o8H-iTt6.js"),__vite__mapDeps([101,1,2,3,58,86,42,5,48,15,33,46,28,50,9,102,103,11,45,66,70]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>p(()=>import("./DCjyzNN-.js"),__vite__mapDeps([104,101,1,2,3,58,86,42,5,48,15,33,46,28,50,9,102,103,11,45,66,70]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>p(()=>import("./o-cPXEvd.js"),[],import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>p(()=>import("./Cicx_DS6.js"),[],import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>p(()=>import("./D3VXSfF0.js"),[],import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>p(()=>import("./BZz1Hhek.js"),[],import.meta.url)},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>p(()=>import("./P5f3PASf.js"),__vite__mapDeps([105,1,2,3,106,8,40,13,34,37,7,18,31,38,39,85,9,107,108,11,109,14,15,16,17,20,21,25,26,86,42,5,48,102,33,35,44,110,111,30,29,41,43,46,19,57,58,112,69,24,22,77,78,79,27,113]),import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>p(()=>import("./BICIrM8O.js"),[],import.meta.url)},{id:"xml",name:"XML",import:()=>p(()=>import("./CsYA0RN7.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>p(()=>import("./CJQrLysU.js"),__vite__mapDeps([108,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>p(()=>import("./C5gCGmDW.js"),[],import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>p(()=>import("./B1nm99XP.js"),[],import.meta.url)},{id:"zig",name:"Zig",import:()=>p(()=>import("./xtV5iK4E.js"),[],import.meta.url)}],Yh=Object.fromEntries(Fa.map(e=>[e.id,e.import])),Xh=Object.fromEntries(Fa.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),Qh={...Yh,...Xh},Zh=async e=>p(()=>import("./CsTmP73Z.js"),[],import.meta.url).then(t=>t.default(e)),em=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>p(()=>import("./YxQm0tCS.js"),[],import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>p(()=>import("./BaWyeHV_.js"),[],import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>p(()=>import("./Bn5gmY5k.js"),[],import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>p(()=>import("./CSPeAESR.js"),[],import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>p(()=>import("./BYdKNJ10.js"),[],import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>p(()=>import("./DVLwECkk.js"),[],import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>p(()=>import("./CEfge3mM.js"),[],import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>p(()=>import("./KEYLhlmT.js"),[],import.meta.url)},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>p(()=>import("./DGO8GyiP.js"),[],import.meta.url)},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>p(()=>import("./9B1nZgL-.js"),[],import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>p(()=>import("./CzPA46E-.js"),[],import.meta.url)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>p(()=>import("./BXF7Vm5l.js"),[],import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>p(()=>import("./CRDKj6ck.js"),[],import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>p(()=>import("./CRlnGVMD.js"),[],import.meta.url)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>p(()=>import("./UREJT2Bw.js"),[],import.meta.url)},{id:"houston",displayName:"Houston",type:"dark",import:()=>p(()=>import("./CZZ6oYdA.js"),[],import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>p(()=>import("./BsvsQ1iS.js"),[],import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>p(()=>import("./B2BuIiKK.js"),[],import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>p(()=>import("./BrGg7AAd.js"),[],import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>p(()=>import("./DDRuGeQH.js"),[],import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>p(()=>import("./CBL0qBdF.js"),[],import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>p(()=>import("./D7gg1Usp.js"),[],import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>p(()=>import("./iSbrOpM4.js"),[],import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>p(()=>import("./BITGhEdf.js"),[],import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>p(()=>import("./sMI-pExk.js"),[],import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>p(()=>import("./BeocmOPF.js"),[],import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>p(()=>import("./CsyjKwr8.js"),[],import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>p(()=>import("./BTtaZsq5.js"),[],import.meta.url)},{id:"one-light",displayName:"One Light",type:"light",import:()=>p(()=>import("./alpzPJ78.js"),[],import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>p(()=>import("./Cda-MJFk.js"),[],import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>p(()=>import("./jaXbsbtS.js"),[],import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>p(()=>import("./CX_FIdg1.js"),[],import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>p(()=>import("./Bj5xdiaE.js"),[],import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>p(()=>import("./CdedUr_-.js"),[],import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>p(()=>import("./C7oZ9nno.js"),[],import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>p(()=>import("./hXH8Gyq8.js"),[],import.meta.url)},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>p(()=>import("./CA9nliXM.js"),[],import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>p(()=>import("./C86elO-m.js"),[],import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>p(()=>import("./xPNGhBYe.js"),[],import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>p(()=>import("./BBDuFDsq.js"),[],import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>p(()=>import("./eJfcURhx.js"),[],import.meta.url)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>p(()=>import("./BSB_bK09.js"),[],import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>p(()=>import("./B3g-KkBK.js"),[],import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>p(()=>import("./Bxkoe-BC.js"),[],import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>p(()=>import("./Br6ll-O0.js"),[],import.meta.url)}],tm=Object.fromEntries(em.map(e=>[e.id,e.import]));var Ge;(function(e){e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline"})(Ge||(Ge={}));var rn;(function(e){function t(u){return u.toString(2).padStart(32,"0")}e.toBinaryStr=t;function n(u){const f=e.getLanguageId(u),d=e.getTokenType(u),h=e.getFontStyle(u),m=e.getForeground(u),y=e.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:h,foreground:m,background:y})}e.print=n;function r(u){return(u&255)>>>0}e.getLanguageId=r;function o(u){return(u&768)>>>8}e.getTokenType=o;function i(u){return(u&1024)!==0}e.containsBalancedBrackets=i;function s(u){return(u&30720)>>>11}e.getFontStyle=s;function l(u){return(u&16744448)>>>15}e.getForeground=l;function a(u){return(u&4278190080)>>>24}e.getBackground=a;function c(u,f,d,h,m,y,v){let R=e.getLanguageId(u),C=e.getTokenType(u),E=e.containsBalancedBrackets(u)?1:0,A=e.getFontStyle(u),T=e.getForeground(u),P=e.getBackground(u);return f!==0&&(R=f),d!==8&&(C=d),h!==null&&(E=h?1:0),m!==-1&&(A=m),y!==0&&(T=y),v!==0&&(P=v),(R<<0|C<<8|E<<10|A<<11|T<<15|P<<24)>>>0}e.set=c})(rn||(rn={}));function Er(e,t){const n=[],r=nm(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(As(o)){const a=[];do a.push(o),o=r.next();while(As(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 As(e){return!!e&&!!e.match(/[\w\.:]+/)}function nm(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function Ha(e){typeof e.dispose=="function"&&e.dispose()}function rm(e){return bi(e)}function bi(e){return Array.isArray(e)?om(e):typeof e=="object"?im(e):e}function om(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=bi(e[n]);return t}function im(e){let t={};for(let n in e)t[n]=bi(e[n]);return t}function $a(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Ua(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Ua(e.substring(0,e.length-1)):e.substr(~t+1)}let io=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class zn{static hasCaptures(t){return t===null?!1:(io.lastIndex=0,io.test(t))}static replaceCaptures(t,n,r){return t.replace(io,(o,i,s,l)=>{let a=r[parseInt(i||s,10)];if(a){let c=n.substring(a.start,a.end);for(;c[0]===".";)c=c.substring(1);switch(l){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return o})}}function Ga(e,t){return e<t?-1:e>t?1:0}function Wa(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let o=0;o<n;o++){let i=Ga(e[o],t[o]);if(i!==0)return i}return 0}return n-r}function Cs(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function qa(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class Ka{constructor(t){g(this,"fn");g(this,"cache",new Map);this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const n=this.fn(t);return this.cache.set(t,n),n}}class Cn{constructor(t){g(this,"scopeName");this.scopeName=t}toKey(){return this.scopeName}}class sm{constructor(t,n){g(this,"scopeName");g(this,"ruleName");this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class lm{constructor(){g(this,"_references",[]);g(this,"_seenReferenceKeys",new Set);g(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 am{constructor(t,n){g(this,"repo");g(this,"initialScopeName");g(this,"seenFullScopeRequests",new Set);g(this,"seenPartialScopeRequests",new Set);g(this,"Q");this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Cn(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new lm;for(const r of t)cm(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof Cn){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}}function cm(e,t,n,r){const o=n.lookup(e.scopeName);if(!o){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const i=n.lookup(t);e instanceof Cn?ir({baseGrammar:i,selfGrammar:o},r):Mo(e.ruleName,{baseGrammar:i,selfGrammar:o,repository:o.repository},r);const s=n.injections(e.scopeName);if(s)for(const l of s)r.add(new Cn(l))}function Mo(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];vr([r],t,n)}}function ir(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&vr(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&vr(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function vr(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?$a({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&vr(r.patterns,{...t,repository:o},n);const i=r.include;if(!i)continue;const s=za(i);switch(s.kind){case 0:ir({...t,selfGrammar:t.baseGrammar},n);break;case 1:ir(t,n);break;case 2:Mo(s.ruleName,{...t,repository:o},n);break;case 3:case 4:const l=s.scopeName===t.selfGrammar.scopeName?t.selfGrammar:s.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(l){const a={baseGrammar:t.baseGrammar,selfGrammar:l,repository:o};s.kind===4?Mo(s.ruleName,a,n):ir(a,n)}else s.kind===4?n.add(new sm(s.scopeName,s.ruleName)):n.add(new Cn(s.scopeName));break}}}class um{constructor(){g(this,"kind",0)}}class fm{constructor(){g(this,"kind",1)}}class dm{constructor(t){g(this,"ruleName");g(this,"kind",2);this.ruleName=t}}class pm{constructor(t){g(this,"scopeName");g(this,"kind",3);this.scopeName=t}}class hm{constructor(t,n){g(this,"scopeName");g(this,"ruleName");g(this,"kind",4);this.scopeName=t,this.ruleName=n}}function za(e){if(e==="$base")return new um;if(e==="$self")return new fm;const t=e.indexOf("#");if(t===-1)return new pm(e);if(t===0)return new dm(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new hm(n,r)}}const mm=/\\(\d+)/,Ss=/\\(\d+)/g,_m=-1,Ja=-2;class Nn{constructor(t,n,r,o){g(this,"$location");g(this,"id");g(this,"_nameIsCapturing");g(this,"_name");g(this,"_contentNameIsCapturing");g(this,"_contentName");this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=zn.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=zn.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${Ua(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,n){return!this._nameIsCapturing||this._name===null||t===null||n===null?this._name:zn.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:zn.replaceCaptures(this._contentName,t,n)}}class gm extends Nn{constructor(n,r,o,i,s){super(n,r,o,i);g(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 ym extends Nn{constructor(n,r,o,i,s){super(n,r,o,null);g(this,"_match");g(this,"captures");g(this,"_cachedCompiledPatterns");this._match=new Dt(i,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,r){r.push(this._match)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Sn,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Ls extends Nn{constructor(n,r,o,i,s){super(n,r,o,i);g(this,"hasMissingPatterns");g(this,"patterns");g(this,"_cachedCompiledPatterns");this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,r){for(const o of this.patterns)n.getRule(o).collectPatterns(n,r)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Sn,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Vo extends Nn{constructor(n,r,o,i,s,l,a,c,u,f){super(n,r,o,i);g(this,"_begin");g(this,"beginCaptures");g(this,"_end");g(this,"endHasBackReferences");g(this,"endCaptures");g(this,"applyEndPatternLast");g(this,"hasMissingPatterns");g(this,"patterns");g(this,"_cachedCompiledPatterns");this._begin=new Dt(s,this.id),this.beginCaptures=l,this._end=new Dt(a||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=c,this.applyEndPatternLast=u||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(n,r){return this._end.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n,r).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n,r).compileAG(n,o,i)}_getCachedCompiledPatterns(n,r){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Sn;for(const o of this.patterns)n.getRule(o).collectPatterns(n,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,r):this._cachedCompiledPatterns.setSource(0,r)),this._cachedCompiledPatterns}}class wr extends Nn{constructor(n,r,o,i,s,l,a,c,u){super(n,r,o,i);g(this,"_begin");g(this,"beginCaptures");g(this,"whileCaptures");g(this,"_while");g(this,"whileHasBackReferences");g(this,"hasMissingPatterns");g(this,"patterns");g(this,"_cachedCompiledPatterns");g(this,"_cachedCompiledWhilePatterns");this._begin=new Dt(s,this.id),this.beginCaptures=l,this.whileCaptures=c,this._while=new Dt(a,Ja),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(n,r){return this._while.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Sn;for(const r of this.patterns)n.getRule(r).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,r){return this._getCachedCompiledWhilePatterns(n,r).compile(n)}compileWhileAG(n,r,o,i){return this._getCachedCompiledWhilePatterns(n,r).compileAG(n,o,i)}_getCachedCompiledWhilePatterns(n,r){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Sn,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||""),this._cachedCompiledWhilePatterns}}class ye{static createCaptureRule(t,n,r,o,i){return t.registerRule(s=>new gm(n,s,r,o,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new ym(t.$vscodeTextmateLocation,t.id,t.name,t.match,ye._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=$a({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new Ls(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,ye._compilePatterns(i,n,r))}return t.while?new wr(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,ye._compileCaptures(t.whileCaptures||t.captures,n,r),ye._compilePatterns(t.patterns,n,r)):new Vo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,ye._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,ye._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let o=[];if(t){let i=0;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);l>i&&(i=l)}for(let s=0;s<=i;s++)o[s]=null;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);let a=0;t[s].patterns&&(a=ye.getCompiledRuleId(t[s],n,r)),o[l]=ye.createCaptureRule(n,t[s].$vscodeTextmateLocation,t[s].name,t[s].contentName,a)}}return o}static _compilePatterns(t,n,r){let o=[];if(t)for(let i=0,s=t.length;i<s;i++){const l=t[i];let a=-1;if(l.include){const c=za(l.include);switch(c.kind){case 0:case 1:a=ye.getCompiledRuleId(r[l.include],n,r);break;case 2:let u=r[c.ruleName];u&&(a=ye.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,h=n.getExternalGrammar(f,r);if(h)if(d){let m=h.repository[d];m&&(a=ye.getCompiledRuleId(m,n,h.repository))}else a=ye.getCompiledRuleId(h.repository.$self,n,h.repository);break}}else a=ye.getCompiledRuleId(l,n,r);if(a!==-1){const c=n.getRule(a);let u=!1;if((c instanceof Ls||c instanceof Vo||c instanceof wr)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(a)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}}class Dt{constructor(t,n){g(this,"source");g(this,"ruleId");g(this,"hasAnchor");g(this,"hasBackReferences");g(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=mm.test(this.source)}clone(){return new Dt(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 Ss.lastIndex=0,this.source.replace(Ss,(o,i)=>qa(r[parseInt(i,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],o=[],i,s,l,a;for(i=0,s=this.source.length;i<s;i++)l=this.source.charAt(i),t[i]=l,n[i]=l,r[i]=l,o[i]=l,l==="\\"&&i+1<s&&(a=this.source.charAt(i+1),a==="A"?(t[i+1]="",n[i+1]="",r[i+1]="A",o[i+1]="A"):a==="G"?(t[i+1]="",n[i+1]="G",r[i+1]="",o[i+1]="G"):(t[i+1]=a,n[i+1]=a,r[i+1]=a,o[i+1]=a),i++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:o.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}}class Sn{constructor(){g(this,"_items");g(this,"_hasAnchors");g(this,"_cached");g(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 Os(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 Os(t,o,this._items.map(i=>i.ruleId))}}class Os{constructor(t,n,r){g(this,"regExps");g(this,"rules");g(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(`
|
|
19
|
+
`)}findNextMatchSync(t,n,r){const o=this.scanner.findNextMatchSync(t,n,r);return o?{ruleId:this.rules[o.index],captureIndices:o.captureIndices}:null}}class Rr{constructor(t,n,r){g(this,"_colorMap");g(this,"_defaults");g(this,"_root");g(this,"_cachedMatchRoot",new Ka(t=>this._root.match(t)));this._colorMap=t,this._defaults=n,this._root=r}static createFromRawTheme(t,n){return this.createFromParsedTheme(vm(t),n)}static createFromParsedTheme(t,n){return Rm(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=>bm(t.parent,i.parentScopes));return o?new Ya(o.fontStyle,o.foreground,o.background):null}}class kt{constructor(t,n){g(this,"parent");g(this,"scopeName");this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new kt(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new kt(n,t[r]);return n}push(t){return new kt(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 bm(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(Em(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}function Em(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}class Ya{constructor(t,n,r){g(this,"fontStyle");g(this,"foregroundId");g(this,"backgroundId");this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function vm(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,i=t.length;o<i;o++){let s=t[o];if(!s.settings)continue;let l;if(typeof s.scope=="string"){let f=s.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),l=f.split(",")}else Array.isArray(s.scope)?l=s.scope:l=[""];let a=-1;if(typeof s.settings.fontStyle=="string"){a=0;let f=s.settings.fontStyle.split(" ");for(let d=0,h=f.length;d<h;d++)switch(f[d]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let c=null;typeof s.settings.foreground=="string"&&Cs(s.settings.foreground)&&(c=s.settings.foreground);let u=null;typeof s.settings.background=="string"&&Cs(s.settings.background)&&(u=s.settings.background);for(let f=0,d=l.length;f<d;f++){let m=l[f].trim().split(" "),y=m[m.length-1],v=null;m.length>1&&(v=m.slice(0,m.length-1),v.reverse()),n[r++]=new wm(y,v,o,a,c,u)}}return n}class wm{constructor(t,n,r,o,i,s){g(this,"scope");g(this,"parentScopes");g(this,"index");g(this,"fontStyle");g(this,"foreground");g(this,"background");this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=o,this.foreground=i,this.background=s}}function Rm(e,t){e.sort((a,c)=>{let u=Ga(a.scope,c.scope);return u!==0||(u=Wa(a.parentScopes,c.parentScopes),u!==0)?u:a.index-c.index});let n=0,r="#000000",o="#ffffff";for(;e.length>=1&&e[0].scope==="";){let a=e.shift();a.fontStyle!==-1&&(n=a.fontStyle),a.foreground!==null&&(r=a.foreground),a.background!==null&&(o=a.background)}let i=new Tm(t),s=new Ya(n,i.getId(r),i.getId(o)),l=new bn(new Ln(0,null,-1,0,0),[]);for(let a=0,c=e.length;a<c;a++){let u=e[a];l.insert(0,u.scope,u.parentScopes,u.fontStyle,i.getId(u.foreground),i.getId(u.background))}return new Rr(i,s,l)}class Tm{constructor(t){g(this,"_isFrozen");g(this,"_lastColorId");g(this,"_id2color");g(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let n=0,r=t.length;n<r;n++)this._color2id[t[n]]=n,this._id2color[n]=t[n]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let n=this._color2id[t];if(n)return n;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return n=++this._lastColorId,this._color2id[t]=n,this._id2color[n]=t,n}getColorMap(){return this._id2color.slice(0)}}class Ln{constructor(t,n,r,o,i){g(this,"scopeDepth");g(this,"parentScopes");g(this,"fontStyle");g(this,"foreground");g(this,"background");this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=o,this.background=i}clone(){return new Ln(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,o=t.length;r<o;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,o){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),o!==0&&(this.background=o)}}class bn{constructor(t,n=[],r={}){g(this,"_mainRule");g(this,"_children");g(this,"_rulesWithParentScopes");this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _sortBySpecificity(t){return t.length===1||t.sort(this._cmpBySpecificity),t}static _cmpBySpecificity(t,n){if(t.scopeDepth===n.scopeDepth){const r=t.parentScopes,o=n.parentScopes;let i=r===null?0:r.length,s=o===null?0:o.length;if(i===s)for(let l=0;l<i;l++){const a=r[l].length,c=o[l].length;if(a!==c)return c-a}return s-i}return n.scopeDepth-t.scopeDepth}match(t){if(t==="")return bn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let n=t.indexOf("."),r,o;return n===-1?(r=t,o=""):(r=t.substring(0,n),o=t.substring(n+1)),this._children.hasOwnProperty(r)?this._children[r].match(o):bn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(t,n,r,o,i,s){if(n===""){this._doInsertHere(t,r,o,i,s);return}let l=n.indexOf("."),a,c;l===-1?(a=n,c=""):(a=n.substring(0,l),c=n.substring(l+1));let u;this._children.hasOwnProperty(a)?u=this._children[a]:(u=new bn(this._mainRule.clone(),Ln.cloneArr(this._rulesWithParentScopes)),this._children[a]=u),u.insert(t+1,c,r,o,i,s)}_doInsertHere(t,n,r,o,i){if(n===null){this._mainRule.acceptOverwrite(t,r,o,i);return}for(let s=0,l=this._rulesWithParentScopes.length;s<l;s++){let a=this._rulesWithParentScopes[s];if(Wa(a.parentScopes,n)===0){a.acceptOverwrite(t,r,o,i);return}}r===-1&&(r=this._mainRule.fontStyle),o===0&&(o=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new Ln(t,n,r,o,i))}}class so{constructor(t,n){g(this,"languageId");g(this,"tokenType");this.languageId=t,this.tokenType=n}}const Ut=class Ut{constructor(t,n){g(this,"_defaultAttributes");g(this,"_embeddedLanguagesMatcher");g(this,"_getBasicScopeAttributes",new Ka(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new so(n,r)}));this._defaultAttributes=new so(t,8),this._embeddedLanguagesMatcher=new Pm(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?Ut._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(Ut.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}};g(Ut,"_NULL_SCOPE_METADATA",new so(0,0)),g(Ut,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/);let Bo=Ut;class Pm{constructor(t){g(this,"values");g(this,"scopesRegExp");if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,o])=>qa(r));n.sort(),n.reverse(),this.scopesRegExp=new RegExp(`^((${n.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const n=t.match(this.scopesRegExp);if(n)return this.values.get(n[1])}}class Is{constructor(t,n){g(this,"stack");g(this,"stoppedEarly");this.stack=t,this.stoppedEarly=n}}function Xa(e,t,n,r,o,i,s,l){const a=t.content.length;let c=!1,u=-1;if(s){const h=Am(e,t,n,r,o,i);o=h.stack,r=h.linePos,n=h.isFirstLine,u=h.anchorPosition}const f=Date.now();for(;!c;){if(l!==0&&Date.now()-f>l)return new Is(o,!0);d()}return new Is(o,!1);function d(){const h=Cm(e,t,n,r,o,u);if(!h){i.produce(o,a),c=!0;return}const m=h.captureIndices,y=h.matchedRuleId,v=m&&m.length>0?m[0].end>r:!1;if(y===_m){const R=o.getRule(e);i.produce(o,m[0].start),o=o.withContentNameScopesList(o.nameScopesList),dn(e,t,n,o,i,R.endCaptures,m),i.produce(o,m[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 R=e.getRule(y);i.produce(o,m[0].start);const C=o,E=R.getName(t.content,m),A=o.contentNameScopesList.pushAttributed(E,e);if(o=o.push(y,r,u,m[0].end===a,null,A,A),R instanceof Vo){const T=R;dn(e,t,n,o,i,T.beginCaptures,m),i.produce(o,m[0].end),u=m[0].end;const P=T.getContentName(t.content,m),V=A.pushAttributed(P,e);if(o=o.withContentNameScopesList(V),T.endHasBackReferences&&(o=o.withEndRule(T.getEndWithResolvedBackReferences(t.content,m))),!v&&C.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(R instanceof wr){const T=R;dn(e,t,n,o,i,T.beginCaptures,m),i.produce(o,m[0].end),u=m[0].end;const P=T.getContentName(t.content,m),V=A.pushAttributed(P,e);if(o=o.withContentNameScopesList(V),T.whileHasBackReferences&&(o=o.withEndRule(T.getWhileWithResolvedBackReferences(t.content,m))),!v&&C.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(dn(e,t,n,o,i,R.captures,m),i.produce(o,m[0].end),o=o.pop(),!v){o=o.safePop(),i.produce(o,a),c=!0;return}}m[0].end>r&&(r=m[0].end,n=!1)}}function Am(e,t,n,r,o,i){let s=o.beginRuleCapturedEOL?0:-1;const l=[];for(let a=o;a;a=a.pop()){const c=a.getRule(e);c instanceof wr&&l.push({rule:c,stack:a})}for(let a=l.pop();a;a=l.pop()){const{ruleScanner:c,findOptions:u}=Om(a.rule,e,a.stack.endRule,n,r===s),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==Ja){o=a.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(i.produce(a.stack,f.captureIndices[0].start),dn(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 Cm(e,t,n,r,o,i){const s=Sm(e,t,n,r,o,i),l=e.getInjections();if(l.length===0)return s;const a=Lm(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 Sm(e,t,n,r,o,i){const s=o.getRule(e),{ruleScanner:l,findOptions:a}=Qa(s,e,o.endRule,n,r===i),c=l.findNextMatchSync(t,r,a);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Lm(e,t,n,r,o,i,s){let l=Number.MAX_VALUE,a=null,c,u=0;const f=i.contentNameScopesList.getScopeNames();for(let d=0,h=e.length;d<h;d++){const m=e[d];if(!m.matcher(f))continue;const y=t.getRule(m.ruleId),{ruleScanner:v,findOptions:R}=Qa(y,t,null,r,o===s),C=v.findNextMatchSync(n,o,R);if(!C)continue;const E=C.captureIndices[0].start;if(!(E>=l)&&(l=E,a=C.captureIndices,c=C.ruleId,u=m.priority,l===o))break}return a?{priorityMatch:u===-1,captureIndices:a,matchedRuleId:c}:null}function Qa(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function Om(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function dn(e,t,n,r,o,i,s){if(i.length===0)return;const l=t.content,a=Math.min(i.length,s.length),c=[],u=s[0].end;for(let f=0;f<a;f++){const d=i[f];if(d===null)continue;const h=s[f];if(h.length===0)continue;if(h.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=h.start;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?o.produceFromScopes(c[c.length-1].scopes,h.start):o.produce(r,h.start),d.retokenizeCapturedWithRuleId){const y=d.getName(l,s),v=r.contentNameScopesList.pushAttributed(y,e),R=d.getContentName(l,s),C=v.pushAttributed(R,e),E=r.push(d.retokenizeCapturedWithRuleId,h.start,-1,!1,null,v,C),A=e.createOnigString(l.substring(0,h.end));Xa(e,A,n&&h.start===0,h.start,E,o,!1,0),Ha(A);continue}const m=d.getName(l,s);if(m!==null){const v=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(m,e);c.push(new Im(v,h.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class Im{constructor(t,n){g(this,"scopes");g(this,"endPos");this.scopes=t,this.endPos=n}}function xm(e,t,n,r,o,i,s,l){return new Nm(e,t,n,r,o,i,s,l)}function xs(e,t,n,r,o){const i=Er(t,Tr),s=ye.getCompiledRuleId(n,r,o.repository);for(const l of i)e.push({debugSelector:t,matcher:l.matcher,ruleId:s,grammar:o,priority:l.priority})}function Tr(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let o=n;o<t.length;o++)if(km(t[o],r))return n=o+1,!0;return!1})}function km(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 Nm{constructor(t,n,r,o,i,s,l,a){g(this,"_rootScopeName");g(this,"balancedBracketSelectors");g(this,"_onigLib");g(this,"_rootId");g(this,"_lastRuleId");g(this,"_ruleId2desc");g(this,"_includedGrammars");g(this,"_grammarRepository");g(this,"_grammar");g(this,"_injections");g(this,"_basicScopeAttributesProvider");g(this,"_tokenTypeMatchers");if(this._rootScopeName=t,this.balancedBracketSelectors=s,this._onigLib=a,this._basicScopeAttributesProvider=new Bo(r,o),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=ks(n,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const c of Object.keys(i)){const u=Er(c,Tr);for(const f of u)this._tokenTypeMatchers.push({matcher:f.matcher,type:i[c]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:i=>i===this._rootScopeName?this._grammar:this.getExternalGrammar(i),injections:i=>this._grammarRepository.injections(i)},n=[],r=this._rootScopeName,o=t.lookup(r);if(o){const i=o.injections;if(i)for(let l in i)xs(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&&xs(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]=ks(r,n&&n.$base),this._includedGrammars[t]}}tokenizeLine(t,n,r=0){const o=this._tokenize(t,n,!1,r);return{tokens:o.lineTokens.getResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}tokenizeLine2(t,n,r=0){const o=this._tokenize(t,n,!0,r);return{tokens:o.lineTokens.getBinaryResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}_tokenize(t,n,r,o){this._rootId===-1&&(this._rootId=ye.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!n||n===On.NULL){i=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),d=rn.set(0,u.languageId,u.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),h=this.getRule(this._rootId).getName(null,null);let m;h?m=Le.createRootAndLookUpScopeName(h,d,this):m=Le.createRoot("unknown",d),n=new On(null,this._rootId,-1,-1,!1,null,m,m)}else i=!1,n.reset();t=t+`
|
|
20
|
+
`;const s=this.createOnigString(t),l=s.content.length,a=new Mm(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=Xa(this,s,i,0,n,a,!0,o);return Ha(s),{lineLength:l,lineTokens:a,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function ks(e,t){return e=rm(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}class Le{constructor(t,n,r){g(this,"parent");g(this,"scopePath");g(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=kt.push(o,i.scopeNames),r=new Le(r,o,i.encodedTokenAttributes);return r}static createRoot(t,n){return new Le(null,new kt(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),i=new kt(null,t),s=r.themeProvider.themeMatch(i),l=Le.mergeAttributes(n,o,s);return new Le(null,i,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return Le.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let o=-1,i=0,s=0;return r!==null&&(o=r.fontStyle,i=r.foregroundId,s=r.backgroundId),rn.set(t,n.languageId,n.tokenType,null,o,i,s)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return Le._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const i of r)o=Le._pushAttributed(o,i,n);return o}static _pushAttributed(t,n,r){const o=r.getMetadataForScope(n),i=t.scopePath.push(n),s=r.themeProvider.themeMatch(i),l=Le.mergeAttributes(t.tokenAttributes,o,s);return new Le(t,i,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var o;const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((o=r.parent)==null?void 0:o.scopePath)??null)}),r=r.parent;return r===t?n.reverse():void 0}}const rt=class rt{constructor(t,n,r,o,i,s,l,a){g(this,"parent");g(this,"ruleId");g(this,"beginRuleCapturedEOL");g(this,"endRule");g(this,"nameScopesList");g(this,"contentNameScopesList");g(this,"_stackElementBrand");g(this,"_enterPos");g(this,"_anchorPos");g(this,"depth");this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=i,this.endRule=s,this.nameScopesList=l,this.contentNameScopesList=a,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=o}equals(t){return t===null?!1:rt._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Le.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){rt._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,i,s,l){return new rt(this,t,n,r,o,i,s,l)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){var r,o;return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(o=this.contentNameScopesList)==null?void 0:o.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new rt(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){var t,n,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((n=this.nameScopesList)==null?void 0:n.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,n){const r=Le.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new rt(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Le.fromExtension(r,n.contentNameScopesList))}};g(rt,"NULL",new rt(null,0,0,0,!1,null,null,null));let On=rt;class Dm{constructor(t,n){g(this,"balancedBracketScopes");g(this,"unbalancedBracketScopes");g(this,"allowAny",!1);this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):Er(r,Tr).map(o=>o.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>Er(r,Tr).map(o=>o.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const n of this.unbalancedBracketScopes)if(n(t))return!1;for(const n of this.balancedBracketScopes)if(n(t))return!0;return this.allowAny}}class Mm{constructor(t,n,r,o){g(this,"balancedBracketSelectors");g(this,"_emitBinaryTokens");g(this,"_lineText");g(this,"_tokens");g(this,"_binaryTokens");g(this,"_lastTokenEndIndex");g(this,"_tokenTypeOverrides");this.balancedBracketSelectors=o,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,n){this.produceFromScopes(t.contentNameScopesList,n)}produceFromScopes(t,n){var o;if(this._lastTokenEndIndex>=n)return;if(this._emitBinaryTokens){let i=(t==null?void 0:t.tokenAttributes)??0,s=!1;if((o=this.balancedBracketSelectors)!=null&&o.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const l=(t==null?void 0:t.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(l)&&(i=rn.set(i,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(l))}if(s&&(i=rn.set(i,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=n;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=n;return}const r=(t==null?void 0:t.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:n,scopes:r}),this._lastTokenEndIndex=n}getResult(t,n){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===n-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,n){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===n-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let o=0,i=this._binaryTokens.length;o<i;o++)r[o]=this._binaryTokens[o];return r}}class Vm{constructor(t,n){g(this,"_onigLibPromise");g(this,"_grammars",new Map);g(this,"_rawGrammars",new Map);g(this,"_injectionGrammars",new Map);g(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,xm(t,s,n,r,o,i,this,await this._onigLibPromise))}return this._grammars.get(t)}}let Bm=class{constructor(t){g(this,"_options");g(this,"_syncRegistry");g(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new Vm(Rr.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Rr.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 Dm(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,o,i){const s=new am(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 jm=On.NULL,ve={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class ot{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&ve.LANGUAGEID_MASK)>>>ve.LANGUAGEID_OFFSET}static getTokenType(t){return(t&ve.TOKEN_TYPE_MASK)>>>ve.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&ve.FONT_STYLE_MASK)>>>ve.FONT_STYLE_OFFSET}static getForeground(t){return(t&ve.FOREGROUND_MASK)>>>ve.FOREGROUND_OFFSET}static getBackground(t){return(t&ve.BACKGROUND_MASK)>>>ve.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&ve.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,o,i,s){let l=ot.getLanguageId(t),a=ot.getTokenType(t),c=ot.getFontStyle(t),u=ot.getForeground(t),f=ot.getBackground(t);const d=ot.containsBalancedBrackets(t)?1:0;return n!==0&&(l=n),r!==0&&(a=r===8?0:r),o!==Ge.NotSet&&(c=o),i!==0&&(u=i),s!==0&&(f=s),(l<<ve.LANGUAGEID_OFFSET|a<<ve.TOKEN_TYPE_OFFSET|c<<ve.FONT_STYLE_OFFSET|d<<ve.BALANCED_BRACKETS_OFFSET|u<<ve.FOREGROUND_OFFSET|f<<ve.BACKGROUND_OFFSET)>>>0}}function Hr(e,t=!1){var i;const n=e.split(/(\r?\n)/g);let r=0;const o=[];for(let s=0;s<n.length;s+=2){const l=t?n[s]+(n[s+1]||""):n[s];o.push([l,r]),r+=n[s].length,r+=((i=n[s+1])==null?void 0:i.length)||0}return o}function Za(e){return!e||["plaintext","txt","text","plain"].includes(e)}function ec(e){return e==="ansi"||Za(e)}function tc(e){return e==="none"}function nc(e){return tc(e)}function rc(e,t){var r;if(!t)return e;e.properties||(e.properties={}),(r=e.properties).class||(r.class=[]),typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const o of n)o&&!e.properties.class.includes(o)&&e.properties.class.push(o);return e}function Fm(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 Hm(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?Fm(o,i):o})):e}function Pr(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 Lt(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function oc(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&Ge.Italic&&(t["font-style"]="italic"),e.fontStyle&Ge.Bold&&(t["font-weight"]="bold"),e.fontStyle&Ge.Underline&&(t["text-decoration"]="underline")),t}function ic(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function $m(e){const t=Hr(e,!0).map(([o])=>o);function n(o){let i=o,s=0;for(const l of t){if(i<l.length)break;i-=l.length,s++}return{line:s,character:i}}function r(o,i){let s=0;for(let l=0;l<o;l++)s+=t[l].length;return s+=i,s}return{lines:t,indexToPos:n,posToIndex:r}}var Ot=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],lo={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function Um(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 Ns(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 Gm(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],o=Number.parseInt(r);if(!Number.isNaN(o))if(o===0)t.push({type:"resetAll"});else if(o<=9)lo[o]&&t.push({type:"setDecoration",value:lo[o]});else if(o<=29){const i=lo[o-20];i&&t.push({type:"resetDecoration",value:i})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Ot[o-30]}});else if(o===38){const[i,s]=Ns(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:Ot[o-40]}});else if(o===48){const[i,s]=Ns(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:Ot[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Ot[o-100+8]}})}return t}function Wm(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const s=Um(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=Gm(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 qm={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 Km(e=qm){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<Ot.length;c++)r.push(t(Ot[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 zm(e,t,n){const r=Pr(e,n),o=Hr(t),i=Km(Object.fromEntries(Ot.map(l=>{var a;return[l,(a=e.colors)==null?void 0:a[`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`]]}))),s=Wm();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=Lt(c,r),u=Lt(u,r),a.decorations.has("dim")&&(c=Jm(c));let f=Ge.None;return a.decorations.has("bold")&&(f|=Ge.Bold),a.decorations.has("italic")&&(f|=Ge.Italic),a.decorations.has("underline")&&(f|=Ge.Underline),{content:a.value,offset:l[1],color:c,bgColor:u,fontStyle:f}}))}function Jm(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 Ei(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(Za(r)||tc(o))return Hr(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:i,colorMap:s}=e.setTheme(o);if(r==="ansi")return zm(i,t,n);const l=e.getLanguage(r);return Ym(t,l,i,s,n)}function Ym(e,t,n,r,o){const i=Pr(n,o),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:l=500}=o,a=Hr(e);let c=jm,u=[];const f=[];for(let d=0,h=a.length;d<h;d++){const[m,y]=a[d];if(m===""){u=[],f.push([]);continue}if(s>0&&m.length>=s){u=[],f.push([{content:m,offset:y,color:"",fontStyle:0}]);continue}let v,R,C;o.includeExplanation&&(v=t.tokenizeLine(m,c),R=v.tokens,C=0);const E=t.tokenizeLine2(m,c,l),A=E.tokens.length/2;for(let T=0;T<A;T++){const P=E.tokens[2*T],V=T+1<A?E.tokens[2*T+2]:m.length;if(P===V)continue;const U=E.tokens[2*T+1],q=Lt(r[ot.getForeground(U)],i),H=ot.getFontStyle(U),X={content:m.substring(P,V),offset:y+P,color:q,fontStyle:H};if(o.includeExplanation){X.explanation=[];let Z=0;for(;P+Z<V;){const ne=R[C],_e=m.substring(ne.startIndex,ne.endIndex);Z+=_e.length,X.explanation.push({content:_e,scopes:Xm(n,ne.scopes)}),C+=1}}u.push(X)}f.push(u),u=[],c=E.ruleStack}return f}function Xm(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:Zm(e,s,i)}}return n}function Ds(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function Qm(e,t,n,r){if(!Ds(e,n))return!1;let o=t.length-1,i=r.length-1;for(;o>=0&&i>=0;)Ds(t[o],r[i])&&(o-=1),i-=1;return o===-1}function Zm(e,t,n){const r=[];let o=0;for(let i=0,s=e.settings.length;i<s;i++){const l=e.settings[i];let a;if(typeof l.scope=="string")a=l.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(l.scope))a=l.scope;else continue;for(let c=0,u=a.length;c<u;c++){const d=a[c].split(/ /),h=d[d.length-1],m=d.slice(0,d.length-1);Qm(h,m,t,n)&&(r[o++]=l,c=u)}}return r}function sc(e,t,n){const r=Object.entries(n.themes).filter(s=>s[1]).map(s=>({color:s[0],theme:s[1]})),o=e_(...r.map(s=>Ei(e,t,{...n,theme:s.theme})));return o[0].map((s,l)=>s.map((a,c)=>{const u={content:a.content,variants:{},offset:a.offset};return o.forEach((f,d)=>{const{content:h,explanation:m,offset:y,...v}=f[l][c];u.variants[r[d].color]=v}),u}))}function e_(...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 we extends Error{constructor(t){super(t),this.name="ShikiError"}}function Ar(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(y=>y[1]).map(y=>({color:y[0],theme:y[1]})).sort((y,v)=>y.color===a?-1:v.color===a?1:0);if(u.length===0)throw new we("`themes` option must not be empty");const f=sc(e,t,n);if(a&&!u.find(y=>y.color===a))throw new we(`\`themes\` option must contain the defaultColor key \`${a}\``);const d=u.map(y=>e.getTheme(y.theme)),h=u.map(y=>y.color);i=f.map(y=>y.map(v=>t_(v,h,c,a)));const m=u.map(y=>Pr(y.theme,n));o=u.map((y,v)=>(v===0&&a?"":`${c+y.color}:`)+(Lt(d[v].fg,m[v])||"inherit")).join(";"),r=u.map((y,v)=>(v===0&&a?"":`${c+y.color}-bg:`)+(Lt(d[v].bg,m[v])||"inherit")).join(";"),s=`shiki-themes ${d.map(y=>y.name).join(" ")}`,l=a?void 0:[o,r].join(";")}else if("theme"in n){const a=Pr(n.theme,n.colorReplacements);i=Ei(e,t,n);const c=e.getTheme(n.theme);r=Lt(c.bg,a),o=Lt(c.fg,a),s=c.name}else throw new we("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:o,bg:r,themeName:s,rootStyle:l}}function t_(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(a=>oc(e.variants[a])),s=new Set(i.flatMap(a=>Object.keys(a))),l=i.reduce((a,c,u)=>{for(const f of s){const d=c[f]||"inherit";if(u===0&&r)a[f]=d;else{const h=f==="color"?"":f==="background-color"?"-bg":`-${f}`,m=n+t[u]+(f==="color"?"":h);a[f]?a[f]+=`;${m}:${d}`:a[f]=`${m}:${d}`}}return a},{});return o.htmlStyle=r?ic(l):Object.values(l).join(";"),o}function n_(){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=$m(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 we(`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 we(`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 Hm(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 we(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${o.converter.lines.length}). Failed to apply decorations.`);function s(d,h,m,y){const v=i[d];let R="",C=-1,E=-1;function A(P){return P.type==="text"?P.value:P.type==="element"?P.children.map(A).join(""):""}if(h===0&&(C=0),m===0&&(E=0),m===Number.POSITIVE_INFINITY&&(E=v.children.length),C===-1||E===-1)for(let P=0;P<v.children.length;P++)R+=A(v.children[P]),C===-1&&R.length===h&&(C=P+1),E===-1&&R.length===m&&(E=P+1);if(C===-1)throw new we(`Failed to find start index for decoration ${JSON.stringify(y.start)}`);if(E===-1)throw new we(`Failed to find end index for decoration ${JSON.stringify(y.end)}`);const T=v.children.slice(C,E);if(!y.alwaysWrap&&T.length===v.children.length)a(v,y,"line");else if(!y.alwaysWrap&&T.length===1&&T[0].type==="element")a(T[0],y,"token");else{const P={type:"element",tagName:"span",properties:{},children:T};a(P,y,"wrapper"),v.children.splice(C,T.length,P)}}function l(d,h){i[d]=a(i[d],h,"line")}function a(d,h,m){var R;const y=h.properties||{},v=h.transform||(C=>C);return d.tagName=h.tagName||"span",d.properties={...d.properties,...y,class:d.properties.class},(R=h.properties)!=null&&R.class&&rc(d,h.properties.class),d=v(d,m)||d,d}const c=[],u=o.decorations.sort((d,h)=>h.start.offset-d.start.offset);for(const d of u){const{start:h,end:m}=d;if(h.line===m.line)s(h.line,h.character,m.character,d);else if(h.line<m.line){s(h.line,h.character,Number.POSITIVE_INFINITY,d);for(let y=h.line+1;y<m.line;y++)c.unshift(()=>l(y,d));s(m.line,0,m.character,d)}}c.forEach(d=>d())}}}const r_=[n_()];function Cr(e){return[...e.transformers||[],...r_]}function Sr(e,t,n,r={meta:{},options:n,codeToHast:(o,i)=>Sr(e,o,i),codeToTokens:(o,i)=>Ar(e,o,i)}){var d,h;let o=t;for(const m of Cr(n))o=((d=m.preprocess)==null?void 0:d.call(r,o,n))||o;let{tokens:i,fg:s,bg:l,themeName:a,rootStyle:c}=Ar(e,o,n);const{mergeWhitespaces:u=!0}=n;u===!0?i=i_(i):u==="never"&&(i=s_(i));const f={...r,get source(){return o}};for(const m of Cr(n))i=((h=m.tokens)==null?void 0:h.call(f,i))||i;return o_(i,{...n,fg:s,bg:l,themeName:a,rootStyle:c},f)}function o_(e,t,n){var d,h,m;const r=Cr(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(([y])=>!y.startsWith("_")))},children:[]},a={type:"element",tagName:"code",properties:{},children:o};const c=[],u={...n,structure:s,addClassToHast:rc,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((y,v)=>{var E,A;v&&(s==="inline"?i.children.push({type:"element",tagName:"br",properties:{},children:[]}):s==="classic"&&o.push({type:"text",value:`
|
|
21
|
+
`}));let R={type:"element",tagName:"span",properties:{class:"line"},children:[]},C=0;for(const T of y){let P={type:"element",tagName:"span",properties:{},children:[{type:"text",value:T.content}]};const V=T.htmlStyle||ic(oc(T));V&&(P.properties.style=V);for(const U of r)P=((E=U==null?void 0:U.span)==null?void 0:E.call(u,P,v+1,C,R))||P;s==="inline"?i.children.push(P):s==="classic"&&R.children.push(P),C+=T.content.length}if(s==="classic"){for(const T of r)R=((A=T==null?void 0:T.line)==null?void 0:A.call(u,R,v+1))||R;c.push(R),o.push(R)}}),s==="classic"){for(const y of r)a=((d=y==null?void 0:y.code)==null?void 0:d.call(u,a))||a;l.children.push(a);for(const y of r)l=((h=y==null?void 0:y.pre)==null?void 0:h.call(u,l))||l;i.children.push(l)}let f=i;for(const y of r)f=((m=y==null?void 0:y.root)==null?void 0:m.call(u,f))||f;return f}function i_(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((i,s)=>{const a=!(i.fontStyle&&i.fontStyle&Ge.Underline);a&&i.content.match(/^\s+$/)&&t[s+1]?(o||(o=i.offset),r+=i.content):r?(a?n.push({...i,offset:o,content:r+i.content}):n.push({content:r,offset:o},i),o=0,r=""):n.push(i)}),n})}function s_(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 l_=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Dn{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Dn.prototype.property={};Dn.prototype.normal={};Dn.prototype.space=null;function lc(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new Dn(n,r,t)}function jo(e){return e.toLowerCase()}class He{constructor(t,n){this.property=t,this.attribute=n}}He.prototype.space=null;He.prototype.boolean=!1;He.prototype.booleanish=!1;He.prototype.overloadedBoolean=!1;He.prototype.number=!1;He.prototype.commaSeparated=!1;He.prototype.spaceSeparated=!1;He.prototype.commaOrSpaceSeparated=!1;He.prototype.mustUseProperty=!1;He.prototype.defined=!1;let a_=0;const z=jt(),de=jt(),ac=jt(),I=jt(),oe=jt(),Xt=jt(),Me=jt();function jt(){return 2**++a_}var Fo=Object.freeze({__proto__:null,boolean:z,booleanish:de,commaOrSpaceSeparated:Me,commaSeparated:Xt,number:I,overloadedBoolean:ac,spaceSeparated:oe});const ao=Object.keys(Fo);class vi extends He{constructor(t,n,r,o){let i=-1;if(super(t,n),Ms(this,"space",o),typeof r=="number")for(;++i<ao.length;){const s=ao[i];Ms(this,ao[i],(r&Fo[s])===Fo[s])}}}vi.prototype.defined=!0;function Ms(e,t,n){n&&(e[t]=n)}const c_={}.hasOwnProperty;function an(e){const t={},n={};let r;for(r in e.properties)if(c_.call(e.properties,r)){const o=e.properties[r],i=new vi(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[jo(r)]=r,n[jo(i.attribute)]=r}return new Dn(t,n,e.space)}const cc=an({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}}),uc=an({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function fc(e,t){return t in e?e[t]:t}function dc(e,t){return fc(e,t.toLowerCase())}const pc=an({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:dc,properties:{xmlns:null,xmlnsXLink:null}}),hc=an({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:de,ariaAutoComplete:null,ariaBusy:de,ariaChecked:de,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:oe,ariaCurrent:null,ariaDescribedBy:oe,ariaDetails:null,ariaDisabled:de,ariaDropEffect:oe,ariaErrorMessage:null,ariaExpanded:de,ariaFlowTo:oe,ariaGrabbed:de,ariaHasPopup:null,ariaHidden:de,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:oe,ariaLevel:I,ariaLive:null,ariaModal:de,ariaMultiLine:de,ariaMultiSelectable:de,ariaOrientation:null,ariaOwns:oe,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:de,ariaReadOnly:de,ariaRelevant:null,ariaRequired:de,ariaRoleDescription:oe,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:de,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null}}),u_=an({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:dc,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Xt,acceptCharset:oe,accessKey:oe,action:null,allow:null,allowFullScreen:z,allowPaymentRequest:z,allowUserMedia:z,alt:null,as:null,async:z,autoCapitalize:null,autoComplete:oe,autoFocus:z,autoPlay:z,blocking:oe,capture:null,charSet:null,checked:z,cite:null,className:oe,cols:I,colSpan:null,content:null,contentEditable:de,controls:z,controlsList:oe,coords:I|Xt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:z,defer:z,dir:null,dirName:null,disabled:z,download:ac,draggable:de,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:z,formTarget:null,headers:oe,height:I,hidden:z,high:I,href:null,hrefLang:null,htmlFor:oe,httpEquiv:oe,id:null,imageSizes:null,imageSrcSet:null,inert:z,inputMode:null,integrity:null,is:null,isMap:z,itemId:null,itemProp:oe,itemRef:oe,itemScope:z,itemType:oe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:z,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:z,muted:z,name:null,nonce:null,noModule:z,noValidate:z,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:z,optimum:I,pattern:null,ping:oe,placeholder:null,playsInline:z,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:z,referrerPolicy:null,rel:oe,required:z,reversed:z,rows:I,rowSpan:I,sandbox:oe,scope:null,scoped:z,seamless:z,selected:z,shadowRootDelegatesFocus:z,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:de,src:null,srcDoc:null,srcLang:null,srcSet:null,start:I,step:null,style:null,tabIndex:I,target:null,title:null,translate:null,type:null,typeMustMatch:z,useMap:null,value:de,width:I,wrap:null,align:null,aLink:null,archive:oe,axis:null,background:null,bgColor:null,border:I,borderColor:null,bottomMargin:I,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:z,declare:z,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:z,noHref:z,noShade:z,noWrap:z,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:de,standby:null,summary:null,text:null,topMargin:I,valueType:null,version:null,vAlign:null,vLink:null,vSpace:I,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:z,disableRemotePlayback:z,prefix:null,property:null,results:I,security:null,unselectable:null}}),f_=an({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:fc,properties:{about:Me,accentHeight:I,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:I,amplitude:I,arabicForm:null,ascent:I,attributeName:null,attributeType:null,azimuth:I,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:I,by:null,calcMode:null,capHeight:I,className:oe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:I,diffuseConstant:I,direction:null,display:null,dur:null,divisor:I,dominantBaseline:null,download:z,dx:null,dy:null,edgeMode:null,editable:null,elevation:I,enableBackground:null,end:null,event:null,exponent:I,externalResourcesRequired:null,fill:null,fillOpacity:I,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Xt,g2:Xt,glyphName:Xt,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:Me,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:I,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:I,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:I,overlineThickness:I,paintOrder:null,panose1:null,path:null,pathLength:I,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:oe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Me,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Me,rev:Me,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Me,requiredFeatures:Me,requiredFonts:Me,requiredFormats:Me,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:Me,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:Me,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:Me,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}}),d_=/^data[-\w.:]+$/i,Vs=/-[a-z]/g,p_=/[A-Z]/g;function h_(e,t){const n=jo(t);let r=t,o=He;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&d_.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Vs,__);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Vs.test(i)){let s=i.replace(p_,m_);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}o=vi}return new o(r,t)}function m_(e){return"-"+e.toLowerCase()}function __(e){return e.charAt(1).toUpperCase()}const g_=lc([uc,cc,pc,hc,u_],"html"),mc=lc([uc,cc,pc,hc,f_],"svg"),Bs={}.hasOwnProperty;function y_(e,t){const n=t||{};function r(o,...i){let s=r.invalid;const l=r.handlers;if(o&&Bs.call(o,e)){const a=String(o[e]);s=Bs.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 b_(e,t){if(e=e.replace(t.subset?E_(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 E_(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 w_(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const R_=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],co={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},T_=["cent","copy","divide","gt","lt","not","para","times"],_c={}.hasOwnProperty,Ho={};let Jn;for(Jn in co)_c.call(co,Jn)&&(Ho[co[Jn]]=Jn);function P_(e,t,n,r){const o=String.fromCharCode(e);if(_c.call(Ho,o)){const i=Ho[o],s="&"+i;return n&&R_.includes(i)&&!T_.includes(i)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?s:s+";"}return""}function A_(e,t,n){let r=v_(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=P_(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const i=w_(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function Qt(e,t){return b_(e,Object.assign({format:A_},t))}const C_=/^>|^->|<!--|-->|--!>|<!-$/g,S_=[">"],L_=["<",">"];function O_(e,t,n,r){return r.settings.bogusComments?"<?"+Qt(e.value,Object.assign({},r.settings.characterReferences,{subset:S_}))+">":"<!--"+e.value.replace(C_,o)+"-->";function o(i){return Qt(i,Object.assign({},r.settings.characterReferences,{subset:L_}))}}function I_(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function js(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 x_(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function k_(e){return e.join(" ").trim()}const N_=/[ \t\n\f\r]/g;function wi(e){return typeof e=="object"?e.type==="text"?Fs(e.value):!1:Fs(e)}function Fs(e){return e.replace(N_,"")===""}const me=yc(1),gc=yc(-1),D_=[];function yc(e){return t;function t(n,r,o){const i=n?n.children:D_;let s=(r||0)+e,l=i[s];if(!o)for(;l&&wi(l);)s+=e,l=i[s];return l}}const M_={}.hasOwnProperty;function bc(e){return t;function t(n,r,o){return M_.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const Ri=bc({body:B_,caption:uo,colgroup:uo,dd:$_,dt:H_,head:uo,html:V_,li:F_,optgroup:U_,option:G_,p:j_,rp:Hs,rt:Hs,tbody:q_,td:$s,tfoot:K_,th:$s,thead:W_,tr:z_});function uo(e,t,n){const r=me(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&wi(r.value.charAt(0)))}function V_(e,t,n){const r=me(n,t);return!r||r.type!=="comment"}function B_(e,t,n){const r=me(n,t);return!r||r.type!=="comment"}function j_(e,t,n){const r=me(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function F_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="li"}function H_(e,t,n){const r=me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function $_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Hs(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function U_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function G_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function W_(e,t,n){const r=me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function q_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function K_(e,t,n){return!me(n,t)}function z_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function $s(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const J_=bc({body:Q_,colgroup:Z_,head:X_,html:Y_,tbody:eg});function Y_(e){const t=me(e,-1);return!t||t.type!=="comment"}function X_(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 Q_(e){const t=me(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&wi(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Z_(e,t,n){const r=gc(n,t),o=me(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Ri(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function eg(e,t,n){const r=gc(n,t),o=me(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Ri(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const Yn={name:[[`
|
|
22
|
+
\f\r &/=>`.split(""),`
|
|
23
|
+
\f\r "&'/=>\``.split("")],[`\0
|
|
24
|
+
\f\r "&'/<=>`.split(""),`\0
|
|
25
|
+
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
|
26
|
+
\f\r &>`.split(""),`\0
|
|
27
|
+
\f\r "&'<=>\``.split("")],[`\0
|
|
28
|
+
\f\r "&'<=>\``.split(""),`\0
|
|
29
|
+
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function tg(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=mc);const c=ng(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(s=!1),(c||!i||!J_(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||!Ri(e,t,n))&&l.push("</"+e.tagName+">"),l.join("")}function ng(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const i=rg(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 rg(e,t,n){const r=h_(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=Qt(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Yn.name[o][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?x_:k_)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?a:(e.settings.preferUnquoted&&(l=Qt(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Yn.unquoted[o][i]}))),l!==n&&(e.settings.quoteSmart&&js(n,s)>js(n,e.alternative)&&(s=e.alternative),l=s+Qt(n,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?Yn.single:Yn.double)[o][i],attribute:!0}))+s),a+(l&&"="+l))}const og=["<","&"];function Ec(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Qt(e.value,Object.assign({},r.settings.characterReferences,{subset:og}))}function ig(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Ec(e,t,n,r)}function sg(e,t,n,r){return r.all(e)}const lg=y_("type",{invalid:ag,unknown:cg,handlers:{comment:O_,doctype:I_,element:tg,raw:ig,root:sg,text:Ec}});function ag(e){throw new Error("Expected node, not `"+e+"`")}function cg(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const ug={},fg={},dg=[];function pg(e,t){const n=ug,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:hg,all:mg,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||l_,characterReferences:n.characterReferences||fg,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?mc:g_,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function hg(e,t,n){return lg(e,t,n,this)}function mg(e){const t=[],n=e&&e.children||dg;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function _g(e,t,n){var i;const r={meta:{},options:n,codeToHast:(s,l)=>Sr(e,s,l),codeToTokens:(s,l)=>Ar(e,s,l)};let o=pg(Sr(e,t,n,r));for(const s of Cr(n))o=((i=s.postprocess)==null?void 0:i.call(r,o,n))||o;return o}async function gg(e){let t,n;const r={};function o(d){n=d,r.HEAPU8=new Uint8Array(d),r.HEAPU32=new Uint32Array(d)}function i(){return typeof performance<"u"?performance.now():Date.now()}function s(d,h,m){r.HEAPU8.copyWithin(d,h,h+m)}function l(){return 2147483648}function a(d){try{return t.grow(d-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}function c(d){const h=r.HEAPU8.length;d=d>>>0;const m=l();if(d>m)return!1;const y=(v,R)=>v+(R-v%R)%R;for(let v=1;v<=4;v*=2){let R=h*(1+.2/v);R=Math.min(R,d+100663296);const C=Math.min(m,y(Math.max(d,R),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 h=await e({env:u,wasi_snapshot_preview1:u});t=h.memory,o(t.buffer),Object.assign(r,h)}return await f(),r}let be=null,yg=!1;function bg(e){throw new we(e.UTF8ToString(e.getLastOnigError()))}class $r{constructor(t){g(this,"utf16Length");g(this,"utf8Length");g(this,"utf16Value");g(this,"utf8Value");g(this,"utf16OffsetToUtf8");g(this,"utf8OffsetToUtf16");const n=t.length,r=$r._utf8ByteLength(t),o=r!==n,i=o?new Uint32Array(n+1):null;o&&(i[n]=r);const s=o?new Uint32Array(r+1):null;o&&(s[r]=n);const l=new Uint8Array(r);let a=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,d=!1;if(u>=55296&&u<=56319&&c+1<n){const h=t.charCodeAt(c+1);h>=56320&&h<=57343&&(f=(u-55296<<10)+65536|h-56320,d=!0)}o&&(i[c]=a,d&&(i[c+1]=a),f<=127?s[a+0]=c:f<=2047?(s[a+0]=c,s[a+1]=c):f<=65535?(s[a+0]=c,s[a+1]=c,s[a+2]=c):(s[a+0]=c,s[a+1]=c,s[a+2]=c,s[a+3]=c)),f<=127?l[a++]=f:f<=2047?(l[a++]=192|(f&1984)>>>6,l[a++]=128|(f&63)>>>0):f<=65535?(l[a++]=224|(f&61440)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0):(l[a++]=240|(f&1835008)>>>18,l[a++]=128|(f&258048)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=l,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=s}static _utf8ByteLength(t){let n=0;for(let r=0,o=t.length;r<o;r++){const i=t.charCodeAt(r);let s=i,l=!1;if(i>=55296&&i<=56319&&r+1<o){const a=t.charCodeAt(r+1);a>=56320&&a<=57343&&(s=(i-55296<<10)+65536|a-56320,l=!0)}s<=127?n+=1:s<=2047?n+=2:s<=65535?n+=3:n+=4,l&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const Oe=class Oe{constructor(t){g(this,"id",++Oe.LAST_ID);g(this,"_onigBinding");g(this,"content");g(this,"utf16Length");g(this,"utf8Length");g(this,"utf16OffsetToUtf8");g(this,"utf8OffsetToUtf16");g(this,"ptr");if(!be)throw new we("Must invoke loadWasm first.");this._onigBinding=be,this.content=t;const n=new $r(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Oe._sharedPtrInUse?(Oe._sharedPtr||(Oe._sharedPtr=be.omalloc(1e4)),Oe._sharedPtrInUse=!0,be.HEAPU8.set(n.utf8Value,Oe._sharedPtr),this.ptr=Oe._sharedPtr):this.ptr=n.createString(be)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===Oe._sharedPtr?Oe._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};g(Oe,"LAST_ID",0),g(Oe,"_sharedPtr",0),g(Oe,"_sharedPtrInUse",!1);let Lr=Oe;class Eg{constructor(t){g(this,"_onigBinding");g(this,"_ptr");if(!be)throw new we("Must invoke loadWasm first.");const n=[],r=[];for(let l=0,a=t.length;l<a;l++){const c=new $r(t[l]);n[l]=c.createString(be),r[l]=c.utf8Length}const o=be.omalloc(4*t.length);be.HEAPU32.set(n,o/4);const i=be.omalloc(4*t.length);be.HEAPU32.set(r,i/4);const s=be.createOnigScanner(o,i,t.length);for(let l=0,a=t.length;l<a;l++)be.ofree(n[l]);be.ofree(i),be.ofree(o),s===0&&bg(be),this._onigBinding=be,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=yg,i=0;if(typeof r=="number"?(r&8&&(o=!0),i=r):typeof r=="boolean"&&(o=r),typeof t=="string"){t=new Lr(t);const s=this._findNextMatchSync(t,n,o,i);return t.dispose(),s}return this._findNextMatchSync(t,n,o,i)}_findNextMatchSync(t,n,r,o){const i=this._onigBinding;let s;if(r?s=i.findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o):s=i.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o),s===0)return null;const l=i.HEAPU32;let a=s/4;const c=l[a++],u=l[a++],f=[];for(let d=0;d<u;d++){const h=t.convertUtf8OffsetToUtf16(l[a++]),m=t.convertUtf8OffsetToUtf16(l[a++]);f[d]={start:h,end:m,length:m-h}}return{index:c,captureIndices:f}}}function vg(e){return typeof e.instantiator=="function"}function wg(e){return typeof e.default=="function"}function Rg(e){return typeof e.data<"u"}function Tg(e){return typeof Response<"u"&&e instanceof Response}function Pg(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 Xn;function Ag(e){if(Xn)return Xn;async function t(){be=await gg(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),vg(r)?r=await r.instantiator(n):wg(r)?r=await r.default(n):(Rg(r)&&(r=r.data),Tg(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await Cg(r)(n):r=await Sg(r)(n):Pg(r)?r=await fo(r)(n):r instanceof WebAssembly.Module?r=await fo(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await fo(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Xn=t(),Xn}function fo(e){return t=>WebAssembly.instantiate(e,t)}function Cg(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Sg(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function Lg(e){return new Lr(e)}function Og(e){return new Eg(e)}const Us={light:"#333333",dark:"#bbbbbb"},Gs={light:"#fffffe",dark:"#1e1e1e"},Ws="__shiki_resolved";function vc(e){var l,a,c,u,f;if(e!=null&&e[Ws])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type="dark"),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:n,fg:r}=t;if(!n||!r){const d=t.settings?t.settings.find(h=>!h.name&&!h.scope):void 0;(l=d==null?void 0:d.settings)!=null&&l.foreground&&(r=d.settings.foreground),(a=d==null?void 0:d.settings)!=null&&a.background&&(n=d.settings.background),!r&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(r=t.colors["editor.foreground"]),!n&&((u=t==null?void 0:t.colors)!=null&&u["editor.background"])&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?Us.light:Us.dark),n||(n=t.type==="light"?Gs.light:Gs.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 m;if(i.has(d))return i.get(d);o+=1;const h=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(m=t.colorReplacements)!=null&&m[`#${h}`]?s(d):(i.set(d,h),h)}t.settings=t.settings.map(d=>{var v,R;const h=((v=d.settings)==null?void 0:v.foreground)&&!d.settings.foreground.startsWith("#"),m=((R=d.settings)==null?void 0:R.background)&&!d.settings.background.startsWith("#");if(!h&&!m)return d;const y={...d,settings:{...d.settings}};if(h){const C=s(d.settings.foreground);t.colorReplacements[C]=d.settings.foreground,y.settings.foreground=C}if(m){const C=s(d.settings.background);t.colorReplacements[C]=d.settings.background,y.settings.background=C}return y});for(const d of Object.keys(t.colors||{}))if((d==="editor.foreground"||d==="editor.background"||d.startsWith("terminal.ansi"))&&!((f=t.colors[d])!=null&&f.startsWith("#"))){const h=s(t.colors[d]);t.colorReplacements[h]=t.colors[d],t.colors[d]=h}return Object.defineProperty(t,Ws,{enumerable:!1,writable:!1,value:!0}),t}class Ig extends Bm{constructor(n,r,o,i={}){super(n);g(this,"_resolver");g(this,"_themes");g(this,"_langs");g(this,"_alias");g(this,"_resolvedThemes",{});g(this,"_resolvedGrammars",{});g(this,"_langMap",{});g(this,"_langGraph",new Map);g(this,"_textmateThemeCache",new WeakMap);g(this,"_loadedThemesCache",null);g(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=vc(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=Rr.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 we(`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 we(`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 xg{constructor(t,n){g(this,"_langs",new Map);g(this,"_scopeToLang",new Map);g(this,"_injections",new Map);g(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 kg;async function Ng(e={}){async function t(v){return Promise.resolve(typeof v=="function"?v():v).then(R=>R.default||R)}async function n(v){return Array.from(new Set((await Promise.all(v.filter(R=>!ec(R)).map(async R=>await t(R).then(C=>Array.isArray(C)?C:[C])))).flat()))}const r=e.loadWasm||kg,[o,i]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(v=>v.map(vc)),n(e.langs||[]),r?Ag(r):void 0]),s=new xg(Promise.resolve({createOnigScanner(v){return Og(v)},createOnigString(v){return Lg(v)}}),i),l=new Ig(s,o,i,e.langAlias);await l.init();let a;function c(v){const R=l.getGrammar(typeof v=="string"?v:v.name);if(!R)throw new we(`Language \`${v}\` not found, you may need to load it first`);return R}function u(v){if(v==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const R=l.getTheme(v);if(!R)throw new we(`Theme \`${v}\` not found, you may need to load it first`);return R}function f(v){const R=u(v);a!==v&&(l.setTheme(R),a=v);const C=l.getColorMap();return{theme:R,colorMap:C}}function d(){return l.getLoadedThemes()}function h(){return l.getLoadedLanguages()}async function m(...v){await l.loadLanguages(await n(v))}async function y(...v){await Promise.all(v.map(async R=>nc(R)?null:l.loadTheme(await t(R))))}return{setTheme:f,getTheme:u,getLanguage:c,getLoadedThemes:d,getLoadedLanguages:h,loadLanguage:m,loadTheme:y}}async function Dg(e={}){const t=await Ng(e);return{codeToTokensBase:(n,r)=>Ei(t,n,r),codeToTokensWithThemes:(n,r)=>sc(t,n,r),codeToTokens:(n,r)=>Ar(t,n,r),codeToHast:(n,r)=>Sr(t,n,r),codeToHtml:(n,r)=>_g(t,n,r),...t,getInternalContext:()=>t}}function Mg(e,t,n){async function r(o){function i(u){if(typeof u=="string"){if(ec(u))return[];const f=e[u];if(!f)throw new we(`Language \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}function s(u){if(nc(u))return"none";if(typeof u=="string"){const f=t[u];if(!f)throw new we(`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 Dg({...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 Vg=Mg(Qh,tm,Zh),wc=We(),Rc=We();function Bg(){return Vg({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{Rc.value=e})}function jg(e,t){return _t(()=>{var r;const n=((r=wc.value)==null?void 0:r.colorMode)||"light";return Rc.value.codeToHtml(hu(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const Fg=["innerHTML"],Hg=Bt({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!1},transformRendered:{}},setup(e){const t=e,n=_t(()=>{const r=jg(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,o)=>(te(),Se("pre",{class:Vt(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,Fg))}});async function $g(e){const t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return Gg(await Ug(t))}async function Ug(e){const t=e.body.getReader(),n=+e.headers.get("Content-Length");if(n)return n;{let r=0;for(;;){const{done:o,value:i}=await t.read();if(o)return r;r+=i.length}}}function Gg(e){const t=["Bytes","KB","MB","GB","TB"];if(e===0)return"0 Byte";const n=Math.floor(Math.log(e)/Math.log(1024));return`${Number.parseFloat((e/1024**n).toFixed(2))} ${t[n]}`}function Wg(e){return new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"numeric",second:"numeric",hour12:!0}).format(e)}function qg(e){return wd(e)?new URL(e).origin:e}let Kg;const un=[];function zg(e){if(un.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&un.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&un.forEach(n=>n(t))},get(){return Kg.value},configurable:!0}),()=>{un.splice(un.indexOf(e),1)}}const Jg={class:"relative n-bg-base flex flex-col"},Yg={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},Xg={class:"mx-auto flex flex-col w-full"},Qg={key:0},Zg=xe("div",null,"No scripts loaded.",-1),ey=[Zg],ty={class:"space-y-3"},ny={class:"flex items-center justify-between w-full mb-3"},ry={class:"flex items-center gap-4"},oy=["title","href"],iy=["src"],sy={class:"opacity-70"},ly={key:0},ay={class:"space-y-2"},cy={class:"opacity-40"},uy={key:0,class:"font-bold px-2 py-[2px] bg-green-50 text-green-700 rounded-lg"},fy={key:1,class:"font-bold px-2 py-[2px] bg-gray-100 text-gray-700 rounded-lg"},dy={key:2,class:"font-bold px-2 py-[2px] bg-red-100 text-red-700 rounded-lg"},py={key:3,class:"font-bold px-2 py-[2px] bg-yellow-100 text-yellow-700 rounded-lg"},hy=Bt({__name:"app",async setup(e){let t,n;[t,n]=Yu(()=>Bg()),await t,n();const r=We({}),o=Ze({});function i(s){r.value={...s};for(const l in s)o[l]||$g(s[l].src).then(a=>{o[l]=a}).catch(()=>{o[l]=0})}return zg(async s=>{wc.value=s.devtools,s.host.nuxt.hooks.hook("scripts:updated",l=>{i(l.scripts)}),i(s.host.nuxt._scripts)}),(s,l)=>{const a=Jh,c=Hg;return te(),Se("div",Jg,[xe("div",Yg,[xe("main",Xg,[Object.keys(ie(r)).length?At("",!0):(te(),Se("div",Qg,ey)),xe("div",ty,[(te(!0),Se(Pe,null,Ui(ie(r),(u,f)=>(te(),Se("div",{key:f,class:"w-full"},[xe("div",ny,[xe("div",ry,[xe("a",{class:"text-xl font-bold flex gap-2 items-center font-mono",title:u.src,target:"_blank",href:u.src},[u.src.startsWith("/")?At("",!0):(te(),Se("img",{key:0,src:`https://www.google.com/s2/favicons?domain=${ie(qg)(u.src)}`,class:"w-4 h-4 rounded-lg"},null,8,iy)),xe("div",null,at(u.key),1)],8,oy),xe("div",sy,at(u.$script.status.value),1),ie(o)[u.key]?(te(),Se("div",ly,at(ie(o)[u.key]),1)):At("",!0)]),xe("div",null,[u.$script.status==="awaitingLoad"?(te(),ke(a,{key:0,onClick:d=>u.$script.load()},{default:Rn(()=>[dr(" Load ")]),_:2},1032,["onClick"])):u.$script.status==="loaded"?(te(),ke(a,{key:1,onClick:d=>u.$script.remove()},{default:Rn(()=>[dr(" Remove ")]),_:2},1032,["onClick"])):At("",!0)])]),xe("div",ay,[(te(!0),Se(Pe,null,Ui(u.events,(d,h)=>{var m;return te(),Se("div",{key:h,class:"flex gap-3 text-xs justify-start items-center"},[xe("div",cy,at(ie(Wg)(d.at)),1),d.type==="status"?(te(),Se(Pe,{key:0},[d.status==="loaded"?(te(),Se("div",uy,at(d.status),1)):d.status==="awaitingLoad"?(te(),Se("div",fy,at(d.status),1)):d.status==="removed"||d.status==="error"?(te(),Se("div",dy,at(d.status),1)):d.status==="loading"?(te(),Se("div",py,at(d.status),1)):At("",!0)],64)):d.type==="fn-call"&&d.args?(te(),ke(c,{key:1,code:`${d.fn}(${((m=d.args)==null?void 0:m.map(y=>JSON.stringify(y,null,2)).join(", "))||""})`,lang:"javascript"},null,8,["code"])):d.type==="fn-call"&&!d.args?(te(),ke(c,{key:2,code:`QUEUED ${d.fn}`,lang:"javascript"},null,8,["code"])):At("",!0)])}),128))])]))),128))])])])])}}}),my={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
|
|
30
|
+
`).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(`
|
|
31
|
+
`);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?$i(()=>p(()=>import("./ISosJq17.js"),__vite__mapDeps([114,115,116]),import.meta.url).then(f=>f.default||f)):$i(()=>p(()=>import("./BsZo98M5.js"),__vite__mapDeps([117,115,118]),import.meta.url).then(f=>f.default||f));return(f,d)=>(te(),ke(ie(u),jc(na({statusCode:ie(r),statusMessage:ie(i),description:ie(s),stack:ie(l)})),null,16))}},qs={__name:"nuxt-root",setup(e){const t=()=>null,n=fe(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Rt().beforeEach(l)}const o=!1;jl(Ca,Sa()),n.hooks.callHookWith(l=>l.map(a=>a()),"vue:setup");const i=hi();Dl((l,a,c)=>{if(n.hooks.callHook("vue:error",l,a,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),vp(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>bp(l)),!1});const s=!1;return(l,a)=>(te(),ke(Iu,{onResolve:ie(r)},{default:Rn(()=>[ie(i)?(te(),ke(ie(my),{key:0,error:ie(i)},null,8,["error"])):ie(s)?(te(),ke(ie(t),{key:1,context:ie(s)},null,8,["context"])):ie(o)?(te(),ke(Cl(ie(o)),{key:2})):(te(),ke(ie(hy),{key:3}))]),_:1},8,["onResolve"]))}};let Ks;{let e;Ks=async function(){var s,l;if(e)return e;const r=!!((s=window.__NUXT__)!=null&&s.serverRendered||((l=document.getElementById("__NUXT_DATA__"))==null?void 0:l.dataset.ssr)==="true")?Qf(qs):Xf(qs),o=rp({vueApp:r});async function i(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||mi(a)}r.config.errorHandler=i;try{await ip(o,jh)}catch(a){i(a)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(hh),await o.hooks.callHook("app:mounted",r),await ti()}catch(a){i(a)}return r.config.errorHandler===i&&(r.config.errorHandler=void 0),r},e=Ks().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{qh as _,xe as a,ue as b,Se as c,dr as d,yy as e,by as f,hn as g,kl as h,_n as i,Hu as j,Fu as k,oa as l,te as o,gy as p,We as r,at as t,ie as u,Rn as w};
|