nuxt-graphql-middleware 5.1.0 → 5.1.1

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.
@@ -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
- <link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.Cn9qfNGa.css" crossorigin>
4
- <link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/UAIVpYSK.js">
3
+ <link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.BBgLZ1Jk.css" crossorigin>
4
+ <link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/B-BZSpkz.js">
5
5
  <link rel="prefetch" as="style" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-404.Bbd2eCoc.css">
6
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CQCiRbEL.js">
7
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/u1b7LyOw.js">
6
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/C6_BMIRJ.js">
7
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CFKT0oF2.js">
8
8
  <link rel="prefetch" as="style" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-500.Cd2cwFc3.css">
9
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CYI2eNUl.js">
10
- <script type="module" src="/__nuxt-graphql-middleware/_nuxt/UAIVpYSK.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},1746443882006,false]</script>
11
- <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-graphql-middleware",buildId:"48332277-c4ad-4d6a-8f09-7a58a109c32d",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
9
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CyxO-88q.js">
10
+ <script type="module" src="/__nuxt-graphql-middleware/_nuxt/B-BZSpkz.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},1749205476125,false]</script>
11
+ <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-graphql-middleware",buildId:"bab648bf-3b57-4a37-bfa7-d3789fe7395f",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
@@ -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
- <link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.Cn9qfNGa.css" crossorigin>
4
- <link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/UAIVpYSK.js">
3
+ <link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.BBgLZ1Jk.css" crossorigin>
4
+ <link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/B-BZSpkz.js">
5
5
  <link rel="prefetch" as="style" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-404.Bbd2eCoc.css">
6
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CQCiRbEL.js">
7
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/u1b7LyOw.js">
6
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/C6_BMIRJ.js">
7
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CFKT0oF2.js">
8
8
  <link rel="prefetch" as="style" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-500.Cd2cwFc3.css">
9
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CYI2eNUl.js">
10
- <script type="module" src="/__nuxt-graphql-middleware/_nuxt/UAIVpYSK.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},1746443882006,false]</script>
11
- <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-graphql-middleware",buildId:"48332277-c4ad-4d6a-8f09-7a58a109c32d",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
9
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CyxO-88q.js">
10
+ <script type="module" src="/__nuxt-graphql-middleware/_nuxt/B-BZSpkz.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},1749205476125,false]</script>
11
+ <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-graphql-middleware",buildId:"bab648bf-3b57-4a37-bfa7-d3789fe7395f",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CPiV13Ng.js","./index.DGEN-H8t.css","./CQCiRbEL.js","./u1b7LyOw.js","./error-404.Bbd2eCoc.css","./CYI2eNUl.js","./error-500.Cd2cwFc3.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CrwW1KlQ.js","./index.DGEN-H8t.css","./C6_BMIRJ.js","./CFKT0oF2.js","./error-404.Bbd2eCoc.css","./CyxO-88q.js","./error-500.Cd2cwFc3.css"])))=>i.map(i=>d[i]);
2
2
  var _a=Object.defineProperty;var ba=(e,t,n)=>t in e?_a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var vt=(e,t,n)=>ba(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 _a=Object.defineProperty;var ba=(e,t,n)=>t in e?_a(e,t,{enumerable:!0,config
20
20
  * vue-router v4.5.1
21
21
  * (c) 2025 Eduardo San Martin Morote
22
22
  * @license MIT
23
- */const sn=typeof document<"u";function na(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Sp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&na(e.default)}const se=Object.assign;function ps(e,t){const n={};for(const r in t){const s=t[r];n[r]=Ze(s)?s.map(e):e(s)}return n}const jn=()=>{},Ze=Array.isArray,ra=/#/g,Cp=/&/g,Pp=/\//g,kp=/=/g,xp=/\?/g,sa=/\+/g,Ap=/%5B/g,Op=/%5D/g,oa=/%5E/g,Mp=/%60/g,ia=/%7B/g,Hp=/%7C/g,la=/%7D/g,Lp=/%20/g;function Eo(e){return encodeURI(""+e).replace(Hp,"|").replace(Ap,"[").replace(Op,"]")}function Ip(e){return Eo(e).replace(ia,"{").replace(la,"}").replace(oa,"^")}function Ws(e){return Eo(e).replace(sa,"%2B").replace(Lp,"+").replace(ra,"%23").replace(Cp,"%26").replace(Mp,"`").replace(ia,"{").replace(la,"}").replace(oa,"^")}function Np(e){return Ws(e).replace(kp,"%3D")}function jp(e){return Eo(e).replace(ra,"%23").replace(xp,"%3F")}function $p(e){return e==null?"":jp(e).replace(Pp,"%2F")}function zn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Fp=/\/$/,Bp=e=>e.replace(Fp,"");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=Wp(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:zn(i)}}function Up(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Hi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Dp(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&bn(t.matched[r],n.matched[s])&&ca(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function bn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ca(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Vp(e[n],t[n]))return!1;return!0}function Vp(e,t){return Ze(e)?Li(e,t):Ze(t)?Li(t,e):e===t}function Li(e,t){return Ze(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Wp(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 Ue={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Jn;(function(e){e.pop="pop",e.push="push"})(Jn||(Jn={}));var $n;(function(e){e.back="back",e.forward="forward",e.unknown=""})($n||($n={}));function Kp(e){if(!e)if(sn){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 qp=/^[^#]+#/;function Gp(e,t){return e.replace(qp,"#")+t}function zp(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 Jp(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=zp(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 Ii(e,t){return(history.state?history.state.position-t:-1)+e}const Ks=new Map;function Qp(e,t){Ks.set(e,t)}function Xp(e){const t=Ks.get(e);return Ks.delete(e),t}let Yp=()=>location.protocol+"//"+location.host;function aa(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),Hi(c,"")}return Hi(n,e)+r+s}function Zp(e,t,n,r){let s=[],o=[],i=null;const l=({state:d})=>{const g=aa(e,location),_=n.value,y=t.value;let R=0;if(d){if(n.value=g,t.value=d,i&&i===_){i=null;return}R=y?d.position-y.position:0}else r(g);s.forEach(E=>{E(n.value,_,{delta:R,type:Jn.pop,direction:R?R>0?$n.forward:$n.back:$n.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 Ni(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 eg(e){const{history:t,location:n}=window,r={value:aa(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:Yp()+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,Ni(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({},Ni(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 tg(e){e=Kp(e);const t=eg(e),n=Zp(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:Gp.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 ng(e){return typeof e=="string"||e&&typeof e=="object"}function fa(e){return typeof e=="string"||typeof e=="symbol"}const ua=Symbol("");var ji;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ji||(ji={}));function vn(e,t){return se(new Error,{type:e,[ua]:!0},t)}function ut(e,t){return e instanceof Error&&ua in e&&(t==null||!!(e.type&t))}const $i="[^/]+?",rg={sensitive:!1,strict:!1,start:!0,end:!0},sg=/[.+*?^${}()[\]/\\]/g;function og(e,t){const n=se({},rg,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(sg,"\\$&"),g+=40;else if(d.type===1){const{value:_,repeatable:y,optional:R,regexp:E}=d;o.push({name:_,repeatable:y,optional:R});const v=E||$i;if(v!==$i){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=R&&u.length<2?`(?:/${p})`:"/"+p),R&&(p+="?"),s+=p,g+=20,R&&(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:R}=g,E=_ in u?u[_]:"";if(Ze(E)&&!y)throw new Error(`Provided param "${_}" is an array but it is not repeatable (* or + modifiers)`);const v=Ze(E)?E.join("/"):E;if(!v)if(R)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 ig(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 da(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=ig(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Fi(r))return 1;if(Fi(s))return-1}return s.length-r.length}function Fi(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const lg={type:0,value:""},cg=/[a-zA-Z0-9_]/;function ag(e){if(!e)return[[]];if(e==="/")return[[lg]];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:cg.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 fg(e,t,n){const r=og(ag(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 ug(e,t){const n=[],r=new Map;t=Vi({strict:!1,end:!0,sensitive:!1},t);function s(f){return r.get(f)}function o(f,d,g){const _=!g,y=Ui(f);y.aliasOf=g&&g.record;const R=Vi(t,f),E=[y];if("alias"in f){const b=typeof f.alias=="string"?[f.alias]:f.alias;for(const w of b)E.push(Ui(se({},y,{components:g?g.record.components:y.components,path:w,aliasOf:g?g.record:y})))}let v,p;for(const b of E){const{path:w}=b;if(d&&w[0]!=="/"){const P=d.record.path,k=P[P.length-1]==="/"?"":"/";b.path=d.record.path+(w&&k+w)}if(v=fg(b,d,R),g?g.alias.push(v):(p=p||v,p!==v&&p.alias.push(v),_&&f.name&&!Di(v)&&i(f.name)),ha(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)}:jn}function i(f){if(fa(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=pg(f,n);n.splice(d,0,f),f.record.name&&!Di(f)&&r.set(f.record.name,f)}function u(f,d){let g,_={},y,R;if("name"in f&&f.name){if(g=r.get(f.name),!g)throw vn(1,{location:f});R=g.record.name,_=se(Bi(d.params,g.keys.filter(p=>!p.optional).concat(g.parent?g.parent.keys.filter(p=>p.optional):[]).map(p=>p.name)),f.params&&Bi(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),R=g.record.name);else{if(g=d.name?r.get(d.name):n.find(p=>p.re.test(d.path)),!g)throw vn(1,{location:f,currentLocation:d});R=g.record.name,_=se({},d.params,f.params),y=g.stringify(_)}const E=[];let v=g;for(;v;)E.unshift(v.record),v=v.parent;return{name:R,path:y,params:_,matched:E,meta:hg(E)}}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 Bi(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ui(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:dg(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 dg(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 Di(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function hg(e){return e.reduce((t,n)=>se(t,n.meta),{})}function Vi(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function pg(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;da(e,t[o])<0?r=o:n=o+1}const s=gg(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function gg(e){let t=e;for(;t=t.parent;)if(ha(t)&&da(e,t)===0)return t}function ha({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function mg(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(sa," "),i=o.indexOf("="),l=zn(i<0?o:o.slice(0,i)),c=i<0?null:zn(o.slice(i+1));if(l in t){let u=t[l];Ze(u)||(u=t[l]=[u]),u.push(c)}else t[l]=c}return t}function Wi(e){let t="";for(let n in e){const r=e[n];if(n=Np(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ze(r)?r.map(o=>o&&Ws(o)):[r&&Ws(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function yg(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ze(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const _g=Symbol(""),Ki=Symbol(""),To=Symbol(""),Ro=Symbol(""),qs=Symbol("");function xn(){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 Ct(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(vn(4,{from:n,to:t})):d instanceof Error?c(d):ng(d)?c(vn(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(na(c)){const a=(c.__vccOpts||c)[t];a&&o.push(Ct(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=Sp(a)?a.default:a;i.mods[l]=a,i.components[l]=f;const g=(f.__vccOpts||f)[t];return g&&Ct(g,n,r,i,l,s)()}))}}return o}function qi(e){const t=Ae(To),n=Ae(Ro),r=Ve(()=>{const c=ue(e.to);return t.resolve(c)}),s=Ve(()=>{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(bn.bind(null,a));if(d>-1)return d;const g=Gi(c[u-2]);return u>1&&Gi(a)===g&&f[f.length-1].path!==g?f.findIndex(bn.bind(null,c[u-2])):d}),o=Ve(()=>s.value>-1&&Tg(n.params,r.value.params)),i=Ve(()=>s.value>-1&&s.value===n.matched.length-1&&ca(n.params,r.value.params));function l(c={}){if(Eg(c)){const u=t[ue(e.replace)?"replace":"push"](ue(e.to)).catch(jn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:Ve(()=>r.value.href),isActive:o,isExactActive:i,navigate:l}}function bg(e){return e.length===1?e[0]:e}const vg=It({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:qi,setup(e,{slots:t}){const n=Lt(qi(e)),{options:r}=Ae(To),s=Ve(()=>({[zi(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[zi(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&bg(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)}}}),wg=vg;function Eg(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 Tg(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(!Ze(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Gi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const zi=(e,t,n)=>e??t??n,Rg=It({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ae(qs),s=Ve(()=>e.route||r.value),o=Ae(Ki,0),i=Ve(()=>{let u=ue(o);const{matched:a}=s.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),l=Ve(()=>s.value.matched[i.value]);Kt(Ki,Ve(()=>i.value+1)),Kt(_g,l),Kt(qs,s);const c=lt();return dn(()=>[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||!bn(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 Ji(n.default,{Component:d,route:u});const g=f.props[a],_=g?g===!0?u.params:typeof g=="function"?g(u):g:null,R=Pe(d,se({},_,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(f.instances[a]=null)},ref:c}));return Ji(n.default,{Component:R,route:u})||R}}});function Ji(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const pa=Rg;function Sg(e){const t=ug(e.routes,e),n=e.parseQuery||mg,r=e.stringifyQuery||Wi,s=e.history,o=xn(),i=xn(),l=xn(),c=Dn(Ue);let u=Ue;sn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=ps.bind(null,C=>""+C),f=ps.bind(null,$p),d=ps.bind(null,zn);function g(C,B){let $,W;return fa(C)?($=t.getRecordMatcher(C),W=B):W=C,t.addRoute(W,$)}function _(C){const B=t.getRecordMatcher(C);B&&t.removeRoute(B)}function y(){return t.getRoutes().map(C=>C.record)}function R(C){return!!t.getRecordMatcher(C)}function E(C,B){if(B=se({},B||c.value),typeof C=="string"){const m=gs(n,C,B.path),T=t.resolve({path:m.path},B),x=s.createHref(m.fullPath);return se(m,T,{params:d(T.params),hash:zn(m.hash),redirectedFrom:void 0,href:x})}let $;if(C.path!=null)$=se({},C,{path:gs(n,C.path,B.path).path});else{const m=se({},C.params);for(const T in m)m[T]==null&&delete m[T];$=se({},C,{params:f(m)}),B.params=f(B.params)}const W=t.resolve($,B),re=C.hash||"";W.params=a(d(W.params));const de=Up(r,se({},C,{hash:Ip(re),path:W.path})),h=s.createHref(de);return se({fullPath:de,hash:re,query:r===Wi?yg(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,B){if(u!==C)return vn(8,{from:B,to:C})}function b(C){return k(C)}function w(C){return b(se(v(C),{replace:!0}))}function P(C){const B=C.matched[C.matched.length-1];if(B&&B.redirect){const{redirect:$}=B;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,B){const $=u=E(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}),B||$);const T=$;T.redirectedFrom=B;let x;return!de&&Dp(r,W,$)&&(x=vn(16,{to:T,from:W}),et(W,W,!0,!1)),(x?Promise.resolve(x):H(T,W)).catch(S=>ut(S)?ut(S,2)?S:bt(S):V(S,T,W)).then(S=>{if(S){if(ut(S,2))return k(se({replace:h},v(S.to),{state:typeof S.to=="object"?se({},re,S.to.state):re,force:de}),B||T)}else S=M(T,W,!0,h,re);return K(T,W,S),S})}function D(C,B){const $=p(C,B);return $?Promise.reject($):Promise.resolve()}function L(C){const B=en.values().next().value;return B&&typeof B.runWithContext=="function"?B.runWithContext(C):C()}function H(C,B){let $;const[W,re,de]=Cg(C,B);$=ms(W.reverse(),"beforeRouteLeave",C,B);for(const m of W)m.leaveGuards.forEach(T=>{$.push(Ct(T,C,B))});const h=D.bind(null,C,B);return $.push(h),Fe($).then(()=>{$=[];for(const m of o.list())$.push(Ct(m,C,B));return $.push(h),Fe($)}).then(()=>{$=ms(re,"beforeRouteUpdate",C,B);for(const m of re)m.updateGuards.forEach(T=>{$.push(Ct(T,C,B))});return $.push(h),Fe($)}).then(()=>{$=[];for(const m of de)if(m.beforeEnter)if(Ze(m.beforeEnter))for(const T of m.beforeEnter)$.push(Ct(T,C,B));else $.push(Ct(m.beforeEnter,C,B));return $.push(h),Fe($)}).then(()=>(C.matched.forEach(m=>m.enterCallbacks={}),$=ms(de,"beforeRouteEnter",C,B,L),$.push(h),Fe($))).then(()=>{$=[];for(const m of i.list())$.push(Ct(m,C,B));return $.push(h),Fe($)}).catch(m=>ut(m,8)?m:Promise.reject(m))}function K(C,B,$){l.list().forEach(W=>L(()=>W(C,B,$)))}function M(C,B,$,W,re){const de=p(C,B);if(de)return de;const h=B===Ue,m=sn?history.state:{};$&&(W||h?s.replace(C.fullPath,se({scroll:h&&m&&m.scroll},re)):s.push(C.fullPath,re)),c.value=C,et(C,B,$,h),bt()}let q;function Z(){q||(q=s.listen((C,B,$)=>{if(!nr.listening)return;const W=E(C),re=P(W);if(re){k(se(re,{replace:!0,force:!0}),W).catch(jn);return}u=W;const de=c.value;sn&&Qp(Ii(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===Jn.pop&&s.go(-1,!1)}).catch(jn),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===Jn.pop&&ut(h,20)&&s.go(-1,!1)),K(W,de,h)}).catch(jn)}))}let ne=xn(),U=xn(),Y;function V(C,B,$){bt(C);const W=U.list();return W.length?W.forEach(re=>re(C,B,$)):console.error(C),Promise.reject(C)}function ge(){return Y&&c.value!==Ue?Promise.resolve():new Promise((C,B)=>{ne.add([C,B])})}function bt(C){return Y||(Y=!C,Z(),ne.list().forEach(([B,$])=>C?$(C):B()),ne.reset()),C}function et(C,B,$,W){const{scrollBehavior:re}=e;if(!sn||!re)return Promise.resolve();const de=!$&&Xp(Ii(C.fullPath,0))||(W||!$)&&history.state&&history.state.scroll||null;return Jt().then(()=>re(C,B,de)).then(h=>h&&Jp(h)).catch(h=>V(h,C,B))}const Oe=C=>s.go(C);let Zt;const en=new Set,nr={currentRoute:c,listening:!0,addRoute:g,removeRoute:_,clearRoutes:t.clearRoutes,hasRoute:R,getRoutes:y,resolve:E,options:e,push:b,replace:w,go:Oe,back:()=>Oe(-1),forward:()=>Oe(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:U.add,isReady:ge,install(C){const B=this;C.component("RouterLink",wg),C.component("RouterView",pa),C.config.globalProperties.$router=B,Object.defineProperty(C.config.globalProperties,"$route",{enumerable:!0,get:()=>ue(c)}),sn&&!Zt&&c.value===Ue&&(Zt=!0,b(s.location).catch(re=>{}));const $={};for(const re in Ue)Object.defineProperty($,re,{get:()=>c.value[re],enumerable:!0});C.provide(To,B),C.provide(Ro,mt($)),C.provide(qs,c);const W=C.unmount;en.add(C),C.unmount=function(){en.delete(C),en.size<1&&(u=Ue,q&&q(),q=null,c.value=Ue,Zt=!1,Y=!1),W()}}};function Fe(C){return C.reduce((B,$)=>B.then(()=>L($)),Promise.resolve())}return nr}function Cg(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=>bn(u,l))?r.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(u=>bn(u,c))||s.push(c))}return[n,r,s]}function Pg(e){return Ae(Ro)}const kg=/(:\w+)\([^)]+\)/g,xg=/(:\w+)[?+*]/g,Ag=/:\w+/g,Og=(e,t)=>t.path.replace(kg,"$1").replace(xg,"$1").replace(Ag,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Gs=(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&&Og(e.route,n));return typeof r=="function"?r(e.route):r},Mg=(e,t)=>({default:()=>e?Pe(Cf,e===!0?{}:e,t):t});function So(e){return Array.isArray(e)?e:[e]}const ys=[{name:"index",path:"/",component:()=>Vs(()=>import("./CPiV13Ng.js"),__vite__mapDeps([0,1]),import.meta.url)}],ga=(e,t)=>({default:()=>{var n;return e?Pe(xu,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),Hg=/(:\w+)\([^)]+\)/g,Lg=/(:\w+)[?+*]/g,Ig=/:\w+/g;function Qi(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(Hg,"$1").replace(Lg,"$1").replace(Ig,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function Ng(e,t){return e===t||t===Ue?!1:Qi(e)!==Qi(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 jg={scrollBehavior(e,t,n){var c;const r=ve(),s=((c=Ge().options)==null?void 0:c.scrollBehaviorType)??"auto";if(e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:ma(e.hash),behavior:s}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;let i=n||void 0;!i&&Ng(e,t)&&(i={left:0,top:0});const l=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(u=>{if(t===Ue){u(Xi(e,"instant",i));return}r.hooks.hookOnce(l,()=>{requestAnimationFrame(()=>u(Xi(e,"instant",i)))})})}};function ma(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 Xi(e,t,n){return n||(e.hash?{el:e.hash,top:ma(e.hash),behavior:t}:{left:0,top:0,behavior:t})}const $g={hashMode:!1,scrollBehaviorType:"auto"},nt={...$g,...jg},Fg=async(e,t)=>{var i;let n,r;if(!((i=e.meta)!=null&&i.validate))return;const s=([n,r]=pn(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(s===!0)return;const o=Gt({fatal:!0,statusCode:s&&s.statusCode||404,statusMessage:s&&s.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),o},Bg=async e=>{let t,n;const r=([t,n]=pn(()=>vo({path:e.path})),t=await t,n(),t);if(r.redirect)return Yt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Ug=[Fg,Bg],Fn={};function Dg(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),gi(a,"")}const l=gi(r,e),c=!n||Od(l,n)?l:n;return c+(c.includes("?")?"":s)+o}const Vg=ct({name:"nuxt:router",enforce:"pre",async setup(e){var R;let t,n,r=Gr().app.baseURL;const s=((R=nt.history)==null?void 0:R.call(nt,r))??tg(r),o=nt.routes?([t,n]=pn(()=>nt.routes(ys)),t=await t,n(),t??ys):ys;let i;const l=Sg({...nt,scrollBehavior:(E,v,p)=>{if(v===Ue){i=p;return}if(nt.scrollBehavior){if(l.options.scrollBehavior=nt.scrollBehavior,"scrollRestoration"in window.history){const b=l.beforeEach(()=>{b(),window.history.scrollRestoration="manual"})}return nt.scrollBehavior(E,Ue,i||p)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const c=Dn(l.currentRoute.value);l.afterEach((E,v)=>{c.value=v}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=Dg(r,window.location,e.payload.path),a=Dn(l.currentRoute.value),f=()=>{a.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((E,v)=>{var p,b,w,P;((b=(p=E.matched[0])==null?void 0:p.components)==null?void 0:b.default)===((P=(w=v.matched[0])==null?void 0:w.components)==null?void 0:P.default)&&f()});const d={};for(const E in a.value)Object.defineProperty(d,E,{get:()=>a.value[E],enumerable:!0});e._route=mt(d),e._middleware||(e._middleware={global:[],named:{}});const g=zr();l.afterEach(async(E,v,p)=>{delete e._processingMiddleware,!e.isHydrating&&g.value&&await e.runWithContext(Ph),p&&await e.callHook("page:loading:end")});try{[t,n]=pn(()=>l.isReady()),await t,n()}catch(E){[t,n]=pn(()=>e.runWithContext(()=>Ut(E))),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(E,v)=>{var p;await e.callHook("page:loading:start"),E.meta=Lt(E.meta),e.isHydrating&&y&&!At(E.meta.layout)&&(E.meta.layout=y),e._processingMiddleware=!0;{const b=new Set([...Ug,...e._middleware.global]);for(const w of E.matched){const P=w.meta.middleware;if(P)for(const k of So(P))b.add(k)}{const w=await e.runWithContext(()=>vo({path:E.path}));if(w.appMiddleware)for(const P in w.appMiddleware)w.appMiddleware[P]?b.add(P):b.delete(P)}for(const w of b){const P=typeof w=="string"?e._middleware.named[w]||await((p=Fn[w])==null?void 0:p.call(Fn).then(k=>k.default||k)):w;if(!P)throw new Error(`Unknown route middleware: '${w}'.`);try{const k=await e.runWithContext(()=>P(E,v));if(!e.payload.serverRendered&&e.isHydrating&&(k===!1||k instanceof Error)){const D=k||Gt({statusCode:404,statusMessage:`Page Not Found: ${u}`});return await e.runWithContext(()=>Ut(D)),!1}if(k===!0)continue;if(k===!1)return k;if(k)return Jc(k)&&k.fatal&&await e.runWithContext(()=>Ut(k)),k}catch(k){const D=Gt(k);return D.fatal&&await e.runWithContext(()=>Ut(D)),D}}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(async(E,v)=>{E.matched.length===0&&await e.runWithContext(()=>Ut(Gt({statusCode:404,fatal:!1,statusMessage:`Page not found: ${E.fullPath}`,data:{path:E.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in _&&(_.name=void 0),await l.replace({..._,force:!0}),l.options.scrollBehavior=nt.scrollBehavior}catch(E){await e.runWithContext(()=>Ut(E))}}),{provide:{router:l}}}}),Yi=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Pm=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Co=e=>{const t=ve();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Yi(()=>e())}):Yi(()=>e())},Wg=ct({name:"nuxt:payload",setup(e){const t=new Set;Ge().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await Mi(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]}}),Co(()=>{var n;e.hooks.hook("link:prefetch",async r=>{const{hostname:s}=new URL(r,window.location.href);s===window.location.hostname&&await Mi(r).catch(()=>{console.warn("[nuxt] Error preloading payload for",r)})}),((n=navigator.connection)==null?void 0:n.effectiveType)!=="slow-2g"&&setTimeout(Jr,1e3)})}}),Kg=ct(()=>{const e=Ge();Co(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),qg=ct(e=>{let t;async function n(){const r=await Jr();t&&clearTimeout(t),t=setTimeout(n,wi);try{const s=await $fetch(_o("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}Co(()=>{t=setTimeout(n,wi)})});function Gg(e={}){const t=e.path||window.location.pathname;let n={};try{n=Ar(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:ve().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const zg=ct({name:"nuxt:chunk-reload",setup(e){const t=Ge(),n=Gr(),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:yo(n.app.baseURL,o.fullPath);Gg({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),Jg=ct({name:"nuxt:global-components"}),Pt={},Qg=ct({name:"nuxt:prefetch",setup(e){const t=Ge();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 Pt[r]=="function"&&await Pt[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Yt(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=So(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof Fn[i]=="function"&&Fn[i]();s&&typeof Pt[s]=="function"&&Pt[s]()})}}),Xg=ct(()=>{}),Yg=[bp,Rp,Vg,Wg,Kg,qg,zg,Jg,Qg,Xg],ya=(e="RouteProvider")=>It({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(tr,mt(s)),()=>Pe(t.vnode,{ref:t.vnodeRef})}}),Zg=ya(),Zi=new WeakMap,em=It({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const s=ve(),o=lt(),i=Ae(tr,null);let l;r({pageRef:o});const c=Ae(Gc,null);let u;const a=s.deferHydration();if(s.isHydrating){const d=s.hooks.hookOnce("app:error",a);Ge().beforeEach(d)}e.pageKey&&dn(()=>e.pageKey,(d,g)=>{d!==g&&s.callHook("page:loading:start")});let f=!1;{const d=Ge().beforeResolve(()=>{f=!1});Zn(()=>{d()})}return()=>Pe(pa,{name:e.name,route:e.route,...t},{default:d=>{const g=nm(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=Gs(d,e.pageKey),R=rm(i,d.route,d.Component);!s.isHydrating&&l===y&&!R&&Jt(()=>{f=!0,s.callHook("page:loading:end")}),l=y;const E=!!(e.transition??d.route.meta.pageTransition??vi),v=E&&tm([e.transition,d.route.meta.pageTransition,vi,{onBeforeLeave(){s._runningTransition=!0},onAfterLeave(){delete s._runningTransition,s.callHook("page:transition:finish",d.Component)}}]),p=e.keepalive??d.route.meta.keepalive??ch;return u=ga(E&&v,Mg(p,Pe(po,{suspensible:!0,onPending:()=>s.callHook("page:start",d.Component),onResolve:()=>{Jt(()=>s.callHook("page:finish",d.Component).then(()=>{if(!f&&!R)return f=!0,s.callHook("page:loading:end")}).finally(a))}},{default:()=>{const b={key:y||void 0,vnode:n.default?sm(n.default,d):d.Component,route:d.route,renderKey:y||void 0,trackRootNodes:E,vnodeRef:o};if(!p)return Pe(Zg,b);const w=d.Component.type,P=w;let k=Zi.get(P);return k||(k=ya(w.name||w.__name),Zi.set(P,k)),Pe(k,b)}}))).default(),u}})}});function tm(e){const t=e.filter(Boolean).map(n=>({...n,onAfterLeave:n.onAfterLeave?So(n.onAfterLeave):void 0}));return Kc(...t)}function nm(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&&Gs({route:t,Component:n})!==Gs({route:e,Component:n})}function rm(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 sm(e,t){const n=e(t);return n.length===1?Pe(n[0]):Pe(Ce,void 0,n)}const om=It({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>Pe(Pt[e.name],e.layoutProps,t.slots)}}),im={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},lm=It({name:"NuxtLayout",inheritAttrs:!1,props:im,setup(e,t){const n=ve(),r=Ae(tr),s=r===bo()?Pg():r,o=Ve(()=>{let c=ue(e.name)??s.meta.layout??"default";return c&&!(c in Pt)&&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);Ge().beforeEach(c)}return()=>{const c=o.value&&o.value in Pt,u=s.meta.layoutTransition??lh;return ga(c&&u,{default:()=>Pe(po,{suspensible:!0,onResolve:()=>{Jt(l)}},{default:()=>Pe(cm,{layoutProps:wc(t.attrs,{ref:i}),key:o.value||void 0,name:o.value,shouldProvide:!e.name,hasTransition:!!u},t.slots)})}).default()}}}),cm=It({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&Kt(Gc,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,s;return!n||typeof n=="string"&&!(n in Pt)?(s=(r=t.slots).default)==null?void 0:s.call(r):Pe(om,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),am=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},fm={};function um(e,t){const n=em,r=lm;return De(),ot(r,null,{default:lo(()=>[pe(n)]),_:1})}const dm=am(fm,[["render",um]]),hm={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
23
+ */const sn=typeof document<"u";function na(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Sp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&na(e.default)}const se=Object.assign;function ps(e,t){const n={};for(const r in t){const s=t[r];n[r]=Ze(s)?s.map(e):e(s)}return n}const jn=()=>{},Ze=Array.isArray,ra=/#/g,Cp=/&/g,Pp=/\//g,kp=/=/g,xp=/\?/g,sa=/\+/g,Ap=/%5B/g,Op=/%5D/g,oa=/%5E/g,Mp=/%60/g,ia=/%7B/g,Hp=/%7C/g,la=/%7D/g,Lp=/%20/g;function Eo(e){return encodeURI(""+e).replace(Hp,"|").replace(Ap,"[").replace(Op,"]")}function Ip(e){return Eo(e).replace(ia,"{").replace(la,"}").replace(oa,"^")}function Ws(e){return Eo(e).replace(sa,"%2B").replace(Lp,"+").replace(ra,"%23").replace(Cp,"%26").replace(Mp,"`").replace(ia,"{").replace(la,"}").replace(oa,"^")}function Np(e){return Ws(e).replace(kp,"%3D")}function jp(e){return Eo(e).replace(ra,"%23").replace(xp,"%3F")}function $p(e){return e==null?"":jp(e).replace(Pp,"%2F")}function zn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Fp=/\/$/,Bp=e=>e.replace(Fp,"");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=Wp(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:zn(i)}}function Up(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Hi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Dp(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&bn(t.matched[r],n.matched[s])&&ca(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function bn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ca(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Vp(e[n],t[n]))return!1;return!0}function Vp(e,t){return Ze(e)?Li(e,t):Ze(t)?Li(t,e):e===t}function Li(e,t){return Ze(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Wp(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 Ue={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Jn;(function(e){e.pop="pop",e.push="push"})(Jn||(Jn={}));var $n;(function(e){e.back="back",e.forward="forward",e.unknown=""})($n||($n={}));function Kp(e){if(!e)if(sn){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 qp=/^[^#]+#/;function Gp(e,t){return e.replace(qp,"#")+t}function zp(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 Jp(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=zp(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 Ii(e,t){return(history.state?history.state.position-t:-1)+e}const Ks=new Map;function Qp(e,t){Ks.set(e,t)}function Xp(e){const t=Ks.get(e);return Ks.delete(e),t}let Yp=()=>location.protocol+"//"+location.host;function aa(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),Hi(c,"")}return Hi(n,e)+r+s}function Zp(e,t,n,r){let s=[],o=[],i=null;const l=({state:d})=>{const g=aa(e,location),_=n.value,y=t.value;let R=0;if(d){if(n.value=g,t.value=d,i&&i===_){i=null;return}R=y?d.position-y.position:0}else r(g);s.forEach(E=>{E(n.value,_,{delta:R,type:Jn.pop,direction:R?R>0?$n.forward:$n.back:$n.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 Ni(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 eg(e){const{history:t,location:n}=window,r={value:aa(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:Yp()+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,Ni(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({},Ni(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 tg(e){e=Kp(e);const t=eg(e),n=Zp(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:Gp.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 ng(e){return typeof e=="string"||e&&typeof e=="object"}function fa(e){return typeof e=="string"||typeof e=="symbol"}const ua=Symbol("");var ji;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ji||(ji={}));function vn(e,t){return se(new Error,{type:e,[ua]:!0},t)}function ut(e,t){return e instanceof Error&&ua in e&&(t==null||!!(e.type&t))}const $i="[^/]+?",rg={sensitive:!1,strict:!1,start:!0,end:!0},sg=/[.+*?^${}()[\]/\\]/g;function og(e,t){const n=se({},rg,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(sg,"\\$&"),g+=40;else if(d.type===1){const{value:_,repeatable:y,optional:R,regexp:E}=d;o.push({name:_,repeatable:y,optional:R});const v=E||$i;if(v!==$i){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=R&&u.length<2?`(?:/${p})`:"/"+p),R&&(p+="?"),s+=p,g+=20,R&&(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:R}=g,E=_ in u?u[_]:"";if(Ze(E)&&!y)throw new Error(`Provided param "${_}" is an array but it is not repeatable (* or + modifiers)`);const v=Ze(E)?E.join("/"):E;if(!v)if(R)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 ig(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 da(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=ig(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Fi(r))return 1;if(Fi(s))return-1}return s.length-r.length}function Fi(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const lg={type:0,value:""},cg=/[a-zA-Z0-9_]/;function ag(e){if(!e)return[[]];if(e==="/")return[[lg]];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:cg.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 fg(e,t,n){const r=og(ag(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 ug(e,t){const n=[],r=new Map;t=Vi({strict:!1,end:!0,sensitive:!1},t);function s(f){return r.get(f)}function o(f,d,g){const _=!g,y=Ui(f);y.aliasOf=g&&g.record;const R=Vi(t,f),E=[y];if("alias"in f){const b=typeof f.alias=="string"?[f.alias]:f.alias;for(const w of b)E.push(Ui(se({},y,{components:g?g.record.components:y.components,path:w,aliasOf:g?g.record:y})))}let v,p;for(const b of E){const{path:w}=b;if(d&&w[0]!=="/"){const P=d.record.path,k=P[P.length-1]==="/"?"":"/";b.path=d.record.path+(w&&k+w)}if(v=fg(b,d,R),g?g.alias.push(v):(p=p||v,p!==v&&p.alias.push(v),_&&f.name&&!Di(v)&&i(f.name)),ha(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)}:jn}function i(f){if(fa(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=pg(f,n);n.splice(d,0,f),f.record.name&&!Di(f)&&r.set(f.record.name,f)}function u(f,d){let g,_={},y,R;if("name"in f&&f.name){if(g=r.get(f.name),!g)throw vn(1,{location:f});R=g.record.name,_=se(Bi(d.params,g.keys.filter(p=>!p.optional).concat(g.parent?g.parent.keys.filter(p=>p.optional):[]).map(p=>p.name)),f.params&&Bi(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),R=g.record.name);else{if(g=d.name?r.get(d.name):n.find(p=>p.re.test(d.path)),!g)throw vn(1,{location:f,currentLocation:d});R=g.record.name,_=se({},d.params,f.params),y=g.stringify(_)}const E=[];let v=g;for(;v;)E.unshift(v.record),v=v.parent;return{name:R,path:y,params:_,matched:E,meta:hg(E)}}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 Bi(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ui(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:dg(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 dg(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 Di(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function hg(e){return e.reduce((t,n)=>se(t,n.meta),{})}function Vi(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function pg(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;da(e,t[o])<0?r=o:n=o+1}const s=gg(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function gg(e){let t=e;for(;t=t.parent;)if(ha(t)&&da(e,t)===0)return t}function ha({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function mg(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(sa," "),i=o.indexOf("="),l=zn(i<0?o:o.slice(0,i)),c=i<0?null:zn(o.slice(i+1));if(l in t){let u=t[l];Ze(u)||(u=t[l]=[u]),u.push(c)}else t[l]=c}return t}function Wi(e){let t="";for(let n in e){const r=e[n];if(n=Np(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ze(r)?r.map(o=>o&&Ws(o)):[r&&Ws(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function yg(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ze(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const _g=Symbol(""),Ki=Symbol(""),To=Symbol(""),Ro=Symbol(""),qs=Symbol("");function xn(){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 Ct(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(vn(4,{from:n,to:t})):d instanceof Error?c(d):ng(d)?c(vn(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(na(c)){const a=(c.__vccOpts||c)[t];a&&o.push(Ct(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=Sp(a)?a.default:a;i.mods[l]=a,i.components[l]=f;const g=(f.__vccOpts||f)[t];return g&&Ct(g,n,r,i,l,s)()}))}}return o}function qi(e){const t=Ae(To),n=Ae(Ro),r=Ve(()=>{const c=ue(e.to);return t.resolve(c)}),s=Ve(()=>{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(bn.bind(null,a));if(d>-1)return d;const g=Gi(c[u-2]);return u>1&&Gi(a)===g&&f[f.length-1].path!==g?f.findIndex(bn.bind(null,c[u-2])):d}),o=Ve(()=>s.value>-1&&Tg(n.params,r.value.params)),i=Ve(()=>s.value>-1&&s.value===n.matched.length-1&&ca(n.params,r.value.params));function l(c={}){if(Eg(c)){const u=t[ue(e.replace)?"replace":"push"](ue(e.to)).catch(jn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:Ve(()=>r.value.href),isActive:o,isExactActive:i,navigate:l}}function bg(e){return e.length===1?e[0]:e}const vg=It({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:qi,setup(e,{slots:t}){const n=Lt(qi(e)),{options:r}=Ae(To),s=Ve(()=>({[zi(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[zi(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&bg(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)}}}),wg=vg;function Eg(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 Tg(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(!Ze(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Gi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const zi=(e,t,n)=>e??t??n,Rg=It({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ae(qs),s=Ve(()=>e.route||r.value),o=Ae(Ki,0),i=Ve(()=>{let u=ue(o);const{matched:a}=s.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),l=Ve(()=>s.value.matched[i.value]);Kt(Ki,Ve(()=>i.value+1)),Kt(_g,l),Kt(qs,s);const c=lt();return dn(()=>[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||!bn(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 Ji(n.default,{Component:d,route:u});const g=f.props[a],_=g?g===!0?u.params:typeof g=="function"?g(u):g:null,R=Pe(d,se({},_,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(f.instances[a]=null)},ref:c}));return Ji(n.default,{Component:R,route:u})||R}}});function Ji(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const pa=Rg;function Sg(e){const t=ug(e.routes,e),n=e.parseQuery||mg,r=e.stringifyQuery||Wi,s=e.history,o=xn(),i=xn(),l=xn(),c=Dn(Ue);let u=Ue;sn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=ps.bind(null,C=>""+C),f=ps.bind(null,$p),d=ps.bind(null,zn);function g(C,B){let $,W;return fa(C)?($=t.getRecordMatcher(C),W=B):W=C,t.addRoute(W,$)}function _(C){const B=t.getRecordMatcher(C);B&&t.removeRoute(B)}function y(){return t.getRoutes().map(C=>C.record)}function R(C){return!!t.getRecordMatcher(C)}function E(C,B){if(B=se({},B||c.value),typeof C=="string"){const m=gs(n,C,B.path),T=t.resolve({path:m.path},B),x=s.createHref(m.fullPath);return se(m,T,{params:d(T.params),hash:zn(m.hash),redirectedFrom:void 0,href:x})}let $;if(C.path!=null)$=se({},C,{path:gs(n,C.path,B.path).path});else{const m=se({},C.params);for(const T in m)m[T]==null&&delete m[T];$=se({},C,{params:f(m)}),B.params=f(B.params)}const W=t.resolve($,B),re=C.hash||"";W.params=a(d(W.params));const de=Up(r,se({},C,{hash:Ip(re),path:W.path})),h=s.createHref(de);return se({fullPath:de,hash:re,query:r===Wi?yg(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,B){if(u!==C)return vn(8,{from:B,to:C})}function b(C){return k(C)}function w(C){return b(se(v(C),{replace:!0}))}function P(C){const B=C.matched[C.matched.length-1];if(B&&B.redirect){const{redirect:$}=B;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,B){const $=u=E(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}),B||$);const T=$;T.redirectedFrom=B;let x;return!de&&Dp(r,W,$)&&(x=vn(16,{to:T,from:W}),et(W,W,!0,!1)),(x?Promise.resolve(x):H(T,W)).catch(S=>ut(S)?ut(S,2)?S:bt(S):V(S,T,W)).then(S=>{if(S){if(ut(S,2))return k(se({replace:h},v(S.to),{state:typeof S.to=="object"?se({},re,S.to.state):re,force:de}),B||T)}else S=M(T,W,!0,h,re);return K(T,W,S),S})}function D(C,B){const $=p(C,B);return $?Promise.reject($):Promise.resolve()}function L(C){const B=en.values().next().value;return B&&typeof B.runWithContext=="function"?B.runWithContext(C):C()}function H(C,B){let $;const[W,re,de]=Cg(C,B);$=ms(W.reverse(),"beforeRouteLeave",C,B);for(const m of W)m.leaveGuards.forEach(T=>{$.push(Ct(T,C,B))});const h=D.bind(null,C,B);return $.push(h),Fe($).then(()=>{$=[];for(const m of o.list())$.push(Ct(m,C,B));return $.push(h),Fe($)}).then(()=>{$=ms(re,"beforeRouteUpdate",C,B);for(const m of re)m.updateGuards.forEach(T=>{$.push(Ct(T,C,B))});return $.push(h),Fe($)}).then(()=>{$=[];for(const m of de)if(m.beforeEnter)if(Ze(m.beforeEnter))for(const T of m.beforeEnter)$.push(Ct(T,C,B));else $.push(Ct(m.beforeEnter,C,B));return $.push(h),Fe($)}).then(()=>(C.matched.forEach(m=>m.enterCallbacks={}),$=ms(de,"beforeRouteEnter",C,B,L),$.push(h),Fe($))).then(()=>{$=[];for(const m of i.list())$.push(Ct(m,C,B));return $.push(h),Fe($)}).catch(m=>ut(m,8)?m:Promise.reject(m))}function K(C,B,$){l.list().forEach(W=>L(()=>W(C,B,$)))}function M(C,B,$,W,re){const de=p(C,B);if(de)return de;const h=B===Ue,m=sn?history.state:{};$&&(W||h?s.replace(C.fullPath,se({scroll:h&&m&&m.scroll},re)):s.push(C.fullPath,re)),c.value=C,et(C,B,$,h),bt()}let q;function Z(){q||(q=s.listen((C,B,$)=>{if(!nr.listening)return;const W=E(C),re=P(W);if(re){k(se(re,{replace:!0,force:!0}),W).catch(jn);return}u=W;const de=c.value;sn&&Qp(Ii(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===Jn.pop&&s.go(-1,!1)}).catch(jn),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===Jn.pop&&ut(h,20)&&s.go(-1,!1)),K(W,de,h)}).catch(jn)}))}let ne=xn(),U=xn(),Y;function V(C,B,$){bt(C);const W=U.list();return W.length?W.forEach(re=>re(C,B,$)):console.error(C),Promise.reject(C)}function ge(){return Y&&c.value!==Ue?Promise.resolve():new Promise((C,B)=>{ne.add([C,B])})}function bt(C){return Y||(Y=!C,Z(),ne.list().forEach(([B,$])=>C?$(C):B()),ne.reset()),C}function et(C,B,$,W){const{scrollBehavior:re}=e;if(!sn||!re)return Promise.resolve();const de=!$&&Xp(Ii(C.fullPath,0))||(W||!$)&&history.state&&history.state.scroll||null;return Jt().then(()=>re(C,B,de)).then(h=>h&&Jp(h)).catch(h=>V(h,C,B))}const Oe=C=>s.go(C);let Zt;const en=new Set,nr={currentRoute:c,listening:!0,addRoute:g,removeRoute:_,clearRoutes:t.clearRoutes,hasRoute:R,getRoutes:y,resolve:E,options:e,push:b,replace:w,go:Oe,back:()=>Oe(-1),forward:()=>Oe(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:U.add,isReady:ge,install(C){const B=this;C.component("RouterLink",wg),C.component("RouterView",pa),C.config.globalProperties.$router=B,Object.defineProperty(C.config.globalProperties,"$route",{enumerable:!0,get:()=>ue(c)}),sn&&!Zt&&c.value===Ue&&(Zt=!0,b(s.location).catch(re=>{}));const $={};for(const re in Ue)Object.defineProperty($,re,{get:()=>c.value[re],enumerable:!0});C.provide(To,B),C.provide(Ro,mt($)),C.provide(qs,c);const W=C.unmount;en.add(C),C.unmount=function(){en.delete(C),en.size<1&&(u=Ue,q&&q(),q=null,c.value=Ue,Zt=!1,Y=!1),W()}}};function Fe(C){return C.reduce((B,$)=>B.then(()=>L($)),Promise.resolve())}return nr}function Cg(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=>bn(u,l))?r.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(u=>bn(u,c))||s.push(c))}return[n,r,s]}function Pg(e){return Ae(Ro)}const kg=/(:\w+)\([^)]+\)/g,xg=/(:\w+)[?+*]/g,Ag=/:\w+/g,Og=(e,t)=>t.path.replace(kg,"$1").replace(xg,"$1").replace(Ag,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Gs=(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&&Og(e.route,n));return typeof r=="function"?r(e.route):r},Mg=(e,t)=>({default:()=>e?Pe(Cf,e===!0?{}:e,t):t});function So(e){return Array.isArray(e)?e:[e]}const ys=[{name:"index",path:"/",component:()=>Vs(()=>import("./CrwW1KlQ.js"),__vite__mapDeps([0,1]),import.meta.url)}],ga=(e,t)=>({default:()=>{var n;return e?Pe(xu,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),Hg=/(:\w+)\([^)]+\)/g,Lg=/(:\w+)[?+*]/g,Ig=/:\w+/g;function Qi(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(Hg,"$1").replace(Lg,"$1").replace(Ig,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function Ng(e,t){return e===t||t===Ue?!1:Qi(e)!==Qi(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 jg={scrollBehavior(e,t,n){var c;const r=ve(),s=((c=Ge().options)==null?void 0:c.scrollBehaviorType)??"auto";if(e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:ma(e.hash),behavior:s}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;let i=n||void 0;!i&&Ng(e,t)&&(i={left:0,top:0});const l=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(u=>{if(t===Ue){u(Xi(e,"instant",i));return}r.hooks.hookOnce(l,()=>{requestAnimationFrame(()=>u(Xi(e,"instant",i)))})})}};function ma(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 Xi(e,t,n){return n||(e.hash?{el:e.hash,top:ma(e.hash),behavior:t}:{left:0,top:0,behavior:t})}const $g={hashMode:!1,scrollBehaviorType:"auto"},nt={...$g,...jg},Fg=async(e,t)=>{var i;let n,r;if(!((i=e.meta)!=null&&i.validate))return;const s=([n,r]=pn(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(s===!0)return;const o=Gt({fatal:!0,statusCode:s&&s.statusCode||404,statusMessage:s&&s.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),o},Bg=async e=>{let t,n;const r=([t,n]=pn(()=>vo({path:e.path})),t=await t,n(),t);if(r.redirect)return Yt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Ug=[Fg,Bg],Fn={};function Dg(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),gi(a,"")}const l=gi(r,e),c=!n||Od(l,n)?l:n;return c+(c.includes("?")?"":s)+o}const Vg=ct({name:"nuxt:router",enforce:"pre",async setup(e){var R;let t,n,r=Gr().app.baseURL;const s=((R=nt.history)==null?void 0:R.call(nt,r))??tg(r),o=nt.routes?([t,n]=pn(()=>nt.routes(ys)),t=await t,n(),t??ys):ys;let i;const l=Sg({...nt,scrollBehavior:(E,v,p)=>{if(v===Ue){i=p;return}if(nt.scrollBehavior){if(l.options.scrollBehavior=nt.scrollBehavior,"scrollRestoration"in window.history){const b=l.beforeEach(()=>{b(),window.history.scrollRestoration="manual"})}return nt.scrollBehavior(E,Ue,i||p)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const c=Dn(l.currentRoute.value);l.afterEach((E,v)=>{c.value=v}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=Dg(r,window.location,e.payload.path),a=Dn(l.currentRoute.value),f=()=>{a.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((E,v)=>{var p,b,w,P;((b=(p=E.matched[0])==null?void 0:p.components)==null?void 0:b.default)===((P=(w=v.matched[0])==null?void 0:w.components)==null?void 0:P.default)&&f()});const d={};for(const E in a.value)Object.defineProperty(d,E,{get:()=>a.value[E],enumerable:!0});e._route=mt(d),e._middleware||(e._middleware={global:[],named:{}});const g=zr();l.afterEach(async(E,v,p)=>{delete e._processingMiddleware,!e.isHydrating&&g.value&&await e.runWithContext(Ph),p&&await e.callHook("page:loading:end")});try{[t,n]=pn(()=>l.isReady()),await t,n()}catch(E){[t,n]=pn(()=>e.runWithContext(()=>Ut(E))),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(E,v)=>{var p;await e.callHook("page:loading:start"),E.meta=Lt(E.meta),e.isHydrating&&y&&!At(E.meta.layout)&&(E.meta.layout=y),e._processingMiddleware=!0;{const b=new Set([...Ug,...e._middleware.global]);for(const w of E.matched){const P=w.meta.middleware;if(P)for(const k of So(P))b.add(k)}{const w=await e.runWithContext(()=>vo({path:E.path}));if(w.appMiddleware)for(const P in w.appMiddleware)w.appMiddleware[P]?b.add(P):b.delete(P)}for(const w of b){const P=typeof w=="string"?e._middleware.named[w]||await((p=Fn[w])==null?void 0:p.call(Fn).then(k=>k.default||k)):w;if(!P)throw new Error(`Unknown route middleware: '${w}'.`);try{const k=await e.runWithContext(()=>P(E,v));if(!e.payload.serverRendered&&e.isHydrating&&(k===!1||k instanceof Error)){const D=k||Gt({statusCode:404,statusMessage:`Page Not Found: ${u}`});return await e.runWithContext(()=>Ut(D)),!1}if(k===!0)continue;if(k===!1)return k;if(k)return Jc(k)&&k.fatal&&await e.runWithContext(()=>Ut(k)),k}catch(k){const D=Gt(k);return D.fatal&&await e.runWithContext(()=>Ut(D)),D}}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(async(E,v)=>{E.matched.length===0&&await e.runWithContext(()=>Ut(Gt({statusCode:404,fatal:!1,statusMessage:`Page not found: ${E.fullPath}`,data:{path:E.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in _&&(_.name=void 0),await l.replace({..._,force:!0}),l.options.scrollBehavior=nt.scrollBehavior}catch(E){await e.runWithContext(()=>Ut(E))}}),{provide:{router:l}}}}),Yi=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Pm=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Co=e=>{const t=ve();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Yi(()=>e())}):Yi(()=>e())},Wg=ct({name:"nuxt:payload",setup(e){const t=new Set;Ge().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await Mi(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]}}),Co(()=>{var n;e.hooks.hook("link:prefetch",async r=>{const{hostname:s}=new URL(r,window.location.href);s===window.location.hostname&&await Mi(r).catch(()=>{console.warn("[nuxt] Error preloading payload for",r)})}),((n=navigator.connection)==null?void 0:n.effectiveType)!=="slow-2g"&&setTimeout(Jr,1e3)})}}),Kg=ct(()=>{const e=Ge();Co(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),qg=ct(e=>{let t;async function n(){const r=await Jr();t&&clearTimeout(t),t=setTimeout(n,wi);try{const s=await $fetch(_o("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}Co(()=>{t=setTimeout(n,wi)})});function Gg(e={}){const t=e.path||window.location.pathname;let n={};try{n=Ar(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:ve().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const zg=ct({name:"nuxt:chunk-reload",setup(e){const t=Ge(),n=Gr(),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:yo(n.app.baseURL,o.fullPath);Gg({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),Jg=ct({name:"nuxt:global-components"}),Pt={},Qg=ct({name:"nuxt:prefetch",setup(e){const t=Ge();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 Pt[r]=="function"&&await Pt[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Yt(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=So(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof Fn[i]=="function"&&Fn[i]();s&&typeof Pt[s]=="function"&&Pt[s]()})}}),Xg=ct(()=>{}),Yg=[bp,Rp,Vg,Wg,Kg,qg,zg,Jg,Qg,Xg],ya=(e="RouteProvider")=>It({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(tr,mt(s)),()=>Pe(t.vnode,{ref:t.vnodeRef})}}),Zg=ya(),Zi=new WeakMap,em=It({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const s=ve(),o=lt(),i=Ae(tr,null);let l;r({pageRef:o});const c=Ae(Gc,null);let u;const a=s.deferHydration();if(s.isHydrating){const d=s.hooks.hookOnce("app:error",a);Ge().beforeEach(d)}e.pageKey&&dn(()=>e.pageKey,(d,g)=>{d!==g&&s.callHook("page:loading:start")});let f=!1;{const d=Ge().beforeResolve(()=>{f=!1});Zn(()=>{d()})}return()=>Pe(pa,{name:e.name,route:e.route,...t},{default:d=>{const g=nm(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=Gs(d,e.pageKey),R=rm(i,d.route,d.Component);!s.isHydrating&&l===y&&!R&&Jt(()=>{f=!0,s.callHook("page:loading:end")}),l=y;const E=!!(e.transition??d.route.meta.pageTransition??vi),v=E&&tm([e.transition,d.route.meta.pageTransition,vi,{onBeforeLeave(){s._runningTransition=!0},onAfterLeave(){delete s._runningTransition,s.callHook("page:transition:finish",d.Component)}}]),p=e.keepalive??d.route.meta.keepalive??ch;return u=ga(E&&v,Mg(p,Pe(po,{suspensible:!0,onPending:()=>s.callHook("page:start",d.Component),onResolve:()=>{Jt(()=>s.callHook("page:finish",d.Component).then(()=>{if(!f&&!R)return f=!0,s.callHook("page:loading:end")}).finally(a))}},{default:()=>{const b={key:y||void 0,vnode:n.default?sm(n.default,d):d.Component,route:d.route,renderKey:y||void 0,trackRootNodes:E,vnodeRef:o};if(!p)return Pe(Zg,b);const w=d.Component.type,P=w;let k=Zi.get(P);return k||(k=ya(w.name||w.__name),Zi.set(P,k)),Pe(k,b)}}))).default(),u}})}});function tm(e){const t=e.filter(Boolean).map(n=>({...n,onAfterLeave:n.onAfterLeave?So(n.onAfterLeave):void 0}));return Kc(...t)}function nm(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&&Gs({route:t,Component:n})!==Gs({route:e,Component:n})}function rm(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 sm(e,t){const n=e(t);return n.length===1?Pe(n[0]):Pe(Ce,void 0,n)}const om=It({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>Pe(Pt[e.name],e.layoutProps,t.slots)}}),im={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},lm=It({name:"NuxtLayout",inheritAttrs:!1,props:im,setup(e,t){const n=ve(),r=Ae(tr),s=r===bo()?Pg():r,o=Ve(()=>{let c=ue(e.name)??s.meta.layout??"default";return c&&!(c in Pt)&&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);Ge().beforeEach(c)}return()=>{const c=o.value&&o.value in Pt,u=s.meta.layoutTransition??lh;return ga(c&&u,{default:()=>Pe(po,{suspensible:!0,onResolve:()=>{Jt(l)}},{default:()=>Pe(cm,{layoutProps:wc(t.attrs,{ref:i}),key:o.value||void 0,name:o.value,shouldProvide:!e.name,hasTransition:!!u},t.slots)})}).default()}}}),cm=It({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&Kt(Gc,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,s;return!n||typeof n=="string"&&!(n in Pt)?(s=(r=t.slots).default)==null?void 0:s.call(r):Pe(om,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),am=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},fm={};function um(e,t){const n=em,r=lm;return De(),ot(r,null,{default:lo(()=>[pe(n)]),_:1})}const dm=am(fm,[["render",um]]),hm={__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?jo(()=>Vs(()=>import("./CQCiRbEL.js"),__vite__mapDeps([2,3,4]),import.meta.url)):jo(()=>Vs(()=>import("./CYI2eNUl.js"),__vite__mapDeps([5,3,6]),import.meta.url));return(f,d)=>(De(),ot(ue(a),Aa(bc({statusCode:ue(r),statusMessage:ue(o),description:ue(i),stack:ue(l)})),null,16))}},pm={key:0},el={__name:"nuxt-root",setup(e){const t=()=>null,n=ve(),r=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",r);Ge().beforeEach(c)}const s=!1;Kt(tr,bo()),n.hooks.callHookWith(c=>c.map(u=>u()),"vue:setup");const o=zr(),i=!1;Wl((c,u,a)=>{if(n.hooks.callHook("vue:error",c,u,a).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),Jc(c)&&(c.fatal||c.unhandled))return n.runWithContext(()=>Ut(c)),!1});const l=!1;return(c,u)=>(De(),ot(po,{onResolve:ue(r)},{default:lo(()=>[ue(i)?(De(),hu("div",pm)):ue(o)?(De(),ot(ue(hm),{key:1,error:ue(o)},null,8,["error"])):ue(l)?(De(),ot(ue(t),{key:2,context:ue(l)},null,8,["context"])):ue(s)?(De(),ot(Hf(ue(s)),{key:3})):(De(),ot(ue(dm),{key:4}))]),_:1},8,["onResolve"]))}};let tl;{let e;tl=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")?nd(el):td(el),s=hh({vueApp:r});async function o(c){var u;await s.callHook("app:error",c),(u=s.payload).error||(u.error=Gt(c))}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)});try{await mh(s,Yg)}catch(c){o(c)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(fh),await s.hooks.callHook("app:mounted",r),await Jt()}catch(c){o(c)}return r},e=tl().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{lo as A,vc as B,Cm as C,yh as D,fo as E,Ae as F,Yc as G,Br as H,Kr as I,dn as J,Jt as K,vm as L,ym as M,Tm as N,ue as O,wc as P,be as Q,ot as R,wm as S,Dn as T,mm as U,Ce as V,bm as W,Em as X,am as _,ve as a,Co as b,Yi as c,It as d,Zn as e,Pm as f,_m as g,Pe as h,Ch as i,Ve as j,Yt as k,yo as l,Gr as m,Sm as n,ao as o,Oc as p,Gn as q,lt as r,Rm as s,hu as t,Ge as u,De as v,kd as w,_c as x,La as y,pe as z};
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?jo(()=>Vs(()=>import("./C6_BMIRJ.js"),__vite__mapDeps([2,3,4]),import.meta.url)):jo(()=>Vs(()=>import("./CyxO-88q.js"),__vite__mapDeps([5,3,6]),import.meta.url));return(f,d)=>(De(),ot(ue(a),Aa(bc({statusCode:ue(r),statusMessage:ue(o),description:ue(i),stack:ue(l)})),null,16))}},pm={key:0},el={__name:"nuxt-root",setup(e){const t=()=>null,n=ve(),r=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",r);Ge().beforeEach(c)}const s=!1;Kt(tr,bo()),n.hooks.callHookWith(c=>c.map(u=>u()),"vue:setup");const o=zr(),i=!1;Wl((c,u,a)=>{if(n.hooks.callHook("vue:error",c,u,a).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),Jc(c)&&(c.fatal||c.unhandled))return n.runWithContext(()=>Ut(c)),!1});const l=!1;return(c,u)=>(De(),ot(po,{onResolve:ue(r)},{default:lo(()=>[ue(i)?(De(),hu("div",pm)):ue(o)?(De(),ot(ue(hm),{key:1,error:ue(o)},null,8,["error"])):ue(l)?(De(),ot(ue(t),{key:2,context:ue(l)},null,8,["context"])):ue(s)?(De(),ot(Hf(ue(s)),{key:3})):(De(),ot(ue(dm),{key:4}))]),_:1},8,["onResolve"]))}};let tl;{let e;tl=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")?nd(el):td(el),s=hh({vueApp:r});async function o(c){var u;await s.callHook("app:error",c),(u=s.payload).error||(u.error=Gt(c))}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)});try{await mh(s,Yg)}catch(c){o(c)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(fh),await s.hooks.callHook("app:mounted",r),await Jt()}catch(c){o(c)}return r},e=tl().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{lo as A,vc as B,Cm as C,yh as D,fo as E,Ae as F,Yc as G,Br as H,Kr as I,dn as J,Jt as K,vm as L,ym as M,Tm as N,ue as O,wc as P,be as Q,ot as R,wm as S,Dn as T,mm as U,Ce as V,bm as W,Em as X,am as _,ve as a,Co as b,Yi as c,It as d,Zn as e,Pm as f,_m as g,Pe as h,Ch as i,Ve as j,Yt as k,yo as l,Gr as m,Sm as n,ao as o,Oc as p,Gn as q,lt as r,Rm as s,hu as t,Ge as u,De as v,kd as w,_c as x,La as y,pe as z};
@@ -1 +1 @@
1
- import{u as N,d as T,r as q,a as L,o as B,b as H,c as I,e as U,f as M,h as A,g as z,p as V,i as j,j as k,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 _,y as P,z as Y,A as Z,B as ee}from"./UAIVpYSK.js";import{u as te}from"./u1b7LyOw.js";async function E(t,n=N()){const{path:h,matched:g}=n.resolve(t);if(!g.length||(n._routePreloaded||(n._routePreloaded=new Set),n._routePreloaded.has(h)))return;const v=n._preloadPromises||(n._preloadPromises=[]);if(v.length>4)return Promise.all(v).then(()=>E(t,n));n._routePreloaded.add(h);const e=g.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 h(e){return typeof e=="string"&&e.startsWith("#")}function g(e,a,u){const r=u??t.trailingSlash;if(!e||r!=="append"&&r!=="remove")return e;if(typeof e=="string")return C(e,r);const c="path"in e&&e.path!==void 0?e.path:a(e).path;return{...e,name:void 0,path:C(c,r)}}function v(e){const a=N(),u=D(),r=k(()=>!!e.target&&e.target!=="_self"),c=k(()=>{const d=e.to||e.href||"";return typeof d=="string"&&O(d,{acceptRelative:!0})}),w=z("RouterLink"),b=typeof w!="string"?w.useLink:void 0,m=k(()=>{if(e.external)return!0;const d=e.to||e.href||"";return typeof d=="object"?!1:d===""||c.value}),o=k(()=>{const d=e.to||e.href||"";return m.value?d:g(d,a.resolve,e.trailingSlash)}),f=m.value||b==null?void 0:b({...e,to:o}),y=k(()=>{var S;const d=e.trailingSlash??t.trailingSlash;if(!o.value||c.value||h(o.value))return o.value;if(m.value){const x=typeof o.value=="object"&&"path"in o.value?j(o.value):o.value,i=typeof x=="object"?a.resolve(x).href:x;return C(i,d)}return typeof o.value=="object"?((S=a.resolve(o.value))==null?void 0:S.href)??null:C(F(u.app.baseURL,o.value),d)});return{to:o,hasTarget:r,isAbsoluteUrl:c,isExternal:m,href:y,isActive:(f==null?void 0:f.isActive)??k(()=>o.value===a.currentRoute.value.path),isExactActive:(f==null?void 0:f.isExactActive)??k(()=>o.value===a.currentRoute.value.path),route:(f==null?void 0:f.route)??k(()=>a.resolve(o.value)),async navigate(d){await $(y.value,{replace:e.replace,external:m.value||r.value})}}}return T({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},trailingSlash:{type:String,default:void 0,required:!1}},useLink:v,setup(e,{slots:a}){const u=N(),{to:r,href:c,navigate:w,isExternal:b,hasTarget:m,isAbsoluteUrl:o}=v(e),f=q(!1),y=q(null),d=i=>{var l;y.value=e.custom?(l=i==null?void 0:i.$el)==null?void 0:l.nextElementSibling:i==null?void 0:i.$el};function S(i){var l,s;return!f.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===i:((l=e.prefetchOn)==null?void 0:l[i])??((s=t.prefetchOn)==null?void 0:s[i]))&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!se()}async function x(i=L()){if(f.value)return;f.value=!0;const l=typeof r.value=="string"?r.value:b.value?j(r.value):u.resolve(r.value).fullPath,s=b.value?new URL(l,window.location.href).href:l;await Promise.all([i.hooks.callHook("link:prefetch",s).catch(()=>{}),!b.value&&!m.value&&E(r.value,u).catch(()=>{})])}if(S("visibility")){const i=L();let l,s=null;B(()=>{const p=ie();H(()=>{l=I(()=>{var R;(R=y==null?void 0:y.value)!=null&&R.tagName&&(s=p.observe(y.value,async()=>{s==null||s(),s=null,await x(i)}))})})}),U(()=>{l&&M(l),s==null||s(),s=null})}return()=>{var s;if(!b.value&&!m.value&&!h(r.value)){const p={ref:d,to:r.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(S("interaction")&&(p.onPointerenter=x.bind(null,void 0),p.onFocus=x.bind(null,void 0)),f.value&&(p.class=e.prefetchedClass||t.prefetchedClass),p.rel=e.rel||void 0),A(z("RouterLink"),p,a.default)}const i=e.target||null,l=ne(e.noRel?"":e.rel,t.externalRelAttribute,o.value||m.value?"noopener noreferrer":"")||null;return e.custom?a.default?a.default({href:c.value,navigate:w,prefetch:x,get route(){if(!c.value)return;const p=new URL(c.value,window.location.href);return{path:p.pathname,fullPath:p.pathname,get query(){return V(p.search)},hash:p.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:l,target:i,isExternal:b.value||m.value,isActive:!1,isExactActive:!1}):null:A("a",{ref:y,href:c.value||null,rel:l,target:i},(s=a.default)==null?void 0:s.call(a))}}})}const re=ae(K);function C(t,n){const h=n==="append"?W:G;return O(t)&&!t.startsWith("http")?t:h(t,!0)}function ie(){const t=L();if(t._observer)return t._observer;let n=null;const h=new Map,g=(e,a)=>(n||(n=new IntersectionObserver(u=>{for(const r of u){const c=h.get(r.target);(r.isIntersecting||r.intersectionRatio>0)&&c&&c()}})),h.set(e,a),n.observe(e),()=>{h.delete(e),n==null||n.unobserve(e),h.size===0&&(n==null||n.disconnect(),n=null)});return t._observer={observe:g}}const oe=/2g/;function se(){const t=navigator.connection;return!!(t&&(t.saveData||oe.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: }'}]}),(h,g)=>{const v=re;return X(),J("div",le,[g[0]||(g[0]=_("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),_("div",ue,[_("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:P(t.statusCode)},null,8,ce),_("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:P(t.description)},null,8,fe),_("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(P(t.backHome),1)]),_:1})])])])}}},ge=Q(he,[["__scopeId","data-v-3f6a44b2"]]);export{ge as default};
1
+ import{u as N,d as T,r as q,a as L,o as B,b as H,c as I,e as U,f as M,h as A,g as z,p as V,i as j,j as k,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 _,y as P,z as Y,A as Z,B as ee}from"./B-BZSpkz.js";import{u as te}from"./CFKT0oF2.js";async function E(t,n=N()){const{path:h,matched:g}=n.resolve(t);if(!g.length||(n._routePreloaded||(n._routePreloaded=new Set),n._routePreloaded.has(h)))return;const v=n._preloadPromises||(n._preloadPromises=[]);if(v.length>4)return Promise.all(v).then(()=>E(t,n));n._routePreloaded.add(h);const e=g.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 h(e){return typeof e=="string"&&e.startsWith("#")}function g(e,a,u){const r=u??t.trailingSlash;if(!e||r!=="append"&&r!=="remove")return e;if(typeof e=="string")return C(e,r);const c="path"in e&&e.path!==void 0?e.path:a(e).path;return{...e,name:void 0,path:C(c,r)}}function v(e){const a=N(),u=D(),r=k(()=>!!e.target&&e.target!=="_self"),c=k(()=>{const d=e.to||e.href||"";return typeof d=="string"&&O(d,{acceptRelative:!0})}),w=z("RouterLink"),b=typeof w!="string"?w.useLink:void 0,m=k(()=>{if(e.external)return!0;const d=e.to||e.href||"";return typeof d=="object"?!1:d===""||c.value}),o=k(()=>{const d=e.to||e.href||"";return m.value?d:g(d,a.resolve,e.trailingSlash)}),f=m.value||b==null?void 0:b({...e,to:o}),y=k(()=>{var S;const d=e.trailingSlash??t.trailingSlash;if(!o.value||c.value||h(o.value))return o.value;if(m.value){const x=typeof o.value=="object"&&"path"in o.value?j(o.value):o.value,i=typeof x=="object"?a.resolve(x).href:x;return C(i,d)}return typeof o.value=="object"?((S=a.resolve(o.value))==null?void 0:S.href)??null:C(F(u.app.baseURL,o.value),d)});return{to:o,hasTarget:r,isAbsoluteUrl:c,isExternal:m,href:y,isActive:(f==null?void 0:f.isActive)??k(()=>o.value===a.currentRoute.value.path),isExactActive:(f==null?void 0:f.isExactActive)??k(()=>o.value===a.currentRoute.value.path),route:(f==null?void 0:f.route)??k(()=>a.resolve(o.value)),async navigate(d){await $(y.value,{replace:e.replace,external:m.value||r.value})}}}return T({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},trailingSlash:{type:String,default:void 0,required:!1}},useLink:v,setup(e,{slots:a}){const u=N(),{to:r,href:c,navigate:w,isExternal:b,hasTarget:m,isAbsoluteUrl:o}=v(e),f=q(!1),y=q(null),d=i=>{var l;y.value=e.custom?(l=i==null?void 0:i.$el)==null?void 0:l.nextElementSibling:i==null?void 0:i.$el};function S(i){var l,s;return!f.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===i:((l=e.prefetchOn)==null?void 0:l[i])??((s=t.prefetchOn)==null?void 0:s[i]))&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!se()}async function x(i=L()){if(f.value)return;f.value=!0;const l=typeof r.value=="string"?r.value:b.value?j(r.value):u.resolve(r.value).fullPath,s=b.value?new URL(l,window.location.href).href:l;await Promise.all([i.hooks.callHook("link:prefetch",s).catch(()=>{}),!b.value&&!m.value&&E(r.value,u).catch(()=>{})])}if(S("visibility")){const i=L();let l,s=null;B(()=>{const p=ie();H(()=>{l=I(()=>{var R;(R=y==null?void 0:y.value)!=null&&R.tagName&&(s=p.observe(y.value,async()=>{s==null||s(),s=null,await x(i)}))})})}),U(()=>{l&&M(l),s==null||s(),s=null})}return()=>{var s;if(!b.value&&!m.value&&!h(r.value)){const p={ref:d,to:r.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(S("interaction")&&(p.onPointerenter=x.bind(null,void 0),p.onFocus=x.bind(null,void 0)),f.value&&(p.class=e.prefetchedClass||t.prefetchedClass),p.rel=e.rel||void 0),A(z("RouterLink"),p,a.default)}const i=e.target||null,l=ne(e.noRel?"":e.rel,t.externalRelAttribute,o.value||m.value?"noopener noreferrer":"")||null;return e.custom?a.default?a.default({href:c.value,navigate:w,prefetch:x,get route(){if(!c.value)return;const p=new URL(c.value,window.location.href);return{path:p.pathname,fullPath:p.pathname,get query(){return V(p.search)},hash:p.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:l,target:i,isExternal:b.value||m.value,isActive:!1,isExactActive:!1}):null:A("a",{ref:y,href:c.value||null,rel:l,target:i},(s=a.default)==null?void 0:s.call(a))}}})}const re=ae(K);function C(t,n){const h=n==="append"?W:G;return O(t)&&!t.startsWith("http")?t:h(t,!0)}function ie(){const t=L();if(t._observer)return t._observer;let n=null;const h=new Map,g=(e,a)=>(n||(n=new IntersectionObserver(u=>{for(const r of u){const c=h.get(r.target);(r.isIntersecting||r.intersectionRatio>0)&&c&&c()}})),h.set(e,a),n.observe(e),()=>{h.delete(e),n==null||n.unobserve(e),h.size===0&&(n==null||n.disconnect(),n=null)});return t._observer={observe:g}}const oe=/2g/;function se(){const t=navigator.connection;return!!(t&&(t.saveData||oe.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: }'}]}),(h,g)=>{const v=re;return X(),J("div",le,[g[0]||(g[0]=_("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),_("div",ue,[_("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:P(t.statusCode)},null,8,ce),_("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:P(t.description)},null,8,fe),_("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(P(t.backHome),1)]),_:1})])])])}}},ge=Q(he,[["__scopeId","data-v-3f6a44b2"]]);export{ge as default};
@@ -1 +1 @@
1
- import{C as a,D as s,E as r,F as o,G as i}from"./UAIVpYSK.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
+ import{C as a,D as s,E as r,F as o,G as i}from"./B-BZSpkz.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,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"./UAIVpYSK.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(`
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"./B-BZSpkz.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
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};
@@ -1 +1 @@
1
- import{_ as s,t as a,v as i,x as e,y as o}from"./UAIVpYSK.js";import{u}from"./u1b7LyOw.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)])]))}},b=s(f,[["__scopeId","data-v-15ef2dd2"]]);export{b as default};
1
+ import{_ as s,t as a,v as i,x as e,y as o}from"./B-BZSpkz.js";import{u}from"./CFKT0oF2.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)])]))}},b=s(f,[["__scopeId","data-v-15ef2dd2"]]);export{b as default};
@@ -1 +1 @@
1
- {"id":"48332277-c4ad-4d6a-8f09-7a58a109c32d","timestamp":1746443879728}
1
+ {"id":"bab648bf-3b57-4a37-bfa7-d3789fe7395f","timestamp":1749205473953}
@@ -0,0 +1 @@
1
+ {"id":"bab648bf-3b57-4a37-bfa7-d3789fe7395f","timestamp":1749205473953,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
@@ -1 +1 @@
1
- :root{--nui-c-context:125,125,125}html{background-color:#fff}html.dark{background-color:#151515;color:#fff;color-scheme:dark}::-moz-selection{background:#8884}::selection{background:#8884}.shiki .line{display:inline-block;position:relative;width:100%}.shiki.diff .line>span{filter:saturate(.75);opacity:.75}.shiki.diff .line-added,.shiki.diff .line-removed{scroll-margin:5em}.shiki.diff .line-added>span,.shiki.diff .line-removed>span{opacity:1!important;position:inherit;scroll-margin:20px;z-index:100}.shiki.diff .line-added>span{color:#218c3b!important}.shiki.diff .line-removed>span{color:#d15547!important}.shiki .line-added:after{background-color:#43885420}.shiki .line-added:after,.shiki .line-removed:after{bottom:0;content:"";display:block;left:0;position:absolute;right:0;top:0}.shiki .line-removed:after{background-color:#8f4c3926}::view-transition-new(root),::view-transition-old(root){animation:none;mix-blend-mode:normal}::view-transition-old(root){z-index:1}::view-transition-new(root){z-index:2147483646}.dark::view-transition-old(root){z-index:2147483646}.dark::view-transition-new(root){z-index:1}*,:after,:before{border-color:var(--un-default-border-color, #e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content: ""}:host,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;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}*,: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: }::backdrop{--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: }@font-face{font-display:swap;font-family:DM Mono;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmmono/v14/aFTU7PB1QTsUX8KYthSQBK6PYK3EXw.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Mono;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmmono/v14/aFTU7PB1QTsUX8KYthqQBK6PYK0.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmsans/v15/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxRR232RmYJp8I5zzw.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmsans/v15/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxRSW32RmYJp8I5.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}.carbon-chevron-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 22L6 12l1.4-1.4l8.6 8.6l8.6-8.6L26 12z'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.carbon-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m29 27.586l-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29ZM4 13a9 9 0 1 1 9 9a9.01 9.01 0 0 1-9-9'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.n-icon{flex:none}.n-border-base{border-color:#9ca3af33}.dark .n-bg-base{--un-bg-opacity:1;background-color:rgb(21 21 21 / var(--un-bg-opacity))}.n-bg-base,.n-code-block{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .n-code-block{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity))}.hover\:n-bg-hover:hover{background-color:#9ca3af08}.hover\:n-link-hover:hover{--un-text-opacity:1;color:rgba(var(--nui-c-context),var(--un-text-opacity));-webkit-text-decoration-color:rgba(var(--nui-c-context),var(--un-line-opacity))!important;--un-line-opacity:1 !important;opacity:1!important;text-decoration-color:rgba(var(--nui-c-context),var(--un-line-opacity))!important;text-decoration-style:dotted}.n-link-base{text-decoration-color:#0003;text-decoration-line:underline;text-underline-offset:2px}.dark .n-link-base{text-decoration-color:#fff6}.focus-within\:n-focus-base:focus-within{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-color:rgba(var(--nui-c-context),.5) }.n-transition{transition-duration:.15s;transition-duration:.2s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.-bottom-1\/2{bottom:-50%}.left-0{left:0}.right-0{right:0}.top-0{top:0}.z-10{z-index:10}.z-20{z-index:20}.grid{display:grid}.mx-0\.5{margin-left:.125rem;margin-right:.125rem}.mb-16{margin-bottom:4rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb3{margin-bottom:.75rem}.mb4{margin-bottom:1rem}.ml-0\.3em{margin-left:.3em}.ml-0\.4em{margin-left:.4em}.ml2{margin-left:.5rem}.mr-0\.1em{margin-right:.1em}.mt1{margin-top:.25rem}.inline,[inline=""]{display:inline}.inline-block{display:inline-block}.h-1\/2{height:50%}.h-auto{height:auto}.h-full,[h-full=""]{height:100%}.h1{height:.25rem}.h2{height:.5rem}.max-w-520px{max-width:520px}.min-h-screen{min-height:100vh}.w-full{width:100%}.flex,[flex~="~"]{display:flex}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-col,[flex~=col]{flex-direction:column}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.place-content-center{place-content:center}.place-self-start,[place-self-start=""]{place-self:start}.items-center,[items-center=""]{align-items:center}.justify-center{justify-content:center}.flex-gap2,.gap2,[flex~=gap2]{gap:.5rem}.gap-3,[flex~=gap-3]{gap:.75rem}.of-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.b,.border{border-width:1px}.border-r{border-right-width:1px}[border~=b]{border-bottom-width:1px}.focus-within\:border-context:focus-within{--un-border-opacity:1;border-color:rgba(var(--nui-c-context),var(--un-border-opacity))}.border-b-gray-800{--un-border-opacity:1;--un-border-bottom-opacity:var(--un-border-opacity);border-bottom-color:rgb(31 41 55 / var(--un-border-bottom-opacity))}.border-r-gray-800{--un-border-opacity:1;--un-border-right-opacity:var(--un-border-opacity);border-right-color:rgb(31 41 55 / var(--un-border-right-opacity))}.rounded{border-radius:.25rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.bg-black\/5{background-color:#0000000d}.bg-gray-400\:10{background-color:#9ca3af1a}.bg-green-400\:10{background-color:#4ade801a}.bg-orange-400\:10{background-color:#fb923c1a}.bg-red-900{--un-bg-opacity:1;background-color:rgb(127 29 29 / var(--un-bg-opacity))}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .dark\:bg-black{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.dark .dark\:bg-white\/10{background-color:#ffffff1a}.p-8{padding:2rem}.p2{padding:.5rem}.p3{padding:.75rem}.p4{padding:1rem}.p5{padding:1.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-4,.px4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.px2{padding-left:.5rem;padding-right:.5rem}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-2,.py2{padding-bottom:.5rem;padding-top:.5rem}.pb6{padding-bottom:1.5rem}.pl-1{padding-left:.25rem}.pr-2,.pr2{padding-right:.5rem}.pt-14{padding-top:3.5rem}.pt2{padding-top:.5rem}.text-center{text-align:center}.text-left{text-align:left}.text-1\.1em{font-size:1.1em}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-6xl{font-size:3.75rem;line-height:1}.text-8xl{font-size:6rem;line-height:1}.text-base,[text-base=""]{font-size:1rem;line-height:1.5rem}.text-sm,[text-sm=""]{font-size:.875rem;line-height:1.25rem}.text-xl,[text-xl=""]{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.dark .dark\:text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.text-black{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity))}.text-gray{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.text-green-400{--un-text-opacity:1;color:rgb(74 222 128 / var(--un-text-opacity))}.text-orange-400{--un-text-opacity:1;color:rgb(251 146 60 / var(--un-text-opacity))}.text-red-100{--un-text-opacity:1;color:rgb(254 226 226 / var(--un-text-opacity))}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.leading-tight{line-height:1.25}.font-mono{font-family:DM Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:DM Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.group:hover .group-hover\:opacity-100,.op100{opacity:1}.op50,[op50=""]{opacity:.5}.op60{opacity:.6}.op75,[op75=""]{opacity:.75}.opacity-0{opacity:0}.\!outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.transition,[transition=""]{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-500,[duration-500=""]{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width:640px){.sm\:px-0{padding-left:0;padding-right:0}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-3{padding-bottom:.75rem;padding-top:.75rem}.sm\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}.sm\:text-8xl{font-size:6rem;line-height:1}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}
1
+ :root{--nui-c-context:125,125,125}html{background-color:#fff}html.dark{background-color:#151515;color:#fff;color-scheme:dark}::-moz-selection{background:#8884}::selection{background:#8884}.shiki .line{display:inline-block;position:relative;width:100%}.shiki.diff .line>span{filter:saturate(.75);opacity:.75}.shiki.diff .line-added,.shiki.diff .line-removed{scroll-margin:5em}.shiki.diff .line-added>span,.shiki.diff .line-removed>span{opacity:1!important;position:inherit;scroll-margin:20px;z-index:100}.shiki.diff .line-added>span{color:#218c3b!important}.shiki.diff .line-removed>span{color:#d15547!important}.shiki .line-added:after{background-color:#43885420}.shiki .line-added:after,.shiki .line-removed:after{bottom:0;content:"";display:block;left:0;position:absolute;right:0;top:0}.shiki .line-removed:after{background-color:#8f4c3926}::view-transition-new(root),::view-transition-old(root){animation:none;mix-blend-mode:normal}::view-transition-old(root){z-index:1}::view-transition-new(root){z-index:2147483646}.dark::view-transition-old(root){z-index:2147483646}.dark::view-transition-new(root){z-index:1}*,:after,:before{border-color:var(--un-default-border-color, #e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content: ""}:host,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;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}*,: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: }::backdrop{--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: }@font-face{font-display:swap;font-family:DM Mono;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmmono/v15/aFTU7PB1QTsUX8KYthSQBK6PYK3EXw.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Mono;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmmono/v15/aFTU7PB1QTsUX8KYthqQBK6PYK0.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmsans/v16/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxRR232RmYJp8I5zzw.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmsans/v16/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxRSW32RmYJp8I5.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}.carbon-chevron-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 22L6 12l1.4-1.4l8.6 8.6l8.6-8.6L26 12z'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.carbon-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m29 27.586l-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29ZM4 13a9 9 0 1 1 9 9a9.01 9.01 0 0 1-9-9'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.n-icon{flex:none}.n-border-base{border-color:#9ca3af33}.dark .n-bg-base{--un-bg-opacity:1;background-color:rgb(21 21 21 / var(--un-bg-opacity))}.n-bg-base,.n-code-block{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .n-code-block{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity))}.hover\:n-bg-hover:hover{background-color:#9ca3af08}.hover\:n-link-hover:hover{--un-text-opacity:1;color:rgba(var(--nui-c-context),var(--un-text-opacity));-webkit-text-decoration-color:rgba(var(--nui-c-context),var(--un-line-opacity))!important;--un-line-opacity:1 !important;opacity:1!important;text-decoration-color:rgba(var(--nui-c-context),var(--un-line-opacity))!important;text-decoration-style:dotted}.n-link-base{text-decoration-color:#0003;text-decoration-line:underline;text-underline-offset:2px}.dark .n-link-base{text-decoration-color:#fff6}.focus-within\:n-focus-base:focus-within{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-color:rgba(var(--nui-c-context),.5) }.n-transition{transition-duration:.15s;transition-duration:.2s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.-bottom-1\/2{bottom:-50%}.left-0{left:0}.right-0{right:0}.top-0{top:0}.z-10{z-index:10}.z-20{z-index:20}.grid{display:grid}.mx-0\.5{margin-left:.125rem;margin-right:.125rem}.mb-16{margin-bottom:4rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb3{margin-bottom:.75rem}.mb4{margin-bottom:1rem}.ml-0\.3em{margin-left:.3em}.ml-0\.4em{margin-left:.4em}.ml2{margin-left:.5rem}.mr-0\.1em{margin-right:.1em}.mt1{margin-top:.25rem}.inline,[inline=""]{display:inline}.inline-block{display:inline-block}.h-1\/2{height:50%}.h-auto{height:auto}.h-full,[h-full=""]{height:100%}.h1{height:.25rem}.h2{height:.5rem}.max-w-520px{max-width:520px}.min-h-screen{min-height:100vh}.w-full{width:100%}.flex,[flex~="~"]{display:flex}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-col,[flex~=col]{flex-direction:column}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.place-content-center{place-content:center}.place-self-start,[place-self-start=""]{place-self:start}.items-center,[items-center=""]{align-items:center}.justify-center{justify-content:center}.flex-gap2,.gap2,[flex~=gap2]{gap:.5rem}.gap-3,[flex~=gap-3]{gap:.75rem}.of-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.b,.border{border-width:1px}.border-r{border-right-width:1px}[border~=b]{border-bottom-width:1px}.focus-within\:border-context:focus-within{--un-border-opacity:1;border-color:rgba(var(--nui-c-context),var(--un-border-opacity))}.border-b-gray-800{--un-border-opacity:1;--un-border-bottom-opacity:var(--un-border-opacity);border-bottom-color:rgb(31 41 55 / var(--un-border-bottom-opacity))}.border-r-gray-800{--un-border-opacity:1;--un-border-right-opacity:var(--un-border-opacity);border-right-color:rgb(31 41 55 / var(--un-border-right-opacity))}.rounded{border-radius:.25rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.bg-black\/5{background-color:#0000000d}.bg-gray-400\:10{background-color:#9ca3af1a}.bg-green-400\:10{background-color:#4ade801a}.bg-orange-400\:10{background-color:#fb923c1a}.bg-red-900{--un-bg-opacity:1;background-color:rgb(127 29 29 / var(--un-bg-opacity))}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .dark\:bg-black{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.dark .dark\:bg-white\/10{background-color:#ffffff1a}.p-8{padding:2rem}.p2{padding:.5rem}.p3{padding:.75rem}.p4{padding:1rem}.p5{padding:1.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-4,.px4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.px2{padding-left:.5rem;padding-right:.5rem}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-2,.py2{padding-bottom:.5rem;padding-top:.5rem}.pb6{padding-bottom:1.5rem}.pl-1{padding-left:.25rem}.pr-2,.pr2{padding-right:.5rem}.pt-14{padding-top:3.5rem}.pt2{padding-top:.5rem}.text-center{text-align:center}.text-left{text-align:left}.text-1\.1em{font-size:1.1em}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-6xl{font-size:3.75rem;line-height:1}.text-8xl{font-size:6rem;line-height:1}.text-base,[text-base=""]{font-size:1rem;line-height:1.5rem}.text-sm,[text-sm=""]{font-size:.875rem;line-height:1.25rem}.text-xl,[text-xl=""]{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.dark .dark\:text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.text-black{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity))}.text-gray{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.text-green-400{--un-text-opacity:1;color:rgb(74 222 128 / var(--un-text-opacity))}.text-orange-400{--un-text-opacity:1;color:rgb(251 146 60 / var(--un-text-opacity))}.text-red-100{--un-text-opacity:1;color:rgb(254 226 226 / var(--un-text-opacity))}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.leading-tight{line-height:1.25}.font-mono{font-family:DM Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:DM Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.group:hover .group-hover\:opacity-100,.op100{opacity:1}.op50,[op50=""]{opacity:.5}.op60{opacity:.6}.op75,[op75=""]{opacity:.75}.opacity-0{opacity:0}.\!outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.transition,[transition=""]{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-500,[duration-500=""]{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width:640px){.sm\:px-0{padding-left:0;padding-right:0}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-3{padding-bottom:.75rem;padding-top:.75rem}.sm\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}.sm\:text-8xl{font-size:6rem;line-height:1}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}
@@ -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
- <link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.Cn9qfNGa.css" crossorigin>
4
- <link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/UAIVpYSK.js">
3
+ <link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.BBgLZ1Jk.css" crossorigin>
4
+ <link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/B-BZSpkz.js">
5
5
  <link rel="prefetch" as="style" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-404.Bbd2eCoc.css">
6
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CQCiRbEL.js">
7
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/u1b7LyOw.js">
6
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/C6_BMIRJ.js">
7
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CFKT0oF2.js">
8
8
  <link rel="prefetch" as="style" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-500.Cd2cwFc3.css">
9
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CYI2eNUl.js">
10
- <script type="module" src="/__nuxt-graphql-middleware/_nuxt/UAIVpYSK.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},1746443882006,false]</script>
11
- <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-graphql-middleware",buildId:"48332277-c4ad-4d6a-8f09-7a58a109c32d",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
9
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CyxO-88q.js">
10
+ <script type="module" src="/__nuxt-graphql-middleware/_nuxt/B-BZSpkz.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},1749205476125,false]</script>
11
+ <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-graphql-middleware",buildId:"bab648bf-3b57-4a37-bfa7-d3789fe7395f",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-graphql-middleware",
3
3
  "configKey": "graphqlMiddleware",
4
- "version": "5.1.0",
4
+ "version": "5.1.1",
5
5
  "compatibility": {
6
6
  "nuxt": ">=3.17.0"
7
7
  },
package/dist/module.mjs CHANGED
@@ -20,7 +20,7 @@ import { existsSync as existsSync$1 } from 'fs';
20
20
  import { onDevToolsInitialized, extendServerRpc } from '@nuxt/devtools-kit';
21
21
 
22
22
  const name = "nuxt-graphql-middleware";
23
- const version = "5.1.0";
23
+ const version = "5.1.1";
24
24
 
25
25
  const logger = useLogger("nuxt-graphql-middleware");
26
26
  const defaultOptions = {
@@ -1167,7 +1167,7 @@ const GraphqlConfig = defineStaticTemplate(
1167
1167
  )
1168
1168
  );
1169
1169
  return `
1170
- import { hookFiles } from './hook-files'
1170
+ import { hookFiles } from './hook-files.js'
1171
1171
 
1172
1172
  const schema = ${JSON.stringify(schemaPath)}
1173
1173
 
@@ -1513,6 +1513,7 @@ class DevModeHandler {
1513
1513
  nitro = null;
1514
1514
  viteWebSocket = null;
1515
1515
  operationsToReload = /* @__PURE__ */ new Set();
1516
+ emitBroadcastEventTimeout = null;
1516
1517
  init() {
1517
1518
  this.nuxt.hooks.hookOnce("ready", this.onReady.bind(this));
1518
1519
  this.nuxt.hooks.hookOnce(
@@ -1580,15 +1581,23 @@ class DevModeHandler {
1580
1581
  );
1581
1582
  }
1582
1583
  if (this.devToolsRpc) {
1583
- try {
1584
- this.devToolsRpc.broadcast.documentsUpdated([
1585
- ...this.collector.rpcItems.values()
1586
- ]);
1587
- } catch {
1588
- logger.info(
1589
- "Failed to update GraphQL documents in dev tools. The documents might be stale."
1590
- );
1584
+ if (this.emitBroadcastEventTimeout) {
1585
+ globalThis.clearTimeout(this.emitBroadcastEventTimeout);
1591
1586
  }
1587
+ this.emitBroadcastEventTimeout = globalThis.setTimeout(() => {
1588
+ if (!this.devToolsRpc) {
1589
+ return;
1590
+ }
1591
+ try {
1592
+ this.devToolsRpc.broadcast.documentsUpdated([
1593
+ ...this.collector.rpcItems.values()
1594
+ ]);
1595
+ } catch {
1596
+ logger.info(
1597
+ "Failed to update GraphQL documents in dev tools. The documents might be stale."
1598
+ );
1599
+ }
1600
+ }, 1e3);
1592
1601
  }
1593
1602
  }
1594
1603
  onViteServerCreated(server) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-graphql-middleware",
3
- "version": "5.1.0",
3
+ "version": "5.1.1",
4
4
  "description": "Module to perform GraphQL requests as a server middleware.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +0,0 @@
1
- {"id":"48332277-c4ad-4d6a-8f09-7a58a109c32d","timestamp":1746443879728,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}