zudoku 0.3.0-dev.83 → 0.3.0-dev.84
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/cli.js +5 -1
- package/dist/app/demo.js +5 -4
- package/dist/app/demo.js.map +1 -1
- package/dist/app/main.js +3 -1
- package/dist/app/main.js.map +1 -1
- package/dist/app/standalone.js +5 -4
- package/dist/app/standalone.js.map +1 -1
- package/dist/config/validators/ResolvedSidebarSchema.d.ts +18 -0
- package/dist/config/validators/ResolvedSidebarSchema.js +76 -0
- package/dist/config/validators/ResolvedSidebarSchema.js.map +1 -0
- package/dist/config/validators/SidebarSchema.d.ts +177 -0
- package/dist/config/validators/SidebarSchema.js +71 -0
- package/dist/config/validators/SidebarSchema.js.map +1 -0
- package/dist/config/validators/validate.d.ts +411 -59
- package/dist/config/validators/validate.js +22 -4
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/lib/components/DevPortal.js +1 -1
- package/dist/lib/components/DevPortal.js.map +1 -1
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +1 -1
- package/dist/lib/components/Layout.js +2 -2
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/TopNavigation.js +5 -5
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/context/DevPortalProvider.d.ts +9 -3
- package/dist/lib/components/context/DevPortalProvider.js +11 -23
- package/dist/lib/components/context/DevPortalProvider.js.map +1 -1
- package/dist/lib/components/context/ThemeContext.d.ts +1 -4
- package/dist/lib/components/context/ThemeContext.js +3 -29
- package/dist/lib/components/context/ThemeContext.js.map +1 -1
- package/dist/lib/components/context/ThemeProvider.d.ts +4 -0
- package/dist/lib/components/context/ThemeProvider.js +23 -0
- package/dist/lib/components/context/ThemeProvider.js.map +1 -0
- package/dist/lib/components/navigation/Sidebar.d.ts +1 -0
- package/dist/lib/components/navigation/Sidebar.js +12 -0
- package/dist/lib/components/navigation/Sidebar.js.map +1 -0
- package/dist/lib/components/navigation/SidebarBadge.d.ts +22 -0
- package/dist/lib/components/navigation/SidebarBadge.js +24 -0
- package/dist/lib/components/navigation/SidebarBadge.js.map +1 -0
- package/dist/lib/components/navigation/SidebarCategory.d.ts +5 -0
- package/dist/lib/components/navigation/SidebarCategory.js +33 -0
- package/dist/lib/components/navigation/SidebarCategory.js.map +1 -0
- package/dist/lib/components/navigation/SidebarItem.d.ts +12 -0
- package/dist/lib/components/navigation/SidebarItem.js +42 -0
- package/dist/lib/components/navigation/SidebarItem.js.map +1 -0
- package/dist/lib/components/navigation/{SideNavigationWrapper.d.ts → SidebarWrapper.d.ts} +1 -1
- package/dist/lib/components/navigation/{SideNavigationWrapper.js → SidebarWrapper.js} +2 -2
- package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -0
- package/dist/lib/components/navigation/utils.d.ts +16 -0
- package/dist/lib/components/navigation/utils.js +85 -0
- package/dist/lib/components/navigation/utils.js.map +1 -0
- package/dist/lib/core/DevPortalContext.d.ts +9 -32
- package/dist/lib/core/DevPortalContext.js +8 -5
- package/dist/lib/core/DevPortalContext.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +6 -8
- package/dist/lib/core/plugins.js.map +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js +5 -36
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/markdown/generateRoutes.js +20 -43
- package/dist/lib/plugins/markdown/generateRoutes.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js +12 -2
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/index.js +14 -11
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +1 -1
- package/dist/lib/util/useScrollToAnchor.js +31 -17
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/vite/plugin-sidebar.d.ts +3 -0
- package/dist/vite/plugin-sidebar.js +23 -0
- package/dist/vite/plugin-sidebar.js.map +1 -0
- package/dist/vite/plugin.js +2 -0
- package/dist/vite/plugin.js.map +1 -1
- package/lib/{AuthenticationPlugin-XS0DoAhE.js → AuthenticationPlugin-DgwV0hVu.js} +7 -7
- package/lib/{AuthenticationPlugin-XS0DoAhE.js.map → AuthenticationPlugin-DgwV0hVu.js.map} +1 -1
- package/lib/{CategoryHeading-DCmchnA1.js → CategoryHeading-BWq12Bfa.js} +3 -3
- package/lib/{CategoryHeading-DCmchnA1.js.map → CategoryHeading-BWq12Bfa.js.map} +1 -1
- package/lib/{Combination-C442XfGG.js → Combination-DkycFHkm.js} +4 -4
- package/lib/{Combination-C442XfGG.js.map → Combination-DkycFHkm.js.map} +1 -1
- package/lib/{DevPortalProvider-BWeAysxF.js → DevPortalProvider-CTxoCHIT.js} +375 -417
- package/lib/DevPortalProvider-CTxoCHIT.js.map +1 -0
- package/lib/DeveloperHint-BQSFXH01.js +10 -0
- package/lib/{DeveloperHint-DQVwIery.js.map → DeveloperHint-BQSFXH01.js.map} +1 -1
- package/lib/{Input-3IEt27jb.js → Input-BclXSY0g.js} +5 -5
- package/lib/{Input-3IEt27jb.js.map → Input-BclXSY0g.js.map} +1 -1
- package/lib/{Markdown-QsZ-PHET.js → Markdown-B_Gax7at.js} +1136 -1152
- package/lib/{Markdown-QsZ-PHET.js.map → Markdown-B_Gax7at.js.map} +1 -1
- package/lib/{MdxPage-CA1WmW14.js → MdxPage-Crlr0GmN.js} +67 -81
- package/lib/MdxPage-Crlr0GmN.js.map +1 -0
- package/lib/{OperationList-CHK_erYP.js → OperationList-nQ0bd8TU.js} +8 -8
- package/lib/{OperationList-CHK_erYP.js.map → OperationList-nQ0bd8TU.js.map} +1 -1
- package/lib/Route-CNvxEBnR.js +14 -0
- package/lib/{Route-D70pGn9n.js.map → Route-CNvxEBnR.js.map} +1 -1
- package/lib/{SlotletProvider-B71hNEUL.js → SlotletProvider-CzMAO73_.js} +12 -12
- package/lib/{SlotletProvider-B71hNEUL.js.map → SlotletProvider-CzMAO73_.js.map} +1 -1
- package/lib/Spinner-fF-Xv-gw.js +274 -0
- package/lib/Spinner-fF-Xv-gw.js.map +1 -0
- package/lib/index-7kcHaXD6.js +1771 -0
- package/lib/index-7kcHaXD6.js.map +1 -0
- package/lib/{index-Bl6YeerK.js → index-CgCPw6Jn.js} +1026 -1043
- package/lib/index-CgCPw6Jn.js.map +1 -0
- package/lib/{index-BH-Ub36F.js → index-DkuZvRNP.js} +4 -4
- package/lib/{index-BH-Ub36F.js.map → index-DkuZvRNP.js.map} +1 -1
- package/lib/joinPath-VeNuJa7y.js +8 -0
- package/lib/joinPath-VeNuJa7y.js.map +1 -0
- package/lib/jsx-runtime-B6kdoens.js +635 -0
- package/lib/jsx-runtime-B6kdoens.js.map +1 -0
- package/lib/{AnchorLink-BZcpTwOs.js → utils-CzT_9Tsn.js} +258 -214
- package/lib/utils-CzT_9Tsn.js.map +1 -0
- package/lib/zudoku.auth-clerk.js +1 -1
- package/lib/zudoku.auth-openid.js +2 -2
- package/lib/zudoku.components.js +1229 -1227
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +19 -19
- package/lib/zudoku.plugin-custom-page.js +2 -2
- package/lib/zudoku.plugin-markdown.js +21 -38
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +8 -6
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/package.json +4 -1
- package/src/app/demo.tsx +5 -4
- package/src/app/main.css +2 -2
- package/src/app/main.tsx +3 -1
- package/src/app/standalone.tsx +5 -4
- package/src/lib/components/DevPortal.tsx +1 -1
- package/src/lib/components/Header.tsx +2 -2
- package/src/lib/components/Layout.tsx +2 -2
- package/src/lib/components/TopNavigation.tsx +5 -5
- package/src/lib/components/context/DevPortalProvider.ts +11 -28
- package/src/lib/components/context/ThemeContext.tsx +3 -41
- package/src/lib/components/context/ThemeProvider.tsx +27 -0
- package/src/lib/components/navigation/{SideNavigation.tsx → Sidebar.tsx} +7 -7
- package/src/lib/components/navigation/SidebarBadge.tsx +40 -0
- package/src/lib/components/navigation/SidebarCategory.tsx +105 -0
- package/src/lib/components/navigation/SidebarItem.tsx +96 -0
- package/src/lib/components/navigation/{SideNavigationWrapper.tsx → SidebarWrapper.tsx} +1 -1
- package/src/lib/components/navigation/utils.ts +120 -0
- package/src/lib/core/DevPortalContext.ts +12 -44
- package/src/lib/core/plugins.ts +6 -13
- package/src/lib/plugins/markdown/MdxPage.tsx +14 -50
- package/src/lib/plugins/markdown/generateRoutes.tsx +29 -57
- package/src/lib/plugins/openapi/Sidecar.tsx +15 -2
- package/src/lib/plugins/openapi/index.tsx +17 -23
- package/src/lib/plugins/openapi/interfaces.ts +1 -1
- package/src/lib/util/useScrollToAnchor.ts +39 -18
- package/dist/lib/components/navigation/SideNavigation.d.ts +0 -1
- package/dist/lib/components/navigation/SideNavigation.js +0 -12
- package/dist/lib/components/navigation/SideNavigation.js.map +0 -1
- package/dist/lib/components/navigation/SideNavigationCategory.d.ts +0 -4
- package/dist/lib/components/navigation/SideNavigationCategory.js +0 -26
- package/dist/lib/components/navigation/SideNavigationCategory.js.map +0 -1
- package/dist/lib/components/navigation/SideNavigationItem.d.ts +0 -9
- package/dist/lib/components/navigation/SideNavigationItem.js +0 -44
- package/dist/lib/components/navigation/SideNavigationItem.js.map +0 -1
- package/dist/lib/components/navigation/SideNavigationWrapper.js.map +0 -1
- package/dist/lib/components/navigation/useNavigationCollapsibleState.d.ts +0 -9
- package/dist/lib/components/navigation/useNavigationCollapsibleState.js +0 -28
- package/dist/lib/components/navigation/useNavigationCollapsibleState.js.map +0 -1
- package/dist/lib/components/navigation/util.d.ts +0 -8
- package/dist/lib/components/navigation/util.js +0 -15
- package/dist/lib/components/navigation/util.js.map +0 -1
- package/dist/lib/plugins/openapi/MethodBadge.d.ts +0 -13
- package/dist/lib/plugins/openapi/MethodBadge.js +0 -26
- package/dist/lib/plugins/openapi/MethodBadge.js.map +0 -1
- package/dist/lib/util/traverseNavigation.d.ts +0 -6
- package/dist/lib/util/traverseNavigation.js +0 -30
- package/dist/lib/util/traverseNavigation.js.map +0 -1
- package/lib/AnchorLink-BZcpTwOs.js.map +0 -1
- package/lib/DevPortalProvider-BWeAysxF.js.map +0 -1
- package/lib/DeveloperHint-DQVwIery.js +0 -10
- package/lib/MdxPage-CA1WmW14.js.map +0 -1
- package/lib/Route-D70pGn9n.js +0 -13
- package/lib/Spinner-Coi7ORUV.js +0 -244
- package/lib/Spinner-Coi7ORUV.js.map +0 -1
- package/lib/index-Bl6YeerK.js.map +0 -1
- package/lib/index-Dt-pU7Vu.js +0 -916
- package/lib/index-Dt-pU7Vu.js.map +0 -1
- package/lib/jsx-runtime-CJBdjYYx.js +0 -1526
- package/lib/jsx-runtime-CJBdjYYx.js.map +0 -1
- package/src/lib/components/navigation/SideNavigationCategory.tsx +0 -72
- package/src/lib/components/navigation/SideNavigationItem.tsx +0 -148
- package/src/lib/components/navigation/useNavigationCollapsibleState.ts +0 -42
- package/src/lib/components/navigation/util.ts +0 -38
- package/src/lib/plugins/openapi/MethodBadge.tsx +0 -36
- package/src/lib/util/traverseNavigation.ts +0 -55
|
@@ -1,1526 +0,0 @@
|
|
|
1
|
-
import * as a from "react";
|
|
2
|
-
import it from "react";
|
|
3
|
-
import { b as R, j as le, g as Oe, w as V, c as Ne, d as st, A as xe, p as Pe, s as _e, i as ut, m as lt, e as or, f as ir, I as sr, h as ct, k as ft, l as ur, n as lr, o as cr, q as fr, t as dr, a as pr, u as vr, v as hr } from "./router-BiRCp01d.js";
|
|
4
|
-
/**
|
|
5
|
-
* React Router v6.25.1
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) Remix Software Inc.
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the MIT license found in the
|
|
10
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
11
|
-
*
|
|
12
|
-
* @license MIT
|
|
13
|
-
*/
|
|
14
|
-
function B() {
|
|
15
|
-
return B = Object.assign ? Object.assign.bind() : function(t) {
|
|
16
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
17
|
-
var n = arguments[r];
|
|
18
|
-
for (var i in n)
|
|
19
|
-
Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
}, B.apply(this, arguments);
|
|
23
|
-
}
|
|
24
|
-
const q = /* @__PURE__ */ a.createContext(null);
|
|
25
|
-
process.env.NODE_ENV !== "production" && (q.displayName = "DataRouter");
|
|
26
|
-
const fe = /* @__PURE__ */ a.createContext(null);
|
|
27
|
-
process.env.NODE_ENV !== "production" && (fe.displayName = "DataRouterState");
|
|
28
|
-
const re = /* @__PURE__ */ a.createContext(null);
|
|
29
|
-
process.env.NODE_ENV !== "production" && (re.displayName = "Await");
|
|
30
|
-
const M = /* @__PURE__ */ a.createContext(null);
|
|
31
|
-
process.env.NODE_ENV !== "production" && (M.displayName = "Navigation");
|
|
32
|
-
const z = /* @__PURE__ */ a.createContext(null);
|
|
33
|
-
process.env.NODE_ENV !== "production" && (z.displayName = "Location");
|
|
34
|
-
const U = /* @__PURE__ */ a.createContext({
|
|
35
|
-
outlet: null,
|
|
36
|
-
matches: [],
|
|
37
|
-
isDataRoute: !1
|
|
38
|
-
});
|
|
39
|
-
process.env.NODE_ENV !== "production" && (U.displayName = "Route");
|
|
40
|
-
const De = /* @__PURE__ */ a.createContext(null);
|
|
41
|
-
process.env.NODE_ENV !== "production" && (De.displayName = "RouteError");
|
|
42
|
-
function mr(t, r) {
|
|
43
|
-
let {
|
|
44
|
-
relative: n
|
|
45
|
-
} = r === void 0 ? {} : r;
|
|
46
|
-
Y() || (process.env.NODE_ENV !== "production" ? R(
|
|
47
|
-
!1,
|
|
48
|
-
// TODO: This error is probably because they somehow have 2 versions of the
|
|
49
|
-
// router loaded. We can help them understand how to avoid that.
|
|
50
|
-
"useHref() may be used only in the context of a <Router> component."
|
|
51
|
-
) : R(!1));
|
|
52
|
-
let {
|
|
53
|
-
basename: i,
|
|
54
|
-
navigator: u
|
|
55
|
-
} = a.useContext(M), {
|
|
56
|
-
hash: f,
|
|
57
|
-
pathname: l,
|
|
58
|
-
search: h
|
|
59
|
-
} = Et(t, {
|
|
60
|
-
relative: n
|
|
61
|
-
}), v = l;
|
|
62
|
-
return i !== "/" && (v = l === "/" ? i : le([i, l])), u.createHref({
|
|
63
|
-
pathname: v,
|
|
64
|
-
search: h,
|
|
65
|
-
hash: f
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
function Y() {
|
|
69
|
-
return a.useContext(z) != null;
|
|
70
|
-
}
|
|
71
|
-
function G() {
|
|
72
|
-
return Y() || (process.env.NODE_ENV !== "production" ? R(
|
|
73
|
-
!1,
|
|
74
|
-
// TODO: This error is probably because they somehow have 2 versions of the
|
|
75
|
-
// router loaded. We can help them understand how to avoid that.
|
|
76
|
-
"useLocation() may be used only in the context of a <Router> component."
|
|
77
|
-
) : R(!1)), a.useContext(z).location;
|
|
78
|
-
}
|
|
79
|
-
function Er() {
|
|
80
|
-
return a.useContext(z).navigationType;
|
|
81
|
-
}
|
|
82
|
-
function yr(t) {
|
|
83
|
-
Y() || (process.env.NODE_ENV !== "production" ? R(
|
|
84
|
-
!1,
|
|
85
|
-
// TODO: This error is probably because they somehow have 2 versions of the
|
|
86
|
-
// router loaded. We can help them understand how to avoid that.
|
|
87
|
-
"useMatch() may be used only in the context of a <Router> component."
|
|
88
|
-
) : R(!1));
|
|
89
|
-
let {
|
|
90
|
-
pathname: r
|
|
91
|
-
} = G();
|
|
92
|
-
return a.useMemo(() => lt(t, or(r)), [r, t]);
|
|
93
|
-
}
|
|
94
|
-
const dt = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
|
|
95
|
-
function pt(t) {
|
|
96
|
-
a.useContext(M).static || a.useLayoutEffect(t);
|
|
97
|
-
}
|
|
98
|
-
function vt() {
|
|
99
|
-
let {
|
|
100
|
-
isDataRoute: t
|
|
101
|
-
} = a.useContext(U);
|
|
102
|
-
return t ? Vr() : gr();
|
|
103
|
-
}
|
|
104
|
-
function gr() {
|
|
105
|
-
Y() || (process.env.NODE_ENV !== "production" ? R(
|
|
106
|
-
!1,
|
|
107
|
-
// TODO: This error is probably because they somehow have 2 versions of the
|
|
108
|
-
// router loaded. We can help them understand how to avoid that.
|
|
109
|
-
"useNavigate() may be used only in the context of a <Router> component."
|
|
110
|
-
) : R(!1));
|
|
111
|
-
let t = a.useContext(q), {
|
|
112
|
-
basename: r,
|
|
113
|
-
future: n,
|
|
114
|
-
navigator: i
|
|
115
|
-
} = a.useContext(M), {
|
|
116
|
-
matches: u
|
|
117
|
-
} = a.useContext(U), {
|
|
118
|
-
pathname: f
|
|
119
|
-
} = G(), l = JSON.stringify(Oe(u, n.v7_relativeSplatPath)), h = a.useRef(!1);
|
|
120
|
-
return pt(() => {
|
|
121
|
-
h.current = !0;
|
|
122
|
-
}), a.useCallback(function(m, d) {
|
|
123
|
-
if (d === void 0 && (d = {}), process.env.NODE_ENV !== "production" && V(h.current, dt), !h.current) return;
|
|
124
|
-
if (typeof m == "number") {
|
|
125
|
-
i.go(m);
|
|
126
|
-
return;
|
|
127
|
-
}
|
|
128
|
-
let c = Ne(m, JSON.parse(l), f, d.relative === "path");
|
|
129
|
-
t == null && r !== "/" && (c.pathname = c.pathname === "/" ? r : le([r, c.pathname])), (d.replace ? i.replace : i.push)(c, d.state, d);
|
|
130
|
-
}, [r, i, l, f, t]);
|
|
131
|
-
}
|
|
132
|
-
const ht = /* @__PURE__ */ a.createContext(null);
|
|
133
|
-
function br() {
|
|
134
|
-
return a.useContext(ht);
|
|
135
|
-
}
|
|
136
|
-
function mt(t) {
|
|
137
|
-
let r = a.useContext(U).outlet;
|
|
138
|
-
return r && /* @__PURE__ */ a.createElement(ht.Provider, {
|
|
139
|
-
value: t
|
|
140
|
-
}, r);
|
|
141
|
-
}
|
|
142
|
-
function Rr() {
|
|
143
|
-
let {
|
|
144
|
-
matches: t
|
|
145
|
-
} = a.useContext(U), r = t[t.length - 1];
|
|
146
|
-
return r ? r.params : {};
|
|
147
|
-
}
|
|
148
|
-
function Et(t, r) {
|
|
149
|
-
let {
|
|
150
|
-
relative: n
|
|
151
|
-
} = r === void 0 ? {} : r, {
|
|
152
|
-
future: i
|
|
153
|
-
} = a.useContext(M), {
|
|
154
|
-
matches: u
|
|
155
|
-
} = a.useContext(U), {
|
|
156
|
-
pathname: f
|
|
157
|
-
} = G(), l = JSON.stringify(Oe(u, i.v7_relativeSplatPath));
|
|
158
|
-
return a.useMemo(() => Ne(t, JSON.parse(l), f, n === "path"), [t, l, f, n]);
|
|
159
|
-
}
|
|
160
|
-
function yt(t, r) {
|
|
161
|
-
return Se(t, r);
|
|
162
|
-
}
|
|
163
|
-
function Se(t, r, n, i) {
|
|
164
|
-
Y() || (process.env.NODE_ENV !== "production" ? R(
|
|
165
|
-
!1,
|
|
166
|
-
// TODO: This error is probably because they somehow have 2 versions of the
|
|
167
|
-
// router loaded. We can help them understand how to avoid that.
|
|
168
|
-
"useRoutes() may be used only in the context of a <Router> component."
|
|
169
|
-
) : R(!1));
|
|
170
|
-
let {
|
|
171
|
-
navigator: u
|
|
172
|
-
} = a.useContext(M), {
|
|
173
|
-
matches: f
|
|
174
|
-
} = a.useContext(U), l = f[f.length - 1], h = l ? l.params : {}, v = l ? l.pathname : "/", m = l ? l.pathnameBase : "/", d = l && l.route;
|
|
175
|
-
if (process.env.NODE_ENV !== "production") {
|
|
176
|
-
let E = d && d.path || "";
|
|
177
|
-
_t(v, !d || E.endsWith("*"), "You rendered descendant <Routes> (or called `useRoutes()`) at " + ('"' + v + '" (under <Route path="' + E + '">) but the ') + `parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
178
|
-
|
|
179
|
-
` + ('Please change the parent <Route path="' + E + '"> to <Route ') + ('path="' + (E === "/" ? "*" : E + "/*") + '">.'));
|
|
180
|
-
}
|
|
181
|
-
let c = G(), y;
|
|
182
|
-
if (r) {
|
|
183
|
-
var O;
|
|
184
|
-
let E = typeof r == "string" ? Pe(r) : r;
|
|
185
|
-
m === "/" || (O = E.pathname) != null && O.startsWith(m) || (process.env.NODE_ENV !== "production" ? R(!1, "When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was " + ('matched by all parent routes. The current pathname base is "' + m + '" ') + ('but pathname "' + E.pathname + '" was given in the `location` prop.')) : R(!1)), y = E;
|
|
186
|
-
} else
|
|
187
|
-
y = c;
|
|
188
|
-
let S = y.pathname || "/", j = S;
|
|
189
|
-
if (m !== "/") {
|
|
190
|
-
let E = m.replace(/^\//, "").split("/");
|
|
191
|
-
j = "/" + S.replace(/^\//, "").split("/").slice(E.length).join("/");
|
|
192
|
-
}
|
|
193
|
-
let P = st(t, {
|
|
194
|
-
pathname: j
|
|
195
|
-
});
|
|
196
|
-
process.env.NODE_ENV !== "production" && (process.env.NODE_ENV !== "production" && V(d || P != null, 'No routes matched location "' + y.pathname + y.search + y.hash + '" '), process.env.NODE_ENV !== "production" && V(P == null || P[P.length - 1].route.element !== void 0 || P[P.length - 1].route.Component !== void 0 || P[P.length - 1].route.lazy !== void 0, 'Matched leaf route at location "' + y.pathname + y.search + y.hash + '" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.'));
|
|
197
|
-
let k = gt(P && P.map((E) => Object.assign({}, E, {
|
|
198
|
-
params: Object.assign({}, h, E.params),
|
|
199
|
-
pathname: le([
|
|
200
|
-
m,
|
|
201
|
-
// Re-encode pathnames that were decoded inside matchRoutes
|
|
202
|
-
u.encodeLocation ? u.encodeLocation(E.pathname).pathname : E.pathname
|
|
203
|
-
]),
|
|
204
|
-
pathnameBase: E.pathnameBase === "/" ? m : le([
|
|
205
|
-
m,
|
|
206
|
-
// Re-encode pathnames that were decoded inside matchRoutes
|
|
207
|
-
u.encodeLocation ? u.encodeLocation(E.pathnameBase).pathname : E.pathnameBase
|
|
208
|
-
])
|
|
209
|
-
})), f, n, i);
|
|
210
|
-
return r && k ? /* @__PURE__ */ a.createElement(z.Provider, {
|
|
211
|
-
value: {
|
|
212
|
-
location: B({
|
|
213
|
-
pathname: "/",
|
|
214
|
-
search: "",
|
|
215
|
-
hash: "",
|
|
216
|
-
state: null,
|
|
217
|
-
key: "default"
|
|
218
|
-
}, y),
|
|
219
|
-
navigationType: xe.Pop
|
|
220
|
-
}
|
|
221
|
-
}, k) : k;
|
|
222
|
-
}
|
|
223
|
-
function _r() {
|
|
224
|
-
let t = bt(), r = ut(t) ? t.status + " " + t.statusText : t instanceof Error ? t.message : JSON.stringify(t), n = t instanceof Error ? t.stack : null, i = "rgba(200,200,200, 0.5)", u = {
|
|
225
|
-
padding: "0.5rem",
|
|
226
|
-
backgroundColor: i
|
|
227
|
-
}, f = {
|
|
228
|
-
padding: "2px 4px",
|
|
229
|
-
backgroundColor: i
|
|
230
|
-
}, l = null;
|
|
231
|
-
return process.env.NODE_ENV !== "production" && (console.error("Error handled by React Router default ErrorBoundary:", t), l = /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ a.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ a.createElement("code", {
|
|
232
|
-
style: f
|
|
233
|
-
}, "ErrorBoundary"), " or", " ", /* @__PURE__ */ a.createElement("code", {
|
|
234
|
-
style: f
|
|
235
|
-
}, "errorElement"), " prop on your route."))), /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ a.createElement("h3", {
|
|
236
|
-
style: {
|
|
237
|
-
fontStyle: "italic"
|
|
238
|
-
}
|
|
239
|
-
}, r), n ? /* @__PURE__ */ a.createElement("pre", {
|
|
240
|
-
style: u
|
|
241
|
-
}, n) : null, l);
|
|
242
|
-
}
|
|
243
|
-
const Cr = /* @__PURE__ */ a.createElement(_r, null);
|
|
244
|
-
class Or extends a.Component {
|
|
245
|
-
constructor(r) {
|
|
246
|
-
super(r), this.state = {
|
|
247
|
-
location: r.location,
|
|
248
|
-
revalidation: r.revalidation,
|
|
249
|
-
error: r.error
|
|
250
|
-
};
|
|
251
|
-
}
|
|
252
|
-
static getDerivedStateFromError(r) {
|
|
253
|
-
return {
|
|
254
|
-
error: r
|
|
255
|
-
};
|
|
256
|
-
}
|
|
257
|
-
static getDerivedStateFromProps(r, n) {
|
|
258
|
-
return n.location !== r.location || n.revalidation !== "idle" && r.revalidation === "idle" ? {
|
|
259
|
-
error: r.error,
|
|
260
|
-
location: r.location,
|
|
261
|
-
revalidation: r.revalidation
|
|
262
|
-
} : {
|
|
263
|
-
error: r.error !== void 0 ? r.error : n.error,
|
|
264
|
-
location: n.location,
|
|
265
|
-
revalidation: r.revalidation || n.revalidation
|
|
266
|
-
};
|
|
267
|
-
}
|
|
268
|
-
componentDidCatch(r, n) {
|
|
269
|
-
console.error("React Router caught the following error during render", r, n);
|
|
270
|
-
}
|
|
271
|
-
render() {
|
|
272
|
-
return this.state.error !== void 0 ? /* @__PURE__ */ a.createElement(U.Provider, {
|
|
273
|
-
value: this.props.routeContext
|
|
274
|
-
}, /* @__PURE__ */ a.createElement(De.Provider, {
|
|
275
|
-
value: this.state.error,
|
|
276
|
-
children: this.props.component
|
|
277
|
-
})) : this.props.children;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
function Nr(t) {
|
|
281
|
-
let {
|
|
282
|
-
routeContext: r,
|
|
283
|
-
match: n,
|
|
284
|
-
children: i
|
|
285
|
-
} = t, u = a.useContext(q);
|
|
286
|
-
return u && u.static && u.staticContext && (n.route.errorElement || n.route.ErrorBoundary) && (u.staticContext._deepestRenderedBoundaryId = n.route.id), /* @__PURE__ */ a.createElement(U.Provider, {
|
|
287
|
-
value: r
|
|
288
|
-
}, i);
|
|
289
|
-
}
|
|
290
|
-
function gt(t, r, n, i) {
|
|
291
|
-
var u;
|
|
292
|
-
if (r === void 0 && (r = []), n === void 0 && (n = null), i === void 0 && (i = null), t == null) {
|
|
293
|
-
var f;
|
|
294
|
-
if ((f = n) != null && f.errors)
|
|
295
|
-
t = n.matches;
|
|
296
|
-
else
|
|
297
|
-
return null;
|
|
298
|
-
}
|
|
299
|
-
let l = t, h = (u = n) == null ? void 0 : u.errors;
|
|
300
|
-
if (h != null) {
|
|
301
|
-
let d = l.findIndex((c) => c.route.id && (h == null ? void 0 : h[c.route.id]) !== void 0);
|
|
302
|
-
d >= 0 || (process.env.NODE_ENV !== "production" ? R(!1, "Could not find a matching route for errors on route IDs: " + Object.keys(h).join(",")) : R(!1)), l = l.slice(0, Math.min(l.length, d + 1));
|
|
303
|
-
}
|
|
304
|
-
let v = !1, m = -1;
|
|
305
|
-
if (n && i && i.v7_partialHydration)
|
|
306
|
-
for (let d = 0; d < l.length; d++) {
|
|
307
|
-
let c = l[d];
|
|
308
|
-
if ((c.route.HydrateFallback || c.route.hydrateFallbackElement) && (m = d), c.route.id) {
|
|
309
|
-
let {
|
|
310
|
-
loaderData: y,
|
|
311
|
-
errors: O
|
|
312
|
-
} = n, S = c.route.loader && y[c.route.id] === void 0 && (!O || O[c.route.id] === void 0);
|
|
313
|
-
if (c.route.lazy || S) {
|
|
314
|
-
v = !0, m >= 0 ? l = l.slice(0, m + 1) : l = [l[0]];
|
|
315
|
-
break;
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
return l.reduceRight((d, c, y) => {
|
|
320
|
-
let O, S = !1, j = null, P = null;
|
|
321
|
-
n && (O = h && c.route.id ? h[c.route.id] : void 0, j = c.route.errorElement || Cr, v && (m < 0 && y === 0 ? (_t("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), S = !0, P = null) : m === y && (S = !0, P = c.route.hydrateFallbackElement || null)));
|
|
322
|
-
let k = r.concat(l.slice(0, y + 1)), E = () => {
|
|
323
|
-
let L;
|
|
324
|
-
return O ? L = j : S ? L = P : c.route.Component ? L = /* @__PURE__ */ a.createElement(c.route.Component, null) : c.route.element ? L = c.route.element : L = d, /* @__PURE__ */ a.createElement(Nr, {
|
|
325
|
-
match: c,
|
|
326
|
-
routeContext: {
|
|
327
|
-
outlet: d,
|
|
328
|
-
matches: k,
|
|
329
|
-
isDataRoute: n != null
|
|
330
|
-
},
|
|
331
|
-
children: L
|
|
332
|
-
});
|
|
333
|
-
};
|
|
334
|
-
return n && (c.route.ErrorBoundary || c.route.errorElement || y === 0) ? /* @__PURE__ */ a.createElement(Or, {
|
|
335
|
-
location: n.location,
|
|
336
|
-
revalidation: n.revalidation,
|
|
337
|
-
component: j,
|
|
338
|
-
error: O,
|
|
339
|
-
children: E(),
|
|
340
|
-
routeContext: {
|
|
341
|
-
outlet: null,
|
|
342
|
-
matches: k,
|
|
343
|
-
isDataRoute: !0
|
|
344
|
-
}
|
|
345
|
-
}) : E();
|
|
346
|
-
}, null);
|
|
347
|
-
}
|
|
348
|
-
var de = /* @__PURE__ */ function(t) {
|
|
349
|
-
return t.UseBlocker = "useBlocker", t.UseRevalidator = "useRevalidator", t.UseNavigateStable = "useNavigate", t;
|
|
350
|
-
}(de || {}), w = /* @__PURE__ */ function(t) {
|
|
351
|
-
return t.UseBlocker = "useBlocker", t.UseLoaderData = "useLoaderData", t.UseActionData = "useActionData", t.UseRouteError = "useRouteError", t.UseNavigation = "useNavigation", t.UseRouteLoaderData = "useRouteLoaderData", t.UseMatches = "useMatches", t.UseRevalidator = "useRevalidator", t.UseNavigateStable = "useNavigate", t.UseRouteId = "useRouteId", t;
|
|
352
|
-
}(w || {});
|
|
353
|
-
function Te(t) {
|
|
354
|
-
return t + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
|
|
355
|
-
}
|
|
356
|
-
function we(t) {
|
|
357
|
-
let r = a.useContext(q);
|
|
358
|
-
return r || (process.env.NODE_ENV !== "production" ? R(!1, Te(t)) : R(!1)), r;
|
|
359
|
-
}
|
|
360
|
-
function W(t) {
|
|
361
|
-
let r = a.useContext(fe);
|
|
362
|
-
return r || (process.env.NODE_ENV !== "production" ? R(!1, Te(t)) : R(!1)), r;
|
|
363
|
-
}
|
|
364
|
-
function xr(t) {
|
|
365
|
-
let r = a.useContext(U);
|
|
366
|
-
return r || (process.env.NODE_ENV !== "production" ? R(!1, Te(t)) : R(!1)), r;
|
|
367
|
-
}
|
|
368
|
-
function ae(t) {
|
|
369
|
-
let r = xr(t), n = r.matches[r.matches.length - 1];
|
|
370
|
-
return n.route.id || (process.env.NODE_ENV !== "production" ? R(!1, t + ' can only be used on routes that contain a unique "id"') : R(!1)), n.route.id;
|
|
371
|
-
}
|
|
372
|
-
function Pr() {
|
|
373
|
-
return ae(w.UseRouteId);
|
|
374
|
-
}
|
|
375
|
-
function Dr() {
|
|
376
|
-
return W(w.UseNavigation).navigation;
|
|
377
|
-
}
|
|
378
|
-
function Sr() {
|
|
379
|
-
let t = we(de.UseRevalidator), r = W(w.UseRevalidator);
|
|
380
|
-
return a.useMemo(() => ({
|
|
381
|
-
revalidate: t.router.revalidate,
|
|
382
|
-
state: r.revalidation
|
|
383
|
-
}), [t.router.revalidate, r.revalidation]);
|
|
384
|
-
}
|
|
385
|
-
function Tr() {
|
|
386
|
-
let {
|
|
387
|
-
matches: t,
|
|
388
|
-
loaderData: r
|
|
389
|
-
} = W(w.UseMatches);
|
|
390
|
-
return a.useMemo(() => t.map((n) => ir(n, r)), [t, r]);
|
|
391
|
-
}
|
|
392
|
-
function wr() {
|
|
393
|
-
let t = W(w.UseLoaderData), r = ae(w.UseLoaderData);
|
|
394
|
-
if (t.errors && t.errors[r] != null) {
|
|
395
|
-
console.error("You cannot `useLoaderData` in an errorElement (routeId: " + r + ")");
|
|
396
|
-
return;
|
|
397
|
-
}
|
|
398
|
-
return t.loaderData[r];
|
|
399
|
-
}
|
|
400
|
-
function kr(t) {
|
|
401
|
-
return W(w.UseRouteLoaderData).loaderData[t];
|
|
402
|
-
}
|
|
403
|
-
function jr() {
|
|
404
|
-
let t = W(w.UseActionData), r = ae(w.UseLoaderData);
|
|
405
|
-
return t.actionData ? t.actionData[r] : void 0;
|
|
406
|
-
}
|
|
407
|
-
function bt() {
|
|
408
|
-
var t;
|
|
409
|
-
let r = a.useContext(De), n = W(w.UseRouteError), i = ae(w.UseRouteError);
|
|
410
|
-
return r !== void 0 ? r : (t = n.errors) == null ? void 0 : t[i];
|
|
411
|
-
}
|
|
412
|
-
function Rt() {
|
|
413
|
-
let t = a.useContext(re);
|
|
414
|
-
return t == null ? void 0 : t._data;
|
|
415
|
-
}
|
|
416
|
-
function Fr() {
|
|
417
|
-
let t = a.useContext(re);
|
|
418
|
-
return t == null ? void 0 : t._error;
|
|
419
|
-
}
|
|
420
|
-
let Ir = 0;
|
|
421
|
-
function Ur(t) {
|
|
422
|
-
let {
|
|
423
|
-
router: r,
|
|
424
|
-
basename: n
|
|
425
|
-
} = we(de.UseBlocker), i = W(w.UseBlocker), [u, f] = a.useState(""), l = a.useCallback((h) => {
|
|
426
|
-
if (typeof t != "function")
|
|
427
|
-
return !!t;
|
|
428
|
-
if (n === "/")
|
|
429
|
-
return t(h);
|
|
430
|
-
let {
|
|
431
|
-
currentLocation: v,
|
|
432
|
-
nextLocation: m,
|
|
433
|
-
historyAction: d
|
|
434
|
-
} = h;
|
|
435
|
-
return t({
|
|
436
|
-
currentLocation: B({}, v, {
|
|
437
|
-
pathname: _e(v.pathname, n) || v.pathname
|
|
438
|
-
}),
|
|
439
|
-
nextLocation: B({}, m, {
|
|
440
|
-
pathname: _e(m.pathname, n) || m.pathname
|
|
441
|
-
}),
|
|
442
|
-
historyAction: d
|
|
443
|
-
});
|
|
444
|
-
}, [n, t]);
|
|
445
|
-
return a.useEffect(() => {
|
|
446
|
-
let h = String(++Ir);
|
|
447
|
-
return f(h), () => r.deleteBlocker(h);
|
|
448
|
-
}, [r]), a.useEffect(() => {
|
|
449
|
-
u !== "" && r.getBlocker(u, l);
|
|
450
|
-
}, [r, u, l]), u && i.blockers.has(u) ? i.blockers.get(u) : sr;
|
|
451
|
-
}
|
|
452
|
-
function Vr() {
|
|
453
|
-
let {
|
|
454
|
-
router: t
|
|
455
|
-
} = we(de.UseNavigateStable), r = ae(w.UseNavigateStable), n = a.useRef(!1);
|
|
456
|
-
return pt(() => {
|
|
457
|
-
n.current = !0;
|
|
458
|
-
}), a.useCallback(function(u, f) {
|
|
459
|
-
f === void 0 && (f = {}), process.env.NODE_ENV !== "production" && V(n.current, dt), n.current && (typeof u == "number" ? t.navigate(u) : t.navigate(u, B({
|
|
460
|
-
fromRouteId: r
|
|
461
|
-
}, f)));
|
|
462
|
-
}, [t, r]);
|
|
463
|
-
}
|
|
464
|
-
const nt = {};
|
|
465
|
-
function _t(t, r, n) {
|
|
466
|
-
!r && !nt[t] && (nt[t] = !0, process.env.NODE_ENV !== "production" && V(!1, n));
|
|
467
|
-
}
|
|
468
|
-
const Ar = "startTransition", ce = a[Ar];
|
|
469
|
-
function Lr(t) {
|
|
470
|
-
let {
|
|
471
|
-
fallbackElement: r,
|
|
472
|
-
router: n,
|
|
473
|
-
future: i
|
|
474
|
-
} = t, [u, f] = a.useState(n.state), {
|
|
475
|
-
v7_startTransition: l
|
|
476
|
-
} = i || {}, h = a.useCallback((c) => {
|
|
477
|
-
l && ce ? ce(() => f(c)) : f(c);
|
|
478
|
-
}, [f, l]);
|
|
479
|
-
a.useLayoutEffect(() => n.subscribe(h), [n, h]), a.useEffect(() => {
|
|
480
|
-
process.env.NODE_ENV !== "production" && V(r == null || !n.future.v7_partialHydration, "`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead");
|
|
481
|
-
}, []);
|
|
482
|
-
let v = a.useMemo(() => ({
|
|
483
|
-
createHref: n.createHref,
|
|
484
|
-
encodeLocation: n.encodeLocation,
|
|
485
|
-
go: (c) => n.navigate(c),
|
|
486
|
-
push: (c, y, O) => n.navigate(c, {
|
|
487
|
-
state: y,
|
|
488
|
-
preventScrollReset: O == null ? void 0 : O.preventScrollReset
|
|
489
|
-
}),
|
|
490
|
-
replace: (c, y, O) => n.navigate(c, {
|
|
491
|
-
replace: !0,
|
|
492
|
-
state: y,
|
|
493
|
-
preventScrollReset: O == null ? void 0 : O.preventScrollReset
|
|
494
|
-
})
|
|
495
|
-
}), [n]), m = n.basename || "/", d = a.useMemo(() => ({
|
|
496
|
-
router: n,
|
|
497
|
-
navigator: v,
|
|
498
|
-
static: !1,
|
|
499
|
-
basename: m
|
|
500
|
-
}), [n, v, m]);
|
|
501
|
-
return /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(q.Provider, {
|
|
502
|
-
value: d
|
|
503
|
-
}, /* @__PURE__ */ a.createElement(fe.Provider, {
|
|
504
|
-
value: u
|
|
505
|
-
}, /* @__PURE__ */ a.createElement(ke, {
|
|
506
|
-
basename: m,
|
|
507
|
-
location: u.location,
|
|
508
|
-
navigationType: u.historyAction,
|
|
509
|
-
navigator: v,
|
|
510
|
-
future: {
|
|
511
|
-
v7_relativeSplatPath: n.future.v7_relativeSplatPath
|
|
512
|
-
}
|
|
513
|
-
}, u.initialized || n.future.v7_partialHydration ? /* @__PURE__ */ a.createElement(Mr, {
|
|
514
|
-
routes: n.routes,
|
|
515
|
-
future: n.future,
|
|
516
|
-
state: u
|
|
517
|
-
}) : r))), null);
|
|
518
|
-
}
|
|
519
|
-
function Mr(t) {
|
|
520
|
-
let {
|
|
521
|
-
routes: r,
|
|
522
|
-
future: n,
|
|
523
|
-
state: i
|
|
524
|
-
} = t;
|
|
525
|
-
return Se(r, void 0, i, n);
|
|
526
|
-
}
|
|
527
|
-
function Br(t) {
|
|
528
|
-
let {
|
|
529
|
-
basename: r,
|
|
530
|
-
children: n,
|
|
531
|
-
initialEntries: i,
|
|
532
|
-
initialIndex: u,
|
|
533
|
-
future: f
|
|
534
|
-
} = t, l = a.useRef();
|
|
535
|
-
l.current == null && (l.current = ct({
|
|
536
|
-
initialEntries: i,
|
|
537
|
-
initialIndex: u,
|
|
538
|
-
v5Compat: !0
|
|
539
|
-
}));
|
|
540
|
-
let h = l.current, [v, m] = a.useState({
|
|
541
|
-
action: h.action,
|
|
542
|
-
location: h.location
|
|
543
|
-
}), {
|
|
544
|
-
v7_startTransition: d
|
|
545
|
-
} = f || {}, c = a.useCallback((y) => {
|
|
546
|
-
d && ce ? ce(() => m(y)) : m(y);
|
|
547
|
-
}, [m, d]);
|
|
548
|
-
return a.useLayoutEffect(() => h.listen(c), [h, c]), /* @__PURE__ */ a.createElement(ke, {
|
|
549
|
-
basename: r,
|
|
550
|
-
children: n,
|
|
551
|
-
location: v.location,
|
|
552
|
-
navigationType: v.action,
|
|
553
|
-
navigator: h,
|
|
554
|
-
future: f
|
|
555
|
-
});
|
|
556
|
-
}
|
|
557
|
-
function Yr(t) {
|
|
558
|
-
let {
|
|
559
|
-
to: r,
|
|
560
|
-
replace: n,
|
|
561
|
-
state: i,
|
|
562
|
-
relative: u
|
|
563
|
-
} = t;
|
|
564
|
-
Y() || (process.env.NODE_ENV !== "production" ? R(
|
|
565
|
-
!1,
|
|
566
|
-
// TODO: This error is probably because they somehow have 2 versions of
|
|
567
|
-
// the router loaded. We can help them understand how to avoid that.
|
|
568
|
-
"<Navigate> may be used only in the context of a <Router> component."
|
|
569
|
-
) : R(!1));
|
|
570
|
-
let {
|
|
571
|
-
future: f,
|
|
572
|
-
static: l
|
|
573
|
-
} = a.useContext(M);
|
|
574
|
-
process.env.NODE_ENV !== "production" && V(!l, "<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");
|
|
575
|
-
let {
|
|
576
|
-
matches: h
|
|
577
|
-
} = a.useContext(U), {
|
|
578
|
-
pathname: v
|
|
579
|
-
} = G(), m = vt(), d = Ne(r, Oe(h, f.v7_relativeSplatPath), v, u === "path"), c = JSON.stringify(d);
|
|
580
|
-
return a.useEffect(() => m(JSON.parse(c), {
|
|
581
|
-
replace: n,
|
|
582
|
-
state: i,
|
|
583
|
-
relative: u
|
|
584
|
-
}), [m, c, u, n, i]), null;
|
|
585
|
-
}
|
|
586
|
-
function Wr(t) {
|
|
587
|
-
return mt(t.context);
|
|
588
|
-
}
|
|
589
|
-
function Ct(t) {
|
|
590
|
-
process.env.NODE_ENV !== "production" ? R(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.") : R(!1);
|
|
591
|
-
}
|
|
592
|
-
function ke(t) {
|
|
593
|
-
let {
|
|
594
|
-
basename: r = "/",
|
|
595
|
-
children: n = null,
|
|
596
|
-
location: i,
|
|
597
|
-
navigationType: u = xe.Pop,
|
|
598
|
-
navigator: f,
|
|
599
|
-
static: l = !1,
|
|
600
|
-
future: h
|
|
601
|
-
} = t;
|
|
602
|
-
Y() && (process.env.NODE_ENV !== "production" ? R(!1, "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.") : R(!1));
|
|
603
|
-
let v = r.replace(/^\/*/, "/"), m = a.useMemo(() => ({
|
|
604
|
-
basename: v,
|
|
605
|
-
navigator: f,
|
|
606
|
-
static: l,
|
|
607
|
-
future: B({
|
|
608
|
-
v7_relativeSplatPath: !1
|
|
609
|
-
}, h)
|
|
610
|
-
}), [v, h, f, l]);
|
|
611
|
-
typeof i == "string" && (i = Pe(i));
|
|
612
|
-
let {
|
|
613
|
-
pathname: d = "/",
|
|
614
|
-
search: c = "",
|
|
615
|
-
hash: y = "",
|
|
616
|
-
state: O = null,
|
|
617
|
-
key: S = "default"
|
|
618
|
-
} = i, j = a.useMemo(() => {
|
|
619
|
-
let P = _e(d, v);
|
|
620
|
-
return P == null ? null : {
|
|
621
|
-
location: {
|
|
622
|
-
pathname: P,
|
|
623
|
-
search: c,
|
|
624
|
-
hash: y,
|
|
625
|
-
state: O,
|
|
626
|
-
key: S
|
|
627
|
-
},
|
|
628
|
-
navigationType: u
|
|
629
|
-
};
|
|
630
|
-
}, [v, d, c, y, O, S, u]);
|
|
631
|
-
return process.env.NODE_ENV !== "production" && V(j != null, '<Router basename="' + v + '"> is not able to match the URL ' + ('"' + d + c + y + '" because it does not start with the ') + "basename, so the <Router> won't render anything."), j == null ? null : /* @__PURE__ */ a.createElement(M.Provider, {
|
|
632
|
-
value: m
|
|
633
|
-
}, /* @__PURE__ */ a.createElement(z.Provider, {
|
|
634
|
-
children: n,
|
|
635
|
-
value: j
|
|
636
|
-
}));
|
|
637
|
-
}
|
|
638
|
-
function $r(t) {
|
|
639
|
-
let {
|
|
640
|
-
children: r,
|
|
641
|
-
location: n
|
|
642
|
-
} = t;
|
|
643
|
-
return yt(ne(r), n);
|
|
644
|
-
}
|
|
645
|
-
function Jr(t) {
|
|
646
|
-
let {
|
|
647
|
-
children: r,
|
|
648
|
-
errorElement: n,
|
|
649
|
-
resolve: i
|
|
650
|
-
} = t;
|
|
651
|
-
return /* @__PURE__ */ a.createElement(Hr, {
|
|
652
|
-
resolve: i,
|
|
653
|
-
errorElement: n
|
|
654
|
-
}, /* @__PURE__ */ a.createElement(Kr, null, r));
|
|
655
|
-
}
|
|
656
|
-
var I = /* @__PURE__ */ function(t) {
|
|
657
|
-
return t[t.pending = 0] = "pending", t[t.success = 1] = "success", t[t.error = 2] = "error", t;
|
|
658
|
-
}(I || {});
|
|
659
|
-
const zr = new Promise(() => {
|
|
660
|
-
});
|
|
661
|
-
class Hr extends a.Component {
|
|
662
|
-
constructor(r) {
|
|
663
|
-
super(r), this.state = {
|
|
664
|
-
error: null
|
|
665
|
-
};
|
|
666
|
-
}
|
|
667
|
-
static getDerivedStateFromError(r) {
|
|
668
|
-
return {
|
|
669
|
-
error: r
|
|
670
|
-
};
|
|
671
|
-
}
|
|
672
|
-
componentDidCatch(r, n) {
|
|
673
|
-
console.error("<Await> caught the following error during render", r, n);
|
|
674
|
-
}
|
|
675
|
-
render() {
|
|
676
|
-
let {
|
|
677
|
-
children: r,
|
|
678
|
-
errorElement: n,
|
|
679
|
-
resolve: i
|
|
680
|
-
} = this.props, u = null, f = I.pending;
|
|
681
|
-
if (!(i instanceof Promise))
|
|
682
|
-
f = I.success, u = Promise.resolve(), Object.defineProperty(u, "_tracked", {
|
|
683
|
-
get: () => !0
|
|
684
|
-
}), Object.defineProperty(u, "_data", {
|
|
685
|
-
get: () => i
|
|
686
|
-
});
|
|
687
|
-
else if (this.state.error) {
|
|
688
|
-
f = I.error;
|
|
689
|
-
let l = this.state.error;
|
|
690
|
-
u = Promise.reject().catch(() => {
|
|
691
|
-
}), Object.defineProperty(u, "_tracked", {
|
|
692
|
-
get: () => !0
|
|
693
|
-
}), Object.defineProperty(u, "_error", {
|
|
694
|
-
get: () => l
|
|
695
|
-
});
|
|
696
|
-
} else i._tracked ? (u = i, f = "_error" in u ? I.error : "_data" in u ? I.success : I.pending) : (f = I.pending, Object.defineProperty(i, "_tracked", {
|
|
697
|
-
get: () => !0
|
|
698
|
-
}), u = i.then((l) => Object.defineProperty(i, "_data", {
|
|
699
|
-
get: () => l
|
|
700
|
-
}), (l) => Object.defineProperty(i, "_error", {
|
|
701
|
-
get: () => l
|
|
702
|
-
})));
|
|
703
|
-
if (f === I.error && u._error instanceof ft)
|
|
704
|
-
throw zr;
|
|
705
|
-
if (f === I.error && !n)
|
|
706
|
-
throw u._error;
|
|
707
|
-
if (f === I.error)
|
|
708
|
-
return /* @__PURE__ */ a.createElement(re.Provider, {
|
|
709
|
-
value: u,
|
|
710
|
-
children: n
|
|
711
|
-
});
|
|
712
|
-
if (f === I.success)
|
|
713
|
-
return /* @__PURE__ */ a.createElement(re.Provider, {
|
|
714
|
-
value: u,
|
|
715
|
-
children: r
|
|
716
|
-
});
|
|
717
|
-
throw u;
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
function Kr(t) {
|
|
721
|
-
let {
|
|
722
|
-
children: r
|
|
723
|
-
} = t, n = Rt(), i = typeof r == "function" ? r(n) : r;
|
|
724
|
-
return /* @__PURE__ */ a.createElement(a.Fragment, null, i);
|
|
725
|
-
}
|
|
726
|
-
function ne(t, r) {
|
|
727
|
-
r === void 0 && (r = []);
|
|
728
|
-
let n = [];
|
|
729
|
-
return a.Children.forEach(t, (i, u) => {
|
|
730
|
-
if (!/* @__PURE__ */ a.isValidElement(i))
|
|
731
|
-
return;
|
|
732
|
-
let f = [...r, u];
|
|
733
|
-
if (i.type === a.Fragment) {
|
|
734
|
-
n.push.apply(n, ne(i.props.children, f));
|
|
735
|
-
return;
|
|
736
|
-
}
|
|
737
|
-
i.type !== Ct && (process.env.NODE_ENV !== "production" ? R(!1, "[" + (typeof i.type == "string" ? i.type : i.type.name) + "] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>") : R(!1)), !i.props.index || !i.props.children || (process.env.NODE_ENV !== "production" ? R(!1, "An index route cannot have child routes.") : R(!1));
|
|
738
|
-
let l = {
|
|
739
|
-
id: i.props.id || f.join("-"),
|
|
740
|
-
caseSensitive: i.props.caseSensitive,
|
|
741
|
-
element: i.props.element,
|
|
742
|
-
Component: i.props.Component,
|
|
743
|
-
index: i.props.index,
|
|
744
|
-
path: i.props.path,
|
|
745
|
-
loader: i.props.loader,
|
|
746
|
-
action: i.props.action,
|
|
747
|
-
errorElement: i.props.errorElement,
|
|
748
|
-
ErrorBoundary: i.props.ErrorBoundary,
|
|
749
|
-
hasErrorBoundary: i.props.ErrorBoundary != null || i.props.errorElement != null,
|
|
750
|
-
shouldRevalidate: i.props.shouldRevalidate,
|
|
751
|
-
handle: i.props.handle,
|
|
752
|
-
lazy: i.props.lazy
|
|
753
|
-
};
|
|
754
|
-
i.props.children && (l.children = ne(i.props.children, f)), n.push(l);
|
|
755
|
-
}), n;
|
|
756
|
-
}
|
|
757
|
-
function qr(t) {
|
|
758
|
-
return gt(t);
|
|
759
|
-
}
|
|
760
|
-
function Ot(t) {
|
|
761
|
-
let r = {
|
|
762
|
-
// Note: this check also occurs in createRoutesFromChildren so update
|
|
763
|
-
// there if you change this -- please and thank you!
|
|
764
|
-
hasErrorBoundary: t.ErrorBoundary != null || t.errorElement != null
|
|
765
|
-
};
|
|
766
|
-
return t.Component && (process.env.NODE_ENV !== "production" && t.element && process.env.NODE_ENV !== "production" && V(!1, "You should not include both `Component` and `element` on your route - `Component` will be used."), Object.assign(r, {
|
|
767
|
-
element: /* @__PURE__ */ a.createElement(t.Component),
|
|
768
|
-
Component: void 0
|
|
769
|
-
})), t.HydrateFallback && (process.env.NODE_ENV !== "production" && t.hydrateFallbackElement && process.env.NODE_ENV !== "production" && V(!1, "You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."), Object.assign(r, {
|
|
770
|
-
hydrateFallbackElement: /* @__PURE__ */ a.createElement(t.HydrateFallback),
|
|
771
|
-
HydrateFallback: void 0
|
|
772
|
-
})), t.ErrorBoundary && (process.env.NODE_ENV !== "production" && t.errorElement && process.env.NODE_ENV !== "production" && V(!1, "You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."), Object.assign(r, {
|
|
773
|
-
errorElement: /* @__PURE__ */ a.createElement(t.ErrorBoundary),
|
|
774
|
-
ErrorBoundary: void 0
|
|
775
|
-
})), r;
|
|
776
|
-
}
|
|
777
|
-
function Gr(t, r) {
|
|
778
|
-
return ur({
|
|
779
|
-
basename: r == null ? void 0 : r.basename,
|
|
780
|
-
future: B({}, r == null ? void 0 : r.future, {
|
|
781
|
-
v7_prependBasename: !0
|
|
782
|
-
}),
|
|
783
|
-
history: ct({
|
|
784
|
-
initialEntries: r == null ? void 0 : r.initialEntries,
|
|
785
|
-
initialIndex: r == null ? void 0 : r.initialIndex
|
|
786
|
-
}),
|
|
787
|
-
hydrationData: r == null ? void 0 : r.hydrationData,
|
|
788
|
-
routes: t,
|
|
789
|
-
mapRouteProperties: Ot,
|
|
790
|
-
unstable_dataStrategy: r == null ? void 0 : r.unstable_dataStrategy,
|
|
791
|
-
unstable_patchRoutesOnMiss: r == null ? void 0 : r.unstable_patchRoutesOnMiss
|
|
792
|
-
}).initialize();
|
|
793
|
-
}
|
|
794
|
-
const tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
795
|
-
__proto__: null,
|
|
796
|
-
AbortedDeferredError: ft,
|
|
797
|
-
Await: Jr,
|
|
798
|
-
MemoryRouter: Br,
|
|
799
|
-
Navigate: Yr,
|
|
800
|
-
get NavigationType() {
|
|
801
|
-
return xe;
|
|
802
|
-
},
|
|
803
|
-
Outlet: Wr,
|
|
804
|
-
Route: Ct,
|
|
805
|
-
Router: ke,
|
|
806
|
-
RouterProvider: Lr,
|
|
807
|
-
Routes: $r,
|
|
808
|
-
UNSAFE_DataRouterContext: q,
|
|
809
|
-
UNSAFE_DataRouterStateContext: fe,
|
|
810
|
-
UNSAFE_LocationContext: z,
|
|
811
|
-
UNSAFE_NavigationContext: M,
|
|
812
|
-
UNSAFE_RouteContext: U,
|
|
813
|
-
UNSAFE_mapRouteProperties: Ot,
|
|
814
|
-
UNSAFE_useRouteId: Pr,
|
|
815
|
-
UNSAFE_useRoutesImpl: Se,
|
|
816
|
-
createMemoryRouter: Gr,
|
|
817
|
-
createPath: lr,
|
|
818
|
-
createRoutesFromChildren: ne,
|
|
819
|
-
createRoutesFromElements: ne,
|
|
820
|
-
defer: cr,
|
|
821
|
-
generatePath: fr,
|
|
822
|
-
isRouteErrorResponse: ut,
|
|
823
|
-
json: dr,
|
|
824
|
-
matchPath: lt,
|
|
825
|
-
matchRoutes: st,
|
|
826
|
-
parsePath: Pe,
|
|
827
|
-
redirect: pr,
|
|
828
|
-
redirectDocument: vr,
|
|
829
|
-
renderMatches: qr,
|
|
830
|
-
resolvePath: hr,
|
|
831
|
-
useActionData: jr,
|
|
832
|
-
useAsyncError: Fr,
|
|
833
|
-
useAsyncValue: Rt,
|
|
834
|
-
useBlocker: Ur,
|
|
835
|
-
useHref: mr,
|
|
836
|
-
useInRouterContext: Y,
|
|
837
|
-
useLoaderData: wr,
|
|
838
|
-
useLocation: G,
|
|
839
|
-
useMatch: yr,
|
|
840
|
-
useMatches: Tr,
|
|
841
|
-
useNavigate: vt,
|
|
842
|
-
useNavigation: Dr,
|
|
843
|
-
useNavigationType: Er,
|
|
844
|
-
useOutlet: mt,
|
|
845
|
-
useOutletContext: br,
|
|
846
|
-
useParams: Rr,
|
|
847
|
-
useResolvedPath: Et,
|
|
848
|
-
useRevalidator: Sr,
|
|
849
|
-
useRouteError: bt,
|
|
850
|
-
useRouteLoaderData: kr,
|
|
851
|
-
useRoutes: yt
|
|
852
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
853
|
-
var Ce = { exports: {} }, ee = {};
|
|
854
|
-
/**
|
|
855
|
-
* @license React
|
|
856
|
-
* react-jsx-runtime.production.min.js
|
|
857
|
-
*
|
|
858
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
859
|
-
*
|
|
860
|
-
* This source code is licensed under the MIT license found in the
|
|
861
|
-
* LICENSE file in the root directory of this source tree.
|
|
862
|
-
*/
|
|
863
|
-
var at;
|
|
864
|
-
function Xr() {
|
|
865
|
-
if (at) return ee;
|
|
866
|
-
at = 1;
|
|
867
|
-
var t = it, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, u = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, f = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
868
|
-
function l(h, v, m) {
|
|
869
|
-
var d, c = {}, y = null, O = null;
|
|
870
|
-
m !== void 0 && (y = "" + m), v.key !== void 0 && (y = "" + v.key), v.ref !== void 0 && (O = v.ref);
|
|
871
|
-
for (d in v) i.call(v, d) && !f.hasOwnProperty(d) && (c[d] = v[d]);
|
|
872
|
-
if (h && h.defaultProps) for (d in v = h.defaultProps, v) c[d] === void 0 && (c[d] = v[d]);
|
|
873
|
-
return { $$typeof: r, type: h, key: y, ref: O, props: c, _owner: u.current };
|
|
874
|
-
}
|
|
875
|
-
return ee.Fragment = n, ee.jsx = l, ee.jsxs = l, ee;
|
|
876
|
-
}
|
|
877
|
-
var te = {};
|
|
878
|
-
/**
|
|
879
|
-
* @license React
|
|
880
|
-
* react-jsx-runtime.development.js
|
|
881
|
-
*
|
|
882
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
883
|
-
*
|
|
884
|
-
* This source code is licensed under the MIT license found in the
|
|
885
|
-
* LICENSE file in the root directory of this source tree.
|
|
886
|
-
*/
|
|
887
|
-
var ot;
|
|
888
|
-
function Zr() {
|
|
889
|
-
return ot || (ot = 1, process.env.NODE_ENV !== "production" && function() {
|
|
890
|
-
var t = it, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), h = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), c = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), S = Symbol.iterator, j = "@@iterator";
|
|
891
|
-
function P(e) {
|
|
892
|
-
if (e === null || typeof e != "object")
|
|
893
|
-
return null;
|
|
894
|
-
var o = S && e[S] || e[j];
|
|
895
|
-
return typeof o == "function" ? o : null;
|
|
896
|
-
}
|
|
897
|
-
var k = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
898
|
-
function E(e) {
|
|
899
|
-
{
|
|
900
|
-
for (var o = arguments.length, s = new Array(o > 1 ? o - 1 : 0), p = 1; p < o; p++)
|
|
901
|
-
s[p - 1] = arguments[p];
|
|
902
|
-
L("error", e, s);
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
function L(e, o, s) {
|
|
906
|
-
{
|
|
907
|
-
var p = k.ReactDebugCurrentFrame, _ = p.getStackAddendum();
|
|
908
|
-
_ !== "" && (o += "%s", s = s.concat([_]));
|
|
909
|
-
var C = s.map(function(b) {
|
|
910
|
-
return String(b);
|
|
911
|
-
});
|
|
912
|
-
C.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, C);
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
var Nt = !1, xt = !1, Pt = !1, Dt = !1, St = !1, je;
|
|
916
|
-
je = Symbol.for("react.module.reference");
|
|
917
|
-
function Tt(e) {
|
|
918
|
-
return !!(typeof e == "string" || typeof e == "function" || e === i || e === f || St || e === u || e === m || e === d || Dt || e === O || Nt || xt || Pt || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === c || e.$$typeof === l || e.$$typeof === h || e.$$typeof === v || // This needs to include all possible module reference object
|
|
919
|
-
// types supported by any Flight configuration anywhere since
|
|
920
|
-
// we don't know which Flight build this will end up being used
|
|
921
|
-
// with.
|
|
922
|
-
e.$$typeof === je || e.getModuleId !== void 0));
|
|
923
|
-
}
|
|
924
|
-
function wt(e, o, s) {
|
|
925
|
-
var p = e.displayName;
|
|
926
|
-
if (p)
|
|
927
|
-
return p;
|
|
928
|
-
var _ = o.displayName || o.name || "";
|
|
929
|
-
return _ !== "" ? s + "(" + _ + ")" : s;
|
|
930
|
-
}
|
|
931
|
-
function Fe(e) {
|
|
932
|
-
return e.displayName || "Context";
|
|
933
|
-
}
|
|
934
|
-
function A(e) {
|
|
935
|
-
if (e == null)
|
|
936
|
-
return null;
|
|
937
|
-
if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
938
|
-
return e.displayName || e.name || null;
|
|
939
|
-
if (typeof e == "string")
|
|
940
|
-
return e;
|
|
941
|
-
switch (e) {
|
|
942
|
-
case i:
|
|
943
|
-
return "Fragment";
|
|
944
|
-
case n:
|
|
945
|
-
return "Portal";
|
|
946
|
-
case f:
|
|
947
|
-
return "Profiler";
|
|
948
|
-
case u:
|
|
949
|
-
return "StrictMode";
|
|
950
|
-
case m:
|
|
951
|
-
return "Suspense";
|
|
952
|
-
case d:
|
|
953
|
-
return "SuspenseList";
|
|
954
|
-
}
|
|
955
|
-
if (typeof e == "object")
|
|
956
|
-
switch (e.$$typeof) {
|
|
957
|
-
case h:
|
|
958
|
-
var o = e;
|
|
959
|
-
return Fe(o) + ".Consumer";
|
|
960
|
-
case l:
|
|
961
|
-
var s = e;
|
|
962
|
-
return Fe(s._context) + ".Provider";
|
|
963
|
-
case v:
|
|
964
|
-
return wt(e, e.render, "ForwardRef");
|
|
965
|
-
case c:
|
|
966
|
-
var p = e.displayName || null;
|
|
967
|
-
return p !== null ? p : A(e.type) || "Memo";
|
|
968
|
-
case y: {
|
|
969
|
-
var _ = e, C = _._payload, b = _._init;
|
|
970
|
-
try {
|
|
971
|
-
return A(b(C));
|
|
972
|
-
} catch {
|
|
973
|
-
return null;
|
|
974
|
-
}
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
return null;
|
|
978
|
-
}
|
|
979
|
-
var $ = Object.assign, X = 0, Ie, Ue, Ve, Ae, Le, Me, Be;
|
|
980
|
-
function Ye() {
|
|
981
|
-
}
|
|
982
|
-
Ye.__reactDisabledLog = !0;
|
|
983
|
-
function kt() {
|
|
984
|
-
{
|
|
985
|
-
if (X === 0) {
|
|
986
|
-
Ie = console.log, Ue = console.info, Ve = console.warn, Ae = console.error, Le = console.group, Me = console.groupCollapsed, Be = console.groupEnd;
|
|
987
|
-
var e = {
|
|
988
|
-
configurable: !0,
|
|
989
|
-
enumerable: !0,
|
|
990
|
-
value: Ye,
|
|
991
|
-
writable: !0
|
|
992
|
-
};
|
|
993
|
-
Object.defineProperties(console, {
|
|
994
|
-
info: e,
|
|
995
|
-
log: e,
|
|
996
|
-
warn: e,
|
|
997
|
-
error: e,
|
|
998
|
-
group: e,
|
|
999
|
-
groupCollapsed: e,
|
|
1000
|
-
groupEnd: e
|
|
1001
|
-
});
|
|
1002
|
-
}
|
|
1003
|
-
X++;
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
function jt() {
|
|
1007
|
-
{
|
|
1008
|
-
if (X--, X === 0) {
|
|
1009
|
-
var e = {
|
|
1010
|
-
configurable: !0,
|
|
1011
|
-
enumerable: !0,
|
|
1012
|
-
writable: !0
|
|
1013
|
-
};
|
|
1014
|
-
Object.defineProperties(console, {
|
|
1015
|
-
log: $({}, e, {
|
|
1016
|
-
value: Ie
|
|
1017
|
-
}),
|
|
1018
|
-
info: $({}, e, {
|
|
1019
|
-
value: Ue
|
|
1020
|
-
}),
|
|
1021
|
-
warn: $({}, e, {
|
|
1022
|
-
value: Ve
|
|
1023
|
-
}),
|
|
1024
|
-
error: $({}, e, {
|
|
1025
|
-
value: Ae
|
|
1026
|
-
}),
|
|
1027
|
-
group: $({}, e, {
|
|
1028
|
-
value: Le
|
|
1029
|
-
}),
|
|
1030
|
-
groupCollapsed: $({}, e, {
|
|
1031
|
-
value: Me
|
|
1032
|
-
}),
|
|
1033
|
-
groupEnd: $({}, e, {
|
|
1034
|
-
value: Be
|
|
1035
|
-
})
|
|
1036
|
-
});
|
|
1037
|
-
}
|
|
1038
|
-
X < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1039
|
-
}
|
|
1040
|
-
}
|
|
1041
|
-
var pe = k.ReactCurrentDispatcher, ve;
|
|
1042
|
-
function oe(e, o, s) {
|
|
1043
|
-
{
|
|
1044
|
-
if (ve === void 0)
|
|
1045
|
-
try {
|
|
1046
|
-
throw Error();
|
|
1047
|
-
} catch (_) {
|
|
1048
|
-
var p = _.stack.trim().match(/\n( *(at )?)/);
|
|
1049
|
-
ve = p && p[1] || "";
|
|
1050
|
-
}
|
|
1051
|
-
return `
|
|
1052
|
-
` + ve + e;
|
|
1053
|
-
}
|
|
1054
|
-
}
|
|
1055
|
-
var he = !1, ie;
|
|
1056
|
-
{
|
|
1057
|
-
var Ft = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1058
|
-
ie = new Ft();
|
|
1059
|
-
}
|
|
1060
|
-
function We(e, o) {
|
|
1061
|
-
if (!e || he)
|
|
1062
|
-
return "";
|
|
1063
|
-
{
|
|
1064
|
-
var s = ie.get(e);
|
|
1065
|
-
if (s !== void 0)
|
|
1066
|
-
return s;
|
|
1067
|
-
}
|
|
1068
|
-
var p;
|
|
1069
|
-
he = !0;
|
|
1070
|
-
var _ = Error.prepareStackTrace;
|
|
1071
|
-
Error.prepareStackTrace = void 0;
|
|
1072
|
-
var C;
|
|
1073
|
-
C = pe.current, pe.current = null, kt();
|
|
1074
|
-
try {
|
|
1075
|
-
if (o) {
|
|
1076
|
-
var b = function() {
|
|
1077
|
-
throw Error();
|
|
1078
|
-
};
|
|
1079
|
-
if (Object.defineProperty(b.prototype, "props", {
|
|
1080
|
-
set: function() {
|
|
1081
|
-
throw Error();
|
|
1082
|
-
}
|
|
1083
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1084
|
-
try {
|
|
1085
|
-
Reflect.construct(b, []);
|
|
1086
|
-
} catch (T) {
|
|
1087
|
-
p = T;
|
|
1088
|
-
}
|
|
1089
|
-
Reflect.construct(e, [], b);
|
|
1090
|
-
} else {
|
|
1091
|
-
try {
|
|
1092
|
-
b.call();
|
|
1093
|
-
} catch (T) {
|
|
1094
|
-
p = T;
|
|
1095
|
-
}
|
|
1096
|
-
e.call(b.prototype);
|
|
1097
|
-
}
|
|
1098
|
-
} else {
|
|
1099
|
-
try {
|
|
1100
|
-
throw Error();
|
|
1101
|
-
} catch (T) {
|
|
1102
|
-
p = T;
|
|
1103
|
-
}
|
|
1104
|
-
e();
|
|
1105
|
-
}
|
|
1106
|
-
} catch (T) {
|
|
1107
|
-
if (T && p && typeof T.stack == "string") {
|
|
1108
|
-
for (var g = T.stack.split(`
|
|
1109
|
-
`), D = p.stack.split(`
|
|
1110
|
-
`), N = g.length - 1, x = D.length - 1; N >= 1 && x >= 0 && g[N] !== D[x]; )
|
|
1111
|
-
x--;
|
|
1112
|
-
for (; N >= 1 && x >= 0; N--, x--)
|
|
1113
|
-
if (g[N] !== D[x]) {
|
|
1114
|
-
if (N !== 1 || x !== 1)
|
|
1115
|
-
do
|
|
1116
|
-
if (N--, x--, x < 0 || g[N] !== D[x]) {
|
|
1117
|
-
var F = `
|
|
1118
|
-
` + g[N].replace(" at new ", " at ");
|
|
1119
|
-
return e.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", e.displayName)), typeof e == "function" && ie.set(e, F), F;
|
|
1120
|
-
}
|
|
1121
|
-
while (N >= 1 && x >= 0);
|
|
1122
|
-
break;
|
|
1123
|
-
}
|
|
1124
|
-
}
|
|
1125
|
-
} finally {
|
|
1126
|
-
he = !1, pe.current = C, jt(), Error.prepareStackTrace = _;
|
|
1127
|
-
}
|
|
1128
|
-
var K = e ? e.displayName || e.name : "", J = K ? oe(K) : "";
|
|
1129
|
-
return typeof e == "function" && ie.set(e, J), J;
|
|
1130
|
-
}
|
|
1131
|
-
function It(e, o, s) {
|
|
1132
|
-
return We(e, !1);
|
|
1133
|
-
}
|
|
1134
|
-
function Ut(e) {
|
|
1135
|
-
var o = e.prototype;
|
|
1136
|
-
return !!(o && o.isReactComponent);
|
|
1137
|
-
}
|
|
1138
|
-
function se(e, o, s) {
|
|
1139
|
-
if (e == null)
|
|
1140
|
-
return "";
|
|
1141
|
-
if (typeof e == "function")
|
|
1142
|
-
return We(e, Ut(e));
|
|
1143
|
-
if (typeof e == "string")
|
|
1144
|
-
return oe(e);
|
|
1145
|
-
switch (e) {
|
|
1146
|
-
case m:
|
|
1147
|
-
return oe("Suspense");
|
|
1148
|
-
case d:
|
|
1149
|
-
return oe("SuspenseList");
|
|
1150
|
-
}
|
|
1151
|
-
if (typeof e == "object")
|
|
1152
|
-
switch (e.$$typeof) {
|
|
1153
|
-
case v:
|
|
1154
|
-
return It(e.render);
|
|
1155
|
-
case c:
|
|
1156
|
-
return se(e.type, o, s);
|
|
1157
|
-
case y: {
|
|
1158
|
-
var p = e, _ = p._payload, C = p._init;
|
|
1159
|
-
try {
|
|
1160
|
-
return se(C(_), o, s);
|
|
1161
|
-
} catch {
|
|
1162
|
-
}
|
|
1163
|
-
}
|
|
1164
|
-
}
|
|
1165
|
-
return "";
|
|
1166
|
-
}
|
|
1167
|
-
var Z = Object.prototype.hasOwnProperty, $e = {}, Je = k.ReactDebugCurrentFrame;
|
|
1168
|
-
function ue(e) {
|
|
1169
|
-
if (e) {
|
|
1170
|
-
var o = e._owner, s = se(e.type, e._source, o ? o.type : null);
|
|
1171
|
-
Je.setExtraStackFrame(s);
|
|
1172
|
-
} else
|
|
1173
|
-
Je.setExtraStackFrame(null);
|
|
1174
|
-
}
|
|
1175
|
-
function Vt(e, o, s, p, _) {
|
|
1176
|
-
{
|
|
1177
|
-
var C = Function.call.bind(Z);
|
|
1178
|
-
for (var b in e)
|
|
1179
|
-
if (C(e, b)) {
|
|
1180
|
-
var g = void 0;
|
|
1181
|
-
try {
|
|
1182
|
-
if (typeof e[b] != "function") {
|
|
1183
|
-
var D = Error((p || "React class") + ": " + s + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1184
|
-
throw D.name = "Invariant Violation", D;
|
|
1185
|
-
}
|
|
1186
|
-
g = e[b](o, b, p, s, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1187
|
-
} catch (N) {
|
|
1188
|
-
g = N;
|
|
1189
|
-
}
|
|
1190
|
-
g && !(g instanceof Error) && (ue(_), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", s, b, typeof g), ue(null)), g instanceof Error && !(g.message in $e) && ($e[g.message] = !0, ue(_), E("Failed %s type: %s", s, g.message), ue(null));
|
|
1191
|
-
}
|
|
1192
|
-
}
|
|
1193
|
-
}
|
|
1194
|
-
var At = Array.isArray;
|
|
1195
|
-
function me(e) {
|
|
1196
|
-
return At(e);
|
|
1197
|
-
}
|
|
1198
|
-
function Lt(e) {
|
|
1199
|
-
{
|
|
1200
|
-
var o = typeof Symbol == "function" && Symbol.toStringTag, s = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1201
|
-
return s;
|
|
1202
|
-
}
|
|
1203
|
-
}
|
|
1204
|
-
function Mt(e) {
|
|
1205
|
-
try {
|
|
1206
|
-
return ze(e), !1;
|
|
1207
|
-
} catch {
|
|
1208
|
-
return !0;
|
|
1209
|
-
}
|
|
1210
|
-
}
|
|
1211
|
-
function ze(e) {
|
|
1212
|
-
return "" + e;
|
|
1213
|
-
}
|
|
1214
|
-
function He(e) {
|
|
1215
|
-
if (Mt(e))
|
|
1216
|
-
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Lt(e)), ze(e);
|
|
1217
|
-
}
|
|
1218
|
-
var Q = k.ReactCurrentOwner, Bt = {
|
|
1219
|
-
key: !0,
|
|
1220
|
-
ref: !0,
|
|
1221
|
-
__self: !0,
|
|
1222
|
-
__source: !0
|
|
1223
|
-
}, Ke, qe, Ee;
|
|
1224
|
-
Ee = {};
|
|
1225
|
-
function Yt(e) {
|
|
1226
|
-
if (Z.call(e, "ref")) {
|
|
1227
|
-
var o = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1228
|
-
if (o && o.isReactWarning)
|
|
1229
|
-
return !1;
|
|
1230
|
-
}
|
|
1231
|
-
return e.ref !== void 0;
|
|
1232
|
-
}
|
|
1233
|
-
function Wt(e) {
|
|
1234
|
-
if (Z.call(e, "key")) {
|
|
1235
|
-
var o = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1236
|
-
if (o && o.isReactWarning)
|
|
1237
|
-
return !1;
|
|
1238
|
-
}
|
|
1239
|
-
return e.key !== void 0;
|
|
1240
|
-
}
|
|
1241
|
-
function $t(e, o) {
|
|
1242
|
-
if (typeof e.ref == "string" && Q.current && o && Q.current.stateNode !== o) {
|
|
1243
|
-
var s = A(Q.current.type);
|
|
1244
|
-
Ee[s] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', A(Q.current.type), e.ref), Ee[s] = !0);
|
|
1245
|
-
}
|
|
1246
|
-
}
|
|
1247
|
-
function Jt(e, o) {
|
|
1248
|
-
{
|
|
1249
|
-
var s = function() {
|
|
1250
|
-
Ke || (Ke = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
1251
|
-
};
|
|
1252
|
-
s.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1253
|
-
get: s,
|
|
1254
|
-
configurable: !0
|
|
1255
|
-
});
|
|
1256
|
-
}
|
|
1257
|
-
}
|
|
1258
|
-
function zt(e, o) {
|
|
1259
|
-
{
|
|
1260
|
-
var s = function() {
|
|
1261
|
-
qe || (qe = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
1262
|
-
};
|
|
1263
|
-
s.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1264
|
-
get: s,
|
|
1265
|
-
configurable: !0
|
|
1266
|
-
});
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
var Ht = function(e, o, s, p, _, C, b) {
|
|
1270
|
-
var g = {
|
|
1271
|
-
// This tag allows us to uniquely identify this as a React Element
|
|
1272
|
-
$$typeof: r,
|
|
1273
|
-
// Built-in properties that belong on the element
|
|
1274
|
-
type: e,
|
|
1275
|
-
key: o,
|
|
1276
|
-
ref: s,
|
|
1277
|
-
props: b,
|
|
1278
|
-
// Record the component responsible for creating this element.
|
|
1279
|
-
_owner: C
|
|
1280
|
-
};
|
|
1281
|
-
return g._store = {}, Object.defineProperty(g._store, "validated", {
|
|
1282
|
-
configurable: !1,
|
|
1283
|
-
enumerable: !1,
|
|
1284
|
-
writable: !0,
|
|
1285
|
-
value: !1
|
|
1286
|
-
}), Object.defineProperty(g, "_self", {
|
|
1287
|
-
configurable: !1,
|
|
1288
|
-
enumerable: !1,
|
|
1289
|
-
writable: !1,
|
|
1290
|
-
value: p
|
|
1291
|
-
}), Object.defineProperty(g, "_source", {
|
|
1292
|
-
configurable: !1,
|
|
1293
|
-
enumerable: !1,
|
|
1294
|
-
writable: !1,
|
|
1295
|
-
value: _
|
|
1296
|
-
}), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
|
|
1297
|
-
};
|
|
1298
|
-
function Kt(e, o, s, p, _) {
|
|
1299
|
-
{
|
|
1300
|
-
var C, b = {}, g = null, D = null;
|
|
1301
|
-
s !== void 0 && (He(s), g = "" + s), Wt(o) && (He(o.key), g = "" + o.key), Yt(o) && (D = o.ref, $t(o, _));
|
|
1302
|
-
for (C in o)
|
|
1303
|
-
Z.call(o, C) && !Bt.hasOwnProperty(C) && (b[C] = o[C]);
|
|
1304
|
-
if (e && e.defaultProps) {
|
|
1305
|
-
var N = e.defaultProps;
|
|
1306
|
-
for (C in N)
|
|
1307
|
-
b[C] === void 0 && (b[C] = N[C]);
|
|
1308
|
-
}
|
|
1309
|
-
if (g || D) {
|
|
1310
|
-
var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1311
|
-
g && Jt(b, x), D && zt(b, x);
|
|
1312
|
-
}
|
|
1313
|
-
return Ht(e, g, D, _, p, Q.current, b);
|
|
1314
|
-
}
|
|
1315
|
-
}
|
|
1316
|
-
var ye = k.ReactCurrentOwner, Ge = k.ReactDebugCurrentFrame;
|
|
1317
|
-
function H(e) {
|
|
1318
|
-
if (e) {
|
|
1319
|
-
var o = e._owner, s = se(e.type, e._source, o ? o.type : null);
|
|
1320
|
-
Ge.setExtraStackFrame(s);
|
|
1321
|
-
} else
|
|
1322
|
-
Ge.setExtraStackFrame(null);
|
|
1323
|
-
}
|
|
1324
|
-
var ge;
|
|
1325
|
-
ge = !1;
|
|
1326
|
-
function be(e) {
|
|
1327
|
-
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
1328
|
-
}
|
|
1329
|
-
function Xe() {
|
|
1330
|
-
{
|
|
1331
|
-
if (ye.current) {
|
|
1332
|
-
var e = A(ye.current.type);
|
|
1333
|
-
if (e)
|
|
1334
|
-
return `
|
|
1335
|
-
|
|
1336
|
-
Check the render method of \`` + e + "`.";
|
|
1337
|
-
}
|
|
1338
|
-
return "";
|
|
1339
|
-
}
|
|
1340
|
-
}
|
|
1341
|
-
function qt(e) {
|
|
1342
|
-
return "";
|
|
1343
|
-
}
|
|
1344
|
-
var Ze = {};
|
|
1345
|
-
function Gt(e) {
|
|
1346
|
-
{
|
|
1347
|
-
var o = Xe();
|
|
1348
|
-
if (!o) {
|
|
1349
|
-
var s = typeof e == "string" ? e : e.displayName || e.name;
|
|
1350
|
-
s && (o = `
|
|
1351
|
-
|
|
1352
|
-
Check the top-level render call using <` + s + ">.");
|
|
1353
|
-
}
|
|
1354
|
-
return o;
|
|
1355
|
-
}
|
|
1356
|
-
}
|
|
1357
|
-
function Qe(e, o) {
|
|
1358
|
-
{
|
|
1359
|
-
if (!e._store || e._store.validated || e.key != null)
|
|
1360
|
-
return;
|
|
1361
|
-
e._store.validated = !0;
|
|
1362
|
-
var s = Gt(o);
|
|
1363
|
-
if (Ze[s])
|
|
1364
|
-
return;
|
|
1365
|
-
Ze[s] = !0;
|
|
1366
|
-
var p = "";
|
|
1367
|
-
e && e._owner && e._owner !== ye.current && (p = " It was passed a child from " + A(e._owner.type) + "."), H(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', s, p), H(null);
|
|
1368
|
-
}
|
|
1369
|
-
}
|
|
1370
|
-
function et(e, o) {
|
|
1371
|
-
{
|
|
1372
|
-
if (typeof e != "object")
|
|
1373
|
-
return;
|
|
1374
|
-
if (me(e))
|
|
1375
|
-
for (var s = 0; s < e.length; s++) {
|
|
1376
|
-
var p = e[s];
|
|
1377
|
-
be(p) && Qe(p, o);
|
|
1378
|
-
}
|
|
1379
|
-
else if (be(e))
|
|
1380
|
-
e._store && (e._store.validated = !0);
|
|
1381
|
-
else if (e) {
|
|
1382
|
-
var _ = P(e);
|
|
1383
|
-
if (typeof _ == "function" && _ !== e.entries)
|
|
1384
|
-
for (var C = _.call(e), b; !(b = C.next()).done; )
|
|
1385
|
-
be(b.value) && Qe(b.value, o);
|
|
1386
|
-
}
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1389
|
-
function Xt(e) {
|
|
1390
|
-
{
|
|
1391
|
-
var o = e.type;
|
|
1392
|
-
if (o == null || typeof o == "string")
|
|
1393
|
-
return;
|
|
1394
|
-
var s;
|
|
1395
|
-
if (typeof o == "function")
|
|
1396
|
-
s = o.propTypes;
|
|
1397
|
-
else if (typeof o == "object" && (o.$$typeof === v || // Note: Memo only checks outer props here.
|
|
1398
|
-
// Inner props are checked in the reconciler.
|
|
1399
|
-
o.$$typeof === c))
|
|
1400
|
-
s = o.propTypes;
|
|
1401
|
-
else
|
|
1402
|
-
return;
|
|
1403
|
-
if (s) {
|
|
1404
|
-
var p = A(o);
|
|
1405
|
-
Vt(s, e.props, "prop", p, e);
|
|
1406
|
-
} else if (o.PropTypes !== void 0 && !ge) {
|
|
1407
|
-
ge = !0;
|
|
1408
|
-
var _ = A(o);
|
|
1409
|
-
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _ || "Unknown");
|
|
1410
|
-
}
|
|
1411
|
-
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1412
|
-
}
|
|
1413
|
-
}
|
|
1414
|
-
function Zt(e) {
|
|
1415
|
-
{
|
|
1416
|
-
for (var o = Object.keys(e.props), s = 0; s < o.length; s++) {
|
|
1417
|
-
var p = o[s];
|
|
1418
|
-
if (p !== "children" && p !== "key") {
|
|
1419
|
-
H(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), H(null);
|
|
1420
|
-
break;
|
|
1421
|
-
}
|
|
1422
|
-
}
|
|
1423
|
-
e.ref !== null && (H(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), H(null));
|
|
1424
|
-
}
|
|
1425
|
-
}
|
|
1426
|
-
var tt = {};
|
|
1427
|
-
function rt(e, o, s, p, _, C) {
|
|
1428
|
-
{
|
|
1429
|
-
var b = Tt(e);
|
|
1430
|
-
if (!b) {
|
|
1431
|
-
var g = "";
|
|
1432
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1433
|
-
var D = qt();
|
|
1434
|
-
D ? g += D : g += Xe();
|
|
1435
|
-
var N;
|
|
1436
|
-
e === null ? N = "null" : me(e) ? N = "array" : e !== void 0 && e.$$typeof === r ? (N = "<" + (A(e.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : N = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", N, g);
|
|
1437
|
-
}
|
|
1438
|
-
var x = Kt(e, o, s, _, C);
|
|
1439
|
-
if (x == null)
|
|
1440
|
-
return x;
|
|
1441
|
-
if (b) {
|
|
1442
|
-
var F = o.children;
|
|
1443
|
-
if (F !== void 0)
|
|
1444
|
-
if (p)
|
|
1445
|
-
if (me(F)) {
|
|
1446
|
-
for (var K = 0; K < F.length; K++)
|
|
1447
|
-
et(F[K], e);
|
|
1448
|
-
Object.freeze && Object.freeze(F);
|
|
1449
|
-
} else
|
|
1450
|
-
E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1451
|
-
else
|
|
1452
|
-
et(F, e);
|
|
1453
|
-
}
|
|
1454
|
-
if (Z.call(o, "key")) {
|
|
1455
|
-
var J = A(e), T = Object.keys(o).filter(function(ar) {
|
|
1456
|
-
return ar !== "key";
|
|
1457
|
-
}), Re = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1458
|
-
if (!tt[J + Re]) {
|
|
1459
|
-
var nr = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
|
|
1460
|
-
E(`A props object containing a "key" prop is being spread into JSX:
|
|
1461
|
-
let props = %s;
|
|
1462
|
-
<%s {...props} />
|
|
1463
|
-
React keys must be passed directly to JSX without using spread:
|
|
1464
|
-
let props = %s;
|
|
1465
|
-
<%s key={someKey} {...props} />`, Re, J, nr, J), tt[J + Re] = !0;
|
|
1466
|
-
}
|
|
1467
|
-
}
|
|
1468
|
-
return e === i ? Zt(x) : Xt(x), x;
|
|
1469
|
-
}
|
|
1470
|
-
}
|
|
1471
|
-
function Qt(e, o, s) {
|
|
1472
|
-
return rt(e, o, s, !0);
|
|
1473
|
-
}
|
|
1474
|
-
function er(e, o, s) {
|
|
1475
|
-
return rt(e, o, s, !1);
|
|
1476
|
-
}
|
|
1477
|
-
var tr = er, rr = Qt;
|
|
1478
|
-
te.Fragment = i, te.jsx = tr, te.jsxs = rr;
|
|
1479
|
-
}()), te;
|
|
1480
|
-
}
|
|
1481
|
-
process.env.NODE_ENV === "production" ? Ce.exports = Xr() : Ce.exports = Zr();
|
|
1482
|
-
var rn = Ce.exports;
|
|
1483
|
-
export {
|
|
1484
|
-
Jr as A,
|
|
1485
|
-
wr as B,
|
|
1486
|
-
yr as C,
|
|
1487
|
-
fe as D,
|
|
1488
|
-
Er as E,
|
|
1489
|
-
mt as F,
|
|
1490
|
-
br as G,
|
|
1491
|
-
Sr as H,
|
|
1492
|
-
kr as I,
|
|
1493
|
-
yt as J,
|
|
1494
|
-
z as L,
|
|
1495
|
-
Br as M,
|
|
1496
|
-
Yr as N,
|
|
1497
|
-
Wr as O,
|
|
1498
|
-
U as R,
|
|
1499
|
-
vt as a,
|
|
1500
|
-
Dr as b,
|
|
1501
|
-
Rr as c,
|
|
1502
|
-
tn as d,
|
|
1503
|
-
bt as e,
|
|
1504
|
-
M as f,
|
|
1505
|
-
mr as g,
|
|
1506
|
-
Et as h,
|
|
1507
|
-
Pr as i,
|
|
1508
|
-
rn as j,
|
|
1509
|
-
q as k,
|
|
1510
|
-
ke as l,
|
|
1511
|
-
Se as m,
|
|
1512
|
-
Ot as n,
|
|
1513
|
-
Tr as o,
|
|
1514
|
-
Ur as p,
|
|
1515
|
-
Ct as q,
|
|
1516
|
-
$r as r,
|
|
1517
|
-
Gr as s,
|
|
1518
|
-
ne as t,
|
|
1519
|
-
G as u,
|
|
1520
|
-
qr as v,
|
|
1521
|
-
jr as w,
|
|
1522
|
-
Fr as x,
|
|
1523
|
-
Rt as y,
|
|
1524
|
-
Y as z
|
|
1525
|
-
};
|
|
1526
|
-
//# sourceMappingURL=jsx-runtime-CJBdjYYx.js.map
|