@nuxt/scripts 1.0.0-beta.4 → 1.0.0-beta.5
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 +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/{Ds2G8aQM.js → BdlC6_ZE.js} +1 -1
- package/dist/client/_nuxt/{D-kOnTuH.js → BjwaReHq.js} +3 -3
- package/dist/client/_nuxt/{DdVDSbUA.js → DHQOiKH-.js} +1 -1
- package/dist/client/_nuxt/{CD5B-xvT.js → Yng0Yl3W.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/d7be6a88-31d8-4c91-90c7-54ab7d487a0f.json +1 -0
- package/dist/client/index.html +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/registry/posthog.js +3 -1
- package/dist/runtime/utils/pure.js +3 -3
- package/package.json +3 -3
- package/dist/client/_nuxt/builds/meta/cc1ba70f-082b-4dc7-8639-5f076fef2cfa.json +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Yng0Yl3W.js","./BdlC6_ZE.js","./error-404.B57D-jUQ.css","./DHQOiKH-.js","./error-500.DTHUW7BI.css"])))=>i.map(i=>d[i]);
|
|
2
2
|
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function fi(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const he={},xn=[],mt=()=>{},Vl=()=>!1,br=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),hi=e=>e.startsWith("onUpdate:"),Te=Object.assign,di=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},rh=Object.prototype.hasOwnProperty,ce=(e,t)=>rh.call(e,t),Z=Array.isArray,Sn=e=>wr(e)==="[object Map]",ql=e=>wr(e)==="[object Set]",ia=e=>wr(e)==="[object Date]",Y=e=>typeof e=="function",ye=e=>typeof e=="string",lt=e=>typeof e=="symbol",ue=e=>e!==null&&typeof e=="object",pi=e=>(ue(e)||Y(e))&&Y(e.then)&&Y(e.catch),Kl=Object.prototype.toString,wr=e=>Kl.call(e),sh=e=>wr(e).slice(8,-1),Xl=e=>wr(e)==="[object Object]",_s=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Qt=fi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vs=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},oh=/-\w/g,nt=vs(e=>e.replace(oh,t=>t.slice(1).toUpperCase())),ih=/\B([A-Z])/g,ln=vs(e=>e.replace(ih,"-$1").toLowerCase()),Cs=vs(e=>e.charAt(0).toUpperCase()+e.slice(1)),$s=vs(e=>e?`on${Cs(e)}`:""),Ht=(e,t)=>!Object.is(e,t),jr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Yl=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ah=e=>{const t=parseFloat(e);return isNaN(t)?e:t},lh=e=>{const t=ye(e)?Number(e):NaN;return isNaN(t)?e:t};let aa;const xs=()=>aa||(aa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ss(e){if(Z(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=ye(r)?hh(r):Ss(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(ye(e)||ue(e))return e}const ch=/;(?![^(]*\))/g,uh=/:([^]+)/,fh=/\/\*[^]*?\*\//g;function hh(e){const t={};return e.replace(fh,"").split(ch).forEach(n=>{if(n){const r=n.split(uh);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Le(e){let t="";if(ye(e))t=e;else if(Z(e))for(let n=0;n<e.length;n++){const r=Le(e[n]);r&&(t+=r+" ")}else if(ue(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function dh(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ye(t)&&(e.class=Le(t)),n&&(e.style=Ss(n)),e}const ph="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",gh=fi(ph);function Zl(e){return!!e||e===""}function mh(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=ir(e[r],t[r]);return n}function ir(e,t){if(e===t)return!0;let n=ia(e),r=ia(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=lt(e),r=lt(t),n||r)return e===t;if(n=Z(e),r=Z(t),n||r)return n&&r?mh(e,t):!1;if(n=ue(e),r=ue(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!ir(e[i],t[i]))return!1}}return String(e)===String(t)}const Jl=e=>!!(e&&e.__v_isRef===!0),ie=e=>ye(e)?e:e==null?"":Z(e)||ue(e)&&(e.toString===Kl||!Y(e.toString))?Jl(e)?ie(e.value):JSON.stringify(e,Ql,2):String(e),Ql=(e,t)=>Jl(t)?Ql(e,t.value):Sn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[zs(r,o)+" =>"]=s,n),{})}:ql(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>zs(n))}:lt(t)?zs(t):ue(t)&&!Z(t)&&!Xl(t)?String(t):t,zs=(e,t="")=>{var n;return lt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Ge;class ec{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Ge,!t&&Ge&&(this.index=(Ge.scopes||(Ge.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Ge;try{return Ge=this,t()}finally{Ge=n}}}on(){++this._on===1&&(this.prevScope=Ge,Ge=this)}off(){this._on>0&&--this._on===0&&(Ge=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function yh(e){return new ec(e)}function tc(){return Ge}let ge;const Ws=new WeakSet;class nc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ge&&Ge.active&&Ge.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ws.has(this)&&(Ws.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||sc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,la(this),oc(this);const t=ge,n=it;ge=this,it=!0;try{return this.fn()}finally{ic(this),ge=t,it=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)yi(t);this.deps=this.depsTail=void 0,la(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ws.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){vo(this)&&this.run()}get dirty(){return vo(this)}}let rc=0,Jn,Qn;function sc(e,t=!1){if(e.flags|=8,t){e.next=Qn,Qn=e;return}e.next=Jn,Jn=e}function gi(){rc++}function mi(){if(--rc>0)return;if(Qn){let t=Qn;for(Qn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Jn;){let t=Jn;for(Jn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function oc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ic(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),yi(r),bh(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function vo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ac(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ac(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ar)||(e.globalVersion=ar,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!vo(e))))return;e.flags|=2;const t=e.dep,n=ge,r=it;ge=e,it=!0;try{oc(e);const s=e.fn(e._value);(t.version===0||Ht(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ge=n,it=r,ic(e),e.flags&=-3}}function yi(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)yi(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function bh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let it=!0;const lc=[];function Tt(){lc.push(it),it=!1}function Pt(){const e=lc.pop();it=e===void 0?!0:e}function la(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ge;ge=void 0;try{t()}finally{ge=n}}}let ar=0;class wh{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class bi{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ge||!it||ge===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ge)n=this.activeLink=new wh(ge,this),ge.deps?(n.prevDep=ge.depsTail,ge.depsTail.nextDep=n,ge.depsTail=n):ge.deps=ge.depsTail=n,cc(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ge.depsTail,n.nextDep=void 0,ge.depsTail.nextDep=n,ge.depsTail=n,ge.deps===n&&(ge.deps=r)}return n}trigger(t){this.version++,ar++,this.notify(t)}notify(t){gi();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{mi()}}}function cc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)cc(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const qr=new WeakMap,en=Symbol(""),Co=Symbol(""),lr=Symbol("");function Ie(e,t,n){if(it&&ge){let r=qr.get(e);r||qr.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new bi),s.map=r,s.key=n),s.track()}}function kt(e,t,n,r,s,o){const i=qr.get(e);if(!i){ar++;return}const a=l=>{l&&l.trigger()};if(gi(),t==="clear")i.forEach(a);else{const l=Z(e),u=l&&_s(n);if(l&&n==="length"){const c=Number(r);i.forEach((f,h)=>{(h==="length"||h===lr||!lt(h)&&h>=c)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(lr)),t){case"add":l?u&&a(i.get("length")):(a(i.get(en)),Sn(e)&&a(i.get(Co)));break;case"delete":l||(a(i.get(en)),Sn(e)&&a(i.get(Co)));break;case"set":Sn(e)&&a(i.get(en));break}}mi()}function _h(e,t){const n=qr.get(e);return n&&n.get(t)}function hn(e){const t=ae(e);return t===e?t:(Ie(t,"iterate",lr),Ye(e)?t:t.map(ct))}function ks(e){return Ie(e=ae(e),"iterate",lr),e}function Bt(e,t){return yt(e)?Mn(jt(e)?ct(t):t):ct(t)}const vh={__proto__:null,[Symbol.iterator](){return Vs(this,Symbol.iterator,e=>Bt(this,e))},concat(...e){return hn(this).concat(...e.map(t=>Z(t)?hn(t):t))},entries(){return Vs(this,"entries",e=>(e[1]=Bt(this,e[1]),e))},every(e,t){return _t(this,"every",e,t,void 0,arguments)},filter(e,t){return _t(this,"filter",e,t,n=>n.map(r=>Bt(this,r)),arguments)},find(e,t){return _t(this,"find",e,t,n=>Bt(this,n),arguments)},findIndex(e,t){return _t(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return _t(this,"findLast",e,t,n=>Bt(this,n),arguments)},findLastIndex(e,t){return _t(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return _t(this,"forEach",e,t,void 0,arguments)},includes(...e){return qs(this,"includes",e)},indexOf(...e){return qs(this,"indexOf",e)},join(e){return hn(this).join(e)},lastIndexOf(...e){return qs(this,"lastIndexOf",e)},map(e,t){return _t(this,"map",e,t,void 0,arguments)},pop(){return Vn(this,"pop")},push(...e){return Vn(this,"push",e)},reduce(e,...t){return ca(this,"reduce",e,t)},reduceRight(e,...t){return ca(this,"reduceRight",e,t)},shift(){return Vn(this,"shift")},some(e,t){return _t(this,"some",e,t,void 0,arguments)},splice(...e){return Vn(this,"splice",e)},toReversed(){return hn(this).toReversed()},toSorted(e){return hn(this).toSorted(e)},toSpliced(...e){return hn(this).toSpliced(...e)},unshift(...e){return Vn(this,"unshift",e)},values(){return Vs(this,"values",e=>Bt(this,e))}};function Vs(e,t,n){const r=ks(e),s=r[t]();return r!==e&&!Ye(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const Ch=Array.prototype;function _t(e,t,n,r,s,o){const i=ks(e),a=i!==e&&!Ye(e),l=i[t];if(l!==Ch[t]){const f=l.apply(e,o);return a?ct(f):f}let u=n;i!==e&&(a?u=function(f,h){return n.call(this,Bt(e,f),h,e)}:n.length>2&&(u=function(f,h){return n.call(this,f,h,e)}));const c=l.call(i,u,r);return a&&s?s(c):c}function ca(e,t,n,r){const s=ks(e);let o=n;return s!==e&&(Ye(e)?n.length>3&&(o=function(i,a,l){return n.call(this,i,a,l,e)}):o=function(i,a,l){return n.call(this,i,Bt(e,a),l,e)}),s[t](o,...r)}function qs(e,t,n){const r=ae(e);Ie(r,"iterate",lr);const s=r[t](...n);return(s===-1||s===!1)&&Es(n[0])?(n[0]=ae(n[0]),r[t](...n)):s}function Vn(e,t,n=[]){Tt(),gi();const r=ae(e)[t].apply(e,n);return mi(),Pt(),r}const xh=fi("__proto__,__v_isRef,__isVue"),uc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(lt));function Sh(e){lt(e)||(e=String(e));const t=ae(this);return Ie(t,"has",e),t.hasOwnProperty(e)}class fc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Nh:gc:o?pc:dc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=Z(t);if(!s){let l;if(i&&(l=vh[n]))return l;if(n==="hasOwnProperty")return Sh}const a=Reflect.get(t,n,we(t)?t:r);if((lt(n)?uc.has(n):xh(n))||(s||Ie(t,"get",n),o))return a;if(we(a)){const l=i&&_s(n)?a:a.value;return s&&ue(l)?So(l):l}return ue(a)?s?So(a):at(a):a}}class hc extends fc{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const i=Z(t)&&_s(n);if(!this._isShallow){const u=yt(o);if(!Ye(r)&&!yt(r)&&(o=ae(o),r=ae(r)),!i&&we(o)&&!we(r))return u||(o.value=r),!0}const a=i?Number(n)<t.length:ce(t,n),l=Reflect.set(t,n,r,we(t)?t:s);return t===ae(s)&&(a?Ht(r,o)&&kt(t,"set",n,r):kt(t,"add",n,r)),l}deleteProperty(t,n){const r=ce(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&kt(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!lt(n)||!uc.has(n))&&Ie(t,"has",n),r}ownKeys(t){return Ie(t,"iterate",Z(t)?"length":en),Reflect.ownKeys(t)}}class kh extends fc{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Eh=new hc,Ah=new kh,Rh=new hc(!0);const xo=e=>e,kr=e=>Reflect.getPrototypeOf(e);function Th(e,t,n){return function(...r){const s=this.__v_raw,o=ae(s),i=Sn(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=s[e](...r),c=n?xo:t?Mn:ct;return!t&&Ie(o,"iterate",l?Co:en),Te(Object.create(u),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:a?[c(f[0]),c(f[1])]:c(f),done:h}}})}}function Er(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ph(e,t){const n={get(s){const o=this.__v_raw,i=ae(o),a=ae(s);e||(Ht(s,a)&&Ie(i,"get",s),Ie(i,"get",a));const{has:l}=kr(i),u=t?xo:e?Mn:ct;if(l.call(i,s))return u(o.get(s));if(l.call(i,a))return u(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Ie(ae(s),"iterate",en),s.size},has(s){const o=this.__v_raw,i=ae(o),a=ae(s);return e||(Ht(s,a)&&Ie(i,"has",s),Ie(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)},forEach(s,o){const i=this,a=i.__v_raw,l=ae(a),u=t?xo:e?Mn:ct;return!e&&Ie(l,"iterate",en),a.forEach((c,f)=>s.call(o,u(c),u(f),i))}};return Te(n,e?{add:Er("add"),set:Er("set"),delete:Er("delete"),clear:Er("clear")}:{add(s){!t&&!Ye(s)&&!yt(s)&&(s=ae(s));const o=ae(this);return kr(o).has.call(o,s)||(o.add(s),kt(o,"add",s,s)),this},set(s,o){!t&&!Ye(o)&&!yt(o)&&(o=ae(o));const i=ae(this),{has:a,get:l}=kr(i);let u=a.call(i,s);u||(s=ae(s),u=a.call(i,s));const c=l.call(i,s);return i.set(s,o),u?Ht(o,c)&&kt(i,"set",s,o):kt(i,"add",s,o),this},delete(s){const o=ae(this),{has:i,get:a}=kr(o);let l=i.call(o,s);l||(s=ae(s),l=i.call(o,s)),a&&a.call(o,s);const u=o.delete(s);return l&&kt(o,"delete",s,void 0),u},clear(){const s=ae(this),o=s.size!==0,i=s.clear();return o&&kt(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Th(s,e,t)}),n}function wi(e,t){const n=Ph(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ce(n,s)&&s in r?n:r,s,o)}const Mh={get:wi(!1,!1)},Lh={get:wi(!1,!0)},Ih={get:wi(!0,!1)};const dc=new WeakMap,pc=new WeakMap,gc=new WeakMap,Nh=new WeakMap;function Oh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Bh(e){return e.__v_skip||!Object.isExtensible(e)?0:Oh(sh(e))}function at(e){return yt(e)?e:_i(e,!1,Eh,Mh,dc)}function wn(e){return _i(e,!1,Rh,Lh,pc)}function So(e){return _i(e,!0,Ah,Ih,gc)}function _i(e,t,n,r,s){if(!ue(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=Bh(e);if(o===0)return e;const i=s.get(e);if(i)return i;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function jt(e){return yt(e)?jt(e.__v_raw):!!(e&&e.__v_isReactive)}function yt(e){return!!(e&&e.__v_isReadonly)}function Ye(e){return!!(e&&e.__v_isShallow)}function Es(e){return e?!!e.__v_raw:!1}function ae(e){const t=e&&e.__v_raw;return t?ae(t):e}function Fh(e){return!ce(e,"__v_skip")&&Object.isExtensible(e)&&Yl(e,"__v_skip",!0),e}const ct=e=>ue(e)?at(e):e,Mn=e=>ue(e)?So(e):e;function we(e){return e?e.__v_isRef===!0:!1}function $e(e){return mc(e,!1)}function ko(e){return mc(e,!0)}function mc(e,t){return we(e)?e:new Dh(e,t)}class Dh{constructor(t,n){this.dep=new bi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ae(t),this._value=n?t:ct(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ye(t)||yt(t);t=r?t:ae(t),Ht(t,n)&&(this._rawValue=t,this._value=r?t:ct(t),this.dep.trigger())}}function q(e){return we(e)?e.value:e}function yc(e){return Y(e)?e():q(e)}const Hh={get:(e,t,n)=>t==="__v_raw"?e:q(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return we(s)&&!we(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function bc(e){return jt(e)?e:new Proxy(e,Hh)}class jh{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=ae(t);let s=!0,o=t;if(!Z(t)||!_s(String(n)))do s=!Es(o)||Ye(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=q(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&we(this._raw[this._key])){const n=this._object[this._key];if(we(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return _h(this._raw,this._key)}}class Uh{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Gh(e,t,n){return we(e)?e:Y(e)?new Uh(e):ue(e)&&arguments.length>1?$h(e,t,n):$e(e)}function $h(e,t,n){return new jh(e,t,n)}class zh{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new bi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ar-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ge!==this)return sc(this,!0),!0}get value(){const t=this.dep.track();return ac(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Wh(e,t,n=!1){let r,s;return Y(e)?r=e:(r=e.get,s=e.set),new zh(r,s,n)}const Ar={},Kr=new WeakMap;let qt;function Vh(e,t=!1,n=qt){if(n){let r=Kr.get(n);r||Kr.set(n,r=[]),r.push(e)}}function qh(e,t,n=he){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:l}=n,u=w=>s?w:Ye(w)||s===!1||s===0?Et(w,1):Et(w);let c,f,h,d,p=!1,g=!1;if(we(e)?(f=()=>e.value,p=Ye(e)):jt(e)?(f=()=>u(e),p=!0):Z(e)?(g=!0,p=e.some(w=>jt(w)||Ye(w)),f=()=>e.map(w=>{if(we(w))return w.value;if(jt(w))return u(w);if(Y(w))return l?l(w,2):w()})):Y(e)?t?f=l?()=>l(e,2):e:f=()=>{if(h){Tt();try{h()}finally{Pt()}}const w=qt;qt=c;try{return l?l(e,3,[d]):e(d)}finally{qt=w}}:f=mt,t&&s){const w=f,y=s===!0?1/0:s;f=()=>Et(w(),y)}const C=tc(),_=()=>{c.stop(),C&&C.active&&di(C.effects,c)};if(o&&t){const w=t;t=(...y)=>{w(...y),_()}}let x=g?new Array(e.length).fill(Ar):Ar;const m=w=>{if(!(!(c.flags&1)||!c.dirty&&!w))if(t){const y=c.run();if(s||p||(g?y.some((k,M)=>Ht(k,x[M])):Ht(y,x))){h&&h();const k=qt;qt=c;try{const M=[y,x===Ar?void 0:g&&x[0]===Ar?[]:x,d];x=y,l?l(t,3,M):t(...M)}finally{qt=k}}}else c.run()};return a&&a(m),c=new nc(f),c.scheduler=i?()=>i(m,!1):m,d=w=>Vh(w,!1,c),h=c.onStop=()=>{const w=Kr.get(c);if(w){if(l)l(w,4);else for(const y of w)y();Kr.delete(c)}},t?r?m(!0):x=c.run():i?i(m.bind(null,!0),!0):c.run(),_.pause=c.pause.bind(c),_.resume=c.resume.bind(c),_.stop=_,_}function Et(e,t=1/0,n){if(t<=0||!ue(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,we(e))Et(e.value,t,n);else if(Z(e))for(let r=0;r<e.length;r++)Et(e[r],t,n);else if(ql(e)||Sn(e))e.forEach(r=>{Et(r,t,n)});else if(Xl(e)){for(const r in e)Et(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Et(e[r],t,n)}return e}function _r(e,t,n,r){try{return r?e(...r):e()}catch(s){Hn(s,t,n)}}function bt(e,t,n,r){if(Y(e)){const s=_r(e,t,n,r);return s&&pi(s)&&s.catch(o=>{Hn(o,t,n)}),s}if(Z(e)){const s=[];for(let o=0;o<e.length;o++)s.push(bt(e[o],t,n,r));return s}}function Hn(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||he;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(o){Tt(),_r(o,null,10,[e,l,u]),Pt();return}}Kh(e,n,s,r,i)}function Kh(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const je=[];let pt=-1;const kn=[];let Ft=null,mn=0;const wc=Promise.resolve();let Xr=null;function _c(e){const t=Xr||wc;return e?t.then(this?e.bind(this):e):t}function Xh(e){let t=pt+1,n=je.length;for(;t<n;){const r=t+n>>>1,s=je[r],o=cr(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function vi(e){if(!(e.flags&1)){const t=cr(e),n=je[je.length-1];!n||!(e.flags&2)&&t>=cr(n)?je.push(e):je.splice(Xh(t),0,e),e.flags|=1,vc()}}function vc(){Xr||(Xr=wc.then(Cc))}function Eo(e){Z(e)?kn.push(...e):Ft&&e.id===-1?Ft.splice(mn+1,0,e):e.flags&1||(kn.push(e),e.flags|=1),vc()}function ua(e,t,n=pt+1){for(;n<je.length;n++){const r=je[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;je.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Yr(e){if(kn.length){const t=[...new Set(kn)].sort((n,r)=>cr(n)-cr(r));if(kn.length=0,Ft){Ft.push(...t);return}for(Ft=t,mn=0;mn<Ft.length;mn++){const n=Ft[mn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ft=null,mn=0}}const cr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Cc(e){try{for(pt=0;pt<je.length;pt++){const t=je[pt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),_r(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;pt<je.length;pt++){const t=je[pt];t&&(t.flags&=-2)}pt=-1,je.length=0,Yr(),Xr=null,(je.length||kn.length)&&Cc()}}let Re=null,xc=null;function Zr(e){const t=Re;return Re=e,xc=e&&e.type.__scopeId||null,t}function Fe(e,t=Re,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&ts(-1);const o=Zr(t);let i;try{i=e(...s)}finally{Zr(o),r._d&&ts(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Yh(e,t){if(Re===null)return e;const n=Ps(Re),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=he]=t[s];o&&(Y(o)&&(o={mounted:o,updated:o}),o.deep&&Et(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function gt(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(Tt(),bt(l,n,8,[e.el,a,e,t]),Pt())}}function Sc(e,t){if(Ae){let n=Ae.provides;const r=Ae.parent&&Ae.parent.provides;r===n&&(n=Ae.provides=Object.create(r)),n[e]=t}}function En(e,t,n=!1){const r=On();if(r||nn){let s=nn?nn._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Y(t)?t.call(r&&r.proxy):t}}function Ci(){return!!(On()||nn)}const Zh=Symbol.for("v-scx"),Jh=()=>En(Zh);function Qh(e,t){return xi(e,null,t)}function Ks(e,t,n){return xi(e,t,n)}function xi(e,t,n=he){const{immediate:r,deep:s,flush:o,once:i}=n,a=Te({},n),l=t&&r||!t&&o!=="post";let u;if(Bn){if(o==="sync"){const d=Jh();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=mt,d.resume=mt,d.pause=mt,d}}const c=Ae;a.call=(d,p,g)=>bt(d,c,p,g);let f=!1;o==="post"?a.scheduler=d=>{De(d,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(d,p)=>{p?d():vi(d)}),a.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const h=qh(e,t,a);return Bn&&(u?u.push(h):l&&h()),h}function ed(e,t,n){const r=this.proxy,s=ye(e)?e.includes(".")?kc(r,e):()=>r[e]:e.bind(r,r);let o;Y(t)?o=t:(o=t.handler,n=t);const i=sn(this),a=xi(s,o.bind(r),n);return i(),a}function kc(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const td=Symbol("_vte"),nd=e=>e.__isTeleport,rd=Symbol("_leaveCb");function Si(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Si(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Mt(e,t){return Y(e)?Te({name:e.name},t,{setup:e}):e}function ki(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function fa(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Jr=new WeakMap;function An(e,t,n,r,s=!1){if(Z(e)){e.forEach((g,C)=>An(g,t&&(Z(t)?t[C]:t),n,r,s));return}if(tn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&An(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Ps(r.component):r.el,i=s?null:o,{i:a,r:l}=e,u=t&&t.r,c=a.refs===he?a.refs={}:a.refs,f=a.setupState,h=ae(f),d=f===he?Vl:g=>fa(c,g)?!1:ce(h,g),p=(g,C)=>!(C&&fa(c,C));if(u!=null&&u!==l){if(ha(t),ye(u))c[u]=null,d(u)&&(f[u]=null);else if(we(u)){const g=t;p(u,g.k)&&(u.value=null),g.k&&(c[g.k]=null)}}if(Y(l))_r(l,a,12,[i,c]);else{const g=ye(l),C=we(l);if(g||C){const _=()=>{if(e.f){const x=g?d(l)?f[l]:c[l]:p()||!e.k?l.value:c[e.k];if(s)Z(x)&&di(x,o);else if(Z(x))x.includes(o)||x.push(o);else if(g)c[l]=[o],d(l)&&(f[l]=c[l]);else{const m=[o];p(l,e.k)&&(l.value=m),e.k&&(c[e.k]=m)}}else g?(c[l]=i,d(l)&&(f[l]=i)):C&&(p(l,e.k)&&(l.value=i),e.k&&(c[e.k]=i))};if(i){const x=()=>{_(),Jr.delete(e)};x.id=-1,Jr.set(e,x),De(x,n)}else ha(e),_()}}}function ha(e){const t=Jr.get(e);t&&(t.flags|=8,Jr.delete(e))}let da=!1;const dn=()=>{da||(console.error("Hydration completed but contains mismatches."),da=!0)},sd=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",od=e=>e.namespaceURI.includes("MathML"),Rr=e=>{if(e.nodeType===1){if(sd(e))return"svg";if(od(e))return"mathml"}},_n=e=>e.nodeType===8;function id(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:u}}=e,c=(m,w)=>{if(!w.hasChildNodes()){n(null,m,w),Yr(),w._vnode=m;return}f(w.firstChild,m,null,null,null),Yr(),w._vnode=m},f=(m,w,y,k,M,G=!1)=>{G=G||!!w.dynamicChildren;const z=_n(m)&&m.data==="[",N=()=>g(m,w,y,k,M,z),{type:te,ref:J,shapeFlag:re,patchFlag:oe}=w;let E=m.nodeType;w.el=m,oe===-2&&(G=!1,w.dynamicChildren=null);let j=null;switch(te){case rn:E!==3?w.children===""?(l(w.el=s(""),i(m),m),j=m):j=N():(m.data!==w.children&&(dn(),m.data=w.children),j=o(m));break;case rt:x(m)?(j=o(m),_(w.el=m.content.firstChild,m,y)):E!==8||z?j=N():j=o(m);break;case tr:if(z&&(m=o(m),E=m.nodeType),E===1||E===3){j=m;const B=!w.children.length;for(let $=0;$<w.staticCount;$++)B&&(w.children+=j.nodeType===1?j.outerHTML:j.data),$===w.staticCount-1&&(w.anchor=j),j=o(j);return z?o(j):j}else N();break;case me:z?j=p(m,w,y,k,M,G):j=N();break;default:if(re&1)(E!==1||w.type.toLowerCase()!==m.tagName.toLowerCase())&&!x(m)?j=N():j=h(m,w,y,k,M,G);else if(re&6){w.slotScopeIds=M;const B=i(m);if(z?j=C(m):_n(m)&&m.data==="teleport start"?j=C(m,m.data,"teleport end"):j=o(m),t(w,B,null,y,k,Rr(B),G),tn(w)&&!w.type.__asyncResolved){let $;z?($=X(me),$.anchor=j?j.previousSibling:B.lastChild):$=m.nodeType===3?_e(""):X("div"),$.el=m,w.component.subTree=$}}else re&64?E!==8?j=N():j=w.type.hydrate(m,w,y,k,M,G,e,d):re&128&&(j=w.type.hydrate(m,w,y,k,Rr(i(m)),M,G,e,f))}return J!=null&&An(J,null,k,w),j},h=(m,w,y,k,M,G)=>{G=G||!!w.dynamicChildren;const{type:z,props:N,patchFlag:te,shapeFlag:J,dirs:re,transition:oe}=w,E=z==="input"||z==="option";if(E||te!==-1){re&>(w,null,y,"created");let j=!1;if(x(m)){j=Yc(null,oe)&&y&&y.vnode.props&&y.vnode.props.appear;const $=m.content.firstChild;if(j){const le=$.getAttribute("class");le&&($.$cls=le),oe.beforeEnter($)}_($,m,y),w.el=m=$}if(J&16&&!(N&&(N.innerHTML||N.textContent))){let $=d(m.firstChild,w,m,y,k,M,G);for(;$;){Tr(m,1)||dn();const le=$;$=$.nextSibling,a(le)}}else if(J&8){let $=w.children;$[0]===`
|
|
3
3
|
`&&(m.tagName==="PRE"||m.tagName==="TEXTAREA")&&($=$.slice(1));const{textContent:le}=m;le!==$&&le!==$.replace(/\r\n|\r/g,`
|
|
4
|
-
`)&&(Tr(m,0)||dn(),m.textContent=w.children)}if(N){if(E||!G||te&48){const $=m.tagName.includes("-");for(const le in N)(E&&(le.endsWith("value")||le==="indeterminate")||br(le)&&!Qt(le)||le[0]==="."||$&&!Qt(le))&&r(m,le,null,N[le],void 0,y)}else if(N.onClick)r(m,"onClick",null,N.onClick,void 0,y);else if(te&4&&jt(N.style))for(const $ in N.style)N.style[$]}let B;(B=N&&N.onVnodeBeforeMount)&&Je(B,y,w),re&>(w,null,y,"beforeMount"),((B=N&&N.onVnodeMounted)||re||j)&&nu(()=>{B&&Je(B,y,w),j&&oe.enter(m),re&>(w,null,y,"mounted")},k)}return m.nextSibling},d=(m,w,y,k,M,G,z)=>{z=z||!!w.dynamicChildren;const N=w.children,te=N.length;for(let J=0;J<te;J++){const re=z?N[J]:N[J]=Xe(N[J]),oe=re.type===rn;m?(oe&&!z&&J+1<te&&Xe(N[J+1]).type===rn&&(l(s(m.data.slice(re.children.length)),y,o(m)),m.data=re.children),m=f(m,re,k,M,G,z)):oe&&!re.children?l(re.el=s(""),y):(Tr(y,1)||dn(),n(null,re,y,null,k,M,Rr(y),G))}return m},p=(m,w,y,k,M,G)=>{const{slotScopeIds:z}=w;z&&(M=M?M.concat(z):z);const N=i(m),te=d(o(m),w,N,y,k,M,G);return te&&_n(te)&&te.data==="]"?o(w.anchor=te):(dn(),l(w.anchor=u("]"),N,te),te)},g=(m,w,y,k,M,G)=>{if(Tr(m.parentElement,1)||dn(),w.el=null,G){const te=C(m);for(;;){const J=o(m);if(J&&J!==te)a(J);else break}}const z=o(m),N=i(m);return a(m),n(null,w,N,z,y,k,Rr(N),M),y&&(y.vnode.el=w.el,Ts(y,w.el)),z},C=(m,w="[",y="]")=>{let k=0;for(;m;)if(m=o(m),m&&_n(m)&&(m.data===w&&k++,m.data===y)){if(k===0)return o(m);k--}return m},_=(m,w,y)=>{const k=w.parentNode;k&&k.replaceChild(m,w);let M=y;for(;M;)M.vnode.el===w&&(M.vnode.el=M.subTree.el=m),M=M.parent},x=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[c,f]}const pa="data-allow-mismatch",ad={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Tr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(pa);)e=e.parentElement;const n=e&&e.getAttribute(pa);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(ad[t])}}xs().requestIdleCallback;xs().cancelIdleCallback;function ld(e,t){if(_n(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(_n(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const tn=e=>!!e.type.__asyncLoader;function ga(e){Y(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:i,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const h=()=>(f++,u=null,d()),d=()=>{let p;return u||(p=u=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),l)return new Promise((C,_)=>{l(g,()=>C(h()),()=>_(g),f+1)});throw g}).then(g=>p!==u&&u?u:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),c=g,g)))};return Mt({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(p,g,C){let _=!1;(g.bu||(g.bu=[])).push(()=>_=!0);const x=()=>{_||C()},m=o?()=>{const w=o(x,y=>ld(p,y));w&&(g.bum||(g.bum=[])).push(w)}:x;c?m():d().then(()=>!g.isUnmounted&&m())},get __asyncResolved(){return c},setup(){const p=Ae;if(ki(p),c)return()=>Pr(c,p);const g=m=>{u=null,Hn(m,p,13,!r)};if(a&&p.suspense||Bn)return d().then(m=>()=>Pr(m,p)).catch(m=>(g(m),()=>r?X(r,{error:m}):null));const C=$e(!1),_=$e(),x=$e(!!s);return s&&setTimeout(()=>{x.value=!1},s),i!=null&&setTimeout(()=>{if(!C.value&&!_.value){const m=new Error(`Async component timed out after ${i}ms.`);g(m),_.value=m}},i),d().then(()=>{C.value=!0,p.parent&&Ei(p.parent.vnode)&&p.parent.update()}).catch(m=>{g(m),_.value=m}),()=>{if(C.value&&c)return Pr(c,p);if(_.value&&r)return X(r,{error:_.value});if(n&&!x.value)return Pr(n,p)}}})}function Pr(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=X(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Ei=e=>e.type.__isKeepAlive;function Ec(e,t){Rc(e,"a",t)}function Ac(e,t){Rc(e,"da",t)}function Rc(e,t,n=Ae){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(As(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ei(s.parent.vnode)&&cd(r,t,n,s),s=s.parent}}function cd(e,t,n,r){const s=As(t,e,r,!0);Pc(()=>{di(r[t],s)},n)}function As(e,t,n=Ae,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Tt();const a=sn(n),l=bt(t,n,e,i);return a(),Pt(),l});return r?s.unshift(o):s.push(o),o}}const Lt=e=>(t,n=Ae)=>{(!Bn||e==="sp")&&As(e,(...r)=>t(...r),n)},ud=Lt("bm"),Tc=Lt("m"),fd=Lt("bu"),hd=Lt("u"),Ai=Lt("bum"),Pc=Lt("um"),dd=Lt("sp"),pd=Lt("rtg"),gd=Lt("rtc");function Mc(e,t=Ae){As("ec",e,t)}const Lc="components";function Ao(e,t){return Nc(Lc,e,!0,t)||e}const Ic=Symbol.for("v-ndc");function md(e){return ye(e)?Nc(Lc,e,!1)||e:e||Ic}function Nc(e,t,n=!0,r=!1){const s=Re||Ae;if(s){const o=s.type;{const a=rp(o,!1);if(a&&(a===t||a===nt(t)||a===Cs(nt(t))))return o}const i=ma(s[e]||o[e],t)||ma(s.appContext[e],t);return!i&&r?o:i}}function ma(e,t){return e&&(e[t]||e[nt(t)]||e[Cs(nt(t))])}function It(e,t,n,r){let s;const o=n,i=Z(e);if(i||ye(e)){const a=i&&jt(e);let l=!1,u=!1;a&&(l=!Ye(e),u=yt(e),e=ks(e)),s=new Array(e.length);for(let c=0,f=e.length;c<f;c++)s[c]=t(l?u?Mn(ct(e[c])):ct(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o)}else if(ue(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];s[l]=t(e[c],c,l,o)}}else s=[];return s}function Qr(e,t,n={},r,s){if(Re.ce||Re.parent&&tn(Re.parent)&&Re.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),H(),Qe(me,null,[X("slot",n,r&&r())],u?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),H();const i=o&&Oc(o(n)),a=n.key||i&&i.key,l=Qe(me,{key:(a&&!lt(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Oc(e){return e.some(t=>In(t)?!(t.type===rt||t.type===me&&!Oc(t.children)):!0)?e:null}const Ro=e=>e?lu(e)?Ps(e):Ro(e.parent):null,er=Te(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=>Ro(e.parent),$root:e=>Ro(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Fc(e),$forceUpdate:e=>e.f||(e.f=()=>{vi(e.update)}),$nextTick:e=>e.n||(e.n=_c.bind(e.proxy)),$watch:e=>ed.bind(e)}),Xs=(e,t)=>e!==he&&!e.__isScriptSetup&&ce(e,t),yd={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Xs(r,t))return i[t]=1,r[t];if(s!==he&&ce(s,t))return i[t]=2,s[t];if(ce(o,t))return i[t]=3,o[t];if(n!==he&&ce(n,t))return i[t]=4,n[t];To&&(i[t]=0)}}const u=er[t];let c,f;if(u)return t==="$attrs"&&Ie(e.attrs,"get",""),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==he&&ce(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,ce(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Xs(s,t)?(s[t]=n,!0):r!==he&&ce(r,t)?(r[t]=n,!0):ce(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:o,type:i}},a){let l;return!!(n[a]||e!==he&&a[0]!=="$"&&ce(e,a)||Xs(t,a)||ce(o,a)||ce(r,a)||ce(er,a)||ce(s.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ce(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ya(e){return Z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function ba(e){const t=On();let n=e();rs();const r=()=>{On()!==t&&t.scope.off(),rs()};return pi(n)&&(n=n.catch(s=>{throw sn(t),Promise.resolve().then(()=>Promise.resolve().then(r)),s})),[n,()=>{sn(t),Promise.resolve().then(r)}]}let To=!0;function bd(e){const t=Fc(e),n=e.proxy,r=e.ctx;To=!1,t.beforeCreate&&wa(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:d,updated:p,activated:g,deactivated:C,beforeDestroy:_,beforeUnmount:x,destroyed:m,unmounted:w,render:y,renderTracked:k,renderTriggered:M,errorCaptured:G,serverPrefetch:z,expose:N,inheritAttrs:te,components:J,directives:re,filters:oe}=t;if(u&&wd(u,r,null),i)for(const B in i){const $=i[B];Y($)&&(r[B]=$.bind(n))}if(s){const B=s.call(n,n);ue(B)&&(e.data=at(B))}if(To=!0,o)for(const B in o){const $=o[B],le=Y($)?$.bind(n,n):Y($.get)?$.get.bind(n,n):mt,un=!Y($)&&Y($.set)?$.set.bind(n):mt,$t=He({get:le,set:un});Object.defineProperty(r,B,{enumerable:!0,configurable:!0,get:()=>$t.value,set:ft=>$t.value=ft})}if(a)for(const B in a)Bc(a[B],r,n,B);if(l){const B=Y(l)?l.call(n):l;Reflect.ownKeys(B).forEach($=>{Sc($,B[$])})}c&&wa(c,e,"c");function j(B,$){Z($)?$.forEach(le=>B(le.bind(n))):$&&B($.bind(n))}if(j(ud,f),j(Tc,h),j(fd,d),j(hd,p),j(Ec,g),j(Ac,C),j(Mc,G),j(gd,k),j(pd,M),j(Ai,x),j(Pc,w),j(dd,z),Z(N))if(N.length){const B=e.exposed||(e.exposed={});N.forEach($=>{Object.defineProperty(B,$,{get:()=>n[$],set:le=>n[$]=le,enumerable:!0})})}else e.exposed||(e.exposed={});y&&e.render===mt&&(e.render=y),te!=null&&(e.inheritAttrs=te),J&&(e.components=J),re&&(e.directives=re),z&&ki(e)}function wd(e,t,n=mt){Z(e)&&(e=Po(e));for(const r in e){const s=e[r];let o;ue(s)?"default"in s?o=En(s.from||r,s.default,!0):o=En(s.from||r):o=En(s),we(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function wa(e,t,n){bt(Z(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Bc(e,t,n,r){let s=r.includes(".")?kc(n,r):()=>n[r];if(ye(e)){const o=t[e];Y(o)&&Ks(s,o)}else if(Y(e))Ks(s,e.bind(n));else if(ue(e))if(Z(e))e.forEach(o=>Bc(o,t,n,r));else{const o=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(o)&&Ks(s,o,e)}}function Fc(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>es(l,u,i,!0)),es(l,t,i)),ue(t)&&o.set(t,l),l}function es(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&es(e,o,n,!0),s&&s.forEach(i=>es(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=_d[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const _d={data:_a,props:va,emits:va,methods:Yn,computed:Yn,beforeCreate:Oe,created:Oe,beforeMount:Oe,mounted:Oe,beforeUpdate:Oe,updated:Oe,beforeDestroy:Oe,beforeUnmount:Oe,destroyed:Oe,unmounted:Oe,activated:Oe,deactivated:Oe,errorCaptured:Oe,serverPrefetch:Oe,components:Yn,directives:Yn,watch:Cd,provide:_a,inject:vd};function _a(e,t){return t?e?function(){return Te(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function vd(e,t){return Yn(Po(e),Po(t))}function Po(e){if(Z(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Oe(e,t){return e?[...new Set([].concat(e,t))]:t}function Yn(e,t){return e?Te(Object.create(null),e,t):t}function va(e,t){return e?Z(e)&&Z(t)?[...new Set([...e,...t])]:Te(Object.create(null),ya(e),ya(t??{})):t}function Cd(e,t){if(!e)return t;if(!t)return e;const n=Te(Object.create(null),e);for(const r in t)n[r]=Oe(e[r],t[r]);return n}function Dc(){return{app:null,config:{isNativeTag:Vl,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 xd=0;function Sd(e,t){return function(r,s=null){Y(r)||(r=Te({},r)),s!=null&&!ue(s)&&(s=null);const o=Dc(),i=new WeakSet,a=[];let l=!1;const u=o.app={_uid:xd++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:op,get config(){return o.config},set config(c){},use(c,...f){return i.has(c)||(c&&Y(c.install)?(i.add(c),c.install(u,...f)):Y(c)&&(i.add(c),c(u,...f))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,f){return f?(o.components[c]=f,u):o.components[c]},directive(c,f){return f?(o.directives[c]=f,u):o.directives[c]},mount(c,f,h){if(!l){const d=u._ceVNode||X(r,s);return d.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),f&&t?t(d,c):e(d,c,h),l=!0,u._container=c,c.__vue_app__=u,Ps(d.component)}},onUnmount(c){a.push(c)},unmount(){l&&(bt(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return o.provides[c]=f,u},runWithContext(c){const f=nn;nn=u;try{return c()}finally{nn=f}}};return u}}let nn=null;const kd=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${nt(t)}Modifiers`]||e[`${ln(t)}Modifiers`];function Ed(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||he;let s=n;const o=t.startsWith("update:"),i=o&&kd(r,t.slice(7));i&&(i.trim&&(s=n.map(c=>ye(c)?c.trim():c)),i.number&&(s=n.map(ah)));let a,l=r[a=$s(t)]||r[a=$s(nt(t))];!l&&o&&(l=r[a=$s(ln(t))]),l&&bt(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,bt(u,e,6,s)}}const Ad=new WeakMap;function Hc(e,t,n=!1){const r=n?Ad:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!Y(e)){const l=u=>{const c=Hc(u,t,!0);c&&(a=!0,Te(i,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(ue(e)&&r.set(e,null),null):(Z(o)?o.forEach(l=>i[l]=null):Te(i,o),ue(e)&&r.set(e,i),i)}function Rs(e,t){return!e||!br(t)?!1:(t=t.slice(2).replace(/Once$/,""),ce(e,t[0].toLowerCase()+t.slice(1))||ce(e,ln(t))||ce(e,t))}function Ys(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:u,renderCache:c,props:f,data:h,setupState:d,ctx:p,inheritAttrs:g}=e,C=Zr(e);let _,x;try{if(n.shapeFlag&4){const w=s||r,y=w;_=Xe(u.call(y,w,c,f,d,h,p)),x=a}else{const w=t;_=Xe(w.length>1?w(f,{attrs:a,slots:i,emit:l}):w(f,null)),x=t.props?a:Td(a)}}catch(w){nr.length=0,Hn(w,e,1),_=X(rt)}let m=_;if(x&&g!==!1){const w=Object.keys(x),{shapeFlag:y}=m;w.length&&y&7&&(o&&w.some(hi)&&(x=Pd(x,o)),m=Nn(m,x,!1,!0))}return n.dirs&&(m=Nn(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&Si(m,n.transition),_=m,Zr(C),_}function Rd(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(In(s)){if(s.type!==rt||s.children==="v-if"){if(n)return;n=s}}else return}return n}const Td=e=>{let t;for(const n in e)(n==="class"||n==="style"||br(n))&&((t||(t={}))[n]=e[n]);return t},Pd=(e,t)=>{const n={};for(const r in e)(!hi(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Md(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Ca(r,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(jc(i,r,h)&&!Rs(u,h))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Ca(r,i,u):!0:!!i;return!1}function Ca(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(jc(t,e,o)&&!Rs(n,o))return!0}return!1}function jc(e,t,n){const r=e[n],s=t[n];return n==="style"&&ue(r)&&ue(s)?!ir(r,s):r!==s}function Ts({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 Uc={},Gc=()=>Object.create(Uc),$c=e=>Object.getPrototypeOf(e)===Uc;function Ld(e,t,n,r=!1){const s={},o=Gc();e.propsDefaults=Object.create(null),zc(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:wn(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Id(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=ae(s),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let h=c[f];if(Rs(e.emitsOptions,h))continue;const d=t[h];if(l)if(ce(o,h))d!==o[h]&&(o[h]=d,u=!0);else{const p=nt(h);s[p]=Mo(l,a,p,d,e,!1)}else d!==o[h]&&(o[h]=d,u=!0)}}}else{zc(e,t,s,o)&&(u=!0);let c;for(const f in a)(!t||!ce(t,f)&&((c=ln(f))===f||!ce(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(s[f]=Mo(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!ce(t,f))&&(delete o[f],u=!0)}u&&kt(e.attrs,"set","")}function zc(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Qt(l))continue;const u=t[l];let c;s&&ce(s,c=nt(l))?!o||!o.includes(c)?n[c]=u:(a||(a={}))[c]=u:Rs(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(o){const l=ae(n),u=a||he;for(let c=0;c<o.length;c++){const f=o[c];n[f]=Mo(s,l,f,u[f],e,!ce(u,f))}}return i}function Mo(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=ce(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&Y(l)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const c=sn(s);r=u[n]=l.call(null,t),c()}}else r=l;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===ln(n))&&(r=!0))}return r}const Nd=new WeakMap;function Wc(e,t,n=!1){const r=n?Nd:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!Y(e)){const c=f=>{l=!0;const[h,d]=Wc(f,t,!0);Te(i,h),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return ue(e)&&r.set(e,xn),xn;if(Z(o))for(let c=0;c<o.length;c++){const f=nt(o[c]);xa(f)&&(i[f]=he)}else if(o)for(const c in o){const f=nt(c);if(xa(f)){const h=o[c],d=i[f]=Z(h)||Y(h)?{type:h}:Te({},h),p=d.type;let g=!1,C=!0;if(Z(p))for(let _=0;_<p.length;++_){const x=p[_],m=Y(x)&&x.name;if(m==="Boolean"){g=!0;break}else m==="String"&&(C=!1)}else g=Y(p)&&p.name==="Boolean";d[0]=g,d[1]=C,(g||ce(d,"default"))&&a.push(f)}}const u=[i,a];return ue(e)&&r.set(e,u),u}function xa(e){return e[0]!=="$"&&!Qt(e)}const Ri=e=>e==="_"||e==="_ctx"||e==="$stable",Ti=e=>Z(e)?e.map(Xe):[Xe(e)],Od=(e,t,n)=>{if(t._n)return t;const r=Fe((...s)=>Ti(t(...s)),n);return r._c=!1,r},Vc=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Ri(s))continue;const o=e[s];if(Y(o))t[s]=Od(s,o,r);else if(o!=null){const i=Ti(o);t[s]=()=>i}}},qc=(e,t)=>{const n=Ti(t);e.slots.default=()=>n},Kc=(e,t,n)=>{for(const r in t)(n||!Ri(r))&&(e[r]=t[r])},Bd=(e,t,n)=>{const r=e.slots=Gc();if(e.vnode.shapeFlag&32){const s=t._;s?(Kc(r,t,n),n&&Yl(r,"_",s,!0)):Vc(t,r)}else t&&qc(e,t)},Fd=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=he;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:Kc(s,t,n):(o=!t.$stable,Vc(t,s)),i=t}else t&&(qc(e,t),i={default:1});if(o)for(const a in s)!Ri(a)&&i[a]==null&&delete s[a]},De=nu;function Dd(e){return Xc(e)}function Hd(e){return Xc(e,id)}function Xc(e,t){const n=xs();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:d=mt,insertStaticContent:p}=e,g=(b,v,S,P=null,A=null,R=null,D=void 0,F=null,O=!!v.dynamicChildren)=>{if(b===v)return;b&&!Dt(b,v)&&(P=Sr(b),ft(b,A,R,!0),b=null),v.patchFlag===-2&&(O=!1,v.dynamicChildren=null);const{type:T,ref:K,shapeFlag:U}=v;switch(T){case rn:C(b,v,S,P);break;case rt:_(b,v,S,P);break;case tr:b==null&&x(v,S,P,D);break;case me:J(b,v,S,P,A,R,D,F,O);break;default:U&1?y(b,v,S,P,A,R,D,F,O):U&6?re(b,v,S,P,A,R,D,F,O):(U&64||U&128)&&T.process(b,v,S,P,A,R,D,F,O,fn)}K!=null&&A?An(K,b&&b.ref,R,v||b,!v):K==null&&b&&b.ref!=null&&An(b.ref,null,R,b,!0)},C=(b,v,S,P)=>{if(b==null)r(v.el=a(v.children),S,P);else{const A=v.el=b.el;v.children!==b.children&&u(A,v.children)}},_=(b,v,S,P)=>{b==null?r(v.el=l(v.children||""),S,P):v.el=b.el},x=(b,v,S,P)=>{[b.el,b.anchor]=p(b.children,v,S,P,b.el,b.anchor)},m=({el:b,anchor:v},S,P)=>{let A;for(;b&&b!==v;)A=h(b),r(b,S,P),b=A;r(v,S,P)},w=({el:b,anchor:v})=>{let S;for(;b&&b!==v;)S=h(b),s(b),b=S;s(v)},y=(b,v,S,P,A,R,D,F,O)=>{if(v.type==="svg"?D="svg":v.type==="math"&&(D="mathml"),b==null)k(v,S,P,A,R,D,F,O);else{const T=b.el&&b.el._isVueCE?b.el:null;try{T&&T._beginPatch(),z(b,v,A,R,D,F,O)}finally{T&&T._endPatch()}}},k=(b,v,S,P,A,R,D,F)=>{let O,T;const{props:K,shapeFlag:U,transition:V,dirs:Q}=b;if(O=b.el=i(b.type,R,K&&K.is,K),U&8?c(O,b.children):U&16&&G(b.children,O,null,P,A,Zs(b,R),D,F),Q&>(b,null,P,"created"),M(O,b,b.scopeId,D,P),K){for(const de in K)de!=="value"&&!Qt(de)&&o(O,de,null,K[de],R,P);"value"in K&&o(O,"value",null,K.value,R),(T=K.onVnodeBeforeMount)&&Je(T,P,b)}Q&>(b,null,P,"beforeMount");const se=Yc(A,V);se&&V.beforeEnter(O),r(O,v,S),((T=K&&K.onVnodeMounted)||se||Q)&&De(()=>{T&&Je(T,P,b),se&&V.enter(O),Q&>(b,null,P,"mounted")},A)},M=(b,v,S,P,A)=>{if(S&&d(b,S),P)for(let R=0;R<P.length;R++)d(b,P[R]);if(A){let R=A.subTree;if(v===R||eu(R.type)&&(R.ssContent===v||R.ssFallback===v)){const D=A.vnode;M(b,D,D.scopeId,D.slotScopeIds,A.parent)}}},G=(b,v,S,P,A,R,D,F,O=0)=>{for(let T=O;T<b.length;T++){const K=b[T]=F?St(b[T]):Xe(b[T]);g(null,K,v,S,P,A,R,D,F)}},z=(b,v,S,P,A,R,D)=>{const F=v.el=b.el;let{patchFlag:O,dynamicChildren:T,dirs:K}=v;O|=b.patchFlag&16;const U=b.props||he,V=v.props||he;let Q;if(S&&zt(S,!1),(Q=V.onVnodeBeforeUpdate)&&Je(Q,S,v,b),K&>(v,b,S,"beforeUpdate"),S&&zt(S,!0),(U.innerHTML&&V.innerHTML==null||U.textContent&&V.textContent==null)&&c(F,""),T?N(b.dynamicChildren,T,F,S,P,Zs(v,A),R):D||$(b,v,F,null,S,P,Zs(v,A),R,!1),O>0){if(O&16)te(F,U,V,S,A);else if(O&2&&U.class!==V.class&&o(F,"class",null,V.class,A),O&4&&o(F,"style",U.style,V.style,A),O&8){const se=v.dynamicProps;for(let de=0;de<se.length;de++){const fe=se[de],Ue=U[fe],Pe=V[fe];(Pe!==Ue||fe==="value")&&o(F,fe,Ue,Pe,A,S)}}O&1&&b.children!==v.children&&c(F,v.children)}else!D&&T==null&&te(F,U,V,S,A);((Q=V.onVnodeUpdated)||K)&&De(()=>{Q&&Je(Q,S,v,b),K&>(v,b,S,"updated")},P)},N=(b,v,S,P,A,R,D)=>{for(let F=0;F<v.length;F++){const O=b[F],T=v[F],K=O.el&&(O.type===me||!Dt(O,T)||O.shapeFlag&198)?f(O.el):S;g(O,T,K,null,P,A,R,D,!0)}},te=(b,v,S,P,A)=>{if(v!==S){if(v!==he)for(const R in v)!Qt(R)&&!(R in S)&&o(b,R,v[R],null,A,P);for(const R in S){if(Qt(R))continue;const D=S[R],F=v[R];D!==F&&R!=="value"&&o(b,R,F,D,A,P)}"value"in S&&o(b,"value",v.value,S.value,A)}},J=(b,v,S,P,A,R,D,F,O)=>{const T=v.el=b?b.el:a(""),K=v.anchor=b?b.anchor:a("");let{patchFlag:U,dynamicChildren:V,slotScopeIds:Q}=v;Q&&(F=F?F.concat(Q):Q),b==null?(r(T,S,P),r(K,S,P),G(v.children||[],S,K,A,R,D,F,O)):U>0&&U&64&&V&&b.dynamicChildren&&b.dynamicChildren.length===V.length?(N(b.dynamicChildren,V,S,A,R,D,F),(v.key!=null||A&&v===A.subTree)&&Zc(b,v,!0)):$(b,v,S,K,A,R,D,F,O)},re=(b,v,S,P,A,R,D,F,O)=>{v.slotScopeIds=F,b==null?v.shapeFlag&512?A.ctx.activate(v,S,P,D,O):oe(v,S,P,A,R,D,O):E(b,v,O)},oe=(b,v,S,P,A,R,D)=>{const F=b.component=Jd(b,P,A);if(Ei(b)&&(F.ctx.renderer=fn),Qd(F,!1,D),F.asyncDep){if(A&&A.registerDep(F,j,D),!b.el){const O=F.subTree=X(rt);_(null,O,v,S),b.placeholder=O.el}}else j(F,b,v,S,A,R,D)},E=(b,v,S)=>{const P=v.component=b.component;if(Md(b,v,S))if(P.asyncDep&&!P.asyncResolved){B(P,v,S);return}else P.next=v,P.update();else v.el=b.el,P.vnode=v},j=(b,v,S,P,A,R,D)=>{const F=()=>{if(b.isMounted){let{next:U,bu:V,u:Q,parent:se,vnode:de}=b;{const Ve=Jc(b);if(Ve){U&&(U.el=de.el,B(b,U,D)),Ve.asyncDep.then(()=>{De(()=>{b.isUnmounted||T()},A)});return}}let fe=U,Ue;zt(b,!1),U?(U.el=de.el,B(b,U,D)):U=de,V&&jr(V),(Ue=U.props&&U.props.onVnodeBeforeUpdate)&&Je(Ue,se,U,de),zt(b,!0);const Pe=Ys(b),st=b.subTree;b.subTree=Pe,g(st,Pe,f(st.el),Sr(st),b,A,R),U.el=Pe.el,fe===null&&Ts(b,Pe.el),Q&&De(Q,A),(Ue=U.props&&U.props.onVnodeUpdated)&&De(()=>Je(Ue,se,U,de),A)}else{let U;const{el:V,props:Q}=v,{bm:se,m:de,parent:fe,root:Ue,type:Pe}=b,st=tn(v);if(zt(b,!1),se&&jr(se),!st&&(U=Q&&Q.onVnodeBeforeMount)&&Je(U,fe,v),zt(b,!0),V&&Gs){const Ve=()=>{b.subTree=Ys(b),Gs(V,b.subTree,b,A,null)};st&&Pe.__asyncHydrate?Pe.__asyncHydrate(V,b,Ve):Ve()}else{Ue.ce&&Ue.ce._hasShadowRoot()&&Ue.ce._injectChildStyle(Pe);const Ve=b.subTree=Ys(b);g(null,Ve,S,P,b,A,R),v.el=Ve.el}if(de&&De(de,A),!st&&(U=Q&&Q.onVnodeMounted)){const Ve=v;De(()=>Je(U,fe,Ve),A)}(v.shapeFlag&256||fe&&tn(fe.vnode)&&fe.vnode.shapeFlag&256)&&b.a&&De(b.a,A),b.isMounted=!0,v=S=P=null}};b.scope.on();const O=b.effect=new nc(F);b.scope.off();const T=b.update=O.run.bind(O),K=b.job=O.runIfDirty.bind(O);K.i=b,K.id=b.uid,O.scheduler=()=>vi(K),zt(b,!0),T()},B=(b,v,S)=>{v.component=b;const P=b.vnode.props;b.vnode=v,b.next=null,Id(b,v.props,P,S),Fd(b,v.children,S),Tt(),ua(b),Pt()},$=(b,v,S,P,A,R,D,F,O=!1)=>{const T=b&&b.children,K=b?b.shapeFlag:0,U=v.children,{patchFlag:V,shapeFlag:Q}=v;if(V>0){if(V&128){un(T,U,S,P,A,R,D,F,O);return}else if(V&256){le(T,U,S,P,A,R,D,F,O);return}}Q&8?(K&16&&zn(T,A,R),U!==T&&c(S,U)):K&16?Q&16?un(T,U,S,P,A,R,D,F,O):zn(T,A,R,!0):(K&8&&c(S,""),Q&16&&G(U,S,P,A,R,D,F,O))},le=(b,v,S,P,A,R,D,F,O)=>{b=b||xn,v=v||xn;const T=b.length,K=v.length,U=Math.min(T,K);let V;for(V=0;V<U;V++){const Q=v[V]=O?St(v[V]):Xe(v[V]);g(b[V],Q,S,null,A,R,D,F,O)}T>K?zn(b,A,R,!0,!1,U):G(v,S,P,A,R,D,F,O,U)},un=(b,v,S,P,A,R,D,F,O)=>{let T=0;const K=v.length;let U=b.length-1,V=K-1;for(;T<=U&&T<=V;){const Q=b[T],se=v[T]=O?St(v[T]):Xe(v[T]);if(Dt(Q,se))g(Q,se,S,null,A,R,D,F,O);else break;T++}for(;T<=U&&T<=V;){const Q=b[U],se=v[V]=O?St(v[V]):Xe(v[V]);if(Dt(Q,se))g(Q,se,S,null,A,R,D,F,O);else break;U--,V--}if(T>U){if(T<=V){const Q=V+1,se=Q<K?v[Q].el:P;for(;T<=V;)g(null,v[T]=O?St(v[T]):Xe(v[T]),S,se,A,R,D,F,O),T++}}else if(T>V)for(;T<=U;)ft(b[T],A,R,!0),T++;else{const Q=T,se=T,de=new Map;for(T=se;T<=V;T++){const qe=v[T]=O?St(v[T]):Xe(v[T]);qe.key!=null&&de.set(qe.key,T)}let fe,Ue=0;const Pe=V-se+1;let st=!1,Ve=0;const Wn=new Array(Pe);for(T=0;T<Pe;T++)Wn[T]=0;for(T=Q;T<=U;T++){const qe=b[T];if(Ue>=Pe){ft(qe,A,R,!0);continue}let ht;if(qe.key!=null)ht=de.get(qe.key);else for(fe=se;fe<=V;fe++)if(Wn[fe-se]===0&&Dt(qe,v[fe])){ht=fe;break}ht===void 0?ft(qe,A,R,!0):(Wn[ht-se]=T+1,ht>=Ve?Ve=ht:st=!0,g(qe,v[ht],S,null,A,R,D,F,O),Ue++)}const ra=st?jd(Wn):xn;for(fe=ra.length-1,T=Pe-1;T>=0;T--){const qe=se+T,ht=v[qe],sa=v[qe+1],oa=qe+1<K?sa.el||Qc(sa):P;Wn[T]===0?g(null,ht,S,oa,A,R,D,F,O):st&&(fe<0||T!==ra[fe]?$t(ht,S,oa,2):fe--)}}},$t=(b,v,S,P,A=null)=>{const{el:R,type:D,transition:F,children:O,shapeFlag:T}=b;if(T&6){$t(b.component.subTree,v,S,P);return}if(T&128){b.suspense.move(v,S,P);return}if(T&64){D.move(b,v,S,fn);return}if(D===me){r(R,v,S);for(let U=0;U<O.length;U++)$t(O[U],v,S,P);r(b.anchor,v,S);return}if(D===tr){m(b,v,S);return}if(P!==2&&T&1&&F)if(P===0)F.beforeEnter(R),r(R,v,S),De(()=>F.enter(R),A);else{const{leave:U,delayLeave:V,afterLeave:Q}=F,se=()=>{b.ctx.isUnmounted?s(R):r(R,v,S)},de=()=>{R._isLeaving&&R[rd](!0),U(R,()=>{se(),Q&&Q()})};V?V(R,se,de):de()}else r(R,v,S)},ft=(b,v,S,P=!1,A=!1)=>{const{type:R,props:D,ref:F,children:O,dynamicChildren:T,shapeFlag:K,patchFlag:U,dirs:V,cacheIndex:Q}=b;if(U===-2&&(A=!1),F!=null&&(Tt(),An(F,null,S,b,!0),Pt()),Q!=null&&(v.renderCache[Q]=void 0),K&256){v.ctx.deactivate(b);return}const se=K&1&&V,de=!tn(b);let fe;if(de&&(fe=D&&D.onVnodeBeforeUnmount)&&Je(fe,v,b),K&6)nh(b.component,S,P);else{if(K&128){b.suspense.unmount(S,P);return}se&>(b,null,v,"beforeUnmount"),K&64?b.type.remove(b,v,S,fn,P):T&&!T.hasOnce&&(R!==me||U>0&&U&64)?zn(T,v,S,!1,!0):(R===me&&U&384||!A&&K&16)&&zn(O,v,S),P&&ta(b)}(de&&(fe=D&&D.onVnodeUnmounted)||se)&&De(()=>{fe&&Je(fe,v,b),se&>(b,null,v,"unmounted")},S)},ta=b=>{const{type:v,el:S,anchor:P,transition:A}=b;if(v===me){th(S,P);return}if(v===tr){w(b);return}const R=()=>{s(S),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(b.shapeFlag&1&&A&&!A.persisted){const{leave:D,delayLeave:F}=A,O=()=>D(S,R);F?F(b.el,R,O):O()}else R()},th=(b,v)=>{let S;for(;b!==v;)S=h(b),s(b),b=S;s(v)},nh=(b,v,S)=>{const{bum:P,scope:A,job:R,subTree:D,um:F,m:O,a:T}=b;Sa(O),Sa(T),P&&jr(P),A.stop(),R&&(R.flags|=8,ft(D,b,v,S)),F&&De(F,v),De(()=>{b.isUnmounted=!0},v)},zn=(b,v,S,P=!1,A=!1,R=0)=>{for(let D=R;D<b.length;D++)ft(b[D],v,S,P,A)},Sr=b=>{if(b.shapeFlag&6)return Sr(b.component.subTree);if(b.shapeFlag&128)return b.suspense.next();const v=h(b.anchor||b.el),S=v&&v[td];return S?h(S):v};let js=!1;const na=(b,v,S)=>{let P;b==null?v._vnode&&(ft(v._vnode,null,null,!0),P=v._vnode.component):g(v._vnode||null,b,v,null,null,null,S),v._vnode=b,js||(js=!0,ua(P),Yr(),js=!1)},fn={p:g,um:ft,m:$t,r:ta,mt:oe,mc:G,pc:$,pbc:N,n:Sr,o:e};let Us,Gs;return t&&([Us,Gs]=t(fn)),{render:na,hydrate:Us,createApp:Sd(na,Us)}}function Zs({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 zt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Yc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Zc(e,t,n=!1){const r=e.children,s=t.children;if(Z(r)&&Z(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=St(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&Zc(i,a)),a.type===rn&&(a.patchFlag===-1&&(a=s[o]=St(a)),a.el=i.el),a.type===rt&&!a.el&&(a.el=i.el)}}function jd(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<u?o=a+1:i=a;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Jc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Jc(t)}function Sa(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Qc(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Qc(t.subTree):null}const eu=e=>e.__isSuspense;let Lo=0;const Ud={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,u){if(e==null)$d(t,n,r,s,o,i,a,l,u);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}zd(e,t,n,r,s,i,a,l,u)}},hydrate:Wd,normalize:Vd},Gd=Ud;function ur(e,t){const n=e.props&&e.props[t];Y(n)&&n()}function $d(e,t,n,r,s,o,i,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),h=e.suspense=tu(e,s,r,t,f,n,o,i,a,l);u(null,h.pendingBranch=e.ssContent,f,null,r,h,o,i),h.deps>0?(ur(e,"onPending"),ur(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,i),Rn(h,e.ssFallback)):h.resolve(!1,!0)}function zd(e,t,n,r,s,o,i,a,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const h=t.ssContent,d=t.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:C,isHydrating:_}=f;if(g)f.pendingBranch=h,Dt(g,h)?(l(g,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():C&&(_||(l(p,d,n,r,s,null,o,i,a),Rn(f,d)))):(f.pendingId=Lo++,_?(f.isHydrating=!1,f.activeBranch=g):u(g,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),C?(l(null,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(p,d,n,r,s,null,o,i,a),Rn(f,d))):p&&Dt(p,h)?(l(p,h,n,r,s,f,o,i,a),f.resolve(!0)):(l(null,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(p&&Dt(p,h))l(p,h,n,r,s,f,o,i,a),Rn(f,h);else if(ur(t,"onPending"),f.pendingBranch=h,h.shapeFlag&512?f.pendingId=h.component.suspenseId:f.pendingId=Lo++,l(null,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:x,pendingId:m}=f;x>0?setTimeout(()=>{f.pendingId===m&&f.fallback(d)},x):x===0&&f.fallback(d)}}function tu(e,t,n,r,s,o,i,a,l,u,c=!1){const{p:f,m:h,um:d,n:p,o:{parentNode:g,remove:C}}=u;let _;const x=qd(e);x&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);const m=e.props?lh(e.props.timeout):void 0,w=o,y={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:Lo++,timeout:typeof m=="number"?m:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(k=!1,M=!1){const{vnode:G,activeBranch:z,pendingBranch:N,pendingId:te,effects:J,parentComponent:re,container:oe,isInFallback:E}=y;let j=!1;y.isHydrating?y.isHydrating=!1:k||(j=z&&N.transition&&N.transition.mode==="out-in",j&&(z.transition.afterLeave=()=>{te===y.pendingId&&(h(N,oe,o===w?p(z):o,0),Eo(J),E&&G.ssFallback&&(G.ssFallback.el=null))}),z&&(g(z.el)===oe&&(o=p(z)),d(z,re,y,!0),!j&&E&&G.ssFallback&&De(()=>G.ssFallback.el=null,y)),j||h(N,oe,o,0)),Rn(y,N),y.pendingBranch=null,y.isInFallback=!1;let B=y.parent,$=!1;for(;B;){if(B.pendingBranch){B.effects.push(...J),$=!0;break}B=B.parent}!$&&!j&&Eo(J),y.effects=[],x&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!M&&t.resolve()),ur(G,"onResolve")},fallback(k){if(!y.pendingBranch)return;const{vnode:M,activeBranch:G,parentComponent:z,container:N,namespace:te}=y;ur(M,"onFallback");const J=p(G),re=()=>{y.isInFallback&&(f(null,k,N,J,z,null,te,a,l),Rn(y,k))},oe=k.transition&&k.transition.mode==="out-in";oe&&(G.transition.afterLeave=re),y.isInFallback=!0,d(G,z,null,!0),oe||re()},move(k,M,G){y.activeBranch&&h(y.activeBranch,k,M,G),y.container=k},next(){return y.activeBranch&&p(y.activeBranch)},registerDep(k,M,G){const z=!!y.pendingBranch;z&&y.deps++;const N=k.vnode.el;k.asyncDep.catch(te=>{Hn(te,k,0)}).then(te=>{if(k.isUnmounted||y.isUnmounted||y.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:J}=k;No(k,te),N&&(J.el=N);const re=!N&&k.subTree.el;M(k,J,g(N||k.subTree.el),N?null:p(k.subTree),y,i,G),re&&(J.placeholder=null,C(re)),Ts(k,J.el),z&&--y.deps===0&&y.resolve()})},unmount(k,M){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,n,k,M),y.pendingBranch&&d(y.pendingBranch,n,k,M)}};return y}function Wd(e,t,n,r,s,o,i,a,l){const u=t.suspense=tu(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,o,i);return u.deps===0&&u.resolve(!1,!0),c}function Vd(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=ka(r?n.default:n),e.ssFallback=r?ka(n.fallback):X(rt)}function ka(e){let t;if(Y(e)){const n=Ln&&e._c;n&&(e._d=!1,H()),e=e(),n&&(e._d=!0,t=ze,ru())}return Z(e)&&(e=Rd(e)),e=Xe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function nu(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):Eo(e)}function Rn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,Ts(r,s))}function qd(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const me=Symbol.for("v-fgt"),rn=Symbol.for("v-txt"),rt=Symbol.for("v-cmt"),tr=Symbol.for("v-stc"),nr=[];let ze=null;function H(e=!1){nr.push(ze=e?null:[])}function ru(){nr.pop(),ze=nr[nr.length-1]||null}let Ln=1;function ts(e,t=!1){Ln+=e,e<0&&ze&&t&&(ze.hasOnce=!0)}function su(e){return e.dynamicChildren=Ln>0?ze||xn:null,ru(),Ln>0&&ze&&ze.push(e),e}function W(e,t,n,r,s,o){return su(L(e,t,n,r,s,o,!0))}function Qe(e,t,n,r,s){return su(X(e,t,n,r,s,!0))}function In(e){return e?e.__v_isVNode===!0:!1}function Dt(e,t){return e.type===t.type&&e.key===t.key}const ou=({key:e})=>e??null,Ur=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ye(e)||we(e)||Y(e)?{i:Re,r:e,k:t,f:!!n}:e:null);function L(e,t=null,n=null,r=0,s=null,o=e===me?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ou(t),ref:t&&Ur(t),scopeId:xc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Re};return a?(Pi(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=ye(n)?8:16),Ln>0&&!i&&ze&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&ze.push(l),l}const X=Kd;function Kd(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Ic)&&(e=rt),In(e)){const a=Nn(e,t,!0);return n&&Pi(a,n),Ln>0&&!o&&ze&&(a.shapeFlag&6?ze[ze.indexOf(e)]=a:ze.push(a)),a.patchFlag=-2,a}if(sp(e)&&(e=e.__vccOpts),t){t=iu(t);let{class:a,style:l}=t;a&&!ye(a)&&(t.class=Le(a)),ue(l)&&(Es(l)&&!Z(l)&&(l=Te({},l)),t.style=Ss(l))}const i=ye(e)?1:eu(e)?128:nd(e)?64:ue(e)?4:Y(e)?2:0;return L(e,t,n,r,s,i,o,!0)}function iu(e){return e?Es(e)||$c(e)?Te({},e):e:null}function Nn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,u=t?au(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&ou(u),ref:t&&t.ref?n&&o?Z(o)?o.concat(Ur(t)):[o,Ur(t)]:Ur(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==me?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Nn(e.ssContent),ssFallback:e.ssFallback&&Nn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Si(c,l.clone(c)),c}function _e(e=" ",t=0){return X(rn,null,e,t)}function Xd(e,t){const n=X(tr,null,e);return n.staticCount=t,n}function Be(e="",t=!1){return t?(H(),Qe(rt,null,e)):X(rt,null,e)}function Xe(e){return e==null||typeof e=="boolean"?X(rt):Z(e)?X(me,null,e.slice()):In(e)?St(e):X(rn,null,String(e))}function St(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Nn(e)}function Pi(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Z(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Pi(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!$c(t)?t._ctx=Re:s===3&&Re&&(Re.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Y(t)?(t={default:t,_ctx:Re},n=32):(t=String(t),r&64?(n=16,t=[_e(t)]):n=8);e.children=t,e.shapeFlag|=n}function au(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Le([t.class,r.class]));else if(s==="style")t.style=Ss([t.style,r.style]);else if(br(s)){const o=t[s],i=r[s];i&&o!==i&&!(Z(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function Je(e,t,n,r=null){bt(e,t,7,[n,r])}const Yd=Dc();let Zd=0;function Jd(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Yd,o={uid:Zd++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ec(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Wc(r,s),emitsOptions:Hc(r,s),emit:null,emitted:null,propsDefaults:he,inheritAttrs:r.inheritAttrs,ctx:he,data:he,props:he,attrs:he,slots:he,refs:he,setupState:he,setupContext: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 o.ctx={_:o},o.root=t?t.root:o,o.emit=Ed.bind(null,o),e.ce&&e.ce(o),o}let Ae=null;const On=()=>Ae||Re;let ns,Io;{const e=xs(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};ns=t("__VUE_INSTANCE_SETTERS__",n=>Ae=n),Io=t("__VUE_SSR_SETTERS__",n=>Bn=n)}const sn=e=>{const t=Ae;return ns(e),e.scope.on(),()=>{e.scope.off(),ns(t)}},rs=()=>{Ae&&Ae.scope.off(),ns(null)};function lu(e){return e.vnode.shapeFlag&4}let Bn=!1;function Qd(e,t=!1,n=!1){t&&Io(t);const{props:r,children:s}=e.vnode,o=lu(e);Ld(e,r,o,t),Bd(e,s,n||t);const i=o?ep(e,t):void 0;return t&&Io(!1),i}function ep(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,yd);const{setup:r}=n;if(r){Tt();const s=e.setupContext=r.length>1?np(e):null,o=sn(e),i=_r(r,e,0,[e.props,s]),a=pi(i);if(Pt(),o(),(a||e.sp)&&!tn(e)&&ki(e),a){if(i.then(rs,rs),t)return i.then(l=>{No(e,l)}).catch(l=>{Hn(l,e,0)});e.asyncDep=i}else No(e,i)}else cu(e)}function No(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ue(t)&&(e.setupState=bc(t)),cu(e)}function cu(e,t,n){const r=e.type;e.render||(e.render=r.render||mt);{const s=sn(e);Tt();try{bd(e)}finally{Pt(),s()}}}const tp={get(e,t){return Ie(e,"get",""),e[t]}};function np(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,tp),slots:e.slots,emit:e.emit,expose:t}}function Ps(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(bc(Fh(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in er)return er[n](e)},has(t,n){return n in t||n in er}})):e.proxy}function rp(e,t=!0){return Y(e)?e.displayName||e.name:e.name||t&&e.__name}function sp(e){return Y(e)&&"__vccOpts"in e}const He=(e,t)=>Wh(e,t,Bn);function fr(e,t,n){try{ts(-1);const r=arguments.length;return r===2?ue(t)&&!Z(t)?In(t)?X(e,null,[t]):X(e,t):X(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&In(n)&&(n=[n]),X(e,t,n))}finally{ts(1)}}const op="3.5.29";let Oo;const Ea=typeof window<"u"&&window.trustedTypes;if(Ea)try{Oo=Ea.createPolicy("vue",{createHTML:e=>e})}catch{}const uu=Oo?e=>Oo.createHTML(e):e=>e,ip="http://www.w3.org/2000/svg",ap="http://www.w3.org/1998/Math/MathML",xt=typeof document<"u"?document:null,Aa=xt&&xt.createElement("template"),lp={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 s=t==="svg"?xt.createElementNS(ip,e):t==="mathml"?xt.createElementNS(ap,e):n?xt.createElement(e,{is:n}):xt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>xt.createTextNode(e),createComment:e=>xt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>xt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Aa.innerHTML=uu(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Aa.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},cp=Symbol("_vtc");function up(e,t,n){const r=e[cp];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ra=Symbol("_vod"),fp=Symbol("_vsh"),hp=Symbol(""),dp=/(?:^|;)\s*display\s*:/;function pp(e,t,n){const r=e.style,s=ye(n);let o=!1;if(n&&!s){if(t)if(ye(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Gr(r,a,"")}else for(const i in t)n[i]==null&&Gr(r,i,"");for(const i in n)i==="display"&&(o=!0),Gr(r,i,n[i])}else if(s){if(t!==n){const i=r[hp];i&&(n+=";"+i),r.cssText=n,o=dp.test(n)}}else t&&e.removeAttribute("style");Ra in e&&(e[Ra]=o?r.display:"",e[fp]&&(r.display="none"))}const Ta=/\s*!important$/;function Gr(e,t,n){if(Z(n))n.forEach(r=>Gr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=gp(e,t);Ta.test(n)?e.setProperty(ln(r),n.replace(Ta,""),"important"):e[r]=n}}const Pa=["Webkit","Moz","ms"],Js={};function gp(e,t){const n=Js[t];if(n)return n;let r=nt(t);if(r!=="filter"&&r in e)return Js[t]=r;r=Cs(r);for(let s=0;s<Pa.length;s++){const o=Pa[s]+r;if(o in e)return Js[t]=o}return t}const Ma="http://www.w3.org/1999/xlink";function La(e,t,n,r,s,o=gh(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ma,t.slice(6,t.length)):e.setAttributeNS(Ma,t,n):n==null||o&&!Zl(n)?e.removeAttribute(t):e.setAttribute(t,o?"":lt(n)?String(n):n)}function Ia(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?uu(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Zl(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function fu(e,t,n,r){e.addEventListener(t,n,r)}function mp(e,t,n,r){e.removeEventListener(t,n,r)}const Na=Symbol("_vei");function yp(e,t,n,r,s=null){const o=e[Na]||(e[Na]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=bp(t);if(r){const u=o[t]=vp(r,s);fu(e,a,u,l)}else i&&(mp(e,a,i,l),o[t]=void 0)}}const Oa=/(?:Once|Passive|Capture)$/;function bp(e){let t;if(Oa.test(e)){t={};let r;for(;r=e.match(Oa);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ln(e.slice(2)),t]}let Qs=0;const wp=Promise.resolve(),_p=()=>Qs||(wp.then(()=>Qs=0),Qs=Date.now());function vp(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;bt(Cp(r,n.value),t,5,[r])};return n.value=e,n.attached=_p(),n}function Cp(e,t){if(Z(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Ba=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,xp=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?up(e,r,i):t==="style"?pp(e,n,r):br(t)?hi(t)||yp(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Sp(e,t,r,i))?(Ia(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&La(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ye(r))?Ia(e,nt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),La(e,t,r,i))};function Sp(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ba(t)&&Y(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Ba(t)&&ye(n)?!1:t in e}const Fa=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Z(t)?n=>jr(t,n):t},eo=Symbol("_assign"),kp={created(e,{value:t},n){e.checked=ir(t,n.props.value),e[eo]=Fa(n),fu(e,"change",()=>{e[eo](Ep(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[eo]=Fa(r),t!==n&&(e.checked=ir(t,r.props.value))}};function Ep(e){return"_value"in e?e._value:e.value}const hu=Te({patchProp:xp},lp);let rr,Da=!1;function Ap(){return rr||(rr=Dd(hu))}function Rp(){return rr=Da?rr:Hd(hu),Da=!0,rr}const Tp=((...e)=>{const t=Ap().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=pu(r);if(!s)return;const o=t._component;!Y(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,du(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t}),Pp=((...e)=>{const t=Rp().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=pu(r);if(s)return n(s,!0,du(s))},t});function du(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function pu(e){return ye(e)?document.querySelector(e):e}const Mp=/"(?:_|\\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*:/,Lp=/"(?: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*:/,Ip=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Np(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Op(e);return}return t}function Op(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function ss(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Ip.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Mp.test(e)||Lp.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Np)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const gu=/#/g,mu=/&/g,Bp=/\//g,Fp=/=/g,Dp=/\?/g,Ms=/\+/g,Hp=/%5e/gi,jp=/%60/gi,Up=/%7c/gi,Gp=/%20/gi,$p=/%2f/gi,zp=/%252f/gi;function yu(e){return encodeURI(""+e).replace(Up,"|")}function Bo(e){return yu(typeof e=="string"?e:JSON.stringify(e)).replace(Ms,"%2B").replace(Gp,"+").replace(gu,"%23").replace(mu,"%26").replace(jp,"`").replace(Hp,"^").replace(Bp,"%2F")}function to(e){return Bo(e).replace(Fp,"%3D")}function Wp(e){return yu(e).replace(gu,"%23").replace(Dp,"%3F").replace(zp,"%2F").replace(mu,"%26").replace(Ms,"%2B")}function hr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Vp(e){return hr(e.replace($p,"%252F"))}function qp(e){return hr(e.replace(Ms," "))}function Kp(e){return hr(e.replace(Ms," "))}function Ls(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=qp(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=Kp(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function Xp(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${to(e)}=${Bo(n)}`).join("&"):`${to(e)}=${Bo(t)}`:to(e)}function bu(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Xp(t,e[t])).filter(Boolean).join("&")}const Yp=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Zp=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Jp=/^([/\\]\s*){2,}[^/\\]/,Qp=/^[\s\0]*(blob|data|javascript|vbscript):$/i,e1=/\/$|\/\?|\/#/,t1=/^\.?\//;function n1(e){return["./","../"].some(t=>e.startsWith(t))}function Gt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Yp.test(e):Zp.test(e)||(t.acceptRelative?Jp.test(e):!1)}function r1(e){return!!e&&Qp.test(e)}function Fo(e="",t){return t?e1.test(e):e.endsWith("/")}function Mi(e="",t){if(!t)return(Fo(e)?e.slice(0,-1):e)||"/";if(!Fo(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s!==-1&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function os(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Fo(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s!==-1&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function s1(e=""){return e.startsWith("/")}function Ha(e=""){return s1(e)?e:"/"+e}function wu(e,t){if(_u(t)||Gt(e))return e;const n=Mi(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return on(n,e)}function o1(e,t){if(_u(t))return e;const n=Mi(t);if(!e.startsWith(n))return e;const r=e[n.length];if(r&&r!=="/"&&r!=="?")return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function Xt(e,t){const n=Li(e),r={...Ls(n.search),...t};return n.search=bu(r),xu(n)}function _u(e){return!e||e==="/"}function i1(e){return e&&e!=="/"}function on(e,...t){let n=e||"";for(const r of t.filter(s=>i1(s)))if(n){const s=r.replace(t1,"");n=os(n)+s}else n=r;return n}function vu(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const i of n)if(!(!i||i==="/")){for(const[a,l]of i.split(t).entries())if(!(!l||l===".")){if(l===".."){if(r.length===1&&Gt(r[0]))continue;r.pop(),s--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+l;continue}r.push(l),s++}}let o=r.join("/");return s>=0?n[0]?.startsWith("/")&&!o.startsWith("/")?o="/"+o:n[0]?.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,n[n.length-1]?.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function a1(e,t,n={}){return n.trailingSlash||(e=os(e),t=os(t)),n.leadingSlash||(e=Ha(e),t=Ha(t)),n.encoding||(e=hr(e),t=hr(t)),e===t}const Cu=Symbol.for("ufo:protocolRelative");function Li(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,h=""]=n;return{protocol:f.toLowerCase(),pathname:h,href:f+h,auth:"",host:"",search:"",hash:""}}if(!Gt(e,{acceptRelative:!0}))return ja(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=ja(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:u,hash:c,[Cu]:!r}}function ja(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function xu(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[Cu]?(e.protocol||"")+"//":"")+s+o+t+n+r}class l1 extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function c1(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${o}${t?` ${t}`:""}`,a=new l1(i,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[u]}});return a}const u1=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Ua(e="GET"){return u1.has(e.toUpperCase())}function f1(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||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const h1=new Set(["image/svg","application/xml","application/xhtml","application/html"]),d1=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function p1(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return d1.test(t)?"json":t==="text/event-stream"?"stream":h1.has(t)||t.startsWith("text/")?"text":"blob"}function g1(e,t,n,r){const s=m1(t?.headers??e?.headers,n?.headers,r);let o;return(n?.query||n?.params||t?.params||t?.query)&&(o={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:o,params:o,headers:s}}function m1(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,o);return r}async function Mr(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const y1=new Set([408,409,425,429,500,502,503,504]),b1=new Set([101,204,205,304]);function Su(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let c;typeof a.options.retry=="number"?c=a.options.retry:c=Ua(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(c>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):y1.has(f))){const h=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return h>0&&await new Promise(d=>setTimeout(d,h)),o(a.request,{...a.options,retry:c-1})}}const u=c1(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,o),u}const o=async function(l,u={}){const c={request:l,options:g1(l,u,e.defaults,n),response:void 0,error:void 0};if(c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&(await Mr(c,c.options.onRequest),c.options.headers instanceof n||(c.options.headers=new n(c.options.headers||{}))),typeof c.request=="string"&&(c.options.baseURL&&(c.request=wu(c.request,c.options.baseURL)),c.options.query&&(c.request=Xt(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&Ua(c.options.method))if(f1(c.options.body)){const d=c.options.headers.get("content-type");typeof c.options.body!="string"&&(c.options.body=d==="application/x-www-form-urlencoded"?new URLSearchParams(c.options.body).toString():JSON.stringify(c.options.body)),d||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")}else("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half"));let f;if(!c.options.signal&&c.options.timeout){const d=new r;f=setTimeout(()=>{const p=new Error("[TimeoutError]: The operation was aborted due to timeout");p.name="TimeoutError",p.code=23,d.abort(p)},c.options.timeout),c.options.signal=d.signal}try{c.response=await t(c.request,c.options)}catch(d){return c.error=d,c.options.onRequestError&&await Mr(c,c.options.onRequestError),await s(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!b1.has(c.response.status)&&c.options.method!=="HEAD"){const d=(c.options.parseResponse?"json":c.options.responseType)||p1(c.response.headers.get("content-type")||"");switch(d){case"json":{const p=await c.response.text(),g=c.options.parseResponse||ss;c.response._data=g(p);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[d]()}}return c.options.onResponse&&await Mr(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await Mr(c,c.options.onResponseError),await s(c)):c.response},i=async function(l,u){return(await o(l,u))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={},l={})=>Su({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const is=(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")})(),w1=is.fetch?(...e)=>is.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),_1=is.Headers,v1=is.AbortController,C1=Su({fetch:w1,Headers:_1,AbortController:v1}),x1=C1,S1=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,Ii=()=>S1().app,k1=()=>Ii().baseURL,E1=()=>Ii().buildAssetsDir,Ni=(...e)=>vu(ku(),E1(),...e),ku=(...e)=>{const t=Ii(),n=t.cdnURL||t.baseURL;return e.length?vu(n,...e):n};globalThis.__buildAssetsURL=Ni,globalThis.__publicAssetsURL=ku;globalThis.$fetch||(globalThis.$fetch=x1.create({baseURL:k1()}));"global"in globalThis||(globalThis.global=globalThis);function Do(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Do(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const A1={run:e=>e()},R1=()=>A1,Eu=typeof console.createTask<"u"?console.createTask:R1;function T1(e,t){const n=t.shift(),r=Eu(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function P1(e,t){const n=t.shift(),r=Eu(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function no(e,t){for(const n of[...e])n(t)}let M1=class{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 s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}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,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),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 s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Do(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=Do(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(T1,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(P1,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&no(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&no(this._after,s)}):(this._after&&s&&no(this._after,s),o)}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 L1(){return new M1}function I1(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},u=()=>t===i?l:void 0;Ho.add(u);try{const c=s?s.run(i,a):a();return n||(t=void 0),await c}finally{Ho.delete(u)}}}}function N1(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=I1({...e,...r})),t[n]}}}const as=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ga="__unctx__",O1=as[Ga]||(as[Ga]=N1()),B1=(e,t={})=>O1.get(e,t),$a="__unctx_async_handlers__",Ho=as[$a]||(as[$a]=new Set);function jo(e){const t=[];for(const s of Ho){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const za={id:"__nuxt-loader"},F1={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},D1="#__nuxt",Au="nuxt-app",Wa=36e5,H1="vite:preloadError";function Ru(e=Au){return B1(e,{asyncContext:!1})}const j1="__nuxt_plugin";function U1(e){let t=0;const n={_id:e.id||Au||"nuxt-app",_scope:yh(),provide:void 0,versions:{get nuxt(){return"4.3.1"},get vue(){return n.vueApp.version}},payload:wn({...e.ssrContext?.payload||{},data:wn({}),state:at({}),once:new Set,_errors:wn({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!tc()?n._scope.run(()=>Va(n,s)):Va(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:wn({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const o in s)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],s[o]);break;default:n.payload[o]=s[o]}}n.hooks=L1(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;Lr(n,i,o),Lr(n.vueApp.config.globalProperties,i,o)},Lr(n.vueApp,"$nuxt",n),Lr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(H1,o=>{n.callHook("app:chunkError",{error:o.payload}),o.payload.message.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||=Ee;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}function G1(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function $1(e,t){if(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 z1(e,t){const n=new Set,r=[],s=[];let o,i=0;async function a(l){const u=l.dependsOn?.filter(c=>t.some(f=>f._name===c)&&!n.has(c))??[];if(u.length>0)r.push([new Set(u),l]);else{const c=$1(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(r.map(async([f,h])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(i++,await a(h)))})))}).catch(f=>{if(!l.parallel&&!e.payload.error)throw f;o||=f});l.parallel?s.push(c):await c}}for(const l of t)G1(e,l);for(const l of t)await a(l);if(await Promise.all(s),i)for(let l=0;l<i;l++)await Promise.all(s);if(o)throw e.payload.error||o}function ut(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[j1]:!0,_name:t})}function Va(e,t,n){const r=()=>t();return Ru(e._id).set(e),e.vueApp.runWithContext(r)}function W1(e){let t;return Ci()&&(t=On()?.appContext.app.$nuxt),t||=Ru(e).tryUse(),t||null}function Ee(e){const t=W1(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Fn(e){return Ee().$config}function Lr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}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 Uo(e,t,n=".",r){if(!ro(t))return Uo(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:ro(i)&&ro(s[o])?s[o]=Uo(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function V1(e){return(...t)=>t.reduce((n,r)=>Uo(n,r,"",e),{})}const q1=V1();function K1(e,t){try{return t in e}catch{return!1}}class qa extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Go(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Tu(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function X1(e){if(typeof e=="string")return new qa(e);if(Y1(e))return e;const t=new qa(e.message??e.statusMessage??"",{cause:e.cause||e});if(K1(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=Go(e.statusCode,t.statusCode):e.status&&(t.statusCode=Go(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Tu(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 Y1(e){return e?.constructor?.__h3_error__===!0}const Z1=/[^\u0009\u0020-\u007E]/g;function Tu(e=""){return e.replace(Z1,"")}function Go(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Pu=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const wt=()=>Ee()?.$router,Oi=()=>Ci()?En(Pu,Ee()._route):Ee()._route;const J1=()=>{try{if(Ee()._processingMiddleware)return!0}catch{return!1}return!1},Mu=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?$o(e):wt().resolve(e).href;if(t?.open){const{target:u="_blank",windowFeatures:c={}}=t.open,f=[];for(const[h,d]of Object.entries(c))d!==void 0&&f.push(`${h.toLowerCase()}=${d}`);return open(n,u,f.join(", ")),Promise.resolve()}const r=Gt(n,{acceptRelative:!0}),s=t?.external||r;if(s){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:u}=new URL(n,window.location.href);if(u&&r1(u))throw new Error(`Cannot navigate to a URL with '${u}' protocol.`)}const o=J1();if(!s&&o){if(t?.replace){if(typeof e=="string"){const{pathname:u,search:c,hash:f}=Li(e);return{path:u,...c&&{query:Ls(c)},...f&&{hash:f},replace:!0}}return{...e,replace:!0}}return e}const i=wt(),a=Ee();if(s)return a._scope.stop(),t?.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const l=typeof e=="string"?Lu(e):e;return t?.replace?i.replace(l):i.push(l)};function $o(e){return Xt(e.path||"",e.query||{})+(e.hash||"")}function Lu(e){const t=Li(e);return Wp(Vp(t.pathname))+t.search+t.hash}const Iu="__nuxt_error",Bi=()=>Gh(Ee().payload,"error"),Q1=e=>{const t=Fi(e);try{const n=Bi();Ee().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},e0=async(e={})=>{const t=Ee(),n=Bi();t.callHook("app:error:cleared",e),e.redirect&&await wt().replace(e.redirect),n.value=void 0},t0=e=>!!e&&typeof e=="object"&&Iu in e,Fi=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=X1(e);return Object.defineProperty(t,Iu,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};function n0(e){const t=s0(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let s=0;s<n.byteLength;s++)r.setUint8(s,t.charCodeAt(s));return n}const r0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function s0(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let s=0;s<e.length;s++)n<<=6,n|=r0.indexOf(e[s]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const o0=-1,i0=-2,a0=-3,l0=-4,c0=-5,u0=-6,f0=-7;function h0(e,t){return d0(JSON.parse(e),t)}function d0(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);let s=null;function o(i,a=!1){if(i===o0)return;if(i===a0)return NaN;if(i===l0)return 1/0;if(i===c0)return-1/0;if(i===u0)return-0;if(a||typeof i!="number")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 u=l[0],c=t&&Object.hasOwn(t,u)?t[u]:void 0;if(c){let f=l[1];if(typeof f!="number"&&(f=n.push(l[1])-1),s??=new Set,s.has(f))throw new Error("Invalid circular reference");return s.add(f),r[i]=c(o(f)),s.delete(f),r[i]}switch(u){case"Date":r[i]=new Date(l[1]);break;case"Set":const f=new Set;r[i]=f;for(let p=1;p<l.length;p+=1)f.add(o(l[p]));break;case"Map":const h=new Map;r[i]=h;for(let p=1;p<l.length;p+=2)h.set(o(l[p]),o(l[p+1]));break;case"RegExp":r[i]=new RegExp(l[1],l[2]);break;case"Object":r[i]=Object(l[1]);break;case"BigInt":r[i]=BigInt(l[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let p=1;p<l.length;p+=2)d[l[p]]=o(l[p+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{if(n[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const p=globalThis[u],g=o(l[1]),C=new p(g);r[i]=l[2]!==void 0?C.subarray(l[2],l[3]):C;break}case"ArrayBuffer":{const p=l[1];if(typeof p!="string")throw new Error("Invalid ArrayBuffer encoding");const g=n0(p);r[i]=g;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const p=u.slice(9);r[i]=Temporal[p].from(l[1]);break}case"URL":{const p=new URL(l[1]);r[i]=p;break}case"URLSearchParams":{const p=new URLSearchParams(l[1]);r[i]=p;break}default:throw new Error(`Unknown type ${u}`)}}else if(l[0]===f0){const u=l[1],c=new Array(u);r[i]=c;for(let f=2;f<l.length;f+=2){const h=l[f];c[h]=o(l[f+1])}}else{const u=new Array(l.length);r[i]=u;for(let c=0;c<l.length;c+=1){const f=l[c];f!==i0&&(u[c]=o(f))}}else{const u={};r[i]=u;for(const c of Object.keys(l)){if(c==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const f=l[c];u[c]=o(f)}}return r[i]}return o(0)}const p0=new Set(["link","style","script","noscript"]),g0=new Set(["title","titleTemplate","script","style","noscript"]),Ka=new Set(["base","meta","link","style","script","noscript"]),m0=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),y0=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),b0=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),w0=new Set(["templateParams","htmlAttrs","bodyAttrs"]),_0=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function zo(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?zo(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Nu=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function Ou(e,t,n,r){for(let s=n;s<e.length;s+=1)try{const o=r?r.run(()=>e[s](...t)):e[s](...t);if(o instanceof Promise)return o.then(()=>Ou(e,t,s+1,r))}catch(o){return Promise.reject(o)}}function v0(e,t,n){if(e.length>0)return Ou(e,t,0,Nu(n))}function C0(e,t,n){if(e.length>0){const r=Nu(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}}function so(e,t){for(const n of[...e])n(t)}var x0=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;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(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!n.allowDeprecated){let o=s.message;o||(o=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...s)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...s));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=zo(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=zo(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(v0,e,t)}callHookParallel(e,...t){return this.callHookWith(C0,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&so(this._before,r);const s=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return s instanceof Promise?s.finally(()=>{this._after&&r&&so(this._after,r)}):(this._after&&r&&so(this._after,r),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function S0(){return new x0}const k0=["name","property","http-equiv"],E0=new Set(["viewport","description","keywords","robots"]);function Bu(e){const t=e.split(":");return t.length?_0.has(t[1]):!1}function Wo(e){const{props:t,tag:n}=e;if(y0.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";const r=t.hreflang||t.type;if(n==="link"&&t.rel==="alternate"&&r)return`alternate:${r}`;if(t.charset)return"charset";if(e.tag==="meta"){for(const s of k0)if(t[s]!==void 0){const o=t[s],i=o&&typeof o=="string"&&o.includes(":"),a=o&&E0.has(o),u=!(i||a)&&e.key?`:key:${e.key}`:"";return`${n}:${o}${u}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(g0.has(n)){const s=e.textContent||e.innerHTML;if(s)return`${n}:content:${s}`}}function Xa(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,s])=>`${r}:${String(s)}`).join(",")}`}function ls(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const s=t?t(n,e):e;if(Array.isArray(s))return s.map(o=>ls(o,t));if(s?.constructor===Object){const o={};for(const i of Object.keys(s))o[i]=ls(s[i],t,i);return o}return s}function A0(e,t){const n=e==="style"?new Map:new Set;function r(s){if(s==null||s===void 0)return;const o=String(s).trim();if(o)if(e==="style"){const[i,...a]=o.split(":").map(l=>l?l.trim():"");i&&a.length&&n.set(i,a.join(":"))}else o.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,o])=>{o&&o!=="false"&&(e==="style"?n.set(String(s).trim(),String(o)):r(s))}),n}function Fu(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=A0(n,r);return}if(b0.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let a=t.type;if(t.type||(a="application/json"),!a?.endsWith("json")&&a!=="speculationrules")return;t.type=a,e.props.type=a,e[n]=JSON.stringify(r)}else e[n]=r;return}const s=String(r),o=n.startsWith("data-"),i=e.tag==="meta"&&n==="content";s==="true"||s===""?e.props[n]=o||i?s:!0:!r&&o&&s==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e):e}function R0(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=Fu({tag:e,props:{}},n);return r.key&&p0.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),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(s=>({...r,props:{...r.props,content:s}})):r}function T0(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,o)=>{for(let i=0;i<t.length;i++)o=t[i](s,o);return o};e=n(void 0,e);const r=[];return e=ls(e,n),Object.entries(e||{}).forEach(([s,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])r.push(R0(s,i))}),r.flat()}const Ya=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Za={base:-10,title:10},P0={critical:-8,high:-1,low:2},Ja={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},M0=/@import/,qn=e=>e===""||e===!0;function L0(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=P0[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Ja;if(t.tag in Za)n=Za[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=Ja.meta[o])}else if(t.tag==="link"&&t.props.rel)n=s.link[t.props.rel];else if(t.tag==="script"){const o=String(t.props.type);qn(t.props.async)?n=s.script.async:t.props.src&&!qn(t.props.defer)&&!qn(t.props.async)&&o!=="module"&&!o.endsWith("json")||t.innerHTML&&!o.endsWith("json")?n=s.script.sync:(qn(t.props.defer)&&t.props.src&&!qn(t.props.async)||o==="module")&&(n=s.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&M0.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function Qa(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function I0(e={}){const t=S0();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,o=new Set,i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>Qa(i,a),push(a,l){const u={...l||{}};delete u.head;const c=u._index??i._entryCount++,f={_i:c,input:a,options:u},h={_poll(d=!1){i.dirty=!0,!d&&o.add(c),t.callHook("entries:updated",i)},dispose(){r.delete(c)&&i.invalidate()},patch(d){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=d,r.set(c,f),h._poll())}};return h.patch(a),h},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",a);o.size;){const h=o.values().next().value;o.delete(h);const d=r.get(h);if(d){const p={tags:T0(d.input,e.propResolvers||[]).map(g=>Object.assign(g,d.options)),entry:d};await t.callHook("entries:normalize",p),d._tags=p.tags.map((g,C)=>(g._w=L0(i,g),g._p=(d._i<<10)+C,g._d=Wo(g),g))}}let l=!1;a.entries.flatMap(h=>(h._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Ya).reduce((h,d)=>{const p=String(d._d||d._p);if(!h.has(p))return h.set(p,d);const g=h.get(p);if((d?.tagDuplicateStrategy||(w0.has(d.tag)?"merge":null)||(d.key&&d.key===g.key?"merge":null))==="merge"){const _={...g.props};Object.entries(d.props).forEach(([x,m])=>_[x]=x==="style"?new Map([...g.props.style||new Map,...m]):x==="class"?new Set([...g.props.class||new Set,...m]):m),h.set(p,{...d,props:_})}else d._p>>10===g._p>>10&&d.tag==="meta"&&Bu(p)?(h.set(p,Object.assign([...Array.isArray(g)?g:[g],d],d)),l=!0):(d._w===g._w?d._p>g._p:d?._w<g?._w)&&h.set(p,d);return h},a.tagMap);const u=a.tagMap.get("title"),c=a.tagMap.get("titleTemplate");if(i._title=u?.textContent,c){const h=c?.textContent;if(i._titleTemplate=h,h){let d=typeof h=="function"?h(u?.textContent):h;typeof d=="string"&&!i.plugins.has("template-params")&&(d=d.replace("%s",u?.textContent||"")),u?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:d}):(c.tag="title",c.textContent=d)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(Ya)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const h of a.tags){const{innerHTML:d,tag:p,props:g}=h;if(m0.has(p)&&!(Object.keys(g).length===0&&!h.innerHTML&&!h.textContent)&&!(p==="meta"&&!g.content&&!g["http-equiv"]&&!g.charset)){if(p==="script"&&d){if(String(g.type).endsWith("json")){const C=typeof d=="string"?d:JSON.stringify(d);h.innerHTML=C.replace(/</g,"\\u003C")}else typeof d=="string"&&(h.innerHTML=d.replace(new RegExp(`</${p}`,"g"),`<\\/${p}`));h._d=Wo(h)}f.push(h)}}return f},invalidate(){for(const a of r.values())o.add(a._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(a=>Qa(i,a)),i.hooks.callHook("init",i),e.init?.forEach(a=>a&&i.push(a)),i}const N0=(e,t)=>we(t)?yc(t):t,Du="usehead";function O0(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Du,e)}}.install}function B0(){if(Ci()){const e=En(Du);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function xy(e,t={}){const n=t.head||B0();return n.ssr?n.push(e||{},t):F0(n,e,t)}function F0(e,t,n={}){const r=$e(!1);let s;return Qh(()=>{const i=r.value?{}:ls(t,N0);s?s.patch(i):s=e.push(i,n)}),On()&&(Ai(()=>{s.dispose()}),Ac(()=>{r.value=!0}),Ec(()=>{r.value=!1})),s}const D0=(e,t)=>[],H0=e=>q1({},...D0().map(t=>t.data).reverse()),j0=H0;let $r;function U0(){return $r=$fetch(Ni(`builds/meta/${Fn().app.buildId}.json`),{responseType:"json"}),$r.catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),$r}function Di(){return $r||U0()}function Is(e){const t=typeof e=="string"?e:e.path;try{return j0(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function el(e,t={}){if(await z0(e)){const n=await $0(e,t);return await Hu(n)||null}return null}const G0="_payload.json";async function $0(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Gt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=Fn(),s=t.hash||(t.fresh?Date.now():r.app.buildId),o=r.app.cdnURL,i=o&&await W0(e)?o:r.app.baseURL;return on(i,n.pathname,G0+(s?`?${s}`:""))}async function Hu(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(Gu));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}function ju(e){if(e.redirect)return!1;if(e.prerender)return!0}async function Uu(e){return e=e==="/"?e:e.replace(/\/$/,""),(await Di()).prerendered.includes(e)}async function z0(e=Oi().path){const t=Is({path:e}),n=ju(t);return n!==void 0?n:t.payload?!0:await Uu(e)}async function W0(e=Oi().path){const t=ju(Is({path:e}));return t!==void 0?t:await Uu(e)}let Wt=null;async function V0(){if(Wt)return Wt;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Gu(e.textContent||""),n=e.dataset.src?await Hu(e.dataset.src):void 0;return Wt={...t,...n,...window.__NUXT__},Wt.config?.public&&(Wt.config.public=at(Wt.config.public)),Wt}async function Gu(e){return await h0(e,Ee()._payloadRevivers)}function q0(e,t){Ee()._payloadRevivers[e]=t}const K0=[["NuxtError",e=>Fi(e)],["EmptyShallowRef",e=>ko(e==="_"?void 0:e==="0n"?BigInt(0):ss(e))],["EmptyRef",e=>$e(e==="_"?void 0:e==="0n"?BigInt(0):ss(e))],["ShallowRef",e=>ko(e)],["ShallowReactive",e=>wn(e)],["Ref",e=>$e(e)],["Reactive",e=>at(e)]],X0=ut({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of K0)q0(r,s);Object.assign(e.payload,([t,n]=jo(()=>e.runWithContext(V0)),t=await t,n(),t)),delete window.__NUXT__}});async function Hi(e,t={}){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 e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{const o=new Map,i=new Promise(d=>{e.resolveTags().then(p=>{d(p.map(g=>{const C=o.get(g._d)||0,_={tag:g,id:(C?`${g._d}:${C}`:g._d)||Xa(g),shouldRender:!0};return g._d&&Bu(g._d)&&o.set(g._d,C+1),_}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const p=n[d]?.children;for(const g of p){const C=g.tagName.toLowerCase();if(!Ka.has(C))continue;const _=Fu({tag:C,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((x,m)=>(x[m]=g.getAttribute(m),x),{})||{}});if(_.key=g.getAttribute("data-hid")||void 0,_._d=Wo(_)||Xa(_),a.elMap.has(_._d)){let x=1,m=_._d;for(;a.elMap.has(m);)m=`${_._d}:${x++}`;a.elMap.set(m,g)}else a.elMap.set(_._d,g)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(d,p,g){const C=`${d}:${p}`;a.sideEffects[C]=g,delete a.pendingSideEffects[C]}function u({id:d,$el:p,tag:g}){const C=g.tag.endsWith("Attrs");a.elMap.set(d,p),C||(g.textContent&&g.textContent!==p.textContent&&(p.textContent=g.textContent),g.innerHTML&&g.innerHTML!==p.innerHTML&&(p.innerHTML=g.innerHTML),l(d,"el",()=>{p?.remove(),a.elMap.delete(d)}));for(const _ in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,_))continue;const x=g.props[_];if(_.startsWith("on")&&typeof x=="function"){const w=p?.dataset;if(w&&w[`${_}fired`]){const y=_.slice(0,-5);x.call(p,new Event(y.substring(2)))}p.getAttribute(`data-${_}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:p).addEventListener(_.substring(2),x.bind(p)),p.setAttribute(`data-${_}`,""));continue}const m=`attr:${_}`;if(_==="class"){if(!x)continue;for(const w of x)C&&l(d,`${m}:${w}`,()=>p.classList.remove(w)),!p.classList.contains(w)&&p.classList.add(w)}else if(_==="style"){if(!x)continue;for(const[w,y]of x)l(d,`${m}:${w}`,()=>{p.style.removeProperty(w)}),p.style.setProperty(w,y)}else x!==!1&&x!==null&&(p.getAttribute(_)!==x&&p.setAttribute(_,x===!0?"":String(x)),C&&l(d,m,()=>p.removeAttribute(_)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await i;for(const d of h){const{tag:p,shouldRender:g,id:C}=d;if(g){if(p.tag==="title"){n.title=p.textContent,l("title","",()=>n.title=a.title);continue}d.$el=d.$el||a.elMap.get(C),d.$el?u(d):Ka.has(p.tag)&&c.push(d)}}for(const d of c){const p=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),u(d),f[p]=f[p]||n.createDocumentFragment(),f[p].appendChild(d.$el)}for(const d of h)await e.hooks.callHook("dom:renderTag",d,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const d in a.pendingSideEffects)a.pendingSideEffects[d]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:h}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Y0(e={}){const t=e.domOptions?.render||Hi;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return I0({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Z0(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function J0(e={}){const t=Y0({domOptions:{render:Z0(()=>Hi(t),n=>setTimeout(n,0))},...e});return t.install=O0(t),t}const Q0={disableDefaults:!0},eg=ut({name:"nuxt:head",enforce:"pre",setup(e){const t=J0(Q0);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Hi(t)};t.hooks.hook("dom:beforeRender",s=>{s.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)}}}),tg=e=>{const t=Is({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return Gt(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},ng=[tg];function oo(e){const t=e&&typeof e=="object"?e:{};typeof e=="object"&&(e=xu({pathname:e.path||"",search:bu(e.query||{}),hash:e.hash||""}));const n=new URL(e.toString(),window.location.href);return{path:n.pathname,fullPath:e,query:Ls(n.search),hash:n.hash,params:t.params||{},name:void 0,matched:t.matched||[],redirectedFrom:void 0,meta:t.meta||{},href:e}}const rg=ut({name:"nuxt:router",enforce:"pre",setup(e){const t=o1(window.location.pathname,Fn().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},s=(h,d)=>(r[h].push(d),()=>r[h].splice(r[h].indexOf(d),1)),o=Fn().app.baseURL,i=at(oo(t));async function a(h,d){try{const p=oo(h);for(const g of r["navigate:before"]){const C=await g(p,i);if(C===!1||C instanceof Error)return;if(typeof C=="string"&&C.length)return a(C,!0)}for(const g of r["resolve:before"])await g(p,i);Object.assign(i,p),window.history[d?"replaceState":"pushState"]({},"",on(o,p.fullPath)),e.isHydrating||await e.runWithContext(e0);for(const g of r["navigate:after"])await g(p,i)}catch(p){for(const g of r.error)await g(p)}}const u={currentRoute:He(()=>i),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:h=>a(h,!1),replace:h=>a(h,!0),back:()=>window.history.go(-1),go:h=>window.history.go(h),forward:()=>window.history.go(1),beforeResolve:h=>s("resolve:before",h),beforeEach:h=>s("navigate:before",h),afterEach:h=>s("navigate:after",h),onError:h=>s("error",h),resolve:oo,addRoute:(h,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:h=>n.some(d=>d.name===h),removeRoute:h=>{const d=n.findIndex(p=>p.name===h);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",Mt({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(h,{slots:d})=>{const p=()=>a(h.to,h.replace);return()=>{const g=u.resolve(h.to);return h.custom?d.default?.({href:h.to,navigate:p,route:g}):fr("a",{href:h.to,onClick:C=>(C.preventDefault(),p())},d)}}})),window.addEventListener("popstate",h=>{const d=h.target.location;u.replace(d.href.replace(d.origin,""))}),e._route=i,e._middleware||={global:[],named:{}};const c=e.payload.state._layout,f=e.payload.state._layoutProps;return e.hooks.hookOnce("app:created",async()=>{u.beforeEach(async(h,d)=>{h.meta=at(h.meta||{}),e.isHydrating&&c&&!yt(h.meta.layout)&&(h.meta.layout=c,h.meta.layoutProps=f),e._processingMiddleware=!0;{const p=new Set([...ng,...e._middleware.global]),g=Is({path:h.path});if(g.appMiddleware)for(const C in g.appMiddleware){const _=e._middleware.named[C];_&&(g.appMiddleware[C]?p.add(_):p.delete(_))}for(const C of p){const _=await e.runWithContext(()=>C(h,d));if(_!==!0&&(_||_===!1))return _}}}),u.afterEach(()=>{delete e._processingMiddleware}),await u.replace(t),a1(i.fullPath,t)||await e.runWithContext(()=>Mu(i.fullPath))}),{provide:{route:i,router:u}}}}),sg=ut({name:"nuxt-scripts:beacon-intercept",enforce:"pre",setup(){if(typeof navigator>"u"||!navigator.sendBeacon)return;const e=[{pattern:"www.google-analytics.com",pathPrefix:"",target:"/_proxy/ga"},{pattern:"stats.g.doubleclick.net",pathPrefix:"",target:"/_proxy/ga-dc"},{pattern:"pagead2.googlesyndication.com",pathPrefix:"",target:"/_proxy/ga-syn"},{pattern:"www.googleadservices.com",pathPrefix:"",target:"/_proxy/ga-ads"},{pattern:"googleads.g.doubleclick.net",pathPrefix:"",target:"/_proxy/ga-gads"},{pattern:"www.googletagmanager.com",pathPrefix:"",target:"/_proxy/gtm"},{pattern:"connect.facebook.net",pathPrefix:"",target:"/_proxy/meta"},{pattern:"www.facebook.com",pathPrefix:"/tr",target:"/_proxy/meta-tr"},{pattern:"pixel.facebook.com",pathPrefix:"",target:"/_proxy/meta-px"},{pattern:"www.facebook.com",pathPrefix:"/plugins",target:"/_proxy/meta-plugins"},{pattern:"analytics.tiktok.com",pathPrefix:"",target:"/_proxy/tiktok"},{pattern:"api.segment.io",pathPrefix:"",target:"/_proxy/segment"},{pattern:"cdn.segment.com",pathPrefix:"",target:"/_proxy/segment-cdn"},{pattern:"analytics.twitter.com",pathPrefix:"",target:"/_proxy/x"},{pattern:"t.co",pathPrefix:"",target:"/_proxy/x-t"},{pattern:"tr.snapchat.com",pathPrefix:"",target:"/_proxy/snap"},{pattern:"alb.reddit.com",pathPrefix:"",target:"/_proxy/reddit"},{pattern:"www.clarity.ms",pathPrefix:"",target:"/_proxy/clarity"},{pattern:"scripts.clarity.ms",pathPrefix:"",target:"/_proxy/clarity-scripts"},{pattern:"d.clarity.ms",pathPrefix:"",target:"/_proxy/clarity-data"},{pattern:"e.clarity.ms",pathPrefix:"",target:"/_proxy/clarity-events"},{pattern:"us-assets.i.posthog.com",pathPrefix:"/static",target:"/_proxy/ph/static"},{pattern:"us.i.posthog.com",pathPrefix:"",target:"/_proxy/ph"},{pattern:"eu-assets.i.posthog.com",pathPrefix:"/static",target:"/_proxy/ph-eu/static"},{pattern:"eu.i.posthog.com",pathPrefix:"",target:"/_proxy/ph-eu"},{pattern:"static.hotjar.com",pathPrefix:"",target:"/_proxy/hotjar"},{pattern:"script.hotjar.com",pathPrefix:"",target:"/_proxy/hotjar-script"},{pattern:"vars.hotjar.com",pathPrefix:"",target:"/_proxy/hotjar-vars"},{pattern:"in.hotjar.com",pathPrefix:"",target:"/_proxy/hotjar-in"},{pattern:"vc.hotjar.com",pathPrefix:"",target:"/_proxy/hotjar-vc"},{pattern:"metrics.hotjar.io",pathPrefix:"",target:"/_proxy/hotjar-metrics"},{pattern:"insights.hotjar.com",pathPrefix:"",target:"/_proxy/hotjar-insights"}],t=navigator.sendBeacon.bind(navigator);navigator.sendBeacon=(n,r)=>{try{const s=new URL(n,window.location.origin);for(const o of e)if(s.hostname===o.pattern||s.hostname.endsWith("."+o.pattern)){if(o.pathPrefix&&!s.pathname.startsWith(o.pathPrefix))continue;const i=o.pathPrefix?s.pathname.slice(o.pathPrefix.length):s.pathname,a=i.startsWith("/")?"":"/",l=o.target+a+i+s.search;return t(l,r)}}catch{}return t(n,r)}}}),Vo=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),og=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Ns=e=>{const t=Ee();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Vo(()=>e())}):Vo(()=>e())};async function $u(e,t=wt()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const s=t._preloadPromises||=[];if(s.length>4)return Promise.all(s).then(()=>$u(e,t));t._routePreloaded.add(n);for(const o of r){const i=o.components?.default;if(typeof i!="function")continue;const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}function ig(e={}){const t=e.path||window.location.pathname;let n={};try{n=ss(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||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:Ee().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const ag=(...e)=>e.find(t=>t!==void 0);function lg(e){const t=e.componentName||"NuxtLink";function n(o){return typeof o=="string"&&o.startsWith("#")}function r(o,i,a){const l=a??e.trailingSlash;if(!o||l!=="append"&&l!=="remove")return o;if(typeof o=="string")return Ir(o,l);const u="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:Ir(u,l)}}function s(o){const i=wt(),a=Fn(),l=He(()=>!!o.target&&o.target!=="_self"),u=He(()=>{const C=o.to||o.href||"";return typeof C=="string"&&Gt(C,{acceptRelative:!0})}),c=Ao("RouterLink"),f=c&&typeof c!="string"?c.useLink:void 0,h=He(()=>{if(o.external)return!0;const C=o.to||o.href||"";return typeof C=="object"?!1:C===""||u.value}),d=He(()=>{const C=o.to||o.href||"";return h.value?C:r(C,i.resolve,o.trailingSlash)}),p=h.value?void 0:f?.({...o,to:d}),g=He(()=>{const C=o.trailingSlash??e.trailingSlash;if(!d.value||u.value||n(d.value))return d.value;if(h.value){const _=typeof d.value=="object"&&"path"in d.value?$o(d.value):d.value,x=typeof _=="object"?i.resolve(_).href:_;return Ir(x,C)}return typeof d.value=="object"?i.resolve(d.value)?.href??null:Ir(on(a.app.baseURL,d.value),C)});return{to:d,hasTarget:l,isAbsoluteUrl:u,isExternal:h,href:g,isActive:p?.isActive??He(()=>d.value===i.currentRoute.value.path),isExactActive:p?.isExactActive??He(()=>d.value===i.currentRoute.value.path),route:p?.route??He(()=>i.resolve(d.value)),async navigate(C){await Mu(g.value,{replace:o.replace,external:h.value||l.value})}}}return Mt({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],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},trailingSlash:{type:String,default:void 0,required:!1}},useLink:s,setup(o,{slots:i}){const a=wt(),{to:l,href:u,navigate:c,isExternal:f,hasTarget:h,isAbsoluteUrl:d}=s(o),p=ko(!1),g=$e(null),C=m=>{g.value=o.custom?m?.$el?.nextElementSibling:m?.$el};function _(m){return!p.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===m:o.prefetchOn?.[m]??e.prefetchOn?.[m])&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!fg()}async function x(m=Ee()){if(p.value)return;p.value=!0;const w=typeof l.value=="string"?l.value:f.value?$o(l.value):a.resolve(l.value).fullPath,y=f.value?new URL(w,window.location.href).href:w;await Promise.all([m.hooks.callHook("link:prefetch",y).catch(()=>{}),!f.value&&!h.value&&$u(l.value,a).catch(()=>{})])}if(_("visibility")){const m=Ee();let w,y=null;Tc(()=>{const k=cg();Ns(()=>{w=Vo(()=>{g?.value?.tagName&&(y=k.observe(g.value,async()=>{y?.(),y=null,await x(m)}))})})}),Ai(()=>{w&&og(w),y?.(),y=null})}return()=>{if(!f.value&&!h.value&&!n(l.value)){const y={ref:C,to:l.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};return o.custom||(_("interaction")&&(y.onPointerenter=x.bind(null,void 0),y.onFocus=x.bind(null,void 0)),p.value&&(y.class=o.prefetchedClass||e.prefetchedClass),y.rel=o.rel||void 0),fr(Ao("RouterLink"),y,i.default)}const m=o.target||null,w=ag(o.noRel?"":o.rel,e.externalRelAttribute,d.value||h.value?"noopener noreferrer":"")||null;return o.custom?i.default?i.default({href:u.value,navigate:c,prefetch:x,get route(){if(!u.value)return;const y=new URL(u.value,window.location.href);return{path:y.pathname,fullPath:y.pathname,get query(){return Ls(y.search)},hash:y.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:w,target:m,isExternal:f.value||h.value,isActive:!1,isExactActive:!1}):null:fr("a",{ref:g,href:u.value||null,rel:w,target:m,onClick:async y=>{if(!(f.value||h.value)){y.preventDefault();try{const k=Lu(u.value);return await(o.replace?a.replace(k):a.push(k))}finally{if(n(l.value)){const k=l.value.slice(1);let M=k;try{M=decodeURIComponent(k)}catch{}document.getElementById(M)?.focus()}}}}},i.default?.())}}})}const zu=lg(F1);function Ir(e,t){const n=t==="append"?os:Mi;return Gt(e)&&!e.startsWith("http")?e:n(e,!0)}function cg(){const e=Ee();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||=new IntersectionObserver(a=>{for(const l of a){const u=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&u&&u()}}),n.set(o,i),t.observe(o),()=>{n.delete(o),t?.unobserve(o),n.size===0&&(t?.disconnect(),t=null)});return e._observer={observe:r}}const ug=/2g/;function fg(){const e=navigator.connection;return!!(e&&(e.saveData||ug.test(e.effectiveType)))}const hg=ut({name:"nuxt-scripts:sw-register",enforce:"pre",async setup(){let e,t;if("serviceWorker"in navigator)try{const n=([e,t]=jo(()=>navigator.serviceWorker.register("/_nuxt-scripts-sw.js",{scope:"/"})),e=await e,t(),e);navigator.serviceWorker.controller||([e,t]=jo(()=>new Promise(r=>{const s=()=>{navigator.serviceWorker.removeEventListener("controllerchange",s),r()};navigator.serviceWorker.addEventListener("controllerchange",s),setTimeout(r,2e3)})),await e,t())}catch(n){console.warn("[nuxt-scripts] SW registration failed:",n)}}}),dg=ut({name:"nuxt:payload",setup(e){const t=new Set;wt().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await el(n.path);if(s){for(const o of t)delete e.static.data[o];for(const o in s.data)o in e.static.data||t.add(o),e.static.data[o]=s.data[o]}}),Ns(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await el(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(Di,1e3)})}}),pg=ut(()=>{const e=wt();Ns(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),gg=ut(e=>{let t;async function n(){let r;try{r=await Di()}catch(s){const o=s;if(!("status"in o&&(o.status===404||o.status===403)))throw o}t&&clearTimeout(t),t=setTimeout(n,Wa);try{const s=await $fetch(Ni("builds/latest.json")+`?${Date.now()}`);s.id!==r?.id&&(e.hooks.callHook("app:manifest:update",s),t&&clearTimeout(t))}catch{}}Ns(()=>{t=setTimeout(n,Wa)})}),mg=ut({name:"nuxt:chunk-reload",setup(e){const t=wt(),n=Fn(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const i=on(n.app.baseURL,o.fullPath);ig({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),yg=ut({name:"nuxt:global-components"}),bg=ut(()=>{}),wg=[X0,eg,rg,sg,hg,dg,pg,gg,mg,yg,bg],_g=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},vg={},Cg={class:"n-badge"};function xg(e,t){return H(),W("span",Cg,[Qr(e.$slots,"default")])}const Sg=Object.assign(_g(vg,[["render",xg]]),{__name:"NBadge"}),Wu={__name:"NIcon",props:{icon:{type:String,required:!1}},setup(e){return(t,n)=>(H(),W("div",{class:Le(["n-icon",e.icon])},null,2))}},kg={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},Eg={__name:"NLink",props:{to:{type:String,required:!1},href:{type:String,required:!1},target:{type:String,required:!1},underline:{type:Boolean,required:!1}},setup(e){const t=e,n=He(()=>t.href||t.to);return(r,s)=>{const o=zu;return H(),Qe(o,au(n.value?{href:n.value,target:e.target,rel:e.target==="_blank"?"noopener noreferrer":void 0}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||e.underline}}),{default:Fe(()=>[Qr(r.$slots,"default"),n.value&&e.target==="_blank"?(H(),W("div",kg)):Be("",!0)]),_:3},16,["class"])}}},Ag=Mt({name:"NButton",props:{to:String,icon:String,border:{type:Boolean,default:!0},disabled:Boolean,type:{type:String,default:"button"}},setup(e,{attrs:t,slots:n}){return()=>fr(e.to?zu:"button",{to:e.to,...t,...!e.to&&{type:e.type},...e.disabled?{disabled:!0}:{tabindex:0},class:[e.border?"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":"",n.default?"":"n-icon-button","n-button n-transition n-disabled:n-disabled"].join(" ")},{default:()=>[Qr(n,"icon",{},()=>e.icon?[fr(Wu,{icon:e.icon,class:n.default?"n-button-icon":""})]:[]),Qr(n,"default")]})}}),Rg={class:"flex items-center gap-2"},Tg={class:"capitalize text-sm"},Pg=Mt({__name:"ScriptStatus",props:{status:{},error:{}},setup(e){const t=e,n=He(()=>t.error?t.error==="TypeError: Failed to fetch"?"CORS Error":t.error:t.status||"unknown"),r=He(()=>{if(t.error)return"bg-red-500";switch(t.status){case"loaded":return"bg-green-500";case"loading":return"bg-blue-500";case"awaitingLoad":return"bg-yellow-500";case"error":return"bg-red-500";default:return"bg-gray-400"}});return(s,o)=>(H(),W("div",Rg,[L("div",{class:Le(["w-2 h-2 rounded-full",q(r)])},null,2),L("span",Tg,ie(q(n)),1)]))}}),Mg=Object.assign(Pg,{__name:"ScriptStatus"}),Lg={key:0,title:"kb Size"},Ig={class:"inline-flex items-center px-2 py-0.5 text-xs font-medium bg-neutral-700 text-neutral-300 rounded-full"},Ng=Mt({__name:"ScriptSize",props:{size:{}},setup(e){return(t,n)=>e.size?(H(),W("div",Lg,[L("div",Ig,ie(e.size),1)])):Be("",!0)}}),Og=Object.assign(Ng,{__name:"ScriptSize"}),Bg={class:"inline-flex items-center px-2 py-0.5 text-xs font-medium m bg-neutral-700 text-green-300 rounded-full"},Fg=Mt({__name:"ScriptLoadTime",props:{loadTime:{}},setup(e){return(t,n)=>(H(),W("div",null,[L("div",Bg,ie(e.loadTime),1)]))}}),Dg=Object.assign(Fg,{__name:"ScriptLoadTime"}),Hg="modulepreload",jg=function(e,t){return new URL(e,t).href},tl={},vn=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");s=u(n.map(c=>{if(c=jg(c,r),c in tl)return;tl[c]=!0;const f=c.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(r)for(let p=i.length-1;p>=0;p--){const g=i[p];if(g.href===c&&(!f||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${h}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":Hg,f||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),f)return new Promise((p,g)=>{d.addEventListener("load",p),d.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};let Se=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function Ug(e){return ji(e)}function ji(e){return Array.isArray(e)?Gg(e):e instanceof RegExp?e:typeof e=="object"?$g(e):e}function Gg(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=ji(e[n]);return t}function $g(e){let t={};for(let n in e)t[n]=ji(e[n]);return t}function Vu(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function qu(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?qu(e.substring(0,e.length-1)):e.substr(~t+1)}var io=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Nr=class{static hasCaptures(e){return e===null?!1:(io.lastIndex=0,io.test(e))}static replaceCaptures(e,t,n){return e.replace(io,(r,s,o,i)=>{let a=n[parseInt(s||o,10)];if(a){let l=t.substring(a.start,a.end);for(;l[0]===".";)l=l.substring(1);switch(i){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function Ku(e,t){return e<t?-1:e>t?1:0}function Xu(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 s=0;s<n;s++){let o=Ku(e[s],t[s]);if(o!==0)return o}return 0}return n-r}function nl(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 Yu(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Zu=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},cs=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(Vg(e),t)}static createFromParsedTheme(e,t){return Kg(e,t)}_cachedMatchRoot=new Zu(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(s=>zg(e.parent,s.parentScopes));return r?new Ju(r.fontStyle,r.foreground,r.background):null}},ao=class zr{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new zr(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new zr(n,t[r]);return n}push(t){return new zr(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 zg(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],s=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],s=!0}for(;e&&!Wg(e.scopeName,r);){if(s)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function Wg(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var Ju=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function Vg(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let s=0,o=t.length;s<o;s++){let i=t[s];if(!i.settings)continue;let a;if(typeof i.scope=="string"){let f=i.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(i.scope)?a=i.scope:a=[""];let l=-1;if(typeof i.settings.fontStyle=="string"){l=0;let f=i.settings.fontStyle.split(" ");for(let h=0,d=f.length;h<d;h++)switch(f[h]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let u=null;typeof i.settings.foreground=="string"&&nl(i.settings.foreground)&&(u=i.settings.foreground);let c=null;typeof i.settings.background=="string"&&nl(i.settings.background)&&(c=i.settings.background);for(let f=0,h=a.length;f<h;f++){let p=a[f].trim().split(" "),g=p[p.length-1],C=null;p.length>1&&(C=p.slice(0,p.length-1),C.reverse()),n[r++]=new qg(g,C,s,l,u,c)}}return n}var qg=class{constructor(e,t,n,r,s,o){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=s,this.background=o}},Ne=(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",e[e.Strikethrough=8]="Strikethrough",e))(Ne||{});function Kg(e,t){e.sort((l,u)=>{let c=Ku(l.scope,u.scope);return c!==0||(c=Xu(l.parentScopes,u.parentScopes),c!==0)?c:l.index-u.index});let n=0,r="#000000",s="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(s=l.background)}let o=new Xg(t),i=new Ju(n,o.getId(r),o.getId(s)),a=new Zg(new qo(0,null,-1,0,0),[]);for(let l=0,u=e.length;l<u;l++){let c=e[l];a.insert(0,c.scope,c.parentScopes,c.fontStyle,o.getId(c.foreground),o.getId(c.background))}return new cs(o,i,a)}var Xg=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},Yg=Object.freeze([]),qo=class Qu{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,s,o){this.scopeDepth=t,this.parentScopes=n||Yg,this.fontStyle=r,this.foreground=s,this.background=o}clone(){return new Qu(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,s=t.length;r<s;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,s){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),s!==0&&(this.background=s)}},Zg=class Ko{constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}_rulesWithParentScopes;static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,s=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[s]===">"&&s++,!(r>=t.parentScopes.length||s>=n.parentScopes.length);){const o=n.parentScopes[s].length-t.parentScopes[r].length;if(o!==0)return o;r++,s++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),s,o;if(r===-1?(s=t,o=""):(s=t.substring(0,r),o=t.substring(r+1)),this._children.hasOwnProperty(s))return this._children[s].match(o)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(Ko._cmpBySpecificity),n}insert(t,n,r,s,o,i){if(n===""){this._doInsertHere(t,r,s,o,i);return}let a=n.indexOf("."),l,u;a===-1?(l=n,u=""):(l=n.substring(0,a),u=n.substring(a+1));let c;this._children.hasOwnProperty(l)?c=this._children[l]:(c=new Ko(this._mainRule.clone(),qo.cloneArr(this._rulesWithParentScopes)),this._children[l]=c),c.insert(t+1,u,r,s,o,i)}_doInsertHere(t,n,r,s,o){if(n===null){this._mainRule.acceptOverwrite(t,r,s,o);return}for(let i=0,a=this._rulesWithParentScopes.length;i<a;i++){let l=this._rulesWithParentScopes[i];if(Xu(l.parentScopes,n)===0){l.acceptOverwrite(t,r,s,o);return}}r===-1&&(r=this._mainRule.fontStyle),s===0&&(s=this._mainRule.foreground),o===0&&(o=this._mainRule.background),this._rulesWithParentScopes.push(new qo(t,n,r,s,o))}},Dn=class Ze{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=Ze.getLanguageId(t),r=Ze.getTokenType(t),s=Ze.getFontStyle(t),o=Ze.getForeground(t),i=Ze.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:s,foreground:o,background:i})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,s,o,i,a){let l=Ze.getLanguageId(t),u=Ze.getTokenType(t),c=Ze.containsBalancedBrackets(t)?1:0,f=Ze.getFontStyle(t),h=Ze.getForeground(t),d=Ze.getBackground(t);return n!==0&&(l=n),r!==8&&(u=r),s!==null&&(c=s?1:0),o!==-1&&(f=o),i!==0&&(h=i),a!==0&&(d=a),(l<<0|u<<8|c<<10|f<<11|h<<15|d<<24)>>>0}};function us(e,t){const n=[],r=Jg(e);let s=r.next();for(;s!==null;){let l=0;if(s.length===2&&s.charAt(1)===":"){switch(s.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${s} in scope selector`)}s=r.next()}let u=i();if(n.push({matcher:u,priority:l}),s!==",")break;s=r.next()}return n;function o(){if(s==="-"){s=r.next();const l=o();return u=>!!l&&!l(u)}if(s==="("){s=r.next();const l=a();return s===")"&&(s=r.next()),l}if(rl(s)){const l=[];do l.push(s),s=r.next();while(rl(s));return u=>t(l,u)}return null}function i(){const l=[];let u=o();for(;u;)l.push(u),u=o();return c=>l.every(f=>f(c))}function a(){const l=[];let u=i();for(;u&&(l.push(u),s==="|"||s===",");){do s=r.next();while(s==="|"||s===",");u=i()}return c=>l.some(f=>f(c))}}function rl(e){return!!e&&!!e.match(/[\w\.:]+/)}function Jg(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 ef(e){typeof e.dispose=="function"&&e.dispose()}var dr=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},Qg=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},e2=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},t2=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new dr(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new e2;for(const n of e)n2(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof dr){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function n2(e,t,n,r){const s=n.lookup(e.scopeName);if(!s){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const o=n.lookup(t);e instanceof dr?Wr({baseGrammar:o,selfGrammar:s},r):Xo(e.ruleName,{baseGrammar:o,selfGrammar:s,repository:s.repository},r);const i=n.injections(e.scopeName);if(i)for(const a of i)r.add(new dr(a))}function Xo(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];fs([r],t,n)}}function Wr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&fs(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&fs(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function fs(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const s=r.repository?Vu({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&fs(r.patterns,{...t,repository:s},n);const o=r.include;if(!o)continue;const i=tf(o);switch(i.kind){case 0:Wr({...t,selfGrammar:t.baseGrammar},n);break;case 1:Wr(t,n);break;case 2:Xo(i.ruleName,{...t,repository:s},n);break;case 3:case 4:const a=i.scopeName===t.selfGrammar.scopeName?t.selfGrammar:i.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const l={baseGrammar:t.baseGrammar,selfGrammar:a,repository:s};i.kind===4?Xo(i.ruleName,l,n):Wr(l,n)}else i.kind===4?n.add(new Qg(i.scopeName,i.ruleName)):n.add(new dr(i.scopeName));break}}}var r2=class{kind=0},s2=class{kind=1},o2=class{constructor(e){this.ruleName=e}kind=2},i2=class{constructor(e){this.scopeName=e}kind=3},a2=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function tf(e){if(e==="$base")return new r2;if(e==="$self")return new s2;const t=e.indexOf("#");if(t===-1)return new i2(e);if(t===0)return new o2(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new a2(n,r)}}var l2=/\\(\d+)/,sl=/\\(\d+)/g,c2=-1,nf=-2;var vr=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=Nr.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Nr.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${qu(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:Nr.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Nr.replaceCaptures(this._contentName,e,t)}},u2=class extends vr{retokenizeCapturedWithRuleId;constructor(e,t,n,r,s){super(e,t,n,r),this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}},f2=class extends vr{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,s){super(e,t,n,null),this._match=new pr(r,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new gr,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},ol=class extends vr{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,s){super(e,t,n,r),this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new gr,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Yo=class extends vr{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,s,o,i,a,l,u){super(e,t,n,r),this._begin=new pr(s,this.id),this.beginCaptures=o,this._end=new pr(i||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=l||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.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(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new gr;for(const n of this.patterns)e.getRule(n).collectPatterns(e,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,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},hs=class extends vr{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,s,o,i,a,l){super(e,t,n,r),this._begin=new pr(s,this.id),this.beginCaptures=o,this.whileCaptures=a,this._while=new pr(i,nf),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.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(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new gr;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new gr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},rf=class Me{static createCaptureRule(t,n,r,s,o){return t.registerRule(i=>new u2(n,i,r,s,o))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(s=>{if(t.id=s,t.match)return new f2(t.$vscodeTextmateLocation,t.id,t.name,t.match,Me._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Vu({},r,t.repository));let o=t.patterns;return typeof o>"u"&&t.include&&(o=[{include:t.include}]),new ol(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Me._compilePatterns(o,n,r))}return t.while?new hs(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Me._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Me._compileCaptures(t.whileCaptures||t.captures,n,r),Me._compilePatterns(t.patterns,n,r)):new Yo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Me._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Me._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Me._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let s=[];if(t){let o=0;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);a>o&&(o=a)}for(let i=0;i<=o;i++)s[i]=null;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);let l=0;t[i].patterns&&(l=Me.getCompiledRuleId(t[i],n,r)),s[a]=Me.createCaptureRule(n,t[i].$vscodeTextmateLocation,t[i].name,t[i].contentName,l)}}return s}static _compilePatterns(t,n,r){let s=[];if(t)for(let o=0,i=t.length;o<i;o++){const a=t[o];let l=-1;if(a.include){const u=tf(a.include);switch(u.kind){case 0:case 1:l=Me.getCompiledRuleId(r[a.include],n,r);break;case 2:let c=r[u.ruleName];c&&(l=Me.getCompiledRuleId(c,n,r));break;case 3:case 4:const f=u.scopeName,h=u.kind===4?u.ruleName:null,d=n.getExternalGrammar(f,r);if(d)if(h){let p=d.repository[h];p&&(l=Me.getCompiledRuleId(p,n,d.repository))}else l=Me.getCompiledRuleId(d.repository.$self,n,d.repository);break}}else l=Me.getCompiledRuleId(a,n,r);if(l!==-1){const u=n.getRule(l);let c=!1;if((u instanceof ol||u instanceof Yo||u instanceof hs)&&u.hasMissingPatterns&&u.patterns.length===0&&(c=!0),c)continue;s.push(l)}}return{patterns:s,hasMissingPatterns:(t?t.length:0)!==s.length}}},pr=class sf{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t&&typeof t=="string"){const r=t.length;let s=0,o=[],i=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const u=t.charAt(a+1);u==="z"?(o.push(t.substring(s,a)),o.push("$(?!\\n)(?<!\\n)"),s=a+2):(u==="A"||u==="G")&&(i=!0),a++}this.hasAnchor=i,s===0?this.source=t:(o.push(t.substring(s,r)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=l2.test(this.source):this.hasBackReferences=!1}clone(){return new sf(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(s=>t.substring(s.start,s.end));return sl.lastIndex=0,this.source.replace(sl,(s,o)=>Yu(r[parseInt(o,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],r=[],s=[],o,i,a,l;for(o=0,i=this.source.length;o<i;o++)a=this.source.charAt(o),t[o]=a,n[o]=a,r[o]=a,s[o]=a,a==="\\"&&o+1<i&&(l=this.source.charAt(o+1),l==="A"?(t[o+1]="",n[o+1]="",r[o+1]="A",s[o+1]="A"):l==="G"?(t[o+1]="",n[o+1]="G",r[o+1]="",s[o+1]="G"):(t[o+1]=l,n[o+1]=l,r[o+1]=l,s[o+1]=l),o++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:s.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},gr=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){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(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new il(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(s=>s.resolveAnchors(t,n));return new il(e,r,this._items.map(s=>s.ruleId))}},il=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
|
|
4
|
+
`)&&(Tr(m,0)||dn(),m.textContent=w.children)}if(N){if(E||!G||te&48){const $=m.tagName.includes("-");for(const le in N)(E&&(le.endsWith("value")||le==="indeterminate")||br(le)&&!Qt(le)||le[0]==="."||$&&!Qt(le))&&r(m,le,null,N[le],void 0,y)}else if(N.onClick)r(m,"onClick",null,N.onClick,void 0,y);else if(te&4&&jt(N.style))for(const $ in N.style)N.style[$]}let B;(B=N&&N.onVnodeBeforeMount)&&Je(B,y,w),re&>(w,null,y,"beforeMount"),((B=N&&N.onVnodeMounted)||re||j)&&nu(()=>{B&&Je(B,y,w),j&&oe.enter(m),re&>(w,null,y,"mounted")},k)}return m.nextSibling},d=(m,w,y,k,M,G,z)=>{z=z||!!w.dynamicChildren;const N=w.children,te=N.length;for(let J=0;J<te;J++){const re=z?N[J]:N[J]=Xe(N[J]),oe=re.type===rn;m?(oe&&!z&&J+1<te&&Xe(N[J+1]).type===rn&&(l(s(m.data.slice(re.children.length)),y,o(m)),m.data=re.children),m=f(m,re,k,M,G,z)):oe&&!re.children?l(re.el=s(""),y):(Tr(y,1)||dn(),n(null,re,y,null,k,M,Rr(y),G))}return m},p=(m,w,y,k,M,G)=>{const{slotScopeIds:z}=w;z&&(M=M?M.concat(z):z);const N=i(m),te=d(o(m),w,N,y,k,M,G);return te&&_n(te)&&te.data==="]"?o(w.anchor=te):(dn(),l(w.anchor=u("]"),N,te),te)},g=(m,w,y,k,M,G)=>{if(Tr(m.parentElement,1)||dn(),w.el=null,G){const te=C(m);for(;;){const J=o(m);if(J&&J!==te)a(J);else break}}const z=o(m),N=i(m);return a(m),n(null,w,N,z,y,k,Rr(N),M),y&&(y.vnode.el=w.el,Ts(y,w.el)),z},C=(m,w="[",y="]")=>{let k=0;for(;m;)if(m=o(m),m&&_n(m)&&(m.data===w&&k++,m.data===y)){if(k===0)return o(m);k--}return m},_=(m,w,y)=>{const k=w.parentNode;k&&k.replaceChild(m,w);let M=y;for(;M;)M.vnode.el===w&&(M.vnode.el=M.subTree.el=m),M=M.parent},x=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[c,f]}const pa="data-allow-mismatch",ad={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Tr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(pa);)e=e.parentElement;const n=e&&e.getAttribute(pa);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(ad[t])}}xs().requestIdleCallback;xs().cancelIdleCallback;function ld(e,t){if(_n(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(_n(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const tn=e=>!!e.type.__asyncLoader;function ga(e){Y(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:i,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const h=()=>(f++,u=null,d()),d=()=>{let p;return u||(p=u=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),l)return new Promise((C,_)=>{l(g,()=>C(h()),()=>_(g),f+1)});throw g}).then(g=>p!==u&&u?u:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),c=g,g)))};return Mt({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(p,g,C){let _=!1;(g.bu||(g.bu=[])).push(()=>_=!0);const x=()=>{_||C()},m=o?()=>{const w=o(x,y=>ld(p,y));w&&(g.bum||(g.bum=[])).push(w)}:x;c?m():d().then(()=>!g.isUnmounted&&m())},get __asyncResolved(){return c},setup(){const p=Ae;if(ki(p),c)return()=>Pr(c,p);const g=m=>{u=null,Hn(m,p,13,!r)};if(a&&p.suspense||Bn)return d().then(m=>()=>Pr(m,p)).catch(m=>(g(m),()=>r?X(r,{error:m}):null));const C=$e(!1),_=$e(),x=$e(!!s);return s&&setTimeout(()=>{x.value=!1},s),i!=null&&setTimeout(()=>{if(!C.value&&!_.value){const m=new Error(`Async component timed out after ${i}ms.`);g(m),_.value=m}},i),d().then(()=>{C.value=!0,p.parent&&Ei(p.parent.vnode)&&p.parent.update()}).catch(m=>{g(m),_.value=m}),()=>{if(C.value&&c)return Pr(c,p);if(_.value&&r)return X(r,{error:_.value});if(n&&!x.value)return Pr(n,p)}}})}function Pr(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=X(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Ei=e=>e.type.__isKeepAlive;function Ec(e,t){Rc(e,"a",t)}function Ac(e,t){Rc(e,"da",t)}function Rc(e,t,n=Ae){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(As(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ei(s.parent.vnode)&&cd(r,t,n,s),s=s.parent}}function cd(e,t,n,r){const s=As(t,e,r,!0);Pc(()=>{di(r[t],s)},n)}function As(e,t,n=Ae,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Tt();const a=sn(n),l=bt(t,n,e,i);return a(),Pt(),l});return r?s.unshift(o):s.push(o),o}}const Lt=e=>(t,n=Ae)=>{(!Bn||e==="sp")&&As(e,(...r)=>t(...r),n)},ud=Lt("bm"),Tc=Lt("m"),fd=Lt("bu"),hd=Lt("u"),Ai=Lt("bum"),Pc=Lt("um"),dd=Lt("sp"),pd=Lt("rtg"),gd=Lt("rtc");function Mc(e,t=Ae){As("ec",e,t)}const Lc="components";function Ao(e,t){return Nc(Lc,e,!0,t)||e}const Ic=Symbol.for("v-ndc");function md(e){return ye(e)?Nc(Lc,e,!1)||e:e||Ic}function Nc(e,t,n=!0,r=!1){const s=Re||Ae;if(s){const o=s.type;{const a=rp(o,!1);if(a&&(a===t||a===nt(t)||a===Cs(nt(t))))return o}const i=ma(s[e]||o[e],t)||ma(s.appContext[e],t);return!i&&r?o:i}}function ma(e,t){return e&&(e[t]||e[nt(t)]||e[Cs(nt(t))])}function It(e,t,n,r){let s;const o=n,i=Z(e);if(i||ye(e)){const a=i&&jt(e);let l=!1,u=!1;a&&(l=!Ye(e),u=yt(e),e=ks(e)),s=new Array(e.length);for(let c=0,f=e.length;c<f;c++)s[c]=t(l?u?Mn(ct(e[c])):ct(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o)}else if(ue(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];s[l]=t(e[c],c,l,o)}}else s=[];return s}function Qr(e,t,n={},r,s){if(Re.ce||Re.parent&&tn(Re.parent)&&Re.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),H(),Qe(me,null,[X("slot",n,r&&r())],u?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),H();const i=o&&Oc(o(n)),a=n.key||i&&i.key,l=Qe(me,{key:(a&&!lt(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Oc(e){return e.some(t=>In(t)?!(t.type===rt||t.type===me&&!Oc(t.children)):!0)?e:null}const Ro=e=>e?lu(e)?Ps(e):Ro(e.parent):null,er=Te(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=>Ro(e.parent),$root:e=>Ro(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Fc(e),$forceUpdate:e=>e.f||(e.f=()=>{vi(e.update)}),$nextTick:e=>e.n||(e.n=_c.bind(e.proxy)),$watch:e=>ed.bind(e)}),Xs=(e,t)=>e!==he&&!e.__isScriptSetup&&ce(e,t),yd={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Xs(r,t))return i[t]=1,r[t];if(s!==he&&ce(s,t))return i[t]=2,s[t];if(ce(o,t))return i[t]=3,o[t];if(n!==he&&ce(n,t))return i[t]=4,n[t];To&&(i[t]=0)}}const u=er[t];let c,f;if(u)return t==="$attrs"&&Ie(e.attrs,"get",""),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==he&&ce(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,ce(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Xs(s,t)?(s[t]=n,!0):r!==he&&ce(r,t)?(r[t]=n,!0):ce(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:o,type:i}},a){let l;return!!(n[a]||e!==he&&a[0]!=="$"&&ce(e,a)||Xs(t,a)||ce(o,a)||ce(r,a)||ce(er,a)||ce(s.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ce(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ya(e){return Z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function ba(e){const t=On();let n=e();rs();const r=()=>{On()!==t&&t.scope.off(),rs()};return pi(n)&&(n=n.catch(s=>{throw sn(t),Promise.resolve().then(()=>Promise.resolve().then(r)),s})),[n,()=>{sn(t),Promise.resolve().then(r)}]}let To=!0;function bd(e){const t=Fc(e),n=e.proxy,r=e.ctx;To=!1,t.beforeCreate&&wa(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:d,updated:p,activated:g,deactivated:C,beforeDestroy:_,beforeUnmount:x,destroyed:m,unmounted:w,render:y,renderTracked:k,renderTriggered:M,errorCaptured:G,serverPrefetch:z,expose:N,inheritAttrs:te,components:J,directives:re,filters:oe}=t;if(u&&wd(u,r,null),i)for(const B in i){const $=i[B];Y($)&&(r[B]=$.bind(n))}if(s){const B=s.call(n,n);ue(B)&&(e.data=at(B))}if(To=!0,o)for(const B in o){const $=o[B],le=Y($)?$.bind(n,n):Y($.get)?$.get.bind(n,n):mt,un=!Y($)&&Y($.set)?$.set.bind(n):mt,$t=He({get:le,set:un});Object.defineProperty(r,B,{enumerable:!0,configurable:!0,get:()=>$t.value,set:ft=>$t.value=ft})}if(a)for(const B in a)Bc(a[B],r,n,B);if(l){const B=Y(l)?l.call(n):l;Reflect.ownKeys(B).forEach($=>{Sc($,B[$])})}c&&wa(c,e,"c");function j(B,$){Z($)?$.forEach(le=>B(le.bind(n))):$&&B($.bind(n))}if(j(ud,f),j(Tc,h),j(fd,d),j(hd,p),j(Ec,g),j(Ac,C),j(Mc,G),j(gd,k),j(pd,M),j(Ai,x),j(Pc,w),j(dd,z),Z(N))if(N.length){const B=e.exposed||(e.exposed={});N.forEach($=>{Object.defineProperty(B,$,{get:()=>n[$],set:le=>n[$]=le,enumerable:!0})})}else e.exposed||(e.exposed={});y&&e.render===mt&&(e.render=y),te!=null&&(e.inheritAttrs=te),J&&(e.components=J),re&&(e.directives=re),z&&ki(e)}function wd(e,t,n=mt){Z(e)&&(e=Po(e));for(const r in e){const s=e[r];let o;ue(s)?"default"in s?o=En(s.from||r,s.default,!0):o=En(s.from||r):o=En(s),we(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function wa(e,t,n){bt(Z(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Bc(e,t,n,r){let s=r.includes(".")?kc(n,r):()=>n[r];if(ye(e)){const o=t[e];Y(o)&&Ks(s,o)}else if(Y(e))Ks(s,e.bind(n));else if(ue(e))if(Z(e))e.forEach(o=>Bc(o,t,n,r));else{const o=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(o)&&Ks(s,o,e)}}function Fc(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>es(l,u,i,!0)),es(l,t,i)),ue(t)&&o.set(t,l),l}function es(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&es(e,o,n,!0),s&&s.forEach(i=>es(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=_d[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const _d={data:_a,props:va,emits:va,methods:Yn,computed:Yn,beforeCreate:Oe,created:Oe,beforeMount:Oe,mounted:Oe,beforeUpdate:Oe,updated:Oe,beforeDestroy:Oe,beforeUnmount:Oe,destroyed:Oe,unmounted:Oe,activated:Oe,deactivated:Oe,errorCaptured:Oe,serverPrefetch:Oe,components:Yn,directives:Yn,watch:Cd,provide:_a,inject:vd};function _a(e,t){return t?e?function(){return Te(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function vd(e,t){return Yn(Po(e),Po(t))}function Po(e){if(Z(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Oe(e,t){return e?[...new Set([].concat(e,t))]:t}function Yn(e,t){return e?Te(Object.create(null),e,t):t}function va(e,t){return e?Z(e)&&Z(t)?[...new Set([...e,...t])]:Te(Object.create(null),ya(e),ya(t??{})):t}function Cd(e,t){if(!e)return t;if(!t)return e;const n=Te(Object.create(null),e);for(const r in t)n[r]=Oe(e[r],t[r]);return n}function Dc(){return{app:null,config:{isNativeTag:Vl,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 xd=0;function Sd(e,t){return function(r,s=null){Y(r)||(r=Te({},r)),s!=null&&!ue(s)&&(s=null);const o=Dc(),i=new WeakSet,a=[];let l=!1;const u=o.app={_uid:xd++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:op,get config(){return o.config},set config(c){},use(c,...f){return i.has(c)||(c&&Y(c.install)?(i.add(c),c.install(u,...f)):Y(c)&&(i.add(c),c(u,...f))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,f){return f?(o.components[c]=f,u):o.components[c]},directive(c,f){return f?(o.directives[c]=f,u):o.directives[c]},mount(c,f,h){if(!l){const d=u._ceVNode||X(r,s);return d.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),f&&t?t(d,c):e(d,c,h),l=!0,u._container=c,c.__vue_app__=u,Ps(d.component)}},onUnmount(c){a.push(c)},unmount(){l&&(bt(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return o.provides[c]=f,u},runWithContext(c){const f=nn;nn=u;try{return c()}finally{nn=f}}};return u}}let nn=null;const kd=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${nt(t)}Modifiers`]||e[`${ln(t)}Modifiers`];function Ed(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||he;let s=n;const o=t.startsWith("update:"),i=o&&kd(r,t.slice(7));i&&(i.trim&&(s=n.map(c=>ye(c)?c.trim():c)),i.number&&(s=n.map(ah)));let a,l=r[a=$s(t)]||r[a=$s(nt(t))];!l&&o&&(l=r[a=$s(ln(t))]),l&&bt(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,bt(u,e,6,s)}}const Ad=new WeakMap;function Hc(e,t,n=!1){const r=n?Ad:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!Y(e)){const l=u=>{const c=Hc(u,t,!0);c&&(a=!0,Te(i,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(ue(e)&&r.set(e,null),null):(Z(o)?o.forEach(l=>i[l]=null):Te(i,o),ue(e)&&r.set(e,i),i)}function Rs(e,t){return!e||!br(t)?!1:(t=t.slice(2).replace(/Once$/,""),ce(e,t[0].toLowerCase()+t.slice(1))||ce(e,ln(t))||ce(e,t))}function Ys(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:u,renderCache:c,props:f,data:h,setupState:d,ctx:p,inheritAttrs:g}=e,C=Zr(e);let _,x;try{if(n.shapeFlag&4){const w=s||r,y=w;_=Xe(u.call(y,w,c,f,d,h,p)),x=a}else{const w=t;_=Xe(w.length>1?w(f,{attrs:a,slots:i,emit:l}):w(f,null)),x=t.props?a:Td(a)}}catch(w){nr.length=0,Hn(w,e,1),_=X(rt)}let m=_;if(x&&g!==!1){const w=Object.keys(x),{shapeFlag:y}=m;w.length&&y&7&&(o&&w.some(hi)&&(x=Pd(x,o)),m=Nn(m,x,!1,!0))}return n.dirs&&(m=Nn(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&Si(m,n.transition),_=m,Zr(C),_}function Rd(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(In(s)){if(s.type!==rt||s.children==="v-if"){if(n)return;n=s}}else return}return n}const Td=e=>{let t;for(const n in e)(n==="class"||n==="style"||br(n))&&((t||(t={}))[n]=e[n]);return t},Pd=(e,t)=>{const n={};for(const r in e)(!hi(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Md(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Ca(r,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(jc(i,r,h)&&!Rs(u,h))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Ca(r,i,u):!0:!!i;return!1}function Ca(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(jc(t,e,o)&&!Rs(n,o))return!0}return!1}function jc(e,t,n){const r=e[n],s=t[n];return n==="style"&&ue(r)&&ue(s)?!ir(r,s):r!==s}function Ts({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 Uc={},Gc=()=>Object.create(Uc),$c=e=>Object.getPrototypeOf(e)===Uc;function Ld(e,t,n,r=!1){const s={},o=Gc();e.propsDefaults=Object.create(null),zc(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:wn(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Id(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=ae(s),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let h=c[f];if(Rs(e.emitsOptions,h))continue;const d=t[h];if(l)if(ce(o,h))d!==o[h]&&(o[h]=d,u=!0);else{const p=nt(h);s[p]=Mo(l,a,p,d,e,!1)}else d!==o[h]&&(o[h]=d,u=!0)}}}else{zc(e,t,s,o)&&(u=!0);let c;for(const f in a)(!t||!ce(t,f)&&((c=ln(f))===f||!ce(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(s[f]=Mo(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!ce(t,f))&&(delete o[f],u=!0)}u&&kt(e.attrs,"set","")}function zc(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Qt(l))continue;const u=t[l];let c;s&&ce(s,c=nt(l))?!o||!o.includes(c)?n[c]=u:(a||(a={}))[c]=u:Rs(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(o){const l=ae(n),u=a||he;for(let c=0;c<o.length;c++){const f=o[c];n[f]=Mo(s,l,f,u[f],e,!ce(u,f))}}return i}function Mo(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=ce(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&Y(l)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const c=sn(s);r=u[n]=l.call(null,t),c()}}else r=l;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===ln(n))&&(r=!0))}return r}const Nd=new WeakMap;function Wc(e,t,n=!1){const r=n?Nd:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!Y(e)){const c=f=>{l=!0;const[h,d]=Wc(f,t,!0);Te(i,h),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return ue(e)&&r.set(e,xn),xn;if(Z(o))for(let c=0;c<o.length;c++){const f=nt(o[c]);xa(f)&&(i[f]=he)}else if(o)for(const c in o){const f=nt(c);if(xa(f)){const h=o[c],d=i[f]=Z(h)||Y(h)?{type:h}:Te({},h),p=d.type;let g=!1,C=!0;if(Z(p))for(let _=0;_<p.length;++_){const x=p[_],m=Y(x)&&x.name;if(m==="Boolean"){g=!0;break}else m==="String"&&(C=!1)}else g=Y(p)&&p.name==="Boolean";d[0]=g,d[1]=C,(g||ce(d,"default"))&&a.push(f)}}const u=[i,a];return ue(e)&&r.set(e,u),u}function xa(e){return e[0]!=="$"&&!Qt(e)}const Ri=e=>e==="_"||e==="_ctx"||e==="$stable",Ti=e=>Z(e)?e.map(Xe):[Xe(e)],Od=(e,t,n)=>{if(t._n)return t;const r=Fe((...s)=>Ti(t(...s)),n);return r._c=!1,r},Vc=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Ri(s))continue;const o=e[s];if(Y(o))t[s]=Od(s,o,r);else if(o!=null){const i=Ti(o);t[s]=()=>i}}},qc=(e,t)=>{const n=Ti(t);e.slots.default=()=>n},Kc=(e,t,n)=>{for(const r in t)(n||!Ri(r))&&(e[r]=t[r])},Bd=(e,t,n)=>{const r=e.slots=Gc();if(e.vnode.shapeFlag&32){const s=t._;s?(Kc(r,t,n),n&&Yl(r,"_",s,!0)):Vc(t,r)}else t&&qc(e,t)},Fd=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=he;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:Kc(s,t,n):(o=!t.$stable,Vc(t,s)),i=t}else t&&(qc(e,t),i={default:1});if(o)for(const a in s)!Ri(a)&&i[a]==null&&delete s[a]},De=nu;function Dd(e){return Xc(e)}function Hd(e){return Xc(e,id)}function Xc(e,t){const n=xs();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:d=mt,insertStaticContent:p}=e,g=(b,v,S,P=null,A=null,R=null,D=void 0,F=null,O=!!v.dynamicChildren)=>{if(b===v)return;b&&!Dt(b,v)&&(P=Sr(b),ft(b,A,R,!0),b=null),v.patchFlag===-2&&(O=!1,v.dynamicChildren=null);const{type:T,ref:K,shapeFlag:U}=v;switch(T){case rn:C(b,v,S,P);break;case rt:_(b,v,S,P);break;case tr:b==null&&x(v,S,P,D);break;case me:J(b,v,S,P,A,R,D,F,O);break;default:U&1?y(b,v,S,P,A,R,D,F,O):U&6?re(b,v,S,P,A,R,D,F,O):(U&64||U&128)&&T.process(b,v,S,P,A,R,D,F,O,fn)}K!=null&&A?An(K,b&&b.ref,R,v||b,!v):K==null&&b&&b.ref!=null&&An(b.ref,null,R,b,!0)},C=(b,v,S,P)=>{if(b==null)r(v.el=a(v.children),S,P);else{const A=v.el=b.el;v.children!==b.children&&u(A,v.children)}},_=(b,v,S,P)=>{b==null?r(v.el=l(v.children||""),S,P):v.el=b.el},x=(b,v,S,P)=>{[b.el,b.anchor]=p(b.children,v,S,P,b.el,b.anchor)},m=({el:b,anchor:v},S,P)=>{let A;for(;b&&b!==v;)A=h(b),r(b,S,P),b=A;r(v,S,P)},w=({el:b,anchor:v})=>{let S;for(;b&&b!==v;)S=h(b),s(b),b=S;s(v)},y=(b,v,S,P,A,R,D,F,O)=>{if(v.type==="svg"?D="svg":v.type==="math"&&(D="mathml"),b==null)k(v,S,P,A,R,D,F,O);else{const T=b.el&&b.el._isVueCE?b.el:null;try{T&&T._beginPatch(),z(b,v,A,R,D,F,O)}finally{T&&T._endPatch()}}},k=(b,v,S,P,A,R,D,F)=>{let O,T;const{props:K,shapeFlag:U,transition:V,dirs:Q}=b;if(O=b.el=i(b.type,R,K&&K.is,K),U&8?c(O,b.children):U&16&&G(b.children,O,null,P,A,Zs(b,R),D,F),Q&>(b,null,P,"created"),M(O,b,b.scopeId,D,P),K){for(const de in K)de!=="value"&&!Qt(de)&&o(O,de,null,K[de],R,P);"value"in K&&o(O,"value",null,K.value,R),(T=K.onVnodeBeforeMount)&&Je(T,P,b)}Q&>(b,null,P,"beforeMount");const se=Yc(A,V);se&&V.beforeEnter(O),r(O,v,S),((T=K&&K.onVnodeMounted)||se||Q)&&De(()=>{T&&Je(T,P,b),se&&V.enter(O),Q&>(b,null,P,"mounted")},A)},M=(b,v,S,P,A)=>{if(S&&d(b,S),P)for(let R=0;R<P.length;R++)d(b,P[R]);if(A){let R=A.subTree;if(v===R||eu(R.type)&&(R.ssContent===v||R.ssFallback===v)){const D=A.vnode;M(b,D,D.scopeId,D.slotScopeIds,A.parent)}}},G=(b,v,S,P,A,R,D,F,O=0)=>{for(let T=O;T<b.length;T++){const K=b[T]=F?St(b[T]):Xe(b[T]);g(null,K,v,S,P,A,R,D,F)}},z=(b,v,S,P,A,R,D)=>{const F=v.el=b.el;let{patchFlag:O,dynamicChildren:T,dirs:K}=v;O|=b.patchFlag&16;const U=b.props||he,V=v.props||he;let Q;if(S&&zt(S,!1),(Q=V.onVnodeBeforeUpdate)&&Je(Q,S,v,b),K&>(v,b,S,"beforeUpdate"),S&&zt(S,!0),(U.innerHTML&&V.innerHTML==null||U.textContent&&V.textContent==null)&&c(F,""),T?N(b.dynamicChildren,T,F,S,P,Zs(v,A),R):D||$(b,v,F,null,S,P,Zs(v,A),R,!1),O>0){if(O&16)te(F,U,V,S,A);else if(O&2&&U.class!==V.class&&o(F,"class",null,V.class,A),O&4&&o(F,"style",U.style,V.style,A),O&8){const se=v.dynamicProps;for(let de=0;de<se.length;de++){const fe=se[de],Ue=U[fe],Pe=V[fe];(Pe!==Ue||fe==="value")&&o(F,fe,Ue,Pe,A,S)}}O&1&&b.children!==v.children&&c(F,v.children)}else!D&&T==null&&te(F,U,V,S,A);((Q=V.onVnodeUpdated)||K)&&De(()=>{Q&&Je(Q,S,v,b),K&>(v,b,S,"updated")},P)},N=(b,v,S,P,A,R,D)=>{for(let F=0;F<v.length;F++){const O=b[F],T=v[F],K=O.el&&(O.type===me||!Dt(O,T)||O.shapeFlag&198)?f(O.el):S;g(O,T,K,null,P,A,R,D,!0)}},te=(b,v,S,P,A)=>{if(v!==S){if(v!==he)for(const R in v)!Qt(R)&&!(R in S)&&o(b,R,v[R],null,A,P);for(const R in S){if(Qt(R))continue;const D=S[R],F=v[R];D!==F&&R!=="value"&&o(b,R,F,D,A,P)}"value"in S&&o(b,"value",v.value,S.value,A)}},J=(b,v,S,P,A,R,D,F,O)=>{const T=v.el=b?b.el:a(""),K=v.anchor=b?b.anchor:a("");let{patchFlag:U,dynamicChildren:V,slotScopeIds:Q}=v;Q&&(F=F?F.concat(Q):Q),b==null?(r(T,S,P),r(K,S,P),G(v.children||[],S,K,A,R,D,F,O)):U>0&&U&64&&V&&b.dynamicChildren&&b.dynamicChildren.length===V.length?(N(b.dynamicChildren,V,S,A,R,D,F),(v.key!=null||A&&v===A.subTree)&&Zc(b,v,!0)):$(b,v,S,K,A,R,D,F,O)},re=(b,v,S,P,A,R,D,F,O)=>{v.slotScopeIds=F,b==null?v.shapeFlag&512?A.ctx.activate(v,S,P,D,O):oe(v,S,P,A,R,D,O):E(b,v,O)},oe=(b,v,S,P,A,R,D)=>{const F=b.component=Jd(b,P,A);if(Ei(b)&&(F.ctx.renderer=fn),Qd(F,!1,D),F.asyncDep){if(A&&A.registerDep(F,j,D),!b.el){const O=F.subTree=X(rt);_(null,O,v,S),b.placeholder=O.el}}else j(F,b,v,S,A,R,D)},E=(b,v,S)=>{const P=v.component=b.component;if(Md(b,v,S))if(P.asyncDep&&!P.asyncResolved){B(P,v,S);return}else P.next=v,P.update();else v.el=b.el,P.vnode=v},j=(b,v,S,P,A,R,D)=>{const F=()=>{if(b.isMounted){let{next:U,bu:V,u:Q,parent:se,vnode:de}=b;{const Ve=Jc(b);if(Ve){U&&(U.el=de.el,B(b,U,D)),Ve.asyncDep.then(()=>{De(()=>{b.isUnmounted||T()},A)});return}}let fe=U,Ue;zt(b,!1),U?(U.el=de.el,B(b,U,D)):U=de,V&&jr(V),(Ue=U.props&&U.props.onVnodeBeforeUpdate)&&Je(Ue,se,U,de),zt(b,!0);const Pe=Ys(b),st=b.subTree;b.subTree=Pe,g(st,Pe,f(st.el),Sr(st),b,A,R),U.el=Pe.el,fe===null&&Ts(b,Pe.el),Q&&De(Q,A),(Ue=U.props&&U.props.onVnodeUpdated)&&De(()=>Je(Ue,se,U,de),A)}else{let U;const{el:V,props:Q}=v,{bm:se,m:de,parent:fe,root:Ue,type:Pe}=b,st=tn(v);if(zt(b,!1),se&&jr(se),!st&&(U=Q&&Q.onVnodeBeforeMount)&&Je(U,fe,v),zt(b,!0),V&&Gs){const Ve=()=>{b.subTree=Ys(b),Gs(V,b.subTree,b,A,null)};st&&Pe.__asyncHydrate?Pe.__asyncHydrate(V,b,Ve):Ve()}else{Ue.ce&&Ue.ce._hasShadowRoot()&&Ue.ce._injectChildStyle(Pe);const Ve=b.subTree=Ys(b);g(null,Ve,S,P,b,A,R),v.el=Ve.el}if(de&&De(de,A),!st&&(U=Q&&Q.onVnodeMounted)){const Ve=v;De(()=>Je(U,fe,Ve),A)}(v.shapeFlag&256||fe&&tn(fe.vnode)&&fe.vnode.shapeFlag&256)&&b.a&&De(b.a,A),b.isMounted=!0,v=S=P=null}};b.scope.on();const O=b.effect=new nc(F);b.scope.off();const T=b.update=O.run.bind(O),K=b.job=O.runIfDirty.bind(O);K.i=b,K.id=b.uid,O.scheduler=()=>vi(K),zt(b,!0),T()},B=(b,v,S)=>{v.component=b;const P=b.vnode.props;b.vnode=v,b.next=null,Id(b,v.props,P,S),Fd(b,v.children,S),Tt(),ua(b),Pt()},$=(b,v,S,P,A,R,D,F,O=!1)=>{const T=b&&b.children,K=b?b.shapeFlag:0,U=v.children,{patchFlag:V,shapeFlag:Q}=v;if(V>0){if(V&128){un(T,U,S,P,A,R,D,F,O);return}else if(V&256){le(T,U,S,P,A,R,D,F,O);return}}Q&8?(K&16&&zn(T,A,R),U!==T&&c(S,U)):K&16?Q&16?un(T,U,S,P,A,R,D,F,O):zn(T,A,R,!0):(K&8&&c(S,""),Q&16&&G(U,S,P,A,R,D,F,O))},le=(b,v,S,P,A,R,D,F,O)=>{b=b||xn,v=v||xn;const T=b.length,K=v.length,U=Math.min(T,K);let V;for(V=0;V<U;V++){const Q=v[V]=O?St(v[V]):Xe(v[V]);g(b[V],Q,S,null,A,R,D,F,O)}T>K?zn(b,A,R,!0,!1,U):G(v,S,P,A,R,D,F,O,U)},un=(b,v,S,P,A,R,D,F,O)=>{let T=0;const K=v.length;let U=b.length-1,V=K-1;for(;T<=U&&T<=V;){const Q=b[T],se=v[T]=O?St(v[T]):Xe(v[T]);if(Dt(Q,se))g(Q,se,S,null,A,R,D,F,O);else break;T++}for(;T<=U&&T<=V;){const Q=b[U],se=v[V]=O?St(v[V]):Xe(v[V]);if(Dt(Q,se))g(Q,se,S,null,A,R,D,F,O);else break;U--,V--}if(T>U){if(T<=V){const Q=V+1,se=Q<K?v[Q].el:P;for(;T<=V;)g(null,v[T]=O?St(v[T]):Xe(v[T]),S,se,A,R,D,F,O),T++}}else if(T>V)for(;T<=U;)ft(b[T],A,R,!0),T++;else{const Q=T,se=T,de=new Map;for(T=se;T<=V;T++){const qe=v[T]=O?St(v[T]):Xe(v[T]);qe.key!=null&&de.set(qe.key,T)}let fe,Ue=0;const Pe=V-se+1;let st=!1,Ve=0;const Wn=new Array(Pe);for(T=0;T<Pe;T++)Wn[T]=0;for(T=Q;T<=U;T++){const qe=b[T];if(Ue>=Pe){ft(qe,A,R,!0);continue}let ht;if(qe.key!=null)ht=de.get(qe.key);else for(fe=se;fe<=V;fe++)if(Wn[fe-se]===0&&Dt(qe,v[fe])){ht=fe;break}ht===void 0?ft(qe,A,R,!0):(Wn[ht-se]=T+1,ht>=Ve?Ve=ht:st=!0,g(qe,v[ht],S,null,A,R,D,F,O),Ue++)}const ra=st?jd(Wn):xn;for(fe=ra.length-1,T=Pe-1;T>=0;T--){const qe=se+T,ht=v[qe],sa=v[qe+1],oa=qe+1<K?sa.el||Qc(sa):P;Wn[T]===0?g(null,ht,S,oa,A,R,D,F,O):st&&(fe<0||T!==ra[fe]?$t(ht,S,oa,2):fe--)}}},$t=(b,v,S,P,A=null)=>{const{el:R,type:D,transition:F,children:O,shapeFlag:T}=b;if(T&6){$t(b.component.subTree,v,S,P);return}if(T&128){b.suspense.move(v,S,P);return}if(T&64){D.move(b,v,S,fn);return}if(D===me){r(R,v,S);for(let U=0;U<O.length;U++)$t(O[U],v,S,P);r(b.anchor,v,S);return}if(D===tr){m(b,v,S);return}if(P!==2&&T&1&&F)if(P===0)F.beforeEnter(R),r(R,v,S),De(()=>F.enter(R),A);else{const{leave:U,delayLeave:V,afterLeave:Q}=F,se=()=>{b.ctx.isUnmounted?s(R):r(R,v,S)},de=()=>{R._isLeaving&&R[rd](!0),U(R,()=>{se(),Q&&Q()})};V?V(R,se,de):de()}else r(R,v,S)},ft=(b,v,S,P=!1,A=!1)=>{const{type:R,props:D,ref:F,children:O,dynamicChildren:T,shapeFlag:K,patchFlag:U,dirs:V,cacheIndex:Q}=b;if(U===-2&&(A=!1),F!=null&&(Tt(),An(F,null,S,b,!0),Pt()),Q!=null&&(v.renderCache[Q]=void 0),K&256){v.ctx.deactivate(b);return}const se=K&1&&V,de=!tn(b);let fe;if(de&&(fe=D&&D.onVnodeBeforeUnmount)&&Je(fe,v,b),K&6)nh(b.component,S,P);else{if(K&128){b.suspense.unmount(S,P);return}se&>(b,null,v,"beforeUnmount"),K&64?b.type.remove(b,v,S,fn,P):T&&!T.hasOnce&&(R!==me||U>0&&U&64)?zn(T,v,S,!1,!0):(R===me&&U&384||!A&&K&16)&&zn(O,v,S),P&&ta(b)}(de&&(fe=D&&D.onVnodeUnmounted)||se)&&De(()=>{fe&&Je(fe,v,b),se&>(b,null,v,"unmounted")},S)},ta=b=>{const{type:v,el:S,anchor:P,transition:A}=b;if(v===me){th(S,P);return}if(v===tr){w(b);return}const R=()=>{s(S),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(b.shapeFlag&1&&A&&!A.persisted){const{leave:D,delayLeave:F}=A,O=()=>D(S,R);F?F(b.el,R,O):O()}else R()},th=(b,v)=>{let S;for(;b!==v;)S=h(b),s(b),b=S;s(v)},nh=(b,v,S)=>{const{bum:P,scope:A,job:R,subTree:D,um:F,m:O,a:T}=b;Sa(O),Sa(T),P&&jr(P),A.stop(),R&&(R.flags|=8,ft(D,b,v,S)),F&&De(F,v),De(()=>{b.isUnmounted=!0},v)},zn=(b,v,S,P=!1,A=!1,R=0)=>{for(let D=R;D<b.length;D++)ft(b[D],v,S,P,A)},Sr=b=>{if(b.shapeFlag&6)return Sr(b.component.subTree);if(b.shapeFlag&128)return b.suspense.next();const v=h(b.anchor||b.el),S=v&&v[td];return S?h(S):v};let js=!1;const na=(b,v,S)=>{let P;b==null?v._vnode&&(ft(v._vnode,null,null,!0),P=v._vnode.component):g(v._vnode||null,b,v,null,null,null,S),v._vnode=b,js||(js=!0,ua(P),Yr(),js=!1)},fn={p:g,um:ft,m:$t,r:ta,mt:oe,mc:G,pc:$,pbc:N,n:Sr,o:e};let Us,Gs;return t&&([Us,Gs]=t(fn)),{render:na,hydrate:Us,createApp:Sd(na,Us)}}function Zs({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 zt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Yc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Zc(e,t,n=!1){const r=e.children,s=t.children;if(Z(r)&&Z(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=St(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&Zc(i,a)),a.type===rn&&(a.patchFlag===-1&&(a=s[o]=St(a)),a.el=i.el),a.type===rt&&!a.el&&(a.el=i.el)}}function jd(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<u?o=a+1:i=a;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Jc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Jc(t)}function Sa(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Qc(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Qc(t.subTree):null}const eu=e=>e.__isSuspense;let Lo=0;const Ud={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,u){if(e==null)$d(t,n,r,s,o,i,a,l,u);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}zd(e,t,n,r,s,i,a,l,u)}},hydrate:Wd,normalize:Vd},Gd=Ud;function ur(e,t){const n=e.props&&e.props[t];Y(n)&&n()}function $d(e,t,n,r,s,o,i,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),h=e.suspense=tu(e,s,r,t,f,n,o,i,a,l);u(null,h.pendingBranch=e.ssContent,f,null,r,h,o,i),h.deps>0?(ur(e,"onPending"),ur(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,i),Rn(h,e.ssFallback)):h.resolve(!1,!0)}function zd(e,t,n,r,s,o,i,a,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const h=t.ssContent,d=t.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:C,isHydrating:_}=f;if(g)f.pendingBranch=h,Dt(g,h)?(l(g,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():C&&(_||(l(p,d,n,r,s,null,o,i,a),Rn(f,d)))):(f.pendingId=Lo++,_?(f.isHydrating=!1,f.activeBranch=g):u(g,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),C?(l(null,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(p,d,n,r,s,null,o,i,a),Rn(f,d))):p&&Dt(p,h)?(l(p,h,n,r,s,f,o,i,a),f.resolve(!0)):(l(null,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(p&&Dt(p,h))l(p,h,n,r,s,f,o,i,a),Rn(f,h);else if(ur(t,"onPending"),f.pendingBranch=h,h.shapeFlag&512?f.pendingId=h.component.suspenseId:f.pendingId=Lo++,l(null,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:x,pendingId:m}=f;x>0?setTimeout(()=>{f.pendingId===m&&f.fallback(d)},x):x===0&&f.fallback(d)}}function tu(e,t,n,r,s,o,i,a,l,u,c=!1){const{p:f,m:h,um:d,n:p,o:{parentNode:g,remove:C}}=u;let _;const x=qd(e);x&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);const m=e.props?lh(e.props.timeout):void 0,w=o,y={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:Lo++,timeout:typeof m=="number"?m:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(k=!1,M=!1){const{vnode:G,activeBranch:z,pendingBranch:N,pendingId:te,effects:J,parentComponent:re,container:oe,isInFallback:E}=y;let j=!1;y.isHydrating?y.isHydrating=!1:k||(j=z&&N.transition&&N.transition.mode==="out-in",j&&(z.transition.afterLeave=()=>{te===y.pendingId&&(h(N,oe,o===w?p(z):o,0),Eo(J),E&&G.ssFallback&&(G.ssFallback.el=null))}),z&&(g(z.el)===oe&&(o=p(z)),d(z,re,y,!0),!j&&E&&G.ssFallback&&De(()=>G.ssFallback.el=null,y)),j||h(N,oe,o,0)),Rn(y,N),y.pendingBranch=null,y.isInFallback=!1;let B=y.parent,$=!1;for(;B;){if(B.pendingBranch){B.effects.push(...J),$=!0;break}B=B.parent}!$&&!j&&Eo(J),y.effects=[],x&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!M&&t.resolve()),ur(G,"onResolve")},fallback(k){if(!y.pendingBranch)return;const{vnode:M,activeBranch:G,parentComponent:z,container:N,namespace:te}=y;ur(M,"onFallback");const J=p(G),re=()=>{y.isInFallback&&(f(null,k,N,J,z,null,te,a,l),Rn(y,k))},oe=k.transition&&k.transition.mode==="out-in";oe&&(G.transition.afterLeave=re),y.isInFallback=!0,d(G,z,null,!0),oe||re()},move(k,M,G){y.activeBranch&&h(y.activeBranch,k,M,G),y.container=k},next(){return y.activeBranch&&p(y.activeBranch)},registerDep(k,M,G){const z=!!y.pendingBranch;z&&y.deps++;const N=k.vnode.el;k.asyncDep.catch(te=>{Hn(te,k,0)}).then(te=>{if(k.isUnmounted||y.isUnmounted||y.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:J}=k;No(k,te),N&&(J.el=N);const re=!N&&k.subTree.el;M(k,J,g(N||k.subTree.el),N?null:p(k.subTree),y,i,G),re&&(J.placeholder=null,C(re)),Ts(k,J.el),z&&--y.deps===0&&y.resolve()})},unmount(k,M){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,n,k,M),y.pendingBranch&&d(y.pendingBranch,n,k,M)}};return y}function Wd(e,t,n,r,s,o,i,a,l){const u=t.suspense=tu(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,o,i);return u.deps===0&&u.resolve(!1,!0),c}function Vd(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=ka(r?n.default:n),e.ssFallback=r?ka(n.fallback):X(rt)}function ka(e){let t;if(Y(e)){const n=Ln&&e._c;n&&(e._d=!1,H()),e=e(),n&&(e._d=!0,t=ze,ru())}return Z(e)&&(e=Rd(e)),e=Xe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function nu(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):Eo(e)}function Rn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,Ts(r,s))}function qd(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const me=Symbol.for("v-fgt"),rn=Symbol.for("v-txt"),rt=Symbol.for("v-cmt"),tr=Symbol.for("v-stc"),nr=[];let ze=null;function H(e=!1){nr.push(ze=e?null:[])}function ru(){nr.pop(),ze=nr[nr.length-1]||null}let Ln=1;function ts(e,t=!1){Ln+=e,e<0&&ze&&t&&(ze.hasOnce=!0)}function su(e){return e.dynamicChildren=Ln>0?ze||xn:null,ru(),Ln>0&&ze&&ze.push(e),e}function W(e,t,n,r,s,o){return su(L(e,t,n,r,s,o,!0))}function Qe(e,t,n,r,s){return su(X(e,t,n,r,s,!0))}function In(e){return e?e.__v_isVNode===!0:!1}function Dt(e,t){return e.type===t.type&&e.key===t.key}const ou=({key:e})=>e??null,Ur=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ye(e)||we(e)||Y(e)?{i:Re,r:e,k:t,f:!!n}:e:null);function L(e,t=null,n=null,r=0,s=null,o=e===me?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ou(t),ref:t&&Ur(t),scopeId:xc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Re};return a?(Pi(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=ye(n)?8:16),Ln>0&&!i&&ze&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&ze.push(l),l}const X=Kd;function Kd(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Ic)&&(e=rt),In(e)){const a=Nn(e,t,!0);return n&&Pi(a,n),Ln>0&&!o&&ze&&(a.shapeFlag&6?ze[ze.indexOf(e)]=a:ze.push(a)),a.patchFlag=-2,a}if(sp(e)&&(e=e.__vccOpts),t){t=iu(t);let{class:a,style:l}=t;a&&!ye(a)&&(t.class=Le(a)),ue(l)&&(Es(l)&&!Z(l)&&(l=Te({},l)),t.style=Ss(l))}const i=ye(e)?1:eu(e)?128:nd(e)?64:ue(e)?4:Y(e)?2:0;return L(e,t,n,r,s,i,o,!0)}function iu(e){return e?Es(e)||$c(e)?Te({},e):e:null}function Nn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,u=t?au(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&ou(u),ref:t&&t.ref?n&&o?Z(o)?o.concat(Ur(t)):[o,Ur(t)]:Ur(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==me?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Nn(e.ssContent),ssFallback:e.ssFallback&&Nn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Si(c,l.clone(c)),c}function _e(e=" ",t=0){return X(rn,null,e,t)}function Xd(e,t){const n=X(tr,null,e);return n.staticCount=t,n}function Be(e="",t=!1){return t?(H(),Qe(rt,null,e)):X(rt,null,e)}function Xe(e){return e==null||typeof e=="boolean"?X(rt):Z(e)?X(me,null,e.slice()):In(e)?St(e):X(rn,null,String(e))}function St(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Nn(e)}function Pi(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Z(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Pi(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!$c(t)?t._ctx=Re:s===3&&Re&&(Re.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Y(t)?(t={default:t,_ctx:Re},n=32):(t=String(t),r&64?(n=16,t=[_e(t)]):n=8);e.children=t,e.shapeFlag|=n}function au(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Le([t.class,r.class]));else if(s==="style")t.style=Ss([t.style,r.style]);else if(br(s)){const o=t[s],i=r[s];i&&o!==i&&!(Z(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function Je(e,t,n,r=null){bt(e,t,7,[n,r])}const Yd=Dc();let Zd=0;function Jd(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Yd,o={uid:Zd++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ec(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Wc(r,s),emitsOptions:Hc(r,s),emit:null,emitted:null,propsDefaults:he,inheritAttrs:r.inheritAttrs,ctx:he,data:he,props:he,attrs:he,slots:he,refs:he,setupState:he,setupContext: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 o.ctx={_:o},o.root=t?t.root:o,o.emit=Ed.bind(null,o),e.ce&&e.ce(o),o}let Ae=null;const On=()=>Ae||Re;let ns,Io;{const e=xs(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};ns=t("__VUE_INSTANCE_SETTERS__",n=>Ae=n),Io=t("__VUE_SSR_SETTERS__",n=>Bn=n)}const sn=e=>{const t=Ae;return ns(e),e.scope.on(),()=>{e.scope.off(),ns(t)}},rs=()=>{Ae&&Ae.scope.off(),ns(null)};function lu(e){return e.vnode.shapeFlag&4}let Bn=!1;function Qd(e,t=!1,n=!1){t&&Io(t);const{props:r,children:s}=e.vnode,o=lu(e);Ld(e,r,o,t),Bd(e,s,n||t);const i=o?ep(e,t):void 0;return t&&Io(!1),i}function ep(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,yd);const{setup:r}=n;if(r){Tt();const s=e.setupContext=r.length>1?np(e):null,o=sn(e),i=_r(r,e,0,[e.props,s]),a=pi(i);if(Pt(),o(),(a||e.sp)&&!tn(e)&&ki(e),a){if(i.then(rs,rs),t)return i.then(l=>{No(e,l)}).catch(l=>{Hn(l,e,0)});e.asyncDep=i}else No(e,i)}else cu(e)}function No(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ue(t)&&(e.setupState=bc(t)),cu(e)}function cu(e,t,n){const r=e.type;e.render||(e.render=r.render||mt);{const s=sn(e);Tt();try{bd(e)}finally{Pt(),s()}}}const tp={get(e,t){return Ie(e,"get",""),e[t]}};function np(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,tp),slots:e.slots,emit:e.emit,expose:t}}function Ps(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(bc(Fh(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in er)return er[n](e)},has(t,n){return n in t||n in er}})):e.proxy}function rp(e,t=!0){return Y(e)?e.displayName||e.name:e.name||t&&e.__name}function sp(e){return Y(e)&&"__vccOpts"in e}const He=(e,t)=>Wh(e,t,Bn);function fr(e,t,n){try{ts(-1);const r=arguments.length;return r===2?ue(t)&&!Z(t)?In(t)?X(e,null,[t]):X(e,t):X(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&In(n)&&(n=[n]),X(e,t,n))}finally{ts(1)}}const op="3.5.29";let Oo;const Ea=typeof window<"u"&&window.trustedTypes;if(Ea)try{Oo=Ea.createPolicy("vue",{createHTML:e=>e})}catch{}const uu=Oo?e=>Oo.createHTML(e):e=>e,ip="http://www.w3.org/2000/svg",ap="http://www.w3.org/1998/Math/MathML",xt=typeof document<"u"?document:null,Aa=xt&&xt.createElement("template"),lp={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 s=t==="svg"?xt.createElementNS(ip,e):t==="mathml"?xt.createElementNS(ap,e):n?xt.createElement(e,{is:n}):xt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>xt.createTextNode(e),createComment:e=>xt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>xt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Aa.innerHTML=uu(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Aa.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},cp=Symbol("_vtc");function up(e,t,n){const r=e[cp];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ra=Symbol("_vod"),fp=Symbol("_vsh"),hp=Symbol(""),dp=/(?:^|;)\s*display\s*:/;function pp(e,t,n){const r=e.style,s=ye(n);let o=!1;if(n&&!s){if(t)if(ye(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Gr(r,a,"")}else for(const i in t)n[i]==null&&Gr(r,i,"");for(const i in n)i==="display"&&(o=!0),Gr(r,i,n[i])}else if(s){if(t!==n){const i=r[hp];i&&(n+=";"+i),r.cssText=n,o=dp.test(n)}}else t&&e.removeAttribute("style");Ra in e&&(e[Ra]=o?r.display:"",e[fp]&&(r.display="none"))}const Ta=/\s*!important$/;function Gr(e,t,n){if(Z(n))n.forEach(r=>Gr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=gp(e,t);Ta.test(n)?e.setProperty(ln(r),n.replace(Ta,""),"important"):e[r]=n}}const Pa=["Webkit","Moz","ms"],Js={};function gp(e,t){const n=Js[t];if(n)return n;let r=nt(t);if(r!=="filter"&&r in e)return Js[t]=r;r=Cs(r);for(let s=0;s<Pa.length;s++){const o=Pa[s]+r;if(o in e)return Js[t]=o}return t}const Ma="http://www.w3.org/1999/xlink";function La(e,t,n,r,s,o=gh(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ma,t.slice(6,t.length)):e.setAttributeNS(Ma,t,n):n==null||o&&!Zl(n)?e.removeAttribute(t):e.setAttribute(t,o?"":lt(n)?String(n):n)}function Ia(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?uu(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Zl(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function fu(e,t,n,r){e.addEventListener(t,n,r)}function mp(e,t,n,r){e.removeEventListener(t,n,r)}const Na=Symbol("_vei");function yp(e,t,n,r,s=null){const o=e[Na]||(e[Na]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=bp(t);if(r){const u=o[t]=vp(r,s);fu(e,a,u,l)}else i&&(mp(e,a,i,l),o[t]=void 0)}}const Oa=/(?:Once|Passive|Capture)$/;function bp(e){let t;if(Oa.test(e)){t={};let r;for(;r=e.match(Oa);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ln(e.slice(2)),t]}let Qs=0;const wp=Promise.resolve(),_p=()=>Qs||(wp.then(()=>Qs=0),Qs=Date.now());function vp(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;bt(Cp(r,n.value),t,5,[r])};return n.value=e,n.attached=_p(),n}function Cp(e,t){if(Z(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Ba=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,xp=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?up(e,r,i):t==="style"?pp(e,n,r):br(t)?hi(t)||yp(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Sp(e,t,r,i))?(Ia(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&La(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ye(r))?Ia(e,nt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),La(e,t,r,i))};function Sp(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ba(t)&&Y(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Ba(t)&&ye(n)?!1:t in e}const Fa=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Z(t)?n=>jr(t,n):t},eo=Symbol("_assign"),kp={created(e,{value:t},n){e.checked=ir(t,n.props.value),e[eo]=Fa(n),fu(e,"change",()=>{e[eo](Ep(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[eo]=Fa(r),t!==n&&(e.checked=ir(t,r.props.value))}};function Ep(e){return"_value"in e?e._value:e.value}const hu=Te({patchProp:xp},lp);let rr,Da=!1;function Ap(){return rr||(rr=Dd(hu))}function Rp(){return rr=Da?rr:Hd(hu),Da=!0,rr}const Tp=((...e)=>{const t=Ap().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=pu(r);if(!s)return;const o=t._component;!Y(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,du(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t}),Pp=((...e)=>{const t=Rp().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=pu(r);if(s)return n(s,!0,du(s))},t});function du(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function pu(e){return ye(e)?document.querySelector(e):e}const Mp=/"(?:_|\\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*:/,Lp=/"(?: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*:/,Ip=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Np(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Op(e);return}return t}function Op(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function ss(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Ip.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Mp.test(e)||Lp.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Np)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const gu=/#/g,mu=/&/g,Bp=/\//g,Fp=/=/g,Dp=/\?/g,Ms=/\+/g,Hp=/%5e/gi,jp=/%60/gi,Up=/%7c/gi,Gp=/%20/gi,$p=/%2f/gi,zp=/%252f/gi;function yu(e){return encodeURI(""+e).replace(Up,"|")}function Bo(e){return yu(typeof e=="string"?e:JSON.stringify(e)).replace(Ms,"%2B").replace(Gp,"+").replace(gu,"%23").replace(mu,"%26").replace(jp,"`").replace(Hp,"^").replace(Bp,"%2F")}function to(e){return Bo(e).replace(Fp,"%3D")}function Wp(e){return yu(e).replace(gu,"%23").replace(Dp,"%3F").replace(zp,"%2F").replace(mu,"%26").replace(Ms,"%2B")}function hr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Vp(e){return hr(e.replace($p,"%252F"))}function qp(e){return hr(e.replace(Ms," "))}function Kp(e){return hr(e.replace(Ms," "))}function Ls(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=qp(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=Kp(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function Xp(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${to(e)}=${Bo(n)}`).join("&"):`${to(e)}=${Bo(t)}`:to(e)}function bu(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Xp(t,e[t])).filter(Boolean).join("&")}const Yp=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Zp=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Jp=/^([/\\]\s*){2,}[^/\\]/,Qp=/^[\s\0]*(blob|data|javascript|vbscript):$/i,e1=/\/$|\/\?|\/#/,t1=/^\.?\//;function n1(e){return["./","../"].some(t=>e.startsWith(t))}function Gt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Yp.test(e):Zp.test(e)||(t.acceptRelative?Jp.test(e):!1)}function r1(e){return!!e&&Qp.test(e)}function Fo(e="",t){return t?e1.test(e):e.endsWith("/")}function Mi(e="",t){if(!t)return(Fo(e)?e.slice(0,-1):e)||"/";if(!Fo(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s!==-1&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function os(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Fo(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s!==-1&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function s1(e=""){return e.startsWith("/")}function Ha(e=""){return s1(e)?e:"/"+e}function wu(e,t){if(_u(t)||Gt(e))return e;const n=Mi(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return on(n,e)}function o1(e,t){if(_u(t))return e;const n=Mi(t);if(!e.startsWith(n))return e;const r=e[n.length];if(r&&r!=="/"&&r!=="?")return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function Xt(e,t){const n=Li(e),r={...Ls(n.search),...t};return n.search=bu(r),xu(n)}function _u(e){return!e||e==="/"}function i1(e){return e&&e!=="/"}function on(e,...t){let n=e||"";for(const r of t.filter(s=>i1(s)))if(n){const s=r.replace(t1,"");n=os(n)+s}else n=r;return n}function vu(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const i of n)if(!(!i||i==="/")){for(const[a,l]of i.split(t).entries())if(!(!l||l===".")){if(l===".."){if(r.length===1&&Gt(r[0]))continue;r.pop(),s--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+l;continue}r.push(l),s++}}let o=r.join("/");return s>=0?n[0]?.startsWith("/")&&!o.startsWith("/")?o="/"+o:n[0]?.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,n[n.length-1]?.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function a1(e,t,n={}){return n.trailingSlash||(e=os(e),t=os(t)),n.leadingSlash||(e=Ha(e),t=Ha(t)),n.encoding||(e=hr(e),t=hr(t)),e===t}const Cu=Symbol.for("ufo:protocolRelative");function Li(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,h=""]=n;return{protocol:f.toLowerCase(),pathname:h,href:f+h,auth:"",host:"",search:"",hash:""}}if(!Gt(e,{acceptRelative:!0}))return ja(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=ja(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:u,hash:c,[Cu]:!r}}function ja(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function xu(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[Cu]?(e.protocol||"")+"//":"")+s+o+t+n+r}class l1 extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function c1(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${o}${t?` ${t}`:""}`,a=new l1(i,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[u]}});return a}const u1=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Ua(e="GET"){return u1.has(e.toUpperCase())}function f1(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||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const h1=new Set(["image/svg","application/xml","application/xhtml","application/html"]),d1=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function p1(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return d1.test(t)?"json":t==="text/event-stream"?"stream":h1.has(t)||t.startsWith("text/")?"text":"blob"}function g1(e,t,n,r){const s=m1(t?.headers??e?.headers,n?.headers,r);let o;return(n?.query||n?.params||t?.params||t?.query)&&(o={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:o,params:o,headers:s}}function m1(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,o);return r}async function Mr(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const y1=new Set([408,409,425,429,500,502,503,504]),b1=new Set([101,204,205,304]);function Su(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let c;typeof a.options.retry=="number"?c=a.options.retry:c=Ua(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(c>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):y1.has(f))){const h=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return h>0&&await new Promise(d=>setTimeout(d,h)),o(a.request,{...a.options,retry:c-1})}}const u=c1(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,o),u}const o=async function(l,u={}){const c={request:l,options:g1(l,u,e.defaults,n),response:void 0,error:void 0};if(c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&(await Mr(c,c.options.onRequest),c.options.headers instanceof n||(c.options.headers=new n(c.options.headers||{}))),typeof c.request=="string"&&(c.options.baseURL&&(c.request=wu(c.request,c.options.baseURL)),c.options.query&&(c.request=Xt(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&Ua(c.options.method))if(f1(c.options.body)){const d=c.options.headers.get("content-type");typeof c.options.body!="string"&&(c.options.body=d==="application/x-www-form-urlencoded"?new URLSearchParams(c.options.body).toString():JSON.stringify(c.options.body)),d||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")}else("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half"));let f;if(!c.options.signal&&c.options.timeout){const d=new r;f=setTimeout(()=>{const p=new Error("[TimeoutError]: The operation was aborted due to timeout");p.name="TimeoutError",p.code=23,d.abort(p)},c.options.timeout),c.options.signal=d.signal}try{c.response=await t(c.request,c.options)}catch(d){return c.error=d,c.options.onRequestError&&await Mr(c,c.options.onRequestError),await s(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!b1.has(c.response.status)&&c.options.method!=="HEAD"){const d=(c.options.parseResponse?"json":c.options.responseType)||p1(c.response.headers.get("content-type")||"");switch(d){case"json":{const p=await c.response.text(),g=c.options.parseResponse||ss;c.response._data=g(p);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[d]()}}return c.options.onResponse&&await Mr(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await Mr(c,c.options.onResponseError),await s(c)):c.response},i=async function(l,u){return(await o(l,u))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={},l={})=>Su({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const is=(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")})(),w1=is.fetch?(...e)=>is.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),_1=is.Headers,v1=is.AbortController,C1=Su({fetch:w1,Headers:_1,AbortController:v1}),x1=C1,S1=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,Ii=()=>S1().app,k1=()=>Ii().baseURL,E1=()=>Ii().buildAssetsDir,Ni=(...e)=>vu(ku(),E1(),...e),ku=(...e)=>{const t=Ii(),n=t.cdnURL||t.baseURL;return e.length?vu(n,...e):n};globalThis.__buildAssetsURL=Ni,globalThis.__publicAssetsURL=ku;globalThis.$fetch||(globalThis.$fetch=x1.create({baseURL:k1()}));"global"in globalThis||(globalThis.global=globalThis);function Do(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Do(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const A1={run:e=>e()},R1=()=>A1,Eu=typeof console.createTask<"u"?console.createTask:R1;function T1(e,t){const n=t.shift(),r=Eu(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function P1(e,t){const n=t.shift(),r=Eu(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function no(e,t){for(const n of[...e])n(t)}let M1=class{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 s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}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,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),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 s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Do(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=Do(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(T1,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(P1,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&no(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&no(this._after,s)}):(this._after&&s&&no(this._after,s),o)}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 L1(){return new M1}function I1(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},u=()=>t===i?l:void 0;Ho.add(u);try{const c=s?s.run(i,a):a();return n||(t=void 0),await c}finally{Ho.delete(u)}}}}function N1(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=I1({...e,...r})),t[n]}}}const as=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ga="__unctx__",O1=as[Ga]||(as[Ga]=N1()),B1=(e,t={})=>O1.get(e,t),$a="__unctx_async_handlers__",Ho=as[$a]||(as[$a]=new Set);function jo(e){const t=[];for(const s of Ho){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const za={id:"__nuxt-loader"},F1={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},D1="#__nuxt",Au="nuxt-app",Wa=36e5,H1="vite:preloadError";function Ru(e=Au){return B1(e,{asyncContext:!1})}const j1="__nuxt_plugin";function U1(e){let t=0;const n={_id:e.id||Au||"nuxt-app",_scope:yh(),provide:void 0,versions:{get nuxt(){return"4.3.1"},get vue(){return n.vueApp.version}},payload:wn({...e.ssrContext?.payload||{},data:wn({}),state:at({}),once:new Set,_errors:wn({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!tc()?n._scope.run(()=>Va(n,s)):Va(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:wn({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const o in s)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],s[o]);break;default:n.payload[o]=s[o]}}n.hooks=L1(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;Lr(n,i,o),Lr(n.vueApp.config.globalProperties,i,o)},Lr(n.vueApp,"$nuxt",n),Lr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(H1,o=>{n.callHook("app:chunkError",{error:o.payload}),o.payload.message.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||=Ee;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}function G1(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function $1(e,t){if(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 z1(e,t){const n=new Set,r=[],s=[];let o,i=0;async function a(l){const u=l.dependsOn?.filter(c=>t.some(f=>f._name===c)&&!n.has(c))??[];if(u.length>0)r.push([new Set(u),l]);else{const c=$1(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(r.map(async([f,h])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(i++,await a(h)))})))}).catch(f=>{if(!l.parallel&&!e.payload.error)throw f;o||=f});l.parallel?s.push(c):await c}}for(const l of t)G1(e,l);for(const l of t)await a(l);if(await Promise.all(s),i)for(let l=0;l<i;l++)await Promise.all(s);if(o)throw e.payload.error||o}function ut(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[j1]:!0,_name:t})}function Va(e,t,n){const r=()=>t();return Ru(e._id).set(e),e.vueApp.runWithContext(r)}function W1(e){let t;return Ci()&&(t=On()?.appContext.app.$nuxt),t||=Ru(e).tryUse(),t||null}function Ee(e){const t=W1(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Fn(e){return Ee().$config}function Lr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}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 Uo(e,t,n=".",r){if(!ro(t))return Uo(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:ro(i)&&ro(s[o])?s[o]=Uo(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function V1(e){return(...t)=>t.reduce((n,r)=>Uo(n,r,"",e),{})}const q1=V1();function K1(e,t){try{return t in e}catch{return!1}}class qa extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Go(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Tu(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function X1(e){if(typeof e=="string")return new qa(e);if(Y1(e))return e;const t=new qa(e.message??e.statusMessage??"",{cause:e.cause||e});if(K1(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=Go(e.statusCode,t.statusCode):e.status&&(t.statusCode=Go(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Tu(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 Y1(e){return e?.constructor?.__h3_error__===!0}const Z1=/[^\u0009\u0020-\u007E]/g;function Tu(e=""){return e.replace(Z1,"")}function Go(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Pu=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const wt=()=>Ee()?.$router,Oi=()=>Ci()?En(Pu,Ee()._route):Ee()._route;const J1=()=>{try{if(Ee()._processingMiddleware)return!0}catch{return!1}return!1},Mu=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?$o(e):wt().resolve(e).href;if(t?.open){const{target:u="_blank",windowFeatures:c={}}=t.open,f=[];for(const[h,d]of Object.entries(c))d!==void 0&&f.push(`${h.toLowerCase()}=${d}`);return open(n,u,f.join(", ")),Promise.resolve()}const r=Gt(n,{acceptRelative:!0}),s=t?.external||r;if(s){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:u}=new URL(n,window.location.href);if(u&&r1(u))throw new Error(`Cannot navigate to a URL with '${u}' protocol.`)}const o=J1();if(!s&&o){if(t?.replace){if(typeof e=="string"){const{pathname:u,search:c,hash:f}=Li(e);return{path:u,...c&&{query:Ls(c)},...f&&{hash:f},replace:!0}}return{...e,replace:!0}}return e}const i=wt(),a=Ee();if(s)return a._scope.stop(),t?.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const l=typeof e=="string"?Lu(e):e;return t?.replace?i.replace(l):i.push(l)};function $o(e){return Xt(e.path||"",e.query||{})+(e.hash||"")}function Lu(e){const t=Li(e);return Wp(Vp(t.pathname))+t.search+t.hash}const Iu="__nuxt_error",Bi=()=>Gh(Ee().payload,"error"),Q1=e=>{const t=Fi(e);try{const n=Bi();Ee().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},e0=async(e={})=>{const t=Ee(),n=Bi();t.callHook("app:error:cleared",e),e.redirect&&await wt().replace(e.redirect),n.value=void 0},t0=e=>!!e&&typeof e=="object"&&Iu in e,Fi=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=X1(e);return Object.defineProperty(t,Iu,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};function n0(e){const t=s0(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let s=0;s<n.byteLength;s++)r.setUint8(s,t.charCodeAt(s));return n}const r0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function s0(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let s=0;s<e.length;s++)n<<=6,n|=r0.indexOf(e[s]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const o0=-1,i0=-2,a0=-3,l0=-4,c0=-5,u0=-6,f0=-7;function h0(e,t){return d0(JSON.parse(e),t)}function d0(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);let s=null;function o(i,a=!1){if(i===o0)return;if(i===a0)return NaN;if(i===l0)return 1/0;if(i===c0)return-1/0;if(i===u0)return-0;if(a||typeof i!="number")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 u=l[0],c=t&&Object.hasOwn(t,u)?t[u]:void 0;if(c){let f=l[1];if(typeof f!="number"&&(f=n.push(l[1])-1),s??=new Set,s.has(f))throw new Error("Invalid circular reference");return s.add(f),r[i]=c(o(f)),s.delete(f),r[i]}switch(u){case"Date":r[i]=new Date(l[1]);break;case"Set":const f=new Set;r[i]=f;for(let p=1;p<l.length;p+=1)f.add(o(l[p]));break;case"Map":const h=new Map;r[i]=h;for(let p=1;p<l.length;p+=2)h.set(o(l[p]),o(l[p+1]));break;case"RegExp":r[i]=new RegExp(l[1],l[2]);break;case"Object":r[i]=Object(l[1]);break;case"BigInt":r[i]=BigInt(l[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let p=1;p<l.length;p+=2)d[l[p]]=o(l[p+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{if(n[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const p=globalThis[u],g=o(l[1]),C=new p(g);r[i]=l[2]!==void 0?C.subarray(l[2],l[3]):C;break}case"ArrayBuffer":{const p=l[1];if(typeof p!="string")throw new Error("Invalid ArrayBuffer encoding");const g=n0(p);r[i]=g;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const p=u.slice(9);r[i]=Temporal[p].from(l[1]);break}case"URL":{const p=new URL(l[1]);r[i]=p;break}case"URLSearchParams":{const p=new URLSearchParams(l[1]);r[i]=p;break}default:throw new Error(`Unknown type ${u}`)}}else if(l[0]===f0){const u=l[1],c=new Array(u);r[i]=c;for(let f=2;f<l.length;f+=2){const h=l[f];c[h]=o(l[f+1])}}else{const u=new Array(l.length);r[i]=u;for(let c=0;c<l.length;c+=1){const f=l[c];f!==i0&&(u[c]=o(f))}}else{const u={};r[i]=u;for(const c of Object.keys(l)){if(c==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const f=l[c];u[c]=o(f)}}return r[i]}return o(0)}const p0=new Set(["link","style","script","noscript"]),g0=new Set(["title","titleTemplate","script","style","noscript"]),Ka=new Set(["base","meta","link","style","script","noscript"]),m0=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),y0=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),b0=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),w0=new Set(["templateParams","htmlAttrs","bodyAttrs"]),_0=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function zo(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?zo(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Nu=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function Ou(e,t,n,r){for(let s=n;s<e.length;s+=1)try{const o=r?r.run(()=>e[s](...t)):e[s](...t);if(o instanceof Promise)return o.then(()=>Ou(e,t,s+1,r))}catch(o){return Promise.reject(o)}}function v0(e,t,n){if(e.length>0)return Ou(e,t,0,Nu(n))}function C0(e,t,n){if(e.length>0){const r=Nu(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}}function so(e,t){for(const n of[...e])n(t)}var x0=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;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(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!n.allowDeprecated){let o=s.message;o||(o=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...s)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...s));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=zo(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=zo(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(v0,e,t)}callHookParallel(e,...t){return this.callHookWith(C0,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&so(this._before,r);const s=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return s instanceof Promise?s.finally(()=>{this._after&&r&&so(this._after,r)}):(this._after&&r&&so(this._after,r),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function S0(){return new x0}const k0=["name","property","http-equiv"],E0=new Set(["viewport","description","keywords","robots"]);function Bu(e){const t=e.split(":");return t.length?_0.has(t[1]):!1}function Wo(e){const{props:t,tag:n}=e;if(y0.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";const r=t.hreflang||t.type;if(n==="link"&&t.rel==="alternate"&&r)return`alternate:${r}`;if(t.charset)return"charset";if(e.tag==="meta"){for(const s of k0)if(t[s]!==void 0){const o=t[s],i=o&&typeof o=="string"&&o.includes(":"),a=o&&E0.has(o),u=!(i||a)&&e.key?`:key:${e.key}`:"";return`${n}:${o}${u}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(g0.has(n)){const s=e.textContent||e.innerHTML;if(s)return`${n}:content:${s}`}}function Xa(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,s])=>`${r}:${String(s)}`).join(",")}`}function ls(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const s=t?t(n,e):e;if(Array.isArray(s))return s.map(o=>ls(o,t));if(s?.constructor===Object){const o={};for(const i of Object.keys(s))o[i]=ls(s[i],t,i);return o}return s}function A0(e,t){const n=e==="style"?new Map:new Set;function r(s){if(s==null||s===void 0)return;const o=String(s).trim();if(o)if(e==="style"){const[i,...a]=o.split(":").map(l=>l?l.trim():"");i&&a.length&&n.set(i,a.join(":"))}else o.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,o])=>{o&&o!=="false"&&(e==="style"?n.set(String(s).trim(),String(o)):r(s))}),n}function Fu(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=A0(n,r);return}if(b0.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let a=t.type;if(t.type||(a="application/json"),!a?.endsWith("json")&&a!=="speculationrules")return;t.type=a,e.props.type=a,e[n]=JSON.stringify(r)}else e[n]=r;return}const s=String(r),o=n.startsWith("data-"),i=e.tag==="meta"&&n==="content";s==="true"||s===""?e.props[n]=o||i?s:!0:!r&&o&&s==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e):e}function R0(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=Fu({tag:e,props:{}},n);return r.key&&p0.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),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(s=>({...r,props:{...r.props,content:s}})):r}function T0(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,o)=>{for(let i=0;i<t.length;i++)o=t[i](s,o);return o};e=n(void 0,e);const r=[];return e=ls(e,n),Object.entries(e||{}).forEach(([s,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])r.push(R0(s,i))}),r.flat()}const Ya=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Za={base:-10,title:10},P0={critical:-8,high:-1,low:2},Ja={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},M0=/@import/,qn=e=>e===""||e===!0;function L0(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=P0[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Ja;if(t.tag in Za)n=Za[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=Ja.meta[o])}else if(t.tag==="link"&&t.props.rel)n=s.link[t.props.rel];else if(t.tag==="script"){const o=String(t.props.type);qn(t.props.async)?n=s.script.async:t.props.src&&!qn(t.props.defer)&&!qn(t.props.async)&&o!=="module"&&!o.endsWith("json")||t.innerHTML&&!o.endsWith("json")?n=s.script.sync:(qn(t.props.defer)&&t.props.src&&!qn(t.props.async)||o==="module")&&(n=s.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&M0.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function Qa(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function I0(e={}){const t=S0();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,o=new Set,i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>Qa(i,a),push(a,l){const u={...l||{}};delete u.head;const c=u._index??i._entryCount++,f={_i:c,input:a,options:u},h={_poll(d=!1){i.dirty=!0,!d&&o.add(c),t.callHook("entries:updated",i)},dispose(){r.delete(c)&&i.invalidate()},patch(d){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=d,r.set(c,f),h._poll())}};return h.patch(a),h},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",a);o.size;){const h=o.values().next().value;o.delete(h);const d=r.get(h);if(d){const p={tags:T0(d.input,e.propResolvers||[]).map(g=>Object.assign(g,d.options)),entry:d};await t.callHook("entries:normalize",p),d._tags=p.tags.map((g,C)=>(g._w=L0(i,g),g._p=(d._i<<10)+C,g._d=Wo(g),g))}}let l=!1;a.entries.flatMap(h=>(h._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Ya).reduce((h,d)=>{const p=String(d._d||d._p);if(!h.has(p))return h.set(p,d);const g=h.get(p);if((d?.tagDuplicateStrategy||(w0.has(d.tag)?"merge":null)||(d.key&&d.key===g.key?"merge":null))==="merge"){const _={...g.props};Object.entries(d.props).forEach(([x,m])=>_[x]=x==="style"?new Map([...g.props.style||new Map,...m]):x==="class"?new Set([...g.props.class||new Set,...m]):m),h.set(p,{...d,props:_})}else d._p>>10===g._p>>10&&d.tag==="meta"&&Bu(p)?(h.set(p,Object.assign([...Array.isArray(g)?g:[g],d],d)),l=!0):(d._w===g._w?d._p>g._p:d?._w<g?._w)&&h.set(p,d);return h},a.tagMap);const u=a.tagMap.get("title"),c=a.tagMap.get("titleTemplate");if(i._title=u?.textContent,c){const h=c?.textContent;if(i._titleTemplate=h,h){let d=typeof h=="function"?h(u?.textContent):h;typeof d=="string"&&!i.plugins.has("template-params")&&(d=d.replace("%s",u?.textContent||"")),u?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:d}):(c.tag="title",c.textContent=d)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(Ya)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const h of a.tags){const{innerHTML:d,tag:p,props:g}=h;if(m0.has(p)&&!(Object.keys(g).length===0&&!h.innerHTML&&!h.textContent)&&!(p==="meta"&&!g.content&&!g["http-equiv"]&&!g.charset)){if(p==="script"&&d){if(String(g.type).endsWith("json")){const C=typeof d=="string"?d:JSON.stringify(d);h.innerHTML=C.replace(/</g,"\\u003C")}else typeof d=="string"&&(h.innerHTML=d.replace(new RegExp(`</${p}`,"g"),`<\\/${p}`));h._d=Wo(h)}f.push(h)}}return f},invalidate(){for(const a of r.values())o.add(a._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(a=>Qa(i,a)),i.hooks.callHook("init",i),e.init?.forEach(a=>a&&i.push(a)),i}const N0=(e,t)=>we(t)?yc(t):t,Du="usehead";function O0(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Du,e)}}.install}function B0(){if(Ci()){const e=En(Du);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function xy(e,t={}){const n=t.head||B0();return n.ssr?n.push(e||{},t):F0(n,e,t)}function F0(e,t,n={}){const r=$e(!1);let s;return Qh(()=>{const i=r.value?{}:ls(t,N0);s?s.patch(i):s=e.push(i,n)}),On()&&(Ai(()=>{s.dispose()}),Ac(()=>{r.value=!0}),Ec(()=>{r.value=!1})),s}const D0=(e,t)=>[],H0=e=>q1({},...D0().map(t=>t.data).reverse()),j0=H0;let $r;function U0(){return $r=$fetch(Ni(`builds/meta/${Fn().app.buildId}.json`),{responseType:"json"}),$r.catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),$r}function Di(){return $r||U0()}function Is(e){const t=typeof e=="string"?e:e.path;try{return j0(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function el(e,t={}){if(await z0(e)){const n=await $0(e,t);return await Hu(n)||null}return null}const G0="_payload.json";async function $0(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Gt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=Fn(),s=t.hash||(t.fresh?Date.now():r.app.buildId),o=r.app.cdnURL,i=o&&await W0(e)?o:r.app.baseURL;return on(i,n.pathname,G0+(s?`?${s}`:""))}async function Hu(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(Gu));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}function ju(e){if(e.redirect)return!1;if(e.prerender)return!0}async function Uu(e){return e=e==="/"?e:e.replace(/\/$/,""),(await Di()).prerendered.includes(e)}async function z0(e=Oi().path){const t=Is({path:e}),n=ju(t);return n!==void 0?n:t.payload?!0:await Uu(e)}async function W0(e=Oi().path){const t=ju(Is({path:e}));return t!==void 0?t:await Uu(e)}let Wt=null;async function V0(){if(Wt)return Wt;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Gu(e.textContent||""),n=e.dataset.src?await Hu(e.dataset.src):void 0;return Wt={...t,...n,...window.__NUXT__},Wt.config?.public&&(Wt.config.public=at(Wt.config.public)),Wt}async function Gu(e){return await h0(e,Ee()._payloadRevivers)}function q0(e,t){Ee()._payloadRevivers[e]=t}const K0=[["NuxtError",e=>Fi(e)],["EmptyShallowRef",e=>ko(e==="_"?void 0:e==="0n"?BigInt(0):ss(e))],["EmptyRef",e=>$e(e==="_"?void 0:e==="0n"?BigInt(0):ss(e))],["ShallowRef",e=>ko(e)],["ShallowReactive",e=>wn(e)],["Ref",e=>$e(e)],["Reactive",e=>at(e)]],X0=ut({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of K0)q0(r,s);Object.assign(e.payload,([t,n]=jo(()=>e.runWithContext(V0)),t=await t,n(),t)),delete window.__NUXT__}});async function Hi(e,t={}){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 e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{const o=new Map,i=new Promise(d=>{e.resolveTags().then(p=>{d(p.map(g=>{const C=o.get(g._d)||0,_={tag:g,id:(C?`${g._d}:${C}`:g._d)||Xa(g),shouldRender:!0};return g._d&&Bu(g._d)&&o.set(g._d,C+1),_}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const p=n[d]?.children;for(const g of p){const C=g.tagName.toLowerCase();if(!Ka.has(C))continue;const _=Fu({tag:C,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((x,m)=>(x[m]=g.getAttribute(m),x),{})||{}});if(_.key=g.getAttribute("data-hid")||void 0,_._d=Wo(_)||Xa(_),a.elMap.has(_._d)){let x=1,m=_._d;for(;a.elMap.has(m);)m=`${_._d}:${x++}`;a.elMap.set(m,g)}else a.elMap.set(_._d,g)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(d,p,g){const C=`${d}:${p}`;a.sideEffects[C]=g,delete a.pendingSideEffects[C]}function u({id:d,$el:p,tag:g}){const C=g.tag.endsWith("Attrs");a.elMap.set(d,p),C||(g.textContent&&g.textContent!==p.textContent&&(p.textContent=g.textContent),g.innerHTML&&g.innerHTML!==p.innerHTML&&(p.innerHTML=g.innerHTML),l(d,"el",()=>{p?.remove(),a.elMap.delete(d)}));for(const _ in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,_))continue;const x=g.props[_];if(_.startsWith("on")&&typeof x=="function"){const w=p?.dataset;if(w&&w[`${_}fired`]){const y=_.slice(0,-5);x.call(p,new Event(y.substring(2)))}p.getAttribute(`data-${_}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:p).addEventListener(_.substring(2),x.bind(p)),p.setAttribute(`data-${_}`,""));continue}const m=`attr:${_}`;if(_==="class"){if(!x)continue;for(const w of x)C&&l(d,`${m}:${w}`,()=>p.classList.remove(w)),!p.classList.contains(w)&&p.classList.add(w)}else if(_==="style"){if(!x)continue;for(const[w,y]of x)l(d,`${m}:${w}`,()=>{p.style.removeProperty(w)}),p.style.setProperty(w,y)}else x!==!1&&x!==null&&(p.getAttribute(_)!==x&&p.setAttribute(_,x===!0?"":String(x)),C&&l(d,m,()=>p.removeAttribute(_)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await i;for(const d of h){const{tag:p,shouldRender:g,id:C}=d;if(g){if(p.tag==="title"){n.title=p.textContent,l("title","",()=>n.title=a.title);continue}d.$el=d.$el||a.elMap.get(C),d.$el?u(d):Ka.has(p.tag)&&c.push(d)}}for(const d of c){const p=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),u(d),f[p]=f[p]||n.createDocumentFragment(),f[p].appendChild(d.$el)}for(const d of h)await e.hooks.callHook("dom:renderTag",d,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const d in a.pendingSideEffects)a.pendingSideEffects[d]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:h}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Y0(e={}){const t=e.domOptions?.render||Hi;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return I0({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Z0(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function J0(e={}){const t=Y0({domOptions:{render:Z0(()=>Hi(t),n=>setTimeout(n,0))},...e});return t.install=O0(t),t}const Q0={disableDefaults:!0},eg=ut({name:"nuxt:head",enforce:"pre",setup(e){const t=J0(Q0);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Hi(t)};t.hooks.hook("dom:beforeRender",s=>{s.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)}}}),tg=e=>{const t=Is({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return Gt(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},ng=[tg];function oo(e){const t=e&&typeof e=="object"?e:{};typeof e=="object"&&(e=xu({pathname:e.path||"",search:bu(e.query||{}),hash:e.hash||""}));const n=new URL(e.toString(),window.location.href);return{path:n.pathname,fullPath:e,query:Ls(n.search),hash:n.hash,params:t.params||{},name:void 0,matched:t.matched||[],redirectedFrom:void 0,meta:t.meta||{},href:e}}const rg=ut({name:"nuxt:router",enforce:"pre",setup(e){const t=o1(window.location.pathname,Fn().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},s=(h,d)=>(r[h].push(d),()=>r[h].splice(r[h].indexOf(d),1)),o=Fn().app.baseURL,i=at(oo(t));async function a(h,d){try{const p=oo(h);for(const g of r["navigate:before"]){const C=await g(p,i);if(C===!1||C instanceof Error)return;if(typeof C=="string"&&C.length)return a(C,!0)}for(const g of r["resolve:before"])await g(p,i);Object.assign(i,p),window.history[d?"replaceState":"pushState"]({},"",on(o,p.fullPath)),e.isHydrating||await e.runWithContext(e0);for(const g of r["navigate:after"])await g(p,i)}catch(p){for(const g of r.error)await g(p)}}const u={currentRoute:He(()=>i),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:h=>a(h,!1),replace:h=>a(h,!0),back:()=>window.history.go(-1),go:h=>window.history.go(h),forward:()=>window.history.go(1),beforeResolve:h=>s("resolve:before",h),beforeEach:h=>s("navigate:before",h),afterEach:h=>s("navigate:after",h),onError:h=>s("error",h),resolve:oo,addRoute:(h,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:h=>n.some(d=>d.name===h),removeRoute:h=>{const d=n.findIndex(p=>p.name===h);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",Mt({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(h,{slots:d})=>{const p=()=>a(h.to,h.replace);return()=>{const g=u.resolve(h.to);return h.custom?d.default?.({href:h.to,navigate:p,route:g}):fr("a",{href:h.to,onClick:C=>(C.preventDefault(),p())},d)}}})),window.addEventListener("popstate",h=>{const d=h.target.location;u.replace(d.href.replace(d.origin,""))}),e._route=i,e._middleware||={global:[],named:{}};const c=e.payload.state._layout,f=e.payload.state._layoutProps;return e.hooks.hookOnce("app:created",async()=>{u.beforeEach(async(h,d)=>{h.meta=at(h.meta||{}),e.isHydrating&&c&&!yt(h.meta.layout)&&(h.meta.layout=c,h.meta.layoutProps=f),e._processingMiddleware=!0;{const p=new Set([...ng,...e._middleware.global]),g=Is({path:h.path});if(g.appMiddleware)for(const C in g.appMiddleware){const _=e._middleware.named[C];_&&(g.appMiddleware[C]?p.add(_):p.delete(_))}for(const C of p){const _=await e.runWithContext(()=>C(h,d));if(_!==!0&&(_||_===!1))return _}}}),u.afterEach(()=>{delete e._processingMiddleware}),await u.replace(t),a1(i.fullPath,t)||await e.runWithContext(()=>Mu(i.fullPath))}),{provide:{route:i,router:u}}}}),sg=ut({name:"nuxt-scripts:beacon-intercept",enforce:"pre",setup(){if(typeof navigator>"u"||!navigator.sendBeacon)return;const e=[{pattern:"www.google-analytics.com",pathPrefix:"",target:"/_proxy/ga"},{pattern:"stats.g.doubleclick.net",pathPrefix:"",target:"/_proxy/ga-dc"},{pattern:"pagead2.googlesyndication.com",pathPrefix:"",target:"/_proxy/ga-syn"},{pattern:"www.googleadservices.com",pathPrefix:"",target:"/_proxy/ga-ads"},{pattern:"googleads.g.doubleclick.net",pathPrefix:"",target:"/_proxy/ga-gads"},{pattern:"www.googletagmanager.com",pathPrefix:"",target:"/_proxy/gtm"},{pattern:"connect.facebook.net",pathPrefix:"",target:"/_proxy/meta"},{pattern:"www.facebook.com",pathPrefix:"/tr",target:"/_proxy/meta-tr"},{pattern:"pixel.facebook.com",pathPrefix:"",target:"/_proxy/meta-px"},{pattern:"www.facebook.com",pathPrefix:"/plugins",target:"/_proxy/meta-plugins"},{pattern:"analytics.tiktok.com",pathPrefix:"",target:"/_proxy/tiktok"},{pattern:"api.segment.io",pathPrefix:"",target:"/_proxy/segment"},{pattern:"cdn.segment.com",pathPrefix:"",target:"/_proxy/segment-cdn"},{pattern:"analytics.twitter.com",pathPrefix:"",target:"/_proxy/x"},{pattern:"t.co",pathPrefix:"",target:"/_proxy/x-t"},{pattern:"tr.snapchat.com",pathPrefix:"",target:"/_proxy/snap"},{pattern:"alb.reddit.com",pathPrefix:"",target:"/_proxy/reddit"},{pattern:"www.clarity.ms",pathPrefix:"",target:"/_proxy/clarity"},{pattern:"scripts.clarity.ms",pathPrefix:"",target:"/_proxy/clarity-scripts"},{pattern:"d.clarity.ms",pathPrefix:"",target:"/_proxy/clarity-data"},{pattern:"e.clarity.ms",pathPrefix:"",target:"/_proxy/clarity-events"},{pattern:"us-assets.i.posthog.com",pathPrefix:"/static",target:"/_proxy/ph/static"},{pattern:"us.i.posthog.com",pathPrefix:"",target:"/_proxy/ph"},{pattern:"eu-assets.i.posthog.com",pathPrefix:"/static",target:"/_proxy/ph-eu/static"},{pattern:"eu.i.posthog.com",pathPrefix:"",target:"/_proxy/ph-eu"},{pattern:"static.hotjar.com",pathPrefix:"",target:"/_proxy/hotjar"},{pattern:"script.hotjar.com",pathPrefix:"",target:"/_proxy/hotjar-script"},{pattern:"vars.hotjar.com",pathPrefix:"",target:"/_proxy/hotjar-vars"},{pattern:"in.hotjar.com",pathPrefix:"",target:"/_proxy/hotjar-in"},{pattern:"vc.hotjar.com",pathPrefix:"",target:"/_proxy/hotjar-vc"},{pattern:"metrics.hotjar.io",pathPrefix:"",target:"/_proxy/hotjar-metrics"},{pattern:"insights.hotjar.com",pathPrefix:"",target:"/_proxy/hotjar-insights"}],t=navigator.sendBeacon.bind(navigator);navigator.sendBeacon=(n,r)=>{try{const s=new URL(n,window.location.origin);for(const o of e)if(s.hostname===o.pattern||s.hostname.endsWith("."+o.pattern)){if(o.pathPrefix&&!s.pathname.startsWith(o.pathPrefix))continue;const i=o.pathPrefix?s.pathname.slice(o.pathPrefix.length):s.pathname,a=i.startsWith("/")?"":"/",l=window.location.origin+o.target+a+i+s.search;return t(l,r)}}catch{}return t(n,r)}}}),Vo=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),og=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Ns=e=>{const t=Ee();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Vo(()=>e())}):Vo(()=>e())};async function $u(e,t=wt()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const s=t._preloadPromises||=[];if(s.length>4)return Promise.all(s).then(()=>$u(e,t));t._routePreloaded.add(n);for(const o of r){const i=o.components?.default;if(typeof i!="function")continue;const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}function ig(e={}){const t=e.path||window.location.pathname;let n={};try{n=ss(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||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:Ee().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const ag=(...e)=>e.find(t=>t!==void 0);function lg(e){const t=e.componentName||"NuxtLink";function n(o){return typeof o=="string"&&o.startsWith("#")}function r(o,i,a){const l=a??e.trailingSlash;if(!o||l!=="append"&&l!=="remove")return o;if(typeof o=="string")return Ir(o,l);const u="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:Ir(u,l)}}function s(o){const i=wt(),a=Fn(),l=He(()=>!!o.target&&o.target!=="_self"),u=He(()=>{const C=o.to||o.href||"";return typeof C=="string"&&Gt(C,{acceptRelative:!0})}),c=Ao("RouterLink"),f=c&&typeof c!="string"?c.useLink:void 0,h=He(()=>{if(o.external)return!0;const C=o.to||o.href||"";return typeof C=="object"?!1:C===""||u.value}),d=He(()=>{const C=o.to||o.href||"";return h.value?C:r(C,i.resolve,o.trailingSlash)}),p=h.value?void 0:f?.({...o,to:d}),g=He(()=>{const C=o.trailingSlash??e.trailingSlash;if(!d.value||u.value||n(d.value))return d.value;if(h.value){const _=typeof d.value=="object"&&"path"in d.value?$o(d.value):d.value,x=typeof _=="object"?i.resolve(_).href:_;return Ir(x,C)}return typeof d.value=="object"?i.resolve(d.value)?.href??null:Ir(on(a.app.baseURL,d.value),C)});return{to:d,hasTarget:l,isAbsoluteUrl:u,isExternal:h,href:g,isActive:p?.isActive??He(()=>d.value===i.currentRoute.value.path),isExactActive:p?.isExactActive??He(()=>d.value===i.currentRoute.value.path),route:p?.route??He(()=>i.resolve(d.value)),async navigate(C){await Mu(g.value,{replace:o.replace,external:h.value||l.value})}}}return Mt({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],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},trailingSlash:{type:String,default:void 0,required:!1}},useLink:s,setup(o,{slots:i}){const a=wt(),{to:l,href:u,navigate:c,isExternal:f,hasTarget:h,isAbsoluteUrl:d}=s(o),p=ko(!1),g=$e(null),C=m=>{g.value=o.custom?m?.$el?.nextElementSibling:m?.$el};function _(m){return!p.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===m:o.prefetchOn?.[m]??e.prefetchOn?.[m])&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!fg()}async function x(m=Ee()){if(p.value)return;p.value=!0;const w=typeof l.value=="string"?l.value:f.value?$o(l.value):a.resolve(l.value).fullPath,y=f.value?new URL(w,window.location.href).href:w;await Promise.all([m.hooks.callHook("link:prefetch",y).catch(()=>{}),!f.value&&!h.value&&$u(l.value,a).catch(()=>{})])}if(_("visibility")){const m=Ee();let w,y=null;Tc(()=>{const k=cg();Ns(()=>{w=Vo(()=>{g?.value?.tagName&&(y=k.observe(g.value,async()=>{y?.(),y=null,await x(m)}))})})}),Ai(()=>{w&&og(w),y?.(),y=null})}return()=>{if(!f.value&&!h.value&&!n(l.value)){const y={ref:C,to:l.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};return o.custom||(_("interaction")&&(y.onPointerenter=x.bind(null,void 0),y.onFocus=x.bind(null,void 0)),p.value&&(y.class=o.prefetchedClass||e.prefetchedClass),y.rel=o.rel||void 0),fr(Ao("RouterLink"),y,i.default)}const m=o.target||null,w=ag(o.noRel?"":o.rel,e.externalRelAttribute,d.value||h.value?"noopener noreferrer":"")||null;return o.custom?i.default?i.default({href:u.value,navigate:c,prefetch:x,get route(){if(!u.value)return;const y=new URL(u.value,window.location.href);return{path:y.pathname,fullPath:y.pathname,get query(){return Ls(y.search)},hash:y.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:w,target:m,isExternal:f.value||h.value,isActive:!1,isExactActive:!1}):null:fr("a",{ref:g,href:u.value||null,rel:w,target:m,onClick:async y=>{if(!(f.value||h.value)){y.preventDefault();try{const k=Lu(u.value);return await(o.replace?a.replace(k):a.push(k))}finally{if(n(l.value)){const k=l.value.slice(1);let M=k;try{M=decodeURIComponent(k)}catch{}document.getElementById(M)?.focus()}}}}},i.default?.())}}})}const zu=lg(F1);function Ir(e,t){const n=t==="append"?os:Mi;return Gt(e)&&!e.startsWith("http")?e:n(e,!0)}function cg(){const e=Ee();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||=new IntersectionObserver(a=>{for(const l of a){const u=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&u&&u()}}),n.set(o,i),t.observe(o),()=>{n.delete(o),t?.unobserve(o),n.size===0&&(t?.disconnect(),t=null)});return e._observer={observe:r}}const ug=/2g/;function fg(){const e=navigator.connection;return!!(e&&(e.saveData||ug.test(e.effectiveType)))}const hg=ut({name:"nuxt-scripts:sw-register",enforce:"pre",async setup(){let e,t;if("serviceWorker"in navigator)try{const n=([e,t]=jo(()=>navigator.serviceWorker.register("/_nuxt-scripts-sw.js",{scope:"/"})),e=await e,t(),e);navigator.serviceWorker.controller||([e,t]=jo(()=>new Promise(r=>{const s=()=>{navigator.serviceWorker.removeEventListener("controllerchange",s),r()};navigator.serviceWorker.addEventListener("controllerchange",s),setTimeout(r,2e3)})),await e,t())}catch(n){console.warn("[nuxt-scripts] SW registration failed:",n)}}}),dg=ut({name:"nuxt:payload",setup(e){const t=new Set;wt().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await el(n.path);if(s){for(const o of t)delete e.static.data[o];for(const o in s.data)o in e.static.data||t.add(o),e.static.data[o]=s.data[o]}}),Ns(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await el(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(Di,1e3)})}}),pg=ut(()=>{const e=wt();Ns(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),gg=ut(e=>{let t;async function n(){let r;try{r=await Di()}catch(s){const o=s;if(!("status"in o&&(o.status===404||o.status===403)))throw o}t&&clearTimeout(t),t=setTimeout(n,Wa);try{const s=await $fetch(Ni("builds/latest.json")+`?${Date.now()}`);s.id!==r?.id&&(e.hooks.callHook("app:manifest:update",s),t&&clearTimeout(t))}catch{}}Ns(()=>{t=setTimeout(n,Wa)})}),mg=ut({name:"nuxt:chunk-reload",setup(e){const t=wt(),n=Fn(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const i=on(n.app.baseURL,o.fullPath);ig({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),yg=ut({name:"nuxt:global-components"}),bg=ut(()=>{}),wg=[X0,eg,rg,sg,hg,dg,pg,gg,mg,yg,bg],_g=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},vg={},Cg={class:"n-badge"};function xg(e,t){return H(),W("span",Cg,[Qr(e.$slots,"default")])}const Sg=Object.assign(_g(vg,[["render",xg]]),{__name:"NBadge"}),Wu={__name:"NIcon",props:{icon:{type:String,required:!1}},setup(e){return(t,n)=>(H(),W("div",{class:Le(["n-icon",e.icon])},null,2))}},kg={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},Eg={__name:"NLink",props:{to:{type:String,required:!1},href:{type:String,required:!1},target:{type:String,required:!1},underline:{type:Boolean,required:!1}},setup(e){const t=e,n=He(()=>t.href||t.to);return(r,s)=>{const o=zu;return H(),Qe(o,au(n.value?{href:n.value,target:e.target,rel:e.target==="_blank"?"noopener noreferrer":void 0}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||e.underline}}),{default:Fe(()=>[Qr(r.$slots,"default"),n.value&&e.target==="_blank"?(H(),W("div",kg)):Be("",!0)]),_:3},16,["class"])}}},Ag=Mt({name:"NButton",props:{to:String,icon:String,border:{type:Boolean,default:!0},disabled:Boolean,type:{type:String,default:"button"}},setup(e,{attrs:t,slots:n}){return()=>fr(e.to?zu:"button",{to:e.to,...t,...!e.to&&{type:e.type},...e.disabled?{disabled:!0}:{tabindex:0},class:[e.border?"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":"",n.default?"":"n-icon-button","n-button n-transition n-disabled:n-disabled"].join(" ")},{default:()=>[Qr(n,"icon",{},()=>e.icon?[fr(Wu,{icon:e.icon,class:n.default?"n-button-icon":""})]:[]),Qr(n,"default")]})}}),Rg={class:"flex items-center gap-2"},Tg={class:"capitalize text-sm"},Pg=Mt({__name:"ScriptStatus",props:{status:{},error:{}},setup(e){const t=e,n=He(()=>t.error?t.error==="TypeError: Failed to fetch"?"CORS Error":t.error:t.status||"unknown"),r=He(()=>{if(t.error)return"bg-red-500";switch(t.status){case"loaded":return"bg-green-500";case"loading":return"bg-blue-500";case"awaitingLoad":return"bg-yellow-500";case"error":return"bg-red-500";default:return"bg-gray-400"}});return(s,o)=>(H(),W("div",Rg,[L("div",{class:Le(["w-2 h-2 rounded-full",q(r)])},null,2),L("span",Tg,ie(q(n)),1)]))}}),Mg=Object.assign(Pg,{__name:"ScriptStatus"}),Lg={key:0,title:"kb Size"},Ig={class:"inline-flex items-center px-2 py-0.5 text-xs font-medium bg-neutral-700 text-neutral-300 rounded-full"},Ng=Mt({__name:"ScriptSize",props:{size:{}},setup(e){return(t,n)=>e.size?(H(),W("div",Lg,[L("div",Ig,ie(e.size),1)])):Be("",!0)}}),Og=Object.assign(Ng,{__name:"ScriptSize"}),Bg={class:"inline-flex items-center px-2 py-0.5 text-xs font-medium m bg-neutral-700 text-green-300 rounded-full"},Fg=Mt({__name:"ScriptLoadTime",props:{loadTime:{}},setup(e){return(t,n)=>(H(),W("div",null,[L("div",Bg,ie(e.loadTime),1)]))}}),Dg=Object.assign(Fg,{__name:"ScriptLoadTime"}),Hg="modulepreload",jg=function(e,t){return new URL(e,t).href},tl={},vn=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");s=u(n.map(c=>{if(c=jg(c,r),c in tl)return;tl[c]=!0;const f=c.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(r)for(let p=i.length-1;p>=0;p--){const g=i[p];if(g.href===c&&(!f||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${h}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":Hg,f||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),f)return new Promise((p,g)=>{d.addEventListener("load",p),d.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};let Se=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function Ug(e){return ji(e)}function ji(e){return Array.isArray(e)?Gg(e):e instanceof RegExp?e:typeof e=="object"?$g(e):e}function Gg(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=ji(e[n]);return t}function $g(e){let t={};for(let n in e)t[n]=ji(e[n]);return t}function Vu(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function qu(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?qu(e.substring(0,e.length-1)):e.substr(~t+1)}var io=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Nr=class{static hasCaptures(e){return e===null?!1:(io.lastIndex=0,io.test(e))}static replaceCaptures(e,t,n){return e.replace(io,(r,s,o,i)=>{let a=n[parseInt(s||o,10)];if(a){let l=t.substring(a.start,a.end);for(;l[0]===".";)l=l.substring(1);switch(i){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function Ku(e,t){return e<t?-1:e>t?1:0}function Xu(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 s=0;s<n;s++){let o=Ku(e[s],t[s]);if(o!==0)return o}return 0}return n-r}function nl(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 Yu(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Zu=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},cs=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(Vg(e),t)}static createFromParsedTheme(e,t){return Kg(e,t)}_cachedMatchRoot=new Zu(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(s=>zg(e.parent,s.parentScopes));return r?new Ju(r.fontStyle,r.foreground,r.background):null}},ao=class zr{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new zr(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new zr(n,t[r]);return n}push(t){return new zr(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 zg(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],s=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],s=!0}for(;e&&!Wg(e.scopeName,r);){if(s)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function Wg(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var Ju=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function Vg(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let s=0,o=t.length;s<o;s++){let i=t[s];if(!i.settings)continue;let a;if(typeof i.scope=="string"){let f=i.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(i.scope)?a=i.scope:a=[""];let l=-1;if(typeof i.settings.fontStyle=="string"){l=0;let f=i.settings.fontStyle.split(" ");for(let h=0,d=f.length;h<d;h++)switch(f[h]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let u=null;typeof i.settings.foreground=="string"&&nl(i.settings.foreground)&&(u=i.settings.foreground);let c=null;typeof i.settings.background=="string"&&nl(i.settings.background)&&(c=i.settings.background);for(let f=0,h=a.length;f<h;f++){let p=a[f].trim().split(" "),g=p[p.length-1],C=null;p.length>1&&(C=p.slice(0,p.length-1),C.reverse()),n[r++]=new qg(g,C,s,l,u,c)}}return n}var qg=class{constructor(e,t,n,r,s,o){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=s,this.background=o}},Ne=(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",e[e.Strikethrough=8]="Strikethrough",e))(Ne||{});function Kg(e,t){e.sort((l,u)=>{let c=Ku(l.scope,u.scope);return c!==0||(c=Xu(l.parentScopes,u.parentScopes),c!==0)?c:l.index-u.index});let n=0,r="#000000",s="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(s=l.background)}let o=new Xg(t),i=new Ju(n,o.getId(r),o.getId(s)),a=new Zg(new qo(0,null,-1,0,0),[]);for(let l=0,u=e.length;l<u;l++){let c=e[l];a.insert(0,c.scope,c.parentScopes,c.fontStyle,o.getId(c.foreground),o.getId(c.background))}return new cs(o,i,a)}var Xg=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},Yg=Object.freeze([]),qo=class Qu{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,s,o){this.scopeDepth=t,this.parentScopes=n||Yg,this.fontStyle=r,this.foreground=s,this.background=o}clone(){return new Qu(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,s=t.length;r<s;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,s){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),s!==0&&(this.background=s)}},Zg=class Ko{constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}_rulesWithParentScopes;static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,s=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[s]===">"&&s++,!(r>=t.parentScopes.length||s>=n.parentScopes.length);){const o=n.parentScopes[s].length-t.parentScopes[r].length;if(o!==0)return o;r++,s++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),s,o;if(r===-1?(s=t,o=""):(s=t.substring(0,r),o=t.substring(r+1)),this._children.hasOwnProperty(s))return this._children[s].match(o)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(Ko._cmpBySpecificity),n}insert(t,n,r,s,o,i){if(n===""){this._doInsertHere(t,r,s,o,i);return}let a=n.indexOf("."),l,u;a===-1?(l=n,u=""):(l=n.substring(0,a),u=n.substring(a+1));let c;this._children.hasOwnProperty(l)?c=this._children[l]:(c=new Ko(this._mainRule.clone(),qo.cloneArr(this._rulesWithParentScopes)),this._children[l]=c),c.insert(t+1,u,r,s,o,i)}_doInsertHere(t,n,r,s,o){if(n===null){this._mainRule.acceptOverwrite(t,r,s,o);return}for(let i=0,a=this._rulesWithParentScopes.length;i<a;i++){let l=this._rulesWithParentScopes[i];if(Xu(l.parentScopes,n)===0){l.acceptOverwrite(t,r,s,o);return}}r===-1&&(r=this._mainRule.fontStyle),s===0&&(s=this._mainRule.foreground),o===0&&(o=this._mainRule.background),this._rulesWithParentScopes.push(new qo(t,n,r,s,o))}},Dn=class Ze{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=Ze.getLanguageId(t),r=Ze.getTokenType(t),s=Ze.getFontStyle(t),o=Ze.getForeground(t),i=Ze.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:s,foreground:o,background:i})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,s,o,i,a){let l=Ze.getLanguageId(t),u=Ze.getTokenType(t),c=Ze.containsBalancedBrackets(t)?1:0,f=Ze.getFontStyle(t),h=Ze.getForeground(t),d=Ze.getBackground(t);return n!==0&&(l=n),r!==8&&(u=r),s!==null&&(c=s?1:0),o!==-1&&(f=o),i!==0&&(h=i),a!==0&&(d=a),(l<<0|u<<8|c<<10|f<<11|h<<15|d<<24)>>>0}};function us(e,t){const n=[],r=Jg(e);let s=r.next();for(;s!==null;){let l=0;if(s.length===2&&s.charAt(1)===":"){switch(s.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${s} in scope selector`)}s=r.next()}let u=i();if(n.push({matcher:u,priority:l}),s!==",")break;s=r.next()}return n;function o(){if(s==="-"){s=r.next();const l=o();return u=>!!l&&!l(u)}if(s==="("){s=r.next();const l=a();return s===")"&&(s=r.next()),l}if(rl(s)){const l=[];do l.push(s),s=r.next();while(rl(s));return u=>t(l,u)}return null}function i(){const l=[];let u=o();for(;u;)l.push(u),u=o();return c=>l.every(f=>f(c))}function a(){const l=[];let u=i();for(;u&&(l.push(u),s==="|"||s===",");){do s=r.next();while(s==="|"||s===",");u=i()}return c=>l.some(f=>f(c))}}function rl(e){return!!e&&!!e.match(/[\w\.:]+/)}function Jg(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 ef(e){typeof e.dispose=="function"&&e.dispose()}var dr=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},Qg=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},e2=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},t2=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new dr(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new e2;for(const n of e)n2(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof dr){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function n2(e,t,n,r){const s=n.lookup(e.scopeName);if(!s){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const o=n.lookup(t);e instanceof dr?Wr({baseGrammar:o,selfGrammar:s},r):Xo(e.ruleName,{baseGrammar:o,selfGrammar:s,repository:s.repository},r);const i=n.injections(e.scopeName);if(i)for(const a of i)r.add(new dr(a))}function Xo(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];fs([r],t,n)}}function Wr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&fs(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&fs(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function fs(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const s=r.repository?Vu({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&fs(r.patterns,{...t,repository:s},n);const o=r.include;if(!o)continue;const i=tf(o);switch(i.kind){case 0:Wr({...t,selfGrammar:t.baseGrammar},n);break;case 1:Wr(t,n);break;case 2:Xo(i.ruleName,{...t,repository:s},n);break;case 3:case 4:const a=i.scopeName===t.selfGrammar.scopeName?t.selfGrammar:i.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const l={baseGrammar:t.baseGrammar,selfGrammar:a,repository:s};i.kind===4?Xo(i.ruleName,l,n):Wr(l,n)}else i.kind===4?n.add(new Qg(i.scopeName,i.ruleName)):n.add(new dr(i.scopeName));break}}}var r2=class{kind=0},s2=class{kind=1},o2=class{constructor(e){this.ruleName=e}kind=2},i2=class{constructor(e){this.scopeName=e}kind=3},a2=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function tf(e){if(e==="$base")return new r2;if(e==="$self")return new s2;const t=e.indexOf("#");if(t===-1)return new i2(e);if(t===0)return new o2(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new a2(n,r)}}var l2=/\\(\d+)/,sl=/\\(\d+)/g,c2=-1,nf=-2;var vr=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=Nr.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Nr.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${qu(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:Nr.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Nr.replaceCaptures(this._contentName,e,t)}},u2=class extends vr{retokenizeCapturedWithRuleId;constructor(e,t,n,r,s){super(e,t,n,r),this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}},f2=class extends vr{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,s){super(e,t,n,null),this._match=new pr(r,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new gr,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},ol=class extends vr{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,s){super(e,t,n,r),this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new gr,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Yo=class extends vr{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,s,o,i,a,l,u){super(e,t,n,r),this._begin=new pr(s,this.id),this.beginCaptures=o,this._end=new pr(i||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=l||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.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(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new gr;for(const n of this.patterns)e.getRule(n).collectPatterns(e,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,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},hs=class extends vr{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,s,o,i,a,l){super(e,t,n,r),this._begin=new pr(s,this.id),this.beginCaptures=o,this.whileCaptures=a,this._while=new pr(i,nf),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.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(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new gr;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new gr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},rf=class Me{static createCaptureRule(t,n,r,s,o){return t.registerRule(i=>new u2(n,i,r,s,o))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(s=>{if(t.id=s,t.match)return new f2(t.$vscodeTextmateLocation,t.id,t.name,t.match,Me._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Vu({},r,t.repository));let o=t.patterns;return typeof o>"u"&&t.include&&(o=[{include:t.include}]),new ol(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Me._compilePatterns(o,n,r))}return t.while?new hs(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Me._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Me._compileCaptures(t.whileCaptures||t.captures,n,r),Me._compilePatterns(t.patterns,n,r)):new Yo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Me._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Me._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Me._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let s=[];if(t){let o=0;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);a>o&&(o=a)}for(let i=0;i<=o;i++)s[i]=null;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);let l=0;t[i].patterns&&(l=Me.getCompiledRuleId(t[i],n,r)),s[a]=Me.createCaptureRule(n,t[i].$vscodeTextmateLocation,t[i].name,t[i].contentName,l)}}return s}static _compilePatterns(t,n,r){let s=[];if(t)for(let o=0,i=t.length;o<i;o++){const a=t[o];let l=-1;if(a.include){const u=tf(a.include);switch(u.kind){case 0:case 1:l=Me.getCompiledRuleId(r[a.include],n,r);break;case 2:let c=r[u.ruleName];c&&(l=Me.getCompiledRuleId(c,n,r));break;case 3:case 4:const f=u.scopeName,h=u.kind===4?u.ruleName:null,d=n.getExternalGrammar(f,r);if(d)if(h){let p=d.repository[h];p&&(l=Me.getCompiledRuleId(p,n,d.repository))}else l=Me.getCompiledRuleId(d.repository.$self,n,d.repository);break}}else l=Me.getCompiledRuleId(a,n,r);if(l!==-1){const u=n.getRule(l);let c=!1;if((u instanceof ol||u instanceof Yo||u instanceof hs)&&u.hasMissingPatterns&&u.patterns.length===0&&(c=!0),c)continue;s.push(l)}}return{patterns:s,hasMissingPatterns:(t?t.length:0)!==s.length}}},pr=class sf{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t&&typeof t=="string"){const r=t.length;let s=0,o=[],i=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const u=t.charAt(a+1);u==="z"?(o.push(t.substring(s,a)),o.push("$(?!\\n)(?<!\\n)"),s=a+2):(u==="A"||u==="G")&&(i=!0),a++}this.hasAnchor=i,s===0?this.source=t:(o.push(t.substring(s,r)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=l2.test(this.source):this.hasBackReferences=!1}clone(){return new sf(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(s=>t.substring(s.start,s.end));return sl.lastIndex=0,this.source.replace(sl,(s,o)=>Yu(r[parseInt(o,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],r=[],s=[],o,i,a,l;for(o=0,i=this.source.length;o<i;o++)a=this.source.charAt(o),t[o]=a,n[o]=a,r[o]=a,s[o]=a,a==="\\"&&o+1<i&&(l=this.source.charAt(o+1),l==="A"?(t[o+1]="",n[o+1]="",r[o+1]="A",s[o+1]="A"):l==="G"?(t[o+1]="",n[o+1]="G",r[o+1]="",s[o+1]="G"):(t[o+1]=l,n[o+1]=l,r[o+1]=l,s[o+1]=l),o++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:s.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},gr=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){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(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new il(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(s=>s.resolveAnchors(t,n));return new il(e,r,this._items.map(s=>s.ruleId))}},il=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
|
|
5
5
|
`)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},lo=class{constructor(e,t){this.languageId=e,this.tokenType=t}},h2=class Zo{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new lo(t,8),this._embeddedLanguagesMatcher=new d2(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?Zo._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new lo(0,0);_getBasicScopeAttributes=new Zu(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new lo(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(Zo.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!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},d2=class{values;scopesRegExp;constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>Yu(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},al=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function of(e,t,n,r,s,o,i,a){const l=t.content.length;let u=!1,c=-1;if(i){const d=p2(e,t,n,r,s,o);s=d.stack,r=d.linePos,n=d.isFirstLine,c=d.anchorPosition}const f=Date.now();for(;!u;){if(a!==0&&Date.now()-f>a)return new al(s,!0);h()}return new al(s,!1);function h(){const d=g2(e,t,n,r,s,c);if(!d){o.produce(s,l),u=!0;return}const p=d.captureIndices,g=d.matchedRuleId,C=p&&p.length>0?p[0].end>r:!1;if(g===c2){const _=s.getRule(e);o.produce(s,p[0].start),s=s.withContentNameScopesList(s.nameScopesList),Zn(e,t,n,s,o,_.endCaptures,p),o.produce(s,p[0].end);const x=s;if(s=s.parent,c=x.getAnchorPos(),!C&&x.getEnterPos()===r){s=x,o.produce(s,l),u=!0;return}}else{const _=e.getRule(g);o.produce(s,p[0].start);const x=s,m=_.getName(t.content,p),w=s.contentNameScopesList.pushAttributed(m,e);if(s=s.push(g,r,c,p[0].end===l,null,w,w),_ instanceof Yo){const y=_;Zn(e,t,n,s,o,y.beginCaptures,p),o.produce(s,p[0].end),c=p[0].end;const k=y.getContentName(t.content,p),M=w.pushAttributed(k,e);if(s=s.withContentNameScopesList(M),y.endHasBackReferences&&(s=s.withEndRule(y.getEndWithResolvedBackReferences(t.content,p))),!C&&x.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),u=!0;return}}else if(_ instanceof hs){const y=_;Zn(e,t,n,s,o,y.beginCaptures,p),o.produce(s,p[0].end),c=p[0].end;const k=y.getContentName(t.content,p),M=w.pushAttributed(k,e);if(s=s.withContentNameScopesList(M),y.whileHasBackReferences&&(s=s.withEndRule(y.getWhileWithResolvedBackReferences(t.content,p))),!C&&x.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),u=!0;return}}else if(Zn(e,t,n,s,o,_.captures,p),o.produce(s,p[0].end),s=s.pop(),!C){s=s.safePop(),o.produce(s,l),u=!0;return}}p[0].end>r&&(r=p[0].end,n=!1)}}function p2(e,t,n,r,s,o){let i=s.beginRuleCapturedEOL?0:-1;const a=[];for(let l=s;l;l=l.pop()){const u=l.getRule(e);u instanceof hs&&a.push({rule:u,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:u,findOptions:c}=b2(l.rule,e,l.stack.endRule,n,r===i),f=u.findNextMatchSync(t,r,c);if(f){if(f.ruleId!==nf){s=l.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(o.produce(l.stack,f.captureIndices[0].start),Zn(e,t,n,l.stack,o,l.rule.whileCaptures,f.captureIndices),o.produce(l.stack,f.captureIndices[0].end),i=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{s=l.stack.pop();break}}return{stack:s,linePos:r,anchorPosition:i,isFirstLine:n}}function g2(e,t,n,r,s,o){const i=m2(e,t,n,r,s,o),a=e.getInjections();if(a.length===0)return i;const l=y2(a,e,t,n,r,s,o);if(!l)return i;if(!i)return l;const u=i.captureIndices[0].start,c=l.captureIndices[0].start;return c<u||l.priorityMatch&&c===u?l:i}function m2(e,t,n,r,s,o){const i=s.getRule(e),{ruleScanner:a,findOptions:l}=af(i,e,s.endRule,n,r===o),u=a.findNextMatchSync(t,r,l);return u?{captureIndices:u.captureIndices,matchedRuleId:u.ruleId}:null}function y2(e,t,n,r,s,o,i){let a=Number.MAX_VALUE,l=null,u,c=0;const f=o.contentNameScopesList.getScopeNames();for(let h=0,d=e.length;h<d;h++){const p=e[h];if(!p.matcher(f))continue;const g=t.getRule(p.ruleId),{ruleScanner:C,findOptions:_}=af(g,t,null,r,s===i),x=C.findNextMatchSync(n,s,_);if(!x)continue;const m=x.captureIndices[0].start;if(!(m>=a)&&(a=m,l=x.captureIndices,u=x.ruleId,c=p.priority,a===s))break}return l?{priorityMatch:c===-1,captureIndices:l,matchedRuleId:u}:null}function af(e,t,n,r,s){return{ruleScanner:e.compileAG(t,n,r,s),findOptions:0}}function b2(e,t,n,r,s){return{ruleScanner:e.compileWhileAG(t,n,r,s),findOptions:0}}function Zn(e,t,n,r,s,o,i){if(o.length===0)return;const a=t.content,l=Math.min(o.length,i.length),u=[],c=i[0].end;for(let f=0;f<l;f++){const h=o[f];if(h===null)continue;const d=i[f];if(d.length===0)continue;if(d.start>c)break;for(;u.length>0&&u[u.length-1].endPos<=d.start;)s.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop();if(u.length>0?s.produceFromScopes(u[u.length-1].scopes,d.start):s.produce(r,d.start),h.retokenizeCapturedWithRuleId){const g=h.getName(a,i),C=r.contentNameScopesList.pushAttributed(g,e),_=h.getContentName(a,i),x=C.pushAttributed(_,e),m=r.push(h.retokenizeCapturedWithRuleId,d.start,-1,!1,null,C,x),w=e.createOnigString(a.substring(0,d.end));of(e,w,n&&d.start===0,d.start,m,s,!1,0),ef(w);continue}const p=h.getName(a,i);if(p!==null){const C=(u.length>0?u[u.length-1].scopes:r.contentNameScopesList).pushAttributed(p,e);u.push(new w2(C,d.end))}}for(;u.length>0;)s.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}var w2=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function _2(e,t,n,r,s,o,i,a){return new C2(e,t,n,r,s,o,i,a)}function ll(e,t,n,r,s){const o=us(t,ds),i=rf.getCompiledRuleId(n,r,s.repository);for(const a of o)e.push({debugSelector:t,matcher:a.matcher,ruleId:i,grammar:s,priority:a.priority})}function ds(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let s=n;s<t.length;s++)if(v2(t[s],r))return n=s+1,!0;return!1})}function v2(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]==="."}var C2=class{constructor(e,t,n,r,s,o,i,a){if(this._rootScopeName=e,this.balancedBracketSelectors=o,this._onigLib=a,this._basicScopeAttributesProvider=new h2(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=i,this._grammar=cl(t,null),this._injections=null,this._tokenTypeMatchers=[],s)for(const l of Object.keys(s)){const u=us(l,ds);for(const c of u)this._tokenTypeMatchers.push({matcher:c.matcher,type:s[l]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:s=>s===this._rootScopeName?this._grammar:this.getExternalGrammar(s),injections:s=>this._grammarRepository.injections(s)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const s=r.injections;if(s)for(let i in s)ll(t,i,s[i],this,r);const o=this._grammarRepository.injections(n);o&&o.forEach(i=>{const a=this.getExternalGrammar(i);if(a){const l=a.injectionSelector;l&&ll(t,l,a,this,a)}})}return t.sort((s,o)=>s.priority-o.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=cl(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){const r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=rf.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let s;if(!t||t===Jo.NULL){s=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),c=this.themeProvider.getDefaults(),f=Dn.set(0,u.languageId,u.tokenType,null,c.fontStyle,c.foregroundId,c.backgroundId),h=this.getRule(this._rootId).getName(null,null);let d;h?d=sr.createRootAndLookUpScopeName(h,f,this):d=sr.createRoot("unknown",f),t=new Jo(null,this._rootId,-1,-1,!1,null,d,d)}else s=!1,t.reset();e=e+`
|
|
6
6
|
`;const o=this.createOnigString(e),i=o.content.length,a=new S2(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=of(this,o,s,0,t,a,!0,r);return ef(o),{lineLength:i,lineTokens:a,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function cl(e,t){return e=Ug(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}var sr=class dt{constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,s=t?.scopePath??null;for(const o of n)s=ao.push(s,o.scopeNames),r=new dt(r,s,o.encodedTokenAttributes);return r}static createRoot(t,n){return new dt(null,new ao(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const s=r.getMetadataForScope(t),o=new ao(null,t),i=r.themeProvider.themeMatch(o),a=dt.mergeAttributes(n,s,i);return new dt(null,o,a)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return dt.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 s=-1,o=0,i=0;return r!==null&&(s=r.fontStyle,o=r.foregroundId,i=r.backgroundId),Dn.set(t,n.languageId,n.tokenType,null,s,o,i)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return dt._pushAttributed(this,t,n);const r=t.split(/ /g);let s=this;for(const o of r)s=dt._pushAttributed(s,o,n);return s}static _pushAttributed(t,n,r){const s=r.getMetadataForScope(n),o=t.scopePath.push(n),i=r.themeProvider.themeMatch(o),a=dt.mergeAttributes(t.tokenAttributes,s,i);return new dt(t,o,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===t?n.reverse():void 0}},Jo=class Kt{constructor(t,n,r,s,o,i,a,l){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=o,this.endRule=i,this.nameScopesList=a,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=s}_stackElementBrand=void 0;static NULL=new Kt(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:Kt._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?sr.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(){Kt._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,s,o,i,a){return new Kt(this,t,n,r,s,o,i,a)}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){return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.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 Kt(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(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){const r=sr.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new Kt(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,sr.fromExtension(r,n.contentNameScopesList))}},x2=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):us(n,ds).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>us(n,ds).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},S2=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let r=e?.tokenAttributes??0,s=!1;if(this.balancedBracketSelectors?.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=e?.getScopeNames()??[];for(const i of this._tokenTypeOverrides)i.matcher(o)&&(r=Dn.set(r,0,i.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(o))}if(s&&(r=Dn.set(r,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(r),this._lastTokenEndIndex=t;return}const n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,s=this._binaryTokens.length;r<s;r++)n[r]=this._binaryTokens[r];return n}},k2=class{constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,s){if(!this._grammars.has(e)){let o=this._rawGrammars.get(e);if(!o)return null;this._grammars.set(e,_2(e,o,t,n,r,s,this,this._onigLib))}return this._grammars.get(e)}},E2=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new k2(cs.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(cs.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 x2(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,s,o){const i=new t2(this._syncRegistry,t);for(;i.Q.length>0;)i.Q.map(a=>this._loadSingleGrammar(a.scopeName)),i.processQueue();return this._grammarForScopeName(t,n,r,s,o)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const n=this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(t,n=[],r=0,s=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,r,s)}_grammarForScopeName(t,n=0,r=null,s=null,o=null){return this._syncRegistry.grammarForScopeName(t,n,r,s,o)}},Qo=Jo.NULL;const A2=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Cr{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Cr.prototype.normal={};Cr.prototype.property={};Cr.prototype.space=void 0;function lf(e,t){const n={},r={};for(const s of e)Object.assign(n,s.property),Object.assign(r,s.normal);return new Cr(n,r,t)}function ei(e){return e.toLowerCase()}class We{constructor(t,n){this.attribute=n,this.property=t}}We.prototype.attribute="";We.prototype.booleanish=!1;We.prototype.boolean=!1;We.prototype.commaOrSpaceSeparated=!1;We.prototype.commaSeparated=!1;We.prototype.defined=!1;We.prototype.mustUseProperty=!1;We.prototype.number=!1;We.prototype.overloadedBoolean=!1;We.prototype.property="";We.prototype.spaceSeparated=!1;We.prototype.space=void 0;let R2=0;const ne=cn(),ve=cn(),ti=cn(),I=cn(),pe=cn(),Tn=cn(),Ke=cn();function cn(){return 2**++R2}const ni=Object.freeze(Object.defineProperty({__proto__:null,boolean:ne,booleanish:ve,commaOrSpaceSeparated:Ke,commaSeparated:Tn,number:I,overloadedBoolean:ti,spaceSeparated:pe},Symbol.toStringTag,{value:"Module"})),co=Object.keys(ni);class Ui extends We{constructor(t,n,r,s){let o=-1;if(super(t,n),ul(this,"space",s),typeof r=="number")for(;++o<co.length;){const i=co[o];ul(this,co[o],(r&ni[i])===ni[i])}}}Ui.prototype.defined=!0;function ul(e,t,n){n&&(e[t]=n)}function jn(e){const t={},n={};for(const[r,s]of Object.entries(e.properties)){const o=new Ui(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[ei(r)]=r,n[ei(o.attribute)]=r}return new Cr(t,n,e.space)}const cf=jn({properties:{ariaActiveDescendant:null,ariaAtomic:ve,ariaAutoComplete:null,ariaBusy:ve,ariaChecked:ve,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:pe,ariaCurrent:null,ariaDescribedBy:pe,ariaDetails:null,ariaDisabled:ve,ariaDropEffect:pe,ariaErrorMessage:null,ariaExpanded:ve,ariaFlowTo:pe,ariaGrabbed:ve,ariaHasPopup:null,ariaHidden:ve,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:pe,ariaLevel:I,ariaLive:null,ariaModal:ve,ariaMultiLine:ve,ariaMultiSelectable:ve,ariaOrientation:null,ariaOwns:pe,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:ve,ariaReadOnly:ve,ariaRelevant:null,ariaRequired:ve,ariaRoleDescription:pe,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:ve,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function uf(e,t){return t in e?e[t]:t}function ff(e,t){return uf(e,t.toLowerCase())}const T2=jn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Tn,acceptCharset:pe,accessKey:pe,action:null,allow:null,allowFullScreen:ne,allowPaymentRequest:ne,allowUserMedia:ne,alt:null,as:null,async:ne,autoCapitalize:null,autoComplete:pe,autoFocus:ne,autoPlay:ne,blocking:pe,capture:null,charSet:null,checked:ne,cite:null,className:pe,cols:I,colSpan:null,content:null,contentEditable:ve,controls:ne,controlsList:pe,coords:I|Tn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ne,defer:ne,dir:null,dirName:null,disabled:ne,download:ti,draggable:ve,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ne,formTarget:null,headers:pe,height:I,hidden:ti,high:I,href:null,hrefLang:null,htmlFor:pe,httpEquiv:pe,id:null,imageSizes:null,imageSrcSet:null,inert:ne,inputMode:null,integrity:null,is:null,isMap:ne,itemId:null,itemProp:pe,itemRef:pe,itemScope:ne,itemType:pe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ne,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:ne,muted:ne,name:null,nonce:null,noModule:ne,noValidate:ne,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:ne,optimum:I,pattern:null,ping:pe,placeholder:null,playsInline:ne,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ne,referrerPolicy:null,rel:pe,required:ne,reversed:ne,rows:I,rowSpan:I,sandbox:pe,scope:null,scoped:ne,seamless:ne,selected:ne,shadowRootClonable:ne,shadowRootDelegatesFocus:ne,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:ve,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:ne,useMap:null,value:ve,width:I,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:pe,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:ne,declare:ne,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:ne,noHref:ne,noShade:ne,noWrap:ne,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:ve,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:ne,disableRemotePlayback:ne,prefix:null,property:null,results:I,security:null,unselectable:null},space:"html",transform:ff}),P2=jn({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"},properties:{about:Ke,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:pe,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:ne,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:Tn,g2:Tn,glyphName:Tn,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:Ke,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:pe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ke,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ke,rev:Ke,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ke,requiredFeatures:Ke,requiredFonts:Ke,requiredFormats:Ke,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:Ke,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:Ke,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:Ke,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},space:"svg",transform:uf}),hf=jn({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),df=jn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ff}),pf=jn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),M2=/[A-Z]/g,fl=/-[a-z]/g,L2=/^data[-\w.:]+$/i;function I2(e,t){const n=ei(t);let r=t,s=We;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&L2.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(fl,O2);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!fl.test(o)){let i=o.replace(M2,N2);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}s=Ui}return new s(r,t)}function N2(e){return"-"+e.toLowerCase()}function O2(e){return e.charAt(1).toUpperCase()}const B2=lf([cf,T2,hf,df,pf],"html"),gf=lf([cf,P2,hf,df,pf],"svg"),hl={}.hasOwnProperty;function F2(e,t){const n=t||{};function r(s,...o){let i=r.invalid;const a=r.handlers;if(s&&hl.call(s,e)){const l=String(s[e]);i=hl.call(a,l)?a[l]:r.unknown}if(i)return i.call(this,s,...o)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const D2=/["&'<>`]/g,H2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,j2=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,U2=/[|\\{}()[\]^$+*?.]/g,dl=new WeakMap;function G2(e,t){if(e=e.replace(t.subset?$2(t.subset):D2,r),t.subset||t.escapeOnly)return e;return e.replace(H2,n).replace(j2,r);function n(s,o,i){return t.format((s.charCodeAt(0)-55296)*1024+s.charCodeAt(1)-56320+65536,i.charCodeAt(o+2),t)}function r(s,o,i){return t.format(s.charCodeAt(0),i.charCodeAt(o+1),t)}}function $2(e){let t=dl.get(e);return t||(t=z2(e),dl.set(e,t)),t}function z2(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(U2,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const W2=/[\dA-Fa-f]/;function V2(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!W2.test(String.fromCharCode(t))?r:r+";"}const q2=/\d/;function K2(e,t,n){const r="&#"+String(e);return n&&t&&!q2.test(String.fromCharCode(t))?r:r+";"}const X2=["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"],uo={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:"€"},Y2=["cent","copy","divide","gt","lt","not","para","times"],mf={}.hasOwnProperty,ri={};let Or;for(Or in uo)mf.call(uo,Or)&&(ri[uo[Or]]=Or);const Z2=/[^\dA-Za-z]/;function J2(e,t,n,r){const s=String.fromCharCode(e);if(mf.call(ri,s)){const o=ri[s],i="&"+o;return n&&X2.includes(o)&&!Y2.includes(o)&&(!r||t&&t!==61&&Z2.test(String.fromCharCode(t)))?i:i+";"}return""}function Q2(e,t,n){let r=V2(e,t,n.omitOptionalSemicolons),s;if((n.useNamedReferences||n.useShortestReferences)&&(s=J2(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!s)&&n.useShortestReferences){const o=K2(e,t,n.omitOptionalSemicolons);o.length<r.length&&(r=o)}return s&&(!n.useShortestReferences||s.length<r.length)?s:r}function Pn(e,t){return G2(e,Object.assign({format:Q2},t))}const em=/^>|^->|<!--|-->|--!>|<!-$/g,tm=[">"],nm=["<",">"];function rm(e,t,n,r){return r.settings.bogusComments?"<?"+Pn(e.value,Object.assign({},r.settings.characterReferences,{subset:tm}))+">":"<!--"+e.value.replace(em,s)+"-->";function s(o){return Pn(o,Object.assign({},r.settings.characterReferences,{subset:nm}))}}function sm(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function pl(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,s=n.indexOf(t);for(;s!==-1;)r++,s=n.indexOf(t,s+t.length);return r}function om(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function im(e){return e.join(" ").trim()}const am=/[ \t\n\f\r]/g;function Gi(e){return typeof e=="object"?e.type==="text"?gl(e.value):!1:gl(e)}function gl(e){return e.replace(am,"")===""}const xe=bf(1),yf=bf(-1),lm=[];function bf(e){return t;function t(n,r,s){const o=n?n.children:lm;let i=(r||0)+e,a=o[i];if(!s)for(;a&&Gi(a);)i+=e,a=o[i];return a}}const cm={}.hasOwnProperty;function wf(e){return t;function t(n,r,s){return cm.call(e,n.tagName)&&e[n.tagName](n,r,s)}}const $i=wf({body:fm,caption:fo,colgroup:fo,dd:gm,dt:pm,head:fo,html:um,li:dm,optgroup:mm,option:ym,p:hm,rp:ml,rt:ml,tbody:wm,td:yl,tfoot:_m,th:yl,thead:bm,tr:vm});function fo(e,t,n){const r=xe(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Gi(r.value.charAt(0)))}function um(e,t,n){const r=xe(n,t);return!r||r.type!=="comment"}function fm(e,t,n){const r=xe(n,t);return!r||r.type!=="comment"}function hm(e,t,n){const r=xe(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 dm(e,t,n){const r=xe(n,t);return!r||r.type==="element"&&r.tagName==="li"}function pm(e,t,n){const r=xe(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function gm(e,t,n){const r=xe(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function ml(e,t,n){const r=xe(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function mm(e,t,n){const r=xe(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function ym(e,t,n){const r=xe(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function bm(e,t,n){const r=xe(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function wm(e,t,n){const r=xe(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function _m(e,t,n){return!xe(n,t)}function vm(e,t,n){const r=xe(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function yl(e,t,n){const r=xe(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const Cm=wf({body:km,colgroup:Em,head:Sm,html:xm,tbody:Am});function xm(e){const t=xe(e,-1);return!t||t.type!=="comment"}function Sm(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function km(e){const t=xe(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Gi(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Em(e,t,n){const r=yf(n,t),s=xe(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&$i(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="col")}function Am(e,t,n){const r=yf(n,t),s=xe(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&$i(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="tr")}const Br={name:[[`
|
|
7
7
|
\f\r &/=>`.split(""),`
|
|
@@ -159,4 +159,4 @@ XID_Start XIDS`.split(/\s/).map(e=>[Ds(e),e])),O4=new Map([["s",Ce(383)],[Ce(383
|
|
|
159
159
|
}`:`interface ScriptInstance {
|
|
160
160
|
${y.join(`
|
|
161
161
|
`)}
|
|
162
|
-
}`}function d(w){if(!w||typeof w!="object"){s.value={};return}s.value=Object.fromEntries(Object.entries({...w}).map(([y,k])=>{if(k.registry=r.find(N=>p(N.label)===k.registryKey),k.registry){const N=k.registry.label.toLowerCase().replace(/ /g,"-");k.docs=`https://scripts.nuxt.com/scripts/${k.registry.category}/${N}`}const M=k.events?.find(N=>N.status==="loading")?.at||0,G=k.events?.find(N=>N.status==="loaded")?.at||0;M&&G&&(k.loadTime=A5(G-M));const z=k.src;return!o[z]&&k.src&&R5(k.src).then(N=>{N.size&&(o[z]=N.size,k.size=N.size),N.error&&(i[z]=N.error,k.error=N.error)}),[y,k]}))}function p(w){return w.replace(/([\s_-])+/g," ").split(" ").map((y,k)=>k===0?y.toLowerCase():y.charAt(0).toUpperCase()+y.slice(1).toLowerCase()).join("")}const g=$e(null),C=$e(null);x5(async w=>{Qf.value=w.devtools,w.host.nuxt.hooks.hook("scripts:updated",y=>{d(y.scripts)}),g.value=w.host.nuxt.$config.public["nuxt-scripts"].version,C.value=w.host.nuxt.$config.public["nuxt-scripts-status"]||null,d(w.host.nuxt._scripts||{})});const _=$e("scripts");function x(w){return!w||!C.value?.enabled?!1:C.value.scripts.includes(w)}function m(w){_.value="docs",setTimeout(()=>{const y=document.querySelector("iframe");y&&(y.src=w)},100)}return(w,y)=>{const k=Sg,M=Wu,G=Ao("VTooltip"),z=Eg,N=Ag,te=Mg,J=Og,re=Dg,oe=v5;return H(),W("div",M5,[L("header",L5,[L("div",I5,[L("div",N5,[L("h1",O5,[y[1]||(y[1]=Xd('<a href="https://scripts.nuxt.com" target="_blank" class="flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"><svg height="22" color="text-black dark:text-white" viewBox="0 0 1467 238" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z" fill="currentColor"></path><path d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z" fill="currentColor"></path><path d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z" fill="currentColor"></path><path d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z" fill="currentColor"></path><path d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z" fill="#00DC82"></path><path d="M893.083 200C882.767 200 873.691 198.288 865.856 194.368C858.021 190.319 851.818 184.701 847.248 177.516C842.808 170.2 840.392 161.708 840 152.041H868.207C868.86 159.096 871.341 164.648 875.65 168.698C880.09 172.747 885.901 174.772 893.083 174.772C899.743 174.772 905.032 173.401 908.95 170.657C912.998 167.914 915.022 163.995 915.022 158.9C915.022 155.372 913.847 152.564 911.496 150.473C909.276 148.252 906.468 146.554 903.073 145.378C899.678 144.203 894.846 142.831 888.578 141.263C879.307 139.042 871.667 136.691 865.66 134.209C859.784 131.596 854.691 127.481 850.382 121.863C846.072 116.245 843.918 108.538 843.918 98.7396C843.918 91.2931 845.942 84.6305 849.99 78.7516C854.038 72.8728 859.653 68.3004 866.836 65.0344C874.018 61.6377 882.179 59.9394 891.32 59.9394C901.114 59.9394 909.733 61.7031 917.177 65.2303C924.751 68.7576 930.627 73.7873 934.806 80.3193C939.115 86.8514 941.4 94.4285 941.662 103.051H913.651C913.128 97.5639 910.908 93.2527 906.991 90.1174C903.073 86.8513 897.85 85.2183 891.32 85.2183C885.575 85.2183 881.004 86.4594 877.609 88.9416C874.214 91.4238 872.516 94.6898 872.516 98.7396C872.516 102.528 873.691 105.533 876.042 107.754C878.392 109.975 881.396 111.738 885.052 113.045C888.709 114.221 893.736 115.527 900.135 116.964C909.537 119.185 917.177 121.471 923.053 123.823C928.929 126.174 933.957 130.159 938.136 135.776C942.445 141.263 944.6 148.84 944.6 158.508C944.6 166.999 942.445 174.38 938.136 180.651C933.826 186.922 927.754 191.756 919.919 195.152C912.214 198.549 903.269 200 893.083 200Z" fill="#00DC82"></path><path d="M1005.43 200C995.507 200 986.519 198.026 978.684 193.585C970.98 189.143 964.973 183.068 960.663 175.36C956.485 167.522 954.395 158.834 954.395 149.298C954.395 139.761 956.485 131.138 960.663 123.431C964.973 115.592 970.98 109.452 978.684 105.01C986.519 100.569 995.399 98.3477 1005.32 98.3477C1013.94 98.3477 1021.78 99.9807 1028.83 103.247C1036.01 106.513 1041.76 111.085 1046.07 116.964C1050.51 122.843 1052.99 129.505 1053.51 136.952H1026.09C1025.3 132.51 1023.02 128.852 1019.23 125.978C1015.44 123.104 1011.07 121.667 1006.11 121.667C998.925 121.667 993.245 124.215 989.066 129.31C984.887 134.404 982.798 141.067 982.798 149.298C982.798 157.528 984.887 164.191 989.066 169.285C993.375 174.25 999.186 176.732 1006.5 176.732C1011.46 176.732 1015.77 175.36 1019.43 172.617C1023.08 169.873 1025.43 166.281 1026.48 161.839H1054.29C1053.38 169.024 1050.64 175.556 1046.07 181.435C1041.5 187.314 1035.62 191.952 1028.44 195.348C1021.39 198.614 1013.79 200 1005.43 200Z" fill="#00DC82"></path><path d="M1115.15 122.647C1108.62 122.647 1103.72 125.129 1100.46 130.093C1097.2 135.058 1095.56 141.916 1095.56 150.669V200H1068.14V99.9154H1095.56V116.376C1098.17 110.367 1101.37 106.121 1105.16 103.639C1109.08 101.156 1114.11 99.9154 1120.24 99.9154H1131.41V122.647H1115.15Z" fill="#00DC82"></path><path d="M1171.5 200H1144.08V99.9154H1171.5V200ZM1143.3 85.8062V58H1172.29V85.8062H1143.3Z" fill="#00DC82"></path><path d="M1193.09 238V99.9154H1220.32V110.693C1223.32 106.774 1227.24 103.769 1232.07 101.679C1236.9 99.4582 1242.45 98.3477 1248.72 98.3477C1257.86 98.3477 1265.82 100.438 1272.62 104.618C1279.41 108.799 1284.63 114.743 1288.29 122.451C1292.07 130.159 1293.97 139.108 1293.97 149.298C1293.97 159.487 1291.94 168.436 1287.89 176.144C1283.98 183.721 1278.43 189.665 1271.24 193.977C1264.06 198.157 1255.73 200 1246.33 200C1240.72 200 1235.66 199.333 1231.09 197.504C1226.52 195.675 1222.93 193.127 1220.32 189.861V238H1193.09ZM1243.04 176.732C1250.22 176.732 1256.03 174.25 1260.47 169.285C1264.91 164.191 1267.13 157.528 1267.13 149.298C1267.13 140.937 1264.91 134.274 1260.47 129.31C1256.03 124.215 1250.22 121.667 1243.04 121.667C1235.72 121.667 1229.85 124.215 1225.41 129.31C1220.97 134.274 1218.75 140.937 1218.75 149.298C1218.75 157.528 1220.97 164.191 1225.41 169.285C1229.85 174.25 1235.72 176.732 1243.04 176.732Z" fill="#00DC82"></path><path d="M1319.6 70.7172H1346.83V99.9154H1373.27V122.647H1346.83V163C1346.83 172.406 1351.46 177.109 1360.74 177.109H1373.27V200.037H1357.01C1345.52 200.037 1336.38 196.901 1329.59 190.63C1322.93 184.36 1319.6 175.541 1319.6 164.176V122.647H1300.6V99.9154H1319.6V70.7172Z" fill="#00DC82"></path><path d="M1428.61 200C1416.46 200 1406.6 197.112 1399.03 190.841C1391.59 184.44 1387.6 175.948 1387.08 165.366H1410.59C1411.11 169.808 1412.94 173.335 1416.07 175.948C1419.34 178.43 1423.51 179.671 1428.61 179.671C1432.79 179.671 1436.18 178.757 1438.79 176.928C1441.54 175.099 1442.91 172.813 1442.91 170.069C1442.91 166.411 1441.34 163.864 1438.21 162.427C1435.07 160.99 1430.11 159.683 1423.32 158.508C1416.27 157.201 1410.52 155.764 1406.08 154.197C1401.64 152.629 1397.79 149.82 1394.52 145.77C1391.39 141.59 1389.82 135.711 1389.82 128.134C1389.82 122.386 1391.33 117.291 1394.33 112.849C1397.46 108.276 1401.71 104.749 1407.06 102.267C1412.41 99.6541 1418.42 98.3477 1425.08 98.3477C1436.97 98.3477 1446.56 101.287 1453.88 107.166C1461.32 113.045 1465.3 120.818 1465.82 130.485H1442.12C1441.6 126.435 1439.71 123.3 1436.44 121.079C1433.31 118.728 1429.78 117.552 1425.87 117.552C1421.95 117.552 1418.81 118.401 1416.46 120.099C1414.11 121.798 1412.94 124.149 1412.94 127.154C1412.94 130.812 1414.44 133.294 1417.44 134.6C1420.58 135.776 1425.47 136.821 1432.13 137.736C1439.32 138.781 1445.19 140.087 1449.76 141.655C1454.46 143.092 1458.51 145.966 1461.91 150.277C1465.3 154.588 1467 160.859 1467 169.09C1467 178.496 1463.47 186.073 1456.42 191.821C1449.5 197.439 1440.23 200 1428.61 200Z" fill="#00DC82"></path></svg></a>',1)),X(k,{class:"text-sm"},{default:Fe(()=>[_e(" v"+ie(q(g)||""),1)]),_:1})])]),L("div",B5,[L("fieldset",F5,[(H(),W(me,null,It(["scripts","first-party","registry","docs"],(E,j)=>L("label",{key:j,class:Le(["relative n-border-base hover:n-bg-active cursor-pointer",[j?"border-l n-border-base ml--1px":"",E===q(_)?"n-bg-active":""]])},[E==="scripts"?(H(),W("div",{key:0,class:Le([E===q(_)?"":"op35"])},[X(G,null,{popper:Fe(()=>[...y[2]||(y[2]=[_e(" Scripts ",-1)])]),default:Fe(()=>[L("div",D5,[L("h2",H5,[X(M,{icon:"carbon:script opacity-50"})])])]),_:1})],2)):E==="first-party"?(H(),W("div",{key:1,class:Le([E===q(_)?"":"op35"])},[X(G,null,{popper:Fe(()=>[...y[3]||(y[3]=[_e(" First-Party Mode ",-1)])]),default:Fe(()=>[L("div",j5,[L("h2",U5,[X(M,{icon:"carbon:security opacity-50"})])])]),_:1})],2)):E==="registry"?(H(),W("div",{key:2,class:Le([E===q(_)?"":"op35"])},[X(G,null,{popper:Fe(()=>[...y[4]||(y[4]=[_e(" Registry ",-1)])]),default:Fe(()=>[L("div",G5,[L("h2",$5,[X(M,{icon:"carbon:catalog opacity-50"})])])]),_:1})],2)):E==="docs"?(H(),W("div",{key:3,class:Le([E===q(_)?"":"op35"])},[X(G,null,{popper:Fe(()=>[...y[5]||(y[5]=[_e(" Documentation ",-1)])]),default:Fe(()=>[L("div",z5,[L("h2",W5,[X(M,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):Be("",!0),Yh(L("input",{"onUpdate:modelValue":y[0]||(y[0]=B=>we(_)?_.value=B:null),type:"radio",value:E,title:E,class:"absolute cursor-pointer inset-0 op-0.1"},null,8,V5),[[kp,q(_)]])],2)),64))])]),L("div",q5,[L("div",K5,[X(z,{href:"https://github.com/nuxt/scripts",target:"_blank"},{default:Fe(()=>[X(M,{icon:"logos:github-icon",class:"mr-[2px]"}),y[6]||(y[6]=_e(" Submit an issue ",-1))]),_:1})])])])]),L("div",X5,[L("main",Y5,[q(_)==="scripts"?(H(),W("div",Z5,[Object.keys(q(s)||{}).length?Be("",!0):(H(),W("div",J5,[...y[7]||(y[7]=[L("div",null,"No scripts loaded.",-1)])])),L("div",Q5,[(H(!0),W(me,null,It(q(s),(E,j)=>(H(),W("div",{key:j,class:"w-full"},[L("div",null,[L("div",e6,[L("div",t6,[E.registry?.logo&&typeof E.registry.logo=="string"&&E.registry.logo.startsWith("http")?(H(),W("img",{key:0,class:"flex items-center max-w-6 h-6",src:typeof E.registry.logo=="object"?E.registry.logo.dark||E.registry.logo.light:E.registry.logo,alt:"Script logo"},null,8,n6)):E.registry&&E.registry.logo?(H(),W("div",{key:1,class:"flex items-center max-w-6 h-6",innerHTML:typeof E.registry.logo=="object"?E.registry.logo.dark||E.registry.logo.light:E.registry.logo},null,8,r6)):E.src&&!E.src.startsWith("/")?(H(),W("img",{key:2,src:`https://www.google.com/s2/favicons?domain=${q(E5)(E.src)}`,class:"w-4 h-4 rounded-lg",alt:"Script favicon"},null,8,s6)):(H(),W("div",o6,[X(M,{icon:"carbon:script",class:"text-blue-300"})])),L("a",{title:"View script source",class:"text-base hover:bg-gray-800/50 px-2 transition py-1 rounded-xl font-semibold flex gap-2 items-center",target:"_blank",href:E.src},ie(E.registry?.label||E.key||E.src),9,i6),E.docs?(H(),W("button",{key:4,type:"button",class:"ml-2 opacity-50 hover:opacity-70 transition text-xs underline",onClick:B=>m(E.docs)}," View docs ",8,a6)):Be("",!0)]),L("div",null,[E.$script.status==="awaitingLoad"?(H(),Qe(N,{key:0,onClick:B=>E.$script.load()},{default:Fe(()=>[...y[8]||(y[8]=[_e(" Load ",-1)])]),_:1},8,["onClick"])):E.$script.status==="loaded"?(H(),Qe(N,{key:1,onClick:B=>E.$script.remove()},{default:Fe(()=>[...y[9]||(y[9]=[_e(" Remove ",-1)])]),_:1},8,["onClick"])):Be("",!0)])]),L("div",l6,[X(te,{status:E.$script.status,error:q(i)[E.src]},null,8,["status","error"]),x(E.registryKey)?(H(),W("div",c6,[X(M,{icon:"carbon:security",class:"text-xs"}),y[10]||(y[10]=_e(" First-Party ",-1))])):Be("",!0),X(J,{size:q(o)[E.src]},null,8,["size"]),X(re,{"load-time":E.loadTime},null,8,["load-time"]),E.loadedFrom?(H(),W("div",u6,[y[11]||(y[11]=L("svg",{xmlns:"http://www.w3.org/2000/svg",height:"12",viewBox:"0 0 256 221"},[L("path",{fill:"#41B883",d:"M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0z"}),L("path",{fill:"#41B883",d:"m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0z"}),L("path",{fill:"#35495E",d:"M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0z"})],-1)),L("span",f6,ie(E.loadedFrom),1)])):Be("",!0),(H(!0),W(me,null,It(Object.keys(E.registryMeta||{}),B=>(H(),W("div",{key:B,class:"text-xs text-gray-500"},[L("span",h6,ie(B),1),_e(": "+ie(E.registryMeta[B]),1)]))),128))])]),L("div",d6,[L("fieldset",p6,[(H(),W(me,null,It([{label:"Events",value:"events"},{label:"API",value:"api"}],(B,$)=>L("label",{key:B.value,class:Le(["cursor-pointer flex items-center gap-2 px-4 py-2 transition-all",[$?"border-l n-border-base ml--1px":"",l(E.src)===B.value?"n-bg-active":""]]),onClick:le=>u(E.src,B.value)},[_e(ie(B.label)+" ",1),L("input",{value:B.value,type:"radio",name:`script-tab-${E.src}`,checked:l(E.src)===B.value,class:"sr-only"},null,8,m6)],10,g6)),64))]),L("div",y6,[l(E.src)==="events"?(H(),W("div",b6,[(H(!0),W(me,null,It(E.events,(B,$)=>(H(),W("div",{key:$,class:"flex gap-3 text-xs justify-start items-center"},[L("div",w6,ie(q(k5)(B.at)),1),B.type==="status"?(H(),W(me,{key:0},[B.status==="loaded"?(H(),W("div",_6,ie(B.status),1)):B.status==="awaitingLoad"?(H(),W("div",v6,ie(B.status),1)):B.status==="removed"||B.status==="error"?(H(),W("div",C6,ie(B.status),1)):B.status==="loading"?(H(),W("div",x6,ie(B.status),1)):B.status==="validation-failed"?(H(),W("div",S6,[L("div",k6,ie(B.status),1),_e(" "+ie(B.args.issues.map(le=>`${$}.${le.path?.map(un=>un.key).join(",")}: ${le.message}`).join(",")),1)])):Be("",!0)],64)):B.type==="fn-call"&&B.args?(H(),W("div",E6,ie(`${B.fn}(${B.args?.map(le=>JSON.stringify(le,null,2)).join(", ")||""})`),1)):B.type==="fn-call"&&!B.args?(H(),W("div",A6," QUEUED "+ie(B.fn),1)):Be("",!0)]))),128))])):l(E.src)==="api"?(H(),W("div",R6,[X(oe,{code:h(E.$script?.instance),lang:"typescript",class:"text-sm p-3 rounded"},null,8,["code"])])):Be("",!0)])])]))),128))])])):q(_)==="first-party"?(H(),W("div",T6,[L("div",P6,[L("div",{class:Le(["p-4 rounded-lg",q(C)?.enabled?"bg-emerald-50 dark:bg-emerald-900/30 border border-emerald-200 dark:border-emerald-800":"bg-gray-50 dark:bg-gray-800 border border-gray-200 dark:border-gray-700"])},[L("div",M6,[L("div",{class:Le(["w-10 h-10 rounded-full flex items-center justify-center",q(C)?.enabled?"bg-emerald-100 dark:bg-emerald-900":"bg-gray-200 dark:bg-gray-700"])},[X(M,{icon:q(C)?.enabled?"carbon:checkmark-filled":"carbon:close-filled",class:Le(q(C)?.enabled?"text-emerald-600 dark:text-emerald-400 text-xl":"text-gray-500 text-xl")},null,8,["icon","class"])],2),L("div",null,[L("h3",L6," First-Party Mode "+ie(q(C)?.enabled?"Enabled":"Disabled"),1),L("p",I6,ie(q(C)?.enabled?"Scripts are routed through your domain for improved privacy":"Enable in nuxt.config: scripts.firstParty: true"),1)])])],2),q(C)?.enabled?(H(),W("div",N6,[L("div",O6,[L("div",B6,[L("h4",F6,[X(M,{icon:"carbon:script",class:"opacity-50"}),_e(" Proxied Scripts ("+ie(q(C).scripts.length)+") ",1)])]),L("div",D6,[q(C).scripts.length?(H(),W("div",H6,[(H(!0),W(me,null,It(q(C).scripts,E=>(H(),W("span",{key:E,class:"px-3 py-1 bg-emerald-100 dark:bg-emerald-900/50 text-emerald-700 dark:text-emerald-300 rounded-full text-sm"},ie(E),1))),128))])):(H(),W("div",j6," No scripts configured in registry "))])]),L("div",U6,[L("div",G6,[L("h4",$6,[X(M,{icon:"carbon:arrows-horizontal",class:"opacity-50"}),_e(" Proxy Routes ("+ie(Object.keys(q(C).routes).length)+") ",1)])]),L("div",z6,[(H(!0),W(me,null,It(q(C).routes,(E,j)=>(H(),W("div",{key:j,class:"px-4 py-3 flex items-center gap-3 text-sm font-mono"},[L("span",W6,ie(j),1),X(M,{icon:"carbon:arrow-right",class:"opacity-30"}),L("span",V6,ie(E),1)]))),128))])]),L("div",q6,[L("div",K6,[y[12]||(y[12]=L("div",null,[L("h4",{class:"font-medium"}," Collection Prefix "),L("p",{class:"text-sm text-gray-500"}," Base path for proxy endpoints ")],-1)),L("code",X6,ie(q(C).collectPrefix),1)])])])):Be("",!0),L("div",Y6,[y[17]||(y[17]=L("h4",{class:"font-medium mb-3"}," Privacy Benefits ",-1)),L("ul",Z6,[L("li",J6,[X(M,{icon:"carbon:checkmark",class:"text-emerald-500"}),y[13]||(y[13]=_e(" User IPs stay private (third parties see your server's IP) ",-1))]),L("li",Q6,[X(M,{icon:"carbon:checkmark",class:"text-emerald-500"}),y[14]||(y[14]=_e(" No third-party cookies (requests are same-origin) ",-1))]),L("li",ey,[X(M,{icon:"carbon:checkmark",class:"text-emerald-500"}),y[15]||(y[15]=_e(" Works with ad blockers (requests appear first-party) ",-1))]),L("li",ty,[X(M,{icon:"carbon:checkmark",class:"text-emerald-500"}),y[16]||(y[16]=_e(" Faster loads (no extra DNS lookups) ",-1))])])]),y[18]||(y[18]=L("div",{class:"text-center"},[L("a",{href:"https://scripts.nuxt.com/docs/guides/first-party",target:"_blank",class:"text-sm text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300 underline"}," View First-Party Mode Documentation ")],-1))])])):q(_)==="registry"?(H(),W("div",ny,[!q(r)||!q(r).length?(H(),W("div",ry,[...y[19]||(y[19]=[L("div",null,"No registry scripts available.",-1)])])):Be("",!0),L("div",sy,[(H(!0),W(me,null,It(q(r),(E,j)=>(H(),W("div",{key:j,class:"rounded-lg p-4 hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors"},[L("div",oy,[L("div",iy,[E.logo&&typeof E.logo=="string"&&E.logo.startsWith("http")?(H(),W("img",{key:0,class:"flex items-center max-w-8 h-8",src:typeof E.logo=="object"?E.logo.dark||E.logo.light:E.logo,alt:"Script logo"},null,8,ay)):E.logo?(H(),W("div",{key:1,class:"flex items-center max-w-8 h-8",innerHTML:typeof E.logo=="object"?E.logo.dark||E.logo.light:E.logo},null,8,ly)):(H(),W("div",cy,[X(M,{icon:"carbon:script",class:"text-blue-300 text-2xl"})])),L("div",null,[L("h3",uy,ie(E.label),1),L("p",fy,ie(E.description),1),L("div",hy,[L("span",dy,ie(E.category),1),E.src?(H(),W("span",py,ie(E.src),1)):Be("",!0)])])]),L("div",gy,[L("a",{href:`https://scripts.nuxt.com/scripts/${E.category}/${E.label.toLowerCase().replace(/ /g,"-")}`,target:"_blank",class:"text-sm text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300 underline"}," View docs ",8,my)])]),L("div",yy,[X(oe,{code:`const script = use${E.label.replace(/\s+/g,"")}()`,lang:"typescript",class:"text-sm rounded"},null,8,["code"])])]))),128))])])):q(_)==="docs"?(H(),W("div",by,[...y[20]||(y[20]=[L("iframe",{src:"https://scripts.nuxt.com/docs/getting-started",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1)])])):Be("",!0)])])])}}}),_y={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error,r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,c=s?ga(()=>vn(()=>import("./CD5B-xvT.js"),__vite__mapDeps([0,1,2]),import.meta.url)):ga(()=>vn(()=>import("./DdVDSbUA.js"),__vite__mapDeps([3,1,4]),import.meta.url));return(f,h)=>(H(),Qe(q(c),dh(iu({status:q(r),statusText:q(o),statusCode:q(r),statusMessage:q(o),description:q(i),stack:q(a)})),null,16))}},vy={key:0},zl={__name:"nuxt-root",setup(e){const t=()=>null,n=Ee(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r);wt().beforeEach(u)}const s=!1;Sc(Pu,Oi()),n.hooks.callHookWith(u=>u.map(c=>c()),"vue:setup");const o=Bi(),i=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;Mc((u,c,f)=>{if(n.hooks.callHook("vue:error",u,c,f).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(t0(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>Q1(u)),!1});const l=!1;return(u,c)=>(H(),Qe(Gd,{onResolve:q(r)},{default:Fe(()=>[q(i)?(H(),W("div",vy)):q(o)?(H(),Qe(q(_y),{key:1,error:q(o)},null,8,["error"])):q(l)?(H(),Qe(q(t),{key:2,context:q(l)},null,8,["context"])):q(s)?(H(),Qe(md(q(s)),{key:3})):(H(),Qe(q(wy),{key:4}))]),_:1},8,["onResolve"]))}};let Wl;{let e;Wl=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?Pp(zl):Tp(zl),s=U1({vueApp:r});async function o(i){await s.callHook("app:error",i),s.payload.error||=Fi(i)}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)}),!n&&za.id&&s.hook("app:suspense:resolve",()=>{document.getElementById(za.id)?.remove()});try{await z1(s,wg)}catch(i){o(i)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(D1),await s.hooks.callHook("app:mounted",r),await _c()}catch(i){o(i)}return r},e=Wl().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{_g as _,L as a,X as b,W as c,_e as d,zu as e,Ee as f,Du as g,Ci as h,En as i,H as o,ie as t,xy as u,Fe as w};
|
|
162
|
+
}`}function d(w){if(!w||typeof w!="object"){s.value={};return}s.value=Object.fromEntries(Object.entries({...w}).map(([y,k])=>{if(k.registry=r.find(N=>p(N.label)===k.registryKey),k.registry){const N=k.registry.label.toLowerCase().replace(/ /g,"-");k.docs=`https://scripts.nuxt.com/scripts/${k.registry.category}/${N}`}const M=k.events?.find(N=>N.status==="loading")?.at||0,G=k.events?.find(N=>N.status==="loaded")?.at||0;M&&G&&(k.loadTime=A5(G-M));const z=k.src;return!o[z]&&k.src&&R5(k.src).then(N=>{N.size&&(o[z]=N.size,k.size=N.size),N.error&&(i[z]=N.error,k.error=N.error)}),[y,k]}))}function p(w){return w.replace(/([\s_-])+/g," ").split(" ").map((y,k)=>k===0?y.toLowerCase():y.charAt(0).toUpperCase()+y.slice(1).toLowerCase()).join("")}const g=$e(null),C=$e(null);x5(async w=>{Qf.value=w.devtools,w.host.nuxt.hooks.hook("scripts:updated",y=>{d(y.scripts)}),g.value=w.host.nuxt.$config.public["nuxt-scripts"].version,C.value=w.host.nuxt.$config.public["nuxt-scripts-status"]||null,d(w.host.nuxt._scripts||{})});const _=$e("scripts");function x(w){return!w||!C.value?.enabled?!1:C.value.scripts.includes(w)}function m(w){_.value="docs",setTimeout(()=>{const y=document.querySelector("iframe");y&&(y.src=w)},100)}return(w,y)=>{const k=Sg,M=Wu,G=Ao("VTooltip"),z=Eg,N=Ag,te=Mg,J=Og,re=Dg,oe=v5;return H(),W("div",M5,[L("header",L5,[L("div",I5,[L("div",N5,[L("h1",O5,[y[1]||(y[1]=Xd('<a href="https://scripts.nuxt.com" target="_blank" class="flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"><svg height="22" color="text-black dark:text-white" viewBox="0 0 1467 238" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z" fill="currentColor"></path><path d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z" fill="currentColor"></path><path d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z" fill="currentColor"></path><path d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z" fill="currentColor"></path><path d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z" fill="#00DC82"></path><path d="M893.083 200C882.767 200 873.691 198.288 865.856 194.368C858.021 190.319 851.818 184.701 847.248 177.516C842.808 170.2 840.392 161.708 840 152.041H868.207C868.86 159.096 871.341 164.648 875.65 168.698C880.09 172.747 885.901 174.772 893.083 174.772C899.743 174.772 905.032 173.401 908.95 170.657C912.998 167.914 915.022 163.995 915.022 158.9C915.022 155.372 913.847 152.564 911.496 150.473C909.276 148.252 906.468 146.554 903.073 145.378C899.678 144.203 894.846 142.831 888.578 141.263C879.307 139.042 871.667 136.691 865.66 134.209C859.784 131.596 854.691 127.481 850.382 121.863C846.072 116.245 843.918 108.538 843.918 98.7396C843.918 91.2931 845.942 84.6305 849.99 78.7516C854.038 72.8728 859.653 68.3004 866.836 65.0344C874.018 61.6377 882.179 59.9394 891.32 59.9394C901.114 59.9394 909.733 61.7031 917.177 65.2303C924.751 68.7576 930.627 73.7873 934.806 80.3193C939.115 86.8514 941.4 94.4285 941.662 103.051H913.651C913.128 97.5639 910.908 93.2527 906.991 90.1174C903.073 86.8513 897.85 85.2183 891.32 85.2183C885.575 85.2183 881.004 86.4594 877.609 88.9416C874.214 91.4238 872.516 94.6898 872.516 98.7396C872.516 102.528 873.691 105.533 876.042 107.754C878.392 109.975 881.396 111.738 885.052 113.045C888.709 114.221 893.736 115.527 900.135 116.964C909.537 119.185 917.177 121.471 923.053 123.823C928.929 126.174 933.957 130.159 938.136 135.776C942.445 141.263 944.6 148.84 944.6 158.508C944.6 166.999 942.445 174.38 938.136 180.651C933.826 186.922 927.754 191.756 919.919 195.152C912.214 198.549 903.269 200 893.083 200Z" fill="#00DC82"></path><path d="M1005.43 200C995.507 200 986.519 198.026 978.684 193.585C970.98 189.143 964.973 183.068 960.663 175.36C956.485 167.522 954.395 158.834 954.395 149.298C954.395 139.761 956.485 131.138 960.663 123.431C964.973 115.592 970.98 109.452 978.684 105.01C986.519 100.569 995.399 98.3477 1005.32 98.3477C1013.94 98.3477 1021.78 99.9807 1028.83 103.247C1036.01 106.513 1041.76 111.085 1046.07 116.964C1050.51 122.843 1052.99 129.505 1053.51 136.952H1026.09C1025.3 132.51 1023.02 128.852 1019.23 125.978C1015.44 123.104 1011.07 121.667 1006.11 121.667C998.925 121.667 993.245 124.215 989.066 129.31C984.887 134.404 982.798 141.067 982.798 149.298C982.798 157.528 984.887 164.191 989.066 169.285C993.375 174.25 999.186 176.732 1006.5 176.732C1011.46 176.732 1015.77 175.36 1019.43 172.617C1023.08 169.873 1025.43 166.281 1026.48 161.839H1054.29C1053.38 169.024 1050.64 175.556 1046.07 181.435C1041.5 187.314 1035.62 191.952 1028.44 195.348C1021.39 198.614 1013.79 200 1005.43 200Z" fill="#00DC82"></path><path d="M1115.15 122.647C1108.62 122.647 1103.72 125.129 1100.46 130.093C1097.2 135.058 1095.56 141.916 1095.56 150.669V200H1068.14V99.9154H1095.56V116.376C1098.17 110.367 1101.37 106.121 1105.16 103.639C1109.08 101.156 1114.11 99.9154 1120.24 99.9154H1131.41V122.647H1115.15Z" fill="#00DC82"></path><path d="M1171.5 200H1144.08V99.9154H1171.5V200ZM1143.3 85.8062V58H1172.29V85.8062H1143.3Z" fill="#00DC82"></path><path d="M1193.09 238V99.9154H1220.32V110.693C1223.32 106.774 1227.24 103.769 1232.07 101.679C1236.9 99.4582 1242.45 98.3477 1248.72 98.3477C1257.86 98.3477 1265.82 100.438 1272.62 104.618C1279.41 108.799 1284.63 114.743 1288.29 122.451C1292.07 130.159 1293.97 139.108 1293.97 149.298C1293.97 159.487 1291.94 168.436 1287.89 176.144C1283.98 183.721 1278.43 189.665 1271.24 193.977C1264.06 198.157 1255.73 200 1246.33 200C1240.72 200 1235.66 199.333 1231.09 197.504C1226.52 195.675 1222.93 193.127 1220.32 189.861V238H1193.09ZM1243.04 176.732C1250.22 176.732 1256.03 174.25 1260.47 169.285C1264.91 164.191 1267.13 157.528 1267.13 149.298C1267.13 140.937 1264.91 134.274 1260.47 129.31C1256.03 124.215 1250.22 121.667 1243.04 121.667C1235.72 121.667 1229.85 124.215 1225.41 129.31C1220.97 134.274 1218.75 140.937 1218.75 149.298C1218.75 157.528 1220.97 164.191 1225.41 169.285C1229.85 174.25 1235.72 176.732 1243.04 176.732Z" fill="#00DC82"></path><path d="M1319.6 70.7172H1346.83V99.9154H1373.27V122.647H1346.83V163C1346.83 172.406 1351.46 177.109 1360.74 177.109H1373.27V200.037H1357.01C1345.52 200.037 1336.38 196.901 1329.59 190.63C1322.93 184.36 1319.6 175.541 1319.6 164.176V122.647H1300.6V99.9154H1319.6V70.7172Z" fill="#00DC82"></path><path d="M1428.61 200C1416.46 200 1406.6 197.112 1399.03 190.841C1391.59 184.44 1387.6 175.948 1387.08 165.366H1410.59C1411.11 169.808 1412.94 173.335 1416.07 175.948C1419.34 178.43 1423.51 179.671 1428.61 179.671C1432.79 179.671 1436.18 178.757 1438.79 176.928C1441.54 175.099 1442.91 172.813 1442.91 170.069C1442.91 166.411 1441.34 163.864 1438.21 162.427C1435.07 160.99 1430.11 159.683 1423.32 158.508C1416.27 157.201 1410.52 155.764 1406.08 154.197C1401.64 152.629 1397.79 149.82 1394.52 145.77C1391.39 141.59 1389.82 135.711 1389.82 128.134C1389.82 122.386 1391.33 117.291 1394.33 112.849C1397.46 108.276 1401.71 104.749 1407.06 102.267C1412.41 99.6541 1418.42 98.3477 1425.08 98.3477C1436.97 98.3477 1446.56 101.287 1453.88 107.166C1461.32 113.045 1465.3 120.818 1465.82 130.485H1442.12C1441.6 126.435 1439.71 123.3 1436.44 121.079C1433.31 118.728 1429.78 117.552 1425.87 117.552C1421.95 117.552 1418.81 118.401 1416.46 120.099C1414.11 121.798 1412.94 124.149 1412.94 127.154C1412.94 130.812 1414.44 133.294 1417.44 134.6C1420.58 135.776 1425.47 136.821 1432.13 137.736C1439.32 138.781 1445.19 140.087 1449.76 141.655C1454.46 143.092 1458.51 145.966 1461.91 150.277C1465.3 154.588 1467 160.859 1467 169.09C1467 178.496 1463.47 186.073 1456.42 191.821C1449.5 197.439 1440.23 200 1428.61 200Z" fill="#00DC82"></path></svg></a>',1)),X(k,{class:"text-sm"},{default:Fe(()=>[_e(" v"+ie(q(g)||""),1)]),_:1})])]),L("div",B5,[L("fieldset",F5,[(H(),W(me,null,It(["scripts","first-party","registry","docs"],(E,j)=>L("label",{key:j,class:Le(["relative n-border-base hover:n-bg-active cursor-pointer",[j?"border-l n-border-base ml--1px":"",E===q(_)?"n-bg-active":""]])},[E==="scripts"?(H(),W("div",{key:0,class:Le([E===q(_)?"":"op35"])},[X(G,null,{popper:Fe(()=>[...y[2]||(y[2]=[_e(" Scripts ",-1)])]),default:Fe(()=>[L("div",D5,[L("h2",H5,[X(M,{icon:"carbon:script opacity-50"})])])]),_:1})],2)):E==="first-party"?(H(),W("div",{key:1,class:Le([E===q(_)?"":"op35"])},[X(G,null,{popper:Fe(()=>[...y[3]||(y[3]=[_e(" First-Party Mode ",-1)])]),default:Fe(()=>[L("div",j5,[L("h2",U5,[X(M,{icon:"carbon:security opacity-50"})])])]),_:1})],2)):E==="registry"?(H(),W("div",{key:2,class:Le([E===q(_)?"":"op35"])},[X(G,null,{popper:Fe(()=>[...y[4]||(y[4]=[_e(" Registry ",-1)])]),default:Fe(()=>[L("div",G5,[L("h2",$5,[X(M,{icon:"carbon:catalog opacity-50"})])])]),_:1})],2)):E==="docs"?(H(),W("div",{key:3,class:Le([E===q(_)?"":"op35"])},[X(G,null,{popper:Fe(()=>[...y[5]||(y[5]=[_e(" Documentation ",-1)])]),default:Fe(()=>[L("div",z5,[L("h2",W5,[X(M,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):Be("",!0),Yh(L("input",{"onUpdate:modelValue":y[0]||(y[0]=B=>we(_)?_.value=B:null),type:"radio",value:E,title:E,class:"absolute cursor-pointer inset-0 op-0.1"},null,8,V5),[[kp,q(_)]])],2)),64))])]),L("div",q5,[L("div",K5,[X(z,{href:"https://github.com/nuxt/scripts",target:"_blank"},{default:Fe(()=>[X(M,{icon:"logos:github-icon",class:"mr-[2px]"}),y[6]||(y[6]=_e(" Submit an issue ",-1))]),_:1})])])])]),L("div",X5,[L("main",Y5,[q(_)==="scripts"?(H(),W("div",Z5,[Object.keys(q(s)||{}).length?Be("",!0):(H(),W("div",J5,[...y[7]||(y[7]=[L("div",null,"No scripts loaded.",-1)])])),L("div",Q5,[(H(!0),W(me,null,It(q(s),(E,j)=>(H(),W("div",{key:j,class:"w-full"},[L("div",null,[L("div",e6,[L("div",t6,[E.registry?.logo&&typeof E.registry.logo=="string"&&E.registry.logo.startsWith("http")?(H(),W("img",{key:0,class:"flex items-center max-w-6 h-6",src:typeof E.registry.logo=="object"?E.registry.logo.dark||E.registry.logo.light:E.registry.logo,alt:"Script logo"},null,8,n6)):E.registry&&E.registry.logo?(H(),W("div",{key:1,class:"flex items-center max-w-6 h-6",innerHTML:typeof E.registry.logo=="object"?E.registry.logo.dark||E.registry.logo.light:E.registry.logo},null,8,r6)):E.src&&!E.src.startsWith("/")?(H(),W("img",{key:2,src:`https://www.google.com/s2/favicons?domain=${q(E5)(E.src)}`,class:"w-4 h-4 rounded-lg",alt:"Script favicon"},null,8,s6)):(H(),W("div",o6,[X(M,{icon:"carbon:script",class:"text-blue-300"})])),L("a",{title:"View script source",class:"text-base hover:bg-gray-800/50 px-2 transition py-1 rounded-xl font-semibold flex gap-2 items-center",target:"_blank",href:E.src},ie(E.registry?.label||E.key||E.src),9,i6),E.docs?(H(),W("button",{key:4,type:"button",class:"ml-2 opacity-50 hover:opacity-70 transition text-xs underline",onClick:B=>m(E.docs)}," View docs ",8,a6)):Be("",!0)]),L("div",null,[E.$script.status==="awaitingLoad"?(H(),Qe(N,{key:0,onClick:B=>E.$script.load()},{default:Fe(()=>[...y[8]||(y[8]=[_e(" Load ",-1)])]),_:1},8,["onClick"])):E.$script.status==="loaded"?(H(),Qe(N,{key:1,onClick:B=>E.$script.remove()},{default:Fe(()=>[...y[9]||(y[9]=[_e(" Remove ",-1)])]),_:1},8,["onClick"])):Be("",!0)])]),L("div",l6,[X(te,{status:E.$script.status,error:q(i)[E.src]},null,8,["status","error"]),x(E.registryKey)?(H(),W("div",c6,[X(M,{icon:"carbon:security",class:"text-xs"}),y[10]||(y[10]=_e(" First-Party ",-1))])):Be("",!0),X(J,{size:q(o)[E.src]},null,8,["size"]),X(re,{"load-time":E.loadTime},null,8,["load-time"]),E.loadedFrom?(H(),W("div",u6,[y[11]||(y[11]=L("svg",{xmlns:"http://www.w3.org/2000/svg",height:"12",viewBox:"0 0 256 221"},[L("path",{fill:"#41B883",d:"M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0z"}),L("path",{fill:"#41B883",d:"m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0z"}),L("path",{fill:"#35495E",d:"M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0z"})],-1)),L("span",f6,ie(E.loadedFrom),1)])):Be("",!0),(H(!0),W(me,null,It(Object.keys(E.registryMeta||{}),B=>(H(),W("div",{key:B,class:"text-xs text-gray-500"},[L("span",h6,ie(B),1),_e(": "+ie(E.registryMeta[B]),1)]))),128))])]),L("div",d6,[L("fieldset",p6,[(H(),W(me,null,It([{label:"Events",value:"events"},{label:"API",value:"api"}],(B,$)=>L("label",{key:B.value,class:Le(["cursor-pointer flex items-center gap-2 px-4 py-2 transition-all",[$?"border-l n-border-base ml--1px":"",l(E.src)===B.value?"n-bg-active":""]]),onClick:le=>u(E.src,B.value)},[_e(ie(B.label)+" ",1),L("input",{value:B.value,type:"radio",name:`script-tab-${E.src}`,checked:l(E.src)===B.value,class:"sr-only"},null,8,m6)],10,g6)),64))]),L("div",y6,[l(E.src)==="events"?(H(),W("div",b6,[(H(!0),W(me,null,It(E.events,(B,$)=>(H(),W("div",{key:$,class:"flex gap-3 text-xs justify-start items-center"},[L("div",w6,ie(q(k5)(B.at)),1),B.type==="status"?(H(),W(me,{key:0},[B.status==="loaded"?(H(),W("div",_6,ie(B.status),1)):B.status==="awaitingLoad"?(H(),W("div",v6,ie(B.status),1)):B.status==="removed"||B.status==="error"?(H(),W("div",C6,ie(B.status),1)):B.status==="loading"?(H(),W("div",x6,ie(B.status),1)):B.status==="validation-failed"?(H(),W("div",S6,[L("div",k6,ie(B.status),1),_e(" "+ie(B.args.issues.map(le=>`${$}.${le.path?.map(un=>un.key).join(",")}: ${le.message}`).join(",")),1)])):Be("",!0)],64)):B.type==="fn-call"&&B.args?(H(),W("div",E6,ie(`${B.fn}(${B.args?.map(le=>JSON.stringify(le,null,2)).join(", ")||""})`),1)):B.type==="fn-call"&&!B.args?(H(),W("div",A6," QUEUED "+ie(B.fn),1)):Be("",!0)]))),128))])):l(E.src)==="api"?(H(),W("div",R6,[X(oe,{code:h(E.$script?.instance),lang:"typescript",class:"text-sm p-3 rounded"},null,8,["code"])])):Be("",!0)])])]))),128))])])):q(_)==="first-party"?(H(),W("div",T6,[L("div",P6,[L("div",{class:Le(["p-4 rounded-lg",q(C)?.enabled?"bg-emerald-50 dark:bg-emerald-900/30 border border-emerald-200 dark:border-emerald-800":"bg-gray-50 dark:bg-gray-800 border border-gray-200 dark:border-gray-700"])},[L("div",M6,[L("div",{class:Le(["w-10 h-10 rounded-full flex items-center justify-center",q(C)?.enabled?"bg-emerald-100 dark:bg-emerald-900":"bg-gray-200 dark:bg-gray-700"])},[X(M,{icon:q(C)?.enabled?"carbon:checkmark-filled":"carbon:close-filled",class:Le(q(C)?.enabled?"text-emerald-600 dark:text-emerald-400 text-xl":"text-gray-500 text-xl")},null,8,["icon","class"])],2),L("div",null,[L("h3",L6," First-Party Mode "+ie(q(C)?.enabled?"Enabled":"Disabled"),1),L("p",I6,ie(q(C)?.enabled?"Scripts are routed through your domain for improved privacy":"Enable in nuxt.config: scripts.firstParty: true"),1)])])],2),q(C)?.enabled?(H(),W("div",N6,[L("div",O6,[L("div",B6,[L("h4",F6,[X(M,{icon:"carbon:script",class:"opacity-50"}),_e(" Proxied Scripts ("+ie(q(C).scripts.length)+") ",1)])]),L("div",D6,[q(C).scripts.length?(H(),W("div",H6,[(H(!0),W(me,null,It(q(C).scripts,E=>(H(),W("span",{key:E,class:"px-3 py-1 bg-emerald-100 dark:bg-emerald-900/50 text-emerald-700 dark:text-emerald-300 rounded-full text-sm"},ie(E),1))),128))])):(H(),W("div",j6," No scripts configured in registry "))])]),L("div",U6,[L("div",G6,[L("h4",$6,[X(M,{icon:"carbon:arrows-horizontal",class:"opacity-50"}),_e(" Proxy Routes ("+ie(Object.keys(q(C).routes).length)+") ",1)])]),L("div",z6,[(H(!0),W(me,null,It(q(C).routes,(E,j)=>(H(),W("div",{key:j,class:"px-4 py-3 flex items-center gap-3 text-sm font-mono"},[L("span",W6,ie(j),1),X(M,{icon:"carbon:arrow-right",class:"opacity-30"}),L("span",V6,ie(E),1)]))),128))])]),L("div",q6,[L("div",K6,[y[12]||(y[12]=L("div",null,[L("h4",{class:"font-medium"}," Collection Prefix "),L("p",{class:"text-sm text-gray-500"}," Base path for proxy endpoints ")],-1)),L("code",X6,ie(q(C).collectPrefix),1)])])])):Be("",!0),L("div",Y6,[y[17]||(y[17]=L("h4",{class:"font-medium mb-3"}," Privacy Benefits ",-1)),L("ul",Z6,[L("li",J6,[X(M,{icon:"carbon:checkmark",class:"text-emerald-500"}),y[13]||(y[13]=_e(" User IPs stay private (third parties see your server's IP) ",-1))]),L("li",Q6,[X(M,{icon:"carbon:checkmark",class:"text-emerald-500"}),y[14]||(y[14]=_e(" No third-party cookies (requests are same-origin) ",-1))]),L("li",ey,[X(M,{icon:"carbon:checkmark",class:"text-emerald-500"}),y[15]||(y[15]=_e(" Works with ad blockers (requests appear first-party) ",-1))]),L("li",ty,[X(M,{icon:"carbon:checkmark",class:"text-emerald-500"}),y[16]||(y[16]=_e(" Faster loads (no extra DNS lookups) ",-1))])])]),y[18]||(y[18]=L("div",{class:"text-center"},[L("a",{href:"https://scripts.nuxt.com/docs/guides/first-party",target:"_blank",class:"text-sm text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300 underline"}," View First-Party Mode Documentation ")],-1))])])):q(_)==="registry"?(H(),W("div",ny,[!q(r)||!q(r).length?(H(),W("div",ry,[...y[19]||(y[19]=[L("div",null,"No registry scripts available.",-1)])])):Be("",!0),L("div",sy,[(H(!0),W(me,null,It(q(r),(E,j)=>(H(),W("div",{key:j,class:"rounded-lg p-4 hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors"},[L("div",oy,[L("div",iy,[E.logo&&typeof E.logo=="string"&&E.logo.startsWith("http")?(H(),W("img",{key:0,class:"flex items-center max-w-8 h-8",src:typeof E.logo=="object"?E.logo.dark||E.logo.light:E.logo,alt:"Script logo"},null,8,ay)):E.logo?(H(),W("div",{key:1,class:"flex items-center max-w-8 h-8",innerHTML:typeof E.logo=="object"?E.logo.dark||E.logo.light:E.logo},null,8,ly)):(H(),W("div",cy,[X(M,{icon:"carbon:script",class:"text-blue-300 text-2xl"})])),L("div",null,[L("h3",uy,ie(E.label),1),L("p",fy,ie(E.description),1),L("div",hy,[L("span",dy,ie(E.category),1),E.src?(H(),W("span",py,ie(E.src),1)):Be("",!0)])])]),L("div",gy,[L("a",{href:`https://scripts.nuxt.com/scripts/${E.category}/${E.label.toLowerCase().replace(/ /g,"-")}`,target:"_blank",class:"text-sm text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300 underline"}," View docs ",8,my)])]),L("div",yy,[X(oe,{code:`const script = use${E.label.replace(/\s+/g,"")}()`,lang:"typescript",class:"text-sm rounded"},null,8,["code"])])]))),128))])])):q(_)==="docs"?(H(),W("div",by,[...y[20]||(y[20]=[L("iframe",{src:"https://scripts.nuxt.com/docs/getting-started",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1)])])):Be("",!0)])])])}}}),_y={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error,r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,c=s?ga(()=>vn(()=>import("./Yng0Yl3W.js"),__vite__mapDeps([0,1,2]),import.meta.url)):ga(()=>vn(()=>import("./DHQOiKH-.js"),__vite__mapDeps([3,1,4]),import.meta.url));return(f,h)=>(H(),Qe(q(c),dh(iu({status:q(r),statusText:q(o),statusCode:q(r),statusMessage:q(o),description:q(i),stack:q(a)})),null,16))}},vy={key:0},zl={__name:"nuxt-root",setup(e){const t=()=>null,n=Ee(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r);wt().beforeEach(u)}const s=!1;Sc(Pu,Oi()),n.hooks.callHookWith(u=>u.map(c=>c()),"vue:setup");const o=Bi(),i=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;Mc((u,c,f)=>{if(n.hooks.callHook("vue:error",u,c,f).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(t0(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>Q1(u)),!1});const l=!1;return(u,c)=>(H(),Qe(Gd,{onResolve:q(r)},{default:Fe(()=>[q(i)?(H(),W("div",vy)):q(o)?(H(),Qe(q(_y),{key:1,error:q(o)},null,8,["error"])):q(l)?(H(),Qe(q(t),{key:2,context:q(l)},null,8,["context"])):q(s)?(H(),Qe(md(q(s)),{key:3})):(H(),Qe(q(wy),{key:4}))]),_:1},8,["onResolve"]))}};let Wl;{let e;Wl=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?Pp(zl):Tp(zl),s=U1({vueApp:r});async function o(i){await s.callHook("app:error",i),s.payload.error||=Fi(i)}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)}),!n&&za.id&&s.hook("app:suspense:resolve",()=>{document.getElementById(za.id)?.remove()});try{await z1(s,wg)}catch(i){o(i)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(D1),await s.hooks.callHook("app:mounted",r),await _c()}catch(i){o(i)}return r},e=Wl().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{_g as _,L as a,X as b,W as c,_e as d,zu as e,Ee as f,Du as g,Ci as h,En as i,H as o,ie as t,xy as u,Fe as w};
|