nuxt-graphql-middleware 4.0.0-beta.8 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/client/200.html +12 -16
  2. package/dist/client/404.html +12 -16
  3. package/dist/client/_nuxt/builds/latest.json +1 -0
  4. package/dist/client/_nuxt/builds/meta/71f1ba68-6be9-464d-87d1-1b4b3ac786b2.json +1 -0
  5. package/dist/client/_nuxt/entry.N5CnhLMX.css +1 -0
  6. package/dist/client/_nuxt/entry.sn4ItzJP.js +29 -0
  7. package/dist/client/_nuxt/error-404._g063Njv.js +1 -0
  8. package/dist/client/_nuxt/error-404.gOl2ep2B.css +1 -0
  9. package/dist/client/_nuxt/{error-500.0ea30584.js → error-500.iP22ayZD.js} +1 -1
  10. package/dist/client/_nuxt/index.KH5Eug0w.css +1 -0
  11. package/dist/client/_nuxt/index.wowlKkKL.js +2 -0
  12. package/dist/client/_nuxt/{vue.f36acd1f.b03bdbb5.js → vue.f36acd1f.H09MX4qF.js} +1 -1
  13. package/dist/client/index.html +12 -16
  14. package/dist/module.json +1 -1
  15. package/dist/module.mjs +12 -5
  16. package/dist/runtime/composables/server.d.ts +1 -1
  17. package/dist/runtime/composables/useGraphqlMutation.d.ts +1 -1
  18. package/dist/runtime/composables/useGraphqlQuery.d.ts +1 -1
  19. package/dist/runtime/composables/useGraphqlState.d.ts +1 -1
  20. package/dist/runtime/serverHandler/helpers/index.d.ts +1 -1
  21. package/dist/runtime/serverOptions/defineGraphqlServerOptions.d.ts +1 -1
  22. package/dist/types.d.mts +3 -2
  23. package/dist/types.d.ts +3 -2
  24. package/package.json +27 -24
  25. package/dist/client/_nuxt/entry.1bc811cf.css +0 -1
  26. package/dist/client/_nuxt/entry.ea5ff097.js +0 -7
  27. package/dist/client/_nuxt/error-404.0c27f143.js +0 -1
  28. package/dist/client/_nuxt/error-404.a6f724cc.css +0 -1
  29. package/dist/client/_nuxt/index.3f9296a3.css +0 -1
  30. package/dist/client/_nuxt/index.e982558e.js +0 -2
  31. /package/dist/client/_nuxt/{_plugin-vue_export-helper.c27b6911.js → _plugin-vue_export-helper.x3n3nnut.js} +0 -0
  32. /package/dist/client/_nuxt/{error-500.d92554dd.css → error-500.z8GAN5B3.css} +0 -0
@@ -1,7 +0,0 @@
1
- function xs(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const ce={},qt=[],Ue=()=>{},xc=()=>!1,kc=/^on[^a-z]/,Ln=e=>kc.test(e),ks=e=>e.startsWith("onUpdate:"),me=Object.assign,Ps=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Pc=Object.prototype.hasOwnProperty,G=(e,t)=>Pc.call(e,t),D=Array.isArray,Vt=e=>ln(e)==="[object Map]",on=e=>ln(e)==="[object Set]",uo=e=>ln(e)==="[object Date]",Ac=e=>ln(e)==="[object RegExp]",Q=e=>typeof e=="function",ue=e=>typeof e=="string",xn=e=>typeof e=="symbol",ie=e=>e!==null&&typeof e=="object",$i=e=>ie(e)&&Q(e.then)&&Q(e.catch),ji=Object.prototype.toString,ln=e=>ji.call(e),Sc=e=>ln(e).slice(8,-1),Fi=e=>ln(e)==="[object Object]",As=e=>ue(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,bn=xs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_r=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Oc=/-(\w)/g,Qe=_r(e=>e.replace(Oc,(t,n)=>n?n.toUpperCase():"")),Mc=/\B([A-Z])/g,cn=_r(e=>e.replace(Mc,"-$1").toLowerCase()),br=_r(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ir=_r(e=>e?`on${br(e)}`:""),kn=(e,t)=>!Object.is(e,t),zt=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},nr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},rr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Bi=e=>{const t=ue(e)?Number(e):NaN;return isNaN(t)?e:t};let fo;const Qr=()=>fo||(fo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function vr(e){if(D(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=ue(r)?Nc(r):vr(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(ue(e))return e;if(ie(e))return e}}const Ic=/;(?![^(]*\))/g,Hc=/:([^]+)/,Lc=/\/\*[^]*?\*\//g;function Nc(e){const t={};return e.replace(Lc,"").split(Ic).forEach(n=>{if(n){const r=n.split(Hc);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function wr(e){let t="";if(ue(e))t=e;else if(D(e))for(let n=0;n<e.length;n++){const r=wr(e[n]);r&&(t+=r+" ")}else if(ie(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function $c(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ue(t)&&(e.class=wr(t)),n&&(e.style=vr(n)),e}const jc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Fc=xs(jc);function Ui(e){return!!e||e===""}function Bc(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Nt(e[r],t[r]);return n}function Nt(e,t){if(e===t)return!0;let n=uo(e),r=uo(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=xn(e),r=xn(t),n||r)return e===t;if(n=D(e),r=D(t),n||r)return n&&r?Bc(e,t):!1;if(n=ie(e),r=ie(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 l=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(l&&!c||!l&&c||!Nt(e[i],t[i]))return!1}}return String(e)===String(t)}function Ss(e,t){return e.findIndex(n=>Nt(n,t))}const sg=e=>ue(e)?e:e==null?"":D(e)||ie(e)&&(e.toString===ji||!Q(e.toString))?JSON.stringify(e,Di,2):String(e),Di=(e,t)=>t&&t.__v_isRef?Di(e,t.value):Vt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:on(t)?{[`Set(${t.size})`]:[...t.values()]}:ie(t)&&!D(t)&&!Fi(t)?String(t):t;let je;class Uc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=je,!t&&je&&(this.index=(je.scopes||(je.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=je;try{return je=this,t()}finally{je=n}}}on(){je=this}off(){je=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function Dc(e,t=je){t&&t.active&&t.effects.push(e)}function Kc(){return je}const Os=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ki=e=>(e.w&bt)>0,Wi=e=>(e.n&bt)>0,Wc=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=bt},qc=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];Ki(s)&&!Wi(s)?s.delete(e):t[n++]=s,s.w&=~bt,s.n&=~bt}t.length=n}},sr=new WeakMap;let mn=0,bt=1;const Yr=30;let Fe;const Ot=Symbol(""),Xr=Symbol("");class Ms{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Dc(this,r)}run(){if(!this.active)return this.fn();let t=Fe,n=yt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Fe,Fe=this,yt=!0,bt=1<<++mn,mn<=Yr?Wc(this):ho(this),this.fn()}finally{mn<=Yr&&qc(this),bt=1<<--mn,Fe=this.parent,yt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Fe===this?this.deferStop=!0:this.active&&(ho(this),this.onStop&&this.onStop(),this.active=!1)}}function ho(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let yt=!0;const qi=[];function an(){qi.push(yt),yt=!1}function un(){const e=qi.pop();yt=e===void 0?!0:e}function Ae(e,t,n){if(yt&&Fe){let r=sr.get(e);r||sr.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Os()),Vi(s)}}function Vi(e,t){let n=!1;mn<=Yr?Wi(e)||(e.n|=bt,n=!Ki(e)):n=!e.has(Fe),n&&(e.add(Fe),Fe.deps.push(e))}function rt(e,t,n,r,s,o){const i=sr.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&D(e)){const c=Number(r);i.forEach((u,a)=>{(a==="length"||a>=c)&&l.push(u)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":D(e)?As(n)&&l.push(i.get("length")):(l.push(i.get(Ot)),Vt(e)&&l.push(i.get(Xr)));break;case"delete":D(e)||(l.push(i.get(Ot)),Vt(e)&&l.push(i.get(Xr)));break;case"set":Vt(e)&&l.push(i.get(Ot));break}if(l.length===1)l[0]&&Zr(l[0]);else{const c=[];for(const u of l)u&&c.push(...u);Zr(Os(c))}}function Zr(e,t){const n=D(e)?e:[...e];for(const r of n)r.computed&&po(r);for(const r of n)r.computed||po(r)}function po(e,t){(e!==Fe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Vc(e,t){var n;return(n=sr.get(e))==null?void 0:n.get(t)}const zc=xs("__proto__,__v_isRef,__isVue"),zi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(xn)),Jc=Is(),Qc=Is(!1,!0),Yc=Is(!0),go=Xc();function Xc(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ee(this);for(let o=0,i=this.length;o<i;o++)Ae(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(ee)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){an();const r=ee(this)[t].apply(this,n);return un(),r}}),e}function Zc(e){const t=ee(this);return Ae(t,"has",e),t.hasOwnProperty(e)}function Is(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?pa:Zi:t?Xi:Yi).get(r))return r;const i=D(r);if(!e){if(i&&G(go,s))return Reflect.get(go,s,o);if(s==="hasOwnProperty")return Zc}const l=Reflect.get(r,s,o);return(xn(s)?zi.has(s):zc(s))||(e||Ae(r,"get",s),t)?l:ye(l)?i&&As(s)?l:l.value:ie(l)?e?Gi(l):st(l):l}}const Gc=Ji(),ea=Ji(!0);function Ji(e=!1){return function(n,r,s,o){let i=n[r];if($t(i)&&ye(i)&&!ye(s))return!1;if(!e&&(!or(s)&&!$t(s)&&(i=ee(i),s=ee(s)),!D(n)&&ye(i)&&!ye(s)))return i.value=s,!0;const l=D(n)&&As(r)?Number(r)<n.length:G(n,r),c=Reflect.set(n,r,s,o);return n===ee(o)&&(l?kn(s,i)&&rt(n,"set",r,s):rt(n,"add",r,s)),c}}function ta(e,t){const n=G(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&rt(e,"delete",t,void 0),r}function na(e,t){const n=Reflect.has(e,t);return(!xn(t)||!zi.has(t))&&Ae(e,"has",t),n}function ra(e){return Ae(e,"iterate",D(e)?"length":Ot),Reflect.ownKeys(e)}const Qi={get:Jc,set:Gc,deleteProperty:ta,has:na,ownKeys:ra},sa={get:Yc,set(e,t){return!0},deleteProperty(e,t){return!0}},oa=me({},Qi,{get:Qc,set:ea}),Hs=e=>e,Er=e=>Reflect.getPrototypeOf(e);function Dn(e,t,n=!1,r=!1){e=e.__v_raw;const s=ee(e),o=ee(t);n||(t!==o&&Ae(s,"get",t),Ae(s,"get",o));const{has:i}=Er(s),l=r?Hs:n?$s:Pn;if(i.call(s,t))return l(e.get(t));if(i.call(s,o))return l(e.get(o));e!==s&&e.get(t)}function Kn(e,t=!1){const n=this.__v_raw,r=ee(n),s=ee(e);return t||(e!==s&&Ae(r,"has",e),Ae(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Wn(e,t=!1){return e=e.__v_raw,!t&&Ae(ee(e),"iterate",Ot),Reflect.get(e,"size",e)}function mo(e){e=ee(e);const t=ee(this);return Er(t).has.call(t,e)||(t.add(e),rt(t,"add",e,e)),this}function yo(e,t){t=ee(t);const n=ee(this),{has:r,get:s}=Er(n);let o=r.call(n,e);o||(e=ee(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?kn(t,i)&&rt(n,"set",e,t):rt(n,"add",e,t),this}function _o(e){const t=ee(this),{has:n,get:r}=Er(t);let s=n.call(t,e);s||(e=ee(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&rt(t,"delete",e,void 0),o}function bo(){const e=ee(this),t=e.size!==0,n=e.clear();return t&&rt(e,"clear",void 0,void 0),n}function qn(e,t){return function(r,s){const o=this,i=o.__v_raw,l=ee(i),c=t?Hs:e?$s:Pn;return!e&&Ae(l,"iterate",Ot),i.forEach((u,a)=>r.call(s,c(u),c(a),o))}}function Vn(e,t,n){return function(...r){const s=this.__v_raw,o=ee(s),i=Vt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=s[e](...r),a=n?Hs:t?$s:Pn;return!t&&Ae(o,"iterate",c?Xr:Ot),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:l?[a(f[0]),a(f[1])]:a(f),done:d}},[Symbol.iterator](){return this}}}}function ut(e){return function(...t){return e==="delete"?!1:this}}function ia(){const e={get(o){return Dn(this,o)},get size(){return Wn(this)},has:Kn,add:mo,set:yo,delete:_o,clear:bo,forEach:qn(!1,!1)},t={get(o){return Dn(this,o,!1,!0)},get size(){return Wn(this)},has:Kn,add:mo,set:yo,delete:_o,clear:bo,forEach:qn(!1,!0)},n={get(o){return Dn(this,o,!0)},get size(){return Wn(this,!0)},has(o){return Kn.call(this,o,!0)},add:ut("add"),set:ut("set"),delete:ut("delete"),clear:ut("clear"),forEach:qn(!0,!1)},r={get(o){return Dn(this,o,!0,!0)},get size(){return Wn(this,!0)},has(o){return Kn.call(this,o,!0)},add:ut("add"),set:ut("set"),delete:ut("delete"),clear:ut("clear"),forEach:qn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Vn(o,!1,!1),n[o]=Vn(o,!0,!1),t[o]=Vn(o,!1,!0),r[o]=Vn(o,!0,!0)}),[e,n,t,r]}const[la,ca,aa,ua]=ia();function Ls(e,t){const n=t?e?ua:aa:e?ca:la;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(G(n,s)&&s in r?n:r,s,o)}const fa={get:Ls(!1,!1)},da={get:Ls(!1,!0)},ha={get:Ls(!0,!1)},Yi=new WeakMap,Xi=new WeakMap,Zi=new WeakMap,pa=new WeakMap;function ga(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ma(e){return e.__v_skip||!Object.isExtensible(e)?0:ga(Sc(e))}function st(e){return $t(e)?e:Ns(e,!1,Qi,fa,Yi)}function Nn(e){return Ns(e,!1,oa,da,Xi)}function Gi(e){return Ns(e,!0,sa,ha,Zi)}function Ns(e,t,n,r,s){if(!ie(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=ma(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function Jt(e){return $t(e)?Jt(e.__v_raw):!!(e&&e.__v_isReactive)}function $t(e){return!!(e&&e.__v_isReadonly)}function or(e){return!!(e&&e.__v_isShallow)}function el(e){return Jt(e)||$t(e)}function ee(e){const t=e&&e.__v_raw;return t?ee(t):e}function tl(e){return nr(e,"__v_skip",!0),e}const Pn=e=>ie(e)?st(e):e,$s=e=>ie(e)?Gi(e):e;function nl(e){yt&&Fe&&(e=ee(e),Vi(e.dep||(e.dep=Os())))}function js(e,t){e=ee(e);const n=e.dep;n&&Zr(n)}function ye(e){return!!(e&&e.__v_isRef===!0)}function nt(e){return rl(e,!1)}function An(e){return rl(e,!0)}function rl(e,t){return ye(e)?e:new ya(e,t)}class ya{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ee(t),this._value=n?t:Pn(t)}get value(){return nl(this),this._value}set value(t){const n=this.__v_isShallow||or(t)||$t(t);t=n?t:ee(t),kn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Pn(t),js(this))}}function og(e){js(e)}function ae(e){return ye(e)?e.value:e}const _a={get:(e,t,n)=>ae(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ye(s)&&!ye(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function sl(e){return Jt(e)?e:new Proxy(e,_a)}class ba{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Vc(ee(this._object),this._key)}}class va{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function ol(e,t,n){return ye(e)?e:Q(e)?new va(e):ie(e)&&arguments.length>1?wa(e,t,n):nt(e)}function wa(e,t,n){const r=e[t];return ye(r)?r:new ba(e,t,n)}class Ea{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Ms(t,()=>{this._dirty||(this._dirty=!0,js(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=ee(this);return nl(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ca(e,t,n=!1){let r,s;const o=Q(e);return o?(r=e,s=Ue):(r=e.get,s=e.set),new Ea(r,s,o||!s,n)}function _t(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){fn(o,t,n)}return s}function Ne(e,t,n,r){if(Q(e)){const o=_t(e,t,n,r);return o&&$i(o)&&o.catch(i=>{fn(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(Ne(e[o],t,n,r));return s}function fn(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,l=n;for(;o;){const u=o.ec;if(u){for(let a=0;a<u.length;a++)if(u[a](e,i,l)===!1)return}o=o.parent}const c=t.appContext.config.errorHandler;if(c){_t(c,null,10,[e,i,l]);return}}Ta(e,n,s,r)}function Ta(e,t,n,r=!0){console.error(e)}let Sn=!1,Gr=!1;const we=[];let ze=0;const Qt=[];let Ge=null,kt=0;const il=Promise.resolve();let Fs=null;function jt(e){const t=Fs||il;return e?t.then(this?e.bind(this):e):t}function Ra(e){let t=ze+1,n=we.length;for(;t<n;){const r=t+n>>>1;On(we[r])<e?t=r+1:n=r}return t}function Cr(e){(!we.length||!we.includes(e,Sn&&e.allowRecurse?ze+1:ze))&&(e.id==null?we.push(e):we.splice(Ra(e.id),0,e),ll())}function ll(){!Sn&&!Gr&&(Gr=!0,Fs=il.then(al))}function xa(e){const t=we.indexOf(e);t>ze&&we.splice(t,1)}function cl(e){D(e)?Qt.push(...e):(!Ge||!Ge.includes(e,e.allowRecurse?kt+1:kt))&&Qt.push(e),ll()}function vo(e,t=Sn?ze+1:0){for(;t<we.length;t++){const n=we[t];n&&n.pre&&(we.splice(t,1),t--,n())}}function ir(e){if(Qt.length){const t=[...new Set(Qt)];if(Qt.length=0,Ge){Ge.push(...t);return}for(Ge=t,Ge.sort((n,r)=>On(n)-On(r)),kt=0;kt<Ge.length;kt++)Ge[kt]();Ge=null,kt=0}}const On=e=>e.id==null?1/0:e.id,ka=(e,t)=>{const n=On(e)-On(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function al(e){Gr=!1,Sn=!0,we.sort(ka);const t=Ue;try{for(ze=0;ze<we.length;ze++){const n=we[ze];n&&n.active!==!1&&_t(n,null,14)}}finally{ze=0,we.length=0,ir(),Sn=!1,Fs=null,(we.length||Qt.length)&&al()}}function Pa(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ce;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const a=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=r[a]||ce;d&&(s=n.map(m=>ue(m)?m.trim():m)),f&&(s=n.map(rr))}let l,c=r[l=Ir(t)]||r[l=Ir(Qe(t))];!c&&o&&(c=r[l=Ir(cn(t))]),c&&Ne(c,e,6,s);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ne(u,e,6,s)}}function ul(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!Q(e)){const c=u=>{const a=ul(u,t,!0);a&&(l=!0,me(i,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(ie(e)&&r.set(e,null),null):(D(o)?o.forEach(c=>i[c]=null):me(i,o),ie(e)&&r.set(e,i),i)}function Tr(e,t){return!e||!Ln(t)?!1:(t=t.slice(2).replace(/Once$/,""),G(e,t[0].toLowerCase()+t.slice(1))||G(e,cn(t))||G(e,t))}let _e=null,Rr=null;function lr(e){const t=_e;return _e=e,Rr=e&&e.type.__scopeId||null,t}function ig(e){Rr=e}function lg(){Rr=null}function Bs(e,t=_e,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Ho(-1);const o=lr(t);let i;try{i=e(...s)}finally{lr(o),r._d&&Ho(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Hr(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:l,attrs:c,emit:u,render:a,renderCache:f,data:d,setupState:m,ctx:v,inheritAttrs:T}=e;let O,_;const g=lr(e);try{if(n.shapeFlag&4){const b=s||r;O=Ie(a.call(b,b,f,o,m,d,v)),_=c}else{const b=t;O=Ie(b.length>1?b(o,{attrs:c,slots:l,emit:u}):b(o,null)),_=t.props?c:Sa(c)}}catch(b){wn.length=0,fn(b,e,1),O=de(Te)}let R=O;if(_&&T!==!1){const b=Object.keys(_),{shapeFlag:P}=R;b.length&&P&7&&(i&&b.some(ks)&&(_=Oa(_,i)),R=ot(R,_))}return n.dirs&&(R=ot(R),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&(R.transition=n.transition),O=R,lr(g),O}function Aa(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(Gt(r)){if(r.type!==Te||r.children==="v-if"){if(t)return;t=r}}else return}return t}const Sa=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ln(n))&&((t||(t={}))[n]=e[n]);return t},Oa=(e,t)=>{const n={};for(const r in e)(!ks(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ma(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:c}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?wo(r,i,u):!!i;if(c&8){const a=t.dynamicProps;for(let f=0;f<a.length;f++){const d=a[f];if(i[d]!==r[d]&&!Tr(u,d))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?wo(r,i,u):!0:!!i;return!1}function wo(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(t[o]!==e[o]&&!Tr(n,o))return!0}return!1}function Us({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const fl=e=>e.__isSuspense,Ia={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,l,c,u){e==null?Ha(t,n,r,s,o,i,l,c,u):La(e,t,n,r,s,i,l,c,u)},hydrate:Na,create:Ks,normalize:$a},Ds=Ia;function Mn(e,t){const n=e.props&&e.props[t];Q(n)&&n()}function Ha(e,t,n,r,s,o,i,l,c){const{p:u,o:{createElement:a}}=c,f=a("div"),d=e.suspense=Ks(e,s,r,t,f,n,o,i,l,c);u(null,d.pendingBranch=e.ssContent,f,null,r,d,o,i),d.deps>0?(Mn(e,"onPending"),Mn(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,i),Yt(d,e.ssFallback)):d.resolve(!1,!0)}function La(e,t,n,r,s,o,i,l,{p:c,um:u,o:{createElement:a}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,m=t.ssFallback,{activeBranch:v,pendingBranch:T,isInFallback:O,isHydrating:_}=f;if(T)f.pendingBranch=d,Be(d,T)?(c(T,d,f.hiddenContainer,null,s,f,o,i,l),f.deps<=0?f.resolve():O&&(c(v,m,n,r,s,null,o,i,l),Yt(f,m))):(f.pendingId++,_?(f.isHydrating=!1,f.activeBranch=T):u(T,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=a("div"),O?(c(null,d,f.hiddenContainer,null,s,f,o,i,l),f.deps<=0?f.resolve():(c(v,m,n,r,s,null,o,i,l),Yt(f,m))):v&&Be(d,v)?(c(v,d,n,r,s,f,o,i,l),f.resolve(!0)):(c(null,d,f.hiddenContainer,null,s,f,o,i,l),f.deps<=0&&f.resolve()));else if(v&&Be(d,v))c(v,d,n,r,s,f,o,i,l),Yt(f,d);else if(Mn(t,"onPending"),f.pendingBranch=d,f.pendingId++,c(null,d,f.hiddenContainer,null,s,f,o,i,l),f.deps<=0)f.resolve();else{const{timeout:g,pendingId:R}=f;g>0?setTimeout(()=>{f.pendingId===R&&f.fallback(m)},g):g===0&&f.fallback(m)}}function Ks(e,t,n,r,s,o,i,l,c,u,a=!1){const{p:f,m:d,um:m,n:v,o:{parentNode:T,remove:O}}=u;let _;const g=ja(e);g&&t!=null&&t.pendingBranch&&(_=t.pendingId,t.deps++);const R=e.props?Bi(e.props.timeout):void 0,b={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:s,anchor:o,deps:0,pendingId:0,timeout:typeof R=="number"?R:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:a,isUnmounted:!1,effects:[],resolve(P=!1,H=!1){const{vnode:L,activeBranch:x,pendingBranch:K,pendingId:U,effects:J,parentComponent:$,container:z}=b;if(b.isHydrating)b.isHydrating=!1;else if(!P){const Z=x&&K.transition&&K.transition.mode==="out-in";Z&&(x.transition.afterLeave=()=>{U===b.pendingId&&d(K,z,te,0)});let{anchor:te}=b;x&&(te=v(x),m(x,$,b,!0)),Z||d(K,z,te,0)}Yt(b,K),b.pendingBranch=null,b.isInFallback=!1;let F=b.parent,he=!1;for(;F;){if(F.pendingBranch){F.effects.push(...J),he=!0;break}F=F.parent}he||cl(J),b.effects=[],g&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!H&&t.resolve()),Mn(L,"onResolve")},fallback(P){if(!b.pendingBranch)return;const{vnode:H,activeBranch:L,parentComponent:x,container:K,isSVG:U}=b;Mn(H,"onFallback");const J=v(L),$=()=>{b.isInFallback&&(f(null,P,K,J,x,null,U,l,c),Yt(b,P))},z=P.transition&&P.transition.mode==="out-in";z&&(L.transition.afterLeave=$),b.isInFallback=!0,m(L,x,null,!0),z||$()},move(P,H,L){b.activeBranch&&d(b.activeBranch,P,H,L),b.container=P},next(){return b.activeBranch&&v(b.activeBranch)},registerDep(P,H){const L=!!b.pendingBranch;L&&b.deps++;const x=P.vnode.el;P.asyncDep.catch(K=>{fn(K,P,0)}).then(K=>{if(P.isUnmounted||b.isUnmounted||b.pendingId!==P.suspenseId)return;P.asyncResolved=!0;const{vnode:U}=P;os(P,K,!1),x&&(U.el=x);const J=!x&&P.subTree.el;H(P,U,T(x||P.subTree.el),x?null:v(P.subTree),b,i,c),J&&O(J),Us(P,U.el),L&&--b.deps===0&&b.resolve()})},unmount(P,H){b.isUnmounted=!0,b.activeBranch&&m(b.activeBranch,n,P,H),b.pendingBranch&&m(b.pendingBranch,n,P,H)}};return b}function Na(e,t,n,r,s,o,i,l,c){const u=t.suspense=Ks(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,l,!0),a=c(e,u.pendingBranch=t.ssContent,n,u,o,i);return u.deps===0&&u.resolve(!1,!0),a}function $a(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Eo(r?n.default:n),e.ssFallback=r?Eo(n.fallback):de(Te)}function Eo(e){let t;if(Q(e)){const n=Zt&&e._c;n&&(e._d=!1,Je()),e=e(),n&&(e._d=!0,t=Le,Hl())}return D(e)&&(e=Aa(e)),e=Ie(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function dl(e,t){t&&t.pendingBranch?D(e)?t.effects.push(...e):t.effects.push(e):cl(e)}function Yt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,Us(r,s))}function ja(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function cg(e,t){return Ws(e,null,t)}const zn={};function Mt(e,t,n){return Ws(e,t,n)}function Ws(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=ce){var l;const c=Kc()===((l=ge)==null?void 0:l.scope)?ge:null;let u,a=!1,f=!1;if(ye(e)?(u=()=>e.value,a=or(e)):Jt(e)?(u=()=>e,r=!0):D(e)?(f=!0,a=e.some(b=>Jt(b)||or(b)),u=()=>e.map(b=>{if(ye(b))return b.value;if(Jt(b))return At(b);if(Q(b))return _t(b,c,2)})):Q(e)?t?u=()=>_t(e,c,2):u=()=>{if(!(c&&c.isUnmounted))return d&&d(),Ne(e,c,3,[m])}:u=Ue,t&&r){const b=u;u=()=>At(b())}let d,m=b=>{d=g.onStop=()=>{_t(b,c,4)}},v;if(tn)if(m=Ue,t?n&&Ne(t,c,3,[u(),f?[]:void 0,m]):u(),s==="sync"){const b=Pu();v=b.__watcherHandles||(b.__watcherHandles=[])}else return Ue;let T=f?new Array(e.length).fill(zn):zn;const O=()=>{if(g.active)if(t){const b=g.run();(r||a||(f?b.some((P,H)=>kn(P,T[H])):kn(b,T)))&&(d&&d(),Ne(t,c,3,[b,T===zn?void 0:f&&T[0]===zn?[]:T,m]),T=b)}else g.run()};O.allowRecurse=!!t;let _;s==="sync"?_=O:s==="post"?_=()=>be(O,c&&c.suspense):(O.pre=!0,c&&(O.id=c.uid),_=()=>Cr(O));const g=new Ms(u,_);t?n?O():T=g.run():s==="post"?be(g.run.bind(g),c&&c.suspense):g.run();const R=()=>{g.stop(),c&&c.scope&&Ps(c.scope.effects,g)};return v&&v.push(R),R}function Fa(e,t,n){const r=this.proxy,s=ue(e)?e.includes(".")?hl(r,e):()=>r[e]:e.bind(r,r);let o;Q(t)?o=t:(o=t.handler,n=t);const i=ge;en(this);const l=Ws(s,o.bind(r),n);return i?en(i):Lt(),l}function hl(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}}function At(e,t){if(!ie(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ye(e))At(e.value,t);else if(D(e))for(let n=0;n<e.length;n++)At(e[n],t);else if(on(e)||Vt(e))e.forEach(n=>{At(n,t)});else if(Fi(e))for(const n in e)At(e[n],t);return e}function ag(e,t){const n=_e;if(n===null)return e;const r=Pr(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,l,c,u=ce]=t[o];i&&(Q(i)&&(i={mounted:i,updated:i}),i.deep&&At(l),s.push({dir:i,instance:r,value:l,oldValue:void 0,arg:c,modifiers:u}))}return e}function Ve(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const l=s[i];o&&(l.oldValue=o[i].value);let c=l.dir[r];c&&(an(),Ne(c,n,8,[e.el,l,e,t]),un())}}function Ba(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return qs(()=>{e.isMounted=!0}),Vs(()=>{e.isUnmounting=!0}),e}const Me=[Function,Array],pl={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Me,onEnter:Me,onAfterEnter:Me,onEnterCancelled:Me,onBeforeLeave:Me,onLeave:Me,onAfterLeave:Me,onLeaveCancelled:Me,onBeforeAppear:Me,onAppear:Me,onAfterAppear:Me,onAppearCancelled:Me},Ua={name:"BaseTransition",props:pl,setup(e,{slots:t}){const n=Xs(),r=Ba();let s;return()=>{const o=t.default&&ml(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const T of o)if(T.type!==Te){i=T;break}}const l=ee(e),{mode:c}=l;if(r.isLeaving)return Lr(i);const u=Co(i);if(!u)return Lr(i);const a=es(u,l,r,n);cr(u,a);const f=n.subTree,d=f&&Co(f);let m=!1;const{getTransitionKey:v}=u.type;if(v){const T=v();s===void 0?s=T:T!==s&&(s=T,m=!0)}if(d&&d.type!==Te&&(!Be(u,d)||m)){const T=es(d,l,r,n);if(cr(d,T),c==="out-in")return r.isLeaving=!0,T.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Lr(i);c==="in-out"&&u.type!==Te&&(T.delayLeave=(O,_,g)=>{const R=gl(r,d);R[String(d.key)]=d,O._leaveCb=()=>{_(),O._leaveCb=void 0,delete a.delayedLeave},a.delayedLeave=g})}return i}}},Da=Ua;function gl(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function es(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:a,onBeforeLeave:f,onLeave:d,onAfterLeave:m,onLeaveCancelled:v,onBeforeAppear:T,onAppear:O,onAfterAppear:_,onAppearCancelled:g}=t,R=String(e.key),b=gl(n,e),P=(x,K)=>{x&&Ne(x,r,9,K)},H=(x,K)=>{const U=K[1];P(x,K),D(x)?x.every(J=>J.length<=1)&&U():x.length<=1&&U()},L={mode:o,persisted:i,beforeEnter(x){let K=l;if(!n.isMounted)if(s)K=T||l;else return;x._leaveCb&&x._leaveCb(!0);const U=b[R];U&&Be(e,U)&&U.el._leaveCb&&U.el._leaveCb(),P(K,[x])},enter(x){let K=c,U=u,J=a;if(!n.isMounted)if(s)K=O||c,U=_||u,J=g||a;else return;let $=!1;const z=x._enterCb=F=>{$||($=!0,F?P(J,[x]):P(U,[x]),L.delayedLeave&&L.delayedLeave(),x._enterCb=void 0)};K?H(K,[x,z]):z()},leave(x,K){const U=String(e.key);if(x._enterCb&&x._enterCb(!0),n.isUnmounting)return K();P(f,[x]);let J=!1;const $=x._leaveCb=z=>{J||(J=!0,K(),z?P(v,[x]):P(m,[x]),x._leaveCb=void 0,b[U]===e&&delete b[U])};b[U]=e,d?H(d,[x,$]):$()},clone(x){return es(x,t,n,r)}};return L}function Lr(e){if($n(e))return e=ot(e),e.children=null,e}function Co(e){return $n(e)?e.children?e.children[0]:void 0:e}function cr(e,t){e.shapeFlag&6&&e.component?cr(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 ml(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Pe?(i.patchFlag&128&&s++,r=r.concat(ml(i.children,t,l))):(t||i.type!==Te)&&r.push(l!=null?ot(i,{key:l}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function it(e,t){return Q(e)?(()=>me({name:e.name},t,{setup:e}))():e}const It=e=>!!e.type.__asyncLoader;function To(e){Q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:l}=e;let c=null,u,a=0;const f=()=>(a++,c=null,d()),d=()=>{let m;return c||(m=c=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),l)return new Promise((T,O)=>{l(v,()=>T(f()),()=>O(v),a+1)});throw v}).then(v=>m!==c&&c?c:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),u=v,v)))};return it({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return u},setup(){const m=ge;if(u)return()=>Nr(u,m);const v=g=>{c=null,fn(g,m,13,!r)};if(i&&m.suspense||tn)return d().then(g=>()=>Nr(g,m)).catch(g=>(v(g),()=>r?de(r,{error:g}):null));const T=nt(!1),O=nt(),_=nt(!!s);return s&&setTimeout(()=>{_.value=!1},s),o!=null&&setTimeout(()=>{if(!T.value&&!O.value){const g=new Error(`Async component timed out after ${o}ms.`);v(g),O.value=g}},o),d().then(()=>{T.value=!0,m.parent&&$n(m.parent.vnode)&&Cr(m.parent.update)}).catch(g=>{v(g),O.value=g}),()=>{if(T.value&&u)return Nr(u,m);if(O.value&&r)return de(r,{error:O.value});if(n&&!_.value)return de(n)}}})}function Nr(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=de(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const $n=e=>e.type.__isKeepAlive,Ka={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Xs(),r=n.ctx;if(!r.renderer)return()=>{const g=t.default&&t.default();return g&&g.length===1?g[0]:g};const s=new Map,o=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:u,um:a,o:{createElement:f}}}=r,d=f("div");r.activate=(g,R,b,P,H)=>{const L=g.component;u(g,R,b,0,l),c(L.vnode,g,R,b,L,l,P,g.slotScopeIds,H),be(()=>{L.isDeactivated=!1,L.a&&zt(L.a);const x=g.props&&g.props.onVnodeMounted;x&&ke(x,L.parent,g)},l)},r.deactivate=g=>{const R=g.component;u(g,d,null,1,l),be(()=>{R.da&&zt(R.da);const b=g.props&&g.props.onVnodeUnmounted;b&&ke(b,R.parent,g),R.isDeactivated=!0},l)};function m(g){$r(g),a(g,n,l,!0)}function v(g){s.forEach((R,b)=>{const P=is(R.type);P&&(!g||!g(P))&&T(b)})}function T(g){const R=s.get(g);!i||!Be(R,i)?m(R):i&&$r(i),s.delete(g),o.delete(g)}Mt(()=>[e.include,e.exclude],([g,R])=>{g&&v(b=>yn(g,b)),R&&v(b=>!yn(R,b))},{flush:"post",deep:!0});let O=null;const _=()=>{O!=null&&s.set(O,jr(n.subTree))};return qs(_),_l(_),Vs(()=>{s.forEach(g=>{const{subTree:R,suspense:b}=n,P=jr(R);if(g.type===P.type&&g.key===P.key){$r(P);const H=P.component.da;H&&be(H,b);return}m(g)})}),()=>{if(O=null,!t.default)return null;const g=t.default(),R=g[0];if(g.length>1)return i=null,g;if(!Gt(R)||!(R.shapeFlag&4)&&!(R.shapeFlag&128))return i=null,R;let b=jr(R);const P=b.type,H=is(It(b)?b.type.__asyncResolved||{}:P),{include:L,exclude:x,max:K}=e;if(L&&(!H||!yn(L,H))||x&&H&&yn(x,H))return i=b,R;const U=b.key==null?P:b.key,J=s.get(U);return b.el&&(b=ot(b),R.shapeFlag&128&&(R.ssContent=b)),O=U,J?(b.el=J.el,b.component=J.component,b.transition&&cr(b,b.transition),b.shapeFlag|=512,o.delete(U),o.add(U)):(o.add(U),K&&o.size>parseInt(K,10)&&T(o.values().next().value)),b.shapeFlag|=256,i=b,fl(R.type)?R:b}}},Wa=Ka;function yn(e,t){return D(e)?e.some(n=>yn(n,t)):ue(e)?e.split(",").includes(t):Ac(e)?e.test(t):!1}function qa(e,t){yl(e,"a",t)}function Va(e,t){yl(e,"da",t)}function yl(e,t,n=ge){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(xr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)$n(s.parent.vnode)&&za(r,t,n,s),s=s.parent}}function za(e,t,n,r){const s=xr(t,e,r,!0);bl(()=>{Ps(r[t],s)},n)}function $r(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function jr(e){return e.shapeFlag&128?e.ssContent:e}function xr(e,t,n=ge,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;an(),en(n);const l=Ne(t,n,e,i);return Lt(),un(),l});return r?s.unshift(o):s.push(o),o}}const lt=e=>(t,n=ge)=>(!tn||e==="sp")&&xr(e,(...r)=>t(...r),n),Ja=lt("bm"),qs=lt("m"),Qa=lt("bu"),_l=lt("u"),Vs=lt("bum"),bl=lt("um"),Ya=lt("sp"),Xa=lt("rtg"),Za=lt("rtc");function vl(e,t=ge){xr("ec",e,t)}const zs="components";function ug(e,t){return El(zs,e,!0,t)||e}const wl=Symbol.for("v-ndc");function Ga(e){return ue(e)?El(zs,e,!1)||e:e||wl}function El(e,t,n=!0,r=!1){const s=_e||ge;if(s){const o=s.type;if(e===zs){const l=is(o,!1);if(l&&(l===t||l===Qe(t)||l===br(Qe(t))))return o}const i=Ro(s[e]||o[e],t)||Ro(s.appContext[e],t);return!i&&r?o:i}}function Ro(e,t){return e&&(e[t]||e[Qe(t)]||e[br(Qe(t))])}function fg(e,t,n,r){let s;const o=n&&n[r];if(D(e)||ue(e)){s=new Array(e.length);for(let i=0,l=e.length;i<l;i++)s[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o&&o[i])}else if(ie(e))if(e[Symbol.iterator])s=Array.from(e,(i,l)=>t(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;l<c;l++){const u=i[l];s[l]=t(e[u],u,l,o&&o[l])}}else s=[];return n&&(n[r]=s),s}function dg(e,t,n={},r,s){if(_e.isCE||_e.parent&&It(_e.parent)&&_e.parent.isCE)return t!=="default"&&(n.name=t),de("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),Je();const i=o&&Cl(o(n)),l=et(Pe,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Cl(e){return e.some(t=>Gt(t)?!(t.type===Te||t.type===Pe&&!Cl(t.children)):!0)?e:null}const ts=e=>e?Ul(e)?Pr(e)||e.proxy:ts(e.parent):null,vn=me(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=>ts(e.parent),$root:e=>ts(e.root),$emit:e=>e.emit,$options:e=>Js(e),$forceUpdate:e=>e.f||(e.f=()=>Cr(e.update)),$nextTick:e=>e.n||(e.n=jt.bind(e.proxy)),$watch:e=>Fa.bind(e)}),Fr=(e,t)=>e!==ce&&!e.__isScriptSetup&&G(e,t),eu={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Fr(r,t))return i[t]=1,r[t];if(s!==ce&&G(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&G(u,t))return i[t]=3,o[t];if(n!==ce&&G(n,t))return i[t]=4,n[t];ns&&(i[t]=0)}}const a=vn[t];let f,d;if(a)return t==="$attrs"&&Ae(e,"get",t),a(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ce&&G(n,t))return i[t]=4,n[t];if(d=c.config.globalProperties,G(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Fr(s,t)?(s[t]=n,!0):r!==ce&&G(r,t)?(r[t]=n,!0):G(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,propsOptions:o}},i){let l;return!!n[i]||e!==ce&&G(e,i)||Fr(t,i)||(l=o[0])&&G(l,i)||G(r,i)||G(vn,i)||G(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:G(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function xo(e){return D(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ns=!0;function tu(e){const t=Js(e),n=e.proxy,r=e.ctx;ns=!1,t.beforeCreate&&ko(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:c,inject:u,created:a,beforeMount:f,mounted:d,beforeUpdate:m,updated:v,activated:T,deactivated:O,beforeDestroy:_,beforeUnmount:g,destroyed:R,unmounted:b,render:P,renderTracked:H,renderTriggered:L,errorCaptured:x,serverPrefetch:K,expose:U,inheritAttrs:J,components:$,directives:z,filters:F}=t;if(u&&nu(u,r,null),i)for(const te in i){const ne=i[te];Q(ne)&&(r[te]=ne.bind(n))}if(s){const te=s.call(n,n);ie(te)&&(e.data=st(te))}if(ns=!0,o)for(const te in o){const ne=o[te],Ye=Q(ne)?ne.bind(n,n):Q(ne.get)?ne.get.bind(n,n):Ue,at=!Q(ne)&&Q(ne.set)?ne.set.bind(n):Ue,Ke=He({get:Ye,set:at});Object.defineProperty(r,te,{enumerable:!0,configurable:!0,get:()=>Ke.value,set:Re=>Ke.value=Re})}if(l)for(const te in l)Tl(l[te],r,n,te);if(c){const te=Q(c)?c.call(n):c;Reflect.ownKeys(te).forEach(ne=>{Ht(ne,te[ne])})}a&&ko(a,e,"c");function Z(te,ne){D(ne)?ne.forEach(Ye=>te(Ye.bind(n))):ne&&te(ne.bind(n))}if(Z(Ja,f),Z(qs,d),Z(Qa,m),Z(_l,v),Z(qa,T),Z(Va,O),Z(vl,x),Z(Za,H),Z(Xa,L),Z(Vs,g),Z(bl,b),Z(Ya,K),D(U))if(U.length){const te=e.exposed||(e.exposed={});U.forEach(ne=>{Object.defineProperty(te,ne,{get:()=>n[ne],set:Ye=>n[ne]=Ye})})}else e.exposed||(e.exposed={});P&&e.render===Ue&&(e.render=P),J!=null&&(e.inheritAttrs=J),$&&(e.components=$),z&&(e.directives=z)}function nu(e,t,n=Ue){D(e)&&(e=rs(e));for(const r in e){const s=e[r];let o;ie(s)?"default"in s?o=Ce(s.from||r,s.default,!0):o=Ce(s.from||r):o=Ce(s),ye(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function ko(e,t,n){Ne(D(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Tl(e,t,n,r){const s=r.includes(".")?hl(n,r):()=>n[r];if(ue(e)){const o=t[e];Q(o)&&Mt(s,o)}else if(Q(e))Mt(s,e.bind(n));else if(ie(e))if(D(e))e.forEach(o=>Tl(o,t,n,r));else{const o=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(o)&&Mt(s,o,e)}}function Js(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(u=>ar(c,u,i,!0)),ar(c,t,i)),ie(t)&&o.set(t,c),c}function ar(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&ar(e,o,n,!0),s&&s.forEach(i=>ar(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=ru[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const ru={data:Po,props:Ao,emits:Ao,methods:_n,computed:_n,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:_n,directives:_n,watch:ou,provide:Po,inject:su};function Po(e,t){return t?e?function(){return me(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function su(e,t){return _n(rs(e),rs(t))}function rs(e){if(D(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ee(e,t){return e?[...new Set([].concat(e,t))]:t}function _n(e,t){return e?me(Object.create(null),e,t):t}function Ao(e,t){return e?D(e)&&D(t)?[...new Set([...e,...t])]:me(Object.create(null),xo(e),xo(t??{})):t}function ou(e,t){if(!e)return t;if(!t)return e;const n=me(Object.create(null),e);for(const r in t)n[r]=Ee(e[r],t[r]);return n}function Rl(){return{app:null,config:{isNativeTag:xc,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 iu=0;function lu(e,t){return function(r,s=null){Q(r)||(r=me({},r)),s!=null&&!ie(s)&&(s=null);const o=Rl(),i=new Set;let l=!1;const c=o.app={_uid:iu++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Kl,get config(){return o.config},set config(u){},use(u,...a){return i.has(u)||(u&&Q(u.install)?(i.add(u),u.install(c,...a)):Q(u)&&(i.add(u),u(c,...a))),c},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),c},component(u,a){return a?(o.components[u]=a,c):o.components[u]},directive(u,a){return a?(o.directives[u]=a,c):o.directives[u]},mount(u,a,f){if(!l){const d=de(r,s);return d.appContext=o,a&&t?t(d,u):e(d,u,f),l=!0,c._container=u,u.__vue_app__=c,Pr(d.component)||d.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(u,a){return o.provides[u]=a,c},runWithContext(u){In=c;try{return u()}finally{In=null}}};return c}}let In=null;function Ht(e,t){if(ge){let n=ge.provides;const r=ge.parent&&ge.parent.provides;r===n&&(n=ge.provides=Object.create(r)),n[e]=t}}function Ce(e,t,n=!1){const r=ge||_e;if(r||In){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:In._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Q(t)?t.call(r&&r.proxy):t}}function xl(){return!!(ge||_e||In)}function cu(e,t,n,r=!1){const s={},o={};nr(o,kr,1),e.propsDefaults=Object.create(null),kl(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Nn(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function au(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=ee(s),[c]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let f=0;f<a.length;f++){let d=a[f];if(Tr(e.emitsOptions,d))continue;const m=t[d];if(c)if(G(o,d))m!==o[d]&&(o[d]=m,u=!0);else{const v=Qe(d);s[v]=ss(c,l,v,m,e,!1)}else m!==o[d]&&(o[d]=m,u=!0)}}}else{kl(e,t,s,o)&&(u=!0);let a;for(const f in l)(!t||!G(t,f)&&((a=cn(f))===f||!G(t,a)))&&(c?n&&(n[f]!==void 0||n[a]!==void 0)&&(s[f]=ss(c,l,f,void 0,e,!0)):delete s[f]);if(o!==l)for(const f in o)(!t||!G(t,f))&&(delete o[f],u=!0)}u&&rt(e,"set","$attrs")}function kl(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(bn(c))continue;const u=t[c];let a;s&&G(s,a=Qe(c))?!o||!o.includes(a)?n[a]=u:(l||(l={}))[a]=u:Tr(e.emitsOptions,c)||(!(c in r)||u!==r[c])&&(r[c]=u,i=!0)}if(o){const c=ee(n),u=l||ce;for(let a=0;a<o.length;a++){const f=o[a];n[f]=ss(s,c,f,u[f],e,!G(u,f))}}return i}function ss(e,t,n,r,s,o){const i=e[n];if(i!=null){const l=G(i,"default");if(l&&r===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&Q(c)){const{propsDefaults:u}=s;n in u?r=u[n]:(en(s),r=u[n]=c.call(null,t),Lt())}else r=c}i[0]&&(o&&!l?r=!1:i[1]&&(r===""||r===cn(n))&&(r=!0))}return r}function Pl(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},l=[];let c=!1;if(!Q(e)){const a=f=>{c=!0;const[d,m]=Pl(f,t,!0);me(i,d),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!c)return ie(e)&&r.set(e,qt),qt;if(D(o))for(let a=0;a<o.length;a++){const f=Qe(o[a]);So(f)&&(i[f]=ce)}else if(o)for(const a in o){const f=Qe(a);if(So(f)){const d=o[a],m=i[f]=D(d)||Q(d)?{type:d}:me({},d);if(m){const v=Io(Boolean,m.type),T=Io(String,m.type);m[0]=v>-1,m[1]=T<0||v<T,(v>-1||G(m,"default"))&&l.push(f)}}}const u=[i,l];return ie(e)&&r.set(e,u),u}function So(e){return e[0]!=="$"}function Oo(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Mo(e,t){return Oo(e)===Oo(t)}function Io(e,t){return D(t)?t.findIndex(n=>Mo(n,e)):Q(t)&&Mo(t,e)?0:-1}const Al=e=>e[0]==="_"||e==="$stable",Qs=e=>D(e)?e.map(Ie):[Ie(e)],uu=(e,t,n)=>{if(t._n)return t;const r=Bs((...s)=>Qs(t(...s)),n);return r._c=!1,r},Sl=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Al(s))continue;const o=e[s];if(Q(o))t[s]=uu(s,o,r);else if(o!=null){const i=Qs(o);t[s]=()=>i}}},Ol=(e,t)=>{const n=Qs(t);e.slots.default=()=>n},fu=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ee(t),nr(t,"_",n)):Sl(t,e.slots={})}else e.slots={},t&&Ol(e,t);nr(e.slots,kr,1)},du=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ce;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(me(s,t),!n&&l===1&&delete s._):(o=!t.$stable,Sl(t,s)),i=t}else t&&(Ol(e,t),i={default:1});if(o)for(const l in s)!Al(l)&&!(l in i)&&delete s[l]};function ur(e,t,n,r,s=!1){if(D(e)){e.forEach((d,m)=>ur(d,t&&(D(t)?t[m]:t),n,r,s));return}if(It(r)&&!s)return;const o=r.shapeFlag&4?Pr(r.component)||r.component.proxy:r.el,i=s?null:o,{i:l,r:c}=e,u=t&&t.r,a=l.refs===ce?l.refs={}:l.refs,f=l.setupState;if(u!=null&&u!==c&&(ue(u)?(a[u]=null,G(f,u)&&(f[u]=null)):ye(u)&&(u.value=null)),Q(c))_t(c,l,12,[i,a]);else{const d=ue(c),m=ye(c);if(d||m){const v=()=>{if(e.f){const T=d?G(f,c)?f[c]:a[c]:c.value;s?D(T)&&Ps(T,o):D(T)?T.includes(o)||T.push(o):d?(a[c]=[o],G(f,c)&&(f[c]=a[c])):(c.value=[o],e.k&&(a[e.k]=c.value))}else d?(a[c]=i,G(f,c)&&(f[c]=i)):m&&(c.value=i,e.k&&(a[e.k]=i))};i?(v.id=-1,be(v,n)):v()}}}let ft=!1;const Jn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Qn=e=>e.nodeType===8;function hu(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:c,createComment:u}}=e,a=(_,g)=>{if(!g.hasChildNodes()){n(null,_,g),ir(),g._vnode=_;return}ft=!1,f(g.firstChild,_,null,null,null),ir(),g._vnode=_,ft&&console.error("Hydration completed but contains mismatches.")},f=(_,g,R,b,P,H=!1)=>{const L=Qn(_)&&_.data==="[",x=()=>T(_,g,R,b,P,L),{type:K,ref:U,shapeFlag:J,patchFlag:$}=g;let z=_.nodeType;g.el=_,$===-2&&(H=!1,g.dynamicChildren=null);let F=null;switch(K){case Xt:z!==3?g.children===""?(c(g.el=s(""),i(_),_),F=_):F=x():(_.data!==g.children&&(ft=!0,_.data=g.children),F=o(_));break;case Te:z!==8||L?F=x():F=o(_);break;case Gn:if(L&&(_=o(_),z=_.nodeType),z===1||z===3){F=_;const he=!g.children.length;for(let Z=0;Z<g.staticCount;Z++)he&&(g.children+=F.nodeType===1?F.outerHTML:F.data),Z===g.staticCount-1&&(g.anchor=F),F=o(F);return L?o(F):F}else x();break;case Pe:L?F=v(_,g,R,b,P,H):F=x();break;default:if(J&1)z!==1||g.type.toLowerCase()!==_.tagName.toLowerCase()?F=x():F=d(_,g,R,b,P,H);else if(J&6){g.slotScopeIds=P;const he=i(_);if(t(g,he,null,R,b,Jn(he),H),F=L?O(_):o(_),F&&Qn(F)&&F.data==="teleport end"&&(F=o(F)),It(g)){let Z;L?(Z=de(Pe),Z.anchor=F?F.previousSibling:he.lastChild):Z=_.nodeType===3?Fl(""):de("div"),Z.el=_,g.component.subTree=Z}}else J&64?z!==8?F=x():F=g.type.hydrate(_,g,R,b,P,H,e,m):J&128&&(F=g.type.hydrate(_,g,R,b,Jn(i(_)),P,H,e,f))}return U!=null&&ur(U,null,b,g),F},d=(_,g,R,b,P,H)=>{H=H||!!g.dynamicChildren;const{type:L,props:x,patchFlag:K,shapeFlag:U,dirs:J}=g,$=L==="input"&&J||L==="option";if($||K!==-1){if(J&&Ve(g,null,R,"created"),x)if($||!H||K&48)for(const F in x)($&&F.endsWith("value")||Ln(F)&&!bn(F))&&r(_,F,null,x[F],!1,void 0,R);else x.onClick&&r(_,"onClick",null,x.onClick,!1,void 0,R);let z;if((z=x&&x.onVnodeBeforeMount)&&ke(z,R,g),J&&Ve(g,null,R,"beforeMount"),((z=x&&x.onVnodeMounted)||J)&&dl(()=>{z&&ke(z,R,g),J&&Ve(g,null,R,"mounted")},b),U&16&&!(x&&(x.innerHTML||x.textContent))){let F=m(_.firstChild,g,_,R,b,P,H);for(;F;){ft=!0;const he=F;F=F.nextSibling,l(he)}}else U&8&&_.textContent!==g.children&&(ft=!0,_.textContent=g.children)}return _.nextSibling},m=(_,g,R,b,P,H,L)=>{L=L||!!g.dynamicChildren;const x=g.children,K=x.length;for(let U=0;U<K;U++){const J=L?x[U]:x[U]=Ie(x[U]);if(_)_=f(_,J,b,P,H,L);else{if(J.type===Xt&&!J.children)continue;ft=!0,n(null,J,R,null,b,P,Jn(R),H)}}return _},v=(_,g,R,b,P,H)=>{const{slotScopeIds:L}=g;L&&(P=P?P.concat(L):L);const x=i(_),K=m(o(_),g,x,R,b,P,H);return K&&Qn(K)&&K.data==="]"?o(g.anchor=K):(ft=!0,c(g.anchor=u("]"),x,K),K)},T=(_,g,R,b,P,H)=>{if(ft=!0,g.el=null,H){const K=O(_);for(;;){const U=o(_);if(U&&U!==K)l(U);else break}}const L=o(_),x=i(_);return l(_),n(null,g,x,L,R,b,Jn(x),P),L},O=_=>{let g=0;for(;_;)if(_=o(_),_&&Qn(_)&&(_.data==="["&&g++,_.data==="]")){if(g===0)return o(_);g--}return _};return[a,f]}const be=dl;function pu(e){return Ml(e)}function gu(e){return Ml(e,hu)}function Ml(e,t){const n=Qr();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:c,setText:u,setElementText:a,parentNode:f,nextSibling:d,setScopeId:m=Ue,insertStaticContent:v}=e,T=(h,p,y,w=null,C=null,k=null,N=!1,S=null,M=!!p.dynamicChildren)=>{if(h===p)return;h&&!Be(h,p)&&(w=E(h),Re(h,C,k,!0),h=null),p.patchFlag===-2&&(M=!1,p.dynamicChildren=null);const{type:A,ref:q,shapeFlag:B}=p;switch(A){case Xt:O(h,p,y,w);break;case Te:_(h,p,y,w);break;case Gn:h==null&&g(p,y,w,N);break;case Pe:$(h,p,y,w,C,k,N,S,M);break;default:B&1?P(h,p,y,w,C,k,N,S,M):B&6?z(h,p,y,w,C,k,N,S,M):(B&64||B&128)&&A.process(h,p,y,w,C,k,N,S,M,I)}q!=null&&C&&ur(q,h&&h.ref,k,p||h,!p)},O=(h,p,y,w)=>{if(h==null)r(p.el=l(p.children),y,w);else{const C=p.el=h.el;p.children!==h.children&&u(C,p.children)}},_=(h,p,y,w)=>{h==null?r(p.el=c(p.children||""),y,w):p.el=h.el},g=(h,p,y,w)=>{[h.el,h.anchor]=v(h.children,p,y,w,h.el,h.anchor)},R=({el:h,anchor:p},y,w)=>{let C;for(;h&&h!==p;)C=d(h),r(h,y,w),h=C;r(p,y,w)},b=({el:h,anchor:p})=>{let y;for(;h&&h!==p;)y=d(h),s(h),h=y;s(p)},P=(h,p,y,w,C,k,N,S,M)=>{N=N||p.type==="svg",h==null?H(p,y,w,C,k,N,S,M):K(h,p,C,k,N,S,M)},H=(h,p,y,w,C,k,N,S)=>{let M,A;const{type:q,props:B,shapeFlag:V,transition:Y,dirs:X}=h;if(M=h.el=i(h.type,k,B&&B.is,B),V&8?a(M,h.children):V&16&&x(h.children,M,null,w,C,k&&q!=="foreignObject",N,S),X&&Ve(h,null,w,"created"),L(M,h,h.scopeId,N,w),B){for(const oe in B)oe!=="value"&&!bn(oe)&&o(M,oe,null,B[oe],k,h.children,w,C,ve);"value"in B&&o(M,"value",null,B.value),(A=B.onVnodeBeforeMount)&&ke(A,w,h)}X&&Ve(h,null,w,"beforeMount");const le=(!C||C&&!C.pendingBranch)&&Y&&!Y.persisted;le&&Y.beforeEnter(M),r(M,p,y),((A=B&&B.onVnodeMounted)||le||X)&&be(()=>{A&&ke(A,w,h),le&&Y.enter(M),X&&Ve(h,null,w,"mounted")},C)},L=(h,p,y,w,C)=>{if(y&&m(h,y),w)for(let k=0;k<w.length;k++)m(h,w[k]);if(C){let k=C.subTree;if(p===k){const N=C.vnode;L(h,N,N.scopeId,N.slotScopeIds,C.parent)}}},x=(h,p,y,w,C,k,N,S,M=0)=>{for(let A=M;A<h.length;A++){const q=h[A]=S?gt(h[A]):Ie(h[A]);T(null,q,p,y,w,C,k,N,S)}},K=(h,p,y,w,C,k,N)=>{const S=p.el=h.el;let{patchFlag:M,dynamicChildren:A,dirs:q}=p;M|=h.patchFlag&16;const B=h.props||ce,V=p.props||ce;let Y;y&&Et(y,!1),(Y=V.onVnodeBeforeUpdate)&&ke(Y,y,p,h),q&&Ve(p,h,y,"beforeUpdate"),y&&Et(y,!0);const X=C&&p.type!=="foreignObject";if(A?U(h.dynamicChildren,A,S,y,w,X,k):N||ne(h,p,S,null,y,w,X,k,!1),M>0){if(M&16)J(S,p,B,V,y,w,C);else if(M&2&&B.class!==V.class&&o(S,"class",null,V.class,C),M&4&&o(S,"style",B.style,V.style,C),M&8){const le=p.dynamicProps;for(let oe=0;oe<le.length;oe++){const pe=le[oe],$e=B[pe],Ut=V[pe];(Ut!==$e||pe==="value")&&o(S,pe,$e,Ut,C,h.children,y,w,ve)}}M&1&&h.children!==p.children&&a(S,p.children)}else!N&&A==null&&J(S,p,B,V,y,w,C);((Y=V.onVnodeUpdated)||q)&&be(()=>{Y&&ke(Y,y,p,h),q&&Ve(p,h,y,"updated")},w)},U=(h,p,y,w,C,k,N)=>{for(let S=0;S<p.length;S++){const M=h[S],A=p[S],q=M.el&&(M.type===Pe||!Be(M,A)||M.shapeFlag&70)?f(M.el):y;T(M,A,q,null,w,C,k,N,!0)}},J=(h,p,y,w,C,k,N)=>{if(y!==w){if(y!==ce)for(const S in y)!bn(S)&&!(S in w)&&o(h,S,y[S],null,N,p.children,C,k,ve);for(const S in w){if(bn(S))continue;const M=w[S],A=y[S];M!==A&&S!=="value"&&o(h,S,A,M,N,p.children,C,k,ve)}"value"in w&&o(h,"value",y.value,w.value)}},$=(h,p,y,w,C,k,N,S,M)=>{const A=p.el=h?h.el:l(""),q=p.anchor=h?h.anchor:l("");let{patchFlag:B,dynamicChildren:V,slotScopeIds:Y}=p;Y&&(S=S?S.concat(Y):Y),h==null?(r(A,y,w),r(q,y,w),x(p.children,y,q,C,k,N,S,M)):B>0&&B&64&&V&&h.dynamicChildren?(U(h.dynamicChildren,V,y,C,k,N,S),(p.key!=null||C&&p===C.subTree)&&Il(h,p,!0)):ne(h,p,y,q,C,k,N,S,M)},z=(h,p,y,w,C,k,N,S,M)=>{p.slotScopeIds=S,h==null?p.shapeFlag&512?C.ctx.activate(p,y,w,N,M):F(p,y,w,C,k,N,M):he(h,p,M)},F=(h,p,y,w,C,k,N)=>{const S=h.component=wu(h,w,C);if($n(h)&&(S.ctx.renderer=I),Eu(S),S.asyncDep){if(C&&C.registerDep(S,Z),!h.el){const M=S.subTree=de(Te);_(null,M,p,y)}return}Z(S,h,p,y,C,k,N)},he=(h,p,y)=>{const w=p.component=h.component;if(Ma(h,p,y))if(w.asyncDep&&!w.asyncResolved){te(w,p,y);return}else w.next=p,xa(w.update),w.update();else p.el=h.el,w.vnode=p},Z=(h,p,y,w,C,k,N)=>{const S=()=>{if(h.isMounted){let{next:q,bu:B,u:V,parent:Y,vnode:X}=h,le=q,oe;Et(h,!1),q?(q.el=X.el,te(h,q,N)):q=X,B&&zt(B),(oe=q.props&&q.props.onVnodeBeforeUpdate)&&ke(oe,Y,q,X),Et(h,!0);const pe=Hr(h),$e=h.subTree;h.subTree=pe,T($e,pe,f($e.el),E($e),h,C,k),q.el=pe.el,le===null&&Us(h,pe.el),V&&be(V,C),(oe=q.props&&q.props.onVnodeUpdated)&&be(()=>ke(oe,Y,q,X),C)}else{let q;const{el:B,props:V}=p,{bm:Y,m:X,parent:le}=h,oe=It(p);if(Et(h,!1),Y&&zt(Y),!oe&&(q=V&&V.onVnodeBeforeMount)&&ke(q,le,p),Et(h,!0),B&&re){const pe=()=>{h.subTree=Hr(h),re(B,h.subTree,h,C,null)};oe?p.type.__asyncLoader().then(()=>!h.isUnmounted&&pe()):pe()}else{const pe=h.subTree=Hr(h);T(null,pe,y,w,h,C,k),p.el=pe.el}if(X&&be(X,C),!oe&&(q=V&&V.onVnodeMounted)){const pe=p;be(()=>ke(q,le,pe),C)}(p.shapeFlag&256||le&&It(le.vnode)&&le.vnode.shapeFlag&256)&&h.a&&be(h.a,C),h.isMounted=!0,p=y=w=null}},M=h.effect=new Ms(S,()=>Cr(A),h.scope),A=h.update=()=>M.run();A.id=h.uid,Et(h,!0),A()},te=(h,p,y)=>{p.component=h;const w=h.vnode.props;h.vnode=p,h.next=null,au(h,p.props,w,y),du(h,p.children,y),an(),vo(),un()},ne=(h,p,y,w,C,k,N,S,M=!1)=>{const A=h&&h.children,q=h?h.shapeFlag:0,B=p.children,{patchFlag:V,shapeFlag:Y}=p;if(V>0){if(V&128){at(A,B,y,w,C,k,N,S,M);return}else if(V&256){Ye(A,B,y,w,C,k,N,S,M);return}}Y&8?(q&16&&ve(A,C,k),B!==A&&a(y,B)):q&16?Y&16?at(A,B,y,w,C,k,N,S,M):ve(A,C,k,!0):(q&8&&a(y,""),Y&16&&x(B,y,w,C,k,N,S,M))},Ye=(h,p,y,w,C,k,N,S,M)=>{h=h||qt,p=p||qt;const A=h.length,q=p.length,B=Math.min(A,q);let V;for(V=0;V<B;V++){const Y=p[V]=M?gt(p[V]):Ie(p[V]);T(h[V],Y,y,null,C,k,N,S,M)}A>q?ve(h,C,k,!0,!1,B):x(p,y,w,C,k,N,S,M,B)},at=(h,p,y,w,C,k,N,S,M)=>{let A=0;const q=p.length;let B=h.length-1,V=q-1;for(;A<=B&&A<=V;){const Y=h[A],X=p[A]=M?gt(p[A]):Ie(p[A]);if(Be(Y,X))T(Y,X,y,null,C,k,N,S,M);else break;A++}for(;A<=B&&A<=V;){const Y=h[B],X=p[V]=M?gt(p[V]):Ie(p[V]);if(Be(Y,X))T(Y,X,y,null,C,k,N,S,M);else break;B--,V--}if(A>B){if(A<=V){const Y=V+1,X=Y<q?p[Y].el:w;for(;A<=V;)T(null,p[A]=M?gt(p[A]):Ie(p[A]),y,X,C,k,N,S,M),A++}}else if(A>V)for(;A<=B;)Re(h[A],C,k,!0),A++;else{const Y=A,X=A,le=new Map;for(A=X;A<=V;A++){const Se=p[A]=M?gt(p[A]):Ie(p[A]);Se.key!=null&&le.set(Se.key,A)}let oe,pe=0;const $e=V-X+1;let Ut=!1,lo=0;const dn=new Array($e);for(A=0;A<$e;A++)dn[A]=0;for(A=Y;A<=B;A++){const Se=h[A];if(pe>=$e){Re(Se,C,k,!0);continue}let We;if(Se.key!=null)We=le.get(Se.key);else for(oe=X;oe<=V;oe++)if(dn[oe-X]===0&&Be(Se,p[oe])){We=oe;break}We===void 0?Re(Se,C,k,!0):(dn[We-X]=A+1,We>=lo?lo=We:Ut=!0,T(Se,p[We],y,null,C,k,N,S,M),pe++)}const co=Ut?mu(dn):qt;for(oe=co.length-1,A=$e-1;A>=0;A--){const Se=X+A,We=p[Se],ao=Se+1<q?p[Se+1].el:w;dn[A]===0?T(null,We,y,ao,C,k,N,S,M):Ut&&(oe<0||A!==co[oe]?Ke(We,y,ao,2):oe--)}}},Ke=(h,p,y,w,C=null)=>{const{el:k,type:N,transition:S,children:M,shapeFlag:A}=h;if(A&6){Ke(h.component.subTree,p,y,w);return}if(A&128){h.suspense.move(p,y,w);return}if(A&64){N.move(h,p,y,I);return}if(N===Pe){r(k,p,y);for(let B=0;B<M.length;B++)Ke(M[B],p,y,w);r(h.anchor,p,y);return}if(N===Gn){R(h,p,y);return}if(w!==2&&A&1&&S)if(w===0)S.beforeEnter(k),r(k,p,y),be(()=>S.enter(k),C);else{const{leave:B,delayLeave:V,afterLeave:Y}=S,X=()=>r(k,p,y),le=()=>{B(k,()=>{X(),Y&&Y()})};V?V(k,X,le):le()}else r(k,p,y)},Re=(h,p,y,w=!1,C=!1)=>{const{type:k,props:N,ref:S,children:M,dynamicChildren:A,shapeFlag:q,patchFlag:B,dirs:V}=h;if(S!=null&&ur(S,null,y,h,!0),q&256){p.ctx.deactivate(h);return}const Y=q&1&&V,X=!It(h);let le;if(X&&(le=N&&N.onVnodeBeforeUnmount)&&ke(le,p,h),q&6)Un(h.component,y,w);else{if(q&128){h.suspense.unmount(y,w);return}Y&&Ve(h,null,p,"beforeUnmount"),q&64?h.type.remove(h,p,y,C,I,w):A&&(k!==Pe||B>0&&B&64)?ve(A,p,y,!1,!0):(k===Pe&&B&384||!C&&q&16)&&ve(M,p,y),w&&Ft(h)}(X&&(le=N&&N.onVnodeUnmounted)||Y)&&be(()=>{le&&ke(le,p,h),Y&&Ve(h,null,p,"unmounted")},y)},Ft=h=>{const{type:p,el:y,anchor:w,transition:C}=h;if(p===Pe){Bt(y,w);return}if(p===Gn){b(h);return}const k=()=>{s(y),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(h.shapeFlag&1&&C&&!C.persisted){const{leave:N,delayLeave:S}=C,M=()=>N(y,k);S?S(h.el,k,M):M()}else k()},Bt=(h,p)=>{let y;for(;h!==p;)y=d(h),s(h),h=y;s(p)},Un=(h,p,y)=>{const{bum:w,scope:C,update:k,subTree:N,um:S}=h;w&&zt(w),C.stop(),k&&(k.active=!1,Re(N,h,p,y)),S&&be(S,p),be(()=>{h.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},ve=(h,p,y,w=!1,C=!1,k=0)=>{for(let N=k;N<h.length;N++)Re(h[N],p,y,w,C)},E=h=>h.shapeFlag&6?E(h.component.subTree):h.shapeFlag&128?h.suspense.next():d(h.anchor||h.el),j=(h,p,y)=>{h==null?p._vnode&&Re(p._vnode,null,null,!0):T(p._vnode||null,h,p,null,null,null,y),vo(),ir(),p._vnode=h},I={p:T,um:Re,m:Ke,r:Ft,mt:F,mc:x,pc:ne,pbc:U,n:E,o:e};let W,re;return t&&([W,re]=t(I)),{render:j,hydrate:W,createApp:lu(j,W)}}function Et({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Il(e,t,n=!1){const r=e.children,s=t.children;if(D(r)&&D(s))for(let o=0;o<r.length;o++){const i=r[o];let l=s[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[o]=gt(s[o]),l.el=i.el),n||Il(i,l)),l.type===Xt&&(l.el=i.el)}}function mu(e){const t=e.slice(),n=[0];let r,s,o,i,l;const c=e.length;for(r=0;r<c;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;)l=o+i>>1,e[n[l]]<u?o=l+1:i=l;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}const yu=e=>e.__isTeleport,Pe=Symbol.for("v-fgt"),Xt=Symbol.for("v-txt"),Te=Symbol.for("v-cmt"),Gn=Symbol.for("v-stc"),wn=[];let Le=null;function Je(e=!1){wn.push(Le=e?null:[])}function Hl(){wn.pop(),Le=wn[wn.length-1]||null}let Zt=1;function Ho(e){Zt+=e}function Ll(e){return e.dynamicChildren=Zt>0?Le||qt:null,Hl(),Zt>0&&Le&&Le.push(e),e}function hg(e,t,n,r,s,o){return Ll($l(e,t,n,r,s,o,!0))}function et(e,t,n,r,s){return Ll(de(e,t,n,r,s,!0))}function Gt(e){return e?e.__v_isVNode===!0:!1}function Be(e,t){return e.type===t.type&&e.key===t.key}const kr="__vInternal",Nl=({key:e})=>e??null,er=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ue(e)||ye(e)||Q(e)?{i:_e,r:e,k:t,f:!!n}:e:null);function $l(e,t=null,n=null,r=0,s=null,o=e===Pe?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Nl(t),ref:t&&er(t),scopeId:Rr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:_e};return l?(Ys(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ue(n)?8:16),Zt>0&&!i&&Le&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Le.push(c),c}const de=_u;function _u(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===wl)&&(e=Te),Gt(e)){const l=ot(e,t,!0);return n&&Ys(l,n),Zt>0&&!o&&Le&&(l.shapeFlag&6?Le[Le.indexOf(e)]=l:Le.push(l)),l.patchFlag|=-2,l}if(xu(e)&&(e=e.__vccOpts),t){t=jl(t);let{class:l,style:c}=t;l&&!ue(l)&&(t.class=wr(l)),ie(c)&&(el(c)&&!D(c)&&(c=me({},c)),t.style=vr(c))}const i=ue(e)?1:fl(e)?128:yu(e)?64:ie(e)?4:Q(e)?2:0;return $l(e,t,n,r,s,i,o,!0)}function jl(e){return e?el(e)||kr in e?me({},e):e:null}function ot(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,l=t?Bl(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Nl(l),ref:t&&t.ref?n&&s?D(s)?s.concat(er(t)):[s,er(t)]:er(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ot(e.ssContent),ssFallback:e.ssFallback&&ot(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Fl(e=" ",t=0){return de(Xt,null,e,t)}function pg(e="",t=!1){return t?(Je(),et(Te,null,e)):de(Te,null,e)}function Ie(e){return e==null||typeof e=="boolean"?de(Te):D(e)?de(Pe,null,e.slice()):typeof e=="object"?gt(e):de(Xt,null,String(e))}function gt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ot(e)}function Ys(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(D(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Ys(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(kr in t)?t._ctx=_e:s===3&&_e&&(_e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:_e},n=32):(t=String(t),r&64?(n=16,t=[Fl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Bl(...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=wr([t.class,r.class]));else if(s==="style")t.style=vr([t.style,r.style]);else if(Ln(s)){const o=t[s],i=r[s];i&&o!==i&&!(D(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function ke(e,t,n,r=null){Ne(e,t,7,[n,r])}const bu=Rl();let vu=0;function wu(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||bu,o={uid:vu++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Uc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Pl(r,s),emitsOptions:ul(r,s),emit:null,emitted:null,propsDefaults:ce,inheritAttrs:r.inheritAttrs,ctx:ce,data:ce,props:ce,attrs:ce,slots:ce,refs:ce,setupState:ce,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Pa.bind(null,o),e.ce&&e.ce(o),o}let ge=null;const Xs=()=>ge||_e;let Zs,Dt,Lo="__VUE_INSTANCE_SETTERS__";(Dt=Qr()[Lo])||(Dt=Qr()[Lo]=[]),Dt.push(e=>ge=e),Zs=e=>{Dt.length>1?Dt.forEach(t=>t(e)):Dt[0](e)};const en=e=>{Zs(e),e.scope.on()},Lt=()=>{ge&&ge.scope.off(),Zs(null)};function Ul(e){return e.vnode.shapeFlag&4}let tn=!1;function Eu(e,t=!1){tn=t;const{props:n,children:r}=e.vnode,s=Ul(e);cu(e,n,s,t),fu(e,r);const o=s?Cu(e,t):void 0;return tn=!1,o}function Cu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=tl(new Proxy(e.ctx,eu));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Ru(e):null;en(e),an();const o=_t(r,e,0,[e.props,s]);if(un(),Lt(),$i(o)){if(o.then(Lt,Lt),t)return o.then(i=>{os(e,i,t)}).catch(i=>{fn(i,e,0)});e.asyncDep=o}else os(e,o,t)}else Dl(e,t)}function os(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ie(t)&&(e.setupState=sl(t)),Dl(e,n)}let No;function Dl(e,t,n){const r=e.type;if(!e.render){if(!t&&No&&!r.render){const s=r.template||Js(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,u=me(me({isCustomElement:o,delimiters:l},i),c);r.render=No(s,u)}}e.render=r.render||Ue}en(e),an(),tu(e),un(),Lt()}function Tu(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ae(e,"get","$attrs"),t[n]}}))}function Ru(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Tu(e)},slots:e.slots,emit:e.emit,expose:t}}function Pr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(sl(tl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in vn)return vn[n](e)},has(t,n){return n in t||n in vn}}))}function is(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function xu(e){return Q(e)&&"__vccOpts"in e}const He=(e,t)=>Ca(e,t,tn);function Oe(e,t,n){const r=arguments.length;return r===2?ie(t)&&!D(t)?Gt(t)?de(e,null,[t]):de(e,t):de(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Gt(n)&&(n=[n]),de(e,t,n))}const ku=Symbol.for("v-scx"),Pu=()=>Ce(ku),Kl="3.3.4",Au="http://www.w3.org/2000/svg",Pt=typeof document<"u"?document:null,$o=Pt&&Pt.createElement("template"),Su={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?Pt.createElementNS(Au,e):Pt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Pt.createTextNode(e),createComment:e=>Pt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Pt.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{$o.innerHTML=r?`<svg>${e}</svg>`:e;const l=$o.content;if(r){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Ou(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Mu(e,t,n){const r=e.style,s=ue(n);if(n&&!s){if(t&&!ue(t))for(const o in t)n[o]==null&&ls(r,o,"");for(const o in n)ls(r,o,n[o])}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const jo=/\s*!important$/;function ls(e,t,n){if(D(n))n.forEach(r=>ls(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Iu(e,t);jo.test(n)?e.setProperty(cn(r),n.replace(jo,""),"important"):e[r]=n}}const Fo=["Webkit","Moz","ms"],Br={};function Iu(e,t){const n=Br[t];if(n)return n;let r=Qe(t);if(r!=="filter"&&r in e)return Br[t]=r;r=br(r);for(let s=0;s<Fo.length;s++){const o=Fo[s]+r;if(o in e)return Br[t]=o}return t}const Bo="http://www.w3.org/1999/xlink";function Hu(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Bo,t.slice(6,t.length)):e.setAttributeNS(Bo,t,n);else{const o=Fc(t);n==null||o&&!Ui(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function Lu(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const u=l==="OPTION"?e.getAttribute("value"):e.value,a=n??"";u!==a&&(e.value=a),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=Ui(n):n==null&&u==="string"?(n="",c=!0):u==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}function tt(e,t,n,r){e.addEventListener(t,n,r)}function Nu(e,t,n,r){e.removeEventListener(t,n,r)}function $u(e,t,n,r,s=null){const o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{const[l,c]=ju(t);if(r){const u=o[t]=Uu(r,s);tt(e,l,u,c)}else i&&(Nu(e,l,i,c),o[t]=void 0)}}const Uo=/(?:Once|Passive|Capture)$/;function ju(e){let t;if(Uo.test(e)){t={};let r;for(;r=e.match(Uo);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):cn(e.slice(2)),t]}let Ur=0;const Fu=Promise.resolve(),Bu=()=>Ur||(Fu.then(()=>Ur=0),Ur=Date.now());function Uu(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ne(Du(r,n.value),t,5,[r])};return n.value=e,n.attached=Bu(),n}function Du(e,t){if(D(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 Do=/^on[a-z]/,Ku=(e,t,n,r,s=!1,o,i,l,c)=>{t==="class"?Ou(e,r,s):t==="style"?Mu(e,n,r):Ln(t)?ks(t)||$u(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wu(e,t,r,s))?Lu(e,t,r,o,i,l,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Hu(e,t,r,s))};function Wu(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Do.test(t)&&Q(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Do.test(t)&&ue(n)?!1:t in e}const dt="transition",hn="animation",Ar=(e,{slots:t})=>Oe(Da,qu(e),t);Ar.displayName="Transition";const Wl={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Ar.props=me({},pl,Wl);const Ct=(e,t=[])=>{D(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ko=e=>e?D(e)?e.some(t=>t.length>1):e.length>1:!1;function qu(e){const t={};for(const $ in e)$ in Wl||(t[$]=e[$]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:u=i,appearToClass:a=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,v=Vu(s),T=v&&v[0],O=v&&v[1],{onBeforeEnter:_,onEnter:g,onEnterCancelled:R,onLeave:b,onLeaveCancelled:P,onBeforeAppear:H=_,onAppear:L=g,onAppearCancelled:x=R}=t,K=($,z,F)=>{Tt($,z?a:l),Tt($,z?u:i),F&&F()},U=($,z)=>{$._isLeaving=!1,Tt($,f),Tt($,m),Tt($,d),z&&z()},J=$=>(z,F)=>{const he=$?L:g,Z=()=>K(z,$,F);Ct(he,[z,Z]),Wo(()=>{Tt(z,$?c:o),ht(z,$?a:l),Ko(he)||qo(z,r,T,Z)})};return me(t,{onBeforeEnter($){Ct(_,[$]),ht($,o),ht($,i)},onBeforeAppear($){Ct(H,[$]),ht($,c),ht($,u)},onEnter:J(!1),onAppear:J(!0),onLeave($,z){$._isLeaving=!0;const F=()=>U($,z);ht($,f),Qu(),ht($,d),Wo(()=>{$._isLeaving&&(Tt($,f),ht($,m),Ko(b)||qo($,r,O,F))}),Ct(b,[$,F])},onEnterCancelled($){K($,!1),Ct(R,[$])},onAppearCancelled($){K($,!0),Ct(x,[$])},onLeaveCancelled($){U($),Ct(P,[$])}})}function Vu(e){if(e==null)return null;if(ie(e))return[Dr(e.enter),Dr(e.leave)];{const t=Dr(e);return[t,t]}}function Dr(e){return Bi(e)}function ht(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Tt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Wo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let zu=0;function qo(e,t,n,r){const s=e._endId=++zu,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=Ju(e,t);if(!i)return r();const u=i+"end";let a=0;const f=()=>{e.removeEventListener(u,d),o()},d=m=>{m.target===e&&++a>=c&&f()};setTimeout(()=>{a<c&&f()},l+1),e.addEventListener(u,d)}function Ju(e,t){const n=window.getComputedStyle(e),r=v=>(n[v]||"").split(", "),s=r(`${dt}Delay`),o=r(`${dt}Duration`),i=Vo(s,o),l=r(`${hn}Delay`),c=r(`${hn}Duration`),u=Vo(l,c);let a=null,f=0,d=0;t===dt?i>0&&(a=dt,f=i,d=o.length):t===hn?u>0&&(a=hn,f=u,d=c.length):(f=Math.max(i,u),a=f>0?i>u?dt:hn:null,d=a?a===dt?o.length:c.length:0);const m=a===dt&&/\b(transform|all)(,|$)/.test(r(`${dt}Property`).toString());return{type:a,timeout:f,propCount:d,hasTransform:m}}function Vo(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>zo(n)+zo(e[r])))}function zo(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Qu(){return document.body.offsetHeight}const vt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return D(t)?n=>zt(t,n):t};function Yu(e){e.target.composing=!0}function Jo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Qo={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=vt(s);const o=r||s.props&&s.props.type==="number";tt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=rr(l)),e._assign(l)}),n&&tt(e,"change",()=>{e.value=e.value.trim()}),t||(tt(e,"compositionstart",Yu),tt(e,"compositionend",Jo),tt(e,"change",Jo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=vt(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&rr(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},Xu={deep:!0,created(e,t,n){e._assign=vt(n),tt(e,"change",()=>{const r=e._modelValue,s=nn(e),o=e.checked,i=e._assign;if(D(r)){const l=Ss(r,s),c=l!==-1;if(o&&!c)i(r.concat(s));else if(!o&&c){const u=[...r];u.splice(l,1),i(u)}}else if(on(r)){const l=new Set(r);o?l.add(s):l.delete(s),i(l)}else i(ql(e,o))})},mounted:Yo,beforeUpdate(e,t,n){e._assign=vt(n),Yo(e,t,n)}};function Yo(e,{value:t,oldValue:n},r){e._modelValue=t,D(t)?e.checked=Ss(t,r.props.value)>-1:on(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Nt(t,ql(e,!0)))}const Zu={created(e,{value:t},n){e.checked=Nt(t,n.props.value),e._assign=vt(n),tt(e,"change",()=>{e._assign(nn(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=vt(r),t!==n&&(e.checked=Nt(t,r.props.value))}},Gu={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=on(t);tt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?rr(nn(i)):nn(i));e._assign(e.multiple?s?new Set(o):o:o[0])}),e._assign=vt(r)},mounted(e,{value:t}){Xo(e,t)},beforeUpdate(e,t,n){e._assign=vt(n)},updated(e,{value:t}){Xo(e,t)}};function Xo(e,t){const n=e.multiple;if(!(n&&!D(t)&&!on(t))){for(let r=0,s=e.options.length;r<s;r++){const o=e.options[r],i=nn(o);if(n)D(t)?o.selected=Ss(t,i)>-1:o.selected=t.has(i);else if(Nt(nn(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function nn(e){return"_value"in e?e._value:e.value}function ql(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const gg={created(e,t,n){Yn(e,t,n,null,"created")},mounted(e,t,n){Yn(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Yn(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Yn(e,t,n,r,"updated")}};function ef(e,t){switch(e){case"SELECT":return Gu;case"TEXTAREA":return Qo;default:switch(t){case"checkbox":return Xu;case"radio":return Zu;default:return Qo}}}function Yn(e,t,n,r,s){const i=ef(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}const mg={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):pn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),pn(e,!0),r.enter(e)):r.leave(e,()=>{pn(e,!1)}):pn(e,t))},beforeUnmount(e,{value:t}){pn(e,t)}};function pn(e,t){e.style.display=t?e._vod:"none"}const Vl=me({patchProp:Ku},Su);let En,Zo=!1;function tf(){return En||(En=pu(Vl))}function nf(){return En=Zo?En:gu(Vl),Zo=!0,En}const rf=(...e)=>{const t=tf().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=zl(r);if(!s)return;const o=t._component;!Q(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},sf=(...e)=>{const t=nf().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=zl(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function zl(e){return ue(e)?document.querySelector(e):e}const of=/"(?:_|\\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*:/,lf=/"(?: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*:/,cf=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function af(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){uf(e);return}return t}function uf(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function fr(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e[e.length-1]==='"')return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!cf.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(of.test(e)||lf.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,af)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const ff=/#/g,df=/&/g,hf=/=/g,Gs=/\+/g,pf=/%5e/gi,gf=/%60/gi,mf=/%7c/gi,yf=/%20/gi;function _f(e){return encodeURI(""+e).replace(mf,"|")}function cs(e){return _f(typeof e=="string"?e:JSON.stringify(e)).replace(Gs,"%2B").replace(yf,"+").replace(ff,"%23").replace(df,"%26").replace(gf,"`").replace(pf,"^")}function Kr(e){return cs(e).replace(hf,"%3D")}function dr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function bf(e){return dr(e.replace(Gs," "))}function vf(e){return dr(e.replace(Gs," "))}function wf(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=bf(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=vf(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 Ef(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Kr(e)}=${cs(n)}`).join("&"):`${Kr(e)}=${cs(t)}`:Kr(e)}function Cf(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Ef(t,e[t])).filter(Boolean).join("&")}const Tf=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Rf=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,xf=/^([/\\]\s*){2,}[^/\\]/;function jn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Tf.test(e):Rf.test(e)||(t.acceptRelative?xf.test(e):!1)}const kf=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function Pf(e){return!!e&&kf.test(e)}const Af=/\/$|\/\?/;function as(e="",t=!1){return t?Af.test(e):e.endsWith("/")}function Jl(e="",t=!1){if(!t)return(as(e)?e.slice(0,-1):e)||"/";if(!as(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function us(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(as(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function Sf(e=""){return e.startsWith("/")}function Go(e=""){return Sf(e)?e:"/"+e}function Of(e,t){if(Yl(t)||jn(e))return e;const n=Jl(t);return e.startsWith(n)?e:Fn(n,e)}function ei(e,t){if(Yl(t))return e;const n=Jl(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Ql(e,t){const n=Sr(e),r={...wf(n.search),...t};return n.search=Cf(r),Lf(n)}function Yl(e){return!e||e==="/"}function Mf(e){return e&&e!=="/"}const If=/^\.?\//;function Fn(e,...t){let n=e||"";for(const r of t.filter(s=>Mf(s)))if(n){const s=r.replace(If,"");n=us(n)+s}else n=r;return n}function Hf(e,t,n={}){return n.trailingSlash||(e=us(e),t=us(t)),n.leadingSlash||(e=Go(e),t=Go(t)),n.encoding||(e=dr(e),t=dr(t)),e===t}function Sr(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/);if(n){const[,f,d=""]=n;return{protocol:f,pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!jn(e,{acceptRelative:!0}))return t?Sr(t+e):ti(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",l=""]=o.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:u,hash:a}=ti(l.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r,auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:c,search:u,hash:a}}function ti(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Lf(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.protocol+"//":"")+s+o+t+n+r}class Nf extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function $f(e){var c,u,a,f,d;const t=((c=e.error)==null?void 0:c.message)||((u=e.error)==null?void 0:u.toString())||"",n=((a=e.request)==null?void 0:a.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.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}`:""}`,l=new Nf(i,e.error?{cause:e.error}:void 0);for(const m of["request","options","response"])Object.defineProperty(l,m,{get(){return e[m]}});for(const[m,v]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,m,{get(){return e.response&&e.response[v]}});return l}const jf=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ni(e="GET"){return jf.has(e.toUpperCase())}function Ff(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Bf=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Uf=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Df(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Uf.test(t)?"json":Bf.has(t)||t.startsWith("text/")?"text":"blob"}function Kf(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[s,o]of new n((e==null?void 0:e.headers)||{}))r.headers.set(s,o)}return r}const Wf=new Set([408,409,425,429,500,502,503,504]),qf=new Set([101,204,205,304]);function Xl(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(l){const c=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!c){let a;typeof l.options.retry=="number"?a=l.options.retry:a=ni(l.options.method)?0:1;const f=l.response&&l.response.status||500;if(a>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(f):Wf.has(f))){const d=l.options.retryDelay||0;return d>0&&await new Promise(m=>setTimeout(m,d)),o(l.request,{...l.options,retry:a-1,timeout:l.options.timeout})}}const u=$f(l);throw Error.captureStackTrace&&Error.captureStackTrace(u,o),u}const o=async function(c,u={}){var d;const a={request:c,options:Kf(u,e.defaults,n),response:void 0,error:void 0};if(a.options.method=(d=a.options.method)==null?void 0:d.toUpperCase(),a.options.onRequest&&await a.options.onRequest(a),typeof a.request=="string"&&(a.options.baseURL&&(a.request=Of(a.request,a.options.baseURL)),(a.options.query||a.options.params)&&(a.request=Ql(a.request,{...a.options.params,...a.options.query}))),a.options.body&&ni(a.options.method)&&(Ff(a.options.body)?(a.options.body=typeof a.options.body=="string"?a.options.body:JSON.stringify(a.options.body),a.options.headers=new n(a.options.headers||{}),a.options.headers.has("content-type")||a.options.headers.set("content-type","application/json"),a.options.headers.has("accept")||a.options.headers.set("accept","application/json")):("pipeTo"in a.options.body&&typeof a.options.body.pipeTo=="function"||typeof a.options.body.pipe=="function")&&("duplex"in a.options||(a.options.duplex="half"))),!a.options.signal&&a.options.timeout){const m=new r;setTimeout(()=>m.abort(),a.options.timeout),a.options.signal=m.signal}try{a.response=await t(a.request,a.options)}catch(m){return a.error=m,a.options.onRequestError&&await a.options.onRequestError(a),await s(a)}if(a.response.body&&!qf.has(a.response.status)&&a.options.method!=="HEAD"){const m=(a.options.parseResponse?"json":a.options.responseType)||Df(a.response.headers.get("content-type")||"");switch(m){case"json":{const v=await a.response.text(),T=a.options.parseResponse||fr;a.response._data=T(v);break}case"stream":{a.response._data=a.response.body;break}default:a.response._data=await a.response[m]()}}return a.options.onResponse&&await a.options.onResponse(a),!a.options.ignoreResponseError&&a.response.status>=400&&a.response.status<600?(a.options.onResponseError&&await a.options.onResponseError(a),await s(a)):a.response},i=async function(c,u){return(await o(c,u))._data};return i.raw=o,i.native=(...l)=>t(...l),i.create=(l={})=>Xl({...e,defaults:{...e.defaults,...l}}),i}const eo=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")}(),Vf=eo.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),zf=eo.Headers,Jf=eo.AbortController,Qf=Xl({fetch:Vf,Headers:zf,AbortController:Jf}),Yf=Qf,Xf=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},hr=Xf().app,Zf=()=>hr.baseURL,Gf=()=>hr.buildAssetsDir,ed=(...e)=>Fn(Zl(),Gf(),...e),Zl=(...e)=>{const t=hr.cdnURL||hr.baseURL;return e.length?Fn(t,...e):t};globalThis.__buildAssetsURL=ed,globalThis.__publicAssetsURL=Zl;function fs(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?fs(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const td={run:e=>e()},nd=()=>td,Gl=typeof console.createTask<"u"?console.createTask:nd;function rd(e,t){const n=t.shift(),r=Gl(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function sd(e,t){const n=t.shift(),r=Gl(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Wr(e,t){for(const n of[...e])n(t)}class od{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=fs(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=fs(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(rd,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(sd,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Wr(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&Wr(this._after,s)}):(this._after&&s&&Wr(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 ec(){return new od}function id(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&&t===void 0){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,l)=>{l||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,l)=>{r(i),t=i;try{return s?s.run(i,l):l()}finally{n||(t=void 0)}},async callAsync(i,l){t=i;const c=()=>{t=i},u=()=>t===i?c:void 0;ds.add(u);try{const a=s?s.run(i,l):l();return n||(t=void 0),await a}finally{ds.delete(u)}}}}function ld(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=id({...e,...r})),t[n],t[n]}}}const pr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},ri="__unctx__",cd=pr[ri]||(pr[ri]=ld()),ad=(e,t={})=>cd.get(e,t),si="__unctx_async_handlers__",ds=pr[si]||(pr[si]=new Set);function gr(e){const t=[];for(const s of ds){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 tc=ad("nuxt-app",{asyncContext:!1}),ud="__nuxt_plugin";function fd(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.7.4"},get vue(){return n.vueApp.version}},payload:st({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:s=>pd(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:{},_payloadRevivers:{},...e};n.hooks=ec(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;Xn(n,i,o),Xn(n.vueApp.config.globalProperties,i,o)},Xn(n.vueApp,"$nuxt",n),Xn(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",o=>{n.callHook("app:chunkError",{error:o.payload})}),window.useNuxtApp=window.useNuxtApp||fe;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=st(n.payload.config);return n.provide("config",r),n}async function dd(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function hd(e,t){const n=[],r=[];for(const s of t){const o=dd(e,s);s.parallel?n.push(o.catch(i=>r.push(i))):await o}if(await Promise.all(n),r.length)throw r[0]}/*! @__NO_SIDE_EFFECTS__ */function ct(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[ud]:!0}))}function pd(e,t,n){const r=()=>n?t(...n):t();return tc.set(e),e.vueApp.runWithContext(r)}/*! @__NO_SIDE_EFFECTS__ */function fe(){var t;let e;if(xl()&&(e=(t=Xs())==null?void 0:t.appContext.app.$nuxt),e=e||tc.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function to(){return fe().$config}function Xn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const gd="modulepreload",md=function(e,t){return e[0]==="."?new URL(e,t).href:e},oi={},yd=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=md(o,r),o in oi)return;oi[o]=!0;const i=o.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!r)for(let a=s.length-1;a>=0;a--){const f=s[a];if(f.href===o&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const u=document.createElement("link");if(u.rel=i?"stylesheet":gd,i||(u.as="script",u.crossOrigin=""),u.href=o,document.head.appendChild(u),i)return new Promise((a,f)=>{u.addEventListener("load",a),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},hs=(...e)=>yd(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),_d=-1,bd=-2,vd=-3,wd=-4,Ed=-5,Cd=-6;function Td(e,t){return Rd(JSON.parse(e),t)}function Rd(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(o,i=!1){if(o===_d)return;if(o===vd)return NaN;if(o===wd)return 1/0;if(o===Ed)return-1/0;if(o===Cd)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const l=n[o];if(!l||typeof l!="object")r[o]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const c=l[0],u=t==null?void 0:t[c];if(u)return r[o]=u(s(l[1]));switch(c){case"Date":r[o]=new Date(l[1]);break;case"Set":const a=new Set;r[o]=a;for(let m=1;m<l.length;m+=1)a.add(s(l[m]));break;case"Map":const f=new Map;r[o]=f;for(let m=1;m<l.length;m+=2)f.set(s(l[m]),s(l[m+1]));break;case"RegExp":r[o]=new RegExp(l[1],l[2]);break;case"Object":r[o]=Object(l[1]);break;case"BigInt":r[o]=BigInt(l[1]);break;case"null":const d=Object.create(null);r[o]=d;for(let m=1;m<l.length;m+=2)d[l[m]]=s(l[m+1]);break;default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(l.length);r[o]=c;for(let u=0;u<l.length;u+=1){const a=l[u];a!==bd&&(c[u]=s(a))}}else{const c={};r[o]=c;for(const u in l){const a=l[u];c[u]=s(a)}}return r[o]}return s(0)}function xd(e){return Array.isArray(e)?e:[e]}const kd=["title","titleTemplate","script","style","noscript"],tr=["base","meta","link","style","script","noscript"],Pd=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Ad=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],nc=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"],Sd=typeof window<"u";function rc(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function ii(e){return e._h||rc(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function sc(e,t){const{props:n,tag:r}=e;if(Ad.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const o of s)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${r}:${o}:${i}`}return!1}function li(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Od(e,t,n){const r={tag:e,props:await oc(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return nc.forEach(s=>{const o=typeof r.props[s]<"u"?r.props[s]:n[s];typeof o<"u"&&((!["innerHTML","textContent"].includes(s)||kd.includes(r.tag))&&(r[s]=o),delete r.props[s])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.props.children&&(r.innerHTML=r.props.children,delete r.props.children),r.tag==="script"&&(typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),r.innerHTML&&["application/ld+json","application/json"].includes(r.props.type)&&(r.innerHTML=r.innerHTML.replace(/</g,"\\u003C"))),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function Md(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function oc(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=Md(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!nc.includes(n)){const r=String(e[n]),s=n.startsWith("data-");r==="true"||r===""?e[n]=s?"true":!0:e[n]||(s&&r==="false"?e[n]="false":delete e[n])}}return e}const Id=10;async function Hd(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&Pd.includes(n)).forEach(([n,r])=>{const s=xd(r);t.push(...s.map(o=>Od(n,o,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<Id)+r,n))}const ci={base:-10,title:10},ai={critical:-80,high:-10,low:20};function mr(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in ci&&(t=ci[e.tag]),typeof n=="string"&&n in ai?t+ai[n]:t)}const Ld=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],pt="%separator";function Rt(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(i){let l;return["s","pageTitle"].includes(i)?l=t.pageTitle:i.includes(".")?l=i.split(".").reduce((c,u)=>c&&c[u]||void 0,t):l=t[i],typeof l<"u"?(l||"").replace(/"/g,'\\"'):!1}let s=e;try{s=decodeURI(e)}catch{}return(s.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const l=r(i.slice(1));typeof l=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(c,u)=>`${l}${u}`).trim())}),e.includes(pt)&&(e.endsWith(pt)&&(e=e.slice(0,-pt.length).trim()),e.startsWith(pt)&&(e=e.slice(pt.length).trim()),e=e.replace(new RegExp(`\\${pt}\\s*\\${pt}`,"g"),pt),e=Rt(e,{separator:n},n)),e}async function Nd(e){const t={tag:e.tagName.toLowerCase(),props:await oc(e.getAttributeNames().reduce((n,r)=>({...n,[r]:e.getAttribute(r)}),{})),innerHTML:e.innerHTML};return t._d=sc(t),t}async function ic(e,t={}){var a;const n=t.document||e.resolvedOptions.document;if(!n)return;const r={shouldRender:e.dirty,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const s=(await e.resolveTags()).map(f=>({tag:f,id:tr.includes(f.tag)?ii(f):f.tag,shouldRender:!0}));let o=e._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(a=n==null?void 0:n[f])==null?void 0:a.children;for(const m of[...d].filter(v=>tr.includes(v.tagName.toLowerCase())))o.elMap[m.getAttribute("data-hid")||ii(await Nd(m))]=m}}o.pendingSideEffects={...o.sideEffects||{}},o.sideEffects={};function i(f,d,m){const v=`${f}:${d}`;o.sideEffects[v]=m,delete o.pendingSideEffects[v]}function l({id:f,$el:d,tag:m}){const v=m.tag.endsWith("Attrs");o.elMap[f]=d,v||(["textContent","innerHTML"].forEach(T=>{m[T]&&m[T]!==d[T]&&(d[T]=m[T])}),i(f,"el",()=>{o.elMap[f].remove(),delete o.elMap[f]})),Object.entries(m.props).forEach(([T,O])=>{const _=`attr:${T}`;if(T==="class")for(const g of(O||"").split(" ").filter(Boolean))v&&i(f,`${_}:${g}`,()=>d.classList.remove(g)),!d.classList.contains(g)&&d.classList.add(g);else d.getAttribute(T)!==O&&d.setAttribute(T,O===!0?"":String(O)),v&&i(f,_,()=>d.removeAttribute(T))})}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of s){const{tag:d,shouldRender:m,id:v}=f;if(m){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||o.elMap[v],f.$el?l(f):tr.includes(d.tag)&&c.push(f)}}for(const f of c){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),u[d]=u[d]||n.createDocumentFragment(),u[d].appendChild(f.$el)}for(const f of s)await e.hooks.callHook("dom:renderTag",f,n,i);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose),Object.values(o.pendingSideEffects).forEach(f=>f()),e._dom=o,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:s})}async function $d(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await ic(e,t),delete e._domUpdatePromise,r()}))}function jd(e){return t=>{var r,s;const n=((s=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:s.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(o){$d(o,e)}}}}}const Fd=["templateParams","htmlAttrs","bodyAttrs"],Bd={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=sc(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const s=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,o=t[s];if(o){let l=r==null?void 0:r.tagDuplicateStrategy;if(!l&&Fd.includes(r.tag)&&(l="merge"),l==="merge"){const c=o.props;["class","style"].forEach(u=>{r.props[u]&&c[u]&&(u==="style"&&!c[u].endsWith(";")&&(c[u]+=";"),r.props[u]=`${c[u]} ${r.props[u]}`)}),t[s].props={...c,...r.props};return}else if(r._e===o._e){o._duped=o._duped||[],r._d=`${o._d}:${o._duped.length+1}`,o._duped.push(r);return}else if(mr(r)>mr(o))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(tr.includes(r.tag)&&i===0){delete t[s];return}t[s]=r});const n=[];Object.values(t).forEach(r=>{const s=r._duped;delete r._duped,n.push(r),s&&n.push(...s)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},Ud={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},ui=["script","link","bodyAttrs"];function fi(e){const t={},n={};return Object.entries(e.props).forEach(([r,s])=>{r.startsWith("on")&&typeof s=="function"?n[r]=s:t[r]=s}),{props:t,eventHandlers:n}}const Dd={hooks:{"ssr:render":function(e){e.tags=e.tags.map(t=>(!ui.includes(t.tag)||!Object.entries(t.props).find(([n,r])=>n.startsWith("on")&&typeof r=="function")||(t.props=fi(t).props),t))},"tags:resolve":function(e){e.tags=e.tags.map(t=>{if(!ui.includes(t.tag))return t;const{props:n,eventHandlers:r}=fi(t);return Object.keys(r).length&&(t.props=n,t._eventHandlers=r),t})},"dom:renderTag":function(e,t,n){if(!e.tag._eventHandlers)return;const r=e.tag.tag==="bodyAttrs"?t.defaultView:e.$el;Object.entries(e.tag._eventHandlers).forEach(([s,o])=>{const i=`${e.tag._d||e.tag._p}:${s}`,l=s.slice(2).toLowerCase(),c=`data-h-${l}`;if(n(e.id,i,()=>{}),e.$el.hasAttribute(c))return;const u=o;e.$el.setAttribute(c,""),r.addEventListener(l,u),e.entry&&n(e.id,i,()=>{r.removeEventListener(l,u),e.$el.removeAttribute(c)})})}}},Kd=["link","style","script","noscript"],Wd={hooks:{"tag:normalise":({tag:e})=>{e.key&&Kd.includes(e.tag)&&(e.props["data-hid"]=e._h=rc(e.key))}}},qd={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(s=>s._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of Ld)for(const s of e.tags.filter(o=>typeof o.tagPriority=="string"&&o.tagPriority.startsWith(n))){const o=t(s.tagPriority.replace(n,""));typeof o<"u"&&(s._p=o+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>mr(n)-mr(r))}}},Vd={hooks:{"tags:resolve":e=>{var i;const{tags:t}=e,n=(i=t.find(l=>l.tag==="title"))==null?void 0:i.textContent,r=t.findIndex(l=>l.tag==="templateParams"),s=r!==-1?t[r].props:{},o=s.separator||"|";delete s.separator,s.pageTitle=Rt(s.pageTitle||n||"",s,o);for(const l of t)l.processTemplateParams!==!1&&(["titleTemplate","title"].includes(l.tag)&&typeof l.textContent=="string"?l.textContent=Rt(l.textContent,s,o):l.tag==="meta"&&typeof l.props.content=="string"?l.props.content=Rt(l.props.content,s,o):l.tag==="link"&&typeof l.props.href=="string"?l.props.href=Rt(l.props.href,s,o):l.processTemplateParams===!0&&(l.innerHTML?l.innerHTML=Rt(l.innerHTML,s,o):l.textContent&&(l.textContent=Rt(l.textContent,s,o))));e.tags=t.filter(l=>l.tag!=="templateParams")}}},zd={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(s=>s.tag==="titleTemplate");const r=t.findIndex(s=>s.tag==="title");if(r!==-1&&n!==-1){const s=li(t[n].textContent,t[r].textContent);s!==null?t[r].textContent=s||t[r].textContent:delete t[r]}else if(n!==-1){const s=li(t[n].textContent);s!==null&&(t[n].textContent=s,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}};let lc;function Jd(e={}){const t=Qd(e);return t.use(jd()),lc=t}function di(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Qd(e={}){const t=ec();t.addHooks(e.hooks||{}),e.document=e.document||(Sd?document:void 0);const n=!e.document;e.plugins=[Bd,Ud,Dd,Wd,qd,Vd,zd,...(e==null?void 0:e.plugins)||[]];const r=()=>{i.dirty=!0,t.callHook("entries:updated",i)};let s=0,o=[];const i={dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return o},use(l){const c=typeof l=="function"?l(i):l;di(c.mode,n)&&t.addHooks(c.hooks||{})},push(l,c){c==null||delete c.head;const u={_i:s++,input:l,...c};return di(u.mode,n)&&(o.push(u),r()),{dispose(){o=o.filter(a=>a._i!==u._i),t.callHook("entries:updated",i),r()},patch(a){o=o.map(f=>(f._i===u._i&&(f.input=u.input=a),f)),r()}}},async resolveTags(){const l={tags:[],entries:[...o]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const a of await Hd(c)){const f={tag:a,entry:c,resolvedOptions:i.resolvedOptions};await t.callHook("tag:normalise",f),l.tags.push(f.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),l.tags},ssr:n};return e.plugins.forEach(l=>i.use(l)),i.hooks.callHook("init",i),i}function Yd(){return lc}const Xd=Kl.startsWith("3");function Zd(e){return typeof e=="function"?e():ae(e)}function ps(e,t=""){if(e instanceof Promise)return e;const n=Zd(e);return!e||!n?n:Array.isArray(n)?n.map(r=>ps(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,ae(s)]:[r,ps(s,r)])):n}const Gd={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=ps(t.input)}}},cc="usehead";function eh(e){return{install(n){Xd&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(cc,e))}}.install}function th(e={}){e.domDelayFn=e.domDelayFn||(n=>jt(()=>setTimeout(()=>n(),0)));const t=Jd(e);return t.use(Gd),t.install=eh(t),t}const gs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ms="__unhead_injection_handler__";function nh(e){gs[ms]=e}function yg(){if(ms in gs)return gs[ms]();const e=Ce(cc);return e||Yd()}function qr(e){return e!==null&&typeof e=="object"}function ys(e,t,n=".",r){if(!qr(t))return ys(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]]:qr(i)&&qr(s[o])?s[o]=ys(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function rh(e){return(...t)=>t.reduce((n,r)=>ys(n,r,"",e),{})}const sh=rh();function oh(e,t){try{return t in e}catch{return!1}}var ih=Object.defineProperty,lh=(e,t,n)=>t in e?ih(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xt=(e,t,n)=>(lh(e,typeof t!="symbol"?t+"":t,n),n);class _s extends Error{constructor(t,n={}){super(t,n),xt(this,"statusCode",500),xt(this,"fatal",!1),xt(this,"unhandled",!1),xt(this,"statusMessage"),xt(this,"data"),xt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:vs(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=ac(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}xt(_s,"__h3_error__",!0);function bs(e){if(typeof e=="string")return new _s(e);if(ch(e))return e;const t=new _s(e.message??e.statusMessage??"",{cause:e.cause||e});if(oh(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=vs(e.statusCode,t.statusCode):e.status&&(t.statusCode=vs(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;ac(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 ch(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const ah=/[^\u0009\u0020-\u007E]/g;function ac(e=""){return e.replace(ah,"")}function vs(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const uc=Symbol("layout-meta"),Bn=Symbol("route"),wt=()=>{var e;return(e=fe())==null?void 0:e.$router},no=()=>xl()?Ce(Bn,fe()._route):fe()._route;/*! @__NO_SIDE_EFFECTS__ */const uh=()=>{try{if(fe()._processingMiddleware)return!0}catch{return!0}return!1},_g=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Ql(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:l="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([a,f])=>f!==void 0).map(([a,f])=>`${a.toLowerCase()}=${f}`).join(", ");open(n,l,u)}return Promise.resolve()}const r=(t==null?void 0:t.external)||jn(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const l=Sr(n).protocol;if(l&&Pf(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const s=uh();if(!r&&s)return e;const o=wt(),i=fe();return r?(t!=null&&t.replace?location.replace(n):location.href=n,s?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?o.replace(e):o.push(e)},Or=()=>ol(fe().payload,"error"),Wt=e=>{const t=ro(e);try{const n=fe(),r=Or();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},fh=async(e={})=>{const t=fe(),n=Or();t.callHook("app:error:cleared",e),e.redirect&&await wt().replace(e.redirect),n.value=null},dh=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),ro=e=>{const t=bs(e);return t.__nuxt_error=!0,t},hi=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),bg=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),hh=e=>{const t=fe();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{hi(e)}):hi(e)},ph="$s";function gh(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s=ph+n,o=fe(),i=ol(o.payload.state,s);if(i.value===void 0&&r){const l=r();if(ye(l))return o.payload.state[s]=l,l;i.value=l}return i}function mh(e={}){const t=e.path||window.location.pathname;let n={};try{n=fr(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:fe().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const yh=!1,ws=!1,_h=!1,bh="#__nuxt";function pi(e,t={}){const n=vh(e,t),r=fe(),s=r._payloadCache=r._payloadCache||{};return n in s||(s[n]=wh().then(o=>o?fc(n).then(i=>i||(delete s[n],null)):(s[n]=null,null))),s[n]}const gi="json";function vh(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||jn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return Fn(to().app.baseURL,n.pathname,r?`_payload.${r}.${gi}`:`_payload.${gi}`)}async function fc(e){const t=fetch(e).then(n=>n.text().then(dc));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function wh(e=no().path){return!!fe().payload.prerenderedAt}let Zn=null;async function Eh(){if(Zn)return Zn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=dc(e.textContent||""),n=e.dataset.src?await fc(e.dataset.src):void 0;return Zn={...t,...n,...window.__NUXT__},Zn}function dc(e){return Td(e,fe()._payloadRevivers)}function Ch(e,t){fe()._payloadRevivers[e]=t}const mi={NuxtError:e=>ro(e),EmptyShallowRef:e=>An(e==="_"?void 0:e==="0n"?BigInt(0):fr(e)),EmptyRef:e=>nt(e==="_"?void 0:e==="0n"?BigInt(0):fr(e)),ShallowRef:e=>An(e),ShallowReactive:e=>Nn(e),Ref:e=>nt(e),Reactive:e=>st(e)},Th=ct({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in mi)Ch(r,mi[r]);Object.assign(e.payload,([t,n]=gr(()=>e.runWithContext(Eh)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Rh=[],xh=ct({name:"nuxt:head",enforce:"pre",setup(e){const t=th({plugins:Rh});nh(()=>fe().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await ic(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)}}});/*!
2
- * vue-router v4.2.5
3
- * (c) 2023 Eduardo San Martin Morote
4
- * @license MIT
5
- */const Kt=typeof window<"u";function kh(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const se=Object.assign;function Vr(e,t){const n={};for(const r in t){const s=t[r];n[r]=De(s)?s.map(e):e(s)}return n}const Cn=()=>{},De=Array.isArray,Ph=/\/$/,Ah=e=>e.replace(Ph,"");function zr(e,t,n="/"){let r,s={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l<c&&l>=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),s=e(o)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=Ih(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function Sh(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function yi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Oh(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&rn(t.matched[r],n.matched[s])&&hc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function rn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function hc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Mh(e[n],t[n]))return!1;return!0}function Mh(e,t){return De(e)?_i(e,t):De(t)?_i(t,e):e===t}function _i(e,t){return De(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Ih(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,l;for(i=0;i<r.length;i++)if(l=r[i],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var Hn;(function(e){e.pop="pop",e.push="push"})(Hn||(Hn={}));var Tn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Tn||(Tn={}));function Hh(e){if(!e)if(Kt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ah(e)}const Lh=/^[^#]+#/;function Nh(e,t){return e.replace(Lh,"#")+t}function $h(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Mr=()=>({left:window.pageXOffset,top:window.pageYOffset});function jh(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=$h(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function bi(e,t){return(history.state?history.state.position-t:-1)+e}const Es=new Map;function Fh(e,t){Es.set(e,t)}function Bh(e){const t=Es.get(e);return Es.delete(e),t}let Uh=()=>location.protocol+"//"+location.host;function pc(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let l=s.includes(e.slice(o))?e.slice(o).length:1,c=s.slice(l);return c[0]!=="/"&&(c="/"+c),yi(c,"")}return yi(n,e)+r+s}function Dh(e,t,n,r){let s=[],o=[],i=null;const l=({state:d})=>{const m=pc(e,location),v=n.value,T=t.value;let O=0;if(d){if(n.value=m,t.value=d,i&&i===v){i=null;return}O=T?d.position-T.position:0}else r(m);s.forEach(_=>{_(n.value,v,{delta:O,type:Hn.pop,direction:O?O>0?Tn.forward:Tn.back:Tn.unknown})})};function c(){i=n.value}function u(d){s.push(d);const m=()=>{const v=s.indexOf(d);v>-1&&s.splice(v,1)};return o.push(m),m}function a(){const{history:d}=window;d.state&&d.replaceState(se({},d.state,{scroll:Mr()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",a)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",a,{passive:!0}),{pauseListeners:c,listen:u,destroy:f}}function vi(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Mr():null}}function Kh(e){const{history:t,location:n}=window,r={value:pc(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,u,a){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:Uh()+e+c;try{t[a?"replaceState":"pushState"](u,"",d),s.value=u}catch(m){console.error(m),n[a?"replace":"assign"](d)}}function i(c,u){const a=se({},t.state,vi(s.value.back,c,s.value.forward,!0),u,{position:s.value.position});o(c,a,!0),r.value=c}function l(c,u){const a=se({},s.value,t.state,{forward:c,scroll:Mr()});o(a.current,a,!0);const f=se({},vi(r.value,c,null),{position:a.position+1},u);o(c,f,!1),r.value=c}return{location:r,state:s,push:l,replace:i}}function gc(e){e=Hh(e);const t=Kh(e),n=Dh(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=se({location:"",base:e,go:r,createHref:Nh.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Wh(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),gc(e)}function qh(e){return typeof e=="string"||e&&typeof e=="object"}function mc(e){return typeof e=="string"||typeof e=="symbol"}const qe={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},yc=Symbol("");var wi;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(wi||(wi={}));function sn(e,t){return se(new Error,{type:e,[yc]:!0},t)}function Xe(e,t){return e instanceof Error&&yc in e&&(t==null||!!(e.type&t))}const Ei="[^/]+?",Vh={sensitive:!1,strict:!1,start:!0,end:!0},zh=/[.+*?^${}()[\]/\\]/g;function Jh(e,t){const n=se({},Vh,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const a=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let f=0;f<u.length;f++){const d=u[f];let m=40+(n.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(zh,"\\$&"),m+=40;else if(d.type===1){const{value:v,repeatable:T,optional:O,regexp:_}=d;o.push({name:v,repeatable:T,optional:O});const g=_||Ei;if(g!==Ei){m+=10;try{new RegExp(`(${g})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${v}" (${g}): `+b.message)}}let R=T?`((?:${g})(?:/(?:${g}))*)`:`(${g})`;f||(R=O&&u.length<2?`(?:/${R})`:"/"+R),O&&(R+="?"),s+=R,m+=20,O&&(m+=-8),T&&(m+=-20),g===".*"&&(m+=-50)}a.push(m)}r.push(a)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function l(u){const a=u.match(i),f={};if(!a)return null;for(let d=1;d<a.length;d++){const m=a[d]||"",v=o[d-1];f[v.name]=m&&v.repeatable?m.split("/"):m}return f}function c(u){let a="",f=!1;for(const d of e){(!f||!a.endsWith("/"))&&(a+="/"),f=!1;for(const m of d)if(m.type===0)a+=m.value;else if(m.type===1){const{value:v,repeatable:T,optional:O}=m,_=v in u?u[v]:"";if(De(_)&&!T)throw new Error(`Provided param "${v}" is an array but it is not repeatable (* or + modifiers)`);const g=De(_)?_.join("/"):_;if(!g)if(O)d.length<2&&(a.endsWith("/")?a=a.slice(0,-1):f=!0);else throw new Error(`Missing required param "${v}"`);a+=g}}return a||"/"}return{re:i,score:r,keys:o,parse:l,stringify:c}}function Qh(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Yh(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=Qh(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Ci(r))return 1;if(Ci(s))return-1}return s.length-r.length}function Ci(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Xh={type:0,value:""},Zh=/[a-zA-Z0-9_]/;function Gh(e){if(!e)return[[]];if(e==="/")return[[Xh]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${u}": ${m}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let l=0,c,u="",a="";function f(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(u&&f(),i()):c===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:c==="("?n=2:Zh.test(c)?d():(f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case 2:c===")"?a[a.length-1]=="\\"?a=a.slice(0,-1)+c:n=3:a+=c;break;case 3:f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&l--,a="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),s}function ep(e,t,n){const r=Jh(Gh(e.path),n),s=se(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function tp(e,t){const n=[],r=new Map;t=xi({strict:!1,end:!0,sensitive:!1},t);function s(a){return r.get(a)}function o(a,f,d){const m=!d,v=np(a);v.aliasOf=d&&d.record;const T=xi(t,a),O=[v];if("alias"in a){const R=typeof a.alias=="string"?[a.alias]:a.alias;for(const b of R)O.push(se({},v,{components:d?d.record.components:v.components,path:b,aliasOf:d?d.record:v}))}let _,g;for(const R of O){const{path:b}=R;if(f&&b[0]!=="/"){const P=f.record.path,H=P[P.length-1]==="/"?"":"/";R.path=f.record.path+(b&&H+b)}if(_=ep(R,f,T),d?d.alias.push(_):(g=g||_,g!==_&&g.alias.push(_),m&&a.name&&!Ri(_)&&i(a.name)),v.children){const P=v.children;for(let H=0;H<P.length;H++)o(P[H],_,d&&d.children[H])}d=d||_,(_.record.components&&Object.keys(_.record.components).length||_.record.name||_.record.redirect)&&c(_)}return g?()=>{i(g)}:Cn}function i(a){if(mc(a)){const f=r.get(a);f&&(r.delete(a),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(a);f>-1&&(n.splice(f,1),a.record.name&&r.delete(a.record.name),a.children.forEach(i),a.alias.forEach(i))}}function l(){return n}function c(a){let f=0;for(;f<n.length&&Yh(a,n[f])>=0&&(a.record.path!==n[f].record.path||!_c(a,n[f]));)f++;n.splice(f,0,a),a.record.name&&!Ri(a)&&r.set(a.record.name,a)}function u(a,f){let d,m={},v,T;if("name"in a&&a.name){if(d=r.get(a.name),!d)throw sn(1,{location:a});T=d.record.name,m=se(Ti(f.params,d.keys.filter(g=>!g.optional).map(g=>g.name)),a.params&&Ti(a.params,d.keys.map(g=>g.name))),v=d.stringify(m)}else if("path"in a)v=a.path,d=n.find(g=>g.re.test(v)),d&&(m=d.parse(v),T=d.record.name);else{if(d=f.name?r.get(f.name):n.find(g=>g.re.test(f.path)),!d)throw sn(1,{location:a,currentLocation:f});T=d.record.name,m=se({},f.params,a.params),v=d.stringify(m)}const O=[];let _=d;for(;_;)O.unshift(_.record),_=_.parent;return{name:T,path:v,params:m,matched:O,meta:sp(O)}}return e.forEach(a=>o(a)),{addRoute:o,resolve:u,removeRoute:i,getRoutes:l,getRecordMatcher:s}}function Ti(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function np(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:rp(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function rp(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Ri(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function sp(e){return e.reduce((t,n)=>se(t,n.meta),{})}function xi(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function _c(e,t){return t.children.some(n=>n===e||_c(e,n))}const bc=/#/g,op=/&/g,ip=/\//g,lp=/=/g,cp=/\?/g,vc=/\+/g,ap=/%5B/g,up=/%5D/g,wc=/%5E/g,fp=/%60/g,Ec=/%7B/g,dp=/%7C/g,Cc=/%7D/g,hp=/%20/g;function so(e){return encodeURI(""+e).replace(dp,"|").replace(ap,"[").replace(up,"]")}function pp(e){return so(e).replace(Ec,"{").replace(Cc,"}").replace(wc,"^")}function Cs(e){return so(e).replace(vc,"%2B").replace(hp,"+").replace(bc,"%23").replace(op,"%26").replace(fp,"`").replace(Ec,"{").replace(Cc,"}").replace(wc,"^")}function gp(e){return Cs(e).replace(lp,"%3D")}function mp(e){return so(e).replace(bc,"%23").replace(cp,"%3F")}function yp(e){return e==null?"":mp(e).replace(ip,"%2F")}function yr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function _p(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(vc," "),i=o.indexOf("="),l=yr(i<0?o:o.slice(0,i)),c=i<0?null:yr(o.slice(i+1));if(l in t){let u=t[l];De(u)||(u=t[l]=[u]),u.push(c)}else t[l]=c}return t}function ki(e){let t="";for(let n in e){const r=e[n];if(n=gp(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(De(r)?r.map(o=>o&&Cs(o)):[r&&Cs(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function bp(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=De(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const vp=Symbol(""),Pi=Symbol(""),oo=Symbol(""),io=Symbol(""),Ts=Symbol("");function gn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function mt(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,l)=>{const c=f=>{f===!1?l(sn(4,{from:n,to:t})):f instanceof Error?l(f):qh(f)?l(sn(2,{from:t,to:f})):(o&&r.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),i())},u=e.call(r&&r.instances[s],t,n,c);let a=Promise.resolve(u);e.length<3&&(a=a.then(c)),a.catch(f=>l(f))})}function Jr(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let l=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(wp(l)){const u=(l.__vccOpts||l)[t];u&&s.push(mt(u,n,r,o,i))}else{let c=l();s.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const a=kh(u)?u.default:u;o.components[i]=a;const d=(a.__vccOpts||a)[t];return d&&mt(d,n,r,o,i)()}))}}return s}function wp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ai(e){const t=Ce(oo),n=Ce(io),r=He(()=>t.resolve(ae(e.to))),s=He(()=>{const{matched:c}=r.value,{length:u}=c,a=c[u-1],f=n.matched;if(!a||!f.length)return-1;const d=f.findIndex(rn.bind(null,a));if(d>-1)return d;const m=Si(c[u-2]);return u>1&&Si(a)===m&&f[f.length-1].path!==m?f.findIndex(rn.bind(null,c[u-2])):d}),o=He(()=>s.value>-1&&Rp(n.params,r.value.params)),i=He(()=>s.value>-1&&s.value===n.matched.length-1&&hc(n.params,r.value.params));function l(c={}){return Tp(c)?t[ae(e.replace)?"replace":"push"](ae(e.to)).catch(Cn):Promise.resolve()}return{route:r,href:He(()=>r.value.href),isActive:o,isExactActive:i,navigate:l}}const Ep=it({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ai,setup(e,{slots:t}){const n=st(Ai(e)),{options:r}=Ce(oo),s=He(()=>({[Oi(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Oi(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Oe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Cp=Ep;function Tp(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Rp(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!De(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Si(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Oi=(e,t,n)=>e??t??n,xp=it({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ce(Ts),s=He(()=>e.route||r.value),o=Ce(Pi,0),i=He(()=>{let u=ae(o);const{matched:a}=s.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),l=He(()=>s.value.matched[i.value]);Ht(Pi,He(()=>i.value+1)),Ht(vp,l),Ht(Ts,s);const c=nt();return Mt(()=>[c.value,l.value,e.name],([u,a,f],[d,m,v])=>{a&&(a.instances[f]=u,m&&m!==a&&u&&u===d&&(a.leaveGuards.size||(a.leaveGuards=m.leaveGuards),a.updateGuards.size||(a.updateGuards=m.updateGuards))),u&&a&&(!m||!rn(a,m)||!d)&&(a.enterCallbacks[f]||[]).forEach(T=>T(u))},{flush:"post"}),()=>{const u=s.value,a=e.name,f=l.value,d=f&&f.components[a];if(!d)return Mi(n.default,{Component:d,route:u});const m=f.props[a],v=m?m===!0?u.params:typeof m=="function"?m(u):m:null,O=Oe(d,se({},v,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[a]=null)},ref:c}));return Mi(n.default,{Component:O,route:u})||O}}});function Mi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Tc=xp;function kp(e){const t=tp(e.routes,e),n=e.parseQuery||_p,r=e.stringifyQuery||ki,s=e.history,o=gn(),i=gn(),l=gn(),c=An(qe);let u=qe;Kt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=Vr.bind(null,E=>""+E),f=Vr.bind(null,yp),d=Vr.bind(null,yr);function m(E,j){let I,W;return mc(E)?(I=t.getRecordMatcher(E),W=j):W=E,t.addRoute(W,I)}function v(E){const j=t.getRecordMatcher(E);j&&t.removeRoute(j)}function T(){return t.getRoutes().map(E=>E.record)}function O(E){return!!t.getRecordMatcher(E)}function _(E,j){if(j=se({},j||c.value),typeof E=="string"){const y=zr(n,E,j.path),w=t.resolve({path:y.path},j),C=s.createHref(y.fullPath);return se(y,w,{params:d(w.params),hash:yr(y.hash),redirectedFrom:void 0,href:C})}let I;if("path"in E)I=se({},E,{path:zr(n,E.path,j.path).path});else{const y=se({},E.params);for(const w in y)y[w]==null&&delete y[w];I=se({},E,{params:f(y)}),j.params=f(j.params)}const W=t.resolve(I,j),re=E.hash||"";W.params=a(d(W.params));const h=Sh(r,se({},E,{hash:pp(re),path:W.path})),p=s.createHref(h);return se({fullPath:h,hash:re,query:r===ki?bp(E.query):E.query||{}},W,{redirectedFrom:void 0,href:p})}function g(E){return typeof E=="string"?zr(n,E,c.value.path):se({},E)}function R(E,j){if(u!==E)return sn(8,{from:j,to:E})}function b(E){return L(E)}function P(E){return b(se(g(E),{replace:!0}))}function H(E){const j=E.matched[E.matched.length-1];if(j&&j.redirect){const{redirect:I}=j;let W=typeof I=="function"?I(E):I;return typeof W=="string"&&(W=W.includes("?")||W.includes("#")?W=g(W):{path:W},W.params={}),se({query:E.query,hash:E.hash,params:"path"in W?{}:E.params},W)}}function L(E,j){const I=u=_(E),W=c.value,re=E.state,h=E.force,p=E.replace===!0,y=H(I);if(y)return L(se(g(y),{state:typeof y=="object"?se({},re,y.state):re,force:h,replace:p}),j||I);const w=I;w.redirectedFrom=j;let C;return!h&&Oh(r,W,I)&&(C=sn(16,{to:w,from:W}),Ke(W,W,!0,!1)),(C?Promise.resolve(C):U(w,W)).catch(k=>Xe(k)?Xe(k,2)?k:at(k):ne(k,w,W)).then(k=>{if(k){if(Xe(k,2))return L(se({replace:p},g(k.to),{state:typeof k.to=="object"?se({},re,k.to.state):re,force:h}),j||w)}else k=$(w,W,!0,p,re);return J(w,W,k),k})}function x(E,j){const I=R(E,j);return I?Promise.reject(I):Promise.resolve()}function K(E){const j=Bt.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(E):E()}function U(E,j){let I;const[W,re,h]=Pp(E,j);I=Jr(W.reverse(),"beforeRouteLeave",E,j);for(const y of W)y.leaveGuards.forEach(w=>{I.push(mt(w,E,j))});const p=x.bind(null,E,j);return I.push(p),ve(I).then(()=>{I=[];for(const y of o.list())I.push(mt(y,E,j));return I.push(p),ve(I)}).then(()=>{I=Jr(re,"beforeRouteUpdate",E,j);for(const y of re)y.updateGuards.forEach(w=>{I.push(mt(w,E,j))});return I.push(p),ve(I)}).then(()=>{I=[];for(const y of h)if(y.beforeEnter)if(De(y.beforeEnter))for(const w of y.beforeEnter)I.push(mt(w,E,j));else I.push(mt(y.beforeEnter,E,j));return I.push(p),ve(I)}).then(()=>(E.matched.forEach(y=>y.enterCallbacks={}),I=Jr(h,"beforeRouteEnter",E,j),I.push(p),ve(I))).then(()=>{I=[];for(const y of i.list())I.push(mt(y,E,j));return I.push(p),ve(I)}).catch(y=>Xe(y,8)?y:Promise.reject(y))}function J(E,j,I){l.list().forEach(W=>K(()=>W(E,j,I)))}function $(E,j,I,W,re){const h=R(E,j);if(h)return h;const p=j===qe,y=Kt?history.state:{};I&&(W||p?s.replace(E.fullPath,se({scroll:p&&y&&y.scroll},re)):s.push(E.fullPath,re)),c.value=E,Ke(E,j,I,p),at()}let z;function F(){z||(z=s.listen((E,j,I)=>{if(!Un.listening)return;const W=_(E),re=H(W);if(re){L(se(re,{replace:!0}),W).catch(Cn);return}u=W;const h=c.value;Kt&&Fh(bi(h.fullPath,I.delta),Mr()),U(W,h).catch(p=>Xe(p,12)?p:Xe(p,2)?(L(p.to,W).then(y=>{Xe(y,20)&&!I.delta&&I.type===Hn.pop&&s.go(-1,!1)}).catch(Cn),Promise.reject()):(I.delta&&s.go(-I.delta,!1),ne(p,W,h))).then(p=>{p=p||$(W,h,!1),p&&(I.delta&&!Xe(p,8)?s.go(-I.delta,!1):I.type===Hn.pop&&Xe(p,20)&&s.go(-1,!1)),J(W,h,p)}).catch(Cn)}))}let he=gn(),Z=gn(),te;function ne(E,j,I){at(E);const W=Z.list();return W.length?W.forEach(re=>re(E,j,I)):console.error(E),Promise.reject(E)}function Ye(){return te&&c.value!==qe?Promise.resolve():new Promise((E,j)=>{he.add([E,j])})}function at(E){return te||(te=!E,F(),he.list().forEach(([j,I])=>E?I(E):j()),he.reset()),E}function Ke(E,j,I,W){const{scrollBehavior:re}=e;if(!Kt||!re)return Promise.resolve();const h=!I&&Bh(bi(E.fullPath,0))||(W||!I)&&history.state&&history.state.scroll||null;return jt().then(()=>re(E,j,h)).then(p=>p&&jh(p)).catch(p=>ne(p,E,j))}const Re=E=>s.go(E);let Ft;const Bt=new Set,Un={currentRoute:c,listening:!0,addRoute:m,removeRoute:v,hasRoute:O,getRoutes:T,resolve:_,options:e,push:b,replace:P,go:Re,back:()=>Re(-1),forward:()=>Re(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:Z.add,isReady:Ye,install(E){const j=this;E.component("RouterLink",Cp),E.component("RouterView",Tc),E.config.globalProperties.$router=j,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>ae(c)}),Kt&&!Ft&&c.value===qe&&(Ft=!0,b(s.location).catch(re=>{}));const I={};for(const re in qe)Object.defineProperty(I,re,{get:()=>c.value[re],enumerable:!0});E.provide(oo,j),E.provide(io,Nn(I)),E.provide(Ts,c);const W=E.unmount;Bt.add(E),E.unmount=function(){Bt.delete(E),Bt.size<1&&(u=qe,z&&z(),z=null,c.value=qe,Ft=!1,te=!1),W()}}};function ve(E){return E.reduce((j,I)=>j.then(()=>K(I)),Promise.resolve())}return Un}function Pp(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(u=>rn(u,l))?r.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(u=>rn(u,c))||s.push(c))}return[n,r,s]}function Ap(){return Ce(io)}const Ii=[{name:"index",path:"/",meta:{},alias:[],redirect:void 0,component:()=>hs(()=>import("./index.e982558e.js"),["./index.e982558e.js","./_plugin-vue_export-helper.c27b6911.js","./index.3f9296a3.css"],import.meta.url).then(e=>e.default||e)}],Sp={scrollBehavior(e,t,n){var u;const r=fe(),s=((u=wt().options)==null?void 0:u.scrollBehaviorType)??"auto";let o=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!o&&t&&e&&i!==!1&&Op(t,e)&&(o={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:Hi(e.hash),behavior:s}}const l=a=>!!(a.meta.pageTransition??ws),c=l(t)&&l(e)?"page:transition:finish":"page:finish";return new Promise(a=>{r.hooks.hookOnce(c,async()=>{await jt(),e.hash&&(o={el:e.hash,top:Hi(e.hash),behavior:s}),a(o)})})}};function Hi(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function Op(e,t){return t.path!==e.path||JSON.stringify(e.params)!==JSON.stringify(t.params)}const Mp={},xe={...Mp,...Sp},Ip=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=fe(),s=wt();if(([t,n]=gr(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=ro({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),l=s.beforeResolve(u=>{if(l(),u===e){const a=s.afterEach(async()=>{a(),await r.runWithContext(()=>Wt(i)),window.history.pushState({},"",e.fullPath)});return!1}})},Hp=[Ip],Rn={};function Lp(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const u=o.includes(e.slice(i))?e.slice(i).length:1;let a=o.slice(u);return a[0]!=="/"&&(a="/"+a),ei(a,"")}const l=ei(r,e),c=!n||Hf(l,n,{trailingSlash:!0})?l:n;return c+(c.includes("?")?"":s)+o}const Np=ct({name:"nuxt:router",enforce:"pre",async setup(e){var T,O;let t,n,r=to().app.baseURL;xe.hashMode&&!r.includes("#")&&(r+="#");const s=((T=xe.history)==null?void 0:T.call(xe,r))??(xe.hashMode?Wh(r):gc(r)),o=((O=xe.routes)==null?void 0:O.call(xe,Ii))??Ii;let i;const l=Lp(r,window.location,e.payload.path),c=kp({...xe,scrollBehavior:(_,g,R)=>{var b;if(g===qe){i=R;return}return c.options.scrollBehavior=xe.scrollBehavior,(b=xe.scrollBehavior)==null?void 0:b.call(xe,_,qe,i||R)},history:s,routes:o});e.vueApp.use(c);const u=An(c.currentRoute.value);c.afterEach((_,g)=>{u.value=g}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>u.value});const a=An(c.resolve(l)),f=()=>{a.value=c.currentRoute.value};e.hook("page:finish",f),c.afterEach((_,g)=>{var R,b,P,H;((b=(R=_.matched[0])==null?void 0:R.components)==null?void 0:b.default)===((H=(P=g.matched[0])==null?void 0:P.components)==null?void 0:H.default)&&f()});const d={};for(const _ in a.value)Object.defineProperty(d,_,{get:()=>a.value[_]});e._route=Nn(d),e._middleware=e._middleware||{global:[],named:{}};const m=Or();try{[t,n]=gr(()=>c.isReady()),await t,n()}catch(_){[t,n]=gr(()=>e.runWithContext(()=>Wt(_))),await t,n()}const v=e.payload.state._layout;return c.beforeEach(async(_,g)=>{var R;_.meta=st(_.meta),e.isHydrating&&v&&!$t(_.meta.layout)&&(_.meta.layout=v),e._processingMiddleware=!0;{const b=new Set([...Hp,...e._middleware.global]);for(const P of _.matched){const H=P.meta.middleware;if(H)if(Array.isArray(H))for(const L of H)b.add(L);else b.add(H)}for(const P of b){const H=typeof P=="string"?e._middleware.named[P]||await((R=Rn[P])==null?void 0:R.call(Rn).then(x=>x.default||x)):P;if(!H)throw new Error(`Unknown route middleware: '${P}'.`);const L=await e.runWithContext(()=>H(_,g));if(!e.payload.serverRendered&&e.isHydrating&&(L===!1||L instanceof Error)){const x=L||bs({statusCode:404,statusMessage:`Page Not Found: ${l}`});return await e.runWithContext(()=>Wt(x)),!1}if(L!==!0&&(L||L===!1))return L}}}),c.onError(()=>{delete e._processingMiddleware}),c.afterEach(async(_,g,R)=>{delete e._processingMiddleware,!e.isHydrating&&m.value&&await e.runWithContext(fh),_.matched.length===0&&await e.runWithContext(()=>Wt(bs({statusCode:404,fatal:!1,statusMessage:`Page not found: ${_.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await c.replace({...c.resolve(l),name:void 0,force:!0}),c.options.scrollBehavior=xe.scrollBehavior}catch(_){await e.runWithContext(()=>Wt(_))}}),{provide:{router:c}}}}),$p=ct({name:"nuxt:payload",setup(e){wt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await pi(t.path);r&&Object.assign(e.static.data,r.data)}),hh(()=>{e.hooks.hook("link:prefetch",async t=>{Sr(t).protocol||await pi(t)})})}}),jp=ct({name:"nuxt:global-components"}),St={},Fp=ct({name:"nuxt:prefetch",setup(e){const t=wt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var s;const r=(s=n==null?void 0:n.meta)==null?void 0:s.layout;r&&typeof St[r]=="function"&&await St[r]()})}),e.hooks.hook("link:prefetch",n=>{var i,l,c,u;if(jn(n))return;const r=t.resolve(n);if(!r)return;const s=(i=r==null?void 0:r.meta)==null?void 0:i.layout;let o=Array.isArray((l=r==null?void 0:r.meta)==null?void 0:l.middleware)?(c=r==null?void 0:r.meta)==null?void 0:c.middleware:[(u=r==null?void 0:r.meta)==null?void 0:u.middleware];o=o.filter(a=>typeof a=="string");for(const a of o)typeof Rn[a]=="function"&&Rn[a]();s&&typeof St[s]=="function"&&St[s]()})}}),Bp="__NUXT_COLOR_MODE__",Up="nuxt-color-mode",Ze=window[Bp],Dp=ct(e=>{const t=gh("color-mode",()=>st({preference:Ze.preference,value:Ze.value,unknown:!1,forced:!1})).value;wt().afterEach(s=>{const o=s.meta.colorMode;o&&o!=="system"?(t.value=o,t.forced=!0):(o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?Ze.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=Ze.getColorScheme())}))}Mt(()=>t.preference,s=>{var o;t.forced||(s==="system"?(t.value=Ze.getColorScheme(),r()):t.value=s,(o=window.localStorage)==null||o.setItem(Up,s))},{immediate:!0}),Mt(()=>t.value,(s,o)=>{Ze.removeColorScheme(o),Ze.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Ze.preference,t.value=Ze.value,t.unknown=!1)}),e.provide("colorMode",t)});const Kp=ct(()=>{}),Wp=ct({name:"nuxt:chunk-reload",setup(e){const t=wt(),n=to(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const l="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:Fn(n.app.baseURL,o.fullPath);mh({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),qp=[Th,xh,Np,$p,jp,Fp,Dp,Kp,Wp],Vp=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Rs=(e,t)=>{const n=e.route.matched.find(s=>{var o;return((o=s.components)==null?void 0:o.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&Vp(e.route,n));return typeof r=="function"?r(e.route):r},zp=(e,t)=>({default:()=>e?Oe(Wa,e===!0?{}:e,t):t}),Jp=it({name:"RouteProvider",props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const s in e.route)Object.defineProperty(r,s,{get:()=>t===e.renderKey?e.route[s]:n[s]});return Ht(Bn,Nn(r)),()=>Oe(e.vnode,{ref:e.vnodeRef})}}),Rc=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?Oe(e,t,n):(r=n.default)==null?void 0:r.call(n)}}),Qp=it({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=fe(),s=nt(),o=Ce(Bn,null);n({pageRef:s});const i=Ce(uc,null);let l;const c=r.deferHydration();return()=>Oe(Tc,{name:e.name,route:e.route,...t},{default:u=>{const a=Zp(o,u.route,u.Component),f=o&&o.matched.length===u.route.matched.length;if(!u.Component)return l&&!f?l:void 0;if(l&&i&&!i.isCurrent(u.route))return l;if(a&&o&&(!i||i!=null&&i.isCurrent(o)))return f?l:null;const d=Rs(u,e.pageKey),m=!!(e.transition??u.route.meta.pageTransition??ws),v=m&&Xp([e.transition,u.route.meta.pageTransition,ws,{onAfterLeave:()=>{r.callHook("page:transition:finish",u.Component)}}].filter(Boolean));return l=Rc(Ar,m&&v,zp(e.keepalive??u.route.meta.keepalive??_h,Oe(Ds,{suspensible:!0,onPending:()=>r.callHook("page:start",u.Component),onResolve:()=>{jt(()=>r.callHook("page:finish",u.Component).finally(c))}},{default:()=>Oe(Jp,{key:d,vnode:u.Component,route:u.route,renderKey:d,trackRootNodes:m,vnodeRef:s})}))).default(),l}})}});function Yp(e){return Array.isArray(e)?e:e?[e]:[]}function Xp(e){const t=e.map(n=>({...n,onAfterLeave:Yp(n.onAfterLeave)}));return sh(...t)}function Zp(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>{var o;return((o=s.components)==null?void 0:o.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((s,o)=>{var i,l,c;return((i=s.components)==null?void 0:i.default)!==((c=(l=e.matched[o])==null?void 0:l.components)==null?void 0:c.default)})||n&&Rs({route:t,Component:n})!==Rs({route:e,Component:n})}const Gp=it({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await St[e.name]().then(r=>r.default||r);return()=>Oe(n,e.layoutProps,t.slots)}}),eg=it({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=fe(),r=Ce(Bn),s=r===no()?Ap():r,o=He(()=>ae(e.name)??s.meta.layout??"default"),i=nt();t.expose({layoutRef:i});const l=n.deferHydration();return()=>{const c=o.value&&o.value in St,u=s.meta.layoutTransition??yh;return Rc(Ar,c&&u,{default:()=>Oe(Ds,{suspensible:!0,onResolve:()=>{jt(l)}},{default:()=>Oe(tg,{layoutProps:Bl(t.attrs,{ref:i}),key:o.value,name:o.value,shouldProvide:!e.name,hasTransition:!!u},t.slots)})}).default()}}}),tg=it({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&Ht(uc,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,s;return!n||typeof n=="string"&&!(n in St)?(s=(r=t.slots).default)==null?void 0:s.call(r):Oe(Gp,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),ng=it({__name:"app",setup(e){return(t,n)=>{const r=Qp,s=eg;return Je(),et(s,null,{default:Bs(()=>[de(r)]),_:1})}}}),rg={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
6
- `).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
7
- `);const r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),l=void 0,a=s?To(()=>hs(()=>import("./error-404.0c27f143.js"),["./error-404.0c27f143.js","./vue.f36acd1f.b03bdbb5.js","./_plugin-vue_export-helper.c27b6911.js","./error-404.a6f724cc.css"],import.meta.url).then(f=>f.default||f)):To(()=>hs(()=>import("./error-500.0ea30584.js"),["./error-500.0ea30584.js","./vue.f36acd1f.b03bdbb5.js","./_plugin-vue_export-helper.c27b6911.js","./error-500.d92554dd.css"],import.meta.url).then(f=>f.default||f));return(f,d)=>(Je(),et(ae(a),$c(jl({statusCode:ae(r),statusMessage:ae(o),description:ae(i),stack:ae(l)})),null,16))}},Li={__name:"nuxt-root",setup(e){const t=()=>null,n=fe(),r=n.deferHydration(),s=!1;Ht(Bn,no()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const o=Or();vl((l,c,u)=>{if(n.hooks.callHook("vue:error",l,c,u).catch(a=>console.error("[nuxt] Error in `vue:error` hook",a)),dh(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>Wt(l)),!1});const i=!1;return(l,c)=>(Je(),et(Ds,{onResolve:ae(r)},{default:Bs(()=>[ae(o)?(Je(),et(ae(rg),{key:0,error:ae(o)},null,8,["error"])):ae(i)?(Je(),et(ae(t),{key:1,context:ae(i)},null,8,["context"])):ae(s)?(Je(),et(Ga(ae(s)),{key:2})):(Je(),et(ae(ng),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=Yf.create({baseURL:Zf()}));let Ni;{let e;Ni=async function(){var o,i;if(e)return e;const r=!!((o=window.__NUXT__)!=null&&o.serverRendered||((i=document.getElementById("__NUXT_DATA__"))==null?void 0:i.dataset.ssr)==="true")?sf(Li):rf(Li),s=fd({vueApp:r});try{await hd(s,qp)}catch(l){await s.callHook("app:error",l),s.payload.error=s.payload.error||l}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(bh),await s.hooks.callHook("app:mounted",r),await jt()}catch(l){await s.callHook("app:error",l),s.payload.error=s.payload.error||l}return r},e=Ni().catch(t=>{console.error("Error while mounting app:",t)})}export{lg as A,yg as B,cg as C,Mt as D,Va as E,qa as F,ps as G,Xs as H,wr as I,jt as J,dg as K,ag as L,gg as M,ae as N,Bl as O,ye as P,et as Q,pg as R,An as S,og as T,Pe as U,fg as V,mg as W,hh as a,hi as b,He as c,it as d,Vs as e,bg as f,Oe as g,jn as h,ug as i,wf as j,Jl as k,fe as l,Je as m,_g as n,qs as o,Sr as p,hg as q,nt as r,$l as s,sg as t,wt as u,de as v,us as w,Bs as x,Fl as y,ig as z};
@@ -1 +0,0 @@
1
- import{u as w,d as N,c as y,h as P,r as _,o as q,a as A,b as R,e as z,f as B,g as S,i as E,p as I,j as T,w as j,k as L,l as C,n as U,m as V,q as H,s as p,t as x,v as M,x as O,y as $,z as F,A as D}from"./entry.ea5ff097.js";import{u as G}from"./vue.f36acd1f.b03bdbb5.js";import{_ as Q}from"./_plugin-vue_export-helper.c27b6911.js";async function k(t,a=w()){const{path:c,matched:e}=a.resolve(t);if(!e.length||(a._routePreloaded||(a._routePreloaded=new Set),a._routePreloaded.has(c)))return;const n=a._preloadPromises=a._preloadPromises||[];if(n.length>4)return Promise.all(n).then(()=>k(t,a));a._routePreloaded.add(c);const s=e.map(r=>{var i;return(i=r.components)==null?void 0:i.default}).filter(r=>typeof r=="function");for(const r of s){const i=Promise.resolve(r()).catch(()=>{}).finally(()=>n.splice(n.indexOf(i)));n.push(i)}await Promise.all(n)}const X=(...t)=>t.find(a=>a!==void 0),J="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function K(t){const a=t.componentName||"NuxtLink",c=(e,n)=>{if(!e||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return e;const s=t.trailingSlash==="append"?j:L;if(typeof e=="string")return s(e,!0);const r="path"in e?e.path:n(e).path;return{...e,name:void 0,path:s(r,!0)}};return N({name:a,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(e,{slots:n}){const s=w(),r=y(()=>{const o=e.to||e.href||"";return c(o,s.resolve)}),i=y(()=>e.external||e.target&&e.target!=="_self"?!0:typeof r.value=="object"?!1:r.value===""||P(r.value,{acceptRelative:!0})),h=_(!1),d=_(null),b=o=>{var f;d.value=e.custom?(f=o==null?void 0:o.$el)==null?void 0:f.nextElementSibling:o==null?void 0:o.$el};if(e.prefetch!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!Z()){const f=C();let m,l=null;q(()=>{const g=Y();A(()=>{m=R(()=>{var v;(v=d==null?void 0:d.value)!=null&&v.tagName&&(l=g.observe(d.value,async()=>{l==null||l(),l=null;const u=typeof r.value=="string"?r.value:s.resolve(r.value).fullPath;await Promise.all([f.hooks.callHook("link:prefetch",u).catch(()=>{}),!i.value&&k(r.value,s).catch(()=>{})]),h.value=!0}))})})}),z(()=>{m&&B(m),l==null||l(),l=null})}return()=>{var g,v;if(!i.value){const u={ref:b,to:r.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(h.value&&(u.class=e.prefetchedClass||t.prefetchedClass),u.rel=e.rel),S(E("RouterLink"),u,n.default)}const o=typeof r.value=="object"?((g=s.resolve(r.value))==null?void 0:g.href)??null:r.value||null,f=e.target||null,m=e.noRel?null:X(e.rel,t.externalRelAttribute,o?J:"")||null,l=()=>U(o,{replace:e.replace});return e.custom?n.default?n.default({href:o,navigate:l,get route(){if(!o)return;const u=I(o);return{path:u.pathname,fullPath:u.pathname,get query(){return T(u.search)},hash:u.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:o}},rel:m,target:f,isExternal:i.value,isActive:!1,isExactActive:!1}):null:S("a",{ref:d,href:o,rel:m,target:f},(v=n.default)==null?void 0:v.call(n))}}})}const W=K({componentName:"NuxtLink"});function Y(){const t=C();if(t._observer)return t._observer;let a=null;const c=new Map,e=(s,r)=>(a||(a=new IntersectionObserver(i=>{for(const h of i){const d=c.get(h.target);(h.isIntersecting||h.intersectionRatio>0)&&d&&d()}})),c.set(s,r),a.observe(s),()=>{c.delete(s),a.unobserve(s),c.size===0&&(a.disconnect(),a=null)});return t._observer={observe:e}}function Z(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}const ee=t=>(F("data-v-8e38b8ef"),t=t(),D(),t),te={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},ae=ee(()=>p("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),re={class:"max-w-520px text-center z-20"},ne=["textContent"],oe=["textContent"],se={class:"w-full flex items-center justify-center"},ie={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const a=t;return G({title:`${a.statusCode} - ${a.statusMessage} | ${a.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}a{color:inherit;text-decoration:inherit}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(c,e)=>{const n=W;return V(),H("div",te,[ae,p("div",re,[p("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:x(t.statusCode)},null,8,ne),p("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:x(t.description)},null,8,oe),p("div",se,[M(n,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:O(()=>[$(x(t.backHome),1)]),_:1})])])])}}},de=Q(ie,[["__scopeId","data-v-8e38b8ef"]]);export{de as default};
@@ -1 +0,0 @@
1
- .spotlight[data-v-8e38b8ef]{background:linear-gradient(45deg,#00dc82,#36e4da 50%,#0047e1);bottom:-30vh;filter:blur(20vh);height:40vh}.gradient-border[data-v-8e38b8ef]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:.5rem;position:relative}@media (prefers-color-scheme:light){.gradient-border[data-v-8e38b8ef]{background-color:#ffffff4d}.gradient-border[data-v-8e38b8ef]:before{background:linear-gradient(90deg,#e2e2e2,#e2e2e2 25%,#00dc82 50%,#36e4da 75%,#0047e1)}}@media (prefers-color-scheme:dark){.gradient-border[data-v-8e38b8ef]{background-color:#1414144d}.gradient-border[data-v-8e38b8ef]:before{background:linear-gradient(90deg,#303030,#303030 25%,#00dc82 50%,#36e4da 75%,#0047e1)}}.gradient-border[data-v-8e38b8ef]:before{background-size:400% auto;border-radius:.5rem;bottom:0;content:"";left:0;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.5;padding:2px;position:absolute;right:0;top:0;transition:background-position .3s ease-in-out,opacity .2s ease-in-out;width:100%}.gradient-border[data-v-8e38b8ef]:hover:before{background-position:-50% 0;opacity:1}.bg-white[data-v-8e38b8ef]{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.cursor-pointer[data-v-8e38b8ef]{cursor:pointer}.flex[data-v-8e38b8ef]{display:flex}.grid[data-v-8e38b8ef]{display:grid}.place-content-center[data-v-8e38b8ef]{place-content:center}.items-center[data-v-8e38b8ef]{align-items:center}.justify-center[data-v-8e38b8ef]{justify-content:center}.font-sans[data-v-8e38b8ef]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.font-medium[data-v-8e38b8ef]{font-weight:500}.font-light[data-v-8e38b8ef]{font-weight:300}.text-8xl[data-v-8e38b8ef]{font-size:6rem;line-height:1}.text-xl[data-v-8e38b8ef]{font-size:1.25rem;line-height:1.75rem}.leading-tight[data-v-8e38b8ef]{line-height:1.25}.mb-8[data-v-8e38b8ef]{margin-bottom:2rem}.mb-16[data-v-8e38b8ef]{margin-bottom:4rem}.max-w-520px[data-v-8e38b8ef]{max-width:520px}.min-h-screen[data-v-8e38b8ef]{min-height:100vh}.overflow-hidden[data-v-8e38b8ef]{overflow:hidden}.px-8[data-v-8e38b8ef]{padding-left:2rem;padding-right:2rem}.py-2[data-v-8e38b8ef]{padding-bottom:.5rem;padding-top:.5rem}.px-4[data-v-8e38b8ef]{padding-left:1rem;padding-right:1rem}.fixed[data-v-8e38b8ef]{position:fixed}.left-0[data-v-8e38b8ef]{left:0}.right-0[data-v-8e38b8ef]{right:0}.text-center[data-v-8e38b8ef]{text-align:center}.text-black[data-v-8e38b8ef]{--tw-text-opacity:1;color:rgba(0,0,0,var(--tw-text-opacity))}.antialiased[data-v-8e38b8ef]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.w-full[data-v-8e38b8ef]{width:100%}.z-10[data-v-8e38b8ef]{z-index:10}.z-20[data-v-8e38b8ef]{z-index:20}@media (min-width:640px){.sm\:text-4xl[data-v-8e38b8ef]{font-size:2.25rem;line-height:2.5rem}.sm\:text-xl[data-v-8e38b8ef]{font-size:1.25rem;line-height:1.75rem}.sm\:text-10xl[data-v-8e38b8ef]{font-size:10rem;line-height:1}.sm\:px-0[data-v-8e38b8ef]{padding-left:0;padding-right:0}.sm\:py-3[data-v-8e38b8ef]{padding-bottom:.75rem;padding-top:.75rem}.sm\:px-6[data-v-8e38b8ef]{padding-left:1.5rem;padding-right:1.5rem}}@media (prefers-color-scheme:dark){.dark\:bg-black[data-v-8e38b8ef]{--tw-bg-opacity:1;background-color:rgba(0,0,0,var(--tw-bg-opacity))}.dark\:text-white[data-v-8e38b8ef]{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}}
@@ -1 +0,0 @@
1
- .n-code-block-lines .shiki code{counter-increment:step calc(var(--start, 1) - 1);counter-reset:step}.n-code-block-lines .shiki code .line:before{color:#a3a3a380;content:counter(step);counter-increment:step;display:inline-block;margin-right:.5rem;padding-right:.5rem;text-align:right;width:2.5rem}details[data-v-f53dd400]{border-style:none}summary[data-v-f53dd400]{border-style:none;list-style:none}details[open] summary[data-v-f53dd400]{border-style:none}details summary[data-v-f53dd400]::-webkit-details-marker{display:none}details[open] .chevron[data-v-f53dd400]{opacity:.75;transform:rotate(180deg)}
@@ -1,2 +0,0 @@
1
- import{d as H,m as E,q as B,I as U,r as ne,D as xe,J as Ae,c as K,H as Pe,K as G,L as Se,M as Ue,N as T,s as M,O as ze,P as Ee,Q as j,R,t as J,S as We,T as Re,U as ee,V as ye,v as Z,x as he,y as we,W as Je,z as Qe,A as Ge}from"./entry.ea5ff097.js";import{_ as He}from"./_plugin-vue_export-helper.c27b6911.js";const De=H({__name:"NIcon",props:{icon:{}},setup(i){return(e,t)=>(E(),B("div",{class:U(["n-icon",e.icon])},null,2))}}),Ke=i=>typeof i<"u";function Xe(i){return JSON.parse(JSON.stringify(i))}function Ve(i,e,t,o={}){var r,n,a;const{clone:u=!1,passive:l=!1,eventName:s,deep:c=!1,defaultValue:f,shouldEmit:d}=o,h=Pe(),y=t||(h==null?void 0:h.emit)||((r=h==null?void 0:h.$emit)==null?void 0:r.bind(h))||((a=(n=h==null?void 0:h.proxy)==null?void 0:n.$emit)==null?void 0:a.bind(h==null?void 0:h.proxy));let v=s;e||(e="modelValue"),v=v||`update:${e.toString()}`;const m=p=>u?typeof u=="function"?u(p):Xe(p):p,g=()=>Ke(i[e])?m(i[e]):f,x=p=>{d?d(p)&&y(v,p):y(v,p)};if(l){const p=g(),A=ne(p);let b=!1;return xe(()=>i[e],S=>{b||(b=!0,A.value=m(S),Ae(()=>b=!1))}),xe(A,S=>{!b&&(S!==i[e]||c)&&x(S)},{deep:c}),A}else return K({get(){return g()},set(p){x(p)}})}const Ye={class:"n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base"},qe=H({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},autofocus:{type:Boolean},type:{default:"text"}},setup(i,{emit:e}){const o=Ve(i,"modelValue",e,{passive:!0});return(r,n)=>{const a=De;return E(),B("div",Ye,[G(r.$slots,"icon",{},()=>[r.icon?(E(),j(a,{key:0,icon:r.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):R("",!0)]),Se(M("input",ze({"onUpdate:modelValue":n[0]||(n[0]=u=>Ee(o)?o.value=u:null)},r.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[Ue,T(o)]])])}}}),Me=H({__name:"Tag",props:{green:{type:Boolean},orange:{type:Boolean},text:{}},setup(i){const e=i,t=K(()=>e.green?"bg-green-400:10 text-green-400":e.orange?"bg-orange-400:10 text-orange-400":"bg-gray-400:10 text-gray");return(o,r)=>(E(),B("span",{class:U(["mx-0.5 select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs inline-block",T(t)])},J(o.text),3))}});let q;const te=[];function Oe(i){if(te.push(i),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&te.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&te.forEach(t=>t(e))},get(){return q.value},configurable:!0}),()=>{te.splice(te.indexOf(i),1)}}function Ze(){q||(q=We(),Oe(e));function i(){Re(q)}function e(t){q.value=t,t.host&&t.host.hooks.hook("host:update:reactivity",i)}return q}const je=Ze(),et=["innerHTML"],tt={class:"shiki"},rt=["textContent"],nt=M("br",null,null,-1),it=H({__name:"NCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},emits:["loaded"],setup(i,{emit:e}){const t=i,o=K(()=>{var n;const r=t.lang==="text"?{code:t.code,supported:!1}:((n=je.value)==null?void 0:n.devtools.renderCodeHighlight(t.code,t.lang))||{code:t.code,supported:!1};return r.supported&&t.transformRendered&&(r.code=t.transformRendered(r.code)),r.supported&&Ae(()=>e("loaded")),r});return(r,n)=>r.lang&&o.value.supported?(E(),B("pre",{key:0,class:U(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:o.value.code},null,10,et)):(E(),B("pre",{key:1,class:U(["n-code-block",r.lines?"n-code-block-lines":""])},[M("pre",tt,[M("code",null,[(E(!0),B(ee,null,ye(r.code.split(`
2
- `),(a,u)=>(E(),B(ee,{key:u},[M("span",{class:"line",textContent:J(a)},null,8,rt),nt],64))),128))])])],2))}});const ot={flex:"~ gap-3","items-center":""},at=H({__name:"NIconTitle",props:{icon:{},text:{}},setup(i){return(e,t)=>(E(),B("div",ot,[e.icon?(E(),B("div",{key:0,class:U(e.icon)},null,2)):R("",!0),G(e.$slots,"default",{},()=>[M("div",null,J(e.text),1)])]))}}),ke=i=>(Qe("data-v-f53dd400"),i=i(),Ge(),i),ut=["open"],lt={"text-base":""},st={key:0,"text-sm":"",op50:""},ct=ke(()=>M("div",{class:"flex-auto"},null,-1)),ft=ke(()=>M("div",{class:"x-divider"},null,-1)),ht=H({__name:"NSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(i){const t=Ve(i,"open",void 0,{passive:!0});function o(r){t.value=r.target.open}return(r,n)=>{const a=De,u=at;return E(),B(ee,null,[M("details",{open:T(t),onToggle:o},[M("summary",{class:U(["cursor-pointer select-none hover:bg-active p4",r.collapse?"":"pointer-events-none"])},[Z(u,{icon:r.icon,text:r.text,"text-xl":"",transition:"",class:U([T(t)?"op100":"op60",r.headerClass])},{default:he(()=>[M("div",null,[M("div",lt,[G(r.$slots,"text",{},()=>[we(J(r.text),1)],!0)]),r.description||r.$slots.description?(E(),B("div",st,[G(r.$slots,"description",{},()=>[we(J(r.description),1)],!0)])):R("",!0)]),ct,G(r.$slots,"actions",{},void 0,!0),r.collapse?(E(),j(a,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):R("",!0)]),_:3},8,["icon","text","class"])],2),n._lazyshow1||T(t)?(n._lazyshow1=!0,E(),B(ee,null,[Se(M("div",{class:U(["flex flex-col flex-gap2 pb6 pt2",typeof r.padding=="string"?r.padding:r.padding?"px4":""])},[G(r.$slots,"details",{},void 0,!0),M("div",{class:U([r.containerClass,"mt1"])},[G(r.$slots,"default",{},void 0,!0)],2),G(r.$slots,"footer",{},void 0,!0)],2),[[Je,T(t)]])],64)):R("v-show-if",!0)],40,ut),ft],64)}}});const dt=He(ht,[["__scopeId","data-v-f53dd400"]]),vt={class:"h-full of-auto p2"},pt={class:"p5"},yt={class:"font-mono mb4 font-bold text-3xl"},mt={key:0,class:"mb3"},gt=["href"],xt={key:0,class:"font-mono bg-red-900 text-red-100 p2"},wt=H({__name:"DocumentDetail",props:{id:{},content:{},isValid:{type:Boolean},errors:{},filename:{},relativePath:{},name:{},operation:{},serverApiPrefix:{}},setup(i){const e=i,t=K(()=>(e.errors||[]).map(r=>r.message)),o=K(()=>{if(e.operation)return`${e.serverApiPrefix}/${e.operation}/${e.name}`});return(r,n)=>{const a=Me,u=it,l=dt;return E(),B("div",vt,[M("div",pt,[M("h2",yt,J(r.name),1),T(o)?(E(),B("div",mt,[r.operation==="query"?(E(),j(a,{key:0,green:"",text:"GET"})):(E(),j(a,{key:1,orange:"",text:"POST"})),M("a",{class:"n-transition n-link n-link-base hover:n-link-hover ml2",target:"_blank",href:T(o)},J(T(o)),9,gt)])):R("",!0)]),Z(l,{text:"Document",description:r.relativePath,padding:"px4"},{default:he(()=>[Z(u,{code:r.content,lang:"graphql"},null,8,["code"])]),_:1},8,["description"]),Z(l,{text:"Errors",description:T(t).length+" errors",padding:"px4"},{default:he(()=>[T(t).length?(E(),B("div",xt,[(E(!0),B(ee,null,ye(T(t),(s,c)=>(E(),B("div",{key:c},J(s),1))),128))])):R("",!0)]),_:1},8,["description"])])}}});var k=function(){return k=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++){t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},k.apply(this,arguments)};function _t(i,e,t,o){function r(n){return n instanceof t?n:new t(function(a){a(n)})}return new(t||(t=Promise))(function(n,a){function u(c){try{s(o.next(c))}catch(f){a(f)}}function l(c){try{s(o.throw(c))}catch(f){a(f)}}function s(c){c.done?n(c.value):r(c.value).then(u,l)}s((o=o.apply(i,e||[])).next())})}function Ft(i,e){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,r,n,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(s){return function(c){return l([s,c])}}function l(s){if(o)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(t=0)),t;)try{if(o=1,r&&(n=s[0]&2?r.return:s[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,s[1])).done)return n;switch(r=0,n&&(s=[s[0]&2,n.value]),s[0]){case 0:case 1:n=s;break;case 4:return t.label++,{value:s[1],done:!1};case 5:t.label++,r=s[1],s=[0];continue;case 7:s=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){t.label=s[1];break}if(s[0]===6&&t.label<n[1]){t.label=n[1],n=s;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(s);break}n[2]&&t.ops.pop(),t.trys.pop();continue}s=e.call(i,t)}catch(c){s=[6,c],r=0}finally{o=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function w(i){var e=typeof Symbol=="function"&&Symbol.iterator,t=e&&i[e],o=0;if(t)return t.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&o>=i.length&&(i=void 0),{value:i&&i[o++],done:!i}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function I(i,e){var t=typeof Symbol=="function"&&i[Symbol.iterator];if(!t)return i;var o=t.call(i),r,n=[],a;try{for(;(e===void 0||e-- >0)&&!(r=o.next()).done;)n.push(r.value)}catch(u){a={error:u}}finally{try{r&&!r.done&&(t=o.return)&&t.call(o)}finally{if(a)throw a.error}}return n}var bt="ENTRIES",Le="KEYS",Be="VALUES",$="",ae=function(){function i(e,t){var o=e._tree,r=Array.from(o.keys());this.set=e,this._type=t,this._path=r.length>0?[{node:o,keys:r}]:[]}return i.prototype.next=function(){var e=this.dive();return this.backtrack(),e},i.prototype.dive=function(){if(this._path.length===0)return{done:!0,value:void 0};var e=Y(this._path),t=e.node,o=e.keys;if(Y(o)===$)return{done:!1,value:this.result()};var r=t.get(Y(o));return this._path.push({node:r,keys:Array.from(r.keys())}),this.dive()},i.prototype.backtrack=function(){if(this._path.length!==0){var e=Y(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}},i.prototype.key=function(){return this.set._prefix+this._path.map(function(e){var t=e.keys;return Y(t)}).filter(function(e){return e!==$}).join("")},i.prototype.value=function(){return Y(this._path).node.get($)},i.prototype.result=function(){switch(this._type){case Be:return this.value();case Le:return this.key();default:return[this.key(),this.value()]}},i.prototype[Symbol.iterator]=function(){return this},i}(),Y=function(i){return i[i.length-1]},Ct=function(i,e,t){var o=new Map;if(e===void 0)return o;for(var r=e.length+1,n=r+t,a=new Uint8Array(n*r).fill(t+1),u=0;u<r;++u)a[u]=u;for(var l=1;l<n;++l)a[l*r]=l;return Ie(i,e,t,o,a,1,r,""),o},Ie=function(i,e,t,o,r,n,a,u){var l,s,c=n*a;try{e:for(var f=w(i.keys()),d=f.next();!d.done;d=f.next()){var h=d.value;if(h===$){var y=r[c-1];y<=t&&o.set(u,[i.get(h),y])}else{for(var v=n,m=0;m<h.length;++m,++v){for(var g=h[m],x=a*v,p=x-a,A=r[x],b=Math.max(0,v-t-1),S=Math.min(a-1,v+t),_=b;_<S;++_){var C=g!==e[_],z=r[p+_]+ +C,D=r[p+_+1]+1,O=r[x+_]+1,F=r[x+_+1]=Math.min(z,D,O);F<A&&(A=F)}if(A>t)continue e}Ie(i.get(h),e,t,o,r,v,a,u+h)}}}catch(L){l={error:L}}finally{try{d&&!d.done&&(s=f.return)&&s.call(f)}finally{if(l)throw l.error}}},ue=function(){function i(e,t){e===void 0&&(e=new Map),t===void 0&&(t=""),this._size=void 0,this._tree=e,this._prefix=t}return i.prototype.atPrefix=function(e){var t,o;if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");var r=I(oe(this._tree,e.slice(this._prefix.length)),2),n=r[0],a=r[1];if(n===void 0){var u=I(me(a),2),l=u[0],s=u[1];try{for(var c=w(l.keys()),f=c.next();!f.done;f=c.next()){var d=f.value;if(d!==$&&d.startsWith(s)){var h=new Map;return h.set(d.slice(s.length),l.get(d)),new i(h,e)}}}catch(y){t={error:y}}finally{try{f&&!f.done&&(o=c.return)&&o.call(c)}finally{if(t)throw t.error}}}return new i(n,e)},i.prototype.clear=function(){this._size=void 0,this._tree.clear()},i.prototype.delete=function(e){return this._size=void 0,At(this._tree,e)},i.prototype.entries=function(){return new ae(this,bt)},i.prototype.forEach=function(e){var t,o;try{for(var r=w(this),n=r.next();!n.done;n=r.next()){var a=I(n.value,2),u=a[0],l=a[1];e(u,l,this)}}catch(s){t={error:s}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(t)throw t.error}}},i.prototype.fuzzyGet=function(e,t){return Ct(this._tree,e,t)},i.prototype.get=function(e){var t=de(this._tree,e);return t!==void 0?t.get($):void 0},i.prototype.has=function(e){var t=de(this._tree,e);return t!==void 0&&t.has($)},i.prototype.keys=function(){return new ae(this,Le)},i.prototype.set=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var o=le(this._tree,e);return o.set($,t),this},Object.defineProperty(i.prototype,"size",{get:function(){if(this._size)return this._size;this._size=0;for(var e=this.entries();!e.next().done;)this._size+=1;return this._size},enumerable:!1,configurable:!0}),i.prototype.update=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var o=le(this._tree,e);return o.set($,t(o.get($))),this},i.prototype.fetch=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var o=le(this._tree,e),r=o.get($);return r===void 0&&o.set($,r=t()),r},i.prototype.values=function(){return new ae(this,Be)},i.prototype[Symbol.iterator]=function(){return this.entries()},i.from=function(e){var t,o,r=new i;try{for(var n=w(e),a=n.next();!a.done;a=n.next()){var u=I(a.value,2),l=u[0],s=u[1];r.set(l,s)}}catch(c){t={error:c}}finally{try{a&&!a.done&&(o=n.return)&&o.call(n)}finally{if(t)throw t.error}}return r},i.fromObject=function(e){return i.from(Object.entries(e))},i}(),oe=function(i,e,t){var o,r;if(t===void 0&&(t=[]),e.length===0||i==null)return[i,t];try{for(var n=w(i.keys()),a=n.next();!a.done;a=n.next()){var u=a.value;if(u!==$&&e.startsWith(u))return t.push([i,u]),oe(i.get(u),e.slice(u.length),t)}}catch(l){o={error:l}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return t.push([i,e]),oe(void 0,"",t)},de=function(i,e){var t,o;if(e.length===0||i==null)return i;try{for(var r=w(i.keys()),n=r.next();!n.done;n=r.next()){var a=n.value;if(a!==$&&e.startsWith(a))return de(i.get(a),e.slice(a.length))}}catch(u){t={error:u}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(t)throw t.error}}},le=function(i,e){var t,o,r=e.length;e:for(var n=0;i&&n<r;){try{for(var a=(t=void 0,w(i.keys())),u=a.next();!u.done;u=a.next()){var l=u.value;if(l!==$&&e[n]===l[0]){for(var s=Math.min(r-n,l.length),c=1;c<s&&e[n+c]===l[c];)++c;var f=i.get(l);if(c===l.length)i=f;else{var d=new Map;d.set(l.slice(c),f),i.set(e.slice(n,n+c),d),i.delete(l),i=d}n+=c;continue e}}}catch(y){t={error:y}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(t)throw t.error}}var h=new Map;return i.set(e.slice(n),h),h}return i},At=function(i,e){var t=I(oe(i,e),2),o=t[0],r=t[1];if(o!==void 0){if(o.delete($),o.size===0)$e(r);else if(o.size===1){var n=I(o.entries().next().value,2),a=n[0],u=n[1];Te(r,a,u)}}},$e=function(i){if(i.length!==0){var e=I(me(i),2),t=e[0],o=e[1];if(t.delete(o),t.size===0)$e(i.slice(0,-1));else if(t.size===1){var r=I(t.entries().next().value,2),n=r[0],a=r[1];n!==$&&Te(i.slice(0,-1),n,a)}}},Te=function(i,e,t){if(i.length!==0){var o=I(me(i),2),r=o[0],n=o[1];r.set(n+e,t),r.delete(n)}},me=function(i){return i[i.length-1]},re,ge="or",Ne="and",St="and_not",zt=function(){function i(e){if((e==null?void 0:e.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');var t=e.autoVacuum==null||e.autoVacuum===!0?fe:e.autoVacuum;this._options=k(k(k({},ce),e),{autoVacuum:t,searchOptions:k(k({},_e),e.searchOptions||{}),autoSuggestOptions:k(k({},Ot),e.autoSuggestOptions||{})}),this._index=new ue,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=pe,this.addFields(this._options.fields)}return i.prototype.add=function(e){var t,o,r,n,a,u,l=this._options,s=l.extractField,c=l.tokenize,f=l.processTerm,d=l.fields,h=l.idField,y=s(e,h);if(y==null)throw new Error('MiniSearch: document does not have ID field "'.concat(h,'"'));if(this._idToShortId.has(y))throw new Error("MiniSearch: duplicate ID ".concat(y));var v=this.addDocumentId(y);this.saveStoredFields(v,e);try{for(var m=w(d),g=m.next();!g.done;g=m.next()){var x=g.value,p=s(e,x);if(p!=null){var A=c(p.toString(),x),b=this._fieldIds[x],S=new Set(A).size;this.addFieldLength(v,b,this._documentCount-1,S);try{for(var _=(r=void 0,w(A)),C=_.next();!C.done;C=_.next()){var z=C.value,D=f(z,x);if(Array.isArray(D))try{for(var O=(a=void 0,w(D)),F=O.next();!F.done;F=O.next()){var L=F.value;this.addTerm(b,v,L)}}catch(V){a={error:V}}finally{try{F&&!F.done&&(u=O.return)&&u.call(O)}finally{if(a)throw a.error}}else D&&this.addTerm(b,v,D)}}catch(V){r={error:V}}finally{try{C&&!C.done&&(n=_.return)&&n.call(_)}finally{if(r)throw r.error}}}}}catch(V){t={error:V}}finally{try{g&&!g.done&&(o=m.return)&&o.call(m)}finally{if(t)throw t.error}}},i.prototype.addAll=function(e){var t,o;try{for(var r=w(e),n=r.next();!n.done;n=r.next()){var a=n.value;this.add(a)}}catch(u){t={error:u}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(t)throw t.error}}},i.prototype.addAllAsync=function(e,t){var o=this;t===void 0&&(t={});var r=t.chunkSize,n=r===void 0?10:r,a={chunk:[],promise:Promise.resolve()},u=e.reduce(function(c,f,d){var h=c.chunk,y=c.promise;return h.push(f),(d+1)%n===0?{chunk:[],promise:y.then(function(){return new Promise(function(v){return setTimeout(v,0)})}).then(function(){return o.addAll(h)})}:{chunk:h,promise:y}},a),l=u.chunk,s=u.promise;return s.then(function(){return o.addAll(l)})},i.prototype.remove=function(e){var t,o,r,n,a,u,l=this._options,s=l.tokenize,c=l.processTerm,f=l.extractField,d=l.fields,h=l.idField,y=f(e,h);if(y==null)throw new Error('MiniSearch: document does not have ID field "'.concat(h,'"'));var v=this._idToShortId.get(y);if(v==null)throw new Error("MiniSearch: cannot remove document with ID ".concat(y,": it is not in the index"));try{for(var m=w(d),g=m.next();!g.done;g=m.next()){var x=g.value,p=f(e,x);if(p!=null){var A=s(p.toString(),x),b=this._fieldIds[x],S=new Set(A).size;this.removeFieldLength(v,b,this._documentCount,S);try{for(var _=(r=void 0,w(A)),C=_.next();!C.done;C=_.next()){var z=C.value,D=c(z,x);if(Array.isArray(D))try{for(var O=(a=void 0,w(D)),F=O.next();!F.done;F=O.next()){var L=F.value;this.removeTerm(b,v,L)}}catch(V){a={error:V}}finally{try{F&&!F.done&&(u=O.return)&&u.call(O)}finally{if(a)throw a.error}}else D&&this.removeTerm(b,v,D)}}catch(V){r={error:V}}finally{try{C&&!C.done&&(n=_.return)&&n.call(_)}finally{if(r)throw r.error}}}}}catch(V){t={error:V}}finally{try{g&&!g.done&&(o=m.return)&&o.call(m)}finally{if(t)throw t.error}}this._storedFields.delete(v),this._documentIds.delete(v),this._idToShortId.delete(y),this._fieldLength.delete(v),this._documentCount-=1},i.prototype.removeAll=function(e){var t,o;if(e)try{for(var r=w(e),n=r.next();!n.done;n=r.next()){var a=n.value;this.remove(a)}}catch(u){t={error:u}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(t)throw t.error}}else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new ue,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}},i.prototype.discard=function(e){var t=this,o=this._idToShortId.get(e);if(o==null)throw new Error("MiniSearch: cannot discard document with ID ".concat(e,": it is not in the index"));this._idToShortId.delete(e),this._documentIds.delete(o),this._storedFields.delete(o),(this._fieldLength.get(o)||[]).forEach(function(r,n){t.removeFieldLength(o,n,t._documentCount,r)}),this._fieldLength.delete(o),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()},i.prototype.maybeAutoVacuum=function(){if(this._options.autoVacuum!==!1){var e=this._options.autoVacuum,t=e.minDirtFactor,o=e.minDirtCount,r=e.batchSize,n=e.batchWait;this.conditionalVacuum({batchSize:r,batchWait:n},{minDirtCount:o,minDirtFactor:t})}},i.prototype.discardAll=function(e){var t,o,r=this._options.autoVacuum;try{this._options.autoVacuum=!1;try{for(var n=w(e),a=n.next();!a.done;a=n.next()){var u=a.value;this.discard(u)}}catch(l){t={error:l}}finally{try{a&&!a.done&&(o=n.return)&&o.call(n)}finally{if(t)throw t.error}}}finally{this._options.autoVacuum=r}this.maybeAutoVacuum()},i.prototype.replace=function(e){var t=this._options,o=t.idField,r=t.extractField,n=r(e,o);this.discard(n),this.add(e)},i.prototype.vacuum=function(e){return e===void 0&&(e={}),this.conditionalVacuum(e)},i.prototype.conditionalVacuum=function(e,t){var o=this;return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(function(){var r=o._enqueuedVacuumConditions;return o._enqueuedVacuumConditions=pe,o.performVacuuming(e,r)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)},i.prototype.performVacuuming=function(e,t){return _t(this,void 0,void 0,function(){var o,r,n,a,u,l,s,c,f,d,h,y,v,m,g,x,p,A,b,S,_,C,z,D,O;return Ft(this,function(F){switch(F.label){case 0:if(o=this._dirtCount,!this.vacuumConditionsMet(t))return[3,10];r=e.batchSize||ve.batchSize,n=e.batchWait||ve.batchWait,a=1,F.label=1;case 1:F.trys.push([1,7,8,9]),u=w(this._index),l=u.next(),F.label=2;case 2:if(l.done)return[3,6];s=I(l.value,2),c=s[0],f=s[1];try{for(d=(C=void 0,w(f)),h=d.next();!h.done;h=d.next()){y=I(h.value,2),v=y[0],m=y[1];try{for(g=(D=void 0,w(m)),x=g.next();!x.done;x=g.next())p=I(x.value,1),A=p[0],!this._documentIds.has(A)&&(m.size<=1?f.delete(v):m.delete(A))}catch(L){D={error:L}}finally{try{x&&!x.done&&(O=g.return)&&O.call(g)}finally{if(D)throw D.error}}}}catch(L){C={error:L}}finally{try{h&&!h.done&&(z=d.return)&&z.call(d)}finally{if(C)throw C.error}}return this._index.get(c).size===0&&this._index.delete(c),a%r!==0?[3,4]:[4,new Promise(function(L){return setTimeout(L,n)})];case 3:F.sent(),F.label=4;case 4:a+=1,F.label=5;case 5:return l=u.next(),[3,2];case 6:return[3,9];case 7:return b=F.sent(),S={error:b},[3,9];case 8:try{l&&!l.done&&(_=u.return)&&_.call(u)}finally{if(S)throw S.error}return[7];case 9:this._dirtCount-=o,F.label=10;case 10:return[4,null];case 11:return F.sent(),this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null,[2]}})})},i.prototype.vacuumConditionsMet=function(e){if(e==null)return!0;var t=e.minDirtCount,o=e.minDirtFactor;return t=t||fe.minDirtCount,o=o||fe.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=o},Object.defineProperty(i.prototype,"isVacuuming",{get:function(){return this._currentVacuum!=null},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"dirtCount",{get:function(){return this._dirtCount},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"dirtFactor",{get:function(){return this._dirtCount/(1+this._documentCount+this._dirtCount)},enumerable:!1,configurable:!0}),i.prototype.has=function(e){return this._idToShortId.has(e)},i.prototype.getStoredFields=function(e){var t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)},i.prototype.search=function(e,t){var o,r;t===void 0&&(t={});var n=this.executeQuery(e,t),a=[];try{for(var u=w(n),l=u.next();!l.done;l=u.next()){var s=I(l.value,2),c=s[0],f=s[1],d=f.score,h=f.terms,y=f.match,v=h.length,m={id:this._documentIds.get(c),score:d*v,terms:Object.keys(y),match:y};Object.assign(m,this._storedFields.get(c)),(t.filter==null||t.filter(m))&&a.push(m)}}catch(g){o={error:g}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(o)throw o.error}}return a.sort(be),a},i.prototype.autoSuggest=function(e,t){var o,r,n,a;t===void 0&&(t={}),t=k(k({},this._options.autoSuggestOptions),t);var u=new Map;try{for(var l=w(this.search(e,t)),s=l.next();!s.done;s=l.next()){var c=s.value,f=c.score,d=c.terms,h=d.join(" "),y=u.get(h);y!=null?(y.score+=f,y.count+=1):u.set(h,{score:f,terms:d,count:1})}}catch(b){o={error:b}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(o)throw o.error}}var v=[];try{for(var m=w(u),g=m.next();!g.done;g=m.next()){var x=I(g.value,2),y=x[0],p=x[1],f=p.score,d=p.terms,A=p.count;v.push({suggestion:y,terms:d,score:f/A})}}catch(b){n={error:b}}finally{try{g&&!g.done&&(a=m.return)&&a.call(m)}finally{if(n)throw n.error}}return v.sort(be),v},Object.defineProperty(i.prototype,"documentCount",{get:function(){return this._documentCount},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"termCount",{get:function(){return this._index.size},enumerable:!1,configurable:!0}),i.loadJSON=function(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)},i.getDefault=function(e){if(ce.hasOwnProperty(e))return se(ce,e);throw new Error('MiniSearch: unknown option "'.concat(e,'"'))},i.loadJS=function(e,t){var o,r,n,a,u,l,s=e.index,c=e.documentCount,f=e.nextId,d=e.documentIds,h=e.fieldIds,y=e.fieldLength,v=e.averageFieldLength,m=e.storedFields,g=e.dirtCount,x=e.serializationVersion;if(x!==1&&x!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");var p=new i(t);p._documentCount=c,p._nextId=f,p._documentIds=ie(d),p._idToShortId=new Map,p._fieldIds=h,p._fieldLength=ie(y),p._avgFieldLength=v,p._storedFields=ie(m),p._dirtCount=g||0,p._index=new ue;try{for(var A=w(p._documentIds),b=A.next();!b.done;b=A.next()){var S=I(b.value,2),_=S[0],C=S[1];p._idToShortId.set(C,_)}}catch(W){o={error:W}}finally{try{b&&!b.done&&(r=A.return)&&r.call(A)}finally{if(o)throw o.error}}try{for(var z=w(s),D=z.next();!D.done;D=z.next()){var O=I(D.value,2),F=O[0],L=O[1],V=new Map;try{for(var P=(u=void 0,w(Object.keys(L))),N=P.next();!N.done;N=P.next()){var Q=N.value,X=L[Q];x===1&&(X=X.ds),V.set(parseInt(Q,10),ie(X))}}catch(W){u={error:W}}finally{try{N&&!N.done&&(l=P.return)&&l.call(P)}finally{if(u)throw u.error}}p._index.set(F,V)}}catch(W){n={error:W}}finally{try{D&&!D.done&&(a=z.return)&&a.call(z)}finally{if(n)throw n.error}}return p},i.prototype.executeQuery=function(e,t){var o=this;if(t===void 0&&(t={}),typeof e!="string"){var r=k(k(k({},t),e),{queries:void 0}),n=e.queries.map(function(m){return o.executeQuery(m,r)});return this.combineResults(n,r.combineWith)}var a=this._options,u=a.tokenize,l=a.processTerm,s=a.searchOptions,c=k(k({tokenize:u,processTerm:l},s),t),f=c.tokenize,d=c.processTerm,h=f(e).flatMap(function(m){return d(m)}).filter(function(m){return!!m}),y=h.map(Mt(c)),v=y.map(function(m){return o.executeQuerySpec(m,c)});return this.combineResults(v,c.combineWith)},i.prototype.executeQuerySpec=function(e,t){var o,r,n,a,u=k(k({},this._options.searchOptions),t),l=(u.fields||this._options.fields).reduce(function(Q,X){var W;return k(k({},Q),(W={},W[X]=se(u.boost,X)||1,W))},{}),s=u.boostDocument,c=u.weights,f=u.maxFuzzy,d=u.bm25,h=k(k({},_e.weights),c),y=h.fuzzy,v=h.prefix,m=this._index.get(e.term),g=this.termResults(e.term,e.term,1,m,l,s,d),x,p;if(e.prefix&&(x=this._index.atPrefix(e.term)),e.fuzzy){var A=e.fuzzy===!0?.2:e.fuzzy,b=A<1?Math.min(f,Math.round(e.term.length*A)):A;b&&(p=this._index.fuzzyGet(e.term,b))}if(x)try{for(var S=w(x),_=S.next();!_.done;_=S.next()){var C=I(_.value,2),z=C[0],D=C[1],O=z.length-e.term.length;if(O){p==null||p.delete(z);var F=v*z.length/(z.length+.3*O);this.termResults(e.term,z,F,D,l,s,d,g)}}}catch(Q){o={error:Q}}finally{try{_&&!_.done&&(r=S.return)&&r.call(S)}finally{if(o)throw o.error}}if(p)try{for(var L=w(p.keys()),V=L.next();!V.done;V=L.next()){var z=V.value,P=I(p.get(z),2),N=P[0],O=P[1];if(O){var F=y*z.length/(z.length+O);this.termResults(e.term,z,F,N,l,s,d,g)}}}catch(Q){n={error:Q}}finally{try{V&&!V.done&&(a=L.return)&&a.call(L)}finally{if(n)throw n.error}}return g},i.prototype.combineResults=function(e,t){if(t===void 0&&(t=ge),e.length===0)return new Map;var o=t.toLowerCase();return e.reduce(Et[o])||new Map},i.prototype.toJSON=function(){var e,t,o,r,n=[];try{for(var a=w(this._index),u=a.next();!u.done;u=a.next()){var l=I(u.value,2),s=l[0],c=l[1],f={};try{for(var d=(o=void 0,w(c)),h=d.next();!h.done;h=d.next()){var y=I(h.value,2),v=y[0],m=y[1];f[v]=Object.fromEntries(m)}}catch(g){o={error:g}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(o)throw o.error}}n.push([s,f])}}catch(g){e={error:g}}finally{try{u&&!u.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:n,serializationVersion:2}},i.prototype.termResults=function(e,t,o,r,n,a,u,l){var s,c,f,d,h;if(l===void 0&&(l=new Map),r==null)return l;try{for(var y=w(Object.keys(n)),v=y.next();!v.done;v=y.next()){var m=v.value,g=n[m],x=this._fieldIds[m],p=r.get(x);if(p!=null){var A=p.size,b=this._avgFieldLength[x];try{for(var S=(f=void 0,w(p.keys())),_=S.next();!_.done;_=S.next()){var C=_.value;if(!this._documentIds.has(C)){this.removeTerm(x,C,t),A-=1;continue}var z=a?a(this._documentIds.get(C),t,this._storedFields.get(C)):1;if(z){var D=p.get(C),O=this._fieldLength.get(C)[x],F=Vt(D,A,this._documentCount,O,b,u),L=o*g*z*F,V=l.get(C);if(V){V.score+=L,kt(V.terms,e);var P=se(V.match,t);P?P.push(m):V.match[t]=[m]}else l.set(C,{score:L,terms:[e],match:(h={},h[t]=[m],h)})}}}catch(N){f={error:N}}finally{try{_&&!_.done&&(d=S.return)&&d.call(S)}finally{if(f)throw f.error}}}}}catch(N){s={error:N}}finally{try{v&&!v.done&&(c=y.return)&&c.call(y)}finally{if(s)throw s.error}}return l},i.prototype.addTerm=function(e,t,o){var r=this._index.fetch(o,Ce),n=r.get(e);if(n==null)n=new Map,n.set(t,1),r.set(e,n);else{var a=n.get(t);n.set(t,(a||0)+1)}},i.prototype.removeTerm=function(e,t,o){if(!this._index.has(o)){this.warnDocumentChanged(t,e,o);return}var r=this._index.fetch(o,Ce),n=r.get(e);n==null||n.get(t)==null?this.warnDocumentChanged(t,e,o):n.get(t)<=1?n.size<=1?r.delete(e):n.delete(t):n.set(t,n.get(t)-1),this._index.get(o).size===0&&this._index.delete(o)},i.prototype.warnDocumentChanged=function(e,t,o){var r,n;try{for(var a=w(Object.keys(this._fieldIds)),u=a.next();!u.done;u=a.next()){var l=u.value;if(this._fieldIds[l]===t){this._options.logger("warn","MiniSearch: document with ID ".concat(this._documentIds.get(e),' has changed before removal: term "').concat(o,'" was not present in field "').concat(l,'". Removing a document after it has changed can corrupt the index!'),"version_conflict");return}}}catch(s){r={error:s}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}},i.prototype.addDocumentId=function(e){var t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t},i.prototype.addFields=function(e){for(var t=0;t<e.length;t++)this._fieldIds[e[t]]=t},i.prototype.addFieldLength=function(e,t,o,r){var n=this._fieldLength.get(e);n==null&&this._fieldLength.set(e,n=[]),n[t]=r;var a=this._avgFieldLength[t]||0,u=a*o+r;this._avgFieldLength[t]=u/(o+1)},i.prototype.removeFieldLength=function(e,t,o,r){if(o===1){this._avgFieldLength[t]=0;return}var n=this._avgFieldLength[t]*o-r;this._avgFieldLength[t]=n/(o-1)},i.prototype.saveStoredFields=function(e,t){var o,r,n=this._options,a=n.storeFields,u=n.extractField;if(!(a==null||a.length===0)){var l=this._storedFields.get(e);l==null&&this._storedFields.set(e,l={});try{for(var s=w(a),c=s.next();!c.done;c=s.next()){var f=c.value,d=u(t,f);d!==void 0&&(l[f]=d)}}catch(h){o={error:h}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(o)throw o.error}}}},i}(),se=function(i,e){return Object.prototype.hasOwnProperty.call(i,e)?i[e]:void 0},Et=(re={},re[ge]=function(i,e){var t,o;try{for(var r=w(e.keys()),n=r.next();!n.done;n=r.next()){var a=n.value,u=i.get(a);if(u==null)i.set(a,e.get(a));else{var l=e.get(a),s=l.score,c=l.terms,f=l.match;u.score=u.score+s,u.match=Object.assign(u.match,f),Fe(u.terms,c)}}}catch(d){t={error:d}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(t)throw t.error}}return i},re[Ne]=function(i,e){var t,o,r=new Map;try{for(var n=w(e.keys()),a=n.next();!a.done;a=n.next()){var u=a.value,l=i.get(u);if(l!=null){var s=e.get(u),c=s.score,f=s.terms,d=s.match;Fe(l.terms,f),r.set(u,{score:l.score+c,terms:l.terms,match:Object.assign(l.match,d)})}}}catch(h){t={error:h}}finally{try{a&&!a.done&&(o=n.return)&&o.call(n)}finally{if(t)throw t.error}}return r},re[St]=function(i,e){var t,o;try{for(var r=w(e.keys()),n=r.next();!n.done;n=r.next()){var a=n.value;i.delete(a)}}catch(u){t={error:u}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(t)throw t.error}}return i},re),Dt={k:1.2,b:.7,d:.5},Vt=function(i,e,t,o,r,n){var a=n.k,u=n.b,l=n.d,s=Math.log(1+(t-e+.5)/(e+.5));return s*(l+i*(a+1)/(i+a*(1-u+u*o/r)))},Mt=function(i){return function(e,t,o){var r=typeof i.fuzzy=="function"?i.fuzzy(e,t,o):i.fuzzy||!1,n=typeof i.prefix=="function"?i.prefix(e,t,o):i.prefix===!0;return{term:e,fuzzy:r,prefix:n}}},ce={idField:"id",extractField:function(i,e){return i[e]},tokenize:function(i,e){return i.split(Lt)},processTerm:function(i,e){return i.toLowerCase()},fields:void 0,searchOptions:void 0,storeFields:[],logger:function(i,e,t){return console!=null&&console.warn!=null&&console[i](e)},autoVacuum:!0},_e={combineWith:ge,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:Dt},Ot={combineWith:Ne,prefix:function(i,e,t){return e===t.length-1}},ve={batchSize:1e3,batchWait:10},pe={minDirtFactor:.1,minDirtCount:20},fe=k(k({},ve),pe),kt=function(i,e){i.includes(e)||i.push(e)},Fe=function(i,e){var t,o;try{for(var r=w(e),n=r.next();!n.done;n=r.next()){var a=n.value;i.includes(a)||i.push(a)}}catch(u){t={error:u}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(t)throw t.error}}},be=function(i,e){var t=i.score,o=e.score;return o-t},Ce=function(){return new Map},ie=function(i){var e,t,o=new Map;try{for(var r=w(Object.keys(i)),n=r.next();!n.done;n=r.next()){var a=n.value;o.set(parseInt(a,10),i[a])}}catch(u){e={error:u}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return o},Lt=/[\n\r -#%-*,-/:;?@[-\]_{}\u00A0\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u1680\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2000-\u200A\u2010-\u2029\u202F-\u2043\u2045-\u2051\u2053-\u205F\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u3000-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]+/u;const Bt={class:"relative",style:{height:"100vh"}},It={class:"flex h-full"},$t={class:"h-full border-r border-r-gray-800 of-auto","h-full":"",style:{width:"22rem","min-width":"0",flex:"0 0 auto"}},Tt={flex:"~ col gap2",border:"b base",class:"border-b-gray-800 p3 flex-1"},Nt=["onClick"],Pt={style:{width:"6rem"},class:"text-left"},Ut=["onClick"],Wt=M("span",null,"Copy",-1),Rt=[Wt],Jt=M("div",{class:"splitpanes__splitter"},null,-1),Qt={key:0,class:"h-full relative w-full of-auto"},Gt="nuxt-graphql-middleware",Xt=H({__name:"index",setup(i){let e=new zt({fields:["content","name","filename"],storeFields:["id","content","isValid","errors","filename","relativePath","name","operation"],searchOptions:{fuzzy:.7}});const t=ne(""),o=ne([]),r=ne(""),n=ne(""),a=K(()=>{if(t.value)return o.value.find(c=>c.id===t.value)});async function u(c){e.removeAll(),o.value=c.filter(f=>!!f.operation),await e.addAll(c)}Oe(async c=>{const f=c.devtools.extendClientRpc(Gt,{documentsUpdated(y){u(y)}}),d=await f.getDocuments();u(d);const h=await f.getModuleOptions();n.value=h.serverApiPrefix});function l(c){const f=document.createElement("textarea");f.value=c.content,f.style.top="0",f.style.left="0",f.style.position="fixed",document.body.appendChild(f),f.focus(),f.select();try{const d=document.execCommand("copy")}catch{}document.body.removeChild(f)}const s=K(()=>r.value?e.search(r.value):o.value);return(c,f)=>{const d=qe,h=Me,y=wt;return E(),B("div",Bt,[M("div",It,[M("div",$t,[M("div",Tt,[Z(d,{modelValue:T(r),"onUpdate:modelValue":f[0]||(f[0]=v=>Ee(r)?r.value=v:null),placeholder:"Search documents...",icon:"carbon-search",class:"w-full"},null,8,["modelValue"])]),(E(!0),B(ee,null,ye(T(s),v=>(E(),B("div",{key:v.content,class:"relative group"},[M("button",{class:U(["text-secondary hover:n-bg-hover flex select-none truncate px2 py2 font-mono text-sm w-full",{"text-red-500":!v.isValid}]),onClick:m=>t.value=v.id},[M("div",Pt,[v.operation==="query"?(E(),j(h,{key:0,green:"",text:"Query"})):v.operation==="mutation"?(E(),j(h,{key:1,orange:"",text:"Mutation"})):R("",!0)]),M("div",null,J(v.name),1)],10,Nt),M("button",{class:"absolute right-0 top-0 text-sm h-full flex items-center opacity-0 group-hover:opacity-100 pr2",onClick:m=>l(v)},Rt,8,Ut)]))),128))]),Jt,T(a)?(E(),B("div",Qt,[Z(y,ze(T(a),{"server-api-prefix":T(n)}),null,16,["server-api-prefix"])])):R("",!0)])])}}});export{Xt as default};