1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513 |
- import { effectScope, shallowReactive, reactive, getCurrentScope, hasInjectionContext, getCurrentInstance, inject, toRef, version, unref, h, shallowRef, isReadonly, isRef, isShallow, isReactive, toRaw, defineComponent, computed, ref, provide, Suspense, nextTick, mergeProps, Transition, watch, Fragment, withCtx, createVNode, useSSRContext, defineAsyncComponent, onErrorCaptured, onServerPrefetch, resolveDynamicComponent, createApp } from "vue";
- import { $fetch } from "ofetch";
- import { baseURL } from "#internal/nuxt/paths";
- import { createHooks } from "hookable";
- import { getContext } from "unctx";
- import { sanitizeStatusCode, createError as createError$1, appendHeader } from "h3";
- import { getActiveHead, CapoPlugin } from "unhead";
- import { defineHeadPlugin } from "@unhead/shared";
- import { START_LOCATION, createMemoryHistory, createRouter as createRouter$1, useRoute as useRoute$1, RouterView } from "vue-router";
- import { toRouteMatcher, createRouter } from "radix3";
- import { defu } from "defu";
- import { hasProtocol, isScriptProtocol, joinURL, withQuery } from "ufo";
- import { createPinia } from "pinia";
- import { ssrRenderAttrs, ssrRenderComponent, ssrRenderAttr, ssrRenderSuspense, ssrRenderVNode } from "vue/server-renderer";
- if (!globalThis.$fetch) {
- globalThis.$fetch = $fetch.create({
- baseURL: baseURL()
- });
- }
- const appLayoutTransition = false;
- const appPageTransition = false;
- const appKeepalive = false;
- const nuxtLinkDefaults = { "componentName": "NuxtLink", "prefetch": true, "prefetchOn": { "visibility": true } };
- const appId = "nuxt-app";
- function getNuxtAppCtx(id = appId) {
- return getContext(id, {
- asyncContext: false
- });
- }
- const NuxtPluginIndicator = "__nuxt_plugin";
- function createNuxtApp(options) {
- var _a;
- let hydratingCount = 0;
- const nuxtApp = {
- _id: options.id || appId || "nuxt-app",
- _scope: effectScope(),
- provide: void 0,
- globalName: "nuxt",
- versions: {
- get nuxt() {
- return "3.15.2";
- },
- get vue() {
- return nuxtApp.vueApp.version;
- }
- },
- payload: shallowReactive({
- ...((_a = options.ssrContext) == null ? void 0 : _a.payload) || {},
- data: shallowReactive({}),
- state: reactive({}),
- once: /* @__PURE__ */ new Set(),
- _errors: shallowReactive({})
- }),
- static: {
- data: {}
- },
- runWithContext(fn) {
- if (nuxtApp._scope.active && !getCurrentScope()) {
- return nuxtApp._scope.run(() => callWithNuxt(nuxtApp, fn));
- }
- return callWithNuxt(nuxtApp, fn);
- },
- isHydrating: false,
- deferHydration() {
- if (!nuxtApp.isHydrating) {
- return () => {
- };
- }
- hydratingCount++;
- let called = false;
- return () => {
- if (called) {
- return;
- }
- called = true;
- hydratingCount--;
- if (hydratingCount === 0) {
- nuxtApp.isHydrating = false;
- return nuxtApp.callHook("app:suspense:resolve");
- }
- };
- },
- _asyncDataPromises: {},
- _asyncData: shallowReactive({}),
- _payloadRevivers: {},
- ...options
- };
- {
- nuxtApp.payload.serverRendered = true;
- }
- if (nuxtApp.ssrContext) {
- nuxtApp.payload.path = nuxtApp.ssrContext.url;
- nuxtApp.ssrContext.nuxt = nuxtApp;
- nuxtApp.ssrContext.payload = nuxtApp.payload;
- nuxtApp.ssrContext.config = {
- public: nuxtApp.ssrContext.runtimeConfig.public,
- app: nuxtApp.ssrContext.runtimeConfig.app
- };
- }
- nuxtApp.hooks = createHooks();
- nuxtApp.hook = nuxtApp.hooks.hook;
- {
- const contextCaller = async function(hooks, args) {
- for (const hook of hooks) {
- await nuxtApp.runWithContext(() => hook(...args));
- }
- };
- nuxtApp.hooks.callHook = (name, ...args) => nuxtApp.hooks.callHookWith(contextCaller, name, ...args);
- }
- nuxtApp.callHook = nuxtApp.hooks.callHook;
- nuxtApp.provide = (name, value) => {
- const $name = "$" + name;
- defineGetter(nuxtApp, $name, value);
- defineGetter(nuxtApp.vueApp.config.globalProperties, $name, value);
- };
- defineGetter(nuxtApp.vueApp, "$nuxt", nuxtApp);
- defineGetter(nuxtApp.vueApp.config.globalProperties, "$nuxt", nuxtApp);
- const runtimeConfig = options.ssrContext.runtimeConfig;
- nuxtApp.provide("config", runtimeConfig);
- return nuxtApp;
- }
- function registerPluginHooks(nuxtApp, plugin2) {
- if (plugin2.hooks) {
- nuxtApp.hooks.addHooks(plugin2.hooks);
- }
- }
- async function applyPlugin(nuxtApp, plugin2) {
- if (typeof plugin2 === "function") {
- const { provide: provide2 } = await nuxtApp.runWithContext(() => plugin2(nuxtApp)) || {};
- if (provide2 && typeof provide2 === "object") {
- for (const key in provide2) {
- nuxtApp.provide(key, provide2[key]);
- }
- }
- }
- }
- async function applyPlugins(nuxtApp, plugins2) {
- var _a, _b, _c, _d;
- const resolvedPlugins = [];
- const unresolvedPlugins = [];
- const parallels = [];
- const errors = [];
- let promiseDepth = 0;
- async function executePlugin(plugin2) {
- var _a2;
- const unresolvedPluginsForThisPlugin = ((_a2 = plugin2.dependsOn) == null ? void 0 : _a2.filter((name) => plugins2.some((p) => p._name === name) && !resolvedPlugins.includes(name))) ?? [];
- if (unresolvedPluginsForThisPlugin.length > 0) {
- unresolvedPlugins.push([new Set(unresolvedPluginsForThisPlugin), plugin2]);
- } else {
- const promise = applyPlugin(nuxtApp, plugin2).then(async () => {
- if (plugin2._name) {
- resolvedPlugins.push(plugin2._name);
- await Promise.all(unresolvedPlugins.map(async ([dependsOn, unexecutedPlugin]) => {
- if (dependsOn.has(plugin2._name)) {
- dependsOn.delete(plugin2._name);
- if (dependsOn.size === 0) {
- promiseDepth++;
- await executePlugin(unexecutedPlugin);
- }
- }
- }));
- }
- });
- if (plugin2.parallel) {
- parallels.push(promise.catch((e) => errors.push(e)));
- } else {
- await promise;
- }
- }
- }
- for (const plugin2 of plugins2) {
- if (((_a = nuxtApp.ssrContext) == null ? void 0 : _a.islandContext) && ((_b = plugin2.env) == null ? void 0 : _b.islands) === false) {
- continue;
- }
- registerPluginHooks(nuxtApp, plugin2);
- }
- for (const plugin2 of plugins2) {
- if (((_c = nuxtApp.ssrContext) == null ? void 0 : _c.islandContext) && ((_d = plugin2.env) == null ? void 0 : _d.islands) === false) {
- continue;
- }
- await executePlugin(plugin2);
- }
- await Promise.all(parallels);
- if (promiseDepth) {
- for (let i = 0; i < promiseDepth; i++) {
- await Promise.all(parallels);
- }
- }
- if (errors.length) {
- throw errors[0];
- }
- }
- // @__NO_SIDE_EFFECTS__
- function defineNuxtPlugin(plugin2) {
- if (typeof plugin2 === "function") {
- return plugin2;
- }
- const _name = plugin2._name || plugin2.name;
- delete plugin2.name;
- return Object.assign(plugin2.setup || (() => {
- }), plugin2, { [NuxtPluginIndicator]: true, _name });
- }
- function callWithNuxt(nuxt, setup, args) {
- const fn = () => setup();
- const nuxtAppCtx = getNuxtAppCtx(nuxt._id);
- {
- return nuxt.vueApp.runWithContext(() => nuxtAppCtx.callAsync(nuxt, fn));
- }
- }
- function tryUseNuxtApp(id) {
- var _a;
- let nuxtAppInstance;
- if (hasInjectionContext()) {
- nuxtAppInstance = (_a = getCurrentInstance()) == null ? void 0 : _a.appContext.app.$nuxt;
- }
- nuxtAppInstance = nuxtAppInstance || getNuxtAppCtx(id).tryUse();
- return nuxtAppInstance || null;
- }
- function useNuxtApp(id) {
- const nuxtAppInstance = tryUseNuxtApp(id);
- if (!nuxtAppInstance) {
- {
- throw new Error("[nuxt] instance unavailable");
- }
- }
- return nuxtAppInstance;
- }
- // @__NO_SIDE_EFFECTS__
- function useRuntimeConfig(_event) {
- return useNuxtApp().$config;
- }
- function defineGetter(obj, key, val) {
- Object.defineProperty(obj, key, { get: () => val });
- }
- const LayoutMetaSymbol = Symbol("layout-meta");
- const PageRouteSymbol = Symbol("route");
- const useRouter = () => {
- var _a;
- return (_a = useNuxtApp()) == null ? void 0 : _a.$router;
- };
- const useRoute = () => {
- if (hasInjectionContext()) {
- return inject(PageRouteSymbol, useNuxtApp()._route);
- }
- return useNuxtApp()._route;
- };
- // @__NO_SIDE_EFFECTS__
- function defineNuxtRouteMiddleware(middleware) {
- return middleware;
- }
- const isProcessingMiddleware = () => {
- try {
- if (useNuxtApp()._processingMiddleware) {
- return true;
- }
- } catch {
- return false;
- }
- return false;
- };
- const URL_QUOTE_RE = /"/g;
- const navigateTo = (to, options) => {
- if (!to) {
- to = "/";
- }
- const toPath = typeof to === "string" ? to : "path" in to ? resolveRouteObject(to) : useRouter().resolve(to).href;
- const isExternalHost = hasProtocol(toPath, { acceptRelative: true });
- const isExternal = (options == null ? void 0 : options.external) || isExternalHost;
- if (isExternal) {
- if (!(options == null ? void 0 : options.external)) {
- throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");
- }
- const { protocol } = new URL(toPath, "http://localhost");
- if (protocol && isScriptProtocol(protocol)) {
- throw new Error(`Cannot navigate to a URL with '${protocol}' protocol.`);
- }
- }
- const inMiddleware = isProcessingMiddleware();
- const router = useRouter();
- const nuxtApp = useNuxtApp();
- {
- if (nuxtApp.ssrContext) {
- const fullPath = typeof to === "string" || isExternal ? toPath : router.resolve(to).fullPath || "/";
- const location2 = isExternal ? toPath : joinURL((/* @__PURE__ */ useRuntimeConfig()).app.baseURL, fullPath);
- const redirect = async function(response) {
- await nuxtApp.callHook("app:redirected");
- const encodedLoc = location2.replace(URL_QUOTE_RE, "%22");
- const encodedHeader = encodeURL(location2, isExternalHost);
- nuxtApp.ssrContext._renderResponse = {
- statusCode: sanitizeStatusCode((options == null ? void 0 : options.redirectCode) || 302, 302),
- body: `<!DOCTYPE html><html><head><meta http-equiv="refresh" content="0; url=${encodedLoc}"></head></html>`,
- headers: { location: encodedHeader }
- };
- return response;
- };
- if (!isExternal && inMiddleware) {
- router.afterEach((final) => final.fullPath === fullPath ? redirect(false) : void 0);
- return to;
- }
- return redirect(!inMiddleware ? void 0 : (
- /* abort route navigation */
- false
- ));
- }
- }
- if (isExternal) {
- nuxtApp._scope.stop();
- if (options == null ? void 0 : options.replace) {
- (void 0).replace(toPath);
- } else {
- (void 0).href = toPath;
- }
- if (inMiddleware) {
- if (!nuxtApp.isHydrating) {
- return false;
- }
- return new Promise(() => {
- });
- }
- return Promise.resolve();
- }
- return (options == null ? void 0 : options.replace) ? router.replace(to) : router.push(to);
- };
- function resolveRouteObject(to) {
- return withQuery(to.path || "", to.query || {}) + (to.hash || "");
- }
- function encodeURL(location2, isExternalHost = false) {
- const url = new URL(location2, "http://localhost");
- if (!isExternalHost) {
- return url.pathname + url.search + url.hash;
- }
- if (location2.startsWith("//")) {
- return url.toString().replace(url.protocol, "");
- }
- return url.toString();
- }
- const NUXT_ERROR_SIGNATURE = "__nuxt_error";
- const useError = () => toRef(useNuxtApp().payload, "error");
- const showError = (error) => {
- const nuxtError = createError(error);
- try {
- const nuxtApp = useNuxtApp();
- const error2 = useError();
- if (false) ;
- error2.value = error2.value || nuxtError;
- } catch {
- throw nuxtError;
- }
- return nuxtError;
- };
- const isNuxtError = (error) => !!error && typeof error === "object" && NUXT_ERROR_SIGNATURE in error;
- const createError = (error) => {
- const nuxtError = createError$1(error);
- Object.defineProperty(nuxtError, NUXT_ERROR_SIGNATURE, {
- value: true,
- configurable: false,
- writable: false
- });
- return nuxtError;
- };
- version[0] === "3";
- function resolveUnref(r) {
- return typeof r === "function" ? r() : unref(r);
- }
- function resolveUnrefHeadInput(ref2) {
- if (ref2 instanceof Promise || ref2 instanceof Date || ref2 instanceof RegExp)
- return ref2;
- const root = resolveUnref(ref2);
- if (!ref2 || !root)
- return root;
- if (Array.isArray(root))
- return root.map((r) => resolveUnrefHeadInput(r));
- if (typeof root === "object") {
- const resolved = {};
- for (const k in root) {
- if (!Object.prototype.hasOwnProperty.call(root, k)) {
- continue;
- }
- if (k === "titleTemplate" || k[0] === "o" && k[1] === "n") {
- resolved[k] = unref(root[k]);
- continue;
- }
- resolved[k] = resolveUnrefHeadInput(root[k]);
- }
- return resolved;
- }
- return root;
- }
- defineHeadPlugin({
- hooks: {
- "entries:resolve": (ctx) => {
- for (const entry2 of ctx.entries)
- entry2.resolvedInput = resolveUnrefHeadInput(entry2.input);
- }
- }
- });
- const headSymbol = "usehead";
- const _global = typeof globalThis !== "undefined" ? globalThis : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
- const globalKey$1 = "__unhead_injection_handler__";
- function setHeadInjectionHandler(handler) {
- _global[globalKey$1] = handler;
- }
- function injectHead() {
- if (globalKey$1 in _global) {
- return _global[globalKey$1]();
- }
- const head = inject(headSymbol);
- if (!head && process.env.NODE_ENV !== "production")
- console.warn("Unhead is missing Vue context, falling back to shared context. This may have unexpected results.");
- return head || getActiveHead();
- }
- [CapoPlugin({ track: true })];
- const unhead_KgADcZ0jPj = /* @__PURE__ */ defineNuxtPlugin({
- name: "nuxt:head",
- enforce: "pre",
- setup(nuxtApp) {
- const head = nuxtApp.ssrContext.head;
- setHeadInjectionHandler(
- // need a fresh instance of the nuxt app to avoid parallel requests interfering with each other
- () => useNuxtApp().vueApp._context.provides.usehead
- );
- nuxtApp.vueApp.use(head);
- }
- });
- function createContext(opts = {}) {
- let currentInstance;
- let isSingleton = false;
- const checkConflict = (instance) => {
- if (currentInstance && currentInstance !== instance) {
- throw new Error("Context conflict");
- }
- };
- let als;
- if (opts.asyncContext) {
- const _AsyncLocalStorage = opts.AsyncLocalStorage || globalThis.AsyncLocalStorage;
- if (_AsyncLocalStorage) {
- als = new _AsyncLocalStorage();
- } else {
- console.warn("[unctx] `AsyncLocalStorage` is not provided.");
- }
- }
- const _getCurrentInstance = () => {
- if (als) {
- const instance = als.getStore();
- if (instance !== void 0) {
- return instance;
- }
- }
- return currentInstance;
- };
- return {
- use: () => {
- const _instance = _getCurrentInstance();
- if (_instance === void 0) {
- throw new Error("Context is not available");
- }
- return _instance;
- },
- tryUse: () => {
- return _getCurrentInstance();
- },
- set: (instance, replace) => {
- if (!replace) {
- checkConflict(instance);
- }
- currentInstance = instance;
- isSingleton = true;
- },
- unset: () => {
- currentInstance = void 0;
- isSingleton = false;
- },
- call: (instance, callback) => {
- checkConflict(instance);
- currentInstance = instance;
- try {
- return als ? als.run(instance, callback) : callback();
- } finally {
- if (!isSingleton) {
- currentInstance = void 0;
- }
- }
- },
- async callAsync(instance, callback) {
- currentInstance = instance;
- const onRestore = () => {
- currentInstance = instance;
- };
- const onLeave = () => currentInstance === instance ? onRestore : void 0;
- asyncHandlers.add(onLeave);
- try {
- const r = als ? als.run(instance, callback) : callback();
- if (!isSingleton) {
- currentInstance = void 0;
- }
- return await r;
- } finally {
- asyncHandlers.delete(onLeave);
- }
- }
- };
- }
- function createNamespace(defaultOpts = {}) {
- const contexts = {};
- return {
- get(key, opts = {}) {
- if (!contexts[key]) {
- contexts[key] = createContext({ ...defaultOpts, ...opts });
- }
- return contexts[key];
- }
- };
- }
- const _globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof global !== "undefined" ? global : {};
- const globalKey = "__unctx__";
- _globalThis[globalKey] || (_globalThis[globalKey] = createNamespace());
- const asyncHandlersKey = "__unctx_async_handlers__";
- const asyncHandlers = _globalThis[asyncHandlersKey] || (_globalThis[asyncHandlersKey] = /* @__PURE__ */ new Set());
- function executeAsync(function_) {
- const restores = [];
- for (const leaveHandler of asyncHandlers) {
- const restore2 = leaveHandler();
- if (restore2) {
- restores.push(restore2);
- }
- }
- const restore = () => {
- for (const restore2 of restores) {
- restore2();
- }
- };
- let awaitable = function_();
- if (awaitable && typeof awaitable === "object" && "catch" in awaitable) {
- awaitable = awaitable.catch((error) => {
- restore();
- throw error;
- });
- }
- return [awaitable, restore];
- }
- const ROUTE_KEY_PARENTHESES_RE$1 = /(:\w+)\([^)]+\)/g;
- const ROUTE_KEY_SYMBOLS_RE$1 = /(:\w+)[?+*]/g;
- const ROUTE_KEY_NORMAL_RE$1 = /:\w+/g;
- const interpolatePath = (route, match) => {
- return match.path.replace(ROUTE_KEY_PARENTHESES_RE$1, "$1").replace(ROUTE_KEY_SYMBOLS_RE$1, "$1").replace(ROUTE_KEY_NORMAL_RE$1, (r) => {
- var _a;
- return ((_a = route.params[r.slice(1)]) == null ? void 0 : _a.toString()) || "";
- });
- };
- const generateRouteKey$1 = (routeProps, override) => {
- const matchedRoute = routeProps.route.matched.find((m) => {
- var _a;
- return ((_a = m.components) == null ? void 0 : _a.default) === routeProps.Component.type;
- });
- const source = override ?? (matchedRoute == null ? void 0 : matchedRoute.meta.key) ?? (matchedRoute && interpolatePath(routeProps.route, matchedRoute));
- return typeof source === "function" ? source(routeProps.route) : source;
- };
- const wrapInKeepAlive = (props, children) => {
- return { default: () => children };
- };
- function toArray$1(value) {
- return Array.isArray(value) ? value : [value];
- }
- async function getRouteRules(arg) {
- const path = typeof arg === "string" ? arg : arg.path;
- {
- useNuxtApp().ssrContext._preloadManifest = true;
- const _routeRulesMatcher = toRouteMatcher(
- createRouter({ routes: (/* @__PURE__ */ useRuntimeConfig()).nitro.routeRules })
- );
- return defu({}, ..._routeRulesMatcher.matchAll(path).reverse());
- }
- }
- const __nuxt_page_meta$2 = {
- middleware: "auth"
- };
- const __nuxt_page_meta$1 = {
- middleware: "auth"
- };
- const __nuxt_page_meta = {
- middleware: "auth"
- };
- function handleHotUpdate(_router, _generateRoutes) {
- }
- const _routes = [
- {
- name: "advertising-adDetail",
- path: "/advertising/adDetail",
- component: () => import("./_nuxt/adDetail-JAkO5aWw.js")
- },
- {
- name: "advertising",
- path: "/advertising",
- component: () => import("./_nuxt/index-BdQfa8tl.js")
- },
- {
- name: "index",
- path: "/",
- component: () => import("./_nuxt/index-JESJt2hX.js")
- },
- {
- name: "login",
- path: "/login",
- component: () => import("./_nuxt/login-mprElTZX.js")
- },
- {
- name: "newsDetail-id",
- path: "/newsDetail/:id()",
- component: () => import("./_nuxt/_id_-DGsRr_Gx.js")
- },
- {
- name: "newsList-id",
- path: "/newsList/:id()",
- meta: __nuxt_page_meta$2,
- component: () => import("./_nuxt/_id_-BXX5OG16.js")
- },
- {
- name: "primaryNavigation-id",
- path: "/primaryNavigation/:id()",
- component: () => import("./_nuxt/_id_-pzScYQ3U.js")
- },
- {
- name: "register",
- path: "/register",
- component: () => import("./_nuxt/register-DR18Dcar.js")
- },
- {
- name: "search-search",
- path: "/search/search",
- meta: __nuxt_page_meta$1,
- component: () => import("./_nuxt/search-t2j6TM5I.js")
- },
- {
- name: "speciaArticle-id",
- path: "/speciaArticle/:id()",
- component: () => import("./_nuxt/_id_-BZxpC7J9.js")
- },
- {
- name: "specialList-id",
- path: "/specialList/:id()",
- meta: __nuxt_page_meta,
- component: () => import("./_nuxt/_id_-CF-6n6a1.js")
- },
- {
- name: "topic-id",
- path: "/topic/:id()",
- component: () => import("./_nuxt/_id_-DjOYAtbM.js")
- },
- {
- name: "topic",
- path: "/topic",
- component: () => import("./_nuxt/index-CLGwzU5C.js")
- },
- {
- name: "user-about",
- path: "/user/about",
- component: () => import("./_nuxt/about-BQoZ6Vl3.js")
- }
- ];
- const _wrapIf = (component, props, slots) => {
- props = props === true ? {} : props;
- return { default: () => {
- var _a;
- return props ? h(component, props, slots) : (_a = slots.default) == null ? void 0 : _a.call(slots);
- } };
- };
- const ROUTE_KEY_PARENTHESES_RE = /(:\w+)\([^)]+\)/g;
- const ROUTE_KEY_SYMBOLS_RE = /(:\w+)[?+*]/g;
- const ROUTE_KEY_NORMAL_RE = /:\w+/g;
- function generateRouteKey(route) {
- const source = (route == null ? void 0 : route.meta.key) ?? route.path.replace(ROUTE_KEY_PARENTHESES_RE, "$1").replace(ROUTE_KEY_SYMBOLS_RE, "$1").replace(ROUTE_KEY_NORMAL_RE, (r) => {
- var _a;
- return ((_a = route.params[r.slice(1)]) == null ? void 0 : _a.toString()) || "";
- });
- return typeof source === "function" ? source(route) : source;
- }
- function isChangingPage(to, from) {
- if (to === from || from === START_LOCATION) {
- return false;
- }
- if (generateRouteKey(to) !== generateRouteKey(from)) {
- return true;
- }
- const areComponentsSame = to.matched.every(
- (comp, index) => {
- var _a, _b;
- return comp.components && comp.components.default === ((_b = (_a = from.matched[index]) == null ? void 0 : _a.components) == null ? void 0 : _b.default);
- }
- );
- if (areComponentsSame) {
- return false;
- }
- return true;
- }
- const routerOptions0 = {
- scrollBehavior(to, from, savedPosition) {
- var _a;
- const nuxtApp = useNuxtApp();
- const behavior = ((_a = useRouter().options) == null ? void 0 : _a.scrollBehaviorType) ?? "auto";
- let position = savedPosition || void 0;
- const routeAllowsScrollToTop = typeof to.meta.scrollToTop === "function" ? to.meta.scrollToTop(to, from) : to.meta.scrollToTop;
- if (!position && from && to && routeAllowsScrollToTop !== false && isChangingPage(to, from)) {
- position = { left: 0, top: 0 };
- }
- if (to.path === from.path) {
- if (from.hash && !to.hash) {
- return { left: 0, top: 0 };
- }
- if (to.hash) {
- return { el: to.hash, top: _getHashElementScrollMarginTop(to.hash), behavior };
- }
- return false;
- }
- const hasTransition = (route) => !!(route.meta.pageTransition ?? appPageTransition);
- const hookToWait = hasTransition(from) && hasTransition(to) ? "page:transition:finish" : "page:finish";
- return new Promise((resolve) => {
- nuxtApp.hooks.hookOnce(hookToWait, async () => {
- await new Promise((resolve2) => setTimeout(resolve2, 0));
- if (to.hash) {
- position = { el: to.hash, top: _getHashElementScrollMarginTop(to.hash), behavior };
- }
- resolve(position);
- });
- });
- }
- };
- function _getHashElementScrollMarginTop(selector) {
- try {
- const elem = (void 0).querySelector(selector);
- if (elem) {
- return (Number.parseFloat(getComputedStyle(elem).scrollMarginTop) || 0) + (Number.parseFloat(getComputedStyle((void 0).documentElement).scrollPaddingTop) || 0);
- }
- } catch {
- }
- return 0;
- }
- const configRouterOptions = {
- hashMode: false,
- scrollBehaviorType: "auto"
- };
- const hashMode = false;
- const routerOptions = {
- ...configRouterOptions,
- ...routerOptions0
- };
- const validate = /* @__PURE__ */ defineNuxtRouteMiddleware(async (to) => {
- var _a;
- let __temp, __restore;
- if (!((_a = to.meta) == null ? void 0 : _a.validate)) {
- return;
- }
- const nuxtApp = useNuxtApp();
- const router = useRouter();
- const result = ([__temp, __restore] = executeAsync(() => Promise.resolve(to.meta.validate(to))), __temp = await __temp, __restore(), __temp);
- if (result === true) {
- return;
- }
- const error = createError({
- statusCode: result && result.statusCode || 404,
- statusMessage: result && result.statusMessage || `Page Not Found: ${to.fullPath}`,
- data: {
- path: to.fullPath
- }
- });
- const unsub = router.beforeResolve((final) => {
- unsub();
- if (final === to) {
- const unsub2 = router.afterEach(async () => {
- unsub2();
- await nuxtApp.runWithContext(() => showError(error));
- });
- return false;
- }
- });
- });
- const manifest_45route_45rule = /* @__PURE__ */ defineNuxtRouteMiddleware(async (to) => {
- {
- return;
- }
- });
- const globalMiddleware = [
- validate,
- manifest_45route_45rule
- ];
- const namedMiddleware = {
- auth: () => import("./_nuxt/auth-DRRsgHvx.js")
- };
- const plugin = /* @__PURE__ */ defineNuxtPlugin({
- name: "nuxt:router",
- enforce: "pre",
- async setup(nuxtApp) {
- var _a, _b, _c;
- let __temp, __restore;
- let routerBase = (/* @__PURE__ */ useRuntimeConfig()).app.baseURL;
- const history = ((_a = routerOptions.history) == null ? void 0 : _a.call(routerOptions, routerBase)) ?? createMemoryHistory(routerBase);
- const routes2 = routerOptions.routes ? ([__temp, __restore] = executeAsync(() => routerOptions.routes(_routes)), __temp = await __temp, __restore(), __temp) ?? _routes : _routes;
- let startPosition;
- const router = createRouter$1({
- ...routerOptions,
- scrollBehavior: (to, from, savedPosition) => {
- if (from === START_LOCATION) {
- startPosition = savedPosition;
- return;
- }
- if (routerOptions.scrollBehavior) {
- router.options.scrollBehavior = routerOptions.scrollBehavior;
- if ("scrollRestoration" in (void 0).history) {
- const unsub = router.beforeEach(() => {
- unsub();
- (void 0).history.scrollRestoration = "manual";
- });
- }
- return routerOptions.scrollBehavior(to, START_LOCATION, startPosition || savedPosition);
- }
- },
- history,
- routes: routes2
- });
- handleHotUpdate(router, routerOptions.routes ? routerOptions.routes : (routes22) => routes22);
- 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 initialURL = nuxtApp.ssrContext.url;
- const _route = shallowRef(router.currentRoute.value);
- const syncCurrentRoute = () => {
- _route.value = router.currentRoute.value;
- };
- nuxtApp.hook("page:finish", syncCurrentRoute);
- router.afterEach((to, from) => {
- var _a2, _b2, _c2, _d;
- if (((_b2 = (_a2 = to.matched[0]) == null ? void 0 : _a2.components) == null ? void 0 : _b2.default) === ((_d = (_c2 = from.matched[0]) == null ? void 0 : _c2.components) == null ? void 0 : _d.default)) {
- syncCurrentRoute();
- }
- });
- const route = {};
- for (const key in _route.value) {
- Object.defineProperty(route, key, {
- get: () => _route.value[key],
- enumerable: true
- });
- }
- nuxtApp._route = shallowReactive(route);
- nuxtApp._middleware = nuxtApp._middleware || {
- global: [],
- named: {}
- };
- useError();
- if (!((_b = nuxtApp.ssrContext) == null ? void 0 : _b.islandContext)) {
- router.afterEach(async (to, _from, failure) => {
- delete nuxtApp._processingMiddleware;
- if (failure) {
- await nuxtApp.callHook("page:loading:end");
- }
- if ((failure == null ? void 0 : failure.type) === 4) {
- return;
- }
- if (to.redirectedFrom && to.fullPath !== initialURL) {
- await nuxtApp.runWithContext(() => navigateTo(to.fullPath || "/"));
- }
- });
- }
- try {
- if (true) {
- ;
- [__temp, __restore] = executeAsync(() => router.push(initialURL)), await __temp, __restore();
- ;
- }
- ;
- [__temp, __restore] = executeAsync(() => router.isReady()), await __temp, __restore();
- ;
- } catch (error2) {
- [__temp, __restore] = executeAsync(() => nuxtApp.runWithContext(() => showError(error2))), await __temp, __restore();
- }
- const resolvedInitialRoute = router.currentRoute.value;
- syncCurrentRoute();
- if ((_c = nuxtApp.ssrContext) == null ? void 0 : _c.islandContext) {
- return { provide: { router } };
- }
- const initialLayout = nuxtApp.payload.state._layout;
- router.beforeEach(async (to, from) => {
- var _a2, _b2;
- await nuxtApp.callHook("page:loading:start");
- to.meta = reactive(to.meta);
- if (nuxtApp.isHydrating && initialLayout && !isReadonly(to.meta.layout)) {
- to.meta.layout = initialLayout;
- }
- nuxtApp._processingMiddleware = true;
- if (!((_a2 = nuxtApp.ssrContext) == null ? void 0 : _a2.islandContext)) {
- const middlewareEntries = /* @__PURE__ */ new Set([...globalMiddleware, ...nuxtApp._middleware.global]);
- for (const component of to.matched) {
- const componentMiddleware = component.meta.middleware;
- if (!componentMiddleware) {
- continue;
- }
- for (const entry2 of toArray$1(componentMiddleware)) {
- middlewareEntries.add(entry2);
- }
- }
- {
- const routeRules = await nuxtApp.runWithContext(() => getRouteRules({ path: to.path }));
- if (routeRules.appMiddleware) {
- for (const key in routeRules.appMiddleware) {
- if (routeRules.appMiddleware[key]) {
- middlewareEntries.add(key);
- } else {
- middlewareEntries.delete(key);
- }
- }
- }
- }
- 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 nuxtApp.runWithContext(() => middleware(to, from));
- {
- if (result === false || result instanceof Error) {
- const error2 = result || createError$1({
- statusCode: 404,
- statusMessage: `Page Not Found: ${initialURL}`
- });
- await nuxtApp.runWithContext(() => showError(error2));
- return false;
- }
- }
- if (result === true) {
- continue;
- }
- if (result || result === false) {
- return result;
- }
- }
- }
- });
- router.onError(async () => {
- delete nuxtApp._processingMiddleware;
- await nuxtApp.callHook("page:loading:end");
- });
- router.afterEach(async (to, _from) => {
- if (to.matched.length === 0) {
- await nuxtApp.runWithContext(() => showError(createError$1({
- statusCode: 404,
- fatal: false,
- statusMessage: `Page not found: ${to.fullPath}`,
- data: {
- path: to.fullPath
- }
- })));
- }
- });
- nuxtApp.hooks.hookOnce("app:created", async () => {
- try {
- if ("name" in resolvedInitialRoute) {
- resolvedInitialRoute.name = void 0;
- }
- await router.replace({
- ...resolvedInitialRoute,
- force: true
- });
- router.options.scrollBehavior = routerOptions.scrollBehavior;
- } catch (error2) {
- await nuxtApp.runWithContext(() => showError(error2));
- }
- });
- return { provide: { router } };
- }
- });
- function definePayloadReducer(name, reduce) {
- {
- useNuxtApp().ssrContext._payloadReducers[name] = reduce;
- }
- }
- const reducers = [
- ["NuxtError", (data) => isNuxtError(data) && data.toJSON()],
- ["EmptyShallowRef", (data) => isRef(data) && isShallow(data) && !data.value && (typeof data.value === "bigint" ? "0n" : JSON.stringify(data.value) || "_")],
- ["EmptyRef", (data) => isRef(data) && !data.value && (typeof data.value === "bigint" ? "0n" : JSON.stringify(data.value) || "_")],
- ["ShallowRef", (data) => isRef(data) && isShallow(data) && data.value],
- ["ShallowReactive", (data) => isReactive(data) && isShallow(data) && toRaw(data)],
- ["Ref", (data) => isRef(data) && data.value],
- ["Reactive", (data) => isReactive(data) && toRaw(data)]
- ];
- const revive_payload_server_eJ33V7gbc6 = /* @__PURE__ */ defineNuxtPlugin({
- name: "nuxt:revive-payload:server",
- setup() {
- for (const [reducer, fn] of reducers) {
- definePayloadReducer(reducer, fn);
- }
- }
- });
- const components_plugin_KR1HBZs4kY = /* @__PURE__ */ defineNuxtPlugin({
- name: "nuxt:global-components"
- });
- const element_plus_elM4AXquKi = /* @__PURE__ */ defineNuxtPlugin(() => {
- });
- const pinia_Uphuq97G1L = /* @__PURE__ */ defineNuxtPlugin((nuxtApp) => {
- const pinia = createPinia();
- nuxtApp.vueApp.use(pinia);
- return {
- provide: {
- pinia
- }
- };
- });
- function toArray(value) {
- return Array.isArray(value) ? value : [value];
- }
- function useRequestEvent(nuxtApp = useNuxtApp()) {
- var _a;
- return (_a = nuxtApp.ssrContext) == null ? void 0 : _a.event;
- }
- function prerenderRoutes(path) {
- if (!import.meta.prerender) {
- return;
- }
- const paths = toArray(path);
- appendHeader(useRequestEvent(), "x-nitro-prerender", paths.map((p) => encodeURIComponent(p)).join(", "));
- }
- let routes;
- const prerender_server_LXx1wM9sKF = /* @__PURE__ */ defineNuxtPlugin(async () => {
- let __temp, __restore;
- if (!import.meta.prerender || hashMode) {
- return;
- }
- if (routes && !routes.length) {
- return;
- }
- (/* @__PURE__ */ useRuntimeConfig()).nitro.routeRules;
- routes || (routes = Array.from(processRoutes(([__temp, __restore] = executeAsync(() => {
- var _a;
- return (_a = routerOptions.routes) == null ? void 0 : _a.call(routerOptions, _routes);
- }), __temp = await __temp, __restore(), __temp) ?? _routes)));
- const batch = routes.splice(0, 10);
- prerenderRoutes(batch);
- });
- const OPTIONAL_PARAM_RE = /^\/?:.*(?:\?|\(\.\*\)\*)$/;
- function shouldPrerender(path) {
- return true;
- }
- function processRoutes(routes2, currentPath = "/", routesToPrerender = /* @__PURE__ */ new Set()) {
- var _a;
- for (const route of routes2) {
- if (OPTIONAL_PARAM_RE.test(route.path) && !((_a = route.children) == null ? void 0 : _a.length) && shouldPrerender()) {
- routesToPrerender.add(currentPath);
- }
- if (route.path.includes(":")) {
- continue;
- }
- const fullPath = joinURL(currentPath, route.path);
- {
- routesToPrerender.add(fullPath);
- }
- if (route.children) {
- processRoutes(route.children, fullPath, routesToPrerender);
- }
- }
- return routesToPrerender;
- }
- const plugins = [
- unhead_KgADcZ0jPj,
- plugin,
- revive_payload_server_eJ33V7gbc6,
- components_plugin_KR1HBZs4kY,
- element_plus_elM4AXquKi,
- pinia_Uphuq97G1L,
- prerender_server_LXx1wM9sKF
- ];
- const layouts = {};
- const LayoutLoader = defineComponent({
- name: "LayoutLoader",
- inheritAttrs: false,
- props: {
- name: String,
- layoutProps: Object
- },
- setup(props, context) {
- return () => h(layouts[props.name], props.layoutProps, context.slots);
- }
- });
- const __nuxt_component_0 = defineComponent({
- name: "NuxtLayout",
- inheritAttrs: false,
- props: {
- name: {
- type: [String, Boolean, Object],
- default: null
- },
- fallback: {
- type: [String, Object],
- default: null
- }
- },
- setup(props, context) {
- const nuxtApp = useNuxtApp();
- const injectedRoute = inject(PageRouteSymbol);
- const route = injectedRoute === useRoute() ? useRoute$1() : injectedRoute;
- const layout = computed(() => {
- let layout2 = unref(props.name) ?? route.meta.layout ?? "default";
- if (layout2 && !(layout2 in layouts)) {
- if (props.fallback) {
- layout2 = unref(props.fallback);
- }
- }
- return layout2;
- });
- const layoutRef = ref();
- context.expose({ layoutRef });
- const done = nuxtApp.deferHydration();
- return () => {
- const hasLayout = layout.value && layout.value in layouts;
- const transitionProps = route.meta.layoutTransition ?? appLayoutTransition;
- return _wrapIf(Transition, hasLayout && transitionProps, {
- default: () => h(Suspense, { suspensible: true, onResolve: () => {
- nextTick(done);
- } }, {
- default: () => h(
- LayoutProvider,
- {
- layoutProps: mergeProps(context.attrs, { ref: layoutRef }),
- key: layout.value || void 0,
- name: layout.value,
- shouldProvide: !props.name,
- hasTransition: !!transitionProps
- },
- context.slots
- )
- })
- }).default();
- };
- }
- });
- const LayoutProvider = defineComponent({
- name: "NuxtLayoutProvider",
- inheritAttrs: false,
- props: {
- name: {
- type: [String, Boolean]
- },
- layoutProps: {
- type: Object
- },
- hasTransition: {
- type: Boolean
- },
- shouldProvide: {
- type: Boolean
- }
- },
- setup(props, context) {
- const name = props.name;
- if (props.shouldProvide) {
- provide(LayoutMetaSymbol, {
- isCurrent: (route) => name === (route.meta.layout ?? "default")
- });
- }
- return () => {
- var _a, _b;
- if (!name || typeof name === "string" && !(name in layouts)) {
- return (_b = (_a = context.slots).default) == null ? void 0 : _b.call(_a);
- }
- return h(
- LayoutLoader,
- { key: name, layoutProps: props.layoutProps, name },
- context.slots
- );
- };
- }
- });
- const RouteProvider = defineComponent({
- props: {
- vnode: {
- type: Object,
- required: true
- },
- route: {
- type: Object,
- required: true
- },
- vnodeRef: Object,
- renderKey: String,
- trackRootNodes: Boolean
- },
- setup(props) {
- const previousKey = props.renderKey;
- const previousRoute = props.route;
- const route = {};
- for (const key in props.route) {
- Object.defineProperty(route, key, {
- get: () => previousKey === props.renderKey ? props.route[key] : previousRoute[key],
- enumerable: true
- });
- }
- provide(PageRouteSymbol, shallowReactive(route));
- return () => {
- return h(props.vnode, { ref: props.vnodeRef });
- };
- }
- });
- 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, slots, expose }) {
- const nuxtApp = useNuxtApp();
- const pageRef = ref();
- const forkRoute = inject(PageRouteSymbol, null);
- let previousPageKey;
- expose({ pageRef });
- inject(LayoutMetaSymbol, null);
- let vnode;
- const done = nuxtApp.deferHydration();
- if (props.pageKey) {
- watch(() => props.pageKey, (next, prev) => {
- if (next !== prev) {
- nuxtApp.callHook("page:loading:start");
- }
- });
- }
- let pageLoadingEndHookAlreadyCalled = false;
- return () => {
- return h(RouterView, { name: props.name, route: props.route, ...attrs }, {
- default: (routeProps) => {
- if (!routeProps.Component) {
- done();
- return;
- }
- const key = generateRouteKey$1(routeProps, props.pageKey);
- if (!nuxtApp.isHydrating && !hasChildrenRoutes(forkRoute, routeProps.route, routeProps.Component) && previousPageKey === key) {
- nuxtApp.callHook("page:loading:end");
- pageLoadingEndHookAlreadyCalled = true;
- }
- previousPageKey = key;
- const hasTransition = !!(props.transition ?? routeProps.route.meta.pageTransition ?? appPageTransition);
- const transitionProps = hasTransition && _mergeTransitionProps([
- props.transition,
- routeProps.route.meta.pageTransition,
- appPageTransition,
- { onAfterLeave: () => {
- nuxtApp.callHook("page:transition:finish", routeProps.Component);
- } }
- ].filter(Boolean));
- const keepaliveConfig = props.keepalive ?? routeProps.route.meta.keepalive ?? appKeepalive;
- vnode = _wrapIf(
- Transition,
- hasTransition && transitionProps,
- wrapInKeepAlive(
- keepaliveConfig,
- h(Suspense, {
- suspensible: true,
- onPending: () => nuxtApp.callHook("page:start", routeProps.Component),
- onResolve: () => {
- nextTick(() => nuxtApp.callHook("page:finish", routeProps.Component).then(() => {
- if (!pageLoadingEndHookAlreadyCalled) {
- return nuxtApp.callHook("page:loading:end");
- }
- pageLoadingEndHookAlreadyCalled = false;
- }).finally(done));
- }
- }, {
- default: () => {
- const providerVNode = h(RouteProvider, {
- key: key || void 0,
- vnode: slots.default ? h(Fragment, void 0, slots.default(routeProps)) : routeProps.Component,
- route: routeProps.route,
- renderKey: key || void 0,
- trackRootNodes: hasTransition,
- vnodeRef: pageRef
- });
- return providerVNode;
- }
- })
- )
- ).default();
- return vnode;
- }
- });
- };
- }
- });
- function _mergeTransitionProps(routeProps) {
- const _props = routeProps.map((prop) => ({
- ...prop,
- onAfterLeave: prop.onAfterLeave ? toArray$1(prop.onAfterLeave) : void 0
- }));
- return defu(..._props);
- }
- function hasChildrenRoutes(fork, newRoute, Component) {
- if (!fork) {
- return false;
- }
- const index = newRoute.matched.findIndex((m) => {
- var _a;
- return ((_a = m.components) == null ? void 0 : _a.default) === (Component == null ? void 0 : Component.type);
- });
- return index < newRoute.matched.length - 1;
- }
- const _imports_4 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAL6UlEQVRoQ81b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M7UTo5DsHibzczyXnXO4feRyGZtXly5f/4m0DYSZlnyTs1pikTcxBpbNhdhbvJBPIrHTB8Hno+j7jQYLiwlqdWgrt27RfgUT/zP2t+YzHEyJJfyIxVTLmkgE1BRrTb5gs5xn5GLx/j8HYzfx9nXQjSX/0C6jeXyAkfBPvkhk0ffr0OwB+D9fXIZjCAEzg/g7uo7gfIZX4f5l7+VDkP/ye4fd9cR44J/6gvr6+xU4CmtXAeXr3X/KL+q3PtU1AAAAAAElFTkSuQmCC";
- const _export_sfc = (sfc, props) => {
- const target = sfc.__vccOpts || sfc;
- for (const [key, val] of props) {
- target[key] = val;
- }
- return target;
- };
- const _sfc_main$2 = {
- __name: "app",
- __ssrInlineRender: true,
- setup(__props) {
- let close = () => {
- let kefu = (void 0).querySelector(".kefu");
- kefu.style.display = "none";
- };
- return (_ctx, _push, _parent, _attrs) => {
- const _component_NuxtLayout = __nuxt_component_0;
- const _component_NuxtPage = __nuxt_component_1;
- _push(`<div${ssrRenderAttrs(mergeProps({ class: "sannong" }, _attrs))} data-v-35fd1a99>`);
- _push(ssrRenderComponent(_component_NuxtLayout, null, {
- default: withCtx((_, _push2, _parent2, _scopeId) => {
- if (_push2) {
- _push2(ssrRenderComponent(_component_NuxtPage, null, null, _parent2, _scopeId));
- _push2(`<ul class="kefu" data-v-35fd1a99${_scopeId}><li data-v-35fd1a99${_scopeId}><img${ssrRenderAttr("src", _imports_4)} alt="" data-v-35fd1a99${_scopeId}><p data-v-35fd1a99${_scopeId}>微信客服</p></li><li data-v-35fd1a99${_scopeId}><img${ssrRenderAttr("src", _imports_5)} alt="" data-v-35fd1a99${_scopeId}><p data-v-35fd1a99${_scopeId}>QQ客服</p></li><li data-v-35fd1a99${_scopeId}><img${ssrRenderAttr("src", _imports_6)} alt="" data-v-35fd1a99${_scopeId}><p data-v-35fd1a99${_scopeId}>电话客服</p></li><li data-v-35fd1a99${_scopeId}><img${ssrRenderAttr("src", _imports_7)} alt="" data-v-35fd1a99${_scopeId}><p data-v-35fd1a99${_scopeId}>关闭</p></li></ul>`);
- } else {
- return [
- createVNode(_component_NuxtPage),
- createVNode("ul", { class: "kefu" }, [
- createVNode("li", null, [
- createVNode("img", {
- src: _imports_4,
- alt: ""
- }),
- createVNode("p", null, "微信客服")
- ]),
- createVNode("li", null, [
- createVNode("img", {
- src: _imports_5,
- alt: ""
- }),
- createVNode("p", null, "QQ客服")
- ]),
- createVNode("li", null, [
- createVNode("img", {
- src: _imports_6,
- alt: ""
- }),
- createVNode("p", null, "电话客服")
- ]),
- createVNode("li", { onClick: unref(close) }, [
- createVNode("img", {
- src: _imports_7,
- alt: ""
- }),
- createVNode("p", null, "关闭")
- ], 8, ["onClick"])
- ])
- ];
- }
- }),
- _: 1
- }, _parent));
- _push(`</div>`);
- };
- }
- };
- 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("app.vue");
- return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
- };
- const AppComponent = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-35fd1a99"]]);
- const _sfc_main$1 = {
- __name: "nuxt-error-page",
- __ssrInlineRender: true,
- props: {
- error: Object
- },
- setup(__props) {
- const props = __props;
- const _error = props.error;
- _error.stack ? _error.stack.split("\n").splice(1).map((line) => {
- const text = line.replace("webpack:/", "").replace(".vue", ".js").trim();
- return {
- text,
- internal: line.includes("node_modules") && !line.includes(".cache") || line.includes("internal") || line.includes("new Promise")
- };
- }).map((i) => `<span class="stack${i.internal ? " internal" : ""}">${i.text}</span>`).join("\n") : "";
- const statusCode = Number(_error.statusCode || 500);
- const is404 = statusCode === 404;
- const statusMessage = _error.statusMessage ?? (is404 ? "Page Not Found" : "Internal Server Error");
- const description = _error.message || _error.toString();
- const stack = void 0;
- const _Error404 = defineAsyncComponent(() => import("./_nuxt/error-404-1DoOx2g-.js"));
- const _Error = defineAsyncComponent(() => import("./_nuxt/error-500-DiFXPdiX.js"));
- const ErrorTemplate = is404 ? _Error404 : _Error;
- return (_ctx, _push, _parent, _attrs) => {
- _push(ssrRenderComponent(unref(ErrorTemplate), mergeProps({ statusCode: unref(statusCode), statusMessage: unref(statusMessage), description: unref(description), stack: unref(stack) }, _attrs), null, _parent));
- };
- }
- };
- 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/nuxt/dist/app/components/nuxt-error-page.vue");
- return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
- };
- const _sfc_main = {
- __name: "nuxt-root",
- __ssrInlineRender: true,
- setup(__props) {
- const IslandRenderer = () => null;
- const nuxtApp = useNuxtApp();
- nuxtApp.deferHydration();
- nuxtApp.ssrContext.url;
- const SingleRenderer = false;
- provide(PageRouteSymbol, useRoute());
- nuxtApp.hooks.callHookWith((hooks) => hooks.map((hook) => hook()), "vue:setup");
- const error = useError();
- const abortRender = error.value && !nuxtApp.ssrContext.error;
- onErrorCaptured((err, target, info) => {
- nuxtApp.hooks.callHook("vue:error", err, target, info).catch((hookError) => console.error("[nuxt] Error in `vue:error` hook", hookError));
- {
- const p = nuxtApp.runWithContext(() => showError(err));
- onServerPrefetch(() => p);
- return false;
- }
- });
- const islandContext = nuxtApp.ssrContext.islandContext;
- return (_ctx, _push, _parent, _attrs) => {
- ssrRenderSuspense(_push, {
- default: () => {
- if (unref(abortRender)) {
- _push(`<div></div>`);
- } else if (unref(error)) {
- _push(ssrRenderComponent(unref(_sfc_main$1), { error: unref(error) }, null, _parent));
- } else if (unref(islandContext)) {
- _push(ssrRenderComponent(unref(IslandRenderer), { context: unref(islandContext) }, null, _parent));
- } else if (unref(SingleRenderer)) {
- ssrRenderVNode(_push, createVNode(resolveDynamicComponent(unref(SingleRenderer)), null, null), _parent);
- } else {
- _push(ssrRenderComponent(unref(AppComponent), null, null, _parent));
- }
- },
- _: 1
- });
- };
- }
- };
- const _sfc_setup = _sfc_main.setup;
- _sfc_main.setup = (props, ctx) => {
- const ssrContext = useSSRContext();
- (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("node_modules/nuxt/dist/app/components/nuxt-root.vue");
- return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
- };
- let entry;
- {
- entry = async function createNuxtAppServer(ssrContext) {
- const vueApp = createApp(_sfc_main);
- const nuxt = createNuxtApp({ vueApp, ssrContext });
- try {
- await applyPlugins(nuxt, plugins);
- await nuxt.hooks.callHook("app:created", vueApp);
- } catch (error) {
- await nuxt.hooks.callHook("app:error", error);
- nuxt.payload.error = nuxt.payload.error || createError(error);
- }
- if (ssrContext == null ? void 0 : ssrContext._renderResponse) {
- throw new Error("skipping render");
- }
- return vueApp;
- };
- }
- const entry$1 = (ssrContext) => entry(ssrContext);
- export {
- _export_sfc as _,
- navigateTo as a,
- useNuxtApp as b,
- useRuntimeConfig as c,
- resolveUnrefHeadInput as d,
- entry$1 as default,
- useRoute as e,
- injectHead as i,
- nuxtLinkDefaults as n,
- resolveRouteObject as r,
- useRouter as u
- };
- //# sourceMappingURL=server.mjs.map
|