zudoku 0.3.0-dev.57 → 0.3.0-dev.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/entry.client.js +1 -1
- package/dist/app/entry.client.js.map +1 -1
- package/dist/app/entry.server.d.ts +2 -0
- package/dist/app/entry.server.js +1 -0
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/main.js +8 -2
- package/dist/app/main.js.map +1 -1
- package/dist/config/validators/validate.d.ts +121 -102
- package/dist/config/validators/validate.js +4 -0
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/lib/authentication/AuthenticationPlugin.d.ts +16 -0
- package/dist/lib/authentication/AuthenticationPlugin.js +31 -0
- package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -0
- package/dist/lib/authentication/authentication.d.ts +3 -4
- package/dist/lib/authentication/components/Login.d.ts +1 -0
- package/dist/lib/authentication/components/Login.js +10 -0
- package/dist/lib/authentication/components/Login.js.map +1 -0
- package/dist/lib/authentication/components/Logout.d.ts +1 -0
- package/dist/lib/authentication/components/Logout.js +10 -0
- package/dist/lib/authentication/components/Logout.js.map +1 -0
- package/dist/lib/authentication/providers/clerk.js +43 -27
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +11 -3
- package/dist/lib/authentication/providers/openid.js +22 -11
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/authentication/routes.d.ts +5 -0
- package/dist/lib/authentication/routes.js +12 -0
- package/dist/lib/authentication/routes.js.map +1 -0
- package/dist/lib/components/Bootstrap.d.ts +2 -1
- package/dist/lib/components/Bootstrap.js +4 -1
- package/dist/lib/components/Bootstrap.js.map +1 -1
- package/dist/lib/components/DevPortal.js +14 -2
- package/dist/lib/components/DevPortal.js.map +1 -1
- package/dist/lib/components/Header.js +16 -2
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/InlineCode.js +1 -1
- package/dist/lib/components/InlineCode.js.map +1 -1
- package/dist/lib/components/TopNavigation.js +1 -1
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/context/DevPortalProvider.js +18 -1
- package/dist/lib/components/context/DevPortalProvider.js.map +1 -1
- package/dist/lib/components/index.d.ts +5 -1
- package/dist/lib/components/index.js +4 -0
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/components/navigation/SideNavigationItem.js +1 -1
- package/dist/lib/components/navigation/SideNavigationItem.js.map +1 -1
- package/dist/lib/core/DevPortalContext.d.ts +1 -1
- package/dist/lib/core/DevPortalContext.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +10 -1
- package/dist/lib/core/plugins.js +1 -0
- package/dist/lib/core/plugins.js.map +1 -1
- package/dist/lib/plugins/api-keys/CreateApiKey.js +1 -1
- package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js +2 -2
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
- package/dist/lib/plugins/api-keys/index.d.ts +2 -2
- package/dist/lib/plugins/api-keys/index.js +6 -0
- package/dist/lib/plugins/api-keys/index.js.map +1 -1
- package/dist/lib/plugins/custom-page/index.d.ts +8 -0
- package/dist/lib/plugins/custom-page/index.js +12 -0
- package/dist/lib/plugins/custom-page/index.js.map +1 -0
- package/dist/lib/plugins/markdown/MdxPage.js +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterList.js +1 -1
- package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
- package/dist/lib/plugins/openapi/SchemaListViewItem.js +3 -3
- package/dist/lib/plugins/openapi/SchemaListViewItem.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarBox.js +1 -1
- package/dist/lib/plugins/openapi/SidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/StaggeredRender.d.ts +3 -0
- package/dist/lib/plugins/openapi/StaggeredRender.js +10 -5
- package/dist/lib/plugins/openapi/StaggeredRender.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.js +2 -2
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/ui/Card.js +1 -1
- package/dist/lib/ui/Card.js.map +1 -1
- package/dist/lib/ui/DropdownMenu.d.ts +27 -0
- package/dist/lib/ui/DropdownMenu.js +36 -0
- package/dist/lib/ui/DropdownMenu.js.map +1 -0
- package/dist/lib/ui/button-variants.d.ts +2 -2
- package/dist/lib/ui/button-variants.js +1 -0
- package/dist/lib/ui/button-variants.js.map +1 -1
- package/dist/lib/util/MdxComponents.js +1 -1
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/joinPath.js +2 -1
- package/dist/lib/util/joinPath.js.map +1 -1
- package/dist/vite/build.js +5 -2
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.d.ts +8 -1
- package/dist/vite/config.js +13 -6
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/plugin-component.js +1 -0
- package/dist/vite/plugin-component.js.map +1 -1
- package/dist/vite/prerender.d.ts +1 -1
- package/dist/vite/prerender.js +23 -3
- package/dist/vite/prerender.js.map +1 -1
- package/lib/{AnchorLink-GNsUeGSX.js → AnchorLink-Bj1hwDuD.js} +3 -3
- package/lib/{AnchorLink-GNsUeGSX.js.map → AnchorLink-Bj1hwDuD.js.map} +1 -1
- package/lib/AuthenticationPlugin-CG6Bw32B.js +46 -0
- package/lib/AuthenticationPlugin-CG6Bw32B.js.map +1 -0
- package/lib/CategoryHeading-DMkTmmBh.js +10 -0
- package/lib/CategoryHeading-DMkTmmBh.js.map +1 -0
- package/lib/Combination-lAFQBd6U.js +2774 -0
- package/lib/Combination-lAFQBd6U.js.map +1 -0
- package/lib/DevPortalProvider-BBhQ8kgI.js +1125 -0
- package/lib/DevPortalProvider-BBhQ8kgI.js.map +1 -0
- package/lib/{Markdown-DtLFdxD1.js → Markdown-BjRJKl_E.js} +1376 -1379
- package/lib/Markdown-BjRJKl_E.js.map +1 -0
- package/lib/{MdxPage-CbwYRKf5.js → MdxPage-DJTFOCbZ.js} +17 -17
- package/lib/{MdxPage-CbwYRKf5.js.map → MdxPage-DJTFOCbZ.js.map} +1 -1
- package/lib/OperationList-DDTtK3I7.js +5403 -0
- package/lib/OperationList-DDTtK3I7.js.map +1 -0
- package/lib/{Route-C1LyvITr.js → Route-Bsrd0acQ.js} +2 -2
- package/lib/{Route-C1LyvITr.js.map → Route-Bsrd0acQ.js.map} +1 -1
- package/lib/Select-CEnkyfyn.js +2223 -0
- package/lib/Select-CEnkyfyn.js.map +1 -0
- package/lib/Spinner-Ciq_pWU7.js +359 -0
- package/lib/Spinner-Ciq_pWU7.js.map +1 -0
- package/lib/{hook-Biq3zYel.js → hook-Q_gAL2NZ.js} +20 -19
- package/lib/{hook-Biq3zYel.js.map → hook-Q_gAL2NZ.js.map} +1 -1
- package/lib/{index-Bg82-bqR.js → index-BE2a6gGC.js} +24 -23
- package/lib/{index-Bg82-bqR.js.map → index-BE2a6gGC.js.map} +1 -1
- package/lib/{jsx-runtime-CJZJivg2.js → jsx-runtime-BIr0WBt_.js} +119 -119
- package/lib/jsx-runtime-BIr0WBt_.js.map +1 -0
- package/lib/{router-CBw2vqJE.js → router-BiRCp01d.js} +671 -673
- package/lib/router-BiRCp01d.js.map +1 -0
- package/lib/zudoku.auth-clerk.js +47 -32
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +170 -159
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.components.js +1514 -598
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +30 -24
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-page.js +13 -0
- package/lib/zudoku.plugin-custom-page.js.map +1 -0
- package/lib/zudoku.plugin-markdown.js +19 -20
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +4 -4
- package/lib/zudoku.plugin-redirect.js +3 -3
- package/package.json +29 -14
- package/src/app/entry.client.tsx +1 -1
- package/src/app/entry.server.tsx +2 -0
- package/src/app/main.css +6 -0
- package/src/app/main.tsx +8 -2
- package/src/lib/authentication/AuthenticationPlugin.tsx +36 -0
- package/src/lib/authentication/authentication.ts +3 -4
- package/src/lib/authentication/components/Login.tsx +11 -0
- package/src/lib/authentication/components/Logout.tsx +11 -0
- package/src/lib/authentication/providers/clerk.tsx +43 -27
- package/src/lib/authentication/providers/openid.tsx +25 -13
- package/src/lib/authentication/routes.tsx +10 -0
- package/src/lib/components/Bootstrap.tsx +14 -7
- package/src/lib/components/DevPortal.tsx +29 -9
- package/src/lib/components/Header.tsx +80 -30
- package/src/lib/components/InlineCode.tsx +1 -1
- package/src/lib/components/TopNavigation.tsx +1 -1
- package/src/lib/components/context/DevPortalProvider.ts +22 -2
- package/src/lib/components/index.ts +4 -0
- package/src/lib/components/navigation/SideNavigationItem.tsx +1 -1
- package/src/lib/core/DevPortalContext.ts +1 -1
- package/src/lib/core/plugins.ts +16 -0
- package/src/lib/plugins/api-keys/CreateApiKey.tsx +1 -1
- package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +4 -4
- package/src/lib/plugins/api-keys/index.tsx +8 -1
- package/src/lib/plugins/custom-page/index.tsx +22 -0
- package/src/lib/plugins/markdown/MdxPage.tsx +2 -2
- package/src/lib/plugins/openapi/OperationListItem.tsx +1 -4
- package/src/lib/plugins/openapi/ParameterList.tsx +1 -1
- package/src/lib/plugins/openapi/SchemaListViewItem.tsx +3 -3
- package/src/lib/plugins/openapi/SidecarBox.tsx +1 -1
- package/src/lib/plugins/openapi/StaggeredRender.tsx +19 -5
- package/src/lib/plugins/openapi/playground/Playground.tsx +2 -2
- package/src/lib/ui/Card.tsx +1 -1
- package/src/lib/ui/DropdownMenu.tsx +199 -0
- package/src/lib/ui/button-variants.ts +1 -0
- package/src/lib/util/MdxComponents.tsx +1 -1
- package/src/lib/util/joinPath.tsx +2 -1
- package/dist/app/zudoku-manifest.d.ts +0 -1
- package/dist/app/zudoku-manifest.js +0 -20
- package/dist/app/zudoku-manifest.js.map +0 -1
- package/lib/Button-DpHMZvVs.js +0 -4571
- package/lib/Button-DpHMZvVs.js.map +0 -1
- package/lib/DevPortalProvider-Do9oJqme.js +0 -1081
- package/lib/DevPortalProvider-Do9oJqme.js.map +0 -1
- package/lib/Markdown-DtLFdxD1.js.map +0 -1
- package/lib/OperationList-DypxLtSC.js +0 -5578
- package/lib/OperationList-DypxLtSC.js.map +0 -1
- package/lib/Spinner-Bhbs5aPI.js +0 -182
- package/lib/Spinner-Bhbs5aPI.js.map +0 -1
- package/lib/index-gsAuUwQh.js +0 -418
- package/lib/index-gsAuUwQh.js.map +0 -1
- package/lib/jsx-runtime-CJZJivg2.js.map +0 -1
- package/lib/router-CBw2vqJE.js.map +0 -1
- package/lib/util-_jwUlTBU.js +0 -41
- package/lib/util-_jwUlTBU.js.map +0 -1
- package/src/app/zudoku-manifest.ts +0 -22
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as a from "react";
|
|
2
2
|
import it from "react";
|
|
3
|
-
import {
|
|
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
4
|
/**
|
|
5
|
-
* React Router v6.
|
|
5
|
+
* React Router v6.25.1
|
|
6
6
|
*
|
|
7
7
|
* Copyright (c) Remix Software Inc.
|
|
8
8
|
*
|
|
@@ -39,7 +39,7 @@ const U = /* @__PURE__ */ a.createContext({
|
|
|
39
39
|
process.env.NODE_ENV !== "production" && (U.displayName = "Route");
|
|
40
40
|
const De = /* @__PURE__ */ a.createContext(null);
|
|
41
41
|
process.env.NODE_ENV !== "production" && (De.displayName = "RouteError");
|
|
42
|
-
function
|
|
42
|
+
function mr(t, r) {
|
|
43
43
|
let {
|
|
44
44
|
relative: n
|
|
45
45
|
} = r === void 0 ? {} : r;
|
|
@@ -76,10 +76,10 @@ function G() {
|
|
|
76
76
|
"useLocation() may be used only in the context of a <Router> component."
|
|
77
77
|
) : R(!1)), a.useContext(z).location;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Er() {
|
|
80
80
|
return a.useContext(z).navigationType;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function yr(t) {
|
|
83
83
|
Y() || (process.env.NODE_ENV !== "production" ? R(
|
|
84
84
|
!1,
|
|
85
85
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
@@ -89,7 +89,7 @@ function Er(t) {
|
|
|
89
89
|
let {
|
|
90
90
|
pathname: r
|
|
91
91
|
} = G();
|
|
92
|
-
return a.useMemo(() => lt(t, r), [r, t]);
|
|
92
|
+
return a.useMemo(() => lt(t, or(r)), [r, t]);
|
|
93
93
|
}
|
|
94
94
|
const dt = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
|
|
95
95
|
function pt(t) {
|
|
@@ -99,9 +99,9 @@ function vt() {
|
|
|
99
99
|
let {
|
|
100
100
|
isDataRoute: t
|
|
101
101
|
} = a.useContext(U);
|
|
102
|
-
return t ?
|
|
102
|
+
return t ? Vr() : gr();
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function gr() {
|
|
105
105
|
Y() || (process.env.NODE_ENV !== "production" ? R(
|
|
106
106
|
!1,
|
|
107
107
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
@@ -130,7 +130,7 @@ function yr() {
|
|
|
130
130
|
}, [r, i, l, f, t]);
|
|
131
131
|
}
|
|
132
132
|
const ht = /* @__PURE__ */ a.createContext(null);
|
|
133
|
-
function
|
|
133
|
+
function br() {
|
|
134
134
|
return a.useContext(ht);
|
|
135
135
|
}
|
|
136
136
|
function mt(t) {
|
|
@@ -139,7 +139,7 @@ function mt(t) {
|
|
|
139
139
|
value: t
|
|
140
140
|
}, r);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function Rr() {
|
|
143
143
|
let {
|
|
144
144
|
matches: t
|
|
145
145
|
} = a.useContext(U), r = t[t.length - 1];
|
|
@@ -220,7 +220,7 @@ function Se(t, r, n, i) {
|
|
|
220
220
|
}
|
|
221
221
|
}, k) : k;
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function _r() {
|
|
224
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
225
|
padding: "0.5rem",
|
|
226
226
|
backgroundColor: i
|
|
@@ -240,8 +240,8 @@ function Rr() {
|
|
|
240
240
|
style: u
|
|
241
241
|
}, n) : null, l);
|
|
242
242
|
}
|
|
243
|
-
const
|
|
244
|
-
class
|
|
243
|
+
const Cr = /* @__PURE__ */ a.createElement(_r, null);
|
|
244
|
+
class Or extends a.Component {
|
|
245
245
|
constructor(r) {
|
|
246
246
|
super(r), this.state = {
|
|
247
247
|
location: r.location,
|
|
@@ -277,7 +277,7 @@ class Cr extends a.Component {
|
|
|
277
277
|
})) : this.props.children;
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
|
-
function
|
|
280
|
+
function Nr(t) {
|
|
281
281
|
let {
|
|
282
282
|
routeContext: r,
|
|
283
283
|
match: n,
|
|
@@ -318,10 +318,10 @@ function gt(t, r, n, i) {
|
|
|
318
318
|
}
|
|
319
319
|
return l.reduceRight((d, c, y) => {
|
|
320
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 ||
|
|
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
322
|
let k = r.concat(l.slice(0, y + 1)), E = () => {
|
|
323
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(
|
|
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
325
|
match: c,
|
|
326
326
|
routeContext: {
|
|
327
327
|
outlet: d,
|
|
@@ -331,7 +331,7 @@ function gt(t, r, n, i) {
|
|
|
331
331
|
children: L
|
|
332
332
|
});
|
|
333
333
|
};
|
|
334
|
-
return n && (c.route.ErrorBoundary || c.route.errorElement || y === 0) ? /* @__PURE__ */ a.createElement(
|
|
334
|
+
return n && (c.route.ErrorBoundary || c.route.errorElement || y === 0) ? /* @__PURE__ */ a.createElement(Or, {
|
|
335
335
|
location: n.location,
|
|
336
336
|
revalidation: n.revalidation,
|
|
337
337
|
component: j,
|
|
@@ -361,35 +361,35 @@ function W(t) {
|
|
|
361
361
|
let r = a.useContext(fe);
|
|
362
362
|
return r || (process.env.NODE_ENV !== "production" ? R(!1, Te(t)) : R(!1)), r;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function xr(t) {
|
|
365
365
|
let r = a.useContext(U);
|
|
366
366
|
return r || (process.env.NODE_ENV !== "production" ? R(!1, Te(t)) : R(!1)), r;
|
|
367
367
|
}
|
|
368
368
|
function ae(t) {
|
|
369
|
-
let r =
|
|
369
|
+
let r = xr(t), n = r.matches[r.matches.length - 1];
|
|
370
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
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function Pr() {
|
|
373
373
|
return ae(w.UseRouteId);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function Dr() {
|
|
376
376
|
return W(w.UseNavigation).navigation;
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function Sr() {
|
|
379
379
|
let t = we(de.UseRevalidator), r = W(w.UseRevalidator);
|
|
380
380
|
return a.useMemo(() => ({
|
|
381
381
|
revalidate: t.router.revalidate,
|
|
382
382
|
state: r.revalidation
|
|
383
383
|
}), [t.router.revalidate, r.revalidation]);
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function Tr() {
|
|
386
386
|
let {
|
|
387
387
|
matches: t,
|
|
388
388
|
loaderData: r
|
|
389
389
|
} = W(w.UseMatches);
|
|
390
|
-
return a.useMemo(() => t.map((n) =>
|
|
390
|
+
return a.useMemo(() => t.map((n) => ir(n, r)), [t, r]);
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function wr() {
|
|
393
393
|
let t = W(w.UseLoaderData), r = ae(w.UseLoaderData);
|
|
394
394
|
if (t.errors && t.errors[r] != null) {
|
|
395
395
|
console.error("You cannot `useLoaderData` in an errorElement (routeId: " + r + ")");
|
|
@@ -397,10 +397,10 @@ function Tr() {
|
|
|
397
397
|
}
|
|
398
398
|
return t.loaderData[r];
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function kr(t) {
|
|
401
401
|
return W(w.UseRouteLoaderData).loaderData[t];
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function jr() {
|
|
404
404
|
let t = W(w.UseActionData), r = ae(w.UseLoaderData);
|
|
405
405
|
return t.actionData ? t.actionData[r] : void 0;
|
|
406
406
|
}
|
|
@@ -413,12 +413,12 @@ function Rt() {
|
|
|
413
413
|
let t = a.useContext(re);
|
|
414
414
|
return t == null ? void 0 : t._data;
|
|
415
415
|
}
|
|
416
|
-
function
|
|
416
|
+
function Fr() {
|
|
417
417
|
let t = a.useContext(re);
|
|
418
418
|
return t == null ? void 0 : t._error;
|
|
419
419
|
}
|
|
420
|
-
let
|
|
421
|
-
function
|
|
420
|
+
let Ir = 0;
|
|
421
|
+
function Ur(t) {
|
|
422
422
|
let {
|
|
423
423
|
router: r,
|
|
424
424
|
basename: n
|
|
@@ -443,13 +443,13 @@ function Ir(t) {
|
|
|
443
443
|
});
|
|
444
444
|
}, [n, t]);
|
|
445
445
|
return a.useEffect(() => {
|
|
446
|
-
let h = String(++
|
|
446
|
+
let h = String(++Ir);
|
|
447
447
|
return f(h), () => r.deleteBlocker(h);
|
|
448
448
|
}, [r]), a.useEffect(() => {
|
|
449
449
|
u !== "" && r.getBlocker(u, l);
|
|
450
|
-
}, [r, u, l]), u && i.blockers.has(u) ? i.blockers.get(u) :
|
|
450
|
+
}, [r, u, l]), u && i.blockers.has(u) ? i.blockers.get(u) : sr;
|
|
451
451
|
}
|
|
452
|
-
function
|
|
452
|
+
function Vr() {
|
|
453
453
|
let {
|
|
454
454
|
router: t
|
|
455
455
|
} = we(de.UseNavigateStable), r = ae(w.UseNavigateStable), n = a.useRef(!1);
|
|
@@ -465,8 +465,8 @@ const nt = {};
|
|
|
465
465
|
function _t(t, r, n) {
|
|
466
466
|
!r && !nt[t] && (nt[t] = !0, process.env.NODE_ENV !== "production" && V(!1, n));
|
|
467
467
|
}
|
|
468
|
-
const
|
|
469
|
-
function
|
|
468
|
+
const Ar = "startTransition", ce = a[Ar];
|
|
469
|
+
function Lr(t) {
|
|
470
470
|
let {
|
|
471
471
|
fallbackElement: r,
|
|
472
472
|
router: n,
|
|
@@ -510,13 +510,13 @@ function Ar(t) {
|
|
|
510
510
|
future: {
|
|
511
511
|
v7_relativeSplatPath: n.future.v7_relativeSplatPath
|
|
512
512
|
}
|
|
513
|
-
}, u.initialized || n.future.v7_partialHydration ? /* @__PURE__ */ a.createElement(
|
|
513
|
+
}, u.initialized || n.future.v7_partialHydration ? /* @__PURE__ */ a.createElement(Mr, {
|
|
514
514
|
routes: n.routes,
|
|
515
515
|
future: n.future,
|
|
516
516
|
state: u
|
|
517
517
|
}) : r))), null);
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function Mr(t) {
|
|
520
520
|
let {
|
|
521
521
|
routes: r,
|
|
522
522
|
future: n,
|
|
@@ -524,7 +524,7 @@ function Lr(t) {
|
|
|
524
524
|
} = t;
|
|
525
525
|
return Se(r, void 0, i, n);
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function Br(t) {
|
|
528
528
|
let {
|
|
529
529
|
basename: r,
|
|
530
530
|
children: n,
|
|
@@ -554,7 +554,7 @@ function Mr(t) {
|
|
|
554
554
|
future: f
|
|
555
555
|
});
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function Yr(t) {
|
|
558
558
|
let {
|
|
559
559
|
to: r,
|
|
560
560
|
replace: n,
|
|
@@ -583,7 +583,7 @@ function Br(t) {
|
|
|
583
583
|
relative: u
|
|
584
584
|
}), [m, c, u, n, i]), null;
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function Wr(t) {
|
|
587
587
|
return mt(t.context);
|
|
588
588
|
}
|
|
589
589
|
function Ct(t) {
|
|
@@ -635,30 +635,30 @@ function ke(t) {
|
|
|
635
635
|
value: j
|
|
636
636
|
}));
|
|
637
637
|
}
|
|
638
|
-
function
|
|
638
|
+
function $r(t) {
|
|
639
639
|
let {
|
|
640
640
|
children: r,
|
|
641
641
|
location: n
|
|
642
642
|
} = t;
|
|
643
643
|
return yt(ne(r), n);
|
|
644
644
|
}
|
|
645
|
-
function
|
|
645
|
+
function Jr(t) {
|
|
646
646
|
let {
|
|
647
647
|
children: r,
|
|
648
648
|
errorElement: n,
|
|
649
649
|
resolve: i
|
|
650
650
|
} = t;
|
|
651
|
-
return /* @__PURE__ */ a.createElement(
|
|
651
|
+
return /* @__PURE__ */ a.createElement(Hr, {
|
|
652
652
|
resolve: i,
|
|
653
653
|
errorElement: n
|
|
654
|
-
}, /* @__PURE__ */ a.createElement(
|
|
654
|
+
}, /* @__PURE__ */ a.createElement(Kr, null, r));
|
|
655
655
|
}
|
|
656
656
|
var I = /* @__PURE__ */ function(t) {
|
|
657
657
|
return t[t.pending = 0] = "pending", t[t.success = 1] = "success", t[t.error = 2] = "error", t;
|
|
658
658
|
}(I || {});
|
|
659
|
-
const
|
|
659
|
+
const zr = new Promise(() => {
|
|
660
660
|
});
|
|
661
|
-
class
|
|
661
|
+
class Hr extends a.Component {
|
|
662
662
|
constructor(r) {
|
|
663
663
|
super(r), this.state = {
|
|
664
664
|
error: null
|
|
@@ -701,7 +701,7 @@ class zr extends a.Component {
|
|
|
701
701
|
get: () => l
|
|
702
702
|
})));
|
|
703
703
|
if (f === I.error && u._error instanceof ft)
|
|
704
|
-
throw
|
|
704
|
+
throw zr;
|
|
705
705
|
if (f === I.error && !n)
|
|
706
706
|
throw u._error;
|
|
707
707
|
if (f === I.error)
|
|
@@ -717,7 +717,7 @@ class zr extends a.Component {
|
|
|
717
717
|
throw u;
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function Kr(t) {
|
|
721
721
|
let {
|
|
722
722
|
children: r
|
|
723
723
|
} = t, n = Rt(), i = typeof r == "function" ? r(n) : r;
|
|
@@ -754,7 +754,7 @@ function ne(t, r) {
|
|
|
754
754
|
i.props.children && (l.children = ne(i.props.children, f)), n.push(l);
|
|
755
755
|
}), n;
|
|
756
756
|
}
|
|
757
|
-
function
|
|
757
|
+
function qr(t) {
|
|
758
758
|
return gt(t);
|
|
759
759
|
}
|
|
760
760
|
function Ot(t) {
|
|
@@ -774,8 +774,8 @@ function Ot(t) {
|
|
|
774
774
|
ErrorBoundary: void 0
|
|
775
775
|
})), r;
|
|
776
776
|
}
|
|
777
|
-
function
|
|
778
|
-
return
|
|
777
|
+
function Gr(t, r) {
|
|
778
|
+
return ur({
|
|
779
779
|
basename: r == null ? void 0 : r.basename,
|
|
780
780
|
future: B({}, r == null ? void 0 : r.future, {
|
|
781
781
|
v7_prependBasename: !0
|
|
@@ -791,63 +791,63 @@ function qr(t, r) {
|
|
|
791
791
|
unstable_patchRoutesOnMiss: r == null ? void 0 : r.unstable_patchRoutesOnMiss
|
|
792
792
|
}).initialize();
|
|
793
793
|
}
|
|
794
|
-
const
|
|
794
|
+
const tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
795
795
|
__proto__: null,
|
|
796
796
|
AbortedDeferredError: ft,
|
|
797
|
-
Await:
|
|
798
|
-
MemoryRouter:
|
|
799
|
-
Navigate:
|
|
797
|
+
Await: Jr,
|
|
798
|
+
MemoryRouter: Br,
|
|
799
|
+
Navigate: Yr,
|
|
800
800
|
get NavigationType() {
|
|
801
801
|
return xe;
|
|
802
802
|
},
|
|
803
|
-
Outlet:
|
|
803
|
+
Outlet: Wr,
|
|
804
804
|
Route: Ct,
|
|
805
805
|
Router: ke,
|
|
806
|
-
RouterProvider:
|
|
807
|
-
Routes:
|
|
806
|
+
RouterProvider: Lr,
|
|
807
|
+
Routes: $r,
|
|
808
808
|
UNSAFE_DataRouterContext: q,
|
|
809
809
|
UNSAFE_DataRouterStateContext: fe,
|
|
810
810
|
UNSAFE_LocationContext: z,
|
|
811
811
|
UNSAFE_NavigationContext: M,
|
|
812
812
|
UNSAFE_RouteContext: U,
|
|
813
813
|
UNSAFE_mapRouteProperties: Ot,
|
|
814
|
-
UNSAFE_useRouteId:
|
|
814
|
+
UNSAFE_useRouteId: Pr,
|
|
815
815
|
UNSAFE_useRoutesImpl: Se,
|
|
816
|
-
createMemoryRouter:
|
|
817
|
-
createPath:
|
|
816
|
+
createMemoryRouter: Gr,
|
|
817
|
+
createPath: lr,
|
|
818
818
|
createRoutesFromChildren: ne,
|
|
819
819
|
createRoutesFromElements: ne,
|
|
820
|
-
defer:
|
|
821
|
-
generatePath:
|
|
820
|
+
defer: cr,
|
|
821
|
+
generatePath: fr,
|
|
822
822
|
isRouteErrorResponse: ut,
|
|
823
|
-
json:
|
|
823
|
+
json: dr,
|
|
824
824
|
matchPath: lt,
|
|
825
825
|
matchRoutes: st,
|
|
826
826
|
parsePath: Pe,
|
|
827
|
-
redirect:
|
|
828
|
-
redirectDocument:
|
|
829
|
-
renderMatches:
|
|
830
|
-
resolvePath:
|
|
831
|
-
useActionData:
|
|
832
|
-
useAsyncError:
|
|
827
|
+
redirect: pr,
|
|
828
|
+
redirectDocument: vr,
|
|
829
|
+
renderMatches: qr,
|
|
830
|
+
resolvePath: hr,
|
|
831
|
+
useActionData: jr,
|
|
832
|
+
useAsyncError: Fr,
|
|
833
833
|
useAsyncValue: Rt,
|
|
834
|
-
useBlocker:
|
|
835
|
-
useHref:
|
|
834
|
+
useBlocker: Ur,
|
|
835
|
+
useHref: mr,
|
|
836
836
|
useInRouterContext: Y,
|
|
837
|
-
useLoaderData:
|
|
837
|
+
useLoaderData: wr,
|
|
838
838
|
useLocation: G,
|
|
839
|
-
useMatch:
|
|
840
|
-
useMatches:
|
|
839
|
+
useMatch: yr,
|
|
840
|
+
useMatches: Tr,
|
|
841
841
|
useNavigate: vt,
|
|
842
|
-
useNavigation:
|
|
843
|
-
useNavigationType:
|
|
842
|
+
useNavigation: Dr,
|
|
843
|
+
useNavigationType: Er,
|
|
844
844
|
useOutlet: mt,
|
|
845
|
-
useOutletContext:
|
|
846
|
-
useParams:
|
|
845
|
+
useOutletContext: br,
|
|
846
|
+
useParams: Rr,
|
|
847
847
|
useResolvedPath: Et,
|
|
848
|
-
useRevalidator:
|
|
848
|
+
useRevalidator: Sr,
|
|
849
849
|
useRouteError: bt,
|
|
850
|
-
useRouteLoaderData:
|
|
850
|
+
useRouteLoaderData: kr,
|
|
851
851
|
useRoutes: yt
|
|
852
852
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
853
853
|
var Ce = { exports: {} }, ee = {};
|
|
@@ -861,7 +861,7 @@ var Ce = { exports: {} }, ee = {};
|
|
|
861
861
|
* LICENSE file in the root directory of this source tree.
|
|
862
862
|
*/
|
|
863
863
|
var at;
|
|
864
|
-
function
|
|
864
|
+
function Xr() {
|
|
865
865
|
if (at) return ee;
|
|
866
866
|
at = 1;
|
|
867
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 };
|
|
@@ -885,7 +885,7 @@ var te = {};
|
|
|
885
885
|
* LICENSE file in the root directory of this source tree.
|
|
886
886
|
*/
|
|
887
887
|
var ot;
|
|
888
|
-
function
|
|
888
|
+
function Zr() {
|
|
889
889
|
return ot || (ot = 1, process.env.NODE_ENV !== "production" && function() {
|
|
890
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
891
|
function P(e) {
|
|
@@ -1478,49 +1478,49 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1478
1478
|
te.Fragment = i, te.jsx = tr, te.jsxs = rr;
|
|
1479
1479
|
}()), te;
|
|
1480
1480
|
}
|
|
1481
|
-
process.env.NODE_ENV === "production" ? Ce.exports =
|
|
1482
|
-
var
|
|
1481
|
+
process.env.NODE_ENV === "production" ? Ce.exports = Xr() : Ce.exports = Zr();
|
|
1482
|
+
var rn = Ce.exports;
|
|
1483
1483
|
export {
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1484
|
+
Jr as A,
|
|
1485
|
+
wr as B,
|
|
1486
|
+
yr as C,
|
|
1487
1487
|
fe as D,
|
|
1488
|
-
|
|
1488
|
+
Er as E,
|
|
1489
1489
|
mt as F,
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1490
|
+
br as G,
|
|
1491
|
+
Sr as H,
|
|
1492
|
+
kr as I,
|
|
1493
1493
|
yt as J,
|
|
1494
1494
|
z as L,
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1495
|
+
Br as M,
|
|
1496
|
+
Yr as N,
|
|
1497
|
+
Wr as O,
|
|
1498
|
+
U as R,
|
|
1499
|
+
G as a,
|
|
1500
|
+
vt 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
1515
|
Ct as q,
|
|
1516
|
-
|
|
1517
|
-
|
|
1516
|
+
$r as r,
|
|
1517
|
+
Gr as s,
|
|
1518
1518
|
ne as t,
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1519
|
+
Dr as u,
|
|
1520
|
+
qr as v,
|
|
1521
|
+
jr as w,
|
|
1522
|
+
Fr as x,
|
|
1523
1523
|
Rt as y,
|
|
1524
1524
|
Y as z
|
|
1525
1525
|
};
|
|
1526
|
-
//# sourceMappingURL=jsx-runtime-
|
|
1526
|
+
//# sourceMappingURL=jsx-runtime-BIr0WBt_.js.map
|