zudoku 0.3.1-dev.13 → 0.3.1-dev.15

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 (70) hide show
  1. package/dist/lib/authentication/authentication.d.ts +1 -0
  2. package/dist/lib/authentication/components/CallbackHandler.d.ts +3 -0
  3. package/dist/lib/authentication/components/CallbackHandler.js +33 -0
  4. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -0
  5. package/dist/lib/authentication/providers/openid.d.ts +3 -3
  6. package/dist/lib/authentication/providers/openid.js +20 -20
  7. package/dist/lib/authentication/providers/openid.js.map +1 -1
  8. package/dist/lib/components/Header.js +1 -1
  9. package/dist/lib/components/Header.js.map +1 -1
  10. package/dist/lib/components/Layout.js +5 -1
  11. package/dist/lib/components/Layout.js.map +1 -1
  12. package/dist/lib/components/context/ZudokuProvider.js +1 -3
  13. package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
  14. package/dist/lib/core/DevPortalContext.d.ts +1 -4
  15. package/dist/lib/core/DevPortalContext.js +2 -2
  16. package/dist/lib/core/DevPortalContext.js.map +1 -1
  17. package/dist/lib/core/plugins.d.ts +2 -4
  18. package/dist/lib/core/plugins.js.map +1 -1
  19. package/lib/{AuthenticationPlugin-CH5NSVOu.js → AuthenticationPlugin-owbEUimP.js} +3 -3
  20. package/lib/{AuthenticationPlugin-CH5NSVOu.js.map → AuthenticationPlugin-owbEUimP.js.map} +1 -1
  21. package/lib/{CategoryHeading-z15xh7Jb.js → CategoryHeading-DnPprxtD.js} +2 -2
  22. package/lib/{CategoryHeading-z15xh7Jb.js.map → CategoryHeading-DnPprxtD.js.map} +1 -1
  23. package/lib/{Combination-DTfV-c98.js → Combination-DruV0zX_.js} +3 -3
  24. package/lib/{Combination-DTfV-c98.js.map → Combination-DruV0zX_.js.map} +1 -1
  25. package/lib/ErrorPage-PUg985n_.js +18 -0
  26. package/lib/ErrorPage-PUg985n_.js.map +1 -0
  27. package/lib/{Input-CzXNm7xb.js → Input-CBfi9Yjc.js} +4 -4
  28. package/lib/{Input-CzXNm7xb.js.map → Input-CBfi9Yjc.js.map} +1 -1
  29. package/lib/{Markdown-CEccPMI_.js → Markdown-Chb9VIBv.js} +2 -2
  30. package/lib/{Markdown-CEccPMI_.js.map → Markdown-Chb9VIBv.js.map} +1 -1
  31. package/lib/{MdxPage-CnqOoqvp.js → MdxPage-CIBHMwTd.js} +5 -5
  32. package/lib/{MdxPage-CnqOoqvp.js.map → MdxPage-CIBHMwTd.js.map} +1 -1
  33. package/lib/{OperationList-CYyaboNz.js → OperationList-BzC9sQKY.js} +23 -22
  34. package/lib/{OperationList-CYyaboNz.js.map → OperationList-BzC9sQKY.js.map} +1 -1
  35. package/lib/{Route-C3Jb0axy.js → Route-BGRXEhFQ.js} +3 -3
  36. package/lib/{Route-C3Jb0axy.js.map → Route-BGRXEhFQ.js.map} +1 -1
  37. package/lib/{SlotletProvider-ByLSCZQa.js → SlotletProvider-Dq80og6-.js} +4 -4
  38. package/lib/{SlotletProvider-ByLSCZQa.js.map → SlotletProvider-Dq80og6-.js.map} +1 -1
  39. package/lib/{Spinner-BT_AYFrA.js → Spinner-BxpiCVtl.js} +3 -3
  40. package/lib/{Spinner-BT_AYFrA.js.map → Spinner-BxpiCVtl.js.map} +1 -1
  41. package/lib/{ZudokuContext-BIZ8zHbZ.js → ZudokuContext-BQ45UjcB.js} +2 -2
  42. package/lib/{ZudokuContext-BIZ8zHbZ.js.map → ZudokuContext-BQ45UjcB.js.map} +1 -1
  43. package/lib/{index-Dz4LyXZI.js → index-CKQG-w6R.js} +3 -3
  44. package/lib/{index-Dz4LyXZI.js.map → index-CKQG-w6R.js.map} +1 -1
  45. package/lib/{index-B1he6g8N.js → index-DHMNxrEi.js} +453 -464
  46. package/lib/index-DHMNxrEi.js.map +1 -0
  47. package/lib/{index-7kcHaXD6.js → index-Yjb2PyPF.js} +4 -4
  48. package/lib/{index-7kcHaXD6.js.map → index-Yjb2PyPF.js.map} +1 -1
  49. package/lib/{utils-Bh4upQ0e.js → utils-pDHePxa0.js} +3 -3
  50. package/lib/{utils-Bh4upQ0e.js.map → utils-pDHePxa0.js.map} +1 -1
  51. package/lib/zudoku.auth-clerk.js +1 -1
  52. package/lib/zudoku.auth-openid.js +465 -413
  53. package/lib/zudoku.auth-openid.js.map +1 -1
  54. package/lib/zudoku.components.js +274 -277
  55. package/lib/zudoku.components.js.map +1 -1
  56. package/lib/zudoku.plugin-api-keys.js +6 -6
  57. package/lib/zudoku.plugin-custom-page.js +1 -1
  58. package/lib/zudoku.plugin-markdown.js +1 -1
  59. package/lib/zudoku.plugin-openapi.js +7 -6
  60. package/lib/zudoku.plugin-openapi.js.map +1 -1
  61. package/package.json +1 -1
  62. package/src/lib/authentication/authentication.ts +1 -0
  63. package/src/lib/authentication/components/CallbackHandler.tsx +54 -0
  64. package/src/lib/authentication/providers/openid.tsx +20 -24
  65. package/src/lib/components/Header.tsx +1 -2
  66. package/src/lib/components/Layout.tsx +6 -1
  67. package/src/lib/components/context/ZudokuProvider.tsx +1 -4
  68. package/src/lib/core/DevPortalContext.ts +2 -7
  69. package/src/lib/core/plugins.ts +1 -2
  70. package/lib/index-B1he6g8N.js.map +0 -1
@@ -13,20 +13,20 @@ var Ce = (e, t, n, r) => ({
13
13
  return f(e, t, r);
14
14
  }
15
15
  });
16
- import { H as jt, a as Ge, M as lr, u as dr, A as hr, b as fr } from "./utils-Bh4upQ0e.js";
17
- import { d as pr, a as mr, R as gr, N as je, u as Ne, L as He, b as vr, c as xr, O as Rt, e as yr } from "./index-7kcHaXD6.js";
18
- import { E as Et, S as se, a as wr, R as br } from "./SlotletProvider-ByLSCZQa.js";
16
+ import { H as jt, a as Ge, M as lr, u as dr, A as hr, b as fr } from "./utils-pDHePxa0.js";
17
+ import { d as pr, a as mr, R as gr, N as je, u as Ne, L as He, b as vr, O as Rt, c as xr } from "./index-Yjb2PyPF.js";
18
+ import { E as Et, S as se, a as yr, R as wr } from "./SlotletProvider-Dq80og6-.js";
19
19
  import { j as a } from "./jsx-runtime-B6kdoens.js";
20
- import { M as Mr, c as Cr, a as _t, b as Nt, A as Sr, u as ge, h as Pr, d as y, e as jr, F as Rr, D as Er, C as _r, P as ce, f as Ue, g as Nr, i as Dt, R as Dr, S as Ir, j as kr, k as Ar, l as It, m as Or, n as Re, o as kt, p as ft, B as Be } from "./Combination-DTfV-c98.js";
21
- import { c as ue, a as b, C as Tr, b as Fr, u as Lr, T as Kr, M as $r, V as Br, d as ze, e as Qr, f as qr } from "./Markdown-CEccPMI_.js";
20
+ import { M as br, c as Mr, a as _t, b as Nt, A as Cr, u as ge, h as Sr, d as y, e as Pr, F as jr, D as Rr, C as Er, P as ce, f as Ue, g as _r, i as Dt, R as Nr, S as Dr, j as Ir, k as kr, l as It, m as Ar, n as Re, o as kt, p as ft, B as Be } from "./Combination-DruV0zX_.js";
21
+ import { c as ue, a as b, C as Or, b as Tr, u as Fr, T as Lr, M as Kr, V as $r, d as ze, e as Br, f as Qr } from "./Markdown-Chb9VIBv.js";
22
22
  import * as c from "react";
23
- import Gr, { StrictMode as At, createContext as Ot, Component as Hr, createElement as pt, isValidElement as Ur, useState as ie, useCallback as Tt, useEffect as W, Suspense as Ft, memo as Lt, useMemo as Le, useContext as zr, Fragment as Vr, useRef as Ve, forwardRef as Yr } from "react";
23
+ import qr, { StrictMode as At, createContext as Ot, Component as Gr, createElement as pt, isValidElement as Hr, useState as ie, useCallback as Tt, useEffect as z, Suspense as Ft, memo as Lt, useMemo as Le, useContext as Ur, Fragment as zr, useRef as Ve, forwardRef as Vr } from "react";
24
24
  import { g as Ye } from "./_commonjsHelpers-BVfed4GL.js";
25
- import { r as Xr } from "./router-BiRCp01d.js";
26
- import { S as Qe, R as Wr, T as Jr, C as Zr } from "./index-Dz4LyXZI.js";
27
- import { S as Kt, h as $t, Q as ea, n as E, m as mt, a as gt, b as $, e as ta, c as na, d as ra, f as aa, o as vt, r as xt, g as oa, i as yt, p as wt, s as sa, u as De, j as ia, Z as ca, k as ua, l as Bt, q as la } from "./ZudokuContext-BIZ8zHbZ.js";
25
+ import { r as Yr } from "./router-BiRCp01d.js";
26
+ import { S as Qe, R as Xr, T as Wr, C as Jr } from "./index-CKQG-w6R.js";
27
+ import { S as Kt, h as $t, Q as Zr, n as E, m as mt, a as gt, b as $, e as ea, c as ta, d as na, f as ra, o as vt, r as xt, g as aa, i as yt, p as wt, s as oa, u as De, j as sa, Z as ia, k as ca, l as Bt, q as ua } from "./ZudokuContext-BQ45UjcB.js";
28
28
  import { j as Xe } from "./joinPath-B7kNnUX4.js";
29
- import { c as Qt, P as Ie, R as da, I as ha, S as Ke, a as fa } from "./Spinner-BT_AYFrA.js";
29
+ import { c as Qt, P as Ie, R as la, I as da, S as Ke, a as ha } from "./Spinner-BxpiCVtl.js";
30
30
  /**
31
31
  * @license lucide-react v0.378.0 - ISC
32
32
  *
@@ -42,7 +42,7 @@ const qt = ue("ChevronRight", [
42
42
  * This source code is licensed under the ISC license.
43
43
  * See the LICENSE file in the root directory of this source tree.
44
44
  */
45
- const pa = ue("Dot", [
45
+ const fa = ue("Dot", [
46
46
  ["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
47
47
  ]);
48
48
  /**
@@ -51,7 +51,7 @@ const pa = ue("Dot", [
51
51
  * This source code is licensed under the ISC license.
52
52
  * See the LICENSE file in the root directory of this source tree.
53
53
  */
54
- const ma = ue("ExternalLink", [
54
+ const pa = ue("ExternalLink", [
55
55
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
56
56
  ["path", { d: "M10 14 21 3", key: "gplh6r" }],
57
57
  ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
@@ -62,7 +62,7 @@ const ma = ue("ExternalLink", [
62
62
  * This source code is licensed under the ISC license.
63
63
  * See the LICENSE file in the root directory of this source tree.
64
64
  */
65
- const ga = ue("MoonStar", [
65
+ const ma = ue("MoonStar", [
66
66
  ["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9", key: "4ay0iu" }],
67
67
  ["path", { d: "M20 3v4", key: "1olli1" }],
68
68
  ["path", { d: "M22 5h-4", key: "1gvqau" }]
@@ -73,7 +73,7 @@ const ga = ue("MoonStar", [
73
73
  * This source code is licensed under the ISC license.
74
74
  * See the LICENSE file in the root directory of this source tree.
75
75
  */
76
- const va = ue("Search", [
76
+ const ga = ue("Search", [
77
77
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
78
78
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
79
79
  ]);
@@ -83,7 +83,7 @@ const va = ue("Search", [
83
83
  * This source code is licensed under the ISC license.
84
84
  * See the LICENSE file in the root directory of this source tree.
85
85
  */
86
- const xa = ue("Sun", [
86
+ const va = ue("Sun", [
87
87
  ["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
88
88
  ["path", { d: "M12 2v2", key: "tus03m" }],
89
89
  ["path", { d: "M12 20v2", key: "1lh1kg" }],
@@ -94,14 +94,14 @@ const xa = ue("Sun", [
94
94
  ["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
95
95
  ["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
96
96
  ]);
97
- function ya({ error: e }) {
97
+ function xa({ error: e }) {
98
98
  return /* @__PURE__ */ a.jsx(Et, { error: e });
99
99
  }
100
100
  var ve = {};
101
- const wa = /* @__PURE__ */ Ye(Xr), ba = /* @__PURE__ */ Ye(pr), Ma = /* @__PURE__ */ Ye(mr);
101
+ const ya = /* @__PURE__ */ Ye(Yr), wa = /* @__PURE__ */ Ye(pr), ba = /* @__PURE__ */ Ye(mr);
102
102
  Object.defineProperty(ve, "__esModule", { value: !0 });
103
- var Ca = Gr, F = wa, We = ba, B = Ma;
104
- function Sa(e) {
103
+ var Ma = qr, F = ya, We = wa, B = ba;
104
+ function Ca(e) {
105
105
  if (e && e.__esModule) return e;
106
106
  var t = /* @__PURE__ */ Object.create(null);
107
107
  return e && Object.keys(e).forEach(function(n) {
@@ -116,8 +116,8 @@ function Sa(e) {
116
116
  }
117
117
  }), t.default = e, Object.freeze(t);
118
118
  }
119
- var O = /* @__PURE__ */ Sa(Ca);
120
- function Pa({
119
+ var O = /* @__PURE__ */ Ca(Ma);
120
+ function Sa({
121
121
  basename: e,
122
122
  children: t,
123
123
  location: n = "/",
@@ -141,7 +141,7 @@ function Pa({
141
141
  static: !0
142
142
  });
143
143
  }
144
- function ja({
144
+ function Pa({
145
145
  context: e,
146
146
  router: t,
147
147
  hydrate: n = !0,
@@ -159,9 +159,9 @@ function ja({
159
159
  let l = {
160
160
  loaderData: e.loaderData,
161
161
  actionData: e.actionData,
162
- errors: Ea(e.errors)
162
+ errors: Ra(e.errors)
163
163
  };
164
- i = `window.__staticRouterHydrationData = JSON.parse(${Aa(JSON.stringify(JSON.stringify(l)))});`;
164
+ i = `window.__staticRouterHydrationData = JSON.parse(${ka(JSON.stringify(JSON.stringify(l)))});`;
165
165
  }
166
166
  let {
167
167
  state: u
@@ -185,7 +185,7 @@ function ja({
185
185
  future: {
186
186
  v7_relativeSplatPath: t.future.v7_relativeSplatPath
187
187
  }
188
- }, /* @__PURE__ */ O.createElement(Ra, {
188
+ }, /* @__PURE__ */ O.createElement(ja, {
189
189
  routes: t.routes,
190
190
  future: t.future,
191
191
  state: u
@@ -197,14 +197,14 @@ function ja({
197
197
  }
198
198
  }) : null);
199
199
  }
200
- function Ra({
200
+ function ja({
201
201
  routes: e,
202
202
  future: t,
203
203
  state: n
204
204
  }) {
205
205
  return We.UNSAFE_useRoutesImpl(e, void 0, n, t);
206
206
  }
207
- function Ea(e) {
207
+ function Ra(e) {
208
208
  if (!e) return null;
209
209
  let t = Object.entries(e), n = {};
210
210
  for (let [r, o] of t)
@@ -243,13 +243,13 @@ function Gt() {
243
243
  }
244
244
  };
245
245
  }
246
- function _a(e, t) {
246
+ function Ea(e, t) {
247
247
  return F.createStaticHandler(e, {
248
248
  ...t,
249
249
  mapRouteProperties: We.UNSAFE_mapRouteProperties
250
250
  });
251
251
  }
252
- function Na(e, t, n = {}) {
252
+ function _a(e, t, n = {}) {
253
253
  let r = {}, o = F.UNSAFE_convertRoutesToDataRoutes(e, We.UNSAFE_mapRouteProperties, void 0, r), s = t.matches.map((u) => {
254
254
  let l = r[u.route.id] || u.route;
255
255
  return {
@@ -345,36 +345,36 @@ function Ht(e) {
345
345
  function Ut(e) {
346
346
  let t = typeof e == "string" ? e : B.createPath(e);
347
347
  t = t.replace(/ $/, "%20");
348
- let n = Da.test(t) ? new URL(t) : new URL(t, "http://localhost");
348
+ let n = Na.test(t) ? new URL(t) : new URL(t, "http://localhost");
349
349
  return {
350
350
  pathname: n.pathname,
351
351
  search: n.search,
352
352
  hash: n.hash
353
353
  };
354
354
  }
355
- const Da = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Ia = {
355
+ const Na = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Da = {
356
356
  "&": "\\u0026",
357
357
  ">": "\\u003e",
358
358
  "<": "\\u003c",
359
359
  "\u2028": "\\u2028",
360
360
  "\u2029": "\\u2029"
361
- }, ka = /[&><\u2028\u2029]/g;
362
- function Aa(e) {
363
- return e.replace(ka, (t) => Ia[t]);
361
+ }, Ia = /[&><\u2028\u2029]/g;
362
+ function ka(e) {
363
+ return e.replace(Ia, (t) => Da[t]);
364
364
  }
365
- ve.StaticRouter = Pa;
366
- var Oa = ve.StaticRouterProvider = ja;
367
- ve.createStaticHandler = _a;
368
- ve.createStaticRouter = Na;
369
- const Ta = ({
365
+ ve.StaticRouter = Sa;
366
+ var Aa = ve.StaticRouterProvider = Pa;
367
+ ve.createStaticHandler = Ea;
368
+ ve.createStaticRouter = _a;
369
+ const Oa = ({
370
370
  router: e,
371
371
  hydrate: t = !1
372
- }) => /* @__PURE__ */ a.jsx(At, { children: /* @__PURE__ */ a.jsx(jt, { children: /* @__PURE__ */ a.jsx(Qe.Provider, { value: { stagger: !t }, children: /* @__PURE__ */ a.jsx(gr, { router: e }) }) }) }), Fa = ({
372
+ }) => /* @__PURE__ */ a.jsx(At, { children: /* @__PURE__ */ a.jsx(jt, { children: /* @__PURE__ */ a.jsx(Qe.Provider, { value: { stagger: !t }, children: /* @__PURE__ */ a.jsx(gr, { router: e }) }) }) }), Ta = ({
373
373
  router: e,
374
374
  context: t,
375
375
  helmetContext: n
376
- }) => /* @__PURE__ */ a.jsx(At, { children: /* @__PURE__ */ a.jsx(jt, { context: n, children: /* @__PURE__ */ a.jsx(Oa, { router: e, context: t }) }) });
377
- var T, Ct, La = (Ct = class extends Kt {
376
+ }) => /* @__PURE__ */ a.jsx(At, { children: /* @__PURE__ */ a.jsx(jt, { context: n, children: /* @__PURE__ */ a.jsx(Aa, { router: e, context: t }) }) });
377
+ var T, Ct, Fa = (Ct = class extends Kt {
378
378
  constructor(t = {}) {
379
379
  super();
380
380
  N(this, T);
@@ -383,7 +383,7 @@ var T, Ct, La = (Ct = class extends Kt {
383
383
  build(t, n, r) {
384
384
  const o = n.queryKey, s = n.queryHash ?? $t(o, n);
385
385
  let i = this.get(s);
386
- return i || (i = new ea({
386
+ return i || (i = new Zr({
387
387
  cache: this,
388
388
  queryKey: o,
389
389
  queryHash: s,
@@ -446,7 +446,7 @@ var T, Ct, La = (Ct = class extends Kt {
446
446
  });
447
447
  });
448
448
  }
449
- }, T = new WeakMap(), Ct), R, me, St, Ka = (St = class extends Kt {
449
+ }, T = new WeakMap(), Ct), R, me, St, La = (St = class extends Kt {
450
450
  constructor(t = {}) {
451
451
  super();
452
452
  N(this, R);
@@ -454,7 +454,7 @@ var T, Ct, La = (Ct = class extends Kt {
454
454
  this.config = t, S(this, R, /* @__PURE__ */ new Map()), S(this, me, Date.now());
455
455
  }
456
456
  build(t, n, r) {
457
- const o = new Mr({
457
+ const o = new br({
458
458
  mutationCache: this,
459
459
  mutationId: ++Ce(this, me)._,
460
460
  options: t.defaultMutationOptions(n),
@@ -524,12 +524,12 @@ function Se(e) {
524
524
  var t;
525
525
  return ((t = e.options.scope) == null ? void 0 : t.id) ?? String(e.mutationId);
526
526
  }
527
- function $a(e) {
527
+ function Ka(e) {
528
528
  return {
529
529
  onFetch: (t, n) => {
530
530
  const r = async () => {
531
- var x, M, I, Q, V;
532
- const o = t.options, s = (I = (M = (x = t.fetchOptions) == null ? void 0 : x.meta) == null ? void 0 : M.fetchMore) == null ? void 0 : I.direction, i = ((Q = t.state.data) == null ? void 0 : Q.pages) || [], u = ((V = t.state.data) == null ? void 0 : V.pageParams) || [], l = { pages: [], pageParams: [] };
531
+ var x, M, I, Q, Y;
532
+ const o = t.options, s = (I = (M = (x = t.fetchOptions) == null ? void 0 : x.meta) == null ? void 0 : M.fetchMore) == null ? void 0 : I.direction, i = ((Q = t.state.data) == null ? void 0 : Q.pages) || [], u = ((Y = t.state.data) == null ? void 0 : Y.pageParams) || [], l = { pages: [], pageParams: [] };
533
533
  let g = !1;
534
534
  const p = (C) => {
535
535
  Object.defineProperty(C, "signal", {
@@ -538,33 +538,33 @@ function $a(e) {
538
538
  g = !0;
539
539
  }), t.signal)
540
540
  });
541
- }, d = ta(t.options, t.fetchOptions), h = async (C, k, L) => {
541
+ }, d = ea(t.options, t.fetchOptions), h = async (C, k, L) => {
542
542
  if (g)
543
543
  return Promise.reject();
544
544
  if (k == null && C.pages.length)
545
545
  return Promise.resolve(C);
546
- const Y = {
546
+ const X = {
547
547
  queryKey: t.queryKey,
548
548
  pageParam: k,
549
549
  direction: L ? "backward" : "forward",
550
550
  meta: t.options.meta
551
551
  };
552
- p(Y);
552
+ p(X);
553
553
  const Z = await d(
554
- Y
555
- ), { maxPages: be } = t.options, X = L ? na : ra;
554
+ X
555
+ ), { maxPages: be } = t.options, W = L ? ta : na;
556
556
  return {
557
- pages: X(C.pages, Z, be),
558
- pageParams: X(C.pageParams, k, be)
557
+ pages: W(C.pages, Z, be),
558
+ pageParams: W(C.pageParams, k, be)
559
559
  };
560
560
  };
561
561
  let v;
562
562
  if (s && i.length) {
563
- const C = s === "backward", k = C ? Ba : bt, L = {
563
+ const C = s === "backward", k = C ? $a : bt, L = {
564
564
  pages: i,
565
565
  pageParams: u
566
- }, Y = k(o, L);
567
- v = await h(L, Y, C);
566
+ }, X = k(o, L);
567
+ v = await h(L, X, C);
568
568
  } else {
569
569
  v = await h(
570
570
  l,
@@ -603,7 +603,7 @@ function bt(e, { pages: t, pageParams: n }) {
603
603
  n
604
604
  );
605
605
  }
606
- function Ba(e, { pages: t, pageParams: n }) {
606
+ function $a(e, { pages: t, pageParams: n }) {
607
607
  var r;
608
608
  return (r = e.getPreviousPageParam) == null ? void 0 : r.call(
609
609
  e,
@@ -613,7 +613,7 @@ function Ba(e, { pages: t, pageParams: n }) {
613
613
  n
614
614
  );
615
615
  }
616
- var w, G, H, ne, re, U, ae, oe, Pt, Qa = (Pt = class {
616
+ var w, G, H, ne, re, U, ae, oe, Pt, Ba = (Pt = class {
617
617
  constructor(e = {}) {
618
618
  N(this, w);
619
619
  N(this, G);
@@ -623,10 +623,10 @@ var w, G, H, ne, re, U, ae, oe, Pt, Qa = (Pt = class {
623
623
  N(this, U);
624
624
  N(this, ae);
625
625
  N(this, oe);
626
- S(this, w, e.queryCache || new La()), S(this, G, e.mutationCache || new Ka()), S(this, H, e.defaultOptions || {}), S(this, ne, /* @__PURE__ */ new Map()), S(this, re, /* @__PURE__ */ new Map()), S(this, U, 0);
626
+ S(this, w, e.queryCache || new Fa()), S(this, G, e.mutationCache || new La()), S(this, H, e.defaultOptions || {}), S(this, ne, /* @__PURE__ */ new Map()), S(this, re, /* @__PURE__ */ new Map()), S(this, U, 0);
627
627
  }
628
628
  mount() {
629
- Ce(this, U)._++, f(this, U) === 1 && (S(this, ae, aa.subscribe(async (e) => {
629
+ Ce(this, U)._++, f(this, U) === 1 && (S(this, ae, ra.subscribe(async (e) => {
630
630
  e && (await this.resumePausedMutations(), f(this, w).onFocus());
631
631
  })), S(this, oe, vt.subscribe(async (e) => {
632
632
  e && (await this.resumePausedMutations(), f(this, w).onOnline());
@@ -665,7 +665,7 @@ var w, G, H, ne, re, U, ae, oe, Pt, Qa = (Pt = class {
665
665
  setQueryData(e, t, n) {
666
666
  const r = this.defaultQueryOptions({ queryKey: e }), o = f(this, w).get(
667
667
  r.queryHash
668
- ), s = o == null ? void 0 : o.state.data, i = oa(t, s);
668
+ ), s = o == null ? void 0 : o.state.data, i = aa(t, s);
669
669
  if (i !== void 0)
670
670
  return f(this, w).build(this, r).setData(i, { ...n, manual: !0 });
671
671
  }
@@ -742,7 +742,7 @@ var w, G, H, ne, re, U, ae, oe, Pt, Qa = (Pt = class {
742
742
  return this.fetchQuery(e).then($).catch($);
743
743
  }
744
744
  fetchInfiniteQuery(e) {
745
- return e.behavior = $a(e.pages), this.fetchQuery(e);
745
+ return e.behavior = Ka(e.pages), this.fetchQuery(e);
746
746
  }
747
747
  prefetchInfiniteQuery(e) {
748
748
  return this.fetchInfiniteQuery(e).then($).catch($);
@@ -800,7 +800,7 @@ var w, G, H, ne, re, U, ae, oe, Pt, Qa = (Pt = class {
800
800
  return t.queryHash || (t.queryHash = $t(
801
801
  t.queryKey,
802
802
  t
803
- )), 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 === sa && (t.enabled = !1), t;
803
+ )), 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 === oa && (t.enabled = !1), t;
804
804
  }
805
805
  defaultMutationOptions(e) {
806
806
  return e != null && e._defaulted ? e : {
@@ -814,11 +814,11 @@ var w, G, H, ne, re, U, ae, oe, Pt, Qa = (Pt = class {
814
814
  f(this, w).clear(), f(this, G).clear();
815
815
  }
816
816
  }, w = new WeakMap(), G = new WeakMap(), H = new WeakMap(), ne = new WeakMap(), re = new WeakMap(), U = new WeakMap(), ae = new WeakMap(), oe = new WeakMap(), Pt);
817
- const qa = Ot(null), $e = {
817
+ const Qa = Ot(null), $e = {
818
818
  didCatch: !1,
819
819
  error: null
820
820
  };
821
- class Ga extends Hr {
821
+ class qa extends Gr {
822
822
  constructor(t) {
823
823
  super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = $e;
824
824
  }
@@ -851,7 +851,7 @@ class Ga extends Hr {
851
851
  } = this.state, {
852
852
  resetKeys: o
853
853
  } = this.props;
854
- if (r && n.error !== null && Ha(t.resetKeys, o)) {
854
+ if (r && n.error !== null && Ga(t.resetKeys, o)) {
855
855
  var s, i;
856
856
  (s = (i = this.props).onReset) === null || s === void 0 || s.call(i, {
857
857
  next: o,
@@ -880,12 +880,12 @@ class Ga extends Hr {
880
880
  u = n(l);
881
881
  else if (r)
882
882
  u = pt(r, l);
883
- else if (o === null || Ur(o))
883
+ else if (o === null || Hr(o))
884
884
  u = o;
885
885
  else
886
886
  throw i;
887
887
  }
888
- return pt(qa.Provider, {
888
+ return pt(Qa.Provider, {
889
889
  value: {
890
890
  didCatch: s,
891
891
  error: i,
@@ -894,12 +894,12 @@ class Ga extends Hr {
894
894
  }, u);
895
895
  }
896
896
  }
897
- function Ha() {
897
+ function Ga() {
898
898
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
899
899
  return e.length !== t.length || e.some((n, r) => !Object.is(n, t[r]));
900
900
  }
901
- const Ua = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems == "function", za = (e) => "getRoutes" in e && typeof e.getRoutes == "function", Va = (e) => "renderSearch" in e && typeof e.renderSearch == "function", Ya = (e) => "initialize" in e && typeof e.initialize == "function", Xa = (e) => "getHead" in e && typeof e.getHead == "function", Wa = (e) => "getMdxComponents" in e && typeof e.getMdxComponents == "function", Ja = (e) => "getIdentities" in e && typeof e.getIdentities == "function", zt = new Qa();
902
- class Za {
901
+ const Ha = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems == "function", Ua = (e) => "getRoutes" in e && typeof e.getRoutes == "function", za = (e) => "renderSearch" in e && typeof e.renderSearch == "function", Va = (e) => "initialize" in e && typeof e.initialize == "function", Ya = (e) => "getHead" in e && typeof e.getHead == "function", Xa = (e) => "getMdxComponents" in e && typeof e.getMdxComponents == "function", Wa = (e) => "getIdentities" in e && typeof e.getIdentities == "function", zt = new Ba();
902
+ class Ja {
903
903
  constructor(t) {
904
904
  j(this, "plugins");
905
905
  j(this, "sidebars");
@@ -908,13 +908,11 @@ class Za {
908
908
  j(this, "page");
909
909
  j(this, "authentication");
910
910
  j(this, "navigationPlugins");
911
- j(this, "initialize", async ({
912
- navigate: t
913
- }) => {
911
+ j(this, "initialize", async () => {
914
912
  await Promise.all(
915
- this.plugins.filter(Ya).map((n) => {
916
- var r;
917
- return (r = n.initialize) == null ? void 0 : r.call(n, this, { navigate: t });
913
+ this.plugins.filter(Va).map((t) => {
914
+ var n;
915
+ return (n = t.initialize) == null ? void 0 : n.call(t, this);
918
916
  })
919
917
  );
920
918
  });
@@ -922,7 +920,7 @@ class Za {
922
920
  await zt.invalidateQueries({ queryKey: t });
923
921
  });
924
922
  j(this, "getApiIdentities", async () => (await Promise.all(
925
- this.plugins.filter(Ja).map((n) => n.getIdentities(this))
923
+ this.plugins.filter(Wa).map((n) => n.getIdentities(this))
926
924
  )).flat());
927
925
  j(this, "getPluginSidebar", async (t) => (await Promise.all(
928
926
  this.navigationPlugins.map(
@@ -938,26 +936,26 @@ class Za {
938
936
  const n = await this.authentication.getAccessToken();
939
937
  return t.headers.set("Authorization", `Bearer ${n}`), t;
940
938
  });
941
- this.plugins = t.plugins ?? [], this.topNavigation = t.topNavigation ?? [], this.sidebars = t.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(za), this.authentication = t.authentication, this.meta = t.metadata, this.page = t.page;
939
+ this.plugins = t.plugins ?? [], this.topNavigation = t.topNavigation ?? [], this.sidebars = t.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(Ua), this.authentication = t.authentication, this.meta = t.metadata, this.page = t.page;
942
940
  }
943
941
  }
944
- function eo({ error: e, resetErrorBoundary: t }) {
942
+ function Za({ error: e, resetErrorBoundary: t }) {
945
943
  return /* @__PURE__ */ a.jsx(Et, { error: e });
946
944
  }
947
945
  const Pe = globalThis;
948
946
  (!Pe.requestIdleCallback || !Pe.cancelIdleCallback) && (Pe.requestIdleCallback = (e) => setTimeout(e, 1), Pe.cancelIdleCallback = clearTimeout);
949
- var qe = ["Enter", " "], to = ["ArrowDown", "PageUp", "Home"], Vt = ["ArrowUp", "PageDown", "End"], no = [...to, ...Vt], ro = {
947
+ var qe = ["Enter", " "], eo = ["ArrowDown", "PageUp", "Home"], Vt = ["ArrowUp", "PageDown", "End"], to = [...eo, ...Vt], no = {
950
948
  ltr: [...qe, "ArrowRight"],
951
949
  rtl: [...qe, "ArrowLeft"]
952
- }, ao = {
950
+ }, ro = {
953
951
  ltr: ["ArrowLeft"],
954
952
  rtl: ["ArrowRight"]
955
- }, xe = "Menu", [fe, oo, so] = Cr(xe), [J, Yt] = _t(xe, [
956
- so,
953
+ }, xe = "Menu", [fe, ao, oo] = Mr(xe), [J, Yt] = _t(xe, [
954
+ oo,
957
955
  Nt,
958
956
  Qt
959
- ]), ye = Nt(), Xt = Qt(), [Wt, z] = J(xe), [io, we] = J(xe), Jt = (e) => {
960
- const { __scopeMenu: t, open: n = !1, children: r, dir: o, onOpenChange: s, modal: i = !0 } = e, u = ye(t), [l, g] = c.useState(null), p = c.useRef(!1), d = Ue(s), h = Ar(o);
957
+ ]), ye = Nt(), Xt = Qt(), [Wt, V] = J(xe), [so, we] = J(xe), Jt = (e) => {
958
+ const { __scopeMenu: t, open: n = !1, children: r, dir: o, onOpenChange: s, modal: i = !0 } = e, u = ye(t), [l, g] = c.useState(null), p = c.useRef(!1), d = Ue(s), h = kr(o);
961
959
  return c.useEffect(() => {
962
960
  const v = () => {
963
961
  p.current = !0, document.addEventListener("pointerdown", x, { capture: !0, once: !0 }), document.addEventListener("pointermove", x, { capture: !0, once: !0 });
@@ -974,7 +972,7 @@ var qe = ["Enter", " "], to = ["ArrowDown", "PageUp", "Home"], Vt = ["ArrowUp",
974
972
  content: l,
975
973
  onContentChange: g,
976
974
  children: /* @__PURE__ */ a.jsx(
977
- io,
975
+ so,
978
976
  {
979
977
  scope: t,
980
978
  onClose: c.useCallback(() => d(!1), [d]),
@@ -988,31 +986,31 @@ var qe = ["Enter", " "], to = ["ArrowDown", "PageUp", "Home"], Vt = ["ArrowUp",
988
986
  ) });
989
987
  };
990
988
  Jt.displayName = xe;
991
- var co = "MenuAnchor", Je = c.forwardRef(
989
+ var io = "MenuAnchor", Je = c.forwardRef(
992
990
  (e, t) => {
993
991
  const { __scopeMenu: n, ...r } = e, o = ye(n);
994
- return /* @__PURE__ */ a.jsx(Sr, { ...o, ...r, ref: t });
992
+ return /* @__PURE__ */ a.jsx(Cr, { ...o, ...r, ref: t });
995
993
  }
996
994
  );
997
- Je.displayName = co;
998
- var Ze = "MenuPortal", [uo, Zt] = J(Ze, {
995
+ Je.displayName = io;
996
+ var Ze = "MenuPortal", [co, Zt] = J(Ze, {
999
997
  forceMount: void 0
1000
998
  }), en = (e) => {
1001
- const { __scopeMenu: t, forceMount: n, children: r, container: o } = e, s = z(Ze, t);
1002
- return /* @__PURE__ */ a.jsx(uo, { scope: t, forceMount: n, children: /* @__PURE__ */ a.jsx(Ie, { present: n || s.open, children: /* @__PURE__ */ a.jsx(Or, { asChild: !0, container: o, children: r }) }) });
999
+ const { __scopeMenu: t, forceMount: n, children: r, container: o } = e, s = V(Ze, t);
1000
+ return /* @__PURE__ */ a.jsx(co, { scope: t, forceMount: n, children: /* @__PURE__ */ a.jsx(Ie, { present: n || s.open, children: /* @__PURE__ */ a.jsx(Ar, { asChild: !0, container: o, children: r }) }) });
1003
1001
  };
1004
1002
  en.displayName = Ze;
1005
- var D = "MenuContent", [lo, et] = J(D), tn = c.forwardRef(
1003
+ var D = "MenuContent", [uo, et] = J(D), tn = c.forwardRef(
1006
1004
  (e, t) => {
1007
- const n = Zt(D, e.__scopeMenu), { forceMount: r = n.forceMount, ...o } = e, s = z(D, e.__scopeMenu), i = we(D, e.__scopeMenu);
1008
- return /* @__PURE__ */ a.jsx(fe.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(Ie, { present: r || s.open, children: /* @__PURE__ */ a.jsx(fe.Slot, { scope: e.__scopeMenu, children: i.modal ? /* @__PURE__ */ a.jsx(ho, { ...o, ref: t }) : /* @__PURE__ */ a.jsx(fo, { ...o, ref: t }) }) }) });
1005
+ const n = Zt(D, e.__scopeMenu), { forceMount: r = n.forceMount, ...o } = e, s = V(D, e.__scopeMenu), i = we(D, e.__scopeMenu);
1006
+ return /* @__PURE__ */ a.jsx(fe.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(Ie, { present: r || s.open, children: /* @__PURE__ */ a.jsx(fe.Slot, { scope: e.__scopeMenu, children: i.modal ? /* @__PURE__ */ a.jsx(lo, { ...o, ref: t }) : /* @__PURE__ */ a.jsx(ho, { ...o, ref: t }) }) }) });
1009
1007
  }
1010
- ), ho = c.forwardRef(
1008
+ ), lo = c.forwardRef(
1011
1009
  (e, t) => {
1012
- const n = z(D, e.__scopeMenu), r = c.useRef(null), o = ge(t, r);
1010
+ const n = V(D, e.__scopeMenu), r = c.useRef(null), o = ge(t, r);
1013
1011
  return c.useEffect(() => {
1014
1012
  const s = r.current;
1015
- if (s) return Pr(s);
1013
+ if (s) return Sr(s);
1016
1014
  }, []), /* @__PURE__ */ a.jsx(
1017
1015
  tt,
1018
1016
  {
@@ -1030,8 +1028,8 @@ var D = "MenuContent", [lo, et] = J(D), tn = c.forwardRef(
1030
1028
  }
1031
1029
  );
1032
1030
  }
1033
- ), fo = c.forwardRef((e, t) => {
1034
- const n = z(D, e.__scopeMenu);
1031
+ ), ho = c.forwardRef((e, t) => {
1032
+ const n = V(D, e.__scopeMenu);
1035
1033
  return /* @__PURE__ */ a.jsx(
1036
1034
  tt,
1037
1035
  {
@@ -1060,20 +1058,20 @@ var D = "MenuContent", [lo, et] = J(D), tn = c.forwardRef(
1060
1058
  onDismiss: v,
1061
1059
  disableOutsideScroll: x,
1062
1060
  ...M
1063
- } = e, I = z(D, n), Q = we(D, n), V = ye(n), C = Xt(n), k = oo(n), [L, Y] = c.useState(null), Z = c.useRef(null), be = ge(t, Z, I.onContentChange), X = c.useRef(0), Me = c.useRef(""), ar = c.useRef(0), Ae = c.useRef(null), it = c.useRef("right"), Oe = c.useRef(0), or = x ? Dr : c.Fragment, sr = x ? { as: Ir, allowPinchZoom: !0 } : void 0, ir = (m) => {
1061
+ } = e, I = V(D, n), Q = we(D, n), Y = ye(n), C = Xt(n), k = ao(n), [L, X] = c.useState(null), Z = c.useRef(null), be = ge(t, Z, I.onContentChange), W = c.useRef(0), Me = c.useRef(""), ar = c.useRef(0), Ae = c.useRef(null), it = c.useRef("right"), Oe = c.useRef(0), or = x ? Nr : c.Fragment, sr = x ? { as: Dr, allowPinchZoom: !0 } : void 0, ir = (m) => {
1064
1062
  var te, ut;
1065
- const _ = Me.current + m, A = k().filter((K) => !K.disabled), q = document.activeElement, Te = (te = A.find((K) => K.ref.current === q)) == null ? void 0 : te.textValue, Fe = A.map((K) => K.textValue), ct = Po(Fe, _, Te), le = (ut = A.find((K) => K.textValue === ct)) == null ? void 0 : ut.ref.current;
1063
+ const _ = Me.current + m, A = k().filter((K) => !K.disabled), q = document.activeElement, Te = (te = A.find((K) => K.ref.current === q)) == null ? void 0 : te.textValue, Fe = A.map((K) => K.textValue), ct = So(Fe, _, Te), le = (ut = A.find((K) => K.textValue === ct)) == null ? void 0 : ut.ref.current;
1066
1064
  (function K(lt) {
1067
- Me.current = lt, window.clearTimeout(X.current), lt !== "" && (X.current = window.setTimeout(() => K(""), 1e3));
1065
+ Me.current = lt, window.clearTimeout(W.current), lt !== "" && (W.current = window.setTimeout(() => K(""), 1e3));
1068
1066
  })(_), le && setTimeout(() => le.focus());
1069
1067
  };
1070
- c.useEffect(() => () => window.clearTimeout(X.current), []), jr();
1068
+ c.useEffect(() => () => window.clearTimeout(W.current), []), Pr();
1071
1069
  const ee = c.useCallback((m) => {
1072
1070
  var A, q;
1073
- return it.current === ((A = Ae.current) == null ? void 0 : A.side) && Ro(m, (q = Ae.current) == null ? void 0 : q.area);
1071
+ return it.current === ((A = Ae.current) == null ? void 0 : A.side) && jo(m, (q = Ae.current) == null ? void 0 : q.area);
1074
1072
  }, []);
1075
1073
  return /* @__PURE__ */ a.jsx(
1076
- lo,
1074
+ uo,
1077
1075
  {
1078
1076
  scope: n,
1079
1077
  searchRef: Me,
@@ -1086,7 +1084,7 @@ var D = "MenuContent", [lo, et] = J(D), tn = c.forwardRef(
1086
1084
  onItemLeave: c.useCallback(
1087
1085
  (m) => {
1088
1086
  var _;
1089
- ee(m) || ((_ = Z.current) == null || _.focus(), Y(null));
1087
+ ee(m) || ((_ = Z.current) == null || _.focus(), X(null));
1090
1088
  },
1091
1089
  [ee]
1092
1090
  ),
@@ -1101,7 +1099,7 @@ var D = "MenuContent", [lo, et] = J(D), tn = c.forwardRef(
1101
1099
  Ae.current = m;
1102
1100
  }, []),
1103
1101
  children: /* @__PURE__ */ a.jsx(or, { ...sr, children: /* @__PURE__ */ a.jsx(
1104
- Rr,
1102
+ jr,
1105
1103
  {
1106
1104
  asChild: !0,
1107
1105
  trapped: o,
@@ -1111,7 +1109,7 @@ var D = "MenuContent", [lo, et] = J(D), tn = c.forwardRef(
1111
1109
  }),
1112
1110
  onUnmountAutoFocus: i,
1113
1111
  children: /* @__PURE__ */ a.jsx(
1114
- Er,
1112
+ Rr,
1115
1113
  {
1116
1114
  asChild: !0,
1117
1115
  disableOutsidePointerEvents: u,
@@ -1121,7 +1119,7 @@ var D = "MenuContent", [lo, et] = J(D), tn = c.forwardRef(
1121
1119
  onInteractOutside: h,
1122
1120
  onDismiss: v,
1123
1121
  children: /* @__PURE__ */ a.jsx(
1124
- da,
1122
+ la,
1125
1123
  {
1126
1124
  asChild: !0,
1127
1125
  ...C,
@@ -1129,20 +1127,20 @@ var D = "MenuContent", [lo, et] = J(D), tn = c.forwardRef(
1129
1127
  orientation: "vertical",
1130
1128
  loop: r,
1131
1129
  currentTabStopId: L,
1132
- onCurrentTabStopIdChange: Y,
1130
+ onCurrentTabStopIdChange: X,
1133
1131
  onEntryFocus: y(l, (m) => {
1134
1132
  Q.isUsingKeyboardRef.current || m.preventDefault();
1135
1133
  }),
1136
1134
  preventScrollOnEntryFocus: !0,
1137
1135
  children: /* @__PURE__ */ a.jsx(
1138
- _r,
1136
+ Er,
1139
1137
  {
1140
1138
  role: "menu",
1141
1139
  "aria-orientation": "vertical",
1142
1140
  "data-state": yn(I.open),
1143
1141
  "data-radix-menu-content": "",
1144
1142
  dir: Q.dir,
1145
- ...V,
1143
+ ...Y,
1146
1144
  ...M,
1147
1145
  ref: be,
1148
1146
  style: { outline: "none", ...M.style },
@@ -1150,13 +1148,13 @@ var D = "MenuContent", [lo, et] = J(D), tn = c.forwardRef(
1150
1148
  const A = m.target.closest("[data-radix-menu-content]") === m.currentTarget, q = m.ctrlKey || m.altKey || m.metaKey, Te = m.key.length === 1;
1151
1149
  A && (m.key === "Tab" && m.preventDefault(), !q && Te && ir(m.key));
1152
1150
  const Fe = Z.current;
1153
- if (m.target !== Fe || !no.includes(m.key)) return;
1151
+ if (m.target !== Fe || !to.includes(m.key)) return;
1154
1152
  m.preventDefault();
1155
1153
  const le = k().filter((te) => !te.disabled).map((te) => te.ref.current);
1156
- Vt.includes(m.key) && le.reverse(), Co(le);
1154
+ Vt.includes(m.key) && le.reverse(), Mo(le);
1157
1155
  }),
1158
1156
  onBlur: y(e.onBlur, (m) => {
1159
- m.currentTarget.contains(m.target) || (window.clearTimeout(X.current), Me.current = "");
1157
+ m.currentTarget.contains(m.target) || (window.clearTimeout(W.current), Me.current = "");
1160
1158
  }),
1161
1159
  onPointerMove: y(
1162
1160
  e.onPointerMove,
@@ -1181,27 +1179,27 @@ var D = "MenuContent", [lo, et] = J(D), tn = c.forwardRef(
1181
1179
  }
1182
1180
  );
1183
1181
  tn.displayName = D;
1184
- var po = "MenuGroup", nt = c.forwardRef(
1182
+ var fo = "MenuGroup", nt = c.forwardRef(
1185
1183
  (e, t) => {
1186
1184
  const { __scopeMenu: n, ...r } = e;
1187
1185
  return /* @__PURE__ */ a.jsx(ce.div, { role: "group", ...r, ref: t });
1188
1186
  }
1189
1187
  );
1190
- nt.displayName = po;
1191
- var mo = "MenuLabel", nn = c.forwardRef(
1188
+ nt.displayName = fo;
1189
+ var po = "MenuLabel", nn = c.forwardRef(
1192
1190
  (e, t) => {
1193
1191
  const { __scopeMenu: n, ...r } = e;
1194
1192
  return /* @__PURE__ */ a.jsx(ce.div, { ...r, ref: t });
1195
1193
  }
1196
1194
  );
1197
- nn.displayName = mo;
1195
+ nn.displayName = po;
1198
1196
  var Ee = "MenuItem", Mt = "menu.itemSelect", ke = c.forwardRef(
1199
1197
  (e, t) => {
1200
1198
  const { disabled: n = !1, onSelect: r, ...o } = e, s = c.useRef(null), i = we(Ee, e.__scopeMenu), u = et(Ee, e.__scopeMenu), l = ge(t, s), g = c.useRef(!1), p = () => {
1201
1199
  const d = s.current;
1202
1200
  if (!n && d) {
1203
1201
  const h = new CustomEvent(Mt, { bubbles: !0, cancelable: !0 });
1204
- d.addEventListener(Mt, (v) => r == null ? void 0 : r(v), { once: !0 }), kr(d, h), h.defaultPrevented ? g.current = !1 : i.onClose();
1202
+ d.addEventListener(Mt, (v) => r == null ? void 0 : r(v), { once: !0 }), Ir(d, h), h.defaultPrevented ? g.current = !1 : i.onClose();
1205
1203
  }
1206
1204
  };
1207
1205
  return /* @__PURE__ */ a.jsx(
@@ -1240,7 +1238,7 @@ var rn = c.forwardRef(
1240
1238
  scope: n,
1241
1239
  disabled: r,
1242
1240
  textValue: o ?? h,
1243
- children: /* @__PURE__ */ a.jsx(ha, { asChild: !0, ...u, focusable: !r, children: /* @__PURE__ */ a.jsx(
1241
+ children: /* @__PURE__ */ a.jsx(da, { asChild: !0, ...u, focusable: !r, children: /* @__PURE__ */ a.jsx(
1244
1242
  ce.div,
1245
1243
  {
1246
1244
  role: "menuitem",
@@ -1266,7 +1264,7 @@ var rn = c.forwardRef(
1266
1264
  }
1267
1265
  );
1268
1266
  }
1269
- ), go = "MenuCheckboxItem", an = c.forwardRef(
1267
+ ), mo = "MenuCheckboxItem", an = c.forwardRef(
1270
1268
  (e, t) => {
1271
1269
  const { checked: n = !1, onCheckedChange: r, ...o } = e;
1272
1270
  return /* @__PURE__ */ a.jsx(ln, { scope: e.__scopeMenu, checked: n, children: /* @__PURE__ */ a.jsx(
@@ -1286,21 +1284,21 @@ var rn = c.forwardRef(
1286
1284
  ) });
1287
1285
  }
1288
1286
  );
1289
- an.displayName = go;
1290
- var on = "MenuRadioGroup", [vo, xo] = J(
1287
+ an.displayName = mo;
1288
+ var on = "MenuRadioGroup", [go, vo] = J(
1291
1289
  on,
1292
1290
  { value: void 0, onValueChange: () => {
1293
1291
  } }
1294
1292
  ), sn = c.forwardRef(
1295
1293
  (e, t) => {
1296
1294
  const { value: n, onValueChange: r, ...o } = e, s = Ue(r);
1297
- return /* @__PURE__ */ a.jsx(vo, { scope: e.__scopeMenu, value: n, onValueChange: s, children: /* @__PURE__ */ a.jsx(nt, { ...o, ref: t }) });
1295
+ return /* @__PURE__ */ a.jsx(go, { scope: e.__scopeMenu, value: n, onValueChange: s, children: /* @__PURE__ */ a.jsx(nt, { ...o, ref: t }) });
1298
1296
  }
1299
1297
  );
1300
1298
  sn.displayName = on;
1301
1299
  var cn = "MenuRadioItem", un = c.forwardRef(
1302
1300
  (e, t) => {
1303
- const { value: n, ...r } = e, o = xo(cn, e.__scopeMenu), s = n === o.value;
1301
+ const { value: n, ...r } = e, o = vo(cn, e.__scopeMenu), s = n === o.value;
1304
1302
  return /* @__PURE__ */ a.jsx(ln, { scope: e.__scopeMenu, checked: s, children: /* @__PURE__ */ a.jsx(
1305
1303
  ke,
1306
1304
  {
@@ -1322,12 +1320,12 @@ var cn = "MenuRadioItem", un = c.forwardRef(
1322
1320
  }
1323
1321
  );
1324
1322
  un.displayName = cn;
1325
- var rt = "MenuItemIndicator", [ln, yo] = J(
1323
+ var rt = "MenuItemIndicator", [ln, xo] = J(
1326
1324
  rt,
1327
1325
  { checked: !1 }
1328
1326
  ), dn = c.forwardRef(
1329
1327
  (e, t) => {
1330
- const { __scopeMenu: n, forceMount: r, ...o } = e, s = yo(rt, n);
1328
+ const { __scopeMenu: n, forceMount: r, ...o } = e, s = xo(rt, n);
1331
1329
  return /* @__PURE__ */ a.jsx(
1332
1330
  Ie,
1333
1331
  {
@@ -1345,7 +1343,7 @@ var rt = "MenuItemIndicator", [ln, yo] = J(
1345
1343
  }
1346
1344
  );
1347
1345
  dn.displayName = rt;
1348
- var wo = "MenuSeparator", hn = c.forwardRef(
1346
+ var yo = "MenuSeparator", hn = c.forwardRef(
1349
1347
  (e, t) => {
1350
1348
  const { __scopeMenu: n, ...r } = e;
1351
1349
  return /* @__PURE__ */ a.jsx(
@@ -1359,16 +1357,16 @@ var wo = "MenuSeparator", hn = c.forwardRef(
1359
1357
  );
1360
1358
  }
1361
1359
  );
1362
- hn.displayName = wo;
1363
- var bo = "MenuArrow", fn = c.forwardRef(
1360
+ hn.displayName = yo;
1361
+ var wo = "MenuArrow", fn = c.forwardRef(
1364
1362
  (e, t) => {
1365
1363
  const { __scopeMenu: n, ...r } = e, o = ye(n);
1366
- return /* @__PURE__ */ a.jsx(Nr, { ...o, ...r, ref: t });
1364
+ return /* @__PURE__ */ a.jsx(_r, { ...o, ...r, ref: t });
1367
1365
  }
1368
1366
  );
1369
- fn.displayName = bo;
1370
- var at = "MenuSub", [Mo, pn] = J(at), mn = (e) => {
1371
- const { __scopeMenu: t, children: n, open: r = !1, onOpenChange: o } = e, s = z(at, t), i = ye(t), [u, l] = c.useState(null), [g, p] = c.useState(null), d = Ue(o);
1367
+ fn.displayName = wo;
1368
+ var at = "MenuSub", [bo, pn] = J(at), mn = (e) => {
1369
+ const { __scopeMenu: t, children: n, open: r = !1, onOpenChange: o } = e, s = V(at, t), i = ye(t), [u, l] = c.useState(null), [g, p] = c.useState(null), d = Ue(o);
1372
1370
  return c.useEffect(() => (s.open === !1 && d(!1), () => d(!1)), [s.open, d]), /* @__PURE__ */ a.jsx(It, { ...i, children: /* @__PURE__ */ a.jsx(
1373
1371
  Wt,
1374
1372
  {
@@ -1378,7 +1376,7 @@ var at = "MenuSub", [Mo, pn] = J(at), mn = (e) => {
1378
1376
  content: g,
1379
1377
  onContentChange: p,
1380
1378
  children: /* @__PURE__ */ a.jsx(
1381
- Mo,
1379
+ bo,
1382
1380
  {
1383
1381
  scope: t,
1384
1382
  contentId: Re(),
@@ -1394,7 +1392,7 @@ var at = "MenuSub", [Mo, pn] = J(at), mn = (e) => {
1394
1392
  mn.displayName = at;
1395
1393
  var de = "MenuSubTrigger", gn = c.forwardRef(
1396
1394
  (e, t) => {
1397
- const n = z(de, e.__scopeMenu), r = we(de, e.__scopeMenu), o = pn(de, e.__scopeMenu), s = et(de, e.__scopeMenu), i = c.useRef(null), { pointerGraceTimerRef: u, onPointerGraceIntentChange: l } = s, g = { __scopeMenu: e.__scopeMenu }, p = c.useCallback(() => {
1395
+ const n = V(de, e.__scopeMenu), r = we(de, e.__scopeMenu), o = pn(de, e.__scopeMenu), s = et(de, e.__scopeMenu), i = c.useRef(null), { pointerGraceTimerRef: u, onPointerGraceIntentChange: l } = s, g = { __scopeMenu: e.__scopeMenu }, p = c.useCallback(() => {
1398
1396
  i.current && window.clearTimeout(i.current), i.current = null;
1399
1397
  }, []);
1400
1398
  return c.useEffect(() => p, [p]), c.useEffect(() => {
@@ -1431,16 +1429,16 @@ var de = "MenuSubTrigger", gn = c.forwardRef(
1431
1429
  p();
1432
1430
  const h = (v = n.content) == null ? void 0 : v.getBoundingClientRect();
1433
1431
  if (h) {
1434
- const M = (x = n.content) == null ? void 0 : x.dataset.side, I = M === "right", Q = I ? -5 : 5, V = h[I ? "left" : "right"], C = h[I ? "right" : "left"];
1432
+ const M = (x = n.content) == null ? void 0 : x.dataset.side, I = M === "right", Q = I ? -5 : 5, Y = h[I ? "left" : "right"], C = h[I ? "right" : "left"];
1435
1433
  s.onPointerGraceIntentChange({
1436
1434
  area: [
1437
1435
  // Apply a bleed on clientX to ensure that our exit point is
1438
1436
  // consistently within polygon bounds
1439
1437
  { x: d.clientX + Q, y: d.clientY },
1440
- { x: V, y: h.top },
1438
+ { x: Y, y: h.top },
1441
1439
  { x: C, y: h.top },
1442
1440
  { x: C, y: h.bottom },
1443
- { x: V, y: h.bottom }
1441
+ { x: Y, y: h.bottom }
1444
1442
  ],
1445
1443
  side: M
1446
1444
  }), window.clearTimeout(u.current), u.current = window.setTimeout(
@@ -1456,7 +1454,7 @@ var de = "MenuSubTrigger", gn = c.forwardRef(
1456
1454
  onKeyDown: y(e.onKeyDown, (d) => {
1457
1455
  var v;
1458
1456
  const h = s.searchRef.current !== "";
1459
- e.disabled || h && d.key === " " || ro[r.dir].includes(d.key) && (n.onOpenChange(!0), (v = n.content) == null || v.focus(), d.preventDefault());
1457
+ e.disabled || h && d.key === " " || no[r.dir].includes(d.key) && (n.onOpenChange(!0), (v = n.content) == null || v.focus(), d.preventDefault());
1460
1458
  })
1461
1459
  }
1462
1460
  ) });
@@ -1465,7 +1463,7 @@ var de = "MenuSubTrigger", gn = c.forwardRef(
1465
1463
  gn.displayName = de;
1466
1464
  var vn = "MenuSubContent", xn = c.forwardRef(
1467
1465
  (e, t) => {
1468
- const n = Zt(D, e.__scopeMenu), { forceMount: r = n.forceMount, ...o } = e, s = z(D, e.__scopeMenu), i = we(D, e.__scopeMenu), u = pn(vn, e.__scopeMenu), l = c.useRef(null), g = ge(t, l);
1466
+ const n = Zt(D, e.__scopeMenu), { forceMount: r = n.forceMount, ...o } = e, s = V(D, e.__scopeMenu), i = we(D, e.__scopeMenu), u = pn(vn, e.__scopeMenu), l = c.useRef(null), g = ge(t, l);
1469
1467
  return /* @__PURE__ */ a.jsx(fe.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(Ie, { present: r || s.open, children: /* @__PURE__ */ a.jsx(fe.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(
1470
1468
  tt,
1471
1469
  {
@@ -1491,7 +1489,7 @@ var vn = "MenuSubContent", xn = c.forwardRef(
1491
1489
  }),
1492
1490
  onKeyDown: y(e.onKeyDown, (p) => {
1493
1491
  var v;
1494
- const d = p.currentTarget.contains(p.target), h = ao[i.dir].includes(p.key);
1492
+ const d = p.currentTarget.contains(p.target), h = ro[i.dir].includes(p.key);
1495
1493
  d && h && (s.onOpenChange(!1), (v = u.trigger) == null || v.focus(), p.preventDefault());
1496
1494
  })
1497
1495
  }
@@ -1508,24 +1506,24 @@ function _e(e) {
1508
1506
  function ot(e) {
1509
1507
  return _e(e) ? "indeterminate" : e ? "checked" : "unchecked";
1510
1508
  }
1511
- function Co(e) {
1509
+ function Mo(e) {
1512
1510
  const t = document.activeElement;
1513
1511
  for (const n of e)
1514
1512
  if (n === t || (n.focus(), document.activeElement !== t)) return;
1515
1513
  }
1516
- function So(e, t) {
1514
+ function Co(e, t) {
1517
1515
  return e.map((n, r) => e[(t + r) % e.length]);
1518
1516
  }
1519
- function Po(e, t, n) {
1517
+ function So(e, t, n) {
1520
1518
  const o = t.length > 1 && Array.from(t).every((g) => g === t[0]) ? t[0] : t, s = n ? e.indexOf(n) : -1;
1521
- let i = So(e, Math.max(s, 0));
1519
+ let i = Co(e, Math.max(s, 0));
1522
1520
  o.length === 1 && (i = i.filter((g) => g !== n));
1523
1521
  const l = i.find(
1524
1522
  (g) => g.toLowerCase().startsWith(o.toLowerCase())
1525
1523
  );
1526
1524
  return l !== n ? l : void 0;
1527
1525
  }
1528
- function jo(e, t) {
1526
+ function Po(e, t) {
1529
1527
  const { x: n, y: r } = e;
1530
1528
  let o = !1;
1531
1529
  for (let s = 0, i = t.length - 1; s < t.length; i = s++) {
@@ -1534,18 +1532,18 @@ function jo(e, t) {
1534
1532
  }
1535
1533
  return o;
1536
1534
  }
1537
- function Ro(e, t) {
1535
+ function jo(e, t) {
1538
1536
  if (!t) return !1;
1539
1537
  const n = { x: e.clientX, y: e.clientY };
1540
- return jo(n, t);
1538
+ return Po(n, t);
1541
1539
  }
1542
1540
  function pe(e) {
1543
1541
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
1544
1542
  }
1545
- var Eo = Jt, _o = Je, No = en, Do = tn, Io = nt, ko = nn, Ao = ke, Oo = an, To = sn, Fo = un, Lo = dn, Ko = hn, $o = fn, Bo = mn, Qo = gn, qo = xn, st = "DropdownMenu", [Go, Hs] = _t(
1543
+ var Ro = Jt, Eo = Je, _o = en, No = tn, Do = nt, Io = nn, ko = ke, Ao = an, Oo = sn, To = un, Fo = dn, Lo = hn, Ko = fn, $o = mn, Bo = gn, Qo = xn, st = "DropdownMenu", [qo, Gs] = _t(
1546
1544
  st,
1547
1545
  [Yt]
1548
- ), P = Yt(), [Ho, wn] = Go(st), bn = (e) => {
1546
+ ), P = Yt(), [Go, wn] = qo(st), bn = (e) => {
1549
1547
  const {
1550
1548
  __scopeDropdownMenu: t,
1551
1549
  children: n,
@@ -1560,7 +1558,7 @@ var Eo = Jt, _o = Je, No = en, Do = tn, Io = nt, ko = nn, Ao = ke, Oo = an, To =
1560
1558
  onChange: i
1561
1559
  });
1562
1560
  return /* @__PURE__ */ a.jsx(
1563
- Ho,
1561
+ Go,
1564
1562
  {
1565
1563
  scope: t,
1566
1564
  triggerId: Re(),
@@ -1570,7 +1568,7 @@ var Eo = Jt, _o = Je, No = en, Do = tn, Io = nt, ko = nn, Ao = ke, Oo = an, To =
1570
1568
  onOpenChange: d,
1571
1569
  onOpenToggle: c.useCallback(() => d((h) => !h), [d]),
1572
1570
  modal: u,
1573
- children: /* @__PURE__ */ a.jsx(Eo, { ...l, open: p, onOpenChange: d, dir: r, modal: u, children: n })
1571
+ children: /* @__PURE__ */ a.jsx(Ro, { ...l, open: p, onOpenChange: d, dir: r, modal: u, children: n })
1574
1572
  }
1575
1573
  );
1576
1574
  };
@@ -1578,7 +1576,7 @@ bn.displayName = st;
1578
1576
  var Mn = "DropdownMenuTrigger", Cn = c.forwardRef(
1579
1577
  (e, t) => {
1580
1578
  const { __scopeDropdownMenu: n, disabled: r = !1, ...o } = e, s = wn(Mn, n), i = P(n);
1581
- return /* @__PURE__ */ a.jsx(_o, { asChild: !0, ...i, children: /* @__PURE__ */ a.jsx(
1579
+ return /* @__PURE__ */ a.jsx(Eo, { asChild: !0, ...i, children: /* @__PURE__ */ a.jsx(
1582
1580
  ce.button,
1583
1581
  {
1584
1582
  type: "button",
@@ -1602,16 +1600,16 @@ var Mn = "DropdownMenuTrigger", Cn = c.forwardRef(
1602
1600
  }
1603
1601
  );
1604
1602
  Cn.displayName = Mn;
1605
- var Uo = "DropdownMenuPortal", Sn = (e) => {
1603
+ var Ho = "DropdownMenuPortal", Sn = (e) => {
1606
1604
  const { __scopeDropdownMenu: t, ...n } = e, r = P(t);
1607
- return /* @__PURE__ */ a.jsx(No, { ...r, ...n });
1605
+ return /* @__PURE__ */ a.jsx(_o, { ...r, ...n });
1608
1606
  };
1609
- Sn.displayName = Uo;
1607
+ Sn.displayName = Ho;
1610
1608
  var Pn = "DropdownMenuContent", jn = c.forwardRef(
1611
1609
  (e, t) => {
1612
1610
  const { __scopeDropdownMenu: n, ...r } = e, o = wn(Pn, n), s = P(n), i = c.useRef(!1);
1613
1611
  return /* @__PURE__ */ a.jsx(
1614
- Do,
1612
+ No,
1615
1613
  {
1616
1614
  id: o.contentId,
1617
1615
  "aria-labelledby": o.triggerId,
@@ -1639,75 +1637,75 @@ var Pn = "DropdownMenuContent", jn = c.forwardRef(
1639
1637
  }
1640
1638
  );
1641
1639
  jn.displayName = Pn;
1642
- var zo = "DropdownMenuGroup", Vo = c.forwardRef(
1640
+ var Uo = "DropdownMenuGroup", zo = c.forwardRef(
1643
1641
  (e, t) => {
1644
1642
  const { __scopeDropdownMenu: n, ...r } = e, o = P(n);
1645
- return /* @__PURE__ */ a.jsx(Io, { ...o, ...r, ref: t });
1643
+ return /* @__PURE__ */ a.jsx(Do, { ...o, ...r, ref: t });
1646
1644
  }
1647
1645
  );
1648
- Vo.displayName = zo;
1649
- var Yo = "DropdownMenuLabel", Rn = c.forwardRef(
1646
+ zo.displayName = Uo;
1647
+ var Vo = "DropdownMenuLabel", Rn = c.forwardRef(
1650
1648
  (e, t) => {
1651
1649
  const { __scopeDropdownMenu: n, ...r } = e, o = P(n);
1652
- return /* @__PURE__ */ a.jsx(ko, { ...o, ...r, ref: t });
1650
+ return /* @__PURE__ */ a.jsx(Io, { ...o, ...r, ref: t });
1653
1651
  }
1654
1652
  );
1655
- Rn.displayName = Yo;
1656
- var Xo = "DropdownMenuItem", En = c.forwardRef(
1653
+ Rn.displayName = Vo;
1654
+ var Yo = "DropdownMenuItem", En = c.forwardRef(
1657
1655
  (e, t) => {
1658
1656
  const { __scopeDropdownMenu: n, ...r } = e, o = P(n);
1659
- return /* @__PURE__ */ a.jsx(Ao, { ...o, ...r, ref: t });
1657
+ return /* @__PURE__ */ a.jsx(ko, { ...o, ...r, ref: t });
1660
1658
  }
1661
1659
  );
1662
- En.displayName = Xo;
1663
- var Wo = "DropdownMenuCheckboxItem", _n = c.forwardRef((e, t) => {
1660
+ En.displayName = Yo;
1661
+ var Xo = "DropdownMenuCheckboxItem", _n = c.forwardRef((e, t) => {
1662
+ const { __scopeDropdownMenu: n, ...r } = e, o = P(n);
1663
+ return /* @__PURE__ */ a.jsx(Ao, { ...o, ...r, ref: t });
1664
+ });
1665
+ _n.displayName = Xo;
1666
+ var Wo = "DropdownMenuRadioGroup", Jo = c.forwardRef((e, t) => {
1664
1667
  const { __scopeDropdownMenu: n, ...r } = e, o = P(n);
1665
1668
  return /* @__PURE__ */ a.jsx(Oo, { ...o, ...r, ref: t });
1666
1669
  });
1667
- _n.displayName = Wo;
1668
- var Jo = "DropdownMenuRadioGroup", Zo = c.forwardRef((e, t) => {
1670
+ Jo.displayName = Wo;
1671
+ var Zo = "DropdownMenuRadioItem", Nn = c.forwardRef((e, t) => {
1669
1672
  const { __scopeDropdownMenu: n, ...r } = e, o = P(n);
1670
1673
  return /* @__PURE__ */ a.jsx(To, { ...o, ...r, ref: t });
1671
1674
  });
1672
- Zo.displayName = Jo;
1673
- var es = "DropdownMenuRadioItem", Nn = c.forwardRef((e, t) => {
1675
+ Nn.displayName = Zo;
1676
+ var es = "DropdownMenuItemIndicator", Dn = c.forwardRef((e, t) => {
1674
1677
  const { __scopeDropdownMenu: n, ...r } = e, o = P(n);
1675
1678
  return /* @__PURE__ */ a.jsx(Fo, { ...o, ...r, ref: t });
1676
1679
  });
1677
- Nn.displayName = es;
1678
- var ts = "DropdownMenuItemIndicator", Dn = c.forwardRef((e, t) => {
1680
+ Dn.displayName = es;
1681
+ var ts = "DropdownMenuSeparator", In = c.forwardRef((e, t) => {
1679
1682
  const { __scopeDropdownMenu: n, ...r } = e, o = P(n);
1680
1683
  return /* @__PURE__ */ a.jsx(Lo, { ...o, ...r, ref: t });
1681
1684
  });
1682
- Dn.displayName = ts;
1683
- var ns = "DropdownMenuSeparator", In = c.forwardRef((e, t) => {
1684
- const { __scopeDropdownMenu: n, ...r } = e, o = P(n);
1685
- return /* @__PURE__ */ a.jsx(Ko, { ...o, ...r, ref: t });
1686
- });
1687
- In.displayName = ns;
1688
- var rs = "DropdownMenuArrow", as = c.forwardRef(
1685
+ In.displayName = ts;
1686
+ var ns = "DropdownMenuArrow", rs = c.forwardRef(
1689
1687
  (e, t) => {
1690
1688
  const { __scopeDropdownMenu: n, ...r } = e, o = P(n);
1691
- return /* @__PURE__ */ a.jsx($o, { ...o, ...r, ref: t });
1689
+ return /* @__PURE__ */ a.jsx(Ko, { ...o, ...r, ref: t });
1692
1690
  }
1693
1691
  );
1694
- as.displayName = rs;
1695
- var os = (e) => {
1692
+ rs.displayName = ns;
1693
+ var as = (e) => {
1696
1694
  const { __scopeDropdownMenu: t, children: n, open: r, onOpenChange: o, defaultOpen: s } = e, i = P(t), [u = !1, l] = kt({
1697
1695
  prop: r,
1698
1696
  defaultProp: s,
1699
1697
  onChange: o
1700
1698
  });
1701
- return /* @__PURE__ */ a.jsx(Bo, { ...i, open: u, onOpenChange: l, children: n });
1702
- }, ss = "DropdownMenuSubTrigger", kn = c.forwardRef((e, t) => {
1699
+ return /* @__PURE__ */ a.jsx($o, { ...i, open: u, onOpenChange: l, children: n });
1700
+ }, os = "DropdownMenuSubTrigger", kn = c.forwardRef((e, t) => {
1703
1701
  const { __scopeDropdownMenu: n, ...r } = e, o = P(n);
1704
- return /* @__PURE__ */ a.jsx(Qo, { ...o, ...r, ref: t });
1702
+ return /* @__PURE__ */ a.jsx(Bo, { ...o, ...r, ref: t });
1705
1703
  });
1706
- kn.displayName = ss;
1707
- var is = "DropdownMenuSubContent", An = c.forwardRef((e, t) => {
1704
+ kn.displayName = os;
1705
+ var ss = "DropdownMenuSubContent", An = c.forwardRef((e, t) => {
1708
1706
  const { __scopeDropdownMenu: n, ...r } = e, o = P(n);
1709
1707
  return /* @__PURE__ */ a.jsx(
1710
- qo,
1708
+ Qo,
1711
1709
  {
1712
1710
  ...o,
1713
1711
  ...r,
@@ -1723,9 +1721,9 @@ var is = "DropdownMenuSubContent", An = c.forwardRef((e, t) => {
1723
1721
  }
1724
1722
  );
1725
1723
  });
1726
- An.displayName = is;
1727
- var cs = bn, us = Cn, On = Sn, Tn = jn, Fn = Rn, Ln = En, Kn = _n, $n = Nn, Bn = Dn, Qn = In, ls = os, qn = kn, Gn = An;
1728
- const ds = cs, hs = us, fs = On, ps = ls, Hn = c.forwardRef(({ className: e, inset: t, children: n, ...r }, o) => /* @__PURE__ */ a.jsxs(
1724
+ An.displayName = ss;
1725
+ var is = bn, cs = Cn, On = Sn, Tn = jn, Fn = Rn, Ln = En, Kn = _n, $n = Nn, Bn = Dn, Qn = In, us = as, qn = kn, Gn = An;
1726
+ const ls = is, ds = cs, hs = On, fs = us, Hn = c.forwardRef(({ className: e, inset: t, children: n, ...r }, o) => /* @__PURE__ */ a.jsxs(
1729
1727
  qn,
1730
1728
  {
1731
1729
  ref: o,
@@ -1781,7 +1779,7 @@ const Vn = c.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */
1781
1779
  }
1782
1780
  ));
1783
1781
  Vn.displayName = Ln.displayName;
1784
- const ms = c.forwardRef(({ className: e, children: t, checked: n, ...r }, o) => /* @__PURE__ */ a.jsxs(
1782
+ const ps = c.forwardRef(({ className: e, children: t, checked: n, ...r }, o) => /* @__PURE__ */ a.jsxs(
1785
1783
  Kn,
1786
1784
  {
1787
1785
  ref: o,
@@ -1792,13 +1790,13 @@ const ms = c.forwardRef(({ className: e, children: t, checked: n, ...r }, o) =>
1792
1790
  checked: n,
1793
1791
  ...r,
1794
1792
  children: [
1795
- /* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(Bn, { children: /* @__PURE__ */ a.jsx(Tr, { className: "h-4 w-4" }) }) }),
1793
+ /* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(Bn, { children: /* @__PURE__ */ a.jsx(Or, { className: "h-4 w-4" }) }) }),
1796
1794
  t
1797
1795
  ]
1798
1796
  }
1799
1797
  ));
1800
- ms.displayName = Kn.displayName;
1801
- const gs = c.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ a.jsxs(
1798
+ ps.displayName = Kn.displayName;
1799
+ const ms = c.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ a.jsxs(
1802
1800
  $n,
1803
1801
  {
1804
1802
  ref: r,
@@ -1808,12 +1806,12 @@ const gs = c.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__
1808
1806
  ),
1809
1807
  ...n,
1810
1808
  children: [
1811
- /* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(Bn, { children: /* @__PURE__ */ a.jsx(pa, { className: "h-4 w-4 fill-current" }) }) }),
1809
+ /* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(Bn, { children: /* @__PURE__ */ a.jsx(fa, { className: "h-4 w-4 fill-current" }) }) }),
1812
1810
  t
1813
1811
  ]
1814
1812
  }
1815
1813
  ));
1816
- gs.displayName = $n.displayName;
1814
+ ms.displayName = $n.displayName;
1817
1815
  const Yn = c.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ a.jsx(
1818
1816
  Fn,
1819
1817
  {
@@ -1836,9 +1834,9 @@ const Xn = c.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ a.jsx(
1836
1834
  }
1837
1835
  ));
1838
1836
  Xn.displayName = Qn.displayName;
1839
- const vs = () => {
1837
+ const gs = () => {
1840
1838
  const e = De(), [t, n] = ie(!1), r = Tt(() => n(!1), []);
1841
- W(() => {
1839
+ z(() => {
1842
1840
  if (t)
1843
1841
  return;
1844
1842
  function s(i) {
@@ -1848,7 +1846,7 @@ const vs = () => {
1848
1846
  window.removeEventListener("keydown", s);
1849
1847
  };
1850
1848
  }, [t, n]);
1851
- const o = e.plugins.find(Va);
1849
+ const o = e.plugins.find(za);
1852
1850
  return o ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1853
1851
  /* @__PURE__ */ a.jsxs(
1854
1852
  "button",
@@ -1858,7 +1856,7 @@ const vs = () => {
1858
1856
  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-40 sm:w-72",
1859
1857
  children: [
1860
1858
  /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
1861
- /* @__PURE__ */ a.jsx(va, { size: 14 }),
1859
+ /* @__PURE__ */ a.jsx(ga, { size: 14 }),
1862
1860
  "Search"
1863
1861
  ] }),
1864
1862
  /* @__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" })
@@ -1870,12 +1868,12 @@ const vs = () => {
1870
1868
  onClose: r
1871
1869
  }) })
1872
1870
  ] }) : null;
1873
- }, xs = () => {
1871
+ }, vs = () => {
1874
1872
  const { topNavigation: e } = De();
1875
1873
  return e.length <= 1 ? null : /* @__PURE__ */ a.jsx("nav", { className: "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.map((t) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
1876
1874
  je,
1877
1875
  {
1878
- className: ({ isActive: n }) => Fr(
1876
+ className: ({ isActive: n }) => Tr(
1879
1877
  "block py-3.5 font-medium -mb-px border-b-2",
1880
1878
  n ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
1881
1879
  ),
@@ -1883,16 +1881,16 @@ const vs = () => {
1883
1881
  children: t.label
1884
1882
  }
1885
1883
  ) }, t.label)) }) });
1886
- }, Wn = ({ item: e }) => e.children ? /* @__PURE__ */ a.jsxs(ps, { children: [
1884
+ }, Wn = ({ item: e }) => e.children ? /* @__PURE__ */ a.jsxs(fs, { children: [
1887
1885
  /* @__PURE__ */ a.jsx(Hn, { children: e.label }),
1888
- /* @__PURE__ */ a.jsx(fs, { children: /* @__PURE__ */ a.jsx(Un, { children: e.children.map((t, n) => (
1886
+ /* @__PURE__ */ a.jsx(hs, { children: /* @__PURE__ */ a.jsx(Un, { children: e.children.map((t, n) => (
1889
1887
  // eslint-disable-next-line react/no-array-index-key
1890
1888
  /* @__PURE__ */ a.jsx(Wn, { item: t }, n)
1891
1889
  )) }) })
1892
1890
  ] }, e.label) : /* @__PURE__ */ a.jsx(He, { to: e.path ?? "", children: /* @__PURE__ */ a.jsx(Vn, { children: e.label }, e.label) }), Jn = Lt(function() {
1893
- const t = ft(), [n, r] = Lr(), { isAuthenticated: o, profile: s, isAuthEnabled: i } = ft();
1891
+ const t = ft(), [n, r] = Fr(), { isAuthenticated: o, profile: s, isAuthEnabled: i } = ft();
1894
1892
  Ne();
1895
- const u = De(), { page: l, plugins: g } = u, p = g.filter((h) => Ua(h)).flatMap((h) => h.getProfileMenuItems(u)).map((h) => /* @__PURE__ */ a.jsx(Wn, { item: h }, h.label)), d = n ? ga : xa;
1893
+ const u = De(), { page: l, plugins: g } = u, p = g.filter((h) => Ha(h)).flatMap((h) => h.getProfileMenuItems(u)).map((h) => /* @__PURE__ */ a.jsx(Wn, { item: h }, h.label)), d = n ? ma : va;
1896
1894
  return /* @__PURE__ */ a.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ a.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
1897
1895
  /* @__PURE__ */ a.jsxs("div", { className: "grid grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b px-12 h-[--top-header-height]", children: [
1898
1896
  /* @__PURE__ */ a.jsx("div", { className: "flex", children: /* @__PURE__ */ a.jsx(He, { to: "/", children: /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3.5", children: [
@@ -1921,11 +1919,11 @@ const vs = () => {
1921
1919
  /* @__PURE__ */ a.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: l == null ? void 0 : l.pageTitle })
1922
1920
  ] }) }) }),
1923
1921
  /* @__PURE__ */ a.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
1924
- /* @__PURE__ */ a.jsx("div", { className: "w-full justify-center flex", children: /* @__PURE__ */ a.jsx(vs, {}) }),
1922
+ /* @__PURE__ */ a.jsx("div", { className: "w-full justify-center flex", children: /* @__PURE__ */ a.jsx(gs, {}) }),
1925
1923
  /* @__PURE__ */ a.jsxs("div", { className: "items-center justify-self-end text-sm hidden lg:flex gap-2", children: [
1926
1924
  /* @__PURE__ */ a.jsx(se, { name: "head-navigation-start" }),
1927
- i && !o ? /* @__PURE__ */ a.jsx(Be, { onClick: () => t.login(), asChild: !0, children: "Login" }) : p.length > 0 && /* @__PURE__ */ a.jsxs(ds, { children: [
1928
- /* @__PURE__ */ a.jsx(hs, { asChild: !0, children: /* @__PURE__ */ a.jsx(Be, { variant: "ghost", children: s != null && s.email ? `${s.email}` : "My Account" }) }),
1925
+ i && !o ? /* @__PURE__ */ a.jsx(Be, { variant: "ghost", onClick: () => t.login(), children: "Login" }) : p.length > 0 && /* @__PURE__ */ a.jsxs(ls, { children: [
1926
+ /* @__PURE__ */ a.jsx(ds, { asChild: !0, children: /* @__PURE__ */ a.jsx(Be, { variant: "ghost", children: s != null && s.email ? `${s.email}` : "My Account" }) }),
1929
1927
  /* @__PURE__ */ a.jsxs(zn, { className: "w-56", children: [
1930
1928
  /* @__PURE__ */ a.jsx(Yn, { children: "My Account" }),
1931
1929
  /* @__PURE__ */ a.jsx(Xn, {}),
@@ -1946,13 +1944,13 @@ const vs = () => {
1946
1944
  ] })
1947
1945
  ] })
1948
1946
  ] }),
1949
- /* @__PURE__ */ a.jsx(xs, {})
1947
+ /* @__PURE__ */ a.jsx(vs, {})
1950
1948
  ] }) });
1951
1949
  }), Zn = {
1952
1950
  Header: Jn
1953
- }, ys = Ot(Zn), ws = ys.Provider, bs = (e) => {
1951
+ }, xs = Ot(Zn), ys = xs.Provider, ws = (e) => {
1954
1952
  const [t, n] = ie(!1);
1955
- W(() => {
1953
+ z(() => {
1956
1954
  const s = localStorage.getItem("theme"), i = window.matchMedia("(prefers-color-scheme: dark)"), u = s === "dark" || !s && i.matches;
1957
1955
  n(u);
1958
1956
  }, [t]);
@@ -1960,17 +1958,14 @@ const vs = () => {
1960
1958
  const s = !t;
1961
1959
  document.documentElement.classList.toggle("dark", s), localStorage.setItem("theme", s ? "dark" : "light"), n(s);
1962
1960
  }, [t]), o = [t, r];
1963
- return /* @__PURE__ */ a.jsx(Kr.Provider, { value: o, ...e });
1964
- }, Ms = ({
1961
+ return /* @__PURE__ */ a.jsx(Lr.Provider, { value: o, ...e });
1962
+ }, bs = ({
1965
1963
  children: e,
1966
1964
  context: t
1967
- }) => {
1968
- const n = vr();
1969
- return ia({
1970
- queryFn: async () => (await t.initialize({ navigate: n }), !0),
1971
- queryKey: ["zudoku-initialize"]
1972
- }), /* @__PURE__ */ a.jsx(ca.Provider, { value: t, children: e });
1973
- }, Cs = ({
1965
+ }) => (sa({
1966
+ queryFn: async () => (await t.initialize(), !0),
1967
+ queryKey: ["zudoku-initialize"]
1968
+ }), /* @__PURE__ */ a.jsx(ia.Provider, { value: t, children: e })), Ms = ({
1974
1969
  children: e,
1975
1970
  ...t
1976
1971
  }) => {
@@ -1981,36 +1976,36 @@ const vs = () => {
1981
1976
  ), r = Le(() => {
1982
1977
  var x;
1983
1978
  return {
1984
- ...(t.plugins ?? []).filter(Wa).flatMap(
1979
+ ...(t.plugins ?? []).filter(Xa).flatMap(
1985
1980
  (M) => M.getMdxComponents ? [M.getMdxComponents()] : []
1986
1981
  ).reduce((M, I) => ({ ...M, ...I }), {}),
1987
- ...$r,
1982
+ ...Kr,
1988
1983
  ...(x = t.mdx) == null ? void 0 : x.components
1989
1984
  };
1990
- }, [(d = t.mdx) == null ? void 0 : d.components, t.plugins]), { stagger: o } = zr(Qe), [s, i] = ie(!1), u = Le(
1985
+ }, [(d = t.mdx) == null ? void 0 : d.components, t.plugins]), { stagger: o } = Ur(Qe), [s, i] = ie(!1), u = Le(
1991
1986
  () => s ? { stagger: !0 } : { stagger: o },
1992
1987
  [o, s]
1993
- ), l = xr();
1994
- W(() => {
1988
+ ), l = vr();
1989
+ z(() => {
1995
1990
  s || i(!0);
1996
1991
  }, [s, l.location]);
1997
- const [g] = ie(() => new Za(t)), p = (h = t.plugins) == null ? void 0 : h.filter(Xa).map((v, x) => {
1992
+ const [g] = ie(() => new Ja(t)), p = (h = t.plugins) == null ? void 0 : h.filter(Ya).map((v, x) => {
1998
1993
  var M;
1999
- return /* @__PURE__ */ a.jsx(Vr, { children: (M = v.getHead) == null ? void 0 : M.call(v) }, x);
1994
+ return /* @__PURE__ */ a.jsx(zr, { children: (M = v.getHead) == null ? void 0 : M.call(v) }, x);
2000
1995
  });
2001
- return /* @__PURE__ */ a.jsxs(ua, { client: zt, children: [
1996
+ return /* @__PURE__ */ a.jsxs(ca, { client: zt, children: [
2002
1997
  /* @__PURE__ */ a.jsx(Ge, { children: p }),
2003
- /* @__PURE__ */ a.jsx(Qe.Provider, { value: u, children: /* @__PURE__ */ a.jsx(Ms, { context: g, children: /* @__PURE__ */ a.jsx(lr, { components: r, children: /* @__PURE__ */ a.jsx(bs, { children: /* @__PURE__ */ a.jsx(ws, { value: n, children: /* @__PURE__ */ a.jsx(wr, { slotlets: t.slotlets, children: /* @__PURE__ */ a.jsx(Br, { children: e ?? /* @__PURE__ */ a.jsx(Rt, {}) }) }) }) }) }) }) })
1998
+ /* @__PURE__ */ a.jsx(Qe.Provider, { value: u, children: /* @__PURE__ */ a.jsx(bs, { context: g, children: /* @__PURE__ */ a.jsx(lr, { components: r, children: /* @__PURE__ */ a.jsx(ws, { children: /* @__PURE__ */ a.jsx(ys, { value: n, children: /* @__PURE__ */ a.jsx(yr, { slotlets: t.slotlets, children: /* @__PURE__ */ a.jsx($r, { children: e ?? /* @__PURE__ */ a.jsx(Rt, {}) }) }) }) }) }) }) })
2004
1999
  ] });
2005
- }, Ss = Lt(Cs), er = (e) => /* @__PURE__ */ a.jsx(Ga, { FallbackComponent: eo, children: /* @__PURE__ */ a.jsx(Ss, { ...e }) });
2000
+ }, Cs = Lt(Ms), er = (e) => /* @__PURE__ */ a.jsx(qa, { FallbackComponent: Za, children: /* @__PURE__ */ a.jsx(Cs, { ...e }) });
2006
2001
  er.displayName = "DevPortal";
2007
- const Ps = ({
2002
+ const Ss = ({
2008
2003
  category: e,
2009
2004
  level: t
2010
2005
  }) => {
2011
2006
  var h;
2012
2007
  const n = Bt(), r = dr(e), [o, s] = ie(!1), i = e.collapsible ?? !0, u = e.collapsed ?? !0, l = !!(!i || !u || r), [g, p] = ie(l);
2013
- W(() => {
2008
+ z(() => {
2014
2009
  r && p(!0);
2015
2010
  }, [r]);
2016
2011
  const d = i && /* @__PURE__ */ a.jsx(
@@ -2033,7 +2028,7 @@ const Ps = ({
2033
2028
  }
2034
2029
  );
2035
2030
  return /* @__PURE__ */ a.jsxs(
2036
- Wr,
2031
+ Xr,
2037
2032
  {
2038
2033
  className: b("flex flex-col", t === 0 && "-mx-[--padding-nav-item]"),
2039
2034
  defaultOpen: l,
@@ -2041,7 +2036,7 @@ const Ps = ({
2041
2036
  onOpenChange: () => p(!0),
2042
2037
  children: [
2043
2038
  /* @__PURE__ */ a.jsx(
2044
- Jr,
2039
+ Wr,
2045
2040
  {
2046
2041
  className: b(
2047
2042
  "group text-start",
@@ -2069,7 +2064,7 @@ const Ps = ({
2069
2064
  }
2070
2065
  ),
2071
2066
  /* @__PURE__ */ a.jsx(
2072
- Zr,
2067
+ Jr,
2073
2068
  {
2074
2069
  className: b(
2075
2070
  // CollapsibleContent class is used to animate and it should only be applied when the user has triggered the toggle
@@ -2089,7 +2084,7 @@ const Ps = ({
2089
2084
  ]
2090
2085
  }
2091
2086
  );
2092
- }, he = Qr(
2087
+ }, he = Br(
2093
2088
  "flex px-[--padding-nav-item] py-1.5 rounded-lg hover:bg-accent transition-colors duration-300",
2094
2089
  {
2095
2090
  variants: {
@@ -2110,10 +2105,10 @@ const Ps = ({
2110
2105
  item: e,
2111
2106
  level: t = 0
2112
2107
  }) => {
2113
- const n = Bt(), { activeAnchor: r } = ze(), [o] = yr();
2108
+ const n = Bt(), { activeAnchor: r } = ze(), [o] = xr();
2114
2109
  switch (e.type) {
2115
2110
  case "category":
2116
- return /* @__PURE__ */ a.jsx(Ps, { category: e, level: t });
2111
+ return /* @__PURE__ */ a.jsx(Ss, { category: e, level: t });
2117
2112
  case "doc":
2118
2113
  return /* @__PURE__ */ a.jsx(
2119
2114
  je,
@@ -2158,7 +2153,7 @@ const Ps = ({
2158
2153
  /* @__PURE__ */ a.jsx("span", { className: "whitespace-normal", children: e.label }),
2159
2154
  /* @__PURE__ */ a.jsxs("span", { className: "whitespace-nowrap", children: [
2160
2155
  " ",
2161
- /* @__PURE__ */ a.jsx(ma, { className: "inline ml-1", size: 12 })
2156
+ /* @__PURE__ */ a.jsx(pa, { className: "inline ml-1", size: 12 })
2162
2157
  ] })
2163
2158
  ]
2164
2159
  }
@@ -2174,17 +2169,17 @@ const Ps = ({
2174
2169
  }
2175
2170
  );
2176
2171
  }
2177
- }, js = (e, t = { block: "center" }) => {
2172
+ }, Ps = (e, t = { block: "center" }) => {
2178
2173
  if (!e) return;
2179
2174
  const n = e.getBoundingClientRect();
2180
2175
  n.top >= 0 && n.left >= 0 && n.bottom <= (window.innerHeight || document.documentElement.clientHeight) && n.right <= (window.innerWidth || document.documentElement.clientWidth) || e.scrollIntoView(t);
2181
- }, Rs = () => {
2176
+ }, js = () => {
2182
2177
  const e = Ne(), { setActiveAnchor: t } = ze();
2183
- W(() => {
2178
+ z(() => {
2184
2179
  if (!e.hash) return;
2185
2180
  const n = decodeURIComponent(e.hash.split("/")[0].slice(1)), r = () => {
2186
2181
  const o = document.getElementById(n), s = document.querySelector(`[${tr}="${n}"]`);
2187
- return o ? (o.scrollIntoView(), js(s), requestIdleCallback(() => t(n)), !0) : !1;
2182
+ return o ? (o.scrollIntoView(), Ps(s), requestIdleCallback(() => t(n)), !0) : !1;
2188
2183
  };
2189
2184
  if (!r()) {
2190
2185
  const o = new MutationObserver((s, i) => {
@@ -2193,12 +2188,12 @@ const Ps = ({
2193
2188
  return o.observe(document.body, { childList: !0, subtree: !0 }), () => o.disconnect();
2194
2189
  }
2195
2190
  }, [e.hash, t]);
2196
- }, Es = () => {
2191
+ }, Rs = () => {
2197
2192
  const e = Ne(), t = Ve(e.pathname);
2198
- W(() => {
2193
+ z(() => {
2199
2194
  t.current !== e.pathname && (window.scrollTo(0, 0), t.current = e.pathname);
2200
2195
  }, [e.pathname]);
2201
- }, rr = Yr(({ children: e, className: t, pushMainContent: n }, r) => /* @__PURE__ */ a.jsx(
2196
+ }, rr = Vr(({ children: e, className: t, pushMainContent: n }, r) => /* @__PURE__ */ a.jsx(
2202
2197
  "nav",
2203
2198
  {
2204
2199
  "data-navigation": String(n),
@@ -2213,8 +2208,8 @@ const Ps = ({
2213
2208
  }
2214
2209
  ));
2215
2210
  rr.displayName = "SidebarWrapper";
2216
- const _s = () => {
2217
- const e = Ve(null), t = la();
2211
+ const Es = () => {
2212
+ const e = Ve(null), t = ua();
2218
2213
  return /* @__PURE__ */ a.jsxs(
2219
2214
  rr,
2220
2215
  {
@@ -2227,12 +2222,14 @@ const _s = () => {
2227
2222
  ]
2228
2223
  }
2229
2224
  );
2230
- }, Ns = ({ children: e }) => {
2231
- const t = Ne(), { setActiveAnchor: n } = ze(), { meta: r } = De();
2232
- Rs(), Es();
2233
- const o = Ve(t.pathname);
2234
- return W(() => {
2235
- t.pathname !== o.current && n(""), o.current = t.pathname;
2225
+ }, _s = ({ children: e }) => {
2226
+ const t = Ne(), { setActiveAnchor: n } = ze(), { meta: r, authentication: o } = De();
2227
+ js(), Rs();
2228
+ const s = Ve(t.pathname);
2229
+ return z(() => {
2230
+ o != null && o.pageLoad && o.pageLoad();
2231
+ }, [o]), z(() => {
2232
+ t.pathname !== s.current && n(""), s.current = t.pathname;
2236
2233
  }, [t.pathname, n]), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2237
2234
  !1,
2238
2235
  /* @__PURE__ */ a.jsxs(Ge, { titleTemplate: r == null ? void 0 : r.title, children: [
@@ -2243,9 +2240,9 @@ const _s = () => {
2243
2240
  /* @__PURE__ */ a.jsx("div", { className: "max-w-screen-2xl mx-auto pt-[--header-height] px-10 lg:px-12 h-full", children: /* @__PURE__ */ a.jsxs(
2244
2241
  Ft,
2245
2242
  {
2246
- fallback: /* @__PURE__ */ a.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ a.jsx(fa, {}) }),
2243
+ fallback: /* @__PURE__ */ a.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ a.jsx(ha, {}) }),
2247
2244
  children: [
2248
- /* @__PURE__ */ a.jsx(_s, {}),
2245
+ /* @__PURE__ */ a.jsx(Es, {}),
2249
2246
  /* @__PURE__ */ a.jsxs(
2250
2247
  "main",
2251
2248
  {
@@ -2266,18 +2263,18 @@ const _s = () => {
2266
2263
  }
2267
2264
  ) })
2268
2265
  ] });
2269
- }, Us = fr, zs = qr, Vs = er, Ys = Ns, Xs = He, Ws = br, Js = ya, Zs = Ta, ei = Fa, ti = Be, ni = Ge;
2266
+ }, Hs = fr, Us = Qr, zs = er, Vs = _s, Ys = He, Xs = wr, Ws = xa, Js = Oa, Zs = Ta, ei = Be, ti = Ge;
2270
2267
  export {
2271
- Zs as Bootstrap,
2272
- ei as BootstrapStatic,
2273
- ti as Button,
2274
- zs as Callout,
2275
- Vs as DevPortal,
2276
- ni as Head,
2277
- Ys as Layout,
2278
- Xs as Link,
2279
- Ws as RouterError,
2280
- Js as ServerError,
2281
- Us as useMDXComponents
2268
+ Js as Bootstrap,
2269
+ Zs as BootstrapStatic,
2270
+ ei as Button,
2271
+ Us as Callout,
2272
+ zs as DevPortal,
2273
+ ti as Head,
2274
+ Vs as Layout,
2275
+ Ys as Link,
2276
+ Xs as RouterError,
2277
+ Ws as ServerError,
2278
+ Hs as useMDXComponents
2282
2279
  };
2283
2280
  //# sourceMappingURL=zudoku.components.js.map