123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- import { _ as __nuxt_component_0 } from './nuxt-link-COteDoP9.mjs';
- import { mergeProps, withCtx, createTextVNode, toDisplayString, useSSRContext } from 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/vue/index.mjs';
- import { ssrRenderAttrs, ssrInterpolate, ssrRenderComponent } from 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/vue/server-renderer/index.mjs';
- import { _ as _export_sfc } from './server.mjs';
- import { u as useHead } from './index-BabADJUJ.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/ufo/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/ofetch/dist/node.mjs';
- import '../_/renderer.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/vue-bundle-renderer/dist/runtime.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/h3/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/devalue/index.js';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/@unhead/ssr/dist/index.mjs';
- import '../routes/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/destr/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/unenv/runtime/fetch/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/hookable/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/klona/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/scule/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/defu/dist/defu.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/ohash/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/unstorage/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/unstorage/drivers/fs.mjs';
- import 'file:///D:/zwj/nuxt/sannongzixunwang_web/node_modules/nuxt/dist/core/runtime/nitro/cache-driver.js';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/unstorage/drivers/fs-lite.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/radix3/dist/index.mjs';
- import 'node:fs';
- import 'node:url';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/pathe/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/unhead/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/@unhead/shared/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/unctx/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/vue-router/dist/vue-router.node.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/axios/index.js';
- const _sfc_main = {
- __name: "error-404",
- __ssrInlineRender: true,
- props: {
- appName: {
- type: String,
- default: "Nuxt"
- },
- version: {
- type: String,
- default: ""
- },
- statusCode: {
- type: Number,
- default: 404
- },
- statusMessage: {
- type: String,
- default: "Not Found"
- },
- description: {
- type: String,
- default: "Sorry, the page you are looking for could not be found."
- },
- backHome: {
- type: String,
- default: "Go back home"
- }
- },
- setup(__props) {
- const props = __props;
- useHead({
- title: `${props.statusCode} - ${props.statusMessage} | ${props.appName}`,
- script: [
- {
- children: `!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`
- }
- ],
- style: [
- {
- children: `*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }`
- }
- ]
- });
- return (_ctx, _push, _parent, _attrs) => {
- const _component_NuxtLink = __nuxt_component_0;
- _push(`<div${ssrRenderAttrs(mergeProps({ class: "antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black" }, _attrs))} data-v-00b6b518><div class="fixed left-0 right-0 spotlight z-10" data-v-00b6b518></div><div class="max-w-520px text-center z-20" data-v-00b6b518><h1 class="font-medium mb-8 sm:text-10xl text-8xl" data-v-00b6b518>${ssrInterpolate(__props.statusCode)}</h1><p class="font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl" data-v-00b6b518>${ssrInterpolate(__props.description)}</p><div class="flex items-center justify-center w-full" data-v-00b6b518>`);
- _push(ssrRenderComponent(_component_NuxtLink, {
- to: "/",
- class: "cursor-pointer gradient-border px-4 py-2 sm:px-6 sm:py-3 sm:text-xl text-md"
- }, {
- default: withCtx((_, _push2, _parent2, _scopeId) => {
- if (_push2) {
- _push2(`${ssrInterpolate(__props.backHome)}`);
- } else {
- return [
- createTextVNode(toDisplayString(__props.backHome), 1)
- ];
- }
- }),
- _: 1
- }, _parent));
- _push(`</div></div></div>`);
- };
- }
- };
- 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/error-404.vue");
- return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
- };
- const error404 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-00b6b518"]]);
- export { error404 as default };
- //# sourceMappingURL=error-404-CpwQ7les.mjs.map
|