@vitejs/devtools-vite 0.0.0-alpha.24 → 0.0.0-alpha.26
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.
- package/dist/index.d.mts +21 -6
- package/dist/index.mjs +32 -31
- package/dist/nitro.json +2 -2
- package/dist/public/200.html +1 -1
- package/dist/public/404.html +1 -1
- package/dist/public/_nuxt/{CCH9YWSk.js → BUYsVa2w.js} +1 -1
- package/dist/public/_nuxt/Bj1Ne9Zd.js +4 -0
- package/dist/public/_nuxt/BtP2tw8W.js +1 -0
- package/dist/public/_nuxt/{XFPAkZq2.js → DlUxzK25.js} +1 -1
- package/dist/public/_nuxt/builds/latest.json +1 -1
- package/dist/public/_nuxt/builds/meta/a520376f-9aad-44e8-90d3-6d17b4c698f8.json +1 -0
- package/dist/public/_nuxt/{entry.DDJZePKL.css → entry.BGq5yr3u.css} +1 -1
- package/dist/public/_nuxt/error-404.nd5UlTQL.css +1 -0
- package/dist/public/_nuxt/error-500.svYHyTgk.css +1 -0
- package/dist/public/index.html +1 -1
- package/package.json +9 -11
- package/dist/public/_nuxt/DkNjWA7f.js +0 -1
- package/dist/public/_nuxt/JxY_dSJ6.js +0 -4
- package/dist/public/_nuxt/builds/meta/4a05a09c-1867-4c3d-a0e3-047c4beb4ef3.json +0 -1
- package/dist/public/_nuxt/error-404.Tum2IZEU.css +0 -1
- package/dist/public/_nuxt/error-500.uKUrv0mn.css +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -24,14 +24,14 @@ interface EventEmitter<Events extends EventsMap> {
|
|
|
24
24
|
* @param event The event name.
|
|
25
25
|
* @param args The arguments for listeners.
|
|
26
26
|
*/
|
|
27
|
-
emit: <K
|
|
27
|
+
emit: <K extends keyof Events>(event: K, ...args: Parameters<Events[K]>) => void;
|
|
28
28
|
/**
|
|
29
29
|
* Calls the listeners for a given event once and then removes the listener.
|
|
30
30
|
*
|
|
31
31
|
* @param event The event name.
|
|
32
32
|
* @param args The arguments for listeners.
|
|
33
33
|
*/
|
|
34
|
-
emitOnce: <K
|
|
34
|
+
emitOnce: <K extends keyof Events>(event: K, ...args: Parameters<Events[K]>) => void;
|
|
35
35
|
/**
|
|
36
36
|
* Event names in keys and arrays with listeners in values.
|
|
37
37
|
*
|
|
@@ -55,7 +55,7 @@ interface EventEmitter<Events extends EventsMap> {
|
|
|
55
55
|
* @param cb The listener function.
|
|
56
56
|
* @returns Unbind listener from event.
|
|
57
57
|
*/
|
|
58
|
-
on: <K
|
|
58
|
+
on: <K extends keyof Events>(event: K, cb: Events[K]) => EventUnsubscribe;
|
|
59
59
|
/**
|
|
60
60
|
* Add a listener for a given event once.
|
|
61
61
|
*
|
|
@@ -73,7 +73,7 @@ interface EventEmitter<Events extends EventsMap> {
|
|
|
73
73
|
* @param cb The listener function.
|
|
74
74
|
* @returns Unbind listener from event.
|
|
75
75
|
*/
|
|
76
|
-
once: <K
|
|
76
|
+
once: <K extends keyof Events>(event: K, cb: Events[K]) => EventUnsubscribe;
|
|
77
77
|
}
|
|
78
78
|
//#endregion
|
|
79
79
|
//#region ../kit/src/types/docks.d.ts
|
|
@@ -90,7 +90,7 @@ interface DevToolsDockHost {
|
|
|
90
90
|
includeBuiltin?: boolean;
|
|
91
91
|
}) => DevToolsDockEntry[];
|
|
92
92
|
}
|
|
93
|
-
type DevToolsDockEntryCategory = 'app' | 'framework' | 'web' | 'advanced' | 'default' | 'builtin';
|
|
93
|
+
type DevToolsDockEntryCategory = 'app' | 'framework' | 'web' | 'advanced' | 'default' | '~viteplus' | '~builtin';
|
|
94
94
|
type DevToolsDockEntryIcon = string | {
|
|
95
95
|
light: string;
|
|
96
96
|
dark: string;
|
|
@@ -184,7 +184,7 @@ interface DevToolsNodeRpcSessionMeta {
|
|
|
184
184
|
type ImmutablePrimitive = undefined | null | boolean | string | number | Function;
|
|
185
185
|
type Immutable<T> = T extends ImmutablePrimitive ? T : T extends Array<infer U> ? ImmutableArray<U> : T extends Map<infer K, infer V> ? ImmutableMap<K, V> : T extends Set<infer M> ? ImmutableSet<M> : ImmutableObject<T>;
|
|
186
186
|
type ImmutableArray<T> = ReadonlyArray<Immutable<T>>;
|
|
187
|
-
type ImmutableMap<K
|
|
187
|
+
type ImmutableMap<K, V> = ReadonlyMap<Immutable<K>, Immutable<V>>;
|
|
188
188
|
type ImmutableSet<T> = ReadonlySet<Immutable<T>>;
|
|
189
189
|
type ImmutableObject<T> = { readonly [K in keyof T]: Immutable<T[K]> };
|
|
190
190
|
/**
|
|
@@ -230,6 +230,9 @@ interface DevToolsRpcServerFunctions {}
|
|
|
230
230
|
*/
|
|
231
231
|
interface DevToolsRpcSharedStates {}
|
|
232
232
|
//#endregion
|
|
233
|
+
//#region ../core/src/client/webcomponents/state/dock-settings.d.ts
|
|
234
|
+
type DevToolsDockEntriesGrouped = [category: string, entries: DevToolsDockEntry[]][];
|
|
235
|
+
//#endregion
|
|
233
236
|
//#region ../kit/src/client/rpc.d.ts
|
|
234
237
|
interface DevToolsRpcClient {
|
|
235
238
|
/**
|
|
@@ -323,6 +326,8 @@ interface DocksEntriesContext {
|
|
|
323
326
|
readonly selected: DevToolsDockEntry | null;
|
|
324
327
|
entries: DevToolsDockEntry[];
|
|
325
328
|
entryToStateMap: Map<string, DockEntryState>;
|
|
329
|
+
groupedEntries: DevToolsDockEntriesGrouped;
|
|
330
|
+
settings: SharedState<DevToolsDocksUserSettings>;
|
|
326
331
|
/**
|
|
327
332
|
* Get the state of a dock entry by its ID
|
|
328
333
|
*/
|
|
@@ -529,12 +534,22 @@ type RpcFunctionsHost = RpcFunctionsCollectorBase<DevToolsRpcServerFunctions, De
|
|
|
529
534
|
sharedState: RpcSharedStateHost;
|
|
530
535
|
};
|
|
531
536
|
interface RpcSharedStateGetOptions<T> {
|
|
537
|
+
sharedState?: SharedState<T>;
|
|
532
538
|
initialValue?: T;
|
|
533
539
|
}
|
|
534
540
|
interface RpcSharedStateHost {
|
|
535
541
|
get: <T extends keyof DevToolsRpcSharedStates>(key: T, options?: RpcSharedStateGetOptions<DevToolsRpcSharedStates[T]>) => Promise<SharedState<DevToolsRpcSharedStates[T]>>;
|
|
536
542
|
}
|
|
537
543
|
//#endregion
|
|
544
|
+
//#region ../kit/src/types/settings.d.ts
|
|
545
|
+
interface DevToolsDocksUserSettings {
|
|
546
|
+
docksHidden: string[];
|
|
547
|
+
docksCategoriesHidden: string[];
|
|
548
|
+
docksPinned: string[];
|
|
549
|
+
docksCustomOrder: Record<string, number>;
|
|
550
|
+
showIframeAddressBar: boolean;
|
|
551
|
+
}
|
|
552
|
+
//#endregion
|
|
538
553
|
//#region ../kit/src/types/vite-augment.d.ts
|
|
539
554
|
declare module 'vite' {
|
|
540
555
|
interface Plugin {
|
package/dist/index.mjs
CHANGED
|
@@ -784,8 +784,8 @@ function guessChunkName(chunk) {
|
|
|
784
784
|
if (chunk.modules.length > 1) return `[${simplifyModuleName(`${chunk.modules[0]}`)}_${chunk.modules.length}]`;
|
|
785
785
|
return "[unnamed]";
|
|
786
786
|
}
|
|
787
|
-
function simplifyModuleName(module
|
|
788
|
-
let parts = module
|
|
787
|
+
function simplifyModuleName(module) {
|
|
788
|
+
let parts = module.replace(/^.*(\.pnpm|node_modules|src|app|packages)\//gi, "").replace(/\b(index|main|dist|test|component|components)\b/gi, "").replace(/\/+/g, "/").replace(/\?.*$/, "").replace(/\.\w+$/, "").replace(/\W/g, "_").replace(/_+/g, "_").replace(/^_+|_+$/g, "").replace(/([a-z])([A-Z])/g, "$1_$2").toLowerCase().split("_").filter(Boolean);
|
|
789
789
|
parts = Array.from(new Set(parts));
|
|
790
790
|
if (parts.length > 5) parts = parts.slice(0, 5);
|
|
791
791
|
return parts.join("_");
|
|
@@ -969,13 +969,13 @@ var RolldownEventsManager = class {
|
|
|
969
969
|
}
|
|
970
970
|
if (event.action === "ModuleGraphReady") {
|
|
971
971
|
this.module_build_hook_events.clear();
|
|
972
|
-
for (const module
|
|
973
|
-
this.modules.set(module
|
|
974
|
-
...module
|
|
975
|
-
build_metrics: this.module_build_metrics.get(module
|
|
972
|
+
for (const module of event.modules) {
|
|
973
|
+
this.modules.set(module.id, {
|
|
974
|
+
...module,
|
|
975
|
+
build_metrics: this.module_build_metrics.get(module.id)
|
|
976
976
|
});
|
|
977
|
-
module
|
|
978
|
-
module
|
|
977
|
+
module.importers = Array.from(new Set(module.importers || [])).sort((a, b) => a.localeCompare(b));
|
|
978
|
+
module.imports = Array.from(new Set(module.imports || [])).sort((a, b) => a.module_id.localeCompare(b.module_id));
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
981
|
if (event.action === "AssetsReady") {
|
|
@@ -1159,12 +1159,12 @@ const rolldownGetModuleInfo = defineRpcFunction({
|
|
|
1159
1159
|
type: "query",
|
|
1160
1160
|
setup: (context) => {
|
|
1161
1161
|
const manager = getLogsManager(context);
|
|
1162
|
-
return { handler: async ({ session, module
|
|
1162
|
+
return { handler: async ({ session, module }) => {
|
|
1163
1163
|
const reader = await manager.loadSession(session);
|
|
1164
1164
|
if (!reader.manager.events.length) return null;
|
|
1165
|
-
const moduleInfo = reader.manager.modules.get(module
|
|
1165
|
+
const moduleInfo = reader.manager.modules.get(module);
|
|
1166
1166
|
const info = {
|
|
1167
|
-
id: module
|
|
1167
|
+
id: module,
|
|
1168
1168
|
imports: [],
|
|
1169
1169
|
importers: [],
|
|
1170
1170
|
chunks: [],
|
|
@@ -1178,7 +1178,7 @@ const rolldownGetModuleInfo = defineRpcFunction({
|
|
|
1178
1178
|
loads: moduleInfo?.build_metrics?.loads ?? [],
|
|
1179
1179
|
resolve_ids: moduleInfo?.build_metrics?.resolve_ids ?? []
|
|
1180
1180
|
};
|
|
1181
|
-
info.chunks = Array.from(reader.manager.chunks.values()).filter((chunk) => chunk.modules.includes(module
|
|
1181
|
+
info.chunks = Array.from(reader.manager.chunks.values()).filter((chunk) => chunk.modules.includes(module)).map((chunk) => ({
|
|
1182
1182
|
type: "chunk",
|
|
1183
1183
|
...chunk
|
|
1184
1184
|
}));
|
|
@@ -1200,8 +1200,8 @@ const rolldownGetModuleRawEvents = defineRpcFunction({
|
|
|
1200
1200
|
type: "query",
|
|
1201
1201
|
setup: (context) => {
|
|
1202
1202
|
const manager = getLogsManager(context);
|
|
1203
|
-
return { handler: async ({ session, module
|
|
1204
|
-
return { events: (await manager.loadSession(session)).manager.events.filter((event) => "module_id" in event && event.module_id !== module
|
|
1203
|
+
return { handler: async ({ session, module }) => {
|
|
1204
|
+
return { events: (await manager.loadSession(session)).manager.events.filter((event) => "module_id" in event && event.module_id !== module) };
|
|
1205
1205
|
} };
|
|
1206
1206
|
}
|
|
1207
1207
|
});
|
|
@@ -1213,10 +1213,10 @@ const rolldownGetModuleTransforms = defineRpcFunction({
|
|
|
1213
1213
|
type: "query",
|
|
1214
1214
|
setup: (context) => {
|
|
1215
1215
|
const manager = getLogsManager(context);
|
|
1216
|
-
return { handler: async ({ session, module
|
|
1216
|
+
return { handler: async ({ session, module }) => {
|
|
1217
1217
|
const reader = await manager.loadSession(session);
|
|
1218
1218
|
const events = reader.manager.events;
|
|
1219
|
-
const transforms = reader.manager.modules.get(module
|
|
1219
|
+
const transforms = reader.manager.modules.get(module)?.build_metrics?.transforms ?? [];
|
|
1220
1220
|
if (!events.length) return transforms.map((transform) => ({
|
|
1221
1221
|
...transform,
|
|
1222
1222
|
diff_added: 0,
|
|
@@ -3877,7 +3877,7 @@ var require_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3877
3877
|
return signals_js_1.signals;
|
|
3878
3878
|
}
|
|
3879
3879
|
});
|
|
3880
|
-
const processOk = (process
|
|
3880
|
+
const processOk = (process) => !!process && typeof process === "object" && typeof process.removeListener === "function" && typeof process.emit === "function" && typeof process.reallyExit === "function" && typeof process.listeners === "function" && typeof process.kill === "function" && typeof process.pid === "number" && typeof process.on === "function";
|
|
3881
3881
|
const kExitEmitter = Symbol.for("signal-exit emitter");
|
|
3882
3882
|
const global = globalThis;
|
|
3883
3883
|
const ObjectDefineProperty = Object.defineProperty.bind(Object);
|
|
@@ -3953,15 +3953,15 @@ var require_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3953
3953
|
#originalProcessReallyExit;
|
|
3954
3954
|
#sigListeners = {};
|
|
3955
3955
|
#loaded = false;
|
|
3956
|
-
constructor(process
|
|
3956
|
+
constructor(process) {
|
|
3957
3957
|
super();
|
|
3958
|
-
this.#process = process
|
|
3958
|
+
this.#process = process;
|
|
3959
3959
|
this.#sigListeners = {};
|
|
3960
3960
|
for (const sig of signals_js_1.signals) this.#sigListeners[sig] = () => {
|
|
3961
3961
|
const listeners = this.#process.listeners(sig);
|
|
3962
3962
|
let { count } = this.#emitter;
|
|
3963
3963
|
/* c8 ignore start */
|
|
3964
|
-
const p = process
|
|
3964
|
+
const p = process;
|
|
3965
3965
|
if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") count += p.__signal_exit_emitter__.count;
|
|
3966
3966
|
/* c8 ignore stop */
|
|
3967
3967
|
if (listeners.length === count) {
|
|
@@ -3969,11 +3969,11 @@ var require_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3969
3969
|
const ret = this.#emitter.emit("exit", null, sig);
|
|
3970
3970
|
/* c8 ignore start */
|
|
3971
3971
|
const s = sig === "SIGHUP" ? this.#hupSig : sig;
|
|
3972
|
-
if (!ret) process
|
|
3972
|
+
if (!ret) process.kill(process.pid, s);
|
|
3973
3973
|
}
|
|
3974
3974
|
};
|
|
3975
|
-
this.#originalProcessReallyExit = process
|
|
3976
|
-
this.#originalProcessEmit = process
|
|
3975
|
+
this.#originalProcessReallyExit = process.reallyExit;
|
|
3976
|
+
this.#originalProcessEmit = process.emit;
|
|
3977
3977
|
}
|
|
3978
3978
|
onExit(cb, opts) {
|
|
3979
3979
|
/* c8 ignore start */
|
|
@@ -6881,7 +6881,7 @@ var require_legacy_streams = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
6881
6881
|
function ReadStream(path$2, options) {
|
|
6882
6882
|
if (!(this instanceof ReadStream)) return new ReadStream(path$2, options);
|
|
6883
6883
|
Stream.call(this);
|
|
6884
|
-
var self
|
|
6884
|
+
var self = this;
|
|
6885
6885
|
this.path = path$2;
|
|
6886
6886
|
this.fd = null;
|
|
6887
6887
|
this.readable = true;
|
|
@@ -6905,19 +6905,19 @@ var require_legacy_streams = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
6905
6905
|
}
|
|
6906
6906
|
if (this.fd !== null) {
|
|
6907
6907
|
process.nextTick(function() {
|
|
6908
|
-
self
|
|
6908
|
+
self._read();
|
|
6909
6909
|
});
|
|
6910
6910
|
return;
|
|
6911
6911
|
}
|
|
6912
6912
|
fs$6.open(this.path, this.flags, this.mode, function(err, fd) {
|
|
6913
6913
|
if (err) {
|
|
6914
|
-
self
|
|
6915
|
-
self
|
|
6914
|
+
self.emit("error", err);
|
|
6915
|
+
self.readable = false;
|
|
6916
6916
|
return;
|
|
6917
6917
|
}
|
|
6918
|
-
self
|
|
6919
|
-
self
|
|
6920
|
-
self
|
|
6918
|
+
self.fd = fd;
|
|
6919
|
+
self.emit("open", fd);
|
|
6920
|
+
self._read();
|
|
6921
6921
|
});
|
|
6922
6922
|
}
|
|
6923
6923
|
function WriteStream(path$2, options) {
|
|
@@ -9365,7 +9365,7 @@ async function getPackagesManifest(reader) {
|
|
|
9365
9365
|
}
|
|
9366
9366
|
return result;
|
|
9367
9367
|
};
|
|
9368
|
-
const packages = chunks.map((chunk) => chunk.modules.map((module
|
|
9368
|
+
const packages = chunks.map((chunk) => chunk.modules.map((module) => module)).flat().filter(isNodeModulePath).map((p) => {
|
|
9369
9369
|
const moduleBuildMetrics = modulesMap.get(p)?.build_metrics;
|
|
9370
9370
|
return {
|
|
9371
9371
|
path: p,
|
|
@@ -9606,6 +9606,7 @@ function DevToolsViteUI() {
|
|
|
9606
9606
|
ctx.docks.register({
|
|
9607
9607
|
id: "vite",
|
|
9608
9608
|
title: "Vite",
|
|
9609
|
+
category: "~viteplus",
|
|
9609
9610
|
icon: "https://vite.dev/logo.svg",
|
|
9610
9611
|
type: "iframe",
|
|
9611
9612
|
url: "/.devtools-vite/"
|
package/dist/nitro.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"date": "2026-01-
|
|
2
|
+
"date": "2026-01-17T03:16:25.422Z",
|
|
3
3
|
"preset": "static",
|
|
4
4
|
"framework": {
|
|
5
5
|
"name": "nuxt",
|
|
6
6
|
"version": "4.2.2"
|
|
7
7
|
},
|
|
8
8
|
"versions": {
|
|
9
|
-
"nitro": "2.
|
|
9
|
+
"nitro": "2.13.1"
|
|
10
10
|
},
|
|
11
11
|
"commands": {
|
|
12
12
|
"preview": "npx serve public"
|
package/dist/public/200.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en" class="bg-dots"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="importmap">{"imports":{"#entry":"/.devtools-vite/_nuxt/
|
|
1
|
+
<!DOCTYPE html><html lang="en" class="bg-dots"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="importmap">{"imports":{"#entry":"/.devtools-vite/_nuxt/Bj1Ne9Zd.js"}}</script><title>Vite DevTools</title><link rel="stylesheet" href="/.devtools-vite/_nuxt/entry.BGq5yr3u.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/.devtools-vite/_nuxt/Bj1Ne9Zd.js"><script type="module" src="/.devtools-vite/_nuxt/Bj1Ne9Zd.js" crossorigin></script><meta name="description" content="DevTools for Vite"><meta property="og:title" content="Vite DevTools"><meta property="og:description" content="DevTools for Vite"><link rel="icon" type="image/svg+xml" href="/favicon.svg"><script id="unhead:payload" type="application/json">{"title":"Vite DevTools"}</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/.devtools-vite/",buildId:"a520376f-9aad-44e8-90d3-6d17b4c698f8",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1768619785340,false]</script></body></html>
|
package/dist/public/404.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en" class="bg-dots"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="importmap">{"imports":{"#entry":"/.devtools-vite/_nuxt/
|
|
1
|
+
<!DOCTYPE html><html lang="en" class="bg-dots"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="importmap">{"imports":{"#entry":"/.devtools-vite/_nuxt/Bj1Ne9Zd.js"}}</script><title>Vite DevTools</title><link rel="stylesheet" href="/.devtools-vite/_nuxt/entry.BGq5yr3u.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/.devtools-vite/_nuxt/Bj1Ne9Zd.js"><script type="module" src="/.devtools-vite/_nuxt/Bj1Ne9Zd.js" crossorigin></script><meta name="description" content="DevTools for Vite"><meta property="og:title" content="Vite DevTools"><meta property="og:description" content="DevTools for Vite"><link rel="icon" type="image/svg+xml" href="/favicon.svg"><script id="unhead:payload" type="application/json">{"title":"Vite DevTools"}</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/.devtools-vite/",buildId:"a520376f-9aad-44e8-90d3-6d17b4c698f8",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1768619785341,false]</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,Et as t,H as n,Ht as r,an as i,ct as a,dt as o,mt as s,pt as c}from"#entry";import{t as l}from"./s37iQDTO.js";var u={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},d={class:`max-w-520px text-center`},f=[`textContent`],p=[`textContent`],m=[`textContent`],h={class:`flex items-center justify-center w-full`},g=e({__name:`error-404`,props:{appName:{type:String,default:`Nuxt`},statusCode:{type:Number,default:404},statusMessage:{type:String,default:`Page 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(e){let g=e;return n({title:`${g.statusCode} - ${g.statusMessage} | ${g.appName}`,script:[{innerHTML:`!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:[{innerHTML:`*,: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,h2{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,h2,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: }`}]}),(n,g)=>{let _=l;return t(),o(`div`,u,[a(`div`,d,[a(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:i(e.statusCode)},null,8,f),a(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:i(e.statusMessage)},null,8,p),a(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:i(e.description)},null,8,m),a(`div`,h,[s(_,{to:`/`,class:`font-medium hover:text-[#00DC82] text-sm underline underline-offset-3`},{default:r(()=>[c(i(e.backHome),1)]),_:1})])])])}}},[[`__scopeId`,`data-v-
|
|
1
|
+
import{C as e,Et as t,H as n,Ht as r,an as i,ct as a,dt as o,mt as s,pt as c}from"#entry";import{t as l}from"./s37iQDTO.js";var u={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},d={class:`max-w-520px text-center`},f=[`textContent`],p=[`textContent`],m=[`textContent`],h={class:`flex items-center justify-center w-full`},g=e({__name:`error-404`,props:{appName:{type:String,default:`Nuxt`},statusCode:{type:Number,default:404},statusMessage:{type:String,default:`Page 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(e){let g=e;return n({title:`${g.statusCode} - ${g.statusMessage} | ${g.appName}`,script:[{innerHTML:`!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:[{innerHTML:`*,: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,h2{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,h2,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: }`}]}),(n,g)=>{let _=l;return t(),o(`div`,u,[a(`div`,d,[a(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:i(e.statusCode)},null,8,f),a(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:i(e.statusMessage)},null,8,p),a(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:i(e.description)},null,8,m),a(`div`,h,[s(_,{to:`/`,class:`font-medium hover:text-[#00DC82] text-sm underline underline-offset-3`},{default:r(()=>[c(i(e.backHome),1)]),_:1})])])])}}},[[`__scopeId`,`data-v-17d28e68`]]);export{g as default};
|