zudoku 0.27.0 → 0.28.1
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/main.js +1 -2
- package/dist/app/main.js.map +1 -1
- package/dist/config/validators/InputSidebarSchema.d.ts +2 -2
- package/dist/lib/components/PathRenderer.d.ts +11 -0
- package/dist/lib/components/PathRenderer.js +25 -0
- package/dist/lib/components/PathRenderer.js.map +1 -0
- package/dist/lib/components/ThemeSwitch.js +4 -4
- package/dist/lib/components/ThemeSwitch.js.map +1 -1
- package/dist/lib/components/index.d.ts +1 -0
- package/dist/lib/components/index.js +4 -2
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/components/navigation/SidebarCategory.js +17 -15
- package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
- package/dist/lib/oas/graphql/circular.js +17 -6
- package/dist/lib/oas/graphql/circular.js.map +1 -1
- package/dist/lib/oas/graphql/index.d.ts +1 -0
- package/dist/lib/oas/graphql/index.js +41 -23
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js +3 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js +2 -2
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/{Route.d.ts → OpenApiRoute.d.ts} +2 -1
- package/dist/lib/plugins/openapi/{Route.js → OpenApiRoute.js} +3 -4
- package/dist/lib/plugins/openapi/OpenApiRoute.js.map +1 -0
- package/dist/lib/plugins/openapi/OperationList.d.ts +4 -1
- package/dist/lib/plugins/openapi/OperationList.js +20 -14
- package/dist/lib/plugins/openapi/OperationList.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/ParameterListItem.js +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +1 -1
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +2 -0
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js +6 -11
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarExamples.js +17 -14
- package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +6 -2
- package/dist/lib/plugins/openapi/graphql/gql.js +3 -2
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +47 -26
- package/dist/lib/plugins/openapi/graphql/graphql.js +20 -16
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.js +97 -54
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +1 -0
- package/dist/lib/plugins/openapi/playground/PathParams.js +1 -1
- package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.js +7 -15
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/{SchemaComponents.js → SchemaPropertyItem.js} +10 -8
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/SchemaView.js +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/utils.d.ts +1 -0
- package/dist/lib/plugins/openapi/schema/utils.js +2 -0
- package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
- package/dist/lib/util/joinUrl.js +1 -1
- package/dist/lib/util/joinUrl.js.map +1 -1
- package/dist/lib/util/joinUrl.test.d.ts +1 -0
- package/dist/lib/util/joinUrl.test.js +43 -0
- package/dist/lib/util/joinUrl.test.js.map +1 -0
- package/dist/vite/plugin-api.js +9 -1
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/prerender.js +0 -1
- package/dist/vite/prerender.js.map +1 -1
- package/lib/{AuthenticationPlugin-CO_YCd2x.js → AuthenticationPlugin-Du8cLBSr.js} +2 -2
- package/lib/{AuthenticationPlugin-CO_YCd2x.js.map → AuthenticationPlugin-Du8cLBSr.js.map} +1 -1
- package/lib/{Markdown-B8o9Qz4q.js → Markdown-Cyrx_JrO.js} +8 -9
- package/lib/{Markdown-B8o9Qz4q.js.map → Markdown-Cyrx_JrO.js.map} +1 -1
- package/lib/{MdxPage-BxRt3Ly7.js → MdxPage-BuG8Tuwc.js} +5 -5
- package/lib/{MdxPage-BxRt3Ly7.js.map → MdxPage-BuG8Tuwc.js.map} +1 -1
- package/lib/OpenApiRoute-UrC_t0e5.js +36 -0
- package/lib/OpenApiRoute-UrC_t0e5.js.map +1 -0
- package/lib/{OperationList-DH-zIgtq.js → OperationList-CDt1xdc4.js} +1312 -1303
- package/lib/OperationList-CDt1xdc4.js.map +1 -0
- package/lib/{Select-B7UXR0SB.js → Select-CnCZ4WhS.js} +3 -3
- package/lib/{Select-B7UXR0SB.js.map → Select-CnCZ4WhS.js.map} +1 -1
- package/lib/{SlotletProvider-CtIp8rP3.js → SlotletProvider-mQiPDQIH.js} +2 -2
- package/lib/{SlotletProvider-CtIp8rP3.js.map → SlotletProvider-mQiPDQIH.js.map} +1 -1
- package/lib/{SyntaxHighlight-C1w1QPdY.js → SyntaxHighlight-B0L4SC_N.js} +11 -5
- package/lib/SyntaxHighlight-B0L4SC_N.js.map +1 -0
- package/lib/{ZudokuContext-8jts0fF3.js → ZudokuContext-BTUJPpQl.js} +21 -21
- package/lib/{ZudokuContext-8jts0fF3.js.map → ZudokuContext-BTUJPpQl.js.map} +1 -1
- package/lib/{circular-Dgpd6AN-.js → circular-DxaIIlWD.js} +251 -239
- package/lib/{circular-Dgpd6AN-.js.map → circular-DxaIIlWD.js.map} +1 -1
- package/lib/{createServer-BV0tHzLK.js → createServer-CjNktZzL.js} +821 -808
- package/lib/{createServer-BV0tHzLK.js.map → createServer-CjNktZzL.js.map} +1 -1
- package/lib/{hook-BG02esyv.js → hook-FT3SJLe_.js} +2 -2
- package/lib/{hook-BG02esyv.js.map → hook-FT3SJLe_.js.map} +1 -1
- package/lib/{index-LNp6rxyU.js → index-CjJS0l4l.js} +2 -2
- package/lib/{index-LNp6rxyU.js.map → index-CjJS0l4l.js.map} +1 -1
- package/lib/{index-DmqsUPcm.js → index-Eb1oiHbM.js} +881 -799
- package/lib/index-Eb1oiHbM.js.map +1 -0
- package/lib/{joinUrl-BTy9bvoK.js → joinUrl-nLx9pD-Z.js} +2 -2
- package/lib/joinUrl-nLx9pD-Z.js.map +1 -0
- package/lib/{useScrollToAnchor-Bl6mz9_x.js → useScrollToAnchor-BZsGmBng.js} +86 -90
- package/lib/useScrollToAnchor-BZsGmBng.js.map +1 -0
- package/lib/zudoku.auth-clerk.js +1 -1
- package/lib/zudoku.auth-openid.js +3 -3
- package/lib/zudoku.components.js +364 -348
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.plugin-api-catalog.js +3 -3
- package/lib/zudoku.plugin-api-keys.js +4 -4
- package/lib/zudoku.plugin-custom-pages.js +1 -1
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +6 -5
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/package.json +1 -1
- package/src/app/main.tsx +1 -2
- package/src/lib/components/PathRenderer.tsx +59 -0
- package/src/lib/components/ThemeSwitch.tsx +15 -14
- package/src/lib/components/index.ts +7 -5
- package/src/lib/components/navigation/SidebarCategory.tsx +44 -41
- package/src/lib/oas/graphql/circular.ts +27 -6
- package/src/lib/oas/graphql/index.ts +63 -35
- package/src/lib/plugins/openapi/ColorizedParam.tsx +3 -3
- package/src/lib/plugins/openapi/Endpoint.tsx +2 -2
- package/src/lib/plugins/openapi/{Route.tsx → OpenApiRoute.tsx} +3 -3
- package/src/lib/plugins/openapi/OperationList.tsx +34 -12
- package/src/lib/plugins/openapi/OperationListItem.tsx +6 -1
- package/src/lib/plugins/openapi/ParameterListItem.tsx +1 -1
- package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +2 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +18 -27
- package/src/lib/plugins/openapi/SidecarExamples.tsx +24 -24
- package/src/lib/plugins/openapi/graphql/gql.ts +12 -4
- package/src/lib/plugins/openapi/graphql/graphql.ts +66 -43
- package/src/lib/plugins/openapi/index.tsx +125 -67
- package/src/lib/plugins/openapi/interfaces.ts +1 -0
- package/src/lib/plugins/openapi/playground/PathParams.tsx +1 -1
- package/src/lib/plugins/openapi/playground/Playground.tsx +23 -33
- package/src/lib/plugins/openapi/schema/{SchemaComponents.tsx → SchemaPropertyItem.tsx} +10 -6
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +4 -1
- package/src/lib/plugins/openapi/schema/utils.ts +4 -0
- package/src/lib/util/joinUrl.test.ts +62 -0
- package/src/lib/util/joinUrl.ts +1 -1
- package/dist/lib/plugins/openapi/Route.js.map +0 -1
- package/dist/lib/plugins/openapi/schema/SchemaComponents.js.map +0 -1
- package/lib/OperationList-DH-zIgtq.js.map +0 -1
- package/lib/Route-DJ0ZlVq1.js +0 -35
- package/lib/Route-DJ0ZlVq1.js.map +0 -1
- package/lib/StaggeredRender-DgsamH_G.js +0 -17
- package/lib/StaggeredRender-DgsamH_G.js.map +0 -1
- package/lib/SyntaxHighlight-C1w1QPdY.js.map +0 -1
- package/lib/index-Bn6Lc9tq.js +0 -9
- package/lib/index-Bn6Lc9tq.js.map +0 -1
- package/lib/index-DmqsUPcm.js.map +0 -1
- package/lib/joinUrl-BTy9bvoK.js.map +0 -1
- package/lib/useScrollToAnchor-Bl6mz9_x.js.map +0 -1
- /package/dist/lib/plugins/openapi/schema/{SchemaComponents.d.ts → SchemaPropertyItem.d.ts} +0 -0
package/lib/zudoku.components.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var lt = Object.defineProperty;
|
|
2
|
+
var xe = (t) => {
|
|
3
3
|
throw TypeError(t);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var P = (t, e, n) =>
|
|
7
|
-
var l = (t, e, n) => (
|
|
5
|
+
var ct = (t, e, n) => e in t ? lt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
6
|
+
var P = (t, e, n) => ct(t, typeof e != "symbol" ? e + "" : e, n), ye = (t, e, n) => e.has(t) || xe("Cannot " + n);
|
|
7
|
+
var l = (t, e, n) => (ye(t, e, "read from private field"), n ? n.call(t) : e.get(t)), j = (t, e, n) => e.has(t) ? xe("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), y = (t, e, n, s) => (ye(t, e, "write to private field"), s ? s.call(t, n) : e.set(t, n), n);
|
|
8
8
|
var _ = (t, e, n, s) => ({
|
|
9
9
|
set _(a) {
|
|
10
10
|
y(t, e, a, n);
|
|
@@ -13,48 +13,47 @@ var _ = (t, e, n, s) => ({
|
|
|
13
13
|
return l(t, e, s);
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
import { a as
|
|
17
|
-
import {
|
|
18
|
-
import { M as
|
|
19
|
-
import { E as qe, S as M, a as ft, R as mt } from "./SlotletProvider-CtIp8rP3.js";
|
|
16
|
+
import { a as Re, H as ie } from "./index.esm-9-TF9KQB.js";
|
|
17
|
+
import { u as oe, m as ut, O as le, R as dt, S as ht, h as ce, N as ft, L as ue } from "./chunk-SYFQ2XB5-BPvC-soB.js";
|
|
18
|
+
import { M as gt, u as z } from "./hook-FT3SJLe_.js";
|
|
20
19
|
import { j as r } from "./jsx-runtime-Bdg6XQ1m.js";
|
|
21
|
-
import
|
|
22
|
-
import {
|
|
23
|
-
import { S as
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import {
|
|
28
|
-
import
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
var D,
|
|
20
|
+
import * as $ from "react";
|
|
21
|
+
import mt, { useEffect as B, createContext as de, StrictMode as Fe, useRef as he, useState as H, useCallback as pt, Suspense as fe, memo as ze, forwardRef as xt, Component as yt, createElement as ve, useMemo as te, useContext as vt, Fragment as bt } from "react";
|
|
22
|
+
import { S as Be, m as He, Q as jt, n as w, o as be, p as je, q as N, r as wt, t as Pt, v as Ct, w as kt, x as we, y as Pe, z as St, h as Ce, A as ke, B as Dt, e as Mt, a as E, C as Le, D as Ke, E as Nt, j as re, u as Ot, Z as Et, F as At, G as Qt } from "./ZudokuContext-BTUJPpQl.js";
|
|
23
|
+
import { Z as $e } from "./invariant-Caa8-XvF.js";
|
|
24
|
+
import { E as Ze, S as M, a as It, R as Tt } from "./SlotletProvider-mQiPDQIH.js";
|
|
25
|
+
import { Button as qt } from "./ui/Button.js";
|
|
26
|
+
import { Callout as Rt } from "./ui/Callout.js";
|
|
27
|
+
import * as Ft from "react-dom";
|
|
28
|
+
import { C as ge } from "./ClientOnly-E7hGysn1.js";
|
|
29
|
+
import { CircleXIcon as zt, SearchIcon as Bt, MoonStarIcon as Ht, SunIcon as Lt, MenuIcon as Kt, PanelLeftIcon as $t } from "lucide-react";
|
|
30
|
+
import { Drawer as Ue, DrawerTrigger as Ye, DrawerContent as Xe, DrawerTitle as Ve } from "./ui/Drawer.js";
|
|
31
|
+
import { c as U } from "./cn-qaFjX9_3.js";
|
|
32
|
+
import { S as Se, a as Zt, M as Ut, u as Yt } from "./useScrollToAnchor-BZsGmBng.js";
|
|
33
|
+
import { u as Xt, a as Vt, V as _t, M as Wt } from "./Markdown-Cyrx_JrO.js";
|
|
34
|
+
import { B as ee, S as _e } from "./Spinner-BlzrEEk1.js";
|
|
35
|
+
import { DropdownMenu as Gt, DropdownMenuTrigger as Jt, DropdownMenuContent as en, DropdownMenuLabel as tn, DropdownMenuSeparator as ne, DropdownMenuSub as nn, DropdownMenuSubTrigger as sn, DropdownMenuPortal as rn, DropdownMenuSubContent as an, DropdownMenuItem as on } from "./ui/DropdownMenu.js";
|
|
36
|
+
import { j as De } from "./joinUrl-nLx9pD-Z.js";
|
|
37
|
+
import { VisuallyHidden as We } from "@radix-ui/react-visually-hidden";
|
|
38
|
+
import { z as ln, J as cn } from "./SyntaxHighlight-B0L4SC_N.js";
|
|
39
|
+
import { a as un } from "./index-Djenk2Hj.js";
|
|
40
|
+
var D, Ie, dn = (Ie = class extends Be {
|
|
42
41
|
constructor(e = {}) {
|
|
43
42
|
super();
|
|
44
43
|
j(this, D);
|
|
45
44
|
this.config = e, y(this, D, /* @__PURE__ */ new Map());
|
|
46
45
|
}
|
|
47
46
|
build(e, n, s) {
|
|
48
|
-
const a = n.queryKey,
|
|
49
|
-
let
|
|
50
|
-
return
|
|
47
|
+
const a = n.queryKey, i = n.queryHash ?? He(a, n);
|
|
48
|
+
let o = this.get(i);
|
|
49
|
+
return o || (o = new jt({
|
|
51
50
|
cache: this,
|
|
52
51
|
queryKey: a,
|
|
53
|
-
queryHash:
|
|
52
|
+
queryHash: i,
|
|
54
53
|
options: e.defaultQueryOptions(n),
|
|
55
54
|
state: s,
|
|
56
55
|
defaultOptions: e.getQueryDefaults(a)
|
|
57
|
-
}), this.add(
|
|
56
|
+
}), this.add(o)), o;
|
|
58
57
|
}
|
|
59
58
|
add(e) {
|
|
60
59
|
l(this, D).has(e.queryHash) || (l(this, D).set(e.queryHash, e), this.notify({
|
|
@@ -82,12 +81,12 @@ var D, Oe, un = (Oe = class extends Re {
|
|
|
82
81
|
find(e) {
|
|
83
82
|
const n = { exact: !0, ...e };
|
|
84
83
|
return this.getAll().find(
|
|
85
|
-
(s) =>
|
|
84
|
+
(s) => be(n, s)
|
|
86
85
|
);
|
|
87
86
|
}
|
|
88
87
|
findAll(e = {}) {
|
|
89
88
|
const n = this.getAll();
|
|
90
|
-
return Object.keys(e).length > 0 ? n.filter((s) =>
|
|
89
|
+
return Object.keys(e).length > 0 ? n.filter((s) => be(e, s)) : n;
|
|
91
90
|
}
|
|
92
91
|
notify(e) {
|
|
93
92
|
w.batch(() => {
|
|
@@ -110,16 +109,16 @@ var D, Oe, un = (Oe = class extends Re {
|
|
|
110
109
|
});
|
|
111
110
|
});
|
|
112
111
|
}
|
|
113
|
-
}, D = new WeakMap(),
|
|
112
|
+
}, D = new WeakMap(), Ie), O, k, Y, Te, hn = (Te = class extends Be {
|
|
114
113
|
constructor(e = {}) {
|
|
115
114
|
super();
|
|
116
115
|
j(this, O);
|
|
117
|
-
j(this,
|
|
116
|
+
j(this, k);
|
|
118
117
|
j(this, Y);
|
|
119
|
-
this.config = e, y(this, O, /* @__PURE__ */ new Set()), y(this,
|
|
118
|
+
this.config = e, y(this, O, /* @__PURE__ */ new Set()), y(this, k, /* @__PURE__ */ new Map()), y(this, Y, 0);
|
|
120
119
|
}
|
|
121
120
|
build(e, n, s) {
|
|
122
|
-
const a = new
|
|
121
|
+
const a = new gt({
|
|
123
122
|
mutationCache: this,
|
|
124
123
|
mutationId: ++_(this, Y)._,
|
|
125
124
|
options: e.defaultMutationOptions(n),
|
|
@@ -131,8 +130,8 @@ var D, Oe, un = (Oe = class extends Re {
|
|
|
131
130
|
l(this, O).add(e);
|
|
132
131
|
const n = W(e);
|
|
133
132
|
if (typeof n == "string") {
|
|
134
|
-
const s = l(this,
|
|
135
|
-
s ? s.push(e) : l(this,
|
|
133
|
+
const s = l(this, k).get(n);
|
|
134
|
+
s ? s.push(e) : l(this, k).set(n, [e]);
|
|
136
135
|
}
|
|
137
136
|
this.notify({ type: "added", mutation: e });
|
|
138
137
|
}
|
|
@@ -140,12 +139,12 @@ var D, Oe, un = (Oe = class extends Re {
|
|
|
140
139
|
if (l(this, O).delete(e)) {
|
|
141
140
|
const n = W(e);
|
|
142
141
|
if (typeof n == "string") {
|
|
143
|
-
const s = l(this,
|
|
142
|
+
const s = l(this, k).get(n);
|
|
144
143
|
if (s)
|
|
145
144
|
if (s.length > 1) {
|
|
146
145
|
const a = s.indexOf(e);
|
|
147
146
|
a !== -1 && s.splice(a, 1);
|
|
148
|
-
} else s[0] === e && l(this,
|
|
147
|
+
} else s[0] === e && l(this, k).delete(n);
|
|
149
148
|
}
|
|
150
149
|
}
|
|
151
150
|
this.notify({ type: "removed", mutation: e });
|
|
@@ -153,8 +152,8 @@ var D, Oe, un = (Oe = class extends Re {
|
|
|
153
152
|
canRun(e) {
|
|
154
153
|
const n = W(e);
|
|
155
154
|
if (typeof n == "string") {
|
|
156
|
-
const s = l(this,
|
|
157
|
-
(
|
|
155
|
+
const s = l(this, k).get(n), a = s == null ? void 0 : s.find(
|
|
156
|
+
(i) => i.state.status === "pending"
|
|
158
157
|
);
|
|
159
158
|
return !a || a === e;
|
|
160
159
|
} else
|
|
@@ -164,7 +163,7 @@ var D, Oe, un = (Oe = class extends Re {
|
|
|
164
163
|
var s;
|
|
165
164
|
const n = W(e);
|
|
166
165
|
if (typeof n == "string") {
|
|
167
|
-
const a = (s = l(this,
|
|
166
|
+
const a = (s = l(this, k).get(n)) == null ? void 0 : s.find((i) => i !== e && i.state.isPaused);
|
|
168
167
|
return (a == null ? void 0 : a.continue()) ?? Promise.resolve();
|
|
169
168
|
} else
|
|
170
169
|
return Promise.resolve();
|
|
@@ -173,7 +172,7 @@ var D, Oe, un = (Oe = class extends Re {
|
|
|
173
172
|
w.batch(() => {
|
|
174
173
|
l(this, O).forEach((e) => {
|
|
175
174
|
this.notify({ type: "removed", mutation: e });
|
|
176
|
-
}), l(this, O).clear(), l(this,
|
|
175
|
+
}), l(this, O).clear(), l(this, k).clear();
|
|
177
176
|
});
|
|
178
177
|
}
|
|
179
178
|
getAll() {
|
|
@@ -182,11 +181,11 @@ var D, Oe, un = (Oe = class extends Re {
|
|
|
182
181
|
find(e) {
|
|
183
182
|
const n = { exact: !0, ...e };
|
|
184
183
|
return this.getAll().find(
|
|
185
|
-
(s) =>
|
|
184
|
+
(s) => je(n, s)
|
|
186
185
|
);
|
|
187
186
|
}
|
|
188
187
|
findAll(e = {}) {
|
|
189
|
-
return this.getAll().filter((n) =>
|
|
188
|
+
return this.getAll().filter((n) => je(e, n));
|
|
190
189
|
}
|
|
191
190
|
notify(e) {
|
|
192
191
|
w.batch(() => {
|
|
@@ -203,67 +202,67 @@ var D, Oe, un = (Oe = class extends Re {
|
|
|
203
202
|
)
|
|
204
203
|
);
|
|
205
204
|
}
|
|
206
|
-
}, O = new WeakMap(),
|
|
205
|
+
}, O = new WeakMap(), k = new WeakMap(), Y = new WeakMap(), Te);
|
|
207
206
|
function W(t) {
|
|
208
207
|
var e;
|
|
209
208
|
return (e = t.options.scope) == null ? void 0 : e.id;
|
|
210
209
|
}
|
|
211
|
-
function
|
|
210
|
+
function Me(t) {
|
|
212
211
|
return {
|
|
213
212
|
onFetch: (e, n) => {
|
|
214
|
-
var
|
|
215
|
-
const s = e.options, a = (h = (f = (
|
|
213
|
+
var g, f, h, x, v;
|
|
214
|
+
const s = e.options, a = (h = (f = (g = e.fetchOptions) == null ? void 0 : g.meta) == null ? void 0 : f.fetchMore) == null ? void 0 : h.direction, i = ((x = e.state.data) == null ? void 0 : x.pages) || [], o = ((v = e.state.data) == null ? void 0 : v.pageParams) || [];
|
|
216
215
|
let u = { pages: [], pageParams: [] }, d = 0;
|
|
217
216
|
const c = async () => {
|
|
218
|
-
let
|
|
217
|
+
let m = !1;
|
|
219
218
|
const C = (b) => {
|
|
220
219
|
Object.defineProperty(b, "signal", {
|
|
221
220
|
enumerable: !0,
|
|
222
|
-
get: () => (e.signal.aborted ?
|
|
223
|
-
|
|
221
|
+
get: () => (e.signal.aborted ? m = !0 : e.signal.addEventListener("abort", () => {
|
|
222
|
+
m = !0;
|
|
224
223
|
}), e.signal)
|
|
225
224
|
});
|
|
226
|
-
}, X =
|
|
227
|
-
if (
|
|
225
|
+
}, X = wt(e.options, e.fetchOptions), L = async (b, S, K) => {
|
|
226
|
+
if (m)
|
|
228
227
|
return Promise.reject();
|
|
229
|
-
if (
|
|
228
|
+
if (S == null && b.pages.length)
|
|
230
229
|
return Promise.resolve(b);
|
|
231
230
|
const V = {
|
|
232
231
|
queryKey: e.queryKey,
|
|
233
|
-
pageParam:
|
|
234
|
-
direction:
|
|
232
|
+
pageParam: S,
|
|
233
|
+
direction: K ? "backward" : "forward",
|
|
235
234
|
meta: e.options.meta
|
|
236
235
|
};
|
|
237
236
|
C(V);
|
|
238
|
-
const
|
|
237
|
+
const ot = await X(
|
|
239
238
|
V
|
|
240
|
-
), { maxPages:
|
|
239
|
+
), { maxPages: me } = e.options, pe = K ? Pt : Ct;
|
|
241
240
|
return {
|
|
242
|
-
pages:
|
|
243
|
-
pageParams:
|
|
241
|
+
pages: pe(b.pages, ot, me),
|
|
242
|
+
pageParams: pe(b.pageParams, S, me)
|
|
244
243
|
};
|
|
245
244
|
};
|
|
246
|
-
if (a &&
|
|
247
|
-
const b = a === "backward",
|
|
248
|
-
pages:
|
|
249
|
-
pageParams:
|
|
250
|
-
}, V =
|
|
251
|
-
u = await
|
|
245
|
+
if (a && i.length) {
|
|
246
|
+
const b = a === "backward", S = b ? fn : Ne, K = {
|
|
247
|
+
pages: i,
|
|
248
|
+
pageParams: o
|
|
249
|
+
}, V = S(s, K);
|
|
250
|
+
u = await L(K, V, b);
|
|
252
251
|
} else {
|
|
253
|
-
const b = t ??
|
|
252
|
+
const b = t ?? i.length;
|
|
254
253
|
do {
|
|
255
|
-
const
|
|
256
|
-
if (d > 0 &&
|
|
254
|
+
const S = d === 0 ? o[0] ?? s.initialPageParam : Ne(s, u);
|
|
255
|
+
if (d > 0 && S == null)
|
|
257
256
|
break;
|
|
258
|
-
u = await
|
|
257
|
+
u = await L(u, S), d++;
|
|
259
258
|
} while (d < b);
|
|
260
259
|
}
|
|
261
260
|
return u;
|
|
262
261
|
};
|
|
263
262
|
e.options.persister ? e.fetchFn = () => {
|
|
264
|
-
var
|
|
265
|
-
return (C = (
|
|
266
|
-
|
|
263
|
+
var m, C;
|
|
264
|
+
return (C = (m = e.options).persister) == null ? void 0 : C.call(
|
|
265
|
+
m,
|
|
267
266
|
c,
|
|
268
267
|
{
|
|
269
268
|
queryKey: e.queryKey,
|
|
@@ -276,7 +275,7 @@ function Ce(t) {
|
|
|
276
275
|
}
|
|
277
276
|
};
|
|
278
277
|
}
|
|
279
|
-
function
|
|
278
|
+
function Ne(t, { pages: e, pageParams: n }) {
|
|
280
279
|
const s = e.length - 1;
|
|
281
280
|
return e.length > 0 ? t.getNextPageParam(
|
|
282
281
|
e[s],
|
|
@@ -285,38 +284,38 @@ function Se(t, { pages: e, pageParams: n }) {
|
|
|
285
284
|
n
|
|
286
285
|
) : void 0;
|
|
287
286
|
}
|
|
288
|
-
function
|
|
287
|
+
function fn(t, { pages: e, pageParams: n }) {
|
|
289
288
|
var s;
|
|
290
289
|
return e.length > 0 ? (s = t.getPreviousPageParam) == null ? void 0 : s.call(t, e[0], e, n[0], n) : void 0;
|
|
291
290
|
}
|
|
292
|
-
var p,
|
|
291
|
+
var p, A, Q, T, q, I, R, F, qe, gn = (qe = class {
|
|
293
292
|
constructor(t = {}) {
|
|
294
293
|
j(this, p);
|
|
295
|
-
j(this, E);
|
|
296
294
|
j(this, A);
|
|
295
|
+
j(this, Q);
|
|
297
296
|
j(this, T);
|
|
298
297
|
j(this, q);
|
|
299
|
-
j(this,
|
|
298
|
+
j(this, I);
|
|
300
299
|
j(this, R);
|
|
301
300
|
j(this, F);
|
|
302
|
-
y(this, p, t.queryCache || new
|
|
301
|
+
y(this, p, t.queryCache || new dn()), y(this, A, t.mutationCache || new hn()), y(this, Q, t.defaultOptions || {}), y(this, T, /* @__PURE__ */ new Map()), y(this, q, /* @__PURE__ */ new Map()), y(this, I, 0);
|
|
303
302
|
}
|
|
304
303
|
mount() {
|
|
305
|
-
_(this,
|
|
304
|
+
_(this, I)._++, l(this, I) === 1 && (y(this, R, kt.subscribe(async (t) => {
|
|
306
305
|
t && (await this.resumePausedMutations(), l(this, p).onFocus());
|
|
307
|
-
})), y(this, F,
|
|
306
|
+
})), y(this, F, we.subscribe(async (t) => {
|
|
308
307
|
t && (await this.resumePausedMutations(), l(this, p).onOnline());
|
|
309
308
|
})));
|
|
310
309
|
}
|
|
311
310
|
unmount() {
|
|
312
311
|
var t, e;
|
|
313
|
-
_(this,
|
|
312
|
+
_(this, I)._--, l(this, I) === 0 && ((t = l(this, R)) == null || t.call(this), y(this, R, void 0), (e = l(this, F)) == null || e.call(this), y(this, F, void 0));
|
|
314
313
|
}
|
|
315
314
|
isFetching(t) {
|
|
316
315
|
return l(this, p).findAll({ ...t, fetchStatus: "fetching" }).length;
|
|
317
316
|
}
|
|
318
317
|
isMutating(t) {
|
|
319
|
-
return l(this,
|
|
318
|
+
return l(this, A).findAll({ ...t, status: "pending" }).length;
|
|
320
319
|
}
|
|
321
320
|
getQueryData(t) {
|
|
322
321
|
var n;
|
|
@@ -325,7 +324,7 @@ var p, E, A, T, q, Q, R, F, Ae, fn = (Ae = class {
|
|
|
325
324
|
}
|
|
326
325
|
ensureQueryData(t) {
|
|
327
326
|
const e = this.defaultQueryOptions(t), n = l(this, p).build(this, e), s = n.state.data;
|
|
328
|
-
return s === void 0 ? this.fetchQuery(t) : (t.revalidateIfStale && n.isStaleByTime(
|
|
327
|
+
return s === void 0 ? this.fetchQuery(t) : (t.revalidateIfStale && n.isStaleByTime(Pe(e.staleTime, n)) && this.prefetchQuery(e), Promise.resolve(s));
|
|
329
328
|
}
|
|
330
329
|
getQueriesData(t) {
|
|
331
330
|
return l(this, p).findAll(t).map(({ queryKey: e, state: n }) => {
|
|
@@ -336,9 +335,9 @@ var p, E, A, T, q, Q, R, F, Ae, fn = (Ae = class {
|
|
|
336
335
|
setQueryData(t, e, n) {
|
|
337
336
|
const s = this.defaultQueryOptions({ queryKey: t }), a = l(this, p).get(
|
|
338
337
|
s.queryHash
|
|
339
|
-
),
|
|
340
|
-
if (
|
|
341
|
-
return l(this, p).build(this, s).setData(
|
|
338
|
+
), i = a == null ? void 0 : a.state.data, o = St(e, i);
|
|
339
|
+
if (o !== void 0)
|
|
340
|
+
return l(this, p).build(this, s).setData(o, { ...n, manual: !0 });
|
|
342
341
|
}
|
|
343
342
|
setQueriesData(t, e, n) {
|
|
344
343
|
return w.batch(
|
|
@@ -397,8 +396,8 @@ var p, E, A, T, q, Q, R, F, Ae, fn = (Ae = class {
|
|
|
397
396
|
cancelRefetch: e.cancelRefetch ?? !0
|
|
398
397
|
}, s = w.batch(
|
|
399
398
|
() => l(this, p).findAll(t).filter((a) => !a.isDisabled()).map((a) => {
|
|
400
|
-
let
|
|
401
|
-
return n.throwOnError || (
|
|
399
|
+
let i = a.fetch(void 0, n);
|
|
400
|
+
return n.throwOnError || (i = i.catch(N)), a.state.fetchStatus === "paused" ? Promise.resolve() : i;
|
|
402
401
|
})
|
|
403
402
|
);
|
|
404
403
|
return Promise.all(s).then(N);
|
|
@@ -408,38 +407,38 @@ var p, E, A, T, q, Q, R, F, Ae, fn = (Ae = class {
|
|
|
408
407
|
e.retry === void 0 && (e.retry = !1);
|
|
409
408
|
const n = l(this, p).build(this, e);
|
|
410
409
|
return n.isStaleByTime(
|
|
411
|
-
|
|
410
|
+
Pe(e.staleTime, n)
|
|
412
411
|
) ? n.fetch(e) : Promise.resolve(n.state.data);
|
|
413
412
|
}
|
|
414
413
|
prefetchQuery(t) {
|
|
415
414
|
return this.fetchQuery(t).then(N).catch(N);
|
|
416
415
|
}
|
|
417
416
|
fetchInfiniteQuery(t) {
|
|
418
|
-
return t.behavior =
|
|
417
|
+
return t.behavior = Me(t.pages), this.fetchQuery(t);
|
|
419
418
|
}
|
|
420
419
|
prefetchInfiniteQuery(t) {
|
|
421
420
|
return this.fetchInfiniteQuery(t).then(N).catch(N);
|
|
422
421
|
}
|
|
423
422
|
ensureInfiniteQueryData(t) {
|
|
424
|
-
return t.behavior =
|
|
423
|
+
return t.behavior = Me(t.pages), this.ensureQueryData(t);
|
|
425
424
|
}
|
|
426
425
|
resumePausedMutations() {
|
|
427
|
-
return
|
|
426
|
+
return we.isOnline() ? l(this, A).resumePausedMutations() : Promise.resolve();
|
|
428
427
|
}
|
|
429
428
|
getQueryCache() {
|
|
430
429
|
return l(this, p);
|
|
431
430
|
}
|
|
432
431
|
getMutationCache() {
|
|
433
|
-
return l(this,
|
|
432
|
+
return l(this, A);
|
|
434
433
|
}
|
|
435
434
|
getDefaultOptions() {
|
|
436
|
-
return l(this,
|
|
435
|
+
return l(this, Q);
|
|
437
436
|
}
|
|
438
437
|
setDefaultOptions(t) {
|
|
439
|
-
y(this,
|
|
438
|
+
y(this, Q, t);
|
|
440
439
|
}
|
|
441
440
|
setQueryDefaults(t, e) {
|
|
442
|
-
l(this, T).set(
|
|
441
|
+
l(this, T).set(Ce(t), {
|
|
443
442
|
queryKey: t,
|
|
444
443
|
defaultOptions: e
|
|
445
444
|
});
|
|
@@ -447,11 +446,11 @@ var p, E, A, T, q, Q, R, F, Ae, fn = (Ae = class {
|
|
|
447
446
|
getQueryDefaults(t) {
|
|
448
447
|
const e = [...l(this, T).values()], n = {};
|
|
449
448
|
return e.forEach((s) => {
|
|
450
|
-
|
|
449
|
+
ke(t, s.queryKey) && Object.assign(n, s.defaultOptions);
|
|
451
450
|
}), n;
|
|
452
451
|
}
|
|
453
452
|
setMutationDefaults(t, e) {
|
|
454
|
-
l(this, q).set(
|
|
453
|
+
l(this, q).set(Ce(t), {
|
|
455
454
|
mutationKey: t,
|
|
456
455
|
defaultOptions: e
|
|
457
456
|
});
|
|
@@ -460,44 +459,44 @@ var p, E, A, T, q, Q, R, F, Ae, fn = (Ae = class {
|
|
|
460
459
|
const e = [...l(this, q).values()];
|
|
461
460
|
let n = {};
|
|
462
461
|
return e.forEach((s) => {
|
|
463
|
-
|
|
462
|
+
ke(t, s.mutationKey) && (n = { ...n, ...s.defaultOptions });
|
|
464
463
|
}), n;
|
|
465
464
|
}
|
|
466
465
|
defaultQueryOptions(t) {
|
|
467
466
|
if (t._defaulted)
|
|
468
467
|
return t;
|
|
469
468
|
const e = {
|
|
470
|
-
...l(this,
|
|
469
|
+
...l(this, Q).queries,
|
|
471
470
|
...this.getQueryDefaults(t.queryKey),
|
|
472
471
|
...t,
|
|
473
472
|
_defaulted: !0
|
|
474
473
|
};
|
|
475
|
-
return e.queryHash || (e.queryHash =
|
|
474
|
+
return e.queryHash || (e.queryHash = He(
|
|
476
475
|
e.queryKey,
|
|
477
476
|
e
|
|
478
|
-
)), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn ===
|
|
477
|
+
)), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn === Dt && (e.enabled = !1), e;
|
|
479
478
|
}
|
|
480
479
|
defaultMutationOptions(t) {
|
|
481
480
|
return t != null && t._defaulted ? t : {
|
|
482
|
-
...l(this,
|
|
481
|
+
...l(this, Q).mutations,
|
|
483
482
|
...(t == null ? void 0 : t.mutationKey) && this.getMutationDefaults(t.mutationKey),
|
|
484
483
|
...t,
|
|
485
484
|
_defaulted: !0
|
|
486
485
|
};
|
|
487
486
|
}
|
|
488
487
|
clear() {
|
|
489
|
-
l(this, p).clear(), l(this,
|
|
488
|
+
l(this, p).clear(), l(this, A).clear();
|
|
490
489
|
}
|
|
491
|
-
}, p = new WeakMap(),
|
|
490
|
+
}, p = new WeakMap(), A = new WeakMap(), Q = new WeakMap(), T = new WeakMap(), q = new WeakMap(), I = new WeakMap(), R = new WeakMap(), F = new WeakMap(), qe);
|
|
492
491
|
function mn(t) {
|
|
493
492
|
return t;
|
|
494
493
|
}
|
|
495
|
-
function
|
|
494
|
+
function Oe(t, e, n) {
|
|
496
495
|
var d, c;
|
|
497
496
|
if (typeof e != "object" || e === null)
|
|
498
497
|
return;
|
|
499
|
-
const s = t.getMutationCache(), a = t.getQueryCache(),
|
|
500
|
-
|
|
498
|
+
const s = t.getMutationCache(), a = t.getQueryCache(), i = ((d = n == null ? void 0 : n.defaultOptions) == null ? void 0 : d.deserializeData) ?? ((c = t.getDefaultOptions().hydrate) == null ? void 0 : c.deserializeData) ?? mn, o = e.mutations || [], u = e.queries || [];
|
|
499
|
+
o.forEach(({ state: g, ...f }) => {
|
|
501
500
|
var h, x;
|
|
502
501
|
s.build(
|
|
503
502
|
t,
|
|
@@ -506,27 +505,27 @@ function ke(t, e, n) {
|
|
|
506
505
|
...(x = n == null ? void 0 : n.defaultOptions) == null ? void 0 : x.mutations,
|
|
507
506
|
...f
|
|
508
507
|
},
|
|
509
|
-
|
|
508
|
+
g
|
|
510
509
|
);
|
|
511
|
-
}), u.forEach(({ queryKey:
|
|
512
|
-
var X,
|
|
513
|
-
let
|
|
514
|
-
const C = f.data === void 0 ? f.data :
|
|
515
|
-
if (
|
|
516
|
-
if (
|
|
517
|
-
const { fetchStatus: b, ...
|
|
518
|
-
|
|
519
|
-
...
|
|
510
|
+
}), u.forEach(({ queryKey: g, state: f, queryHash: h, meta: x, promise: v }) => {
|
|
511
|
+
var X, L;
|
|
512
|
+
let m = a.get(h);
|
|
513
|
+
const C = f.data === void 0 ? f.data : i(f.data);
|
|
514
|
+
if (m) {
|
|
515
|
+
if (m.state.dataUpdatedAt < f.dataUpdatedAt) {
|
|
516
|
+
const { fetchStatus: b, ...S } = f;
|
|
517
|
+
m.setState({
|
|
518
|
+
...S,
|
|
520
519
|
data: C
|
|
521
520
|
});
|
|
522
521
|
}
|
|
523
522
|
} else
|
|
524
|
-
|
|
523
|
+
m = a.build(
|
|
525
524
|
t,
|
|
526
525
|
{
|
|
527
526
|
...(X = t.getDefaultOptions().hydrate) == null ? void 0 : X.queries,
|
|
528
|
-
...(
|
|
529
|
-
queryKey:
|
|
527
|
+
...(L = n == null ? void 0 : n.defaultOptions) == null ? void 0 : L.queries,
|
|
528
|
+
queryKey: g,
|
|
530
529
|
queryHash: h,
|
|
531
530
|
meta: x
|
|
532
531
|
},
|
|
@@ -539,44 +538,61 @@ function ke(t, e, n) {
|
|
|
539
538
|
}
|
|
540
539
|
);
|
|
541
540
|
if (v) {
|
|
542
|
-
const b = Promise.resolve(v).then(
|
|
543
|
-
|
|
541
|
+
const b = Promise.resolve(v).then(i);
|
|
542
|
+
m.fetch(void 0, { initialPromise: b });
|
|
544
543
|
}
|
|
545
544
|
});
|
|
546
545
|
}
|
|
547
|
-
var
|
|
546
|
+
var pn = ({
|
|
548
547
|
children: t,
|
|
549
548
|
options: e = {},
|
|
550
549
|
state: n,
|
|
551
550
|
queryClient: s
|
|
552
551
|
}) => {
|
|
553
|
-
const a =
|
|
554
|
-
return u.current = e,
|
|
552
|
+
const a = Mt(s), [i, o] = $.useState(), u = $.useRef(e);
|
|
553
|
+
return u.current = e, $.useMemo(() => {
|
|
555
554
|
if (n) {
|
|
556
555
|
if (typeof n != "object")
|
|
557
556
|
return;
|
|
558
|
-
const d = a.getQueryCache(), c = n.queries || [],
|
|
557
|
+
const d = a.getQueryCache(), c = n.queries || [], g = [], f = [];
|
|
559
558
|
for (const h of c) {
|
|
560
559
|
const x = d.get(h.queryHash);
|
|
561
560
|
if (!x)
|
|
562
|
-
|
|
561
|
+
g.push(h);
|
|
563
562
|
else {
|
|
564
|
-
const v = h.state.dataUpdatedAt > x.state.dataUpdatedAt,
|
|
563
|
+
const v = h.state.dataUpdatedAt > x.state.dataUpdatedAt, m = i == null ? void 0 : i.find(
|
|
565
564
|
(C) => C.queryHash === h.queryHash
|
|
566
565
|
);
|
|
567
|
-
v && (!
|
|
566
|
+
v && (!m || h.state.dataUpdatedAt > m.state.dataUpdatedAt) && f.push(h);
|
|
568
567
|
}
|
|
569
568
|
}
|
|
570
|
-
|
|
569
|
+
g.length > 0 && Oe(a, { queries: g }, u.current), f.length > 0 && o(
|
|
571
570
|
(h) => h ? [...h, ...f] : f
|
|
572
571
|
);
|
|
573
572
|
}
|
|
574
|
-
}, [a,
|
|
575
|
-
|
|
576
|
-
}, [a,
|
|
573
|
+
}, [a, i, n]), $.useEffect(() => {
|
|
574
|
+
i && (Oe(a, { queries: i }, u.current), o(void 0));
|
|
575
|
+
}, [a, i]), t;
|
|
577
576
|
};
|
|
578
|
-
|
|
579
|
-
|
|
577
|
+
const xn = () => {
|
|
578
|
+
var a;
|
|
579
|
+
const t = z(), e = E(), n = oe(), s = (a = e.options.protectedRoutes) == null ? void 0 : a.some(
|
|
580
|
+
(i) => ut({ path: i, end: !0 }, n.pathname)
|
|
581
|
+
);
|
|
582
|
+
if (B(() => {
|
|
583
|
+
var i;
|
|
584
|
+
s && !t.isAuthenticated && ((i = e.authentication) == null || i.signIn());
|
|
585
|
+
}, [s, t.isAuthenticated, e.authentication]), s && !t.isAuthenticated)
|
|
586
|
+
return null;
|
|
587
|
+
if (s && !t.isAuthEnabled)
|
|
588
|
+
throw new $e("Authentication is not enabled", {
|
|
589
|
+
title: "Authentication is not enabled",
|
|
590
|
+
developerHint: "To use protectedRoutes you need authentication to be enabled"
|
|
591
|
+
});
|
|
592
|
+
return /* @__PURE__ */ r.jsx(le, {});
|
|
593
|
+
};
|
|
594
|
+
function yn({ error: t }) {
|
|
595
|
+
return /* @__PURE__ */ r.jsx(Ze, { error: t });
|
|
580
596
|
}
|
|
581
597
|
/**
|
|
582
598
|
* react-router v7.1.3
|
|
@@ -588,44 +604,44 @@ function pn({ error: t }) {
|
|
|
588
604
|
*
|
|
589
605
|
* @license MIT
|
|
590
606
|
*/
|
|
591
|
-
function
|
|
592
|
-
return /* @__PURE__ */
|
|
607
|
+
function vn(t) {
|
|
608
|
+
return /* @__PURE__ */ $.createElement(dt, { flushSync: Ft.flushSync, ...t });
|
|
593
609
|
}
|
|
594
|
-
const
|
|
610
|
+
const ae = de({ stagger: !1 }), bn = new gn({
|
|
595
611
|
defaultOptions: {
|
|
596
612
|
queries: {
|
|
597
613
|
staleTime: 1e3 * 60 * 5
|
|
598
614
|
}
|
|
599
615
|
}
|
|
600
|
-
}),
|
|
616
|
+
}), jn = ({
|
|
601
617
|
router: t,
|
|
602
618
|
hydrate: e = !1
|
|
603
|
-
}) => /* @__PURE__ */ r.jsx(
|
|
619
|
+
}) => /* @__PURE__ */ r.jsx(Fe, { children: /* @__PURE__ */ r.jsx(Le, { client: bn, children: /* @__PURE__ */ r.jsx(pn, { state: e ? window.DATA : void 0, children: /* @__PURE__ */ r.jsx(Re, { children: /* @__PURE__ */ r.jsx(ae.Provider, { value: { stagger: !e }, children: /* @__PURE__ */ r.jsx(vn, { router: t }) }) }) }) }) }), wn = ({
|
|
604
620
|
router: t,
|
|
605
621
|
context: e,
|
|
606
622
|
queryClient: n,
|
|
607
623
|
helmetContext: s
|
|
608
|
-
}) => /* @__PURE__ */ r.jsx(
|
|
609
|
-
var
|
|
610
|
-
function
|
|
611
|
-
return
|
|
624
|
+
}) => /* @__PURE__ */ r.jsx(Fe, { children: /* @__PURE__ */ r.jsx(Le, { client: n, children: /* @__PURE__ */ r.jsx(Re, { context: s, children: /* @__PURE__ */ r.jsx(ht, { router: t, context: e }) }) }) });
|
|
625
|
+
var Z = { exports: {} }, Pn = Z.exports, Ee;
|
|
626
|
+
function Cn() {
|
|
627
|
+
return Ee || (Ee = 1, function(t, e) {
|
|
612
628
|
(function(n, s) {
|
|
613
|
-
s(e,
|
|
614
|
-
})(
|
|
629
|
+
s(e, mt);
|
|
630
|
+
})(Pn, function(n, s) {
|
|
615
631
|
const a = {
|
|
616
632
|
delay: 500,
|
|
617
633
|
minDuration: 200,
|
|
618
634
|
ssr: !0
|
|
619
635
|
};
|
|
620
|
-
function
|
|
636
|
+
function i() {
|
|
621
637
|
const [u, d] = s.useState(!0);
|
|
622
638
|
return s.useEffect(() => {
|
|
623
639
|
d(!1);
|
|
624
640
|
}, []), u;
|
|
625
641
|
}
|
|
626
|
-
function
|
|
642
|
+
function o(u, d) {
|
|
627
643
|
d = Object.assign({}, a, d);
|
|
628
|
-
const c =
|
|
644
|
+
const c = i() && d.ssr, g = c && u ? "DISPLAY" : "IDLE", [f, h] = s.useState(g), x = s.useRef(null);
|
|
629
645
|
return s.useEffect(() => {
|
|
630
646
|
if (u && (f === "IDLE" || c)) {
|
|
631
647
|
clearTimeout(x.current);
|
|
@@ -641,44 +657,44 @@ function wn() {
|
|
|
641
657
|
!u && f !== "DISPLAY" && (clearTimeout(x.current), h("IDLE"));
|
|
642
658
|
}, [u, f, d.delay, d.minDuration, c]), s.useEffect(() => () => clearTimeout(x.current), []), f === "DISPLAY" || f === "EXPIRE";
|
|
643
659
|
}
|
|
644
|
-
n.defaultOptions = a, n.useSpinDelay =
|
|
660
|
+
n.defaultOptions = a, n.useSpinDelay = o;
|
|
645
661
|
});
|
|
646
|
-
}(
|
|
662
|
+
}(Z, Z.exports)), Z.exports;
|
|
647
663
|
}
|
|
648
|
-
var
|
|
649
|
-
const
|
|
650
|
-
const t =
|
|
651
|
-
|
|
664
|
+
var kn = Cn();
|
|
665
|
+
const Sn = () => {
|
|
666
|
+
const t = oe(), e = he(t.pathname);
|
|
667
|
+
B(() => {
|
|
652
668
|
e.current !== t.pathname && (window.scrollTo(0, 0), e.current = t.pathname);
|
|
653
669
|
}, [t.pathname]);
|
|
654
670
|
};
|
|
655
|
-
function
|
|
671
|
+
function Dn({
|
|
656
672
|
className: t,
|
|
657
673
|
...e
|
|
658
674
|
}) {
|
|
659
675
|
return /* @__PURE__ */ r.jsx(
|
|
660
676
|
"div",
|
|
661
677
|
{
|
|
662
|
-
className:
|
|
678
|
+
className: U("animate-pulse rounded-md bg-muted", t),
|
|
663
679
|
...e
|
|
664
680
|
}
|
|
665
681
|
);
|
|
666
682
|
}
|
|
667
|
-
const
|
|
683
|
+
const Mn = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems == "function", Nn = (t) => "getRoutes" in t && typeof t.getRoutes == "function", On = (t) => "renderSearch" in t && typeof t.renderSearch == "function", En = (t) => "initialize" in t && typeof t.initialize == "function", An = (t) => "getHead" in t && typeof t.getHead == "function", Qn = (t) => "getMdxComponents" in t && typeof t.getMdxComponents == "function", In = (t) => "getIdentities" in t && typeof t.getIdentities == "function", Ae = {
|
|
668
684
|
info: "bg-blue-500",
|
|
669
685
|
note: "bg-gray-500",
|
|
670
686
|
tip: "bg-green-600",
|
|
671
687
|
caution: "bg-orange-500",
|
|
672
688
|
danger: "bg-rose-500"
|
|
673
|
-
},
|
|
674
|
-
const { page: t } =
|
|
689
|
+
}, Tn = () => {
|
|
690
|
+
const { page: t } = E(), [e, n] = H(!0);
|
|
675
691
|
if (!(t != null && t.banner) || !e)
|
|
676
692
|
return /* @__PURE__ */ r.jsx("style", { children: ":root { --banner-height: 0px; }" });
|
|
677
|
-
const s = t.banner.color && t.banner.color in
|
|
693
|
+
const s = t.banner.color && t.banner.color in Ae ? Ae[t.banner.color] : t.banner.color ? void 0 : "bg-primary", a = s ? {} : { backgroundColor: t.banner.color };
|
|
678
694
|
return /* @__PURE__ */ r.jsxs(
|
|
679
695
|
"div",
|
|
680
696
|
{
|
|
681
|
-
className:
|
|
697
|
+
className: U(
|
|
682
698
|
"relative text-primary-foreground text-sm font-medium px-4 py-2 flex gap-2 items-center",
|
|
683
699
|
s
|
|
684
700
|
),
|
|
@@ -691,26 +707,26 @@ const kn = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems ==
|
|
|
691
707
|
type: "button",
|
|
692
708
|
className: "md:absolute md:right-4 -m-1.5 p-1.5 hover:bg-accent-foreground/10 rounded-md",
|
|
693
709
|
onClick: () => n(!1),
|
|
694
|
-
children: /* @__PURE__ */ r.jsx(
|
|
710
|
+
children: /* @__PURE__ */ r.jsx(zt, { size: 16 })
|
|
695
711
|
}
|
|
696
712
|
)
|
|
697
713
|
]
|
|
698
714
|
}
|
|
699
715
|
);
|
|
700
|
-
},
|
|
701
|
-
const e =
|
|
702
|
-
|
|
716
|
+
}, Ge = ({ className: t }) => {
|
|
717
|
+
const e = E(), [n, s] = H(!1), a = pt(() => s(!1), []);
|
|
718
|
+
B(() => {
|
|
703
719
|
if (n)
|
|
704
720
|
return;
|
|
705
|
-
function
|
|
721
|
+
function o(u) {
|
|
706
722
|
u.key === "k" && (u.metaKey || u.ctrlKey) && (u.preventDefault(), s(!0));
|
|
707
723
|
}
|
|
708
|
-
return window.addEventListener("keydown",
|
|
709
|
-
window.removeEventListener("keydown",
|
|
724
|
+
return window.addEventListener("keydown", o), () => {
|
|
725
|
+
window.removeEventListener("keydown", o);
|
|
710
726
|
};
|
|
711
727
|
}, [n, s]);
|
|
712
|
-
const
|
|
713
|
-
return
|
|
728
|
+
const i = e.plugins.find(On);
|
|
729
|
+
return i ? /* @__PURE__ */ r.jsxs("div", { className: t, children: [
|
|
714
730
|
/* @__PURE__ */ r.jsxs(
|
|
715
731
|
"button",
|
|
716
732
|
{
|
|
@@ -719,83 +735,82 @@ const kn = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems ==
|
|
|
719
735
|
className: "flex items-center border border-input hover:bg-accent hover:text-accent-foreground p-4 relative h-8 justify-start rounded-lg bg-background text-sm text-muted-foreground shadow-none w-full sm:w-72",
|
|
720
736
|
children: [
|
|
721
737
|
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
|
|
722
|
-
/* @__PURE__ */ r.jsx(
|
|
738
|
+
/* @__PURE__ */ r.jsx(Bt, { size: 14 }),
|
|
723
739
|
"Search"
|
|
724
740
|
] }),
|
|
725
741
|
/* @__PURE__ */ r.jsx("kbd", { className: "absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: "⌘K" })
|
|
726
742
|
]
|
|
727
743
|
}
|
|
728
744
|
),
|
|
729
|
-
/* @__PURE__ */ r.jsx(
|
|
745
|
+
/* @__PURE__ */ r.jsx(fe, { fallback: null, children: i.renderSearch({
|
|
730
746
|
isOpen: n,
|
|
731
747
|
onClose: a
|
|
732
748
|
}) })
|
|
733
749
|
] }) : null;
|
|
734
750
|
}, Je = () => {
|
|
735
|
-
const { resolvedTheme: t, setTheme: e } =
|
|
736
|
-
return /* @__PURE__ */ r.jsx(
|
|
737
|
-
|
|
751
|
+
const { resolvedTheme: t, setTheme: e } = ln(), n = t === "dark" ? Ht : Lt;
|
|
752
|
+
return /* @__PURE__ */ r.jsx(ge, { fallback: /* @__PURE__ */ r.jsx(ee, { variant: "ghost", size: "icon" }), children: /* @__PURE__ */ r.jsx(
|
|
753
|
+
ee,
|
|
738
754
|
{
|
|
739
755
|
variant: "ghost",
|
|
740
756
|
size: "icon",
|
|
741
757
|
"aria-label": t === "dark" ? "Switch to light mode" : "Switch to dark mode",
|
|
742
|
-
className: B(t ? "opacity-100" : "opacity-0"),
|
|
743
758
|
onClick: () => e(t === "dark" ? "light" : "dark"),
|
|
744
759
|
children: /* @__PURE__ */ r.jsx(n, { size: 18 })
|
|
745
760
|
}
|
|
746
|
-
);
|
|
747
|
-
},
|
|
748
|
-
const { topNavigation: t } =
|
|
749
|
-
return t.length <= 1 ? /* @__PURE__ */ r.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ r.jsx(
|
|
750
|
-
},
|
|
761
|
+
) });
|
|
762
|
+
}, et = (t) => (e) => e.display === "auth" && t || e.display === "anon" && !t || !e.display || e.display === "always", qn = () => {
|
|
763
|
+
const { topNavigation: t } = E(), { isAuthenticated: e } = z();
|
|
764
|
+
return t.length <= 1 ? /* @__PURE__ */ r.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ r.jsx(fe, { children: /* @__PURE__ */ r.jsx("nav", { className: "hidden lg:block text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ r.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.filter(et(e)).map((n) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx(tt, { ...n }) }, n.id)) }) }) });
|
|
765
|
+
}, tt = ({
|
|
751
766
|
id: t,
|
|
752
767
|
label: e,
|
|
753
768
|
default: n
|
|
754
769
|
}) => {
|
|
755
770
|
var c;
|
|
756
|
-
const { sidebars: s } =
|
|
757
|
-
if (
|
|
758
|
-
}) :
|
|
771
|
+
const { sidebars: s } = E(), a = s[t], i = Ke(), o = !!ce().location, u = ((c = i.topNavItem) == null ? void 0 : c.id) === t && !o, d = n ?? (a ? Nt(a, (g) => {
|
|
772
|
+
if (g.type === "doc") return re(g.id);
|
|
773
|
+
}) : re(t));
|
|
759
774
|
if (!d)
|
|
760
|
-
throw new
|
|
775
|
+
throw new $e("Page not found.", {
|
|
761
776
|
developerHint: `No links found in top navigation for '${t}'. Check that the sidebar isn't empty or that a default link is set.`
|
|
762
777
|
});
|
|
763
778
|
return (
|
|
764
779
|
// We don't use isActive here because it has to be inside the sidebar,
|
|
765
780
|
// the top nav id doesn't necessarily start with the sidebar id
|
|
766
781
|
/* @__PURE__ */ r.jsx(
|
|
767
|
-
|
|
782
|
+
ft,
|
|
768
783
|
{
|
|
769
|
-
className: ({ isPending:
|
|
784
|
+
className: ({ isPending: g }) => un(
|
|
770
785
|
"block lg:py-3.5 font-medium -mb-px",
|
|
771
|
-
u ||
|
|
786
|
+
u || g ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
|
|
772
787
|
),
|
|
773
788
|
to: d,
|
|
774
789
|
children: e
|
|
775
790
|
}
|
|
776
791
|
)
|
|
777
792
|
);
|
|
778
|
-
},
|
|
779
|
-
const { topNavigation: t } =
|
|
793
|
+
}, Rn = () => {
|
|
794
|
+
const { topNavigation: t } = E(), { isAuthenticated: e } = z(), [n, s] = H(!1);
|
|
780
795
|
return /* @__PURE__ */ r.jsxs(
|
|
781
|
-
|
|
796
|
+
Ue,
|
|
782
797
|
{
|
|
783
798
|
direction: "right",
|
|
784
799
|
open: n,
|
|
785
800
|
onOpenChange: (a) => s(a),
|
|
786
801
|
children: [
|
|
787
|
-
/* @__PURE__ */ r.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ r.jsx(
|
|
802
|
+
/* @__PURE__ */ r.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ r.jsx(Ye, { className: "lg:hidden", children: /* @__PURE__ */ r.jsx(Kt, { size: 22 }) }) }),
|
|
788
803
|
/* @__PURE__ */ r.jsx(
|
|
789
|
-
|
|
804
|
+
Xe,
|
|
790
805
|
{
|
|
791
806
|
className: "lg:hidden h-[100dvh] right-0 left-auto w-[320px] rounded-none",
|
|
792
807
|
"aria-describedby": void 0,
|
|
793
808
|
children: /* @__PURE__ */ r.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
|
|
794
|
-
/* @__PURE__ */ r.jsx(
|
|
795
|
-
/* @__PURE__ */ r.jsx(
|
|
809
|
+
/* @__PURE__ */ r.jsx(We, { children: /* @__PURE__ */ r.jsx(Ve, { children: "Navigation" }) }),
|
|
810
|
+
/* @__PURE__ */ r.jsx(Ge, { className: "flex p-4" }),
|
|
796
811
|
/* @__PURE__ */ r.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
|
|
797
812
|
/* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx(Je, {}) }),
|
|
798
|
-
t.filter(
|
|
813
|
+
t.filter(et(e)).map((a) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx("button", { onClick: () => s(!1), children: /* @__PURE__ */ r.jsx(tt, { ...a }) }) }, a.label))
|
|
799
814
|
] })
|
|
800
815
|
] })
|
|
801
816
|
}
|
|
@@ -803,31 +818,31 @@ const kn = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems ==
|
|
|
803
818
|
]
|
|
804
819
|
}
|
|
805
820
|
);
|
|
806
|
-
},
|
|
807
|
-
/* @__PURE__ */ r.jsx(
|
|
808
|
-
/* @__PURE__ */ r.jsx(
|
|
821
|
+
}, J = ({ item: t }) => t.children ? /* @__PURE__ */ r.jsxs(nn, { children: [
|
|
822
|
+
/* @__PURE__ */ r.jsx(sn, { children: t.label }),
|
|
823
|
+
/* @__PURE__ */ r.jsx(rn, { children: /* @__PURE__ */ r.jsx(an, { children: t.children.map((e, n) => (
|
|
809
824
|
// eslint-disable-next-line react/no-array-index-key
|
|
810
|
-
/* @__PURE__ */ r.jsx(
|
|
825
|
+
/* @__PURE__ */ r.jsx(J, { item: e }, n)
|
|
811
826
|
)) }) })
|
|
812
|
-
] }, t.label) : /* @__PURE__ */ r.jsx(
|
|
827
|
+
] }, t.label) : /* @__PURE__ */ r.jsx(ue, { to: t.path ?? "", children: /* @__PURE__ */ r.jsxs(on, { className: "flex gap-2", children: [
|
|
813
828
|
t.icon && /* @__PURE__ */ r.jsx(t.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
|
|
814
829
|
t.label
|
|
815
|
-
] }, t.label) }),
|
|
816
|
-
const e =
|
|
830
|
+
] }, t.label) }), nt = ze(function() {
|
|
831
|
+
const e = z(), { isAuthenticated: n, profile: s, isAuthEnabled: a } = z(), i = E(), { page: o, plugins: u } = i, d = u.filter((c) => Mn(c)).flatMap((c) => c.getProfileMenuItems(i)).sort((c) => c.weight ?? 0);
|
|
817
832
|
return /* @__PURE__ */ r.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
|
|
818
|
-
/* @__PURE__ */ r.jsx(
|
|
833
|
+
/* @__PURE__ */ r.jsx(Tn, {}),
|
|
819
834
|
/* @__PURE__ */ r.jsx("div", { className: "border-b", children: /* @__PURE__ */ r.jsxs("div", { className: "max-w-screen-2xl border-l border-r mx-auto grid grid-cols-[1fr_auto] lg:grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center px-4 lg:px-12 h-[--top-header-height]", children: [
|
|
820
|
-
/* @__PURE__ */ r.jsx("div", { className: "flex", children: /* @__PURE__ */ r.jsx(
|
|
821
|
-
(
|
|
835
|
+
/* @__PURE__ */ r.jsx("div", { className: "flex", children: /* @__PURE__ */ r.jsx(ue, { to: "/", children: /* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-3.5", children: [
|
|
836
|
+
(o == null ? void 0 : o.logo) && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
822
837
|
/* @__PURE__ */ r.jsx(
|
|
823
838
|
"img",
|
|
824
839
|
{
|
|
825
|
-
src: /https?:\/\//.test(
|
|
840
|
+
src: /https?:\/\//.test(o.logo.src.light) ? o.logo.src.light : De(
|
|
826
841
|
"/",
|
|
827
|
-
|
|
842
|
+
o.logo.src.light
|
|
828
843
|
),
|
|
829
|
-
alt:
|
|
830
|
-
style: { width:
|
|
844
|
+
alt: o.logo.alt ?? o.pageTitle,
|
|
845
|
+
style: { width: o.logo.width },
|
|
831
846
|
className: "h-10 dark:hidden",
|
|
832
847
|
loading: "lazy"
|
|
833
848
|
}
|
|
@@ -835,47 +850,47 @@ const kn = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems ==
|
|
|
835
850
|
/* @__PURE__ */ r.jsx(
|
|
836
851
|
"img",
|
|
837
852
|
{
|
|
838
|
-
src: /https?:\/\//.test(
|
|
853
|
+
src: /https?:\/\//.test(o.logo.src.dark) ? o.logo.src.dark : De(
|
|
839
854
|
"/",
|
|
840
|
-
|
|
855
|
+
o.logo.src.dark
|
|
841
856
|
),
|
|
842
|
-
alt:
|
|
843
|
-
style: { width:
|
|
857
|
+
alt: o.logo.alt ?? o.pageTitle,
|
|
858
|
+
style: { width: o.logo.width },
|
|
844
859
|
className: "h-10 hidden dark:block",
|
|
845
860
|
loading: "lazy"
|
|
846
861
|
}
|
|
847
862
|
)
|
|
848
863
|
] }),
|
|
849
|
-
/* @__PURE__ */ r.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children:
|
|
864
|
+
/* @__PURE__ */ r.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: o == null ? void 0 : o.pageTitle })
|
|
850
865
|
] }) }) }),
|
|
851
866
|
/* @__PURE__ */ r.jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
|
|
852
|
-
/* @__PURE__ */ r.jsx("div", { className: "w-full justify-center hidden lg:flex", children: /* @__PURE__ */ r.jsx(
|
|
853
|
-
/* @__PURE__ */ r.jsx(
|
|
867
|
+
/* @__PURE__ */ r.jsx("div", { className: "w-full justify-center hidden lg:flex", children: /* @__PURE__ */ r.jsx(Ge, {}) }),
|
|
868
|
+
/* @__PURE__ */ r.jsx(Rn, {}),
|
|
854
869
|
/* @__PURE__ */ r.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
|
|
855
870
|
/* @__PURE__ */ r.jsx(M, { name: "head-navigation-start" }),
|
|
856
871
|
a && /* @__PURE__ */ r.jsx(
|
|
857
|
-
|
|
872
|
+
ge,
|
|
858
873
|
{
|
|
859
|
-
fallback: /* @__PURE__ */ r.jsx(
|
|
860
|
-
children: n ? Object.values(d).length > 0 && /* @__PURE__ */ r.jsxs(
|
|
861
|
-
/* @__PURE__ */ r.jsx(
|
|
862
|
-
/* @__PURE__ */ r.jsxs(
|
|
863
|
-
/* @__PURE__ */ r.jsxs(
|
|
874
|
+
fallback: /* @__PURE__ */ r.jsx(Dn, { className: "rounded h-5 w-24 mr-4" }),
|
|
875
|
+
children: n ? Object.values(d).length > 0 && /* @__PURE__ */ r.jsxs(Gt, { modal: !1, children: [
|
|
876
|
+
/* @__PURE__ */ r.jsx(Jt, { asChild: !0, children: /* @__PURE__ */ r.jsx(ee, { variant: "ghost", children: s != null && s.name ? `${s.name}` : "My Account" }) }),
|
|
877
|
+
/* @__PURE__ */ r.jsxs(en, { className: "w-56", children: [
|
|
878
|
+
/* @__PURE__ */ r.jsxs(tn, { children: [
|
|
864
879
|
s != null && s.name ? `${s.name}` : "My Account",
|
|
865
880
|
(s == null ? void 0 : s.email) && /* @__PURE__ */ r.jsx("div", { className: "font-normal text-muted-foreground", children: s.email })
|
|
866
881
|
] }),
|
|
867
|
-
d.filter((c) => c.category === "top").length > 0 && /* @__PURE__ */ r.jsx(
|
|
868
|
-
d.filter((c) => c.category === "top").map((c) => /* @__PURE__ */ r.jsx(
|
|
882
|
+
d.filter((c) => c.category === "top").length > 0 && /* @__PURE__ */ r.jsx(ne, {}),
|
|
883
|
+
d.filter((c) => c.category === "top").map((c) => /* @__PURE__ */ r.jsx(J, { item: c }, c.label)),
|
|
869
884
|
d.filter(
|
|
870
885
|
(c) => !c.category || c.category === "middle"
|
|
871
|
-
).length > 0 && /* @__PURE__ */ r.jsx(
|
|
886
|
+
).length > 0 && /* @__PURE__ */ r.jsx(ne, {}),
|
|
872
887
|
d.filter(
|
|
873
888
|
(c) => !c.category || c.category === "middle"
|
|
874
|
-
).map((c) => /* @__PURE__ */ r.jsx(
|
|
875
|
-
d.filter((c) => c.category === "bottom").length > 0 && /* @__PURE__ */ r.jsx(
|
|
876
|
-
d.filter((c) => c.category === "bottom").map((c) => /* @__PURE__ */ r.jsx(
|
|
889
|
+
).map((c) => /* @__PURE__ */ r.jsx(J, { item: c }, c.label)),
|
|
890
|
+
d.filter((c) => c.category === "bottom").length > 0 && /* @__PURE__ */ r.jsx(ne, {}),
|
|
891
|
+
d.filter((c) => c.category === "bottom").map((c) => /* @__PURE__ */ r.jsx(J, { item: c }, c.label))
|
|
877
892
|
] })
|
|
878
|
-
] }) : /* @__PURE__ */ r.jsx(
|
|
893
|
+
] }) : /* @__PURE__ */ r.jsx(ee, { variant: "ghost", onClick: () => e.login(), children: "Login" })
|
|
879
894
|
}
|
|
880
895
|
),
|
|
881
896
|
/* @__PURE__ */ r.jsx(M, { name: "head-navigation-end" }),
|
|
@@ -885,15 +900,15 @@ const kn = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems ==
|
|
|
885
900
|
] }) }),
|
|
886
901
|
/* @__PURE__ */ r.jsx("div", { className: "border-b", children: /* @__PURE__ */ r.jsxs("div", { className: "max-w-screen-2xl mx-auto border-l border-r", children: [
|
|
887
902
|
/* @__PURE__ */ r.jsx(M, { name: "top-navigation-before" }),
|
|
888
|
-
/* @__PURE__ */ r.jsx(
|
|
903
|
+
/* @__PURE__ */ r.jsx(qn, {}),
|
|
889
904
|
/* @__PURE__ */ r.jsx(M, { name: "top-navigation-after" })
|
|
890
905
|
] }) })
|
|
891
906
|
] });
|
|
892
|
-
}),
|
|
907
|
+
}), st = xt(({ children: t, className: e, pushMainContent: n }, s) => /* @__PURE__ */ r.jsx(
|
|
893
908
|
"nav",
|
|
894
909
|
{
|
|
895
910
|
"data-navigation": String(n),
|
|
896
|
-
className:
|
|
911
|
+
className: U(
|
|
897
912
|
"scrollbar peer hidden lg:flex flex-col fixed text-sm overflow-y-auto shrink-0 border-r pr-10",
|
|
898
913
|
"-mx-[--padding-nav-item] pb-20 pt-[--padding-content-top]",
|
|
899
914
|
"w-[--side-nav-width] h-[calc(100%-var(--header-height))] scroll-pt-2 gap-2",
|
|
@@ -904,33 +919,33 @@ const kn = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems ==
|
|
|
904
919
|
children: t
|
|
905
920
|
}
|
|
906
921
|
));
|
|
907
|
-
|
|
908
|
-
const
|
|
922
|
+
st.displayName = "SidebarWrapper";
|
|
923
|
+
const Fn = ({
|
|
909
924
|
onRequestClose: t
|
|
910
925
|
}) => {
|
|
911
|
-
const e =
|
|
926
|
+
const e = he(null), n = Ke();
|
|
912
927
|
return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
913
928
|
/* @__PURE__ */ r.jsxs(
|
|
914
|
-
|
|
929
|
+
st,
|
|
915
930
|
{
|
|
916
931
|
ref: e,
|
|
917
932
|
pushMainContent: n.sidebar.length > 0,
|
|
918
933
|
children: [
|
|
919
934
|
/* @__PURE__ */ r.jsx(M, { name: "zudoku-before-navigation" }),
|
|
920
|
-
n.sidebar.map((s) => /* @__PURE__ */ r.jsx(
|
|
935
|
+
n.sidebar.map((s) => /* @__PURE__ */ r.jsx(Se, { item: s }, s.label)),
|
|
921
936
|
/* @__PURE__ */ r.jsx(M, { name: "zudoku-after-navigation" })
|
|
922
937
|
]
|
|
923
938
|
}
|
|
924
939
|
),
|
|
925
940
|
/* @__PURE__ */ r.jsx(
|
|
926
|
-
|
|
941
|
+
Xe,
|
|
927
942
|
{
|
|
928
943
|
className: "lg:hidden h-[100dvh] left-0 w-[320px] rounded-none",
|
|
929
944
|
"aria-describedby": void 0,
|
|
930
945
|
children: /* @__PURE__ */ r.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
|
|
931
|
-
/* @__PURE__ */ r.jsx(
|
|
946
|
+
/* @__PURE__ */ r.jsx(We, { children: /* @__PURE__ */ r.jsx(Ve, { children: "Sidebar" }) }),
|
|
932
947
|
n.sidebar.map((s) => /* @__PURE__ */ r.jsx(
|
|
933
|
-
|
|
948
|
+
Se,
|
|
934
949
|
{
|
|
935
950
|
item: s,
|
|
936
951
|
onRequestClose: t
|
|
@@ -941,20 +956,20 @@ const qn = ({
|
|
|
941
956
|
}
|
|
942
957
|
)
|
|
943
958
|
] });
|
|
944
|
-
},
|
|
945
|
-
const e =
|
|
946
|
-
|
|
947
|
-
const
|
|
948
|
-
|
|
949
|
-
var
|
|
950
|
-
(
|
|
951
|
-
}, [a]),
|
|
952
|
-
e.pathname !==
|
|
959
|
+
}, Qe = () => /* @__PURE__ */ r.jsx("main", { className: "grid h-[calc(100vh-var(--header-height))] place-items-center", children: /* @__PURE__ */ r.jsx(_e, {}) }), zn = ({ children: t }) => {
|
|
960
|
+
const e = oe(), { setActiveAnchor: n } = Xt(), { meta: s, authentication: a } = E();
|
|
961
|
+
Zt(), Sn();
|
|
962
|
+
const i = he(e.pathname);
|
|
963
|
+
B(() => {
|
|
964
|
+
var g;
|
|
965
|
+
(g = a == null ? void 0 : a.onPageLoad) == null || g.call(a);
|
|
966
|
+
}, [a]), B(() => {
|
|
967
|
+
e.pathname !== i.current && n(""), i.current = e.pathname;
|
|
953
968
|
}, [e.pathname, n]);
|
|
954
|
-
const
|
|
969
|
+
const o = !!ce().location, u = kn.useSpinDelay(o, {
|
|
955
970
|
delay: 300,
|
|
956
971
|
minDuration: 500
|
|
957
|
-
}), [d, c] =
|
|
972
|
+
}), [d, c] = H(!1);
|
|
958
973
|
return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
959
974
|
!1,
|
|
960
975
|
/* @__PURE__ */ r.jsxs(ie, { titleTemplate: s == null ? void 0 : s.title, children: [
|
|
@@ -962,25 +977,25 @@ const qn = ({
|
|
|
962
977
|
(s == null ? void 0 : s.favicon) && /* @__PURE__ */ r.jsx("link", { rel: "icon", href: s.favicon })
|
|
963
978
|
] }),
|
|
964
979
|
/* @__PURE__ */ r.jsx(M, { name: "layout-before-head" }),
|
|
965
|
-
/* @__PURE__ */ r.jsx(
|
|
980
|
+
/* @__PURE__ */ r.jsx(nt, {}),
|
|
966
981
|
/* @__PURE__ */ r.jsx(M, { name: "layout-after-head" }),
|
|
967
|
-
/* @__PURE__ */ r.jsx("div", { className: "w-full max-w-screen-2xl mx-auto px-4 lg:px-12 border-l border-r", children: u ? /* @__PURE__ */ r.jsx(
|
|
968
|
-
|
|
982
|
+
/* @__PURE__ */ r.jsx("div", { className: "w-full max-w-screen-2xl mx-auto px-4 lg:px-12 border-l border-r", children: u ? /* @__PURE__ */ r.jsx(Qe, {}) : /* @__PURE__ */ r.jsx(fe, { fallback: /* @__PURE__ */ r.jsx(Qe, {}), children: /* @__PURE__ */ r.jsxs(
|
|
983
|
+
Ue,
|
|
969
984
|
{
|
|
970
985
|
direction: "left",
|
|
971
986
|
open: d,
|
|
972
|
-
onOpenChange: (
|
|
987
|
+
onOpenChange: (g) => c(g),
|
|
973
988
|
children: [
|
|
974
|
-
/* @__PURE__ */ r.jsx(
|
|
989
|
+
/* @__PURE__ */ r.jsx(Fn, { onRequestClose: () => c(!1) }),
|
|
975
990
|
/* @__PURE__ */ r.jsx(
|
|
976
991
|
"div",
|
|
977
992
|
{
|
|
978
|
-
className:
|
|
993
|
+
className: U(
|
|
979
994
|
"lg:hidden -mx-10 px-10 py-2 sticky bg-background/80 backdrop-blur z-10 top-0 left-0 right-0 border-b",
|
|
980
995
|
"peer-data-[navigation=false]:hidden"
|
|
981
996
|
),
|
|
982
|
-
children: /* @__PURE__ */ r.jsxs(
|
|
983
|
-
/* @__PURE__ */ r.jsx(
|
|
997
|
+
children: /* @__PURE__ */ r.jsxs(Ye, { className: "flex items-center gap-2", children: [
|
|
998
|
+
/* @__PURE__ */ r.jsx($t, { size: 16, strokeWidth: 1.5 }),
|
|
984
999
|
/* @__PURE__ */ r.jsx("span", { className: "text-sm", children: "Menu" })
|
|
985
1000
|
] })
|
|
986
1001
|
}
|
|
@@ -988,7 +1003,7 @@ const qn = ({
|
|
|
988
1003
|
/* @__PURE__ */ r.jsxs(
|
|
989
1004
|
"main",
|
|
990
1005
|
{
|
|
991
|
-
className:
|
|
1006
|
+
className: U(
|
|
992
1007
|
"h-full dark:border-white/10 translate-x-0",
|
|
993
1008
|
"lg:overflow-visible",
|
|
994
1009
|
// This works in tandem with the `SidebarWrapper` component
|
|
@@ -997,7 +1012,7 @@ const qn = ({
|
|
|
997
1012
|
),
|
|
998
1013
|
children: [
|
|
999
1014
|
/* @__PURE__ */ r.jsx(M, { name: "zudoku-before-content" }),
|
|
1000
|
-
t ?? /* @__PURE__ */ r.jsx(
|
|
1015
|
+
t ?? /* @__PURE__ */ r.jsx(le, {}),
|
|
1001
1016
|
/* @__PURE__ */ r.jsx(M, { name: "zudoku-after-content" })
|
|
1002
1017
|
]
|
|
1003
1018
|
}
|
|
@@ -1006,13 +1021,13 @@ const qn = ({
|
|
|
1006
1021
|
}
|
|
1007
1022
|
) }) })
|
|
1008
1023
|
] });
|
|
1009
|
-
},
|
|
1024
|
+
}, Bn = de(null), se = {
|
|
1010
1025
|
didCatch: !1,
|
|
1011
1026
|
error: null
|
|
1012
1027
|
};
|
|
1013
|
-
class
|
|
1028
|
+
class Hn extends yt {
|
|
1014
1029
|
constructor(e) {
|
|
1015
|
-
super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state =
|
|
1030
|
+
super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = se;
|
|
1016
1031
|
}
|
|
1017
1032
|
static getDerivedStateFromError(e) {
|
|
1018
1033
|
return {
|
|
@@ -1025,12 +1040,12 @@ class zn extends Qt {
|
|
|
1025
1040
|
error: e
|
|
1026
1041
|
} = this.state;
|
|
1027
1042
|
if (e !== null) {
|
|
1028
|
-
for (var n, s, a = arguments.length,
|
|
1029
|
-
o
|
|
1043
|
+
for (var n, s, a = arguments.length, i = new Array(a), o = 0; o < a; o++)
|
|
1044
|
+
i[o] = arguments[o];
|
|
1030
1045
|
(n = (s = this.props).onReset) === null || n === void 0 || n.call(s, {
|
|
1031
|
-
args:
|
|
1046
|
+
args: i,
|
|
1032
1047
|
reason: "imperative-api"
|
|
1033
|
-
}), this.setState(
|
|
1048
|
+
}), this.setState(se);
|
|
1034
1049
|
}
|
|
1035
1050
|
}
|
|
1036
1051
|
componentDidCatch(e, n) {
|
|
@@ -1043,13 +1058,13 @@ class zn extends Qt {
|
|
|
1043
1058
|
} = this.state, {
|
|
1044
1059
|
resetKeys: a
|
|
1045
1060
|
} = this.props;
|
|
1046
|
-
if (s && n.error !== null &&
|
|
1047
|
-
var
|
|
1048
|
-
(
|
|
1061
|
+
if (s && n.error !== null && Ln(e.resetKeys, a)) {
|
|
1062
|
+
var i, o;
|
|
1063
|
+
(i = (o = this.props).onReset) === null || i === void 0 || i.call(o, {
|
|
1049
1064
|
next: a,
|
|
1050
1065
|
prev: e.resetKeys,
|
|
1051
1066
|
reason: "keys"
|
|
1052
|
-
}), this.setState(
|
|
1067
|
+
}), this.setState(se);
|
|
1053
1068
|
}
|
|
1054
1069
|
}
|
|
1055
1070
|
render() {
|
|
@@ -1059,38 +1074,38 @@ class zn extends Qt {
|
|
|
1059
1074
|
FallbackComponent: s,
|
|
1060
1075
|
fallback: a
|
|
1061
1076
|
} = this.props, {
|
|
1062
|
-
didCatch:
|
|
1063
|
-
error:
|
|
1077
|
+
didCatch: i,
|
|
1078
|
+
error: o
|
|
1064
1079
|
} = this.state;
|
|
1065
1080
|
let u = e;
|
|
1066
|
-
if (
|
|
1081
|
+
if (i) {
|
|
1067
1082
|
const d = {
|
|
1068
|
-
error:
|
|
1083
|
+
error: o,
|
|
1069
1084
|
resetErrorBoundary: this.resetErrorBoundary
|
|
1070
1085
|
};
|
|
1071
1086
|
if (typeof n == "function")
|
|
1072
1087
|
u = n(d);
|
|
1073
1088
|
else if (s)
|
|
1074
|
-
u =
|
|
1089
|
+
u = ve(s, d);
|
|
1075
1090
|
else if (a !== void 0)
|
|
1076
1091
|
u = a;
|
|
1077
1092
|
else
|
|
1078
|
-
throw
|
|
1093
|
+
throw o;
|
|
1079
1094
|
}
|
|
1080
|
-
return
|
|
1095
|
+
return ve(Bn.Provider, {
|
|
1081
1096
|
value: {
|
|
1082
|
-
didCatch:
|
|
1083
|
-
error:
|
|
1097
|
+
didCatch: i,
|
|
1098
|
+
error: o,
|
|
1084
1099
|
resetErrorBoundary: this.resetErrorBoundary
|
|
1085
1100
|
}
|
|
1086
1101
|
}, u);
|
|
1087
1102
|
}
|
|
1088
1103
|
}
|
|
1089
|
-
function
|
|
1104
|
+
function Ln() {
|
|
1090
1105
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
1091
1106
|
return t.length !== e.length || t.some((n, s) => !Object.is(n, e[s]));
|
|
1092
1107
|
}
|
|
1093
|
-
class
|
|
1108
|
+
class Kn {
|
|
1094
1109
|
constructor(e) {
|
|
1095
1110
|
P(this, "plugins");
|
|
1096
1111
|
P(this, "sidebars");
|
|
@@ -1101,20 +1116,20 @@ class Hn {
|
|
|
1101
1116
|
P(this, "navigationPlugins");
|
|
1102
1117
|
P(this, "initialize", async () => {
|
|
1103
1118
|
await Promise.all(
|
|
1104
|
-
this.plugins.filter(
|
|
1119
|
+
this.plugins.filter(En).map((e) => {
|
|
1105
1120
|
var n;
|
|
1106
1121
|
return (n = e.initialize) == null ? void 0 : n.call(e, this);
|
|
1107
1122
|
})
|
|
1108
1123
|
);
|
|
1109
1124
|
});
|
|
1110
1125
|
P(this, "getApiIdentities", async () => (await Promise.all(
|
|
1111
|
-
this.plugins.filter(
|
|
1126
|
+
this.plugins.filter(In).map((n) => n.getIdentities(this))
|
|
1112
1127
|
)).flat());
|
|
1113
1128
|
P(this, "getPluginSidebar", async (e) => (await Promise.all(
|
|
1114
1129
|
this.navigationPlugins.map(
|
|
1115
1130
|
(s) => {
|
|
1116
1131
|
var a;
|
|
1117
|
-
return (a = s.getSidebar) == null ? void 0 : a.call(s,
|
|
1132
|
+
return (a = s.getSidebar) == null ? void 0 : a.call(s, re(e));
|
|
1118
1133
|
}
|
|
1119
1134
|
)
|
|
1120
1135
|
)).flatMap((s) => s ?? []));
|
|
@@ -1124,79 +1139,80 @@ class Hn {
|
|
|
1124
1139
|
const n = await this.authentication.getAccessToken();
|
|
1125
1140
|
return e.headers.set("Authorization", `Bearer ${n}`), e;
|
|
1126
1141
|
});
|
|
1127
|
-
this.options = e, this.plugins = e.plugins ?? [], this.topNavigation = e.topNavigation ?? [], this.sidebars = e.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(
|
|
1142
|
+
this.options = e, this.plugins = e.plugins ?? [], this.topNavigation = e.topNavigation ?? [], this.sidebars = e.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(Nn), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page;
|
|
1128
1143
|
}
|
|
1129
1144
|
}
|
|
1130
|
-
function
|
|
1131
|
-
return /* @__PURE__ */ r.jsx(
|
|
1145
|
+
function $n({ error: t, resetErrorBoundary: e }) {
|
|
1146
|
+
return /* @__PURE__ */ r.jsx(Ze, { error: t });
|
|
1132
1147
|
}
|
|
1133
|
-
const
|
|
1134
|
-
(!
|
|
1135
|
-
const
|
|
1136
|
-
Header:
|
|
1137
|
-
},
|
|
1148
|
+
const G = globalThis;
|
|
1149
|
+
(!G.requestIdleCallback || !G.cancelIdleCallback) && (G.requestIdleCallback = (t) => setTimeout(t, 1), G.cancelIdleCallback = clearTimeout);
|
|
1150
|
+
const rt = {
|
|
1151
|
+
Header: nt
|
|
1152
|
+
}, Zn = de(rt), Un = Zn.Provider, Yn = ({
|
|
1138
1153
|
children: t,
|
|
1139
1154
|
context: e
|
|
1140
|
-
}) => (
|
|
1155
|
+
}) => (Ot({
|
|
1141
1156
|
queryFn: async () => (await e.initialize(), !0),
|
|
1142
1157
|
queryKey: ["zudoku-initialize"]
|
|
1143
|
-
}), /* @__PURE__ */ r.jsx(
|
|
1158
|
+
}), /* @__PURE__ */ r.jsx(Et.Provider, { value: e, children: t })), at = ze(
|
|
1144
1159
|
({ children: t, ...e }) => {
|
|
1145
1160
|
var f, h;
|
|
1146
|
-
const n =
|
|
1147
|
-
() => ({ ...
|
|
1161
|
+
const n = te(
|
|
1162
|
+
() => ({ ...rt, ...e.overrides }),
|
|
1148
1163
|
[e.overrides]
|
|
1149
|
-
), s =
|
|
1164
|
+
), s = te(() => {
|
|
1150
1165
|
var v;
|
|
1151
1166
|
return {
|
|
1152
|
-
...(e.plugins ?? []).filter(
|
|
1153
|
-
(
|
|
1167
|
+
...(e.plugins ?? []).filter(Qn).flatMap(
|
|
1168
|
+
(m) => m.getMdxComponents ? [m.getMdxComponents()] : []
|
|
1154
1169
|
).reduce(
|
|
1155
|
-
(
|
|
1170
|
+
(m, C) => ({ ...m, ...C }),
|
|
1156
1171
|
{}
|
|
1157
1172
|
),
|
|
1158
|
-
...
|
|
1173
|
+
...Vt,
|
|
1159
1174
|
...(v = e.mdx) == null ? void 0 : v.components
|
|
1160
1175
|
};
|
|
1161
|
-
}, [(f = e.mdx) == null ? void 0 : f.components, e.plugins]), { stagger: a } =
|
|
1162
|
-
() =>
|
|
1163
|
-
[a,
|
|
1164
|
-
), d =
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
}, [
|
|
1168
|
-
const [c] =
|
|
1169
|
-
var
|
|
1170
|
-
return /* @__PURE__ */ r.jsx(
|
|
1176
|
+
}, [(f = e.mdx) == null ? void 0 : f.components, e.plugins]), { stagger: a } = vt(ae), [i, o] = H(!1), u = te(
|
|
1177
|
+
() => i ? { stagger: !0 } : { stagger: a },
|
|
1178
|
+
[a, i]
|
|
1179
|
+
), d = ce();
|
|
1180
|
+
B(() => {
|
|
1181
|
+
i || o(!0);
|
|
1182
|
+
}, [i, d.location]);
|
|
1183
|
+
const [c] = H(() => new Kn(e)), g = (h = e.plugins) == null ? void 0 : h.filter(An).map((x, v) => {
|
|
1184
|
+
var m;
|
|
1185
|
+
return /* @__PURE__ */ r.jsx(bt, { children: (m = x.getHead) == null ? void 0 : m.call(x) }, v);
|
|
1171
1186
|
});
|
|
1172
1187
|
return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
1173
|
-
/* @__PURE__ */ r.jsx(ie, { children:
|
|
1174
|
-
/* @__PURE__ */ r.jsx(
|
|
1188
|
+
/* @__PURE__ */ r.jsx(ie, { children: g }),
|
|
1189
|
+
/* @__PURE__ */ r.jsx(ae.Provider, { value: u, children: /* @__PURE__ */ r.jsx(Yn, { context: c, children: /* @__PURE__ */ r.jsx(Ut, { components: s, children: /* @__PURE__ */ r.jsx(cn, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ r.jsx(Un, { value: n, children: /* @__PURE__ */ r.jsx(It, { slotlets: e.slotlets, children: /* @__PURE__ */ r.jsx(_t, { children: t ?? /* @__PURE__ */ r.jsx(le, {}) }) }) }) }) }) }) })
|
|
1175
1190
|
] });
|
|
1176
1191
|
}
|
|
1177
1192
|
);
|
|
1178
|
-
|
|
1179
|
-
const
|
|
1180
|
-
|
|
1181
|
-
const
|
|
1193
|
+
at.displayName = "ZudokoInner";
|
|
1194
|
+
const it = (t) => /* @__PURE__ */ r.jsx(Hn, { FallbackComponent: $n, children: /* @__PURE__ */ r.jsx(at, { ...t }) });
|
|
1195
|
+
it.displayName = "Zudoku";
|
|
1196
|
+
const xs = Yt, ys = zn, vs = Tt, bs = yn, js = jn, ws = wn, Ps = xn, Cs = ie, ks = E, Ss = z, Ds = At, Ms = Qt, Ns = it, Os = Rt, Es = Wt, As = _e, Qs = ge, Is = qt, Ts = ue;
|
|
1182
1197
|
export {
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
vs as
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
Ss as
|
|
1199
|
-
|
|
1200
|
-
|
|
1198
|
+
js as Bootstrap,
|
|
1199
|
+
ws as BootstrapStatic,
|
|
1200
|
+
Is as Button,
|
|
1201
|
+
Ms as CACHE_KEYS,
|
|
1202
|
+
Os as Callout,
|
|
1203
|
+
Qs as ClientOnly,
|
|
1204
|
+
Cs as Head,
|
|
1205
|
+
ys as Layout,
|
|
1206
|
+
Ts as Link,
|
|
1207
|
+
Es as Markdown,
|
|
1208
|
+
Ps as RouteGuard,
|
|
1209
|
+
vs as RouterError,
|
|
1210
|
+
bs as ServerError,
|
|
1211
|
+
As as Spinner,
|
|
1212
|
+
Ns as Zudoku,
|
|
1213
|
+
Ss as useAuth,
|
|
1214
|
+
Ds as useCache,
|
|
1215
|
+
xs as useMDXComponents,
|
|
1216
|
+
ks as useZudoku
|
|
1201
1217
|
};
|
|
1202
1218
|
//# sourceMappingURL=zudoku.components.js.map
|