@okam/stack-ui 1.27.0 → 1.27.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/components/Carousel/components/CarouselNavigationButton.d.ts +1 -1
- package/index.d.ts +2 -0
- package/index.js +1 -1
- package/index.mjs +158 -151
- package/index10.js +1 -1
- package/index10.mjs +2 -2
- package/index100.js +1 -2
- package/index100.mjs +17 -12
- package/index101.js +2 -1
- package/index101.mjs +22 -45
- package/index102.js +1 -1
- package/index102.mjs +1 -1
- package/index103.js +1 -1
- package/index103.mjs +1 -1
- package/index107.js +1 -1
- package/index107.mjs +1 -1
- package/index108.js +1 -1
- package/index108.mjs +1 -1
- package/index11.js +1 -1
- package/index11.mjs +3 -3
- package/index112.js +1 -1
- package/index112.mjs +1 -1
- package/index113.js +1 -1
- package/index113.mjs +1 -1
- package/index114.js +1 -1
- package/index114.mjs +2 -2
- package/index116.js +1 -1
- package/index116.mjs +3 -3
- package/index118.js +1 -1
- package/index118.mjs +1 -1
- package/index119.js +1 -1
- package/index119.mjs +1 -1
- package/index12.js +1 -1
- package/index12.mjs +44 -15
- package/index121.js +1 -1
- package/index121.mjs +1 -1
- package/index122.js +1 -1
- package/index122.mjs +3 -3
- package/index124.js +1 -1
- package/index124.mjs +2 -2
- package/index125.js +1 -1
- package/index125.mjs +2 -2
- package/index126.js +1 -1
- package/index126.mjs +1 -1
- package/index128.js +1 -1
- package/index128.mjs +1 -1
- package/index13.js +1 -2
- package/index13.mjs +17 -20
- package/index131.js +1 -1
- package/index131.mjs +1 -1
- package/index132.js +1 -1
- package/index132.mjs +1 -1
- package/index133.js +1 -1
- package/index133.mjs +19 -49
- package/index134.js +1 -1
- package/index134.mjs +49 -25
- package/index135.js +1 -1
- package/index135.mjs +25 -19
- package/index137.js +1 -1
- package/index137.mjs +14 -14
- package/index138.js +1 -1
- package/index138.mjs +1 -1
- package/index139.js +1 -1
- package/index139.mjs +3 -3
- package/index14.js +1 -1
- package/index14.mjs +18 -17
- package/index140.js +1 -1
- package/index140.mjs +2 -2
- package/index143.js +1 -1
- package/index143.mjs +1 -1
- package/index147.js +1 -1
- package/index147.mjs +1 -1
- package/index15.js +1 -1
- package/index15.mjs +16 -83
- package/index159.js +11 -1
- package/index159.mjs +116 -2
- package/index16.js +1 -1
- package/index16.mjs +81 -28
- package/index160.js +1 -1
- package/index160.mjs +2 -6
- package/index161.js +1 -1
- package/index161.mjs +5 -64
- package/index162.js +1 -1
- package/index162.mjs +54 -16
- package/index163.js +1 -1
- package/index163.mjs +21 -49
- package/index164.js +1 -1
- package/index164.mjs +42 -143
- package/index165.js +1 -1
- package/index165.mjs +151 -18
- package/index166.js +1 -1
- package/index166.mjs +17 -14
- package/index167.js +1 -1
- package/index167.mjs +14 -34
- package/index168.js +1 -1
- package/index168.mjs +36 -79
- package/index169.js +1 -1
- package/index169.mjs +75 -23
- package/index17.js +1 -1
- package/index17.mjs +30 -32
- package/index170.js +1 -1
- package/index170.mjs +22 -13
- package/index171.js +1 -1
- package/index171.mjs +16 -48
- package/index172.js +1 -1
- package/index172.mjs +54 -2
- package/index173.js +1 -11
- package/index173.mjs +2 -116
- package/index174.js +1 -1
- package/index174.mjs +2 -2
- package/index175.js +1 -1
- package/index175.mjs +2 -2
- package/index176.js +1 -1
- package/index176.mjs +2 -2
- package/index177.js +1 -1
- package/index177.mjs +2 -2
- package/index178.js +1 -1
- package/index178.mjs +3 -3
- package/index179.js +1 -1
- package/index179.mjs +4 -4
- package/index18.js +1 -1
- package/index18.mjs +33 -31
- package/index180.js +1 -1
- package/index180.mjs +1 -1
- package/index181.js +1 -1
- package/index181.mjs +2 -2
- package/index182.js +1 -1
- package/index182.mjs +1 -1
- package/index183.js +1 -1
- package/index183.mjs +2 -2
- package/index184.js +1 -1
- package/index184.mjs +1 -1
- package/index185.js +1 -1
- package/index185.mjs +2 -2
- package/index186.js +1 -1
- package/index186.mjs +1 -1
- package/index187.js +1 -1
- package/index187.mjs +2 -2
- package/index188.js +1 -1
- package/index188.mjs +1 -1
- package/index19.js +1 -1
- package/index19.mjs +30 -33
- package/index191.js +1 -1
- package/index191.mjs +4 -4
- package/index192.js +1 -1
- package/index192.mjs +2 -2
- package/index193.js +1 -1
- package/index193.mjs +5 -5
- package/index194.js +1 -1
- package/index194.mjs +4 -4
- package/index195.js +1 -1
- package/index195.mjs +5 -5
- package/index196.js +1 -1
- package/index196.mjs +5 -5
- package/index197.js +1 -1
- package/index197.mjs +2 -2
- package/index2.js +1 -1
- package/index2.mjs +20 -20
- package/index20.js +1 -1
- package/index20.mjs +32 -67
- package/index21.js +1 -1
- package/index21.mjs +61 -58
- package/index22.js +1 -1
- package/index22.mjs +66 -52
- package/index224.js +1 -1
- package/index224.mjs +123 -306
- package/index225.js +1 -1
- package/index225.mjs +173 -186
- package/index226.js +1 -1
- package/index226.mjs +9 -8
- package/index227.js +1 -1
- package/index227.mjs +3 -26
- package/index228.js +1 -1
- package/index228.mjs +34 -53
- package/index229.js +1 -1
- package/index229.mjs +5 -46
- package/index23.js +1 -1
- package/index23.mjs +37 -41
- package/index230.js +1 -1
- package/index230.mjs +28 -123
- package/index231.js +1 -1
- package/index231.mjs +6 -130
- package/index232.js +1 -1
- package/index232.mjs +293 -159
- package/index233.js +1 -1
- package/index233.mjs +192 -9
- package/index234.js +1 -1
- package/index234.mjs +8 -3
- package/index235.js +1 -1
- package/index235.mjs +25 -35
- package/index236.js +1 -1
- package/index236.mjs +55 -5
- package/index237.js +1 -1
- package/index237.mjs +44 -27
- package/index238.js +1 -1
- package/index238.mjs +124 -6
- package/index24.js +1 -1
- package/index24.mjs +57 -20
- package/index242.js +1 -1
- package/index242.mjs +1 -1
- package/index243.js +1 -1
- package/index243.mjs +1 -1
- package/index245.js +1 -1
- package/index245.mjs +1 -1
- package/index246.js +1 -1
- package/index246.mjs +2 -2
- package/index248.js +1 -1
- package/index248.mjs +2 -2
- package/index249.js +1 -1
- package/index249.mjs +3 -3
- package/index25.js +1 -1
- package/index25.mjs +20 -50
- package/index251.js +1 -1
- package/index251.mjs +1 -1
- package/index26.js +1 -1
- package/index26.mjs +50 -17
- package/index260.js +1 -1
- package/index260.mjs +6 -2
- package/index261.mjs +2 -2
- package/index262.mjs +2 -2
- package/index263.mjs +2 -2
- package/index264.js +1 -1
- package/index264.mjs +2 -72
- package/index265.js +1 -1
- package/index265.mjs +72 -2
- package/index266.mjs +2 -2
- package/index267.js +1 -1
- package/index267.mjs +2 -19
- package/index268.js +1 -1
- package/index268.mjs +19 -2
- package/index269.js +1 -1
- package/index269.mjs +2 -6
- package/index27.js +1 -1
- package/index27.mjs +16 -32
- package/index28.js +1 -1
- package/index28.mjs +32 -23
- package/index29.js +1 -1
- package/index29.mjs +24 -8
- package/index3.js +1 -1
- package/index3.mjs +1 -1
- package/index30.js +1 -1
- package/index30.mjs +8 -32
- package/index31.js +1 -1
- package/index31.mjs +29 -30
- package/index32.js +1 -1
- package/index32.mjs +28 -98
- package/index33.js +1 -1
- package/index33.mjs +102 -8
- package/index34.js +1 -1
- package/index34.mjs +8 -46
- package/index35.js +1 -1
- package/index35.mjs +46 -18
- package/index36.js +2 -1
- package/index36.mjs +19 -6
- package/index37.js +1 -1
- package/index37.mjs +6 -46
- package/index38.js +1 -1
- package/index38.mjs +45 -23
- package/index39.js +2 -1
- package/index39.mjs +26 -5
- package/index4.js +1 -1
- package/index4.mjs +5 -5
- package/index40.js +1 -1
- package/index40.mjs +4 -7
- package/index41.js +1 -1
- package/index41.mjs +5 -5
- package/index42.js +1 -1
- package/index42.mjs +8 -5
- package/index43.js +1 -1
- package/index43.mjs +2 -2
- package/index44.js +1 -1
- package/index44.mjs +1 -1
- package/index45.js +1 -1
- package/index45.mjs +4 -4
- package/index46.js +1 -1
- package/index46.mjs +3 -9
- package/index47.js +1 -1
- package/index47.mjs +7 -9
- package/index48.js +1 -1
- package/index48.mjs +9 -9
- package/index49.js +1 -1
- package/index49.mjs +13 -46
- package/index50.js +1 -1
- package/index50.mjs +46 -8
- package/index51.js +1 -1
- package/index51.mjs +6 -69
- package/index52.js +1 -1
- package/index52.mjs +71 -8
- package/index53.js +1 -1
- package/index53.mjs +7 -12
- package/index54.js +1 -1
- package/index54.mjs +12 -9
- package/index55.js +1 -1
- package/index55.mjs +10 -17
- package/index56.js +1 -1
- package/index56.mjs +17 -13
- package/index57.js +1 -1
- package/index57.mjs +5 -5
- package/index58.js +1 -1
- package/index58.mjs +6 -6
- package/index59.js +1 -1
- package/index59.mjs +10 -8
- package/index6.js +1 -1
- package/index6.mjs +1 -1
- package/index60.js +1 -1
- package/index60.mjs +5 -5
- package/index61.js +1 -1
- package/index61.mjs +6 -8
- package/index62.js +1 -1
- package/index62.mjs +13 -14
- package/index63.js +1 -2
- package/index63.mjs +14 -23
- package/index64.js +1 -1
- package/index64.mjs +21 -15
- package/index65.js +1 -1
- package/index65.mjs +16 -14
- package/index66.js +1 -1
- package/index66.mjs +13 -40
- package/index67.js +1 -1
- package/index67.mjs +39 -36
- package/index68.js +1 -1
- package/index68.mjs +37 -11
- package/index69.js +1 -1
- package/index69.mjs +11 -10
- package/index7.js +1 -1
- package/index7.mjs +2 -2
- package/index70.js +1 -1
- package/index70.mjs +10 -13
- package/index71.js +2 -1
- package/index71.mjs +15 -2
- package/index72.js +1 -1
- package/index72.mjs +11 -8
- package/index73.js +1 -2
- package/index73.mjs +1 -7
- package/index74.js +1 -1
- package/index74.mjs +7 -6
- package/index75.js +1 -1
- package/index75.mjs +6 -6
- package/index76.js +2 -1
- package/index76.mjs +8 -25
- package/index77.js +2 -1
- package/index77.mjs +8 -2
- package/index78.js +1 -6
- package/index78.mjs +25 -94
- package/index79.js +1 -1
- package/index79.mjs +2 -69
- package/index8.js +1 -1
- package/index8.mjs +5 -5
- package/index80.js +6 -1
- package/index80.mjs +82 -29
- package/index81.js +1 -42
- package/index81.mjs +64 -65
- package/index82.js +1 -1
- package/index82.mjs +32 -150
- package/index83.js +42 -9
- package/index83.mjs +65 -52
- package/index84.js +1 -1
- package/index84.mjs +145 -31
- package/index85.js +9 -1
- package/index85.mjs +54 -10
- package/index86.js +1 -1
- package/index86.mjs +38 -28
- package/index87.js +1 -1
- package/index87.mjs +12 -5
- package/index88.js +1 -12
- package/index88.mjs +31 -36
- package/index89.js +1 -1
- package/index89.mjs +6 -29
- package/index9.js +1 -1
- package/index9.mjs +4 -4
- package/index90.js +12 -1
- package/index90.mjs +39 -12
- package/index91.js +1 -7
- package/index91.mjs +23 -13
- package/index92.js +1 -15
- package/index92.mjs +9 -67
- package/index93.js +7 -1
- package/index93.mjs +17 -5
- package/index94.js +13 -14
- package/index94.mjs +63 -17
- package/index95.js +1 -1
- package/index95.mjs +7 -42
- package/index96.js +16 -1
- package/index96.mjs +24 -44
- package/index97.js +1 -1
- package/index97.mjs +42 -48
- package/index98.js +1 -1
- package/index98.mjs +45 -17
- package/index99.js +1 -2
- package/index99.mjs +47 -21
- package/package.json +1 -1
package/index16.mjs
CHANGED
|
@@ -1,35 +1,88 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as u, jsx as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
2
|
+
import { jsxs as u, jsx as o } from "react/jsx-runtime";
|
|
3
|
+
import { isEmpty as P } from "lodash";
|
|
4
|
+
import { useRef as T } from "react";
|
|
5
|
+
import { useSelect as B, HiddenSelect as D } from "react-aria";
|
|
6
|
+
import { useFormContext as E, get as W } from "react-hook-form";
|
|
7
|
+
import { useSelectState as j } from "react-stately";
|
|
8
|
+
import R from "./index25.mjs";
|
|
9
|
+
import { ButtonWithForwardRef as q } from "./index6.mjs";
|
|
10
|
+
import C from "./index14.mjs";
|
|
11
|
+
import $ from "./index3.mjs";
|
|
12
|
+
import H from "./index37.mjs";
|
|
13
|
+
import { ListBox as K } from "./index107.mjs";
|
|
14
|
+
import L from "./index108.mjs";
|
|
15
|
+
const A = (m) => {
|
|
16
|
+
var b;
|
|
12
17
|
const {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
18
|
+
name: i,
|
|
19
|
+
placeholderLabel: a,
|
|
20
|
+
disabled: l,
|
|
21
|
+
hookFormRef: c,
|
|
22
|
+
isError: r = !1,
|
|
23
|
+
errorMessage: n,
|
|
24
|
+
themeName: e = "select",
|
|
25
|
+
tokens: f,
|
|
26
|
+
customTheme: O,
|
|
27
|
+
label: d,
|
|
28
|
+
onSelectionChange: x,
|
|
29
|
+
defaultValue: N,
|
|
30
|
+
value: k,
|
|
31
|
+
icon: y,
|
|
32
|
+
popoverMatchesWidth: V,
|
|
33
|
+
options: w,
|
|
34
|
+
...g
|
|
35
|
+
} = m, s = T(null), t = j({
|
|
36
|
+
...g,
|
|
37
|
+
children: H,
|
|
38
|
+
selectedKey: k,
|
|
39
|
+
defaultSelectedKey: N,
|
|
40
|
+
items: w,
|
|
41
|
+
onSelectionChange: x
|
|
42
|
+
}), { triggerProps: F, menuProps: M, labelProps: v } = B({ ...g, label: d }, t, s), { onPress: p, onPressStart: h, ...I } = F;
|
|
43
|
+
return /* @__PURE__ */ u(R, { themeName: `${e}.wrapper`, children: [
|
|
44
|
+
d && /* @__PURE__ */ o($, { ...v, as: "label", themeName: `${e}.label`, children: d }),
|
|
45
|
+
/* @__PURE__ */ o(D, { ...c, state: t, triggerRef: s, name: i, isDisabled: !0 }),
|
|
46
|
+
/* @__PURE__ */ u(R, { themeName: `${e}.container`, children: [
|
|
47
|
+
/* @__PURE__ */ u(
|
|
48
|
+
q,
|
|
49
|
+
{
|
|
50
|
+
...I,
|
|
51
|
+
handlePress: (S) => {
|
|
52
|
+
p == null || p(S), h == null || h(S);
|
|
53
|
+
},
|
|
54
|
+
ref: s,
|
|
55
|
+
disabled: l,
|
|
56
|
+
themeName: `${e}.button`,
|
|
57
|
+
tokens: { ...f, intent: r ? "error" : "default" },
|
|
58
|
+
children: [
|
|
59
|
+
t.selectedItem ? t.selectedItem.rendered : a,
|
|
60
|
+
/* @__PURE__ */ o(C, { icon: y ?? "ArrowDown" })
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
),
|
|
64
|
+
t.isOpen && s.current && /* @__PURE__ */ o(
|
|
65
|
+
L,
|
|
66
|
+
{
|
|
67
|
+
tokens: f,
|
|
68
|
+
state: t,
|
|
69
|
+
triggerRef: s,
|
|
70
|
+
placement: "bottom",
|
|
71
|
+
themeName: `${e}.popover`,
|
|
72
|
+
style: { [`--${e}-container-width`]: `${(b = s.current) == null ? void 0 : b.offsetWidth}px` },
|
|
73
|
+
children: /* @__PURE__ */ o(K, { ...M, themeName: e, state: t })
|
|
74
|
+
}
|
|
75
|
+
),
|
|
76
|
+
r && /* @__PURE__ */ o($, { tokens: { ...f, isError: r }, themeName: `${e}.errorMessage`, children: n })
|
|
77
|
+
] })
|
|
31
78
|
] });
|
|
79
|
+
}, se = (m) => {
|
|
80
|
+
const { name: i, required: a } = m, { register: l, formState: c } = E(), r = W(c.errors, i), n = (r == null ? void 0 : r.message) ?? void 0, { ref: e } = l(i, {
|
|
81
|
+
required: a ? "This is an error message" : !1
|
|
82
|
+
});
|
|
83
|
+
return /* @__PURE__ */ o(A, { ...m, isError: !P(n), errorMessage: n, hookFormRef: e });
|
|
32
84
|
};
|
|
33
85
|
export {
|
|
86
|
+
se as ReactHookFormSelect,
|
|
34
87
|
A as default
|
|
35
88
|
};
|
package/index160.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
|
package/index160.mjs
CHANGED
package/index161.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const r=require("./index173.js");r.__exports._=r.__exports._interop_require_default=_;function _(e){return e&&e.__esModule?e:{default:e}}module.exports=r.__exports;
|
package/index161.mjs
CHANGED
|
@@ -1,67 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { __require as O } from "./index164.mjs";
|
|
6
|
-
import { __require as S } from "./index204.mjs";
|
|
7
|
-
import { __require as w } from "./index162.mjs";
|
|
8
|
-
import { __require as M } from "./index205.mjs";
|
|
9
|
-
import { __require as A } from "./index206.mjs";
|
|
10
|
-
var p;
|
|
11
|
-
function $() {
|
|
12
|
-
return p ? n.exports : (p = 1, function(d, t) {
|
|
13
|
-
Object.defineProperty(t, "__esModule", {
|
|
14
|
-
value: !0
|
|
15
|
-
}), Object.defineProperty(t, "resolveHref", {
|
|
16
|
-
enumerable: !0,
|
|
17
|
-
get: function() {
|
|
18
|
-
return v;
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
const q = H(), f = L(), g = j(), y = O(), P = S(), U = w(), R = M(), b = A();
|
|
22
|
-
function v(s, l, a) {
|
|
23
|
-
let i, r = typeof l == "string" ? l : (0, f.formatWithValidation)(l);
|
|
24
|
-
const o = r.match(/^[a-zA-Z]{1,}:\/\//), m = o ? r.slice(o[0].length) : r;
|
|
25
|
-
if ((m.split("?", 1)[0] || "").match(/(\/\/|\\)/)) {
|
|
26
|
-
console.error("Invalid href '" + r + "' passed to next/router in page: '" + s.pathname + "'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");
|
|
27
|
-
const e = (0, y.normalizeRepeatedSlashes)(m);
|
|
28
|
-
r = (o ? o[0] : "") + e;
|
|
29
|
-
}
|
|
30
|
-
if (!(0, U.isLocalURL)(r))
|
|
31
|
-
return a ? [
|
|
32
|
-
r
|
|
33
|
-
] : r;
|
|
34
|
-
try {
|
|
35
|
-
i = new URL(r.startsWith("#") ? s.asPath : s.pathname, "http://n");
|
|
36
|
-
} catch {
|
|
37
|
-
i = new URL("/", "http://n");
|
|
38
|
-
}
|
|
39
|
-
try {
|
|
40
|
-
const e = new URL(r, i);
|
|
41
|
-
e.pathname = (0, P.normalizePathTrailingSlash)(e.pathname);
|
|
42
|
-
let c = "";
|
|
43
|
-
if ((0, R.isDynamicRoute)(e.pathname) && e.searchParams && a) {
|
|
44
|
-
const h = (0, q.searchParamsToUrlQuery)(e.searchParams), { result: _, params: z } = (0, b.interpolateAs)(e.pathname, e.pathname, h);
|
|
45
|
-
_ && (c = (0, f.formatWithValidation)({
|
|
46
|
-
pathname: _,
|
|
47
|
-
hash: e.hash,
|
|
48
|
-
query: (0, g.omit)(h, z)
|
|
49
|
-
}));
|
|
50
|
-
}
|
|
51
|
-
const u = e.origin === i.origin ? e.href.slice(e.origin.length) : e.href;
|
|
52
|
-
return a ? [
|
|
53
|
-
u,
|
|
54
|
-
c || u
|
|
55
|
-
] : u;
|
|
56
|
-
} catch {
|
|
57
|
-
return a ? [
|
|
58
|
-
r
|
|
59
|
-
] : r;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), d.exports = t.default);
|
|
63
|
-
}(n, n.exports), n.exports);
|
|
1
|
+
import { __exports as r } from "./index173.mjs";
|
|
2
|
+
r._ = r._interop_require_default = _;
|
|
3
|
+
function _(e) {
|
|
4
|
+
return e && e.__esModule ? e : { default: e };
|
|
64
5
|
}
|
|
65
6
|
export {
|
|
66
|
-
|
|
7
|
+
r as default
|
|
67
8
|
};
|
package/index162.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index201.js"),j=require("./index202.js"),z=require("./index164.js"),H=require("./index203.js"),L=require("./index165.js"),M=require("./index204.js"),O=require("./index163.js"),w=require("./index205.js"),T=require("./index206.js");var m;function A(){return m||(m=1,function(q,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return U}});const p=j.__require(),c=z.__require(),g=H.__require(),y=L.__require(),P=M.__require(),b=O.__require(),R=w.__require(),v=T.__require();function U(s,l,a){let n,r=typeof l=="string"?l:(0,c.formatWithValidation)(l);const i=r.match(/^[a-zA-Z]{1,}:\/\//),_=i?r.slice(i[0].length):r;if((_.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+r+"' passed to next/router in page: '"+s.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");const e=(0,y.normalizeRepeatedSlashes)(_);r=(i?i[0]:"")+e}if(!(0,b.isLocalURL)(r))return a?[r]:r;try{n=new URL(r.startsWith("#")?s.asPath:s.pathname,"http://n")}catch{n=new URL("/","http://n")}try{const e=new URL(r,n);e.pathname=(0,P.normalizePathTrailingSlash)(e.pathname);let f="";if((0,R.isDynamicRoute)(e.pathname)&&e.searchParams&&a){const h=(0,p.searchParamsToUrlQuery)(e.searchParams),{result:d,params:S}=(0,v.interpolateAs)(e.pathname,e.pathname,h);d&&(f=(0,c.formatWithValidation)({pathname:d,hash:e.hash,query:(0,g.omit)(h,S)}))}const u=e.origin===n.origin?e.href.slice(e.origin.length):e.href;return a?[u,f||u]:u}catch{return a?[r]:r}}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),q.exports=t.default)}(o.__module,o.__module.exports)),o.__module.exports}exports.__require=A;
|
package/index162.mjs
CHANGED
|
@@ -1,29 +1,67 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { __require as
|
|
3
|
-
import { __require as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { __module as n } from "./index201.mjs";
|
|
2
|
+
import { __require as H } from "./index202.mjs";
|
|
3
|
+
import { __require as L } from "./index164.mjs";
|
|
4
|
+
import { __require as j } from "./index203.mjs";
|
|
5
|
+
import { __require as O } from "./index165.mjs";
|
|
6
|
+
import { __require as S } from "./index204.mjs";
|
|
7
|
+
import { __require as w } from "./index163.mjs";
|
|
8
|
+
import { __require as M } from "./index205.mjs";
|
|
9
|
+
import { __require as A } from "./index206.mjs";
|
|
10
|
+
var p;
|
|
11
|
+
function $() {
|
|
12
|
+
return p ? n.exports : (p = 1, function(d, t) {
|
|
7
13
|
Object.defineProperty(t, "__esModule", {
|
|
8
14
|
value: !0
|
|
9
|
-
}), Object.defineProperty(t, "
|
|
15
|
+
}), Object.defineProperty(t, "resolveHref", {
|
|
10
16
|
enumerable: !0,
|
|
11
17
|
get: function() {
|
|
12
|
-
return
|
|
18
|
+
return v;
|
|
13
19
|
}
|
|
14
20
|
});
|
|
15
|
-
const
|
|
16
|
-
function
|
|
17
|
-
|
|
21
|
+
const q = H(), f = L(), g = j(), y = O(), P = S(), U = w(), R = M(), b = A();
|
|
22
|
+
function v(s, l, a) {
|
|
23
|
+
let i, r = typeof l == "string" ? l : (0, f.formatWithValidation)(l);
|
|
24
|
+
const o = r.match(/^[a-zA-Z]{1,}:\/\//), m = o ? r.slice(o[0].length) : r;
|
|
25
|
+
if ((m.split("?", 1)[0] || "").match(/(\/\/|\\)/)) {
|
|
26
|
+
console.error("Invalid href '" + r + "' passed to next/router in page: '" + s.pathname + "'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");
|
|
27
|
+
const e = (0, y.normalizeRepeatedSlashes)(m);
|
|
28
|
+
r = (o ? o[0] : "") + e;
|
|
29
|
+
}
|
|
30
|
+
if (!(0, U.isLocalURL)(r))
|
|
31
|
+
return a ? [
|
|
32
|
+
r
|
|
33
|
+
] : r;
|
|
34
|
+
try {
|
|
35
|
+
i = new URL(r.startsWith("#") ? s.asPath : s.pathname, "http://n");
|
|
36
|
+
} catch {
|
|
37
|
+
i = new URL("/", "http://n");
|
|
38
|
+
}
|
|
18
39
|
try {
|
|
19
|
-
const e =
|
|
20
|
-
|
|
40
|
+
const e = new URL(r, i);
|
|
41
|
+
e.pathname = (0, P.normalizePathTrailingSlash)(e.pathname);
|
|
42
|
+
let c = "";
|
|
43
|
+
if ((0, R.isDynamicRoute)(e.pathname) && e.searchParams && a) {
|
|
44
|
+
const h = (0, q.searchParamsToUrlQuery)(e.searchParams), { result: _, params: z } = (0, b.interpolateAs)(e.pathname, e.pathname, h);
|
|
45
|
+
_ && (c = (0, f.formatWithValidation)({
|
|
46
|
+
pathname: _,
|
|
47
|
+
hash: e.hash,
|
|
48
|
+
query: (0, g.omit)(h, z)
|
|
49
|
+
}));
|
|
50
|
+
}
|
|
51
|
+
const u = e.origin === i.origin ? e.href.slice(e.origin.length) : e.href;
|
|
52
|
+
return a ? [
|
|
53
|
+
u,
|
|
54
|
+
c || u
|
|
55
|
+
] : u;
|
|
21
56
|
} catch {
|
|
22
|
-
return
|
|
57
|
+
return a ? [
|
|
58
|
+
r
|
|
59
|
+
] : r;
|
|
23
60
|
}
|
|
24
61
|
}
|
|
25
|
-
|
|
62
|
+
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), d.exports = t.default);
|
|
63
|
+
}(n, n.exports), n.exports);
|
|
26
64
|
}
|
|
27
65
|
export {
|
|
28
|
-
|
|
66
|
+
$ as __require
|
|
29
67
|
};
|
package/index163.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index207.js"),c=require("./index165.js"),l=require("./index208.js");var s;function _(){return s||(s=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});const i=c.__require(),u=l.__require();function a(n){if(!(0,i.isAbsoluteUrl)(n))return!0;try{const e=(0,i.getLocationOrigin)(),o=new URL(n,e);return o.origin===e&&(0,u.hasBasePath)(o.pathname)}catch{return!1}}}(r.__exports)),r.__exports}exports.__require=_;
|
package/index163.mjs
CHANGED
|
@@ -1,57 +1,29 @@
|
|
|
1
|
-
import { __exports as
|
|
2
|
-
import { __require as
|
|
3
|
-
import { __require as
|
|
4
|
-
var
|
|
5
|
-
function
|
|
6
|
-
return
|
|
7
|
-
Object.defineProperty(
|
|
1
|
+
import { __exports as r } from "./index207.mjs";
|
|
2
|
+
import { __require as c } from "./index165.mjs";
|
|
3
|
+
import { __require as l } from "./index208.mjs";
|
|
4
|
+
var n;
|
|
5
|
+
function h() {
|
|
6
|
+
return n ? r : (n = 1, function(t) {
|
|
7
|
+
Object.defineProperty(t, "__esModule", {
|
|
8
8
|
value: !0
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
enumerable: !0,
|
|
13
|
-
get: t[o]
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
m(h, {
|
|
17
|
-
formatUrl: function() {
|
|
18
|
-
return p;
|
|
19
|
-
},
|
|
20
|
-
urlObjectKeys: function() {
|
|
9
|
+
}), Object.defineProperty(t, "isLocalURL", {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: function() {
|
|
21
12
|
return u;
|
|
22
|
-
},
|
|
23
|
-
formatWithValidation: function() {
|
|
24
|
-
return q;
|
|
25
13
|
}
|
|
26
14
|
});
|
|
27
|
-
const
|
|
28
|
-
function
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"hash",
|
|
37
|
-
"host",
|
|
38
|
-
"hostname",
|
|
39
|
-
"href",
|
|
40
|
-
"path",
|
|
41
|
-
"pathname",
|
|
42
|
-
"port",
|
|
43
|
-
"protocol",
|
|
44
|
-
"query",
|
|
45
|
-
"search",
|
|
46
|
-
"slashes"
|
|
47
|
-
];
|
|
48
|
-
function q(e) {
|
|
49
|
-
return process.env.NODE_ENV === "development" && e !== null && typeof e == "object" && Object.keys(e).forEach((t) => {
|
|
50
|
-
u.includes(t) || console.warn("Unknown key passed via urlObject into url.format: " + t);
|
|
51
|
-
}), p(e);
|
|
15
|
+
const i = c(), s = l();
|
|
16
|
+
function u(o) {
|
|
17
|
+
if (!(0, i.isAbsoluteUrl)(o)) return !0;
|
|
18
|
+
try {
|
|
19
|
+
const e = (0, i.getLocationOrigin)(), a = new URL(o, e);
|
|
20
|
+
return a.origin === e && (0, s.hasBasePath)(a.pathname);
|
|
21
|
+
} catch {
|
|
22
|
+
return !1;
|
|
23
|
+
}
|
|
52
24
|
}
|
|
53
|
-
}(
|
|
25
|
+
}(r), r);
|
|
54
26
|
}
|
|
55
27
|
export {
|
|
56
|
-
|
|
28
|
+
h as __require
|
|
57
29
|
};
|
package/index164.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index209.js"),y=require("./index210.js"),g=require("./index202.js");var p;function U(){return p||(p=1,function(u){Object.defineProperty(u,"__esModule",{value:!0});function _(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}_(u,{formatUrl:function(){return h},urlObjectKeys:function(){return l},formatWithValidation:function(){return q}});const d=y.__require()._(g.__require()),m=/https?|ftp|gopher|file/;function h(e){let{auth:t,hostname:o}=e,s=e.protocol||"",n=e.pathname||"",c=e.hash||"",a=e.query||"",r=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?r=t+e.host:o&&(r=t+(~o.indexOf(":")?"["+o+"]":o),e.port&&(r+=":"+e.port)),a&&typeof a=="object"&&(a=String(d.urlQueryToSearchParams(a)));let i=e.search||a&&"?"+a||"";return s&&!s.endsWith(":")&&(s+=":"),e.slashes||(!s||m.test(s))&&r!==!1?(r="//"+(r||""),n&&n[0]!=="/"&&(n="/"+n)):r||(r=""),c&&c[0]!=="#"&&(c="#"+c),i&&i[0]!=="?"&&(i="?"+i),n=n.replace(/[?#]/g,encodeURIComponent),i=i.replace("#","%23"),""+s+r+n+i+c}const l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function q(e){return process.env.NODE_ENV==="development"&&e!==null&&typeof e=="object"&&Object.keys(e).forEach(t=>{l.includes(t)||console.warn("Unknown key passed via urlObject into url.format: "+t)}),h(e)}}(f.__exports)),f.__exports}exports.__require=U;
|
package/index164.mjs
CHANGED
|
@@ -1,158 +1,57 @@
|
|
|
1
|
-
import { __exports as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { __exports as c } from "./index209.mjs";
|
|
2
|
+
import { __require as y } from "./index210.mjs";
|
|
3
|
+
import { __require as U } from "./index202.mjs";
|
|
4
|
+
var l;
|
|
5
|
+
function x() {
|
|
6
|
+
return l ? c : (l = 1, function(h) {
|
|
7
|
+
Object.defineProperty(h, "__esModule", {
|
|
6
8
|
value: !0
|
|
7
9
|
});
|
|
8
|
-
function m(e,
|
|
9
|
-
for (var
|
|
10
|
+
function m(e, t) {
|
|
11
|
+
for (var o in t) Object.defineProperty(e, o, {
|
|
10
12
|
enumerable: !0,
|
|
11
|
-
get:
|
|
13
|
+
get: t[o]
|
|
12
14
|
});
|
|
13
15
|
}
|
|
14
|
-
m(
|
|
15
|
-
|
|
16
|
+
m(h, {
|
|
17
|
+
formatUrl: function() {
|
|
16
18
|
return p;
|
|
17
19
|
},
|
|
18
|
-
|
|
19
|
-
return
|
|
20
|
+
urlObjectKeys: function() {
|
|
21
|
+
return u;
|
|
20
22
|
},
|
|
21
|
-
|
|
22
|
-
return
|
|
23
|
-
},
|
|
24
|
-
getLocationOrigin: function() {
|
|
25
|
-
return c;
|
|
26
|
-
},
|
|
27
|
-
getURL: function() {
|
|
28
|
-
return P;
|
|
29
|
-
},
|
|
30
|
-
getDisplayName: function() {
|
|
31
|
-
return s;
|
|
32
|
-
},
|
|
33
|
-
isResSent: function() {
|
|
34
|
-
return f;
|
|
35
|
-
},
|
|
36
|
-
normalizeRepeatedSlashes: function() {
|
|
37
|
-
return y;
|
|
38
|
-
},
|
|
39
|
-
loadGetInitialProps: function() {
|
|
40
|
-
return l;
|
|
41
|
-
},
|
|
42
|
-
SP: function() {
|
|
43
|
-
return d;
|
|
44
|
-
},
|
|
45
|
-
ST: function() {
|
|
46
|
-
return w;
|
|
47
|
-
},
|
|
48
|
-
DecodeError: function() {
|
|
49
|
-
return S;
|
|
50
|
-
},
|
|
51
|
-
NormalizeError: function() {
|
|
52
|
-
return I;
|
|
53
|
-
},
|
|
54
|
-
PageNotFoundError: function() {
|
|
55
|
-
return O;
|
|
56
|
-
},
|
|
57
|
-
MissingStaticPage: function() {
|
|
58
|
-
return v;
|
|
59
|
-
},
|
|
60
|
-
MiddlewareNotFoundError: function() {
|
|
61
|
-
return b;
|
|
62
|
-
},
|
|
63
|
-
stringifyError: function() {
|
|
64
|
-
return L;
|
|
23
|
+
formatWithValidation: function() {
|
|
24
|
+
return q;
|
|
65
25
|
}
|
|
66
26
|
});
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
|
|
27
|
+
const _ = /* @__PURE__ */ y()._(U()), d = /https?|ftp|gopher|file/;
|
|
28
|
+
function p(e) {
|
|
29
|
+
let { auth: t, hostname: o } = e, a = e.protocol || "", n = e.pathname || "", f = e.hash || "", s = e.query || "", r = !1;
|
|
30
|
+
t = t ? encodeURIComponent(t).replace(/%3A/i, ":") + "@" : "", e.host ? r = t + e.host : o && (r = t + (~o.indexOf(":") ? "[" + o + "]" : o), e.port && (r += ":" + e.port)), s && typeof s == "object" && (s = String(_.urlQueryToSearchParams(s)));
|
|
31
|
+
let i = e.search || s && "?" + s || "";
|
|
32
|
+
return a && !a.endsWith(":") && (a += ":"), e.slashes || (!a || d.test(a)) && r !== !1 ? (r = "//" + (r || ""), n && n[0] !== "/" && (n = "/" + n)) : r || (r = ""), f && f[0] !== "#" && (f = "#" + f), i && i[0] !== "?" && (i = "?" + i), n = n.replace(/[?#]/g, encodeURIComponent), i = i.replace("#", "%23"), "" + a + r + n + i + f;
|
|
33
|
+
}
|
|
34
|
+
const u = [
|
|
35
|
+
"auth",
|
|
36
|
+
"hash",
|
|
37
|
+
"host",
|
|
38
|
+
"hostname",
|
|
39
|
+
"href",
|
|
40
|
+
"path",
|
|
41
|
+
"pathname",
|
|
42
|
+
"port",
|
|
43
|
+
"protocol",
|
|
44
|
+
"query",
|
|
45
|
+
"search",
|
|
46
|
+
"slashes"
|
|
74
47
|
];
|
|
75
|
-
function
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
n[o] = arguments[o];
|
|
80
|
-
return r || (r = !0, t = e(...n)), t;
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
const h = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, N = (e) => h.test(e);
|
|
84
|
-
function c() {
|
|
85
|
-
const { protocol: e, hostname: r, port: t } = window.location;
|
|
86
|
-
return e + "//" + r + (t ? ":" + t : "");
|
|
87
|
-
}
|
|
88
|
-
function P() {
|
|
89
|
-
const { href: e } = window.location, r = c();
|
|
90
|
-
return e.substring(r.length);
|
|
91
|
-
}
|
|
92
|
-
function s(e) {
|
|
93
|
-
return typeof e == "string" ? e : e.displayName || e.name || "Unknown";
|
|
94
|
-
}
|
|
95
|
-
function f(e) {
|
|
96
|
-
return e.finished || e.headersSent;
|
|
97
|
-
}
|
|
98
|
-
function y(e) {
|
|
99
|
-
const r = e.split("?");
|
|
100
|
-
return r[0].replace(/\\/g, "/").replace(/\/\/+/g, "/") + (r[1] ? "?" + r.slice(1).join("?") : "");
|
|
101
|
-
}
|
|
102
|
-
async function l(e, r) {
|
|
103
|
-
if (process.env.NODE_ENV !== "production") {
|
|
104
|
-
var t;
|
|
105
|
-
if ((t = e.prototype) != null && t.getInitialProps) {
|
|
106
|
-
const o = '"' + s(e) + '.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';
|
|
107
|
-
throw new Error(o);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
const i = r.res || r.ctx && r.ctx.res;
|
|
111
|
-
if (!e.getInitialProps)
|
|
112
|
-
return r.ctx && r.Component ? {
|
|
113
|
-
pageProps: await l(r.Component, r.ctx)
|
|
114
|
-
} : {};
|
|
115
|
-
const n = await e.getInitialProps(r);
|
|
116
|
-
if (i && f(i))
|
|
117
|
-
return n;
|
|
118
|
-
if (!n) {
|
|
119
|
-
const o = '"' + s(e) + '.getInitialProps()" should resolve to an object. But found "' + n + '" instead.';
|
|
120
|
-
throw new Error(o);
|
|
121
|
-
}
|
|
122
|
-
return process.env.NODE_ENV !== "production" && Object.keys(n).length === 0 && !r.ctx && console.warn("" + s(e) + " returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"), n;
|
|
123
|
-
}
|
|
124
|
-
const d = typeof performance < "u", w = d && [
|
|
125
|
-
"mark",
|
|
126
|
-
"measure",
|
|
127
|
-
"getEntriesByName"
|
|
128
|
-
].every((e) => typeof performance[e] == "function");
|
|
129
|
-
class S extends Error {
|
|
130
|
-
}
|
|
131
|
-
class I extends Error {
|
|
132
|
-
}
|
|
133
|
-
class O extends Error {
|
|
134
|
-
constructor(r) {
|
|
135
|
-
super(), this.code = "ENOENT", this.name = "PageNotFoundError", this.message = "Cannot find module for page: " + r;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
class v extends Error {
|
|
139
|
-
constructor(r, t) {
|
|
140
|
-
super(), this.message = "Failed to load static file for page: " + r + " " + t;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
class b extends Error {
|
|
144
|
-
constructor() {
|
|
145
|
-
super(), this.code = "ENOENT", this.message = "Cannot find the middleware module";
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
function L(e) {
|
|
149
|
-
return JSON.stringify({
|
|
150
|
-
message: e.message,
|
|
151
|
-
stack: e.stack
|
|
152
|
-
});
|
|
48
|
+
function q(e) {
|
|
49
|
+
return process.env.NODE_ENV === "development" && e !== null && typeof e == "object" && Object.keys(e).forEach((t) => {
|
|
50
|
+
u.includes(t) || console.warn("Unknown key passed via urlObject into url.format: " + t);
|
|
51
|
+
}), p(e);
|
|
153
52
|
}
|
|
154
|
-
}(
|
|
53
|
+
}(c), c);
|
|
155
54
|
}
|
|
156
55
|
export {
|
|
157
|
-
|
|
56
|
+
x as __require
|
|
158
57
|
};
|
package/index165.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index211.js");var g;function _(){return g||(g=1,function(a){Object.defineProperty(a,"__esModule",{value:!0});function m(e,r){for(var t in r)Object.defineProperty(e,t,{enumerable:!0,get:r[t]})}m(a,{WEB_VITALS:function(){return p},execOnce:function(){return E},isAbsoluteUrl:function(){return P},getLocationOrigin:function(){return c},getURL:function(){return N},getDisplayName:function(){return s},isResSent:function(){return f},normalizeRepeatedSlashes:function(){return y},loadGetInitialProps:function(){return l},SP:function(){return d},ST:function(){return S},DecodeError:function(){return w},NormalizeError:function(){return O},PageNotFoundError:function(){return v},MissingStaticPage:function(){return I},MiddlewareNotFoundError:function(){return b},stringifyError:function(){return T}});const p=["CLS","FCP","FID","INP","LCP","TTFB"];function E(e){let r=!1,t;return function(){for(var i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return r||(r=!0,t=e(...n)),t}}const h=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,P=e=>h.test(e);function c(){const{protocol:e,hostname:r,port:t}=window.location;return e+"//"+r+(t?":"+t:"")}function N(){const{href:e}=window.location,r=c();return e.substring(r.length)}function s(e){return typeof e=="string"?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function y(e){const r=e.split("?");return r[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(r[1]?"?"+r.slice(1).join("?"):"")}async function l(e,r){if(process.env.NODE_ENV!=="production"){var t;if((t=e.prototype)!=null&&t.getInitialProps){const o='"'+s(e)+'.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';throw new Error(o)}}const i=r.res||r.ctx&&r.ctx.res;if(!e.getInitialProps)return r.ctx&&r.Component?{pageProps:await l(r.Component,r.ctx)}:{};const n=await e.getInitialProps(r);if(i&&f(i))return n;if(!n){const o='"'+s(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.';throw new Error(o)}return process.env.NODE_ENV!=="production"&&Object.keys(n).length===0&&!r.ctx&&console.warn(""+s(e)+" returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"),n}const d=typeof performance<"u",S=d&&["mark","measure","getEntriesByName"].every(e=>typeof performance[e]=="function");class w extends Error{}class O extends Error{}class v extends Error{constructor(r){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+r}}class I extends Error{constructor(r,t){super(),this.message="Failed to load static file for page: "+r+" "+t}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function T(e){return JSON.stringify({message:e.message,stack:e.stack})}}(u.__exports)),u.__exports}exports.__require=_;
|