@jigowatts/jigowatts-ui 1.1.0 → 1.1.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/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/components/CustomLink/index.js +1 -1
- package/dist/components/DataTable/index.js +1 -1
- package/dist/components/LoadingOverlay/index.js +1 -1
- package/dist/components/Map/index.js +1 -1
- package/dist/components/OfflineLabel/index.js +1 -1
- package/dist/components/Pagination/index.js +1 -1
- package/dist/components/Pagination/index.test.js +1 -1
- package/dist/components/SearchForm/index.js +1 -1
- package/dist/components/SideMenu/index.d.ts +2 -1
- package/dist/components/SideMenu/index.js +1702 -61
- package/dist/components/SideMenu/index.test.js +1 -1
- package/dist/{index-Ng1Gk0N9.js → index-Dqxvyh3z.js} +1 -1
- package/dist/index.js +75 -78
- package/dist/{link-DKxv6PwW.js → link-CjdKDftr.js} +236 -234
- package/package.json +1 -1
- package/dist/navigation-lUua5mCE.js +0 -2205
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { g as
|
|
2
|
-
import
|
|
1
|
+
import { g as $t } from "./_commonjsHelpers-CT_km90n.js";
|
|
2
|
+
import Bt from "react/jsx-runtime";
|
|
3
3
|
import se from "react";
|
|
4
|
-
var
|
|
5
|
-
F._ = F._interop_require_default =
|
|
6
|
-
function
|
|
4
|
+
var ke = { exports: {} }, F = {};
|
|
5
|
+
F._ = F._interop_require_default = Kt;
|
|
6
|
+
function Kt(r) {
|
|
7
7
|
return r && r.__esModule ? r : { default: r };
|
|
8
8
|
}
|
|
9
|
-
var Y = { exports: {} }, pe = {},
|
|
10
|
-
function
|
|
11
|
-
return
|
|
9
|
+
var Y = { exports: {} }, pe = {}, Qe;
|
|
10
|
+
function qt() {
|
|
11
|
+
return Qe || (Qe = 1, function(r) {
|
|
12
12
|
Object.defineProperty(r, "__esModule", {
|
|
13
13
|
value: !0
|
|
14
14
|
});
|
|
@@ -58,22 +58,22 @@ function St() {
|
|
|
58
58
|
}
|
|
59
59
|
}(pe)), pe;
|
|
60
60
|
}
|
|
61
|
-
var me = {},
|
|
62
|
-
function
|
|
61
|
+
var me = {}, ze = {};
|
|
62
|
+
function Ct(r) {
|
|
63
63
|
if (typeof WeakMap != "function")
|
|
64
64
|
return null;
|
|
65
65
|
var e = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap();
|
|
66
|
-
return (
|
|
66
|
+
return (Ct = function(u) {
|
|
67
67
|
return u ? s : e;
|
|
68
68
|
})(r);
|
|
69
69
|
}
|
|
70
|
-
|
|
71
|
-
function
|
|
70
|
+
ze._ = ze._interop_require_wildcard = Ft;
|
|
71
|
+
function Ft(r, e) {
|
|
72
72
|
if (!e && r && r.__esModule)
|
|
73
73
|
return r;
|
|
74
74
|
if (r === null || typeof r != "object" && typeof r != "function")
|
|
75
75
|
return { default: r };
|
|
76
|
-
var s =
|
|
76
|
+
var s = Ct(e);
|
|
77
77
|
if (s && s.has(r))
|
|
78
78
|
return s.get(r);
|
|
79
79
|
var u = { __proto__: null }, t = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -84,9 +84,9 @@ function Bt(r, e) {
|
|
|
84
84
|
}
|
|
85
85
|
return u.default = r, s && s.set(r, u), u;
|
|
86
86
|
}
|
|
87
|
-
var
|
|
88
|
-
function
|
|
89
|
-
return
|
|
87
|
+
var Ye;
|
|
88
|
+
function It() {
|
|
89
|
+
return Ye || (Ye = 1, function(r) {
|
|
90
90
|
Object.defineProperty(r, "__esModule", {
|
|
91
91
|
value: !0
|
|
92
92
|
});
|
|
@@ -108,7 +108,7 @@ function jt() {
|
|
|
108
108
|
return i;
|
|
109
109
|
}
|
|
110
110
|
});
|
|
111
|
-
const u = /* @__PURE__ */
|
|
111
|
+
const u = /* @__PURE__ */ ze._(qt()), t = /https?|ftp|gopher|file/;
|
|
112
112
|
function o(a) {
|
|
113
113
|
let { auth: c, hostname: d } = a, h = a.protocol || "", m = a.pathname || "", p = a.hash || "", b = a.query || "", l = !1;
|
|
114
114
|
c = c ? encodeURIComponent(c).replace(/%3A/i, ":") + "@" : "", a.host ? l = c + a.host : d && (l = c + (~d.indexOf(":") ? "[" + d + "]" : d), a.port && (l += ":" + a.port)), b && typeof b == "object" && (b = String(u.urlQueryToSearchParams(b)));
|
|
@@ -136,9 +136,9 @@ function jt() {
|
|
|
136
136
|
}
|
|
137
137
|
}(me)), me;
|
|
138
138
|
}
|
|
139
|
-
var _e = {},
|
|
140
|
-
function
|
|
141
|
-
return
|
|
139
|
+
var _e = {}, Ze;
|
|
140
|
+
function Gt() {
|
|
141
|
+
return Ze || (Ze = 1, function(r) {
|
|
142
142
|
Object.defineProperty(r, "__esModule", {
|
|
143
143
|
value: !0
|
|
144
144
|
}), Object.defineProperty(r, "omit", {
|
|
@@ -155,9 +155,9 @@ function Kt() {
|
|
|
155
155
|
}
|
|
156
156
|
}(_e)), _e;
|
|
157
157
|
}
|
|
158
|
-
var ge = {},
|
|
158
|
+
var ge = {}, Je;
|
|
159
159
|
function ce() {
|
|
160
|
-
return
|
|
160
|
+
return Je || (Je = 1, function(r) {
|
|
161
161
|
Object.defineProperty(r, "__esModule", {
|
|
162
162
|
value: !0
|
|
163
163
|
});
|
|
@@ -310,9 +310,9 @@ function ce() {
|
|
|
310
310
|
}
|
|
311
311
|
}(ge)), ge;
|
|
312
312
|
}
|
|
313
|
-
var Z = { exports: {} }, ye = {},
|
|
314
|
-
function
|
|
315
|
-
return
|
|
313
|
+
var Z = { exports: {} }, ye = {}, et;
|
|
314
|
+
function At() {
|
|
315
|
+
return et || (et = 1, function(r) {
|
|
316
316
|
Object.defineProperty(r, "__esModule", {
|
|
317
317
|
value: !0
|
|
318
318
|
}), Object.defineProperty(r, "removeTrailingSlash", {
|
|
@@ -326,9 +326,9 @@ function Mt() {
|
|
|
326
326
|
}
|
|
327
327
|
}(ye)), ye;
|
|
328
328
|
}
|
|
329
|
-
var ve = {},
|
|
330
|
-
function
|
|
331
|
-
return
|
|
329
|
+
var ve = {}, tt;
|
|
330
|
+
function He() {
|
|
331
|
+
return tt || (tt = 1, function(r) {
|
|
332
332
|
Object.defineProperty(r, "__esModule", {
|
|
333
333
|
value: !0
|
|
334
334
|
}), Object.defineProperty(r, "parsePath", {
|
|
@@ -351,9 +351,9 @@ function ke() {
|
|
|
351
351
|
}
|
|
352
352
|
}(ve)), ve;
|
|
353
353
|
}
|
|
354
|
-
var
|
|
354
|
+
var rt;
|
|
355
355
|
function le() {
|
|
356
|
-
return
|
|
356
|
+
return rt || (rt = 1, function(r, e) {
|
|
357
357
|
Object.defineProperty(e, "__esModule", {
|
|
358
358
|
value: !0
|
|
359
359
|
}), Object.defineProperty(e, "normalizePathTrailingSlash", {
|
|
@@ -362,7 +362,7 @@ function le() {
|
|
|
362
362
|
return t;
|
|
363
363
|
}
|
|
364
364
|
});
|
|
365
|
-
const s =
|
|
365
|
+
const s = At(), u = He(), t = (o) => {
|
|
366
366
|
if (!o.startsWith("/") || process.env.__NEXT_MANUAL_TRAILING_SLASH)
|
|
367
367
|
return o;
|
|
368
368
|
const { pathname: i, query: n, hash: a } = (0, u.parsePath)(o);
|
|
@@ -371,9 +371,9 @@ function le() {
|
|
|
371
371
|
(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), r.exports = e.default);
|
|
372
372
|
}(Z, Z.exports)), Z.exports;
|
|
373
373
|
}
|
|
374
|
-
var Pe = {}, J = { exports: {} }, Re = {},
|
|
375
|
-
function
|
|
376
|
-
return
|
|
374
|
+
var Pe = {}, J = { exports: {} }, Re = {}, nt;
|
|
375
|
+
function Ut() {
|
|
376
|
+
return nt || (nt = 1, function(r) {
|
|
377
377
|
Object.defineProperty(r, "__esModule", {
|
|
378
378
|
value: !0
|
|
379
379
|
}), Object.defineProperty(r, "pathHasPrefix", {
|
|
@@ -382,7 +382,7 @@ function qt() {
|
|
|
382
382
|
return s;
|
|
383
383
|
}
|
|
384
384
|
});
|
|
385
|
-
const e =
|
|
385
|
+
const e = He();
|
|
386
386
|
function s(u, t) {
|
|
387
387
|
if (typeof u != "string")
|
|
388
388
|
return !1;
|
|
@@ -391,9 +391,9 @@ function qt() {
|
|
|
391
391
|
}
|
|
392
392
|
}(Re)), Re;
|
|
393
393
|
}
|
|
394
|
-
var
|
|
395
|
-
function
|
|
396
|
-
return
|
|
394
|
+
var ot;
|
|
395
|
+
function Vt() {
|
|
396
|
+
return ot || (ot = 1, function(r, e) {
|
|
397
397
|
Object.defineProperty(e, "__esModule", {
|
|
398
398
|
value: !0
|
|
399
399
|
}), Object.defineProperty(e, "hasBasePath", {
|
|
@@ -402,16 +402,16 @@ function Ft() {
|
|
|
402
402
|
return t;
|
|
403
403
|
}
|
|
404
404
|
});
|
|
405
|
-
const s =
|
|
405
|
+
const s = Ut(), u = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
406
406
|
function t(o) {
|
|
407
407
|
return (0, s.pathHasPrefix)(o, u);
|
|
408
408
|
}
|
|
409
409
|
(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), r.exports = e.default);
|
|
410
410
|
}(J, J.exports)), J.exports;
|
|
411
411
|
}
|
|
412
|
-
var
|
|
413
|
-
function
|
|
414
|
-
return
|
|
412
|
+
var it;
|
|
413
|
+
function xt() {
|
|
414
|
+
return it || (it = 1, function(r) {
|
|
415
415
|
Object.defineProperty(r, "__esModule", {
|
|
416
416
|
value: !0
|
|
417
417
|
}), Object.defineProperty(r, "isLocalURL", {
|
|
@@ -420,7 +420,7 @@ function Ct() {
|
|
|
420
420
|
return u;
|
|
421
421
|
}
|
|
422
422
|
});
|
|
423
|
-
const e = ce(), s =
|
|
423
|
+
const e = ce(), s = Vt();
|
|
424
424
|
function u(t) {
|
|
425
425
|
if (!(0, e.isAbsoluteUrl)(t))
|
|
426
426
|
return !0;
|
|
@@ -433,9 +433,9 @@ function Ct() {
|
|
|
433
433
|
}
|
|
434
434
|
}(Pe)), Pe;
|
|
435
435
|
}
|
|
436
|
-
var be = {}, Ee = {},
|
|
437
|
-
function
|
|
438
|
-
return
|
|
436
|
+
var be = {}, Ee = {}, at;
|
|
437
|
+
function Xt() {
|
|
438
|
+
return at || (at = 1, function(r) {
|
|
439
439
|
Object.defineProperty(r, "__esModule", {
|
|
440
440
|
value: !0
|
|
441
441
|
}), Object.defineProperty(r, "getSortedRoutes", {
|
|
@@ -520,9 +520,9 @@ function Gt() {
|
|
|
520
520
|
}
|
|
521
521
|
}(Ee)), Ee;
|
|
522
522
|
}
|
|
523
|
-
var Oe = {}, Ne = {}, we = {}, Te = {},
|
|
524
|
-
function
|
|
525
|
-
return
|
|
523
|
+
var Oe = {}, Ne = {}, we = {}, Te = {}, ut;
|
|
524
|
+
function Qt() {
|
|
525
|
+
return ut || (ut = 1, function(r) {
|
|
526
526
|
Object.defineProperty(r, "__esModule", {
|
|
527
527
|
value: !0
|
|
528
528
|
}), Object.defineProperty(r, "ensureLeadingSlash", {
|
|
@@ -536,37 +536,39 @@ function Vt() {
|
|
|
536
536
|
}
|
|
537
537
|
}(Te)), Te;
|
|
538
538
|
}
|
|
539
|
-
var
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
e(r, {
|
|
552
|
-
DEFAULT_SEGMENT_KEY: function() {
|
|
553
|
-
return t;
|
|
554
|
-
},
|
|
555
|
-
PAGE_SEGMENT_KEY: function() {
|
|
556
|
-
return u;
|
|
557
|
-
},
|
|
558
|
-
isGroupSegment: function() {
|
|
559
|
-
return s;
|
|
539
|
+
var Se = {}, st;
|
|
540
|
+
function Yt() {
|
|
541
|
+
return st || (st = 1, function(r) {
|
|
542
|
+
Object.defineProperty(r, "__esModule", {
|
|
543
|
+
value: !0
|
|
544
|
+
});
|
|
545
|
+
function e(o, i) {
|
|
546
|
+
for (var n in i)
|
|
547
|
+
Object.defineProperty(o, n, {
|
|
548
|
+
enumerable: !0,
|
|
549
|
+
get: i[n]
|
|
550
|
+
});
|
|
560
551
|
}
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
function
|
|
569
|
-
|
|
552
|
+
e(r, {
|
|
553
|
+
DEFAULT_SEGMENT_KEY: function() {
|
|
554
|
+
return t;
|
|
555
|
+
},
|
|
556
|
+
PAGE_SEGMENT_KEY: function() {
|
|
557
|
+
return u;
|
|
558
|
+
},
|
|
559
|
+
isGroupSegment: function() {
|
|
560
|
+
return s;
|
|
561
|
+
}
|
|
562
|
+
});
|
|
563
|
+
function s(o) {
|
|
564
|
+
return o[0] === "(" && o.endsWith(")");
|
|
565
|
+
}
|
|
566
|
+
const u = "__PAGE__", t = "__DEFAULT__";
|
|
567
|
+
}(Se)), Se;
|
|
568
|
+
}
|
|
569
|
+
var ct;
|
|
570
|
+
function Zt() {
|
|
571
|
+
return ct || (ct = 1, function(r) {
|
|
570
572
|
Object.defineProperty(r, "__esModule", {
|
|
571
573
|
value: !0
|
|
572
574
|
});
|
|
@@ -585,7 +587,7 @@ function Xt() {
|
|
|
585
587
|
return o;
|
|
586
588
|
}
|
|
587
589
|
});
|
|
588
|
-
const s =
|
|
590
|
+
const s = Qt(), u = Yt();
|
|
589
591
|
function t(i) {
|
|
590
592
|
return (0, s.ensureLeadingSlash)(i.split("/").reduce((n, a, c, d) => !a || (0, u.isGroupSegment)(a) || a[0] === "@" || (a === "page" || a === "route") && c === d.length - 1 ? n : n + "/" + a, ""));
|
|
591
593
|
}
|
|
@@ -598,9 +600,9 @@ function Xt() {
|
|
|
598
600
|
}
|
|
599
601
|
}(we)), we;
|
|
600
602
|
}
|
|
601
|
-
var
|
|
602
|
-
function
|
|
603
|
-
return
|
|
603
|
+
var lt;
|
|
604
|
+
function Dt() {
|
|
605
|
+
return lt || (lt = 1, function(r) {
|
|
604
606
|
Object.defineProperty(r, "__esModule", {
|
|
605
607
|
value: !0
|
|
606
608
|
});
|
|
@@ -622,7 +624,7 @@ function At() {
|
|
|
622
624
|
return t;
|
|
623
625
|
}
|
|
624
626
|
});
|
|
625
|
-
const s =
|
|
627
|
+
const s = Zt(), u = [
|
|
626
628
|
"(..)(..)",
|
|
627
629
|
"(.)",
|
|
628
630
|
"(..)",
|
|
@@ -668,9 +670,9 @@ function At() {
|
|
|
668
670
|
}
|
|
669
671
|
}(Ne)), Ne;
|
|
670
672
|
}
|
|
671
|
-
var
|
|
672
|
-
function
|
|
673
|
-
return
|
|
673
|
+
var ft;
|
|
674
|
+
function Jt() {
|
|
675
|
+
return ft || (ft = 1, function(r) {
|
|
674
676
|
Object.defineProperty(r, "__esModule", {
|
|
675
677
|
value: !0
|
|
676
678
|
}), Object.defineProperty(r, "isDynamicRoute", {
|
|
@@ -679,15 +681,15 @@ function Qt() {
|
|
|
679
681
|
return u;
|
|
680
682
|
}
|
|
681
683
|
});
|
|
682
|
-
const e =
|
|
684
|
+
const e = Dt(), s = /\/\[[^/]+?\](?=\/|$)/;
|
|
683
685
|
function u(t) {
|
|
684
686
|
return (0, e.isInterceptionRouteAppPath)(t) && (t = (0, e.extractInterceptionRouteInformation)(t).interceptedRoute), s.test(t);
|
|
685
687
|
}
|
|
686
688
|
}(Oe)), Oe;
|
|
687
689
|
}
|
|
688
|
-
var
|
|
689
|
-
function
|
|
690
|
-
return
|
|
690
|
+
var dt;
|
|
691
|
+
function er() {
|
|
692
|
+
return dt || (dt = 1, function(r) {
|
|
691
693
|
Object.defineProperty(r, "__esModule", {
|
|
692
694
|
value: !0
|
|
693
695
|
});
|
|
@@ -706,12 +708,12 @@ function Yt() {
|
|
|
706
708
|
return u.isDynamicRoute;
|
|
707
709
|
}
|
|
708
710
|
});
|
|
709
|
-
const s =
|
|
711
|
+
const s = Xt(), u = Jt();
|
|
710
712
|
}(be)), be;
|
|
711
713
|
}
|
|
712
|
-
var
|
|
713
|
-
function
|
|
714
|
-
return
|
|
714
|
+
var Le = {}, je = {}, ht;
|
|
715
|
+
function tr() {
|
|
716
|
+
return ht || (ht = 1, function(r) {
|
|
715
717
|
Object.defineProperty(r, "__esModule", {
|
|
716
718
|
value: !0
|
|
717
719
|
}), Object.defineProperty(r, "getRouteMatcher", {
|
|
@@ -742,11 +744,11 @@ function Zt() {
|
|
|
742
744
|
}), c;
|
|
743
745
|
};
|
|
744
746
|
}
|
|
745
|
-
}(
|
|
747
|
+
}(je)), je;
|
|
746
748
|
}
|
|
747
|
-
var
|
|
748
|
-
function
|
|
749
|
-
return
|
|
749
|
+
var Me = {}, qe = {}, pt;
|
|
750
|
+
function rr() {
|
|
751
|
+
return pt || (pt = 1, function(r) {
|
|
750
752
|
Object.defineProperty(r, "__esModule", {
|
|
751
753
|
value: !0
|
|
752
754
|
}), Object.defineProperty(r, "escapeStringRegexp", {
|
|
@@ -759,11 +761,11 @@ function Jt() {
|
|
|
759
761
|
function u(t) {
|
|
760
762
|
return e.test(t) ? t.replace(s, "\\$&") : t;
|
|
761
763
|
}
|
|
762
|
-
}(
|
|
764
|
+
}(qe)), qe;
|
|
763
765
|
}
|
|
764
|
-
var
|
|
765
|
-
function
|
|
766
|
-
return
|
|
766
|
+
var mt;
|
|
767
|
+
function nr() {
|
|
768
|
+
return mt || (mt = 1, function(r) {
|
|
767
769
|
Object.defineProperty(r, "__esModule", {
|
|
768
770
|
value: !0
|
|
769
771
|
});
|
|
@@ -785,7 +787,7 @@ function er() {
|
|
|
785
787
|
return c;
|
|
786
788
|
}
|
|
787
789
|
});
|
|
788
|
-
const s =
|
|
790
|
+
const s = Dt(), u = rr(), t = At(), o = "nxtP", i = "nxtI";
|
|
789
791
|
function n(l) {
|
|
790
792
|
const _ = l.startsWith("[") && l.endsWith("]");
|
|
791
793
|
_ && (l = l.slice(1, -1));
|
|
@@ -893,11 +895,11 @@ function er() {
|
|
|
893
895
|
namedRegex: "^" + R + f + "$"
|
|
894
896
|
};
|
|
895
897
|
}
|
|
896
|
-
}(
|
|
898
|
+
}(Me)), Me;
|
|
897
899
|
}
|
|
898
|
-
var
|
|
899
|
-
function
|
|
900
|
-
return
|
|
900
|
+
var _t;
|
|
901
|
+
function or() {
|
|
902
|
+
return _t || (_t = 1, function(r) {
|
|
901
903
|
Object.defineProperty(r, "__esModule", {
|
|
902
904
|
value: !0
|
|
903
905
|
}), Object.defineProperty(r, "interpolateAs", {
|
|
@@ -906,7 +908,7 @@ function tr() {
|
|
|
906
908
|
return u;
|
|
907
909
|
}
|
|
908
910
|
});
|
|
909
|
-
const e =
|
|
911
|
+
const e = tr(), s = nr();
|
|
910
912
|
function u(t, o, i) {
|
|
911
913
|
let n = "";
|
|
912
914
|
const a = (0, s.getRouteRegex)(t), c = a.groups, d = (
|
|
@@ -936,11 +938,11 @@ function tr() {
|
|
|
936
938
|
result: n
|
|
937
939
|
};
|
|
938
940
|
}
|
|
939
|
-
}(
|
|
941
|
+
}(Le)), Le;
|
|
940
942
|
}
|
|
941
|
-
var
|
|
942
|
-
function
|
|
943
|
-
return
|
|
943
|
+
var gt;
|
|
944
|
+
function ir() {
|
|
945
|
+
return gt || (gt = 1, function(r, e) {
|
|
944
946
|
Object.defineProperty(e, "__esModule", {
|
|
945
947
|
value: !0
|
|
946
948
|
}), Object.defineProperty(e, "resolveHref", {
|
|
@@ -949,7 +951,7 @@ function rr() {
|
|
|
949
951
|
return d;
|
|
950
952
|
}
|
|
951
953
|
});
|
|
952
|
-
const s =
|
|
954
|
+
const s = qt(), u = It(), t = Gt(), o = ce(), i = le(), n = xt(), a = er(), c = or();
|
|
953
955
|
function d(h, m, p) {
|
|
954
956
|
let b, l = typeof m == "string" ? m : (0, u.formatWithValidation)(m);
|
|
955
957
|
const _ = l.match(/^[a-zA-Z]{1,}:\/\//), y = _ ? l.slice(_[0].length) : l;
|
|
@@ -993,9 +995,9 @@ function rr() {
|
|
|
993
995
|
(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), r.exports = e.default);
|
|
994
996
|
}(Y, Y.exports)), Y.exports;
|
|
995
997
|
}
|
|
996
|
-
var ee = { exports: {} },
|
|
997
|
-
function
|
|
998
|
-
return
|
|
998
|
+
var ee = { exports: {} }, Ce = {}, Ie = {}, yt;
|
|
999
|
+
function kt() {
|
|
1000
|
+
return yt || (yt = 1, function(r) {
|
|
999
1001
|
Object.defineProperty(r, "__esModule", {
|
|
1000
1002
|
value: !0
|
|
1001
1003
|
}), Object.defineProperty(r, "addPathPrefix", {
|
|
@@ -1004,18 +1006,18 @@ function Ut() {
|
|
|
1004
1006
|
return s;
|
|
1005
1007
|
}
|
|
1006
1008
|
});
|
|
1007
|
-
const e =
|
|
1009
|
+
const e = He();
|
|
1008
1010
|
function s(u, t) {
|
|
1009
1011
|
if (!u.startsWith("/") || !t)
|
|
1010
1012
|
return u;
|
|
1011
1013
|
const { pathname: o, query: i, hash: n } = (0, e.parsePath)(u);
|
|
1012
1014
|
return "" + t + o + i + n;
|
|
1013
1015
|
}
|
|
1014
|
-
}(
|
|
1016
|
+
}(Ie)), Ie;
|
|
1015
1017
|
}
|
|
1016
|
-
var
|
|
1017
|
-
function
|
|
1018
|
-
return
|
|
1018
|
+
var vt;
|
|
1019
|
+
function ar() {
|
|
1020
|
+
return vt || (vt = 1, function(r) {
|
|
1019
1021
|
Object.defineProperty(r, "__esModule", {
|
|
1020
1022
|
value: !0
|
|
1021
1023
|
}), Object.defineProperty(r, "addLocale", {
|
|
@@ -1024,18 +1026,18 @@ function nr() {
|
|
|
1024
1026
|
return u;
|
|
1025
1027
|
}
|
|
1026
1028
|
});
|
|
1027
|
-
const e =
|
|
1029
|
+
const e = kt(), s = Ut();
|
|
1028
1030
|
function u(t, o, i, n) {
|
|
1029
1031
|
if (!o || o === i)
|
|
1030
1032
|
return t;
|
|
1031
1033
|
const a = t.toLowerCase();
|
|
1032
1034
|
return !n && ((0, s.pathHasPrefix)(a, "/api") || (0, s.pathHasPrefix)(a, "/" + o.toLowerCase())) ? t : (0, e.addPathPrefix)(t, "/" + o);
|
|
1033
1035
|
}
|
|
1034
|
-
}(
|
|
1036
|
+
}(Ce)), Ce;
|
|
1035
1037
|
}
|
|
1036
|
-
var
|
|
1037
|
-
function
|
|
1038
|
-
return
|
|
1038
|
+
var Pt;
|
|
1039
|
+
function ur() {
|
|
1040
|
+
return Pt || (Pt = 1, function(r, e) {
|
|
1039
1041
|
Object.defineProperty(e, "__esModule", {
|
|
1040
1042
|
value: !0
|
|
1041
1043
|
}), Object.defineProperty(e, "addLocale", {
|
|
@@ -1047,14 +1049,14 @@ function or() {
|
|
|
1047
1049
|
const s = le(), u = function(t) {
|
|
1048
1050
|
for (var o = arguments.length, i = new Array(o > 1 ? o - 1 : 0), n = 1; n < o; n++)
|
|
1049
1051
|
i[n - 1] = arguments[n];
|
|
1050
|
-
return process.env.__NEXT_I18N_SUPPORT ? (0, s.normalizePathTrailingSlash)(
|
|
1052
|
+
return process.env.__NEXT_I18N_SUPPORT ? (0, s.normalizePathTrailingSlash)(ar().addLocale(t, ...i)) : t;
|
|
1051
1053
|
};
|
|
1052
1054
|
(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), r.exports = e.default);
|
|
1053
1055
|
}(ee, ee.exports)), ee.exports;
|
|
1054
1056
|
}
|
|
1055
|
-
var
|
|
1056
|
-
function
|
|
1057
|
-
return
|
|
1057
|
+
var Ae = {}, Rt;
|
|
1058
|
+
function sr() {
|
|
1059
|
+
return Rt || (Rt = 1, function(r) {
|
|
1058
1060
|
Object.defineProperty(r, "__esModule", {
|
|
1059
1061
|
value: !0
|
|
1060
1062
|
}), Object.defineProperty(r, "RouterContext", {
|
|
@@ -1065,45 +1067,47 @@ function ir() {
|
|
|
1065
1067
|
});
|
|
1066
1068
|
const u = (/* @__PURE__ */ F._(se)).default.createContext(null);
|
|
1067
1069
|
process.env.NODE_ENV !== "production" && (u.displayName = "RouterContext");
|
|
1068
|
-
}(
|
|
1070
|
+
}(Ae)), Ae;
|
|
1069
1071
|
}
|
|
1070
|
-
var
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
e(r, {
|
|
1084
|
-
AppRouterContext: function() {
|
|
1085
|
-
return t;
|
|
1086
|
-
},
|
|
1087
|
-
GlobalLayoutRouterContext: function() {
|
|
1088
|
-
return i;
|
|
1089
|
-
},
|
|
1090
|
-
LayoutRouterContext: function() {
|
|
1091
|
-
return o;
|
|
1092
|
-
},
|
|
1093
|
-
MissingSlotContext: function() {
|
|
1094
|
-
return a;
|
|
1095
|
-
},
|
|
1096
|
-
TemplateContext: function() {
|
|
1097
|
-
return n;
|
|
1072
|
+
var Ue = {}, bt;
|
|
1073
|
+
function cr() {
|
|
1074
|
+
return bt || (bt = 1, function(r) {
|
|
1075
|
+
"use client";
|
|
1076
|
+
Object.defineProperty(r, "__esModule", {
|
|
1077
|
+
value: !0
|
|
1078
|
+
});
|
|
1079
|
+
function e(c, d) {
|
|
1080
|
+
for (var h in d)
|
|
1081
|
+
Object.defineProperty(c, h, {
|
|
1082
|
+
enumerable: !0,
|
|
1083
|
+
get: d[h]
|
|
1084
|
+
});
|
|
1098
1085
|
}
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1086
|
+
e(r, {
|
|
1087
|
+
AppRouterContext: function() {
|
|
1088
|
+
return t;
|
|
1089
|
+
},
|
|
1090
|
+
GlobalLayoutRouterContext: function() {
|
|
1091
|
+
return i;
|
|
1092
|
+
},
|
|
1093
|
+
LayoutRouterContext: function() {
|
|
1094
|
+
return o;
|
|
1095
|
+
},
|
|
1096
|
+
MissingSlotContext: function() {
|
|
1097
|
+
return a;
|
|
1098
|
+
},
|
|
1099
|
+
TemplateContext: function() {
|
|
1100
|
+
return n;
|
|
1101
|
+
}
|
|
1102
|
+
});
|
|
1103
|
+
const u = /* @__PURE__ */ F._(se), t = u.default.createContext(null), o = u.default.createContext(null), i = u.default.createContext(null), n = u.default.createContext(null);
|
|
1104
|
+
process.env.NODE_ENV !== "production" && (t.displayName = "AppRouterContext", o.displayName = "LayoutRouterContext", i.displayName = "GlobalLayoutRouterContext", n.displayName = "TemplateContext");
|
|
1105
|
+
const a = u.default.createContext(/* @__PURE__ */ new Set());
|
|
1106
|
+
}(Ue)), Ue;
|
|
1107
|
+
}
|
|
1108
|
+
var te = { exports: {} }, re = { exports: {} }, Et;
|
|
1109
|
+
function lr() {
|
|
1110
|
+
return Et || (Et = 1, function(r, e) {
|
|
1107
1111
|
Object.defineProperty(e, "__esModule", {
|
|
1108
1112
|
value: !0
|
|
1109
1113
|
});
|
|
@@ -1138,9 +1142,9 @@ function ar() {
|
|
|
1138
1142
|
(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), r.exports = e.default);
|
|
1139
1143
|
}(re, re.exports)), re.exports;
|
|
1140
1144
|
}
|
|
1141
|
-
var
|
|
1142
|
-
function
|
|
1143
|
-
return
|
|
1145
|
+
var Ot;
|
|
1146
|
+
function fr() {
|
|
1147
|
+
return Ot || (Ot = 1, function(r, e) {
|
|
1144
1148
|
Object.defineProperty(e, "__esModule", {
|
|
1145
1149
|
value: !0
|
|
1146
1150
|
}), Object.defineProperty(e, "useIntersection", {
|
|
@@ -1149,7 +1153,7 @@ function ur() {
|
|
|
1149
1153
|
return c;
|
|
1150
1154
|
}
|
|
1151
1155
|
});
|
|
1152
|
-
const s = se, u =
|
|
1156
|
+
const s = se, u = lr(), t = typeof IntersectionObserver == "function", o = /* @__PURE__ */ new Map(), i = [];
|
|
1153
1157
|
function n(d) {
|
|
1154
1158
|
const h = {
|
|
1155
1159
|
root: d.root || null,
|
|
@@ -1218,9 +1222,9 @@ function ur() {
|
|
|
1218
1222
|
(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), r.exports = e.default);
|
|
1219
1223
|
}(te, te.exports)), te.exports;
|
|
1220
1224
|
}
|
|
1221
|
-
var ne = { exports: {} }, oe = { exports: {} },
|
|
1222
|
-
function
|
|
1223
|
-
return
|
|
1225
|
+
var ne = { exports: {} }, oe = { exports: {} }, xe = {}, Nt;
|
|
1226
|
+
function dr() {
|
|
1227
|
+
return Nt || (Nt = 1, function(r) {
|
|
1224
1228
|
Object.defineProperty(r, "__esModule", {
|
|
1225
1229
|
value: !0
|
|
1226
1230
|
}), Object.defineProperty(r, "normalizeLocalePath", {
|
|
@@ -1237,11 +1241,11 @@ function sr() {
|
|
|
1237
1241
|
detectedLocale: t
|
|
1238
1242
|
};
|
|
1239
1243
|
}
|
|
1240
|
-
}(
|
|
1244
|
+
}(xe)), xe;
|
|
1241
1245
|
}
|
|
1242
|
-
var
|
|
1243
|
-
function
|
|
1244
|
-
return
|
|
1246
|
+
var wt;
|
|
1247
|
+
function hr() {
|
|
1248
|
+
return wt || (wt = 1, function(r, e) {
|
|
1245
1249
|
Object.defineProperty(e, "__esModule", {
|
|
1246
1250
|
value: !0
|
|
1247
1251
|
}), Object.defineProperty(e, "normalizeLocalePath", {
|
|
@@ -1250,16 +1254,16 @@ function cr() {
|
|
|
1250
1254
|
return s;
|
|
1251
1255
|
}
|
|
1252
1256
|
});
|
|
1253
|
-
const s = (u, t) => process.env.__NEXT_I18N_SUPPORT ?
|
|
1257
|
+
const s = (u, t) => process.env.__NEXT_I18N_SUPPORT ? dr().normalizeLocalePath(u, t) : {
|
|
1254
1258
|
pathname: u,
|
|
1255
1259
|
detectedLocale: void 0
|
|
1256
1260
|
};
|
|
1257
1261
|
(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), r.exports = e.default);
|
|
1258
1262
|
}(oe, oe.exports)), oe.exports;
|
|
1259
1263
|
}
|
|
1260
|
-
var ie = { exports: {} },
|
|
1261
|
-
function
|
|
1262
|
-
return
|
|
1264
|
+
var ie = { exports: {} }, De = {}, Tt;
|
|
1265
|
+
function pr() {
|
|
1266
|
+
return Tt || (Tt = 1, function(r) {
|
|
1263
1267
|
Object.defineProperty(r, "__esModule", {
|
|
1264
1268
|
value: !0
|
|
1265
1269
|
}), Object.defineProperty(r, "detectDomainLocale", {
|
|
@@ -1279,11 +1283,11 @@ function lr() {
|
|
|
1279
1283
|
}
|
|
1280
1284
|
}
|
|
1281
1285
|
}
|
|
1282
|
-
}(
|
|
1286
|
+
}(De)), De;
|
|
1283
1287
|
}
|
|
1284
|
-
var
|
|
1285
|
-
function
|
|
1286
|
-
return
|
|
1288
|
+
var St;
|
|
1289
|
+
function mr() {
|
|
1290
|
+
return St || (St = 1, function(r, e) {
|
|
1287
1291
|
Object.defineProperty(e, "__esModule", {
|
|
1288
1292
|
value: !0
|
|
1289
1293
|
}), Object.defineProperty(e, "detectDomainLocale", {
|
|
@@ -1296,14 +1300,14 @@ function fr() {
|
|
|
1296
1300
|
for (var u = arguments.length, t = new Array(u), o = 0; o < u; o++)
|
|
1297
1301
|
t[o] = arguments[o];
|
|
1298
1302
|
if (process.env.__NEXT_I18N_SUPPORT)
|
|
1299
|
-
return
|
|
1303
|
+
return pr().detectDomainLocale(...t);
|
|
1300
1304
|
};
|
|
1301
1305
|
(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), r.exports = e.default);
|
|
1302
1306
|
}(ie, ie.exports)), ie.exports;
|
|
1303
1307
|
}
|
|
1304
|
-
var
|
|
1305
|
-
function
|
|
1306
|
-
return
|
|
1308
|
+
var Lt;
|
|
1309
|
+
function _r() {
|
|
1310
|
+
return Lt || (Lt = 1, function(r, e) {
|
|
1307
1311
|
Object.defineProperty(e, "__esModule", {
|
|
1308
1312
|
value: !0
|
|
1309
1313
|
}), Object.defineProperty(e, "getDomainLocale", {
|
|
@@ -1315,7 +1319,7 @@ function dr() {
|
|
|
1315
1319
|
const s = le(), u = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
1316
1320
|
function t(o, i, n, a) {
|
|
1317
1321
|
if (process.env.__NEXT_I18N_SUPPORT) {
|
|
1318
|
-
const c =
|
|
1322
|
+
const c = hr().normalizeLocalePath, d = mr().detectDomainLocale, h = i || c(o, n).detectedLocale, m = d(a, void 0, h);
|
|
1319
1323
|
if (m) {
|
|
1320
1324
|
const p = "http" + (m.http ? "" : "s") + "://", b = h === m.defaultLocale ? "" : "/" + h;
|
|
1321
1325
|
return "" + p + m.domain + (0, s.normalizePathTrailingSlash)("" + u + b + o);
|
|
@@ -1327,9 +1331,9 @@ function dr() {
|
|
|
1327
1331
|
(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), r.exports = e.default);
|
|
1328
1332
|
}(ne, ne.exports)), ne.exports;
|
|
1329
1333
|
}
|
|
1330
|
-
var ae = { exports: {} },
|
|
1331
|
-
function
|
|
1332
|
-
return
|
|
1334
|
+
var ae = { exports: {} }, jt;
|
|
1335
|
+
function gr() {
|
|
1336
|
+
return jt || (jt = 1, function(r, e) {
|
|
1333
1337
|
Object.defineProperty(e, "__esModule", {
|
|
1334
1338
|
value: !0
|
|
1335
1339
|
}), Object.defineProperty(e, "addBasePath", {
|
|
@@ -1338,16 +1342,16 @@ function hr() {
|
|
|
1338
1342
|
return o;
|
|
1339
1343
|
}
|
|
1340
1344
|
});
|
|
1341
|
-
const s =
|
|
1345
|
+
const s = kt(), u = le(), t = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
1342
1346
|
function o(i, n) {
|
|
1343
1347
|
return (0, u.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !n ? i : (0, s.addPathPrefix)(i, t));
|
|
1344
1348
|
}
|
|
1345
1349
|
(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), r.exports = e.default);
|
|
1346
1350
|
}(ae, ae.exports)), ae.exports;
|
|
1347
1351
|
}
|
|
1348
|
-
var ue = { exports: {} },
|
|
1349
|
-
function
|
|
1350
|
-
return
|
|
1352
|
+
var ue = { exports: {} }, Mt;
|
|
1353
|
+
function yr() {
|
|
1354
|
+
return Mt || (Mt = 1, function(r, e) {
|
|
1351
1355
|
Object.defineProperty(e, "__esModule", {
|
|
1352
1356
|
value: !0
|
|
1353
1357
|
});
|
|
@@ -1415,7 +1419,7 @@ function pr() {
|
|
|
1415
1419
|
return E;
|
|
1416
1420
|
}
|
|
1417
1421
|
});
|
|
1418
|
-
const s = F, u =
|
|
1422
|
+
const s = F, u = Bt, t = /* @__PURE__ */ s._(se), o = ir(), i = xt(), n = It(), a = ce(), c = ur(), d = sr(), h = cr(), m = fr(), p = _r(), b = gr(), l = yr(), _ = /* @__PURE__ */ new Set();
|
|
1419
1423
|
function y(P, g, w, S, j, C) {
|
|
1420
1424
|
if (typeof window > "u" || !C && !(0, i.isLocalURL)(g))
|
|
1421
1425
|
return;
|
|
@@ -1462,11 +1466,11 @@ function pr() {
|
|
|
1462
1466
|
}
|
|
1463
1467
|
const E = /* @__PURE__ */ t.default.forwardRef(function(g, w) {
|
|
1464
1468
|
let S;
|
|
1465
|
-
const { href: j, as: C, children: $, prefetch: z = null, passHref: W, replace: fe, shallow:
|
|
1469
|
+
const { href: j, as: C, children: $, prefetch: z = null, passHref: W, replace: fe, shallow: We, scroll: G, locale: A, onClick: de, onMouseEnter: he, onTouchStart: $e, legacyBehavior: I = !1, ...zt } = g;
|
|
1466
1470
|
S = $, I && (typeof S == "string" || typeof S == "number") && (S = /* @__PURE__ */ (0, u.jsx)("a", {
|
|
1467
1471
|
children: S
|
|
1468
1472
|
}));
|
|
1469
|
-
const L = t.default.useContext(d.RouterContext),
|
|
1473
|
+
const L = t.default.useContext(d.RouterContext), Ht = t.default.useContext(h.AppRouterContext), U = L ?? Ht, x = !L, V = z !== !1, X = z === null ? l.PrefetchKind.AUTO : l.PrefetchKind.FULL;
|
|
1470
1474
|
if (process.env.NODE_ENV !== "production") {
|
|
1471
1475
|
let O = function(N) {
|
|
1472
1476
|
return new Error("Failed prop type: The prop `" + N.key + "` expects a " + N.expected + " in `<Link>`, but got `" + N.actual + "` instead." + (typeof window < "u" ? `
|
|
@@ -1523,15 +1527,15 @@ Open your browser's console to view the Component stack trace.` : ""));
|
|
|
1523
1527
|
actual: k
|
|
1524
1528
|
});
|
|
1525
1529
|
});
|
|
1526
|
-
const
|
|
1527
|
-
g.prefetch && !
|
|
1530
|
+
const Xe = t.default.useRef(!1);
|
|
1531
|
+
g.prefetch && !Xe.current && !x && (Xe.current = !0, console.warn("Next.js auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: https://nextjs.org/docs/messages/prefetch-true-deprecated"));
|
|
1528
1532
|
}
|
|
1529
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
1533
|
+
if (process.env.NODE_ENV !== "production" && x && !C) {
|
|
1530
1534
|
let O;
|
|
1531
1535
|
if (typeof j == "string" ? O = j : typeof j == "object" && typeof j.pathname == "string" && (O = j.pathname), O && O.split("/").some((K) => K.startsWith("[") && K.endsWith("]")))
|
|
1532
1536
|
throw new Error("Dynamic href `" + O + "` found in <Link> while using the `/app` router, this is not supported. Read more: https://nextjs.org/docs/messages/app-dir-dynamic-href");
|
|
1533
1537
|
}
|
|
1534
|
-
const { href:
|
|
1538
|
+
const { href: D, as: q } = t.default.useMemo(() => {
|
|
1535
1539
|
if (!L) {
|
|
1536
1540
|
const K = f(j);
|
|
1537
1541
|
return {
|
|
@@ -1548,7 +1552,7 @@ Open your browser's console to view the Component stack trace.` : ""));
|
|
|
1548
1552
|
L,
|
|
1549
1553
|
j,
|
|
1550
1554
|
C
|
|
1551
|
-
]),
|
|
1555
|
+
]), Be = t.default.useRef(D), Ke = t.default.useRef(q);
|
|
1552
1556
|
let M;
|
|
1553
1557
|
if (I)
|
|
1554
1558
|
if (process.env.NODE_ENV === "development") {
|
|
@@ -1564,60 +1568,60 @@ Open your browser's console to view the Component stack trace.` : "")) : new Err
|
|
|
1564
1568
|
else if (process.env.NODE_ENV === "development" && (S == null ? void 0 : S.type) === "a")
|
|
1565
1569
|
throw new Error(`Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
|
|
1566
1570
|
Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`);
|
|
1567
|
-
const B = I ? M && typeof M == "object" && M.ref : w, [
|
|
1571
|
+
const B = I ? M && typeof M == "object" && M.ref : w, [Fe, Ge, Ve] = (0, m.useIntersection)({
|
|
1568
1572
|
rootMargin: "200px"
|
|
1569
|
-
}),
|
|
1570
|
-
(
|
|
1573
|
+
}), Wt = t.default.useCallback((O) => {
|
|
1574
|
+
(Ke.current !== q || Be.current !== D) && (Ve(), Ke.current = q, Be.current = D), Fe(O), B && (typeof B == "function" ? B(O) : typeof B == "object" && (B.current = O));
|
|
1571
1575
|
}, [
|
|
1572
1576
|
q,
|
|
1573
1577
|
B,
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1578
|
+
D,
|
|
1579
|
+
Ve,
|
|
1580
|
+
Fe
|
|
1577
1581
|
]);
|
|
1578
1582
|
t.default.useEffect(() => {
|
|
1579
|
-
process.env.NODE_ENV === "production" && U && (!
|
|
1583
|
+
process.env.NODE_ENV === "production" && U && (!Ge || !V || y(U, D, q, {
|
|
1580
1584
|
locale: A
|
|
1581
1585
|
}, {
|
|
1582
1586
|
kind: X
|
|
1583
|
-
},
|
|
1587
|
+
}, x));
|
|
1584
1588
|
}, [
|
|
1585
1589
|
q,
|
|
1586
|
-
|
|
1587
|
-
|
|
1590
|
+
D,
|
|
1591
|
+
Ge,
|
|
1588
1592
|
A,
|
|
1589
1593
|
V,
|
|
1590
1594
|
L == null ? void 0 : L.locale,
|
|
1591
1595
|
U,
|
|
1592
|
-
|
|
1596
|
+
x,
|
|
1593
1597
|
X
|
|
1594
1598
|
]);
|
|
1595
1599
|
const Q = {
|
|
1596
|
-
ref:
|
|
1600
|
+
ref: Wt,
|
|
1597
1601
|
onClick(O) {
|
|
1598
1602
|
if (process.env.NODE_ENV !== "production" && !O)
|
|
1599
1603
|
throw new Error('Component rendered inside next/link has to pass click event to "onClick" prop.');
|
|
1600
|
-
!I && typeof de == "function" && de(O), I && M.props && typeof M.props.onClick == "function" && M.props.onClick(O), U && (O.defaultPrevented || R(O, U,
|
|
1604
|
+
!I && typeof de == "function" && de(O), I && M.props && typeof M.props.onClick == "function" && M.props.onClick(O), U && (O.defaultPrevented || R(O, U, D, q, fe, We, G, A, x));
|
|
1601
1605
|
},
|
|
1602
1606
|
onMouseEnter(O) {
|
|
1603
|
-
!I && typeof he == "function" && he(O), I && M.props && typeof M.props.onMouseEnter == "function" && M.props.onMouseEnter(O), U && ((!V || process.env.NODE_ENV === "development") &&
|
|
1607
|
+
!I && typeof he == "function" && he(O), I && M.props && typeof M.props.onMouseEnter == "function" && M.props.onMouseEnter(O), U && ((!V || process.env.NODE_ENV === "development") && x || y(U, D, q, {
|
|
1604
1608
|
locale: A,
|
|
1605
1609
|
priority: !0,
|
|
1606
1610
|
// @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
|
|
1607
1611
|
bypassPrefetchedCheck: !0
|
|
1608
1612
|
}, {
|
|
1609
1613
|
kind: X
|
|
1610
|
-
},
|
|
1614
|
+
}, x));
|
|
1611
1615
|
},
|
|
1612
1616
|
onTouchStart: process.env.__NEXT_LINK_NO_TOUCH_START ? void 0 : function(H) {
|
|
1613
|
-
!I && typeof
|
|
1617
|
+
!I && typeof $e == "function" && $e(H), I && M.props && typeof M.props.onTouchStart == "function" && M.props.onTouchStart(H), U && (!V && x || y(U, D, q, {
|
|
1614
1618
|
locale: A,
|
|
1615
1619
|
priority: !0,
|
|
1616
1620
|
// @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
|
|
1617
1621
|
bypassPrefetchedCheck: !0
|
|
1618
1622
|
}, {
|
|
1619
1623
|
kind: X
|
|
1620
|
-
},
|
|
1624
|
+
}, x));
|
|
1621
1625
|
}
|
|
1622
1626
|
};
|
|
1623
1627
|
if ((0, a.isAbsoluteUrl)(q))
|
|
@@ -1627,20 +1631,18 @@ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`
|
|
|
1627
1631
|
Q.href = H || (0, b.addBasePath)((0, c.addLocale)(q, O, L == null ? void 0 : L.defaultLocale));
|
|
1628
1632
|
}
|
|
1629
1633
|
return I ? /* @__PURE__ */ t.default.cloneElement(M, Q) : /* @__PURE__ */ (0, u.jsx)("a", {
|
|
1630
|
-
...
|
|
1634
|
+
...zt,
|
|
1631
1635
|
...Q,
|
|
1632
1636
|
children: S
|
|
1633
1637
|
});
|
|
1634
1638
|
});
|
|
1635
1639
|
(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), r.exports = e.default);
|
|
1636
|
-
})(
|
|
1637
|
-
var
|
|
1638
|
-
const
|
|
1640
|
+
})(ke, ke.exports);
|
|
1641
|
+
var vr = ke.exports, Pr = vr;
|
|
1642
|
+
const wr = /* @__PURE__ */ $t(Pr);
|
|
1639
1643
|
export {
|
|
1640
|
-
|
|
1644
|
+
wr as L,
|
|
1641
1645
|
F as _,
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
ir as r,
|
|
1645
|
-
It as s
|
|
1646
|
+
ze as a,
|
|
1647
|
+
sr as r
|
|
1646
1648
|
};
|