@nuxtjs/sitemap 7.2.9 → 7.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/client/200.html +9 -9
  2. package/dist/client/404.html +9 -9
  3. package/dist/client/_nuxt/Cp-IABpG.js +1 -0
  4. package/dist/client/_nuxt/DJVkgDQ2.js +1 -0
  5. package/dist/client/_nuxt/SmY-NWqO.js +172 -0
  6. package/dist/client/_nuxt/builds/latest.json +1 -1
  7. package/dist/client/_nuxt/builds/meta/e48bfd5b-6605-4bbc-a466-32a664787616.json +1 -0
  8. package/dist/client/_nuxt/{entry.CJ2Eg9q-.css → entry.CgW0_noo.css} +1 -1
  9. package/dist/client/_nuxt/error-404.CtcyoHAN.css +1 -0
  10. package/dist/client/_nuxt/error-500.BIlfyoPk.css +1 -0
  11. package/dist/client/_nuxt/lL_X76lO.js +1 -0
  12. package/dist/client/index.html +9 -9
  13. package/dist/content.d.cts +2 -1
  14. package/dist/content.d.mts +2 -1
  15. package/dist/content.d.ts +2 -1
  16. package/dist/module.cjs +83 -42
  17. package/dist/module.d.cts +3 -1
  18. package/dist/module.d.mts +3 -1
  19. package/dist/module.d.ts +3 -1
  20. package/dist/module.json +3 -3
  21. package/dist/module.mjs +84 -43
  22. package/dist/runtime/server/plugins/warm-up.js +20 -4
  23. package/dist/runtime/server/routes/__sitemap__/debug.d.ts +4 -4
  24. package/dist/runtime/server/routes/__sitemap__/debug.js +2 -2
  25. package/dist/runtime/server/routes/__sitemap__/nuxt-content-urls-v3.js +7 -2
  26. package/dist/runtime/server/routes/sitemap/[sitemap].xml.js +37 -7
  27. package/dist/runtime/server/routes/sitemap_index.xml.js +11 -3
  28. package/dist/runtime/server/sitemap/builder/sitemap-index.d.ts +1 -1
  29. package/dist/runtime/server/sitemap/builder/sitemap-index.js +110 -16
  30. package/dist/runtime/server/sitemap/builder/sitemap.d.ts +1 -1
  31. package/dist/runtime/server/sitemap/builder/sitemap.js +62 -36
  32. package/dist/runtime/server/sitemap/builder/xml.d.ts +2 -3
  33. package/dist/runtime/server/sitemap/builder/xml.js +182 -80
  34. package/dist/runtime/server/sitemap/nitro.js +68 -20
  35. package/dist/runtime/server/sitemap/urlset/normalise.js +21 -19
  36. package/dist/runtime/server/sitemap/urlset/sort.d.ts +1 -1
  37. package/dist/runtime/server/sitemap/urlset/sort.js +9 -15
  38. package/dist/runtime/server/sitemap/utils/chunk.d.ts +10 -0
  39. package/dist/runtime/server/sitemap/utils/chunk.js +66 -0
  40. package/dist/runtime/types.d.ts +44 -0
  41. package/dist/runtime/utils-pure.js +13 -5
  42. package/dist/types.d.mts +5 -1
  43. package/package.json +32 -38
  44. package/content.d.ts +0 -1
  45. package/dist/client/_nuxt/BQoSv7ci.js +0 -1
  46. package/dist/client/_nuxt/BuImKM08.js +0 -1
  47. package/dist/client/_nuxt/DGiw9jHL.js +0 -172
  48. package/dist/client/_nuxt/LwtYuSjN.js +0 -1
  49. package/dist/client/_nuxt/builds/meta/491f5d1a-004d-407a-b464-c3363f77bc23.json +0 -1
  50. package/dist/client/_nuxt/error-404.CmL6pbzl.css +0 -1
  51. package/dist/client/_nuxt/error-500.CnmYQu0q.css +0 -1
  52. package/dist/types.d.ts +0 -1
@@ -1,19 +1,13 @@
1
- export function sortSitemapUrls(urls) {
2
- return urls.sort(
3
- (a, b) => {
4
- const aLoc = typeof a === "string" ? a : a.loc;
5
- const bLoc = typeof b === "string" ? b : b.loc;
6
- return aLoc.localeCompare(bLoc, void 0, { numeric: true });
7
- }
8
- ).sort((a, b) => {
9
- const aLoc = (typeof a === "string" ? a : a.loc) || "";
10
- const bLoc = (typeof b === "string" ? b : b.loc) || "";
1
+ export function sortInPlace(urls) {
2
+ urls.sort((a, b) => {
3
+ const aLoc = typeof a === "string" ? a : a.loc;
4
+ const bLoc = typeof b === "string" ? b : b.loc;
11
5
  const aSegments = aLoc.split("/").length;
12
6
  const bSegments = bLoc.split("/").length;
13
- if (aSegments > bSegments)
14
- return 1;
15
- if (aSegments < bSegments)
16
- return -1;
17
- return 0;
7
+ if (aSegments !== bSegments) {
8
+ return aSegments - bSegments;
9
+ }
10
+ return aLoc.localeCompare(bLoc, void 0, { numeric: true });
18
11
  });
12
+ return urls;
19
13
  }
@@ -0,0 +1,10 @@
1
+ import type { ModuleRuntimeConfig, SitemapDefinition } from '../../../types.js';
2
+ export interface ChunkInfo {
3
+ isChunked: boolean;
4
+ baseSitemapName: string;
5
+ chunkIndex?: number;
6
+ chunkSize: number;
7
+ }
8
+ export declare function parseChunkInfo(sitemapName: string, sitemaps: ModuleRuntimeConfig['sitemaps'], defaultChunkSize?: number): ChunkInfo;
9
+ export declare function getSitemapConfig(sitemapName: string, sitemaps: ModuleRuntimeConfig['sitemaps'], defaultChunkSize?: number): SitemapDefinition;
10
+ export declare function sliceUrlsForChunk<T>(urls: T[], sitemapName: string, sitemaps: ModuleRuntimeConfig['sitemaps'], defaultChunkSize?: number): T[];
@@ -0,0 +1,66 @@
1
+ export function parseChunkInfo(sitemapName, sitemaps, defaultChunkSize = 1e3) {
2
+ if (typeof sitemaps.chunks !== "undefined" && !Number.isNaN(Number(sitemapName))) {
3
+ return {
4
+ isChunked: true,
5
+ baseSitemapName: "sitemap",
6
+ chunkIndex: Number(sitemapName),
7
+ chunkSize: defaultChunkSize
8
+ };
9
+ }
10
+ if (sitemapName.includes("-")) {
11
+ const parts = sitemapName.split("-");
12
+ const lastPart = parts.pop();
13
+ if (!Number.isNaN(Number(lastPart))) {
14
+ const baseSitemapName = parts.join("-");
15
+ const baseSitemap = sitemaps[baseSitemapName];
16
+ if (baseSitemap && (baseSitemap.chunks || baseSitemap._isChunking)) {
17
+ const chunkSize = typeof baseSitemap.chunks === "number" ? baseSitemap.chunks : baseSitemap.chunkSize || defaultChunkSize;
18
+ return {
19
+ isChunked: true,
20
+ baseSitemapName,
21
+ chunkIndex: Number(lastPart),
22
+ chunkSize
23
+ };
24
+ }
25
+ }
26
+ }
27
+ return {
28
+ isChunked: false,
29
+ baseSitemapName: sitemapName,
30
+ chunkIndex: void 0,
31
+ chunkSize: defaultChunkSize
32
+ };
33
+ }
34
+ export function getSitemapConfig(sitemapName, sitemaps, defaultChunkSize = 1e3) {
35
+ const chunkInfo = parseChunkInfo(sitemapName, sitemaps, defaultChunkSize);
36
+ if (chunkInfo.isChunked) {
37
+ if (chunkInfo.baseSitemapName === "sitemap" && typeof sitemaps.chunks !== "undefined") {
38
+ return {
39
+ ...sitemaps.chunks,
40
+ sitemapName,
41
+ _isChunking: true,
42
+ _chunkSize: chunkInfo.chunkSize
43
+ };
44
+ }
45
+ const baseSitemap = sitemaps[chunkInfo.baseSitemapName];
46
+ if (baseSitemap) {
47
+ return {
48
+ ...baseSitemap,
49
+ sitemapName,
50
+ // Use the full name with chunk index
51
+ _isChunking: true,
52
+ _chunkSize: chunkInfo.chunkSize
53
+ };
54
+ }
55
+ }
56
+ return sitemaps[sitemapName];
57
+ }
58
+ export function sliceUrlsForChunk(urls, sitemapName, sitemaps, defaultChunkSize = 1e3) {
59
+ const chunkInfo = parseChunkInfo(sitemapName, sitemaps, defaultChunkSize);
60
+ if (chunkInfo.isChunked && chunkInfo.chunkIndex !== void 0) {
61
+ const startIndex = chunkInfo.chunkIndex * chunkInfo.chunkSize;
62
+ const endIndex = (chunkInfo.chunkIndex + 1) * chunkInfo.chunkSize;
63
+ return urls.slice(startIndex, endIndex);
64
+ }
65
+ return urls;
66
+ }
@@ -211,6 +211,7 @@ export interface AutoI18nConfig {
211
211
  })[];
212
212
  defaultLocale: string;
213
213
  strategy: 'prefix' | 'prefix_except_default' | 'prefix_and_default' | 'no_prefix';
214
+ pages?: Record<string, Record<string, string | false>>;
214
215
  }
215
216
  export interface ModuleRuntimeConfig extends Pick<ModuleOptions, 'sitemapsPathPrefix' | 'cacheMaxAgeSeconds' | 'sitemapName' | 'excludeAppSources' | 'sortEntries' | 'defaultSitemapsChunkSize' | 'xslColumns' | 'xslTips' | 'debug' | 'discoverImages' | 'discoverVideos' | 'autoLastmod' | 'xsl' | 'credits' | 'minify'> {
216
217
  version: string;
@@ -291,10 +292,49 @@ export interface SitemapDefinition {
291
292
  * Additional sources of URLs to include in the sitemap.
292
293
  */
293
294
  sources?: SitemapSourceInput[];
295
+ /**
296
+ * Whether to enable chunking for this sitemap.
297
+ *
298
+ * - `true`: Enable with default chunk size from `defaultSitemapsChunkSize`
299
+ * - `number`: Enable with specific chunk size (must be > 0)
300
+ * - `false` or `undefined`: Disable chunking
301
+ *
302
+ * Note: Chunking only applies to sitemaps with sources. URLs provided directly
303
+ * are not chunked.
304
+ *
305
+ * @default false
306
+ * @example true
307
+ * @example 5000
308
+ */
309
+ chunks?: boolean | number;
310
+ /**
311
+ * The maximum number of URLs per chunk when chunking is enabled.
312
+ * Takes precedence over the `chunks` property when both are specified.
313
+ * Also overrides the global `defaultSitemapsChunkSize`.
314
+ *
315
+ * Must be a positive integer.
316
+ *
317
+ * @default 1000
318
+ * @example 500
319
+ * @example 10000
320
+ */
321
+ chunkSize?: number;
294
322
  /**
295
323
  * @internal
296
324
  */
297
325
  _route?: string;
326
+ /**
327
+ * @internal
328
+ */
329
+ _isChunking?: boolean;
330
+ /**
331
+ * @internal
332
+ */
333
+ _chunkSize?: number;
334
+ /**
335
+ * @internal
336
+ */
337
+ _chunkCount?: number;
298
338
  }
299
339
  interface NitroBaseHook {
300
340
  event: H3Event;
@@ -314,6 +354,10 @@ export interface SitemapOutputHookCtx extends NitroBaseHook {
314
354
  sitemapName: string;
315
355
  sitemap: string;
316
356
  }
357
+ export interface SitemapSourcesHookCtx extends NitroBaseHook {
358
+ sitemapName: string;
359
+ sources: (SitemapSourceBase | SitemapSourceResolved)[];
360
+ }
317
361
  export type Changefreq = 'always' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'never';
318
362
  export interface SitemapUrl {
319
363
  loc: string;
@@ -13,12 +13,20 @@ const merger = createDefu((obj, key, value) => {
13
13
  return obj[key];
14
14
  });
15
15
  export function mergeOnKey(arr, key) {
16
- const res = {};
17
- arr.forEach((item) => {
16
+ const seen = /* @__PURE__ */ new Map();
17
+ let resultLength = 0;
18
+ const result = Array.from({ length: arr.length });
19
+ for (const item of arr) {
18
20
  const k = item[key];
19
- res[k] = merger(item, res[k] || {});
20
- });
21
- return Object.values(res);
21
+ if (seen.has(k)) {
22
+ const existingIndex = seen.get(k);
23
+ result[existingIndex] = merger(item, result[existingIndex]);
24
+ } else {
25
+ seen.set(k, resultLength);
26
+ result[resultLength++] = item;
27
+ }
28
+ }
29
+ return result.slice(0, resultLength);
22
30
  }
23
31
  export function splitForLocales(path, locales) {
24
32
  const prefix = withLeadingSlash(path).split("/")[1];
package/dist/types.d.mts CHANGED
@@ -1 +1,5 @@
1
- export { type ModuleOptions, default } from './module.js'
1
+ export { default } from './module.mjs'
2
+
3
+ export { type ModuleOptions } from './module.mjs'
4
+
5
+ export * from '../dist/runtime/types.js'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxtjs/sitemap",
3
3
  "type": "module",
4
- "version": "7.2.9",
4
+ "version": "7.3.0",
5
5
  "description": "Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",
@@ -24,65 +24,59 @@
24
24
  "exports": {
25
25
  ".": {
26
26
  "types": "./dist/types.d.mts",
27
- "import": "./dist/module.mjs",
28
- "require": "./dist/module.cjs"
27
+ "import": "./dist/module.mjs"
29
28
  },
30
- "./content": {
31
- "import": "./dist/content.mjs",
32
- "require": "./dist/content.cjs"
33
- }
29
+ "./content": "./dist/content.mjs"
34
30
  },
35
- "main": "./dist/module.cjs",
36
- "types": "./dist/types.d.ts",
31
+ "main": "./dist/module.mjs",
37
32
  "files": [
38
33
  "dist",
39
- "virtual.d.ts",
40
- "content.d.ts"
34
+ "virtual.d.ts"
41
35
  ],
42
36
  "typesVersions": {
43
37
  "*": {
38
+ ".": [
39
+ "./dist/types.d.mts"
40
+ ],
44
41
  "content": [
45
- "dist/content"
42
+ "./dist/content.d.mts"
46
43
  ]
47
44
  }
48
45
  },
49
46
  "dependencies": {
50
- "@nuxt/devtools-kit": "^2.3.0",
51
- "@nuxt/kit": "^3.16.0",
47
+ "@nuxt/devtools-kit": "^2.4.1",
48
+ "@nuxt/kit": "^3.17.3",
52
49
  "chalk": "^5.4.1",
53
50
  "defu": "^6.1.4",
54
51
  "h3-compression": "^0.3.2",
55
- "nuxt-site-config": "^3.1.5",
52
+ "nuxt-site-config": "^3.2.0",
56
53
  "ofetch": "^1.4.1",
57
54
  "pathe": "^2.0.3",
58
55
  "pkg-types": "^2.1.0",
59
56
  "radix3": "^1.1.2",
60
- "semver": "^7.7.1",
57
+ "semver": "^7.7.2",
61
58
  "sirv": "^3.0.1",
62
- "ufo": "^1.5.4"
59
+ "ufo": "^1.6.1"
63
60
  },
64
61
  "devDependencies": {
65
- "@arethetypeswrong/cli": "0.17.4",
66
- "@nuxt/content": "^3.3.0",
67
- "@nuxt/eslint-config": "^1.2.0",
68
- "@nuxt/module-builder": "^0.8.4",
69
- "@nuxt/test-utils": "^3.17.2",
70
- "@nuxt/ui": "^3.0.0",
71
- "@nuxtjs/i18n": "9.3.1",
72
- "@nuxtjs/robots": "^5.2.7",
73
- "bumpp": "^10.1.0",
74
- "eslint": "^9.22.0",
75
- "eslint-plugin-n": "^17.16.2",
76
- "execa": "^9.5.2",
77
- "nuxt": "^3.16.0",
78
- "nuxt-i18n-micro": "^1.79.0",
79
- "typescript": "5.8.2",
80
- "vitest": "^3.0.8",
81
- "vue-tsc": "^2.2.8"
82
- },
83
- "resolutions": {
84
- "postcss": "8.4.47",
85
- "typescript": "5.6.3"
62
+ "@arethetypeswrong/cli": "^0.18.1",
63
+ "@nuxt/content": "^3.5.1",
64
+ "@nuxt/eslint-config": "^1.4.0",
65
+ "@nuxt/module-builder": "^1.0.1",
66
+ "@nuxt/test-utils": "^3.19.0",
67
+ "@nuxt/ui": "^3.1.2",
68
+ "@nuxtjs/i18n": "^9.5.4",
69
+ "@nuxtjs/robots": "^5.2.10",
70
+ "bumpp": "^10.1.1",
71
+ "eslint": "^9.27.0",
72
+ "eslint-plugin-n": "^17.18.0",
73
+ "execa": "^9.5.3",
74
+ "happy-dom": "^17.4.7",
75
+ "nuxt": "^3.17.3",
76
+ "nuxt-i18n-micro": "^1.87.0",
77
+ "typescript": "^5.8.3",
78
+ "vitest": "^3.1.3",
79
+ "vue-tsc": "^2.2.10"
86
80
  },
87
81
  "scripts": {
88
82
  "lint": "eslint .",
package/content.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './dist/content'
@@ -1 +0,0 @@
1
- const n=Object.freeze(JSON.parse('{"displayName":"JSON","name":"json","patterns":[{"include":"#value"}],"repository":{"array":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.json"}},"end":"\\\\]","endCaptures":{"0":{"name":"punctuation.definition.array.end.json"}},"name":"meta.structure.array.json","patterns":[{"include":"#value"},{"match":",","name":"punctuation.separator.array.json"},{"match":"[^\\\\s\\\\]]","name":"invalid.illegal.expected-array-separator.json"}]},"comments":{"patterns":[{"begin":"/\\\\*\\\\*(?!/)","captures":{"0":{"name":"punctuation.definition.comment.json"}},"end":"\\\\*/","name":"comment.block.documentation.json"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.json"}},"end":"\\\\*/","name":"comment.block.json"},{"captures":{"1":{"name":"punctuation.definition.comment.json"}},"match":"(//).*$\\\\n?","name":"comment.line.double-slash.js"}]},"constant":{"match":"\\\\b(?:true|false|null)\\\\b","name":"constant.language.json"},"number":{"match":"-?(?:0|[1-9]\\\\d*)(?:(?:\\\\.\\\\d+)?(?:[eE][+-]?\\\\d+)?)?","name":"constant.numeric.json"},"object":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.dictionary.begin.json"}},"end":"\\\\}","endCaptures":{"0":{"name":"punctuation.definition.dictionary.end.json"}},"name":"meta.structure.dictionary.json","patterns":[{"comment":"the JSON object key","include":"#objectkey"},{"include":"#comments"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.dictionary.key-value.json"}},"end":"(,)|(?=\\\\})","endCaptures":{"1":{"name":"punctuation.separator.dictionary.pair.json"}},"name":"meta.structure.dictionary.value.json","patterns":[{"comment":"the JSON object value","include":"#value"},{"match":"[^\\\\s,]","name":"invalid.illegal.expected-dictionary-separator.json"}]},{"match":"[^\\\\s\\\\}]","name":"invalid.illegal.expected-dictionary-separator.json"}]},"objectkey":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.support.type.property-name.begin.json"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.support.type.property-name.end.json"}},"name":"string.json support.type.property-name.json","patterns":[{"include":"#stringcontent"}]},"string":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.json"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.json"}},"name":"string.quoted.double.json","patterns":[{"include":"#stringcontent"}]},"stringcontent":{"patterns":[{"match":"\\\\\\\\(?:[\\"\\\\\\\\/bfnrt]|u[0-9a-fA-F]{4})","name":"constant.character.escape.json"},{"match":"\\\\\\\\.","name":"invalid.illegal.unrecognized-string-escape.json"}]},"value":{"patterns":[{"include":"#constant"},{"include":"#number"},{"include":"#string"},{"include":"#array"},{"include":"#object"},{"include":"#comments"}]}},"scopeName":"source.json"}')),e=[n];export{e as default};
@@ -1 +0,0 @@
1
- import{_ as s,u as a,c as i,o as u,a as e,t as o}from"./DGiw9jHL.js";const l={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},c={class:"max-w-520px text-center"},d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const r=t;return a({title:`${r.statusCode} - ${r.statusMessage} | ${r.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}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(g,n)=>(u(),i("div",l,[n[0]||(n[0]=e("div",{class:"-bottom-1/2 fixed h-1/2 left-0 right-0 spotlight"},null,-1)),e("div",c,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:o(t.statusCode)},null,8,d),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:o(t.description)},null,8,p)])]))}},m=s(f,[["__scopeId","data-v-d1df91cd"]]);export{m as default};