@sigtes/ui 0.0.20 → 0.0.22
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/components.cjs.js +843 -780
- package/dist/components.es.js +33739 -32695
- package/dist/pages/error/error.d.ts +3 -1
- package/dist/pages/forbidden/forbidden.d.ts +4 -1
- package/dist/pages/not-found/not-found.d.ts +4 -1
- package/dist/pages.cjs.js +1 -6
- package/dist/pages.es.js +36 -1890
- package/package.json +1 -1
package/dist/pages.es.js
CHANGED
@@ -1,1916 +1,62 @@
|
|
1
1
|
"use client";
|
2
|
-
import { j as
|
3
|
-
import
|
4
|
-
import { B as
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
function n(e) {
|
10
|
-
return e && e.__esModule ? e : { default: e };
|
11
|
-
}
|
12
|
-
return oe._ = n, oe;
|
13
|
-
}
|
14
|
-
var Me;
|
15
|
-
function Qt() {
|
16
|
-
return Me || (Me = 1, (function(n) {
|
17
|
-
"use client";
|
18
|
-
Object.defineProperty(n, "__esModule", {
|
19
|
-
value: !0
|
20
|
-
});
|
21
|
-
function e(f, E) {
|
22
|
-
for (var p in E) Object.defineProperty(f, p, {
|
23
|
-
enumerable: !0,
|
24
|
-
get: E[p]
|
25
|
-
});
|
26
|
-
}
|
27
|
-
e(n, {
|
28
|
-
AppRouterContext: function() {
|
29
|
-
return c;
|
30
|
-
},
|
31
|
-
GlobalLayoutRouterContext: function() {
|
32
|
-
return i;
|
33
|
-
},
|
34
|
-
LayoutRouterContext: function() {
|
35
|
-
return o;
|
36
|
-
},
|
37
|
-
MissingSlotContext: function() {
|
38
|
-
return s;
|
39
|
-
},
|
40
|
-
TemplateContext: function() {
|
41
|
-
return a;
|
42
|
-
}
|
43
|
-
});
|
44
|
-
const r = /* @__PURE__ */ (/* @__PURE__ */ Kt())._(I), c = r.default.createContext(null), o = r.default.createContext(null), i = r.default.createContext(null), a = r.default.createContext(null);
|
45
|
-
process.env.NODE_ENV !== "production" && (c.displayName = "AppRouterContext", o.displayName = "LayoutRouterContext", i.displayName = "GlobalLayoutRouterContext", a.displayName = "TemplateContext");
|
46
|
-
const s = r.default.createContext(/* @__PURE__ */ new Set());
|
47
|
-
})(ue)), ue;
|
48
|
-
}
|
49
|
-
var ae = {}, xe;
|
50
|
-
function Jt() {
|
51
|
-
return xe || (xe = 1, (function(n) {
|
52
|
-
"use client";
|
53
|
-
Object.defineProperty(n, "__esModule", {
|
54
|
-
value: !0
|
55
|
-
});
|
56
|
-
function e(i, a) {
|
57
|
-
for (var s in a) Object.defineProperty(i, s, {
|
58
|
-
enumerable: !0,
|
59
|
-
get: a[s]
|
60
|
-
});
|
61
|
-
}
|
62
|
-
e(n, {
|
63
|
-
PathParamsContext: function() {
|
64
|
-
return o;
|
65
|
-
},
|
66
|
-
PathnameContext: function() {
|
67
|
-
return c;
|
68
|
-
},
|
69
|
-
SearchParamsContext: function() {
|
70
|
-
return r;
|
71
|
-
}
|
72
|
-
});
|
73
|
-
const u = I, r = (0, u.createContext)(null), c = (0, u.createContext)(null), o = (0, u.createContext)(null);
|
74
|
-
process.env.NODE_ENV !== "production" && (r.displayName = "SearchParamsContext", c.displayName = "PathnameContext", o.displayName = "PathParamsContext");
|
75
|
-
})(ae)), ae;
|
76
|
-
}
|
77
|
-
var q = { exports: {} }, qe;
|
78
|
-
function Zt() {
|
79
|
-
return qe || (qe = 1, (function(n, e) {
|
80
|
-
Object.defineProperty(e, "__esModule", {
|
81
|
-
value: !0
|
82
|
-
}), Object.defineProperty(e, "getSegmentValue", {
|
83
|
-
enumerable: !0,
|
84
|
-
get: function() {
|
85
|
-
return u;
|
86
|
-
}
|
87
|
-
});
|
88
|
-
function u(r) {
|
89
|
-
return Array.isArray(r) ? r[1] : r;
|
90
|
-
}
|
91
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
92
|
-
})(q, q.exports)), q.exports;
|
93
|
-
}
|
94
|
-
var ce = {}, He;
|
95
|
-
function er() {
|
96
|
-
return He || (He = 1, (function(n) {
|
97
|
-
Object.defineProperty(n, "__esModule", {
|
98
|
-
value: !0
|
99
|
-
});
|
100
|
-
function e(a, s) {
|
101
|
-
for (var f in s) Object.defineProperty(a, f, {
|
102
|
-
enumerable: !0,
|
103
|
-
get: s[f]
|
104
|
-
});
|
105
|
-
}
|
106
|
-
e(n, {
|
107
|
-
DEFAULT_SEGMENT_KEY: function() {
|
108
|
-
return i;
|
109
|
-
},
|
110
|
-
PAGE_SEGMENT_KEY: function() {
|
111
|
-
return o;
|
112
|
-
},
|
113
|
-
addSearchParamsIfPageSegment: function() {
|
114
|
-
return c;
|
115
|
-
},
|
116
|
-
isGroupSegment: function() {
|
117
|
-
return u;
|
118
|
-
},
|
119
|
-
isParallelRouteSegment: function() {
|
120
|
-
return r;
|
121
|
-
}
|
122
|
-
});
|
123
|
-
function u(a) {
|
124
|
-
return a[0] === "(" && a.endsWith(")");
|
125
|
-
}
|
126
|
-
function r(a) {
|
127
|
-
return a.startsWith("@") && a !== "@children";
|
128
|
-
}
|
129
|
-
function c(a, s) {
|
130
|
-
if (a.includes(o)) {
|
131
|
-
const E = JSON.stringify(s);
|
132
|
-
return E !== "{}" ? o + "?" + E : o;
|
133
|
-
}
|
134
|
-
return a;
|
135
|
-
}
|
136
|
-
const o = "__PAGE__", i = "__DEFAULT__";
|
137
|
-
})(ce)), ce;
|
138
|
-
}
|
139
|
-
var H = { exports: {} }, k = { exports: {} }, L = { exports: {} }, ke;
|
140
|
-
function mt() {
|
141
|
-
return ke || (ke = 1, (function(n, e) {
|
142
|
-
Object.defineProperty(e, "__esModule", {
|
143
|
-
value: !0
|
144
|
-
}), Object.defineProperty(e, "RedirectStatusCode", {
|
145
|
-
enumerable: !0,
|
146
|
-
get: function() {
|
147
|
-
return u;
|
148
|
-
}
|
149
|
-
});
|
150
|
-
var u = /* @__PURE__ */ (function(r) {
|
151
|
-
return r[r.SeeOther = 303] = "SeeOther", r[r.TemporaryRedirect = 307] = "TemporaryRedirect", r[r.PermanentRedirect = 308] = "PermanentRedirect", r;
|
152
|
-
})({});
|
153
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
154
|
-
})(L, L.exports)), L.exports;
|
155
|
-
}
|
156
|
-
var U = { exports: {} }, Le;
|
157
|
-
function Se() {
|
158
|
-
return Le || (Le = 1, (function(n, e) {
|
159
|
-
Object.defineProperty(e, "__esModule", {
|
160
|
-
value: !0
|
161
|
-
});
|
162
|
-
function u(a, s) {
|
163
|
-
for (var f in s) Object.defineProperty(a, f, {
|
164
|
-
enumerable: !0,
|
165
|
-
get: s[f]
|
166
|
-
});
|
167
|
-
}
|
168
|
-
u(e, {
|
169
|
-
REDIRECT_ERROR_CODE: function() {
|
170
|
-
return c;
|
171
|
-
},
|
172
|
-
RedirectType: function() {
|
173
|
-
return o;
|
174
|
-
},
|
175
|
-
isRedirectError: function() {
|
176
|
-
return i;
|
177
|
-
}
|
178
|
-
});
|
179
|
-
const r = mt(), c = "NEXT_REDIRECT";
|
180
|
-
var o = /* @__PURE__ */ (function(a) {
|
181
|
-
return a.push = "push", a.replace = "replace", a;
|
182
|
-
})({});
|
183
|
-
function i(a) {
|
184
|
-
if (typeof a != "object" || a === null || !("digest" in a) || typeof a.digest != "string")
|
185
|
-
return !1;
|
186
|
-
const s = a.digest.split(";"), [f, E] = s, p = s.slice(2, -2).join(";"), R = s.at(-2), h = Number(R);
|
187
|
-
return f === c && (E === "replace" || E === "push") && typeof p == "string" && !isNaN(h) && h in r.RedirectStatusCode;
|
188
|
-
}
|
189
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
190
|
-
})(U, U.exports)), U.exports;
|
191
|
-
}
|
192
|
-
var ie = {}, se = {}, fe = {}, Ue;
|
193
|
-
function Ae() {
|
194
|
-
return Ue || (Ue = 1, (function(n) {
|
195
|
-
Object.defineProperty(n, "__esModule", {
|
196
|
-
value: !0
|
197
|
-
});
|
198
|
-
function e(s, f) {
|
199
|
-
for (var E in f) Object.defineProperty(s, E, {
|
200
|
-
enumerable: !0,
|
201
|
-
get: f[E]
|
202
|
-
});
|
203
|
-
}
|
204
|
-
e(n, {
|
205
|
-
bindSnapshot: function() {
|
206
|
-
return i;
|
207
|
-
},
|
208
|
-
createAsyncLocalStorage: function() {
|
209
|
-
return o;
|
210
|
-
},
|
211
|
-
createSnapshot: function() {
|
212
|
-
return a;
|
213
|
-
}
|
214
|
-
});
|
215
|
-
const u = Object.defineProperty(new Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"), "__NEXT_ERROR_CODE", {
|
216
|
-
value: "E504",
|
217
|
-
enumerable: !1,
|
218
|
-
configurable: !0
|
219
|
-
});
|
220
|
-
class r {
|
221
|
-
disable() {
|
222
|
-
throw u;
|
223
|
-
}
|
224
|
-
getStore() {
|
225
|
-
}
|
226
|
-
run() {
|
227
|
-
throw u;
|
228
|
-
}
|
229
|
-
exit() {
|
230
|
-
throw u;
|
231
|
-
}
|
232
|
-
enterWith() {
|
233
|
-
throw u;
|
234
|
-
}
|
235
|
-
static bind(f) {
|
236
|
-
return f;
|
237
|
-
}
|
238
|
-
}
|
239
|
-
const c = typeof globalThis < "u" && globalThis.AsyncLocalStorage;
|
240
|
-
function o() {
|
241
|
-
return c ? new c() : new r();
|
242
|
-
}
|
243
|
-
function i(s) {
|
244
|
-
return c ? c.bind(s) : r.bind(s);
|
245
|
-
}
|
246
|
-
function a() {
|
247
|
-
return c ? c.snapshot() : function(s, ...f) {
|
248
|
-
return s(...f);
|
249
|
-
};
|
250
|
-
}
|
251
|
-
})(fe)), fe;
|
252
|
-
}
|
253
|
-
var Be;
|
254
|
-
function tr() {
|
255
|
-
return Be || (Be = 1, (function(n) {
|
256
|
-
Object.defineProperty(n, "__esModule", {
|
257
|
-
value: !0
|
258
|
-
}), Object.defineProperty(n, "actionAsyncStorageInstance", {
|
259
|
-
enumerable: !0,
|
260
|
-
get: function() {
|
261
|
-
return u;
|
262
|
-
}
|
263
|
-
});
|
264
|
-
const u = (0, Ae().createAsyncLocalStorage)();
|
265
|
-
})(se)), se;
|
266
|
-
}
|
267
|
-
var Fe;
|
268
|
-
function rr() {
|
269
|
-
return Fe || (Fe = 1, (function(n) {
|
270
|
-
Object.defineProperty(n, "__esModule", {
|
271
|
-
value: !0
|
272
|
-
}), Object.defineProperty(n, "actionAsyncStorage", {
|
273
|
-
enumerable: !0,
|
274
|
-
get: function() {
|
275
|
-
return e.actionAsyncStorageInstance;
|
276
|
-
}
|
277
|
-
});
|
278
|
-
const e = tr();
|
279
|
-
})(ie)), ie;
|
280
|
-
}
|
281
|
-
var Xe;
|
282
|
-
function nr() {
|
283
|
-
return Xe || (Xe = 1, (function(n, e) {
|
284
|
-
Object.defineProperty(e, "__esModule", {
|
285
|
-
value: !0
|
286
|
-
});
|
287
|
-
function u(R, h) {
|
288
|
-
for (var b in h) Object.defineProperty(R, b, {
|
289
|
-
enumerable: !0,
|
290
|
-
get: h[b]
|
291
|
-
});
|
292
|
-
}
|
293
|
-
u(e, {
|
294
|
-
getRedirectError: function() {
|
295
|
-
return i;
|
296
|
-
},
|
297
|
-
getRedirectStatusCodeFromError: function() {
|
298
|
-
return p;
|
299
|
-
},
|
300
|
-
getRedirectTypeFromError: function() {
|
301
|
-
return E;
|
302
|
-
},
|
303
|
-
getURLFromRedirectError: function() {
|
304
|
-
return f;
|
305
|
-
},
|
306
|
-
permanentRedirect: function() {
|
307
|
-
return s;
|
308
|
-
},
|
309
|
-
redirect: function() {
|
310
|
-
return a;
|
311
|
-
}
|
312
|
-
});
|
313
|
-
const r = mt(), c = Se(), o = typeof window > "u" ? rr().actionAsyncStorage : void 0;
|
314
|
-
function i(R, h, b) {
|
315
|
-
b === void 0 && (b = r.RedirectStatusCode.TemporaryRedirect);
|
316
|
-
const _ = Object.defineProperty(new Error(c.REDIRECT_ERROR_CODE), "__NEXT_ERROR_CODE", {
|
317
|
-
value: "E394",
|
318
|
-
enumerable: !1,
|
319
|
-
configurable: !0
|
320
|
-
});
|
321
|
-
return _.digest = c.REDIRECT_ERROR_CODE + ";" + h + ";" + R + ";" + b + ";", _;
|
322
|
-
}
|
323
|
-
function a(R, h) {
|
324
|
-
var b;
|
325
|
-
throw h ?? (h = !(o == null || (b = o.getStore()) == null) && b.isAction ? c.RedirectType.push : c.RedirectType.replace), i(R, h, r.RedirectStatusCode.TemporaryRedirect);
|
326
|
-
}
|
327
|
-
function s(R, h) {
|
328
|
-
throw h === void 0 && (h = c.RedirectType.replace), i(R, h, r.RedirectStatusCode.PermanentRedirect);
|
329
|
-
}
|
330
|
-
function f(R) {
|
331
|
-
return (0, c.isRedirectError)(R) ? R.digest.split(";").slice(2, -2).join(";") : null;
|
332
|
-
}
|
333
|
-
function E(R) {
|
334
|
-
if (!(0, c.isRedirectError)(R))
|
335
|
-
throw Object.defineProperty(new Error("Not a redirect error"), "__NEXT_ERROR_CODE", {
|
336
|
-
value: "E260",
|
337
|
-
enumerable: !1,
|
338
|
-
configurable: !0
|
339
|
-
});
|
340
|
-
return R.digest.split(";", 2)[1];
|
341
|
-
}
|
342
|
-
function p(R) {
|
343
|
-
if (!(0, c.isRedirectError)(R))
|
344
|
-
throw Object.defineProperty(new Error("Not a redirect error"), "__NEXT_ERROR_CODE", {
|
345
|
-
value: "E260",
|
346
|
-
enumerable: !1,
|
347
|
-
configurable: !0
|
348
|
-
});
|
349
|
-
return Number(R.digest.split(";").at(-2));
|
350
|
-
}
|
351
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
352
|
-
})(k, k.exports)), k.exports;
|
353
|
-
}
|
354
|
-
var B = { exports: {} }, F = { exports: {} }, Ge;
|
355
|
-
function ee() {
|
356
|
-
return Ge || (Ge = 1, (function(n, e) {
|
357
|
-
Object.defineProperty(e, "__esModule", {
|
358
|
-
value: !0
|
359
|
-
});
|
360
|
-
function u(f, E) {
|
361
|
-
for (var p in E) Object.defineProperty(f, p, {
|
362
|
-
enumerable: !0,
|
363
|
-
get: E[p]
|
364
|
-
});
|
365
|
-
}
|
366
|
-
u(e, {
|
367
|
-
HTTPAccessErrorStatus: function() {
|
368
|
-
return r;
|
369
|
-
},
|
370
|
-
HTTP_ERROR_FALLBACK_ERROR_CODE: function() {
|
371
|
-
return o;
|
372
|
-
},
|
373
|
-
getAccessFallbackErrorTypeByStatus: function() {
|
374
|
-
return s;
|
375
|
-
},
|
376
|
-
getAccessFallbackHTTPStatus: function() {
|
377
|
-
return a;
|
378
|
-
},
|
379
|
-
isHTTPAccessFallbackError: function() {
|
380
|
-
return i;
|
381
|
-
}
|
382
|
-
});
|
383
|
-
const r = {
|
384
|
-
NOT_FOUND: 404,
|
385
|
-
FORBIDDEN: 403,
|
386
|
-
UNAUTHORIZED: 401
|
387
|
-
}, c = new Set(Object.values(r)), o = "NEXT_HTTP_ERROR_FALLBACK";
|
388
|
-
function i(f) {
|
389
|
-
if (typeof f != "object" || f === null || !("digest" in f) || typeof f.digest != "string")
|
390
|
-
return !1;
|
391
|
-
const [E, p] = f.digest.split(";");
|
392
|
-
return E === o && c.has(Number(p));
|
393
|
-
}
|
394
|
-
function a(f) {
|
395
|
-
const E = f.digest.split(";")[1];
|
396
|
-
return Number(E);
|
397
|
-
}
|
398
|
-
function s(f) {
|
399
|
-
switch (f) {
|
400
|
-
case 401:
|
401
|
-
return "unauthorized";
|
402
|
-
case 403:
|
403
|
-
return "forbidden";
|
404
|
-
case 404:
|
405
|
-
return "not-found";
|
406
|
-
default:
|
407
|
-
return;
|
408
|
-
}
|
409
|
-
}
|
410
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
411
|
-
})(F, F.exports)), F.exports;
|
412
|
-
}
|
413
|
-
var We;
|
414
|
-
function ur() {
|
415
|
-
return We || (We = 1, (function(n, e) {
|
416
|
-
Object.defineProperty(e, "__esModule", {
|
417
|
-
value: !0
|
418
|
-
}), Object.defineProperty(e, "notFound", {
|
419
|
-
enumerable: !0,
|
420
|
-
get: function() {
|
421
|
-
return c;
|
422
|
-
}
|
423
|
-
});
|
424
|
-
const r = "" + ee().HTTP_ERROR_FALLBACK_ERROR_CODE + ";404";
|
425
|
-
function c() {
|
426
|
-
const o = Object.defineProperty(new Error(r), "__NEXT_ERROR_CODE", {
|
427
|
-
value: "E394",
|
428
|
-
enumerable: !1,
|
429
|
-
configurable: !0
|
430
|
-
});
|
431
|
-
throw o.digest = r, o;
|
432
|
-
}
|
433
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
434
|
-
})(B, B.exports)), B.exports;
|
435
|
-
}
|
436
|
-
var X = { exports: {} }, $e;
|
437
|
-
function or() {
|
438
|
-
return $e || ($e = 1, (function(n, e) {
|
439
|
-
Object.defineProperty(e, "__esModule", {
|
440
|
-
value: !0
|
441
|
-
}), Object.defineProperty(e, "forbidden", {
|
442
|
-
enumerable: !0,
|
443
|
-
get: function() {
|
444
|
-
return c;
|
445
|
-
}
|
446
|
-
});
|
447
|
-
const r = "" + ee().HTTP_ERROR_FALLBACK_ERROR_CODE + ";403";
|
448
|
-
function c() {
|
449
|
-
if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS)
|
450
|
-
throw Object.defineProperty(new Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."), "__NEXT_ERROR_CODE", {
|
451
|
-
value: "E488",
|
452
|
-
enumerable: !1,
|
453
|
-
configurable: !0
|
454
|
-
});
|
455
|
-
const o = Object.defineProperty(new Error(r), "__NEXT_ERROR_CODE", {
|
456
|
-
value: "E394",
|
457
|
-
enumerable: !1,
|
458
|
-
configurable: !0
|
459
|
-
});
|
460
|
-
throw o.digest = r, o;
|
461
|
-
}
|
462
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
463
|
-
})(X, X.exports)), X.exports;
|
464
|
-
}
|
465
|
-
var G = { exports: {} }, Ye;
|
466
|
-
function ar() {
|
467
|
-
return Ye || (Ye = 1, (function(n, e) {
|
468
|
-
Object.defineProperty(e, "__esModule", {
|
469
|
-
value: !0
|
470
|
-
}), Object.defineProperty(e, "unauthorized", {
|
471
|
-
enumerable: !0,
|
472
|
-
get: function() {
|
473
|
-
return c;
|
474
|
-
}
|
475
|
-
});
|
476
|
-
const r = "" + ee().HTTP_ERROR_FALLBACK_ERROR_CODE + ";401";
|
477
|
-
function c() {
|
478
|
-
if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS)
|
479
|
-
throw Object.defineProperty(new Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."), "__NEXT_ERROR_CODE", {
|
480
|
-
value: "E411",
|
481
|
-
enumerable: !1,
|
482
|
-
configurable: !0
|
483
|
-
});
|
484
|
-
const o = Object.defineProperty(new Error(r), "__NEXT_ERROR_CODE", {
|
485
|
-
value: "E394",
|
486
|
-
enumerable: !1,
|
487
|
-
configurable: !0
|
488
|
-
});
|
489
|
-
throw o.digest = r, o;
|
490
|
-
}
|
491
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
492
|
-
})(G, G.exports)), G.exports;
|
493
|
-
}
|
494
|
-
var W = { exports: {} }, $ = { exports: {} }, de = {}, ze;
|
495
|
-
function bt() {
|
496
|
-
return ze || (ze = 1, (function(n) {
|
497
|
-
Object.defineProperty(n, "__esModule", {
|
498
|
-
value: !0
|
499
|
-
});
|
500
|
-
function e(f, E) {
|
501
|
-
for (var p in E) Object.defineProperty(f, p, {
|
502
|
-
enumerable: !0,
|
503
|
-
get: E[p]
|
504
|
-
});
|
505
|
-
}
|
506
|
-
e(n, {
|
507
|
-
isHangingPromiseRejectionError: function() {
|
508
|
-
return u;
|
509
|
-
},
|
510
|
-
makeDevtoolsIOAwarePromise: function() {
|
511
|
-
return s;
|
512
|
-
},
|
513
|
-
makeHangingPromise: function() {
|
514
|
-
return i;
|
515
|
-
}
|
516
|
-
});
|
517
|
-
function u(f) {
|
518
|
-
return typeof f != "object" || f === null || !("digest" in f) ? !1 : f.digest === r;
|
519
|
-
}
|
520
|
-
const r = "HANGING_PROMISE_REJECTION";
|
521
|
-
class c extends Error {
|
522
|
-
constructor(E, p) {
|
523
|
-
super(`During prerendering, ${p} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${p} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${E}".`), this.route = E, this.expression = p, this.digest = r;
|
524
|
-
}
|
525
|
-
}
|
526
|
-
const o = /* @__PURE__ */ new WeakMap();
|
527
|
-
function i(f, E, p) {
|
528
|
-
if (f.aborted)
|
529
|
-
return Promise.reject(new c(E, p));
|
530
|
-
{
|
531
|
-
const R = new Promise((h, b) => {
|
532
|
-
const _ = b.bind(null, new c(E, p));
|
533
|
-
let g = o.get(f);
|
534
|
-
if (g)
|
535
|
-
g.push(_);
|
536
|
-
else {
|
537
|
-
const T = [
|
538
|
-
_
|
539
|
-
];
|
540
|
-
o.set(f, T), f.addEventListener("abort", () => {
|
541
|
-
for (let w = 0; w < T.length; w++)
|
542
|
-
T[w]();
|
543
|
-
}, {
|
544
|
-
once: !0
|
545
|
-
});
|
546
|
-
}
|
547
|
-
});
|
548
|
-
return R.catch(a), R;
|
549
|
-
}
|
550
|
-
}
|
551
|
-
function a() {
|
552
|
-
}
|
553
|
-
function s(f) {
|
554
|
-
return new Promise((E) => {
|
555
|
-
setTimeout(() => {
|
556
|
-
E(f);
|
557
|
-
}, 0);
|
558
|
-
});
|
559
|
-
}
|
560
|
-
})(de)), de;
|
561
|
-
}
|
562
|
-
var le = {}, Ve;
|
563
|
-
function cr() {
|
564
|
-
return Ve || (Ve = 1, (function(n) {
|
565
|
-
Object.defineProperty(n, "__esModule", {
|
566
|
-
value: !0
|
567
|
-
}), Object.defineProperty(n, "isPostpone", {
|
568
|
-
enumerable: !0,
|
569
|
-
get: function() {
|
570
|
-
return u;
|
571
|
-
}
|
572
|
-
});
|
573
|
-
const e = Symbol.for("react.postpone");
|
574
|
-
function u(r) {
|
575
|
-
return typeof r == "object" && r !== null && r.$$typeof === e;
|
576
|
-
}
|
577
|
-
})(le)), le;
|
578
|
-
}
|
579
|
-
var _e = {}, Ke;
|
580
|
-
function te() {
|
581
|
-
return Ke || (Ke = 1, (function(n) {
|
582
|
-
Object.defineProperty(n, "__esModule", {
|
583
|
-
value: !0
|
584
|
-
});
|
585
|
-
function e(o, i) {
|
586
|
-
for (var a in i) Object.defineProperty(o, a, {
|
587
|
-
enumerable: !0,
|
588
|
-
get: i[a]
|
589
|
-
});
|
590
|
-
}
|
591
|
-
e(n, {
|
592
|
-
BailoutToCSRError: function() {
|
593
|
-
return r;
|
594
|
-
},
|
595
|
-
isBailoutToCSRError: function() {
|
596
|
-
return c;
|
597
|
-
}
|
598
|
-
});
|
599
|
-
const u = "BAILOUT_TO_CLIENT_SIDE_RENDERING";
|
600
|
-
class r extends Error {
|
601
|
-
constructor(i) {
|
602
|
-
super("Bail out to client-side rendering: " + i), this.reason = i, this.digest = u;
|
603
|
-
}
|
604
|
-
}
|
605
|
-
function c(o) {
|
606
|
-
return typeof o != "object" || o === null || !("digest" in o) ? !1 : o.digest === u;
|
607
|
-
}
|
608
|
-
})(_e)), _e;
|
609
|
-
}
|
610
|
-
var Y = { exports: {} }, Qe;
|
611
|
-
function vt() {
|
612
|
-
return Qe || (Qe = 1, (function(n, e) {
|
613
|
-
Object.defineProperty(e, "__esModule", {
|
614
|
-
value: !0
|
615
|
-
}), Object.defineProperty(e, "isNextRouterError", {
|
616
|
-
enumerable: !0,
|
617
|
-
get: function() {
|
618
|
-
return c;
|
619
|
-
}
|
620
|
-
});
|
621
|
-
const u = ee(), r = Se();
|
622
|
-
function c(o) {
|
623
|
-
return (0, r.isRedirectError)(o) || (0, u.isHTTPAccessFallbackError)(o);
|
624
|
-
}
|
625
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
626
|
-
})(Y, Y.exports)), Y.exports;
|
627
|
-
}
|
628
|
-
var Ee = {}, z = { exports: {} }, Je;
|
629
|
-
function Ot() {
|
630
|
-
return Je || (Je = 1, (function(n, e) {
|
631
|
-
Object.defineProperty(e, "__esModule", {
|
632
|
-
value: !0
|
633
|
-
});
|
634
|
-
function u(i, a) {
|
635
|
-
for (var s in a) Object.defineProperty(i, s, {
|
636
|
-
enumerable: !0,
|
637
|
-
get: a[s]
|
638
|
-
});
|
639
|
-
}
|
640
|
-
u(e, {
|
641
|
-
DynamicServerError: function() {
|
642
|
-
return c;
|
643
|
-
},
|
644
|
-
isDynamicServerError: function() {
|
645
|
-
return o;
|
646
|
-
}
|
647
|
-
});
|
648
|
-
const r = "DYNAMIC_SERVER_USAGE";
|
649
|
-
class c extends Error {
|
650
|
-
constructor(a) {
|
651
|
-
super("Dynamic server usage: " + a), this.description = a, this.digest = r;
|
652
|
-
}
|
653
|
-
}
|
654
|
-
function o(i) {
|
655
|
-
return typeof i != "object" || i === null || !("digest" in i) || typeof i.digest != "string" ? !1 : i.digest === r;
|
656
|
-
}
|
657
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
658
|
-
})(z, z.exports)), z.exports;
|
659
|
-
}
|
660
|
-
var V = { exports: {} }, Ze;
|
661
|
-
function ir() {
|
662
|
-
return Ze || (Ze = 1, (function(n, e) {
|
663
|
-
Object.defineProperty(e, "__esModule", {
|
664
|
-
value: !0
|
665
|
-
});
|
666
|
-
function u(i, a) {
|
667
|
-
for (var s in a) Object.defineProperty(i, s, {
|
668
|
-
enumerable: !0,
|
669
|
-
get: a[s]
|
670
|
-
});
|
671
|
-
}
|
672
|
-
u(e, {
|
673
|
-
StaticGenBailoutError: function() {
|
674
|
-
return c;
|
675
|
-
},
|
676
|
-
isStaticGenBailoutError: function() {
|
677
|
-
return o;
|
678
|
-
}
|
679
|
-
});
|
680
|
-
const r = "NEXT_STATIC_GEN_BAILOUT";
|
681
|
-
class c extends Error {
|
682
|
-
constructor(...a) {
|
683
|
-
super(...a), this.code = r;
|
684
|
-
}
|
685
|
-
}
|
686
|
-
function o(i) {
|
687
|
-
return typeof i != "object" || i === null || !("code" in i) ? !1 : i.code === r;
|
688
|
-
}
|
689
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
690
|
-
})(V, V.exports)), V.exports;
|
691
|
-
}
|
692
|
-
var pe = {}, ye = {}, et;
|
693
|
-
function sr() {
|
694
|
-
return et || (et = 1, (function(n) {
|
695
|
-
Object.defineProperty(n, "__esModule", {
|
696
|
-
value: !0
|
697
|
-
}), Object.defineProperty(n, "workUnitAsyncStorageInstance", {
|
698
|
-
enumerable: !0,
|
699
|
-
get: function() {
|
700
|
-
return u;
|
701
|
-
}
|
702
|
-
});
|
703
|
-
const u = (0, Ae().createAsyncLocalStorage)();
|
704
|
-
})(ye)), ye;
|
705
|
-
}
|
706
|
-
var K = { exports: {} }, tt;
|
707
|
-
function fr() {
|
708
|
-
return tt || (tt = 1, (function(n, e) {
|
709
|
-
Object.defineProperty(e, "__esModule", {
|
710
|
-
value: !0
|
711
|
-
});
|
712
|
-
function u(v, P) {
|
713
|
-
for (var A in P) Object.defineProperty(v, A, {
|
714
|
-
enumerable: !0,
|
715
|
-
get: P[A]
|
716
|
-
});
|
717
|
-
}
|
718
|
-
u(e, {
|
719
|
-
ACTION_HEADER: function() {
|
720
|
-
return c;
|
721
|
-
},
|
722
|
-
FLIGHT_HEADERS: function() {
|
723
|
-
return R;
|
724
|
-
},
|
725
|
-
NEXT_ACTION_NOT_FOUND_HEADER: function() {
|
726
|
-
return m;
|
727
|
-
},
|
728
|
-
NEXT_DID_POSTPONE_HEADER: function() {
|
729
|
-
return _;
|
730
|
-
},
|
731
|
-
NEXT_HMR_REFRESH_HASH_COOKIE: function() {
|
732
|
-
return f;
|
733
|
-
},
|
734
|
-
NEXT_HMR_REFRESH_HEADER: function() {
|
735
|
-
return s;
|
736
|
-
},
|
737
|
-
NEXT_IS_PRERENDER_HEADER: function() {
|
738
|
-
return w;
|
739
|
-
},
|
740
|
-
NEXT_REWRITTEN_PATH_HEADER: function() {
|
741
|
-
return g;
|
742
|
-
},
|
743
|
-
NEXT_REWRITTEN_QUERY_HEADER: function() {
|
744
|
-
return T;
|
745
|
-
},
|
746
|
-
NEXT_ROUTER_PREFETCH_HEADER: function() {
|
747
|
-
return i;
|
748
|
-
},
|
749
|
-
NEXT_ROUTER_SEGMENT_PREFETCH_HEADER: function() {
|
750
|
-
return a;
|
751
|
-
},
|
752
|
-
NEXT_ROUTER_STALE_TIME_HEADER: function() {
|
753
|
-
return b;
|
754
|
-
},
|
755
|
-
NEXT_ROUTER_STATE_TREE_HEADER: function() {
|
756
|
-
return o;
|
757
|
-
},
|
758
|
-
NEXT_RSC_UNION_QUERY: function() {
|
759
|
-
return h;
|
760
|
-
},
|
761
|
-
NEXT_URL: function() {
|
762
|
-
return E;
|
763
|
-
},
|
764
|
-
RSC_CONTENT_TYPE_HEADER: function() {
|
765
|
-
return p;
|
766
|
-
},
|
767
|
-
RSC_HEADER: function() {
|
768
|
-
return r;
|
769
|
-
}
|
770
|
-
});
|
771
|
-
const r = "rsc", c = "next-action", o = "next-router-state-tree", i = "next-router-prefetch", a = "next-router-segment-prefetch", s = "next-hmr-refresh", f = "__next_hmr_refresh_hash__", E = "next-url", p = "text/x-component", R = [
|
772
|
-
r,
|
773
|
-
o,
|
774
|
-
i,
|
775
|
-
s,
|
776
|
-
a
|
777
|
-
], h = "_rsc", b = "x-nextjs-stale-time", _ = "x-nextjs-postponed", g = "x-nextjs-rewritten-path", T = "x-nextjs-rewritten-query", w = "x-nextjs-prerender", m = "x-nextjs-action-not-found";
|
778
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
779
|
-
})(K, K.exports)), K.exports;
|
780
|
-
}
|
781
|
-
var Re = {}, rt;
|
782
|
-
function Tt() {
|
783
|
-
return rt || (rt = 1, (function(n) {
|
784
|
-
Object.defineProperty(n, "__esModule", {
|
785
|
-
value: !0
|
786
|
-
}), Object.defineProperty(n, "InvariantError", {
|
787
|
-
enumerable: !0,
|
788
|
-
get: function() {
|
789
|
-
return e;
|
790
|
-
}
|
791
|
-
});
|
792
|
-
class e extends Error {
|
793
|
-
constructor(r, c) {
|
794
|
-
super("Invariant: " + (r.endsWith(".") ? r : r + ".") + " This is a bug in Next.js.", c), this.name = "InvariantError";
|
795
|
-
}
|
796
|
-
}
|
797
|
-
})(Re)), Re;
|
798
|
-
}
|
799
|
-
var nt;
|
800
|
-
function Pt() {
|
801
|
-
return nt || (nt = 1, (function(n) {
|
802
|
-
Object.defineProperty(n, "__esModule", {
|
803
|
-
value: !0
|
804
|
-
});
|
805
|
-
function e(_, g) {
|
806
|
-
for (var T in g) Object.defineProperty(_, T, {
|
807
|
-
enumerable: !0,
|
808
|
-
get: g[T]
|
809
|
-
});
|
810
|
-
}
|
811
|
-
e(n, {
|
812
|
-
getCacheSignal: function() {
|
813
|
-
return h;
|
814
|
-
},
|
815
|
-
getDraftModeProviderForCacheScope: function() {
|
816
|
-
return R;
|
817
|
-
},
|
818
|
-
getHmrRefreshHash: function() {
|
819
|
-
return f;
|
820
|
-
},
|
821
|
-
getPrerenderResumeDataCache: function() {
|
822
|
-
return a;
|
823
|
-
},
|
824
|
-
getRenderResumeDataCache: function() {
|
825
|
-
return s;
|
826
|
-
},
|
827
|
-
getRuntimeStagePromise: function() {
|
828
|
-
return b;
|
829
|
-
},
|
830
|
-
getServerComponentsHmrCache: function() {
|
831
|
-
return p;
|
832
|
-
},
|
833
|
-
isHmrRefresh: function() {
|
834
|
-
return E;
|
835
|
-
},
|
836
|
-
throwForMissingRequestStore: function() {
|
837
|
-
return o;
|
838
|
-
},
|
839
|
-
throwInvariantForMissingStore: function() {
|
840
|
-
return i;
|
841
|
-
},
|
842
|
-
workUnitAsyncStorage: function() {
|
843
|
-
return u.workUnitAsyncStorageInstance;
|
844
|
-
}
|
845
|
-
});
|
846
|
-
const u = sr(), r = fr(), c = Tt();
|
847
|
-
function o(_) {
|
848
|
-
throw Object.defineProperty(new Error(`\`${_}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`), "__NEXT_ERROR_CODE", {
|
849
|
-
value: "E251",
|
850
|
-
enumerable: !1,
|
851
|
-
configurable: !0
|
852
|
-
});
|
853
|
-
}
|
854
|
-
function i() {
|
855
|
-
throw Object.defineProperty(new c.InvariantError("Expected workUnitAsyncStorage to have a store."), "__NEXT_ERROR_CODE", {
|
856
|
-
value: "E696",
|
857
|
-
enumerable: !1,
|
858
|
-
configurable: !0
|
859
|
-
});
|
860
|
-
}
|
861
|
-
function a(_) {
|
862
|
-
switch (_.type) {
|
863
|
-
case "prerender":
|
864
|
-
case "prerender-runtime":
|
865
|
-
case "prerender-ppr":
|
866
|
-
return _.prerenderResumeDataCache;
|
867
|
-
case "prerender-client":
|
868
|
-
return _.prerenderResumeDataCache;
|
869
|
-
case "prerender-legacy":
|
870
|
-
case "request":
|
871
|
-
case "cache":
|
872
|
-
case "private-cache":
|
873
|
-
case "unstable-cache":
|
874
|
-
return null;
|
875
|
-
default:
|
876
|
-
return _;
|
877
|
-
}
|
878
|
-
}
|
879
|
-
function s(_) {
|
880
|
-
switch (_.type) {
|
881
|
-
case "request":
|
882
|
-
return _.renderResumeDataCache;
|
883
|
-
case "prerender":
|
884
|
-
case "prerender-runtime":
|
885
|
-
case "prerender-client":
|
886
|
-
if (_.renderResumeDataCache)
|
887
|
-
return _.renderResumeDataCache;
|
888
|
-
// fallthrough
|
889
|
-
case "prerender-ppr":
|
890
|
-
return _.prerenderResumeDataCache;
|
891
|
-
case "cache":
|
892
|
-
case "private-cache":
|
893
|
-
case "unstable-cache":
|
894
|
-
case "prerender-legacy":
|
895
|
-
return null;
|
896
|
-
default:
|
897
|
-
return _;
|
898
|
-
}
|
899
|
-
}
|
900
|
-
function f(_, g) {
|
901
|
-
if (_.dev)
|
902
|
-
switch (g.type) {
|
903
|
-
case "cache":
|
904
|
-
case "private-cache":
|
905
|
-
case "prerender":
|
906
|
-
case "prerender-runtime":
|
907
|
-
return g.hmrRefreshHash;
|
908
|
-
case "request":
|
909
|
-
var T;
|
910
|
-
return (T = g.cookies.get(r.NEXT_HMR_REFRESH_HASH_COOKIE)) == null ? void 0 : T.value;
|
911
|
-
}
|
912
|
-
}
|
913
|
-
function E(_, g) {
|
914
|
-
if (_.dev)
|
915
|
-
switch (g.type) {
|
916
|
-
case "cache":
|
917
|
-
case "private-cache":
|
918
|
-
case "request":
|
919
|
-
return g.isHmrRefresh ?? !1;
|
920
|
-
}
|
921
|
-
return !1;
|
922
|
-
}
|
923
|
-
function p(_, g) {
|
924
|
-
if (_.dev)
|
925
|
-
switch (g.type) {
|
926
|
-
case "cache":
|
927
|
-
case "private-cache":
|
928
|
-
case "request":
|
929
|
-
return g.serverComponentsHmrCache;
|
930
|
-
}
|
931
|
-
}
|
932
|
-
function R(_, g) {
|
933
|
-
if (_.isDraftMode)
|
934
|
-
switch (g.type) {
|
935
|
-
case "cache":
|
936
|
-
case "private-cache":
|
937
|
-
case "unstable-cache":
|
938
|
-
case "prerender-runtime":
|
939
|
-
case "request":
|
940
|
-
return g.draftMode;
|
941
|
-
}
|
942
|
-
}
|
943
|
-
function h(_) {
|
944
|
-
switch (_.type) {
|
945
|
-
case "prerender":
|
946
|
-
case "prerender-client":
|
947
|
-
case "prerender-runtime":
|
948
|
-
return _.cacheSignal;
|
949
|
-
case "prerender-ppr":
|
950
|
-
case "prerender-legacy":
|
951
|
-
case "request":
|
952
|
-
case "cache":
|
953
|
-
case "private-cache":
|
954
|
-
case "unstable-cache":
|
955
|
-
return null;
|
956
|
-
default:
|
957
|
-
return _;
|
958
|
-
}
|
959
|
-
}
|
960
|
-
function b(_) {
|
961
|
-
switch (_.type) {
|
962
|
-
case "prerender-runtime":
|
963
|
-
case "private-cache":
|
964
|
-
return _.runtimeStagePromise;
|
965
|
-
case "prerender":
|
966
|
-
case "prerender-client":
|
967
|
-
case "prerender-ppr":
|
968
|
-
case "prerender-legacy":
|
969
|
-
case "request":
|
970
|
-
case "cache":
|
971
|
-
case "unstable-cache":
|
972
|
-
return null;
|
973
|
-
default:
|
974
|
-
return _;
|
975
|
-
}
|
976
|
-
}
|
977
|
-
})(pe)), pe;
|
978
|
-
}
|
979
|
-
var he = {}, ge = {}, ut;
|
980
|
-
function dr() {
|
981
|
-
return ut || (ut = 1, (function(n) {
|
982
|
-
Object.defineProperty(n, "__esModule", {
|
983
|
-
value: !0
|
984
|
-
}), Object.defineProperty(n, "workAsyncStorageInstance", {
|
985
|
-
enumerable: !0,
|
986
|
-
get: function() {
|
987
|
-
return u;
|
988
|
-
}
|
989
|
-
});
|
990
|
-
const u = (0, Ae().createAsyncLocalStorage)();
|
991
|
-
})(ge)), ge;
|
992
|
-
}
|
993
|
-
var ot;
|
994
|
-
function St() {
|
995
|
-
return ot || (ot = 1, (function(n) {
|
996
|
-
Object.defineProperty(n, "__esModule", {
|
997
|
-
value: !0
|
998
|
-
}), Object.defineProperty(n, "workAsyncStorage", {
|
999
|
-
enumerable: !0,
|
1000
|
-
get: function() {
|
1001
|
-
return e.workAsyncStorageInstance;
|
1002
|
-
}
|
1003
|
-
});
|
1004
|
-
const e = dr();
|
1005
|
-
})(he)), he;
|
1006
|
-
}
|
1007
|
-
var me = {}, at;
|
1008
|
-
function lr() {
|
1009
|
-
return at || (at = 1, (function(n) {
|
1010
|
-
Object.defineProperty(n, "__esModule", {
|
1011
|
-
value: !0
|
1012
|
-
});
|
1013
|
-
function e(i, a) {
|
1014
|
-
for (var s in a) Object.defineProperty(i, s, {
|
1015
|
-
enumerable: !0,
|
1016
|
-
get: a[s]
|
1017
|
-
});
|
1018
|
-
}
|
1019
|
-
e(n, {
|
1020
|
-
METADATA_BOUNDARY_NAME: function() {
|
1021
|
-
return u;
|
1022
|
-
},
|
1023
|
-
OUTLET_BOUNDARY_NAME: function() {
|
1024
|
-
return c;
|
1025
|
-
},
|
1026
|
-
ROOT_LAYOUT_BOUNDARY_NAME: function() {
|
1027
|
-
return o;
|
1028
|
-
},
|
1029
|
-
VIEWPORT_BOUNDARY_NAME: function() {
|
1030
|
-
return r;
|
1031
|
-
}
|
1032
|
-
});
|
1033
|
-
const u = "__next_metadata_boundary__", r = "__next_viewport_boundary__", c = "__next_outlet_boundary__", o = "__next_root_layout_boundary__";
|
1034
|
-
})(me)), me;
|
1035
|
-
}
|
1036
|
-
var be = {}, ct;
|
1037
|
-
function _r() {
|
1038
|
-
return ct || (ct = 1, (function(n) {
|
1039
|
-
Object.defineProperty(n, "__esModule", {
|
1040
|
-
value: !0
|
1041
|
-
});
|
1042
|
-
function e(i, a) {
|
1043
|
-
for (var s in a) Object.defineProperty(i, s, {
|
1044
|
-
enumerable: !0,
|
1045
|
-
get: a[s]
|
1046
|
-
});
|
1047
|
-
}
|
1048
|
-
e(n, {
|
1049
|
-
atLeastOneTask: function() {
|
1050
|
-
return c;
|
1051
|
-
},
|
1052
|
-
scheduleImmediate: function() {
|
1053
|
-
return r;
|
1054
|
-
},
|
1055
|
-
scheduleOnNextTick: function() {
|
1056
|
-
return u;
|
1057
|
-
},
|
1058
|
-
waitAtLeastOneReactRenderTask: function() {
|
1059
|
-
return o;
|
1060
|
-
}
|
1061
|
-
});
|
1062
|
-
const u = (i) => {
|
1063
|
-
Promise.resolve().then(() => {
|
1064
|
-
process.env.NEXT_RUNTIME === "edge" ? setTimeout(i, 0) : process.nextTick(i);
|
1065
|
-
});
|
1066
|
-
}, r = (i) => {
|
1067
|
-
process.env.NEXT_RUNTIME === "edge" ? setTimeout(i, 0) : setImmediate(i);
|
1068
|
-
};
|
1069
|
-
function c() {
|
1070
|
-
return new Promise((i) => r(i));
|
1071
|
-
}
|
1072
|
-
function o() {
|
1073
|
-
return process.env.NEXT_RUNTIME === "edge" ? new Promise((i) => setTimeout(i, 0)) : new Promise((i) => setImmediate(i));
|
1074
|
-
}
|
1075
|
-
})(be)), be;
|
1076
|
-
}
|
1077
|
-
var it;
|
1078
|
-
function At() {
|
1079
|
-
return it || (it = 1, (function(n) {
|
1080
|
-
Object.defineProperty(n, "__esModule", {
|
1081
|
-
value: !0
|
1082
|
-
});
|
1083
|
-
function e(t, d) {
|
1084
|
-
for (var l in d) Object.defineProperty(t, l, {
|
1085
|
-
enumerable: !0,
|
1086
|
-
get: d[l]
|
1087
|
-
});
|
1088
|
-
}
|
1089
|
-
e(n, {
|
1090
|
-
Postpone: function() {
|
1091
|
-
return C;
|
1092
|
-
},
|
1093
|
-
PreludeState: function() {
|
1094
|
-
return $t;
|
1095
|
-
},
|
1096
|
-
abortAndThrowOnSynchronousRequestDataAccess: function() {
|
1097
|
-
return N;
|
1098
|
-
},
|
1099
|
-
abortOnSynchronousPlatformIOAccess: function() {
|
1100
|
-
return P;
|
1101
|
-
},
|
1102
|
-
accessedDynamicData: function() {
|
1103
|
-
return Nt;
|
1104
|
-
},
|
1105
|
-
annotateDynamicAccess: function() {
|
1106
|
-
return qt;
|
1107
|
-
},
|
1108
|
-
consumeDynamicAccess: function() {
|
1109
|
-
return jt;
|
1110
|
-
},
|
1111
|
-
createDynamicTrackingState: function() {
|
1112
|
-
return b;
|
1113
|
-
},
|
1114
|
-
createDynamicValidationState: function() {
|
1115
|
-
return _;
|
1116
|
-
},
|
1117
|
-
createHangingInputAbortSignal: function() {
|
1118
|
-
return xt;
|
1119
|
-
},
|
1120
|
-
createRenderInBrowserAbortSignal: function() {
|
1121
|
-
return Mt;
|
1122
|
-
},
|
1123
|
-
delayUntilRuntimeStage: function() {
|
1124
|
-
return zt;
|
1125
|
-
},
|
1126
|
-
formatDynamicAPIAccesses: function() {
|
1127
|
-
return Ct;
|
1128
|
-
},
|
1129
|
-
getFirstDynamicReason: function() {
|
1130
|
-
return g;
|
1131
|
-
},
|
1132
|
-
isDynamicPostpone: function() {
|
1133
|
-
return Dt;
|
1134
|
-
},
|
1135
|
-
isPrerenderInterruptedError: function() {
|
1136
|
-
return wt;
|
1137
|
-
},
|
1138
|
-
logDisallowedDynamicError: function() {
|
1139
|
-
return ne;
|
1140
|
-
},
|
1141
|
-
markCurrentScopeAsDynamic: function() {
|
1142
|
-
return T;
|
1143
|
-
},
|
1144
|
-
postponeWithTracking: function() {
|
1145
|
-
return j;
|
1146
|
-
},
|
1147
|
-
throwIfDisallowedDynamic: function() {
|
1148
|
-
return Yt;
|
1149
|
-
},
|
1150
|
-
throwToInterruptStaticGeneration: function() {
|
1151
|
-
return w;
|
1152
|
-
},
|
1153
|
-
trackAllowedDynamicAccess: function() {
|
1154
|
-
return Gt;
|
1155
|
-
},
|
1156
|
-
trackDynamicDataInDynamicRender: function() {
|
1157
|
-
return m;
|
1158
|
-
},
|
1159
|
-
trackSynchronousPlatformIOAccessInDev: function() {
|
1160
|
-
return A;
|
1161
|
-
},
|
1162
|
-
trackSynchronousRequestDataAccessInDev: function() {
|
1163
|
-
return re;
|
1164
|
-
},
|
1165
|
-
useDynamicRouteParams: function() {
|
1166
|
-
return Ht;
|
1167
|
-
},
|
1168
|
-
warnOnSyncDynamicError: function() {
|
1169
|
-
return M;
|
1170
|
-
}
|
1171
|
-
});
|
1172
|
-
const u = /* @__PURE__ */ R(I), r = Ot(), c = ir(), o = Pt(), i = St(), a = bt(), s = lr(), f = _r(), E = te(), p = Tt();
|
1173
|
-
function R(t) {
|
1174
|
-
return t && t.__esModule ? t : {
|
1175
|
-
default: t
|
1176
|
-
};
|
1177
|
-
}
|
1178
|
-
const h = typeof u.default.unstable_postpone == "function";
|
1179
|
-
function b(t) {
|
1180
|
-
return {
|
1181
|
-
isDebugDynamicAccesses: t,
|
1182
|
-
dynamicAccesses: [],
|
1183
|
-
syncDynamicErrorWithStack: null
|
1184
|
-
};
|
1185
|
-
}
|
1186
|
-
function _() {
|
1187
|
-
return {
|
1188
|
-
hasSuspenseAboveBody: !1,
|
1189
|
-
hasDynamicMetadata: !1,
|
1190
|
-
hasDynamicViewport: !1,
|
1191
|
-
hasAllowedDynamic: !1,
|
1192
|
-
dynamicErrors: []
|
1193
|
-
};
|
1194
|
-
}
|
1195
|
-
function g(t) {
|
1196
|
-
var d;
|
1197
|
-
return (d = t.dynamicAccesses[0]) == null ? void 0 : d.expression;
|
1198
|
-
}
|
1199
|
-
function T(t, d, l) {
|
1200
|
-
if (d)
|
1201
|
-
switch (d.type) {
|
1202
|
-
case "cache":
|
1203
|
-
case "unstable-cache":
|
1204
|
-
return;
|
1205
|
-
case "private-cache":
|
1206
|
-
return;
|
1207
|
-
}
|
1208
|
-
if (!(t.forceDynamic || t.forceStatic)) {
|
1209
|
-
if (t.dynamicShouldError)
|
1210
|
-
throw Object.defineProperty(new c.StaticGenBailoutError(`Route ${t.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${l}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", {
|
1211
|
-
value: "E553",
|
1212
|
-
enumerable: !1,
|
1213
|
-
configurable: !0
|
1214
|
-
});
|
1215
|
-
if (d)
|
1216
|
-
switch (d.type) {
|
1217
|
-
case "prerender-ppr":
|
1218
|
-
return j(t.route, l, d.dynamicTracking);
|
1219
|
-
case "prerender-legacy":
|
1220
|
-
d.revalidate = 0;
|
1221
|
-
const y = Object.defineProperty(new r.DynamicServerError(`Route ${t.route} couldn't be rendered statically because it used ${l}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), "__NEXT_ERROR_CODE", {
|
1222
|
-
value: "E550",
|
1223
|
-
enumerable: !1,
|
1224
|
-
configurable: !0
|
1225
|
-
});
|
1226
|
-
throw t.dynamicUsageDescription = l, t.dynamicUsageStack = y.stack, y;
|
1227
|
-
case "request":
|
1228
|
-
process.env.NODE_ENV !== "production" && (d.usedDynamic = !0);
|
1229
|
-
break;
|
1230
|
-
}
|
1231
|
-
}
|
1232
|
-
}
|
1233
|
-
function w(t, d, l) {
|
1234
|
-
const y = Object.defineProperty(new r.DynamicServerError(`Route ${d.route} couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), "__NEXT_ERROR_CODE", {
|
1235
|
-
value: "E558",
|
1236
|
-
enumerable: !1,
|
1237
|
-
configurable: !0
|
1238
|
-
});
|
1239
|
-
throw l.revalidate = 0, d.dynamicUsageDescription = t, d.dynamicUsageStack = y.stack, y;
|
1240
|
-
}
|
1241
|
-
function m(t) {
|
1242
|
-
switch (t.type) {
|
1243
|
-
case "cache":
|
1244
|
-
case "unstable-cache":
|
1245
|
-
return;
|
1246
|
-
case "private-cache":
|
1247
|
-
return;
|
1248
|
-
case "prerender":
|
1249
|
-
case "prerender-runtime":
|
1250
|
-
case "prerender-legacy":
|
1251
|
-
case "prerender-ppr":
|
1252
|
-
case "prerender-client":
|
1253
|
-
break;
|
1254
|
-
case "request":
|
1255
|
-
process.env.NODE_ENV !== "production" && (t.usedDynamic = !0);
|
1256
|
-
break;
|
1257
|
-
}
|
1258
|
-
}
|
1259
|
-
function v(t, d, l) {
|
1260
|
-
const y = `Route ${t} needs to bail out of prerendering at this point because it used ${d}.`, D = Ce(y);
|
1261
|
-
l.controller.abort(D);
|
1262
|
-
const S = l.dynamicTracking;
|
1263
|
-
S && S.dynamicAccesses.push({
|
1264
|
-
// When we aren't debugging, we don't need to create another error for the
|
1265
|
-
// stack trace.
|
1266
|
-
stack: S.isDebugDynamicAccesses ? new Error().stack : void 0,
|
1267
|
-
expression: d
|
1268
|
-
});
|
1269
|
-
}
|
1270
|
-
function P(t, d, l, y) {
|
1271
|
-
const D = y.dynamicTracking;
|
1272
|
-
v(t, d, y), D && D.syncDynamicErrorWithStack === null && (D.syncDynamicErrorWithStack = l);
|
1273
|
-
}
|
1274
|
-
function A(t) {
|
1275
|
-
t.prerenderPhase = !1;
|
1276
|
-
}
|
1277
|
-
function N(t, d, l, y) {
|
1278
|
-
if (y.controller.signal.aborted === !1) {
|
1279
|
-
v(t, d, y);
|
1280
|
-
const S = y.dynamicTracking;
|
1281
|
-
S && S.syncDynamicErrorWithStack === null && (S.syncDynamicErrorWithStack = l);
|
1282
|
-
}
|
1283
|
-
throw Ce(`Route ${t} needs to bail out of prerendering at this point because it used ${d}.`);
|
1284
|
-
}
|
1285
|
-
function M(t) {
|
1286
|
-
t.syncDynamicErrorWithStack && console.error(t.syncDynamicErrorWithStack);
|
1287
|
-
}
|
1288
|
-
const re = A;
|
1289
|
-
function C({ reason: t, route: d }) {
|
1290
|
-
const l = o.workUnitAsyncStorage.getStore(), y = l && l.type === "prerender-ppr" ? l.dynamicTracking : null;
|
1291
|
-
j(d, t, y);
|
1292
|
-
}
|
1293
|
-
function j(t, d, l) {
|
1294
|
-
It(), l && l.dynamicAccesses.push({
|
1295
|
-
// When we aren't debugging, we don't need to create another error for the
|
1296
|
-
// stack trace.
|
1297
|
-
stack: l.isDebugDynamicAccesses ? new Error().stack : void 0,
|
1298
|
-
expression: d
|
1299
|
-
}), u.default.unstable_postpone(we(t, d));
|
1300
|
-
}
|
1301
|
-
function we(t, d) {
|
1302
|
-
return `Route ${t} needs to bail out of prerendering at this point because it used ${d}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`;
|
1303
|
-
}
|
1304
|
-
function Dt(t) {
|
1305
|
-
return typeof t == "object" && t !== null && typeof t.message == "string" ? Ne(t.message) : !1;
|
1306
|
-
}
|
1307
|
-
function Ne(t) {
|
1308
|
-
return t.includes("needs to bail out of prerendering at this point because it used") && t.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error");
|
1309
|
-
}
|
1310
|
-
if (Ne(we("%%%", "^^^")) === !1)
|
1311
|
-
throw Object.defineProperty(new Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"), "__NEXT_ERROR_CODE", {
|
1312
|
-
value: "E296",
|
1313
|
-
enumerable: !1,
|
1314
|
-
configurable: !0
|
1315
|
-
});
|
1316
|
-
const je = "NEXT_PRERENDER_INTERRUPTED";
|
1317
|
-
function Ce(t) {
|
1318
|
-
const d = Object.defineProperty(new Error(t), "__NEXT_ERROR_CODE", {
|
1319
|
-
value: "E394",
|
1320
|
-
enumerable: !1,
|
1321
|
-
configurable: !0
|
1322
|
-
});
|
1323
|
-
return d.digest = je, d;
|
1324
|
-
}
|
1325
|
-
function wt(t) {
|
1326
|
-
return typeof t == "object" && t !== null && t.digest === je && "name" in t && "message" in t && t instanceof Error;
|
1327
|
-
}
|
1328
|
-
function Nt(t) {
|
1329
|
-
return t.length > 0;
|
1330
|
-
}
|
1331
|
-
function jt(t, d) {
|
1332
|
-
return t.dynamicAccesses.push(...d.dynamicAccesses), t.dynamicAccesses;
|
1333
|
-
}
|
1334
|
-
function Ct(t) {
|
1335
|
-
return t.filter((d) => typeof d.stack == "string" && d.stack.length > 0).map(({ expression: d, stack: l }) => (l = l.split(`
|
1336
|
-
`).slice(4).filter((y) => !(y.includes("node_modules/next/") || y.includes(" (<anonymous>)") || y.includes(" (node:"))).join(`
|
1337
|
-
`), `Dynamic API Usage Debug - ${d}:
|
1338
|
-
${l}`));
|
1339
|
-
}
|
1340
|
-
function It() {
|
1341
|
-
if (!h)
|
1342
|
-
throw Object.defineProperty(new Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"), "__NEXT_ERROR_CODE", {
|
1343
|
-
value: "E224",
|
1344
|
-
enumerable: !1,
|
1345
|
-
configurable: !0
|
1346
|
-
});
|
1347
|
-
}
|
1348
|
-
function Mt() {
|
1349
|
-
const t = new AbortController();
|
1350
|
-
return t.abort(Object.defineProperty(new E.BailoutToCSRError("Render in Browser"), "__NEXT_ERROR_CODE", {
|
1351
|
-
value: "E721",
|
1352
|
-
enumerable: !1,
|
1353
|
-
configurable: !0
|
1354
|
-
})), t.signal;
|
1355
|
-
}
|
1356
|
-
function xt(t) {
|
1357
|
-
switch (t.type) {
|
1358
|
-
case "prerender":
|
1359
|
-
case "prerender-runtime":
|
1360
|
-
const d = new AbortController();
|
1361
|
-
if (t.cacheSignal)
|
1362
|
-
t.cacheSignal.inputReady().then(() => {
|
1363
|
-
d.abort();
|
1364
|
-
});
|
1365
|
-
else {
|
1366
|
-
const l = (0, o.getRuntimeStagePromise)(t);
|
1367
|
-
l ? l.then(() => (0, f.scheduleOnNextTick)(() => d.abort())) : (0, f.scheduleOnNextTick)(() => d.abort());
|
1368
|
-
}
|
1369
|
-
return d.signal;
|
1370
|
-
case "prerender-client":
|
1371
|
-
case "prerender-ppr":
|
1372
|
-
case "prerender-legacy":
|
1373
|
-
case "request":
|
1374
|
-
case "cache":
|
1375
|
-
case "private-cache":
|
1376
|
-
case "unstable-cache":
|
1377
|
-
return;
|
1378
|
-
}
|
1379
|
-
}
|
1380
|
-
function qt(t, d) {
|
1381
|
-
const l = d.dynamicTracking;
|
1382
|
-
l && l.dynamicAccesses.push({
|
1383
|
-
stack: l.isDebugDynamicAccesses ? new Error().stack : void 0,
|
1384
|
-
expression: t
|
1385
|
-
});
|
1386
|
-
}
|
1387
|
-
function Ht(t) {
|
1388
|
-
const d = i.workAsyncStorage.getStore(), l = o.workUnitAsyncStorage.getStore();
|
1389
|
-
if (d && l)
|
1390
|
-
switch (l.type) {
|
1391
|
-
case "prerender-client":
|
1392
|
-
case "prerender": {
|
1393
|
-
const y = l.fallbackRouteParams;
|
1394
|
-
y && y.size > 0 && u.default.use((0, a.makeHangingPromise)(l.renderSignal, d.route, t));
|
1395
|
-
break;
|
1396
|
-
}
|
1397
|
-
case "prerender-ppr": {
|
1398
|
-
const y = l.fallbackRouteParams;
|
1399
|
-
if (y && y.size > 0)
|
1400
|
-
return j(d.route, t, l.dynamicTracking);
|
1401
|
-
break;
|
1402
|
-
}
|
1403
|
-
case "prerender-runtime":
|
1404
|
-
throw Object.defineProperty(new p.InvariantError(`\`${t}\` was called during a runtime prerender. Next.js should be preventing ${t} from being included in server components statically, but did not in this case.`), "__NEXT_ERROR_CODE", {
|
1405
|
-
value: "E771",
|
1406
|
-
enumerable: !1,
|
1407
|
-
configurable: !0
|
1408
|
-
});
|
1409
|
-
case "cache":
|
1410
|
-
case "private-cache":
|
1411
|
-
throw Object.defineProperty(new p.InvariantError(`\`${t}\` was called inside a cache scope. Next.js should be preventing ${t} from being included in server components statically, but did not in this case.`), "__NEXT_ERROR_CODE", {
|
1412
|
-
value: "E745",
|
1413
|
-
enumerable: !1,
|
1414
|
-
configurable: !0
|
1415
|
-
});
|
1416
|
-
}
|
1417
|
-
}
|
1418
|
-
const kt = /\n\s+at Suspense \(<anonymous>\)/, Lt = "body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6", Ut = new RegExp(`\\n\\s+at Suspense \\(<anonymous>\\)(?:(?!\\n\\s+at (?:${Lt}) \\(<anonymous>\\))[\\s\\S])*?\\n\\s+at ${s.ROOT_LAYOUT_BOUNDARY_NAME} \\([^\\n]*\\)`), Bt = new RegExp(`\\n\\s+at ${s.METADATA_BOUNDARY_NAME}[\\n\\s]`), Ft = new RegExp(`\\n\\s+at ${s.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`), Xt = new RegExp(`\\n\\s+at ${s.OUTLET_BOUNDARY_NAME}[\\n\\s]`);
|
1419
|
-
function Gt(t, d, l, y) {
|
1420
|
-
if (!Xt.test(d))
|
1421
|
-
if (Bt.test(d)) {
|
1422
|
-
l.hasDynamicMetadata = !0;
|
1423
|
-
return;
|
1424
|
-
} else if (Ft.test(d)) {
|
1425
|
-
l.hasDynamicViewport = !0;
|
1426
|
-
return;
|
1427
|
-
} else if (Ut.test(d)) {
|
1428
|
-
l.hasAllowedDynamic = !0, l.hasSuspenseAboveBody = !0;
|
1429
|
-
return;
|
1430
|
-
} else if (kt.test(d)) {
|
1431
|
-
l.hasAllowedDynamic = !0;
|
1432
|
-
return;
|
1433
|
-
} else if (y.syncDynamicErrorWithStack) {
|
1434
|
-
l.dynamicErrors.push(y.syncDynamicErrorWithStack);
|
1435
|
-
return;
|
1436
|
-
} else {
|
1437
|
-
const D = `Route "${t.route}": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense`, S = Wt(D, d);
|
1438
|
-
l.dynamicErrors.push(S);
|
1439
|
-
return;
|
1440
|
-
}
|
1441
|
-
}
|
1442
|
-
function Wt(t, d) {
|
1443
|
-
const l = process.env.NODE_ENV !== "production" && u.default.captureOwnerStack ? u.default.captureOwnerStack() : null, y = Object.defineProperty(new Error(t), "__NEXT_ERROR_CODE", {
|
1444
|
-
value: "E394",
|
1445
|
-
enumerable: !1,
|
1446
|
-
configurable: !0
|
1447
|
-
});
|
1448
|
-
return y.stack = y.name + ": " + t + (l ?? d), y;
|
1449
|
-
}
|
1450
|
-
var $t = /* @__PURE__ */ (function(t) {
|
1451
|
-
return t[t.Full = 0] = "Full", t[t.Empty = 1] = "Empty", t[t.Errored = 2] = "Errored", t;
|
1452
|
-
})({});
|
1453
|
-
function ne(t, d) {
|
1454
|
-
console.error(d), t.dev || (t.hasReadableErrorStacks ? console.error(`To get a more detailed stack trace and pinpoint the issue, start the app in development mode by running \`next dev\`, then open "${t.route}" in your browser to investigate the error.`) : console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following:
|
1455
|
-
- Start the app in development mode by running \`next dev\`, then open "${t.route}" in your browser to investigate the error.
|
1456
|
-
- Rerun the production build with \`next build --debug-prerender\` to generate better stack traces.`));
|
1457
|
-
}
|
1458
|
-
function Yt(t, d, l, y) {
|
1459
|
-
if (d !== 0) {
|
1460
|
-
if (l.hasSuspenseAboveBody)
|
1461
|
-
return;
|
1462
|
-
if (y.syncDynamicErrorWithStack)
|
1463
|
-
throw ne(t, y.syncDynamicErrorWithStack), new c.StaticGenBailoutError();
|
1464
|
-
const D = l.dynamicErrors;
|
1465
|
-
if (D.length > 0) {
|
1466
|
-
for (let S = 0; S < D.length; S++)
|
1467
|
-
ne(t, D[S]);
|
1468
|
-
throw new c.StaticGenBailoutError();
|
1469
|
-
}
|
1470
|
-
if (l.hasDynamicViewport)
|
1471
|
-
throw console.error(`Route "${t.route}" has a \`generateViewport\` that depends on Request data (\`cookies()\`, etc...) or uncached external data (\`fetch(...)\`, etc...) without explicitly allowing fully dynamic rendering. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`), new c.StaticGenBailoutError();
|
1472
|
-
if (d === 1)
|
1473
|
-
throw console.error(`Route "${t.route}" did not produce a static shell and Next.js was unable to determine a reason. This is a bug in Next.js.`), new c.StaticGenBailoutError();
|
1474
|
-
} else if (l.hasAllowedDynamic === !1 && l.hasDynamicMetadata)
|
1475
|
-
throw console.error(`Route "${t.route}" has a \`generateMetadata\` that depends on Request data (\`cookies()\`, etc...) or uncached external data (\`fetch(...)\`, etc...) when the rest of the route does not. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`), new c.StaticGenBailoutError();
|
1476
|
-
}
|
1477
|
-
function zt(t, d) {
|
1478
|
-
return t.runtimeStagePromise ? t.runtimeStagePromise.then(() => d) : d;
|
1479
|
-
}
|
1480
|
-
})(Ee)), Ee;
|
1481
|
-
}
|
1482
|
-
var st;
|
1483
|
-
function Er() {
|
1484
|
-
return st || (st = 1, (function(n, e) {
|
1485
|
-
Object.defineProperty(e, "__esModule", {
|
1486
|
-
value: !0
|
1487
|
-
}), Object.defineProperty(e, "unstable_rethrow", {
|
1488
|
-
enumerable: !0,
|
1489
|
-
get: function() {
|
1490
|
-
return s;
|
1491
|
-
}
|
1492
|
-
});
|
1493
|
-
const u = bt(), r = cr(), c = te(), o = vt(), i = At(), a = Ot();
|
1494
|
-
function s(f) {
|
1495
|
-
if ((0, o.isNextRouterError)(f) || (0, c.isBailoutToCSRError)(f) || (0, a.isDynamicServerError)(f) || (0, i.isDynamicPostpone)(f) || (0, r.isPostpone)(f) || (0, u.isHangingPromiseRejectionError)(f))
|
1496
|
-
throw f;
|
1497
|
-
f instanceof Error && "cause" in f && s(f.cause);
|
1498
|
-
}
|
1499
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
1500
|
-
})($, $.exports)), $.exports;
|
1501
|
-
}
|
1502
|
-
var Q = { exports: {} }, ft;
|
1503
|
-
function pr() {
|
1504
|
-
return ft || (ft = 1, (function(n, e) {
|
1505
|
-
Object.defineProperty(e, "__esModule", {
|
1506
|
-
value: !0
|
1507
|
-
}), Object.defineProperty(e, "unstable_rethrow", {
|
1508
|
-
enumerable: !0,
|
1509
|
-
get: function() {
|
1510
|
-
return c;
|
1511
|
-
}
|
1512
|
-
});
|
1513
|
-
const u = te(), r = vt();
|
1514
|
-
function c(o) {
|
1515
|
-
if ((0, r.isNextRouterError)(o) || (0, u.isBailoutToCSRError)(o))
|
1516
|
-
throw o;
|
1517
|
-
o instanceof Error && "cause" in o && c(o.cause);
|
1518
|
-
}
|
1519
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
1520
|
-
})(Q, Q.exports)), Q.exports;
|
1521
|
-
}
|
1522
|
-
var dt;
|
1523
|
-
function yr() {
|
1524
|
-
return dt || (dt = 1, (function(n, e) {
|
1525
|
-
Object.defineProperty(e, "__esModule", {
|
1526
|
-
value: !0
|
1527
|
-
}), Object.defineProperty(e, "unstable_rethrow", {
|
1528
|
-
enumerable: !0,
|
1529
|
-
get: function() {
|
1530
|
-
return u;
|
1531
|
-
}
|
1532
|
-
});
|
1533
|
-
const u = typeof window > "u" ? Er().unstable_rethrow : pr().unstable_rethrow;
|
1534
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
1535
|
-
})(W, W.exports)), W.exports;
|
1536
|
-
}
|
1537
|
-
var lt;
|
1538
|
-
function Rr() {
|
1539
|
-
return lt || (lt = 1, (function(n, e) {
|
1540
|
-
Object.defineProperty(e, "__esModule", {
|
1541
|
-
value: !0
|
1542
|
-
});
|
1543
|
-
function u(R, h) {
|
1544
|
-
for (var b in h) Object.defineProperty(R, b, {
|
1545
|
-
enumerable: !0,
|
1546
|
-
get: h[b]
|
1547
|
-
});
|
1548
|
-
}
|
1549
|
-
u(e, {
|
1550
|
-
ReadonlyURLSearchParams: function() {
|
1551
|
-
return E;
|
1552
|
-
},
|
1553
|
-
RedirectType: function() {
|
1554
|
-
return c.RedirectType;
|
1555
|
-
},
|
1556
|
-
forbidden: function() {
|
1557
|
-
return i.forbidden;
|
1558
|
-
},
|
1559
|
-
notFound: function() {
|
1560
|
-
return o.notFound;
|
1561
|
-
},
|
1562
|
-
permanentRedirect: function() {
|
1563
|
-
return r.permanentRedirect;
|
1564
|
-
},
|
1565
|
-
redirect: function() {
|
1566
|
-
return r.redirect;
|
1567
|
-
},
|
1568
|
-
unauthorized: function() {
|
1569
|
-
return a.unauthorized;
|
1570
|
-
},
|
1571
|
-
unstable_isUnrecognizedActionError: function() {
|
1572
|
-
return p;
|
1573
|
-
},
|
1574
|
-
unstable_rethrow: function() {
|
1575
|
-
return s.unstable_rethrow;
|
1576
|
-
}
|
1577
|
-
});
|
1578
|
-
const r = nr(), c = Se(), o = ur(), i = or(), a = ar(), s = yr();
|
1579
|
-
class f extends Error {
|
1580
|
-
constructor() {
|
1581
|
-
super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams");
|
1582
|
-
}
|
1583
|
-
}
|
1584
|
-
class E extends URLSearchParams {
|
1585
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
1586
|
-
append() {
|
1587
|
-
throw new f();
|
1588
|
-
}
|
1589
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
1590
|
-
delete() {
|
1591
|
-
throw new f();
|
1592
|
-
}
|
1593
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
1594
|
-
set() {
|
1595
|
-
throw new f();
|
1596
|
-
}
|
1597
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
1598
|
-
sort() {
|
1599
|
-
throw new f();
|
1600
|
-
}
|
1601
|
-
}
|
1602
|
-
function p() {
|
1603
|
-
throw Object.defineProperty(new Error("`unstable_isUnrecognizedActionError` can only be used on the client."), "__NEXT_ERROR_CODE", {
|
1604
|
-
value: "E776",
|
1605
|
-
enumerable: !1,
|
1606
|
-
configurable: !0
|
1607
|
-
});
|
1608
|
-
}
|
1609
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
1610
|
-
})(H, H.exports)), H.exports;
|
1611
|
-
}
|
1612
|
-
var ve = {}, Oe = {}, _t;
|
1613
|
-
function hr() {
|
1614
|
-
if (_t) return Oe;
|
1615
|
-
_t = 1;
|
1616
|
-
function n(u) {
|
1617
|
-
if (typeof WeakMap != "function") return null;
|
1618
|
-
var r = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakMap();
|
1619
|
-
return (n = function(o) {
|
1620
|
-
return o ? c : r;
|
1621
|
-
})(u);
|
1622
|
-
}
|
1623
|
-
function e(u, r) {
|
1624
|
-
if (!r && u && u.__esModule) return u;
|
1625
|
-
if (u === null || typeof u != "object" && typeof u != "function") return { default: u };
|
1626
|
-
var c = n(r);
|
1627
|
-
if (c && c.has(u)) return c.get(u);
|
1628
|
-
var o = { __proto__: null }, i = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
1629
|
-
for (var a in u)
|
1630
|
-
if (a !== "default" && Object.prototype.hasOwnProperty.call(u, a)) {
|
1631
|
-
var s = i ? Object.getOwnPropertyDescriptor(u, a) : null;
|
1632
|
-
s && (s.get || s.set) ? Object.defineProperty(o, a, s) : o[a] = u[a];
|
1633
|
-
}
|
1634
|
-
return o.default = u, c && c.set(u, o), o;
|
1635
|
-
}
|
1636
|
-
return Oe._ = e, Oe;
|
1637
|
-
}
|
1638
|
-
var Et;
|
1639
|
-
function gr() {
|
1640
|
-
return Et || (Et = 1, (function(n) {
|
1641
|
-
"use client";
|
1642
|
-
Object.defineProperty(n, "__esModule", {
|
1643
|
-
value: !0
|
1644
|
-
});
|
1645
|
-
function e(i, a) {
|
1646
|
-
for (var s in a) Object.defineProperty(i, s, {
|
1647
|
-
enumerable: !0,
|
1648
|
-
get: a[s]
|
1649
|
-
});
|
1650
|
-
}
|
1651
|
-
e(n, {
|
1652
|
-
ServerInsertedHTMLContext: function() {
|
1653
|
-
return c;
|
1654
|
-
},
|
1655
|
-
useServerInsertedHTML: function() {
|
1656
|
-
return o;
|
1657
|
-
}
|
1658
|
-
});
|
1659
|
-
const r = /* @__PURE__ */ (/* @__PURE__ */ hr())._(I), c = /* @__PURE__ */ r.default.createContext(null);
|
1660
|
-
function o(i) {
|
1661
|
-
const a = (0, r.useContext)(c);
|
1662
|
-
a && a(i);
|
1663
|
-
}
|
1664
|
-
})(ve)), ve;
|
1665
|
-
}
|
1666
|
-
var J = { exports: {} }, pt;
|
1667
|
-
function mr() {
|
1668
|
-
return pt || (pt = 1, (function(n, e) {
|
1669
|
-
Object.defineProperty(e, "__esModule", {
|
1670
|
-
value: !0
|
1671
|
-
});
|
1672
|
-
function u(o, i) {
|
1673
|
-
for (var a in i) Object.defineProperty(o, a, {
|
1674
|
-
enumerable: !0,
|
1675
|
-
get: i[a]
|
1676
|
-
});
|
1677
|
-
}
|
1678
|
-
u(e, {
|
1679
|
-
UnrecognizedActionError: function() {
|
1680
|
-
return r;
|
1681
|
-
},
|
1682
|
-
unstable_isUnrecognizedActionError: function() {
|
1683
|
-
return c;
|
1684
|
-
}
|
1685
|
-
});
|
1686
|
-
class r extends Error {
|
1687
|
-
constructor(...i) {
|
1688
|
-
super(...i), this.name = "UnrecognizedActionError";
|
1689
|
-
}
|
1690
|
-
}
|
1691
|
-
function c(o) {
|
1692
|
-
return !!(o && typeof o == "object" && o instanceof r);
|
1693
|
-
}
|
1694
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
1695
|
-
})(J, J.exports)), J.exports;
|
1696
|
-
}
|
1697
|
-
var Z = { exports: {} }, yt;
|
1698
|
-
function br() {
|
1699
|
-
return yt || (yt = 1, (function(n, e) {
|
1700
|
-
Object.defineProperty(e, "__esModule", {
|
1701
|
-
value: !0
|
1702
|
-
}), Object.defineProperty(e, "bailoutToClientRendering", {
|
1703
|
-
enumerable: !0,
|
1704
|
-
get: function() {
|
1705
|
-
return o;
|
1706
|
-
}
|
1707
|
-
});
|
1708
|
-
const u = te(), r = St(), c = Pt();
|
1709
|
-
function o(i) {
|
1710
|
-
const a = r.workAsyncStorage.getStore();
|
1711
|
-
if (a?.forceStatic) return;
|
1712
|
-
const s = c.workUnitAsyncStorage.getStore();
|
1713
|
-
if (s)
|
1714
|
-
switch (s.type) {
|
1715
|
-
case "prerender":
|
1716
|
-
case "prerender-runtime":
|
1717
|
-
case "prerender-client":
|
1718
|
-
case "prerender-ppr":
|
1719
|
-
case "prerender-legacy":
|
1720
|
-
throw Object.defineProperty(new u.BailoutToCSRError(i), "__NEXT_ERROR_CODE", {
|
1721
|
-
value: "E394",
|
1722
|
-
enumerable: !1,
|
1723
|
-
configurable: !0
|
1724
|
-
});
|
1725
|
-
}
|
1726
|
-
}
|
1727
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
1728
|
-
})(Z, Z.exports)), Z.exports;
|
1729
|
-
}
|
1730
|
-
var Rt;
|
1731
|
-
function vr() {
|
1732
|
-
return Rt || (Rt = 1, (function(n, e) {
|
1733
|
-
Object.defineProperty(e, "__esModule", {
|
1734
|
-
value: !0
|
1735
|
-
});
|
1736
|
-
function u(m, v) {
|
1737
|
-
for (var P in v) Object.defineProperty(m, P, {
|
1738
|
-
enumerable: !0,
|
1739
|
-
get: v[P]
|
1740
|
-
});
|
1741
|
-
}
|
1742
|
-
u(e, {
|
1743
|
-
ReadonlyURLSearchParams: function() {
|
1744
|
-
return s.ReadonlyURLSearchParams;
|
1745
|
-
},
|
1746
|
-
RedirectType: function() {
|
1747
|
-
return s.RedirectType;
|
1748
|
-
},
|
1749
|
-
ServerInsertedHTMLContext: function() {
|
1750
|
-
return f.ServerInsertedHTMLContext;
|
1751
|
-
},
|
1752
|
-
forbidden: function() {
|
1753
|
-
return s.forbidden;
|
1754
|
-
},
|
1755
|
-
notFound: function() {
|
1756
|
-
return s.notFound;
|
1757
|
-
},
|
1758
|
-
permanentRedirect: function() {
|
1759
|
-
return s.permanentRedirect;
|
1760
|
-
},
|
1761
|
-
redirect: function() {
|
1762
|
-
return s.redirect;
|
1763
|
-
},
|
1764
|
-
unauthorized: function() {
|
1765
|
-
return s.unauthorized;
|
1766
|
-
},
|
1767
|
-
unstable_isUnrecognizedActionError: function() {
|
1768
|
-
return E.unstable_isUnrecognizedActionError;
|
1769
|
-
},
|
1770
|
-
unstable_rethrow: function() {
|
1771
|
-
return s.unstable_rethrow;
|
1772
|
-
},
|
1773
|
-
useParams: function() {
|
1774
|
-
return _;
|
1775
|
-
},
|
1776
|
-
usePathname: function() {
|
1777
|
-
return h;
|
1778
|
-
},
|
1779
|
-
useRouter: function() {
|
1780
|
-
return b;
|
1781
|
-
},
|
1782
|
-
useSearchParams: function() {
|
1783
|
-
return R;
|
1784
|
-
},
|
1785
|
-
useSelectedLayoutSegment: function() {
|
1786
|
-
return w;
|
1787
|
-
},
|
1788
|
-
useSelectedLayoutSegments: function() {
|
1789
|
-
return T;
|
1790
|
-
},
|
1791
|
-
useServerInsertedHTML: function() {
|
1792
|
-
return f.useServerInsertedHTML;
|
1793
|
-
}
|
1794
|
-
});
|
1795
|
-
const r = I, c = Qt(), o = Jt(), i = Zt(), a = er(), s = Rr(), f = gr(), E = mr(), p = typeof window > "u" ? At().useDynamicRouteParams : void 0;
|
1796
|
-
function R() {
|
1797
|
-
const m = (0, r.useContext)(o.SearchParamsContext), v = (0, r.useMemo)(() => m ? new s.ReadonlyURLSearchParams(m) : null, [
|
1798
|
-
m
|
1799
|
-
]);
|
1800
|
-
if (typeof window > "u") {
|
1801
|
-
const { bailoutToClientRendering: P } = br();
|
1802
|
-
P("useSearchParams()");
|
1803
|
-
}
|
1804
|
-
return v;
|
1805
|
-
}
|
1806
|
-
function h() {
|
1807
|
-
return p?.("usePathname()"), (0, r.useContext)(o.PathnameContext);
|
1808
|
-
}
|
1809
|
-
function b() {
|
1810
|
-
const m = (0, r.useContext)(c.AppRouterContext);
|
1811
|
-
if (m === null)
|
1812
|
-
throw Object.defineProperty(new Error("invariant expected app router to be mounted"), "__NEXT_ERROR_CODE", {
|
1813
|
-
value: "E238",
|
1814
|
-
enumerable: !1,
|
1815
|
-
configurable: !0
|
1816
|
-
});
|
1817
|
-
return m;
|
1818
|
-
}
|
1819
|
-
function _() {
|
1820
|
-
return p?.("useParams()"), (0, r.useContext)(o.PathParamsContext);
|
1821
|
-
}
|
1822
|
-
function g(m, v, P, A) {
|
1823
|
-
P === void 0 && (P = !0), A === void 0 && (A = []);
|
1824
|
-
let N;
|
1825
|
-
if (P)
|
1826
|
-
N = m[1][v];
|
1827
|
-
else {
|
1828
|
-
const j = m[1];
|
1829
|
-
var M;
|
1830
|
-
N = (M = j.children) != null ? M : Object.values(j)[0];
|
1831
|
-
}
|
1832
|
-
if (!N) return A;
|
1833
|
-
const re = N[0];
|
1834
|
-
let C = (0, i.getSegmentValue)(re);
|
1835
|
-
return !C || C.startsWith(a.PAGE_SEGMENT_KEY) ? A : (A.push(C), g(N, v, !1, A));
|
1836
|
-
}
|
1837
|
-
function T(m) {
|
1838
|
-
m === void 0 && (m = "children"), p?.("useSelectedLayoutSegments()");
|
1839
|
-
const v = (0, r.useContext)(c.LayoutRouterContext);
|
1840
|
-
return v ? g(v.parentTree, m) : null;
|
1841
|
-
}
|
1842
|
-
function w(m) {
|
1843
|
-
m === void 0 && (m = "children"), p?.("useSelectedLayoutSegment()");
|
1844
|
-
const v = T(m);
|
1845
|
-
if (!v || v.length === 0)
|
1846
|
-
return null;
|
1847
|
-
const P = m === "children" ? v[0] : v[v.length - 1];
|
1848
|
-
return P === a.DEFAULT_SEGMENT_KEY ? null : P;
|
1849
|
-
}
|
1850
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
1851
|
-
})(x, x.exports)), x.exports;
|
1852
|
-
}
|
1853
|
-
var Te, ht;
|
1854
|
-
function Or() {
|
1855
|
-
return ht || (ht = 1, Te = vr()), Te;
|
1856
|
-
}
|
1857
|
-
var De = Or();
|
1858
|
-
function Ar({
|
1859
|
-
error: n,
|
1860
|
-
reset: e
|
2
|
+
import { j as e, u as i } from "./UserProvider-ultyW1kJ.js";
|
3
|
+
import { useEffect as n } from "react";
|
4
|
+
import { B as c } from "./Button-BOLYI9iw.js";
|
5
|
+
function x({
|
6
|
+
error: s,
|
7
|
+
reset: r,
|
8
|
+
router: l
|
1861
9
|
}) {
|
1862
|
-
|
1863
|
-
|
1864
|
-
|
1865
|
-
|
1866
|
-
|
1867
|
-
/* @__PURE__ */
|
1868
|
-
/* @__PURE__ */ O.jsx("h1", { children: "Um erro ocorreu!" })
|
10
|
+
return n(() => {
|
11
|
+
console.error(s);
|
12
|
+
}, [s]), /* @__PURE__ */ e.jsx("div", { className: "h-screen w-screen flex", children: /* @__PURE__ */ e.jsxs("div", { className: "m-auto flex flex-col gap-3", children: [
|
13
|
+
/* @__PURE__ */ e.jsxs("div", { className: "inline-flex gap-5 items-center", children: [
|
14
|
+
/* @__PURE__ */ e.jsx("h1", { className: "text-2xl border-r-1 p-4", children: "500" }),
|
15
|
+
/* @__PURE__ */ e.jsx("h1", { children: "Um erro ocorreu!" })
|
1869
16
|
] }),
|
1870
|
-
/* @__PURE__ */
|
1871
|
-
|
17
|
+
/* @__PURE__ */ e.jsx(
|
18
|
+
c,
|
1872
19
|
{
|
1873
20
|
onClick: () => {
|
1874
|
-
|
21
|
+
r(), l.replace("/");
|
1875
22
|
},
|
1876
23
|
children: "Voltar ao Início"
|
1877
24
|
}
|
1878
25
|
)
|
1879
26
|
] }) });
|
1880
27
|
}
|
1881
|
-
function
|
1882
|
-
const
|
1883
|
-
return
|
1884
|
-
|
1885
|
-
}), /* @__PURE__ */
|
1886
|
-
/* @__PURE__ */
|
1887
|
-
/* @__PURE__ */
|
1888
|
-
/* @__PURE__ */
|
28
|
+
function d({ router: s }) {
|
29
|
+
const { user: r, logout: l } = i();
|
30
|
+
return n(() => {
|
31
|
+
r.id === "" && s.push("/login");
|
32
|
+
}), /* @__PURE__ */ e.jsx("div", { className: "h-screen w-screen flex", children: /* @__PURE__ */ e.jsxs("div", { className: "m-auto flex flex-col gap-3", children: [
|
33
|
+
/* @__PURE__ */ e.jsxs("div", { className: "inline-flex gap-5 items-center", children: [
|
34
|
+
/* @__PURE__ */ e.jsx("h1", { className: "text-2xl border-r-1 p-4", children: "403" }),
|
35
|
+
/* @__PURE__ */ e.jsx("h1", { children: "Acesso Negado" })
|
1889
36
|
] }),
|
1890
|
-
/* @__PURE__ */
|
1891
|
-
|
37
|
+
/* @__PURE__ */ e.jsx(
|
38
|
+
c,
|
1892
39
|
{
|
1893
40
|
variant: "destructive",
|
1894
41
|
onClick: () => {
|
1895
|
-
(async () => await
|
42
|
+
(async () => await l())();
|
1896
43
|
},
|
1897
44
|
children: "Logout"
|
1898
45
|
}
|
1899
46
|
)
|
1900
47
|
] }) });
|
1901
48
|
}
|
1902
|
-
function
|
1903
|
-
|
1904
|
-
|
1905
|
-
|
1906
|
-
/* @__PURE__ */
|
1907
|
-
/* @__PURE__ */ O.jsx("h1", { children: "Página não encontrada" })
|
49
|
+
function h({ router: s }) {
|
50
|
+
return /* @__PURE__ */ e.jsx("div", { className: "h-screen w-screen flex", children: /* @__PURE__ */ e.jsxs("div", { className: "m-auto flex flex-col gap-3", children: [
|
51
|
+
/* @__PURE__ */ e.jsxs("div", { className: "inline-flex gap-5 items-center", children: [
|
52
|
+
/* @__PURE__ */ e.jsx("h1", { className: "text-2xl border-r-1 p-4", children: "404" }),
|
53
|
+
/* @__PURE__ */ e.jsx("h1", { children: "Página não encontrada" })
|
1908
54
|
] }),
|
1909
|
-
/* @__PURE__ */
|
55
|
+
/* @__PURE__ */ e.jsx(c, { onClick: () => s.replace("/"), children: "Voltar ao Início" })
|
1910
56
|
] }) });
|
1911
57
|
}
|
1912
58
|
export {
|
1913
|
-
|
1914
|
-
|
1915
|
-
|
59
|
+
x as Error,
|
60
|
+
d as Forbidden,
|
61
|
+
h as NotFoundPage
|
1916
62
|
};
|