import{u as p,i as y,_ as c,j as L}from"./utils.61cc85c6.js";import{l as v}from"./nuxt-link.a91ddf68.js";import"./app.config.5ff5ca90.js";import{f as d,h as R,c as g,a as E,u as S}from"./runtime-core.esm-bundler.24b58585.js";const k="modulepreload",P=function(t,n){return t.startsWith(".")?new URL(t,n).href:t},f={},m=function(n,o,r){if(!o||o.length===0)return n();const a=document.getElementsByTagName("link");return Promise.all(o.map(e=>{if(e=P(e,r),e in f)return;f[e]=!0;const s=e.endsWith(".css"),h=s?'[rel="stylesheet"]':"";if(!!r)for(let l=a.length-1;l>=0;l--){const i=a[l];if(i.href===e&&(!s||i.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${e}"]${h}`))return;const u=document.createElement("link");if(u.rel=s?"stylesheet":k,s||(u.as="script",u.crossOrigin=""),u.href=e,document.head.appendChild(u),s)return new Promise((l,i)=>{u.addEventListener("load",l),u.addEventListener("error",()=>i(new Error(`Unable to preload CSS for ${e}`)))})})).then(()=>n())},_={default:()=>m(()=>import("./default.f8416f0c.js"),["./default.f8416f0c.js","./header.d436e027.js","./nuxt-link.a91ddf68.js","./runtime-core.esm-bundler.24b58585.js","./header.vue.a5725157.js","./auth.8c936e9a.js","./composables.050e3231.js","./app.config.5ff5ca90.js","./_plugin-vue_export-helper.c27b6911.js","./sidebar.857ed5ed.js","./sidebar.vue.f4078c43.js","./api.4ad3383d.js","./footer.b7e87aaf.js","./oauth2.39827890.css"],import.meta.url).then(t=>t.default||t),oauth2:()=>m(()=>import("./oauth2.cacf1793.js"),["./oauth2.cacf1793.js","./header.d436e027.js","./nuxt-link.a91ddf68.js","./runtime-core.esm-bundler.24b58585.js","./header.vue.a5725157.js","./auth.8c936e9a.js","./composables.050e3231.js","./app.config.5ff5ca90.js","./_plugin-vue_export-helper.c27b6911.js","./sidebar.vue.f4078c43.js","./api.4ad3383d.js","./footer.b7e87aaf.js","./oauth2.39827890.css"],import.meta.url).then(t=>t.default||t)},T=d({name:"LayoutLoader",inheritAttrs:!1,props:{name:String},async setup(t,n){const o=await _[t.name]().then(r=>r.default||r);return()=>R(o,n.attrs,n.slots)}}),j=d({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(t,n){const o=E("_route"),r=o===v()?p():o,a=g(()=>S(t.name)??r.meta.layout??"default");return()=>{const e=a.value&&a.value in _,s=r.meta.layoutTransition??y;return c(L,e&&s,{default:()=>c(T,e&&{key:a.value,name:a.value,...n.attrs},n.slots).default()}).default()}}}),B=Object.freeze(Object.defineProperty({__proto__:null,default:j},Symbol.toStringTag,{value:"Module"}));export{m as _,j as a,B as b,_ as l};
