component to enable reactivity`);
}
if (!slot) {
return fallbackSlot ? fallbackSlot() : h("div");
}
if (!unwrap2) {
return [slot()];
}
const { flatUnwrap: flatUnwrap2 } = useUnwrap();
const unwrapped = flatUnwrap2(slot(), tags);
if (between) {
return unwrapped.flatMap(
(vnode, index) => index === 0 ? [vnode] : [between(), vnode]
);
}
return unwrapped.reduce((acc, item) => {
if (typeof item.children === "string") {
if (typeof acc[acc.length - 1] === "string") {
acc[acc.length - 1] += item.children;
} else {
acc.push(item.children);
}
} else {
acc.push(item);
}
return acc;
}, []);
} catch (e) {
return h("div");
}
}
});
const _sfc_setup$j = _sfc_main$j.setup;
_sfc_main$j.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+content-edge@2.2.1-27781144.409f03f/node_modules/@nuxt/content-edge/dist/runtime/components/ContentSlot.vue");
return _sfc_setup$j ? _sfc_setup$j(props, ctx) : void 0;
};
const ContentSlot = _sfc_main$j;
const ContentSlot$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: ContentSlot
}, Symbol.toStringTag, { value: "Module" }));
const _sfc_main$i = /* @__PURE__ */ defineComponent({
__name: "ButtonLink",
__ssrInlineRender: true,
props: {
href: {
type: String,
default: ""
},
size: {
type: String,
default: "medium"
},
bold: {
type: Boolean,
default: false
},
icon: {
type: String,
default: ""
},
transparent: {
type: Boolean,
default: false
},
blank: {
type: Boolean,
required: false,
default: false
}
},
setup(__props) {
return (_ctx, _push, _parent, _attrs) => {
const _component_NuxtLink = __nuxt_component_0$3;
const _component_Icon = _sfc_main$k;
const _component_ContentSlot = ContentSlot;
_push(ssrRenderComponent(_component_NuxtLink, mergeProps({
class: ["button-link", [__props.size, __props.bold ? "font-semibold" : "font-medium"]],
to: __props.href,
target: __props.blank ? "_blank" : void 0
}, _attrs), {
default: withCtx((_, _push2, _parent2, _scopeId) => {
if (_push2) {
if (__props.icon) {
_push2(ssrRenderComponent(_component_Icon, {
name: __props.icon,
class: "w-4 h-4 mr-2"
}, null, _parent2, _scopeId));
} else {
_push2(``);
}
_push2(ssrRenderComponent(_component_ContentSlot, {
use: _ctx.$slots.default,
unwrap: "p ul li"
}, null, _parent2, _scopeId));
} else {
return [
__props.icon ? (openBlock(), createBlock(_component_Icon, {
key: 0,
name: __props.icon,
class: "w-4 h-4 mr-2"
}, null, 8, ["name"])) : createCommentVNode("", true),
createVNode(_component_ContentSlot, {
use: _ctx.$slots.default,
unwrap: "p ul li"
}, null, 8, ["use"])
];
}
}),
_: 1
}, _parent));
};
}
});
const _export_sfc = (sfc, props) => {
const target = sfc.__vccOpts || sfc;
for (const [key, val] of props) {
target[key] = val;
}
return target;
};
const _sfc_setup$i = _sfc_main$i.setup;
_sfc_main$i.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/content/ButtonLink.vue");
return _sfc_setup$i ? _sfc_setup$i(props, ctx) : void 0;
};
const __nuxt_component_1$3 = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-df52924a"]]);
const ButtonLink = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: __nuxt_component_1$3
}, Symbol.toStringTag, { value: "Module" }));
const _sfc_main$h = {};
function _sfc_ssrRender$3(_ctx, _push, _parent, _attrs) {
const _component_ButtonLink = __nuxt_component_1$3;
_push(` This is not the page you're looking for.
`);
_push(ssrRenderComponent(_component_ButtonLink, {
href: "/",
size: "large",
variant: "primary"
}, {
default: withCtx((_, _push2, _parent2, _scopeId) => {
if (_push2) {
_push2(` Go back home `);
} else {
return [
createTextVNode(" Go back home ")
];
}
}),
_: 1
}, _parent));
_push(`
`);
}
const _sfc_setup$h = _sfc_main$h.setup;
_sfc_main$h.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/DocumentDrivenNotFound.vue");
return _sfc_setup$h ? _sfc_setup$h(props, ctx) : void 0;
};
const __nuxt_component_3$1 = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["ssrRender", _sfc_ssrRender$3]]);
const DocumentDrivenNotFound = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: __nuxt_component_3$1
}, Symbol.toStringTag, { value: "Module" }));
const useContentState = () => {
const pages = useState("dd-pages", () => ({}));
const surrounds = useState("dd-surrounds", () => ({}));
const navigation = useState("dd-navigation");
const globals = useState("dd-globals", () => ({}));
return {
pages,
surrounds,
navigation,
globals
};
};
const useContent = () => {
const { navigation, pages, surrounds, globals } = useContentState();
const _path = computed(() => withoutTrailingSlash(useRoute().path));
const page2 = computed(() => pages.value[_path.value]);
const surround = computed(() => surrounds.value[_path.value]);
const toc = computed(() => {
var _a, _b;
return (_b = (_a = page2 == null ? void 0 : page2.value) == null ? void 0 : _a.body) == null ? void 0 : _b.toc;
});
const type = computed(() => {
var _a;
return (_a = page2.value) == null ? void 0 : _a.type;
});
const excerpt = computed(() => {
var _a;
return (_a = page2.value) == null ? void 0 : _a.excerpt;
});
const layout2 = computed(() => {
var _a;
return (_a = page2.value) == null ? void 0 : _a.layout;
});
const next = computed(() => {
var _a;
return (_a = surround.value) == null ? void 0 : _a[1];
});
const prev = computed(() => {
var _a;
return (_a = surround.value) == null ? void 0 : _a[0];
});
return {
globals,
navigation,
surround,
page: page2,
excerpt,
toc,
type,
layout: layout2,
next,
prev
};
};
const useContentHead = (_content, to = useRoute()) => {
const content = unref(_content);
const refreshHead = (data = content) => {
if (!to.path || !data) {
return;
}
const head = Object.assign({}, (data == null ? void 0 : data.head) || {});
const title = head.title || (data == null ? void 0 : data.title);
if (title) {
head.title = title;
}
head.meta = [...head.meta || []];
const description = (head == null ? void 0 : head.description) || (data == null ? void 0 : data.description);
if (description && head.meta.filter((m) => m.name === "description").length === 0) {
head.meta.push({
name: "description",
content: description
});
}
const image = (head == null ? void 0 : head.image) || (data == null ? void 0 : data.image);
if (image && head.meta.filter((m) => m.property === "og:image").length === 0) {
if (typeof image === "string") {
head.meta.push({
property: "og:image",
content: image
});
}
if (typeof image === "object") {
const imageKeys = [
"src",
"secure_url",
"type",
"width",
"height",
"alt"
];
for (const key of imageKeys) {
if (key === "src" && image.src) {
head.meta.push({
property: "og:image",
content: image[key]
});
} else if (image[key]) {
head.meta.push({
property: `og:image:${key}`,
content: image[key]
});
}
}
}
}
{
useHead(head);
}
};
watch(() => unref(_content), refreshHead, { immediate: true });
};
const meta = void 0;
const _routes = [
{
name: "slug",
path: "/:slug(.*)*",
file: "/Users/wobsoriano/tmp/trpc-nuxt/node_modules/.pnpm/@nuxt+content-edge@2.2.1-27781144.409f03f/node_modules/@nuxt/content-edge/dist/runtime/pages/document-driven.vue",
children: [],
meta,
alias: [],
redirect: void 0,
component: () => import('./_nuxt/document-driven.948a6a20.mjs').then((m) => m.default || m)
}
];
const routerOptions0 = {
scrollBehavior: (to, _, savedPosition) => {
if (to.hash) {
const el = document.querySelector(to.hash);
if (el) {
const top = parseFloat(getComputedStyle(el).scrollMarginTop);
return {
el: to.hash,
behavior: "smooth",
top
};
}
return {
el: to.hash,
behavior: "smooth"
};
}
if (savedPosition) {
return savedPosition;
} else {
return { top: 0 };
}
}
};
const configRouterOptions = {};
const routerOptions = {
...configRouterOptions,
...routerOptions0
};
const validate = defineNuxtRouteMiddleware(async (to) => {
var _a;
let __temp, __restore;
if (!((_a = to.meta) == null ? void 0 : _a.validate)) {
return;
}
const result = ([__temp, __restore] = executeAsync(() => Promise.resolve(to.meta.validate(to))), __temp = await __temp, __restore(), __temp);
if (typeof result === "boolean") {
return result;
}
return createError(result);
});
const globalMiddleware = [
validate
];
const namedMiddleware = {};
const ___node_modules__pnpm_nuxt_643_0_0_rc_12_node_modules_nuxt_dist_pages_runtime_router_mjs_C5BzmoDD65 = defineNuxtPlugin(async (nuxtApp) => {
var _a, _b, _c, _d;
let __temp, __restore;
let routerBase = useRuntimeConfig().app.baseURL;
if (routerOptions.hashMode && !routerBase.includes("#")) {
routerBase += "#";
}
const history = (_b = (_a = routerOptions.history) == null ? void 0 : _a.call(routerOptions, routerBase)) != null ? _b : createMemoryHistory(routerBase);
const routes = (_d = (_c = routerOptions.routes) == null ? void 0 : _c.call(routerOptions, _routes)) != null ? _d : _routes;
const initialURL = nuxtApp.ssrContext.url;
const router = createRouter({
...routerOptions,
history,
routes
});
nuxtApp.vueApp.use(router);
const previousRoute = shallowRef(router.currentRoute.value);
router.afterEach((_to, from) => {
previousRoute.value = from;
});
Object.defineProperty(nuxtApp.vueApp.config.globalProperties, "previousRoute", {
get: () => previousRoute.value
});
const _route = shallowRef(router.resolve(initialURL));
const syncCurrentRoute = () => {
_route.value = router.currentRoute.value;
};
nuxtApp.hook("page:finish", syncCurrentRoute);
router.afterEach((to, from) => {
var _a2, _b2, _c2, _d2;
if (((_b2 = (_a2 = to.matched[0]) == null ? void 0 : _a2.components) == null ? void 0 : _b2.default) === ((_d2 = (_c2 = from.matched[0]) == null ? void 0 : _c2.components) == null ? void 0 : _d2.default)) {
syncCurrentRoute();
}
});
const route = {};
for (const key in _route.value) {
route[key] = computed(() => _route.value[key]);
}
nuxtApp._route = reactive(route);
nuxtApp._middleware = nuxtApp._middleware || {
global: [],
named: {}
};
useError();
try {
if (true) {
;
[__temp, __restore] = executeAsync(() => router.push(initialURL)), await __temp, __restore();
;
}
;
[__temp, __restore] = executeAsync(() => router.isReady()), await __temp, __restore();
;
} catch (error2) {
callWithNuxt(nuxtApp, showError, [error2]);
}
const initialLayout = useState("_layout");
router.beforeEach(async (to, from) => {
var _a2, _b2;
to.meta = reactive(to.meta);
if (nuxtApp.isHydrating) {
to.meta.layout = (_a2 = initialLayout.value) != null ? _a2 : to.meta.layout;
}
nuxtApp._processingMiddleware = true;
const middlewareEntries = /* @__PURE__ */ new Set([...globalMiddleware, ...nuxtApp._middleware.global]);
for (const component of to.matched) {
const componentMiddleware = component.meta.middleware;
if (!componentMiddleware) {
continue;
}
if (Array.isArray(componentMiddleware)) {
for (const entry2 of componentMiddleware) {
middlewareEntries.add(entry2);
}
} else {
middlewareEntries.add(componentMiddleware);
}
}
for (const entry2 of middlewareEntries) {
const middleware = typeof entry2 === "string" ? nuxtApp._middleware.named[entry2] || await ((_b2 = namedMiddleware[entry2]) == null ? void 0 : _b2.call(namedMiddleware).then((r) => r.default || r)) : entry2;
if (!middleware) {
throw new Error(`Unknown route middleware: '${entry2}'.`);
}
const result = await callWithNuxt(nuxtApp, middleware, [to, from]);
{
if (result === false || result instanceof Error) {
const error2 = result || createError$1({
statusCode: 404,
statusMessage: `Page Not Found: ${initialURL}`
});
return callWithNuxt(nuxtApp, showError, [error2]);
}
}
if (result || result === false) {
return result;
}
}
});
router.afterEach(async (to) => {
delete nuxtApp._processingMiddleware;
if (to.matched.length === 0) {
callWithNuxt(nuxtApp, showError, [createError$1({
statusCode: 404,
fatal: false,
statusMessage: `Page not found: ${to.fullPath}`
})]);
} else if (to.matched[0].name === "404" && nuxtApp.ssrContext) {
nuxtApp.ssrContext.event.res.statusCode = 404;
} else {
const currentURL = to.fullPath || "/";
if (!isEqual$1(currentURL, initialURL)) {
await callWithNuxt(nuxtApp, navigateTo, [currentURL]);
}
}
});
nuxtApp.hooks.hookOnce("app:created", async () => {
try {
await router.replace({
...router.resolve(initialURL),
name: void 0,
force: true
});
} catch (error2) {
callWithNuxt(nuxtApp, showError, [error2]);
}
});
return { provide: { router } };
});
const get = (obj, path) => path.split(".").reduce((acc, part) => acc && acc[part], obj);
const _pick = (obj, condition) => Object.keys(obj).filter(condition).reduce((newObj, key) => Object.assign(newObj, { [key]: obj[key] }), {});
const apply = (fn) => (data) => Array.isArray(data) ? data.map((item) => fn(item)) : fn(data);
const detectProperties = (keys) => {
const prefixes = [];
const properties = [];
for (const key of keys) {
if (["$", "_"].includes(key)) {
prefixes.push(key);
} else {
properties.push(key);
}
}
return { prefixes, properties };
};
const withoutKeys = (keys = []) => (obj) => {
if (keys.length === 0 || !obj) {
return obj;
}
const { prefixes, properties } = detectProperties(keys);
return _pick(obj, (key) => !properties.includes(key) && !prefixes.includes(key[0]));
};
const withKeys = (keys = []) => (obj) => {
if (keys.length === 0 || !obj) {
return obj;
}
const { prefixes, properties } = detectProperties(keys);
return _pick(obj, (key) => properties.includes(key) || prefixes.includes(key[0]));
};
const sortList = (data, params) => {
const comperable = new Intl.Collator(params.$locale, {
numeric: params.$numeric,
caseFirst: params.$caseFirst,
sensitivity: params.$sensitivity
});
const keys = Object.keys(params).filter((key) => !key.startsWith("$"));
for (const key of keys) {
data = data.sort((a, b) => {
const values = [get(a, key), get(b, key)].map((value) => {
if (value === null) {
return void 0;
}
if (value instanceof Date) {
return value.toISOString();
}
return value;
});
if (params[key] === -1) {
values.reverse();
}
return comperable.compare(values[0], values[1]);
});
}
return data;
};
const assertArray = (value, message = "Expected an array") => {
if (!Array.isArray(value)) {
throw new TypeError(message);
}
};
const ensureArray = (value) => Array.isArray(value) ? value : value ? [value] : [];
const arrayParams = ["sort", "where", "only", "without"];
const createQuery = (fetcher, intitialParams) => {
const queryParams = {
...intitialParams
};
for (const key of arrayParams) {
if (queryParams[key]) {
queryParams[key] = ensureArray(queryParams[key]);
}
}
const $set = (key, fn = (v) => v) => {
return (...values) => {
queryParams[key] = fn(...values);
return query;
};
};
const query = {
params: () => queryParams,
only: $set("only", ensureArray),
without: $set("without", ensureArray),
where: $set("where", (q) => [...ensureArray(queryParams.where), q]),
sort: $set("sort", (sort) => [...ensureArray(queryParams.sort), ...ensureArray(sort)]),
limit: $set("limit", (v) => parseInt(String(v), 10)),
skip: $set("skip", (v) => parseInt(String(v), 10)),
find: () => fetcher(query),
findOne: () => {
queryParams.first = true;
return fetcher(query);
},
findSurround: (surroundQuery, options) => {
queryParams.surround = { query: surroundQuery, ...options };
return fetcher(query);
},
locale: (_locale) => query.where({ _locale })
};
return query;
};
function jsonStringify(value) {
return JSON.stringify(value, regExpReplacer);
}
function regExpReplacer(_key, value) {
if (value instanceof RegExp) {
return `--REGEX ${value.toString()}`;
}
return value;
}
const createQueryFetch = (path) => async (query) => {
var _a;
if (path) {
if (query.params().first && (query.params().where || []).length === 0) {
query.where({ _path: withoutTrailingSlash(path) });
} else {
query.where({ _path: new RegExp(`^${path.replace(/[-[\]{}()*+.,^$\s/]/g, "\\$&")}`) });
}
}
if (!((_a = query.params().sort) == null ? void 0 : _a.length)) {
query.sort({ _file: 1, $numeric: true });
}
const params = query.params();
const apiPath = withContentBase(`/query/${hash(params)}.json`);
{
addPrerenderPath(apiPath);
}
if (shouldUseClientDB()) {
const db = await import('./_nuxt/client-db.6f1ed46a.mjs').then((m) => m.useContentDatabase());
return db.fetch(query);
}
const data = await $fetch(apiPath, {
method: "GET",
responseType: "json",
params: {
_params: jsonStringify(params),
previewToken: useCookie("previewToken").value
}
});
if (typeof data === "string" && data.startsWith("")) {
throw new Error("Not found");
}
return data;
};
function queryContent(query, ...pathParts) {
if (typeof query === "string") {
return createQuery(createQueryFetch(withLeadingSlash(joinURL(query, ...pathParts))));
}
return createQuery(createQueryFetch(), query);
}
const navBottomLink = (link) => {
if (!link.children) {
return link._path;
}
for (const child of (link == null ? void 0 : link.children) || []) {
const result = navBottomLink(child);
if (result) {
return result;
}
}
};
const navDirFromPath = (path, tree) => {
for (const file of tree) {
if (file._path === path && !file._id) {
return file.children;
}
if (file.children) {
const result = navDirFromPath(path, file.children);
if (result) {
return result;
}
}
}
};
const navPageFromPath = (path, tree) => {
for (const file of tree) {
if (file._path === path) {
return file;
}
if (file.children) {
const result = navPageFromPath(path, file.children);
if (result) {
return result;
}
}
}
};
const navKeyFromPath = (path, key, tree) => {
let value;
const goDeep = (path2, tree2) => {
for (const file of tree2) {
if ((path2 == null ? void 0 : path2.startsWith(file._path)) && file[key]) {
value = file[key];
}
if (file._path === path2) {
return;
}
if (file.children) {
goDeep(path2, file.children);
}
}
};
goDeep(path, tree);
return value;
};
const useContentHelpers = () => {
return {
navBottomLink,
navDirFromPath,
navPageFromPath,
navKeyFromPath
};
};
const fetchContentNavigation = async (queryBuilder) => {
let params = queryBuilder;
if (typeof (params == null ? void 0 : params.params) === "function") {
params = params.params();
}
const apiPath = withContentBase(params ? `/navigation/${hash(params)}.json` : "/navigation");
{
addPrerenderPath(apiPath);
}
if (shouldUseClientDB()) {
const generateNavigation = await import('./_nuxt/client-db.6f1ed46a.mjs').then((m) => m.generateNavigation);
return generateNavigation(params || {});
}
const data = await $fetch(apiPath, {
method: "GET",
responseType: "json",
params: {
_params: jsonStringify(params || {}),
previewToken: useCookie("previewToken").value
}
});
if (typeof data === "string" && data.startsWith("")) {
throw new Error("Not found");
}
return data;
};
const ___node_modules__pnpm__64nuxt_43content_edge_642_2_1_27781144_409f03f_node_modules__64nuxt_content_edge_dist_runtime_plugins_documentDriven_mjs_N1K1W9Kztw = defineNuxtPlugin((nuxt) => {
var _a, _b;
const { documentDriven: moduleOptions, clientDB } = (_b = (_a = useRuntimeConfig()) == null ? void 0 : _a.public) == null ? void 0 : _b.content;
const findLayout = (to, page2, navigation, globals) => {
var _a2;
if (page2 && (page2 == null ? void 0 : page2.layout)) {
return page2.layout;
}
if (to.matched.length && ((_a2 = to.matched[0].meta) == null ? void 0 : _a2.layout)) {
return to.matched[0].meta.layout;
}
if (navigation && page2) {
const { navKeyFromPath: navKeyFromPath2 } = useContentHelpers();
const layoutFromNav = navKeyFromPath2(page2._path, "layout", navigation);
if (layoutFromNav) {
return layoutFromNav;
}
}
if (moduleOptions.layoutFallbacks && globals) {
let layoutFallback;
for (const fallback of moduleOptions.layoutFallbacks) {
if (globals[fallback] && globals[fallback].layout) {
layoutFallback = globals[fallback].layout;
break;
}
}
if (layoutFallback) {
return layoutFallback;
}
}
return "default";
};
const refresh = async (to, force = false) => {
const routeConfig = to.meta.documentDriven || {};
if (to.meta.documentDriven === false) {
return;
}
!force && nuxt.callHook("content:middleware:start");
const { navigation, pages, globals, surrounds } = useContentState();
const _path = withoutTrailingSlash(to.path);
const promises = [];
if (moduleOptions.navigation && routeConfig.navigation !== false) {
const navigationQuery = () => {
const { navigation: navigation2 } = useContentState();
if (navigation2.value && !force) {
return navigation2.value;
}
return fetchContentNavigation().then((_navigation) => {
navigation2.value = _navigation;
return _navigation;
}).catch((_) => {
});
};
promises.push(navigationQuery);
} else {
promises.push(() => Promise.resolve(null));
}
if (moduleOptions.globals) {
const globalsQuery = () => {
const { globals: globals2 } = useContentState();
if (typeof moduleOptions.globals === "object" && Array.isArray(moduleOptions.globals)) {
console.log("Globals must be a list of keys with QueryBuilderParams as a value.");
return;
}
return Promise.all(
Object.entries(moduleOptions.globals).map(
([key, query]) => {
if (!force && globals2.value[key]) {
return globals2.value[key];
}
let type = "findOne";
if (query == null ? void 0 : query.type) {
type = query.type;
}
return queryContent(query)[type]().catch(() => {
});
}
)
).then(
(values) => {
return values.reduce(
(acc, value, index) => {
const key = Object.keys(moduleOptions.globals)[index];
acc[key] = value;
return acc;
},
{}
);
}
);
};
promises.push(globalsQuery);
} else {
promises.push(() => Promise.resolve(null));
}
if (moduleOptions.page && routeConfig.page !== false) {
let where = { _path };
if (typeof routeConfig.page === "string") {
where = { _path: routeConfig.page };
}
if (typeof routeConfig.page === "object") {
where = routeConfig.page;
}
const pageQuery = () => {
const { pages: pages2 } = useContentState();
if (!force && pages2.value[_path] && pages2.value[_path]._path === _path) {
return pages2.value[_path];
}
return queryContent().where(where).findOne().catch(() => {
});
};
promises.push(pageQuery);
} else {
promises.push(() => Promise.resolve(null));
}
if (moduleOptions.surround && routeConfig.surround !== false) {
let surround = _path;
if (["string", "object"].includes(typeof routeConfig.page)) {
surround = routeConfig.page;
}
if (["string", "object"].includes(typeof routeConfig.surround)) {
surround = routeConfig.surround;
}
const surroundQuery = () => {
const { surrounds: surrounds2 } = useContentState();
if (!force && surrounds2.value[_path]) {
return surrounds2.value[_path];
}
return queryContent().where({
_partial: { $not: true },
navigation: { $not: false }
}).without(["body"]).findSurround(surround).catch(() => {
});
};
promises.push(surroundQuery);
} else {
promises.push(() => Promise.resolve(null));
}
return await Promise.all(promises.map((promise) => promise())).then(async ([
_navigation,
_globals,
_page,
_surround
]) => {
var _a2, _b2, _c, _d;
if (_navigation) {
navigation.value = _navigation;
}
if (_globals) {
globals.value = _globals;
}
if (_page == null ? void 0 : _page.redirect) {
return _page == null ? void 0 : _page.redirect;
}
if ((_b2 = (_a2 = _page == null ? void 0 : _page._dir) == null ? void 0 : _a2.navigation) == null ? void 0 : _b2.redirect) {
return (_d = (_c = _page == null ? void 0 : _page._dir) == null ? void 0 : _c.navigation) == null ? void 0 : _d.redirect;
}
if (_page) {
const layoutName = findLayout(to, _page, _navigation, _globals);
const layout2 = layouts[layoutName];
if (layout2 && typeof layout2 === "function") {
await layout2();
}
to.meta.layout = layoutName;
_page.layout = layoutName;
pages.value[_path] = _page;
}
if (_surround) {
surrounds.value[_path] = _surround;
}
});
};
addRouteMiddleware(async (to, from) => {
if (to.path.includes("favicon.ico")) {
return;
}
const redirect = await refresh(to, false);
if (redirect) {
if (hasProtocol(redirect)) {
return callWithNuxt(nuxt, navigateTo, [redirect, { external: true }]);
} else {
return redirect;
}
}
});
{
delete nuxt.payload.prerenderedAt;
}
nuxt.hook("app:data:refresh", async () => false);
});
const ___node_modules__pnpm__64nuxt_43content_edge_642_2_1_27781144_409f03f_node_modules__64nuxt_content_edge_dist_runtime_plugins_ws_mjs_Whju5gMMZ3 = defineNuxtPlugin(() => {
useRuntimeConfig().public;
});
const preference = "system";
const componentName = "ColorScheme";
const dataValue = "theme";
const ___node_modules__pnpm__64nuxtjs_43color_mode_643_1_8_node_modules__64nuxtjs_color_mode_dist_runtime_plugin_server_mjs_pKXMIUCV0M = defineNuxtPlugin((nuxtApp) => {
const colorMode = useState("color-mode", () => reactive({
preference,
value: preference,
unknown: true,
forced: false
})).value;
const htmlAttrs = {};
{
useHead({ htmlAttrs });
}
useRouter().afterEach((to) => {
const forcedColorMode = to.meta.colorMode;
if (forcedColorMode && forcedColorMode !== "system") {
colorMode.value = htmlAttrs["data-color-mode-forced"] = forcedColorMode;
{
htmlAttrs[`data-${dataValue}`] = colorMode.value;
}
colorMode.forced = true;
} else if (forcedColorMode === "system") {
console.warn("You cannot force the colorMode to system at the page level.");
}
});
nuxtApp.provide("colorMode", colorMode);
});
const theme = {
"colors.primary.50": {
"value": "#d9f1ff",
"original": "#d9f1ff",
"attributes": {
"variable": "var(--colors-primary-50)"
}
},
"colors.primary.100": {
"value": "#b3e4ff",
"original": "#b3e4ff",
"attributes": {
"variable": "var(--colors-primary-100)"
}
},
"colors.primary.200": {
"value": "#8dd6ff",
"original": "#8dd6ff",
"attributes": {
"variable": "var(--colors-primary-200)"
}
},
"colors.primary.300": {
"value": "#66c8ff",
"original": "#66c8ff",
"attributes": {
"variable": "var(--colors-primary-300)"
}
},
"colors.primary.400": {
"value": "#40bbff",
"original": "#40bbff",
"attributes": {
"variable": "var(--colors-primary-400)"
}
},
"colors.primary.500": {
"value": "#1aadff",
"original": "#1aadff",
"attributes": {
"variable": "var(--colors-primary-500)"
}
},
"colors.primary.600": {
"value": "#0090e1",
"original": "#0090e1",
"attributes": {
"variable": "var(--colors-primary-600)"
}
},
"colors.primary.700": {
"value": "#006ca9",
"original": "#006ca9",
"attributes": {
"variable": "var(--colors-primary-700)"
}
},
"colors.primary.800": {
"value": "#004870",
"original": "#004870",
"attributes": {
"variable": "var(--colors-primary-800)"
}
},
"colors.primary.900": {
"value": "#002438",
"original": "#002438",
"attributes": {
"variable": "var(--colors-primary-900)"
}
},
"fonts.primary": {
"value": "Inter, sans-serif",
"original": "Inter, sans-serif",
"attributes": {
"variable": "var(--fonts-primary)"
}
},
"fonts.code": {
"value": "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",
"original": "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",
"attributes": {
"variable": "var(--fonts-code)"
}
},
"page.height": {
"value": "calc(100vh - calc(calc(64px + 50px)))",
"original": "calc(100vh - calc(calc({header.height} + {footer.height})))",
"attributes": {
"variable": "var(--page-height)"
}
},
"page.maxWidth": {
"value": "90rem",
"original": "90rem",
"attributes": {
"variable": "var(--page-max-width)"
}
},
"header.height": {
"value": "64px",
"original": "64px",
"attributes": {
"variable": "var(--header-height)"
}
},
"footer.height": {
"value": "50px",
"original": "50px",
"attributes": {
"variable": "var(--footer-height)"
}
},
"screens.lg": {
"value": "1024px",
"original": "1024px",
"attributes": {
"variable": "var(--screens-lg)"
}
},
"title": {
"value": "asddsasda 3s",
"original": "asddsasda 3s",
"attributes": {
"variable": "var(--title)"
}
},
"cover.src": {
"value": "https://res.cloudinary.com/nuxt/image/upload/v1650870623/nuxt3-rc-social_z6qh3m.png",
"original": "https://res.cloudinary.com/nuxt/image/upload/v1650870623/nuxt3-rc-social_z6qh3m.png",
"attributes": {
"variable": "var(--cover-src)"
}
},
"cover.alt": {
"value": "Nuxt 3 cover image",
"original": "Nuxt 3 cover image",
"attributes": {
"variable": "var(--cover-alt)"
}
}
};
const theme$1 = { theme };
const _nuxt_pinceau_imports_mjs_8K3h7hEN4C = defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.use(plugin, { theme: theme$1, colorSchemeMode: "class" });
nuxtApp.hook("app:rendered", (app) => {
const content = app.ssrContext.nuxt.vueApp.config.globalProperties.$pinceauSsr.get();
app.ssrContext.event.pinceauContent = content;
});
});
const ___node_modules__pnpm__64nuxt_themes_43docus_edge_640_1_0_2a7c428_nuxt_643_0_0_rc_12_node_modules__64nuxt_themes_docus_edge_plugins_menu_ts_CoD95XR15C = defineNuxtPlugin((ctx) => {
const visible = ref(false);
const open = () => visible.value = true;
const close = () => visible.value = false;
const toggle = () => visible.value = !visible.value;
ctx.$router.afterEach(() => setTimeout(close, 50));
return {
provide: {
menu: {
visible,
close,
open,
toggle
}
}
};
});
const _plugins = [
_nuxt_components_plugin_mjs_KR1HBZs4kY,
___node_modules__pnpm_nuxt_643_0_0_rc_12_node_modules_nuxt_dist_head_runtime_lib_vueuse_head_plugin_mjs_LZaLBBcRRo,
___node_modules__pnpm_nuxt_643_0_0_rc_12_node_modules_nuxt_dist_head_runtime_mixin_plugin_mjs_AvvqvYYfRj,
___node_modules__pnpm_nuxt_643_0_0_rc_12_node_modules_nuxt_dist_pages_runtime_router_mjs_C5BzmoDD65,
___node_modules__pnpm__64nuxt_43content_edge_642_2_1_27781144_409f03f_node_modules__64nuxt_content_edge_dist_runtime_plugins_documentDriven_mjs_N1K1W9Kztw,
___node_modules__pnpm__64nuxt_43content_edge_642_2_1_27781144_409f03f_node_modules__64nuxt_content_edge_dist_runtime_plugins_ws_mjs_Whju5gMMZ3,
___node_modules__pnpm__64nuxtjs_43color_mode_643_1_8_node_modules__64nuxtjs_color_mode_dist_runtime_plugin_server_mjs_pKXMIUCV0M,
_nuxt_pinceau_imports_mjs_8K3h7hEN4C,
___node_modules__pnpm__64nuxt_themes_43docus_edge_640_1_0_2a7c428_nuxt_643_0_0_rc_12_node_modules__64nuxt_themes_docus_edge_plugins_menu_ts_CoD95XR15C
];
const _sfc_main$g = {
__name: "nuxt-root",
__ssrInlineRender: true,
setup(__props) {
const ErrorComponent = defineAsyncComponent(() => import('./_nuxt/error-component.dd9a2087.mjs').then((r) => r.default || r));
const nuxtApp = useNuxtApp();
nuxtApp.deferHydration();
provide("_route", useRoute());
nuxtApp.hooks.callHookWith((hooks) => hooks.map((hook) => hook()), "vue:setup");
const error = useError();
onErrorCaptured((err, target, info) => {
nuxtApp.hooks.callHook("vue:error", err, target, info).catch((hookError) => console.error("[nuxt] Error in `vue:error` hook", hookError));
{
callWithNuxt(nuxtApp, showError, [err]);
}
});
return (_ctx, _push, _parent, _attrs) => {
const _component_App = resolveComponent("App");
ssrRenderSuspense(_push, {
default: () => {
if (unref(error)) {
_push(ssrRenderComponent(unref(ErrorComponent), { error: unref(error) }, null, _parent));
} else {
_push(ssrRenderComponent(_component_App, null, null, _parent));
}
},
_: 1
});
};
}
};
const _sfc_setup$g = _sfc_main$g.setup;
_sfc_main$g.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/nuxt@3.0.0-rc.12/node_modules/nuxt/dist/app/components/nuxt-root.vue");
return _sfc_setup$g ? _sfc_setup$g(props, ctx) : void 0;
};
const _sfc_main$f = {
__name: "AppLoadingBar",
__ssrInlineRender: true,
props: {
throttle: {
type: Number,
default: 200
},
duration: {
type: Number,
default: 2e3
},
height: {
type: Number,
default: 3
}
},
setup(__props) {
const props = __props;
const nuxtApp = useNuxtApp();
const data = reactive({
percent: 0,
show: false,
canSucceed: true
});
let _timer = null;
let _throttle = null;
let _cut;
function clear() {
_timer && clearInterval(_timer);
_throttle && clearTimeout(_throttle);
_timer = null;
}
function start() {
if (data.show) {
return;
}
clear();
data.percent = 0;
data.canSucceed = true;
if (props.throttle) {
_throttle = setTimeout(startTimer, props.throttle);
} else {
startTimer();
}
}
function increase(num) {
data.percent = Math.min(100, Math.floor(data.percent + num));
}
function finish() {
data.percent = 100;
hide();
}
function hide() {
clear();
setTimeout(() => {
data.show = false;
setTimeout(() => {
data.percent = 0;
}, 400);
}, 500);
}
function startTimer() {
data.show = true;
_cut = 1e4 / Math.floor(props.duration);
_timer = setInterval(() => {
increase(_cut);
}, 100);
}
nuxtApp.hook("content:middleware:start", start);
nuxtApp.hook("page:start", start);
nuxtApp.hook("page:finish", finish);
return (_ctx, _push, _parent, _attrs) => {
_push(``);
};
}
};
const _sfc_setup$f = _sfc_main$f.setup;
_sfc_main$f.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/AppLoadingBar.vue");
return _sfc_setup$f ? _sfc_setup$f(props, ctx) : void 0;
};
const AppLoadingBar = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: _sfc_main$f
}, Symbol.toStringTag, { value: "Module" }));
const _sfc_main$e = /* @__PURE__ */ defineComponent({
__name: "AppContainer",
__ssrInlineRender: true,
props: {
padded: {
type: Boolean,
default: true
},
fluid: {
type: Boolean,
default: false
},
constrainedClass: {
type: String,
default: "max-w-7xl"
}
},
setup(__props) {
const props = __props;
const containerClass = computed(() => {
return [
"mx-auto w-full",
props.padded && "px-4 sm:px-6 lg:px-8",
!props.fluid && props.constrainedClass,
props.fluid && "overflow-x-hidden"
].filter(Boolean).join(" ");
});
return (_ctx, _push, _parent, _attrs) => {
_push(``);
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
_push(`
`);
};
}
});
const _sfc_setup$e = _sfc_main$e.setup;
_sfc_main$e.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/AppContainer.vue");
return _sfc_setup$e ? _sfc_setup$e(props, ctx) : void 0;
};
const AppContainer = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: _sfc_main$e
}, Symbol.toStringTag, { value: "Module" }));
const useDocus = () => computed(() => useAppConfig().docus);
const _sfc_main$d = /* @__PURE__ */ defineComponent({
__name: "SocialIcons",
__ssrInlineRender: true,
props: {
size: {
type: String,
default: "w-5 h-5"
},
spacing: {
type: String,
default: "p-0"
}
},
setup(__props) {
const socials = ["twitter", "facebook", "instagram", "youtube", "github", "medium"];
const docus = useDocus();
const icons = computed(() => {
return Object.entries(docus.value.socials || {}).map(([key, value]) => {
if (typeof value === "object") {
return value;
} else if (typeof value === "string" && value && socials.includes(key)) {
return {
href: `https://${key}.com/${value}`,
icon: `fa-brands:${key}`,
label: value
};
} else {
return null;
}
}).filter(Boolean);
});
return (_ctx, _push, _parent, _attrs) => {
const _component_NuxtLink = __nuxt_component_0$3;
const _component_Icon = _sfc_main$k;
_push(``);
ssrRenderList(unref(icons), (icon) => {
_push(ssrRenderComponent(_component_NuxtLink, {
key: icon.label,
rel: "noopener noreferrer",
title: icon.label,
"aria-label": icon.label,
href: icon.href,
target: "_blank",
class: ["u-text-gray-500 hover:u-text-gray-700", [__props.spacing]]
}, {
default: withCtx((_, _push2, _parent2, _scopeId) => {
if (_push2) {
if (icon.icon) {
_push2(ssrRenderComponent(_component_Icon, {
name: icon.icon,
class: __props.size
}, null, _parent2, _scopeId));
} else {
_push2(``);
}
} else {
return [
icon.icon ? (openBlock(), createBlock(_component_Icon, {
key: 0,
name: icon.icon,
class: __props.size
}, null, 8, ["name", "class"])) : createCommentVNode("", true)
];
}
}),
_: 2
}, _parent));
});
_push(``);
};
}
});
const _sfc_setup$d = _sfc_main$d.setup;
_sfc_main$d.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/SocialIcons.vue");
return _sfc_setup$d ? _sfc_setup$d(props, ctx) : void 0;
};
const SocialIcons = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: _sfc_main$d
}, Symbol.toStringTag, { value: "Module" }));
const _sfc_main$c = /* @__PURE__ */ defineComponent({
__name: "DocsAsideTree",
__ssrInlineRender: true,
props: {
links: {
type: Array,
default: () => []
},
level: {
type: Number,
default: 0
},
max: {
type: Number,
default: null
},
parent: {
type: Object,
default: null
}
},
setup(__props) {
var _a;
const props = __props;
const route = useRoute();
const docus = useDocus();
const collapsedMap = useState(`docus-docs-aside-collapse-map-${((_a = props.parent) == null ? void 0 : _a._path) || "/"}`, () => {
if (props.level === 0) {
return {};
}
return props.links.filter((link) => !!link.children).reduce((map, link) => {
map[link._path] = true;
return map;
}, {});
});
const isActive = (link) => {
return route.path === link._path;
};
const isCollapsed = (link) => {
var _a2, _b;
if (link.children) {
if (typeof collapsedMap.value[link._path] !== "undefined") {
return collapsedMap.value[link._path];
}
if (link == null ? void 0 : link.collapsed) {
return link == null ? void 0 : link.collapsed;
}
if ((_a2 = docus.value.aside) == null ? void 0 : _a2.collapsed) {
return (_b = docus.value.aside) == null ? void 0 : _b.collapsed;
}
}
return false;
};
const hasNesting = computed(() => props.links.some((link) => link.children));
return (_ctx, _push, _parent, _attrs) => {
const _component_Icon = _sfc_main$k;
const _component_NuxtLink = __nuxt_component_0$3;
const _component_DocsAsideTree = _sfc_main$c;
_push(``);
ssrRenderList(__props.links, (link) => {
var _a2, _b, _c, _d, _e;
_push(`- 0 && link.children,
"border-l": __props.level > 0 || !unref(hasNesting),
"border-primary-400 dark:border-primary-600": isActive(link),
"u-border-gray-100 hover:u-border-gray-300": !isActive(link)
})}">`);
if (link.children) {
_push(``);
} else {
_push(ssrRenderComponent(_component_NuxtLink, {
to: link.redirect ? link.redirect : link._path,
class: ["flex items-center justify-between py-1.5 text-sm", {
"pl-4": __props.level > 0 || !unref(hasNesting),
"text-primary-500 font-medium": isActive(link),
"u-text-gray-500 hover:u-text-gray-900": !isActive(link)
}],
exact: link.exact
}, {
default: withCtx((_, _push2, _parent2, _scopeId) => {
var _a3, _b2, _c2, _d2, _e2, _f;
if (_push2) {
_push2(``);
if (((_a3 = link == null ? void 0 : link.navigation) == null ? void 0 : _a3.icon) || link.icon) {
_push2(ssrRenderComponent(_component_Icon, {
name: ((_b2 = link == null ? void 0 : link.navigation) == null ? void 0 : _b2.icon) || link.icon,
class: "w-4 h-4 mr-1"
}, null, _parent2, _scopeId));
} else {
_push2(``);
}
_push2(`${ssrInterpolate(((_c2 = link == null ? void 0 : link.navigation) == null ? void 0 : _c2.title) || link.title || link._path)}`);
} else {
return [
createVNode("span", { class: "inline-flex items-center" }, [
((_d2 = link == null ? void 0 : link.navigation) == null ? void 0 : _d2.icon) || link.icon ? (openBlock(), createBlock(_component_Icon, {
key: 0,
name: ((_e2 = link == null ? void 0 : link.navigation) == null ? void 0 : _e2.icon) || link.icon,
class: "w-4 h-4 mr-1"
}, null, 8, ["name"])) : createCommentVNode("", true),
createVNode("span", null, toDisplayString(((_f = link == null ? void 0 : link.navigation) == null ? void 0 : _f.title) || link.title || link._path), 1)
])
];
}
}),
_: 2
}, _parent));
}
if (((_e = link.children) == null ? void 0 : _e.length) && (__props.max === null || __props.level + 1 < __props.max)) {
_push(ssrRenderComponent(_component_DocsAsideTree, {
style: !isCollapsed(link) ? null : { display: "none" },
links: link.children,
level: __props.level + 1,
parent: link,
max: __props.max,
class: "py-2"
}, null, _parent));
} else {
_push(``);
}
_push(`
`);
});
_push(`
`);
};
}
});
const _sfc_setup$c = _sfc_main$c.setup;
_sfc_main$c.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/docs/DocsAsideTree.vue");
return _sfc_setup$c ? _sfc_setup$c(props, ctx) : void 0;
};
const DocsAsideTree = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: _sfc_main$c
}, Symbol.toStringTag, { value: "Module" }));
const useMenu = () => {
const { $menu } = useNuxtApp();
return $menu;
};
const __nuxt_component_0$1 = defineComponent({
name: "ClientOnly",
props: ["fallback", "placeholder", "placeholderTag", "fallbackTag"],
setup(_, { slots }) {
const mounted = ref(false);
return (props) => {
var _a;
if (mounted.value) {
return (_a = slots.default) == null ? void 0 : _a.call(slots);
}
const slot = slots.fallback || slots.placeholder;
if (slot) {
return slot();
}
const fallbackStr = props.fallback || props.placeholder || "";
const fallbackTag = props.fallbackTag || props.placeholderTag || "span";
return createElementBlock(fallbackTag, null, fallbackStr);
};
}
});
const cache = /* @__PURE__ */ new WeakMap();
function createClientOnly(component) {
if (cache.has(component)) {
return cache.get(component);
}
const clone = { ...component };
if (clone.render) {
clone.render = (ctx, ...args) => {
var _a;
if (ctx.mounted$) {
const res = component.render(ctx, ...args);
return res.children === null || typeof res.children === "string" ? createElementVNode(res.type, res.props, res.children, res.patchFlag, res.dynamicProps, res.shapeFlag) : h(res);
} else {
return h("div", (_a = ctx.$attrs) != null ? _a : ctx._.attrs);
}
};
} else if (clone.template) {
clone.template = `
${component.template}
`;
}
clone.setup = (props, ctx) => {
var _a;
const mounted$ = ref(false);
return Promise.resolve(((_a = component.setup) == null ? void 0 : _a.call(component, props, ctx)) || {}).then((setupState) => {
return typeof setupState !== "function" ? { ...setupState, mounted$ } : (...args) => {
if (mounted$.value) {
const res = setupState(...args);
return res.children === null || typeof res.children === "string" ? createElementVNode(res.type, res.props, res.children, res.patchFlag, res.dynamicProps, res.shapeFlag) : h(res);
} else {
return h("div", ctx.attrs);
}
};
});
};
cache.set(component, clone);
return clone;
}
const clientOnly = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: __nuxt_component_0$1,
createClientOnly
}, Symbol.toStringTag, { value: "Module" }));
const _sfc_main$b = {
name: componentName,
props: {
placeholder: String,
tag: {
type: String,
default: "span"
}
}
};
function _sfc_ssrRender$2(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
const _component_ClientOnly = __nuxt_component_0$1;
_push(ssrRenderComponent(_component_ClientOnly, mergeProps({
placeholder: $props.placeholder,
"placeholder-tag": $props.tag
}, _attrs), null, _parent));
}
const _sfc_setup$b = _sfc_main$b.setup;
_sfc_main$b.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxtjs+color-mode@3.1.8/node_modules/@nuxtjs/color-mode/dist/runtime/component.vue3.vue");
return _sfc_setup$b ? _sfc_setup$b(props, ctx) : void 0;
};
const __nuxt_component_0 = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["ssrRender", _sfc_ssrRender$2]]);
const component_vue3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: __nuxt_component_0
}, Symbol.toStringTag, { value: "Module" }));
const useColorMode = () => {
return useState("color-mode").value;
};
const _sfc_main$a = /* @__PURE__ */ defineComponent({
__name: "ColorModeSwitch",
__ssrInlineRender: true,
props: {
size: {
type: String,
default: "w-5 h-5"
}
},
setup(__props) {
const colorMode = useColorMode();
return (_ctx, _push, _parent, _attrs) => {
const _component_ColorScheme = __nuxt_component_0;
const _component_Icon = _sfc_main$k;
_push(``);
};
}
});
const _sfc_setup$a = _sfc_main$a.setup;
_sfc_main$a.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/ColorModeSwitch.vue");
return _sfc_setup$a ? _sfc_setup$a(props, ctx) : void 0;
};
const ColorModeSwitch = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: _sfc_main$a
}, Symbol.toStringTag, { value: "Module" }));
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
__name: "NavbarDialog",
__ssrInlineRender: true,
setup(__props) {
const { navigation } = useContent();
const docus = useDocus();
const filtered = computed(() => {
var _a;
return ((_a = docus.value.header) == null ? void 0 : _a.exclude) || [];
});
const links = computed(() => {
return (navigation.value || []).filter((item) => {
if (filtered.value.includes(item._path)) {
return false;
}
return true;
});
});
const { visible, open, close } = useMenu();
watch(visible, (v) => v ? open() : close());
return (_ctx, _push, _parent, _attrs) => {
const _component_Icon = _sfc_main$k;
const _component_SocialIcons = _sfc_main$d;
const _component_DocsAsideTree = _sfc_main$c;
_push(``);
ssrRenderTeleport(_push, (_push2) => {
if (unref(visible)) {
_push2(``);
_push2(ssrRenderComponent(_component_DocsAsideTree, { links: unref(links) }, null, _parent));
_push2(`
`);
} else {
_push2(``);
}
}, "body", false, _parent);
_push(``);
};
}
});
const _sfc_setup$9 = _sfc_main$9.setup;
_sfc_main$9.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/NavbarDialog.vue");
return _sfc_setup$9 ? _sfc_setup$9(props, ctx) : void 0;
};
const NavbarDialog = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: _sfc_main$9
}, Symbol.toStringTag, { value: "Module" }));
const _sfc_main$8 = {};
function _sfc_ssrRender$1(_ctx, _push, _parent, _attrs) {
_push(``);
}
const _sfc_setup$8 = _sfc_main$8.setup;
_sfc_main$8.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/Logo.vue");
return _sfc_setup$8 ? _sfc_setup$8(props, ctx) : void 0;
};
const __nuxt_component_1$2 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["ssrRender", _sfc_ssrRender$1]]);
const Logo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: __nuxt_component_1$2
}, Symbol.toStringTag, { value: "Module" }));
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
__name: "NavbarLogo",
__ssrInlineRender: true,
setup(__props) {
const docus = useDocus();
const logo = computed(() => {
var _a;
return ((_a = docus.value.header) == null ? void 0 : _a.logo) || false;
});
const title = computed(() => {
var _a;
return ((_a = docus.value.header) == null ? void 0 : _a.title) || docus.value.title;
});
return (_ctx, _push, _parent, _attrs) => {
var _a, _b;
const _component_NuxtLink = __nuxt_component_0$3;
const _component_Logo = __nuxt_component_1$2;
_push(ssrRenderComponent(_component_NuxtLink, mergeProps({
class: "flex items-center flex-none",
to: "/",
"aria-label": (_b = (_a = unref(docus)) == null ? void 0 : _a.header) == null ? void 0 : _b.title
}, _attrs), {
default: withCtx((_, _push2, _parent2, _scopeId) => {
if (_push2) {
if (unref(logo)) {
_push2(ssrRenderComponent(_component_Logo, null, null, _parent2, _scopeId));
} else {
_push2(`${ssrInterpolate(unref(title))}`);
}
} else {
return [
unref(logo) ? (openBlock(), createBlock(_component_Logo, { key: 0 })) : (openBlock(), createBlock("span", {
key: 1,
class: "text-xl font-bold u-text-gray-900 hover:u-text-gray-500"
}, toDisplayString(unref(title)), 1))
];
}
}),
_: 1
}, _parent));
};
}
});
const _sfc_setup$7 = _sfc_main$7.setup;
_sfc_main$7.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/NavbarLogo.vue");
return _sfc_setup$7 ? _sfc_setup$7(props, ctx) : void 0;
};
const NavbarLogo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: _sfc_main$7
}, Symbol.toStringTag, { value: "Module" }));
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
__name: "NavbarCenter",
__ssrInlineRender: true,
setup(__props) {
const route = useRoute();
const { navBottomLink: navBottomLink2 } = useContentHelpers();
const { navigation } = useContent();
const docus = useDocus();
const hasNavigation = computed(() => {
var _a;
return !!((_a = docus.value.aside) == null ? void 0 : _a.level);
});
const filtered = computed(() => {
var _a;
return ((_a = docus.value.header) == null ? void 0 : _a.exclude) || [];
});
const tree = computed(() => {
return (navigation.value || []).filter((item) => {
if (filtered.value.includes(item._path)) {
return false;
}
return true;
});
});
const isActive = (link) => link.exact ? route.fullPath === link._path : route.fullPath.startsWith(link._path);
return (_ctx, _push, _parent, _attrs) => {
const _component_NuxtLink = __nuxt_component_0$3;
const _component_Icon = _sfc_main$k;
if (unref(hasNavigation)) {
_push(``);
} else {
_push(``);
}
};
}
});
const _sfc_setup$6 = _sfc_main$6.setup;
_sfc_main$6.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/NavbarCenter.vue");
return _sfc_setup$6 ? _sfc_setup$6(props, ctx) : void 0;
};
const __nuxt_component_3 = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-81e0b9ad"]]);
const NavbarCenter = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: __nuxt_component_3
}, Symbol.toStringTag, { value: "Module" }));
const useDocSearch = () => {
const { $docSearch } = useNuxtApp();
if (!$docSearch) {
return {
hasDocSearch: ref(false)
};
}
return $docSearch;
};
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
__name: "AppSearch",
__ssrInlineRender: true,
setup(__props) {
useDocSearch();
return (_ctx, _push, _parent, _attrs) => {
const _component_Icon = _sfc_main$k;
_push(``);
};
}
});
const _sfc_setup$5 = _sfc_main$5.setup;
_sfc_main$5.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/AppSearch.vue");
return _sfc_setup$5 ? _sfc_setup$5(props, ctx) : void 0;
};
const AppSearch = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: _sfc_main$5
}, Symbol.toStringTag, { value: "Module" }));
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
__name: "Navbar",
__ssrInlineRender: true,
setup(__props) {
const { navigation } = useContent();
const { hasDocSearch } = useDocSearch();
const hasNavbarDialog = computed(() => {
var _a;
return ((_a = navigation.value) == null ? void 0 : _a.length) > 1;
});
return (_ctx, _push, _parent, _attrs) => {
const _component_AppContainer = _sfc_main$e;
const _component_NavbarDialog = _sfc_main$9;
const _component_NavbarLogo = _sfc_main$7;
const _component_NavbarCenter = __nuxt_component_3;
const _component_AppSearch = _sfc_main$5;
const _component_ColorModeSwitch = _sfc_main$a;
const _component_SocialIcons = _sfc_main$d;
_push(``);
_push(ssrRenderComponent(_component_AppContainer, {
padded: "",
class: "grid h-full grid-cols-12 lg:gap-8"
}, {
default: withCtx((_, _push2, _parent2, _scopeId) => {
if (_push2) {
_push2(``);
if (unref(hasNavbarDialog)) {
_push2(ssrRenderComponent(_component_NavbarDialog, null, null, _parent2, _scopeId));
} else {
_push2(``);
}
_push2(ssrRenderComponent(_component_NavbarLogo, {
class: unref(hasNavbarDialog) ? "hidden lg:block" : "block"
}, null, _parent2, _scopeId));
_push2(`
`);
if (unref(hasNavbarDialog)) {
_push2(ssrRenderComponent(_component_NavbarLogo, { class: "lg:hidden" }, null, _parent2, _scopeId));
} else {
_push2(``);
}
_push2(ssrRenderComponent(_component_NavbarCenter, { class: "hidden lg:flex" }, null, _parent2, _scopeId));
_push2(`
`);
if (unref(hasDocSearch)) {
_push2(ssrRenderComponent(_component_AppSearch, null, null, _parent2, _scopeId));
} else {
_push2(``);
}
_push2(ssrRenderComponent(_component_ColorModeSwitch, {
size: "w-5 h-5",
class: unref(hasDocSearch) ? "hidden lg:block" : ""
}, null, _parent2, _scopeId));
_push2(ssrRenderComponent(_component_SocialIcons, { size: "h-5 w-5 hidden lg:block" }, null, _parent2, _scopeId));
_push2(`
`);
} else {
return [
createVNode("div", { class: "flex items-center flex-none col-span-2" }, [
unref(hasNavbarDialog) ? (openBlock(), createBlock(_component_NavbarDialog, { key: 0 })) : createCommentVNode("", true),
createVNode(_component_NavbarLogo, {
class: unref(hasNavbarDialog) ? "hidden lg:block" : "block"
}, null, 8, ["class"])
]),
createVNode("div", { class: "flex items-center justify-center flex-1 col-span-8" }, [
unref(hasNavbarDialog) ? (openBlock(), createBlock(_component_NavbarLogo, {
key: 0,
class: "lg:hidden"
})) : createCommentVNode("", true),
createVNode(_component_NavbarCenter, { class: "hidden lg:flex" })
]),
createVNode("div", { class: "flex items-center justify-end flex-none col-span-2 lg:gap-4 lg:pl-4" }, [
unref(hasDocSearch) ? (openBlock(), createBlock(_component_AppSearch, { key: 0 })) : createCommentVNode("", true),
createVNode(_component_ColorModeSwitch, {
size: "w-5 h-5",
class: unref(hasDocSearch) ? "hidden lg:block" : ""
}, null, 8, ["class"]),
createVNode(_component_SocialIcons, { size: "h-5 w-5 hidden lg:block" })
])
];
}
}),
_: 1
}, _parent));
_push(``);
};
}
});
const _sfc_setup$4 = _sfc_main$4.setup;
_sfc_main$4.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/Navbar.vue");
return _sfc_setup$4 ? _sfc_setup$4(props, ctx) : void 0;
};
const __nuxt_component_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-ffc00f42"]]);
const Navbar = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: __nuxt_component_1$1
}, Symbol.toStringTag, { value: "Module" }));
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
__name: "Alert",
__ssrInlineRender: true,
props: {
type: {
type: String,
default: "info",
validator(value) {
return ["info", "success", "warning", "danger", "primary"].includes(value);
}
}
},
setup(__props) {
return (_ctx, _push, _parent, _attrs) => {
const _component_ContentSlot = ContentSlot;
_push(``);
_push(ssrRenderComponent(_component_ContentSlot, {
use: _ctx.$slots.default,
unwrap: "p"
}, null, _parent));
_push(`
`);
};
}
});
const _sfc_setup$3 = _sfc_main$3.setup;
_sfc_main$3.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/content/Alert.vue");
return _sfc_setup$3 ? _sfc_setup$3(props, ctx) : void 0;
};
const Alert = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: _sfc_main$3
}, Symbol.toStringTag, { value: "Module" }));
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
__name: "AppFooter",
__ssrInlineRender: true,
setup(__props) {
const docus = useDocus();
const socialIcons = ref(null);
const icons = computed(() => {
var _a;
return ((_a = docus.value.footer) == null ? void 0 : _a.icons) || [];
});
const socialIconsCount = computed(() => Object.entries(docus.value.socials).filter(([_, v]) => v).length);
const nbSocialIcons = computed(() => socialIcons.value ? socialIconsCount.value : 0);
const showOverrideAlert = computed(() => false);
return (_ctx, _push, _parent, _attrs) => {
const _component_AppContainer = _sfc_main$e;
const _component_Icon = _sfc_main$k;
const _component_SocialIcons = _sfc_main$d;
const _component_Alert = _sfc_main$3;
_push(``);
};
}
});
const _sfc_setup$2 = _sfc_main$2.setup;
_sfc_main$2.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/AppFooter.vue");
return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
};
const AppFooter = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: _sfc_main$2
}, Symbol.toStringTag, { value: "Module" }));
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
__name: "AppLayout",
__ssrInlineRender: true,
props: {
padded: {
type: Boolean,
default: true
}
},
setup(__props) {
const docus = useDocus();
const { navigation, page: page2 } = useContent();
const { navKeyFromPath: navKeyFromPath2 } = useContentHelpers();
const titleTemplate = computed(() => {
var _a, _b;
const appTitleTemplate = ((_a = docus.value.head) == null ? void 0 : _a.titleTemplate) || `%s \xB7 ${docus.value.title}`;
if (page2.value) {
return ((_b = page2.value.head) == null ? void 0 : _b.titleTemplate) || navKeyFromPath2(page2.value._path, "titleTemplate", navigation.value || []) || appTitleTemplate;
}
return appTitleTemplate;
});
useHead({
titleTemplate: titleTemplate.value,
meta: [
{ name: "twitter:card", content: "summary_large_image" }
]
});
watch(titleTemplate, () => {
useHead({ titleTemplate: titleTemplate.value });
});
useContentHead(docus.value);
return (_ctx, _push, _parent, _attrs) => {
const _component_AppLoadingBar = _sfc_main$f;
const _component_Navbar = __nuxt_component_1$1;
const _component_AppFooter = _sfc_main$2;
_push(``);
_push(ssrRenderComponent(_component_AppLoadingBar, null, null, _parent));
if (unref(docus).header) {
_push(ssrRenderComponent(_component_Navbar, null, null, _parent));
} else {
_push(``);
}
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
if (unref(docus).footer) {
_push(ssrRenderComponent(_component_AppFooter, null, null, _parent));
} else {
_push(``);
}
_push(`
`);
};
}
});
const _sfc_setup$1 = _sfc_main$1.setup;
_sfc_main$1.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/components/AppLayout.vue");
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
};
const AppLayout = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: _sfc_main$1
}, Symbol.toStringTag, { value: "Module" }));
const interpolatePath = (route, match) => {
return match.path.replace(/(:\w+)\([^)]+\)/g, "$1").replace(/(:\w+)[?+*]/g, "$1").replace(/:\w+/g, (r) => {
var _a;
return ((_a = route.params[r.slice(1)]) == null ? void 0 : _a.toString()) || "";
});
};
const generateRouteKey = (override, routeProps) => {
var _a;
const matchedRoute = routeProps.route.matched.find((m) => {
var _a2;
return ((_a2 = m.components) == null ? void 0 : _a2.default) === routeProps.Component.type;
});
const source = (_a = override != null ? override : matchedRoute == null ? void 0 : matchedRoute.meta.key) != null ? _a : matchedRoute && interpolatePath(routeProps.route, matchedRoute);
return typeof source === "function" ? source(routeProps.route) : source;
};
const wrapInKeepAlive = (props, children) => {
return { default: () => children };
};
const __nuxt_component_1 = defineComponent({
name: "NuxtPage",
inheritAttrs: false,
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(props, { attrs }) {
const nuxtApp = useNuxtApp();
return () => {
return h(RouterView, { name: props.name, route: props.route, ...attrs }, {
default: (routeProps) => {
var _a, _b, _c, _d;
if (!routeProps.Component) {
return;
}
const key = generateRouteKey(props.pageKey, routeProps);
const transitionProps = (_b = (_a = props.transition) != null ? _a : routeProps.route.meta.pageTransition) != null ? _b : appPageTransition;
const done = nuxtApp.deferHydration();
return _wrapIf(
Transition,
transitionProps,
wrapInKeepAlive(
(_d = (_c = props.keepalive) != null ? _c : routeProps.route.meta.keepalive) != null ? _d : appKeepalive,
h(Suspense, {
onPending: () => nuxtApp.callHook("page:start", routeProps.Component),
onResolve: () => nuxtApp.callHook("page:finish", routeProps.Component).finally(done)
}, { default: () => h(Component, { key, routeProps, pageKey: key, hasTransition: !!transitionProps }) })
)
).default();
}
});
};
}
});
const Component = defineComponent({
props: ["routeProps", "pageKey", "hasTransition"],
setup(props) {
const previousKey = props.pageKey;
const previousRoute = props.routeProps.route;
const route = {};
for (const key in props.routeProps.route) {
route[key] = computed(() => previousKey === props.pageKey ? props.routeProps.route[key] : previousRoute[key]);
}
provide("_route", reactive(route));
return () => {
return h(props.routeProps.Component);
};
}
});
const page = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: __nuxt_component_1
}, Symbol.toStringTag, { value: "Module" }));
const _sfc_main = {};
function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
const _component_AppLayout = _sfc_main$1;
const _component_NuxtPage = __nuxt_component_1;
_push(ssrRenderComponent(_component_AppLayout, _attrs, {
default: withCtx((_, _push2, _parent2, _scopeId) => {
if (_push2) {
_push2(ssrRenderComponent(_component_NuxtPage, null, null, _parent2, _scopeId));
} else {
return [
createVNode(_component_NuxtPage)
];
}
}),
_: 1
}, _parent));
}
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt-themes+docus-edge@0.1.0-2a7c428_nuxt@3.0.0-rc.12/node_modules/@nuxt-themes/docus-edge/app.vue");
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
const AppComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
if (!globalThis.$fetch) {
globalThis.$fetch = $fetch$1.create({
baseURL: baseURL()
});
}
let entry;
const plugins = normalizePlugins(_plugins);
{
entry = async function createNuxtAppServer(ssrContext) {
const vueApp = createApp(_sfc_main$g);
vueApp.component("App", AppComponent);
const nuxt = createNuxtApp({ vueApp, ssrContext });
try {
await applyPlugins(nuxt, plugins);
await nuxt.hooks.callHook("app:created", vueApp);
} catch (err) {
await nuxt.callHook("app:error", err);
nuxt.payload.error = nuxt.payload.error || err;
}
return vueApp;
};
}
const entry$1 = (ctx) => entry(ctx);
export { Logo as $, assertArray as A, ensureArray as B, ContentSlot as C, sortList as D, apply as E, withoutKeys as F, withKeys as G, useCookie as H, createQuery as I, nuxtLink as J, layout as K, ContentRendererMarkdown as L, ContentRenderer as M, DocumentDrivenEmpty as N, Icon as O, ContentSlot$1 as P, ButtonLink as Q, DocumentDrivenNotFound as R, AppLoadingBar as S, AppContainer as T, SocialIcons as U, DocsAsideTree as V, clientOnly as W, component_vue3 as X, ColorModeSwitch as Y, NavbarDialog as Z, __nuxt_component_1$3 as _, _sfc_main$k as a, NavbarLogo as a0, NavbarCenter as a1, AppSearch as a2, Navbar as a3, Alert as a4, AppFooter as a5, AppLayout as a6, page as a7, _export_sfc as b, useUnwrap as c, useNuxtApp as d, entry$1 as default, useColorMode as e, __nuxt_component_0$3 as f, useDocus as g, useRuntimeConfig as h, _sfc_main$m as i, useRoute as j, useContentHead as k, useHead as l, useState as m, fetchContentNavigation as n, useContentHelpers as o, _sfc_main$c as p, queryContent as q, useRouter as r, _sfc_main$e as s, _sfc_main$3 as t, useContent as u, useRequestEvent as v, __nuxt_component_0$2 as w, _sfc_main$l as x, __nuxt_component_3$1 as y, get as z };
//# sourceMappingURL=server.mjs.map