nuxt-graphql-middleware 5.0.0-alpha.15 → 5.0.0-alpha.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/200.html +6 -6
- package/dist/client/404.html +6 -6
- package/dist/client/_nuxt/{B2Rg1ezw.js → BM34SYth.js} +1 -1
- package/dist/client/_nuxt/{AZpplOcD.js → CROlboVl.js} +1 -1
- package/dist/client/_nuxt/{M311G39J.js → D5hBL5aZ.js} +3 -3
- package/dist/client/_nuxt/{u9er1db2.js → FTbv7CO6.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/35b756ec-db3a-48e0-a262-4036827a35c5.json +1 -0
- package/dist/client/_nuxt/{Bt6N0bOg.js → lIgCBhS_.js} +2 -2
- package/dist/client/index.html +6 -6
- package/dist/client-options.d.mts +6 -0
- package/dist/client-options.mjs +5 -0
- package/dist/module.d.mts +9 -506
- package/dist/module.json +3 -3
- package/dist/module.mjs +29 -29
- package/dist/runtime/components/CodeFrame.vue +19 -28
- package/dist/runtime/components/CodeFrame.vue.d.ts +7 -0
- package/dist/runtime/components/DevModeOverlay.vue +25 -33
- package/dist/runtime/components/DevModeOverlay.vue.d.ts +3 -0
- package/dist/runtime/components/ErrorExtensions.vue +9 -11
- package/dist/runtime/components/ErrorExtensions.vue.d.ts +5 -0
- package/dist/runtime/components/ErrorGroup.vue +27 -38
- package/dist/runtime/components/ErrorGroup.vue.d.ts +9 -0
- package/dist/runtime/server/api/mutation.js +2 -1
- package/dist/runtime/server/api/query.js +2 -1
- package/dist/runtime/server/utils/doGraphqlRequest.js +3 -2
- package/dist/server-options.d.mts +8 -0
- package/dist/server-options.mjs +5 -0
- package/dist/{module.d.ts → shared/nuxt-graphql-middleware.DLNGE1zJ.d.mts} +15 -88
- package/dist/types.d.mts +1 -7
- package/dist/utils.d.mts +15 -0
- package/dist/utils.mjs +18 -0
- package/package.json +25 -23
- package/dist/client/_nuxt/builds/meta/e8397e32-8634-465d-8c5a-ae7d6f943789.json +0 -1
- package/dist/module.cjs +0 -5
- package/dist/runtime/clientOptions/index.d.ts +0 -2
- package/dist/runtime/clientOptions/index.js +0 -3
- package/dist/runtime/serverOptions/defineGraphqlServerOptions.d.ts +0 -4
- package/dist/runtime/serverOptions/defineGraphqlServerOptions.js +0 -3
- package/dist/runtime/serverOptions/index.d.ts +0 -2
- package/dist/runtime/serverOptions/index.js +0 -2
- package/dist/types.d.ts +0 -7
package/dist/client/200.html
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<!DOCTYPE html><html><head><meta charset="utf-8">
|
|
2
2
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
3
3
|
<link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.Cn9qfNGa.css" crossorigin>
|
|
4
|
-
<link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/
|
|
4
|
+
<link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/D5hBL5aZ.js">
|
|
5
5
|
<link rel="prefetch" as="style" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-404.ehK72JOs.css">
|
|
6
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/
|
|
7
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/
|
|
6
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/BM34SYth.js">
|
|
7
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/FTbv7CO6.js">
|
|
8
8
|
<link rel="prefetch" as="style" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-500._g0akJim.css">
|
|
9
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/
|
|
10
|
-
<script type="module" src="/__nuxt-graphql-middleware/_nuxt/
|
|
11
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-graphql-middleware",buildId:"
|
|
9
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CROlboVl.js">
|
|
10
|
+
<script type="module" src="/__nuxt-graphql-middleware/_nuxt/D5hBL5aZ.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1744539567174,false]</script>
|
|
11
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-graphql-middleware",buildId:"35b756ec-db3a-48e0-a262-4036827a35c5",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/client/404.html
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<!DOCTYPE html><html><head><meta charset="utf-8">
|
|
2
2
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
3
3
|
<link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.Cn9qfNGa.css" crossorigin>
|
|
4
|
-
<link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/
|
|
4
|
+
<link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/D5hBL5aZ.js">
|
|
5
5
|
<link rel="prefetch" as="style" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-404.ehK72JOs.css">
|
|
6
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/
|
|
7
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/
|
|
6
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/BM34SYth.js">
|
|
7
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/FTbv7CO6.js">
|
|
8
8
|
<link rel="prefetch" as="style" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-500._g0akJim.css">
|
|
9
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/
|
|
10
|
-
<script type="module" src="/__nuxt-graphql-middleware/_nuxt/
|
|
11
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-graphql-middleware",buildId:"
|
|
9
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CROlboVl.js">
|
|
10
|
+
<script type="module" src="/__nuxt-graphql-middleware/_nuxt/D5hBL5aZ.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1744539567174,false]</script>
|
|
11
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-graphql-middleware",buildId:"35b756ec-db3a-48e0-a262-4036827a35c5",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as P,d as B,r as R,a as N,o as T,b as H,c as I,e as U,f as M,h as q,g as A,p as V,i as z,j as x,k as O,l as F,m as D,n as $,w as W,q as G,s as K,_ as Q,t as J,v as X,x as S,y as C,z as Y,A as Z,B as ee}from"./
|
|
1
|
+
import{u as P,d as B,r as R,a as N,o as T,b as H,c as I,e as U,f as M,h as q,g as A,p as V,i as z,j as x,k as O,l as F,m as D,n as $,w as W,q as G,s as K,_ as Q,t as J,v as X,x as S,y as C,z as Y,A as Z,B as ee}from"./D5hBL5aZ.js";import{u as te}from"./FTbv7CO6.js";async function E(t,n=P()){const{path:d,matched:h}=n.resolve(t);if(!h.length||(n._routePreloaded||(n._routePreloaded=new Set),n._routePreloaded.has(d)))return;const v=n._preloadPromises||(n._preloadPromises=[]);if(v.length>4)return Promise.all(v).then(()=>E(t,n));n._routePreloaded.add(d);const e=h.map(a=>{var u;return(u=a.components)==null?void 0:u.default}).filter(a=>typeof a=="function");for(const a of e){const u=Promise.resolve(a()).catch(()=>{}).finally(()=>v.splice(v.indexOf(u)));v.push(u)}await Promise.all(v)}const ne=(...t)=>t.find(n=>n!==void 0);function ae(t){const n=t.componentName||"NuxtLink";function d(e){return typeof e=="string"&&e.startsWith("#")}function h(e,a){if(!e||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return e;if(typeof e=="string")return j(e,t.trailingSlash);const u="path"in e&&e.path!==void 0?e.path:a(e).path;return{...e,name:void 0,path:j(u,t.trailingSlash)}}function v(e){const a=P(),u=D(),s=x(()=>!!e.target&&e.target!=="_self"),p=x(()=>{const f=e.to||e.href||"";return typeof f=="string"&&O(f,{acceptRelative:!0})}),_=A("RouterLink"),b=typeof _!="string"?_.useLink:void 0,m=x(()=>{if(e.external)return!0;const f=e.to||e.href||"";return typeof f=="object"?!1:f===""||p.value}),r=x(()=>{const f=e.to||e.href||"";return m.value?f:h(f,a.resolve)}),c=m.value||b==null?void 0:b({...e,to:r}),y=x(()=>{var f;if(!r.value||p.value||d(r.value))return r.value;if(m.value){const k=typeof r.value=="object"&&"path"in r.value?z(r.value):r.value,w=typeof k=="object"?a.resolve(k).href:k;return h(w,a.resolve)}return typeof r.value=="object"?((f=a.resolve(r.value))==null?void 0:f.href)??null:h(F(u.app.baseURL,r.value),a.resolve)});return{to:r,hasTarget:s,isAbsoluteUrl:p,isExternal:m,href:y,isActive:(c==null?void 0:c.isActive)??x(()=>r.value===a.currentRoute.value.path),isExactActive:(c==null?void 0:c.isExactActive)??x(()=>r.value===a.currentRoute.value.path),route:(c==null?void 0:c.route)??x(()=>a.resolve(r.value)),async navigate(f){await $(y.value,{replace:e.replace,external:m.value||s.value})}}}return B({name:n,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},useLink:v,setup(e,{slots:a}){const u=P(),{to:s,href:p,navigate:_,isExternal:b,hasTarget:m,isAbsoluteUrl:r}=v(e),c=R(!1),y=R(null),f=o=>{var l;y.value=e.custom?(l=o==null?void 0:o.$el)==null?void 0:l.nextElementSibling:o==null?void 0:o.$el};function k(o){var l,i;return!c.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===o:((l=e.prefetchOn)==null?void 0:l[o])??((i=t.prefetchOn)==null?void 0:i[o]))&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!se()}async function w(o=N()){if(c.value)return;c.value=!0;const l=typeof s.value=="string"?s.value:b.value?z(s.value):u.resolve(s.value).fullPath,i=b.value?new URL(l,window.location.href).href:l;await Promise.all([o.hooks.callHook("link:prefetch",i).catch(()=>{}),!b.value&&!m.value&&E(s.value,u).catch(()=>{})])}if(k("visibility")){const o=N();let l,i=null;T(()=>{const g=oe();H(()=>{l=I(()=>{var L;(L=y==null?void 0:y.value)!=null&&L.tagName&&(i=g.observe(y.value,async()=>{i==null||i(),i=null,await w(o)}))})})}),U(()=>{l&&M(l),i==null||i(),i=null})}return()=>{var i;if(!b.value&&!m.value&&!d(s.value)){const g={ref:f,to:s.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(k("interaction")&&(g.onPointerenter=w.bind(null,void 0),g.onFocus=w.bind(null,void 0)),c.value&&(g.class=e.prefetchedClass||t.prefetchedClass),g.rel=e.rel||void 0),q(A("RouterLink"),g,a.default)}const o=e.target||null,l=ne(e.noRel?"":e.rel,t.externalRelAttribute,r.value||m.value?"noopener noreferrer":"")||null;return e.custom?a.default?a.default({href:p.value,navigate:_,prefetch:w,get route(){if(!p.value)return;const g=new URL(p.value,window.location.href);return{path:g.pathname,fullPath:g.pathname,get query(){return V(g.search)},hash:g.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:p.value}},rel:l,target:o,isExternal:b.value||m.value,isActive:!1,isExactActive:!1}):null:q("a",{ref:y,href:p.value||null,rel:l,target:o},(i=a.default)==null?void 0:i.call(a))}}})}const re=ae(K);function j(t,n){const d=n==="append"?W:G;return O(t)&&!t.startsWith("http")?t:d(t,!0)}function oe(){const t=N();if(t._observer)return t._observer;let n=null;const d=new Map,h=(e,a)=>(n||(n=new IntersectionObserver(u=>{for(const s of u){const p=d.get(s.target);(s.isIntersecting||s.intersectionRatio>0)&&p&&p()}})),d.set(e,a),n.observe(e),()=>{d.delete(e),n==null||n.unobserve(e),d.size===0&&(n==null||n.disconnect(),n=null)});return t._observer={observe:h}}const ie=/2g/;function se(){const t=navigator.connection;return!!(t&&(t.saveData||ie.test(t.effectiveType)))}const le={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},ue={class:"max-w-520px text-center z-20"},ce=["textContent"],fe=["textContent"],de={class:"flex items-center justify-center w-full"},he={__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 n=t;return te({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(d,h)=>{const v=re;return X(),J("div",le,[h[0]||(h[0]=S("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),S("div",ue,[S("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:C(t.statusCode)},null,8,ce),S("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:C(t.description)},null,8,fe),S("div",de,[Y(v,{to:"/",class:"cursor-pointer gradient-border px-4 py-2 sm:px-6 sm:py-3 sm:text-xl text-md"},{default:Z(()=>[ee(C(t.backHome),1)]),_:1})])])])}}},ge=Q(he,[["__scopeId","data-v-1c9f6778"]]);export{ge as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as s,t as a,v as i,x as e,y as o}from"./
|
|
1
|
+
import{_ as s,t as a,v as i,x as e,y as o}from"./D5hBL5aZ.js";import{u}from"./FTbv7CO6.js";const l={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},c={class:"max-w-520px text-center"},d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const r=t;return u({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(g,n)=>(i(),a("div",l,[n[0]||(n[0]=e("div",{class:"-bottom-1/2 fixed h-1/2 left-0 right-0 spotlight"},null,-1)),e("div",c,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:o(t.statusCode)},null,8,d),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:o(t.description)},null,8,p)])]))}},h=s(f,[["__scopeId","data-v-da29cbe1"]]);export{h as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./lIgCBhS_.js","./index.DGEN-H8t.css","./BM34SYth.js","./FTbv7CO6.js","./error-404.ehK72JOs.css","./CROlboVl.js","./error-500._g0akJim.css"])))=>i.map(i=>d[i]);
|
|
2
2
|
var va=Object.defineProperty;var wa=(e,t,n)=>t in e?va(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var vt=(e,t,n)=>wa(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();/**
|
|
3
3
|
* @vue/shared v3.5.13
|
|
4
4
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
@@ -20,6 +20,6 @@ var va=Object.defineProperty;var wa=(e,t,n)=>t in e?va(e,t,{enumerable:!0,config
|
|
|
20
20
|
* vue-router v4.5.0
|
|
21
21
|
* (c) 2024 Eduardo San Martin Morote
|
|
22
22
|
* @license MIT
|
|
23
|
-
*/const rn=typeof document<"u";function sa(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Cp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&sa(e.default)}const se=Object.assign;function ps(e,t){const n={};for(const r in t){const s=t[r];n[r]=et(s)?s.map(e):e(s)}return n}const Nn=()=>{},et=Array.isArray,oa=/#/g,Pp=/&/g,kp=/\//g,xp=/=/g,Ap=/\?/g,ia=/\+/g,Op=/%5B/g,Mp=/%5D/g,la=/%5E/g,Hp=/%60/g,ca=/%7B/g,Lp=/%7C/g,aa=/%7D/g,Ip=/%20/g;function To(e){return encodeURI(""+e).replace(Lp,"|").replace(Op,"[").replace(Mp,"]")}function Np(e){return To(e).replace(ca,"{").replace(aa,"}").replace(la,"^")}function qs(e){return To(e).replace(ia,"%2B").replace(Ip,"+").replace(oa,"%23").replace(Pp,"%26").replace(Hp,"`").replace(ca,"{").replace(aa,"}").replace(la,"^")}function jp(e){return qs(e).replace(xp,"%3D")}function $p(e){return To(e).replace(oa,"%23").replace(Ap,"%3F")}function Fp(e){return e==null?"":$p(e).replace(kp,"%2F")}function qn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Up=/\/$/,Bp=e=>e.replace(Up,"");function gs(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=Kp(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:qn(i)}}function Dp(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ni(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Vp(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&_n(t.matched[r],n.matched[s])&&fa(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function _n(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function fa(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Wp(e[n],t[n]))return!1;return!0}function Wp(e,t){return et(e)?ji(e,t):et(t)?ji(t,e):e===t}function ji(e,t){return et(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Kp(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).join("/")}const Je={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Gn;(function(e){e.pop="pop",e.push="push"})(Gn||(Gn={}));var jn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(jn||(jn={}));function qp(e){if(!e)if(rn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Bp(e)}const Gp=/^[^#]+#/;function zp(e,t){return e.replace(Gp,"#")+t}function Jp(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 Qr=()=>({left:window.scrollX,top:window.scrollY});function Qp(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=Jp(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function $i(e,t){return(history.state?history.state.position-t:-1)+e}const Gs=new Map;function Xp(e,t){Gs.set(e,t)}function Yp(e){const t=Gs.get(e);return Gs.delete(e),t}let Zp=()=>location.protocol+"//"+location.host;function ua(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),Ni(c,"")}return Ni(n,e)+r+s}function eg(e,t,n,r){let s=[],o=[],i=null;const l=({state:d})=>{const g=ua(e,location),_=n.value,y=t.value;let S=0;if(d){if(n.value=g,t.value=d,i&&i===_){i=null;return}S=y?d.position-y.position:0}else r(g);s.forEach(w=>{w(n.value,_,{delta:S,type:Gn.pop,direction:S?S>0?jn.forward:jn.back:jn.unknown})})};function c(){i=n.value}function u(d){s.push(d);const g=()=>{const _=s.indexOf(d);_>-1&&s.splice(_,1)};return o.push(g),g}function a(){const{history:d}=window;d.state&&d.replaceState(se({},d.state,{scroll:Qr()}),"")}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 Fi(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Qr():null}}function tg(e){const{history:t,location:n}=window,r={value:ua(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:Zp()+e+c;try{t[a?"replaceState":"pushState"](u,"",d),s.value=u}catch(g){console.error(g),n[a?"replace":"assign"](d)}}function i(c,u){const a=se({},t.state,Fi(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:Qr()});o(a.current,a,!0);const f=se({},Fi(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 ng(e){e=qp(e);const t=tg(e),n=eg(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:zp.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 rg(e){return typeof e=="string"||e&&typeof e=="object"}function da(e){return typeof e=="string"||typeof e=="symbol"}const ha=Symbol("");var Ui;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ui||(Ui={}));function bn(e,t){return se(new Error,{type:e,[ha]:!0},t)}function ut(e,t){return e instanceof Error&&ha in e&&(t==null||!!(e.type&t))}const Bi="[^/]+?",sg={sensitive:!1,strict:!1,start:!0,end:!0},og=/[.+*?^${}()[\]/\\]/g;function ig(e,t){const n=se({},sg,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 g=40+(n.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(og,"\\$&"),g+=40;else if(d.type===1){const{value:_,repeatable:y,optional:S,regexp:w}=d;o.push({name:_,repeatable:y,optional:S});const v=w||Bi;if(v!==Bi){g+=10;try{new RegExp(`(${v})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${_}" (${v}): `+b.message)}}let p=y?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;f||(p=S&&u.length<2?`(?:/${p})`:"/"+p),S&&(p+="?"),s+=p,g+=20,S&&(g+=-8),y&&(g+=-20),v===".*"&&(g+=-50)}a.push(g)}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.endsWith("/")&&(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 g=a[d]||"",_=o[d-1];f[_.name]=g&&_.repeatable?g.split("/"):g}return f}function c(u){let a="",f=!1;for(const d of e){(!f||!a.endsWith("/"))&&(a+="/"),f=!1;for(const g of d)if(g.type===0)a+=g.value;else if(g.type===1){const{value:_,repeatable:y,optional:S}=g,w=_ in u?u[_]:"";if(et(w)&&!y)throw new Error(`Provided param "${_}" is an array but it is not repeatable (* or + modifiers)`);const v=et(w)?w.join("/"):w;if(!v)if(S)d.length<2&&(a.endsWith("/")?a=a.slice(0,-1):f=!0);else throw new Error(`Missing required param "${_}"`);a+=v}}return a||"/"}return{re:i,score:r,keys:o,parse:l,stringify:c}}function lg(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]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function pa(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=lg(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Di(r))return 1;if(Di(s))return-1}return s.length-r.length}function Di(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const cg={type:0,value:""},ag=/[a-zA-Z0-9_]/;function fg(e){if(!e)return[[]];if(e==="/")return[[cg]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}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:ag.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 ug(e,t,n){const r=ig(fg(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 dg(e,t){const n=[],r=new Map;t=qi({strict:!1,end:!0,sensitive:!1},t);function s(f){return r.get(f)}function o(f,d,g){const _=!g,y=Wi(f);y.aliasOf=g&&g.record;const S=qi(t,f),w=[y];if("alias"in f){const b=typeof f.alias=="string"?[f.alias]:f.alias;for(const E of b)w.push(Wi(se({},y,{components:g?g.record.components:y.components,path:E,aliasOf:g?g.record:y})))}let v,p;for(const b of w){const{path:E}=b;if(d&&E[0]!=="/"){const P=d.record.path,k=P[P.length-1]==="/"?"":"/";b.path=d.record.path+(E&&k+E)}if(v=ug(b,d,S),g?g.alias.push(v):(p=p||v,p!==v&&p.alias.push(v),_&&f.name&&!Ki(v)&&i(f.name)),ga(v)&&c(v),y.children){const P=y.children;for(let k=0;k<P.length;k++)o(P[k],v,g&&g.children[k])}g=g||v}return p?()=>{i(p)}:Nn}function i(f){if(da(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function c(f){const d=gg(f,n);n.splice(d,0,f),f.record.name&&!Ki(f)&&r.set(f.record.name,f)}function u(f,d){let g,_={},y,S;if("name"in f&&f.name){if(g=r.get(f.name),!g)throw bn(1,{location:f});S=g.record.name,_=se(Vi(d.params,g.keys.filter(p=>!p.optional).concat(g.parent?g.parent.keys.filter(p=>p.optional):[]).map(p=>p.name)),f.params&&Vi(f.params,g.keys.map(p=>p.name))),y=g.stringify(_)}else if(f.path!=null)y=f.path,g=n.find(p=>p.re.test(y)),g&&(_=g.parse(y),S=g.record.name);else{if(g=d.name?r.get(d.name):n.find(p=>p.re.test(d.path)),!g)throw bn(1,{location:f,currentLocation:d});S=g.record.name,_=se({},d.params,f.params),y=g.stringify(_)}const w=[];let v=g;for(;v;)w.unshift(v.record),v=v.parent;return{name:S,path:y,params:_,matched:w,meta:pg(w)}}e.forEach(f=>o(f));function a(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:a,getRoutes:l,getRecordMatcher:s}}function Vi(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Wi(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:hg(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function hg(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 Ki(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pg(e){return e.reduce((t,n)=>se(t,n.meta),{})}function qi(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function gg(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;pa(e,t[o])<0?r=o:n=o+1}const s=mg(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function mg(e){let t=e;for(;t=t.parent;)if(ga(t)&&pa(e,t)===0)return t}function ga({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function yg(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(ia," "),i=o.indexOf("="),l=qn(i<0?o:o.slice(0,i)),c=i<0?null:qn(o.slice(i+1));if(l in t){let u=t[l];et(u)||(u=t[l]=[u]),u.push(c)}else t[l]=c}return t}function Gi(e){let t="";for(let n in e){const r=e[n];if(n=jp(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(et(r)?r.map(o=>o&&qs(o)):[r&&qs(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function _g(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=et(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const bg=Symbol(""),zi=Symbol(""),Co=Symbol(""),Po=Symbol(""),zs=Symbol("");function kn(){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 Pt(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((l,c)=>{const u=d=>{d===!1?c(bn(4,{from:n,to:t})):d instanceof Error?c(d):rg(d)?c(bn(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),l())},a=o(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(a);e.length<3&&(f=f.then(u)),f.catch(d=>c(d))})}function ms(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(sa(c)){const a=(c.__vccOpts||c)[t];a&&o.push(Pt(a,n,r,i,l,s))}else{let u=c();o.push(()=>u.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=Cp(a)?a.default:a;i.mods[l]=a,i.components[l]=f;const g=(f.__vccOpts||f)[t];return g&&Pt(g,n,r,i,l,s)()}))}}return o}function Ji(e){const t=Ae(Co),n=Ae(Po),r=We(()=>{const c=ue(e.to);return t.resolve(c)}),s=We(()=>{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(_n.bind(null,a));if(d>-1)return d;const g=Qi(c[u-2]);return u>1&&Qi(a)===g&&f[f.length-1].path!==g?f.findIndex(_n.bind(null,c[u-2])):d}),o=We(()=>s.value>-1&&Sg(n.params,r.value.params)),i=We(()=>s.value>-1&&s.value===n.matched.length-1&&fa(n.params,r.value.params));function l(c={}){if(Rg(c)){const u=t[ue(e.replace)?"replace":"push"](ue(e.to)).catch(Nn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:We(()=>r.value.href),isActive:o,isExactActive:i,navigate:l}}function vg(e){return e.length===1?e[0]:e}const wg=Nt({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:Ji,setup(e,{slots:t}){const n=It(Ji(e)),{options:r}=Ae(Co),s=We(()=>({[Xi(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Xi(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&vg(t.default(n));return e.custom?o:Pe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Eg=wg;function Rg(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 Sg(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(!et(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Qi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Xi=(e,t,n)=>e??t??n,Tg=Nt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ae(zs),s=We(()=>e.route||r.value),o=Ae(zi,0),i=We(()=>{let u=ue(o);const{matched:a}=s.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),l=We(()=>s.value.matched[i.value]);Kt(zi,We(()=>i.value+1)),Kt(bg,l),Kt(zs,s);const c=lt();return un(()=>[c.value,l.value,e.name],([u,a,f],[d,g,_])=>{a&&(a.instances[f]=u,g&&g!==a&&u&&u===d&&(a.leaveGuards.size||(a.leaveGuards=g.leaveGuards),a.updateGuards.size||(a.updateGuards=g.updateGuards))),u&&a&&(!g||!_n(a,g)||!d)&&(a.enterCallbacks[f]||[]).forEach(y=>y(u))},{flush:"post"}),()=>{const u=s.value,a=e.name,f=l.value,d=f&&f.components[a];if(!d)return Yi(n.default,{Component:d,route:u});const g=f.props[a],_=g?g===!0?u.params:typeof g=="function"?g(u):g:null,S=Pe(d,se({},_,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(f.instances[a]=null)},ref:c}));return Yi(n.default,{Component:S,route:u})||S}}});function Yi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ma=Tg;function Cg(e){const t=dg(e.routes,e),n=e.parseQuery||yg,r=e.stringifyQuery||Gi,s=e.history,o=kn(),i=kn(),l=kn(),c=Bn(Je);let u=Je;rn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=ps.bind(null,C=>""+C),f=ps.bind(null,Fp),d=ps.bind(null,qn);function g(C,U){let $,W;return da(C)?($=t.getRecordMatcher(C),W=U):W=C,t.addRoute(W,$)}function _(C){const U=t.getRecordMatcher(C);U&&t.removeRoute(U)}function y(){return t.getRoutes().map(C=>C.record)}function S(C){return!!t.getRecordMatcher(C)}function w(C,U){if(U=se({},U||c.value),typeof C=="string"){const m=gs(n,C,U.path),R=t.resolve({path:m.path},U),x=s.createHref(m.fullPath);return se(m,R,{params:d(R.params),hash:qn(m.hash),redirectedFrom:void 0,href:x})}let $;if(C.path!=null)$=se({},C,{path:gs(n,C.path,U.path).path});else{const m=se({},C.params);for(const R in m)m[R]==null&&delete m[R];$=se({},C,{params:f(m)}),U.params=f(U.params)}const W=t.resolve($,U),re=C.hash||"";W.params=a(d(W.params));const de=Dp(r,se({},C,{hash:Np(re),path:W.path})),h=s.createHref(de);return se({fullPath:de,hash:re,query:r===Gi?_g(C.query):C.query||{}},W,{redirectedFrom:void 0,href:h})}function v(C){return typeof C=="string"?gs(n,C,c.value.path):se({},C)}function p(C,U){if(u!==C)return bn(8,{from:U,to:C})}function b(C){return k(C)}function E(C){return b(se(v(C),{replace:!0}))}function P(C){const U=C.matched[C.matched.length-1];if(U&&U.redirect){const{redirect:$}=U;let W=typeof $=="function"?$(C):$;return typeof W=="string"&&(W=W.includes("?")||W.includes("#")?W=v(W):{path:W},W.params={}),se({query:C.query,hash:C.hash,params:W.path!=null?{}:C.params},W)}}function k(C,U){const $=u=w(C),W=c.value,re=C.state,de=C.force,h=C.replace===!0,m=P($);if(m)return k(se(v(m),{state:typeof m=="object"?se({},re,m.state):re,force:de,replace:h}),U||$);const R=$;R.redirectedFrom=U;let x;return!de&&Vp(r,W,$)&&(x=bn(16,{to:R,from:W}),tt(W,W,!0,!1)),(x?Promise.resolve(x):H(R,W)).catch(T=>ut(T)?ut(T,2)?T:bt(T):V(T,R,W)).then(T=>{if(T){if(ut(T,2))return k(se({replace:h},v(T.to),{state:typeof T.to=="object"?se({},re,T.to.state):re,force:de}),U||R)}else T=M(R,W,!0,h,re);return K(R,W,T),T})}function D(C,U){const $=p(C,U);return $?Promise.reject($):Promise.resolve()}function L(C){const U=Zt.values().next().value;return U&&typeof U.runWithContext=="function"?U.runWithContext(C):C()}function H(C,U){let $;const[W,re,de]=Pg(C,U);$=ms(W.reverse(),"beforeRouteLeave",C,U);for(const m of W)m.leaveGuards.forEach(R=>{$.push(Pt(R,C,U))});const h=D.bind(null,C,U);return $.push(h),Ue($).then(()=>{$=[];for(const m of o.list())$.push(Pt(m,C,U));return $.push(h),Ue($)}).then(()=>{$=ms(re,"beforeRouteUpdate",C,U);for(const m of re)m.updateGuards.forEach(R=>{$.push(Pt(R,C,U))});return $.push(h),Ue($)}).then(()=>{$=[];for(const m of de)if(m.beforeEnter)if(et(m.beforeEnter))for(const R of m.beforeEnter)$.push(Pt(R,C,U));else $.push(Pt(m.beforeEnter,C,U));return $.push(h),Ue($)}).then(()=>(C.matched.forEach(m=>m.enterCallbacks={}),$=ms(de,"beforeRouteEnter",C,U,L),$.push(h),Ue($))).then(()=>{$=[];for(const m of i.list())$.push(Pt(m,C,U));return $.push(h),Ue($)}).catch(m=>ut(m,8)?m:Promise.reject(m))}function K(C,U,$){l.list().forEach(W=>L(()=>W(C,U,$)))}function M(C,U,$,W,re){const de=p(C,U);if(de)return de;const h=U===Je,m=rn?history.state:{};$&&(W||h?s.replace(C.fullPath,se({scroll:h&&m&&m.scroll},re)):s.push(C.fullPath,re)),c.value=C,tt(C,U,$,h),bt()}let q;function Z(){q||(q=s.listen((C,U,$)=>{if(!er.listening)return;const W=w(C),re=P(W);if(re){k(se(re,{replace:!0,force:!0}),W).catch(Nn);return}u=W;const de=c.value;rn&&Xp($i(de.fullPath,$.delta),Qr()),H(W,de).catch(h=>ut(h,12)?h:ut(h,2)?(k(se(v(h.to),{force:!0}),W).then(m=>{ut(m,20)&&!$.delta&&$.type===Gn.pop&&s.go(-1,!1)}).catch(Nn),Promise.reject()):($.delta&&s.go(-$.delta,!1),V(h,W,de))).then(h=>{h=h||M(W,de,!1),h&&($.delta&&!ut(h,8)?s.go(-$.delta,!1):$.type===Gn.pop&&ut(h,20)&&s.go(-1,!1)),K(W,de,h)}).catch(Nn)}))}let ne=kn(),B=kn(),Y;function V(C,U,$){bt(C);const W=B.list();return W.length?W.forEach(re=>re(C,U,$)):console.error(C),Promise.reject(C)}function me(){return Y&&c.value!==Je?Promise.resolve():new Promise((C,U)=>{ne.add([C,U])})}function bt(C){return Y||(Y=!C,Z(),ne.list().forEach(([U,$])=>C?$(C):U()),ne.reset()),C}function tt(C,U,$,W){const{scrollBehavior:re}=e;if(!rn||!re)return Promise.resolve();const de=!$&&Yp($i(C.fullPath,0))||(W||!$)&&history.state&&history.state.scroll||null;return Qt().then(()=>re(C,U,de)).then(h=>h&&Qp(h)).catch(h=>V(h,C,U))}const Oe=C=>s.go(C);let Yt;const Zt=new Set,er={currentRoute:c,listening:!0,addRoute:g,removeRoute:_,clearRoutes:t.clearRoutes,hasRoute:S,getRoutes:y,resolve:w,options:e,push:b,replace:E,go:Oe,back:()=>Oe(-1),forward:()=>Oe(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:B.add,isReady:me,install(C){const U=this;C.component("RouterLink",Eg),C.component("RouterView",ma),C.config.globalProperties.$router=U,Object.defineProperty(C.config.globalProperties,"$route",{enumerable:!0,get:()=>ue(c)}),rn&&!Yt&&c.value===Je&&(Yt=!0,b(s.location).catch(re=>{}));const $={};for(const re in Je)Object.defineProperty($,re,{get:()=>c.value[re],enumerable:!0});C.provide(Co,U),C.provide(Po,mt($)),C.provide(zs,c);const W=C.unmount;Zt.add(C),C.unmount=function(){Zt.delete(C),Zt.size<1&&(u=Je,q&&q(),q=null,c.value=Je,Yt=!1,Y=!1),W()}}};function Ue(C){return C.reduce((U,$)=>U.then(()=>L($)),Promise.resolve())}return er}function Pg(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=>_n(u,l))?r.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(u=>_n(u,c))||s.push(c))}return[n,r,s]}function kg(e){return Ae(Po)}const xg=/(:\w+)\([^)]+\)/g,Ag=/(:\w+)[?+*]/g,Og=/:\w+/g,Mg=(e,t)=>t.path.replace(xg,"$1").replace(Ag,"$1").replace(Og,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Js=(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&&Mg(e.route,n));return typeof r=="function"?r(e.route):r},Hg=(e,t)=>({default:()=>e?Pe(kf,e===!0?{}:e,t):t});function ko(e){return Array.isArray(e)?e:[e]}const ys=[{name:"index",path:"/",component:()=>Ks(()=>import("./Bt6N0bOg.js"),__vite__mapDeps([0,1]),import.meta.url)}],ya=(e,t)=>({default:()=>{var n;return e?Pe(Ou,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),Lg=/(:\w+)\([^)]+\)/g,Ig=/(:\w+)[?+*]/g,Ng=/:\w+/g;function Zi(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(Lg,"$1").replace(Ig,"$1").replace(Ng,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function jg(e,t){return e===t||t===Je?!1:Zi(e)!==Zi(t)?!0:!e.matched.every((r,s)=>{var o,i;return r.components&&r.components.default===((i=(o=t.matched[s])==null?void 0:o.components)==null?void 0:i.default)})}const $g={scrollBehavior(e,t,n){var u;const r=ge(),s=((u=Fe().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&&jg(e,t)&&(o={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:_a(e.hash),behavior:s}:!1;const l=a=>!!(a.meta.pageTransition??$s),c=l(t)&&l(e)?"page:transition:finish":"page:loading:end";return new Promise(a=>{r.hooks.hookOnce(c,()=>{requestAnimationFrame(()=>a(Fg(e,"instant",o)))})})}};function _a(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Fg(e,t,n){return n||(e.hash?{el:e.hash,top:_a(e.hash),behavior:t}:{left:0,top:0,behavior:t})}const Ug={hashMode:!1,scrollBehaviorType:"auto"},De={...Ug,...$g},Bg=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=ge(),s=Fe(),o=([t,n]=hn(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(o===!0)return;const i=zr({statusCode:o&&o.statusCode||404,statusMessage:o&&o.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),l=s.beforeResolve(u=>{if(l(),u===e){const a=s.afterEach(async()=>{a(),await r.runWithContext(()=>Tt(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},Dg=async e=>{let t,n;const r=([t,n]=hn(()=>Ro({path:e.path})),t=await t,n(),t);if(r.redirect)return Xt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Vg=[Bg,Dg],$n={};function Wg(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),bi(a,"")}const l=bi(r,e),c=!n||Hd(l,n,{trailingSlash:!0})?l:n;return c+(c.includes("?")?"":s)+o}const Kg=ct({name:"nuxt:router",enforce:"pre",async setup(e){var S;let t,n,r=qr().app.baseURL;const s=((S=De.history)==null?void 0:S.call(De,r))??ng(r),o=De.routes?([t,n]=hn(()=>De.routes(ys)),t=await t,n(),t??ys):ys;let i;const l=Cg({...De,scrollBehavior:(w,v,p)=>{if(v===Je){i=p;return}if(De.scrollBehavior){if(l.options.scrollBehavior=De.scrollBehavior,"scrollRestoration"in window.history){const b=l.beforeEach(()=>{b(),window.history.scrollRestoration="manual"})}return De.scrollBehavior(w,Je,i||p)}},history:s,routes:o});De.routes&&De.routes,"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const c=Bn(l.currentRoute.value);l.afterEach((w,v)=>{c.value=v}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=Wg(r,window.location,e.payload.path),a=Bn(l.currentRoute.value),f=()=>{a.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((w,v)=>{var p,b,E,P;((b=(p=w.matched[0])==null?void 0:p.components)==null?void 0:b.default)===((P=(E=v.matched[0])==null?void 0:E.components)==null?void 0:P.default)&&f()});const d={};for(const w in a.value)Object.defineProperty(d,w,{get:()=>a.value[w],enumerable:!0});e._route=mt(d),e._middleware||(e._middleware={global:[],named:{}});const g=Gr();l.afterEach(async(w,v,p)=>{delete e._processingMiddleware,!e.isHydrating&&g.value&&await e.runWithContext(kh),p&&await e.callHook("page:loading:end")});try{[t,n]=hn(()=>l.isReady()),await t,n()}catch(w){[t,n]=hn(()=>e.runWithContext(()=>Tt(w))),await t,n()}const _=u!==l.currentRoute.value.fullPath?l.resolve(u):l.currentRoute.value;f();const y=e.payload.state._layout;return l.beforeEach(async(w,v)=>{var p;await e.callHook("page:loading:start"),w.meta=It(w.meta),e.isHydrating&&y&&!Ot(w.meta.layout)&&(w.meta.layout=y),e._processingMiddleware=!0;{const b=new Set([...Vg,...e._middleware.global]);for(const E of w.matched){const P=E.meta.middleware;if(P)for(const k of ko(P))b.add(k)}{const E=await e.runWithContext(()=>Ro({path:w.path}));if(E.appMiddleware)for(const P in E.appMiddleware)E.appMiddleware[P]?b.add(P):b.delete(P)}for(const E of b){const P=typeof E=="string"?e._middleware.named[E]||await((p=$n[E])==null?void 0:p.call($n).then(k=>k.default||k)):E;if(!P)throw new Error(`Unknown route middleware: '${E}'.`);try{const k=await e.runWithContext(()=>P(w,v));if(!e.payload.serverRendered&&e.isHydrating&&(k===!1||k instanceof Error)){const D=k||gr({statusCode:404,statusMessage:`Page Not Found: ${u}`});return await e.runWithContext(()=>Tt(D)),!1}if(k===!0)continue;if(k===!1)return k;if(k)return Xc(k)&&k.fatal&&await e.runWithContext(()=>Tt(k)),k}catch(k){const D=gr(k);return D.fatal&&await e.runWithContext(()=>Tt(D)),D}}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(async(w,v)=>{w.matched.length===0&&await e.runWithContext(()=>Tt(gr({statusCode:404,fatal:!1,statusMessage:`Page not found: ${w.fullPath}`,data:{path:w.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in _&&(_.name=void 0),await l.replace({..._,force:!0}),l.options.scrollBehavior=De.scrollBehavior}catch(w){await e.runWithContext(()=>Tt(w))}}),{provide:{router:l}}}}),el=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),xm=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),xo=e=>{const t=ge();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{el(()=>e())}):el(()=>e())},qg=ct({name:"nuxt:payload",setup(e){const t=new Set;Fe().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await Ii(n.path);if(s){for(const o of t)delete e.static.data[o];for(const o in s.data)o in e.static.data||t.add(o),e.static.data[o]=s.data[o]}}),xo(()=>{var n;e.hooks.hook("link:prefetch",async r=>{const{hostname:s}=new URL(r,window.location.href);s===window.location.hostname&&await Ii(r).catch(()=>{console.warn("[nuxt] Error preloading payload for",r)})}),((n=navigator.connection)==null?void 0:n.effectiveType)!=="slow-2g"&&setTimeout(Jr,1e3)})}}),Gg=ct(()=>{const e=Fe();xo(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),zg=ct(e=>{let t;async function n(){const r=await Jr();t&&clearTimeout(t),t=setTimeout(n,Si);try{const s=await $fetch(wo("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}xo(()=>{t=setTimeout(n,Si)})});function Jg(e={}){const t=e.path||window.location.pathname;let n={};try{n=xr(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:ge().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Qg=ct({name:"nuxt:chunk-reload",setup(e){const t=Fe(),n=qr(),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[0]==="#"?n.app.baseURL+o.href:vo(n.app.baseURL,o.fullPath);Jg({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),Xg=ct({name:"nuxt:global-components"}),kt={},Yg=ct({name:"nuxt:prefetch",setup(e){const t=Fe();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 kt[r]=="function"&&await kt[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Xt(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=ko(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof $n[i]=="function"&&$n[i]();s&&typeof kt[s]=="function"&&kt[s]()})}}),Zg=ct(()=>{}),em=[vp,Tp,Kg,qg,Gg,zg,Qg,Xg,Yg,Zg],ba=(e="RouteProvider")=>Nt({name:e,props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,s={};for(const o in t.route)Object.defineProperty(s,o,{get:()=>n===t.renderKey?t.route[o]:r[o],enumerable:!0});return Kt(Zn,mt(s)),()=>Pe(t.vnode,{ref:t.vnodeRef})}}),tm=ba(),tl=new WeakMap,nm=Nt({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,slots:n,expose:r}){const s=ge(),o=lt(),i=Ae(Zn,null);let l;r({pageRef:o});const c=Ae(Jc,null);let u;const a=s.deferHydration();if(s.isHydrating){const d=s.hooks.hookOnce("app:error",a);Fe().beforeEach(d)}e.pageKey&&un(()=>e.pageKey,(d,g)=>{d!==g&&s.callHook("page:loading:start")});let f=!1;{const d=Fe().beforeResolve(()=>{f=!1});Xn(()=>{d()})}return()=>Pe(ma,{name:e.name,route:e.route,...t},{default:d=>{const g=sm(i,d.route,d.Component),_=i&&i.matched.length===d.route.matched.length;if(!d.Component){if(u&&!_)return u;a();return}if(u&&c&&!c.isCurrent(d.route))return u;if(g&&i&&(!c||c!=null&&c.isCurrent(i)))return _?u:null;const y=Js(d,e.pageKey),S=om(i,d.route,d.Component);!s.isHydrating&&l===y&&!S&&(s.callHook("page:loading:end"),f=!0),l=y;const w=!!(e.transition??d.route.meta.pageTransition??$s),v=w&&rm([e.transition,d.route.meta.pageTransition,$s,{onAfterLeave:()=>{s.callHook("page:transition:finish",d.Component)}}]),p=e.keepalive??d.route.meta.keepalive??fh;return u=ya(w&&v,Hg(p,Pe(mo,{suspensible:!0,onPending:()=>s.callHook("page:start",d.Component),onResolve:()=>{Qt(()=>s.callHook("page:finish",d.Component).then(()=>{if(!f&&!S)return f=!0,s.callHook("page:loading:end")}).finally(a))}},{default:()=>{const b={key:y||void 0,vnode:n.default?im(n.default,d):d.Component,route:d.route,renderKey:y||void 0,trackRootNodes:w,vnodeRef:o};if(!p)return Pe(tm,b);const E=d.Component.type,P=E;let k=tl.get(P);return k||(k=ba(E.name||E.__name),tl.set(P,k)),Pe(k,b)}}))).default(),u}})}});function rm(e){const t=e.filter(Boolean).map(n=>({...n,onAfterLeave:n.onAfterLeave?ko(n.onAfterLeave):void 0}));return Gc(...t)}function sm(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&&Js({route:t,Component:n})!==Js({route:e,Component:n})}function om(e,t,n){return e?t.matched.findIndex(s=>{var o;return((o=s.components)==null?void 0:o.default)===(n==null?void 0:n.type)})<t.matched.length-1:!1}function im(e,t){const n=e(t);return n.length===1?Pe(n[0]):Pe(Ce,void 0,n)}const lm=Nt({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>Pe(kt[e.name],e.layoutProps,t.slots)}}),cm={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},am=Nt({name:"NuxtLayout",inheritAttrs:!1,props:cm,setup(e,t){const n=ge(),r=Ae(Zn),s=r===Eo()?kg():r,o=We(()=>{let c=ue(e.name)??s.meta.layout??"default";return c&&!(c in kt)&&e.fallback&&(c=ue(e.fallback)),c}),i=lt();t.expose({layoutRef:i});const l=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",l);Fe().beforeEach(c)}return()=>{const c=o.value&&o.value in kt,u=s.meta.layoutTransition??ah;return ya(c&&u,{default:()=>Pe(mo,{suspensible:!0,onResolve:()=>{Qt(l)}},{default:()=>Pe(fm,{layoutProps:Rc(t.attrs,{ref:i}),key:o.value||void 0,name:o.value,shouldProvide:!e.name,hasTransition:!!u},t.slots)})}).default()}}}),fm=Nt({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&&Kt(Jc,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,s;return!n||typeof n=="string"&&!(n in kt)?(s=(r=t.slots).default)==null?void 0:s.call(r):Pe(lm,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),um=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},dm={};function hm(e,t){const n=nm,r=am;return Ve(),ot(r,null,{default:ao(()=>[pe(n)]),_:1})}const pm=um(dm,[["render",hm]]),gm={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
|
|
23
|
+
*/const rn=typeof document<"u";function sa(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Cp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&sa(e.default)}const se=Object.assign;function ps(e,t){const n={};for(const r in t){const s=t[r];n[r]=et(s)?s.map(e):e(s)}return n}const Nn=()=>{},et=Array.isArray,oa=/#/g,Pp=/&/g,kp=/\//g,xp=/=/g,Ap=/\?/g,ia=/\+/g,Op=/%5B/g,Mp=/%5D/g,la=/%5E/g,Hp=/%60/g,ca=/%7B/g,Lp=/%7C/g,aa=/%7D/g,Ip=/%20/g;function To(e){return encodeURI(""+e).replace(Lp,"|").replace(Op,"[").replace(Mp,"]")}function Np(e){return To(e).replace(ca,"{").replace(aa,"}").replace(la,"^")}function qs(e){return To(e).replace(ia,"%2B").replace(Ip,"+").replace(oa,"%23").replace(Pp,"%26").replace(Hp,"`").replace(ca,"{").replace(aa,"}").replace(la,"^")}function jp(e){return qs(e).replace(xp,"%3D")}function $p(e){return To(e).replace(oa,"%23").replace(Ap,"%3F")}function Fp(e){return e==null?"":$p(e).replace(kp,"%2F")}function qn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Up=/\/$/,Bp=e=>e.replace(Up,"");function gs(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=Kp(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:qn(i)}}function Dp(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ni(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Vp(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&_n(t.matched[r],n.matched[s])&&fa(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function _n(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function fa(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Wp(e[n],t[n]))return!1;return!0}function Wp(e,t){return et(e)?ji(e,t):et(t)?ji(t,e):e===t}function ji(e,t){return et(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Kp(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).join("/")}const Je={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Gn;(function(e){e.pop="pop",e.push="push"})(Gn||(Gn={}));var jn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(jn||(jn={}));function qp(e){if(!e)if(rn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Bp(e)}const Gp=/^[^#]+#/;function zp(e,t){return e.replace(Gp,"#")+t}function Jp(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 Qr=()=>({left:window.scrollX,top:window.scrollY});function Qp(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=Jp(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function $i(e,t){return(history.state?history.state.position-t:-1)+e}const Gs=new Map;function Xp(e,t){Gs.set(e,t)}function Yp(e){const t=Gs.get(e);return Gs.delete(e),t}let Zp=()=>location.protocol+"//"+location.host;function ua(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),Ni(c,"")}return Ni(n,e)+r+s}function eg(e,t,n,r){let s=[],o=[],i=null;const l=({state:d})=>{const g=ua(e,location),_=n.value,y=t.value;let S=0;if(d){if(n.value=g,t.value=d,i&&i===_){i=null;return}S=y?d.position-y.position:0}else r(g);s.forEach(w=>{w(n.value,_,{delta:S,type:Gn.pop,direction:S?S>0?jn.forward:jn.back:jn.unknown})})};function c(){i=n.value}function u(d){s.push(d);const g=()=>{const _=s.indexOf(d);_>-1&&s.splice(_,1)};return o.push(g),g}function a(){const{history:d}=window;d.state&&d.replaceState(se({},d.state,{scroll:Qr()}),"")}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 Fi(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Qr():null}}function tg(e){const{history:t,location:n}=window,r={value:ua(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:Zp()+e+c;try{t[a?"replaceState":"pushState"](u,"",d),s.value=u}catch(g){console.error(g),n[a?"replace":"assign"](d)}}function i(c,u){const a=se({},t.state,Fi(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:Qr()});o(a.current,a,!0);const f=se({},Fi(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 ng(e){e=qp(e);const t=tg(e),n=eg(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:zp.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 rg(e){return typeof e=="string"||e&&typeof e=="object"}function da(e){return typeof e=="string"||typeof e=="symbol"}const ha=Symbol("");var Ui;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ui||(Ui={}));function bn(e,t){return se(new Error,{type:e,[ha]:!0},t)}function ut(e,t){return e instanceof Error&&ha in e&&(t==null||!!(e.type&t))}const Bi="[^/]+?",sg={sensitive:!1,strict:!1,start:!0,end:!0},og=/[.+*?^${}()[\]/\\]/g;function ig(e,t){const n=se({},sg,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 g=40+(n.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(og,"\\$&"),g+=40;else if(d.type===1){const{value:_,repeatable:y,optional:S,regexp:w}=d;o.push({name:_,repeatable:y,optional:S});const v=w||Bi;if(v!==Bi){g+=10;try{new RegExp(`(${v})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${_}" (${v}): `+b.message)}}let p=y?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;f||(p=S&&u.length<2?`(?:/${p})`:"/"+p),S&&(p+="?"),s+=p,g+=20,S&&(g+=-8),y&&(g+=-20),v===".*"&&(g+=-50)}a.push(g)}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.endsWith("/")&&(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 g=a[d]||"",_=o[d-1];f[_.name]=g&&_.repeatable?g.split("/"):g}return f}function c(u){let a="",f=!1;for(const d of e){(!f||!a.endsWith("/"))&&(a+="/"),f=!1;for(const g of d)if(g.type===0)a+=g.value;else if(g.type===1){const{value:_,repeatable:y,optional:S}=g,w=_ in u?u[_]:"";if(et(w)&&!y)throw new Error(`Provided param "${_}" is an array but it is not repeatable (* or + modifiers)`);const v=et(w)?w.join("/"):w;if(!v)if(S)d.length<2&&(a.endsWith("/")?a=a.slice(0,-1):f=!0);else throw new Error(`Missing required param "${_}"`);a+=v}}return a||"/"}return{re:i,score:r,keys:o,parse:l,stringify:c}}function lg(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]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function pa(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=lg(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Di(r))return 1;if(Di(s))return-1}return s.length-r.length}function Di(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const cg={type:0,value:""},ag=/[a-zA-Z0-9_]/;function fg(e){if(!e)return[[]];if(e==="/")return[[cg]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}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:ag.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 ug(e,t,n){const r=ig(fg(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 dg(e,t){const n=[],r=new Map;t=qi({strict:!1,end:!0,sensitive:!1},t);function s(f){return r.get(f)}function o(f,d,g){const _=!g,y=Wi(f);y.aliasOf=g&&g.record;const S=qi(t,f),w=[y];if("alias"in f){const b=typeof f.alias=="string"?[f.alias]:f.alias;for(const E of b)w.push(Wi(se({},y,{components:g?g.record.components:y.components,path:E,aliasOf:g?g.record:y})))}let v,p;for(const b of w){const{path:E}=b;if(d&&E[0]!=="/"){const P=d.record.path,k=P[P.length-1]==="/"?"":"/";b.path=d.record.path+(E&&k+E)}if(v=ug(b,d,S),g?g.alias.push(v):(p=p||v,p!==v&&p.alias.push(v),_&&f.name&&!Ki(v)&&i(f.name)),ga(v)&&c(v),y.children){const P=y.children;for(let k=0;k<P.length;k++)o(P[k],v,g&&g.children[k])}g=g||v}return p?()=>{i(p)}:Nn}function i(f){if(da(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function c(f){const d=gg(f,n);n.splice(d,0,f),f.record.name&&!Ki(f)&&r.set(f.record.name,f)}function u(f,d){let g,_={},y,S;if("name"in f&&f.name){if(g=r.get(f.name),!g)throw bn(1,{location:f});S=g.record.name,_=se(Vi(d.params,g.keys.filter(p=>!p.optional).concat(g.parent?g.parent.keys.filter(p=>p.optional):[]).map(p=>p.name)),f.params&&Vi(f.params,g.keys.map(p=>p.name))),y=g.stringify(_)}else if(f.path!=null)y=f.path,g=n.find(p=>p.re.test(y)),g&&(_=g.parse(y),S=g.record.name);else{if(g=d.name?r.get(d.name):n.find(p=>p.re.test(d.path)),!g)throw bn(1,{location:f,currentLocation:d});S=g.record.name,_=se({},d.params,f.params),y=g.stringify(_)}const w=[];let v=g;for(;v;)w.unshift(v.record),v=v.parent;return{name:S,path:y,params:_,matched:w,meta:pg(w)}}e.forEach(f=>o(f));function a(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:a,getRoutes:l,getRecordMatcher:s}}function Vi(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Wi(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:hg(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function hg(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 Ki(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pg(e){return e.reduce((t,n)=>se(t,n.meta),{})}function qi(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function gg(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;pa(e,t[o])<0?r=o:n=o+1}const s=mg(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function mg(e){let t=e;for(;t=t.parent;)if(ga(t)&&pa(e,t)===0)return t}function ga({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function yg(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(ia," "),i=o.indexOf("="),l=qn(i<0?o:o.slice(0,i)),c=i<0?null:qn(o.slice(i+1));if(l in t){let u=t[l];et(u)||(u=t[l]=[u]),u.push(c)}else t[l]=c}return t}function Gi(e){let t="";for(let n in e){const r=e[n];if(n=jp(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(et(r)?r.map(o=>o&&qs(o)):[r&&qs(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function _g(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=et(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const bg=Symbol(""),zi=Symbol(""),Co=Symbol(""),Po=Symbol(""),zs=Symbol("");function kn(){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 Pt(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((l,c)=>{const u=d=>{d===!1?c(bn(4,{from:n,to:t})):d instanceof Error?c(d):rg(d)?c(bn(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),l())},a=o(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(a);e.length<3&&(f=f.then(u)),f.catch(d=>c(d))})}function ms(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(sa(c)){const a=(c.__vccOpts||c)[t];a&&o.push(Pt(a,n,r,i,l,s))}else{let u=c();o.push(()=>u.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=Cp(a)?a.default:a;i.mods[l]=a,i.components[l]=f;const g=(f.__vccOpts||f)[t];return g&&Pt(g,n,r,i,l,s)()}))}}return o}function Ji(e){const t=Ae(Co),n=Ae(Po),r=We(()=>{const c=ue(e.to);return t.resolve(c)}),s=We(()=>{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(_n.bind(null,a));if(d>-1)return d;const g=Qi(c[u-2]);return u>1&&Qi(a)===g&&f[f.length-1].path!==g?f.findIndex(_n.bind(null,c[u-2])):d}),o=We(()=>s.value>-1&&Sg(n.params,r.value.params)),i=We(()=>s.value>-1&&s.value===n.matched.length-1&&fa(n.params,r.value.params));function l(c={}){if(Rg(c)){const u=t[ue(e.replace)?"replace":"push"](ue(e.to)).catch(Nn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:We(()=>r.value.href),isActive:o,isExactActive:i,navigate:l}}function vg(e){return e.length===1?e[0]:e}const wg=Nt({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:Ji,setup(e,{slots:t}){const n=It(Ji(e)),{options:r}=Ae(Co),s=We(()=>({[Xi(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Xi(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&vg(t.default(n));return e.custom?o:Pe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Eg=wg;function Rg(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 Sg(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(!et(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Qi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Xi=(e,t,n)=>e??t??n,Tg=Nt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ae(zs),s=We(()=>e.route||r.value),o=Ae(zi,0),i=We(()=>{let u=ue(o);const{matched:a}=s.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),l=We(()=>s.value.matched[i.value]);Kt(zi,We(()=>i.value+1)),Kt(bg,l),Kt(zs,s);const c=lt();return un(()=>[c.value,l.value,e.name],([u,a,f],[d,g,_])=>{a&&(a.instances[f]=u,g&&g!==a&&u&&u===d&&(a.leaveGuards.size||(a.leaveGuards=g.leaveGuards),a.updateGuards.size||(a.updateGuards=g.updateGuards))),u&&a&&(!g||!_n(a,g)||!d)&&(a.enterCallbacks[f]||[]).forEach(y=>y(u))},{flush:"post"}),()=>{const u=s.value,a=e.name,f=l.value,d=f&&f.components[a];if(!d)return Yi(n.default,{Component:d,route:u});const g=f.props[a],_=g?g===!0?u.params:typeof g=="function"?g(u):g:null,S=Pe(d,se({},_,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(f.instances[a]=null)},ref:c}));return Yi(n.default,{Component:S,route:u})||S}}});function Yi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ma=Tg;function Cg(e){const t=dg(e.routes,e),n=e.parseQuery||yg,r=e.stringifyQuery||Gi,s=e.history,o=kn(),i=kn(),l=kn(),c=Bn(Je);let u=Je;rn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=ps.bind(null,C=>""+C),f=ps.bind(null,Fp),d=ps.bind(null,qn);function g(C,U){let $,W;return da(C)?($=t.getRecordMatcher(C),W=U):W=C,t.addRoute(W,$)}function _(C){const U=t.getRecordMatcher(C);U&&t.removeRoute(U)}function y(){return t.getRoutes().map(C=>C.record)}function S(C){return!!t.getRecordMatcher(C)}function w(C,U){if(U=se({},U||c.value),typeof C=="string"){const m=gs(n,C,U.path),R=t.resolve({path:m.path},U),x=s.createHref(m.fullPath);return se(m,R,{params:d(R.params),hash:qn(m.hash),redirectedFrom:void 0,href:x})}let $;if(C.path!=null)$=se({},C,{path:gs(n,C.path,U.path).path});else{const m=se({},C.params);for(const R in m)m[R]==null&&delete m[R];$=se({},C,{params:f(m)}),U.params=f(U.params)}const W=t.resolve($,U),re=C.hash||"";W.params=a(d(W.params));const de=Dp(r,se({},C,{hash:Np(re),path:W.path})),h=s.createHref(de);return se({fullPath:de,hash:re,query:r===Gi?_g(C.query):C.query||{}},W,{redirectedFrom:void 0,href:h})}function v(C){return typeof C=="string"?gs(n,C,c.value.path):se({},C)}function p(C,U){if(u!==C)return bn(8,{from:U,to:C})}function b(C){return k(C)}function E(C){return b(se(v(C),{replace:!0}))}function P(C){const U=C.matched[C.matched.length-1];if(U&&U.redirect){const{redirect:$}=U;let W=typeof $=="function"?$(C):$;return typeof W=="string"&&(W=W.includes("?")||W.includes("#")?W=v(W):{path:W},W.params={}),se({query:C.query,hash:C.hash,params:W.path!=null?{}:C.params},W)}}function k(C,U){const $=u=w(C),W=c.value,re=C.state,de=C.force,h=C.replace===!0,m=P($);if(m)return k(se(v(m),{state:typeof m=="object"?se({},re,m.state):re,force:de,replace:h}),U||$);const R=$;R.redirectedFrom=U;let x;return!de&&Vp(r,W,$)&&(x=bn(16,{to:R,from:W}),tt(W,W,!0,!1)),(x?Promise.resolve(x):H(R,W)).catch(T=>ut(T)?ut(T,2)?T:bt(T):V(T,R,W)).then(T=>{if(T){if(ut(T,2))return k(se({replace:h},v(T.to),{state:typeof T.to=="object"?se({},re,T.to.state):re,force:de}),U||R)}else T=M(R,W,!0,h,re);return K(R,W,T),T})}function D(C,U){const $=p(C,U);return $?Promise.reject($):Promise.resolve()}function L(C){const U=Zt.values().next().value;return U&&typeof U.runWithContext=="function"?U.runWithContext(C):C()}function H(C,U){let $;const[W,re,de]=Pg(C,U);$=ms(W.reverse(),"beforeRouteLeave",C,U);for(const m of W)m.leaveGuards.forEach(R=>{$.push(Pt(R,C,U))});const h=D.bind(null,C,U);return $.push(h),Ue($).then(()=>{$=[];for(const m of o.list())$.push(Pt(m,C,U));return $.push(h),Ue($)}).then(()=>{$=ms(re,"beforeRouteUpdate",C,U);for(const m of re)m.updateGuards.forEach(R=>{$.push(Pt(R,C,U))});return $.push(h),Ue($)}).then(()=>{$=[];for(const m of de)if(m.beforeEnter)if(et(m.beforeEnter))for(const R of m.beforeEnter)$.push(Pt(R,C,U));else $.push(Pt(m.beforeEnter,C,U));return $.push(h),Ue($)}).then(()=>(C.matched.forEach(m=>m.enterCallbacks={}),$=ms(de,"beforeRouteEnter",C,U,L),$.push(h),Ue($))).then(()=>{$=[];for(const m of i.list())$.push(Pt(m,C,U));return $.push(h),Ue($)}).catch(m=>ut(m,8)?m:Promise.reject(m))}function K(C,U,$){l.list().forEach(W=>L(()=>W(C,U,$)))}function M(C,U,$,W,re){const de=p(C,U);if(de)return de;const h=U===Je,m=rn?history.state:{};$&&(W||h?s.replace(C.fullPath,se({scroll:h&&m&&m.scroll},re)):s.push(C.fullPath,re)),c.value=C,tt(C,U,$,h),bt()}let q;function Z(){q||(q=s.listen((C,U,$)=>{if(!er.listening)return;const W=w(C),re=P(W);if(re){k(se(re,{replace:!0,force:!0}),W).catch(Nn);return}u=W;const de=c.value;rn&&Xp($i(de.fullPath,$.delta),Qr()),H(W,de).catch(h=>ut(h,12)?h:ut(h,2)?(k(se(v(h.to),{force:!0}),W).then(m=>{ut(m,20)&&!$.delta&&$.type===Gn.pop&&s.go(-1,!1)}).catch(Nn),Promise.reject()):($.delta&&s.go(-$.delta,!1),V(h,W,de))).then(h=>{h=h||M(W,de,!1),h&&($.delta&&!ut(h,8)?s.go(-$.delta,!1):$.type===Gn.pop&&ut(h,20)&&s.go(-1,!1)),K(W,de,h)}).catch(Nn)}))}let ne=kn(),B=kn(),Y;function V(C,U,$){bt(C);const W=B.list();return W.length?W.forEach(re=>re(C,U,$)):console.error(C),Promise.reject(C)}function me(){return Y&&c.value!==Je?Promise.resolve():new Promise((C,U)=>{ne.add([C,U])})}function bt(C){return Y||(Y=!C,Z(),ne.list().forEach(([U,$])=>C?$(C):U()),ne.reset()),C}function tt(C,U,$,W){const{scrollBehavior:re}=e;if(!rn||!re)return Promise.resolve();const de=!$&&Yp($i(C.fullPath,0))||(W||!$)&&history.state&&history.state.scroll||null;return Qt().then(()=>re(C,U,de)).then(h=>h&&Qp(h)).catch(h=>V(h,C,U))}const Oe=C=>s.go(C);let Yt;const Zt=new Set,er={currentRoute:c,listening:!0,addRoute:g,removeRoute:_,clearRoutes:t.clearRoutes,hasRoute:S,getRoutes:y,resolve:w,options:e,push:b,replace:E,go:Oe,back:()=>Oe(-1),forward:()=>Oe(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:B.add,isReady:me,install(C){const U=this;C.component("RouterLink",Eg),C.component("RouterView",ma),C.config.globalProperties.$router=U,Object.defineProperty(C.config.globalProperties,"$route",{enumerable:!0,get:()=>ue(c)}),rn&&!Yt&&c.value===Je&&(Yt=!0,b(s.location).catch(re=>{}));const $={};for(const re in Je)Object.defineProperty($,re,{get:()=>c.value[re],enumerable:!0});C.provide(Co,U),C.provide(Po,mt($)),C.provide(zs,c);const W=C.unmount;Zt.add(C),C.unmount=function(){Zt.delete(C),Zt.size<1&&(u=Je,q&&q(),q=null,c.value=Je,Yt=!1,Y=!1),W()}}};function Ue(C){return C.reduce((U,$)=>U.then(()=>L($)),Promise.resolve())}return er}function Pg(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=>_n(u,l))?r.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(u=>_n(u,c))||s.push(c))}return[n,r,s]}function kg(e){return Ae(Po)}const xg=/(:\w+)\([^)]+\)/g,Ag=/(:\w+)[?+*]/g,Og=/:\w+/g,Mg=(e,t)=>t.path.replace(xg,"$1").replace(Ag,"$1").replace(Og,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Js=(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&&Mg(e.route,n));return typeof r=="function"?r(e.route):r},Hg=(e,t)=>({default:()=>e?Pe(kf,e===!0?{}:e,t):t});function ko(e){return Array.isArray(e)?e:[e]}const ys=[{name:"index",path:"/",component:()=>Ks(()=>import("./lIgCBhS_.js"),__vite__mapDeps([0,1]),import.meta.url)}],ya=(e,t)=>({default:()=>{var n;return e?Pe(Ou,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),Lg=/(:\w+)\([^)]+\)/g,Ig=/(:\w+)[?+*]/g,Ng=/:\w+/g;function Zi(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(Lg,"$1").replace(Ig,"$1").replace(Ng,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function jg(e,t){return e===t||t===Je?!1:Zi(e)!==Zi(t)?!0:!e.matched.every((r,s)=>{var o,i;return r.components&&r.components.default===((i=(o=t.matched[s])==null?void 0:o.components)==null?void 0:i.default)})}const $g={scrollBehavior(e,t,n){var u;const r=ge(),s=((u=Fe().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&&jg(e,t)&&(o={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:_a(e.hash),behavior:s}:!1;const l=a=>!!(a.meta.pageTransition??$s),c=l(t)&&l(e)?"page:transition:finish":"page:loading:end";return new Promise(a=>{r.hooks.hookOnce(c,()=>{requestAnimationFrame(()=>a(Fg(e,"instant",o)))})})}};function _a(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Fg(e,t,n){return n||(e.hash?{el:e.hash,top:_a(e.hash),behavior:t}:{left:0,top:0,behavior:t})}const Ug={hashMode:!1,scrollBehaviorType:"auto"},De={...Ug,...$g},Bg=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=ge(),s=Fe(),o=([t,n]=hn(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(o===!0)return;const i=zr({statusCode:o&&o.statusCode||404,statusMessage:o&&o.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),l=s.beforeResolve(u=>{if(l(),u===e){const a=s.afterEach(async()=>{a(),await r.runWithContext(()=>Tt(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},Dg=async e=>{let t,n;const r=([t,n]=hn(()=>Ro({path:e.path})),t=await t,n(),t);if(r.redirect)return Xt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Vg=[Bg,Dg],$n={};function Wg(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),bi(a,"")}const l=bi(r,e),c=!n||Hd(l,n,{trailingSlash:!0})?l:n;return c+(c.includes("?")?"":s)+o}const Kg=ct({name:"nuxt:router",enforce:"pre",async setup(e){var S;let t,n,r=qr().app.baseURL;const s=((S=De.history)==null?void 0:S.call(De,r))??ng(r),o=De.routes?([t,n]=hn(()=>De.routes(ys)),t=await t,n(),t??ys):ys;let i;const l=Cg({...De,scrollBehavior:(w,v,p)=>{if(v===Je){i=p;return}if(De.scrollBehavior){if(l.options.scrollBehavior=De.scrollBehavior,"scrollRestoration"in window.history){const b=l.beforeEach(()=>{b(),window.history.scrollRestoration="manual"})}return De.scrollBehavior(w,Je,i||p)}},history:s,routes:o});De.routes&&De.routes,"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const c=Bn(l.currentRoute.value);l.afterEach((w,v)=>{c.value=v}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=Wg(r,window.location,e.payload.path),a=Bn(l.currentRoute.value),f=()=>{a.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((w,v)=>{var p,b,E,P;((b=(p=w.matched[0])==null?void 0:p.components)==null?void 0:b.default)===((P=(E=v.matched[0])==null?void 0:E.components)==null?void 0:P.default)&&f()});const d={};for(const w in a.value)Object.defineProperty(d,w,{get:()=>a.value[w],enumerable:!0});e._route=mt(d),e._middleware||(e._middleware={global:[],named:{}});const g=Gr();l.afterEach(async(w,v,p)=>{delete e._processingMiddleware,!e.isHydrating&&g.value&&await e.runWithContext(kh),p&&await e.callHook("page:loading:end")});try{[t,n]=hn(()=>l.isReady()),await t,n()}catch(w){[t,n]=hn(()=>e.runWithContext(()=>Tt(w))),await t,n()}const _=u!==l.currentRoute.value.fullPath?l.resolve(u):l.currentRoute.value;f();const y=e.payload.state._layout;return l.beforeEach(async(w,v)=>{var p;await e.callHook("page:loading:start"),w.meta=It(w.meta),e.isHydrating&&y&&!Ot(w.meta.layout)&&(w.meta.layout=y),e._processingMiddleware=!0;{const b=new Set([...Vg,...e._middleware.global]);for(const E of w.matched){const P=E.meta.middleware;if(P)for(const k of ko(P))b.add(k)}{const E=await e.runWithContext(()=>Ro({path:w.path}));if(E.appMiddleware)for(const P in E.appMiddleware)E.appMiddleware[P]?b.add(P):b.delete(P)}for(const E of b){const P=typeof E=="string"?e._middleware.named[E]||await((p=$n[E])==null?void 0:p.call($n).then(k=>k.default||k)):E;if(!P)throw new Error(`Unknown route middleware: '${E}'.`);try{const k=await e.runWithContext(()=>P(w,v));if(!e.payload.serverRendered&&e.isHydrating&&(k===!1||k instanceof Error)){const D=k||gr({statusCode:404,statusMessage:`Page Not Found: ${u}`});return await e.runWithContext(()=>Tt(D)),!1}if(k===!0)continue;if(k===!1)return k;if(k)return Xc(k)&&k.fatal&&await e.runWithContext(()=>Tt(k)),k}catch(k){const D=gr(k);return D.fatal&&await e.runWithContext(()=>Tt(D)),D}}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(async(w,v)=>{w.matched.length===0&&await e.runWithContext(()=>Tt(gr({statusCode:404,fatal:!1,statusMessage:`Page not found: ${w.fullPath}`,data:{path:w.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in _&&(_.name=void 0),await l.replace({..._,force:!0}),l.options.scrollBehavior=De.scrollBehavior}catch(w){await e.runWithContext(()=>Tt(w))}}),{provide:{router:l}}}}),el=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),xm=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),xo=e=>{const t=ge();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{el(()=>e())}):el(()=>e())},qg=ct({name:"nuxt:payload",setup(e){const t=new Set;Fe().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await Ii(n.path);if(s){for(const o of t)delete e.static.data[o];for(const o in s.data)o in e.static.data||t.add(o),e.static.data[o]=s.data[o]}}),xo(()=>{var n;e.hooks.hook("link:prefetch",async r=>{const{hostname:s}=new URL(r,window.location.href);s===window.location.hostname&&await Ii(r).catch(()=>{console.warn("[nuxt] Error preloading payload for",r)})}),((n=navigator.connection)==null?void 0:n.effectiveType)!=="slow-2g"&&setTimeout(Jr,1e3)})}}),Gg=ct(()=>{const e=Fe();xo(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),zg=ct(e=>{let t;async function n(){const r=await Jr();t&&clearTimeout(t),t=setTimeout(n,Si);try{const s=await $fetch(wo("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}xo(()=>{t=setTimeout(n,Si)})});function Jg(e={}){const t=e.path||window.location.pathname;let n={};try{n=xr(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:ge().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Qg=ct({name:"nuxt:chunk-reload",setup(e){const t=Fe(),n=qr(),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[0]==="#"?n.app.baseURL+o.href:vo(n.app.baseURL,o.fullPath);Jg({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),Xg=ct({name:"nuxt:global-components"}),kt={},Yg=ct({name:"nuxt:prefetch",setup(e){const t=Fe();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 kt[r]=="function"&&await kt[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Xt(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=ko(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof $n[i]=="function"&&$n[i]();s&&typeof kt[s]=="function"&&kt[s]()})}}),Zg=ct(()=>{}),em=[vp,Tp,Kg,qg,Gg,zg,Qg,Xg,Yg,Zg],ba=(e="RouteProvider")=>Nt({name:e,props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,s={};for(const o in t.route)Object.defineProperty(s,o,{get:()=>n===t.renderKey?t.route[o]:r[o],enumerable:!0});return Kt(Zn,mt(s)),()=>Pe(t.vnode,{ref:t.vnodeRef})}}),tm=ba(),tl=new WeakMap,nm=Nt({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,slots:n,expose:r}){const s=ge(),o=lt(),i=Ae(Zn,null);let l;r({pageRef:o});const c=Ae(Jc,null);let u;const a=s.deferHydration();if(s.isHydrating){const d=s.hooks.hookOnce("app:error",a);Fe().beforeEach(d)}e.pageKey&&un(()=>e.pageKey,(d,g)=>{d!==g&&s.callHook("page:loading:start")});let f=!1;{const d=Fe().beforeResolve(()=>{f=!1});Xn(()=>{d()})}return()=>Pe(ma,{name:e.name,route:e.route,...t},{default:d=>{const g=sm(i,d.route,d.Component),_=i&&i.matched.length===d.route.matched.length;if(!d.Component){if(u&&!_)return u;a();return}if(u&&c&&!c.isCurrent(d.route))return u;if(g&&i&&(!c||c!=null&&c.isCurrent(i)))return _?u:null;const y=Js(d,e.pageKey),S=om(i,d.route,d.Component);!s.isHydrating&&l===y&&!S&&(s.callHook("page:loading:end"),f=!0),l=y;const w=!!(e.transition??d.route.meta.pageTransition??$s),v=w&&rm([e.transition,d.route.meta.pageTransition,$s,{onAfterLeave:()=>{s.callHook("page:transition:finish",d.Component)}}]),p=e.keepalive??d.route.meta.keepalive??fh;return u=ya(w&&v,Hg(p,Pe(mo,{suspensible:!0,onPending:()=>s.callHook("page:start",d.Component),onResolve:()=>{Qt(()=>s.callHook("page:finish",d.Component).then(()=>{if(!f&&!S)return f=!0,s.callHook("page:loading:end")}).finally(a))}},{default:()=>{const b={key:y||void 0,vnode:n.default?im(n.default,d):d.Component,route:d.route,renderKey:y||void 0,trackRootNodes:w,vnodeRef:o};if(!p)return Pe(tm,b);const E=d.Component.type,P=E;let k=tl.get(P);return k||(k=ba(E.name||E.__name),tl.set(P,k)),Pe(k,b)}}))).default(),u}})}});function rm(e){const t=e.filter(Boolean).map(n=>({...n,onAfterLeave:n.onAfterLeave?ko(n.onAfterLeave):void 0}));return Gc(...t)}function sm(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&&Js({route:t,Component:n})!==Js({route:e,Component:n})}function om(e,t,n){return e?t.matched.findIndex(s=>{var o;return((o=s.components)==null?void 0:o.default)===(n==null?void 0:n.type)})<t.matched.length-1:!1}function im(e,t){const n=e(t);return n.length===1?Pe(n[0]):Pe(Ce,void 0,n)}const lm=Nt({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>Pe(kt[e.name],e.layoutProps,t.slots)}}),cm={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},am=Nt({name:"NuxtLayout",inheritAttrs:!1,props:cm,setup(e,t){const n=ge(),r=Ae(Zn),s=r===Eo()?kg():r,o=We(()=>{let c=ue(e.name)??s.meta.layout??"default";return c&&!(c in kt)&&e.fallback&&(c=ue(e.fallback)),c}),i=lt();t.expose({layoutRef:i});const l=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",l);Fe().beforeEach(c)}return()=>{const c=o.value&&o.value in kt,u=s.meta.layoutTransition??ah;return ya(c&&u,{default:()=>Pe(mo,{suspensible:!0,onResolve:()=>{Qt(l)}},{default:()=>Pe(fm,{layoutProps:Rc(t.attrs,{ref:i}),key:o.value||void 0,name:o.value,shouldProvide:!e.name,hasTransition:!!u},t.slots)})}).default()}}}),fm=Nt({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&&Kt(Jc,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,s;return!n||typeof n=="string"&&!(n in kt)?(s=(r=t.slots).default)==null?void 0:s.call(r):Pe(lm,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),um=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},dm={};function hm(e,t){const n=nm,r=am;return Ve(),ot(r,null,{default:ao(()=>[pe(n)]),_:1})}const pm=um(dm,[["render",hm]]),gm={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
|
|
24
24
|
`).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(`
|
|
25
|
-
`);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?Uo(()=>Ks(()=>import("./
|
|
25
|
+
`);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?Uo(()=>Ks(()=>import("./BM34SYth.js"),__vite__mapDeps([2,3,4]),import.meta.url)):Uo(()=>Ks(()=>import("./CROlboVl.js"),__vite__mapDeps([5,3,6]),import.meta.url));return(f,d)=>(Ve(),ot(ue(a),Ma(wc({statusCode:ue(r),statusMessage:ue(o),description:ue(i),stack:ue(l)})),null,16))}},mm={key:0},nl={__name:"nuxt-root",setup(e){const t=()=>null,n=ge(),r=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",r);Fe().beforeEach(c)}const s=!1;Kt(Zn,Eo()),n.hooks.callHookWith(c=>c.map(u=>u()),"vue:setup");const o=Gr(),i=!1;ql((c,u,a)=>{if(n.hooks.callHook("vue:error",c,u,a).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),Xc(c)&&(c.fatal||c.unhandled))return n.runWithContext(()=>Tt(c)),!1});const l=!1;return(c,u)=>(Ve(),ot(mo,{onResolve:ue(r)},{default:ao(()=>[ue(i)?(Ve(),gu("div",mm)):ue(o)?(Ve(),ot(ue(gm),{key:1,error:ue(o)},null,8,["error"])):ue(l)?(Ve(),ot(ue(t),{key:2,context:ue(l)},null,8,["context"])):ue(s)?(Ve(),ot(If(ue(s)),{key:3})):(Ve(),ot(ue(pm),{key:4}))]),_:1},8,["onResolve"]))}};let rl;{let e;rl=async function(){var i,l;if(e)return e;const r=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((l=document.getElementById("__NUXT_DATA__"))==null?void 0:l.dataset.ssr)==="true")?sd(nl):rd(nl),s=gh({vueApp:r});async function o(c){var u;await s.callHook("app:error",c),(u=s.payload).error||(u.error=zr(c))}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)});try{await _h(s,em)}catch(c){o(c)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(dh),await s.hooks.callHook("app:mounted",r),await Qt()}catch(c){o(c)}return r},e=rl().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{ao as A,Ec as B,km as C,bh as D,ho as E,Ae as F,ea as G,Fr as H,Wr as I,un as J,Qt as K,Em as L,bm as M,Tm as N,ue as O,Rc as P,ve as Q,ot as R,Rm as S,Bn as T,_m as U,Ce as V,wm as W,Sm as X,um as _,ge as a,xo as b,el as c,Nt as d,Xn as e,xm as f,vm as g,Pe as h,Ph as i,We as j,Xt as k,vo as l,qr as m,Pm as n,uo as o,Hc as p,bo as q,lt as r,Cm as s,gu as t,Fe as u,Ve as v,Is as w,vc as x,Na as y,pe as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as a,D as s,E as r,F as o,G as i}from"./
|
|
1
|
+
import{C as a,D as s,E as r,F as o,G as i}from"./D5hBL5aZ.js";function u(n){var t;const e=n||s();return((t=e==null?void 0:e.ssrContext)==null?void 0:t.head)||(e==null?void 0:e.runWithContext(()=>{if(r())return o(i)}))}function d(n,e={}){const t=u(e.nuxt);if(t)return a(n,{head:t,...e})}export{d as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"35b756ec-db3a-48e0-a262-4036827a35c5","timestamp":1744539564986}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"35b756ec-db3a-48e0-a262-4036827a35c5","timestamp":1744539564986,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as L,t as w,v as g,H as z,I as Ie,r as W,J as ie,j as O,K as ae,L as T,M as he,N as ze,O as x,x as v,P as fe,Q as me,R as P,S as F,y as V,T as Fe,U as Ve,V as B,W as ne,z as N,A as Y,B as re,X as Te,_ as Me}from"./
|
|
2
|
-
`),(l,d)=>(g(),w(B,{key:d},[v("span",{class:"line",textContent:V(l)},null,8,Pe),c[0]||(c[0]=v("br",null,null,-1))],64))),128))])],2))}}),Re={flex:"~ gap-3","items-center":""},je=L({__name:"NIconTitle",props:{icon:{},text:{}},setup(o){return(e,t)=>(g(),w("div",Re,[e.icon?(g(),w("div",{key:0,class:z(e.icon)},null,2)):F("",!0),T(e.$slots,"default",{},()=>[v("div",null,V(e.text),1)])]))}}),We=["open"],Ue={"text-base":""},Je={key:0,"text-sm":"",op50:""},Qe=L({__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(o){const t=_e(o,"open",void 0,{passive:!0});function n(s){t.value=s.target.open}return(s,i)=>{const r=pe,c=je;return g(),w(B,null,[v("details",{open:x(t),onToggle:i[0]||(i[0]=(...l)=>n&&n(...l))},[v("summary",{class:z(["cursor-pointer select-none hover:bg-active p4",s.collapse?"":"pointer-events-none"])},[N(c,{icon:s.icon,text:s.text,"text-xl":"",transition:"",class:z([x(t)?"op100":"op60",s.headerClass])},{default:Y(()=>[v("div",null,[v("div",Ue,[T(s.$slots,"text",{},()=>[re(V(s.text),1)],!0)]),s.description||s.$slots.description?(g(),w("div",Je,[T(s.$slots,"description",{},()=>[re(V(s.description),1)],!0)])):F("",!0)]),i[1]||(i[1]=v("div",{class:"flex-auto"},null,-1)),T(s.$slots,"actions",{},void 0,!0),s.collapse?(g(),P(r,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):F("",!0)]),_:3},8,["icon","text","class"])],2),i._lazyshow1||x(t)?(i._lazyshow1=!0,g(),w(B,null,[he(v("div",{class:z(["flex flex-col flex-gap2 pb6 pt2",typeof s.padding=="string"?s.padding:s.padding?"px4":""])},[T(s.$slots,"details",{},void 0,!0),v("div",{class:z([s.containerClass,"mt1"])},[T(s.$slots,"default",{},void 0,!0)],2),T(s.$slots,"footer",{},void 0,!0)],2),[[Te,x(t)]])],64)):F("v-show-if",!0)],40,We),i[2]||(i[2]=v("div",{class:"x-divider"},null,-1))],64)}}}),qe=Me(Qe,[["__scopeId","data-v-f3591bcd"]]),Ge={class:"h-full of-auto p2"},He={class:"p5"},Ke={class:"font-mono mb4 font-bold text-3xl"},Xe={key:0,class:"mb3"},Ye=["href"],Ze={key:0,class:"font-mono bg-red-900 text-red-100 p2"},et=L({__name:"DocumentDetail",props:{id:{},timestamp:{},source:{},name:{},identifier:{},filePath:{},serverApiPrefix:{}},setup(o){const e=o,t=O(()=>[]),n=O(()=>e.identifier!=="fragment"?`${e.serverApiPrefix}/${e.identifier}/${e.name}`:null);return(s,i)=>{const r=ge,c=Be,l=qe;return g(),w("div",Ge,[v("div",He,[v("h2",Ke,V(s.name),1),x(n)?(g(),w("div",Xe,[s.identifier==="query"?(g(),P(r,{key:0,green:"",text:"GET"})):(g(),P(r,{key:1,orange:"",text:"POST"})),v("a",{class:"n-transition n-link n-link-base hover:n-link-hover ml2",target:"_blank",href:x(n)},V(x(n)),9,Ye)])):F("",!0)]),N(l,{text:"Document",description:s.filePath,padding:"px4"},{default:Y(()=>[N(c,{code:s.source,lang:"graphql"},null,8,["code"])]),_:1},8,["description"]),N(l,{text:"Errors",description:x(t).length+" errors",padding:"px4"},{default:Y(()=>[x(t).length?(g(),w("div",Ze,[(g(!0),w(B,null,ne(x(t),(d,u)=>(g(),w("div",{key:u},V(d),1))),128))])):F("",!0)]),_:1},8,["description"])])}}}),tt="ENTRIES",we="KEYS",ye="VALUES",y="";class q{constructor(e,t){const n=e._tree,s=Array.from(n.keys());this.set=e,this._type=t,this._path=s.length>0?[{node:n,keys:s}]:[]}next(){const e=this.dive();return this.backtrack(),e}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:e,keys:t}=D(this._path);if(D(t)===y)return{done:!1,value:this.result()};const n=e.get(D(t));return this._path.push({node:n,keys:Array.from(n.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=D(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>D(e)).filter(e=>e!==y).join("")}value(){return D(this._path).node.get(y)}result(){switch(this._type){case ye:return this.value();case we:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const D=o=>o[o.length-1],nt=(o,e,t)=>{const n=new Map;if(e===void 0)return n;const s=e.length+1,i=s+t,r=new Uint8Array(i*s).fill(t+1);for(let c=0;c<s;++c)r[c]=c;for(let c=1;c<i;++c)r[c*s]=c;return xe(o,e,t,n,r,1,s,""),n},xe=(o,e,t,n,s,i,r,c)=>{const l=i*r;e:for(const d of o.keys())if(d===y){const u=s[l-1];u<=t&&n.set(c,[o.get(d),u])}else{let u=i;for(let a=0;a<d.length;++a,++u){const h=d[a],m=r*u,p=m-r;let f=s[m];const _=Math.max(0,u-t-1),k=Math.min(r-1,u+t);for(let b=_;b<k;++b){const S=h!==e[b],$=s[p+b]+ +S,I=s[p+b+1]+1,C=s[m+b]+1,R=s[m+b+1]=Math.min($,I,C);R<f&&(f=R)}if(f>t)continue e}xe(o.get(d),e,t,n,s,u,r,c+d)}};class M{constructor(e=new Map,t=""){this._size=void 0,this._tree=e,this._prefix=t}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");const[t,n]=Q(this._tree,e.slice(this._prefix.length));if(t===void 0){const[s,i]=se(n);for(const r of s.keys())if(r!==y&&r.startsWith(i)){const c=new Map;return c.set(r.slice(i.length),s.get(r)),new M(c,e)}}return new M(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,st(this._tree,e)}entries(){return new q(this,tt)}forEach(e){for(const[t,n]of this)e(t,n,this)}fuzzyGet(e,t){return nt(this._tree,e,t)}get(e){const t=Z(this._tree,e);return t!==void 0?t.get(y):void 0}has(e){const t=Z(this._tree,e);return t!==void 0&&t.has(y)}keys(){return new q(this,we)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,G(this._tree,e).set(y,t),this}get size(){if(this._size)return this._size;this._size=0;const e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const n=G(this._tree,e);return n.set(y,t(n.get(y))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const n=G(this._tree,e);let s=n.get(y);return s===void 0&&n.set(y,s=t()),s}values(){return new q(this,ye)}[Symbol.iterator](){return this.entries()}static from(e){const t=new M;for(const[n,s]of e)t.set(n,s);return t}static fromObject(e){return M.from(Object.entries(e))}}const Q=(o,e,t=[])=>{if(e.length===0||o==null)return[o,t];for(const n of o.keys())if(n!==y&&e.startsWith(n))return t.push([o,n]),Q(o.get(n),e.slice(n.length),t);return t.push([o,e]),Q(void 0,"",t)},Z=(o,e)=>{if(e.length===0||o==null)return o;for(const t of o.keys())if(t!==y&&e.startsWith(t))return Z(o.get(t),e.slice(t.length))},G=(o,e)=>{const t=e.length;e:for(let n=0;o&&n<t;){for(const i of o.keys())if(i!==y&&e[n]===i[0]){const r=Math.min(t-n,i.length);let c=1;for(;c<r&&e[n+c]===i[c];)++c;const l=o.get(i);if(c===i.length)o=l;else{const d=new Map;d.set(i.slice(c),l),o.set(e.slice(n,n+c),d),o.delete(i),o=d}n+=c;continue e}const s=new Map;return o.set(e.slice(n),s),s}return o},st=(o,e)=>{const[t,n]=Q(o,e);if(t!==void 0){if(t.delete(y),t.size===0)be(n);else if(t.size===1){const[s,i]=t.entries().next().value;Se(n,s,i)}}},be=o=>{if(o.length===0)return;const[e,t]=se(o);if(e.delete(t),e.size===0)be(o.slice(0,-1));else if(e.size===1){const[n,s]=e.entries().next().value;n!==y&&Se(o.slice(0,-1),n,s)}},Se=(o,e,t)=>{if(o.length===0)return;const[n,s]=se(o);n.set(s+e,t),n.delete(s)},se=o=>o[o.length-1],oe="or",ke="and",ot="and_not";class A{constructor(e){if((e==null?void 0:e.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');const t=e.autoVacuum==null||e.autoVacuum===!0?X:e.autoVacuum;this._options={...K,...e,autoVacuum:t,searchOptions:{...ce,...e.searchOptions||{}},autoSuggestOptions:{...dt,...e.autoSuggestOptions||{}}},this._index=new M,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=te,this.addFields(this._options.fields)}add(e){const{extractField:t,tokenize:n,processTerm:s,fields:i,idField:r}=this._options,c=t(e,r);if(c==null)throw new Error(`MiniSearch: document does not have ID field "${r}"`);if(this._idToShortId.has(c))throw new Error(`MiniSearch: duplicate ID ${c}`);const l=this.addDocumentId(c);this.saveStoredFields(l,e);for(const d of i){const u=t(e,d);if(u==null)continue;const a=n(u.toString(),d),h=this._fieldIds[d],m=new Set(a).size;this.addFieldLength(l,h,this._documentCount-1,m);for(const p of a){const f=s(p,d);if(Array.isArray(f))for(const _ of f)this.addTerm(h,l,_);else f&&this.addTerm(h,l,f)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:n=10}=t,s={chunk:[],promise:Promise.resolve()},{chunk:i,promise:r}=e.reduce(({chunk:c,promise:l},d,u)=>(c.push(d),(u+1)%n===0?{chunk:[],promise:l.then(()=>new Promise(a=>setTimeout(a,0))).then(()=>this.addAll(c))}:{chunk:c,promise:l}),s);return r.then(()=>this.addAll(i))}remove(e){const{tokenize:t,processTerm:n,extractField:s,fields:i,idField:r}=this._options,c=s(e,r);if(c==null)throw new Error(`MiniSearch: document does not have ID field "${r}"`);const l=this._idToShortId.get(c);if(l==null)throw new Error(`MiniSearch: cannot remove document with ID ${c}: it is not in the index`);for(const d of i){const u=s(e,d);if(u==null)continue;const a=t(u.toString(),d),h=this._fieldIds[d],m=new Set(a).size;this.removeFieldLength(l,h,this._documentCount,m);for(const p of a){const f=n(p,d);if(Array.isArray(f))for(const _ of f)this.removeTerm(h,l,_);else f&&this.removeTerm(h,l,f)}}this._storedFields.delete(l),this._documentIds.delete(l),this._idToShortId.delete(c),this._fieldLength.delete(l),this._documentCount-=1}removeAll(e){if(e)for(const t of e)this.remove(t);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new M,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){const t=this._idToShortId.get(e);if(t==null)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(t),this._storedFields.delete(t),(this._fieldLength.get(t)||[]).forEach((n,s)=>{this.removeFieldLength(t,s,this._documentCount,n)}),this._fieldLength.delete(t),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:e,minDirtCount:t,batchSize:n,batchWait:s}=this._options.autoVacuum;this.conditionalVacuum({batchSize:n,batchWait:s},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const n of e)this.discard(n)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:n}=this._options,s=n(e,t);this.discard(s),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,t){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const n=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=te,this.performVacuuming(e,n)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}async performVacuuming(e,t){const n=this._dirtCount;if(this.vacuumConditionsMet(t)){const s=e.batchSize||ee.batchSize,i=e.batchWait||ee.batchWait;let r=1;for(const[c,l]of this._index){for(const[d,u]of l)for(const[a]of u)this._documentIds.has(a)||(u.size<=1?l.delete(d):u.delete(a));this._index.get(c).size===0&&this._index.delete(c),r%s===0&&await new Promise(d=>setTimeout(d,i)),r+=1}this._dirtCount-=n}await null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:t,minDirtFactor:n}=e;return t=t||X.minDirtCount,n=n||X.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=n}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){const t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)}search(e,t={}){const{searchOptions:n}=this._options,s={...n,...t},i=this.executeQuery(e,t),r=[];for(const[c,{score:l,terms:d,match:u}]of i){const a=d.length||1,h={id:this._documentIds.get(c),score:l*a,terms:Object.keys(u),queryTerms:d,match:u};Object.assign(h,this._storedFields.get(c)),(s.filter==null||s.filter(h))&&r.push(h)}return e===A.wildcard&&s.boostDocument==null||r.sort(de),r}autoSuggest(e,t={}){t={...this._options.autoSuggestOptions,...t};const n=new Map;for(const{score:i,terms:r}of this.search(e,t)){const c=r.join(" "),l=n.get(c);l!=null?(l.score+=i,l.count+=1):n.set(c,{score:i,terms:r,count:1})}const s=[];for(const[i,{score:r,terms:c,count:l}]of n)s.push({suggestion:i,terms:c,score:r/l});return s.sort(de),s}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(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)}static async loadJSONAsync(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),t)}static getDefault(e){if(K.hasOwnProperty(e))return H(K,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:n,documentIds:s,fieldLength:i,storedFields:r,serializationVersion:c}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=U(s),l._fieldLength=U(i),l._storedFields=U(r);for(const[d,u]of l._documentIds)l._idToShortId.set(u,d);for(const[d,u]of n){const a=new Map;for(const h of Object.keys(u)){let m=u[h];c===1&&(m=m.ds),a.set(parseInt(h,10),U(m))}l._index.set(d,a)}return l}static async loadJSAsync(e,t){const{index:n,documentIds:s,fieldLength:i,storedFields:r,serializationVersion:c}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=await J(s),l._fieldLength=await J(i),l._storedFields=await J(r);for(const[u,a]of l._documentIds)l._idToShortId.set(a,u);let d=0;for(const[u,a]of n){const h=new Map;for(const m of Object.keys(a)){let p=a[m];c===1&&(p=p.ds),h.set(parseInt(m,10),await J(p))}++d%1e3===0&&await Ce(0),l._index.set(u,h)}return l}static instantiateMiniSearch(e,t){const{documentCount:n,nextId:s,fieldIds:i,averageFieldLength:r,dirtCount:c,serializationVersion:l}=e;if(l!==1&&l!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const d=new A(t);return d._documentCount=n,d._nextId=s,d._idToShortId=new Map,d._fieldIds=i,d._avgFieldLength=r,d._dirtCount=c||0,d._index=new M,d}executeQuery(e,t={}){if(e===A.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const h={...t,...e,queries:void 0},m=e.queries.map(p=>this.executeQuery(p,h));return this.combineResults(m,h.combineWith)}const{tokenize:n,processTerm:s,searchOptions:i}=this._options,r={tokenize:n,processTerm:s,...i,...t},{tokenize:c,processTerm:l}=r,a=c(e).flatMap(h=>l(h)).filter(h=>!!h).map(lt(r)).map(h=>this.executeQuerySpec(h,r));return this.combineResults(a,r.combineWith)}executeQuerySpec(e,t){const n={...this._options.searchOptions,...t},s=(n.fields||this._options.fields).reduce((f,_)=>({...f,[_]:H(n.boost,_)||1}),{}),{boostDocument:i,weights:r,maxFuzzy:c,bm25:l}=n,{fuzzy:d,prefix:u}={...ce.weights,...r},a=this._index.get(e.term),h=this.termResults(e.term,e.term,1,e.termBoost,a,s,i,l);let m,p;if(e.prefix&&(m=this._index.atPrefix(e.term)),e.fuzzy){const f=e.fuzzy===!0?.2:e.fuzzy,_=f<1?Math.min(c,Math.round(e.term.length*f)):f;_&&(p=this._index.fuzzyGet(e.term,_))}if(m)for(const[f,_]of m){const k=f.length-e.term.length;if(!k)continue;p==null||p.delete(f);const b=u*f.length/(f.length+.3*k);this.termResults(e.term,f,b,e.termBoost,_,s,i,l,h)}if(p)for(const f of p.keys()){const[_,k]=p.get(f);if(!k)continue;const b=d*f.length/(f.length+k);this.termResults(e.term,f,b,e.termBoost,_,s,i,l,h)}return h}executeWildcardQuery(e){const t=new Map,n={...this._options.searchOptions,...e};for(const[s,i]of this._documentIds){const r=n.boostDocument?n.boostDocument(i,"",this._storedFields.get(s)):1;t.set(s,{score:r,terms:[],match:{}})}return t}combineResults(e,t=oe){if(e.length===0)return new Map;const n=t.toLowerCase(),s=it[n];if(!s)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(s)||new Map}toJSON(){const e=[];for(const[t,n]of this._index){const s={};for(const[i,r]of n)s[i]=Object.fromEntries(r);e.push([t,s])}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:e,serializationVersion:2}}termResults(e,t,n,s,i,r,c,l,d=new Map){if(i==null)return d;for(const u of Object.keys(r)){const a=r[u],h=this._fieldIds[u],m=i.get(h);if(m==null)continue;let p=m.size;const f=this._avgFieldLength[h];for(const _ of m.keys()){if(!this._documentIds.has(_)){this.removeTerm(h,_,t),p-=1;continue}const k=c?c(this._documentIds.get(_),t,this._storedFields.get(_)):1;if(!k)continue;const b=m.get(_),S=this._fieldLength.get(_)[h],$=ct(b,p,this._documentCount,S,f,l),I=n*s*a*k*$,C=d.get(_);if(C){C.score+=I,ut(C.terms,e);const R=H(C.match,t);R?R.push(u):C.match[t]=[u]}else d.set(_,{score:I,terms:[e],match:{[t]:[u]}})}}return d}addTerm(e,t,n){const s=this._index.fetch(n,ue);let i=s.get(e);if(i==null)i=new Map,i.set(t,1),s.set(e,i);else{const r=i.get(t);i.set(t,(r||0)+1)}}removeTerm(e,t,n){if(!this._index.has(n)){this.warnDocumentChanged(t,e,n);return}const s=this._index.fetch(n,ue),i=s.get(e);i==null||i.get(t)==null?this.warnDocumentChanged(t,e,n):i.get(t)<=1?i.size<=1?s.delete(e):i.delete(t):i.set(t,i.get(t)-1),this._index.get(n).size===0&&this._index.delete(n)}warnDocumentChanged(e,t,n){for(const s of Object.keys(this._fieldIds))if(this._fieldIds[s]===t){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${n}" was not present in field "${s}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(e){const t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t}addFields(e){for(let t=0;t<e.length;t++)this._fieldIds[e[t]]=t}addFieldLength(e,t,n,s){let i=this._fieldLength.get(e);i==null&&this._fieldLength.set(e,i=[]),i[t]=s;const c=(this._avgFieldLength[t]||0)*n+s;this._avgFieldLength[t]=c/(n+1)}removeFieldLength(e,t,n,s){if(n===1){this._avgFieldLength[t]=0;return}const i=this._avgFieldLength[t]*n-s;this._avgFieldLength[t]=i/(n-1)}saveStoredFields(e,t){const{storeFields:n,extractField:s}=this._options;if(n==null||n.length===0)return;let i=this._storedFields.get(e);i==null&&this._storedFields.set(e,i={});for(const r of n){const c=s(t,r);c!==void 0&&(i[r]=c)}}}A.wildcard=Symbol("*");const H=(o,e)=>Object.prototype.hasOwnProperty.call(o,e)?o[e]:void 0,it={[oe]:(o,e)=>{for(const t of e.keys()){const n=o.get(t);if(n==null)o.set(t,e.get(t));else{const{score:s,terms:i,match:r}=e.get(t);n.score=n.score+s,n.match=Object.assign(n.match,r),le(n.terms,i)}}return o},[ke]:(o,e)=>{const t=new Map;for(const n of e.keys()){const s=o.get(n);if(s==null)continue;const{score:i,terms:r,match:c}=e.get(n);le(s.terms,r),t.set(n,{score:s.score+i,terms:s.terms,match:Object.assign(s.match,c)})}return t},[ot]:(o,e)=>{for(const t of e.keys())o.delete(t);return o}},rt={k:1.2,b:.7,d:.5},ct=(o,e,t,n,s,i)=>{const{k:r,b:c,d:l}=i;return Math.log(1+(t-e+.5)/(e+.5))*(l+o*(r+1)/(o+r*(1-c+c*n/s)))},lt=o=>(e,t,n)=>{const s=typeof o.fuzzy=="function"?o.fuzzy(e,t,n):o.fuzzy||!1,i=typeof o.prefix=="function"?o.prefix(e,t,n):o.prefix===!0,r=typeof o.boostTerm=="function"?o.boostTerm(e,t,n):1;return{term:e,fuzzy:s,prefix:i,termBoost:r}},K={idField:"id",extractField:(o,e)=>o[e],tokenize:o=>o.split(at),processTerm:o=>o.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(o,e)=>{typeof(console==null?void 0:console[o])=="function"&&console[o](e)},autoVacuum:!0},ce={combineWith:oe,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:rt},dt={combineWith:ke,prefix:(o,e,t)=>e===t.length-1},ee={batchSize:1e3,batchWait:10},te={minDirtFactor:.1,minDirtCount:20},X={...ee,...te},ut=(o,e)=>{o.includes(e)||o.push(e)},le=(o,e)=>{for(const t of e)o.includes(t)||o.push(t)},de=({score:o},{score:e})=>e-o,ue=()=>new Map,U=o=>{const e=new Map;for(const t of Object.keys(o))e.set(parseInt(t,10),o[t]);return e},J=async o=>{const e=new Map;let t=0;for(const n of Object.keys(o))e.set(parseInt(n,10),o[n]),++t%1e3===0&&await Ce(0);return e},Ce=o=>new Promise(e=>setTimeout(e,o)),at=/[\n\r\p{Z}\p{P}]+/u,ht={class:"relative",style:{height:"100vh"}},ft={class:"flex h-full"},mt={class:"h-full border-r border-r-gray-800 of-auto","h-full":"",style:{width:"22rem","min-width":"0",flex:"0 0 auto"}},pt={flex:"~ col gap2",border:"b base",class:"border-b-gray-800 p3 flex-1"},_t=["onClick"],gt={style:{width:"6rem"},class:"text-left"},vt=["onClick"],wt={key:0,class:"h-full relative w-full of-auto"},yt="nuxt-graphql-middleware",bt=L({__name:"index",setup(o){const e=new A({fields:["id","source","name","filePath","identifier"],storeFields:["id","source","name","identifier","filePath"],searchOptions:{fuzzy:.7}}),t=W(""),n=W([]),s=W(""),i=W(""),r=O(()=>{if(t.value)return n.value.find(u=>u.id===t.value)});async function c(u){e.removeAll(),n.value=u,e.addAll(u)}ve(async u=>{const a=u.devtools.extendClientRpc(yt,{showNotification(){},documentsUpdated(p){c(p)}}),h=await a.getDocuments();c(h);const m=await a.getModuleOptions();i.value=m.serverApiPrefix});function l(u){const a=document.createElement("textarea");a.value=u.source,a.style.top="0",a.style.left="0",a.style.position="fixed",document.body.appendChild(a),a.focus(),a.select();try{const h=document.execCommand("copy")}catch{}document.body.removeChild(a)}const d=O(()=>s.value?e.search(s.value):n.value);return(u,a)=>{const h=Ee,m=ge,p=et;return g(),w("div",ht,[v("div",ft,[v("div",mt,[v("div",pt,[N(h,{modelValue:x(s),"onUpdate:modelValue":a[0]||(a[0]=f=>me(s)?s.value=f:null),placeholder:"Search documents...",icon:"carbon-search",class:"w-full"},null,8,["modelValue"])]),(g(!0),w(B,null,ne(x(d),f=>(g(),w("div",{key:f.id,class:"relative group"},[v("button",{class:"text-secondary hover:n-bg-hover flex select-none truncate px2 py2 font-mono text-sm w-full",onClick:_=>t.value=f.id},[v("div",gt,[f.identifier==="query"?(g(),P(m,{key:0,green:"",text:"Query"})):f.identifier==="mutation"?(g(),P(m,{key:1,orange:"",text:"Mutation"})):F("",!0)]),v("div",null,V(f.name),1)],8,_t),v("button",{class:"absolute right-0 top-0 text-sm h-full flex items-center opacity-0 group-hover:opacity-100 pr2",onClick:_=>l(f)},a[1]||(a[1]=[v("span",null,"Copy",-1)]),8,vt)]))),128))]),a[2]||(a[2]=v("div",{class:"splitpanes__splitter"},null,-1)),x(r)?(g(),w("div",wt,[N(p,fe(x(r),{"server-api-prefix":x(i)}),null,16,["server-api-prefix"])])):F("",!0)])])}}});export{bt as default};
|
|
1
|
+
import{d as L,t as w,v as g,H as z,I as Ie,r as W,J as ie,j as O,K as ae,L as T,M as he,N as ze,O as x,x as v,P as fe,Q as me,R as P,S as F,y as V,T as Fe,U as Ve,V as B,W as ne,z as N,A as Y,B as re,X as Te,_ as Me}from"./D5hBL5aZ.js";const pe=L({__name:"NIcon",props:{icon:{}},setup(o){return(e,t)=>(g(),w("div",{class:z(["n-icon",e.icon])},null,2))}});typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Oe=o=>typeof o<"u";function Le(o){return JSON.parse(JSON.stringify(o))}function _e(o,e,t,n={}){var s,i,r;const{clone:c=!1,passive:l=!1,eventName:d,deep:u=!1,defaultValue:a,shouldEmit:f}=n,m=Ie(),p=t||(m==null?void 0:m.emit)||((s=m==null?void 0:m.$emit)==null?void 0:s.bind(m))||((r=(i=m==null?void 0:m.proxy)==null?void 0:i.$emit)==null?void 0:r.bind(m==null?void 0:m.proxy));let h=d;e||(e="modelValue"),h=h||`update:${e.toString()}`;const _=S=>c?typeof c=="function"?c(S):Le(S):S,k=()=>Oe(o[e])?_(o[e]):a,b=S=>{f?f(S)&&p(h,S):p(h,S)};if(l){const S=k(),$=W(S);let I=!1;return ie(()=>o[e],C=>{I||(I=!0,$.value=_(C),ae(()=>I=!1))}),ie($,C=>{!I&&(C!==o[e]||u)&&b(C)},{deep:u}),$}else return O({get(){return k()},set(S){b(S)}})}const $e={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"},Ee=L({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},autofocus:{type:Boolean},autocomplete:{},readonly:{type:Boolean},type:{default:"text"}},emits:["keydown","keyup","change"],setup(o,{emit:e}){const s=_e(o,"modelValue",e,{passive:!0});return(i,r)=>{const c=pe;return g(),w("div",$e,[T(i.$slots,"icon",{},()=>[i.icon?(g(),P(c,{key:0,icon:i.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):F("",!0)]),he(v("input",fe({"onUpdate:modelValue":r[0]||(r[0]=l=>me(s)?s.value=l:null)},i.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[ze,x(s)]])])}}}),ge=L({__name:"Tag",props:{green:{type:Boolean},orange:{type:Boolean},text:{}},setup(o){const e=o,t=O(()=>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(n,s)=>(g(),w("span",{class:z(["mx-0.5 select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs inline-block",x(t)])},V(n.text),3))}});let E;const j=[];function ve(o){if(j.push(o),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&j.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&j.forEach(t=>t(e))},get(){return E.value},configurable:!0}),()=>{j.splice(j.indexOf(o),1)}}function De(){E||(E=Fe(),ve(e));function o(){E&&Ve(E)}function e(t){E.value=t,t.host&&t.host.hooks.hook("host:update:reactivity",o)}return E}const Ne=De(),Ae=["innerHTML"],Pe=["textContent"],Be=L({__name:"NCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},inline:{type:Boolean},grammarContextCode:{},transformRendered:{}},emits:["loaded"],setup(o,{emit:e}){const t=o,n=e,s=O(()=>{var c;const r=t.lang==="text"?{code:t.code,supported:!1}:((c=Ne.value)==null?void 0:c.devtools.renderCodeHighlight(t.code,t.lang,{grammarContextCode:t.grammarContextCode}))||{code:t.code,supported:!1};return r.supported&&t.transformRendered&&(r.code=t.transformRendered(r.code)),r.supported&&ae(()=>n("loaded")),r}),i=O(()=>["n-code-block shiki",t.lines&&!t.inline?"n-code-block-lines":""]);return(r,c)=>r.lang&&s.value.supported?(g(),w("pre",{key:0,class:z(i.value)},[v("code",{innerHTML:s.value.code},null,8,Ae)],2)):(g(),w("pre",{key:1,class:z(i.value)},[v("code",null,[(g(!0),w(B,null,ne(r.code.split(`
|
|
2
|
+
`),(l,d)=>(g(),w(B,{key:d},[v("span",{class:"line",textContent:V(l)},null,8,Pe),c[0]||(c[0]=v("br",null,null,-1))],64))),128))])],2))}}),Re={flex:"~ gap-3","items-center":""},je=L({__name:"NIconTitle",props:{icon:{},text:{}},setup(o){return(e,t)=>(g(),w("div",Re,[e.icon?(g(),w("div",{key:0,class:z(e.icon)},null,2)):F("",!0),T(e.$slots,"default",{},()=>[v("div",null,V(e.text),1)])]))}}),We=["open"],Ue={"text-base":""},Je={key:0,"text-sm":"",op50:""},Qe=L({__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(o){const t=_e(o,"open",void 0,{passive:!0});function n(s){t.value=s.target.open}return(s,i)=>{const r=pe,c=je;return g(),w(B,null,[v("details",{open:x(t),onToggle:i[0]||(i[0]=(...l)=>n&&n(...l))},[v("summary",{class:z(["cursor-pointer select-none hover:bg-active p4",s.collapse?"":"pointer-events-none"])},[N(c,{icon:s.icon,text:s.text,"text-xl":"",transition:"",class:z([x(t)?"op100":"op60",s.headerClass])},{default:Y(()=>[v("div",null,[v("div",Ue,[T(s.$slots,"text",{},()=>[re(V(s.text),1)],!0)]),s.description||s.$slots.description?(g(),w("div",Je,[T(s.$slots,"description",{},()=>[re(V(s.description),1)],!0)])):F("",!0)]),i[1]||(i[1]=v("div",{class:"flex-auto"},null,-1)),T(s.$slots,"actions",{},void 0,!0),s.collapse?(g(),P(r,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):F("",!0)]),_:3},8,["icon","text","class"])],2),i._lazyshow1||x(t)?(i._lazyshow1=!0,g(),w(B,null,[he(v("div",{class:z(["flex flex-col flex-gap2 pb6 pt2",typeof s.padding=="string"?s.padding:s.padding?"px4":""])},[T(s.$slots,"details",{},void 0,!0),v("div",{class:z([s.containerClass,"mt1"])},[T(s.$slots,"default",{},void 0,!0)],2),T(s.$slots,"footer",{},void 0,!0)],2),[[Te,x(t)]])],64)):F("v-show-if",!0)],40,We),i[2]||(i[2]=v("div",{class:"x-divider"},null,-1))],64)}}}),qe=Me(Qe,[["__scopeId","data-v-f3591bcd"]]),Ge={class:"h-full of-auto p2"},He={class:"p5"},Ke={class:"font-mono mb4 font-bold text-3xl"},Xe={key:0,class:"mb3"},Ye=["href"],Ze={key:0,class:"font-mono bg-red-900 text-red-100 p2"},et=L({__name:"DocumentDetail",props:{id:{},timestamp:{},source:{},name:{},identifier:{},filePath:{},serverApiPrefix:{}},setup(o){const e=o,t=O(()=>[]),n=O(()=>e.identifier!=="fragment"?`${e.serverApiPrefix}/${e.identifier}/${e.name}`:null);return(s,i)=>{const r=ge,c=Be,l=qe;return g(),w("div",Ge,[v("div",He,[v("h2",Ke,V(s.name),1),x(n)?(g(),w("div",Xe,[s.identifier==="query"?(g(),P(r,{key:0,green:"",text:"GET"})):(g(),P(r,{key:1,orange:"",text:"POST"})),v("a",{class:"n-transition n-link n-link-base hover:n-link-hover ml2",target:"_blank",href:x(n)},V(x(n)),9,Ye)])):F("",!0)]),N(l,{text:"Document",description:s.filePath,padding:"px4"},{default:Y(()=>[N(c,{code:s.source,lang:"graphql"},null,8,["code"])]),_:1},8,["description"]),N(l,{text:"Errors",description:x(t).length+" errors",padding:"px4"},{default:Y(()=>[x(t).length?(g(),w("div",Ze,[(g(!0),w(B,null,ne(x(t),(d,u)=>(g(),w("div",{key:u},V(d),1))),128))])):F("",!0)]),_:1},8,["description"])])}}}),tt="ENTRIES",we="KEYS",ye="VALUES",y="";class q{constructor(e,t){const n=e._tree,s=Array.from(n.keys());this.set=e,this._type=t,this._path=s.length>0?[{node:n,keys:s}]:[]}next(){const e=this.dive();return this.backtrack(),e}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:e,keys:t}=D(this._path);if(D(t)===y)return{done:!1,value:this.result()};const n=e.get(D(t));return this._path.push({node:n,keys:Array.from(n.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=D(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>D(e)).filter(e=>e!==y).join("")}value(){return D(this._path).node.get(y)}result(){switch(this._type){case ye:return this.value();case we:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const D=o=>o[o.length-1],nt=(o,e,t)=>{const n=new Map;if(e===void 0)return n;const s=e.length+1,i=s+t,r=new Uint8Array(i*s).fill(t+1);for(let c=0;c<s;++c)r[c]=c;for(let c=1;c<i;++c)r[c*s]=c;return xe(o,e,t,n,r,1,s,""),n},xe=(o,e,t,n,s,i,r,c)=>{const l=i*r;e:for(const d of o.keys())if(d===y){const u=s[l-1];u<=t&&n.set(c,[o.get(d),u])}else{let u=i;for(let a=0;a<d.length;++a,++u){const f=d[a],m=r*u,p=m-r;let h=s[m];const _=Math.max(0,u-t-1),k=Math.min(r-1,u+t);for(let b=_;b<k;++b){const S=f!==e[b],$=s[p+b]+ +S,I=s[p+b+1]+1,C=s[m+b]+1,R=s[m+b+1]=Math.min($,I,C);R<h&&(h=R)}if(h>t)continue e}xe(o.get(d),e,t,n,s,u,r,c+d)}};class M{constructor(e=new Map,t=""){this._size=void 0,this._tree=e,this._prefix=t}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");const[t,n]=Q(this._tree,e.slice(this._prefix.length));if(t===void 0){const[s,i]=se(n);for(const r of s.keys())if(r!==y&&r.startsWith(i)){const c=new Map;return c.set(r.slice(i.length),s.get(r)),new M(c,e)}}return new M(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,st(this._tree,e)}entries(){return new q(this,tt)}forEach(e){for(const[t,n]of this)e(t,n,this)}fuzzyGet(e,t){return nt(this._tree,e,t)}get(e){const t=Z(this._tree,e);return t!==void 0?t.get(y):void 0}has(e){const t=Z(this._tree,e);return t!==void 0&&t.has(y)}keys(){return new q(this,we)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,G(this._tree,e).set(y,t),this}get size(){if(this._size)return this._size;this._size=0;const e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const n=G(this._tree,e);return n.set(y,t(n.get(y))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const n=G(this._tree,e);let s=n.get(y);return s===void 0&&n.set(y,s=t()),s}values(){return new q(this,ye)}[Symbol.iterator](){return this.entries()}static from(e){const t=new M;for(const[n,s]of e)t.set(n,s);return t}static fromObject(e){return M.from(Object.entries(e))}}const Q=(o,e,t=[])=>{if(e.length===0||o==null)return[o,t];for(const n of o.keys())if(n!==y&&e.startsWith(n))return t.push([o,n]),Q(o.get(n),e.slice(n.length),t);return t.push([o,e]),Q(void 0,"",t)},Z=(o,e)=>{if(e.length===0||o==null)return o;for(const t of o.keys())if(t!==y&&e.startsWith(t))return Z(o.get(t),e.slice(t.length))},G=(o,e)=>{const t=e.length;e:for(let n=0;o&&n<t;){for(const i of o.keys())if(i!==y&&e[n]===i[0]){const r=Math.min(t-n,i.length);let c=1;for(;c<r&&e[n+c]===i[c];)++c;const l=o.get(i);if(c===i.length)o=l;else{const d=new Map;d.set(i.slice(c),l),o.set(e.slice(n,n+c),d),o.delete(i),o=d}n+=c;continue e}const s=new Map;return o.set(e.slice(n),s),s}return o},st=(o,e)=>{const[t,n]=Q(o,e);if(t!==void 0){if(t.delete(y),t.size===0)be(n);else if(t.size===1){const[s,i]=t.entries().next().value;Se(n,s,i)}}},be=o=>{if(o.length===0)return;const[e,t]=se(o);if(e.delete(t),e.size===0)be(o.slice(0,-1));else if(e.size===1){const[n,s]=e.entries().next().value;n!==y&&Se(o.slice(0,-1),n,s)}},Se=(o,e,t)=>{if(o.length===0)return;const[n,s]=se(o);n.set(s+e,t),n.delete(s)},se=o=>o[o.length-1],oe="or",ke="and",ot="and_not";class A{constructor(e){if((e==null?void 0:e.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');const t=e.autoVacuum==null||e.autoVacuum===!0?X:e.autoVacuum;this._options={...K,...e,autoVacuum:t,searchOptions:{...ce,...e.searchOptions||{}},autoSuggestOptions:{...dt,...e.autoSuggestOptions||{}}},this._index=new M,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=te,this.addFields(this._options.fields)}add(e){const{extractField:t,tokenize:n,processTerm:s,fields:i,idField:r}=this._options,c=t(e,r);if(c==null)throw new Error(`MiniSearch: document does not have ID field "${r}"`);if(this._idToShortId.has(c))throw new Error(`MiniSearch: duplicate ID ${c}`);const l=this.addDocumentId(c);this.saveStoredFields(l,e);for(const d of i){const u=t(e,d);if(u==null)continue;const a=n(u.toString(),d),f=this._fieldIds[d],m=new Set(a).size;this.addFieldLength(l,f,this._documentCount-1,m);for(const p of a){const h=s(p,d);if(Array.isArray(h))for(const _ of h)this.addTerm(f,l,_);else h&&this.addTerm(f,l,h)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:n=10}=t,s={chunk:[],promise:Promise.resolve()},{chunk:i,promise:r}=e.reduce(({chunk:c,promise:l},d,u)=>(c.push(d),(u+1)%n===0?{chunk:[],promise:l.then(()=>new Promise(a=>setTimeout(a,0))).then(()=>this.addAll(c))}:{chunk:c,promise:l}),s);return r.then(()=>this.addAll(i))}remove(e){const{tokenize:t,processTerm:n,extractField:s,fields:i,idField:r}=this._options,c=s(e,r);if(c==null)throw new Error(`MiniSearch: document does not have ID field "${r}"`);const l=this._idToShortId.get(c);if(l==null)throw new Error(`MiniSearch: cannot remove document with ID ${c}: it is not in the index`);for(const d of i){const u=s(e,d);if(u==null)continue;const a=t(u.toString(),d),f=this._fieldIds[d],m=new Set(a).size;this.removeFieldLength(l,f,this._documentCount,m);for(const p of a){const h=n(p,d);if(Array.isArray(h))for(const _ of h)this.removeTerm(f,l,_);else h&&this.removeTerm(f,l,h)}}this._storedFields.delete(l),this._documentIds.delete(l),this._idToShortId.delete(c),this._fieldLength.delete(l),this._documentCount-=1}removeAll(e){if(e)for(const t of e)this.remove(t);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new M,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){const t=this._idToShortId.get(e);if(t==null)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(t),this._storedFields.delete(t),(this._fieldLength.get(t)||[]).forEach((n,s)=>{this.removeFieldLength(t,s,this._documentCount,n)}),this._fieldLength.delete(t),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:e,minDirtCount:t,batchSize:n,batchWait:s}=this._options.autoVacuum;this.conditionalVacuum({batchSize:n,batchWait:s},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const n of e)this.discard(n)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:n}=this._options,s=n(e,t);this.discard(s),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,t){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const n=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=te,this.performVacuuming(e,n)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}async performVacuuming(e,t){const n=this._dirtCount;if(this.vacuumConditionsMet(t)){const s=e.batchSize||ee.batchSize,i=e.batchWait||ee.batchWait;let r=1;for(const[c,l]of this._index){for(const[d,u]of l)for(const[a]of u)this._documentIds.has(a)||(u.size<=1?l.delete(d):u.delete(a));this._index.get(c).size===0&&this._index.delete(c),r%s===0&&await new Promise(d=>setTimeout(d,i)),r+=1}this._dirtCount-=n}await null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:t,minDirtFactor:n}=e;return t=t||X.minDirtCount,n=n||X.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=n}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){const t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)}search(e,t={}){const{searchOptions:n}=this._options,s={...n,...t},i=this.executeQuery(e,t),r=[];for(const[c,{score:l,terms:d,match:u}]of i){const a=d.length||1,f={id:this._documentIds.get(c),score:l*a,terms:Object.keys(u),queryTerms:d,match:u};Object.assign(f,this._storedFields.get(c)),(s.filter==null||s.filter(f))&&r.push(f)}return e===A.wildcard&&s.boostDocument==null||r.sort(de),r}autoSuggest(e,t={}){t={...this._options.autoSuggestOptions,...t};const n=new Map;for(const{score:i,terms:r}of this.search(e,t)){const c=r.join(" "),l=n.get(c);l!=null?(l.score+=i,l.count+=1):n.set(c,{score:i,terms:r,count:1})}const s=[];for(const[i,{score:r,terms:c,count:l}]of n)s.push({suggestion:i,terms:c,score:r/l});return s.sort(de),s}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(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)}static async loadJSONAsync(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),t)}static getDefault(e){if(K.hasOwnProperty(e))return H(K,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:n,documentIds:s,fieldLength:i,storedFields:r,serializationVersion:c}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=U(s),l._fieldLength=U(i),l._storedFields=U(r);for(const[d,u]of l._documentIds)l._idToShortId.set(u,d);for(const[d,u]of n){const a=new Map;for(const f of Object.keys(u)){let m=u[f];c===1&&(m=m.ds),a.set(parseInt(f,10),U(m))}l._index.set(d,a)}return l}static async loadJSAsync(e,t){const{index:n,documentIds:s,fieldLength:i,storedFields:r,serializationVersion:c}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=await J(s),l._fieldLength=await J(i),l._storedFields=await J(r);for(const[u,a]of l._documentIds)l._idToShortId.set(a,u);let d=0;for(const[u,a]of n){const f=new Map;for(const m of Object.keys(a)){let p=a[m];c===1&&(p=p.ds),f.set(parseInt(m,10),await J(p))}++d%1e3===0&&await Ce(0),l._index.set(u,f)}return l}static instantiateMiniSearch(e,t){const{documentCount:n,nextId:s,fieldIds:i,averageFieldLength:r,dirtCount:c,serializationVersion:l}=e;if(l!==1&&l!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const d=new A(t);return d._documentCount=n,d._nextId=s,d._idToShortId=new Map,d._fieldIds=i,d._avgFieldLength=r,d._dirtCount=c||0,d._index=new M,d}executeQuery(e,t={}){if(e===A.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const f={...t,...e,queries:void 0},m=e.queries.map(p=>this.executeQuery(p,f));return this.combineResults(m,f.combineWith)}const{tokenize:n,processTerm:s,searchOptions:i}=this._options,r={tokenize:n,processTerm:s,...i,...t},{tokenize:c,processTerm:l}=r,a=c(e).flatMap(f=>l(f)).filter(f=>!!f).map(lt(r)).map(f=>this.executeQuerySpec(f,r));return this.combineResults(a,r.combineWith)}executeQuerySpec(e,t){const n={...this._options.searchOptions,...t},s=(n.fields||this._options.fields).reduce((h,_)=>({...h,[_]:H(n.boost,_)||1}),{}),{boostDocument:i,weights:r,maxFuzzy:c,bm25:l}=n,{fuzzy:d,prefix:u}={...ce.weights,...r},a=this._index.get(e.term),f=this.termResults(e.term,e.term,1,e.termBoost,a,s,i,l);let m,p;if(e.prefix&&(m=this._index.atPrefix(e.term)),e.fuzzy){const h=e.fuzzy===!0?.2:e.fuzzy,_=h<1?Math.min(c,Math.round(e.term.length*h)):h;_&&(p=this._index.fuzzyGet(e.term,_))}if(m)for(const[h,_]of m){const k=h.length-e.term.length;if(!k)continue;p==null||p.delete(h);const b=u*h.length/(h.length+.3*k);this.termResults(e.term,h,b,e.termBoost,_,s,i,l,f)}if(p)for(const h of p.keys()){const[_,k]=p.get(h);if(!k)continue;const b=d*h.length/(h.length+k);this.termResults(e.term,h,b,e.termBoost,_,s,i,l,f)}return f}executeWildcardQuery(e){const t=new Map,n={...this._options.searchOptions,...e};for(const[s,i]of this._documentIds){const r=n.boostDocument?n.boostDocument(i,"",this._storedFields.get(s)):1;t.set(s,{score:r,terms:[],match:{}})}return t}combineResults(e,t=oe){if(e.length===0)return new Map;const n=t.toLowerCase(),s=it[n];if(!s)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(s)||new Map}toJSON(){const e=[];for(const[t,n]of this._index){const s={};for(const[i,r]of n)s[i]=Object.fromEntries(r);e.push([t,s])}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:e,serializationVersion:2}}termResults(e,t,n,s,i,r,c,l,d=new Map){if(i==null)return d;for(const u of Object.keys(r)){const a=r[u],f=this._fieldIds[u],m=i.get(f);if(m==null)continue;let p=m.size;const h=this._avgFieldLength[f];for(const _ of m.keys()){if(!this._documentIds.has(_)){this.removeTerm(f,_,t),p-=1;continue}const k=c?c(this._documentIds.get(_),t,this._storedFields.get(_)):1;if(!k)continue;const b=m.get(_),S=this._fieldLength.get(_)[f],$=ct(b,p,this._documentCount,S,h,l),I=n*s*a*k*$,C=d.get(_);if(C){C.score+=I,ut(C.terms,e);const R=H(C.match,t);R?R.push(u):C.match[t]=[u]}else d.set(_,{score:I,terms:[e],match:{[t]:[u]}})}}return d}addTerm(e,t,n){const s=this._index.fetch(n,ue);let i=s.get(e);if(i==null)i=new Map,i.set(t,1),s.set(e,i);else{const r=i.get(t);i.set(t,(r||0)+1)}}removeTerm(e,t,n){if(!this._index.has(n)){this.warnDocumentChanged(t,e,n);return}const s=this._index.fetch(n,ue),i=s.get(e);i==null||i.get(t)==null?this.warnDocumentChanged(t,e,n):i.get(t)<=1?i.size<=1?s.delete(e):i.delete(t):i.set(t,i.get(t)-1),this._index.get(n).size===0&&this._index.delete(n)}warnDocumentChanged(e,t,n){for(const s of Object.keys(this._fieldIds))if(this._fieldIds[s]===t){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${n}" was not present in field "${s}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(e){const t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t}addFields(e){for(let t=0;t<e.length;t++)this._fieldIds[e[t]]=t}addFieldLength(e,t,n,s){let i=this._fieldLength.get(e);i==null&&this._fieldLength.set(e,i=[]),i[t]=s;const c=(this._avgFieldLength[t]||0)*n+s;this._avgFieldLength[t]=c/(n+1)}removeFieldLength(e,t,n,s){if(n===1){this._avgFieldLength[t]=0;return}const i=this._avgFieldLength[t]*n-s;this._avgFieldLength[t]=i/(n-1)}saveStoredFields(e,t){const{storeFields:n,extractField:s}=this._options;if(n==null||n.length===0)return;let i=this._storedFields.get(e);i==null&&this._storedFields.set(e,i={});for(const r of n){const c=s(t,r);c!==void 0&&(i[r]=c)}}}A.wildcard=Symbol("*");const H=(o,e)=>Object.prototype.hasOwnProperty.call(o,e)?o[e]:void 0,it={[oe]:(o,e)=>{for(const t of e.keys()){const n=o.get(t);if(n==null)o.set(t,e.get(t));else{const{score:s,terms:i,match:r}=e.get(t);n.score=n.score+s,n.match=Object.assign(n.match,r),le(n.terms,i)}}return o},[ke]:(o,e)=>{const t=new Map;for(const n of e.keys()){const s=o.get(n);if(s==null)continue;const{score:i,terms:r,match:c}=e.get(n);le(s.terms,r),t.set(n,{score:s.score+i,terms:s.terms,match:Object.assign(s.match,c)})}return t},[ot]:(o,e)=>{for(const t of e.keys())o.delete(t);return o}},rt={k:1.2,b:.7,d:.5},ct=(o,e,t,n,s,i)=>{const{k:r,b:c,d:l}=i;return Math.log(1+(t-e+.5)/(e+.5))*(l+o*(r+1)/(o+r*(1-c+c*n/s)))},lt=o=>(e,t,n)=>{const s=typeof o.fuzzy=="function"?o.fuzzy(e,t,n):o.fuzzy||!1,i=typeof o.prefix=="function"?o.prefix(e,t,n):o.prefix===!0,r=typeof o.boostTerm=="function"?o.boostTerm(e,t,n):1;return{term:e,fuzzy:s,prefix:i,termBoost:r}},K={idField:"id",extractField:(o,e)=>o[e],tokenize:o=>o.split(at),processTerm:o=>o.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(o,e)=>{typeof(console==null?void 0:console[o])=="function"&&console[o](e)},autoVacuum:!0},ce={combineWith:oe,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:rt},dt={combineWith:ke,prefix:(o,e,t)=>e===t.length-1},ee={batchSize:1e3,batchWait:10},te={minDirtFactor:.1,minDirtCount:20},X={...ee,...te},ut=(o,e)=>{o.includes(e)||o.push(e)},le=(o,e)=>{for(const t of e)o.includes(t)||o.push(t)},de=({score:o},{score:e})=>e-o,ue=()=>new Map,U=o=>{const e=new Map;for(const t of Object.keys(o))e.set(parseInt(t,10),o[t]);return e},J=async o=>{const e=new Map;let t=0;for(const n of Object.keys(o))e.set(parseInt(n,10),o[n]),++t%1e3===0&&await Ce(0);return e},Ce=o=>new Promise(e=>setTimeout(e,o)),at=/[\n\r\p{Z}\p{P}]+/u,ht={class:"relative",style:{height:"100vh"}},ft={class:"flex h-full"},mt={class:"h-full border-r border-r-gray-800 of-auto","h-full":"",style:{width:"22rem","min-width":"0",flex:"0 0 auto"}},pt={flex:"~ col gap2",border:"b base",class:"border-b-gray-800 p3 flex-1"},_t=["onClick"],gt={style:{width:"6rem"},class:"text-left"},vt=["onClick"],wt={key:0,class:"h-full relative w-full of-auto"},yt="nuxt-graphql-middleware",bt=L({__name:"index",setup(o){const e=new A({fields:["id","source","name","filePath","identifier"],storeFields:["id","source","name","identifier","filePath"],searchOptions:{fuzzy:.7}}),t=W(""),n=W([]),s=W(""),i=W(""),r=O(()=>{if(t.value)return n.value.find(u=>u.id===t.value)});async function c(u){e.removeAll(),n.value=u,e.addAll(u)}ve(async u=>{const a=u.devtools.extendClientRpc(yt,{showNotification(){},documentsUpdated(p){c(p)}}),f=await a.getDocuments();c(f);const m=await a.getModuleOptions();i.value=m.serverApiPrefix});function l(u){const a=document.createElement("textarea");a.value=u.source,a.style.top="0",a.style.left="0",a.style.position="fixed",document.body.appendChild(a),a.focus(),a.select();try{document.execCommand("copy")}catch{}document.body.removeChild(a)}const d=O(()=>s.value?e.search(s.value):n.value);return(u,a)=>{const f=Ee,m=ge,p=et;return g(),w("div",ht,[v("div",ft,[v("div",mt,[v("div",pt,[N(f,{modelValue:x(s),"onUpdate:modelValue":a[0]||(a[0]=h=>me(s)?s.value=h:null),placeholder:"Search documents...",icon:"carbon-search",class:"w-full"},null,8,["modelValue"])]),(g(!0),w(B,null,ne(x(d),h=>(g(),w("div",{key:h.id,class:"relative group"},[v("button",{class:"text-secondary hover:n-bg-hover flex select-none truncate px2 py2 font-mono text-sm w-full",onClick:_=>t.value=h.id},[v("div",gt,[h.identifier==="query"?(g(),P(m,{key:0,green:"",text:"Query"})):h.identifier==="mutation"?(g(),P(m,{key:1,orange:"",text:"Mutation"})):F("",!0)]),v("div",null,V(h.name),1)],8,_t),v("button",{class:"absolute right-0 top-0 text-sm h-full flex items-center opacity-0 group-hover:opacity-100 pr2",onClick:_=>l(h)},a[1]||(a[1]=[v("span",null,"Copy",-1)]),8,vt)]))),128))]),a[2]||(a[2]=v("div",{class:"splitpanes__splitter"},null,-1)),x(r)?(g(),w("div",wt,[N(p,fe(x(r),{"server-api-prefix":x(i)}),null,16,["server-api-prefix"])])):F("",!0)])])}}});export{bt as default};
|
package/dist/client/index.html
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<!DOCTYPE html><html><head><meta charset="utf-8">
|
|
2
2
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
3
3
|
<link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.Cn9qfNGa.css" crossorigin>
|
|
4
|
-
<link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/
|
|
4
|
+
<link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/D5hBL5aZ.js">
|
|
5
5
|
<link rel="prefetch" as="style" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-404.ehK72JOs.css">
|
|
6
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/
|
|
7
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/
|
|
6
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/BM34SYth.js">
|
|
7
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/FTbv7CO6.js">
|
|
8
8
|
<link rel="prefetch" as="style" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-500._g0akJim.css">
|
|
9
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/
|
|
10
|
-
<script type="module" src="/__nuxt-graphql-middleware/_nuxt/
|
|
11
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-graphql-middleware",buildId:"
|
|
9
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CROlboVl.js">
|
|
10
|
+
<script type="module" src="/__nuxt-graphql-middleware/_nuxt/D5hBL5aZ.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1744539567174,false]</script>
|
|
11
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-graphql-middleware",buildId:"35b756ec-db3a-48e0-a262-4036827a35c5",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ContextType, GraphqlClientOptions } from '../dist/runtime/types.js';
|
|
2
|
+
export { GraphqlClientOptions } from '../dist/runtime/types.js';
|
|
3
|
+
|
|
4
|
+
declare function defineGraphqlClientOptions<T extends ContextType>(options: GraphqlClientOptions<T>): GraphqlClientOptions<T>;
|
|
5
|
+
|
|
6
|
+
export { defineGraphqlClientOptions };
|