zudoku 0.3.0-dev.66 → 0.3.0-dev.68

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 (62) hide show
  1. package/dist/lib/components/context/ViewportAnchorContext.js +2 -1
  2. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  3. package/dist/lib/plugins/markdown/Toc.js +2 -1
  4. package/dist/lib/plugins/markdown/Toc.js.map +1 -1
  5. package/dist/lib/plugins/openapi/ColorizedParam.js +2 -2
  6. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  7. package/dist/lib/plugins/openapi/StaggeredRender.js +3 -2
  8. package/dist/lib/plugins/openapi/StaggeredRender.js.map +1 -1
  9. package/dist/lib/plugins/openapi/playground/PathParams.js +1 -1
  10. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  11. package/dist/lib/plugins/openapi/playground/Playground.js +4 -3
  12. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  13. package/dist/lib/plugins/openapi/playground/QueryParams.js +1 -1
  14. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  15. package/dist/lib/plugins/openapi/playground/createUrl.js +5 -9
  16. package/dist/lib/plugins/openapi/playground/createUrl.js.map +1 -1
  17. package/dist/lib/util/requestIdle.d.ts +2 -0
  18. package/dist/lib/util/requestIdle.js +3 -0
  19. package/dist/lib/util/requestIdle.js.map +1 -0
  20. package/dist/lib/util/useScrollToAnchor.js +3 -2
  21. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  22. package/lib/{AnchorLink-C_pYhuZi.js → AnchorLink-61IZfWrS.js} +2 -2
  23. package/lib/{AnchorLink-C_pYhuZi.js.map → AnchorLink-61IZfWrS.js.map} +1 -1
  24. package/lib/{CategoryHeading-D5Q-X6lE.js → CategoryHeading-aW8CL0KA.js} +2 -2
  25. package/lib/{CategoryHeading-D5Q-X6lE.js.map → CategoryHeading-aW8CL0KA.js.map} +1 -1
  26. package/lib/{Combination-Cq0UkOXq.js → Combination-BbWKjDLe.js} +2 -2
  27. package/lib/{Combination-Cq0UkOXq.js.map → Combination-BbWKjDLe.js.map} +1 -1
  28. package/lib/{Input-DdAxw3vC.js → Input-BY0B_0qy.js} +3 -3
  29. package/lib/{Input-DdAxw3vC.js.map → Input-BY0B_0qy.js.map} +1 -1
  30. package/lib/{Markdown-DsCvZnhw.js → Markdown-BO5EsS-C.js} +748 -746
  31. package/lib/Markdown-BO5EsS-C.js.map +1 -0
  32. package/lib/{MdxPage-B_7x36CA.js → MdxPage-DEfyHwSx.js} +28 -28
  33. package/lib/MdxPage-DEfyHwSx.js.map +1 -0
  34. package/lib/{OperationList-Cv0GStt7.js → OperationList-VK1_1rzp.js} +167 -162
  35. package/lib/OperationList-VK1_1rzp.js.map +1 -0
  36. package/lib/{Spinner-DyDcSKPz.js → Spinner-6NfpF1CA.js} +56 -56
  37. package/lib/Spinner-6NfpF1CA.js.map +1 -0
  38. package/lib/{hook-Cz5jddRs.js → hook-gOGk1OUF.js} +4 -4
  39. package/lib/{hook-Cz5jddRs.js.map → hook-gOGk1OUF.js.map} +1 -1
  40. package/lib/{index-NGns0N9q.js → index-7W7DUZbY.js} +4 -4
  41. package/lib/{index-NGns0N9q.js.map → index-7W7DUZbY.js.map} +1 -1
  42. package/lib/zudoku.components.js +351 -351
  43. package/lib/zudoku.components.js.map +1 -1
  44. package/lib/zudoku.plugin-api-keys.js +4 -4
  45. package/lib/zudoku.plugin-custom-page.js +1 -1
  46. package/lib/zudoku.plugin-markdown.js +1 -1
  47. package/lib/zudoku.plugin-openapi.js +2 -2
  48. package/package.json +1 -1
  49. package/src/lib/components/context/ViewportAnchorContext.tsx +2 -1
  50. package/src/lib/plugins/markdown/Toc.tsx +2 -1
  51. package/src/lib/plugins/openapi/ColorizedParam.tsx +2 -2
  52. package/src/lib/plugins/openapi/StaggeredRender.tsx +3 -2
  53. package/src/lib/plugins/openapi/playground/PathParams.tsx +1 -1
  54. package/src/lib/plugins/openapi/playground/Playground.tsx +10 -7
  55. package/src/lib/plugins/openapi/playground/QueryParams.tsx +1 -3
  56. package/src/lib/plugins/openapi/playground/createUrl.ts +11 -14
  57. package/src/lib/util/requestIdle.ts +4 -0
  58. package/src/lib/util/useScrollToAnchor.ts +3 -2
  59. package/lib/Markdown-DsCvZnhw.js.map +0 -1
  60. package/lib/MdxPage-B_7x36CA.js.map +0 -1
  61. package/lib/OperationList-Cv0GStt7.js.map +0 -1
  62. package/lib/Spinner-DyDcSKPz.js.map +0 -1
@@ -1,9 +1,9 @@
1
- var ar = Object.defineProperty;
1
+ var or = Object.defineProperty;
2
2
  var ut = (t) => {
3
3
  throw TypeError(t);
4
4
  };
5
- var or = (t, e, n) => e in t ? ar(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
6
- var N = (t, e, n) => or(t, typeof e != "symbol" ? e + "" : e, n), lt = (t, e, n) => e.has(t) || ut("Cannot " + n);
5
+ var sr = (t, e, n) => e in t ? or(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
6
+ var N = (t, e, n) => sr(t, typeof e != "symbol" ? e + "" : e, n), lt = (t, e, n) => e.has(t) || ut("Cannot " + n);
7
7
  var p = (t, e, n) => (lt(t, e, "read from private field"), n ? n.call(t) : e.get(t)), j = (t, e, n) => e.has(t) ? ut("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), b = (t, e, n, r) => (lt(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n);
8
8
  var Me = (t, e, n, r) => ({
9
9
  set _(a) {
@@ -13,17 +13,17 @@ var Me = (t, e, n, r) => ({
13
13
  return p(t, e, r);
14
14
  }
15
15
  });
16
- import { H as Pt, a as Qe, M as sr, A as ir, u as cr } from "./AnchorLink-C_pYhuZi.js";
17
- import { c as pe, d as ur, R as lr, a as P, C as dr, N as Fe, b as hr, u as pr, L as Re, M as fr, T as mr, V as gr, e as Ue, f as vr, g as xr } from "./Markdown-DsCvZnhw.js";
18
- import { E as Rt, u as yr, R as wr } from "./hook-Cz5jddRs.js";
19
- import { j as o, d as Mr, u as br, a as se, O as Cr } from "./jsx-runtime-BIr0WBt_.js";
20
- import { M as Pr, c as Rr, a as _t, b as Et, A as _r, u as fe, h as Er, d as y, e as Sr, F as Nr, D as jr, C as Dr, P as ie, f as Ge, g as Ar, i as St, R as Ir, S as Or, j as Tr, k as kr, l as Nt, m as Fr, n as _e, o as jt, B as Le } from "./Combination-Cq0UkOXq.js";
16
+ import { H as Rt, a as Qe, M as ir, A as cr, u as ur } from "./AnchorLink-61IZfWrS.js";
17
+ import { c as pe, d as lr, R as dr, a as P, C as hr, N as Fe, b as pr, u as fr, L as Re, M as mr, T as gr, V as vr, e as Ue, r as dt, f as xr, g as yr } from "./Markdown-BO5EsS-C.js";
18
+ import { E as _t, u as wr, R as Mr } from "./hook-gOGk1OUF.js";
19
+ import { j as o, d as br, u as Cr, a as se, O as Pr } from "./jsx-runtime-BIr0WBt_.js";
20
+ import { M as Rr, c as _r, a as Et, b as St, A as Er, u as fe, h as Sr, d as y, e as Nr, F as jr, D as Dr, C as Ar, P as ie, f as Ge, g as Ir, i as Nt, R as Or, S as Tr, j as kr, k as Fr, l as jt, m as Lr, n as _e, o as Dt, B as Le } from "./Combination-BbWKjDLe.js";
21
21
  import * as c from "react";
22
- import Lr, { StrictMode as Dt, createContext as At, Component as Kr, createElement as dt, isValidElement as $r, memo as It, useMemo as be, useContext as Br, useState as Ke, useEffect as W, Fragment as Qr, useRef as Ne, forwardRef as Ur, Suspense as Gr } from "react";
22
+ import Kr, { StrictMode as At, createContext as It, Component as $r, createElement as ht, isValidElement as Br, memo as Ot, useMemo as be, useContext as Qr, useState as Ke, useEffect as W, Fragment as Ur, useRef as Ne, forwardRef as Gr, Suspense as Hr } from "react";
23
23
  import { g as He } from "./_commonjsHelpers-BVfed4GL.js";
24
- import { r as Hr } from "./router-BiRCp01d.js";
25
- import { S as $e, c as Ot, P as je, R as qr, I as zr, a as Tt, T as kt, C as Ft, b as Vr } from "./Spinner-DyDcSKPz.js";
26
- import { S as Lt, h as Kt, Q as Yr, n as E, m as ht, a as pt, b as $, e as Xr, c as Wr, d as Jr, f as Zr, o as ft, r as mt, g as ea, i as gt, p as vt, s as ta, u as qe, j as na, D as ra, k as ze, l as xt, q as $t, t as aa, v as oa, w as sa } from "./DevPortalProvider-BBhQ8kgI.js";
24
+ import { r as qr } from "./router-BiRCp01d.js";
25
+ import { S as $e, c as Tt, P as je, R as zr, I as Vr, a as kt, T as Ft, C as Lt, b as Yr } from "./Spinner-6NfpF1CA.js";
26
+ import { S as Kt, h as $t, Q as Xr, n as E, m as pt, a as ft, b as $, e as Wr, c as Jr, d as Zr, f as ea, o as mt, r as gt, g as ta, i as vt, p as xt, s as na, u as qe, j as ra, D as aa, k as ze, l as yt, q as Bt, t as oa, v as sa, w as ia } from "./DevPortalProvider-BBhQ8kgI.js";
27
27
  /**
28
28
  * @license lucide-react v0.378.0 - ISC
29
29
  *
@@ -39,7 +39,7 @@ const Ve = pe("ChevronRight", [
39
39
  * This source code is licensed under the ISC license.
40
40
  * See the LICENSE file in the root directory of this source tree.
41
41
  */
42
- const ia = pe("Dot", [
42
+ const ca = pe("Dot", [
43
43
  ["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
44
44
  ]);
45
45
  /**
@@ -48,7 +48,7 @@ const ia = pe("Dot", [
48
48
  * This source code is licensed under the ISC license.
49
49
  * See the LICENSE file in the root directory of this source tree.
50
50
  */
51
- const ca = pe("ExternalLink", [
51
+ const ua = pe("ExternalLink", [
52
52
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
53
53
  ["path", { d: "M10 14 21 3", key: "gplh6r" }],
54
54
  ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
@@ -59,7 +59,7 @@ const ca = pe("ExternalLink", [
59
59
  * This source code is licensed under the ISC license.
60
60
  * See the LICENSE file in the root directory of this source tree.
61
61
  */
62
- const ua = pe("MoonStar", [
62
+ const la = pe("MoonStar", [
63
63
  ["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9", key: "4ay0iu" }],
64
64
  ["path", { d: "M20 3v4", key: "1olli1" }],
65
65
  ["path", { d: "M22 5h-4", key: "1gvqau" }]
@@ -70,7 +70,7 @@ const ua = pe("MoonStar", [
70
70
  * This source code is licensed under the ISC license.
71
71
  * See the LICENSE file in the root directory of this source tree.
72
72
  */
73
- const la = pe("Sun", [
73
+ const da = pe("Sun", [
74
74
  ["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
75
75
  ["path", { d: "M12 2v2", key: "tus03m" }],
76
76
  ["path", { d: "M12 20v2", key: "1lh1kg" }],
@@ -81,14 +81,14 @@ const la = pe("Sun", [
81
81
  ["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
82
82
  ["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
83
83
  ]);
84
- function da({ error: t }) {
85
- return /* @__PURE__ */ o.jsx(Rt, { error: t });
84
+ function ha({ error: t }) {
85
+ return /* @__PURE__ */ o.jsx(_t, { error: t });
86
86
  }
87
87
  var me = {};
88
- const ha = /* @__PURE__ */ He(Hr), pa = /* @__PURE__ */ He(Mr), fa = /* @__PURE__ */ He(ur);
88
+ const pa = /* @__PURE__ */ He(qr), fa = /* @__PURE__ */ He(br), ma = /* @__PURE__ */ He(lr);
89
89
  Object.defineProperty(me, "__esModule", { value: !0 });
90
- var ma = Lr, k = ha, Ye = pa, B = fa;
91
- function ga(t) {
90
+ var ga = Kr, k = pa, Ye = fa, B = ma;
91
+ function va(t) {
92
92
  if (t && t.__esModule) return t;
93
93
  var e = /* @__PURE__ */ Object.create(null);
94
94
  return t && Object.keys(t).forEach(function(n) {
@@ -103,8 +103,8 @@ function ga(t) {
103
103
  }
104
104
  }), e.default = t, Object.freeze(e);
105
105
  }
106
- var O = /* @__PURE__ */ ga(ma);
107
- function va({
106
+ var O = /* @__PURE__ */ va(ga);
107
+ function xa({
108
108
  basename: t,
109
109
  children: e,
110
110
  location: n = "/",
@@ -117,7 +117,7 @@ function va({
117
117
  hash: n.hash || "",
118
118
  state: n.state != null ? n.state : null,
119
119
  key: n.key || "default"
120
- }, i = Bt();
120
+ }, i = Qt();
121
121
  return /* @__PURE__ */ O.createElement(B.Router, {
122
122
  basename: t,
123
123
  children: e,
@@ -128,7 +128,7 @@ function va({
128
128
  static: !0
129
129
  });
130
130
  }
131
- function xa({
131
+ function ya({
132
132
  context: t,
133
133
  router: e,
134
134
  hydrate: n = !0,
@@ -137,7 +137,7 @@ function xa({
137
137
  e && t || (process.env.NODE_ENV !== "production" ? k.UNSAFE_invariant(!1, "You must provide `router` and `context` to <StaticRouterProvider>") : k.UNSAFE_invariant(!1));
138
138
  let a = {
139
139
  router: e,
140
- navigator: Bt(),
140
+ navigator: Qt(),
141
141
  static: !0,
142
142
  staticContext: t,
143
143
  basename: t.basename || "/"
@@ -146,9 +146,9 @@ function xa({
146
146
  let h = {
147
147
  loaderData: t.loaderData,
148
148
  actionData: t.actionData,
149
- errors: wa(t.errors)
149
+ errors: Ma(t.errors)
150
150
  };
151
- i = `window.__staticRouterHydrationData = JSON.parse(${_a(JSON.stringify(JSON.stringify(h)))});`;
151
+ i = `window.__staticRouterHydrationData = JSON.parse(${Ea(JSON.stringify(JSON.stringify(h)))});`;
152
152
  }
153
153
  let {
154
154
  state: u
@@ -172,7 +172,7 @@ function xa({
172
172
  future: {
173
173
  v7_relativeSplatPath: e.future.v7_relativeSplatPath
174
174
  }
175
- }, /* @__PURE__ */ O.createElement(ya, {
175
+ }, /* @__PURE__ */ O.createElement(wa, {
176
176
  routes: e.routes,
177
177
  future: e.future,
178
178
  state: u
@@ -184,14 +184,14 @@ function xa({
184
184
  }
185
185
  }) : null);
186
186
  }
187
- function ya({
187
+ function wa({
188
188
  routes: t,
189
189
  future: e,
190
190
  state: n
191
191
  }) {
192
192
  return Ye.UNSAFE_useRoutesImpl(t, void 0, n, e);
193
193
  }
194
- function wa(t) {
194
+ function Ma(t) {
195
195
  if (!t) return null;
196
196
  let e = Object.entries(t), n = {};
197
197
  for (let [r, a] of e)
@@ -209,10 +209,10 @@ function wa(t) {
209
209
  } : n[r] = a;
210
210
  return n;
211
211
  }
212
- function Bt() {
212
+ function Qt() {
213
213
  return {
214
- createHref: Qt,
215
- encodeLocation: Ut,
214
+ createHref: Ut,
215
+ encodeLocation: Gt,
216
216
  push(t) {
217
217
  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(t)})\` somewhere in your app.`);
218
218
  },
@@ -230,13 +230,13 @@ function Bt() {
230
230
  }
231
231
  };
232
232
  }
233
- function Ma(t, e) {
233
+ function ba(t, e) {
234
234
  return k.createStaticHandler(t, {
235
235
  ...e,
236
236
  mapRouteProperties: Ye.UNSAFE_mapRouteProperties
237
237
  });
238
238
  }
239
- function ba(t, e, n = {}) {
239
+ function Ca(t, e, n = {}) {
240
240
  let r = {}, a = k.UNSAFE_convertRoutesToDataRoutes(t, Ye.UNSAFE_mapRouteProperties, void 0, r), s = e.matches.map((u) => {
241
241
  let h = r[u.route.id] || u.route;
242
242
  return {
@@ -299,8 +299,8 @@ function ba(t, e, n = {}) {
299
299
  revalidate() {
300
300
  throw i("revalidate");
301
301
  },
302
- createHref: Qt,
303
- encodeLocation: Ut,
302
+ createHref: Ut,
303
+ encodeLocation: Gt,
304
304
  getFetcher() {
305
305
  return k.IDLE_FETCHER;
306
306
  },
@@ -326,51 +326,51 @@ function ba(t, e, n = {}) {
326
326
  }
327
327
  };
328
328
  }
329
- function Qt(t) {
329
+ function Ut(t) {
330
330
  return typeof t == "string" ? t : B.createPath(t);
331
331
  }
332
- function Ut(t) {
332
+ function Gt(t) {
333
333
  let e = typeof t == "string" ? t : B.createPath(t);
334
334
  e = e.replace(/ $/, "%20");
335
- let n = Ca.test(e) ? new URL(e) : new URL(e, "http://localhost");
335
+ let n = Pa.test(e) ? new URL(e) : new URL(e, "http://localhost");
336
336
  return {
337
337
  pathname: n.pathname,
338
338
  search: n.search,
339
339
  hash: n.hash
340
340
  };
341
341
  }
342
- const Ca = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Pa = {
342
+ const Pa = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Ra = {
343
343
  "&": "\\u0026",
344
344
  ">": "\\u003e",
345
345
  "<": "\\u003c",
346
346
  "\u2028": "\\u2028",
347
347
  "\u2029": "\\u2029"
348
- }, Ra = /[&><\u2028\u2029]/g;
349
- function _a(t) {
350
- return t.replace(Ra, (e) => Pa[e]);
348
+ }, _a = /[&><\u2028\u2029]/g;
349
+ function Ea(t) {
350
+ return t.replace(_a, (e) => Ra[e]);
351
351
  }
352
- me.StaticRouter = va;
353
- var Ea = me.StaticRouterProvider = xa;
354
- me.createStaticHandler = Ma;
355
- me.createStaticRouter = ba;
356
- const Sa = ({
352
+ me.StaticRouter = xa;
353
+ var Sa = me.StaticRouterProvider = ya;
354
+ me.createStaticHandler = ba;
355
+ me.createStaticRouter = Ca;
356
+ const Na = ({
357
357
  router: t,
358
358
  hydrate: e = !1
359
- }) => /* @__PURE__ */ o.jsx(Dt, { children: /* @__PURE__ */ o.jsx(Pt, { children: /* @__PURE__ */ o.jsx($e.Provider, { value: { stagger: !e }, children: /* @__PURE__ */ o.jsx(lr, { router: t }) }) }) }), Na = ({
359
+ }) => /* @__PURE__ */ o.jsx(At, { children: /* @__PURE__ */ o.jsx(Rt, { children: /* @__PURE__ */ o.jsx($e.Provider, { value: { stagger: !e }, children: /* @__PURE__ */ o.jsx(dr, { router: t }) }) }) }), ja = ({
360
360
  router: t,
361
361
  context: e,
362
362
  helmetContext: n
363
- }) => /* @__PURE__ */ o.jsx(Dt, { children: /* @__PURE__ */ o.jsx(Pt, { context: n, children: /* @__PURE__ */ o.jsx(Ea, { router: t, context: e }) }) });
364
- var T, Mt, ja = (Mt = class extends Lt {
363
+ }) => /* @__PURE__ */ o.jsx(At, { children: /* @__PURE__ */ o.jsx(Rt, { context: n, children: /* @__PURE__ */ o.jsx(Sa, { router: t, context: e }) }) });
364
+ var T, bt, Da = (bt = class extends Kt {
365
365
  constructor(e = {}) {
366
366
  super();
367
367
  j(this, T);
368
368
  this.config = e, b(this, T, /* @__PURE__ */ new Map());
369
369
  }
370
370
  build(e, n, r) {
371
- const a = n.queryKey, s = n.queryHash ?? Kt(a, n);
371
+ const a = n.queryKey, s = n.queryHash ?? $t(a, n);
372
372
  let i = this.get(s);
373
- return i || (i = new Yr({
373
+ return i || (i = new Xr({
374
374
  cache: this,
375
375
  queryKey: a,
376
376
  queryHash: s,
@@ -405,12 +405,12 @@ var T, Mt, ja = (Mt = class extends Lt {
405
405
  find(e) {
406
406
  const n = { exact: !0, ...e };
407
407
  return this.getAll().find(
408
- (r) => ht(n, r)
408
+ (r) => pt(n, r)
409
409
  );
410
410
  }
411
411
  findAll(e = {}) {
412
412
  const n = this.getAll();
413
- return Object.keys(e).length > 0 ? n.filter((r) => ht(e, r)) : n;
413
+ return Object.keys(e).length > 0 ? n.filter((r) => pt(e, r)) : n;
414
414
  }
415
415
  notify(e) {
416
416
  E.batch(() => {
@@ -433,7 +433,7 @@ var T, Mt, ja = (Mt = class extends Lt {
433
433
  });
434
434
  });
435
435
  }
436
- }, T = new WeakMap(), Mt), _, he, bt, Da = (bt = class extends Lt {
436
+ }, T = new WeakMap(), bt), _, he, Ct, Aa = (Ct = class extends Kt {
437
437
  constructor(e = {}) {
438
438
  super();
439
439
  j(this, _);
@@ -441,7 +441,7 @@ var T, Mt, ja = (Mt = class extends Lt {
441
441
  this.config = e, b(this, _, /* @__PURE__ */ new Map()), b(this, he, Date.now());
442
442
  }
443
443
  build(e, n, r) {
444
- const a = new Pr({
444
+ const a = new Rr({
445
445
  mutationCache: this,
446
446
  mutationId: ++Me(this, he)._,
447
447
  options: e.defaultMutationOptions(n),
@@ -485,11 +485,11 @@ var T, Mt, ja = (Mt = class extends Lt {
485
485
  find(e) {
486
486
  const n = { exact: !0, ...e };
487
487
  return this.getAll().find(
488
- (r) => pt(n, r)
488
+ (r) => ft(n, r)
489
489
  );
490
490
  }
491
491
  findAll(e = {}) {
492
- return this.getAll().filter((n) => pt(e, n));
492
+ return this.getAll().filter((n) => ft(e, n));
493
493
  }
494
494
  notify(e) {
495
495
  E.batch(() => {
@@ -506,12 +506,12 @@ var T, Mt, ja = (Mt = class extends Lt {
506
506
  )
507
507
  );
508
508
  }
509
- }, _ = new WeakMap(), he = new WeakMap(), bt);
509
+ }, _ = new WeakMap(), he = new WeakMap(), Ct);
510
510
  function Ce(t) {
511
511
  var e;
512
512
  return ((e = t.options.scope) == null ? void 0 : e.id) ?? String(t.mutationId);
513
513
  }
514
- function Aa(t) {
514
+ function Ia(t) {
515
515
  return {
516
516
  onFetch: (e, n) => {
517
517
  const r = async () => {
@@ -525,7 +525,7 @@ function Aa(t) {
525
525
  l = !0;
526
526
  }), e.signal)
527
527
  });
528
- }, d = Xr(e.options, e.fetchOptions), f = async (M, A, L) => {
528
+ }, d = Wr(e.options, e.fetchOptions), f = async (M, A, L) => {
529
529
  if (l)
530
530
  return Promise.reject();
531
531
  if (A == null && M.pages.length)
@@ -539,7 +539,7 @@ function Aa(t) {
539
539
  m(Y);
540
540
  const Z = await d(
541
541
  Y
542
- ), { maxPages: ye } = e.options, X = L ? Wr : Jr;
542
+ ), { maxPages: ye } = e.options, X = L ? Jr : Zr;
543
543
  return {
544
544
  pages: X(M.pages, Z, ye),
545
545
  pageParams: X(M.pageParams, A, ye)
@@ -547,7 +547,7 @@ function Aa(t) {
547
547
  };
548
548
  let v;
549
549
  if (s && i.length) {
550
- const M = s === "backward", A = M ? Ia : yt, L = {
550
+ const M = s === "backward", A = M ? Oa : wt, L = {
551
551
  pages: i,
552
552
  pageParams: u
553
553
  }, Y = A(a, L);
@@ -559,7 +559,7 @@ function Aa(t) {
559
559
  );
560
560
  const M = t ?? i.length;
561
561
  for (let A = 1; A < M; A++) {
562
- const L = yt(a, v);
562
+ const L = wt(a, v);
563
563
  v = await f(v, L);
564
564
  }
565
565
  }
@@ -581,7 +581,7 @@ function Aa(t) {
581
581
  }
582
582
  };
583
583
  }
584
- function yt(t, { pages: e, pageParams: n }) {
584
+ function wt(t, { pages: e, pageParams: n }) {
585
585
  const r = e.length - 1;
586
586
  return t.getNextPageParam(
587
587
  e[r],
@@ -590,7 +590,7 @@ function yt(t, { pages: e, pageParams: n }) {
590
590
  n
591
591
  );
592
592
  }
593
- function Ia(t, { pages: e, pageParams: n }) {
593
+ function Oa(t, { pages: e, pageParams: n }) {
594
594
  var r;
595
595
  return (r = t.getPreviousPageParam) == null ? void 0 : r.call(
596
596
  t,
@@ -600,7 +600,7 @@ function Ia(t, { pages: e, pageParams: n }) {
600
600
  n
601
601
  );
602
602
  }
603
- var w, G, H, ne, re, q, ae, oe, Ct, Oa = (Ct = class {
603
+ var w, G, H, ne, re, q, ae, oe, Pt, Ta = (Pt = class {
604
604
  constructor(t = {}) {
605
605
  j(this, w);
606
606
  j(this, G);
@@ -610,12 +610,12 @@ var w, G, H, ne, re, q, ae, oe, Ct, Oa = (Ct = class {
610
610
  j(this, q);
611
611
  j(this, ae);
612
612
  j(this, oe);
613
- b(this, w, t.queryCache || new ja()), b(this, G, t.mutationCache || new Da()), b(this, H, t.defaultOptions || {}), b(this, ne, /* @__PURE__ */ new Map()), b(this, re, /* @__PURE__ */ new Map()), b(this, q, 0);
613
+ b(this, w, t.queryCache || new Da()), b(this, G, t.mutationCache || new Aa()), b(this, H, t.defaultOptions || {}), b(this, ne, /* @__PURE__ */ new Map()), b(this, re, /* @__PURE__ */ new Map()), b(this, q, 0);
614
614
  }
615
615
  mount() {
616
- Me(this, q)._++, p(this, q) === 1 && (b(this, ae, Zr.subscribe(async (t) => {
616
+ Me(this, q)._++, p(this, q) === 1 && (b(this, ae, ea.subscribe(async (t) => {
617
617
  t && (await this.resumePausedMutations(), p(this, w).onFocus());
618
- })), b(this, oe, ft.subscribe(async (t) => {
618
+ })), b(this, oe, mt.subscribe(async (t) => {
619
619
  t && (await this.resumePausedMutations(), p(this, w).onOnline());
620
620
  })));
621
621
  }
@@ -640,7 +640,7 @@ var w, G, H, ne, re, q, ae, oe, Ct, Oa = (Ct = class {
640
640
  return this.fetchQuery(t);
641
641
  {
642
642
  const n = this.defaultQueryOptions(t), r = p(this, w).build(this, n);
643
- return t.revalidateIfStale && r.isStaleByTime(mt(n.staleTime, r)) && this.prefetchQuery(n), Promise.resolve(e);
643
+ return t.revalidateIfStale && r.isStaleByTime(gt(n.staleTime, r)) && this.prefetchQuery(n), Promise.resolve(e);
644
644
  }
645
645
  }
646
646
  getQueriesData(t) {
@@ -652,7 +652,7 @@ var w, G, H, ne, re, q, ae, oe, Ct, Oa = (Ct = class {
652
652
  setQueryData(t, e, n) {
653
653
  const r = this.defaultQueryOptions({ queryKey: t }), a = p(this, w).get(
654
654
  r.queryHash
655
- ), s = a == null ? void 0 : a.state.data, i = ea(e, s);
655
+ ), s = a == null ? void 0 : a.state.data, i = ta(e, s);
656
656
  if (i !== void 0)
657
657
  return p(this, w).build(this, r).setData(i, { ...n, manual: !0 });
658
658
  }
@@ -722,20 +722,20 @@ var w, G, H, ne, re, q, ae, oe, Ct, Oa = (Ct = class {
722
722
  e.retry === void 0 && (e.retry = !1);
723
723
  const n = p(this, w).build(this, e);
724
724
  return n.isStaleByTime(
725
- mt(e.staleTime, n)
725
+ gt(e.staleTime, n)
726
726
  ) ? n.fetch(e) : Promise.resolve(n.state.data);
727
727
  }
728
728
  prefetchQuery(t) {
729
729
  return this.fetchQuery(t).then($).catch($);
730
730
  }
731
731
  fetchInfiniteQuery(t) {
732
- return t.behavior = Aa(t.pages), this.fetchQuery(t);
732
+ return t.behavior = Ia(t.pages), this.fetchQuery(t);
733
733
  }
734
734
  prefetchInfiniteQuery(t) {
735
735
  return this.fetchInfiniteQuery(t).then($).catch($);
736
736
  }
737
737
  resumePausedMutations() {
738
- return ft.isOnline() ? p(this, G).resumePausedMutations() : Promise.resolve();
738
+ return mt.isOnline() ? p(this, G).resumePausedMutations() : Promise.resolve();
739
739
  }
740
740
  getQueryCache() {
741
741
  return p(this, w);
@@ -750,7 +750,7 @@ var w, G, H, ne, re, q, ae, oe, Ct, Oa = (Ct = class {
750
750
  b(this, H, t);
751
751
  }
752
752
  setQueryDefaults(t, e) {
753
- p(this, ne).set(gt(t), {
753
+ p(this, ne).set(vt(t), {
754
754
  queryKey: t,
755
755
  defaultOptions: e
756
756
  });
@@ -759,11 +759,11 @@ var w, G, H, ne, re, q, ae, oe, Ct, Oa = (Ct = class {
759
759
  const e = [...p(this, ne).values()];
760
760
  let n = {};
761
761
  return e.forEach((r) => {
762
- vt(t, r.queryKey) && (n = { ...n, ...r.defaultOptions });
762
+ xt(t, r.queryKey) && (n = { ...n, ...r.defaultOptions });
763
763
  }), n;
764
764
  }
765
765
  setMutationDefaults(t, e) {
766
- p(this, re).set(gt(t), {
766
+ p(this, re).set(vt(t), {
767
767
  mutationKey: t,
768
768
  defaultOptions: e
769
769
  });
@@ -772,7 +772,7 @@ var w, G, H, ne, re, q, ae, oe, Ct, Oa = (Ct = class {
772
772
  const e = [...p(this, re).values()];
773
773
  let n = {};
774
774
  return e.forEach((r) => {
775
- vt(t, r.mutationKey) && (n = { ...n, ...r.defaultOptions });
775
+ xt(t, r.mutationKey) && (n = { ...n, ...r.defaultOptions });
776
776
  }), n;
777
777
  }
778
778
  defaultQueryOptions(t) {
@@ -784,10 +784,10 @@ var w, G, H, ne, re, q, ae, oe, Ct, Oa = (Ct = class {
784
784
  ...t,
785
785
  _defaulted: !0
786
786
  };
787
- return e.queryHash || (e.queryHash = Kt(
787
+ return e.queryHash || (e.queryHash = $t(
788
788
  e.queryKey,
789
789
  e
790
- )), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.enabled !== !0 && e.queryFn === ta && (e.enabled = !1), e;
790
+ )), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.enabled !== !0 && e.queryFn === na && (e.enabled = !1), e;
791
791
  }
792
792
  defaultMutationOptions(t) {
793
793
  return t != null && t._defaulted ? t : {
@@ -800,12 +800,12 @@ var w, G, H, ne, re, q, ae, oe, Ct, Oa = (Ct = class {
800
800
  clear() {
801
801
  p(this, w).clear(), p(this, G).clear();
802
802
  }
803
- }, w = new WeakMap(), G = new WeakMap(), H = new WeakMap(), ne = new WeakMap(), re = new WeakMap(), q = new WeakMap(), ae = new WeakMap(), oe = new WeakMap(), Ct);
804
- const Ta = At(null), ke = {
803
+ }, w = new WeakMap(), G = new WeakMap(), H = new WeakMap(), ne = new WeakMap(), re = new WeakMap(), q = new WeakMap(), ae = new WeakMap(), oe = new WeakMap(), Pt);
804
+ const ka = It(null), ke = {
805
805
  didCatch: !1,
806
806
  error: null
807
807
  };
808
- class ka extends Kr {
808
+ class Fa extends $r {
809
809
  constructor(e) {
810
810
  super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = ke;
811
811
  }
@@ -838,7 +838,7 @@ class ka extends Kr {
838
838
  } = this.state, {
839
839
  resetKeys: a
840
840
  } = this.props;
841
- if (r && n.error !== null && Fa(e.resetKeys, a)) {
841
+ if (r && n.error !== null && La(e.resetKeys, a)) {
842
842
  var s, i;
843
843
  (s = (i = this.props).onReset) === null || s === void 0 || s.call(i, {
844
844
  next: a,
@@ -866,13 +866,13 @@ class ka extends Kr {
866
866
  if (typeof n == "function")
867
867
  u = n(h);
868
868
  else if (r)
869
- u = dt(r, h);
870
- else if (a === null || $r(a))
869
+ u = ht(r, h);
870
+ else if (a === null || Br(a))
871
871
  u = a;
872
872
  else
873
873
  throw i;
874
874
  }
875
- return dt(Ta.Provider, {
875
+ return ht(ka.Provider, {
876
876
  value: {
877
877
  didCatch: s,
878
878
  error: i,
@@ -881,12 +881,12 @@ class ka extends Kr {
881
881
  }, u);
882
882
  }
883
883
  }
884
- function Fa() {
884
+ function La() {
885
885
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
886
886
  return t.length !== e.length || t.some((n, r) => !Object.is(n, e[r]));
887
887
  }
888
- const La = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems == "function", Ka = (t) => "getRoutes" in t && typeof t.getRoutes == "function", $a = (t) => "initialize" in t && typeof t.initialize == "function", Ba = (t) => "getHead" in t && typeof t.getHead == "function", Qa = (t) => "getIdentities" in t && typeof t.getIdentities == "function", Gt = new Oa();
889
- class Ua {
888
+ const Ka = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems == "function", $a = (t) => "getRoutes" in t && typeof t.getRoutes == "function", Ba = (t) => "initialize" in t && typeof t.initialize == "function", Qa = (t) => "getHead" in t && typeof t.getHead == "function", Ua = (t) => "getIdentities" in t && typeof t.getIdentities == "function", Ht = new Ta();
889
+ class Ga {
890
890
  constructor(e) {
891
891
  N(this, "plugins", []);
892
892
  N(this, "navigation");
@@ -896,17 +896,17 @@ class Ua {
896
896
  N(this, "navigationPlugins");
897
897
  N(this, "initialize", async () => {
898
898
  await Promise.all([
899
- this.plugins.filter($a).map((e) => {
899
+ this.plugins.filter(Ba).map((e) => {
900
900
  var n;
901
901
  return (n = e.initialize) == null ? void 0 : n.call(e, this);
902
902
  })
903
903
  ]);
904
904
  });
905
905
  N(this, "invalidateCache", async (e) => {
906
- await Gt.invalidateQueries({ queryKey: e });
906
+ await Ht.invalidateQueries({ queryKey: e });
907
907
  });
908
908
  N(this, "getApiIdentities", async () => (await Promise.all(
909
- this.plugins.filter(Qa).map((n) => n.getIdentities(this))
909
+ this.plugins.filter(Ua).map((n) => n.getIdentities(this))
910
910
  )).flat());
911
911
  N(this, "getNavigation", async (e) => (await Promise.all(
912
912
  this.navigationPlugins.map(
@@ -922,24 +922,24 @@ class Ua {
922
922
  const n = await this.authentication.getAccessToken();
923
923
  return e.headers.set("Authorization", `Bearer ${n}`), e;
924
924
  });
925
- this.plugins = e.plugins ?? [], this.navigation = e.navigation, this.navigationPlugins = this.plugins.filter(Ka), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page;
925
+ this.plugins = e.plugins ?? [], this.navigation = e.navigation, this.navigationPlugins = this.plugins.filter($a), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page;
926
926
  }
927
927
  }
928
- function Ga({ error: t, resetErrorBoundary: e }) {
929
- return /* @__PURE__ */ o.jsx(Rt, { error: t });
928
+ function Ha({ error: t, resetErrorBoundary: e }) {
929
+ return /* @__PURE__ */ o.jsx(_t, { error: t });
930
930
  }
931
- var Be = ["Enter", " "], Ha = ["ArrowDown", "PageUp", "Home"], Ht = ["ArrowUp", "PageDown", "End"], qa = [...Ha, ...Ht], za = {
931
+ var Be = ["Enter", " "], qa = ["ArrowDown", "PageUp", "Home"], qt = ["ArrowUp", "PageDown", "End"], za = [...qa, ...qt], Va = {
932
932
  ltr: [...Be, "ArrowRight"],
933
933
  rtl: [...Be, "ArrowLeft"]
934
- }, Va = {
934
+ }, Ya = {
935
935
  ltr: ["ArrowLeft"],
936
936
  rtl: ["ArrowRight"]
937
- }, ge = "Menu", [le, Ya, Xa] = Rr(ge), [J, qt] = _t(ge, [
938
- Xa,
939
- Et,
940
- Ot
941
- ]), ve = Et(), zt = Ot(), [Vt, z] = J(ge), [Wa, xe] = J(ge), Yt = (t) => {
942
- const { __scopeMenu: e, open: n = !1, children: r, dir: a, onOpenChange: s, modal: i = !0 } = t, u = ve(e), [h, l] = c.useState(null), m = c.useRef(!1), d = Ge(s), f = kr(a);
937
+ }, ge = "Menu", [le, Xa, Wa] = _r(ge), [J, zt] = Et(ge, [
938
+ Wa,
939
+ St,
940
+ Tt
941
+ ]), ve = St(), Vt = Tt(), [Yt, z] = J(ge), [Ja, xe] = J(ge), Xt = (t) => {
942
+ const { __scopeMenu: e, open: n = !1, children: r, dir: a, onOpenChange: s, modal: i = !0 } = t, u = ve(e), [h, l] = c.useState(null), m = c.useRef(!1), d = Ge(s), f = Fr(a);
943
943
  return c.useEffect(() => {
944
944
  const v = () => {
945
945
  m.current = !0, document.addEventListener("pointerdown", x, { capture: !0, once: !0 }), document.addEventListener("pointermove", x, { capture: !0, once: !0 });
@@ -947,8 +947,8 @@ var Be = ["Enter", " "], Ha = ["ArrowDown", "PageUp", "Home"], Ht = ["ArrowUp",
947
947
  return document.addEventListener("keydown", v, { capture: !0 }), () => {
948
948
  document.removeEventListener("keydown", v, { capture: !0 }), document.removeEventListener("pointerdown", x, { capture: !0 }), document.removeEventListener("pointermove", x, { capture: !0 });
949
949
  };
950
- }, []), /* @__PURE__ */ o.jsx(Nt, { ...u, children: /* @__PURE__ */ o.jsx(
951
- Vt,
950
+ }, []), /* @__PURE__ */ o.jsx(jt, { ...u, children: /* @__PURE__ */ o.jsx(
951
+ Yt,
952
952
  {
953
953
  scope: e,
954
954
  open: n,
@@ -956,7 +956,7 @@ var Be = ["Enter", " "], Ha = ["ArrowDown", "PageUp", "Home"], Ht = ["ArrowUp",
956
956
  content: h,
957
957
  onContentChange: l,
958
958
  children: /* @__PURE__ */ o.jsx(
959
- Wa,
959
+ Ja,
960
960
  {
961
961
  scope: e,
962
962
  onClose: c.useCallback(() => d(!1), [d]),
@@ -969,32 +969,32 @@ var Be = ["Enter", " "], Ha = ["ArrowDown", "PageUp", "Home"], Ht = ["ArrowUp",
969
969
  }
970
970
  ) });
971
971
  };
972
- Yt.displayName = ge;
973
- var Ja = "MenuAnchor", Xe = c.forwardRef(
972
+ Xt.displayName = ge;
973
+ var Za = "MenuAnchor", Xe = c.forwardRef(
974
974
  (t, e) => {
975
975
  const { __scopeMenu: n, ...r } = t, a = ve(n);
976
- return /* @__PURE__ */ o.jsx(_r, { ...a, ...r, ref: e });
976
+ return /* @__PURE__ */ o.jsx(Er, { ...a, ...r, ref: e });
977
977
  }
978
978
  );
979
- Xe.displayName = Ja;
980
- var We = "MenuPortal", [Za, Xt] = J(We, {
979
+ Xe.displayName = Za;
980
+ var We = "MenuPortal", [eo, Wt] = J(We, {
981
981
  forceMount: void 0
982
- }), Wt = (t) => {
982
+ }), Jt = (t) => {
983
983
  const { __scopeMenu: e, forceMount: n, children: r, container: a } = t, s = z(We, e);
984
- return /* @__PURE__ */ o.jsx(Za, { scope: e, forceMount: n, children: /* @__PURE__ */ o.jsx(je, { present: n || s.open, children: /* @__PURE__ */ o.jsx(Fr, { asChild: !0, container: a, children: r }) }) });
984
+ return /* @__PURE__ */ o.jsx(eo, { scope: e, forceMount: n, children: /* @__PURE__ */ o.jsx(je, { present: n || s.open, children: /* @__PURE__ */ o.jsx(Lr, { asChild: !0, container: a, children: r }) }) });
985
985
  };
986
- Wt.displayName = We;
987
- var D = "MenuContent", [eo, Je] = J(D), Jt = c.forwardRef(
986
+ Jt.displayName = We;
987
+ var D = "MenuContent", [to, Je] = J(D), Zt = c.forwardRef(
988
988
  (t, e) => {
989
- const n = Xt(D, t.__scopeMenu), { forceMount: r = n.forceMount, ...a } = t, s = z(D, t.__scopeMenu), i = xe(D, t.__scopeMenu);
990
- return /* @__PURE__ */ o.jsx(le.Provider, { scope: t.__scopeMenu, children: /* @__PURE__ */ o.jsx(je, { present: r || s.open, children: /* @__PURE__ */ o.jsx(le.Slot, { scope: t.__scopeMenu, children: i.modal ? /* @__PURE__ */ o.jsx(to, { ...a, ref: e }) : /* @__PURE__ */ o.jsx(no, { ...a, ref: e }) }) }) });
989
+ const n = Wt(D, t.__scopeMenu), { forceMount: r = n.forceMount, ...a } = t, s = z(D, t.__scopeMenu), i = xe(D, t.__scopeMenu);
990
+ return /* @__PURE__ */ o.jsx(le.Provider, { scope: t.__scopeMenu, children: /* @__PURE__ */ o.jsx(je, { present: r || s.open, children: /* @__PURE__ */ o.jsx(le.Slot, { scope: t.__scopeMenu, children: i.modal ? /* @__PURE__ */ o.jsx(no, { ...a, ref: e }) : /* @__PURE__ */ o.jsx(ro, { ...a, ref: e }) }) }) });
991
991
  }
992
- ), to = c.forwardRef(
992
+ ), no = c.forwardRef(
993
993
  (t, e) => {
994
994
  const n = z(D, t.__scopeMenu), r = c.useRef(null), a = fe(e, r);
995
995
  return c.useEffect(() => {
996
996
  const s = r.current;
997
- if (s) return Er(s);
997
+ if (s) return Sr(s);
998
998
  }, []), /* @__PURE__ */ o.jsx(
999
999
  Ze,
1000
1000
  {
@@ -1012,7 +1012,7 @@ var D = "MenuContent", [eo, Je] = J(D), Jt = c.forwardRef(
1012
1012
  }
1013
1013
  );
1014
1014
  }
1015
- ), no = c.forwardRef((t, e) => {
1015
+ ), ro = c.forwardRef((t, e) => {
1016
1016
  const n = z(D, t.__scopeMenu);
1017
1017
  return /* @__PURE__ */ o.jsx(
1018
1018
  Ze,
@@ -1042,20 +1042,20 @@ var D = "MenuContent", [eo, Je] = J(D), Jt = c.forwardRef(
1042
1042
  onDismiss: v,
1043
1043
  disableOutsideScroll: x,
1044
1044
  ...R
1045
- } = t, F = z(D, n), Q = xe(D, n), V = ve(n), M = zt(n), A = Ya(n), [L, Y] = c.useState(null), Z = c.useRef(null), ye = fe(e, Z, F.onContentChange), X = c.useRef(0), we = c.useRef(""), er = c.useRef(0), Ae = c.useRef(null), ot = c.useRef("right"), Ie = c.useRef(0), tr = x ? Ir : c.Fragment, nr = x ? { as: Or, allowPinchZoom: !0 } : void 0, rr = (g) => {
1045
+ } = t, F = z(D, n), Q = xe(D, n), V = ve(n), M = Vt(n), A = Xa(n), [L, Y] = c.useState(null), Z = c.useRef(null), ye = fe(e, Z, F.onContentChange), X = c.useRef(0), we = c.useRef(""), tr = c.useRef(0), Ae = c.useRef(null), ot = c.useRef("right"), Ie = c.useRef(0), nr = x ? Or : c.Fragment, rr = x ? { as: Tr, allowPinchZoom: !0 } : void 0, ar = (g) => {
1046
1046
  var te, it;
1047
- const S = we.current + g, I = A().filter((K) => !K.disabled), U = document.activeElement, Oe = (te = I.find((K) => K.ref.current === U)) == null ? void 0 : te.textValue, Te = I.map((K) => K.textValue), st = mo(Te, S, Oe), ce = (it = I.find((K) => K.textValue === st)) == null ? void 0 : it.ref.current;
1047
+ const S = we.current + g, I = A().filter((K) => !K.disabled), U = document.activeElement, Oe = (te = I.find((K) => K.ref.current === U)) == null ? void 0 : te.textValue, Te = I.map((K) => K.textValue), st = go(Te, S, Oe), ce = (it = I.find((K) => K.textValue === st)) == null ? void 0 : it.ref.current;
1048
1048
  (function K(ct) {
1049
1049
  we.current = ct, window.clearTimeout(X.current), ct !== "" && (X.current = window.setTimeout(() => K(""), 1e3));
1050
1050
  })(S), ce && setTimeout(() => ce.focus());
1051
1051
  };
1052
- c.useEffect(() => () => window.clearTimeout(X.current), []), Sr();
1052
+ c.useEffect(() => () => window.clearTimeout(X.current), []), Nr();
1053
1053
  const ee = c.useCallback((g) => {
1054
1054
  var I, U;
1055
- return ot.current === ((I = Ae.current) == null ? void 0 : I.side) && vo(g, (U = Ae.current) == null ? void 0 : U.area);
1055
+ return ot.current === ((I = Ae.current) == null ? void 0 : I.side) && xo(g, (U = Ae.current) == null ? void 0 : U.area);
1056
1056
  }, []);
1057
1057
  return /* @__PURE__ */ o.jsx(
1058
- eo,
1058
+ to,
1059
1059
  {
1060
1060
  scope: n,
1061
1061
  searchRef: we,
@@ -1078,12 +1078,12 @@ var D = "MenuContent", [eo, Je] = J(D), Jt = c.forwardRef(
1078
1078
  },
1079
1079
  [ee]
1080
1080
  ),
1081
- pointerGraceTimerRef: er,
1081
+ pointerGraceTimerRef: tr,
1082
1082
  onPointerGraceIntentChange: c.useCallback((g) => {
1083
1083
  Ae.current = g;
1084
1084
  }, []),
1085
- children: /* @__PURE__ */ o.jsx(tr, { ...nr, children: /* @__PURE__ */ o.jsx(
1086
- Nr,
1085
+ children: /* @__PURE__ */ o.jsx(nr, { ...rr, children: /* @__PURE__ */ o.jsx(
1086
+ jr,
1087
1087
  {
1088
1088
  asChild: !0,
1089
1089
  trapped: a,
@@ -1093,7 +1093,7 @@ var D = "MenuContent", [eo, Je] = J(D), Jt = c.forwardRef(
1093
1093
  }),
1094
1094
  onUnmountAutoFocus: i,
1095
1095
  children: /* @__PURE__ */ o.jsx(
1096
- jr,
1096
+ Dr,
1097
1097
  {
1098
1098
  asChild: !0,
1099
1099
  disableOutsidePointerEvents: u,
@@ -1103,7 +1103,7 @@ var D = "MenuContent", [eo, Je] = J(D), Jt = c.forwardRef(
1103
1103
  onInteractOutside: f,
1104
1104
  onDismiss: v,
1105
1105
  children: /* @__PURE__ */ o.jsx(
1106
- qr,
1106
+ zr,
1107
1107
  {
1108
1108
  asChild: !0,
1109
1109
  ...M,
@@ -1117,11 +1117,11 @@ var D = "MenuContent", [eo, Je] = J(D), Jt = c.forwardRef(
1117
1117
  }),
1118
1118
  preventScrollOnEntryFocus: !0,
1119
1119
  children: /* @__PURE__ */ o.jsx(
1120
- Dr,
1120
+ Ar,
1121
1121
  {
1122
1122
  role: "menu",
1123
1123
  "aria-orientation": "vertical",
1124
- "data-state": gn(F.open),
1124
+ "data-state": vn(F.open),
1125
1125
  "data-radix-menu-content": "",
1126
1126
  dir: Q.dir,
1127
1127
  ...V,
@@ -1130,12 +1130,12 @@ var D = "MenuContent", [eo, Je] = J(D), Jt = c.forwardRef(
1130
1130
  style: { outline: "none", ...R.style },
1131
1131
  onKeyDown: y(R.onKeyDown, (g) => {
1132
1132
  const I = g.target.closest("[data-radix-menu-content]") === g.currentTarget, U = g.ctrlKey || g.altKey || g.metaKey, Oe = g.key.length === 1;
1133
- I && (g.key === "Tab" && g.preventDefault(), !U && Oe && rr(g.key));
1133
+ I && (g.key === "Tab" && g.preventDefault(), !U && Oe && ar(g.key));
1134
1134
  const Te = Z.current;
1135
- if (g.target !== Te || !qa.includes(g.key)) return;
1135
+ if (g.target !== Te || !za.includes(g.key)) return;
1136
1136
  g.preventDefault();
1137
1137
  const ce = A().filter((te) => !te.disabled).map((te) => te.ref.current);
1138
- Ht.includes(g.key) && ce.reverse(), po(ce);
1138
+ qt.includes(g.key) && ce.reverse(), fo(ce);
1139
1139
  }),
1140
1140
  onBlur: y(t.onBlur, (g) => {
1141
1141
  g.currentTarget.contains(g.target) || (window.clearTimeout(X.current), we.current = "");
@@ -1162,32 +1162,32 @@ var D = "MenuContent", [eo, Je] = J(D), Jt = c.forwardRef(
1162
1162
  );
1163
1163
  }
1164
1164
  );
1165
- Jt.displayName = D;
1166
- var ro = "MenuGroup", et = c.forwardRef(
1165
+ Zt.displayName = D;
1166
+ var ao = "MenuGroup", et = c.forwardRef(
1167
1167
  (t, e) => {
1168
1168
  const { __scopeMenu: n, ...r } = t;
1169
1169
  return /* @__PURE__ */ o.jsx(ie.div, { role: "group", ...r, ref: e });
1170
1170
  }
1171
1171
  );
1172
- et.displayName = ro;
1173
- var ao = "MenuLabel", Zt = c.forwardRef(
1172
+ et.displayName = ao;
1173
+ var oo = "MenuLabel", en = c.forwardRef(
1174
1174
  (t, e) => {
1175
1175
  const { __scopeMenu: n, ...r } = t;
1176
1176
  return /* @__PURE__ */ o.jsx(ie.div, { ...r, ref: e });
1177
1177
  }
1178
1178
  );
1179
- Zt.displayName = ao;
1180
- var Ee = "MenuItem", wt = "menu.itemSelect", De = c.forwardRef(
1179
+ en.displayName = oo;
1180
+ var Ee = "MenuItem", Mt = "menu.itemSelect", De = c.forwardRef(
1181
1181
  (t, e) => {
1182
1182
  const { disabled: n = !1, onSelect: r, ...a } = t, s = c.useRef(null), i = xe(Ee, t.__scopeMenu), u = Je(Ee, t.__scopeMenu), h = fe(e, s), l = c.useRef(!1), m = () => {
1183
1183
  const d = s.current;
1184
1184
  if (!n && d) {
1185
- const f = new CustomEvent(wt, { bubbles: !0, cancelable: !0 });
1186
- d.addEventListener(wt, (v) => r == null ? void 0 : r(v), { once: !0 }), Tr(d, f), f.defaultPrevented ? l.current = !1 : i.onClose();
1185
+ const f = new CustomEvent(Mt, { bubbles: !0, cancelable: !0 });
1186
+ d.addEventListener(Mt, (v) => r == null ? void 0 : r(v), { once: !0 }), kr(d, f), f.defaultPrevented ? l.current = !1 : i.onClose();
1187
1187
  }
1188
1188
  };
1189
1189
  return /* @__PURE__ */ o.jsx(
1190
- en,
1190
+ tn,
1191
1191
  {
1192
1192
  ...a,
1193
1193
  ref: h,
@@ -1210,9 +1210,9 @@ var Ee = "MenuItem", wt = "menu.itemSelect", De = c.forwardRef(
1210
1210
  }
1211
1211
  );
1212
1212
  De.displayName = Ee;
1213
- var en = c.forwardRef(
1213
+ var tn = c.forwardRef(
1214
1214
  (t, e) => {
1215
- const { __scopeMenu: n, disabled: r = !1, textValue: a, ...s } = t, i = Je(Ee, n), u = zt(n), h = c.useRef(null), l = fe(e, h), [m, d] = c.useState(!1), [f, v] = c.useState("");
1215
+ const { __scopeMenu: n, disabled: r = !1, textValue: a, ...s } = t, i = Je(Ee, n), u = Vt(n), h = c.useRef(null), l = fe(e, h), [m, d] = c.useState(!1), [f, v] = c.useState("");
1216
1216
  return c.useEffect(() => {
1217
1217
  const x = h.current;
1218
1218
  x && v((x.textContent ?? "").trim());
@@ -1222,7 +1222,7 @@ var en = c.forwardRef(
1222
1222
  scope: n,
1223
1223
  disabled: r,
1224
1224
  textValue: a ?? f,
1225
- children: /* @__PURE__ */ o.jsx(zr, { asChild: !0, ...u, focusable: !r, children: /* @__PURE__ */ o.jsx(
1225
+ children: /* @__PURE__ */ o.jsx(Vr, { asChild: !0, ...u, focusable: !r, children: /* @__PURE__ */ o.jsx(
1226
1226
  ie.div,
1227
1227
  {
1228
1228
  role: "menuitem",
@@ -1248,10 +1248,10 @@ var en = c.forwardRef(
1248
1248
  }
1249
1249
  );
1250
1250
  }
1251
- ), oo = "MenuCheckboxItem", tn = c.forwardRef(
1251
+ ), so = "MenuCheckboxItem", nn = c.forwardRef(
1252
1252
  (t, e) => {
1253
1253
  const { checked: n = !1, onCheckedChange: r, ...a } = t;
1254
- return /* @__PURE__ */ o.jsx(sn, { scope: t.__scopeMenu, checked: n, children: /* @__PURE__ */ o.jsx(
1254
+ return /* @__PURE__ */ o.jsx(cn, { scope: t.__scopeMenu, checked: n, children: /* @__PURE__ */ o.jsx(
1255
1255
  De,
1256
1256
  {
1257
1257
  role: "menuitemcheckbox",
@@ -1268,22 +1268,22 @@ var en = c.forwardRef(
1268
1268
  ) });
1269
1269
  }
1270
1270
  );
1271
- tn.displayName = oo;
1272
- var nn = "MenuRadioGroup", [so, io] = J(
1273
- nn,
1271
+ nn.displayName = so;
1272
+ var rn = "MenuRadioGroup", [io, co] = J(
1273
+ rn,
1274
1274
  { value: void 0, onValueChange: () => {
1275
1275
  } }
1276
- ), rn = c.forwardRef(
1276
+ ), an = c.forwardRef(
1277
1277
  (t, e) => {
1278
1278
  const { value: n, onValueChange: r, ...a } = t, s = Ge(r);
1279
- return /* @__PURE__ */ o.jsx(so, { scope: t.__scopeMenu, value: n, onValueChange: s, children: /* @__PURE__ */ o.jsx(et, { ...a, ref: e }) });
1279
+ return /* @__PURE__ */ o.jsx(io, { scope: t.__scopeMenu, value: n, onValueChange: s, children: /* @__PURE__ */ o.jsx(et, { ...a, ref: e }) });
1280
1280
  }
1281
1281
  );
1282
- rn.displayName = nn;
1283
- var an = "MenuRadioItem", on = c.forwardRef(
1282
+ an.displayName = rn;
1283
+ var on = "MenuRadioItem", sn = c.forwardRef(
1284
1284
  (t, e) => {
1285
- const { value: n, ...r } = t, a = io(an, t.__scopeMenu), s = n === a.value;
1286
- return /* @__PURE__ */ o.jsx(sn, { scope: t.__scopeMenu, checked: s, children: /* @__PURE__ */ o.jsx(
1285
+ const { value: n, ...r } = t, a = co(on, t.__scopeMenu), s = n === a.value;
1286
+ return /* @__PURE__ */ o.jsx(cn, { scope: t.__scopeMenu, checked: s, children: /* @__PURE__ */ o.jsx(
1287
1287
  De,
1288
1288
  {
1289
1289
  role: "menuitemradio",
@@ -1303,13 +1303,13 @@ var an = "MenuRadioItem", on = c.forwardRef(
1303
1303
  ) });
1304
1304
  }
1305
1305
  );
1306
- on.displayName = an;
1307
- var tt = "MenuItemIndicator", [sn, co] = J(
1306
+ sn.displayName = on;
1307
+ var tt = "MenuItemIndicator", [cn, uo] = J(
1308
1308
  tt,
1309
1309
  { checked: !1 }
1310
- ), cn = c.forwardRef(
1310
+ ), un = c.forwardRef(
1311
1311
  (t, e) => {
1312
- const { __scopeMenu: n, forceMount: r, ...a } = t, s = co(tt, n);
1312
+ const { __scopeMenu: n, forceMount: r, ...a } = t, s = uo(tt, n);
1313
1313
  return /* @__PURE__ */ o.jsx(
1314
1314
  je,
1315
1315
  {
@@ -1326,8 +1326,8 @@ var tt = "MenuItemIndicator", [sn, co] = J(
1326
1326
  );
1327
1327
  }
1328
1328
  );
1329
- cn.displayName = tt;
1330
- var uo = "MenuSeparator", un = c.forwardRef(
1329
+ un.displayName = tt;
1330
+ var lo = "MenuSeparator", ln = c.forwardRef(
1331
1331
  (t, e) => {
1332
1332
  const { __scopeMenu: n, ...r } = t;
1333
1333
  return /* @__PURE__ */ o.jsx(
@@ -1341,18 +1341,18 @@ var uo = "MenuSeparator", un = c.forwardRef(
1341
1341
  );
1342
1342
  }
1343
1343
  );
1344
- un.displayName = uo;
1345
- var lo = "MenuArrow", ln = c.forwardRef(
1344
+ ln.displayName = lo;
1345
+ var ho = "MenuArrow", dn = c.forwardRef(
1346
1346
  (t, e) => {
1347
1347
  const { __scopeMenu: n, ...r } = t, a = ve(n);
1348
- return /* @__PURE__ */ o.jsx(Ar, { ...a, ...r, ref: e });
1348
+ return /* @__PURE__ */ o.jsx(Ir, { ...a, ...r, ref: e });
1349
1349
  }
1350
1350
  );
1351
- ln.displayName = lo;
1352
- var nt = "MenuSub", [ho, dn] = J(nt), hn = (t) => {
1351
+ dn.displayName = ho;
1352
+ var nt = "MenuSub", [po, hn] = J(nt), pn = (t) => {
1353
1353
  const { __scopeMenu: e, children: n, open: r = !1, onOpenChange: a } = t, s = z(nt, e), i = ve(e), [u, h] = c.useState(null), [l, m] = c.useState(null), d = Ge(a);
1354
- return c.useEffect(() => (s.open === !1 && d(!1), () => d(!1)), [s.open, d]), /* @__PURE__ */ o.jsx(Nt, { ...i, children: /* @__PURE__ */ o.jsx(
1355
- Vt,
1354
+ return c.useEffect(() => (s.open === !1 && d(!1), () => d(!1)), [s.open, d]), /* @__PURE__ */ o.jsx(jt, { ...i, children: /* @__PURE__ */ o.jsx(
1355
+ Yt,
1356
1356
  {
1357
1357
  scope: e,
1358
1358
  open: r,
@@ -1360,7 +1360,7 @@ var nt = "MenuSub", [ho, dn] = J(nt), hn = (t) => {
1360
1360
  content: l,
1361
1361
  onContentChange: m,
1362
1362
  children: /* @__PURE__ */ o.jsx(
1363
- ho,
1363
+ po,
1364
1364
  {
1365
1365
  scope: e,
1366
1366
  contentId: _e(),
@@ -1373,10 +1373,10 @@ var nt = "MenuSub", [ho, dn] = J(nt), hn = (t) => {
1373
1373
  }
1374
1374
  ) });
1375
1375
  };
1376
- hn.displayName = nt;
1377
- var ue = "MenuSubTrigger", pn = c.forwardRef(
1376
+ pn.displayName = nt;
1377
+ var ue = "MenuSubTrigger", fn = c.forwardRef(
1378
1378
  (t, e) => {
1379
- const n = z(ue, t.__scopeMenu), r = xe(ue, t.__scopeMenu), a = dn(ue, t.__scopeMenu), s = Je(ue, t.__scopeMenu), i = c.useRef(null), { pointerGraceTimerRef: u, onPointerGraceIntentChange: h } = s, l = { __scopeMenu: t.__scopeMenu }, m = c.useCallback(() => {
1379
+ const n = z(ue, t.__scopeMenu), r = xe(ue, t.__scopeMenu), a = hn(ue, t.__scopeMenu), s = Je(ue, t.__scopeMenu), i = c.useRef(null), { pointerGraceTimerRef: u, onPointerGraceIntentChange: h } = s, l = { __scopeMenu: t.__scopeMenu }, m = c.useCallback(() => {
1380
1380
  i.current && window.clearTimeout(i.current), i.current = null;
1381
1381
  }, []);
1382
1382
  return c.useEffect(() => m, [m]), c.useEffect(() => {
@@ -1385,15 +1385,15 @@ var ue = "MenuSubTrigger", pn = c.forwardRef(
1385
1385
  window.clearTimeout(d), h(null);
1386
1386
  };
1387
1387
  }, [u, h]), /* @__PURE__ */ o.jsx(Xe, { asChild: !0, ...l, children: /* @__PURE__ */ o.jsx(
1388
- en,
1388
+ tn,
1389
1389
  {
1390
1390
  id: a.triggerId,
1391
1391
  "aria-haspopup": "menu",
1392
1392
  "aria-expanded": n.open,
1393
1393
  "aria-controls": a.contentId,
1394
- "data-state": gn(n.open),
1394
+ "data-state": vn(n.open),
1395
1395
  ...t,
1396
- ref: St(e, a.onTriggerChange),
1396
+ ref: Nt(e, a.onTriggerChange),
1397
1397
  onClick: (d) => {
1398
1398
  var f;
1399
1399
  (f = t.onClick) == null || f.call(t, d), !(t.disabled || d.defaultPrevented) && (d.currentTarget.focus(), n.open || n.onOpenChange(!0));
@@ -1438,16 +1438,16 @@ var ue = "MenuSubTrigger", pn = c.forwardRef(
1438
1438
  onKeyDown: y(t.onKeyDown, (d) => {
1439
1439
  var v;
1440
1440
  const f = s.searchRef.current !== "";
1441
- t.disabled || f && d.key === " " || za[r.dir].includes(d.key) && (n.onOpenChange(!0), (v = n.content) == null || v.focus(), d.preventDefault());
1441
+ t.disabled || f && d.key === " " || Va[r.dir].includes(d.key) && (n.onOpenChange(!0), (v = n.content) == null || v.focus(), d.preventDefault());
1442
1442
  })
1443
1443
  }
1444
1444
  ) });
1445
1445
  }
1446
1446
  );
1447
- pn.displayName = ue;
1448
- var fn = "MenuSubContent", mn = c.forwardRef(
1447
+ fn.displayName = ue;
1448
+ var mn = "MenuSubContent", gn = c.forwardRef(
1449
1449
  (t, e) => {
1450
- const n = Xt(D, t.__scopeMenu), { forceMount: r = n.forceMount, ...a } = t, s = z(D, t.__scopeMenu), i = xe(D, t.__scopeMenu), u = dn(fn, t.__scopeMenu), h = c.useRef(null), l = fe(e, h);
1450
+ const n = Wt(D, t.__scopeMenu), { forceMount: r = n.forceMount, ...a } = t, s = z(D, t.__scopeMenu), i = xe(D, t.__scopeMenu), u = hn(mn, t.__scopeMenu), h = c.useRef(null), l = fe(e, h);
1451
1451
  return /* @__PURE__ */ o.jsx(le.Provider, { scope: t.__scopeMenu, children: /* @__PURE__ */ o.jsx(je, { present: r || s.open, children: /* @__PURE__ */ o.jsx(le.Slot, { scope: t.__scopeMenu, children: /* @__PURE__ */ o.jsx(
1452
1452
  Ze,
1453
1453
  {
@@ -1473,15 +1473,15 @@ var fn = "MenuSubContent", mn = c.forwardRef(
1473
1473
  }),
1474
1474
  onKeyDown: y(t.onKeyDown, (m) => {
1475
1475
  var v;
1476
- const d = m.currentTarget.contains(m.target), f = Va[i.dir].includes(m.key);
1476
+ const d = m.currentTarget.contains(m.target), f = Ya[i.dir].includes(m.key);
1477
1477
  d && f && (s.onOpenChange(!1), (v = u.trigger) == null || v.focus(), m.preventDefault());
1478
1478
  })
1479
1479
  }
1480
1480
  ) }) }) });
1481
1481
  }
1482
1482
  );
1483
- mn.displayName = fn;
1484
- function gn(t) {
1483
+ gn.displayName = mn;
1484
+ function vn(t) {
1485
1485
  return t ? "open" : "closed";
1486
1486
  }
1487
1487
  function Se(t) {
@@ -1490,24 +1490,24 @@ function Se(t) {
1490
1490
  function rt(t) {
1491
1491
  return Se(t) ? "indeterminate" : t ? "checked" : "unchecked";
1492
1492
  }
1493
- function po(t) {
1493
+ function fo(t) {
1494
1494
  const e = document.activeElement;
1495
1495
  for (const n of t)
1496
1496
  if (n === e || (n.focus(), document.activeElement !== e)) return;
1497
1497
  }
1498
- function fo(t, e) {
1498
+ function mo(t, e) {
1499
1499
  return t.map((n, r) => t[(e + r) % t.length]);
1500
1500
  }
1501
- function mo(t, e, n) {
1501
+ function go(t, e, n) {
1502
1502
  const a = e.length > 1 && Array.from(e).every((l) => l === e[0]) ? e[0] : e, s = n ? t.indexOf(n) : -1;
1503
- let i = fo(t, Math.max(s, 0));
1503
+ let i = mo(t, Math.max(s, 0));
1504
1504
  a.length === 1 && (i = i.filter((l) => l !== n));
1505
1505
  const h = i.find(
1506
1506
  (l) => l.toLowerCase().startsWith(a.toLowerCase())
1507
1507
  );
1508
1508
  return h !== n ? h : void 0;
1509
1509
  }
1510
- function go(t, e) {
1510
+ function vo(t, e) {
1511
1511
  const { x: n, y: r } = t;
1512
1512
  let a = !1;
1513
1513
  for (let s = 0, i = e.length - 1; s < e.length; i = s++) {
@@ -1516,18 +1516,18 @@ function go(t, e) {
1516
1516
  }
1517
1517
  return a;
1518
1518
  }
1519
- function vo(t, e) {
1519
+ function xo(t, e) {
1520
1520
  if (!e) return !1;
1521
1521
  const n = { x: t.clientX, y: t.clientY };
1522
- return go(n, e);
1522
+ return vo(n, e);
1523
1523
  }
1524
1524
  function de(t) {
1525
1525
  return (e) => e.pointerType === "mouse" ? t(e) : void 0;
1526
1526
  }
1527
- var xo = Yt, yo = Xe, wo = Wt, Mo = Jt, bo = et, Co = Zt, Po = De, Ro = tn, _o = rn, Eo = on, So = cn, No = un, jo = ln, Do = hn, Ao = pn, Io = mn, at = "DropdownMenu", [Oo, js] = _t(
1527
+ var yo = Xt, wo = Xe, Mo = Jt, bo = Zt, Co = et, Po = en, Ro = De, _o = nn, Eo = an, So = sn, No = un, jo = ln, Do = dn, Ao = pn, Io = fn, Oo = gn, at = "DropdownMenu", [To, Ds] = Et(
1528
1528
  at,
1529
- [qt]
1530
- ), C = qt(), [To, vn] = Oo(at), xn = (t) => {
1529
+ [zt]
1530
+ ), C = zt(), [ko, xn] = To(at), yn = (t) => {
1531
1531
  const {
1532
1532
  __scopeDropdownMenu: e,
1533
1533
  children: n,
@@ -1536,13 +1536,13 @@ var xo = Yt, yo = Xe, wo = Wt, Mo = Jt, bo = et, Co = Zt, Po = De, Ro = tn, _o =
1536
1536
  defaultOpen: s,
1537
1537
  onOpenChange: i,
1538
1538
  modal: u = !0
1539
- } = t, h = C(e), l = c.useRef(null), [m = !1, d] = jt({
1539
+ } = t, h = C(e), l = c.useRef(null), [m = !1, d] = Dt({
1540
1540
  prop: a,
1541
1541
  defaultProp: s,
1542
1542
  onChange: i
1543
1543
  });
1544
1544
  return /* @__PURE__ */ o.jsx(
1545
- To,
1545
+ ko,
1546
1546
  {
1547
1547
  scope: e,
1548
1548
  triggerId: _e(),
@@ -1552,15 +1552,15 @@ var xo = Yt, yo = Xe, wo = Wt, Mo = Jt, bo = et, Co = Zt, Po = De, Ro = tn, _o =
1552
1552
  onOpenChange: d,
1553
1553
  onOpenToggle: c.useCallback(() => d((f) => !f), [d]),
1554
1554
  modal: u,
1555
- children: /* @__PURE__ */ o.jsx(xo, { ...h, open: m, onOpenChange: d, dir: r, modal: u, children: n })
1555
+ children: /* @__PURE__ */ o.jsx(yo, { ...h, open: m, onOpenChange: d, dir: r, modal: u, children: n })
1556
1556
  }
1557
1557
  );
1558
1558
  };
1559
- xn.displayName = at;
1560
- var yn = "DropdownMenuTrigger", wn = c.forwardRef(
1559
+ yn.displayName = at;
1560
+ var wn = "DropdownMenuTrigger", Mn = c.forwardRef(
1561
1561
  (t, e) => {
1562
- const { __scopeDropdownMenu: n, disabled: r = !1, ...a } = t, s = vn(yn, n), i = C(n);
1563
- return /* @__PURE__ */ o.jsx(yo, { asChild: !0, ...i, children: /* @__PURE__ */ o.jsx(
1562
+ const { __scopeDropdownMenu: n, disabled: r = !1, ...a } = t, s = xn(wn, n), i = C(n);
1563
+ return /* @__PURE__ */ o.jsx(wo, { asChild: !0, ...i, children: /* @__PURE__ */ o.jsx(
1564
1564
  ie.button,
1565
1565
  {
1566
1566
  type: "button",
@@ -1572,7 +1572,7 @@ var yn = "DropdownMenuTrigger", wn = c.forwardRef(
1572
1572
  "data-disabled": r ? "" : void 0,
1573
1573
  disabled: r,
1574
1574
  ...a,
1575
- ref: St(e, s.triggerRef),
1575
+ ref: Nt(e, s.triggerRef),
1576
1576
  onPointerDown: y(t.onPointerDown, (u) => {
1577
1577
  !r && u.button === 0 && u.ctrlKey === !1 && (s.onOpenToggle(), s.open || u.preventDefault());
1578
1578
  }),
@@ -1583,17 +1583,17 @@ var yn = "DropdownMenuTrigger", wn = c.forwardRef(
1583
1583
  ) });
1584
1584
  }
1585
1585
  );
1586
- wn.displayName = yn;
1587
- var ko = "DropdownMenuPortal", Mn = (t) => {
1586
+ Mn.displayName = wn;
1587
+ var Fo = "DropdownMenuPortal", bn = (t) => {
1588
1588
  const { __scopeDropdownMenu: e, ...n } = t, r = C(e);
1589
- return /* @__PURE__ */ o.jsx(wo, { ...r, ...n });
1589
+ return /* @__PURE__ */ o.jsx(Mo, { ...r, ...n });
1590
1590
  };
1591
- Mn.displayName = ko;
1592
- var bn = "DropdownMenuContent", Cn = c.forwardRef(
1591
+ bn.displayName = Fo;
1592
+ var Cn = "DropdownMenuContent", Pn = c.forwardRef(
1593
1593
  (t, e) => {
1594
- const { __scopeDropdownMenu: n, ...r } = t, a = vn(bn, n), s = C(n), i = c.useRef(!1);
1594
+ const { __scopeDropdownMenu: n, ...r } = t, a = xn(Cn, n), s = C(n), i = c.useRef(!1);
1595
1595
  return /* @__PURE__ */ o.jsx(
1596
- Mo,
1596
+ bo,
1597
1597
  {
1598
1598
  id: a.contentId,
1599
1599
  "aria-labelledby": a.triggerId,
@@ -1620,76 +1620,76 @@ var bn = "DropdownMenuContent", Cn = c.forwardRef(
1620
1620
  );
1621
1621
  }
1622
1622
  );
1623
- Cn.displayName = bn;
1624
- var Fo = "DropdownMenuGroup", Lo = c.forwardRef(
1623
+ Pn.displayName = Cn;
1624
+ var Lo = "DropdownMenuGroup", Ko = c.forwardRef(
1625
1625
  (t, e) => {
1626
1626
  const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1627
- return /* @__PURE__ */ o.jsx(bo, { ...a, ...r, ref: e });
1627
+ return /* @__PURE__ */ o.jsx(Co, { ...a, ...r, ref: e });
1628
1628
  }
1629
1629
  );
1630
- Lo.displayName = Fo;
1631
- var Ko = "DropdownMenuLabel", Pn = c.forwardRef(
1630
+ Ko.displayName = Lo;
1631
+ var $o = "DropdownMenuLabel", Rn = c.forwardRef(
1632
1632
  (t, e) => {
1633
1633
  const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1634
- return /* @__PURE__ */ o.jsx(Co, { ...a, ...r, ref: e });
1634
+ return /* @__PURE__ */ o.jsx(Po, { ...a, ...r, ref: e });
1635
1635
  }
1636
1636
  );
1637
- Pn.displayName = Ko;
1638
- var $o = "DropdownMenuItem", Rn = c.forwardRef(
1637
+ Rn.displayName = $o;
1638
+ var Bo = "DropdownMenuItem", _n = c.forwardRef(
1639
1639
  (t, e) => {
1640
1640
  const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1641
- return /* @__PURE__ */ o.jsx(Po, { ...a, ...r, ref: e });
1641
+ return /* @__PURE__ */ o.jsx(Ro, { ...a, ...r, ref: e });
1642
1642
  }
1643
1643
  );
1644
- Rn.displayName = $o;
1645
- var Bo = "DropdownMenuCheckboxItem", _n = c.forwardRef((t, e) => {
1646
- const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1647
- return /* @__PURE__ */ o.jsx(Ro, { ...a, ...r, ref: e });
1648
- });
1649
1644
  _n.displayName = Bo;
1650
- var Qo = "DropdownMenuRadioGroup", Uo = c.forwardRef((t, e) => {
1645
+ var Qo = "DropdownMenuCheckboxItem", En = c.forwardRef((t, e) => {
1651
1646
  const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1652
1647
  return /* @__PURE__ */ o.jsx(_o, { ...a, ...r, ref: e });
1653
1648
  });
1654
- Uo.displayName = Qo;
1655
- var Go = "DropdownMenuRadioItem", En = c.forwardRef((t, e) => {
1649
+ En.displayName = Qo;
1650
+ var Uo = "DropdownMenuRadioGroup", Go = c.forwardRef((t, e) => {
1656
1651
  const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1657
1652
  return /* @__PURE__ */ o.jsx(Eo, { ...a, ...r, ref: e });
1658
1653
  });
1659
- En.displayName = Go;
1660
- var Ho = "DropdownMenuItemIndicator", Sn = c.forwardRef((t, e) => {
1654
+ Go.displayName = Uo;
1655
+ var Ho = "DropdownMenuRadioItem", Sn = c.forwardRef((t, e) => {
1661
1656
  const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1662
1657
  return /* @__PURE__ */ o.jsx(So, { ...a, ...r, ref: e });
1663
1658
  });
1664
1659
  Sn.displayName = Ho;
1665
- var qo = "DropdownMenuSeparator", Nn = c.forwardRef((t, e) => {
1660
+ var qo = "DropdownMenuItemIndicator", Nn = c.forwardRef((t, e) => {
1666
1661
  const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1667
1662
  return /* @__PURE__ */ o.jsx(No, { ...a, ...r, ref: e });
1668
1663
  });
1669
1664
  Nn.displayName = qo;
1670
- var zo = "DropdownMenuArrow", Vo = c.forwardRef(
1665
+ var zo = "DropdownMenuSeparator", jn = c.forwardRef((t, e) => {
1666
+ const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1667
+ return /* @__PURE__ */ o.jsx(jo, { ...a, ...r, ref: e });
1668
+ });
1669
+ jn.displayName = zo;
1670
+ var Vo = "DropdownMenuArrow", Yo = c.forwardRef(
1671
1671
  (t, e) => {
1672
1672
  const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1673
- return /* @__PURE__ */ o.jsx(jo, { ...a, ...r, ref: e });
1673
+ return /* @__PURE__ */ o.jsx(Do, { ...a, ...r, ref: e });
1674
1674
  }
1675
1675
  );
1676
- Vo.displayName = zo;
1677
- var Yo = (t) => {
1678
- const { __scopeDropdownMenu: e, children: n, open: r, onOpenChange: a, defaultOpen: s } = t, i = C(e), [u = !1, h] = jt({
1676
+ Yo.displayName = Vo;
1677
+ var Xo = (t) => {
1678
+ const { __scopeDropdownMenu: e, children: n, open: r, onOpenChange: a, defaultOpen: s } = t, i = C(e), [u = !1, h] = Dt({
1679
1679
  prop: r,
1680
1680
  defaultProp: s,
1681
1681
  onChange: a
1682
1682
  });
1683
- return /* @__PURE__ */ o.jsx(Do, { ...i, open: u, onOpenChange: h, children: n });
1684
- }, Xo = "DropdownMenuSubTrigger", jn = c.forwardRef((t, e) => {
1683
+ return /* @__PURE__ */ o.jsx(Ao, { ...i, open: u, onOpenChange: h, children: n });
1684
+ }, Wo = "DropdownMenuSubTrigger", Dn = c.forwardRef((t, e) => {
1685
1685
  const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1686
- return /* @__PURE__ */ o.jsx(Ao, { ...a, ...r, ref: e });
1686
+ return /* @__PURE__ */ o.jsx(Io, { ...a, ...r, ref: e });
1687
1687
  });
1688
- jn.displayName = Xo;
1689
- var Wo = "DropdownMenuSubContent", Dn = c.forwardRef((t, e) => {
1688
+ Dn.displayName = Wo;
1689
+ var Jo = "DropdownMenuSubContent", An = c.forwardRef((t, e) => {
1690
1690
  const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1691
1691
  return /* @__PURE__ */ o.jsx(
1692
- Io,
1692
+ Oo,
1693
1693
  {
1694
1694
  ...a,
1695
1695
  ...r,
@@ -1705,10 +1705,10 @@ var Wo = "DropdownMenuSubContent", Dn = c.forwardRef((t, e) => {
1705
1705
  }
1706
1706
  );
1707
1707
  });
1708
- Dn.displayName = Wo;
1709
- var Jo = xn, Zo = wn, An = Mn, In = Cn, On = Pn, Tn = Rn, kn = _n, Fn = En, Ln = Sn, Kn = Nn, es = Yo, $n = jn, Bn = Dn;
1710
- const ts = Jo, ns = Zo, rs = An, as = es, Qn = c.forwardRef(({ className: t, inset: e, children: n, ...r }, a) => /* @__PURE__ */ o.jsxs(
1711
- $n,
1708
+ An.displayName = Jo;
1709
+ var Zo = yn, es = Mn, In = bn, On = Pn, Tn = Rn, kn = _n, Fn = En, Ln = Sn, Kn = Nn, $n = jn, ts = Xo, Bn = Dn, Qn = An;
1710
+ const ns = Zo, rs = es, as = In, os = ts, Un = c.forwardRef(({ className: t, inset: e, children: n, ...r }, a) => /* @__PURE__ */ o.jsxs(
1711
+ Bn,
1712
1712
  {
1713
1713
  ref: a,
1714
1714
  className: P(
@@ -1723,9 +1723,9 @@ const ts = Jo, ns = Zo, rs = An, as = es, Qn = c.forwardRef(({ className: t, ins
1723
1723
  ]
1724
1724
  }
1725
1725
  ));
1726
- Qn.displayName = $n.displayName;
1727
- const Un = c.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ o.jsx(
1728
- Bn,
1726
+ Un.displayName = Bn.displayName;
1727
+ const Gn = c.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ o.jsx(
1728
+ Qn,
1729
1729
  {
1730
1730
  ref: n,
1731
1731
  className: P(
@@ -1735,9 +1735,9 @@ const Un = c.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ o.jsx(
1735
1735
  ...e
1736
1736
  }
1737
1737
  ));
1738
- Un.displayName = Bn.displayName;
1739
- const Gn = c.forwardRef(({ className: t, sideOffset: e = 4, ...n }, r) => /* @__PURE__ */ o.jsx(An, { children: /* @__PURE__ */ o.jsx(
1740
- In,
1738
+ Gn.displayName = Qn.displayName;
1739
+ const Hn = c.forwardRef(({ className: t, sideOffset: e = 4, ...n }, r) => /* @__PURE__ */ o.jsx(In, { children: /* @__PURE__ */ o.jsx(
1740
+ On,
1741
1741
  {
1742
1742
  ref: r,
1743
1743
  sideOffset: e,
@@ -1749,9 +1749,9 @@ const Gn = c.forwardRef(({ className: t, sideOffset: e = 4, ...n }, r) => /* @__
1749
1749
  ...n
1750
1750
  }
1751
1751
  ) }));
1752
- Gn.displayName = In.displayName;
1753
- const Hn = c.forwardRef(({ className: t, inset: e, ...n }, r) => /* @__PURE__ */ o.jsx(
1754
- Tn,
1752
+ Hn.displayName = On.displayName;
1753
+ const qn = c.forwardRef(({ className: t, inset: e, ...n }, r) => /* @__PURE__ */ o.jsx(
1754
+ kn,
1755
1755
  {
1756
1756
  ref: r,
1757
1757
  className: P(
@@ -1762,9 +1762,9 @@ const Hn = c.forwardRef(({ className: t, inset: e, ...n }, r) => /* @__PURE__ */
1762
1762
  ...n
1763
1763
  }
1764
1764
  ));
1765
- Hn.displayName = Tn.displayName;
1766
- const os = c.forwardRef(({ className: t, children: e, checked: n, ...r }, a) => /* @__PURE__ */ o.jsxs(
1767
- kn,
1765
+ qn.displayName = kn.displayName;
1766
+ const ss = c.forwardRef(({ className: t, children: e, checked: n, ...r }, a) => /* @__PURE__ */ o.jsxs(
1767
+ Fn,
1768
1768
  {
1769
1769
  ref: a,
1770
1770
  className: P(
@@ -1774,14 +1774,14 @@ const os = c.forwardRef(({ className: t, children: e, checked: n, ...r }, a) =>
1774
1774
  checked: n,
1775
1775
  ...r,
1776
1776
  children: [
1777
- /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(Ln, { children: /* @__PURE__ */ o.jsx(dr, { className: "h-4 w-4" }) }) }),
1777
+ /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(Kn, { children: /* @__PURE__ */ o.jsx(hr, { className: "h-4 w-4" }) }) }),
1778
1778
  e
1779
1779
  ]
1780
1780
  }
1781
1781
  ));
1782
- os.displayName = kn.displayName;
1783
- const ss = c.forwardRef(({ className: t, children: e, ...n }, r) => /* @__PURE__ */ o.jsxs(
1784
- Fn,
1782
+ ss.displayName = Fn.displayName;
1783
+ const is = c.forwardRef(({ className: t, children: e, ...n }, r) => /* @__PURE__ */ o.jsxs(
1784
+ Ln,
1785
1785
  {
1786
1786
  ref: r,
1787
1787
  className: P(
@@ -1790,14 +1790,14 @@ const ss = c.forwardRef(({ className: t, children: e, ...n }, r) => /* @__PURE__
1790
1790
  ),
1791
1791
  ...n,
1792
1792
  children: [
1793
- /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(Ln, { children: /* @__PURE__ */ o.jsx(ia, { className: "h-4 w-4 fill-current" }) }) }),
1793
+ /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(Kn, { children: /* @__PURE__ */ o.jsx(ca, { className: "h-4 w-4 fill-current" }) }) }),
1794
1794
  e
1795
1795
  ]
1796
1796
  }
1797
1797
  ));
1798
- ss.displayName = Fn.displayName;
1799
- const qn = c.forwardRef(({ className: t, inset: e, ...n }, r) => /* @__PURE__ */ o.jsx(
1800
- On,
1798
+ is.displayName = Ln.displayName;
1799
+ const zn = c.forwardRef(({ className: t, inset: e, ...n }, r) => /* @__PURE__ */ o.jsx(
1800
+ Tn,
1801
1801
  {
1802
1802
  ref: r,
1803
1803
  className: P(
@@ -1808,22 +1808,22 @@ const qn = c.forwardRef(({ className: t, inset: e, ...n }, r) => /* @__PURE__ */
1808
1808
  ...n
1809
1809
  }
1810
1810
  ));
1811
- qn.displayName = On.displayName;
1812
- const zn = c.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ o.jsx(
1813
- Kn,
1811
+ zn.displayName = Tn.displayName;
1812
+ const Vn = c.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ o.jsx(
1813
+ $n,
1814
1814
  {
1815
1815
  ref: n,
1816
1816
  className: P("-mx-1 my-1 h-px bg-muted", t),
1817
1817
  ...e
1818
1818
  }
1819
1819
  ));
1820
- zn.displayName = Kn.displayName;
1821
- const is = () => {
1820
+ Vn.displayName = $n.displayName;
1821
+ const cs = () => {
1822
1822
  const { navigation: t } = qe();
1823
1823
  return t.length <= 1 ? null : /* @__PURE__ */ o.jsx("nav", { className: "border-b text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ o.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((e) => /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx(
1824
1824
  Fe,
1825
1825
  {
1826
- className: ({ isActive: n }) => hr(
1826
+ className: ({ isActive: n }) => pr(
1827
1827
  "block py-3.5 font-medium -mb-px border-b-2",
1828
1828
  n ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
1829
1829
  ),
@@ -1831,14 +1831,14 @@ const is = () => {
1831
1831
  children: e.label
1832
1832
  }
1833
1833
  ) }, e.label)) }) });
1834
- }, Vn = ({ item: t }) => t.children ? /* @__PURE__ */ o.jsxs(as, { children: [
1835
- /* @__PURE__ */ o.jsx(Qn, { children: t.label }),
1836
- /* @__PURE__ */ o.jsx(rs, { children: /* @__PURE__ */ o.jsx(Un, { children: t.children.map((e, n) => (
1834
+ }, Yn = ({ item: t }) => t.children ? /* @__PURE__ */ o.jsxs(os, { children: [
1835
+ /* @__PURE__ */ o.jsx(Un, { children: t.label }),
1836
+ /* @__PURE__ */ o.jsx(as, { children: /* @__PURE__ */ o.jsx(Gn, { children: t.children.map((e, n) => (
1837
1837
  // eslint-disable-next-line react/no-array-index-key
1838
- /* @__PURE__ */ o.jsx(Vn, { item: e }, n)
1838
+ /* @__PURE__ */ o.jsx(Yn, { item: e }, n)
1839
1839
  )) }) })
1840
- ] }, t.label) : /* @__PURE__ */ o.jsx(Re, { to: t.path ?? "", children: /* @__PURE__ */ o.jsx(Hn, { children: t.label }, t.label) }), Yn = It(function() {
1841
- const [e, n] = pr(), { isAuthenticated: r, profile: a, isAuthEnabled: s, login: i, logout: u } = yr(), h = qe(), { page: l, plugins: m } = h, d = e ? ua : la;
1840
+ ] }, t.label) : /* @__PURE__ */ o.jsx(Re, { to: t.path ?? "", children: /* @__PURE__ */ o.jsx(qn, { children: t.label }, t.label) }), Xn = Ot(function() {
1841
+ const [e, n] = fr(), { isAuthenticated: r, profile: a, isAuthEnabled: s, login: i, logout: u } = wr(), h = qe(), { page: l, plugins: m } = h, d = e ? la : da;
1842
1842
  return /* @__PURE__ */ o.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ o.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
1843
1843
  /* @__PURE__ */ o.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: [
1844
1844
  /* @__PURE__ */ o.jsx("div", { className: "flex", children: /* @__PURE__ */ o.jsx(Re, { to: "/", children: /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-3.5", children: [
@@ -1869,12 +1869,12 @@ const is = () => {
1869
1869
  /* @__PURE__ */ o.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
1870
1870
  /* @__PURE__ */ o.jsx("div", { className: "w-full max-w-prose" }),
1871
1871
  /* @__PURE__ */ o.jsxs("div", { className: "items-center justify-self-end text-sm hidden lg:flex gap-2", children: [
1872
- s && !r ? /* @__PURE__ */ o.jsx(Le, { variant: "ghost", asChild: !0, children: /* @__PURE__ */ o.jsx(Re, { to: "/signin", children: "Login" }) }) : /* @__PURE__ */ o.jsxs(ts, { children: [
1873
- /* @__PURE__ */ o.jsx(ns, { asChild: !0, children: /* @__PURE__ */ o.jsx(Le, { variant: "ghost", children: a != null && a.email ? `${a.email}` : "My Account" }) }),
1874
- /* @__PURE__ */ o.jsxs(Gn, { className: "w-56", children: [
1875
- /* @__PURE__ */ o.jsx(qn, { children: "My Account" }),
1876
- /* @__PURE__ */ o.jsx(zn, {}),
1877
- m.filter((f) => La(f)).flatMap((f) => f.getProfileMenuItems(h)).map((f) => /* @__PURE__ */ o.jsx(Vn, { item: f }, f.label))
1872
+ s && !r ? /* @__PURE__ */ o.jsx(Le, { variant: "ghost", asChild: !0, children: /* @__PURE__ */ o.jsx(Re, { to: "/signin", children: "Login" }) }) : /* @__PURE__ */ o.jsxs(ns, { children: [
1873
+ /* @__PURE__ */ o.jsx(rs, { asChild: !0, children: /* @__PURE__ */ o.jsx(Le, { variant: "ghost", children: a != null && a.email ? `${a.email}` : "My Account" }) }),
1874
+ /* @__PURE__ */ o.jsxs(Hn, { className: "w-56", children: [
1875
+ /* @__PURE__ */ o.jsx(zn, { children: "My Account" }),
1876
+ /* @__PURE__ */ o.jsx(Vn, {}),
1877
+ m.filter((f) => Ka(f)).flatMap((f) => f.getProfileMenuItems(h)).map((f) => /* @__PURE__ */ o.jsx(Yn, { item: f }, f.label))
1878
1878
  ] })
1879
1879
  ] }),
1880
1880
  /* @__PURE__ */ o.jsx(
@@ -1890,68 +1890,68 @@ const is = () => {
1890
1890
  ] })
1891
1891
  ] })
1892
1892
  ] }),
1893
- /* @__PURE__ */ o.jsx(is, {})
1893
+ /* @__PURE__ */ o.jsx(cs, {})
1894
1894
  ] }) });
1895
- }), Xn = {
1896
- Header: Yn
1897
- }, cs = At(Xn), us = cs.Provider, ls = ({
1895
+ }), Wn = {
1896
+ Header: Xn
1897
+ }, us = It(Wn), ls = us.Provider, ds = ({
1898
1898
  children: t,
1899
1899
  ...e
1900
1900
  }) => {
1901
1901
  var d, f;
1902
1902
  const n = be(
1903
- () => ({ ...Xn, ...e.overrides }),
1903
+ () => ({ ...Wn, ...e.overrides }),
1904
1904
  [e.overrides]
1905
1905
  ), r = be(
1906
1906
  () => {
1907
1907
  var v;
1908
- return { ...fr, ...(v = e.mdx) == null ? void 0 : v.components };
1908
+ return { ...mr, ...(v = e.mdx) == null ? void 0 : v.components };
1909
1909
  },
1910
1910
  [(d = e.mdx) == null ? void 0 : d.components]
1911
- ), { stagger: a } = Br($e), [s, i] = Ke(!1), u = be(
1911
+ ), { stagger: a } = Qr($e), [s, i] = Ke(!1), u = be(
1912
1912
  () => s ? { stagger: !0 } : { stagger: a },
1913
1913
  [a, s]
1914
- ), h = br();
1914
+ ), h = Cr();
1915
1915
  W(() => {
1916
1916
  s || i(!0);
1917
1917
  }, [s, h.location]);
1918
- const l = be(() => new Ua(e), [e]);
1918
+ const l = be(() => new Ga(e), [e]);
1919
1919
  W(() => {
1920
1920
  l.initialize();
1921
1921
  }, [l]);
1922
- const m = (f = e.plugins) == null ? void 0 : f.filter(Ba).map((v, x) => {
1922
+ const m = (f = e.plugins) == null ? void 0 : f.filter(Qa).map((v, x) => {
1923
1923
  var R;
1924
- return /* @__PURE__ */ o.jsx(Qr, { children: (R = v.getHead) == null ? void 0 : R.call(v) }, x);
1924
+ return /* @__PURE__ */ o.jsx(Ur, { children: (R = v.getHead) == null ? void 0 : R.call(v) }, x);
1925
1925
  });
1926
- return /* @__PURE__ */ o.jsxs(na, { client: Gt, children: [
1926
+ return /* @__PURE__ */ o.jsxs(ra, { client: Ht, children: [
1927
1927
  /* @__PURE__ */ o.jsx(Qe, { children: m }),
1928
- /* @__PURE__ */ o.jsx($e.Provider, { value: u, children: /* @__PURE__ */ o.jsx(ra, { value: l, children: /* @__PURE__ */ o.jsx(sr, { components: r, children: /* @__PURE__ */ o.jsx(mr, { children: /* @__PURE__ */ o.jsx(us, { value: n, children: /* @__PURE__ */ o.jsx(gr, { children: t }) }) }) }) }) })
1928
+ /* @__PURE__ */ o.jsx($e.Provider, { value: u, children: /* @__PURE__ */ o.jsx(aa, { value: l, children: /* @__PURE__ */ o.jsx(ir, { components: r, children: /* @__PURE__ */ o.jsx(gr, { children: /* @__PURE__ */ o.jsx(ls, { value: n, children: /* @__PURE__ */ o.jsx(vr, { children: t }) }) }) }) }) })
1929
1929
  ] });
1930
- }, ds = It(ls), Wn = (t) => /* @__PURE__ */ o.jsx(ka, { FallbackComponent: Ga, children: /* @__PURE__ */ o.jsx(ds, { ...t }) });
1931
- Wn.displayName = "DevPortal";
1932
- const hs = () => {
1930
+ }, hs = Ot(ds), Jn = (t) => /* @__PURE__ */ o.jsx(Fa, { FallbackComponent: Ha, children: /* @__PURE__ */ o.jsx(hs, { ...t }) });
1931
+ Jn.displayName = "DevPortal";
1932
+ const ps = () => {
1933
1933
  const t = se(), { setActiveAnchor: e } = Ue();
1934
1934
  W(() => {
1935
1935
  if (!t.hash) return;
1936
1936
  const n = t.hash.split("/")[0].slice(1), r = document.getElementById(decodeURIComponent(n));
1937
1937
  if (r) {
1938
1938
  requestAnimationFrame(() => {
1939
- r.scrollIntoView(), requestIdleCallback(() => e(n));
1939
+ r.scrollIntoView(), dt(() => e(n));
1940
1940
  });
1941
1941
  return;
1942
1942
  }
1943
1943
  const a = new MutationObserver((s, i) => {
1944
1944
  const u = document.getElementById(decodeURIComponent(n));
1945
- u && (u.scrollIntoView(), requestIdleCallback(() => e(n)), i.disconnect());
1945
+ u && (u.scrollIntoView(), dt(() => e(n)), i.disconnect());
1946
1946
  });
1947
1947
  return a.observe(document.body, { childList: !0, subtree: !0 }), () => a.disconnect();
1948
1948
  }, [t.hash, e]);
1949
- }, ps = () => {
1949
+ }, fs = () => {
1950
1950
  const t = se(), e = Ne(t.pathname);
1951
1951
  W(() => {
1952
1952
  e.current !== t.pathname && (window.scrollTo(0, 0), e.current = t.pathname);
1953
1953
  }, [t.pathname]);
1954
- }, Jn = ({
1954
+ }, Zn = ({
1955
1955
  item: t,
1956
1956
  defaultOpen: e,
1957
1957
  path: n
@@ -1970,7 +1970,7 @@ const hs = () => {
1970
1970
  onOpenChange: l,
1971
1971
  "data-animate": u
1972
1972
  };
1973
- }, Pe = vr(
1973
+ }, Pe = xr(
1974
1974
  "flex px-[--padding-nav-item] py-1.5 rounded-lg hover:bg-accent transition-colors duration-300",
1975
1975
  {
1976
1976
  variants: {
@@ -1984,19 +1984,19 @@ const hs = () => {
1984
1984
  }
1985
1985
  }
1986
1986
  }
1987
- ), fs = "data-anchor", Zn = ({
1987
+ ), ms = "data-anchor", er = ({
1988
1988
  category: t,
1989
1989
  item: e,
1990
1990
  activeAnchor: n,
1991
1991
  currentTopNavItem: r,
1992
1992
  basePath: a = ""
1993
1993
  }) => {
1994
- const s = xt(e) ? $t(a, e.path) : "", i = se(), u = Jn({
1994
+ const s = yt(e) ? Bt(a, e.path) : "", i = se(), u = Zn({
1995
1995
  item: e,
1996
1996
  path: s,
1997
1997
  defaultOpen: () => ze(e, i.pathname, a)
1998
1998
  });
1999
- if (aa(e)) {
1999
+ if (oa(e)) {
2000
2000
  const l = P(
2001
2001
  "flex items-center gap-2",
2002
2002
  Pe({
@@ -2012,7 +2012,7 @@ const hs = () => {
2012
2012
  rel: "noopener noreferrer",
2013
2013
  children: [
2014
2014
  e.label,
2015
- /* @__PURE__ */ o.jsx(ca, { size: 14 })
2015
+ /* @__PURE__ */ o.jsx(ua, { size: 14 })
2016
2016
  ]
2017
2017
  }
2018
2018
  ) : /* @__PURE__ */ o.jsx(Fe, { className: l, to: e.href, children: e.label });
@@ -2030,9 +2030,9 @@ const hs = () => {
2030
2030
  }
2031
2031
  )
2032
2032
  ] });
2033
- return /* @__PURE__ */ o.jsx("li", { title: typeof e.label == "string" ? e.label : e.title, children: e.children ? /* @__PURE__ */ o.jsxs(Tt, { ...u, className: "flex flex-col", children: [
2033
+ return /* @__PURE__ */ o.jsx("li", { title: typeof e.label == "string" ? e.label : e.title, children: e.children ? /* @__PURE__ */ o.jsxs(kt, { ...u, className: "flex flex-col", children: [
2034
2034
  /* @__PURE__ */ o.jsx(
2035
- kt,
2035
+ Ft,
2036
2036
  {
2037
2037
  className: P(
2038
2038
  "group text-start",
@@ -2041,8 +2041,8 @@ const hs = () => {
2041
2041
  children: h
2042
2042
  }
2043
2043
  ),
2044
- /* @__PURE__ */ o.jsx(Ft, { className: "CollapsibleContent ms-[calc(var(--padding-nav-item)*1.125)]", children: /* @__PURE__ */ o.jsx("ul", { className: "mt-1 border-l ps-1.5", children: e.children.map((l) => /* @__PURE__ */ o.jsx(
2045
- Zn,
2044
+ /* @__PURE__ */ o.jsx(Lt, { className: "CollapsibleContent ms-[calc(var(--padding-nav-item)*1.125)]", children: /* @__PURE__ */ o.jsx("ul", { className: "mt-1 border-l ps-1.5", children: e.children.map((l) => /* @__PURE__ */ o.jsx(
2045
+ er,
2046
2046
  {
2047
2047
  category: t,
2048
2048
  item: l,
@@ -2050,13 +2050,13 @@ const hs = () => {
2050
2050
  currentTopNavItem: r,
2051
2051
  basePath: s
2052
2052
  },
2053
- xt(l) ? l.path : l.href
2053
+ yt(l) ? l.path : l.href
2054
2054
  )) }) })
2055
2055
  ] }) : e.path.startsWith("#") ? /* @__PURE__ */ o.jsx(
2056
- ir,
2056
+ cr,
2057
2057
  {
2058
2058
  to: e.path,
2059
- [fs]: e.path,
2059
+ [ms]: e.path,
2060
2060
  className: Pe({
2061
2061
  isActive: e.path.slice(1) === n,
2062
2062
  isMuted: e.muted
@@ -2071,16 +2071,16 @@ const hs = () => {
2071
2071
  children: h
2072
2072
  }
2073
2073
  ) });
2074
- }, ms = ({
2074
+ }, gs = ({
2075
2075
  category: t
2076
2076
  }) => {
2077
- const { activeAnchor: e } = Ue(), n = oa(), r = se(), a = t.collapsible ?? !0, s = Jn({
2077
+ const { activeAnchor: e } = Ue(), n = sa(), r = se(), a = t.collapsible ?? !0, s = Zn({
2078
2078
  item: t,
2079
2079
  path: (n == null ? void 0 : n.path) ?? "",
2080
2080
  defaultOpen: () => !a || t.expanded || ze(t, r.pathname, (n == null ? void 0 : n.path) ?? "")
2081
2081
  });
2082
- return /* @__PURE__ */ o.jsxs(Tt, { ...s, children: [
2083
- t.label.length > 0 ? /* @__PURE__ */ o.jsx(kt, { asChild: a, disabled: !a, children: /* @__PURE__ */ o.jsxs(
2082
+ return /* @__PURE__ */ o.jsxs(kt, { ...s, children: [
2083
+ t.label.length > 0 ? /* @__PURE__ */ o.jsx(Ft, { asChild: a, disabled: !a, children: /* @__PURE__ */ o.jsxs(
2084
2084
  "h5",
2085
2085
  {
2086
2086
  className: P(
@@ -2099,19 +2099,19 @@ const hs = () => {
2099
2099
  ]
2100
2100
  }
2101
2101
  ) }) : "Endpoints",
2102
- /* @__PURE__ */ o.jsx(Ft, { className: "CollapsibleContent -mx-[--padding-nav-item]", children: /* @__PURE__ */ o.jsx("ul", { className: "space-y-0.5 mt-1.5 mb-4 ms-3", children: t.children.map((i, u) => /* @__PURE__ */ o.jsx(
2103
- Zn,
2102
+ /* @__PURE__ */ o.jsx(Lt, { className: "CollapsibleContent -mx-[--padding-nav-item]", children: /* @__PURE__ */ o.jsx("ul", { className: "space-y-0.5 mt-1.5 mb-4 ms-3", children: t.children.map((i, u) => /* @__PURE__ */ o.jsx(
2103
+ er,
2104
2104
  {
2105
2105
  category: t,
2106
2106
  item: i,
2107
2107
  activeAnchor: e,
2108
2108
  currentTopNavItem: n,
2109
- basePath: $t(n == null ? void 0 : n.path, t.path)
2109
+ basePath: Bt(n == null ? void 0 : n.path, t.path)
2110
2110
  },
2111
2111
  u
2112
2112
  )) }) })
2113
2113
  ] }, t.label);
2114
- }, gs = Ur(function({ children: e, className: n, pushMainContent: r }, a) {
2114
+ }, vs = Gr(function({ children: e, className: n, pushMainContent: r }, a) {
2115
2115
  return /* @__PURE__ */ o.jsx(
2116
2116
  "nav",
2117
2117
  {
@@ -2124,19 +2124,19 @@ const hs = () => {
2124
2124
  children: e
2125
2125
  }
2126
2126
  );
2127
- }), vs = () => {
2128
- const t = Ne(null), e = sa();
2127
+ }), xs = () => {
2128
+ const t = Ne(null), e = ia();
2129
2129
  return /* @__PURE__ */ o.jsx(
2130
- gs,
2130
+ vs,
2131
2131
  {
2132
2132
  ref: t,
2133
2133
  pushMainContent: e.data.items.length > 0,
2134
- children: e.data.items.map((n) => /* @__PURE__ */ o.jsx(ms, { category: n }, n.label))
2134
+ children: e.data.items.map((n) => /* @__PURE__ */ o.jsx(gs, { category: n }, n.label))
2135
2135
  }
2136
2136
  );
2137
- }, xs = ({ children: t }) => {
2137
+ }, ys = ({ children: t }) => {
2138
2138
  const e = se(), { setActiveAnchor: n } = Ue(), { meta: r } = qe();
2139
- hs(), ps();
2139
+ ps(), fs();
2140
2140
  const a = Ne(e.pathname);
2141
2141
  return W(() => {
2142
2142
  e.pathname !== a.current && n(""), a.current = e.pathname;
@@ -2145,13 +2145,13 @@ const hs = () => {
2145
2145
  (r == null ? void 0 : r.description) && /* @__PURE__ */ o.jsx("meta", { name: "description", content: r.description }),
2146
2146
  (r == null ? void 0 : r.favicon) && /* @__PURE__ */ o.jsx("link", { rel: "icon", href: r.favicon })
2147
2147
  ] }),
2148
- /* @__PURE__ */ o.jsx(Yn, {}),
2148
+ /* @__PURE__ */ o.jsx(Xn, {}),
2149
2149
  /* @__PURE__ */ o.jsx("div", { className: "max-w-screen-2xl mx-auto pt-[--header-height] px-10 lg:px-12 h-full", children: /* @__PURE__ */ o.jsxs(
2150
- Gr,
2150
+ Hr,
2151
2151
  {
2152
- fallback: /* @__PURE__ */ o.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ o.jsx(Vr, {}) }),
2152
+ fallback: /* @__PURE__ */ o.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ o.jsx(Yr, {}) }),
2153
2153
  children: [
2154
- /* @__PURE__ */ o.jsx(vs, {}),
2154
+ /* @__PURE__ */ o.jsx(xs, {}),
2155
2155
  /* @__PURE__ */ o.jsx(
2156
2156
  "main",
2157
2157
  {
@@ -2161,25 +2161,25 @@ const hs = () => {
2161
2161
  "lg:peer-data-[navigation=true]:w-[calc(100%-var(--side-nav-width))]",
2162
2162
  "lg:peer-data-[navigation=true]:translate-x-[--side-nav-width] lg:peer-data-[navigation=true]:pl-12"
2163
2163
  ),
2164
- children: t ?? /* @__PURE__ */ o.jsx(Cr, {})
2164
+ children: t ?? /* @__PURE__ */ o.jsx(Pr, {})
2165
2165
  }
2166
2166
  )
2167
2167
  ]
2168
2168
  }
2169
2169
  ) })
2170
2170
  ] });
2171
- }, Ds = cr, As = xr, Is = Wn, Os = xs, Ts = Re, ks = wr, Fs = da, Ls = Sa, Ks = Na, $s = Le, Bs = Qe;
2171
+ }, As = ur, Is = yr, Os = Jn, Ts = ys, ks = Re, Fs = Mr, Ls = ha, Ks = Na, $s = ja, Bs = Le, Qs = Qe;
2172
2172
  export {
2173
- Ls as Bootstrap,
2174
- Ks as BootstrapStatic,
2175
- $s as Button,
2176
- As as Callout,
2177
- Is as DevPortal,
2178
- Bs as Head,
2179
- Os as Layout,
2180
- Ts as Link,
2181
- ks as RouterError,
2182
- Fs as ServerError,
2183
- Ds as useMDXComponents
2173
+ Ks as Bootstrap,
2174
+ $s as BootstrapStatic,
2175
+ Bs as Button,
2176
+ Is as Callout,
2177
+ Os as DevPortal,
2178
+ Qs as Head,
2179
+ Ts as Layout,
2180
+ ks as Link,
2181
+ Fs as RouterError,
2182
+ Ls as ServerError,
2183
+ As as useMDXComponents
2184
2184
  };
2185
2185
  //# sourceMappingURL=zudoku.components.js.map