zudoku 0.18.0 → 0.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/lib/authentication/AuthenticationPlugin.d.ts +4 -2
  2. package/dist/lib/authentication/AuthenticationPlugin.js +3 -0
  3. package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
  4. package/dist/lib/authentication/authentication.d.ts +1 -1
  5. package/dist/lib/components/Bootstrap.js +8 -10
  6. package/dist/lib/components/Bootstrap.js.map +1 -1
  7. package/dist/lib/components/Header.js +11 -3
  8. package/dist/lib/components/Header.js.map +1 -1
  9. package/dist/lib/components/Layout.js +1 -1
  10. package/dist/lib/components/Layout.js.map +1 -1
  11. package/dist/lib/core/plugins.d.ts +6 -0
  12. package/dist/lib/core/plugins.js.map +1 -1
  13. package/dist/lib/plugins/api-keys/index.js +3 -0
  14. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  15. package/dist/vite/remarkStaticGeneration.js +5 -5
  16. package/dist/vite/remarkStaticGeneration.js.map +1 -1
  17. package/lib/AuthenticationPlugin-D0Em0SwR.js +59 -0
  18. package/lib/AuthenticationPlugin-D0Em0SwR.js.map +1 -0
  19. package/lib/zudoku.auth-clerk.js +1 -1
  20. package/lib/zudoku.auth-openid.js +1 -1
  21. package/lib/zudoku.components.js +375 -366
  22. package/lib/zudoku.components.js.map +1 -1
  23. package/lib/zudoku.plugin-api-keys.js +40 -38
  24. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  25. package/package.json +2 -2
  26. package/src/lib/authentication/AuthenticationPlugin.tsx +4 -1
  27. package/src/lib/authentication/authentication.ts +1 -1
  28. package/src/lib/components/Bootstrap.tsx +25 -30
  29. package/src/lib/components/Header.tsx +41 -7
  30. package/src/lib/components/Layout.tsx +1 -1
  31. package/src/lib/core/plugins.ts +8 -0
  32. package/src/lib/plugins/api-keys/index.tsx +3 -0
  33. package/lib/AuthenticationPlugin-DeGDVa1r.js +0 -56
  34. package/lib/AuthenticationPlugin-DeGDVa1r.js.map +0 -1
@@ -1,59 +1,59 @@
1
- var xt = Object.defineProperty;
2
- var Ne = (e) => {
1
+ var yt = Object.defineProperty;
2
+ var Pe = (e) => {
3
3
  throw TypeError(e);
4
4
  };
5
- var yt = (e, t, r) => t in e ? xt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
6
- var S = (e, t, r) => yt(e, typeof t != "symbol" ? t + "" : t, r), Ee = (e, t, r) => t.has(e) || Ne("Cannot " + r);
7
- var l = (e, t, r) => (Ee(e, t, "read from private field"), r ? r.call(e) : t.get(e)), N = (e, t, r) => t.has(e) ? Ne("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), y = (e, t, r, s) => (Ee(e, t, "write to private field"), s ? s.call(e, r) : t.set(e, r), r);
5
+ var bt = (e, t, r) => t in e ? yt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
6
+ var S = (e, t, r) => bt(e, typeof t != "symbol" ? t + "" : t, r), Ce = (e, t, r) => t.has(e) || Pe("Cannot " + r);
7
+ var c = (e, t, r) => (Ce(e, t, "read from private field"), r ? r.call(e) : t.get(e)), N = (e, t, r) => t.has(e) ? Pe("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), y = (e, t, r, s) => (Ce(e, t, "write to private field"), s ? s.call(e, r) : t.set(e, r), r);
8
8
  var J = (e, t, r, s) => ({
9
9
  set _(n) {
10
10
  y(e, t, n, r);
11
11
  },
12
12
  get _() {
13
- return l(e, t, s);
13
+ return c(e, t, s);
14
14
  }
15
15
  });
16
- import { a as Be, A as bt, H as he, M as jt, u as wt } from "./AnchorLink-CDlhr8gL.js";
17
- import { d as St, R as Nt, N as re, u as Et, L as fe } from "./index-Yn8c3UWE.js";
18
- import { u as Pt } from "./state-tsXBLONe.js";
19
- import { E as ze, S as D, a as Ct, R as kt } from "./SlotletProvider-DyomlzGx.js";
16
+ import { a as He, A as jt, H as me, M as wt, u as St } from "./AnchorLink-CDlhr8gL.js";
17
+ import { d as Nt, R as Et, N as ae, u as Pt, L as ge } from "./index-Yn8c3UWE.js";
18
+ import { u as Ct } from "./state-tsXBLONe.js";
19
+ import { E as Ue, S as D, a as kt, R as At } from "./SlotletProvider-DyomlzGx.js";
20
20
  import { j as a } from "./jsx-runtime-B6kdoens.js";
21
- import { Button as At } from "./ui/Button.js";
22
- import { Callout as Dt } from "./ui/Callout.js";
23
- import { S as He, l as Ue, Q as Ot, n as w, m as Pe, o as Ce, p as O, q as Mt, r as Rt, t as It, v as Tt, w as ke, x as Ae, y as _t, h as De, z as Oe, A as Ft, d as Qt, B as $e, C as qt, j as q, u as Q, D as Ke, E as Lt, g as Bt, Z as zt } from "./utils-DcpDOncX.js";
24
- import { M as Ht, u as ae } from "./hook-hEqe7fPB.js";
21
+ import { Button as Dt } from "./ui/Button.js";
22
+ import { Callout as Ot } from "./ui/Callout.js";
23
+ import { S as $e, l as Ke, Q as Mt, n as w, m as ke, o as Ae, p as O, q as Rt, r as It, t as Tt, v as _t, w as De, x as Oe, y as Ft, h as Me, z as Re, A as Qt, d as qt, B as Ve, C as Lt, j as Q, u as F, D as Ze, E as zt, g as Bt, Z as Ht } from "./utils-DcpDOncX.js";
24
+ import { M as Ut, u as se } from "./hook-hEqe7fPB.js";
25
25
  import * as G from "react";
26
- import Ve, { useState as F, StrictMode as Ze, useEffect as L, useRef as me, useCallback as Ut, Suspense as ge, memo as Ye, forwardRef as $t, createContext as We, Component as Kt, createElement as Me, useMemo as se, useContext as Vt, Fragment as Zt } from "react";
27
- import { a as pe, c as Yt } from "./_commonjsHelpers-BkfeUUK-.js";
28
- import { B as Wt } from "./router-lfyopgBI.js";
29
- import { I as Xt, y as Jt, u as ve, j as xe, O as Xe } from "./index-Czzd9rjU.js";
30
- import { S as le, a as ne } from "./SidebarBadge-DxFJcJ6V.js";
31
- import { C as ye } from "./ClientOnly-E7hGysn1.js";
32
- import { ChevronRightIcon as Gt, ExternalLinkIcon as er, CircleXIcon as tr, SearchIcon as rr, MoonStarIcon as ar, SunIcon as sr, MenuIcon as nr, PanelLeftIcon as ir } from "lucide-react";
33
- import { Drawer as Je, DrawerTrigger as Ge, DrawerContent as et, DrawerTitle as tt } from "./ui/Drawer.js";
26
+ import Ye, { StrictMode as We, useState as q, useEffect as L, useRef as pe, useCallback as $t, Suspense as ve, memo as Xe, forwardRef as Kt, createContext as Je, Component as Vt, createElement as Ie, useMemo as ne, useContext as Zt, Fragment as Yt } from "react";
27
+ import { a as xe, c as Wt } from "./_commonjsHelpers-BkfeUUK-.js";
28
+ import { B as Xt } from "./router-lfyopgBI.js";
29
+ import { I as Jt, y as Gt, u as ye, j as be, O as Ge } from "./index-Czzd9rjU.js";
30
+ import { S as ue, a as ie } from "./SidebarBadge-DxFJcJ6V.js";
31
+ import { C as je } from "./ClientOnly-E7hGysn1.js";
32
+ import { ChevronRightIcon as er, ExternalLinkIcon as tr, CircleXIcon as rr, SearchIcon as ar, MoonStarIcon as sr, SunIcon as nr, MenuIcon as ir, PanelLeftIcon as or } from "lucide-react";
33
+ import { Drawer as et, DrawerTrigger as tt, DrawerContent as rt, DrawerTitle as at } from "./ui/Drawer.js";
34
34
  import { c as R } from "./cn-BmFQLtkS.js";
35
- import { u as be, a as or, V as lr } from "./Markdown-ievDDhFT.js";
36
- import { c as cr, a as ur } from "./index-BuAyrJe3.js";
37
- import * as ie from "@radix-ui/react-collapsible";
38
- import { B as ce } from "./Button-jK0EsymC.js";
39
- import { DropdownMenu as dr, DropdownMenuTrigger as hr, DropdownMenuContent as fr, DropdownMenuLabel as mr, DropdownMenuSeparator as gr, DropdownMenuSub as pr, DropdownMenuSubTrigger as vr, DropdownMenuPortal as xr, DropdownMenuSubContent as yr, DropdownMenuItem as br } from "./ui/DropdownMenu.js";
40
- import { VisuallyHidden as rt } from "@radix-ui/react-visually-hidden";
35
+ import { u as we, a as lr, V as cr } from "./Markdown-ievDDhFT.js";
36
+ import { c as ur, a as dr } from "./index-BuAyrJe3.js";
37
+ import * as oe from "@radix-ui/react-collapsible";
38
+ import { B as de } from "./Button-jK0EsymC.js";
39
+ import { DropdownMenu as hr, DropdownMenuTrigger as fr, DropdownMenuContent as mr, DropdownMenuLabel as gr, DropdownMenuSeparator as le, DropdownMenuSub as pr, DropdownMenuSubTrigger as vr, DropdownMenuPortal as xr, DropdownMenuSubContent as yr, DropdownMenuItem as br } from "./ui/DropdownMenu.js";
40
+ import { VisuallyHidden as st } from "@radix-ui/react-visually-hidden";
41
41
  import { z as jr, J as wr } from "./SyntaxHighlight-DkLOsjHS.js";
42
42
  import { Z as Sr } from "./invariant-Caa8-XvF.js";
43
43
  import { S as Nr } from "./Spinner-3cQDBVGr.js";
44
44
  function Er({ error: e }) {
45
- return /* @__PURE__ */ a.jsx(ze, { error: e });
45
+ return /* @__PURE__ */ a.jsx(Ue, { error: e });
46
46
  }
47
- var k, Qe, Pr = (Qe = class extends He {
47
+ var k, Le, Pr = (Le = class extends $e {
48
48
  constructor(t = {}) {
49
49
  super();
50
50
  N(this, k);
51
51
  this.config = t, y(this, k, /* @__PURE__ */ new Map());
52
52
  }
53
53
  build(t, r, s) {
54
- const n = r.queryKey, o = r.queryHash ?? Ue(n, r);
54
+ const n = r.queryKey, o = r.queryHash ?? Ke(n, r);
55
55
  let i = this.get(o);
56
- return i || (i = new Ot({
56
+ return i || (i = new Mt({
57
57
  cache: this,
58
58
  queryKey: n,
59
59
  queryHash: o,
@@ -63,14 +63,14 @@ var k, Qe, Pr = (Qe = class extends He {
63
63
  }), this.add(i)), i;
64
64
  }
65
65
  add(t) {
66
- l(this, k).has(t.queryHash) || (l(this, k).set(t.queryHash, t), this.notify({
66
+ c(this, k).has(t.queryHash) || (c(this, k).set(t.queryHash, t), this.notify({
67
67
  type: "added",
68
68
  query: t
69
69
  }));
70
70
  }
71
71
  remove(t) {
72
- const r = l(this, k).get(t.queryHash);
73
- r && (t.destroy(), r === t && l(this, k).delete(t.queryHash), this.notify({ type: "removed", query: t }));
72
+ const r = c(this, k).get(t.queryHash);
73
+ r && (t.destroy(), r === t && c(this, k).delete(t.queryHash), this.notify({ type: "removed", query: t }));
74
74
  }
75
75
  clear() {
76
76
  w.batch(() => {
@@ -80,20 +80,20 @@ var k, Qe, Pr = (Qe = class extends He {
80
80
  });
81
81
  }
82
82
  get(t) {
83
- return l(this, k).get(t);
83
+ return c(this, k).get(t);
84
84
  }
85
85
  getAll() {
86
- return [...l(this, k).values()];
86
+ return [...c(this, k).values()];
87
87
  }
88
88
  find(t) {
89
89
  const r = { exact: !0, ...t };
90
90
  return this.getAll().find(
91
- (s) => Pe(r, s)
91
+ (s) => ke(r, s)
92
92
  );
93
93
  }
94
94
  findAll(t = {}) {
95
95
  const r = this.getAll();
96
- return Object.keys(t).length > 0 ? r.filter((s) => Pe(t, s)) : r;
96
+ return Object.keys(t).length > 0 ? r.filter((s) => ke(t, s)) : r;
97
97
  }
98
98
  notify(t) {
99
99
  w.batch(() => {
@@ -116,7 +116,7 @@ var k, Qe, Pr = (Qe = class extends He {
116
116
  });
117
117
  });
118
118
  }
119
- }, k = new WeakMap(), Qe), j, Z, qe, Cr = (qe = class extends He {
119
+ }, k = new WeakMap(), Le), j, Z, ze, Cr = (ze = class extends $e {
120
120
  constructor(t = {}) {
121
121
  super();
122
122
  N(this, j);
@@ -124,7 +124,7 @@ var k, Qe, Pr = (Qe = class extends He {
124
124
  this.config = t, y(this, j, /* @__PURE__ */ new Map()), y(this, Z, Date.now());
125
125
  }
126
126
  build(t, r, s) {
127
- const n = new Ht({
127
+ const n = new Ut({
128
128
  mutationCache: this,
129
129
  mutationId: ++J(this, Z)._,
130
130
  options: t.defaultMutationOptions(r),
@@ -133,26 +133,26 @@ var k, Qe, Pr = (Qe = class extends He {
133
133
  return this.add(n), n;
134
134
  }
135
135
  add(t) {
136
- const r = ee(t), s = l(this, j).get(r) ?? [];
137
- s.push(t), l(this, j).set(r, s), this.notify({ type: "added", mutation: t });
136
+ const r = ee(t), s = c(this, j).get(r) ?? [];
137
+ s.push(t), c(this, j).set(r, s), this.notify({ type: "added", mutation: t });
138
138
  }
139
139
  remove(t) {
140
140
  var s;
141
141
  const r = ee(t);
142
- if (l(this, j).has(r)) {
143
- const n = (s = l(this, j).get(r)) == null ? void 0 : s.filter((o) => o !== t);
144
- n && (n.length === 0 ? l(this, j).delete(r) : l(this, j).set(r, n));
142
+ if (c(this, j).has(r)) {
143
+ const n = (s = c(this, j).get(r)) == null ? void 0 : s.filter((o) => o !== t);
144
+ n && (n.length === 0 ? c(this, j).delete(r) : c(this, j).set(r, n));
145
145
  }
146
146
  this.notify({ type: "removed", mutation: t });
147
147
  }
148
148
  canRun(t) {
149
149
  var s;
150
- const r = (s = l(this, j).get(ee(t))) == null ? void 0 : s.find((n) => n.state.status === "pending");
150
+ const r = (s = c(this, j).get(ee(t))) == null ? void 0 : s.find((n) => n.state.status === "pending");
151
151
  return !r || r === t;
152
152
  }
153
153
  runNext(t) {
154
154
  var s;
155
- const r = (s = l(this, j).get(ee(t))) == null ? void 0 : s.find((n) => n !== t && n.state.isPaused);
155
+ const r = (s = c(this, j).get(ee(t))) == null ? void 0 : s.find((n) => n !== t && n.state.isPaused);
156
156
  return (r == null ? void 0 : r.continue()) ?? Promise.resolve();
157
157
  }
158
158
  clear() {
@@ -163,16 +163,16 @@ var k, Qe, Pr = (Qe = class extends He {
163
163
  });
164
164
  }
165
165
  getAll() {
166
- return [...l(this, j).values()].flat();
166
+ return [...c(this, j).values()].flat();
167
167
  }
168
168
  find(t) {
169
169
  const r = { exact: !0, ...t };
170
170
  return this.getAll().find(
171
- (s) => Ce(r, s)
171
+ (s) => Ae(r, s)
172
172
  );
173
173
  }
174
174
  findAll(t = {}) {
175
- return this.getAll().filter((r) => Ce(t, r));
175
+ return this.getAll().filter((r) => Ae(t, r));
176
176
  }
177
177
  notify(t) {
178
178
  w.batch(() => {
@@ -189,18 +189,18 @@ var k, Qe, Pr = (Qe = class extends He {
189
189
  )
190
190
  );
191
191
  }
192
- }, j = new WeakMap(), Z = new WeakMap(), qe);
192
+ }, j = new WeakMap(), Z = new WeakMap(), ze);
193
193
  function ee(e) {
194
194
  var t;
195
195
  return ((t = e.options.scope) == null ? void 0 : t.id) ?? String(e.mutationId);
196
196
  }
197
- function Re(e) {
197
+ function Te(e) {
198
198
  return {
199
199
  onFetch: (t, r) => {
200
200
  var p, f, h, g, v;
201
201
  const s = t.options, n = (h = (f = (p = t.fetchOptions) == null ? void 0 : p.meta) == null ? void 0 : f.fetchMore) == null ? void 0 : h.direction, o = ((g = t.state.data) == null ? void 0 : g.pages) || [], i = ((v = t.state.data) == null ? void 0 : v.pageParams) || [];
202
- let c = { pages: [], pageParams: [] }, u = 0;
203
- const d = async () => {
202
+ let u = { pages: [], pageParams: [] }, d = 0;
203
+ const l = async () => {
204
204
  let m = !1;
205
205
  const E = (b) => {
206
206
  Object.defineProperty(b, "signal", {
@@ -209,7 +209,7 @@ function Re(e) {
209
209
  m = !0;
210
210
  }), t.signal)
211
211
  });
212
- }, W = Mt(t.options, t.fetchOptions), $ = async (b, P, K) => {
212
+ }, W = Rt(t.options, t.fetchOptions), $ = async (b, P, K) => {
213
213
  if (m)
214
214
  return Promise.reject();
215
215
  if (P == null && b.pages.length)
@@ -221,36 +221,36 @@ function Re(e) {
221
221
  meta: t.options.meta
222
222
  };
223
223
  E(X);
224
- const vt = await W(
224
+ const xt = await W(
225
225
  X
226
- ), { maxPages: we } = t.options, Se = K ? Rt : It;
226
+ ), { maxPages: Ne } = t.options, Ee = K ? It : Tt;
227
227
  return {
228
- pages: Se(b.pages, vt, we),
229
- pageParams: Se(b.pageParams, P, we)
228
+ pages: Ee(b.pages, xt, Ne),
229
+ pageParams: Ee(b.pageParams, P, Ne)
230
230
  };
231
231
  };
232
232
  if (n && o.length) {
233
- const b = n === "backward", P = b ? kr : Ie, K = {
233
+ const b = n === "backward", P = b ? kr : _e, K = {
234
234
  pages: o,
235
235
  pageParams: i
236
236
  }, X = P(s, K);
237
- c = await $(K, X, b);
237
+ u = await $(K, X, b);
238
238
  } else {
239
239
  const b = e ?? o.length;
240
240
  do {
241
- const P = u === 0 ? i[0] ?? s.initialPageParam : Ie(s, c);
242
- if (u > 0 && P == null)
241
+ const P = d === 0 ? i[0] ?? s.initialPageParam : _e(s, u);
242
+ if (d > 0 && P == null)
243
243
  break;
244
- c = await $(c, P), u++;
245
- } while (u < b);
244
+ u = await $(u, P), d++;
245
+ } while (d < b);
246
246
  }
247
- return c;
247
+ return u;
248
248
  };
249
249
  t.options.persister ? t.fetchFn = () => {
250
250
  var m, E;
251
251
  return (E = (m = t.options).persister) == null ? void 0 : E.call(
252
252
  m,
253
- d,
253
+ l,
254
254
  {
255
255
  queryKey: t.queryKey,
256
256
  meta: t.options.meta,
@@ -258,11 +258,11 @@ function Re(e) {
258
258
  },
259
259
  r
260
260
  );
261
- } : t.fetchFn = d;
261
+ } : t.fetchFn = l;
262
262
  }
263
263
  };
264
264
  }
265
- function Ie(e, { pages: t, pageParams: r }) {
265
+ function _e(e, { pages: t, pageParams: r }) {
266
266
  const s = t.length - 1;
267
267
  return t.length > 0 ? e.getNextPageParam(
268
268
  t[s],
@@ -275,65 +275,65 @@ function kr(e, { pages: t, pageParams: r }) {
275
275
  var s;
276
276
  return t.length > 0 ? (s = e.getPreviousPageParam) == null ? void 0 : s.call(e, t[0], t, r[0], r) : void 0;
277
277
  }
278
- var x, I, T, B, z, _, H, U, Le, Ar = (Le = class {
278
+ var x, I, T, z, B, _, H, U, Be, Ar = (Be = class {
279
279
  constructor(e = {}) {
280
280
  N(this, x);
281
281
  N(this, I);
282
282
  N(this, T);
283
- N(this, B);
284
283
  N(this, z);
284
+ N(this, B);
285
285
  N(this, _);
286
286
  N(this, H);
287
287
  N(this, U);
288
- y(this, x, e.queryCache || new Pr()), y(this, I, e.mutationCache || new Cr()), y(this, T, e.defaultOptions || {}), y(this, B, /* @__PURE__ */ new Map()), y(this, z, /* @__PURE__ */ new Map()), y(this, _, 0);
288
+ y(this, x, e.queryCache || new Pr()), y(this, I, e.mutationCache || new Cr()), y(this, T, e.defaultOptions || {}), y(this, z, /* @__PURE__ */ new Map()), y(this, B, /* @__PURE__ */ new Map()), y(this, _, 0);
289
289
  }
290
290
  mount() {
291
- J(this, _)._++, l(this, _) === 1 && (y(this, H, Tt.subscribe(async (e) => {
292
- e && (await this.resumePausedMutations(), l(this, x).onFocus());
293
- })), y(this, U, ke.subscribe(async (e) => {
294
- e && (await this.resumePausedMutations(), l(this, x).onOnline());
291
+ J(this, _)._++, c(this, _) === 1 && (y(this, H, _t.subscribe(async (e) => {
292
+ e && (await this.resumePausedMutations(), c(this, x).onFocus());
293
+ })), y(this, U, De.subscribe(async (e) => {
294
+ e && (await this.resumePausedMutations(), c(this, x).onOnline());
295
295
  })));
296
296
  }
297
297
  unmount() {
298
298
  var e, t;
299
- J(this, _)._--, l(this, _) === 0 && ((e = l(this, H)) == null || e.call(this), y(this, H, void 0), (t = l(this, U)) == null || t.call(this), y(this, U, void 0));
299
+ J(this, _)._--, c(this, _) === 0 && ((e = c(this, H)) == null || e.call(this), y(this, H, void 0), (t = c(this, U)) == null || t.call(this), y(this, U, void 0));
300
300
  }
301
301
  isFetching(e) {
302
- return l(this, x).findAll({ ...e, fetchStatus: "fetching" }).length;
302
+ return c(this, x).findAll({ ...e, fetchStatus: "fetching" }).length;
303
303
  }
304
304
  isMutating(e) {
305
- return l(this, I).findAll({ ...e, status: "pending" }).length;
305
+ return c(this, I).findAll({ ...e, status: "pending" }).length;
306
306
  }
307
307
  getQueryData(e) {
308
308
  var r;
309
309
  const t = this.defaultQueryOptions({ queryKey: e });
310
- return (r = l(this, x).get(t.queryHash)) == null ? void 0 : r.state.data;
310
+ return (r = c(this, x).get(t.queryHash)) == null ? void 0 : r.state.data;
311
311
  }
312
312
  ensureQueryData(e) {
313
313
  const t = this.getQueryData(e.queryKey);
314
314
  if (t === void 0)
315
315
  return this.fetchQuery(e);
316
316
  {
317
- const r = this.defaultQueryOptions(e), s = l(this, x).build(this, r);
318
- return e.revalidateIfStale && s.isStaleByTime(Ae(r.staleTime, s)) && this.prefetchQuery(r), Promise.resolve(t);
317
+ const r = this.defaultQueryOptions(e), s = c(this, x).build(this, r);
318
+ return e.revalidateIfStale && s.isStaleByTime(Oe(r.staleTime, s)) && this.prefetchQuery(r), Promise.resolve(t);
319
319
  }
320
320
  }
321
321
  getQueriesData(e) {
322
- return l(this, x).findAll(e).map(({ queryKey: t, state: r }) => {
322
+ return c(this, x).findAll(e).map(({ queryKey: t, state: r }) => {
323
323
  const s = r.data;
324
324
  return [t, s];
325
325
  });
326
326
  }
327
327
  setQueryData(e, t, r) {
328
- const s = this.defaultQueryOptions({ queryKey: e }), n = l(this, x).get(
328
+ const s = this.defaultQueryOptions({ queryKey: e }), n = c(this, x).get(
329
329
  s.queryHash
330
- ), o = n == null ? void 0 : n.state.data, i = _t(t, o);
330
+ ), o = n == null ? void 0 : n.state.data, i = Ft(t, o);
331
331
  if (i !== void 0)
332
- return l(this, x).build(this, s).setData(i, { ...r, manual: !0 });
332
+ return c(this, x).build(this, s).setData(i, { ...r, manual: !0 });
333
333
  }
334
334
  setQueriesData(e, t, r) {
335
335
  return w.batch(
336
- () => l(this, x).findAll(e).map(({ queryKey: s }) => [
336
+ () => c(this, x).findAll(e).map(({ queryKey: s }) => [
337
337
  s,
338
338
  this.setQueryData(s, t, r)
339
339
  ])
@@ -342,10 +342,10 @@ var x, I, T, B, z, _, H, U, Le, Ar = (Le = class {
342
342
  getQueryState(e) {
343
343
  var r;
344
344
  const t = this.defaultQueryOptions({ queryKey: e });
345
- return (r = l(this, x).get(t.queryHash)) == null ? void 0 : r.state;
345
+ return (r = c(this, x).get(t.queryHash)) == null ? void 0 : r.state;
346
346
  }
347
347
  removeQueries(e) {
348
- const t = l(this, x);
348
+ const t = c(this, x);
349
349
  w.batch(() => {
350
350
  t.findAll(e).forEach((r) => {
351
351
  t.remove(r);
@@ -353,7 +353,7 @@ var x, I, T, B, z, _, H, U, Le, Ar = (Le = class {
353
353
  });
354
354
  }
355
355
  resetQueries(e, t) {
356
- const r = l(this, x), s = {
356
+ const r = c(this, x), s = {
357
357
  type: "active",
358
358
  ...e
359
359
  };
@@ -363,13 +363,13 @@ var x, I, T, B, z, _, H, U, Le, Ar = (Le = class {
363
363
  }
364
364
  cancelQueries(e = {}, t = {}) {
365
365
  const r = { revert: !0, ...t }, s = w.batch(
366
- () => l(this, x).findAll(e).map((n) => n.cancel(r))
366
+ () => c(this, x).findAll(e).map((n) => n.cancel(r))
367
367
  );
368
368
  return Promise.all(s).then(O).catch(O);
369
369
  }
370
370
  invalidateQueries(e = {}, t = {}) {
371
371
  return w.batch(() => {
372
- if (l(this, x).findAll(e).forEach((s) => {
372
+ if (c(this, x).findAll(e).forEach((s) => {
373
373
  s.invalidate();
374
374
  }), e.refetchType === "none")
375
375
  return Promise.resolve();
@@ -385,7 +385,7 @@ var x, I, T, B, z, _, H, U, Le, Ar = (Le = class {
385
385
  ...t,
386
386
  cancelRefetch: (t == null ? void 0 : t.cancelRefetch) ?? !0
387
387
  }, s = w.batch(
388
- () => l(this, x).findAll(e).filter((n) => !n.isDisabled()).map((n) => {
388
+ () => c(this, x).findAll(e).filter((n) => !n.isDisabled()).map((n) => {
389
389
  let o = n.fetch(void 0, r);
390
390
  return r.throwOnError || (o = o.catch(O)), n.state.fetchStatus === "paused" ? Promise.resolve() : o;
391
391
  })
@@ -395,98 +395,98 @@ var x, I, T, B, z, _, H, U, Le, Ar = (Le = class {
395
395
  fetchQuery(e) {
396
396
  const t = this.defaultQueryOptions(e);
397
397
  t.retry === void 0 && (t.retry = !1);
398
- const r = l(this, x).build(this, t);
398
+ const r = c(this, x).build(this, t);
399
399
  return r.isStaleByTime(
400
- Ae(t.staleTime, r)
400
+ Oe(t.staleTime, r)
401
401
  ) ? r.fetch(t) : Promise.resolve(r.state.data);
402
402
  }
403
403
  prefetchQuery(e) {
404
404
  return this.fetchQuery(e).then(O).catch(O);
405
405
  }
406
406
  fetchInfiniteQuery(e) {
407
- return e.behavior = Re(e.pages), this.fetchQuery(e);
407
+ return e.behavior = Te(e.pages), this.fetchQuery(e);
408
408
  }
409
409
  prefetchInfiniteQuery(e) {
410
410
  return this.fetchInfiniteQuery(e).then(O).catch(O);
411
411
  }
412
412
  ensureInfiniteQueryData(e) {
413
- return e.behavior = Re(e.pages), this.ensureQueryData(e);
413
+ return e.behavior = Te(e.pages), this.ensureQueryData(e);
414
414
  }
415
415
  resumePausedMutations() {
416
- return ke.isOnline() ? l(this, I).resumePausedMutations() : Promise.resolve();
416
+ return De.isOnline() ? c(this, I).resumePausedMutations() : Promise.resolve();
417
417
  }
418
418
  getQueryCache() {
419
- return l(this, x);
419
+ return c(this, x);
420
420
  }
421
421
  getMutationCache() {
422
- return l(this, I);
422
+ return c(this, I);
423
423
  }
424
424
  getDefaultOptions() {
425
- return l(this, T);
425
+ return c(this, T);
426
426
  }
427
427
  setDefaultOptions(e) {
428
428
  y(this, T, e);
429
429
  }
430
430
  setQueryDefaults(e, t) {
431
- l(this, B).set(De(e), {
431
+ c(this, z).set(Me(e), {
432
432
  queryKey: e,
433
433
  defaultOptions: t
434
434
  });
435
435
  }
436
436
  getQueryDefaults(e) {
437
- const t = [...l(this, B).values()];
437
+ const t = [...c(this, z).values()];
438
438
  let r = {};
439
439
  return t.forEach((s) => {
440
- Oe(e, s.queryKey) && (r = { ...r, ...s.defaultOptions });
440
+ Re(e, s.queryKey) && (r = { ...r, ...s.defaultOptions });
441
441
  }), r;
442
442
  }
443
443
  setMutationDefaults(e, t) {
444
- l(this, z).set(De(e), {
444
+ c(this, B).set(Me(e), {
445
445
  mutationKey: e,
446
446
  defaultOptions: t
447
447
  });
448
448
  }
449
449
  getMutationDefaults(e) {
450
- const t = [...l(this, z).values()];
450
+ const t = [...c(this, B).values()];
451
451
  let r = {};
452
452
  return t.forEach((s) => {
453
- Oe(e, s.mutationKey) && (r = { ...r, ...s.defaultOptions });
453
+ Re(e, s.mutationKey) && (r = { ...r, ...s.defaultOptions });
454
454
  }), r;
455
455
  }
456
456
  defaultQueryOptions(e) {
457
457
  if (e._defaulted)
458
458
  return e;
459
459
  const t = {
460
- ...l(this, T).queries,
460
+ ...c(this, T).queries,
461
461
  ...this.getQueryDefaults(e.queryKey),
462
462
  ...e,
463
463
  _defaulted: !0
464
464
  };
465
- return t.queryHash || (t.queryHash = Ue(
465
+ return t.queryHash || (t.queryHash = Ke(
466
466
  t.queryKey,
467
467
  t
468
- )), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.enabled !== !0 && t.queryFn === Ft && (t.enabled = !1), t;
468
+ )), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.enabled !== !0 && t.queryFn === Qt && (t.enabled = !1), t;
469
469
  }
470
470
  defaultMutationOptions(e) {
471
471
  return e != null && e._defaulted ? e : {
472
- ...l(this, T).mutations,
472
+ ...c(this, T).mutations,
473
473
  ...(e == null ? void 0 : e.mutationKey) && this.getMutationDefaults(e.mutationKey),
474
474
  ...e,
475
475
  _defaulted: !0
476
476
  };
477
477
  }
478
478
  clear() {
479
- l(this, x).clear(), l(this, I).clear();
479
+ c(this, x).clear(), c(this, I).clear();
480
480
  }
481
- }, x = new WeakMap(), I = new WeakMap(), T = new WeakMap(), B = new WeakMap(), z = new WeakMap(), _ = new WeakMap(), H = new WeakMap(), U = new WeakMap(), Le);
481
+ }, x = new WeakMap(), I = new WeakMap(), T = new WeakMap(), z = new WeakMap(), B = new WeakMap(), _ = new WeakMap(), H = new WeakMap(), U = new WeakMap(), Be);
482
482
  function Dr(e) {
483
483
  return e;
484
484
  }
485
- function Te(e, t, r) {
486
- var u, d;
485
+ function Fe(e, t, r) {
486
+ var d, l;
487
487
  if (typeof t != "object" || t === null)
488
488
  return;
489
- const s = e.getMutationCache(), n = e.getQueryCache(), o = ((u = r == null ? void 0 : r.defaultOptions) == null ? void 0 : u.deserializeData) ?? ((d = e.getDefaultOptions().hydrate) == null ? void 0 : d.deserializeData) ?? Dr, i = t.mutations || [], c = t.queries || [];
489
+ const s = e.getMutationCache(), n = e.getQueryCache(), o = ((d = r == null ? void 0 : r.defaultOptions) == null ? void 0 : d.deserializeData) ?? ((l = e.getDefaultOptions().hydrate) == null ? void 0 : l.deserializeData) ?? Dr, i = t.mutations || [], u = t.queries || [];
490
490
  i.forEach(({ state: p, ...f }) => {
491
491
  var h, g;
492
492
  s.build(
@@ -498,7 +498,7 @@ function Te(e, t, r) {
498
498
  },
499
499
  p
500
500
  );
501
- }), c.forEach(({ queryKey: p, state: f, queryHash: h, meta: g, promise: v }) => {
501
+ }), u.forEach(({ queryKey: p, state: f, queryHash: h, meta: g, promise: v }) => {
502
502
  var W, $;
503
503
  let m = n.get(h);
504
504
  const E = f.data === void 0 ? f.data : o(f.data);
@@ -540,14 +540,14 @@ var Or = ({
540
540
  state: r,
541
541
  queryClient: s
542
542
  }) => {
543
- const n = Qt(s), [o, i] = G.useState(), c = G.useRef(t);
544
- return c.current = t, G.useMemo(() => {
543
+ const n = qt(s), [o, i] = G.useState(), u = G.useRef(t);
544
+ return u.current = t, G.useMemo(() => {
545
545
  if (r) {
546
546
  if (typeof r != "object")
547
547
  return;
548
- const u = n.getQueryCache(), d = r.queries || [], p = [], f = [];
549
- for (const h of d) {
550
- const g = u.get(h.queryHash);
548
+ const d = n.getQueryCache(), l = r.queries || [], p = [], f = [];
549
+ for (const h of l) {
550
+ const g = d.get(h.queryHash);
551
551
  if (!g)
552
552
  p.push(h);
553
553
  else {
@@ -557,17 +557,17 @@ var Or = ({
557
557
  v && (!m || h.state.dataUpdatedAt > m.state.dataUpdatedAt) && f.push(h);
558
558
  }
559
559
  }
560
- p.length > 0 && Te(n, { queries: p }, c.current), f.length > 0 && i(
560
+ p.length > 0 && Fe(n, { queries: p }, u.current), f.length > 0 && i(
561
561
  (h) => h ? [...h, ...f] : f
562
562
  );
563
563
  }
564
564
  }, [n, o, r]), G.useEffect(() => {
565
- o && (Te(n, { queries: o }, c.current), i(void 0));
565
+ o && (Fe(n, { queries: o }, u.current), i(void 0));
566
566
  }, [n, o]), e;
567
567
  }, Y = {};
568
- const Mr = /* @__PURE__ */ pe(Wt), Rr = /* @__PURE__ */ pe(Xt), Ir = /* @__PURE__ */ pe(St);
568
+ const Mr = /* @__PURE__ */ xe(Xt), Rr = /* @__PURE__ */ xe(Jt), Ir = /* @__PURE__ */ xe(Nt);
569
569
  Object.defineProperty(Y, "__esModule", { value: !0 });
570
- var Tr = Ve, A = Mr, je = Rr, M = Ir;
570
+ var Tr = Ye, A = Mr, Se = Rr, M = Ir;
571
571
  function _r(e) {
572
572
  if (e && e.__esModule) return e;
573
573
  var t = /* @__PURE__ */ Object.create(null);
@@ -597,7 +597,7 @@ function Fr({
597
597
  hash: r.hash || "",
598
598
  state: r.state != null ? r.state : null,
599
599
  key: r.key || "default"
600
- }, i = at();
600
+ }, i = nt();
601
601
  return /* @__PURE__ */ C.createElement(M.Router, {
602
602
  basename: e,
603
603
  children: t,
@@ -617,26 +617,26 @@ function Qr({
617
617
  t && e || (process.env.NODE_ENV !== "production" ? A.UNSAFE_invariant(!1, "You must provide `router` and `context` to <StaticRouterProvider>") : A.UNSAFE_invariant(!1));
618
618
  let n = {
619
619
  router: t,
620
- navigator: at(),
620
+ navigator: nt(),
621
621
  static: !0,
622
622
  staticContext: e,
623
623
  basename: e.basename || "/"
624
624
  }, o = /* @__PURE__ */ new Map(), i = "";
625
625
  if (r !== !1) {
626
- let u = {
626
+ let d = {
627
627
  loaderData: e.loaderData,
628
628
  actionData: e.actionData,
629
629
  errors: Lr(e.errors)
630
630
  };
631
- i = `window.__staticRouterHydrationData = JSON.parse(${Kr(JSON.stringify(JSON.stringify(u)))});`;
631
+ i = `window.__staticRouterHydrationData = JSON.parse(${Kr(JSON.stringify(JSON.stringify(d)))});`;
632
632
  }
633
633
  let {
634
- state: c
634
+ state: u
635
635
  } = n.router;
636
636
  return /* @__PURE__ */ C.createElement(C.Fragment, null, /* @__PURE__ */ C.createElement(M.UNSAFE_DataRouterContext.Provider, {
637
637
  value: n
638
638
  }, /* @__PURE__ */ C.createElement(M.UNSAFE_DataRouterStateContext.Provider, {
639
- value: c
639
+ value: u
640
640
  }, /* @__PURE__ */ C.createElement(M.UNSAFE_FetchersContext.Provider, {
641
641
  value: o
642
642
  }, /* @__PURE__ */ C.createElement(M.UNSAFE_ViewTransitionContext.Provider, {
@@ -645,8 +645,8 @@ function Qr({
645
645
  }
646
646
  }, /* @__PURE__ */ C.createElement(M.Router, {
647
647
  basename: n.basename,
648
- location: c.location,
649
- navigationType: c.historyAction,
648
+ location: u.location,
649
+ navigationType: u.historyAction,
650
650
  navigator: n.navigator,
651
651
  static: n.static,
652
652
  future: {
@@ -655,7 +655,7 @@ function Qr({
655
655
  }, /* @__PURE__ */ C.createElement(qr, {
656
656
  routes: t.routes,
657
657
  future: t.future,
658
- state: c
658
+ state: u
659
659
  })))))), i ? /* @__PURE__ */ C.createElement("script", {
660
660
  suppressHydrationWarning: !0,
661
661
  nonce: s,
@@ -669,7 +669,7 @@ function qr({
669
669
  future: t,
670
670
  state: r
671
671
  }) {
672
- return je.UNSAFE_useRoutesImpl(e, void 0, r, t);
672
+ return Se.UNSAFE_useRoutesImpl(e, void 0, r, t);
673
673
  }
674
674
  function Lr(e) {
675
675
  if (!e) return null;
@@ -689,10 +689,10 @@ function Lr(e) {
689
689
  } : r[s] = n;
690
690
  return r;
691
691
  }
692
- function at() {
692
+ function nt() {
693
693
  return {
694
- createHref: st,
695
- encodeLocation: nt,
694
+ createHref: it,
695
+ encodeLocation: ot,
696
696
  push(e) {
697
697
  throw new Error(`You cannot use navigator.push() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(e)})\` somewhere in your app.`);
698
698
  },
@@ -710,32 +710,32 @@ function at() {
710
710
  }
711
711
  };
712
712
  }
713
- function Br(e, t) {
713
+ function zr(e, t) {
714
714
  return A.createStaticHandler(e, {
715
715
  ...t,
716
- mapRouteProperties: je.UNSAFE_mapRouteProperties
716
+ mapRouteProperties: Se.UNSAFE_mapRouteProperties
717
717
  });
718
718
  }
719
- function zr(e, t, r = {}) {
720
- let s = {}, n = A.UNSAFE_convertRoutesToDataRoutes(e, je.UNSAFE_mapRouteProperties, void 0, s), o = t.matches.map((c) => {
721
- let u = s[c.route.id] || c.route;
719
+ function Br(e, t, r = {}) {
720
+ let s = {}, n = A.UNSAFE_convertRoutesToDataRoutes(e, Se.UNSAFE_mapRouteProperties, void 0, s), o = t.matches.map((u) => {
721
+ let d = s[u.route.id] || u.route;
722
722
  return {
723
- ...c,
724
- route: u
723
+ ...u,
724
+ route: d
725
725
  };
726
- }), i = (c) => `You cannot use router.${c}() on the server because it is a stateless environment`;
726
+ }), i = (u) => `You cannot use router.${u}() on the server because it is a stateless environment`;
727
727
  return {
728
728
  get basename() {
729
729
  return t.basename;
730
730
  },
731
731
  get future() {
732
- var c, u;
732
+ var u, d;
733
733
  return {
734
734
  v7_fetcherPersist: !1,
735
735
  v7_normalizeFormMethod: !1,
736
- v7_partialHydration: ((c = r.future) == null ? void 0 : c.v7_partialHydration) === !0,
736
+ v7_partialHydration: ((u = r.future) == null ? void 0 : u.v7_partialHydration) === !0,
737
737
  v7_prependBasename: !1,
738
- v7_relativeSplatPath: ((u = r.future) == null ? void 0 : u.v7_relativeSplatPath) === !0,
738
+ v7_relativeSplatPath: ((d = r.future) == null ? void 0 : d.v7_relativeSplatPath) === !0,
739
739
  v7_skipActionErrorRevalidation: !1
740
740
  };
741
741
  },
@@ -779,8 +779,8 @@ function zr(e, t, r = {}) {
779
779
  revalidate() {
780
780
  throw i("revalidate");
781
781
  },
782
- createHref: st,
783
- encodeLocation: nt,
782
+ createHref: it,
783
+ encodeLocation: ot,
784
784
  getFetcher() {
785
785
  return A.IDLE_FETCHER;
786
786
  },
@@ -806,10 +806,10 @@ function zr(e, t, r = {}) {
806
806
  }
807
807
  };
808
808
  }
809
- function st(e) {
809
+ function it(e) {
810
810
  return typeof e == "string" ? e : M.createPath(e);
811
811
  }
812
- function nt(e) {
812
+ function ot(e) {
813
813
  let t = typeof e == "string" ? e : M.createPath(e);
814
814
  t = t.replace(/ $/, "%20");
815
815
  let r = Hr.test(t) ? new URL(t) : new URL(t, "http://localhost");
@@ -831,90 +831,85 @@ function Kr(e) {
831
831
  }
832
832
  Y.StaticRouter = Fr;
833
833
  var Vr = Y.StaticRouterProvider = Qr;
834
- Y.createStaticHandler = Br;
835
- Y.createStaticRouter = zr;
836
- const Zr = ({
834
+ Y.createStaticHandler = zr;
835
+ Y.createStaticRouter = Br;
836
+ const Zr = new Ar({
837
+ defaultOptions: {
838
+ queries: {
839
+ staleTime: 1e3 * 60 * 5
840
+ }
841
+ }
842
+ }), Yr = ({
837
843
  router: e,
838
844
  hydrate: t = !1
839
- }) => {
840
- const [r] = F(
841
- () => new Ar({
842
- defaultOptions: {
843
- queries: {
844
- staleTime: 3e5
845
- }
846
- }
847
- })
848
- );
849
- return /* @__PURE__ */ a.jsx(Ze, { children: /* @__PURE__ */ a.jsx($e, { client: r, children: /* @__PURE__ */ a.jsx(Or, { state: t ? window.DATA : void 0, children: /* @__PURE__ */ a.jsx(Be, { children: /* @__PURE__ */ a.jsx(le.Provider, { value: { stagger: !t }, children: /* @__PURE__ */ a.jsx(
850
- Nt,
851
- {
852
- router: e,
853
- future: { v7_startTransition: !0 }
854
- }
855
- ) }) }) }) }) });
856
- }, Yr = ({
845
+ }) => /* @__PURE__ */ a.jsx(We, { children: /* @__PURE__ */ a.jsx(Ve, { client: Zr, children: /* @__PURE__ */ a.jsx(Or, { state: t ? window.DATA : void 0, children: /* @__PURE__ */ a.jsx(He, { children: /* @__PURE__ */ a.jsx(ue.Provider, { value: { stagger: !t }, children: /* @__PURE__ */ a.jsx(
846
+ Et,
847
+ {
848
+ router: e,
849
+ future: { v7_startTransition: !0 }
850
+ }
851
+ ) }) }) }) }) }), Wr = ({
857
852
  router: e,
858
853
  context: t,
859
854
  queryClient: r,
860
855
  helmetContext: s
861
- }) => /* @__PURE__ */ a.jsx(Ze, { children: /* @__PURE__ */ a.jsx($e, { client: r, children: /* @__PURE__ */ a.jsx(Be, { context: s, children: /* @__PURE__ */ a.jsx(Vr, { router: e, context: t }) }) }) });
862
- var ue = { exports: {} };
856
+ }) => /* @__PURE__ */ a.jsx(We, { children: /* @__PURE__ */ a.jsx(Ve, { client: r, children: /* @__PURE__ */ a.jsx(He, { context: s, children: /* @__PURE__ */ a.jsx(Vr, { router: e, context: t }) }) }) });
857
+ var he = { exports: {} };
863
858
  (function(e, t) {
864
859
  (function(r, s) {
865
- s(t, Ve);
866
- })(Yt, function(r, s) {
860
+ s(t, Ye);
861
+ })(Wt, function(r, s) {
867
862
  const n = {
868
863
  delay: 500,
869
864
  minDuration: 200,
870
865
  ssr: !0
871
866
  };
872
867
  function o() {
873
- const [c, u] = s.useState(!0);
868
+ const [u, d] = s.useState(!0);
874
869
  return s.useEffect(() => {
875
- u(!1);
876
- }, []), c;
870
+ d(!1);
871
+ }, []), u;
877
872
  }
878
- function i(c, u) {
879
- u = Object.assign({}, n, u);
880
- const d = o() && u.ssr, p = d && c ? "DISPLAY" : "IDLE", [f, h] = s.useState(p), g = s.useRef(null);
873
+ function i(u, d) {
874
+ d = Object.assign({}, n, d);
875
+ const l = o() && d.ssr, p = l && u ? "DISPLAY" : "IDLE", [f, h] = s.useState(p), g = s.useRef(null);
881
876
  return s.useEffect(() => {
882
- if (c && (f === "IDLE" || d)) {
877
+ if (u && (f === "IDLE" || l)) {
883
878
  clearTimeout(g.current);
884
- const v = d ? 0 : u.delay;
879
+ const v = l ? 0 : d.delay;
885
880
  g.current = setTimeout(() => {
886
- if (!c)
881
+ if (!u)
887
882
  return h("IDLE");
888
883
  g.current = setTimeout(() => {
889
884
  h("EXPIRE");
890
- }, u.minDuration), h("DISPLAY");
891
- }, v), d || h("DELAY");
885
+ }, d.minDuration), h("DISPLAY");
886
+ }, v), l || h("DELAY");
892
887
  }
893
- !c && f !== "DISPLAY" && (clearTimeout(g.current), h("IDLE"));
894
- }, [c, f, u.delay, u.minDuration, d]), s.useEffect(() => () => clearTimeout(g.current), []), f === "DISPLAY" || f === "EXPIRE";
888
+ !u && f !== "DISPLAY" && (clearTimeout(g.current), h("IDLE"));
889
+ }, [u, f, d.delay, d.minDuration, l]), s.useEffect(() => () => clearTimeout(g.current), []), f === "DISPLAY" || f === "EXPIRE";
895
890
  }
896
891
  r.defaultOptions = n, r.useSpinDelay = i;
897
892
  });
898
- })(ue, ue.exports);
899
- var Wr = ue.exports;
900
- const Xr = ({
893
+ })(he, he.exports);
894
+ var Xr = he.exports;
895
+ const Jr = ({
901
896
  category: e,
902
897
  level: t
903
898
  }) => {
904
899
  var h, g;
905
- const r = qt(e), [s, n] = F(!1), o = e.collapsible ?? !0, i = e.collapsed ?? !0, c = !!(!o || !i || r), [u, d] = F(c), p = Jt(((h = e.link) == null ? void 0 : h.id) ?? "");
900
+ const r = Lt(e), [s, n] = q(!1), o = e.collapsible ?? !0, i = e.collapsed ?? !0, u = !!(!o || !i || r), [d, l] = q(u), p = Gt(((h = e.link) == null ? void 0 : h.id) ?? "");
906
901
  L(() => {
907
- r && d(!0);
902
+ r && l(!0);
908
903
  }, [r]);
909
904
  const f = o && /* @__PURE__ */ a.jsx(
910
905
  "button",
911
906
  {
912
907
  type: "button",
913
908
  onClick: (v) => {
914
- v.preventDefault(), d((m) => !m), n(!0);
909
+ v.preventDefault(), l((m) => !m), n(!0);
915
910
  },
916
911
  children: /* @__PURE__ */ a.jsx(
917
- Gt,
912
+ er,
918
913
  {
919
914
  size: 16,
920
915
  className: R(
@@ -926,14 +921,14 @@ const Xr = ({
926
921
  }
927
922
  );
928
923
  return /* @__PURE__ */ a.jsxs(
929
- ie.Root,
924
+ oe.Root,
930
925
  {
931
926
  className: "flex flex-col",
932
- defaultOpen: c,
933
- open: u,
934
- onOpenChange: () => d(!0),
927
+ defaultOpen: u,
928
+ open: d,
929
+ onOpenChange: () => l(!0),
935
930
  children: [
936
- /* @__PURE__ */ a.jsx(ie.Trigger, { className: "group", asChild: !0, disabled: !o, children: /* @__PURE__ */ a.jsxs(
931
+ /* @__PURE__ */ a.jsx(oe.Trigger, { className: "group", asChild: !0, disabled: !o, children: /* @__PURE__ */ a.jsxs(
937
932
  "div",
938
933
  {
939
934
  onClick: () => n(!0),
@@ -957,12 +952,12 @@ const Xr = ({
957
952
  }
958
953
  ),
959
954
  ((g = e.link) == null ? void 0 : g.type) === "doc" ? /* @__PURE__ */ a.jsx(
960
- re,
955
+ ae,
961
956
  {
962
- to: q(e.link.id),
957
+ to: Q(e.link.id),
963
958
  className: "flex-1",
964
959
  onClick: () => {
965
- p && !u && d(!0);
960
+ p && !d && l(!0);
966
961
  },
967
962
  children: /* @__PURE__ */ a.jsxs(
968
963
  "div",
@@ -986,14 +981,14 @@ const Xr = ({
986
981
  }
987
982
  ) }),
988
983
  /* @__PURE__ */ a.jsx(
989
- ie.Content,
984
+ oe.Content,
990
985
  {
991
986
  className: R(
992
987
  // CollapsibleContent class is used to animate and it should only be applied when the user has triggered the toggle
993
988
  s && "CollapsibleContent"
994
989
  ),
995
990
  children: /* @__PURE__ */ a.jsx("ul", { className: "mt-1 border-l ms-0.5", children: e.items.map((v) => /* @__PURE__ */ a.jsx(
996
- de,
991
+ fe,
997
992
  {
998
993
  level: t + 1,
999
994
  item: v
@@ -1005,7 +1000,7 @@ const Xr = ({
1005
1000
  ]
1006
1001
  }
1007
1002
  );
1008
- }, V = cr(
1003
+ }, V = ur(
1009
1004
  "flex items-center gap-2 px-[--padding-nav-item] py-1.5 rounded-lg hover:bg-accent transition-colors duration-300",
1010
1005
  {
1011
1006
  variants: {
@@ -1026,36 +1021,36 @@ const Xr = ({
1026
1021
  isActive: !1
1027
1022
  }
1028
1023
  }
1029
- ), it = "data-anchor", de = ({
1024
+ ), lt = "data-anchor", fe = ({
1030
1025
  item: e,
1031
1026
  level: t = 0
1032
1027
  }) => {
1033
1028
  var n, o;
1034
- const { activeAnchor: r } = be(), [s] = Et();
1029
+ const { activeAnchor: r } = we(), [s] = Pt();
1035
1030
  switch (e.type) {
1036
1031
  case "category":
1037
- return /* @__PURE__ */ a.jsx(Xr, { category: e, level: t });
1032
+ return /* @__PURE__ */ a.jsx(Jr, { category: e, level: t });
1038
1033
  case "doc":
1039
1034
  return /* @__PURE__ */ a.jsxs(
1040
- re,
1035
+ ae,
1041
1036
  {
1042
1037
  className: ({ isActive: i }) => V({ isActive: i, isTopLevel: t === 0 }),
1043
- to: q(e.id),
1038
+ to: Q(e.id),
1044
1039
  children: [
1045
1040
  e.icon && /* @__PURE__ */ a.jsx(e.icon, { size: 16, className: "align-[-0.125em]" }),
1046
1041
  e.badge ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1047
1042
  /* @__PURE__ */ a.jsx("span", { className: "truncate flex-1", title: e.label, children: e.label }),
1048
- /* @__PURE__ */ a.jsx(ne, { ...e.badge })
1043
+ /* @__PURE__ */ a.jsx(ie, { ...e.badge })
1049
1044
  ] }) : e.label
1050
1045
  ]
1051
1046
  }
1052
1047
  );
1053
1048
  case "link":
1054
1049
  return e.href.startsWith("#") ? /* @__PURE__ */ a.jsx(
1055
- bt,
1050
+ jt,
1056
1051
  {
1057
1052
  to: { hash: e.href, search: s.toString() },
1058
- [it]: e.href.slice(1),
1053
+ [lt]: e.href.slice(1),
1059
1054
  className: V({
1060
1055
  isActive: e.href.slice(1) === r,
1061
1056
  isTopLevel: t === 0,
@@ -1063,7 +1058,7 @@ const Xr = ({
1063
1058
  }),
1064
1059
  children: e.badge ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1065
1060
  /* @__PURE__ */ a.jsx("span", { className: "truncate", title: e.label, children: e.label }),
1066
- /* @__PURE__ */ a.jsx(ne, { ...e.badge })
1061
+ /* @__PURE__ */ a.jsx(ie, { ...e.badge })
1067
1062
  ] }) : /* @__PURE__ */ a.jsx("span", { className: "break-all", children: e.label })
1068
1063
  }
1069
1064
  ) : e.href.startsWith("http") ? /* @__PURE__ */ a.jsxs(
@@ -1075,11 +1070,11 @@ const Xr = ({
1075
1070
  rel: "noopener noreferrer",
1076
1071
  children: [
1077
1072
  /* @__PURE__ */ a.jsx("span", { className: "whitespace-normal", children: e.label }),
1078
- /* @__PURE__ */ a.jsx("span", { className: "whitespace-nowrap", children: /* @__PURE__ */ a.jsx(er, { className: "inline -translate-y-0.5", size: 12 }) })
1073
+ /* @__PURE__ */ a.jsx("span", { className: "whitespace-nowrap", children: /* @__PURE__ */ a.jsx(tr, { className: "inline -translate-y-0.5", size: 12 }) })
1079
1074
  ]
1080
1075
  }
1081
1076
  ) : /* @__PURE__ */ a.jsx(
1082
- re,
1077
+ ae,
1083
1078
  {
1084
1079
  className: V({
1085
1080
  className: ((o = e.badge) == null ? void 0 : o.placement) !== "start" && "justify-between"
@@ -1087,22 +1082,22 @@ const Xr = ({
1087
1082
  to: e.href,
1088
1083
  children: e.badge ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1089
1084
  /* @__PURE__ */ a.jsx("span", { className: "truncate", title: e.label, children: e.label }),
1090
- /* @__PURE__ */ a.jsx(ne, { ...e.badge })
1085
+ /* @__PURE__ */ a.jsx(ie, { ...e.badge })
1091
1086
  ] }) : /* @__PURE__ */ a.jsx("span", { className: "break-all", children: e.label })
1092
1087
  }
1093
1088
  );
1094
1089
  }
1095
- }, Jr = (e, t = { block: "center" }) => {
1090
+ }, Gr = (e, t = { block: "center" }) => {
1096
1091
  if (!e) return;
1097
1092
  const r = e.getBoundingClientRect();
1098
1093
  r.top >= 0 && r.left >= 0 && r.bottom <= (window.innerHeight || document.documentElement.clientHeight) && r.right <= (window.innerWidth || document.documentElement.clientWidth) || e.scrollIntoView(t);
1099
- }, Gr = () => {
1100
- const e = ve(), { setActiveAnchor: t } = be();
1094
+ }, ea = () => {
1095
+ const e = ye(), { setActiveAnchor: t } = we();
1101
1096
  L(() => {
1102
1097
  if (!e.hash) return;
1103
1098
  const r = decodeURIComponent(e.hash.split("/")[0].slice(1)), s = () => {
1104
- const n = document.getElementById(r), o = document.querySelector(`[${it}="${r}"]`);
1105
- return n ? (n.scrollIntoView(), Jr(o), requestIdleCallback(() => t(r)), !0) : !1;
1099
+ const n = document.getElementById(r), o = document.querySelector(`[${lt}="${r}"]`);
1100
+ return n ? (n.scrollIntoView(), Gr(o), requestIdleCallback(() => t(r)), !0) : !1;
1106
1101
  };
1107
1102
  if (!s()) {
1108
1103
  const n = new MutationObserver((o, i) => {
@@ -1111,13 +1106,13 @@ const Xr = ({
1111
1106
  return n.observe(document.body, { childList: !0, subtree: !0 }), () => n.disconnect();
1112
1107
  }
1113
1108
  }, [e.hash, t]);
1114
- }, ea = () => {
1115
- const e = ve(), t = me(e.pathname);
1109
+ }, ta = () => {
1110
+ const e = ye(), t = pe(e.pathname);
1116
1111
  L(() => {
1117
1112
  t.current !== e.pathname && (window.scrollTo(0, 0), t.current = e.pathname);
1118
1113
  }, [e.pathname]);
1119
1114
  };
1120
- function ta({
1115
+ function ra({
1121
1116
  className: e,
1122
1117
  ...t
1123
1118
  }) {
@@ -1129,17 +1124,17 @@ function ta({
1129
1124
  }
1130
1125
  );
1131
1126
  }
1132
- const ra = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems == "function", aa = (e) => "getRoutes" in e && typeof e.getRoutes == "function", sa = (e) => "renderSearch" in e && typeof e.renderSearch == "function", na = (e) => "initialize" in e && typeof e.initialize == "function", ia = (e) => "getHead" in e && typeof e.getHead == "function", oa = (e) => "getMdxComponents" in e && typeof e.getMdxComponents == "function", la = (e) => "getIdentities" in e && typeof e.getIdentities == "function", _e = {
1127
+ const aa = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems == "function", sa = (e) => "getRoutes" in e && typeof e.getRoutes == "function", na = (e) => "renderSearch" in e && typeof e.renderSearch == "function", ia = (e) => "initialize" in e && typeof e.initialize == "function", oa = (e) => "getHead" in e && typeof e.getHead == "function", la = (e) => "getMdxComponents" in e && typeof e.getMdxComponents == "function", ca = (e) => "getIdentities" in e && typeof e.getIdentities == "function", Qe = {
1133
1128
  info: "bg-blue-500",
1134
1129
  note: "bg-gray-500",
1135
1130
  tip: "bg-green-600",
1136
1131
  caution: "bg-orange-500",
1137
1132
  danger: "bg-rose-500"
1138
- }, ca = () => {
1139
- const { page: e } = Q(), [t, r] = F(!0);
1133
+ }, ua = () => {
1134
+ const { page: e } = F(), [t, r] = q(!0);
1140
1135
  if (!(e != null && e.banner) || !t)
1141
1136
  return /* @__PURE__ */ a.jsx("style", { children: ":root { --banner-height: 0px; }" });
1142
- const s = e.banner.color && e.banner.color in _e ? _e[e.banner.color] : e.banner.color ? void 0 : "bg-primary", n = s ? {} : { backgroundColor: e.banner.color };
1137
+ const s = e.banner.color && e.banner.color in Qe ? Qe[e.banner.color] : e.banner.color ? void 0 : "bg-primary", n = s ? {} : { backgroundColor: e.banner.color };
1143
1138
  return /* @__PURE__ */ a.jsxs(
1144
1139
  "div",
1145
1140
  {
@@ -1156,14 +1151,14 @@ const ra = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems ==
1156
1151
  type: "button",
1157
1152
  className: "md:absolute md:right-4 -m-1.5 p-1.5 hover:bg-accent-foreground/10 rounded-md",
1158
1153
  onClick: () => r(!1),
1159
- children: /* @__PURE__ */ a.jsx(tr, { size: 16 })
1154
+ children: /* @__PURE__ */ a.jsx(rr, { size: 16 })
1160
1155
  }
1161
1156
  )
1162
1157
  ]
1163
1158
  }
1164
1159
  );
1165
- }, ot = () => {
1166
- const e = Q(), [t, r] = F(!1), s = Ut(() => r(!1), []);
1160
+ }, ct = () => {
1161
+ const e = F(), [t, r] = q(!1), s = $t(() => r(!1), []);
1167
1162
  L(() => {
1168
1163
  if (t)
1169
1164
  return;
@@ -1174,7 +1169,7 @@ const ra = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems ==
1174
1169
  window.removeEventListener("keydown", o);
1175
1170
  };
1176
1171
  }, [t, r]);
1177
- const n = e.plugins.find(sa);
1172
+ const n = e.plugins.find(na);
1178
1173
  return n ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1179
1174
  /* @__PURE__ */ a.jsxs(
1180
1175
  "button",
@@ -1184,22 +1179,22 @@ const ra = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems ==
1184
1179
  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",
1185
1180
  children: [
1186
1181
  /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
1187
- /* @__PURE__ */ a.jsx(rr, { size: 14 }),
1182
+ /* @__PURE__ */ a.jsx(ar, { size: 14 }),
1188
1183
  "Search"
1189
1184
  ] }),
1190
1185
  /* @__PURE__ */ a.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" })
1191
1186
  ]
1192
1187
  }
1193
1188
  ),
1194
- /* @__PURE__ */ a.jsx(ge, { fallback: null, children: n.renderSearch({
1189
+ /* @__PURE__ */ a.jsx(ve, { fallback: null, children: n.renderSearch({
1195
1190
  isOpen: t,
1196
1191
  onClose: s
1197
1192
  }) })
1198
1193
  ] }) : null;
1199
- }, lt = () => {
1200
- const { resolvedTheme: e, setTheme: t } = jr(), r = e === "dark" ? ar : sr;
1201
- return /* @__PURE__ */ a.jsx(ye, { children: /* @__PURE__ */ a.jsx(
1202
- ce,
1194
+ }, ut = () => {
1195
+ const { resolvedTheme: e, setTheme: t } = jr(), r = e === "dark" ? sr : nr;
1196
+ return /* @__PURE__ */ a.jsx(je, { children: /* @__PURE__ */ a.jsx(
1197
+ de,
1203
1198
  {
1204
1199
  variant: "ghost",
1205
1200
  "aria-label": e === "dark" ? "Switch to light mode" : "Switch to dark mode",
@@ -1208,19 +1203,19 @@ const ra = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems ==
1208
1203
  children: /* @__PURE__ */ a.jsx(r, { size: 18 })
1209
1204
  }
1210
1205
  ) });
1211
- }, ct = (e) => (t) => t.display === "auth" && e || t.display === "anon" && !e || !t.display || t.display === "always", ua = () => {
1212
- const { topNavigation: e } = Q(), { isAuthenticated: t } = ae();
1213
- return e.length <= 1 ? /* @__PURE__ */ a.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ a.jsx(ge, { children: /* @__PURE__ */ a.jsx("nav", { className: "hidden lg:block border-b text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ a.jsx("ul", { className: "flex flex-row items-center gap-8", children: e.filter(ct(t)).map((r) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(ut, { ...r }) }, r.id)) }) }) });
1214
- }, ut = ({
1206
+ }, dt = (e) => (t) => t.display === "auth" && e || t.display === "anon" && !e || !t.display || t.display === "always", da = () => {
1207
+ const { topNavigation: e } = F(), { isAuthenticated: t } = se();
1208
+ return e.length <= 1 ? /* @__PURE__ */ a.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ a.jsx(ve, { children: /* @__PURE__ */ a.jsx("nav", { className: "hidden lg:block border-b text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ a.jsx("ul", { className: "flex flex-row items-center gap-8", children: e.filter(dt(t)).map((r) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(ht, { ...r }) }, r.id)) }) }) });
1209
+ }, ht = ({
1215
1210
  id: e,
1216
1211
  label: t,
1217
1212
  default: r
1218
1213
  }) => {
1219
- var d;
1220
- const { sidebars: s } = Q(), n = s[e], o = Ke(), i = !!xe().location, c = ((d = o.topNavItem) == null ? void 0 : d.id) === e && !i, u = r ?? (n ? Lt(n, (p) => {
1221
- if (p.type === "doc") return q(p.id);
1222
- }) : q(e));
1223
- if (!u)
1214
+ var l;
1215
+ const { sidebars: s } = F(), n = s[e], o = Ze(), i = !!be().location, u = ((l = o.topNavItem) == null ? void 0 : l.id) === e && !i, d = r ?? (n ? zt(n, (p) => {
1216
+ if (p.type === "doc") return Q(p.id);
1217
+ }) : Q(e));
1218
+ if (!d)
1224
1219
  throw new Sr("Page not found.", {
1225
1220
  developerHint: `No links found in top navigation for '${e}'. Check that the sidebar isn't empty or that a default link is set.`
1226
1221
  });
@@ -1228,38 +1223,38 @@ const ra = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems ==
1228
1223
  // We don't use isActive here because it has to be inside the sidebar,
1229
1224
  // the top nav id doesn't necessarily start with the sidebar id
1230
1225
  /* @__PURE__ */ a.jsx(
1231
- re,
1226
+ ae,
1232
1227
  {
1233
- className: ({ isPending: p }) => ur(
1228
+ className: ({ isPending: p }) => dr(
1234
1229
  "block lg:py-3.5 font-medium -mb-px border-b-2",
1235
- c || p ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
1230
+ u || p ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
1236
1231
  ),
1237
- to: u,
1232
+ to: d,
1238
1233
  children: t
1239
1234
  }
1240
1235
  )
1241
1236
  );
1242
- }, da = () => {
1243
- const { topNavigation: e } = Q(), { isAuthenticated: t } = ae(), [r, s] = F(!1);
1237
+ }, ha = () => {
1238
+ const { topNavigation: e } = F(), { isAuthenticated: t } = se(), [r, s] = q(!1);
1244
1239
  return /* @__PURE__ */ a.jsxs(
1245
- Je,
1240
+ et,
1246
1241
  {
1247
1242
  direction: "right",
1248
1243
  open: r,
1249
1244
  onOpenChange: (n) => s(n),
1250
1245
  children: [
1251
- /* @__PURE__ */ a.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ a.jsx(Ge, { className: "lg:hidden", children: /* @__PURE__ */ a.jsx(nr, { size: 22 }) }) }),
1246
+ /* @__PURE__ */ a.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ a.jsx(tt, { className: "lg:hidden", children: /* @__PURE__ */ a.jsx(ir, { size: 22 }) }) }),
1252
1247
  /* @__PURE__ */ a.jsxs(
1253
- et,
1248
+ rt,
1254
1249
  {
1255
1250
  className: "lg:hidden h-screen right-0 left-auto w-[320px] rounded-none overflow-auto",
1256
1251
  "aria-describedby": void 0,
1257
1252
  children: [
1258
- /* @__PURE__ */ a.jsx(rt, { children: /* @__PURE__ */ a.jsx(tt, { children: "Navigation" }) }),
1259
- /* @__PURE__ */ a.jsx("div", { className: "flex p-4", children: /* @__PURE__ */ a.jsx(ot, {}) }),
1253
+ /* @__PURE__ */ a.jsx(st, { children: /* @__PURE__ */ a.jsx(at, { children: "Navigation" }) }),
1254
+ /* @__PURE__ */ a.jsx("div", { className: "flex p-4", children: /* @__PURE__ */ a.jsx(ct, {}) }),
1260
1255
  /* @__PURE__ */ a.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
1261
- /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(lt, {}) }),
1262
- e.filter(ct(t)).map((n) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx("button", { onClick: () => s(!1), children: /* @__PURE__ */ a.jsx(ut, { ...n }) }) }, n.label))
1256
+ /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(ut, {}) }),
1257
+ e.filter(dt(t)).map((n) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx("button", { onClick: () => s(!1), children: /* @__PURE__ */ a.jsx(ht, { ...n }) }) }, n.label))
1263
1258
  ] })
1264
1259
  ]
1265
1260
  }
@@ -1267,24 +1262,27 @@ const ra = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems ==
1267
1262
  ]
1268
1263
  }
1269
1264
  );
1270
- }, dt = ({ item: e }) => e.children ? /* @__PURE__ */ a.jsxs(pr, { children: [
1265
+ }, re = ({ item: e }) => e.children ? /* @__PURE__ */ a.jsxs(pr, { children: [
1271
1266
  /* @__PURE__ */ a.jsx(vr, { children: e.label }),
1272
1267
  /* @__PURE__ */ a.jsx(xr, { children: /* @__PURE__ */ a.jsx(yr, { children: e.children.map((t, r) => (
1273
1268
  // eslint-disable-next-line react/no-array-index-key
1274
- /* @__PURE__ */ a.jsx(dt, { item: t }, r)
1269
+ /* @__PURE__ */ a.jsx(re, { item: t }, r)
1275
1270
  )) }) })
1276
- ] }, e.label) : /* @__PURE__ */ a.jsx(fe, { to: e.path ?? "", children: /* @__PURE__ */ a.jsx(br, { children: e.label }, e.label) }), ht = Ye(function() {
1277
- const t = ae(), { isAuthenticated: r, profile: s, isAuthEnabled: n } = ae(), o = Q(), { page: i, plugins: c } = o, u = c.filter((d) => ra(d)).flatMap((d) => d.getProfileMenuItems(o)).map((d) => /* @__PURE__ */ a.jsx(dt, { item: d }, d.label));
1271
+ ] }, e.label) : /* @__PURE__ */ a.jsx(ge, { to: e.path ?? "", children: /* @__PURE__ */ a.jsxs(br, { className: "flex gap-2", children: [
1272
+ e.icon && /* @__PURE__ */ a.jsx(e.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
1273
+ e.label
1274
+ ] }, e.label) }), ft = Xe(function() {
1275
+ const t = se(), { isAuthenticated: r, profile: s, isAuthEnabled: n } = se(), o = F(), { page: i, plugins: u } = o, d = u.filter((l) => aa(l)).flatMap((l) => l.getProfileMenuItems(o)).sort((l) => l.weight ?? 0);
1278
1276
  return /* @__PURE__ */ a.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
1279
- /* @__PURE__ */ a.jsx(ca, {}),
1277
+ /* @__PURE__ */ a.jsx(ua, {}),
1280
1278
  /* @__PURE__ */ a.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
1281
1279
  /* @__PURE__ */ a.jsxs("div", { className: "grid grid-cols-2 lg:grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b px-10 lg:px-12 h-[--top-header-height]", children: [
1282
- /* @__PURE__ */ a.jsx("div", { className: "flex", children: /* @__PURE__ */ a.jsx(fe, { to: "/", children: /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3.5", children: [
1280
+ /* @__PURE__ */ a.jsx("div", { className: "flex", children: /* @__PURE__ */ a.jsx(ge, { to: "/", children: /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3.5", children: [
1283
1281
  (i == null ? void 0 : i.logo) && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1284
1282
  /* @__PURE__ */ a.jsx(
1285
1283
  "img",
1286
1284
  {
1287
- src: /https?:\/\//.test(i.logo.src.light) ? i.logo.src.light : q(
1285
+ src: /https?:\/\//.test(i.logo.src.light) ? i.logo.src.light : Q(
1288
1286
  "/",
1289
1287
  i.logo.src.light
1290
1288
  ),
@@ -1298,7 +1296,7 @@ const ra = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems ==
1298
1296
  "img",
1299
1297
  {
1300
1298
  "data-hide-on-theme": "light",
1301
- src: /https?:\/\//.test(i.logo.src.dark) ? i.logo.src.dark : q(
1299
+ src: /https?:\/\//.test(i.logo.src.dark) ? i.logo.src.dark : Q(
1302
1300
  "/",
1303
1301
  i.logo.src.dark
1304
1302
  ),
@@ -1312,35 +1310,46 @@ const ra = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems ==
1312
1310
  /* @__PURE__ */ a.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: i == null ? void 0 : i.pageTitle })
1313
1311
  ] }) }) }),
1314
1312
  /* @__PURE__ */ a.jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
1315
- /* @__PURE__ */ a.jsx("div", { className: "w-full justify-center hidden lg:flex", children: /* @__PURE__ */ a.jsx(ot, {}) }),
1316
- /* @__PURE__ */ a.jsx(da, {}),
1313
+ /* @__PURE__ */ a.jsx("div", { className: "w-full justify-center hidden lg:flex", children: /* @__PURE__ */ a.jsx(ct, {}) }),
1314
+ /* @__PURE__ */ a.jsx(ha, {}),
1317
1315
  /* @__PURE__ */ a.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
1318
1316
  /* @__PURE__ */ a.jsx(D, { name: "head-navigation-start" }),
1319
1317
  n && /* @__PURE__ */ a.jsx(
1320
- ye,
1318
+ je,
1321
1319
  {
1322
- fallback: /* @__PURE__ */ a.jsx(ta, { className: "rounded h-5 w-24 mr-4" }),
1323
- children: r ? u.length > 0 && /* @__PURE__ */ a.jsxs(dr, { modal: !1, children: [
1324
- /* @__PURE__ */ a.jsx(hr, { asChild: !0, children: /* @__PURE__ */ a.jsx(ce, { variant: "ghost", children: s != null && s.email ? `${s.email}` : "My Account" }) }),
1325
- /* @__PURE__ */ a.jsxs(fr, { className: "w-56", children: [
1326
- /* @__PURE__ */ a.jsx(mr, { children: "My Account" }),
1327
- /* @__PURE__ */ a.jsx(gr, {}),
1328
- u
1320
+ fallback: /* @__PURE__ */ a.jsx(ra, { className: "rounded h-5 w-24 mr-4" }),
1321
+ children: r ? Object.values(d).length > 0 && /* @__PURE__ */ a.jsxs(hr, { modal: !1, children: [
1322
+ /* @__PURE__ */ a.jsx(fr, { asChild: !0, children: /* @__PURE__ */ a.jsx(de, { variant: "ghost", children: s != null && s.name ? `${s.name}` : "My Account" }) }),
1323
+ /* @__PURE__ */ a.jsxs(mr, { className: "w-56", children: [
1324
+ /* @__PURE__ */ a.jsxs(gr, { children: [
1325
+ s != null && s.name ? `${s.name}` : "My Account",
1326
+ (s == null ? void 0 : s.email) && /* @__PURE__ */ a.jsx("div", { className: "font-normal text-muted-foreground", children: s.email })
1327
+ ] }),
1328
+ d.filter((l) => l.category === "top").length > 0 && /* @__PURE__ */ a.jsx(le, {}),
1329
+ d.filter((l) => l.category === "top").map((l) => /* @__PURE__ */ a.jsx(re, { item: l }, l.label)),
1330
+ d.filter(
1331
+ (l) => !l.category || l.category === "middle"
1332
+ ).length > 0 && /* @__PURE__ */ a.jsx(le, {}),
1333
+ d.filter(
1334
+ (l) => !l.category || l.category === "middle"
1335
+ ).map((l) => /* @__PURE__ */ a.jsx(re, { item: l }, l.label)),
1336
+ d.filter((l) => l.category === "bottom").length > 0 && /* @__PURE__ */ a.jsx(le, {}),
1337
+ d.filter((l) => l.category === "bottom").map((l) => /* @__PURE__ */ a.jsx(re, { item: l }, l.label))
1329
1338
  ] })
1330
- ] }) : /* @__PURE__ */ a.jsx(ce, { variant: "ghost", onClick: () => t.login(), children: "Login" })
1339
+ ] }) : /* @__PURE__ */ a.jsx(de, { variant: "ghost", onClick: () => t.login(), children: "Login" })
1331
1340
  }
1332
1341
  ),
1333
- /* @__PURE__ */ a.jsx(lt, {}),
1342
+ /* @__PURE__ */ a.jsx(ut, {}),
1334
1343
  /* @__PURE__ */ a.jsx(D, { name: "head-navigation-end" })
1335
1344
  ] })
1336
1345
  ] })
1337
1346
  ] }),
1338
1347
  /* @__PURE__ */ a.jsx(D, { name: "top-navigation-before" }),
1339
- /* @__PURE__ */ a.jsx(ua, {}),
1348
+ /* @__PURE__ */ a.jsx(da, {}),
1340
1349
  /* @__PURE__ */ a.jsx(D, { name: "top-navigation-after" })
1341
1350
  ] })
1342
1351
  ] });
1343
- }), ft = $t(({ children: e, className: t, pushMainContent: r }, s) => /* @__PURE__ */ a.jsx(
1352
+ }), mt = Kt(({ children: e, className: t, pushMainContent: r }, s) => /* @__PURE__ */ a.jsx(
1344
1353
  "nav",
1345
1354
  {
1346
1355
  "data-navigation": String(r),
@@ -1354,59 +1363,59 @@ const ra = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems ==
1354
1363
  children: e
1355
1364
  }
1356
1365
  ));
1357
- ft.displayName = "SidebarWrapper";
1358
- const ha = () => {
1359
- const e = me(null), t = Ke();
1366
+ mt.displayName = "SidebarWrapper";
1367
+ const fa = () => {
1368
+ const e = pe(null), t = Ze();
1360
1369
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1361
1370
  /* @__PURE__ */ a.jsxs(
1362
- ft,
1371
+ mt,
1363
1372
  {
1364
1373
  ref: e,
1365
1374
  pushMainContent: t.sidebar.length > 0,
1366
1375
  children: [
1367
1376
  /* @__PURE__ */ a.jsx(D, { name: "zudoku-before-navigation" }),
1368
- t.sidebar.map((r) => /* @__PURE__ */ a.jsx(de, { item: r }, r.label)),
1377
+ t.sidebar.map((r) => /* @__PURE__ */ a.jsx(fe, { item: r }, r.label)),
1369
1378
  /* @__PURE__ */ a.jsx(D, { name: "zudoku-after-navigation" })
1370
1379
  ]
1371
1380
  }
1372
1381
  ),
1373
1382
  /* @__PURE__ */ a.jsxs(
1374
- et,
1383
+ rt,
1375
1384
  {
1376
1385
  className: "lg:hidden h-screen left-0 p-6 w-[320px] rounded-none overflow-auto",
1377
1386
  "aria-describedby": void 0,
1378
1387
  children: [
1379
- /* @__PURE__ */ a.jsx(rt, { children: /* @__PURE__ */ a.jsx(tt, { children: "Sidebar" }) }),
1380
- t.sidebar.map((r) => /* @__PURE__ */ a.jsx(de, { item: r }, r.label))
1388
+ /* @__PURE__ */ a.jsx(st, { children: /* @__PURE__ */ a.jsx(at, { children: "Sidebar" }) }),
1389
+ t.sidebar.map((r) => /* @__PURE__ */ a.jsx(fe, { item: r }, r.label))
1381
1390
  ]
1382
1391
  }
1383
1392
  )
1384
1393
  ] });
1385
- }, Fe = () => /* @__PURE__ */ a.jsx("main", { className: "grid h-[calc(100vh-var(--header-height))] place-items-center", children: /* @__PURE__ */ a.jsx(Nr, {}) }), fa = ({ children: e }) => {
1386
- const t = ve(), { setActiveAnchor: r } = be(), { meta: s, authentication: n } = Q();
1387
- Gr(), ea();
1388
- const o = me(t.pathname);
1394
+ }, qe = () => /* @__PURE__ */ a.jsx("main", { className: "grid h-[calc(100vh-var(--header-height))] place-items-center", children: /* @__PURE__ */ a.jsx(Nr, {}) }), ma = ({ children: e }) => {
1395
+ const t = ye(), { setActiveAnchor: r } = we(), { meta: s, authentication: n } = F();
1396
+ ea(), ta();
1397
+ const o = pe(t.pathname);
1389
1398
  L(() => {
1390
- var u;
1391
- (u = n == null ? void 0 : n.pageLoad) == null || u.call(n);
1399
+ var d;
1400
+ (d = n == null ? void 0 : n.onPageLoad) == null || d.call(n);
1392
1401
  }, [n]), L(() => {
1393
1402
  t.pathname !== o.current && r(""), o.current = t.pathname;
1394
1403
  }, [t.pathname, r]);
1395
- const i = !!xe().location, c = Wr.useSpinDelay(i, {
1404
+ const i = !!be().location, u = Xr.useSpinDelay(i, {
1396
1405
  delay: 300,
1397
1406
  minDuration: 500
1398
1407
  });
1399
1408
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1400
1409
  !1,
1401
- /* @__PURE__ */ a.jsxs(he, { titleTemplate: s == null ? void 0 : s.title, children: [
1410
+ /* @__PURE__ */ a.jsxs(me, { titleTemplate: s == null ? void 0 : s.title, children: [
1402
1411
  (s == null ? void 0 : s.description) && /* @__PURE__ */ a.jsx("meta", { name: "description", content: s.description }),
1403
1412
  (s == null ? void 0 : s.favicon) && /* @__PURE__ */ a.jsx("link", { rel: "icon", href: s.favicon })
1404
1413
  ] }),
1405
1414
  /* @__PURE__ */ a.jsx(D, { name: "layout-before-head" }),
1406
- /* @__PURE__ */ a.jsx(ht, {}),
1415
+ /* @__PURE__ */ a.jsx(ft, {}),
1407
1416
  /* @__PURE__ */ a.jsx(D, { name: "layout-after-head" }),
1408
- /* @__PURE__ */ a.jsx("div", { className: "w-full max-w-screen-2xl mx-auto px-10 lg:px-12", children: c ? /* @__PURE__ */ a.jsx(Fe, {}) : /* @__PURE__ */ a.jsx(ge, { fallback: /* @__PURE__ */ a.jsx(Fe, {}), children: /* @__PURE__ */ a.jsxs(Je, { direction: "left", children: [
1409
- /* @__PURE__ */ a.jsx(ha, {}),
1417
+ /* @__PURE__ */ a.jsx("div", { className: "w-full max-w-screen-2xl mx-auto px-10 lg:px-12", children: u ? /* @__PURE__ */ a.jsx(qe, {}) : /* @__PURE__ */ a.jsx(ve, { fallback: /* @__PURE__ */ a.jsx(qe, {}), children: /* @__PURE__ */ a.jsxs(et, { direction: "left", children: [
1418
+ /* @__PURE__ */ a.jsx(fa, {}),
1410
1419
  /* @__PURE__ */ a.jsx(
1411
1420
  "div",
1412
1421
  {
@@ -1414,8 +1423,8 @@ const ha = () => {
1414
1423
  "lg:hidden -mx-10 px-10 py-2 sticky bg-background/80 backdrop-blur z-10 top-0 left-0 right-0 border-b",
1415
1424
  "peer-data-[navigation=false]:hidden"
1416
1425
  ),
1417
- children: /* @__PURE__ */ a.jsxs(Ge, { className: "flex items-center gap-2", children: [
1418
- /* @__PURE__ */ a.jsx(ir, { size: 16, strokeWidth: 1.5 }),
1426
+ children: /* @__PURE__ */ a.jsxs(tt, { className: "flex items-center gap-2", children: [
1427
+ /* @__PURE__ */ a.jsx(or, { size: 16, strokeWidth: 1.5 }),
1419
1428
  /* @__PURE__ */ a.jsx("span", { className: "text-sm", children: "Menu" })
1420
1429
  ] })
1421
1430
  }
@@ -1432,20 +1441,20 @@ const ha = () => {
1432
1441
  ),
1433
1442
  children: [
1434
1443
  /* @__PURE__ */ a.jsx(D, { name: "zudoku-before-content" }),
1435
- e ?? /* @__PURE__ */ a.jsx(Xe, {}),
1444
+ e ?? /* @__PURE__ */ a.jsx(Ge, {}),
1436
1445
  /* @__PURE__ */ a.jsx(D, { name: "zudoku-after-content" })
1437
1446
  ]
1438
1447
  }
1439
1448
  )
1440
1449
  ] }) }) })
1441
1450
  ] });
1442
- }, ma = We(null), oe = {
1451
+ }, ga = Je(null), ce = {
1443
1452
  didCatch: !1,
1444
1453
  error: null
1445
1454
  };
1446
- class ga extends Kt {
1455
+ class pa extends Vt {
1447
1456
  constructor(t) {
1448
- super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = oe;
1457
+ super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = ce;
1449
1458
  }
1450
1459
  static getDerivedStateFromError(t) {
1451
1460
  return {
@@ -1463,7 +1472,7 @@ class ga extends Kt {
1463
1472
  (r = (s = this.props).onReset) === null || r === void 0 || r.call(s, {
1464
1473
  args: o,
1465
1474
  reason: "imperative-api"
1466
- }), this.setState(oe);
1475
+ }), this.setState(ce);
1467
1476
  }
1468
1477
  }
1469
1478
  componentDidCatch(t, r) {
@@ -1476,13 +1485,13 @@ class ga extends Kt {
1476
1485
  } = this.state, {
1477
1486
  resetKeys: n
1478
1487
  } = this.props;
1479
- if (s && r.error !== null && pa(t.resetKeys, n)) {
1488
+ if (s && r.error !== null && va(t.resetKeys, n)) {
1480
1489
  var o, i;
1481
1490
  (o = (i = this.props).onReset) === null || o === void 0 || o.call(i, {
1482
1491
  next: n,
1483
1492
  prev: t.resetKeys,
1484
1493
  reason: "keys"
1485
- }), this.setState(oe);
1494
+ }), this.setState(ce);
1486
1495
  }
1487
1496
  }
1488
1497
  render() {
@@ -1495,35 +1504,35 @@ class ga extends Kt {
1495
1504
  didCatch: o,
1496
1505
  error: i
1497
1506
  } = this.state;
1498
- let c = t;
1507
+ let u = t;
1499
1508
  if (o) {
1500
- const u = {
1509
+ const d = {
1501
1510
  error: i,
1502
1511
  resetErrorBoundary: this.resetErrorBoundary
1503
1512
  };
1504
1513
  if (typeof r == "function")
1505
- c = r(u);
1514
+ u = r(d);
1506
1515
  else if (s)
1507
- c = Me(s, u);
1516
+ u = Ie(s, d);
1508
1517
  else if (n !== void 0)
1509
- c = n;
1518
+ u = n;
1510
1519
  else
1511
1520
  throw i;
1512
1521
  }
1513
- return Me(ma.Provider, {
1522
+ return Ie(ga.Provider, {
1514
1523
  value: {
1515
1524
  didCatch: o,
1516
1525
  error: i,
1517
1526
  resetErrorBoundary: this.resetErrorBoundary
1518
1527
  }
1519
- }, c);
1528
+ }, u);
1520
1529
  }
1521
1530
  }
1522
- function pa() {
1531
+ function va() {
1523
1532
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
1524
1533
  return e.length !== t.length || e.some((r, s) => !Object.is(r, t[s]));
1525
1534
  }
1526
- class va {
1535
+ class xa {
1527
1536
  constructor(t) {
1528
1537
  S(this, "plugins");
1529
1538
  S(this, "sidebars");
@@ -1534,20 +1543,20 @@ class va {
1534
1543
  S(this, "navigationPlugins");
1535
1544
  S(this, "initialize", async () => {
1536
1545
  await Promise.all(
1537
- this.plugins.filter(na).map((t) => {
1546
+ this.plugins.filter(ia).map((t) => {
1538
1547
  var r;
1539
1548
  return (r = t.initialize) == null ? void 0 : r.call(t, this);
1540
1549
  })
1541
1550
  );
1542
1551
  });
1543
1552
  S(this, "getApiIdentities", async () => (await Promise.all(
1544
- this.plugins.filter(la).map((r) => r.getIdentities(this))
1553
+ this.plugins.filter(ca).map((r) => r.getIdentities(this))
1545
1554
  )).flat());
1546
1555
  S(this, "getPluginSidebar", async (t) => (await Promise.all(
1547
1556
  this.navigationPlugins.map(
1548
1557
  (s) => {
1549
1558
  var n;
1550
- return (n = s.getSidebar) == null ? void 0 : n.call(s, q(t));
1559
+ return (n = s.getSidebar) == null ? void 0 : n.call(s, Q(t));
1551
1560
  }
1552
1561
  )
1553
1562
  )).flatMap((s) => s ?? []));
@@ -1557,75 +1566,75 @@ class va {
1557
1566
  const r = await this.authentication.getAccessToken();
1558
1567
  return t.headers.set("Authorization", `Bearer ${r}`), t;
1559
1568
  });
1560
- this.plugins = t.plugins ?? [], this.topNavigation = t.topNavigation ?? [], this.sidebars = t.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(aa), this.authentication = t.authentication, this.meta = t.metadata, this.page = t.page;
1569
+ this.plugins = t.plugins ?? [], this.topNavigation = t.topNavigation ?? [], this.sidebars = t.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(sa), this.authentication = t.authentication, this.meta = t.metadata, this.page = t.page;
1561
1570
  }
1562
1571
  }
1563
- function xa({ error: e, resetErrorBoundary: t }) {
1564
- return /* @__PURE__ */ a.jsx(ze, { error: e });
1572
+ function ya({ error: e, resetErrorBoundary: t }) {
1573
+ return /* @__PURE__ */ a.jsx(Ue, { error: e });
1565
1574
  }
1566
1575
  const te = globalThis;
1567
1576
  (!te.requestIdleCallback || !te.cancelIdleCallback) && (te.requestIdleCallback = (e) => setTimeout(e, 1), te.cancelIdleCallback = clearTimeout);
1568
- const mt = {
1569
- Header: ht
1570
- }, ya = We(mt), ba = ya.Provider, ja = ({
1577
+ const gt = {
1578
+ Header: ft
1579
+ }, ba = Je(gt), ja = ba.Provider, wa = ({
1571
1580
  children: e,
1572
1581
  context: t
1573
1582
  }) => (Bt({
1574
1583
  queryFn: async () => (await t.initialize(), !0),
1575
1584
  queryKey: ["zudoku-initialize"]
1576
- }), /* @__PURE__ */ a.jsx(zt.Provider, { value: t, children: e })), gt = Ye(
1585
+ }), /* @__PURE__ */ a.jsx(Ht.Provider, { value: t, children: e })), pt = Xe(
1577
1586
  ({ children: e, ...t }) => {
1578
1587
  var f, h;
1579
- const r = se(
1580
- () => ({ ...mt, ...t.overrides }),
1588
+ const r = ne(
1589
+ () => ({ ...gt, ...t.overrides }),
1581
1590
  [t.overrides]
1582
- ), s = se(() => {
1591
+ ), s = ne(() => {
1583
1592
  var v;
1584
1593
  return {
1585
- ...(t.plugins ?? []).filter(oa).flatMap(
1594
+ ...(t.plugins ?? []).filter(la).flatMap(
1586
1595
  (m) => m.getMdxComponents ? [m.getMdxComponents()] : []
1587
1596
  ).reduce(
1588
1597
  (m, E) => ({ ...m, ...E }),
1589
1598
  {}
1590
1599
  ),
1591
- ...or,
1600
+ ...lr,
1592
1601
  ...(v = t.mdx) == null ? void 0 : v.components
1593
1602
  };
1594
- }, [(f = t.mdx) == null ? void 0 : f.components, t.plugins]), { stagger: n } = Vt(le), [o, i] = F(!1), c = se(
1603
+ }, [(f = t.mdx) == null ? void 0 : f.components, t.plugins]), { stagger: n } = Zt(ue), [o, i] = q(!1), u = ne(
1595
1604
  () => o ? { stagger: !0 } : { stagger: n },
1596
1605
  [n, o]
1597
- ), u = xe();
1606
+ ), d = be();
1598
1607
  L(() => {
1599
1608
  o || i(!0);
1600
- }, [o, u.location]);
1601
- const [d] = F(() => new va(t)), p = (h = t.plugins) == null ? void 0 : h.filter(ia).map((g, v) => {
1609
+ }, [o, d.location]);
1610
+ const [l] = q(() => new xa(t)), p = (h = t.plugins) == null ? void 0 : h.filter(oa).map((g, v) => {
1602
1611
  var m;
1603
- return /* @__PURE__ */ a.jsx(Zt, { children: (m = g.getHead) == null ? void 0 : m.call(g) }, v);
1612
+ return /* @__PURE__ */ a.jsx(Yt, { children: (m = g.getHead) == null ? void 0 : m.call(g) }, v);
1604
1613
  });
1605
1614
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1606
- /* @__PURE__ */ a.jsx(he, { children: p }),
1607
- /* @__PURE__ */ a.jsx(le.Provider, { value: c, children: /* @__PURE__ */ a.jsx(ja, { context: d, children: /* @__PURE__ */ a.jsx(jt, { components: s, children: /* @__PURE__ */ a.jsx(wr, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ a.jsx(ba, { value: r, children: /* @__PURE__ */ a.jsx(Ct, { slotlets: t.slotlets, children: /* @__PURE__ */ a.jsx(lr, { children: e ?? /* @__PURE__ */ a.jsx(Xe, {}) }) }) }) }) }) }) })
1615
+ /* @__PURE__ */ a.jsx(me, { children: p }),
1616
+ /* @__PURE__ */ a.jsx(ue.Provider, { value: u, children: /* @__PURE__ */ a.jsx(wa, { context: l, children: /* @__PURE__ */ a.jsx(wt, { components: s, children: /* @__PURE__ */ a.jsx(wr, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ a.jsx(ja, { value: r, children: /* @__PURE__ */ a.jsx(kt, { slotlets: t.slotlets, children: /* @__PURE__ */ a.jsx(cr, { children: e ?? /* @__PURE__ */ a.jsx(Ge, {}) }) }) }) }) }) }) })
1608
1617
  ] });
1609
1618
  }
1610
1619
  );
1611
- gt.displayName = "ZudokoInner";
1612
- const pt = (e) => /* @__PURE__ */ a.jsx(ga, { FallbackComponent: xa, children: /* @__PURE__ */ a.jsx(gt, { ...e }) });
1613
- pt.displayName = "Zudoku";
1614
- const Ya = wt, Wa = fa, Xa = kt, Ja = Er, Ga = Zr, es = Yr, ts = he, rs = Q, as = Pt, ss = pt, ns = Dt, is = ye, os = At, ls = fe;
1620
+ pt.displayName = "ZudokoInner";
1621
+ const vt = (e) => /* @__PURE__ */ a.jsx(pa, { FallbackComponent: ya, children: /* @__PURE__ */ a.jsx(pt, { ...e }) });
1622
+ vt.displayName = "Zudoku";
1623
+ const Wa = St, Xa = ma, Ja = At, Ga = Er, es = Yr, ts = Wr, rs = me, as = F, ss = Ct, ns = vt, is = Ot, os = je, ls = Dt, cs = ge;
1615
1624
  export {
1616
- Ga as Bootstrap,
1617
- es as BootstrapStatic,
1618
- os as Button,
1619
- ns as Callout,
1620
- is as ClientOnly,
1621
- ts as Head,
1622
- Wa as Layout,
1623
- ls as Link,
1624
- Xa as RouterError,
1625
- Ja as ServerError,
1626
- ss as Zudoku,
1627
- as as useAuth,
1628
- Ya as useMDXComponents,
1629
- rs as useZudoku
1625
+ es as Bootstrap,
1626
+ ts as BootstrapStatic,
1627
+ ls as Button,
1628
+ is as Callout,
1629
+ os as ClientOnly,
1630
+ rs as Head,
1631
+ Xa as Layout,
1632
+ cs as Link,
1633
+ Ja as RouterError,
1634
+ Ga as ServerError,
1635
+ ns as Zudoku,
1636
+ ss as useAuth,
1637
+ Wa as useMDXComponents,
1638
+ as as useZudoku
1630
1639
  };
1631
1640
  //# sourceMappingURL=zudoku.components.js.map