uplord-ui 0.2.1 → 0.2.2
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.cjs.js +6 -6
- package/dist/index.css +1 -1
- package/dist/index.es.js +365 -365
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -2,13 +2,13 @@ import ie from "react";
|
|
|
2
2
|
function Lr(n) {
|
|
3
3
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
4
4
|
}
|
|
5
|
-
var de = { exports: {} },
|
|
5
|
+
var de = { exports: {} }, ae = {};
|
|
6
6
|
var Tt;
|
|
7
7
|
function Dr() {
|
|
8
|
-
if (Tt) return
|
|
8
|
+
if (Tt) return ae;
|
|
9
9
|
Tt = 1;
|
|
10
10
|
var n = /* @__PURE__ */ Symbol.for("react.transitional.element"), e = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
11
|
-
function
|
|
11
|
+
function o(c, s, i) {
|
|
12
12
|
var t = null;
|
|
13
13
|
if (i !== void 0 && (t = "" + i), s.key !== void 0 && (t = "" + s.key), "key" in s) {
|
|
14
14
|
i = {};
|
|
@@ -23,11 +23,11 @@ function Dr() {
|
|
|
23
23
|
props: i
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
|
-
return
|
|
26
|
+
return ae.Fragment = e, ae.jsx = o, ae.jsxs = o, ae;
|
|
27
27
|
}
|
|
28
|
-
var
|
|
28
|
+
var oe = {};
|
|
29
29
|
var bt;
|
|
30
|
-
function
|
|
30
|
+
function kr() {
|
|
31
31
|
return bt || (bt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
32
32
|
function n(m) {
|
|
33
33
|
if (m == null) return null;
|
|
@@ -75,7 +75,7 @@ function qr() {
|
|
|
75
75
|
function e(m) {
|
|
76
76
|
return "" + m;
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function o(m) {
|
|
79
79
|
try {
|
|
80
80
|
e(m);
|
|
81
81
|
var S = !1;
|
|
@@ -135,7 +135,7 @@ function qr() {
|
|
|
135
135
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
136
136
|
)), m = this.props.ref, m !== void 0 ? m : null;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function a(m, S, j, x, X, V) {
|
|
139
139
|
var L = j.ref;
|
|
140
140
|
return m = {
|
|
141
141
|
$$typeof: E,
|
|
@@ -172,7 +172,7 @@ function qr() {
|
|
|
172
172
|
var L = S.children;
|
|
173
173
|
if (L !== void 0)
|
|
174
174
|
if (x)
|
|
175
|
-
if (
|
|
175
|
+
if (k(L)) {
|
|
176
176
|
for (x = 0; x < L.length; x++)
|
|
177
177
|
_(L[x]);
|
|
178
178
|
Object.freeze && Object.freeze(L);
|
|
@@ -199,7 +199,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
199
199
|
L
|
|
200
200
|
), B[L + x] = !0);
|
|
201
201
|
}
|
|
202
|
-
if (L = null, j !== void 0 && (
|
|
202
|
+
if (L = null, j !== void 0 && (o(j), L = "" + j), t(S) && (o(S.key), L = "" + S.key), "key" in S) {
|
|
203
203
|
j = {};
|
|
204
204
|
for (var z in S)
|
|
205
205
|
z !== "key" && (j[z] = S[z]);
|
|
@@ -207,7 +207,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
207
207
|
return L && u(
|
|
208
208
|
j,
|
|
209
209
|
typeof m == "function" ? m.displayName || m.name || "Unknown" : m
|
|
210
|
-
),
|
|
210
|
+
), a(
|
|
211
211
|
m,
|
|
212
212
|
L,
|
|
213
213
|
j,
|
|
@@ -222,7 +222,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
222
222
|
function R(m) {
|
|
223
223
|
return typeof m == "object" && m !== null && m.$$typeof === E;
|
|
224
224
|
}
|
|
225
|
-
var h = ie, E = /* @__PURE__ */ Symbol.for("react.transitional.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), p = /* @__PURE__ */ Symbol.for("react.fragment"), d = /* @__PURE__ */ Symbol.for("react.strict_mode"), T = /* @__PURE__ */ Symbol.for("react.profiler"), y = /* @__PURE__ */ Symbol.for("react.consumer"), P = /* @__PURE__ */ Symbol.for("react.context"), v = /* @__PURE__ */ Symbol.for("react.forward_ref"), O = /* @__PURE__ */ Symbol.for("react.suspense"), b = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), I = /* @__PURE__ */ Symbol.for("react.lazy"), g = /* @__PURE__ */ Symbol.for("react.activity"), A = /* @__PURE__ */ Symbol.for("react.client.reference"), C = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, w = Object.prototype.hasOwnProperty,
|
|
225
|
+
var h = ie, E = /* @__PURE__ */ Symbol.for("react.transitional.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), p = /* @__PURE__ */ Symbol.for("react.fragment"), d = /* @__PURE__ */ Symbol.for("react.strict_mode"), T = /* @__PURE__ */ Symbol.for("react.profiler"), y = /* @__PURE__ */ Symbol.for("react.consumer"), P = /* @__PURE__ */ Symbol.for("react.context"), v = /* @__PURE__ */ Symbol.for("react.forward_ref"), O = /* @__PURE__ */ Symbol.for("react.suspense"), b = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), I = /* @__PURE__ */ Symbol.for("react.lazy"), g = /* @__PURE__ */ Symbol.for("react.activity"), A = /* @__PURE__ */ Symbol.for("react.client.reference"), C = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, w = Object.prototype.hasOwnProperty, k = Array.isArray, M = console.createTask ? console.createTask : function() {
|
|
226
226
|
return null;
|
|
227
227
|
};
|
|
228
228
|
h = {
|
|
@@ -233,8 +233,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
233
233
|
var U, W = {}, G = h.react_stack_bottom_frame.bind(
|
|
234
234
|
h,
|
|
235
235
|
i
|
|
236
|
-
)(),
|
|
237
|
-
|
|
236
|
+
)(), q = M(c(i)), B = {};
|
|
237
|
+
oe.Fragment = p, oe.jsx = function(m, S, j) {
|
|
238
238
|
var x = 1e4 > C.recentlyCreatedOwnerStacks++;
|
|
239
239
|
return f(
|
|
240
240
|
m,
|
|
@@ -242,9 +242,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
242
242
|
j,
|
|
243
243
|
!1,
|
|
244
244
|
x ? Error("react-stack-top-frame") : G,
|
|
245
|
-
x ? M(c(m)) :
|
|
245
|
+
x ? M(c(m)) : q
|
|
246
246
|
);
|
|
247
|
-
},
|
|
247
|
+
}, oe.jsxs = function(m, S, j) {
|
|
248
248
|
var x = 1e4 > C.recentlyCreatedOwnerStacks++;
|
|
249
249
|
return f(
|
|
250
250
|
m,
|
|
@@ -252,58 +252,58 @@ React keys must be passed directly to JSX without using spread:
|
|
|
252
252
|
j,
|
|
253
253
|
!0,
|
|
254
254
|
x ? Error("react-stack-top-frame") : G,
|
|
255
|
-
x ? M(c(m)) :
|
|
255
|
+
x ? M(c(m)) : q
|
|
256
256
|
);
|
|
257
257
|
};
|
|
258
|
-
})()),
|
|
258
|
+
})()), oe;
|
|
259
259
|
}
|
|
260
260
|
var yt;
|
|
261
261
|
function Tr() {
|
|
262
|
-
return yt || (yt = 1, process.env.NODE_ENV === "production" ? de.exports = Dr() : de.exports =
|
|
262
|
+
return yt || (yt = 1, process.env.NODE_ENV === "production" ? de.exports = Dr() : de.exports = kr()), de.exports;
|
|
263
263
|
}
|
|
264
264
|
var te = Tr();
|
|
265
|
-
const
|
|
266
|
-
main:
|
|
265
|
+
const qr = "_main_88m1r_1", Ur = {
|
|
266
|
+
main: qr
|
|
267
267
|
};
|
|
268
268
|
function Xn() {
|
|
269
269
|
return /* @__PURE__ */ te.jsx("div", { className: Ur.main, children: "Test" });
|
|
270
270
|
}
|
|
271
271
|
function br(n) {
|
|
272
|
-
var e,
|
|
272
|
+
var e, o, c = "";
|
|
273
273
|
if (typeof n == "string" || typeof n == "number") c += n;
|
|
274
274
|
else if (typeof n == "object") if (Array.isArray(n)) {
|
|
275
275
|
var s = n.length;
|
|
276
|
-
for (e = 0; e < s; e++) n[e] && (
|
|
277
|
-
} else for (
|
|
276
|
+
for (e = 0; e < s; e++) n[e] && (o = br(n[e])) && (c && (c += " "), c += o);
|
|
277
|
+
} else for (o in n) n[o] && (c && (c += " "), c += o);
|
|
278
278
|
return c;
|
|
279
279
|
}
|
|
280
280
|
function yr() {
|
|
281
|
-
for (var n, e,
|
|
281
|
+
for (var n, e, o = 0, c = "", s = arguments.length; o < s; o++) (n = arguments[o]) && (e = br(n)) && (c && (c += " "), c += e);
|
|
282
282
|
return c;
|
|
283
283
|
}
|
|
284
284
|
var pe = { exports: {} }, je = {}, Ot;
|
|
285
285
|
function Or() {
|
|
286
286
|
if (Ot) return je;
|
|
287
287
|
Ot = 1;
|
|
288
|
-
function n(
|
|
288
|
+
function n(o) {
|
|
289
289
|
if (typeof WeakMap != "function") return null;
|
|
290
290
|
var c = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap();
|
|
291
291
|
return (n = function(i) {
|
|
292
292
|
return i ? s : c;
|
|
293
|
-
})(
|
|
293
|
+
})(o);
|
|
294
294
|
}
|
|
295
|
-
function e(
|
|
296
|
-
if (!c &&
|
|
297
|
-
if (
|
|
295
|
+
function e(o, c) {
|
|
296
|
+
if (!c && o && o.__esModule) return o;
|
|
297
|
+
if (o === null || typeof o != "object" && typeof o != "function") return { default: o };
|
|
298
298
|
var s = n(c);
|
|
299
|
-
if (s && s.has(
|
|
299
|
+
if (s && s.has(o)) return s.get(o);
|
|
300
300
|
var i = { __proto__: null }, t = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
301
|
-
for (var u in
|
|
302
|
-
if (u !== "default" && Object.prototype.hasOwnProperty.call(
|
|
303
|
-
var r = t ? Object.getOwnPropertyDescriptor(
|
|
304
|
-
r && (r.get || r.set) ? Object.defineProperty(i, u, r) : i[u] =
|
|
301
|
+
for (var u in o)
|
|
302
|
+
if (u !== "default" && Object.prototype.hasOwnProperty.call(o, u)) {
|
|
303
|
+
var r = t ? Object.getOwnPropertyDescriptor(o, u) : null;
|
|
304
|
+
r && (r.get || r.set) ? Object.defineProperty(i, u, r) : i[u] = o[u];
|
|
305
305
|
}
|
|
306
|
-
return i.default =
|
|
306
|
+
return i.default = o, s && s.set(o, i), i;
|
|
307
307
|
}
|
|
308
308
|
return je._ = e, je;
|
|
309
309
|
}
|
|
@@ -324,19 +324,19 @@ function Ar() {
|
|
|
324
324
|
return i;
|
|
325
325
|
},
|
|
326
326
|
searchParamsToUrlQuery: function() {
|
|
327
|
-
return
|
|
327
|
+
return o;
|
|
328
328
|
},
|
|
329
329
|
urlQueryToSearchParams: function() {
|
|
330
330
|
return s;
|
|
331
331
|
}
|
|
332
332
|
});
|
|
333
|
-
function
|
|
333
|
+
function o(t) {
|
|
334
334
|
const u = {};
|
|
335
|
-
for (const [r,
|
|
335
|
+
for (const [r, a] of t.entries()) {
|
|
336
336
|
const f = u[r];
|
|
337
|
-
typeof f > "u" ? u[r] =
|
|
337
|
+
typeof f > "u" ? u[r] = a : Array.isArray(f) ? f.push(a) : u[r] = [
|
|
338
338
|
f,
|
|
339
|
-
|
|
339
|
+
a
|
|
340
340
|
];
|
|
341
341
|
}
|
|
342
342
|
return u;
|
|
@@ -346,20 +346,20 @@ function Ar() {
|
|
|
346
346
|
}
|
|
347
347
|
function s(t) {
|
|
348
348
|
const u = new URLSearchParams();
|
|
349
|
-
for (const [r,
|
|
350
|
-
if (Array.isArray(
|
|
351
|
-
for (const f of
|
|
349
|
+
for (const [r, a] of Object.entries(t))
|
|
350
|
+
if (Array.isArray(a))
|
|
351
|
+
for (const f of a)
|
|
352
352
|
u.append(r, c(f));
|
|
353
353
|
else
|
|
354
|
-
u.set(r, c(
|
|
354
|
+
u.set(r, c(a));
|
|
355
355
|
return u;
|
|
356
356
|
}
|
|
357
357
|
function i(t, ...u) {
|
|
358
358
|
for (const r of u) {
|
|
359
|
-
for (const
|
|
360
|
-
t.delete(
|
|
361
|
-
for (const [
|
|
362
|
-
t.append(
|
|
359
|
+
for (const a of r.keys())
|
|
360
|
+
t.delete(a);
|
|
361
|
+
for (const [a, f] of r.entries())
|
|
362
|
+
t.append(a, f);
|
|
363
363
|
}
|
|
364
364
|
return t;
|
|
365
365
|
}
|
|
@@ -371,10 +371,10 @@ function Sr() {
|
|
|
371
371
|
Object.defineProperty(n, "__esModule", {
|
|
372
372
|
value: !0
|
|
373
373
|
});
|
|
374
|
-
function e(r,
|
|
375
|
-
for (var f in
|
|
374
|
+
function e(r, a) {
|
|
375
|
+
for (var f in a) Object.defineProperty(r, f, {
|
|
376
376
|
enumerable: !0,
|
|
377
|
-
get:
|
|
377
|
+
get: a[f]
|
|
378
378
|
});
|
|
379
379
|
}
|
|
380
380
|
e(n, {
|
|
@@ -390,8 +390,8 @@ function Sr() {
|
|
|
390
390
|
});
|
|
391
391
|
const c = /* @__PURE__ */ (/* @__PURE__ */ Or())._(Ar()), s = /https?|ftp|gopher|file/;
|
|
392
392
|
function i(r) {
|
|
393
|
-
let { auth:
|
|
394
|
-
|
|
393
|
+
let { auth: a, hostname: f } = r, _ = r.protocol || "", R = r.pathname || "", h = r.hash || "", E = r.query || "", l = !1;
|
|
394
|
+
a = a ? encodeURIComponent(a).replace(/%3A/i, ":") + "@" : "", r.host ? l = a + r.host : f && (l = a + (~f.indexOf(":") ? `[${f}]` : f), r.port && (l += ":" + r.port)), E && typeof E == "object" && (E = String(c.urlQueryToSearchParams(E)));
|
|
395
395
|
let p = r.search || E && `?${E}` || "";
|
|
396
396
|
return _ && !_.endsWith(":") && (_ += ":"), r.slashes || (!_ || s.test(_)) && l !== !1 ? (l = "//" + (l || ""), R && R[0] !== "/" && (R = "/" + R)) : l || (l = ""), h && h[0] !== "#" && (h = "#" + h), p && p[0] !== "?" && (p = "?" + p), R = R.replace(/[?#]/g, encodeURIComponent), p = p.replace("#", "%23"), `${_}${l}${R}${p}${h}`;
|
|
397
397
|
}
|
|
@@ -410,8 +410,8 @@ function Sr() {
|
|
|
410
410
|
"slashes"
|
|
411
411
|
];
|
|
412
412
|
function u(r) {
|
|
413
|
-
return process.env.NODE_ENV === "development" && r !== null && typeof r == "object" && Object.keys(r).forEach((
|
|
414
|
-
t.includes(
|
|
413
|
+
return process.env.NODE_ENV === "development" && r !== null && typeof r == "object" && Object.keys(r).forEach((a) => {
|
|
414
|
+
t.includes(a) || console.warn(`Unknown key passed via urlObject into url.format: ${a}`);
|
|
415
415
|
}), i(r);
|
|
416
416
|
}
|
|
417
417
|
})(Le)), Le;
|
|
@@ -427,15 +427,15 @@ function Xr() {
|
|
|
427
427
|
return e;
|
|
428
428
|
}
|
|
429
429
|
});
|
|
430
|
-
function e(
|
|
430
|
+
function e(o, c) {
|
|
431
431
|
const s = {};
|
|
432
|
-
return Object.keys(
|
|
433
|
-
c.includes(i) || (s[i] =
|
|
432
|
+
return Object.keys(o).forEach((i) => {
|
|
433
|
+
c.includes(i) || (s[i] = o[i]);
|
|
434
434
|
}), s;
|
|
435
435
|
}
|
|
436
436
|
})(De)), De;
|
|
437
437
|
}
|
|
438
|
-
var
|
|
438
|
+
var ke = {}, It;
|
|
439
439
|
function Oe() {
|
|
440
440
|
return It || (It = 1, (function(n) {
|
|
441
441
|
Object.defineProperty(n, "__esModule", {
|
|
@@ -470,7 +470,7 @@ function Oe() {
|
|
|
470
470
|
return h;
|
|
471
471
|
},
|
|
472
472
|
WEB_VITALS: function() {
|
|
473
|
-
return
|
|
473
|
+
return o;
|
|
474
474
|
},
|
|
475
475
|
execOnce: function() {
|
|
476
476
|
return c;
|
|
@@ -488,7 +488,7 @@ function Oe() {
|
|
|
488
488
|
return i;
|
|
489
489
|
},
|
|
490
490
|
isResSent: function() {
|
|
491
|
-
return
|
|
491
|
+
return a;
|
|
492
492
|
},
|
|
493
493
|
loadGetInitialProps: function() {
|
|
494
494
|
return _;
|
|
@@ -500,7 +500,7 @@ function Oe() {
|
|
|
500
500
|
return y;
|
|
501
501
|
}
|
|
502
502
|
});
|
|
503
|
-
const
|
|
503
|
+
const o = [
|
|
504
504
|
"CLS",
|
|
505
505
|
"FCP",
|
|
506
506
|
"FID",
|
|
@@ -524,7 +524,7 @@ function Oe() {
|
|
|
524
524
|
function r(P) {
|
|
525
525
|
return typeof P == "string" ? P : P.displayName || P.name || "Unknown";
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function a(P) {
|
|
528
528
|
return P.finished || P.headersSent;
|
|
529
529
|
}
|
|
530
530
|
function f(P) {
|
|
@@ -546,7 +546,7 @@ function Oe() {
|
|
|
546
546
|
pageProps: await _(v.Component, v.ctx)
|
|
547
547
|
} : {};
|
|
548
548
|
const b = await P.getInitialProps(v);
|
|
549
|
-
if (O &&
|
|
549
|
+
if (O && a(O))
|
|
550
550
|
return b;
|
|
551
551
|
if (!b) {
|
|
552
552
|
const N = `"${r(P)}.getInitialProps()" should resolve to an object. But found "${b}" instead.`;
|
|
@@ -588,9 +588,9 @@ function Oe() {
|
|
|
588
588
|
stack: P.stack
|
|
589
589
|
});
|
|
590
590
|
}
|
|
591
|
-
})(
|
|
591
|
+
})(ke)), ke;
|
|
592
592
|
}
|
|
593
|
-
var he = { exports: {} },
|
|
593
|
+
var he = { exports: {} }, qe = {}, Ct;
|
|
594
594
|
function Nr() {
|
|
595
595
|
return Ct || (Ct = 1, (function(n) {
|
|
596
596
|
Object.defineProperty(n, "__esModule", {
|
|
@@ -601,10 +601,10 @@ function Nr() {
|
|
|
601
601
|
return e;
|
|
602
602
|
}
|
|
603
603
|
});
|
|
604
|
-
function e(
|
|
605
|
-
return
|
|
604
|
+
function e(o) {
|
|
605
|
+
return o.replace(/\/$/, "") || "/";
|
|
606
606
|
}
|
|
607
|
-
})(
|
|
607
|
+
})(qe)), qe;
|
|
608
608
|
}
|
|
609
609
|
var Ue = {}, wt;
|
|
610
610
|
function gt() {
|
|
@@ -617,14 +617,14 @@ function gt() {
|
|
|
617
617
|
return e;
|
|
618
618
|
}
|
|
619
619
|
});
|
|
620
|
-
function e(
|
|
621
|
-
const c =
|
|
620
|
+
function e(o) {
|
|
621
|
+
const c = o.indexOf("#"), s = o.indexOf("?"), i = s > -1 && (c < 0 || s < c);
|
|
622
622
|
return i || c > -1 ? {
|
|
623
|
-
pathname:
|
|
624
|
-
query: i ?
|
|
625
|
-
hash: c > -1 ?
|
|
623
|
+
pathname: o.substring(0, i ? s : c),
|
|
624
|
+
query: i ? o.substring(s, c > -1 ? c : void 0) : "",
|
|
625
|
+
hash: c > -1 ? o.slice(c) : ""
|
|
626
626
|
} : {
|
|
627
|
-
pathname:
|
|
627
|
+
pathname: o,
|
|
628
628
|
query: "",
|
|
629
629
|
hash: ""
|
|
630
630
|
};
|
|
@@ -642,11 +642,11 @@ function Ae() {
|
|
|
642
642
|
return s;
|
|
643
643
|
}
|
|
644
644
|
});
|
|
645
|
-
const
|
|
645
|
+
const o = Nr(), c = gt(), s = (i) => {
|
|
646
646
|
if (!i.startsWith("/") || process.env.__NEXT_MANUAL_TRAILING_SLASH)
|
|
647
647
|
return i;
|
|
648
648
|
const { pathname: t, query: u, hash: r } = (0, c.parsePath)(i);
|
|
649
|
-
return process.env.__NEXT_TRAILING_SLASH ? /\.[^/]+\/?$/.test(t) ? `${(0,
|
|
649
|
+
return process.env.__NEXT_TRAILING_SLASH ? /\.[^/]+\/?$/.test(t) ? `${(0, o.removeTrailingSlash)(t)}${u}${r}` : t.endsWith("/") ? `${t}${u}${r}` : `${t}/${u}${r}` : `${(0, o.removeTrailingSlash)(t)}${u}${r}`;
|
|
650
650
|
};
|
|
651
651
|
(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);
|
|
652
652
|
})(he, he.exports)), he.exports;
|
|
@@ -659,11 +659,11 @@ function Ir() {
|
|
|
659
659
|
}), Object.defineProperty(n, "pathHasPrefix", {
|
|
660
660
|
enumerable: !0,
|
|
661
661
|
get: function() {
|
|
662
|
-
return
|
|
662
|
+
return o;
|
|
663
663
|
}
|
|
664
664
|
});
|
|
665
665
|
const e = gt();
|
|
666
|
-
function
|
|
666
|
+
function o(c, s) {
|
|
667
667
|
if (typeof c != "string")
|
|
668
668
|
return !1;
|
|
669
669
|
const { pathname: i } = (0, e.parsePath)(c);
|
|
@@ -682,9 +682,9 @@ function Fr() {
|
|
|
682
682
|
return s;
|
|
683
683
|
}
|
|
684
684
|
});
|
|
685
|
-
const
|
|
685
|
+
const o = Ir(), c = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
686
686
|
function s(i) {
|
|
687
|
-
return (0,
|
|
687
|
+
return (0, o.pathHasPrefix)(i, c);
|
|
688
688
|
}
|
|
689
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
690
|
})(me, me.exports)), me.exports;
|
|
@@ -700,12 +700,12 @@ function Cr() {
|
|
|
700
700
|
return c;
|
|
701
701
|
}
|
|
702
702
|
});
|
|
703
|
-
const e = Oe(),
|
|
703
|
+
const e = Oe(), o = Fr();
|
|
704
704
|
function c(s) {
|
|
705
705
|
if (!(0, e.isAbsoluteUrl)(s)) return !0;
|
|
706
706
|
try {
|
|
707
707
|
const i = (0, e.getLocationOrigin)(), t = new URL(s, i);
|
|
708
|
-
return t.origin === i && (0,
|
|
708
|
+
return t.origin === i && (0, o.hasBasePath)(t.pathname);
|
|
709
709
|
} catch {
|
|
710
710
|
return !1;
|
|
711
711
|
}
|
|
@@ -732,7 +732,7 @@ function Hr() {
|
|
|
732
732
|
return c;
|
|
733
733
|
}
|
|
734
734
|
});
|
|
735
|
-
class
|
|
735
|
+
class o {
|
|
736
736
|
insert(t) {
|
|
737
737
|
this._insert(t.split("/").filter(Boolean), [], !1);
|
|
738
738
|
}
|
|
@@ -744,19 +744,19 @@ function Hr() {
|
|
|
744
744
|
...this.children.keys()
|
|
745
745
|
].sort();
|
|
746
746
|
this.slugName !== null && u.splice(u.indexOf("[]"), 1), this.restSlugName !== null && u.splice(u.indexOf("[...]"), 1), this.optionalRestSlugName !== null && u.splice(u.indexOf("[[...]]"), 1);
|
|
747
|
-
const r = u.map((
|
|
748
|
-
...
|
|
747
|
+
const r = u.map((a) => this.children.get(a)._smoosh(`${t}${a}/`)).reduce((a, f) => [
|
|
748
|
+
...a,
|
|
749
749
|
...f
|
|
750
750
|
], []);
|
|
751
751
|
if (this.slugName !== null && r.push(...this.children.get("[]")._smoosh(`${t}[${this.slugName}]/`)), !this.placeholder) {
|
|
752
|
-
const
|
|
752
|
+
const a = t === "/" ? "/" : t.slice(0, -1);
|
|
753
753
|
if (this.optionalRestSlugName != null)
|
|
754
|
-
throw Object.defineProperty(new Error(`You cannot define a route with the same specificity as a optional catch-all route ("${
|
|
754
|
+
throw Object.defineProperty(new Error(`You cannot define a route with the same specificity as a optional catch-all route ("${a}" and "${a}[[...${this.optionalRestSlugName}]]").`), "__NEXT_ERROR_CODE", {
|
|
755
755
|
value: "E458",
|
|
756
756
|
enumerable: !1,
|
|
757
757
|
configurable: !0
|
|
758
758
|
});
|
|
759
|
-
r.unshift(
|
|
759
|
+
r.unshift(a);
|
|
760
760
|
}
|
|
761
761
|
return this.restSlugName !== null && r.push(...this.children.get("[...]")._smoosh(`${t}[...${this.restSlugName}]/`)), this.optionalRestSlugName !== null && r.push(...this.children.get("[[...]]")._smoosh(`${t}[[...${this.optionalRestSlugName}]]/`)), r;
|
|
762
762
|
}
|
|
@@ -771,8 +771,8 @@ function Hr() {
|
|
|
771
771
|
enumerable: !1,
|
|
772
772
|
configurable: !0
|
|
773
773
|
});
|
|
774
|
-
let
|
|
775
|
-
if (
|
|
774
|
+
let a = t[0];
|
|
775
|
+
if (a.startsWith("[") && a.endsWith("]")) {
|
|
776
776
|
let R = function(h, E) {
|
|
777
777
|
if (h !== null && h !== E)
|
|
778
778
|
throw Object.defineProperty(new Error(`You cannot use different slug names for the same dynamic path ('${h}' !== '${E}').`), "__NEXT_ERROR_CODE", {
|
|
@@ -787,14 +787,14 @@ function Hr() {
|
|
|
787
787
|
enumerable: !1,
|
|
788
788
|
configurable: !0
|
|
789
789
|
});
|
|
790
|
-
if (l.replace(/\W/g, "") ===
|
|
790
|
+
if (l.replace(/\W/g, "") === a.replace(/\W/g, ""))
|
|
791
791
|
throw Object.defineProperty(new Error(`You cannot have the slug names "${l}" and "${E}" differ only by non-word symbols within a single dynamic path`), "__NEXT_ERROR_CODE", {
|
|
792
792
|
value: "E499",
|
|
793
793
|
enumerable: !1,
|
|
794
794
|
configurable: !0
|
|
795
795
|
});
|
|
796
796
|
}), u.push(E);
|
|
797
|
-
}, f =
|
|
797
|
+
}, f = a.slice(1, -1), _ = !1;
|
|
798
798
|
if (f.startsWith("[") && f.endsWith("]") && (f = f.slice(1, -1), _ = !0), f.startsWith("…"))
|
|
799
799
|
throw Object.defineProperty(new Error(`Detected a three-dot character ('…') at ('${f}'). Did you mean ('...')?`), "__NEXT_ERROR_CODE", {
|
|
800
800
|
value: "E147",
|
|
@@ -821,7 +821,7 @@ function Hr() {
|
|
|
821
821
|
enumerable: !1,
|
|
822
822
|
configurable: !0
|
|
823
823
|
});
|
|
824
|
-
R(this.optionalRestSlugName, f), this.optionalRestSlugName = f,
|
|
824
|
+
R(this.optionalRestSlugName, f), this.optionalRestSlugName = f, a = "[[...]]";
|
|
825
825
|
} else {
|
|
826
826
|
if (this.optionalRestSlugName != null)
|
|
827
827
|
throw Object.defineProperty(new Error(`You cannot use both an optional and required catch-all route at the same level ("[[...${this.optionalRestSlugName}]]" and "${t[0]}").`), "__NEXT_ERROR_CODE", {
|
|
@@ -829,7 +829,7 @@ function Hr() {
|
|
|
829
829
|
enumerable: !1,
|
|
830
830
|
configurable: !0
|
|
831
831
|
});
|
|
832
|
-
R(this.restSlugName, f), this.restSlugName = f,
|
|
832
|
+
R(this.restSlugName, f), this.restSlugName = f, a = "[...]";
|
|
833
833
|
}
|
|
834
834
|
else {
|
|
835
835
|
if (_)
|
|
@@ -838,17 +838,17 @@ function Hr() {
|
|
|
838
838
|
enumerable: !1,
|
|
839
839
|
configurable: !0
|
|
840
840
|
});
|
|
841
|
-
R(this.slugName, f), this.slugName = f,
|
|
841
|
+
R(this.slugName, f), this.slugName = f, a = "[]";
|
|
842
842
|
}
|
|
843
843
|
}
|
|
844
|
-
this.children.has(
|
|
844
|
+
this.children.has(a) || this.children.set(a, new o()), this.children.get(a)._insert(t.slice(1), u, r);
|
|
845
845
|
}
|
|
846
846
|
constructor() {
|
|
847
847
|
this.placeholder = !0, this.children = /* @__PURE__ */ new Map(), this.slugName = null, this.restSlugName = null, this.optionalRestSlugName = null;
|
|
848
848
|
}
|
|
849
849
|
}
|
|
850
850
|
function c(i) {
|
|
851
|
-
const t = new
|
|
851
|
+
const t = new o();
|
|
852
852
|
return i.forEach((u) => t.insert(u)), t.smoosh();
|
|
853
853
|
}
|
|
854
854
|
function s(i, t) {
|
|
@@ -861,9 +861,9 @@ function Hr() {
|
|
|
861
861
|
}
|
|
862
862
|
})(Ge)), Ge;
|
|
863
863
|
}
|
|
864
|
-
var ze = {}, We = {}, Ve = {}, Ye = {},
|
|
864
|
+
var ze = {}, We = {}, Ve = {}, Ye = {}, kt;
|
|
865
865
|
function Gr() {
|
|
866
|
-
return
|
|
866
|
+
return kt || (kt = 1, (function(n) {
|
|
867
867
|
Object.defineProperty(n, "__esModule", {
|
|
868
868
|
value: !0
|
|
869
869
|
}), Object.defineProperty(n, "ensureLeadingSlash", {
|
|
@@ -872,14 +872,14 @@ function Gr() {
|
|
|
872
872
|
return e;
|
|
873
873
|
}
|
|
874
874
|
});
|
|
875
|
-
function e(
|
|
876
|
-
return
|
|
875
|
+
function e(o) {
|
|
876
|
+
return o.startsWith("/") ? o : `/${o}`;
|
|
877
877
|
}
|
|
878
878
|
})(Ye)), Ye;
|
|
879
879
|
}
|
|
880
|
-
var Be = {},
|
|
880
|
+
var Be = {}, qt;
|
|
881
881
|
function wr() {
|
|
882
|
-
return
|
|
882
|
+
return qt || (qt = 1, (function(n) {
|
|
883
883
|
Object.defineProperty(n, "__esModule", {
|
|
884
884
|
value: !0
|
|
885
885
|
});
|
|
@@ -891,7 +891,7 @@ function wr() {
|
|
|
891
891
|
}
|
|
892
892
|
e(n, {
|
|
893
893
|
DEFAULT_SEGMENT_KEY: function() {
|
|
894
|
-
return
|
|
894
|
+
return a;
|
|
895
895
|
},
|
|
896
896
|
NOT_FOUND_SEGMENT_KEY: function() {
|
|
897
897
|
return f;
|
|
@@ -906,7 +906,7 @@ function wr() {
|
|
|
906
906
|
return t;
|
|
907
907
|
},
|
|
908
908
|
getSegmentValue: function() {
|
|
909
|
-
return
|
|
909
|
+
return o;
|
|
910
910
|
},
|
|
911
911
|
getSelectedLayoutSegmentPath: function() {
|
|
912
912
|
return u;
|
|
@@ -918,7 +918,7 @@ function wr() {
|
|
|
918
918
|
return s;
|
|
919
919
|
}
|
|
920
920
|
});
|
|
921
|
-
function
|
|
921
|
+
function o(_) {
|
|
922
922
|
return Array.isArray(_) ? _[1] : _;
|
|
923
923
|
}
|
|
924
924
|
function c(_) {
|
|
@@ -938,7 +938,7 @@ function wr() {
|
|
|
938
938
|
if (!_ || _.length === 0)
|
|
939
939
|
return null;
|
|
940
940
|
const h = R === "children" ? _[0] : _[_.length - 1];
|
|
941
|
-
return h ===
|
|
941
|
+
return h === a ? null : h;
|
|
942
942
|
}
|
|
943
943
|
function u(_, R, h = !0, E = []) {
|
|
944
944
|
let l;
|
|
@@ -950,10 +950,10 @@ function wr() {
|
|
|
950
950
|
}
|
|
951
951
|
if (!l) return E;
|
|
952
952
|
const p = l[0];
|
|
953
|
-
let d =
|
|
953
|
+
let d = o(p);
|
|
954
954
|
return !d || d.startsWith(r) ? E : (E.push(d), u(l, R, !1, E));
|
|
955
955
|
}
|
|
956
|
-
const r = "__PAGE__",
|
|
956
|
+
const r = "__PAGE__", a = "__DEFAULT__", f = "/_not-found";
|
|
957
957
|
})(Be)), Be;
|
|
958
958
|
}
|
|
959
959
|
var Ut;
|
|
@@ -976,9 +976,9 @@ function zr() {
|
|
|
976
976
|
return i;
|
|
977
977
|
}
|
|
978
978
|
});
|
|
979
|
-
const
|
|
979
|
+
const o = Gr(), c = wr();
|
|
980
980
|
function s(t) {
|
|
981
|
-
return (0,
|
|
981
|
+
return (0, o.ensureLeadingSlash)(t.split("/").reduce((u, r, a, f) => !r || (0, c.isGroupSegment)(r) || r[0] === "@" || (r === "page" || r === "route") && a === f.length - 1 ? u : `${u}/${r}`, ""));
|
|
982
982
|
}
|
|
983
983
|
function i(t) {
|
|
984
984
|
return t.replace(
|
|
@@ -1012,7 +1012,7 @@ function Se() {
|
|
|
1012
1012
|
return s;
|
|
1013
1013
|
}
|
|
1014
1014
|
});
|
|
1015
|
-
const
|
|
1015
|
+
const o = zr(), c = [
|
|
1016
1016
|
"(..)(..)",
|
|
1017
1017
|
"(.)",
|
|
1018
1018
|
"(..)",
|
|
@@ -1022,21 +1022,21 @@ function Se() {
|
|
|
1022
1022
|
return t.split("/").find((u) => c.find((r) => u.startsWith(r))) !== void 0;
|
|
1023
1023
|
}
|
|
1024
1024
|
function i(t) {
|
|
1025
|
-
let u, r,
|
|
1025
|
+
let u, r, a;
|
|
1026
1026
|
for (const f of t.split("/"))
|
|
1027
1027
|
if (r = c.find((_) => f.startsWith(_)), r) {
|
|
1028
|
-
[u,
|
|
1028
|
+
[u, a] = t.split(r, 2);
|
|
1029
1029
|
break;
|
|
1030
1030
|
}
|
|
1031
|
-
if (!u || !r || !
|
|
1031
|
+
if (!u || !r || !a)
|
|
1032
1032
|
throw Object.defineProperty(new Error(`Invalid interception route: ${t}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`), "__NEXT_ERROR_CODE", {
|
|
1033
1033
|
value: "E269",
|
|
1034
1034
|
enumerable: !1,
|
|
1035
1035
|
configurable: !0
|
|
1036
1036
|
});
|
|
1037
|
-
switch (u = (0,
|
|
1037
|
+
switch (u = (0, o.normalizeAppPath)(u), r) {
|
|
1038
1038
|
case "(.)":
|
|
1039
|
-
u === "/" ?
|
|
1039
|
+
u === "/" ? a = `/${a}` : a = u + "/" + a;
|
|
1040
1040
|
break;
|
|
1041
1041
|
case "(..)":
|
|
1042
1042
|
if (u === "/")
|
|
@@ -1045,10 +1045,10 @@ function Se() {
|
|
|
1045
1045
|
enumerable: !1,
|
|
1046
1046
|
configurable: !0
|
|
1047
1047
|
});
|
|
1048
|
-
|
|
1048
|
+
a = u.split("/").slice(0, -1).concat(a).join("/");
|
|
1049
1049
|
break;
|
|
1050
1050
|
case "(...)":
|
|
1051
|
-
|
|
1051
|
+
a = "/" + a;
|
|
1052
1052
|
break;
|
|
1053
1053
|
case "(..)(..)":
|
|
1054
1054
|
const f = u.split("/");
|
|
@@ -1058,7 +1058,7 @@ function Se() {
|
|
|
1058
1058
|
enumerable: !1,
|
|
1059
1059
|
configurable: !0
|
|
1060
1060
|
});
|
|
1061
|
-
|
|
1061
|
+
a = f.slice(0, -2).concat(a).join("/");
|
|
1062
1062
|
break;
|
|
1063
1063
|
default:
|
|
1064
1064
|
throw Object.defineProperty(new Error("Invariant: unexpected marker"), "__NEXT_ERROR_CODE", {
|
|
@@ -1069,7 +1069,7 @@ function Se() {
|
|
|
1069
1069
|
}
|
|
1070
1070
|
return {
|
|
1071
1071
|
interceptingRoute: u,
|
|
1072
|
-
interceptedRoute:
|
|
1072
|
+
interceptedRoute: a
|
|
1073
1073
|
};
|
|
1074
1074
|
}
|
|
1075
1075
|
})(We)), We;
|
|
@@ -1085,9 +1085,9 @@ function Wr() {
|
|
|
1085
1085
|
return s;
|
|
1086
1086
|
}
|
|
1087
1087
|
});
|
|
1088
|
-
const e = Se(),
|
|
1088
|
+
const e = Se(), o = /\/[^/]*\[[^/]+\][^/]*(?=\/|$)/, c = /\/\[[^/]+\](?=\/|$)/;
|
|
1089
1089
|
function s(i, t = !0) {
|
|
1090
|
-
return (0, e.isInterceptionRouteAppPath)(i) && (i = (0, e.extractInterceptionRouteInformation)(i).interceptedRoute), t ? c.test(i) :
|
|
1090
|
+
return (0, e.isInterceptionRouteAppPath)(i) && (i = (0, e.extractInterceptionRouteInformation)(i).interceptedRoute), t ? c.test(i) : o.test(i);
|
|
1091
1091
|
}
|
|
1092
1092
|
})(ze)), ze;
|
|
1093
1093
|
}
|
|
@@ -1105,16 +1105,16 @@ function Vr() {
|
|
|
1105
1105
|
}
|
|
1106
1106
|
e(n, {
|
|
1107
1107
|
getSortedRouteObjects: function() {
|
|
1108
|
-
return
|
|
1108
|
+
return o.getSortedRouteObjects;
|
|
1109
1109
|
},
|
|
1110
1110
|
getSortedRoutes: function() {
|
|
1111
|
-
return
|
|
1111
|
+
return o.getSortedRoutes;
|
|
1112
1112
|
},
|
|
1113
1113
|
isDynamicRoute: function() {
|
|
1114
1114
|
return c.isDynamicRoute;
|
|
1115
1115
|
}
|
|
1116
1116
|
});
|
|
1117
|
-
const
|
|
1117
|
+
const o = Hr(), c = Wr();
|
|
1118
1118
|
})(He)), He;
|
|
1119
1119
|
}
|
|
1120
1120
|
var $e = {}, Ke = {}, Qe = {}, Je = { exports: {} }, Gt;
|
|
@@ -1125,7 +1125,7 @@ function Yr() {
|
|
|
1125
1125
|
(() => {
|
|
1126
1126
|
var e = n;
|
|
1127
1127
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.pathToRegexp = e.tokensToRegexp = e.regexpToFunction = e.match = e.tokensToFunction = e.compile = e.parse = void 0;
|
|
1128
|
-
function
|
|
1128
|
+
function o(l) {
|
|
1129
1129
|
for (var p = [], d = 0; d < l.length; ) {
|
|
1130
1130
|
var T = l[d];
|
|
1131
1131
|
if (T === "*" || T === "+" || T === "?") {
|
|
@@ -1186,7 +1186,7 @@ function Yr() {
|
|
|
1186
1186
|
}
|
|
1187
1187
|
function c(l, p) {
|
|
1188
1188
|
p === void 0 && (p = {});
|
|
1189
|
-
for (var d =
|
|
1189
|
+
for (var d = o(l), T = p.prefixes, y = T === void 0 ? "./" : T, P = p.delimiter, v = P === void 0 ? "/#?" : P, O = [], b = 0, N = 0, I = "", g = function(x) {
|
|
1190
1190
|
if (N < d.length && d[N].type === x) return d[N++].value;
|
|
1191
1191
|
}, A = function(x) {
|
|
1192
1192
|
var X = g(x);
|
|
@@ -1203,7 +1203,7 @@ function Yr() {
|
|
|
1203
1203
|
if (x.indexOf(L) > -1) return !0;
|
|
1204
1204
|
}
|
|
1205
1205
|
return !1;
|
|
1206
|
-
},
|
|
1206
|
+
}, k = function(x) {
|
|
1207
1207
|
var X = O[O.length - 1], V = x || (X && typeof X == "string" ? X : "");
|
|
1208
1208
|
if (X && !V)
|
|
1209
1209
|
throw new TypeError('Must have text between two parameters, missing text after "'.concat(X.name, '"'));
|
|
@@ -1212,19 +1212,19 @@ function Yr() {
|
|
|
1212
1212
|
var M = g("CHAR"), U = g("NAME"), W = g("PATTERN");
|
|
1213
1213
|
if (U || W) {
|
|
1214
1214
|
var G = M || "";
|
|
1215
|
-
y.indexOf(G) === -1 && (I += G, G = ""), I && (O.push(I), I = ""), O.push({ name: U || b++, prefix: G, suffix: "", pattern: W ||
|
|
1215
|
+
y.indexOf(G) === -1 && (I += G, G = ""), I && (O.push(I), I = ""), O.push({ name: U || b++, prefix: G, suffix: "", pattern: W || k(G), modifier: g("MODIFIER") || "" });
|
|
1216
1216
|
continue;
|
|
1217
1217
|
}
|
|
1218
|
-
var
|
|
1219
|
-
if (
|
|
1220
|
-
I +=
|
|
1218
|
+
var q = M || g("ESCAPED_CHAR");
|
|
1219
|
+
if (q) {
|
|
1220
|
+
I += q;
|
|
1221
1221
|
continue;
|
|
1222
1222
|
}
|
|
1223
1223
|
I && (O.push(I), I = "");
|
|
1224
1224
|
var B = g("OPEN");
|
|
1225
1225
|
if (B) {
|
|
1226
1226
|
var G = C(), m = g("NAME") || "", S = g("PATTERN") || "", j = C();
|
|
1227
|
-
A("CLOSE"), O.push({ name: m || (S ? b++ : ""), pattern: m && !S ?
|
|
1227
|
+
A("CLOSE"), O.push({ name: m || (S ? b++ : ""), pattern: m && !S ? k(G) : S, prefix: G, suffix: j, modifier: g("MODIFIER") || "" });
|
|
1228
1228
|
continue;
|
|
1229
1229
|
}
|
|
1230
1230
|
A("END");
|
|
@@ -1238,7 +1238,7 @@ function Yr() {
|
|
|
1238
1238
|
e.compile = s;
|
|
1239
1239
|
function i(l, p) {
|
|
1240
1240
|
p === void 0 && (p = {});
|
|
1241
|
-
var d =
|
|
1241
|
+
var d = a(p), T = p.encode, y = T === void 0 ? function(b) {
|
|
1242
1242
|
return b;
|
|
1243
1243
|
} : T, P = p.validate, v = P === void 0 ? !0 : P, O = l.map((function(b) {
|
|
1244
1244
|
if (typeof b == "object")
|
|
@@ -1259,8 +1259,8 @@ function Yr() {
|
|
|
1259
1259
|
if (C) continue;
|
|
1260
1260
|
throw new TypeError('Expected "'.concat(g.name, '" to not be empty'));
|
|
1261
1261
|
}
|
|
1262
|
-
for (var
|
|
1263
|
-
var M = y(A[
|
|
1262
|
+
for (var k = 0; k < A.length; k++) {
|
|
1263
|
+
var M = y(A[k], g);
|
|
1264
1264
|
if (v && !O[I].test(M))
|
|
1265
1265
|
throw new TypeError('Expected all "'.concat(g.name, '" to match "').concat(g.pattern, '", but got "').concat(M, '"'));
|
|
1266
1266
|
N += g.prefix + M + g.suffix;
|
|
@@ -1311,7 +1311,7 @@ function Yr() {
|
|
|
1311
1311
|
function r(l) {
|
|
1312
1312
|
return l.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1");
|
|
1313
1313
|
}
|
|
1314
|
-
function
|
|
1314
|
+
function a(l) {
|
|
1315
1315
|
return l && l.sensitive ? "" : "i";
|
|
1316
1316
|
}
|
|
1317
1317
|
function f(l, p) {
|
|
@@ -1324,7 +1324,7 @@ function Yr() {
|
|
|
1324
1324
|
var T = l.map((function(y) {
|
|
1325
1325
|
return E(y, p, d).source;
|
|
1326
1326
|
}));
|
|
1327
|
-
return new RegExp("(?:".concat(T.join("|"), ")"),
|
|
1327
|
+
return new RegExp("(?:".concat(T.join("|"), ")"), a(d));
|
|
1328
1328
|
}
|
|
1329
1329
|
function R(l, p, d) {
|
|
1330
1330
|
return h(c(l, d), p, d);
|
|
@@ -1333,35 +1333,35 @@ function Yr() {
|
|
|
1333
1333
|
d === void 0 && (d = {});
|
|
1334
1334
|
for (var T = d.strict, y = T === void 0 ? !1 : T, P = d.start, v = P === void 0 ? !0 : P, O = d.end, b = O === void 0 ? !0 : O, N = d.encode, I = N === void 0 ? function(X) {
|
|
1335
1335
|
return X;
|
|
1336
|
-
} : N, g = d.delimiter, A = g === void 0 ? "/#?" : g, C = d.endsWith, w = C === void 0 ? "" : C,
|
|
1337
|
-
var
|
|
1338
|
-
if (typeof
|
|
1339
|
-
U += r(I(
|
|
1336
|
+
} : N, g = d.delimiter, A = g === void 0 ? "/#?" : g, C = d.endsWith, w = C === void 0 ? "" : C, k = "[".concat(r(w), "]|$"), M = "[".concat(r(A), "]"), U = v ? "^" : "", W = 0, G = l; W < G.length; W++) {
|
|
1337
|
+
var q = G[W];
|
|
1338
|
+
if (typeof q == "string")
|
|
1339
|
+
U += r(I(q));
|
|
1340
1340
|
else {
|
|
1341
|
-
var B = r(I(
|
|
1342
|
-
if (
|
|
1343
|
-
if (p && p.push(
|
|
1344
|
-
if (
|
|
1345
|
-
var S =
|
|
1346
|
-
U += "(?:".concat(B, "((?:").concat(
|
|
1341
|
+
var B = r(I(q.prefix)), m = r(I(q.suffix));
|
|
1342
|
+
if (q.pattern)
|
|
1343
|
+
if (p && p.push(q), B || m)
|
|
1344
|
+
if (q.modifier === "+" || q.modifier === "*") {
|
|
1345
|
+
var S = q.modifier === "*" ? "?" : "";
|
|
1346
|
+
U += "(?:".concat(B, "((?:").concat(q.pattern, ")(?:").concat(m).concat(B, "(?:").concat(q.pattern, "))*)").concat(m, ")").concat(S);
|
|
1347
1347
|
} else
|
|
1348
|
-
U += "(?:".concat(B, "(").concat(
|
|
1348
|
+
U += "(?:".concat(B, "(").concat(q.pattern, ")").concat(m, ")").concat(q.modifier);
|
|
1349
1349
|
else {
|
|
1350
|
-
if (
|
|
1351
|
-
throw new TypeError('Can not repeat "'.concat(
|
|
1352
|
-
U += "(".concat(
|
|
1350
|
+
if (q.modifier === "+" || q.modifier === "*")
|
|
1351
|
+
throw new TypeError('Can not repeat "'.concat(q.name, '" without a prefix and suffix'));
|
|
1352
|
+
U += "(".concat(q.pattern, ")").concat(q.modifier);
|
|
1353
1353
|
}
|
|
1354
1354
|
else
|
|
1355
|
-
U += "(?:".concat(B).concat(m, ")").concat(
|
|
1355
|
+
U += "(?:".concat(B).concat(m, ")").concat(q.modifier);
|
|
1356
1356
|
}
|
|
1357
1357
|
}
|
|
1358
1358
|
if (b)
|
|
1359
|
-
y || (U += "".concat(M, "?")), U += d.endsWith ? "(?=".concat(
|
|
1359
|
+
y || (U += "".concat(M, "?")), U += d.endsWith ? "(?=".concat(k, ")") : "$";
|
|
1360
1360
|
else {
|
|
1361
1361
|
var j = l[l.length - 1], x = typeof j == "string" ? M.indexOf(j[j.length - 1]) > -1 : j === void 0;
|
|
1362
|
-
y || (U += "(?:".concat(M, "(?=").concat(
|
|
1362
|
+
y || (U += "(?:".concat(M, "(?=").concat(k, "))?")), x || (U += "(?=".concat(M, "|").concat(k, ")"));
|
|
1363
1363
|
}
|
|
1364
|
-
return new RegExp(U,
|
|
1364
|
+
return new RegExp(U, a(d));
|
|
1365
1365
|
}
|
|
1366
1366
|
e.tokensToRegexp = h;
|
|
1367
1367
|
function E(l, p, d) {
|
|
@@ -1377,15 +1377,15 @@ function Br() {
|
|
|
1377
1377
|
Object.defineProperty(n, "__esModule", {
|
|
1378
1378
|
value: !0
|
|
1379
1379
|
});
|
|
1380
|
-
function e(r,
|
|
1381
|
-
for (var f in
|
|
1380
|
+
function e(r, a) {
|
|
1381
|
+
for (var f in a) Object.defineProperty(r, f, {
|
|
1382
1382
|
enumerable: !0,
|
|
1383
|
-
get:
|
|
1383
|
+
get: a[f]
|
|
1384
1384
|
});
|
|
1385
1385
|
}
|
|
1386
1386
|
e(n, {
|
|
1387
1387
|
PARAM_SEPARATOR: function() {
|
|
1388
|
-
return
|
|
1388
|
+
return o;
|
|
1389
1389
|
},
|
|
1390
1390
|
hasAdjacentParameterIssues: function() {
|
|
1391
1391
|
return c;
|
|
@@ -1403,34 +1403,34 @@ function Br() {
|
|
|
1403
1403
|
return u;
|
|
1404
1404
|
}
|
|
1405
1405
|
});
|
|
1406
|
-
const
|
|
1406
|
+
const o = "_NEXTSEP_";
|
|
1407
1407
|
function c(r) {
|
|
1408
1408
|
return typeof r != "string" ? !1 : !!(/\/\(\.{1,3}\):[^/\s]+/.test(r) || /:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(r));
|
|
1409
1409
|
}
|
|
1410
1410
|
function s(r) {
|
|
1411
|
-
let
|
|
1412
|
-
return
|
|
1411
|
+
let a = r;
|
|
1412
|
+
return a = a.replace(/(\([^)]*\)):([^/\s]+)/g, `$1${o}:$2`), a = a.replace(/:([^:/\s)]+)(?=:)/g, `:$1${o}`), a;
|
|
1413
1413
|
}
|
|
1414
1414
|
function i(r) {
|
|
1415
|
-
return r.map((
|
|
1416
|
-
"modifier" in
|
|
1415
|
+
return r.map((a) => typeof a == "object" && a !== null && // Not all token objects have 'modifier' property (e.g., simple text tokens)
|
|
1416
|
+
"modifier" in a && // Only repeating modifiers (* or +) cause the validation error
|
|
1417
1417
|
// Other modifiers like '?' (optional) are fine
|
|
1418
|
-
(
|
|
1419
|
-
"prefix" in
|
|
1418
|
+
(a.modifier === "*" || a.modifier === "+") && // Token objects can have different shapes depending on route pattern
|
|
1419
|
+
"prefix" in a && "suffix" in a && // Both prefix and suffix must be empty strings
|
|
1420
1420
|
// This is what causes the validation error in path-to-regexp
|
|
1421
|
-
|
|
1422
|
-
...
|
|
1421
|
+
a.prefix === "" && a.suffix === "" ? {
|
|
1422
|
+
...a,
|
|
1423
1423
|
prefix: "/"
|
|
1424
|
-
} :
|
|
1424
|
+
} : a);
|
|
1425
1425
|
}
|
|
1426
1426
|
function t(r) {
|
|
1427
|
-
return r.replace(new RegExp(`\\)${
|
|
1427
|
+
return r.replace(new RegExp(`\\)${o}`, "g"), ")");
|
|
1428
1428
|
}
|
|
1429
1429
|
function u(r) {
|
|
1430
|
-
const
|
|
1430
|
+
const a = {};
|
|
1431
1431
|
for (const [f, _] of Object.entries(r))
|
|
1432
|
-
typeof _ == "string" ?
|
|
1433
|
-
return
|
|
1432
|
+
typeof _ == "string" ? a[f] = _.replace(new RegExp(`^${o}`), "") : Array.isArray(_) ? a[f] = _.map((R) => typeof R == "string" ? R.replace(new RegExp(`^${o}`), "") : R) : a[f] = _;
|
|
1433
|
+
return a;
|
|
1434
1434
|
}
|
|
1435
1435
|
})(Ze)), Ze;
|
|
1436
1436
|
}
|
|
@@ -1440,10 +1440,10 @@ function $r() {
|
|
|
1440
1440
|
Object.defineProperty(n, "__esModule", {
|
|
1441
1441
|
value: !0
|
|
1442
1442
|
});
|
|
1443
|
-
function e(r,
|
|
1444
|
-
for (var f in
|
|
1443
|
+
function e(r, a) {
|
|
1444
|
+
for (var f in a) Object.defineProperty(r, f, {
|
|
1445
1445
|
enumerable: !0,
|
|
1446
|
-
get:
|
|
1446
|
+
get: a[f]
|
|
1447
1447
|
});
|
|
1448
1448
|
}
|
|
1449
1449
|
e(n, {
|
|
@@ -1460,33 +1460,33 @@ function $r() {
|
|
|
1460
1460
|
return u;
|
|
1461
1461
|
}
|
|
1462
1462
|
});
|
|
1463
|
-
const
|
|
1464
|
-
function s(r,
|
|
1463
|
+
const o = Yr(), c = Br();
|
|
1464
|
+
function s(r, a, f) {
|
|
1465
1465
|
if (typeof r != "string")
|
|
1466
|
-
return (0,
|
|
1466
|
+
return (0, o.pathToRegexp)(r, a, f);
|
|
1467
1467
|
const _ = (0, c.hasAdjacentParameterIssues)(r), R = _ ? (0, c.normalizeAdjacentParameters)(r) : r;
|
|
1468
1468
|
try {
|
|
1469
|
-
return (0,
|
|
1469
|
+
return (0, o.pathToRegexp)(R, a, f);
|
|
1470
1470
|
} catch (h) {
|
|
1471
1471
|
if (!_)
|
|
1472
1472
|
try {
|
|
1473
1473
|
const E = (0, c.normalizeAdjacentParameters)(r);
|
|
1474
|
-
return (0,
|
|
1474
|
+
return (0, o.pathToRegexp)(E, a, f);
|
|
1475
1475
|
} catch {
|
|
1476
1476
|
throw h;
|
|
1477
1477
|
}
|
|
1478
1478
|
throw h;
|
|
1479
1479
|
}
|
|
1480
1480
|
}
|
|
1481
|
-
function i(r,
|
|
1481
|
+
function i(r, a) {
|
|
1482
1482
|
const f = (0, c.hasAdjacentParameterIssues)(r), _ = f ? (0, c.normalizeAdjacentParameters)(r) : r;
|
|
1483
1483
|
try {
|
|
1484
|
-
const R = (0,
|
|
1484
|
+
const R = (0, o.compile)(_, a);
|
|
1485
1485
|
return f ? (h) => (0, c.stripNormalizedSeparators)(R(h)) : R;
|
|
1486
1486
|
} catch (R) {
|
|
1487
1487
|
if (!f)
|
|
1488
1488
|
try {
|
|
1489
|
-
const h = (0, c.normalizeAdjacentParameters)(r), E = (0,
|
|
1489
|
+
const h = (0, c.normalizeAdjacentParameters)(r), E = (0, o.compile)(h, a);
|
|
1490
1490
|
return (l) => (0, c.stripNormalizedSeparators)(E(l));
|
|
1491
1491
|
} catch {
|
|
1492
1492
|
throw R;
|
|
@@ -1494,8 +1494,8 @@ function $r() {
|
|
|
1494
1494
|
throw R;
|
|
1495
1495
|
}
|
|
1496
1496
|
}
|
|
1497
|
-
function t(r,
|
|
1498
|
-
const f = (0,
|
|
1497
|
+
function t(r, a) {
|
|
1498
|
+
const f = (0, o.regexpToFunction)(r, a || []);
|
|
1499
1499
|
return (_) => {
|
|
1500
1500
|
const R = f(_);
|
|
1501
1501
|
return R ? {
|
|
@@ -1505,8 +1505,8 @@ function $r() {
|
|
|
1505
1505
|
};
|
|
1506
1506
|
}
|
|
1507
1507
|
function u(r) {
|
|
1508
|
-
return (
|
|
1509
|
-
const f = r(
|
|
1508
|
+
return (a) => {
|
|
1509
|
+
const f = r(a);
|
|
1510
1510
|
return f ? (0, c.stripParameterSeparators)(f) : !1;
|
|
1511
1511
|
};
|
|
1512
1512
|
}
|
|
@@ -1523,12 +1523,12 @@ function Mr() {
|
|
|
1523
1523
|
return c;
|
|
1524
1524
|
}
|
|
1525
1525
|
});
|
|
1526
|
-
const e = Oe(),
|
|
1526
|
+
const e = Oe(), o = $r();
|
|
1527
1527
|
function c({ re: s, groups: i }) {
|
|
1528
1528
|
const t = (u) => {
|
|
1529
1529
|
const r = s.exec(u);
|
|
1530
1530
|
if (!r) return !1;
|
|
1531
|
-
const
|
|
1531
|
+
const a = (_) => {
|
|
1532
1532
|
try {
|
|
1533
1533
|
return decodeURIComponent(_);
|
|
1534
1534
|
} catch {
|
|
@@ -1541,11 +1541,11 @@ function Mr() {
|
|
|
1541
1541
|
}, f = {};
|
|
1542
1542
|
for (const [_, R] of Object.entries(i)) {
|
|
1543
1543
|
const h = r[R.pos];
|
|
1544
|
-
h !== void 0 && (R.repeat ? f[_] = h.split("/").map((E) =>
|
|
1544
|
+
h !== void 0 && (R.repeat ? f[_] = h.split("/").map((E) => a(E)) : f[_] = a(h));
|
|
1545
1545
|
}
|
|
1546
1546
|
return f;
|
|
1547
1547
|
};
|
|
1548
|
-
return (0,
|
|
1548
|
+
return (0, o.safeRouteMatcher)(t);
|
|
1549
1549
|
}
|
|
1550
1550
|
})(Ke)), Ke;
|
|
1551
1551
|
}
|
|
@@ -1566,7 +1566,7 @@ function Kr() {
|
|
|
1566
1566
|
return h;
|
|
1567
1567
|
},
|
|
1568
1568
|
APP_DIR_ALIAS: function() {
|
|
1569
|
-
return
|
|
1569
|
+
return q;
|
|
1570
1570
|
},
|
|
1571
1571
|
CACHE_ONE_YEAR: function() {
|
|
1572
1572
|
return I;
|
|
@@ -1656,13 +1656,13 @@ function Kr() {
|
|
|
1656
1656
|
return r;
|
|
1657
1657
|
},
|
|
1658
1658
|
PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER: function() {
|
|
1659
|
-
return
|
|
1659
|
+
return a;
|
|
1660
1660
|
},
|
|
1661
1661
|
PROXY_FILENAME: function() {
|
|
1662
1662
|
return w;
|
|
1663
1663
|
},
|
|
1664
1664
|
PROXY_LOCATION_REGEXP: function() {
|
|
1665
|
-
return
|
|
1665
|
+
return k;
|
|
1666
1666
|
},
|
|
1667
1667
|
PUBLIC_DIR_MIDDLEWARE_CONFLICT: function() {
|
|
1668
1668
|
return L;
|
|
@@ -1722,7 +1722,7 @@ function Kr() {
|
|
|
1722
1722
|
return J;
|
|
1723
1723
|
},
|
|
1724
1724
|
TEXT_PLAIN_CONTENT_TYPE_HEADER: function() {
|
|
1725
|
-
return
|
|
1725
|
+
return o;
|
|
1726
1726
|
},
|
|
1727
1727
|
UNSTABLE_REVALIDATE_RENAME_ERROR: function() {
|
|
1728
1728
|
return Y;
|
|
@@ -1737,7 +1737,7 @@ function Kr() {
|
|
|
1737
1737
|
return Ce;
|
|
1738
1738
|
}
|
|
1739
1739
|
});
|
|
1740
|
-
const
|
|
1740
|
+
const o = "text/plain", c = "text/html; charset=utf-8", s = "application/json; charset=utf-8", i = "nxtP", t = "nxtI", u = "x-matched-path", r = "x-prerender-revalidate", a = "x-prerender-revalidate-if-generated", f = ".segments", _ = ".segment.rsc", R = ".rsc", h = ".action", E = ".json", l = ".meta", p = ".body", d = "x-next-cache-tags", T = "x-next-revalidated-tags", y = "x-next-revalidate-tag-token", P = "next-resume", v = 128, O = 256, b = 1024, N = "_N_T_", I = 31536e3, g = 4294967294, A = "middleware", C = `(?:src/)?${A}`, w = "proxy", k = `(?:src/)?${w}`, M = "instrumentation", U = "private-next-pages", W = "private-dot-next", G = "private-next-root-dir", q = "private-next-app-dir", B = "private-next-rsc-mod-ref-proxy", m = "private-next-rsc-action-validate", S = "private-next-rsc-server-reference", j = "private-next-rsc-cache-wrapper", x = "private-next-rsc-track-dynamic-import", X = "private-next-rsc-action-encryption", V = "private-next-rsc-action-client-wrapper", L = "You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict", Q = "You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps", z = "You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.", re = "You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps", J = "can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props", $ = "pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export", ue = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?", ce = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?", Y = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.", Ne = "can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member", se = 'You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env', le = "Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export", fe = [
|
|
1741
1741
|
"app",
|
|
1742
1742
|
"pages",
|
|
1743
1743
|
"components",
|
|
@@ -1859,13 +1859,13 @@ function Qr() {
|
|
|
1859
1859
|
return c;
|
|
1860
1860
|
}
|
|
1861
1861
|
});
|
|
1862
|
-
const e = /[|\\{}()[\]^$+*?.-]/,
|
|
1862
|
+
const e = /[|\\{}()[\]^$+*?.-]/, o = /[|\\{}()[\]^$+*?.-]/g;
|
|
1863
1863
|
function c(s) {
|
|
1864
|
-
return e.test(s) ? s.replace(
|
|
1864
|
+
return e.test(s) ? s.replace(o, "\\$&") : s;
|
|
1865
1865
|
}
|
|
1866
1866
|
})(rt)), rt;
|
|
1867
1867
|
}
|
|
1868
|
-
var nt = {},
|
|
1868
|
+
var nt = {}, at = {}, $t;
|
|
1869
1869
|
function vt() {
|
|
1870
1870
|
return $t || ($t = 1, (function(n) {
|
|
1871
1871
|
Object.defineProperty(n, "__esModule", {
|
|
@@ -1881,9 +1881,9 @@ function vt() {
|
|
|
1881
1881
|
super(`Invariant: ${c.endsWith(".") ? c : c + "."} This is a bug in Next.js.`, s), this.name = "InvariantError";
|
|
1882
1882
|
}
|
|
1883
1883
|
}
|
|
1884
|
-
})(
|
|
1884
|
+
})(at)), at;
|
|
1885
1885
|
}
|
|
1886
|
-
var
|
|
1886
|
+
var ot = {}, Kt;
|
|
1887
1887
|
function Jr() {
|
|
1888
1888
|
return Kt || (Kt = 1, (function(n) {
|
|
1889
1889
|
Object.defineProperty(n, "__esModule", {
|
|
@@ -1891,17 +1891,17 @@ function Jr() {
|
|
|
1891
1891
|
}), Object.defineProperty(n, "parseLoaderTree", {
|
|
1892
1892
|
enumerable: !0,
|
|
1893
1893
|
get: function() {
|
|
1894
|
-
return
|
|
1894
|
+
return o;
|
|
1895
1895
|
}
|
|
1896
1896
|
});
|
|
1897
1897
|
const e = wr();
|
|
1898
|
-
function
|
|
1898
|
+
function o(c) {
|
|
1899
1899
|
const [s, i, t] = c, { layout: u, template: r } = t;
|
|
1900
|
-
let { page:
|
|
1901
|
-
|
|
1902
|
-
const f = u?.[1] || r?.[1] ||
|
|
1900
|
+
let { page: a } = t;
|
|
1901
|
+
a = s === e.DEFAULT_SEGMENT_KEY ? t.defaultPage : a;
|
|
1902
|
+
const f = u?.[1] || r?.[1] || a?.[1];
|
|
1903
1903
|
return {
|
|
1904
|
-
page:
|
|
1904
|
+
page: a,
|
|
1905
1905
|
segment: s,
|
|
1906
1906
|
modules: t,
|
|
1907
1907
|
/* it can be either layout / template / page */
|
|
@@ -1909,7 +1909,7 @@ function Jr() {
|
|
|
1909
1909
|
parallelRoutes: i
|
|
1910
1910
|
};
|
|
1911
1911
|
}
|
|
1912
|
-
})(
|
|
1912
|
+
})(ot)), ot;
|
|
1913
1913
|
}
|
|
1914
1914
|
var it = {}, ut = {}, Qt;
|
|
1915
1915
|
function Zr() {
|
|
@@ -1934,9 +1934,9 @@ function Zr() {
|
|
|
1934
1934
|
return s;
|
|
1935
1935
|
}
|
|
1936
1936
|
});
|
|
1937
|
-
const
|
|
1937
|
+
const o = Se();
|
|
1938
1938
|
function c(t) {
|
|
1939
|
-
const u =
|
|
1939
|
+
const u = o.INTERCEPTION_ROUTE_MARKERS.find((r) => t.startsWith(r));
|
|
1940
1940
|
return u && (t = t.slice(u.length)), t.startsWith("[[...") && t.endsWith("]]") ? {
|
|
1941
1941
|
// TODO-APP: Optional catchall does not currently work with parallel routes,
|
|
1942
1942
|
// so for now aren't handling a potential interception marker.
|
|
@@ -1980,8 +1980,8 @@ function en() {
|
|
|
1980
1980
|
Object.defineProperty(n, "__esModule", {
|
|
1981
1981
|
value: !0
|
|
1982
1982
|
});
|
|
1983
|
-
function e(
|
|
1984
|
-
for (var _ in f) Object.defineProperty(
|
|
1983
|
+
function e(a, f) {
|
|
1984
|
+
for (var _ in f) Object.defineProperty(a, _, {
|
|
1985
1985
|
enumerable: !0,
|
|
1986
1986
|
get: f[_]
|
|
1987
1987
|
});
|
|
@@ -2000,52 +2000,52 @@ function en() {
|
|
|
2000
2000
|
return i;
|
|
2001
2001
|
}
|
|
2002
2002
|
});
|
|
2003
|
-
const
|
|
2004
|
-
function i(
|
|
2005
|
-
if (
|
|
2003
|
+
const o = vt(), c = Zr(), s = Se();
|
|
2004
|
+
function i(a) {
|
|
2005
|
+
if (a === "")
|
|
2006
2006
|
return null;
|
|
2007
|
-
const f = s.INTERCEPTION_ROUTE_MARKERS.find((R) =>
|
|
2007
|
+
const f = s.INTERCEPTION_ROUTE_MARKERS.find((R) => a.startsWith(R)), _ = (0, c.getSegmentParam)(a);
|
|
2008
2008
|
return _ ? {
|
|
2009
2009
|
type: "dynamic",
|
|
2010
|
-
name:
|
|
2010
|
+
name: a,
|
|
2011
2011
|
param: _,
|
|
2012
2012
|
interceptionMarker: f
|
|
2013
|
-
} :
|
|
2013
|
+
} : a.startsWith("(") && a.endsWith(")") ? {
|
|
2014
2014
|
type: "route-group",
|
|
2015
|
-
name:
|
|
2015
|
+
name: a,
|
|
2016
2016
|
interceptionMarker: f
|
|
2017
|
-
} :
|
|
2017
|
+
} : a.startsWith("@") ? {
|
|
2018
2018
|
type: "parallel-route",
|
|
2019
|
-
name:
|
|
2019
|
+
name: a,
|
|
2020
2020
|
interceptionMarker: f
|
|
2021
2021
|
} : {
|
|
2022
2022
|
type: "static",
|
|
2023
|
-
name:
|
|
2023
|
+
name: a,
|
|
2024
2024
|
interceptionMarker: f
|
|
2025
2025
|
};
|
|
2026
2026
|
}
|
|
2027
|
-
function t(
|
|
2028
|
-
return
|
|
2027
|
+
function t(a) {
|
|
2028
|
+
return a.normalized;
|
|
2029
2029
|
}
|
|
2030
|
-
function u(
|
|
2031
|
-
return
|
|
2030
|
+
function u(a) {
|
|
2031
|
+
return a.interceptionMarker !== void 0 && a.interceptingRoute !== void 0 && a.interceptedRoute !== void 0;
|
|
2032
2032
|
}
|
|
2033
|
-
function r(
|
|
2034
|
-
const _ =
|
|
2033
|
+
function r(a, f) {
|
|
2034
|
+
const _ = a.split("/").filter(Boolean), R = [];
|
|
2035
2035
|
let h, E, l;
|
|
2036
2036
|
for (const d of _) {
|
|
2037
2037
|
const T = i(d);
|
|
2038
2038
|
if (T) {
|
|
2039
2039
|
if (f && (T.type === "route-group" || T.type === "parallel-route"))
|
|
2040
|
-
throw Object.defineProperty(new
|
|
2040
|
+
throw Object.defineProperty(new o.InvariantError(`${a} is being parsed as a normalized route, but it has a route group or parallel route segment.`), "__NEXT_ERROR_CODE", {
|
|
2041
2041
|
value: "E923",
|
|
2042
2042
|
enumerable: !1,
|
|
2043
2043
|
configurable: !0
|
|
2044
2044
|
});
|
|
2045
2045
|
if (R.push(T), T.interceptionMarker) {
|
|
2046
|
-
const y =
|
|
2046
|
+
const y = a.split(T.interceptionMarker);
|
|
2047
2047
|
if (y.length !== 2)
|
|
2048
|
-
throw Object.defineProperty(new Error(`Invalid interception route: ${
|
|
2048
|
+
throw Object.defineProperty(new Error(`Invalid interception route: ${a}`), "__NEXT_ERROR_CODE", {
|
|
2049
2049
|
value: "E924",
|
|
2050
2050
|
enumerable: !1,
|
|
2051
2051
|
configurable: !0
|
|
@@ -2057,7 +2057,7 @@ function en() {
|
|
|
2057
2057
|
const p = R.filter((d) => d.type === "dynamic");
|
|
2058
2058
|
return {
|
|
2059
2059
|
normalized: f,
|
|
2060
|
-
pathname:
|
|
2060
|
+
pathname: a,
|
|
2061
2061
|
segments: R,
|
|
2062
2062
|
dynamicSegments: p,
|
|
2063
2063
|
interceptionMarker: h,
|
|
@@ -2078,8 +2078,8 @@ function tn() {
|
|
|
2078
2078
|
return e;
|
|
2079
2079
|
}
|
|
2080
2080
|
});
|
|
2081
|
-
function e(
|
|
2082
|
-
switch (
|
|
2081
|
+
function e(o) {
|
|
2082
|
+
switch (o) {
|
|
2083
2083
|
case "catchall-intercepted-(..)(..)":
|
|
2084
2084
|
case "dynamic-intercepted-(..)(..)":
|
|
2085
2085
|
return "(..)(..)";
|
|
@@ -2109,11 +2109,11 @@ function rn() {
|
|
|
2109
2109
|
return s;
|
|
2110
2110
|
}
|
|
2111
2111
|
});
|
|
2112
|
-
const e = vt(),
|
|
2112
|
+
const e = vt(), o = tn();
|
|
2113
2113
|
function c(i, t, u) {
|
|
2114
|
-
return i.type === "dynamic" ? t[i.param.paramName] : (0,
|
|
2114
|
+
return i.type === "dynamic" ? t[i.param.paramName] : (0, o.interceptionPrefixFromParamType)(u) === i.interceptionMarker ? i.name.replace(i.interceptionMarker, "") : i.name;
|
|
2115
2115
|
}
|
|
2116
|
-
function s(i, t, u, r,
|
|
2116
|
+
function s(i, t, u, r, a) {
|
|
2117
2117
|
switch (t) {
|
|
2118
2118
|
case "catchall":
|
|
2119
2119
|
case "optional-catchall":
|
|
@@ -2126,15 +2126,15 @@ function rn() {
|
|
|
2126
2126
|
const R = r.segments[_];
|
|
2127
2127
|
if (R.type === "static") {
|
|
2128
2128
|
let h = R.name;
|
|
2129
|
-
const E = (0,
|
|
2129
|
+
const E = (0, o.interceptionPrefixFromParamType)(t);
|
|
2130
2130
|
E && _ === u && E === R.interceptionMarker && (h = h.replace(R.interceptionMarker, "")), f.push(h);
|
|
2131
2131
|
} else {
|
|
2132
|
-
if (!
|
|
2132
|
+
if (!a.hasOwnProperty(R.param.paramName)) {
|
|
2133
2133
|
if (R.param.paramType === "optional-catchall")
|
|
2134
2134
|
break;
|
|
2135
2135
|
return;
|
|
2136
2136
|
}
|
|
2137
|
-
const h =
|
|
2137
|
+
const h = a[R.param.paramName];
|
|
2138
2138
|
Array.isArray(h) ? f.push(...h) : f.push(h);
|
|
2139
2139
|
}
|
|
2140
2140
|
}
|
|
@@ -2154,7 +2154,7 @@ function rn() {
|
|
|
2154
2154
|
case "dynamic-intercepted-(...)":
|
|
2155
2155
|
if (u < r.segments.length) {
|
|
2156
2156
|
const _ = r.segments[u];
|
|
2157
|
-
return _.type === "dynamic" && !
|
|
2157
|
+
return _.type === "dynamic" && !a.hasOwnProperty(_.param.paramName) ? void 0 : c(_, a, t);
|
|
2158
2158
|
}
|
|
2159
2159
|
return;
|
|
2160
2160
|
}
|
|
@@ -2175,7 +2175,7 @@ function nn() {
|
|
|
2175
2175
|
}
|
|
2176
2176
|
e(n, {
|
|
2177
2177
|
PARAMETER_PATTERN: function() {
|
|
2178
|
-
return
|
|
2178
|
+
return a;
|
|
2179
2179
|
},
|
|
2180
2180
|
getDynamicParam: function() {
|
|
2181
2181
|
return r;
|
|
@@ -2190,7 +2190,7 @@ function nn() {
|
|
|
2190
2190
|
return f;
|
|
2191
2191
|
}
|
|
2192
2192
|
});
|
|
2193
|
-
const
|
|
2193
|
+
const o = vt(), c = Jr(), s = en(), i = rn();
|
|
2194
2194
|
function t(R, h, E) {
|
|
2195
2195
|
let l = R[h];
|
|
2196
2196
|
if (E?.has(h)) {
|
|
@@ -2215,7 +2215,7 @@ function nn() {
|
|
|
2215
2215
|
if (A !== void 0)
|
|
2216
2216
|
p[I] = A;
|
|
2217
2217
|
else if (g !== "optional-catchall")
|
|
2218
|
-
throw Object.defineProperty(new
|
|
2218
|
+
throw Object.defineProperty(new o.InvariantError(`Could not resolve param value for segment: ${I}`), "__NEXT_ERROR_CODE", {
|
|
2219
2219
|
value: "E932",
|
|
2220
2220
|
enumerable: !1,
|
|
2221
2221
|
configurable: !0
|
|
@@ -2245,7 +2245,7 @@ function nn() {
|
|
|
2245
2245
|
E
|
|
2246
2246
|
]
|
|
2247
2247
|
};
|
|
2248
|
-
throw Object.defineProperty(new
|
|
2248
|
+
throw Object.defineProperty(new o.InvariantError(`Missing value for segment key: "${h}" with dynamic param type: ${E}`), "__NEXT_ERROR_CODE", {
|
|
2249
2249
|
value: "E864",
|
|
2250
2250
|
enumerable: !1,
|
|
2251
2251
|
configurable: !0
|
|
@@ -2264,9 +2264,9 @@ function nn() {
|
|
|
2264
2264
|
type: E
|
|
2265
2265
|
};
|
|
2266
2266
|
}
|
|
2267
|
-
const
|
|
2267
|
+
const a = /^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;
|
|
2268
2268
|
function f(R) {
|
|
2269
|
-
const h = R.match(
|
|
2269
|
+
const h = R.match(a);
|
|
2270
2270
|
return _(h ? h[2] : R);
|
|
2271
2271
|
}
|
|
2272
2272
|
function _(R) {
|
|
@@ -2304,7 +2304,7 @@ function jr() {
|
|
|
2304
2304
|
return r;
|
|
2305
2305
|
}
|
|
2306
2306
|
});
|
|
2307
|
-
const
|
|
2307
|
+
const o = Kr(), c = Se(), s = Qr(), i = Nr(), t = nn();
|
|
2308
2308
|
function u(E, l, p) {
|
|
2309
2309
|
const d = {};
|
|
2310
2310
|
let T = 1;
|
|
@@ -2344,7 +2344,7 @@ function jr() {
|
|
|
2344
2344
|
groups: y
|
|
2345
2345
|
};
|
|
2346
2346
|
}
|
|
2347
|
-
function
|
|
2347
|
+
function a() {
|
|
2348
2348
|
let E = 0;
|
|
2349
2349
|
return () => {
|
|
2350
2350
|
let l = "", p = ++E;
|
|
@@ -2375,13 +2375,13 @@ function jr() {
|
|
|
2375
2375
|
names: {},
|
|
2376
2376
|
intercepted: {}
|
|
2377
2377
|
}) {
|
|
2378
|
-
const P =
|
|
2378
|
+
const P = a(), v = {}, O = [], b = [];
|
|
2379
2379
|
y = structuredClone(y);
|
|
2380
2380
|
for (const N of (0, i.removeTrailingSlash)(E).slice(1).split("/")) {
|
|
2381
2381
|
const I = c.INTERCEPTION_ROUTE_MARKERS.some((w) => N.startsWith(w)), g = N.match(t.PARAMETER_PATTERN), A = I ? g?.[1] : void 0;
|
|
2382
2382
|
let C;
|
|
2383
|
-
if (A && g?.[2] ? (C = l ?
|
|
2384
|
-
const { key: w, pattern:
|
|
2383
|
+
if (A && g?.[2] ? (C = l ? o.NEXT_INTERCEPTION_MARKER_PREFIX : void 0, y.intercepted[g[2]] = A) : g?.[2] && y.intercepted[g[2]] ? C = l ? o.NEXT_INTERCEPTION_MARKER_PREFIX : void 0 : C = l ? o.NEXT_QUERY_PARAM_PREFIX : void 0, A && g && g[2]) {
|
|
2384
|
+
const { key: w, pattern: k, cleanedKey: M, repeat: U, optional: W } = f({
|
|
2385
2385
|
getSafeRouteKey: P,
|
|
2386
2386
|
interceptionMarker: A,
|
|
2387
2387
|
segment: g[2],
|
|
@@ -2389,17 +2389,17 @@ function jr() {
|
|
|
2389
2389
|
keyPrefix: C,
|
|
2390
2390
|
backreferenceDuplicateKeys: T
|
|
2391
2391
|
});
|
|
2392
|
-
O.push(
|
|
2392
|
+
O.push(k), b.push(`/${g[1]}:${y.names[w] ?? M}${U ? W ? "*" : "+" : ""}`), y.names[w] ??= M;
|
|
2393
2393
|
} else if (g && g[2]) {
|
|
2394
2394
|
d && g[1] && (O.push(`/${(0, s.escapeStringRegexp)(g[1])}`), b.push(`/${g[1]}`));
|
|
2395
|
-
const { key: w, pattern:
|
|
2395
|
+
const { key: w, pattern: k, cleanedKey: M, repeat: U, optional: W } = f({
|
|
2396
2396
|
getSafeRouteKey: P,
|
|
2397
2397
|
segment: g[2],
|
|
2398
2398
|
routeKeys: v,
|
|
2399
2399
|
keyPrefix: C,
|
|
2400
2400
|
backreferenceDuplicateKeys: T
|
|
2401
2401
|
});
|
|
2402
|
-
let G =
|
|
2402
|
+
let G = k;
|
|
2403
2403
|
d && g[1] && (G = G.substring(1)), O.push(G), b.push(`/:${y.names[w] ?? M}${U ? W ? "*" : "+" : ""}`), y.names[w] ??= M;
|
|
2404
2404
|
} else
|
|
2405
2405
|
O.push(`/${(0, s.escapeStringRegexp)(N)}`), b.push(`/${N}`);
|
|
@@ -2437,7 +2437,7 @@ function jr() {
|
|
|
2437
2437
|
})(et)), et;
|
|
2438
2438
|
}
|
|
2439
2439
|
var nr;
|
|
2440
|
-
function
|
|
2440
|
+
function an() {
|
|
2441
2441
|
return nr || (nr = 1, (function(n) {
|
|
2442
2442
|
Object.defineProperty(n, "__esModule", {
|
|
2443
2443
|
value: !0
|
|
@@ -2447,20 +2447,20 @@ function on() {
|
|
|
2447
2447
|
return c;
|
|
2448
2448
|
}
|
|
2449
2449
|
});
|
|
2450
|
-
const e = Mr(),
|
|
2450
|
+
const e = Mr(), o = jr();
|
|
2451
2451
|
function c(s, i, t) {
|
|
2452
2452
|
let u = "";
|
|
2453
|
-
const r = (0,
|
|
2453
|
+
const r = (0, o.getRouteRegex)(s), a = r.groups, f = (
|
|
2454
2454
|
// Try to match the dynamic route against the asPath
|
|
2455
2455
|
(i !== s ? (0, e.getRouteMatcher)(r)(i) : "") || // Fall back to reading the values from the href
|
|
2456
2456
|
// TODO: should this take priority; also need to change in the router.
|
|
2457
2457
|
t
|
|
2458
2458
|
);
|
|
2459
2459
|
u = s;
|
|
2460
|
-
const _ = Object.keys(
|
|
2460
|
+
const _ = Object.keys(a);
|
|
2461
2461
|
return _.every((R) => {
|
|
2462
2462
|
let h = f[R] || "";
|
|
2463
|
-
const { repeat: E, optional: l } =
|
|
2463
|
+
const { repeat: E, optional: l } = a[R];
|
|
2464
2464
|
let p = `[${E ? "..." : ""}${R}]`;
|
|
2465
2465
|
return l && (p = `${h ? "" : "/"}[${p}]`), E && !Array.isArray(h) && (h = [
|
|
2466
2466
|
h
|
|
@@ -2479,9 +2479,9 @@ function on() {
|
|
|
2479
2479
|
}
|
|
2480
2480
|
})($e)), $e;
|
|
2481
2481
|
}
|
|
2482
|
-
var
|
|
2483
|
-
function
|
|
2484
|
-
return
|
|
2482
|
+
var ar;
|
|
2483
|
+
function on() {
|
|
2484
|
+
return ar || (ar = 1, (function(n, e) {
|
|
2485
2485
|
Object.defineProperty(e, "__esModule", {
|
|
2486
2486
|
value: !0
|
|
2487
2487
|
}), Object.defineProperty(e, "resolveHref", {
|
|
@@ -2490,7 +2490,7 @@ function an() {
|
|
|
2490
2490
|
return R;
|
|
2491
2491
|
}
|
|
2492
2492
|
});
|
|
2493
|
-
const
|
|
2493
|
+
const o = Ar(), c = Sr(), s = Xr(), i = Oe(), t = Ae(), u = Cr(), r = Vr(), a = an(), f = jr(), _ = Mr();
|
|
2494
2494
|
function R(h, E, l) {
|
|
2495
2495
|
let p, d = typeof E == "string" ? E : (0, c.formatWithValidation)(E);
|
|
2496
2496
|
const T = d.match(/^[a-z][a-z0-9+.-]*:\/\//i), y = T ? d.slice(T[0].length) : d;
|
|
@@ -2519,7 +2519,7 @@ function an() {
|
|
|
2519
2519
|
v.pathname = (0, t.normalizePathTrailingSlash)(v.pathname);
|
|
2520
2520
|
let O = "";
|
|
2521
2521
|
if ((0, r.isDynamicRoute)(v.pathname) && v.searchParams && l) {
|
|
2522
|
-
const N = (0,
|
|
2522
|
+
const N = (0, o.searchParamsToUrlQuery)(v.searchParams), { result: I, params: g } = (0, a.interpolateAs)(v.pathname, v.pathname, N);
|
|
2523
2523
|
I && (O = (0, c.formatWithValidation)({
|
|
2524
2524
|
pathname: I,
|
|
2525
2525
|
hash: v.hash,
|
|
@@ -2540,19 +2540,19 @@ function an() {
|
|
|
2540
2540
|
(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);
|
|
2541
2541
|
})(_e, _e.exports)), _e.exports;
|
|
2542
2542
|
}
|
|
2543
|
-
var Ee = { exports: {} }, lt = {}, ft = {},
|
|
2543
|
+
var Ee = { exports: {} }, lt = {}, ft = {}, or;
|
|
2544
2544
|
function xr() {
|
|
2545
|
-
return
|
|
2545
|
+
return or || (or = 1, (function(n) {
|
|
2546
2546
|
Object.defineProperty(n, "__esModule", {
|
|
2547
2547
|
value: !0
|
|
2548
2548
|
}), Object.defineProperty(n, "addPathPrefix", {
|
|
2549
2549
|
enumerable: !0,
|
|
2550
2550
|
get: function() {
|
|
2551
|
-
return
|
|
2551
|
+
return o;
|
|
2552
2552
|
}
|
|
2553
2553
|
});
|
|
2554
2554
|
const e = gt();
|
|
2555
|
-
function
|
|
2555
|
+
function o(c, s) {
|
|
2556
2556
|
if (!c.startsWith("/") || !s)
|
|
2557
2557
|
return c;
|
|
2558
2558
|
const { pathname: i, query: t, hash: u } = (0, e.parsePath)(c);
|
|
@@ -2571,11 +2571,11 @@ function un() {
|
|
|
2571
2571
|
return c;
|
|
2572
2572
|
}
|
|
2573
2573
|
});
|
|
2574
|
-
const e = xr(),
|
|
2574
|
+
const e = xr(), o = Ir();
|
|
2575
2575
|
function c(s, i, t, u) {
|
|
2576
2576
|
if (!i || i === t) return s;
|
|
2577
2577
|
const r = s.toLowerCase();
|
|
2578
|
-
return !u && ((0,
|
|
2578
|
+
return !u && ((0, o.pathHasPrefix)(r, "/api") || (0, o.pathHasPrefix)(r, `/${i.toLowerCase()}`)) ? s : (0, e.addPathPrefix)(s, `/${i}`);
|
|
2579
2579
|
}
|
|
2580
2580
|
})(lt)), lt;
|
|
2581
2581
|
}
|
|
@@ -2590,7 +2590,7 @@ function cn() {
|
|
|
2590
2590
|
return c;
|
|
2591
2591
|
}
|
|
2592
2592
|
});
|
|
2593
|
-
const
|
|
2593
|
+
const o = Ae(), c = (s, ...i) => process.env.__NEXT_I18N_SUPPORT ? (0, o.normalizePathTrailingSlash)(un().addLocale(s, ...i)) : s;
|
|
2594
2594
|
(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);
|
|
2595
2595
|
})(Ee, Ee.exports)), Ee.exports;
|
|
2596
2596
|
}
|
|
@@ -2624,13 +2624,13 @@ function fn() {
|
|
|
2624
2624
|
Object.defineProperty(e, "__esModule", {
|
|
2625
2625
|
value: !0
|
|
2626
2626
|
});
|
|
2627
|
-
function
|
|
2627
|
+
function o(i, t) {
|
|
2628
2628
|
for (var u in t) Object.defineProperty(i, u, {
|
|
2629
2629
|
enumerable: !0,
|
|
2630
2630
|
get: t[u]
|
|
2631
2631
|
});
|
|
2632
2632
|
}
|
|
2633
|
-
|
|
2633
|
+
o(e, {
|
|
2634
2634
|
cancelIdleCallback: function() {
|
|
2635
2635
|
return s;
|
|
2636
2636
|
},
|
|
@@ -2662,10 +2662,10 @@ function dn() {
|
|
|
2662
2662
|
}), Object.defineProperty(e, "useIntersection", {
|
|
2663
2663
|
enumerable: !0,
|
|
2664
2664
|
get: function() {
|
|
2665
|
-
return
|
|
2665
|
+
return a;
|
|
2666
2666
|
}
|
|
2667
2667
|
});
|
|
2668
|
-
const
|
|
2668
|
+
const o = ie, c = fn(), s = typeof IntersectionObserver == "function", i = /* @__PURE__ */ new Map(), t = [];
|
|
2669
2669
|
function u(f) {
|
|
2670
2670
|
const _ = {
|
|
2671
2671
|
root: f.root || null,
|
|
@@ -2696,11 +2696,11 @@ function dn() {
|
|
|
2696
2696
|
}
|
|
2697
2697
|
};
|
|
2698
2698
|
}
|
|
2699
|
-
function
|
|
2700
|
-
const h = R || !s, [E, l] = (0,
|
|
2699
|
+
function a({ rootRef: f, rootMargin: _, disabled: R }) {
|
|
2700
|
+
const h = R || !s, [E, l] = (0, o.useState)(!1), p = (0, o.useRef)(null), d = (0, o.useCallback)((y) => {
|
|
2701
2701
|
p.current = y;
|
|
2702
2702
|
}, []);
|
|
2703
|
-
(0,
|
|
2703
|
+
(0, o.useEffect)(() => {
|
|
2704
2704
|
if (s) {
|
|
2705
2705
|
if (h || E) return;
|
|
2706
2706
|
const y = p.current;
|
|
@@ -2720,7 +2720,7 @@ function dn() {
|
|
|
2720
2720
|
E,
|
|
2721
2721
|
p.current
|
|
2722
2722
|
]);
|
|
2723
|
-
const T = (0,
|
|
2723
|
+
const T = (0, o.useCallback)(() => {
|
|
2724
2724
|
l(!1);
|
|
2725
2725
|
}, []);
|
|
2726
2726
|
return [
|
|
@@ -2740,11 +2740,11 @@ function pn() {
|
|
|
2740
2740
|
}), Object.defineProperty(n, "normalizeLocalePath", {
|
|
2741
2741
|
enumerable: !0,
|
|
2742
2742
|
get: function() {
|
|
2743
|
-
return
|
|
2743
|
+
return o;
|
|
2744
2744
|
}
|
|
2745
2745
|
});
|
|
2746
2746
|
const e = /* @__PURE__ */ new WeakMap();
|
|
2747
|
-
function
|
|
2747
|
+
function o(c, s) {
|
|
2748
2748
|
if (!s) return {
|
|
2749
2749
|
pathname: c
|
|
2750
2750
|
};
|
|
@@ -2755,10 +2755,10 @@ function pn() {
|
|
|
2755
2755
|
if (!u[1]) return {
|
|
2756
2756
|
pathname: c
|
|
2757
2757
|
};
|
|
2758
|
-
const r = u[1].toLowerCase(),
|
|
2759
|
-
return
|
|
2758
|
+
const r = u[1].toLowerCase(), a = i.indexOf(r);
|
|
2759
|
+
return a < 0 ? {
|
|
2760
2760
|
pathname: c
|
|
2761
|
-
} : (t = s[
|
|
2761
|
+
} : (t = s[a], c = c.slice(t.length + 1) || "/", {
|
|
2762
2762
|
pathname: c,
|
|
2763
2763
|
detectedLocale: t
|
|
2764
2764
|
});
|
|
@@ -2773,10 +2773,10 @@ function _n() {
|
|
|
2773
2773
|
}), Object.defineProperty(e, "normalizeLocalePath", {
|
|
2774
2774
|
enumerable: !0,
|
|
2775
2775
|
get: function() {
|
|
2776
|
-
return
|
|
2776
|
+
return o;
|
|
2777
2777
|
}
|
|
2778
2778
|
});
|
|
2779
|
-
const
|
|
2779
|
+
const o = (c, s) => process.env.__NEXT_I18N_SUPPORT ? pn().normalizeLocalePath(c, s) : {
|
|
2780
2780
|
pathname: c,
|
|
2781
2781
|
detectedLocale: void 0
|
|
2782
2782
|
};
|
|
@@ -2794,10 +2794,10 @@ function hn() {
|
|
|
2794
2794
|
return e;
|
|
2795
2795
|
}
|
|
2796
2796
|
});
|
|
2797
|
-
function e(
|
|
2798
|
-
if (
|
|
2797
|
+
function e(o, c, s) {
|
|
2798
|
+
if (o) {
|
|
2799
2799
|
s && (s = s.toLowerCase());
|
|
2800
|
-
for (const i of
|
|
2800
|
+
for (const i of o) {
|
|
2801
2801
|
const t = i.domain?.split(":", 1)[0].toLowerCase();
|
|
2802
2802
|
if (c === t || s === i.defaultLocale.toLowerCase() || i.locales?.some((u) => u.toLowerCase() === s))
|
|
2803
2803
|
return i;
|
|
@@ -2814,10 +2814,10 @@ function mn() {
|
|
|
2814
2814
|
}), Object.defineProperty(e, "detectDomainLocale", {
|
|
2815
2815
|
enumerable: !0,
|
|
2816
2816
|
get: function() {
|
|
2817
|
-
return
|
|
2817
|
+
return o;
|
|
2818
2818
|
}
|
|
2819
2819
|
});
|
|
2820
|
-
const
|
|
2820
|
+
const o = (...c) => {
|
|
2821
2821
|
if (process.env.__NEXT_I18N_SUPPORT)
|
|
2822
2822
|
return hn().detectDomainLocale(...c);
|
|
2823
2823
|
};
|
|
@@ -2835,13 +2835,13 @@ function En() {
|
|
|
2835
2835
|
return s;
|
|
2836
2836
|
}
|
|
2837
2837
|
});
|
|
2838
|
-
const
|
|
2838
|
+
const o = Ae(), c = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
2839
2839
|
function s(i, t, u, r) {
|
|
2840
2840
|
if (process.env.__NEXT_I18N_SUPPORT) {
|
|
2841
|
-
const
|
|
2841
|
+
const a = _n().normalizeLocalePath, f = mn().detectDomainLocale, _ = t || a(i, u).detectedLocale, R = f(r, void 0, _);
|
|
2842
2842
|
if (R) {
|
|
2843
2843
|
const h = `http${R.http ? "" : "s"}://`, E = _ === R.defaultLocale ? "" : `/${_}`;
|
|
2844
|
-
return `${h}${R.domain}${(0,
|
|
2844
|
+
return `${h}${R.domain}${(0, o.normalizePathTrailingSlash)(`${c}${E}${i}`)}`;
|
|
2845
2845
|
}
|
|
2846
2846
|
return !1;
|
|
2847
2847
|
} else
|
|
@@ -2861,9 +2861,9 @@ function Rn() {
|
|
|
2861
2861
|
return i;
|
|
2862
2862
|
}
|
|
2863
2863
|
});
|
|
2864
|
-
const
|
|
2864
|
+
const o = xr(), c = Ae(), s = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
2865
2865
|
function i(t, u) {
|
|
2866
|
-
return (0, c.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !u ? t : (0,
|
|
2866
|
+
return (0, c.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !u ? t : (0, o.addPathPrefix)(t, s));
|
|
2867
2867
|
}
|
|
2868
2868
|
(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);
|
|
2869
2869
|
})(be, be.exports)), be.exports;
|
|
@@ -2879,17 +2879,17 @@ function gn() {
|
|
|
2879
2879
|
return c;
|
|
2880
2880
|
}
|
|
2881
2881
|
});
|
|
2882
|
-
const
|
|
2882
|
+
const o = ie;
|
|
2883
2883
|
function c(i, t) {
|
|
2884
|
-
const u = (0,
|
|
2885
|
-
return (0,
|
|
2886
|
-
if (
|
|
2884
|
+
const u = (0, o.useRef)(null), r = (0, o.useRef)(null);
|
|
2885
|
+
return (0, o.useCallback)((a) => {
|
|
2886
|
+
if (a === null) {
|
|
2887
2887
|
const f = u.current;
|
|
2888
2888
|
f && (u.current = null, f());
|
|
2889
2889
|
const _ = r.current;
|
|
2890
2890
|
_ && (r.current = null, _());
|
|
2891
2891
|
} else
|
|
2892
|
-
i && (u.current = s(i,
|
|
2892
|
+
i && (u.current = s(i, a)), t && (r.current = s(t, a));
|
|
2893
2893
|
}, [
|
|
2894
2894
|
i,
|
|
2895
2895
|
t
|
|
@@ -2918,12 +2918,12 @@ function vn() {
|
|
|
2918
2918
|
return e;
|
|
2919
2919
|
}
|
|
2920
2920
|
});
|
|
2921
|
-
let e = (
|
|
2921
|
+
let e = (o) => {
|
|
2922
2922
|
};
|
|
2923
2923
|
if (process.env.NODE_ENV !== "production") {
|
|
2924
|
-
const
|
|
2924
|
+
const o = /* @__PURE__ */ new Set();
|
|
2925
2925
|
e = (c) => {
|
|
2926
|
-
|
|
2926
|
+
o.has(c) || console.error(c), o.add(c);
|
|
2927
2927
|
};
|
|
2928
2928
|
}
|
|
2929
2929
|
})(mt)), mt;
|
|
@@ -2935,13 +2935,13 @@ function Pn() {
|
|
|
2935
2935
|
Object.defineProperty(e, "__esModule", {
|
|
2936
2936
|
value: !0
|
|
2937
2937
|
});
|
|
2938
|
-
function
|
|
2938
|
+
function o(g, A) {
|
|
2939
2939
|
for (var C in A) Object.defineProperty(g, C, {
|
|
2940
2940
|
enumerable: !0,
|
|
2941
2941
|
get: A[C]
|
|
2942
2942
|
});
|
|
2943
2943
|
}
|
|
2944
|
-
|
|
2944
|
+
o(e, {
|
|
2945
2945
|
default: function() {
|
|
2946
2946
|
return I;
|
|
2947
2947
|
},
|
|
@@ -2949,21 +2949,21 @@ function Pn() {
|
|
|
2949
2949
|
return N;
|
|
2950
2950
|
}
|
|
2951
2951
|
});
|
|
2952
|
-
const c = /* @__PURE__ */ Or(), s = Tr(), i = /* @__PURE__ */ c._(ie), t =
|
|
2952
|
+
const c = /* @__PURE__ */ Or(), s = Tr(), i = /* @__PURE__ */ c._(ie), t = on(), u = Cr(), r = Sr(), a = Oe(), f = cn(), _ = ln(), R = dn(), h = En(), E = Rn(), l = gn(), p = vn(), d = /* @__PURE__ */ new Set();
|
|
2953
2953
|
function T(g, A, C, w) {
|
|
2954
2954
|
if (!(typeof window > "u") && (0, u.isLocalURL)(A)) {
|
|
2955
2955
|
if (!w.bypassPrefetchedCheck) {
|
|
2956
|
-
const
|
|
2956
|
+
const k = (
|
|
2957
2957
|
// Let the link's locale prop override the default router locale.
|
|
2958
2958
|
typeof w.locale < "u" ? w.locale : "locale" in g ? g.locale : void 0
|
|
2959
|
-
), M = A + "%" + C + "%" +
|
|
2959
|
+
), M = A + "%" + C + "%" + k;
|
|
2960
2960
|
if (d.has(M))
|
|
2961
2961
|
return;
|
|
2962
2962
|
d.add(M);
|
|
2963
2963
|
}
|
|
2964
|
-
g.prefetch(A, C, w).catch((
|
|
2964
|
+
g.prefetch(A, C, w).catch((k) => {
|
|
2965
2965
|
if (process.env.NODE_ENV !== "production")
|
|
2966
|
-
throw
|
|
2966
|
+
throw k;
|
|
2967
2967
|
});
|
|
2968
2968
|
}
|
|
2969
2969
|
}
|
|
@@ -2972,12 +2972,12 @@ function Pn() {
|
|
|
2972
2972
|
return C && C !== "_self" || g.metaKey || g.ctrlKey || g.shiftKey || g.altKey || // triggers resource download
|
|
2973
2973
|
g.nativeEvent && g.nativeEvent.which === 2;
|
|
2974
2974
|
}
|
|
2975
|
-
function P(g, A, C, w,
|
|
2976
|
-
const { nodeName:
|
|
2977
|
-
if (
|
|
2975
|
+
function P(g, A, C, w, k, M, U, W, G) {
|
|
2976
|
+
const { nodeName: q } = g.currentTarget;
|
|
2977
|
+
if (q.toUpperCase() === "A" && y(g) || g.currentTarget.hasAttribute("download"))
|
|
2978
2978
|
return;
|
|
2979
2979
|
if (!(0, u.isLocalURL)(C)) {
|
|
2980
|
-
|
|
2980
|
+
k && (g.preventDefault(), location.replace(C));
|
|
2981
2981
|
return;
|
|
2982
2982
|
}
|
|
2983
2983
|
g.preventDefault(), (() => {
|
|
@@ -2991,11 +2991,11 @@ function Pn() {
|
|
|
2991
2991
|
return;
|
|
2992
2992
|
}
|
|
2993
2993
|
const S = U ?? !0;
|
|
2994
|
-
"beforePopState" in A ? A[
|
|
2994
|
+
"beforePopState" in A ? A[k ? "replace" : "push"](C, w, {
|
|
2995
2995
|
shallow: M,
|
|
2996
2996
|
locale: W,
|
|
2997
2997
|
scroll: S
|
|
2998
|
-
}) : A[
|
|
2998
|
+
}) : A[k ? "replace" : "push"](w || C, {
|
|
2999
2999
|
scroll: S
|
|
3000
3000
|
});
|
|
3001
3001
|
})();
|
|
@@ -3005,7 +3005,7 @@ function Pn() {
|
|
|
3005
3005
|
}
|
|
3006
3006
|
const O = /* @__PURE__ */ i.default.forwardRef(function(A, C) {
|
|
3007
3007
|
let w;
|
|
3008
|
-
const { href:
|
|
3008
|
+
const { href: k, as: M, children: U, prefetch: W = null, passHref: G, replace: q, shallow: B, scroll: m, locale: S, onClick: j, onNavigate: x, onMouseEnter: X, onTouchStart: V, legacyBehavior: L = !1, ...Q } = A;
|
|
3009
3009
|
w = U, L && (typeof w == "string" || typeof w == "number") && (w = /* @__PURE__ */ (0, s.jsx)("a", {
|
|
3010
3010
|
children: w
|
|
3011
3011
|
}));
|
|
@@ -3081,35 +3081,35 @@ Open your browser's console to view the Component stack trace.` : "")), "__NEXT_
|
|
|
3081
3081
|
}
|
|
3082
3082
|
const { href: J, as: $ } = i.default.useMemo(() => {
|
|
3083
3083
|
if (!z) {
|
|
3084
|
-
const ne = v(
|
|
3084
|
+
const ne = v(k);
|
|
3085
3085
|
return {
|
|
3086
3086
|
href: ne,
|
|
3087
3087
|
as: M ? v(M) : ne
|
|
3088
3088
|
};
|
|
3089
3089
|
}
|
|
3090
|
-
const [H, ee] = (0, t.resolveHref)(z,
|
|
3090
|
+
const [H, ee] = (0, t.resolveHref)(z, k, !0);
|
|
3091
3091
|
return {
|
|
3092
3092
|
href: H,
|
|
3093
3093
|
as: M ? (0, t.resolveHref)(z, M) : ee || H
|
|
3094
3094
|
};
|
|
3095
3095
|
}, [
|
|
3096
3096
|
z,
|
|
3097
|
-
|
|
3097
|
+
k,
|
|
3098
3098
|
M
|
|
3099
3099
|
]), ue = i.default.useRef(J), ce = i.default.useRef($);
|
|
3100
3100
|
let Y;
|
|
3101
3101
|
if (L)
|
|
3102
3102
|
if (process.env.NODE_ENV === "development") {
|
|
3103
|
-
j && console.warn(`"onClick" was passed to <Link> with \`href\` of \`${
|
|
3103
|
+
j && console.warn(`"onClick" was passed to <Link> with \`href\` of \`${k}\` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link`), X && console.warn(`"onMouseEnter" was passed to <Link> with \`href\` of \`${k}\` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link`);
|
|
3104
3104
|
try {
|
|
3105
3105
|
Y = i.default.Children.only(w);
|
|
3106
3106
|
} catch {
|
|
3107
|
-
throw w ? Object.defineProperty(new Error(`Multiple children were passed to <Link> with \`href\` of \`${
|
|
3107
|
+
throw w ? Object.defineProperty(new Error(`Multiple children were passed to <Link> with \`href\` of \`${k}\` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children` + (typeof window < "u" ? `
|
|
3108
3108
|
Open your browser's console to view the Component stack trace.` : "")), "__NEXT_ERROR_CODE", {
|
|
3109
3109
|
value: "E266",
|
|
3110
3110
|
enumerable: !1,
|
|
3111
3111
|
configurable: !0
|
|
3112
|
-
}) : Object.defineProperty(new Error(`No children were passed to <Link> with \`href\` of \`${
|
|
3112
|
+
}) : Object.defineProperty(new Error(`No children were passed to <Link> with \`href\` of \`${k}\` but one child is required https://nextjs.org/docs/messages/link-no-children`), "__NEXT_ERROR_CODE", {
|
|
3113
3113
|
value: "E320",
|
|
3114
3114
|
enumerable: !1,
|
|
3115
3115
|
configurable: !0
|
|
@@ -3156,7 +3156,7 @@ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`
|
|
|
3156
3156
|
enumerable: !1,
|
|
3157
3157
|
configurable: !0
|
|
3158
3158
|
});
|
|
3159
|
-
!L && typeof j == "function" && j(H), L && Y.props && typeof Y.props.onClick == "function" && Y.props.onClick(H), z && (H.defaultPrevented || P(H, z, J, $,
|
|
3159
|
+
!L && typeof j == "function" && j(H), L && Y.props && typeof Y.props.onClick == "function" && Y.props.onClick(H), z && (H.defaultPrevented || P(H, z, J, $, q, B, m, S, x));
|
|
3160
3160
|
},
|
|
3161
3161
|
onMouseEnter(H) {
|
|
3162
3162
|
!L && typeof X == "function" && X(H), L && Y.props && typeof Y.props.onMouseEnter == "function" && Y.props.onMouseEnter(H), z && T(z, J, $, {
|
|
@@ -3175,7 +3175,7 @@ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`
|
|
|
3175
3175
|
});
|
|
3176
3176
|
}
|
|
3177
3177
|
};
|
|
3178
|
-
if ((0,
|
|
3178
|
+
if ((0, a.isAbsoluteUrl)($))
|
|
3179
3179
|
F.href = $;
|
|
3180
3180
|
else if (!L || G || Y.type === "a" && !("href" in Y.props)) {
|
|
3181
3181
|
const H = typeof S < "u" ? S : z?.locale, ee = z?.isLocaleDomain && (0, h.getDomainLocale)($, H, z?.locales, z?.domainLocales);
|
|
@@ -3202,72 +3202,72 @@ function Tn() {
|
|
|
3202
3202
|
return Pr || (Pr = 1, Et = Pn()), Et;
|
|
3203
3203
|
}
|
|
3204
3204
|
var bn = Tn();
|
|
3205
|
-
const yn = /* @__PURE__ */ Lr(bn), On = "
|
|
3205
|
+
const yn = /* @__PURE__ */ Lr(bn), On = "_group_1a1hk_48", An = "_main_1a1hk_64", Sn = "_dark_1a1hk_93", Nn = "_hover_1a1hk_97", In = "_active_1a1hk_100", Cn = "_padding_1a1hk_123", wn = "_icon_1a1hk_126", Mn = "_outline_1a1hk_160", jn = "_loading_1a1hk_1", xn = "_content_1a1hk_280", Ln = "_pulse_1a1hk_1", K = {
|
|
3206
3206
|
group: On,
|
|
3207
|
-
"justify-center": "_justify-
|
|
3208
|
-
"justify-start": "_justify-
|
|
3209
|
-
"justify-end": "_justify-
|
|
3207
|
+
"justify-center": "_justify-center_1a1hk_54",
|
|
3208
|
+
"justify-start": "_justify-start_1a1hk_57",
|
|
3209
|
+
"justify-end": "_justify-end_1a1hk_60",
|
|
3210
3210
|
main: An,
|
|
3211
|
-
"is-disabled": "_is-
|
|
3211
|
+
"is-disabled": "_is-disabled_1a1hk_86",
|
|
3212
3212
|
dark: Sn,
|
|
3213
3213
|
hover: Nn,
|
|
3214
3214
|
active: In,
|
|
3215
|
-
"rounded-lg": "_rounded-
|
|
3216
|
-
"rounded-md": "_rounded-
|
|
3217
|
-
"rounded-sm": "_rounded-
|
|
3218
|
-
"rounded-none": "_rounded-
|
|
3219
|
-
"size-md": "_size-
|
|
3215
|
+
"rounded-lg": "_rounded-lg_1a1hk_107",
|
|
3216
|
+
"rounded-md": "_rounded-md_1a1hk_110",
|
|
3217
|
+
"rounded-sm": "_rounded-sm_1a1hk_113",
|
|
3218
|
+
"rounded-none": "_rounded-none_1a1hk_116",
|
|
3219
|
+
"size-md": "_size-md_1a1hk_120",
|
|
3220
3220
|
padding: Cn,
|
|
3221
3221
|
icon: wn,
|
|
3222
|
-
"size-sm": "_size-
|
|
3223
|
-
"variant-default": "_variant-
|
|
3222
|
+
"size-sm": "_size-sm_1a1hk_133",
|
|
3223
|
+
"variant-default": "_variant-default_1a1hk_149",
|
|
3224
3224
|
outline: Mn,
|
|
3225
|
-
"variant-text": "_variant-
|
|
3226
|
-
"variant-custom": "_variant-
|
|
3227
|
-
"is-loading": "_is-
|
|
3228
|
-
"is-skeleton": "_is-
|
|
3225
|
+
"variant-text": "_variant-text_1a1hk_194",
|
|
3226
|
+
"variant-custom": "_variant-custom_1a1hk_212",
|
|
3227
|
+
"is-loading": "_is-loading_1a1hk_250",
|
|
3228
|
+
"is-skeleton": "_is-skeleton_1a1hk_250",
|
|
3229
3229
|
loading: jn,
|
|
3230
|
-
"loading-dark": "_loading-
|
|
3230
|
+
"loading-dark": "_loading-dark_1a1hk_1",
|
|
3231
3231
|
content: xn,
|
|
3232
3232
|
pulse: Ln
|
|
3233
3233
|
};
|
|
3234
3234
|
function Dn(n) {
|
|
3235
3235
|
let e = n.replace("#", "");
|
|
3236
3236
|
e.length === 3 && (e = e.split("").map((i) => i + i).join(""));
|
|
3237
|
-
const
|
|
3238
|
-
return { r:
|
|
3237
|
+
const o = parseInt(e.slice(0, 2), 16), c = parseInt(e.slice(2, 4), 16), s = parseInt(e.slice(4, 6), 16);
|
|
3238
|
+
return { r: o, g: c, b: s };
|
|
3239
3239
|
}
|
|
3240
3240
|
function Rt(n) {
|
|
3241
3241
|
const e = n / 255;
|
|
3242
3242
|
return e <= 0.04045 ? e / 12.92 : Math.pow((e + 0.055) / 1.055, 2.4);
|
|
3243
3243
|
}
|
|
3244
3244
|
function Pt(n) {
|
|
3245
|
-
const { r: e, g:
|
|
3245
|
+
const { r: e, g: o, b: c } = Dn(n), s = Rt(e), i = Rt(o), t = Rt(c), u = 0.4122214708 * s + 0.5363325363 * i + 0.0514459929 * t, r = 0.2119034982 * s + 0.6806995451 * i + 0.1073969566 * t, a = 0.0883024619 * s + 0.2817188376 * i + 0.6299787005 * t, f = Math.cbrt(u), _ = Math.cbrt(r), R = Math.cbrt(a), h = 0.2104542553 * f + 0.793617785 * _ - 0.0040720468 * R, E = 1.9779984951 * f - 2.428592205 * _ + 0.4505937099 * R, l = 0.0259040371 * f + 0.7827717662 * _ - 0.808675766 * R, p = Math.sqrt(E * E + l * l), d = Math.atan2(l, E) * 180 / Math.PI;
|
|
3246
3246
|
return {
|
|
3247
3247
|
l: +(h * 100).toFixed(2),
|
|
3248
3248
|
c: +p.toFixed(4),
|
|
3249
3249
|
h: +(d < 0 ? d + 360 : d).toFixed(2)
|
|
3250
3250
|
};
|
|
3251
3251
|
}
|
|
3252
|
-
function
|
|
3253
|
-
const { l:
|
|
3254
|
-
return `oklch(${
|
|
3252
|
+
function kn(n, e = 0.1) {
|
|
3253
|
+
const { l: o, c, h: s } = Pt(n);
|
|
3254
|
+
return `oklch(${o < 40 ? Math.min(100, o + e * 100) : Math.max(0, o - e * 100)}% ${c} ${s})`;
|
|
3255
3255
|
}
|
|
3256
|
-
function
|
|
3256
|
+
function qn(n) {
|
|
3257
3257
|
const { l: e } = Pt(n);
|
|
3258
3258
|
return e > 60 ? "var(--black)" : "var(--white)";
|
|
3259
3259
|
}
|
|
3260
3260
|
const Fn = ({
|
|
3261
3261
|
children: n,
|
|
3262
3262
|
label: e,
|
|
3263
|
-
href:
|
|
3263
|
+
href: o,
|
|
3264
3264
|
target: c = "_self",
|
|
3265
3265
|
size: s = "md",
|
|
3266
3266
|
variant: i = "default",
|
|
3267
3267
|
color: t,
|
|
3268
3268
|
outline: u = !1,
|
|
3269
3269
|
rounded: r = "sm",
|
|
3270
|
-
hasIcon:
|
|
3270
|
+
hasIcon: a = !1,
|
|
3271
3271
|
hasPadding: f = !0,
|
|
3272
3272
|
hasHover: _ = !0,
|
|
3273
3273
|
hasActive: R = !0,
|
|
@@ -3283,7 +3283,7 @@ const Fn = ({
|
|
|
3283
3283
|
K[`variant-${y}`],
|
|
3284
3284
|
u && K.outline,
|
|
3285
3285
|
r && K[`rounded-${r}`],
|
|
3286
|
-
|
|
3286
|
+
a && K.icon,
|
|
3287
3287
|
f && K.padding,
|
|
3288
3288
|
_ && K.hover,
|
|
3289
3289
|
R && K.active,
|
|
@@ -3296,10 +3296,10 @@ const Fn = ({
|
|
|
3296
3296
|
const { l: b, c: N, h: I } = Pt(P);
|
|
3297
3297
|
return `oklch(${b}% ${N} ${I})`;
|
|
3298
3298
|
})(),
|
|
3299
|
-
"--btn-hover-color":
|
|
3300
|
-
"--btn-text":
|
|
3299
|
+
"--btn-hover-color": kn(P),
|
|
3300
|
+
"--btn-text": qn(P)
|
|
3301
3301
|
} : void 0;
|
|
3302
|
-
return
|
|
3302
|
+
return o ? l ? /* @__PURE__ */ te.jsx(
|
|
3303
3303
|
"div",
|
|
3304
3304
|
{
|
|
3305
3305
|
className: v,
|
|
@@ -3310,7 +3310,7 @@ const Fn = ({
|
|
|
3310
3310
|
) : c === "_blank" ? /* @__PURE__ */ te.jsx(
|
|
3311
3311
|
"a",
|
|
3312
3312
|
{
|
|
3313
|
-
href:
|
|
3313
|
+
href: o,
|
|
3314
3314
|
target: "_blank",
|
|
3315
3315
|
rel: "noopener noreferrer",
|
|
3316
3316
|
className: v,
|
|
@@ -3319,7 +3319,7 @@ const Fn = ({
|
|
|
3319
3319
|
) : /* @__PURE__ */ te.jsx(
|
|
3320
3320
|
yn,
|
|
3321
3321
|
{
|
|
3322
|
-
href:
|
|
3322
|
+
href: o,
|
|
3323
3323
|
className: v,
|
|
3324
3324
|
children: T
|
|
3325
3325
|
}
|
|
@@ -3335,7 +3335,7 @@ const Fn = ({
|
|
|
3335
3335
|
children: T
|
|
3336
3336
|
}
|
|
3337
3337
|
);
|
|
3338
|
-
}, Hn = ({ children: n, className: e, justify:
|
|
3338
|
+
}, Hn = ({ children: n, className: e, justify: o }) => /* @__PURE__ */ te.jsx("div", { className: yr(K.group, e, o && K[`justify-${o}`]), children: n });
|
|
3339
3339
|
export {
|
|
3340
3340
|
Fn as Button,
|
|
3341
3341
|
Hn as ButtonGroup,
|