zudoku 0.12.1 → 0.13.0

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 (54) hide show
  1. package/dist/app/main.js +3 -3
  2. package/dist/app/main.js.map +1 -1
  3. package/dist/config/validators/validate.d.ts +21 -16
  4. package/dist/config/validators/validate.js +3 -1
  5. package/dist/config/validators/validate.js.map +1 -1
  6. package/dist/index.d.ts +1 -0
  7. package/dist/lib/components/Banner.js +7 -1
  8. package/dist/lib/components/Banner.js.map +1 -1
  9. package/dist/lib/components/Header.js +1 -1
  10. package/dist/lib/components/Header.js.map +1 -1
  11. package/dist/lib/components/Layout.js +1 -1
  12. package/dist/lib/components/Layout.js.map +1 -1
  13. package/dist/lib/components/SlotletProvider.d.ts +5 -2
  14. package/dist/lib/components/SlotletProvider.js +6 -2
  15. package/dist/lib/components/SlotletProvider.js.map +1 -1
  16. package/dist/lib/core/DevPortalContext.d.ts +1 -1
  17. package/dist/lib/oas/graphql/index.js +2 -6
  18. package/dist/lib/oas/graphql/index.js.map +1 -1
  19. package/dist/lib/plugins/{custom-page → custom-pages}/index.d.ts +2 -2
  20. package/dist/lib/plugins/{custom-page → custom-pages}/index.js +1 -1
  21. package/dist/lib/plugins/custom-pages/index.js.map +1 -0
  22. package/dist/vite/config.js +2 -0
  23. package/dist/vite/config.js.map +1 -1
  24. package/dist/vite/dev-server.js +10 -2
  25. package/dist/vite/dev-server.js.map +1 -1
  26. package/dist/vite/plugin-component.js +0 -1
  27. package/dist/vite/plugin-component.js.map +1 -1
  28. package/dist/vite/plugin-custom-pages.d.ts +4 -0
  29. package/dist/vite/plugin-custom-pages.js +30 -0
  30. package/dist/vite/plugin-custom-pages.js.map +1 -0
  31. package/dist/vite/plugin.js +2 -0
  32. package/dist/vite/plugin.js.map +1 -1
  33. package/lib/{SlotletProvider-D3UD5Go3.js → SlotletProvider-BWwfPzgI.js} +28 -26
  34. package/lib/{SlotletProvider-D3UD5Go3.js.map → SlotletProvider-BWwfPzgI.js.map} +1 -1
  35. package/lib/assets/{worker-Bcj4NA2p.js → worker-BP8Uzflt.js} +1247 -1249
  36. package/lib/assets/{worker-Bcj4NA2p.js.map → worker-BP8Uzflt.js.map} +1 -1
  37. package/lib/zudoku.components.js +545 -538
  38. package/lib/zudoku.components.js.map +1 -1
  39. package/lib/zudoku.openapi-worker.js +1274 -1276
  40. package/lib/zudoku.openapi-worker.js.map +1 -1
  41. package/lib/zudoku.plugin-api-keys.js +1 -1
  42. package/lib/{zudoku.plugin-custom-page.js → zudoku.plugin-custom-pages.js} +2 -2
  43. package/lib/zudoku.plugin-custom-pages.js.map +1 -0
  44. package/package.json +4 -4
  45. package/src/app/main.tsx +3 -3
  46. package/src/lib/components/Banner.tsx +12 -2
  47. package/src/lib/components/Header.tsx +2 -0
  48. package/src/lib/components/Layout.tsx +1 -0
  49. package/src/lib/components/SlotletProvider.tsx +20 -4
  50. package/src/lib/core/DevPortalContext.ts +1 -1
  51. package/src/lib/oas/graphql/index.ts +3 -11
  52. package/src/lib/plugins/{custom-page → custom-pages}/index.tsx +3 -3
  53. package/dist/lib/plugins/custom-page/index.js.map +0 -1
  54. package/lib/zudoku.plugin-custom-page.js.map +0 -1
@@ -1,9 +1,9 @@
1
- var Oo = Object.defineProperty;
1
+ var Io = Object.defineProperty;
2
2
  var sn = (e) => {
3
3
  throw TypeError(e);
4
4
  };
5
- var Io = (e, t, n) => t in e ? Oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
6
- var J = (e, t, n) => Io(e, typeof t != "symbol" ? t + "" : t, n), ln = (e, t, n) => t.has(e) || sn("Cannot " + n);
5
+ var Ao = (e, t, n) => t in e ? Io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
6
+ var J = (e, t, n) => Ao(e, typeof t != "symbol" ? t + "" : t, n), ln = (e, t, n) => t.has(e) || sn("Cannot " + n);
7
7
  var b = (e, t, n) => (ln(e, t, "read from private field"), n ? n.call(e) : t.get(e)), ae = (e, t, n) => t.has(e) ? sn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), G = (e, t, n, r) => (ln(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
8
8
  var it = (e, t, n, r) => ({
9
9
  set _(a) {
@@ -13,30 +13,30 @@ var it = (e, t, n, r) => ({
13
13
  return b(e, t, r);
14
14
  }
15
15
  });
16
- import { c as Rn, H as _t, M as Ao, d as ko, A as $o, b as Lo } from "./utils-ByIc_KIM.js";
17
- import { e as Fo, f as Ho, R as Uo, N as We, L as Ot, g as Bo, O as Dn, u as zo, b as It } from "./index-BG0g4WW0.js";
18
- import { E as jn, S as Pe, a as Ko, R as Vo } from "./SlotletProvider-D3UD5Go3.js";
16
+ import { c as Dn, H as _t, M as ko, d as $o, A as Lo, b as Fo } from "./utils-ByIc_KIM.js";
17
+ import { e as Ho, f as Uo, R as Bo, N as We, L as Ot, g as zo, O as jn, u as Ko, b as It } from "./index-BG0g4WW0.js";
18
+ import { E as Nn, S as he, a as Vo, R as Qo } from "./SlotletProvider-BWwfPzgI.js";
19
19
  import { j as o } from "./jsx-runtime-B6kdoens.js";
20
- import { M as Qo, f as qo, c as Nn, o as Pn, A as Go, d as Ze, i as Wo, b as A, j as Yo, F as Xo, D as Jo, C as Zo, P as He, h as At, p as ea, r as Tn, R as ta, S as na, s as ra, g as oa, q as _n, l as aa, a as ht, u as On, V as In, m as cn, B as Rt } from "./index-Dolisrci.js";
21
- import { a as O, c as An, b as sa, T as ia, d as la, V as ca, u as kt, e as ua, C as da } from "./Markdown-DapSf3wG.js";
20
+ import { M as qo, f as Go, c as Pn, o as Tn, A as Wo, d as Ze, i as Yo, b as A, j as Xo, F as Jo, D as Zo, C as ea, P as He, h as At, p as ta, r as _n, R as na, S as ra, s as oa, g as aa, q as On, l as sa, a as ht, u as In, V as An, m as cn, B as Rt } from "./index-Dolisrci.js";
21
+ import { a as O, c as kn, b as ia, T as la, d as ca, V as ua, u as kt, e as da, C as fa } from "./Markdown-DapSf3wG.js";
22
22
  import * as h from "react";
23
- import g, { StrictMode as kn, createContext as $n, Component as fa, createElement as un, isValidElement as ha, useState as Te, useLayoutEffect as pa, useEffect as be, useCallback as Ln, Suspense as Fn, memo as Hn, useMemo as xt, useContext as ma, Fragment as ga, useRef as $t, forwardRef as va } from "react";
23
+ import g, { StrictMode as $n, createContext as Ln, Component as ha, createElement as un, isValidElement as pa, useState as Te, useLayoutEffect as ma, useEffect as xe, useCallback as Fn, Suspense as Hn, memo as Un, useMemo as xt, useContext as ga, Fragment as va, useRef as $t, forwardRef as wa } from "react";
24
24
  import { a as Lt } from "./_commonjsHelpers-BkfeUUK-.js";
25
- import { z as wa } from "./router-D2p7Olpn.js";
26
- import { a as Dt, R as ba, T as xa, C as ya } from "./index-BngPzhKn.js";
27
- import { S as Un, f as Bn, Q as Ma, n as ee, m as dn, g as fn, i as ve, j as Sa, k as Ea, l as Ca, o as Ra, p as hn, r as pn, q as Da, h as mn, t as gn, v as ja, u as Ue, b as Na, Z as Pa, w as Ta, c as zn, x as _a } from "./ZudokuContext-cr-pTRY1.js";
25
+ import { z as ba } from "./router-D2p7Olpn.js";
26
+ import { a as Dt, R as xa, T as ya, C as Ma } from "./index-BngPzhKn.js";
27
+ import { S as Bn, f as zn, Q as Sa, n as ee, m as dn, g as fn, i as we, j as Ca, k as Ea, l as Ra, o as Da, p as hn, r as pn, q as ja, h as mn, t as gn, v as Na, u as Ue, b as Pa, Z as Ta, w as _a, c as Kn, x as Oa } from "./ZudokuContext-cr-pTRY1.js";
28
28
  import { j as Ft } from "./joinPath-B7kNnUX4.js";
29
- import { ChevronRightIcon as Kn, CheckIcon as Oa, DotIcon as Ia, CircleXIcon as Aa, MenuIcon as ka, SearchIcon as $a, MoonStarIcon as La, SunIcon as Fa, ExternalLinkIcon as Ha, PanelLeftIcon as Ua } from "lucide-react";
30
- import { c as Vn, P as gt, R as Ba, I as za, O as Ka, C as Va, T as Qa, a as qa, b as Ga, d as Wa, D as Ya, e as Xa, S as yt } from "./SidebarBadge-Dx7jtnoA.js";
31
- import { S as Ja } from "./Spinner-3cQDBVGr.js";
32
- function Za({ error: e }) {
33
- return /* @__PURE__ */ o.jsx(jn, { error: e });
29
+ import { ChevronRightIcon as Vn, CheckIcon as Ia, DotIcon as Aa, CircleXIcon as ka, MenuIcon as $a, SearchIcon as La, MoonStarIcon as Fa, SunIcon as Ha, ExternalLinkIcon as Ua, PanelLeftIcon as Ba } from "lucide-react";
30
+ import { c as Qn, P as gt, R as za, I as Ka, O as Va, C as Qa, T as qa, a as Ga, b as Wa, d as Ya, D as Xa, e as Ja, S as yt } from "./SidebarBadge-Dx7jtnoA.js";
31
+ import { S as Za } from "./Spinner-3cQDBVGr.js";
32
+ function es({ error: e }) {
33
+ return /* @__PURE__ */ o.jsx(Nn, { error: e });
34
34
  }
35
35
  var et = {};
36
- const es = /* @__PURE__ */ Lt(wa), ts = /* @__PURE__ */ Lt(Fo), ns = /* @__PURE__ */ Lt(Ho);
36
+ const ts = /* @__PURE__ */ Lt(ba), ns = /* @__PURE__ */ Lt(Ho), rs = /* @__PURE__ */ Lt(Uo);
37
37
  Object.defineProperty(et, "__esModule", { value: !0 });
38
- var rs = g, fe = es, Ht = ts, we = ns;
39
- function os(e) {
38
+ var os = g, fe = ts, Ht = ns, be = rs;
39
+ function as(e) {
40
40
  if (e && e.__esModule) return e;
41
41
  var t = /* @__PURE__ */ Object.create(null);
42
42
  return e && Object.keys(e).forEach(function(n) {
@@ -51,22 +51,22 @@ function os(e) {
51
51
  }
52
52
  }), t.default = e, Object.freeze(t);
53
53
  }
54
- var ue = /* @__PURE__ */ os(rs);
55
- function as({
54
+ var ue = /* @__PURE__ */ as(os);
55
+ function ss({
56
56
  basename: e,
57
57
  children: t,
58
58
  location: n = "/",
59
59
  future: r
60
60
  }) {
61
- typeof n == "string" && (n = we.parsePath(n));
61
+ typeof n == "string" && (n = be.parsePath(n));
62
62
  let a = fe.Action.Pop, s = {
63
63
  pathname: n.pathname || "/",
64
64
  search: n.search || "",
65
65
  hash: n.hash || "",
66
66
  state: n.state != null ? n.state : null,
67
67
  key: n.key || "default"
68
- }, i = Qn();
69
- return /* @__PURE__ */ ue.createElement(we.Router, {
68
+ }, i = qn();
69
+ return /* @__PURE__ */ ue.createElement(be.Router, {
70
70
  basename: e,
71
71
  children: t,
72
72
  location: s,
@@ -76,7 +76,7 @@ function as({
76
76
  static: !0
77
77
  });
78
78
  }
79
- function ss({
79
+ function is({
80
80
  context: e,
81
81
  router: t,
82
82
  hydrate: n = !0,
@@ -85,7 +85,7 @@ function ss({
85
85
  t && e || (process.env.NODE_ENV !== "production" ? fe.UNSAFE_invariant(!1, "You must provide `router` and `context` to <StaticRouterProvider>") : fe.UNSAFE_invariant(!1));
86
86
  let a = {
87
87
  router: t,
88
- navigator: Qn(),
88
+ navigator: qn(),
89
89
  static: !0,
90
90
  staticContext: e,
91
91
  basename: e.basename || "/"
@@ -94,24 +94,24 @@ function ss({
94
94
  let u = {
95
95
  loaderData: e.loaderData,
96
96
  actionData: e.actionData,
97
- errors: ls(e.errors)
97
+ errors: cs(e.errors)
98
98
  };
99
- i = `window.__staticRouterHydrationData = JSON.parse(${ps(JSON.stringify(JSON.stringify(u)))});`;
99
+ i = `window.__staticRouterHydrationData = JSON.parse(${ms(JSON.stringify(JSON.stringify(u)))});`;
100
100
  }
101
101
  let {
102
102
  state: l
103
103
  } = a.router;
104
- return /* @__PURE__ */ ue.createElement(ue.Fragment, null, /* @__PURE__ */ ue.createElement(we.UNSAFE_DataRouterContext.Provider, {
104
+ return /* @__PURE__ */ ue.createElement(ue.Fragment, null, /* @__PURE__ */ ue.createElement(be.UNSAFE_DataRouterContext.Provider, {
105
105
  value: a
106
- }, /* @__PURE__ */ ue.createElement(we.UNSAFE_DataRouterStateContext.Provider, {
106
+ }, /* @__PURE__ */ ue.createElement(be.UNSAFE_DataRouterStateContext.Provider, {
107
107
  value: l
108
- }, /* @__PURE__ */ ue.createElement(we.UNSAFE_FetchersContext.Provider, {
108
+ }, /* @__PURE__ */ ue.createElement(be.UNSAFE_FetchersContext.Provider, {
109
109
  value: s
110
- }, /* @__PURE__ */ ue.createElement(we.UNSAFE_ViewTransitionContext.Provider, {
110
+ }, /* @__PURE__ */ ue.createElement(be.UNSAFE_ViewTransitionContext.Provider, {
111
111
  value: {
112
112
  isTransitioning: !1
113
113
  }
114
- }, /* @__PURE__ */ ue.createElement(we.Router, {
114
+ }, /* @__PURE__ */ ue.createElement(be.Router, {
115
115
  basename: a.basename,
116
116
  location: l.location,
117
117
  navigationType: l.historyAction,
@@ -120,7 +120,7 @@ function ss({
120
120
  future: {
121
121
  v7_relativeSplatPath: t.future.v7_relativeSplatPath
122
122
  }
123
- }, /* @__PURE__ */ ue.createElement(is, {
123
+ }, /* @__PURE__ */ ue.createElement(ls, {
124
124
  routes: t.routes,
125
125
  future: t.future,
126
126
  state: l
@@ -132,14 +132,14 @@ function ss({
132
132
  }
133
133
  }) : null);
134
134
  }
135
- function is({
135
+ function ls({
136
136
  routes: e,
137
137
  future: t,
138
138
  state: n
139
139
  }) {
140
140
  return Ht.UNSAFE_useRoutesImpl(e, void 0, n, t);
141
141
  }
142
- function ls(e) {
142
+ function cs(e) {
143
143
  if (!e) return null;
144
144
  let t = Object.entries(e), n = {};
145
145
  for (let [r, a] of t)
@@ -157,10 +157,10 @@ function ls(e) {
157
157
  } : n[r] = a;
158
158
  return n;
159
159
  }
160
- function Qn() {
160
+ function qn() {
161
161
  return {
162
- createHref: qn,
163
- encodeLocation: Gn,
162
+ createHref: Gn,
163
+ encodeLocation: Wn,
164
164
  push(e) {
165
165
  throw new Error(`You cannot use navigator.push() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(e)})\` somewhere in your app.`);
166
166
  },
@@ -178,13 +178,13 @@ function Qn() {
178
178
  }
179
179
  };
180
180
  }
181
- function cs(e, t) {
181
+ function us(e, t) {
182
182
  return fe.createStaticHandler(e, {
183
183
  ...t,
184
184
  mapRouteProperties: Ht.UNSAFE_mapRouteProperties
185
185
  });
186
186
  }
187
- function us(e, t, n = {}) {
187
+ function ds(e, t, n = {}) {
188
188
  let r = {}, a = fe.UNSAFE_convertRoutesToDataRoutes(e, Ht.UNSAFE_mapRouteProperties, void 0, r), s = t.matches.map((l) => {
189
189
  let u = r[l.route.id] || l.route;
190
190
  return {
@@ -247,8 +247,8 @@ function us(e, t, n = {}) {
247
247
  revalidate() {
248
248
  throw i("revalidate");
249
249
  },
250
- createHref: qn,
251
- encodeLocation: Gn,
250
+ createHref: Gn,
251
+ encodeLocation: Wn,
252
252
  getFetcher() {
253
253
  return fe.IDLE_FETCHER;
254
254
  },
@@ -274,51 +274,51 @@ function us(e, t, n = {}) {
274
274
  }
275
275
  };
276
276
  }
277
- function qn(e) {
278
- return typeof e == "string" ? e : we.createPath(e);
279
- }
280
277
  function Gn(e) {
281
- let t = typeof e == "string" ? e : we.createPath(e);
278
+ return typeof e == "string" ? e : be.createPath(e);
279
+ }
280
+ function Wn(e) {
281
+ let t = typeof e == "string" ? e : be.createPath(e);
282
282
  t = t.replace(/ $/, "%20");
283
- let n = ds.test(t) ? new URL(t) : new URL(t, "http://localhost");
283
+ let n = fs.test(t) ? new URL(t) : new URL(t, "http://localhost");
284
284
  return {
285
285
  pathname: n.pathname,
286
286
  search: n.search,
287
287
  hash: n.hash
288
288
  };
289
289
  }
290
- const ds = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, fs = {
290
+ const fs = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, hs = {
291
291
  "&": "\\u0026",
292
292
  ">": "\\u003e",
293
293
  "<": "\\u003c",
294
294
  "\u2028": "\\u2028",
295
295
  "\u2029": "\\u2029"
296
- }, hs = /[&><\u2028\u2029]/g;
297
- function ps(e) {
298
- return e.replace(hs, (t) => fs[t]);
296
+ }, ps = /[&><\u2028\u2029]/g;
297
+ function ms(e) {
298
+ return e.replace(ps, (t) => hs[t]);
299
299
  }
300
- et.StaticRouter = as;
301
- var ms = et.StaticRouterProvider = ss;
302
- et.createStaticHandler = cs;
303
- et.createStaticRouter = us;
304
- const gs = ({
300
+ et.StaticRouter = ss;
301
+ var gs = et.StaticRouterProvider = is;
302
+ et.createStaticHandler = us;
303
+ et.createStaticRouter = ds;
304
+ const vs = ({
305
305
  router: e,
306
306
  hydrate: t = !1
307
- }) => /* @__PURE__ */ o.jsx(kn, { children: /* @__PURE__ */ o.jsx(Rn, { children: /* @__PURE__ */ o.jsx(Dt.Provider, { value: { stagger: !t }, children: /* @__PURE__ */ o.jsx(Uo, { router: e }) }) }) }), vs = ({
307
+ }) => /* @__PURE__ */ o.jsx($n, { children: /* @__PURE__ */ o.jsx(Dn, { children: /* @__PURE__ */ o.jsx(Dt.Provider, { value: { stagger: !t }, children: /* @__PURE__ */ o.jsx(Bo, { router: e }) }) }) }), ws = ({
308
308
  router: e,
309
309
  context: t,
310
310
  helmetContext: n
311
- }) => /* @__PURE__ */ o.jsx(kn, { children: /* @__PURE__ */ o.jsx(Rn, { context: n, children: /* @__PURE__ */ o.jsx(ms, { router: e, context: t }) }) });
312
- var de, Sn, ws = (Sn = class extends Un {
311
+ }) => /* @__PURE__ */ o.jsx($n, { children: /* @__PURE__ */ o.jsx(Dn, { context: n, children: /* @__PURE__ */ o.jsx(gs, { router: e, context: t }) }) });
312
+ var de, Cn, bs = (Cn = class extends Bn {
313
313
  constructor(t = {}) {
314
314
  super();
315
315
  ae(this, de);
316
316
  this.config = t, G(this, de, /* @__PURE__ */ new Map());
317
317
  }
318
318
  build(t, n, r) {
319
- const a = n.queryKey, s = n.queryHash ?? Bn(a, n);
319
+ const a = n.queryKey, s = n.queryHash ?? zn(a, n);
320
320
  let i = this.get(s);
321
- return i || (i = new Ma({
321
+ return i || (i = new Sa({
322
322
  cache: this,
323
323
  queryKey: a,
324
324
  queryHash: s,
@@ -381,7 +381,7 @@ var de, Sn, ws = (Sn = class extends Un {
381
381
  });
382
382
  });
383
383
  }
384
- }, de = new WeakMap(), Sn), Z, Je, En, bs = (En = class extends Un {
384
+ }, de = new WeakMap(), Cn), Z, Je, En, xs = (En = class extends Bn {
385
385
  constructor(t = {}) {
386
386
  super();
387
387
  ae(this, Z);
@@ -389,7 +389,7 @@ var de, Sn, ws = (Sn = class extends Un {
389
389
  this.config = t, G(this, Z, /* @__PURE__ */ new Map()), G(this, Je, Date.now());
390
390
  }
391
391
  build(t, n, r) {
392
- const a = new Qo({
392
+ const a = new qo({
393
393
  mutationCache: this,
394
394
  mutationId: ++it(this, Je)._,
395
395
  options: t.defaultMutationOptions(n),
@@ -450,7 +450,7 @@ var de, Sn, ws = (Sn = class extends Un {
450
450
  const t = this.getAll().filter((n) => n.state.isPaused);
451
451
  return ee.batch(
452
452
  () => Promise.all(
453
- t.map((n) => n.continue().catch(ve))
453
+ t.map((n) => n.continue().catch(we))
454
454
  )
455
455
  );
456
456
  }
@@ -459,7 +459,7 @@ function lt(e) {
459
459
  var t;
460
460
  return ((t = e.options.scope) == null ? void 0 : t.id) ?? String(e.mutationId);
461
461
  }
462
- function xs(e) {
462
+ function ys(e) {
463
463
  return {
464
464
  onFetch: (t, n) => {
465
465
  const r = async () => {
@@ -473,7 +473,7 @@ function xs(e) {
473
473
  v = !0;
474
474
  }), t.signal)
475
475
  });
476
- }, c = Sa(t.options, t.fetchOptions), d = async (x, p, C) => {
476
+ }, c = Ca(t.options, t.fetchOptions), d = async (x, p, E) => {
477
477
  if (v)
478
478
  return Promise.reject();
479
479
  if (p == null && x.pages.length)
@@ -481,13 +481,13 @@ function xs(e) {
481
481
  const N = {
482
482
  queryKey: t.queryKey,
483
483
  pageParam: p,
484
- direction: C ? "backward" : "forward",
484
+ direction: E ? "backward" : "forward",
485
485
  meta: t.options.meta
486
486
  };
487
487
  m(N);
488
488
  const P = await c(
489
489
  N
490
- ), { maxPages: _ } = t.options, w = C ? Ea : Ca;
490
+ ), { maxPages: _ } = t.options, w = E ? Ea : Ra;
491
491
  return {
492
492
  pages: w(x.pages, P, _),
493
493
  pageParams: w(x.pageParams, p, _)
@@ -495,11 +495,11 @@ function xs(e) {
495
495
  };
496
496
  let f;
497
497
  if (s && i.length) {
498
- const x = s === "backward", p = x ? ys : vn, C = {
498
+ const x = s === "backward", p = x ? Ms : vn, E = {
499
499
  pages: i,
500
500
  pageParams: l
501
- }, N = p(a, C);
502
- f = await d(C, N, x);
501
+ }, N = p(a, E);
502
+ f = await d(E, N, x);
503
503
  } else {
504
504
  f = await d(
505
505
  u,
@@ -507,8 +507,8 @@ function xs(e) {
507
507
  );
508
508
  const x = e ?? i.length;
509
509
  for (let p = 1; p < x; p++) {
510
- const C = vn(a, f);
511
- f = await d(f, C);
510
+ const E = vn(a, f);
511
+ f = await d(f, E);
512
512
  }
513
513
  }
514
514
  return f;
@@ -538,7 +538,7 @@ function vn(e, { pages: t, pageParams: n }) {
538
538
  n
539
539
  );
540
540
  }
541
- function ys(e, { pages: t, pageParams: n }) {
541
+ function Ms(e, { pages: t, pageParams: n }) {
542
542
  var r;
543
543
  return (r = e.getPreviousPageParam) == null ? void 0 : r.call(
544
544
  e,
@@ -548,20 +548,20 @@ function ys(e, { pages: t, pageParams: n }) {
548
548
  n
549
549
  );
550
550
  }
551
- var $, Se, Ee, ke, $e, Ce, Le, Fe, Cn, Ms = (Cn = class {
551
+ var $, Ce, Ee, ke, $e, Re, Le, Fe, Rn, Ss = (Rn = class {
552
552
  constructor(e = {}) {
553
553
  ae(this, $);
554
- ae(this, Se);
554
+ ae(this, Ce);
555
555
  ae(this, Ee);
556
556
  ae(this, ke);
557
557
  ae(this, $e);
558
- ae(this, Ce);
558
+ ae(this, Re);
559
559
  ae(this, Le);
560
560
  ae(this, Fe);
561
- G(this, $, e.queryCache || new ws()), G(this, Se, e.mutationCache || new bs()), G(this, Ee, e.defaultOptions || {}), G(this, ke, /* @__PURE__ */ new Map()), G(this, $e, /* @__PURE__ */ new Map()), G(this, Ce, 0);
561
+ G(this, $, e.queryCache || new bs()), G(this, Ce, e.mutationCache || new xs()), G(this, Ee, e.defaultOptions || {}), G(this, ke, /* @__PURE__ */ new Map()), G(this, $e, /* @__PURE__ */ new Map()), G(this, Re, 0);
562
562
  }
563
563
  mount() {
564
- it(this, Ce)._++, b(this, Ce) === 1 && (G(this, Le, Ra.subscribe(async (e) => {
564
+ it(this, Re)._++, b(this, Re) === 1 && (G(this, Le, Da.subscribe(async (e) => {
565
565
  e && (await this.resumePausedMutations(), b(this, $).onFocus());
566
566
  })), G(this, Fe, hn.subscribe(async (e) => {
567
567
  e && (await this.resumePausedMutations(), b(this, $).onOnline());
@@ -569,13 +569,13 @@ var $, Se, Ee, ke, $e, Ce, Le, Fe, Cn, Ms = (Cn = class {
569
569
  }
570
570
  unmount() {
571
571
  var e, t;
572
- it(this, Ce)._--, b(this, Ce) === 0 && ((e = b(this, Le)) == null || e.call(this), G(this, Le, void 0), (t = b(this, Fe)) == null || t.call(this), G(this, Fe, void 0));
572
+ it(this, Re)._--, b(this, Re) === 0 && ((e = b(this, Le)) == null || e.call(this), G(this, Le, void 0), (t = b(this, Fe)) == null || t.call(this), G(this, Fe, void 0));
573
573
  }
574
574
  isFetching(e) {
575
575
  return b(this, $).findAll({ ...e, fetchStatus: "fetching" }).length;
576
576
  }
577
577
  isMutating(e) {
578
- return b(this, Se).findAll({ ...e, status: "pending" }).length;
578
+ return b(this, Ce).findAll({ ...e, status: "pending" }).length;
579
579
  }
580
580
  getQueryData(e) {
581
581
  var n;
@@ -600,7 +600,7 @@ var $, Se, Ee, ke, $e, Ce, Le, Fe, Cn, Ms = (Cn = class {
600
600
  setQueryData(e, t, n) {
601
601
  const r = this.defaultQueryOptions({ queryKey: e }), a = b(this, $).get(
602
602
  r.queryHash
603
- ), s = a == null ? void 0 : a.state.data, i = Da(t, s);
603
+ ), s = a == null ? void 0 : a.state.data, i = ja(t, s);
604
604
  if (i !== void 0)
605
605
  return b(this, $).build(this, r).setData(i, { ...n, manual: !0 });
606
606
  }
@@ -638,7 +638,7 @@ var $, Se, Ee, ke, $e, Ce, Le, Fe, Cn, Ms = (Cn = class {
638
638
  const n = { revert: !0, ...t }, r = ee.batch(
639
639
  () => b(this, $).findAll(e).map((a) => a.cancel(n))
640
640
  );
641
- return Promise.all(r).then(ve).catch(ve);
641
+ return Promise.all(r).then(we).catch(we);
642
642
  }
643
643
  invalidateQueries(e = {}, t = {}) {
644
644
  return ee.batch(() => {
@@ -660,10 +660,10 @@ var $, Se, Ee, ke, $e, Ce, Le, Fe, Cn, Ms = (Cn = class {
660
660
  }, r = ee.batch(
661
661
  () => b(this, $).findAll(e).filter((a) => !a.isDisabled()).map((a) => {
662
662
  let s = a.fetch(void 0, n);
663
- return n.throwOnError || (s = s.catch(ve)), a.state.fetchStatus === "paused" ? Promise.resolve() : s;
663
+ return n.throwOnError || (s = s.catch(we)), a.state.fetchStatus === "paused" ? Promise.resolve() : s;
664
664
  })
665
665
  );
666
- return Promise.all(r).then(ve);
666
+ return Promise.all(r).then(we);
667
667
  }
668
668
  fetchQuery(e) {
669
669
  const t = this.defaultQueryOptions(e);
@@ -674,22 +674,22 @@ var $, Se, Ee, ke, $e, Ce, Le, Fe, Cn, Ms = (Cn = class {
674
674
  ) ? n.fetch(t) : Promise.resolve(n.state.data);
675
675
  }
676
676
  prefetchQuery(e) {
677
- return this.fetchQuery(e).then(ve).catch(ve);
677
+ return this.fetchQuery(e).then(we).catch(we);
678
678
  }
679
679
  fetchInfiniteQuery(e) {
680
- return e.behavior = xs(e.pages), this.fetchQuery(e);
680
+ return e.behavior = ys(e.pages), this.fetchQuery(e);
681
681
  }
682
682
  prefetchInfiniteQuery(e) {
683
- return this.fetchInfiniteQuery(e).then(ve).catch(ve);
683
+ return this.fetchInfiniteQuery(e).then(we).catch(we);
684
684
  }
685
685
  resumePausedMutations() {
686
- return hn.isOnline() ? b(this, Se).resumePausedMutations() : Promise.resolve();
686
+ return hn.isOnline() ? b(this, Ce).resumePausedMutations() : Promise.resolve();
687
687
  }
688
688
  getQueryCache() {
689
689
  return b(this, $);
690
690
  }
691
691
  getMutationCache() {
692
- return b(this, Se);
692
+ return b(this, Ce);
693
693
  }
694
694
  getDefaultOptions() {
695
695
  return b(this, Ee);
@@ -732,10 +732,10 @@ var $, Se, Ee, ke, $e, Ce, Le, Fe, Cn, Ms = (Cn = class {
732
732
  ...e,
733
733
  _defaulted: !0
734
734
  };
735
- return t.queryHash || (t.queryHash = Bn(
735
+ return t.queryHash || (t.queryHash = zn(
736
736
  t.queryKey,
737
737
  t
738
- )), 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 === ja && (t.enabled = !1), t;
738
+ )), 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 === Na && (t.enabled = !1), t;
739
739
  }
740
740
  defaultMutationOptions(e) {
741
741
  return e != null && e._defaulted ? e : {
@@ -746,14 +746,14 @@ var $, Se, Ee, ke, $e, Ce, Le, Fe, Cn, Ms = (Cn = class {
746
746
  };
747
747
  }
748
748
  clear() {
749
- b(this, $).clear(), b(this, Se).clear();
749
+ b(this, $).clear(), b(this, Ce).clear();
750
750
  }
751
- }, $ = new WeakMap(), Se = new WeakMap(), Ee = new WeakMap(), ke = new WeakMap(), $e = new WeakMap(), Ce = new WeakMap(), Le = new WeakMap(), Fe = new WeakMap(), Cn);
752
- const Ss = $n(null), Mt = {
751
+ }, $ = new WeakMap(), Ce = new WeakMap(), Ee = new WeakMap(), ke = new WeakMap(), $e = new WeakMap(), Re = new WeakMap(), Le = new WeakMap(), Fe = new WeakMap(), Rn);
752
+ const Cs = Ln(null), Mt = {
753
753
  didCatch: !1,
754
754
  error: null
755
755
  };
756
- class Es extends fa {
756
+ class Es extends ha {
757
757
  constructor(t) {
758
758
  super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Mt;
759
759
  }
@@ -786,7 +786,7 @@ class Es extends fa {
786
786
  } = this.state, {
787
787
  resetKeys: a
788
788
  } = this.props;
789
- if (r && n.error !== null && Cs(t.resetKeys, a)) {
789
+ if (r && n.error !== null && Rs(t.resetKeys, a)) {
790
790
  var s, i;
791
791
  (s = (i = this.props).onReset) === null || s === void 0 || s.call(i, {
792
792
  next: a,
@@ -815,12 +815,12 @@ class Es extends fa {
815
815
  l = n(u);
816
816
  else if (r)
817
817
  l = un(r, u);
818
- else if (a === null || ha(a))
818
+ else if (a === null || pa(a))
819
819
  l = a;
820
820
  else
821
821
  throw i;
822
822
  }
823
- return un(Ss.Provider, {
823
+ return un(Cs.Provider, {
824
824
  value: {
825
825
  didCatch: s,
826
826
  error: i,
@@ -829,12 +829,12 @@ class Es extends fa {
829
829
  }, l);
830
830
  }
831
831
  }
832
- function Cs() {
832
+ function Rs() {
833
833
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
834
834
  return e.length !== t.length || e.some((n, r) => !Object.is(n, t[r]));
835
835
  }
836
- const Rs = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems == "function", Ds = (e) => "getRoutes" in e && typeof e.getRoutes == "function", js = (e) => "renderSearch" in e && typeof e.renderSearch == "function", Ns = (e) => "initialize" in e && typeof e.initialize == "function", Ps = (e) => "getHead" in e && typeof e.getHead == "function", Ts = (e) => "getMdxComponents" in e && typeof e.getMdxComponents == "function", _s = (e) => "getIdentities" in e && typeof e.getIdentities == "function", Wn = new Ms();
837
- class Os {
836
+ const Ds = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems == "function", js = (e) => "getRoutes" in e && typeof e.getRoutes == "function", Ns = (e) => "renderSearch" in e && typeof e.renderSearch == "function", Ps = (e) => "initialize" in e && typeof e.initialize == "function", Ts = (e) => "getHead" in e && typeof e.getHead == "function", _s = (e) => "getMdxComponents" in e && typeof e.getMdxComponents == "function", Os = (e) => "getIdentities" in e && typeof e.getIdentities == "function", Yn = new Ss();
837
+ class Is {
838
838
  constructor(t) {
839
839
  J(this, "plugins");
840
840
  J(this, "sidebars");
@@ -845,17 +845,17 @@ class Os {
845
845
  J(this, "navigationPlugins");
846
846
  J(this, "initialize", async () => {
847
847
  await Promise.all(
848
- this.plugins.filter(Ns).map((t) => {
848
+ this.plugins.filter(Ps).map((t) => {
849
849
  var n;
850
850
  return (n = t.initialize) == null ? void 0 : n.call(t, this);
851
851
  })
852
852
  );
853
853
  });
854
854
  J(this, "invalidateCache", async (t) => {
855
- await Wn.invalidateQueries({ queryKey: t });
855
+ await Yn.invalidateQueries({ queryKey: t });
856
856
  });
857
857
  J(this, "getApiIdentities", async () => (await Promise.all(
858
- this.plugins.filter(_s).map((n) => n.getIdentities(this))
858
+ this.plugins.filter(Os).map((n) => n.getIdentities(this))
859
859
  )).flat());
860
860
  J(this, "getPluginSidebar", async (t) => (await Promise.all(
861
861
  this.navigationPlugins.map(
@@ -871,26 +871,26 @@ class Os {
871
871
  const n = await this.authentication.getAccessToken();
872
872
  return t.headers.set("Authorization", `Bearer ${n}`), t;
873
873
  });
874
- this.plugins = t.plugins ?? [], this.topNavigation = t.topNavigation ?? [], this.sidebars = t.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(Ds), this.authentication = t.authentication, this.meta = t.metadata, this.page = t.page;
874
+ this.plugins = t.plugins ?? [], this.topNavigation = t.topNavigation ?? [], this.sidebars = t.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(js), this.authentication = t.authentication, this.meta = t.metadata, this.page = t.page;
875
875
  }
876
876
  }
877
- function Is({ error: e, resetErrorBoundary: t }) {
878
- return /* @__PURE__ */ o.jsx(jn, { error: e });
877
+ function As({ error: e, resetErrorBoundary: t }) {
878
+ return /* @__PURE__ */ o.jsx(Nn, { error: e });
879
879
  }
880
880
  const ct = globalThis;
881
881
  (!ct.requestIdleCallback || !ct.cancelIdleCallback) && (ct.requestIdleCallback = (e) => setTimeout(e, 1), ct.cancelIdleCallback = clearTimeout);
882
- var jt = ["Enter", " "], As = ["ArrowDown", "PageUp", "Home"], Yn = ["ArrowUp", "PageDown", "End"], ks = [...As, ...Yn], $s = {
882
+ var jt = ["Enter", " "], ks = ["ArrowDown", "PageUp", "Home"], Xn = ["ArrowUp", "PageDown", "End"], $s = [...ks, ...Xn], Ls = {
883
883
  ltr: [...jt, "ArrowRight"],
884
884
  rtl: [...jt, "ArrowLeft"]
885
- }, Ls = {
885
+ }, Fs = {
886
886
  ltr: ["ArrowLeft"],
887
887
  rtl: ["ArrowRight"]
888
- }, tt = "Menu", [Ye, Fs, Hs] = qo(tt), [_e, Xn] = Nn(tt, [
889
- Hs,
890
- Pn,
891
- Vn
892
- ]), nt = Pn(), Jn = Vn(), [Zn, Re] = _e(tt), [Us, rt] = _e(tt), er = (e) => {
893
- const { __scopeMenu: t, open: n = !1, children: r, dir: a, onOpenChange: s, modal: i = !0 } = e, l = nt(t), [u, v] = h.useState(null), m = h.useRef(!1), c = At(s), d = oa(a);
888
+ }, tt = "Menu", [Ye, Hs, Us] = Go(tt), [_e, Jn] = Pn(tt, [
889
+ Us,
890
+ Tn,
891
+ Qn
892
+ ]), nt = Tn(), Zn = Qn(), [er, De] = _e(tt), [Bs, rt] = _e(tt), tr = (e) => {
893
+ const { __scopeMenu: t, open: n = !1, children: r, dir: a, onOpenChange: s, modal: i = !0 } = e, l = nt(t), [u, v] = h.useState(null), m = h.useRef(!1), c = At(s), d = aa(a);
894
894
  return h.useEffect(() => {
895
895
  const f = () => {
896
896
  m.current = !0, document.addEventListener("pointerdown", y, { capture: !0, once: !0 }), document.addEventListener("pointermove", y, { capture: !0, once: !0 });
@@ -898,8 +898,8 @@ var jt = ["Enter", " "], As = ["ArrowDown", "PageUp", "Home"], Yn = ["ArrowUp",
898
898
  return document.addEventListener("keydown", f, { capture: !0 }), () => {
899
899
  document.removeEventListener("keydown", f, { capture: !0 }), document.removeEventListener("pointerdown", y, { capture: !0 }), document.removeEventListener("pointermove", y, { capture: !0 });
900
900
  };
901
- }, []), /* @__PURE__ */ o.jsx(_n, { ...l, children: /* @__PURE__ */ o.jsx(
902
- Zn,
901
+ }, []), /* @__PURE__ */ o.jsx(On, { ...l, children: /* @__PURE__ */ o.jsx(
902
+ er,
903
903
  {
904
904
  scope: t,
905
905
  open: n,
@@ -907,7 +907,7 @@ var jt = ["Enter", " "], As = ["ArrowDown", "PageUp", "Home"], Yn = ["ArrowUp",
907
907
  content: u,
908
908
  onContentChange: v,
909
909
  children: /* @__PURE__ */ o.jsx(
910
- Us,
910
+ Bs,
911
911
  {
912
912
  scope: t,
913
913
  onClose: h.useCallback(() => c(!1), [c]),
@@ -920,32 +920,32 @@ var jt = ["Enter", " "], As = ["ArrowDown", "PageUp", "Home"], Yn = ["ArrowUp",
920
920
  }
921
921
  ) });
922
922
  };
923
- er.displayName = tt;
924
- var Bs = "MenuAnchor", Ut = h.forwardRef(
923
+ tr.displayName = tt;
924
+ var zs = "MenuAnchor", Ut = h.forwardRef(
925
925
  (e, t) => {
926
926
  const { __scopeMenu: n, ...r } = e, a = nt(n);
927
- return /* @__PURE__ */ o.jsx(Go, { ...a, ...r, ref: t });
927
+ return /* @__PURE__ */ o.jsx(Wo, { ...a, ...r, ref: t });
928
928
  }
929
929
  );
930
- Ut.displayName = Bs;
931
- var Bt = "MenuPortal", [zs, tr] = _e(Bt, {
930
+ Ut.displayName = zs;
931
+ var Bt = "MenuPortal", [Ks, nr] = _e(Bt, {
932
932
  forceMount: void 0
933
- }), nr = (e) => {
934
- const { __scopeMenu: t, forceMount: n, children: r, container: a } = e, s = Re(Bt, t);
935
- return /* @__PURE__ */ o.jsx(zs, { scope: t, forceMount: n, children: /* @__PURE__ */ o.jsx(gt, { present: n || s.open, children: /* @__PURE__ */ o.jsx(aa, { asChild: !0, container: a, children: r }) }) });
933
+ }), rr = (e) => {
934
+ const { __scopeMenu: t, forceMount: n, children: r, container: a } = e, s = De(Bt, t);
935
+ return /* @__PURE__ */ o.jsx(Ks, { scope: t, forceMount: n, children: /* @__PURE__ */ o.jsx(gt, { present: n || s.open, children: /* @__PURE__ */ o.jsx(sa, { asChild: !0, container: a, children: r }) }) });
936
936
  };
937
- nr.displayName = Bt;
938
- var se = "MenuContent", [Ks, zt] = _e(se), rr = h.forwardRef(
937
+ rr.displayName = Bt;
938
+ var se = "MenuContent", [Vs, zt] = _e(se), or = h.forwardRef(
939
939
  (e, t) => {
940
- const n = tr(se, e.__scopeMenu), { forceMount: r = n.forceMount, ...a } = e, s = Re(se, e.__scopeMenu), i = rt(se, e.__scopeMenu);
941
- return /* @__PURE__ */ o.jsx(Ye.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ o.jsx(gt, { present: r || s.open, children: /* @__PURE__ */ o.jsx(Ye.Slot, { scope: e.__scopeMenu, children: i.modal ? /* @__PURE__ */ o.jsx(Vs, { ...a, ref: t }) : /* @__PURE__ */ o.jsx(Qs, { ...a, ref: t }) }) }) });
940
+ const n = nr(se, e.__scopeMenu), { forceMount: r = n.forceMount, ...a } = e, s = De(se, e.__scopeMenu), i = rt(se, e.__scopeMenu);
941
+ return /* @__PURE__ */ o.jsx(Ye.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ o.jsx(gt, { present: r || s.open, children: /* @__PURE__ */ o.jsx(Ye.Slot, { scope: e.__scopeMenu, children: i.modal ? /* @__PURE__ */ o.jsx(Qs, { ...a, ref: t }) : /* @__PURE__ */ o.jsx(qs, { ...a, ref: t }) }) }) });
942
942
  }
943
- ), Vs = h.forwardRef(
943
+ ), Qs = h.forwardRef(
944
944
  (e, t) => {
945
- const n = Re(se, e.__scopeMenu), r = h.useRef(null), a = Ze(t, r);
945
+ const n = De(se, e.__scopeMenu), r = h.useRef(null), a = Ze(t, r);
946
946
  return h.useEffect(() => {
947
947
  const s = r.current;
948
- if (s) return Wo(s);
948
+ if (s) return Yo(s);
949
949
  }, []), /* @__PURE__ */ o.jsx(
950
950
  Kt,
951
951
  {
@@ -963,8 +963,8 @@ var se = "MenuContent", [Ks, zt] = _e(se), rr = h.forwardRef(
963
963
  }
964
964
  );
965
965
  }
966
- ), Qs = h.forwardRef((e, t) => {
967
- const n = Re(se, e.__scopeMenu);
966
+ ), qs = h.forwardRef((e, t) => {
967
+ const n = De(se, e.__scopeMenu);
968
968
  return /* @__PURE__ */ o.jsx(
969
969
  Kt,
970
970
  {
@@ -993,58 +993,58 @@ var se = "MenuContent", [Ks, zt] = _e(se), rr = h.forwardRef(
993
993
  onDismiss: f,
994
994
  disableOutsideScroll: y,
995
995
  ...R
996
- } = e, K = Re(se, n), H = rt(se, n), q = nt(n), x = Jn(n), p = Fs(n), [C, N] = h.useState(null), P = h.useRef(null), _ = Ze(t, P, K.onContentChange), w = h.useRef(0), L = h.useRef(""), te = h.useRef(0), Q = h.useRef(null), V = h.useRef("right"), X = h.useRef(0), Oe = y ? ta : h.Fragment, he = y ? { as: na, allowPinchZoom: !0 } : void 0, Be = (E) => {
997
- var le, ge;
998
- const U = L.current + E, Y = p().filter((re) => !re.disabled), ne = document.activeElement, De = (le = Y.find((re) => re.ref.current === ne)) == null ? void 0 : le.textValue, pe = Y.map((re) => re.textValue), ye = oi(pe, U, De), me = (ge = Y.find((re) => re.textValue === ye)) == null ? void 0 : ge.ref.current;
996
+ } = e, K = De(se, n), H = rt(se, n), q = nt(n), x = Zn(n), p = Hs(n), [E, N] = h.useState(null), P = h.useRef(null), _ = Ze(t, P, K.onContentChange), w = h.useRef(0), L = h.useRef(""), te = h.useRef(0), Q = h.useRef(null), V = h.useRef("right"), X = h.useRef(0), Oe = y ? na : h.Fragment, pe = y ? { as: ra, allowPinchZoom: !0 } : void 0, Be = (C) => {
997
+ var le, ve;
998
+ const U = L.current + C, Y = p().filter((re) => !re.disabled), ne = document.activeElement, je = (le = Y.find((re) => re.ref.current === ne)) == null ? void 0 : le.textValue, me = Y.map((re) => re.textValue), Me = ai(me, U, je), ge = (ve = Y.find((re) => re.textValue === Me)) == null ? void 0 : ve.ref.current;
999
999
  (function re(M) {
1000
1000
  L.current = M, window.clearTimeout(w.current), M !== "" && (w.current = window.setTimeout(() => re(""), 1e3));
1001
- })(U), me && setTimeout(() => me.focus());
1001
+ })(U), ge && setTimeout(() => ge.focus());
1002
1002
  };
1003
- h.useEffect(() => () => window.clearTimeout(w.current), []), Yo();
1004
- const xe = h.useCallback((E) => {
1003
+ h.useEffect(() => () => window.clearTimeout(w.current), []), Xo();
1004
+ const ye = h.useCallback((C) => {
1005
1005
  var Y, ne;
1006
- return V.current === ((Y = Q.current) == null ? void 0 : Y.side) && si(E, (ne = Q.current) == null ? void 0 : ne.area);
1006
+ return V.current === ((Y = Q.current) == null ? void 0 : Y.side) && ii(C, (ne = Q.current) == null ? void 0 : ne.area);
1007
1007
  }, []);
1008
1008
  return /* @__PURE__ */ o.jsx(
1009
- Ks,
1009
+ Vs,
1010
1010
  {
1011
1011
  scope: n,
1012
1012
  searchRef: L,
1013
1013
  onItemEnter: h.useCallback(
1014
- (E) => {
1015
- xe(E) && E.preventDefault();
1014
+ (C) => {
1015
+ ye(C) && C.preventDefault();
1016
1016
  },
1017
- [xe]
1017
+ [ye]
1018
1018
  ),
1019
1019
  onItemLeave: h.useCallback(
1020
- (E) => {
1020
+ (C) => {
1021
1021
  var U;
1022
- xe(E) || ((U = P.current) == null || U.focus(), N(null));
1022
+ ye(C) || ((U = P.current) == null || U.focus(), N(null));
1023
1023
  },
1024
- [xe]
1024
+ [ye]
1025
1025
  ),
1026
1026
  onTriggerLeave: h.useCallback(
1027
- (E) => {
1028
- xe(E) && E.preventDefault();
1027
+ (C) => {
1028
+ ye(C) && C.preventDefault();
1029
1029
  },
1030
- [xe]
1030
+ [ye]
1031
1031
  ),
1032
1032
  pointerGraceTimerRef: te,
1033
- onPointerGraceIntentChange: h.useCallback((E) => {
1034
- Q.current = E;
1033
+ onPointerGraceIntentChange: h.useCallback((C) => {
1034
+ Q.current = C;
1035
1035
  }, []),
1036
- children: /* @__PURE__ */ o.jsx(Oe, { ...he, children: /* @__PURE__ */ o.jsx(
1037
- Xo,
1036
+ children: /* @__PURE__ */ o.jsx(Oe, { ...pe, children: /* @__PURE__ */ o.jsx(
1037
+ Jo,
1038
1038
  {
1039
1039
  asChild: !0,
1040
1040
  trapped: a,
1041
- onMountAutoFocus: A(s, (E) => {
1041
+ onMountAutoFocus: A(s, (C) => {
1042
1042
  var U;
1043
- E.preventDefault(), (U = P.current) == null || U.focus({ preventScroll: !0 });
1043
+ C.preventDefault(), (U = P.current) == null || U.focus({ preventScroll: !0 });
1044
1044
  }),
1045
1045
  onUnmountAutoFocus: i,
1046
1046
  children: /* @__PURE__ */ o.jsx(
1047
- Jo,
1047
+ Zo,
1048
1048
  {
1049
1049
  asChild: !0,
1050
1050
  disableOutsidePointerEvents: l,
@@ -1054,50 +1054,50 @@ var se = "MenuContent", [Ks, zt] = _e(se), rr = h.forwardRef(
1054
1054
  onInteractOutside: d,
1055
1055
  onDismiss: f,
1056
1056
  children: /* @__PURE__ */ o.jsx(
1057
- Ba,
1057
+ za,
1058
1058
  {
1059
1059
  asChild: !0,
1060
1060
  ...x,
1061
1061
  dir: H.dir,
1062
1062
  orientation: "vertical",
1063
1063
  loop: r,
1064
- currentTabStopId: C,
1064
+ currentTabStopId: E,
1065
1065
  onCurrentTabStopIdChange: N,
1066
- onEntryFocus: A(u, (E) => {
1067
- H.isUsingKeyboardRef.current || E.preventDefault();
1066
+ onEntryFocus: A(u, (C) => {
1067
+ H.isUsingKeyboardRef.current || C.preventDefault();
1068
1068
  }),
1069
1069
  preventScrollOnEntryFocus: !0,
1070
1070
  children: /* @__PURE__ */ o.jsx(
1071
- Zo,
1071
+ ea,
1072
1072
  {
1073
1073
  role: "menu",
1074
1074
  "aria-orientation": "vertical",
1075
- "data-state": xr(K.open),
1075
+ "data-state": yr(K.open),
1076
1076
  "data-radix-menu-content": "",
1077
1077
  dir: H.dir,
1078
1078
  ...q,
1079
1079
  ...R,
1080
1080
  ref: _,
1081
1081
  style: { outline: "none", ...R.style },
1082
- onKeyDown: A(R.onKeyDown, (E) => {
1083
- const Y = E.target.closest("[data-radix-menu-content]") === E.currentTarget, ne = E.ctrlKey || E.altKey || E.metaKey, De = E.key.length === 1;
1084
- Y && (E.key === "Tab" && E.preventDefault(), !ne && De && Be(E.key));
1085
- const pe = P.current;
1086
- if (E.target !== pe || !ks.includes(E.key)) return;
1087
- E.preventDefault();
1088
- const me = p().filter((le) => !le.disabled).map((le) => le.ref.current);
1089
- Yn.includes(E.key) && me.reverse(), ni(me);
1082
+ onKeyDown: A(R.onKeyDown, (C) => {
1083
+ const Y = C.target.closest("[data-radix-menu-content]") === C.currentTarget, ne = C.ctrlKey || C.altKey || C.metaKey, je = C.key.length === 1;
1084
+ Y && (C.key === "Tab" && C.preventDefault(), !ne && je && Be(C.key));
1085
+ const me = P.current;
1086
+ if (C.target !== me || !$s.includes(C.key)) return;
1087
+ C.preventDefault();
1088
+ const ge = p().filter((le) => !le.disabled).map((le) => le.ref.current);
1089
+ Xn.includes(C.key) && ge.reverse(), ri(ge);
1090
1090
  }),
1091
- onBlur: A(e.onBlur, (E) => {
1092
- E.currentTarget.contains(E.target) || (window.clearTimeout(w.current), L.current = "");
1091
+ onBlur: A(e.onBlur, (C) => {
1092
+ C.currentTarget.contains(C.target) || (window.clearTimeout(w.current), L.current = "");
1093
1093
  }),
1094
1094
  onPointerMove: A(
1095
1095
  e.onPointerMove,
1096
- Xe((E) => {
1097
- const U = E.target, Y = X.current !== E.clientX;
1098
- if (E.currentTarget.contains(U) && Y) {
1099
- const ne = E.clientX > X.current ? "right" : "left";
1100
- V.current = ne, X.current = E.clientX;
1096
+ Xe((C) => {
1097
+ const U = C.target, Y = X.current !== C.clientX;
1098
+ if (C.currentTarget.contains(U) && Y) {
1099
+ const ne = C.clientX > X.current ? "right" : "left";
1100
+ V.current = ne, X.current = C.clientX;
1101
1101
  }
1102
1102
  })
1103
1103
  )
@@ -1113,32 +1113,32 @@ var se = "MenuContent", [Ks, zt] = _e(se), rr = h.forwardRef(
1113
1113
  );
1114
1114
  }
1115
1115
  );
1116
- rr.displayName = se;
1117
- var qs = "MenuGroup", Vt = h.forwardRef(
1116
+ or.displayName = se;
1117
+ var Gs = "MenuGroup", Vt = h.forwardRef(
1118
1118
  (e, t) => {
1119
1119
  const { __scopeMenu: n, ...r } = e;
1120
1120
  return /* @__PURE__ */ o.jsx(He.div, { role: "group", ...r, ref: t });
1121
1121
  }
1122
1122
  );
1123
- Vt.displayName = qs;
1124
- var Gs = "MenuLabel", or = h.forwardRef(
1123
+ Vt.displayName = Gs;
1124
+ var Ws = "MenuLabel", ar = h.forwardRef(
1125
1125
  (e, t) => {
1126
1126
  const { __scopeMenu: n, ...r } = e;
1127
1127
  return /* @__PURE__ */ o.jsx(He.div, { ...r, ref: t });
1128
1128
  }
1129
1129
  );
1130
- or.displayName = Gs;
1130
+ ar.displayName = Ws;
1131
1131
  var pt = "MenuItem", wn = "menu.itemSelect", vt = h.forwardRef(
1132
1132
  (e, t) => {
1133
1133
  const { disabled: n = !1, onSelect: r, ...a } = e, s = h.useRef(null), i = rt(pt, e.__scopeMenu), l = zt(pt, e.__scopeMenu), u = Ze(t, s), v = h.useRef(!1), m = () => {
1134
1134
  const c = s.current;
1135
1135
  if (!n && c) {
1136
1136
  const d = new CustomEvent(wn, { bubbles: !0, cancelable: !0 });
1137
- c.addEventListener(wn, (f) => r == null ? void 0 : r(f), { once: !0 }), ra(c, d), d.defaultPrevented ? v.current = !1 : i.onClose();
1137
+ c.addEventListener(wn, (f) => r == null ? void 0 : r(f), { once: !0 }), oa(c, d), d.defaultPrevented ? v.current = !1 : i.onClose();
1138
1138
  }
1139
1139
  };
1140
1140
  return /* @__PURE__ */ o.jsx(
1141
- ar,
1141
+ sr,
1142
1142
  {
1143
1143
  ...a,
1144
1144
  ref: u,
@@ -1161,9 +1161,9 @@ var pt = "MenuItem", wn = "menu.itemSelect", vt = h.forwardRef(
1161
1161
  }
1162
1162
  );
1163
1163
  vt.displayName = pt;
1164
- var ar = h.forwardRef(
1164
+ var sr = h.forwardRef(
1165
1165
  (e, t) => {
1166
- const { __scopeMenu: n, disabled: r = !1, textValue: a, ...s } = e, i = zt(pt, n), l = Jn(n), u = h.useRef(null), v = Ze(t, u), [m, c] = h.useState(!1), [d, f] = h.useState("");
1166
+ const { __scopeMenu: n, disabled: r = !1, textValue: a, ...s } = e, i = zt(pt, n), l = Zn(n), u = h.useRef(null), v = Ze(t, u), [m, c] = h.useState(!1), [d, f] = h.useState("");
1167
1167
  return h.useEffect(() => {
1168
1168
  const y = u.current;
1169
1169
  y && f((y.textContent ?? "").trim());
@@ -1173,7 +1173,7 @@ var ar = h.forwardRef(
1173
1173
  scope: n,
1174
1174
  disabled: r,
1175
1175
  textValue: a ?? d,
1176
- children: /* @__PURE__ */ o.jsx(za, { asChild: !0, ...l, focusable: !r, children: /* @__PURE__ */ o.jsx(
1176
+ children: /* @__PURE__ */ o.jsx(Ka, { asChild: !0, ...l, focusable: !r, children: /* @__PURE__ */ o.jsx(
1177
1177
  He.div,
1178
1178
  {
1179
1179
  role: "menuitem",
@@ -1199,10 +1199,10 @@ var ar = h.forwardRef(
1199
1199
  }
1200
1200
  );
1201
1201
  }
1202
- ), Ws = "MenuCheckboxItem", sr = h.forwardRef(
1202
+ ), Ys = "MenuCheckboxItem", ir = h.forwardRef(
1203
1203
  (e, t) => {
1204
1204
  const { checked: n = !1, onCheckedChange: r, ...a } = e;
1205
- return /* @__PURE__ */ o.jsx(dr, { scope: e.__scopeMenu, checked: n, children: /* @__PURE__ */ o.jsx(
1205
+ return /* @__PURE__ */ o.jsx(fr, { scope: e.__scopeMenu, checked: n, children: /* @__PURE__ */ o.jsx(
1206
1206
  vt,
1207
1207
  {
1208
1208
  role: "menuitemcheckbox",
@@ -1219,22 +1219,22 @@ var ar = h.forwardRef(
1219
1219
  ) });
1220
1220
  }
1221
1221
  );
1222
- sr.displayName = Ws;
1223
- var ir = "MenuRadioGroup", [Ys, Xs] = _e(
1224
- ir,
1222
+ ir.displayName = Ys;
1223
+ var lr = "MenuRadioGroup", [Xs, Js] = _e(
1224
+ lr,
1225
1225
  { value: void 0, onValueChange: () => {
1226
1226
  } }
1227
- ), lr = h.forwardRef(
1227
+ ), cr = h.forwardRef(
1228
1228
  (e, t) => {
1229
1229
  const { value: n, onValueChange: r, ...a } = e, s = At(r);
1230
- return /* @__PURE__ */ o.jsx(Ys, { scope: e.__scopeMenu, value: n, onValueChange: s, children: /* @__PURE__ */ o.jsx(Vt, { ...a, ref: t }) });
1230
+ return /* @__PURE__ */ o.jsx(Xs, { scope: e.__scopeMenu, value: n, onValueChange: s, children: /* @__PURE__ */ o.jsx(Vt, { ...a, ref: t }) });
1231
1231
  }
1232
1232
  );
1233
- lr.displayName = ir;
1234
- var cr = "MenuRadioItem", ur = h.forwardRef(
1233
+ cr.displayName = lr;
1234
+ var ur = "MenuRadioItem", dr = h.forwardRef(
1235
1235
  (e, t) => {
1236
- const { value: n, ...r } = e, a = Xs(cr, e.__scopeMenu), s = n === a.value;
1237
- return /* @__PURE__ */ o.jsx(dr, { scope: e.__scopeMenu, checked: s, children: /* @__PURE__ */ o.jsx(
1236
+ const { value: n, ...r } = e, a = Js(ur, e.__scopeMenu), s = n === a.value;
1237
+ return /* @__PURE__ */ o.jsx(fr, { scope: e.__scopeMenu, checked: s, children: /* @__PURE__ */ o.jsx(
1238
1238
  vt,
1239
1239
  {
1240
1240
  role: "menuitemradio",
@@ -1254,13 +1254,13 @@ var cr = "MenuRadioItem", ur = h.forwardRef(
1254
1254
  ) });
1255
1255
  }
1256
1256
  );
1257
- ur.displayName = cr;
1258
- var Qt = "MenuItemIndicator", [dr, Js] = _e(
1257
+ dr.displayName = ur;
1258
+ var Qt = "MenuItemIndicator", [fr, Zs] = _e(
1259
1259
  Qt,
1260
1260
  { checked: !1 }
1261
- ), fr = h.forwardRef(
1261
+ ), hr = h.forwardRef(
1262
1262
  (e, t) => {
1263
- const { __scopeMenu: n, forceMount: r, ...a } = e, s = Js(Qt, n);
1263
+ const { __scopeMenu: n, forceMount: r, ...a } = e, s = Zs(Qt, n);
1264
1264
  return /* @__PURE__ */ o.jsx(
1265
1265
  gt,
1266
1266
  {
@@ -1277,8 +1277,8 @@ var Qt = "MenuItemIndicator", [dr, Js] = _e(
1277
1277
  );
1278
1278
  }
1279
1279
  );
1280
- fr.displayName = Qt;
1281
- var Zs = "MenuSeparator", hr = h.forwardRef(
1280
+ hr.displayName = Qt;
1281
+ var ei = "MenuSeparator", pr = h.forwardRef(
1282
1282
  (e, t) => {
1283
1283
  const { __scopeMenu: n, ...r } = e;
1284
1284
  return /* @__PURE__ */ o.jsx(
@@ -1292,18 +1292,18 @@ var Zs = "MenuSeparator", hr = h.forwardRef(
1292
1292
  );
1293
1293
  }
1294
1294
  );
1295
- hr.displayName = Zs;
1296
- var ei = "MenuArrow", pr = h.forwardRef(
1295
+ pr.displayName = ei;
1296
+ var ti = "MenuArrow", mr = h.forwardRef(
1297
1297
  (e, t) => {
1298
1298
  const { __scopeMenu: n, ...r } = e, a = nt(n);
1299
- return /* @__PURE__ */ o.jsx(ea, { ...a, ...r, ref: t });
1299
+ return /* @__PURE__ */ o.jsx(ta, { ...a, ...r, ref: t });
1300
1300
  }
1301
1301
  );
1302
- pr.displayName = ei;
1303
- var qt = "MenuSub", [ti, mr] = _e(qt), gr = (e) => {
1304
- const { __scopeMenu: t, children: n, open: r = !1, onOpenChange: a } = e, s = Re(qt, t), i = nt(t), [l, u] = h.useState(null), [v, m] = h.useState(null), c = At(a);
1305
- return h.useEffect(() => (s.open === !1 && c(!1), () => c(!1)), [s.open, c]), /* @__PURE__ */ o.jsx(_n, { ...i, children: /* @__PURE__ */ o.jsx(
1306
- Zn,
1302
+ mr.displayName = ti;
1303
+ var qt = "MenuSub", [ni, gr] = _e(qt), vr = (e) => {
1304
+ const { __scopeMenu: t, children: n, open: r = !1, onOpenChange: a } = e, s = De(qt, t), i = nt(t), [l, u] = h.useState(null), [v, m] = h.useState(null), c = At(a);
1305
+ return h.useEffect(() => (s.open === !1 && c(!1), () => c(!1)), [s.open, c]), /* @__PURE__ */ o.jsx(On, { ...i, children: /* @__PURE__ */ o.jsx(
1306
+ er,
1307
1307
  {
1308
1308
  scope: t,
1309
1309
  open: r,
@@ -1311,7 +1311,7 @@ var qt = "MenuSub", [ti, mr] = _e(qt), gr = (e) => {
1311
1311
  content: v,
1312
1312
  onContentChange: m,
1313
1313
  children: /* @__PURE__ */ o.jsx(
1314
- ti,
1314
+ ni,
1315
1315
  {
1316
1316
  scope: t,
1317
1317
  contentId: ht(),
@@ -1324,10 +1324,10 @@ var qt = "MenuSub", [ti, mr] = _e(qt), gr = (e) => {
1324
1324
  }
1325
1325
  ) });
1326
1326
  };
1327
- gr.displayName = qt;
1328
- var qe = "MenuSubTrigger", vr = h.forwardRef(
1327
+ vr.displayName = qt;
1328
+ var qe = "MenuSubTrigger", wr = h.forwardRef(
1329
1329
  (e, t) => {
1330
- const n = Re(qe, e.__scopeMenu), r = rt(qe, e.__scopeMenu), a = mr(qe, e.__scopeMenu), s = zt(qe, e.__scopeMenu), i = h.useRef(null), { pointerGraceTimerRef: l, onPointerGraceIntentChange: u } = s, v = { __scopeMenu: e.__scopeMenu }, m = h.useCallback(() => {
1330
+ const n = De(qe, e.__scopeMenu), r = rt(qe, e.__scopeMenu), a = gr(qe, e.__scopeMenu), s = zt(qe, e.__scopeMenu), i = h.useRef(null), { pointerGraceTimerRef: l, onPointerGraceIntentChange: u } = s, v = { __scopeMenu: e.__scopeMenu }, m = h.useCallback(() => {
1331
1331
  i.current && window.clearTimeout(i.current), i.current = null;
1332
1332
  }, []);
1333
1333
  return h.useEffect(() => m, [m]), h.useEffect(() => {
@@ -1336,15 +1336,15 @@ var qe = "MenuSubTrigger", vr = h.forwardRef(
1336
1336
  window.clearTimeout(c), u(null);
1337
1337
  };
1338
1338
  }, [l, u]), /* @__PURE__ */ o.jsx(Ut, { asChild: !0, ...v, children: /* @__PURE__ */ o.jsx(
1339
- ar,
1339
+ sr,
1340
1340
  {
1341
1341
  id: a.triggerId,
1342
1342
  "aria-haspopup": "menu",
1343
1343
  "aria-expanded": n.open,
1344
1344
  "aria-controls": a.contentId,
1345
- "data-state": xr(n.open),
1345
+ "data-state": yr(n.open),
1346
1346
  ...e,
1347
- ref: Tn(t, a.onTriggerChange),
1347
+ ref: _n(t, a.onTriggerChange),
1348
1348
  onClick: (c) => {
1349
1349
  var d;
1350
1350
  (d = e.onClick) == null || d.call(e, c), !(e.disabled || c.defaultPrevented) && (c.currentTarget.focus(), n.open || n.onOpenChange(!0));
@@ -1389,16 +1389,16 @@ var qe = "MenuSubTrigger", vr = h.forwardRef(
1389
1389
  onKeyDown: A(e.onKeyDown, (c) => {
1390
1390
  var f;
1391
1391
  const d = s.searchRef.current !== "";
1392
- e.disabled || d && c.key === " " || $s[r.dir].includes(c.key) && (n.onOpenChange(!0), (f = n.content) == null || f.focus(), c.preventDefault());
1392
+ e.disabled || d && c.key === " " || Ls[r.dir].includes(c.key) && (n.onOpenChange(!0), (f = n.content) == null || f.focus(), c.preventDefault());
1393
1393
  })
1394
1394
  }
1395
1395
  ) });
1396
1396
  }
1397
1397
  );
1398
- vr.displayName = qe;
1399
- var wr = "MenuSubContent", br = h.forwardRef(
1398
+ wr.displayName = qe;
1399
+ var br = "MenuSubContent", xr = h.forwardRef(
1400
1400
  (e, t) => {
1401
- const n = tr(se, e.__scopeMenu), { forceMount: r = n.forceMount, ...a } = e, s = Re(se, e.__scopeMenu), i = rt(se, e.__scopeMenu), l = mr(wr, e.__scopeMenu), u = h.useRef(null), v = Ze(t, u);
1401
+ const n = nr(se, e.__scopeMenu), { forceMount: r = n.forceMount, ...a } = e, s = De(se, e.__scopeMenu), i = rt(se, e.__scopeMenu), l = gr(br, e.__scopeMenu), u = h.useRef(null), v = Ze(t, u);
1402
1402
  return /* @__PURE__ */ o.jsx(Ye.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ o.jsx(gt, { present: r || s.open, children: /* @__PURE__ */ o.jsx(Ye.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ o.jsx(
1403
1403
  Kt,
1404
1404
  {
@@ -1424,15 +1424,15 @@ var wr = "MenuSubContent", br = h.forwardRef(
1424
1424
  }),
1425
1425
  onKeyDown: A(e.onKeyDown, (m) => {
1426
1426
  var f;
1427
- const c = m.currentTarget.contains(m.target), d = Ls[i.dir].includes(m.key);
1427
+ const c = m.currentTarget.contains(m.target), d = Fs[i.dir].includes(m.key);
1428
1428
  c && d && (s.onOpenChange(!1), (f = l.trigger) == null || f.focus(), m.preventDefault());
1429
1429
  })
1430
1430
  }
1431
1431
  ) }) }) });
1432
1432
  }
1433
1433
  );
1434
- br.displayName = wr;
1435
- function xr(e) {
1434
+ xr.displayName = br;
1435
+ function yr(e) {
1436
1436
  return e ? "open" : "closed";
1437
1437
  }
1438
1438
  function mt(e) {
@@ -1441,24 +1441,24 @@ function mt(e) {
1441
1441
  function Gt(e) {
1442
1442
  return mt(e) ? "indeterminate" : e ? "checked" : "unchecked";
1443
1443
  }
1444
- function ni(e) {
1444
+ function ri(e) {
1445
1445
  const t = document.activeElement;
1446
1446
  for (const n of e)
1447
1447
  if (n === t || (n.focus(), document.activeElement !== t)) return;
1448
1448
  }
1449
- function ri(e, t) {
1449
+ function oi(e, t) {
1450
1450
  return e.map((n, r) => e[(t + r) % e.length]);
1451
1451
  }
1452
- function oi(e, t, n) {
1452
+ function ai(e, t, n) {
1453
1453
  const a = t.length > 1 && Array.from(t).every((v) => v === t[0]) ? t[0] : t, s = n ? e.indexOf(n) : -1;
1454
- let i = ri(e, Math.max(s, 0));
1454
+ let i = oi(e, Math.max(s, 0));
1455
1455
  a.length === 1 && (i = i.filter((v) => v !== n));
1456
1456
  const u = i.find(
1457
1457
  (v) => v.toLowerCase().startsWith(a.toLowerCase())
1458
1458
  );
1459
1459
  return u !== n ? u : void 0;
1460
1460
  }
1461
- function ai(e, t) {
1461
+ function si(e, t) {
1462
1462
  const { x: n, y: r } = e;
1463
1463
  let a = !1;
1464
1464
  for (let s = 0, i = t.length - 1; s < t.length; i = s++) {
@@ -1467,18 +1467,18 @@ function ai(e, t) {
1467
1467
  }
1468
1468
  return a;
1469
1469
  }
1470
- function si(e, t) {
1470
+ function ii(e, t) {
1471
1471
  if (!t) return !1;
1472
1472
  const n = { x: e.clientX, y: e.clientY };
1473
- return ai(n, t);
1473
+ return si(n, t);
1474
1474
  }
1475
1475
  function Xe(e) {
1476
1476
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
1477
1477
  }
1478
- var ii = er, li = Ut, ci = nr, ui = rr, di = Vt, fi = or, hi = vt, pi = sr, mi = lr, gi = ur, vi = fr, wi = hr, bi = pr, xi = gr, yi = vr, Mi = br, Wt = "DropdownMenu", [Si, Jl] = Nn(
1478
+ var li = tr, ci = Ut, ui = rr, di = or, fi = Vt, hi = ar, pi = vt, mi = ir, gi = cr, vi = dr, wi = hr, bi = pr, xi = mr, yi = vr, Mi = wr, Si = xr, Wt = "DropdownMenu", [Ci, Jl] = Pn(
1479
1479
  Wt,
1480
- [Xn]
1481
- ), W = Xn(), [Ei, yr] = Si(Wt), Mr = (e) => {
1480
+ [Jn]
1481
+ ), W = Jn(), [Ei, Mr] = Ci(Wt), Sr = (e) => {
1482
1482
  const {
1483
1483
  __scopeDropdownMenu: t,
1484
1484
  children: n,
@@ -1487,7 +1487,7 @@ var ii = er, li = Ut, ci = nr, ui = rr, di = Vt, fi = or, hi = vt, pi = sr, mi =
1487
1487
  defaultOpen: s,
1488
1488
  onOpenChange: i,
1489
1489
  modal: l = !0
1490
- } = e, u = W(t), v = h.useRef(null), [m = !1, c] = On({
1490
+ } = e, u = W(t), v = h.useRef(null), [m = !1, c] = In({
1491
1491
  prop: a,
1492
1492
  defaultProp: s,
1493
1493
  onChange: i
@@ -1503,15 +1503,15 @@ var ii = er, li = Ut, ci = nr, ui = rr, di = Vt, fi = or, hi = vt, pi = sr, mi =
1503
1503
  onOpenChange: c,
1504
1504
  onOpenToggle: h.useCallback(() => c((d) => !d), [c]),
1505
1505
  modal: l,
1506
- children: /* @__PURE__ */ o.jsx(ii, { ...u, open: m, onOpenChange: c, dir: r, modal: l, children: n })
1506
+ children: /* @__PURE__ */ o.jsx(li, { ...u, open: m, onOpenChange: c, dir: r, modal: l, children: n })
1507
1507
  }
1508
1508
  );
1509
1509
  };
1510
- Mr.displayName = Wt;
1511
- var Sr = "DropdownMenuTrigger", Er = h.forwardRef(
1510
+ Sr.displayName = Wt;
1511
+ var Cr = "DropdownMenuTrigger", Er = h.forwardRef(
1512
1512
  (e, t) => {
1513
- const { __scopeDropdownMenu: n, disabled: r = !1, ...a } = e, s = yr(Sr, n), i = W(n);
1514
- return /* @__PURE__ */ o.jsx(li, { asChild: !0, ...i, children: /* @__PURE__ */ o.jsx(
1513
+ const { __scopeDropdownMenu: n, disabled: r = !1, ...a } = e, s = Mr(Cr, n), i = W(n);
1514
+ return /* @__PURE__ */ o.jsx(ci, { asChild: !0, ...i, children: /* @__PURE__ */ o.jsx(
1515
1515
  He.button,
1516
1516
  {
1517
1517
  type: "button",
@@ -1523,7 +1523,7 @@ var Sr = "DropdownMenuTrigger", Er = h.forwardRef(
1523
1523
  "data-disabled": r ? "" : void 0,
1524
1524
  disabled: r,
1525
1525
  ...a,
1526
- ref: Tn(t, s.triggerRef),
1526
+ ref: _n(t, s.triggerRef),
1527
1527
  onPointerDown: A(e.onPointerDown, (l) => {
1528
1528
  !r && l.button === 0 && l.ctrlKey === !1 && (s.onOpenToggle(), s.open || l.preventDefault());
1529
1529
  }),
@@ -1534,17 +1534,17 @@ var Sr = "DropdownMenuTrigger", Er = h.forwardRef(
1534
1534
  ) });
1535
1535
  }
1536
1536
  );
1537
- Er.displayName = Sr;
1538
- var Ci = "DropdownMenuPortal", Cr = (e) => {
1537
+ Er.displayName = Cr;
1538
+ var Ri = "DropdownMenuPortal", Rr = (e) => {
1539
1539
  const { __scopeDropdownMenu: t, ...n } = e, r = W(t);
1540
- return /* @__PURE__ */ o.jsx(ci, { ...r, ...n });
1540
+ return /* @__PURE__ */ o.jsx(ui, { ...r, ...n });
1541
1541
  };
1542
- Cr.displayName = Ci;
1543
- var Rr = "DropdownMenuContent", Dr = h.forwardRef(
1542
+ Rr.displayName = Ri;
1543
+ var Dr = "DropdownMenuContent", jr = h.forwardRef(
1544
1544
  (e, t) => {
1545
- const { __scopeDropdownMenu: n, ...r } = e, a = yr(Rr, n), s = W(n), i = h.useRef(!1);
1545
+ const { __scopeDropdownMenu: n, ...r } = e, a = Mr(Dr, n), s = W(n), i = h.useRef(!1);
1546
1546
  return /* @__PURE__ */ o.jsx(
1547
- ui,
1547
+ di,
1548
1548
  {
1549
1549
  id: a.contentId,
1550
1550
  "aria-labelledby": a.triggerId,
@@ -1571,76 +1571,76 @@ var Rr = "DropdownMenuContent", Dr = h.forwardRef(
1571
1571
  );
1572
1572
  }
1573
1573
  );
1574
- Dr.displayName = Rr;
1575
- var Ri = "DropdownMenuGroup", Di = h.forwardRef(
1574
+ jr.displayName = Dr;
1575
+ var Di = "DropdownMenuGroup", ji = h.forwardRef(
1576
1576
  (e, t) => {
1577
1577
  const { __scopeDropdownMenu: n, ...r } = e, a = W(n);
1578
- return /* @__PURE__ */ o.jsx(di, { ...a, ...r, ref: t });
1578
+ return /* @__PURE__ */ o.jsx(fi, { ...a, ...r, ref: t });
1579
1579
  }
1580
1580
  );
1581
- Di.displayName = Ri;
1582
- var ji = "DropdownMenuLabel", jr = h.forwardRef(
1581
+ ji.displayName = Di;
1582
+ var Ni = "DropdownMenuLabel", Nr = h.forwardRef(
1583
1583
  (e, t) => {
1584
1584
  const { __scopeDropdownMenu: n, ...r } = e, a = W(n);
1585
- return /* @__PURE__ */ o.jsx(fi, { ...a, ...r, ref: t });
1585
+ return /* @__PURE__ */ o.jsx(hi, { ...a, ...r, ref: t });
1586
1586
  }
1587
1587
  );
1588
- jr.displayName = ji;
1589
- var Ni = "DropdownMenuItem", Nr = h.forwardRef(
1588
+ Nr.displayName = Ni;
1589
+ var Pi = "DropdownMenuItem", Pr = h.forwardRef(
1590
1590
  (e, t) => {
1591
1591
  const { __scopeDropdownMenu: n, ...r } = e, a = W(n);
1592
- return /* @__PURE__ */ o.jsx(hi, { ...a, ...r, ref: t });
1592
+ return /* @__PURE__ */ o.jsx(pi, { ...a, ...r, ref: t });
1593
1593
  }
1594
1594
  );
1595
- Nr.displayName = Ni;
1596
- var Pi = "DropdownMenuCheckboxItem", Pr = h.forwardRef((e, t) => {
1597
- const { __scopeDropdownMenu: n, ...r } = e, a = W(n);
1598
- return /* @__PURE__ */ o.jsx(pi, { ...a, ...r, ref: t });
1599
- });
1600
1595
  Pr.displayName = Pi;
1601
- var Ti = "DropdownMenuRadioGroup", _i = h.forwardRef((e, t) => {
1596
+ var Ti = "DropdownMenuCheckboxItem", Tr = h.forwardRef((e, t) => {
1602
1597
  const { __scopeDropdownMenu: n, ...r } = e, a = W(n);
1603
1598
  return /* @__PURE__ */ o.jsx(mi, { ...a, ...r, ref: t });
1604
1599
  });
1605
- _i.displayName = Ti;
1606
- var Oi = "DropdownMenuRadioItem", Tr = h.forwardRef((e, t) => {
1600
+ Tr.displayName = Ti;
1601
+ var _i = "DropdownMenuRadioGroup", Oi = h.forwardRef((e, t) => {
1607
1602
  const { __scopeDropdownMenu: n, ...r } = e, a = W(n);
1608
1603
  return /* @__PURE__ */ o.jsx(gi, { ...a, ...r, ref: t });
1609
1604
  });
1610
- Tr.displayName = Oi;
1611
- var Ii = "DropdownMenuItemIndicator", _r = h.forwardRef((e, t) => {
1605
+ Oi.displayName = _i;
1606
+ var Ii = "DropdownMenuRadioItem", _r = h.forwardRef((e, t) => {
1612
1607
  const { __scopeDropdownMenu: n, ...r } = e, a = W(n);
1613
1608
  return /* @__PURE__ */ o.jsx(vi, { ...a, ...r, ref: t });
1614
1609
  });
1615
1610
  _r.displayName = Ii;
1616
- var Ai = "DropdownMenuSeparator", Or = h.forwardRef((e, t) => {
1611
+ var Ai = "DropdownMenuItemIndicator", Or = h.forwardRef((e, t) => {
1617
1612
  const { __scopeDropdownMenu: n, ...r } = e, a = W(n);
1618
1613
  return /* @__PURE__ */ o.jsx(wi, { ...a, ...r, ref: t });
1619
1614
  });
1620
1615
  Or.displayName = Ai;
1621
- var ki = "DropdownMenuArrow", $i = h.forwardRef(
1616
+ var ki = "DropdownMenuSeparator", Ir = h.forwardRef((e, t) => {
1617
+ const { __scopeDropdownMenu: n, ...r } = e, a = W(n);
1618
+ return /* @__PURE__ */ o.jsx(bi, { ...a, ...r, ref: t });
1619
+ });
1620
+ Ir.displayName = ki;
1621
+ var $i = "DropdownMenuArrow", Li = h.forwardRef(
1622
1622
  (e, t) => {
1623
1623
  const { __scopeDropdownMenu: n, ...r } = e, a = W(n);
1624
- return /* @__PURE__ */ o.jsx(bi, { ...a, ...r, ref: t });
1624
+ return /* @__PURE__ */ o.jsx(xi, { ...a, ...r, ref: t });
1625
1625
  }
1626
1626
  );
1627
- $i.displayName = ki;
1628
- var Li = (e) => {
1629
- const { __scopeDropdownMenu: t, children: n, open: r, onOpenChange: a, defaultOpen: s } = e, i = W(t), [l = !1, u] = On({
1627
+ Li.displayName = $i;
1628
+ var Fi = (e) => {
1629
+ const { __scopeDropdownMenu: t, children: n, open: r, onOpenChange: a, defaultOpen: s } = e, i = W(t), [l = !1, u] = In({
1630
1630
  prop: r,
1631
1631
  defaultProp: s,
1632
1632
  onChange: a
1633
1633
  });
1634
- return /* @__PURE__ */ o.jsx(xi, { ...i, open: l, onOpenChange: u, children: n });
1635
- }, Fi = "DropdownMenuSubTrigger", Ir = h.forwardRef((e, t) => {
1634
+ return /* @__PURE__ */ o.jsx(yi, { ...i, open: l, onOpenChange: u, children: n });
1635
+ }, Hi = "DropdownMenuSubTrigger", Ar = h.forwardRef((e, t) => {
1636
1636
  const { __scopeDropdownMenu: n, ...r } = e, a = W(n);
1637
- return /* @__PURE__ */ o.jsx(yi, { ...a, ...r, ref: t });
1637
+ return /* @__PURE__ */ o.jsx(Mi, { ...a, ...r, ref: t });
1638
1638
  });
1639
- Ir.displayName = Fi;
1640
- var Hi = "DropdownMenuSubContent", Ar = h.forwardRef((e, t) => {
1639
+ Ar.displayName = Hi;
1640
+ var Ui = "DropdownMenuSubContent", kr = h.forwardRef((e, t) => {
1641
1641
  const { __scopeDropdownMenu: n, ...r } = e, a = W(n);
1642
1642
  return /* @__PURE__ */ o.jsx(
1643
- Mi,
1643
+ Si,
1644
1644
  {
1645
1645
  ...a,
1646
1646
  ...r,
@@ -1656,10 +1656,10 @@ var Hi = "DropdownMenuSubContent", Ar = h.forwardRef((e, t) => {
1656
1656
  }
1657
1657
  );
1658
1658
  });
1659
- Ar.displayName = Hi;
1660
- var Ui = Mr, Bi = Er, kr = Cr, $r = Dr, Lr = jr, Fr = Nr, Hr = Pr, Ur = Tr, Br = _r, zr = Or, zi = Li, Kr = Ir, Vr = Ar;
1661
- const Ki = Ui, Vi = Bi, Qi = kr, qi = zi, Qr = h.forwardRef(({ className: e, inset: t, children: n, ...r }, a) => /* @__PURE__ */ o.jsxs(
1662
- Kr,
1659
+ kr.displayName = Ui;
1660
+ var Bi = Sr, zi = Er, $r = Rr, Lr = jr, Fr = Nr, Hr = Pr, Ur = Tr, Br = _r, zr = Or, Kr = Ir, Ki = Fi, Vr = Ar, Qr = kr;
1661
+ const Vi = Bi, Qi = zi, qi = $r, Gi = Ki, qr = h.forwardRef(({ className: e, inset: t, children: n, ...r }, a) => /* @__PURE__ */ o.jsxs(
1662
+ Vr,
1663
1663
  {
1664
1664
  ref: a,
1665
1665
  className: O(
@@ -1670,13 +1670,13 @@ const Ki = Ui, Vi = Bi, Qi = kr, qi = zi, Qr = h.forwardRef(({ className: e, ins
1670
1670
  ...r,
1671
1671
  children: [
1672
1672
  n,
1673
- /* @__PURE__ */ o.jsx(Kn, { className: "ml-auto h-4 w-4" })
1673
+ /* @__PURE__ */ o.jsx(Vn, { className: "ml-auto h-4 w-4" })
1674
1674
  ]
1675
1675
  }
1676
1676
  ));
1677
- Qr.displayName = Kr.displayName;
1678
- const qr = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ o.jsx(
1679
- Vr,
1677
+ qr.displayName = Vr.displayName;
1678
+ const Gr = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ o.jsx(
1679
+ Qr,
1680
1680
  {
1681
1681
  ref: n,
1682
1682
  className: O(
@@ -1686,9 +1686,9 @@ const qr = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ o.jsx(
1686
1686
  ...t
1687
1687
  }
1688
1688
  ));
1689
- qr.displayName = Vr.displayName;
1690
- const Gr = h.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ o.jsx(kr, { children: /* @__PURE__ */ o.jsx(
1691
- $r,
1689
+ Gr.displayName = Qr.displayName;
1690
+ const Wr = h.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ o.jsx($r, { children: /* @__PURE__ */ o.jsx(
1691
+ Lr,
1692
1692
  {
1693
1693
  ref: r,
1694
1694
  sideOffset: t,
@@ -1700,9 +1700,9 @@ const Gr = h.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__
1700
1700
  ...n
1701
1701
  }
1702
1702
  ) }));
1703
- Gr.displayName = $r.displayName;
1704
- const Wr = h.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ o.jsx(
1705
- Fr,
1703
+ Wr.displayName = Lr.displayName;
1704
+ const Yr = h.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ o.jsx(
1705
+ Hr,
1706
1706
  {
1707
1707
  ref: r,
1708
1708
  className: O(
@@ -1713,9 +1713,9 @@ const Wr = h.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */
1713
1713
  ...n
1714
1714
  }
1715
1715
  ));
1716
- Wr.displayName = Fr.displayName;
1717
- const Gi = h.forwardRef(({ className: e, children: t, checked: n, ...r }, a) => /* @__PURE__ */ o.jsxs(
1718
- Hr,
1716
+ Yr.displayName = Hr.displayName;
1717
+ const Wi = h.forwardRef(({ className: e, children: t, checked: n, ...r }, a) => /* @__PURE__ */ o.jsxs(
1718
+ Ur,
1719
1719
  {
1720
1720
  ref: a,
1721
1721
  className: O(
@@ -1725,14 +1725,14 @@ const Gi = h.forwardRef(({ className: e, children: t, checked: n, ...r }, a) =>
1725
1725
  checked: n,
1726
1726
  ...r,
1727
1727
  children: [
1728
- /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(Br, { children: /* @__PURE__ */ o.jsx(Oa, { className: "h-4 w-4" }) }) }),
1728
+ /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(zr, { children: /* @__PURE__ */ o.jsx(Ia, { className: "h-4 w-4" }) }) }),
1729
1729
  t
1730
1730
  ]
1731
1731
  }
1732
1732
  ));
1733
- Gi.displayName = Hr.displayName;
1734
- const Wi = h.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ o.jsxs(
1735
- Ur,
1733
+ Wi.displayName = Ur.displayName;
1734
+ const Yi = h.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ o.jsxs(
1735
+ Br,
1736
1736
  {
1737
1737
  ref: r,
1738
1738
  className: O(
@@ -1741,14 +1741,14 @@ const Wi = h.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__
1741
1741
  ),
1742
1742
  ...n,
1743
1743
  children: [
1744
- /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(Br, { children: /* @__PURE__ */ o.jsx(Ia, { className: "h-4 w-4 fill-current" }) }) }),
1744
+ /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(zr, { children: /* @__PURE__ */ o.jsx(Aa, { className: "h-4 w-4 fill-current" }) }) }),
1745
1745
  t
1746
1746
  ]
1747
1747
  }
1748
1748
  ));
1749
- Wi.displayName = Ur.displayName;
1750
- const Yr = h.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ o.jsx(
1751
- Lr,
1749
+ Yi.displayName = Br.displayName;
1750
+ const Xr = h.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ o.jsx(
1751
+ Fr,
1752
1752
  {
1753
1753
  ref: r,
1754
1754
  className: O(
@@ -1759,17 +1759,17 @@ const Yr = h.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */
1759
1759
  ...n
1760
1760
  }
1761
1761
  ));
1762
- Yr.displayName = Lr.displayName;
1763
- const Xr = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ o.jsx(
1764
- zr,
1762
+ Xr.displayName = Fr.displayName;
1763
+ const Jr = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ o.jsx(
1764
+ Kr,
1765
1765
  {
1766
1766
  ref: n,
1767
1767
  className: O("-mx-1 my-1 h-px bg-muted", e),
1768
1768
  ...t
1769
1769
  }
1770
1770
  ));
1771
- Xr.displayName = zr.displayName;
1772
- const Yi = {
1771
+ Jr.displayName = Kr.displayName;
1772
+ const bn = {
1773
1773
  info: "bg-blue-500",
1774
1774
  note: "bg-gray-500",
1775
1775
  tip: "bg-green-600",
@@ -1777,13 +1777,17 @@ const Yi = {
1777
1777
  danger: "bg-rose-500"
1778
1778
  }, Xi = () => {
1779
1779
  const { page: e } = Ue(), [t, n] = Te(!0);
1780
- return !(e != null && e.banner) || !t ? /* @__PURE__ */ o.jsx("style", { children: ":root { --banner-height: 0px; }" }) : /* @__PURE__ */ o.jsxs(
1780
+ if (!(e != null && e.banner) || !t)
1781
+ return /* @__PURE__ */ o.jsx("style", { children: ":root { --banner-height: 0px; }" });
1782
+ const r = e.banner.color && e.banner.color in bn ? bn[e.banner.color] : e.banner.color ? void 0 : "bg-primary", a = r ? {} : { backgroundColor: e.banner.color };
1783
+ return /* @__PURE__ */ o.jsxs(
1781
1784
  "div",
1782
1785
  {
1783
1786
  className: O(
1784
1787
  "relative text-primary-foreground text-sm font-medium px-4 py-2 flex gap-2 items-center",
1785
- e.banner.color ? Yi[e.banner.color] : "bg-primary"
1788
+ r
1786
1789
  ),
1790
+ style: a,
1787
1791
  children: [
1788
1792
  /* @__PURE__ */ o.jsx("div", { className: "w-full", children: e.banner.message }),
1789
1793
  e.banner.dismissible && /* @__PURE__ */ o.jsx(
@@ -1792,7 +1796,7 @@ const Yi = {
1792
1796
  type: "button",
1793
1797
  className: "md:absolute md:right-4 -m-1.5 p-1.5 hover:bg-accent-foreground/10 rounded-md",
1794
1798
  onClick: () => n(!1),
1795
- children: /* @__PURE__ */ o.jsx(Aa, { size: 16 })
1799
+ children: /* @__PURE__ */ o.jsx(ka, { size: 16 })
1796
1800
  }
1797
1801
  )
1798
1802
  ]
@@ -1804,7 +1808,7 @@ function Ji(e) {
1804
1808
  let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
1805
1809
  n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
1806
1810
  }
1807
- const Jr = g.createContext({
1811
+ const Zr = g.createContext({
1808
1812
  drawerRef: {
1809
1813
  current: null
1810
1814
  },
@@ -1849,13 +1853,13 @@ const Jr = g.createContext({
1849
1853
  },
1850
1854
  direction: "bottom"
1851
1855
  }), wt = () => {
1852
- const e = g.useContext(Jr);
1856
+ const e = g.useContext(Zr);
1853
1857
  if (!e)
1854
1858
  throw new Error("useDrawerContext must be used within a Drawer.Root");
1855
1859
  return e;
1856
1860
  };
1857
1861
  Ji("[vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1)}[vaul-drawer][vaul-drawer-direction=bottom]{transform:translate3d(0,100%,0)}[vaul-drawer][vaul-drawer-direction=top]{transform:translate3d(0,-100%,0)}[vaul-drawer][vaul-drawer-direction=left]{transform:translate3d(-100%,0,0)}[vaul-drawer][vaul-drawer-direction=right]{transform:translate3d(100%,0,0)}.vaul-dragging .vaul-scrollable [vault-drawer-direction=top]{overflow-y:hidden!important}.vaul-dragging .vaul-scrollable [vault-drawer-direction=bottom]{overflow-y:hidden!important}.vaul-dragging .vaul-scrollable [vault-drawer-direction=left]{overflow-x:hidden!important}.vaul-dragging .vaul-scrollable [vault-drawer-direction=right]{overflow-x:hidden!important}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[vaul-overlay]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[vaul-overlay][vaul-drawer-visible=true]{opacity:1}[vaul-drawer]::after{content:'';position:absolute;background:inherit;background-color:inherit}[vaul-drawer][vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[vaul-drawer][vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[vaul-drawer][vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[vaul-drawer][vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[vaul-handle]{display:block;position:relative;opacity:.8;margin-left:auto;margin-right:auto;height:5px;width:56px;border-radius:1rem;touch-action:pan-y;cursor:grab}[vaul-handle]:active,[vaul-handle]:hover{opacity:1}[vaul-handle]:active{cursor:grabbing}[vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}[vaul-overlay][vaul-snap-points=true]:not([vaul-snap-points-overlay=true]):not([data-state=closed]){opacity:0}[vaul-overlay][vaul-snap-points-overlay=true]:not([vaul-drawer-visible=false]){opacity:1}@media (hover:hover) and (pointer:fine){[vaul-drawer]{user-select:none}}@media (pointer:fine){[vaul-handle-hitarea]:{width:100%;height:100%}}");
1858
- const Zr = typeof window < "u" ? pa : be;
1862
+ const eo = typeof window < "u" ? ma : xe;
1859
1863
  function Nt(...e) {
1860
1864
  return (...t) => {
1861
1865
  for (let n of e)
@@ -1872,19 +1876,19 @@ function tl() {
1872
1876
  return Yt(/^iPad/) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
1873
1877
  Zi() && navigator.maxTouchPoints > 1;
1874
1878
  }
1875
- function eo() {
1879
+ function to() {
1876
1880
  return el() || tl();
1877
1881
  }
1878
1882
  function Yt(e) {
1879
1883
  return typeof window < "u" && window.navigator != null ? e.test(window.navigator.platform) : void 0;
1880
1884
  }
1881
1885
  const St = typeof document < "u" && window.visualViewport;
1882
- function bn(e) {
1886
+ function xn(e) {
1883
1887
  let t = window.getComputedStyle(e);
1884
1888
  return /(auto|scroll)/.test(t.overflow + t.overflowX + t.overflowY);
1885
1889
  }
1886
- function to(e) {
1887
- for (bn(e) && (e = e.parentElement); e && !bn(e); )
1890
+ function no(e) {
1891
+ for (xn(e) && (e = e.parentElement); e && !xn(e); )
1888
1892
  e = e.parentElement;
1889
1893
  return e || document.scrollingElement || document.documentElement;
1890
1894
  }
@@ -1899,24 +1903,24 @@ const nl = /* @__PURE__ */ new Set([
1899
1903
  "submit",
1900
1904
  "reset"
1901
1905
  ]);
1902
- let ut = 0, Et;
1906
+ let ut = 0, Ct;
1903
1907
  function rl(e = {}) {
1904
1908
  let { isDisabled: t } = e;
1905
- Zr(() => {
1909
+ eo(() => {
1906
1910
  if (!t)
1907
- return ut++, ut === 1 && (eo() ? Et = al() : Et = ol()), () => {
1908
- ut--, ut === 0 && Et();
1911
+ return ut++, ut === 1 && (to() ? Ct = al() : Ct = ol()), () => {
1912
+ ut--, ut === 0 && Ct();
1909
1913
  };
1910
1914
  }, [
1911
1915
  t
1912
1916
  ]);
1913
1917
  }
1914
1918
  function ol() {
1915
- return Nt(no(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`));
1919
+ return Nt(ro(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`));
1916
1920
  }
1917
1921
  function al() {
1918
1922
  let e, t = 0, n = (c) => {
1919
- e = to(c.target), !(e === document.documentElement && e === document.body) && (t = c.changedTouches[0].pageY);
1923
+ e = no(c.target), !(e === document.documentElement && e === document.body) && (t = c.changedTouches[0].pageY);
1920
1924
  }, r = (c) => {
1921
1925
  if (!e || e === document.documentElement || e === document.body) {
1922
1926
  c.preventDefault();
@@ -1933,14 +1937,14 @@ function al() {
1933
1937
  let d = c.target;
1934
1938
  Pt(d) && (d.style.transform = "translateY(-2000px)", requestAnimationFrame(() => {
1935
1939
  d.style.transform = "", St && (St.height < window.innerHeight ? requestAnimationFrame(() => {
1936
- xn(d);
1937
- }) : St.addEventListener("resize", () => xn(d), {
1940
+ yn(d);
1941
+ }) : St.addEventListener("resize", () => yn(d), {
1938
1942
  once: !0
1939
1943
  }));
1940
1944
  }));
1941
1945
  }, i = () => {
1942
1946
  window.scrollTo(0, 0);
1943
- }, l = window.pageXOffset, u = window.pageYOffset, v = Nt(no(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`));
1947
+ }, l = window.pageXOffset, u = window.pageYOffset, v = Nt(ro(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`));
1944
1948
  window.scrollTo(0, 0);
1945
1949
  let m = Nt(Ve(document, "touchstart", n, {
1946
1950
  passive: !1,
@@ -1956,7 +1960,7 @@ function al() {
1956
1960
  v(), m(), window.scrollTo(l, u);
1957
1961
  };
1958
1962
  }
1959
- function no(e, t, n) {
1963
+ function ro(e, t, n) {
1960
1964
  let r = e.style[t];
1961
1965
  return e.style[t] = n, () => {
1962
1966
  e.style[t] = r;
@@ -1967,10 +1971,10 @@ function Ve(e, t, n, r) {
1967
1971
  e.removeEventListener(t, n, r);
1968
1972
  };
1969
1973
  }
1970
- function xn(e) {
1974
+ function yn(e) {
1971
1975
  let t = document.scrollingElement || document.documentElement;
1972
1976
  for (; e && e !== t; ) {
1973
- let n = to(e);
1977
+ let n = no(e);
1974
1978
  if (n !== document.documentElement && n !== document.body && n !== e) {
1975
1979
  let r = n.getBoundingClientRect().top, a = e.getBoundingClientRect().top, s = e.getBoundingClientRect().bottom;
1976
1980
  const i = n.getBoundingClientRect().bottom;
@@ -1988,7 +1992,7 @@ function sl(e, t) {
1988
1992
  function il(...e) {
1989
1993
  return (t) => e.forEach((n) => sl(n, t));
1990
1994
  }
1991
- function ro(...e) {
1995
+ function oo(...e) {
1992
1996
  return h.useCallback(il(...e), e);
1993
1997
  }
1994
1998
  let Qe = null;
@@ -2052,7 +2056,7 @@ function ll({ isOpen: e, modal: t, nested: n, hasBeenOpened: r, preventScrollRes
2052
2056
  restorePositionSetting: m
2053
2057
  };
2054
2058
  }
2055
- const oo = /* @__PURE__ */ new WeakMap();
2059
+ const ao = /* @__PURE__ */ new WeakMap();
2056
2060
  function I(e, t, n = !1) {
2057
2061
  if (!e || !(e instanceof HTMLElement)) return;
2058
2062
  let r = {};
@@ -2062,11 +2066,11 @@ function I(e, t, n = !1) {
2062
2066
  return;
2063
2067
  }
2064
2068
  r[a] = e.style[a], e.style[a] = s;
2065
- }), !n && oo.set(e, r);
2069
+ }), !n && ao.set(e, r);
2066
2070
  }
2067
2071
  function dt(e, t) {
2068
2072
  if (!e || !(e instanceof HTMLElement)) return;
2069
- let n = oo.get(e);
2073
+ let n = ao.get(e);
2070
2074
  n && (t ? e.style[t] = n[t] : Object.entries(n).forEach(([r, a]) => {
2071
2075
  e.style[r] = a;
2072
2076
  }));
@@ -2104,15 +2108,15 @@ const T = {
2104
2108
  0,
2105
2109
  1
2106
2110
  ]
2107
- }, ao = 0.4;
2108
- function so(e) {
2111
+ }, so = 0.4;
2112
+ function io(e) {
2109
2113
  const t = g.useRef(e);
2110
2114
  return g.useEffect(() => {
2111
2115
  t.current = e;
2112
2116
  }), g.useMemo(() => (...n) => t.current == null ? void 0 : t.current.call(t, ...n), []);
2113
2117
  }
2114
2118
  function ul({ defaultProp: e, onChange: t }) {
2115
- const n = g.useState(e), [r] = n, a = g.useRef(r), s = so(t);
2119
+ const n = g.useState(e), [r] = n, a = g.useRef(r), s = io(t);
2116
2120
  return g.useEffect(() => {
2117
2121
  a.current !== r && (s(r), a.current = r);
2118
2122
  }, [
@@ -2126,7 +2130,7 @@ function dl({ prop: e, defaultProp: t, onChange: n = () => {
2126
2130
  const [r, a] = ul({
2127
2131
  defaultProp: t,
2128
2132
  onChange: n
2129
- }), s = e !== void 0, i = s ? e : r, l = so(n), u = g.useCallback((v) => {
2133
+ }), s = e !== void 0, i = s ? e : r, l = io(n), u = g.useCallback((v) => {
2130
2134
  if (s) {
2131
2135
  const c = typeof v == "function" ? v(e) : v;
2132
2136
  c !== e && l(c);
@@ -2157,14 +2161,14 @@ function fl({ activeSnapPointProp: e, setActiveSnapPointProp: t, snapPoints: n,
2157
2161
  ]), f = g.useMemo(() => {
2158
2162
  var x;
2159
2163
  return (x = n == null ? void 0 : n.map((p) => {
2160
- const C = typeof window < "u", N = typeof p == "string";
2164
+ const E = typeof window < "u", N = typeof p == "string";
2161
2165
  let P = 0;
2162
2166
  if (N && (P = parseInt(p, 10)), z(l)) {
2163
- const w = N ? P : C ? p * window.innerHeight : 0;
2164
- return C ? l === "bottom" ? window.innerHeight - w : -window.innerHeight + w : w;
2167
+ const w = N ? P : E ? p * window.innerHeight : 0;
2168
+ return E ? l === "bottom" ? window.innerHeight - w : -window.innerHeight + w : w;
2165
2169
  }
2166
- const _ = N ? P : C ? p * window.innerWidth : 0;
2167
- return C ? l === "right" ? window.innerWidth - _ : -window.innerWidth + _ : _;
2170
+ const _ = N ? P : E ? p * window.innerWidth : 0;
2171
+ return E ? l === "right" ? window.innerWidth - _ : -window.innerWidth + _ : _;
2168
2172
  })) != null ? x : [];
2169
2173
  }, [
2170
2174
  n
@@ -2173,17 +2177,17 @@ function fl({ activeSnapPointProp: e, setActiveSnapPointProp: t, snapPoints: n,
2173
2177
  d
2174
2178
  ]), R = g.useCallback((x) => {
2175
2179
  var p;
2176
- const C = (p = f == null ? void 0 : f.findIndex((N) => N === x)) != null ? p : null;
2177
- i(C), I(r.current, {
2180
+ const E = (p = f == null ? void 0 : f.findIndex((N) => N === x)) != null ? p : null;
2181
+ i(E), I(r.current, {
2178
2182
  transition: `transform ${T.DURATION}s cubic-bezier(${T.EASE.join(",")})`,
2179
2183
  transform: z(l) ? `translate3d(0, ${x}px, 0)` : `translate3d(${x}px, 0, 0)`
2180
- }), f && C !== f.length - 1 && C !== s ? I(a.current, {
2184
+ }), f && E !== f.length - 1 && E !== s ? I(a.current, {
2181
2185
  transition: `opacity ${T.DURATION}s cubic-bezier(${T.EASE.join(",")})`,
2182
2186
  opacity: "0"
2183
2187
  }) : I(a.current, {
2184
2188
  transition: `opacity ${T.DURATION}s cubic-bezier(${T.EASE.join(",")})`,
2185
2189
  opacity: "1"
2186
- }), v(C !== null ? n == null ? void 0 : n[C] : null);
2190
+ }), v(E !== null ? n == null ? void 0 : n[E] : null);
2187
2191
  }, [
2188
2192
  r.current,
2189
2193
  n,
@@ -2195,7 +2199,7 @@ function fl({ activeSnapPointProp: e, setActiveSnapPointProp: t, snapPoints: n,
2195
2199
  g.useEffect(() => {
2196
2200
  if (u || e) {
2197
2201
  var x;
2198
- const p = (x = n == null ? void 0 : n.findIndex((C) => C === e || C === u)) != null ? x : -1;
2202
+ const p = (x = n == null ? void 0 : n.findIndex((E) => E === e || E === u)) != null ? x : -1;
2199
2203
  f && p !== -1 && typeof f[p] == "number" && R(f[p]);
2200
2204
  }
2201
2205
  }, [
@@ -2205,21 +2209,21 @@ function fl({ activeSnapPointProp: e, setActiveSnapPointProp: t, snapPoints: n,
2205
2209
  f,
2206
2210
  R
2207
2211
  ]);
2208
- function K({ draggedDistance: x, closeDrawer: p, velocity: C, dismissible: N }) {
2212
+ function K({ draggedDistance: x, closeDrawer: p, velocity: E, dismissible: N }) {
2209
2213
  if (s === void 0) return;
2210
2214
  const P = l === "bottom" || l === "right" ? (y ?? 0) - x : (y ?? 0) + x, _ = d === s - 1, w = d === 0, L = x > 0;
2211
2215
  if (_ && I(a.current, {
2212
2216
  transition: `opacity ${T.DURATION}s cubic-bezier(${T.EASE.join(",")})`
2213
- }), C > 2 && !L) {
2217
+ }), E > 2 && !L) {
2214
2218
  N ? p() : R(f[0]);
2215
2219
  return;
2216
2220
  }
2217
- if (C > 2 && L && f && n) {
2221
+ if (E > 2 && L && f && n) {
2218
2222
  R(f[n.length - 1]);
2219
2223
  return;
2220
2224
  }
2221
2225
  const te = f == null ? void 0 : f.reduce((V, X) => typeof V != "number" || typeof X != "number" ? V : Math.abs(X - P) < Math.abs(V - P) ? X : V), Q = z(l) ? window.innerHeight : window.innerWidth;
2222
- if (C > ao && Math.abs(x) < Q * 0.4) {
2226
+ if (E > so && Math.abs(x) < Q * 0.4) {
2223
2227
  const V = L ? 1 : -1;
2224
2228
  if (V > 0 && m) {
2225
2229
  R(f[n.length - 1]);
@@ -2240,13 +2244,13 @@ function fl({ activeSnapPointProp: e, setActiveSnapPointProp: t, snapPoints: n,
2240
2244
  }
2241
2245
  function q(x, p) {
2242
2246
  if (!n || typeof d != "number" || !f || s === void 0) return null;
2243
- const C = d === s - 1;
2247
+ const E = d === s - 1;
2244
2248
  if (d >= s && p)
2245
2249
  return 0;
2246
- if (C && !p) return 1;
2247
- if (!c && !C) return null;
2248
- const P = C ? d + 1 : d - 1, _ = C ? f[P] - f[P - 1] : f[P + 1] - f[P], w = x / Math.abs(_);
2249
- return C ? 1 - w : w;
2250
+ if (E && !p) return 1;
2251
+ if (!c && !E) return null;
2252
+ const P = E ? d + 1 : d - 1, _ = E ? f[P] - f[P - 1] : f[P + 1] - f[P], w = x / Math.abs(_);
2253
+ return E ? 1 - w : w;
2250
2254
  }
2251
2255
  return {
2252
2256
  isLastSnapPoint: m,
@@ -2260,38 +2264,38 @@ function fl({ activeSnapPointProp: e, setActiveSnapPointProp: t, snapPoints: n,
2260
2264
  snapPointsOffset: f
2261
2265
  };
2262
2266
  }
2263
- const hl = 0.25, pl = 100, yn = 8, Ne = 16, Mn = 26, Ct = "vaul-dragging";
2264
- function io({ open: e, onOpenChange: t, children: n, shouldScaleBackground: r, onDrag: a, onRelease: s, snapPoints: i, nested: l = !1, setBackgroundColorOnScale: u = !0, closeThreshold: v = hl, scrollLockTimeout: m = pl, dismissible: c = !0, handleOnly: d = !1, fadeFromIndex: f = i && i.length - 1, activeSnapPoint: y, setActiveSnapPoint: R, fixed: K, modal: H = !0, onClose: q, noBodyStyles: x, direction: p = "bottom", preventScrollRestoration: C = !0, disablePreventScroll: N = !1 }) {
2267
+ const hl = 0.25, pl = 100, Mn = 8, Pe = 16, Sn = 26, Et = "vaul-dragging";
2268
+ function lo({ open: e, onOpenChange: t, children: n, shouldScaleBackground: r, onDrag: a, onRelease: s, snapPoints: i, nested: l = !1, setBackgroundColorOnScale: u = !0, closeThreshold: v = hl, scrollLockTimeout: m = pl, dismissible: c = !0, handleOnly: d = !1, fadeFromIndex: f = i && i.length - 1, activeSnapPoint: y, setActiveSnapPoint: R, fixed: K, modal: H = !0, onClose: q, noBodyStyles: x, direction: p = "bottom", preventScrollRestoration: E = !0, disablePreventScroll: N = !1 }) {
2265
2269
  var P;
2266
- const [_ = !1, w] = g.useState(!1), [L, te] = g.useState(!1), [Q, V] = g.useState(!1), [X, Oe] = g.useState(!1), [he, Be] = g.useState(!1), [xe, E] = g.useState(!1), U = g.useRef(null), Y = g.useRef(null), ne = g.useRef(null), De = g.useRef(null), pe = g.useRef(null), ye = g.useRef(!1), me = g.useRef(null), le = g.useRef(0), ge = g.useRef(!1), re = g.useRef(0), M = g.useRef(null), en = g.useRef(((P = M.current) == null ? void 0 : P.getBoundingClientRect().height) || 0), bt = g.useRef(0), xo = g.useCallback((S) => {
2270
+ const [_ = !1, w] = g.useState(!1), [L, te] = g.useState(!1), [Q, V] = g.useState(!1), [X, Oe] = g.useState(!1), [pe, Be] = g.useState(!1), [ye, C] = g.useState(!1), U = g.useRef(null), Y = g.useRef(null), ne = g.useRef(null), je = g.useRef(null), me = g.useRef(null), Me = g.useRef(!1), ge = g.useRef(null), le = g.useRef(0), ve = g.useRef(!1), re = g.useRef(0), M = g.useRef(null), en = g.useRef(((P = M.current) == null ? void 0 : P.getBoundingClientRect().height) || 0), bt = g.useRef(0), yo = g.useCallback((S) => {
2267
2271
  i && S === Ke.length - 1 && (Y.current = /* @__PURE__ */ new Date());
2268
- }, []), { activeSnapPoint: yo, activeSnapPointIndex: ze, setActiveSnapPoint: tn, onRelease: Mo, snapPointsOffset: Ke, onDrag: So, shouldFade: nn, getPercentageDragged: Eo } = fl({
2272
+ }, []), { activeSnapPoint: Mo, activeSnapPointIndex: ze, setActiveSnapPoint: tn, onRelease: So, snapPointsOffset: Ke, onDrag: Co, shouldFade: nn, getPercentageDragged: Eo } = fl({
2269
2273
  snapPoints: i,
2270
2274
  activeSnapPointProp: y,
2271
2275
  setActiveSnapPointProp: R,
2272
2276
  drawerRef: M,
2273
2277
  fadeFromIndex: f,
2274
2278
  overlayRef: U,
2275
- onSnapPointChange: xo,
2279
+ onSnapPointChange: yo,
2276
2280
  direction: p
2277
2281
  });
2278
2282
  rl({
2279
- isDisabled: !_ || he || !H || xe || !L || N
2283
+ isDisabled: !_ || pe || !H || ye || !L || N
2280
2284
  });
2281
- const { restorePositionSetting: Co } = ll({
2285
+ const { restorePositionSetting: Ro } = ll({
2282
2286
  isOpen: _,
2283
2287
  modal: H,
2284
2288
  nested: l,
2285
2289
  hasBeenOpened: L,
2286
- preventScrollRestoration: C,
2290
+ preventScrollRestoration: E,
2287
2291
  noBodyStyles: x
2288
2292
  });
2289
2293
  function Ie() {
2290
- return (window.innerWidth - Mn) / window.innerWidth;
2294
+ return (window.innerWidth - Sn) / window.innerWidth;
2291
2295
  }
2292
- function Ro(S) {
2296
+ function Do(S) {
2293
2297
  var D;
2294
- !c && !i || M.current && !M.current.contains(S.target) || (en.current = ((D = M.current) == null ? void 0 : D.getBoundingClientRect().height) || 0, Be(!0), ne.current = /* @__PURE__ */ new Date(), eo() && window.addEventListener("touchend", () => ye.current = !1, {
2298
+ !c && !i || M.current && !M.current.contains(S.target) || (en.current = ((D = M.current) == null ? void 0 : D.getBoundingClientRect().height) || 0, Be(!0), ne.current = /* @__PURE__ */ new Date(), to() && window.addEventListener("touchend", () => Me.current = !1, {
2295
2299
  once: !0
2296
2300
  }), S.target.setPointerCapture(S.pointerId), le.current = z(p) ? S.clientY : S.clientX);
2297
2301
  }
@@ -2309,12 +2313,12 @@ function io({ open: e, onOpenChange: t, children: n, shouldScaleBackground: r, o
2309
2313
  return !0;
2310
2314
  if (F && F.length > 0)
2311
2315
  return !1;
2312
- if (pe.current && oe.getTime() - pe.current.getTime() < m && B === 0 || D)
2313
- return pe.current = oe, !1;
2316
+ if (me.current && oe.getTime() - me.current.getTime() < m && B === 0 || D)
2317
+ return me.current = oe, !1;
2314
2318
  for (; j; ) {
2315
2319
  if (j.scrollHeight > j.clientHeight) {
2316
2320
  if (j.scrollTop !== 0)
2317
- return pe.current = /* @__PURE__ */ new Date(), !1;
2321
+ return me.current = /* @__PURE__ */ new Date(), !1;
2318
2322
  if (j.getAttribute("role") === "dialog")
2319
2323
  return !0;
2320
2324
  }
@@ -2322,22 +2326,22 @@ function io({ open: e, onOpenChange: t, children: n, shouldScaleBackground: r, o
2322
2326
  }
2323
2327
  return !0;
2324
2328
  }
2325
- function Do(S) {
2326
- if (M.current && he) {
2329
+ function jo(S) {
2330
+ if (M.current && pe) {
2327
2331
  const D = p === "bottom" || p === "right" ? 1 : -1, k = (le.current - (z(p) ? S.clientY : S.clientX)) * D, j = k > 0, F = i && !c && !j;
2328
2332
  if (F && ze === 0) return;
2329
2333
  const B = Math.abs(k), oe = document.querySelector("[vaul-drawer-wrapper]");
2330
2334
  let ce = B / en.current;
2331
- const Me = Eo(B, j);
2332
- if (Me !== null && (ce = Me), F && ce >= 1 || !ye.current && !rn(S.target, j)) return;
2333
- if (M.current.classList.add(Ct), ye.current = !0, I(M.current, {
2335
+ const Se = Eo(B, j);
2336
+ if (Se !== null && (ce = Se), F && ce >= 1 || !Me.current && !rn(S.target, j)) return;
2337
+ if (M.current.classList.add(Et), Me.current = !0, I(M.current, {
2334
2338
  transition: "none"
2335
2339
  }), I(U.current, {
2336
2340
  transition: "none"
2337
- }), i && So({
2341
+ }), i && Co({
2338
2342
  draggedDistance: k
2339
2343
  }), j && !i) {
2340
- const je = cl(k), st = Math.min(je * -1, 0) * D;
2344
+ const Ne = cl(k), st = Math.min(Ne * -1, 0) * D;
2341
2345
  I(M.current, {
2342
2346
  transform: z(p) ? `translate3d(0, ${st}px, 0)` : `translate3d(${st}px, 0, 0)`
2343
2347
  });
@@ -2348,46 +2352,46 @@ function io({ open: e, onOpenChange: t, children: n, shouldScaleBackground: r, o
2348
2352
  opacity: `${at}`,
2349
2353
  transition: "none"
2350
2354
  }, !0)), oe && U.current && r) {
2351
- const je = Math.min(Ie() + ce * (1 - Ie()), 1), st = 8 - ce * 8, an = Math.max(0, 14 - ce * 14);
2355
+ const Ne = Math.min(Ie() + ce * (1 - Ie()), 1), st = 8 - ce * 8, an = Math.max(0, 14 - ce * 14);
2352
2356
  I(oe, {
2353
2357
  borderRadius: `${st}px`,
2354
- transform: z(p) ? `scale(${je}) translate3d(0, ${an}px, 0)` : `scale(${je}) translate3d(${an}px, 0, 0)`,
2358
+ transform: z(p) ? `scale(${Ne}) translate3d(0, ${an}px, 0)` : `scale(${Ne}) translate3d(${an}px, 0, 0)`,
2355
2359
  transition: "none"
2356
2360
  }, !0);
2357
2361
  }
2358
2362
  if (!i) {
2359
- const je = B * D;
2363
+ const Ne = B * D;
2360
2364
  I(M.current, {
2361
- transform: z(p) ? `translate3d(0, ${je}px, 0)` : `translate3d(${je}px, 0, 0)`
2365
+ transform: z(p) ? `translate3d(0, ${Ne}px, 0)` : `translate3d(${Ne}px, 0, 0)`
2362
2366
  });
2363
2367
  }
2364
2368
  }
2365
2369
  }
2366
2370
  g.useEffect(() => () => {
2367
- ot(!1), Co();
2371
+ ot(!1), Ro();
2368
2372
  }, []), g.useEffect(() => {
2369
2373
  var S;
2370
2374
  function D() {
2371
2375
  if (!M.current) return;
2372
2376
  const k = document.activeElement;
2373
- if (Pt(k) || ge.current) {
2377
+ if (Pt(k) || ve.current) {
2374
2378
  var j;
2375
2379
  const F = ((j = window.visualViewport) == null ? void 0 : j.height) || 0;
2376
2380
  let B = window.innerHeight - F;
2377
2381
  const oe = M.current.getBoundingClientRect().height || 0;
2378
2382
  bt.current || (bt.current = oe);
2379
2383
  const ce = M.current.getBoundingClientRect().top;
2380
- if (Math.abs(re.current - B) > 60 && (ge.current = !ge.current), i && i.length > 0 && Ke && ze) {
2381
- const Me = Ke[ze] || 0;
2382
- B += Me;
2384
+ if (Math.abs(re.current - B) > 60 && (ve.current = !ve.current), i && i.length > 0 && Ke && ze) {
2385
+ const Se = Ke[ze] || 0;
2386
+ B += Se;
2383
2387
  }
2384
- if (re.current = B, oe > F || ge.current) {
2385
- const Me = M.current.getBoundingClientRect().height;
2386
- let at = Me;
2387
- Me > F && (at = F - Mn), K ? M.current.style.height = `${Me - Math.max(B, 0)}px` : M.current.style.height = `${Math.max(at, F - ce)}px`;
2388
+ if (re.current = B, oe > F || ve.current) {
2389
+ const Se = M.current.getBoundingClientRect().height;
2390
+ let at = Se;
2391
+ Se > F && (at = F - Sn), K ? M.current.style.height = `${Se - Math.max(B, 0)}px` : M.current.style.height = `${Math.max(at, F - ce)}px`;
2388
2392
  } else
2389
2393
  M.current.style.height = `${bt.current}px`;
2390
- i && i.length > 0 && !ge.current ? M.current.style.bottom = "0px" : M.current.style.bottom = `${Math.max(B, 0)}px`;
2394
+ i && i.length > 0 && !ve.current ? M.current.style.bottom = "0px" : M.current.style.bottom = `${Math.max(B, 0)}px`;
2391
2395
  }
2392
2396
  }
2393
2397
  return (S = window.visualViewport) == null || S.addEventListener("resize", D), () => {
@@ -2400,7 +2404,7 @@ function io({ open: e, onOpenChange: t, children: n, shouldScaleBackground: r, o
2400
2404
  Ke
2401
2405
  ]);
2402
2406
  function Ae() {
2403
- M.current && (jo(), q == null || q(), I(M.current, {
2407
+ M.current && (No(), q == null || q(), I(M.current, {
2404
2408
  transform: z(p) ? `translate3d(0, ${p === "bottom" ? "100%" : "-100%"}, 0)` : `translate3d(${p === "right" ? "100%" : "-100%"}, 0, 0)`,
2405
2409
  transition: `transform ${T.DURATION}s cubic-bezier(${T.EASE.join(",")})`
2406
2410
  }), I(U.current, {
@@ -2422,7 +2426,7 @@ function io({ open: e, onOpenChange: t, children: n, shouldScaleBackground: r, o
2422
2426
  }, [
2423
2427
  _,
2424
2428
  r
2425
- ]), Zr(() => {
2429
+ ]), eo(() => {
2426
2430
  e ? (w(!0), te(!0)) : Ae();
2427
2431
  }, [
2428
2432
  e
@@ -2443,7 +2447,7 @@ function io({ open: e, onOpenChange: t, children: n, shouldScaleBackground: r, o
2443
2447
  transition: `opacity ${T.DURATION}s cubic-bezier(${T.EASE.join(",")})`,
2444
2448
  opacity: "1"
2445
2449
  }), r && D && D > 0 && _ && I(S, {
2446
- borderRadius: `${yn}px`,
2450
+ borderRadius: `${Mn}px`,
2447
2451
  overflow: "hidden",
2448
2452
  ...z(p) ? {
2449
2453
  transform: `scale(${Ie()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,
@@ -2457,19 +2461,19 @@ function io({ open: e, onOpenChange: t, children: n, shouldScaleBackground: r, o
2457
2461
  transitionTimingFunction: `cubic-bezier(${T.EASE.join(",")})`
2458
2462
  }, !0);
2459
2463
  }
2460
- function jo() {
2461
- !he || !M.current || (M.current.classList.remove(Ct), ye.current = !1, Be(!1), De.current = /* @__PURE__ */ new Date());
2464
+ function No() {
2465
+ !pe || !M.current || (M.current.classList.remove(Et), Me.current = !1, Be(!1), je.current = /* @__PURE__ */ new Date());
2462
2466
  }
2463
- function No(S) {
2464
- if (!he || !M.current) return;
2465
- M.current.classList.remove(Ct), ye.current = !1, Be(!1), De.current = /* @__PURE__ */ new Date();
2467
+ function Po(S) {
2468
+ if (!pe || !M.current) return;
2469
+ M.current.classList.remove(Et), Me.current = !1, Be(!1), je.current = /* @__PURE__ */ new Date();
2466
2470
  const D = ft(M.current, p);
2467
2471
  if (!rn(S.target, !1) || !D || Number.isNaN(D) || ne.current === null) return;
2468
- const k = De.current.getTime() - ne.current.getTime(), j = le.current - (z(p) ? S.clientY : S.clientX), F = Math.abs(j) / k;
2469
- if (F > 0.05 && (E(!0), setTimeout(() => {
2470
- E(!1);
2472
+ const k = je.current.getTime() - ne.current.getTime(), j = le.current - (z(p) ? S.clientY : S.clientX), F = Math.abs(j) / k;
2473
+ if (F > 0.05 && (C(!0), setTimeout(() => {
2474
+ C(!1);
2471
2475
  }, 200)), i) {
2472
- Mo({
2476
+ So({
2473
2477
  draggedDistance: j * (p === "bottom" || p === "right" ? 1 : -1),
2474
2478
  closeDrawer: Ae,
2475
2479
  velocity: F,
@@ -2481,7 +2485,7 @@ function io({ open: e, onOpenChange: t, children: n, shouldScaleBackground: r, o
2481
2485
  on(), s == null || s(S, !0);
2482
2486
  return;
2483
2487
  }
2484
- if (F > ao) {
2488
+ if (F > so) {
2485
2489
  Ae(), s == null || s(S, !1);
2486
2490
  return;
2487
2491
  }
@@ -2518,7 +2522,7 @@ function io({ open: e, onOpenChange: t, children: n, shouldScaleBackground: r, o
2518
2522
  }), I(document.body, {
2519
2523
  background: "black"
2520
2524
  }, !0))), I(D, {
2521
- borderRadius: `${yn}px`,
2525
+ borderRadius: `${Mn}px`,
2522
2526
  overflow: "hidden",
2523
2527
  ...z(p) ? {
2524
2528
  transform: `scale(${Ie()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,
@@ -2536,12 +2540,12 @@ function io({ open: e, onOpenChange: t, children: n, shouldScaleBackground: r, o
2536
2540
  transitionTimingFunction: `cubic-bezier(${T.EASE.join(",")})`
2537
2541
  })));
2538
2542
  }
2539
- function Po(S) {
2540
- const D = S ? (window.innerWidth - Ne) / window.innerWidth : 1, k = S ? -Ne : 0;
2541
- me.current && window.clearTimeout(me.current), I(M.current, {
2543
+ function To(S) {
2544
+ const D = S ? (window.innerWidth - Pe) / window.innerWidth : 1, k = S ? -Pe : 0;
2545
+ ge.current && window.clearTimeout(ge.current), I(M.current, {
2542
2546
  transition: `transform ${T.DURATION}s cubic-bezier(${T.EASE.join(",")})`,
2543
2547
  transform: `scale(${D}) translate3d(0, ${k}px, 0)`
2544
- }), !S && M.current && (me.current = setTimeout(() => {
2548
+ }), !S && M.current && (ge.current = setTimeout(() => {
2545
2549
  const j = ft(M.current, p);
2546
2550
  I(M.current, {
2547
2551
  transition: "none",
@@ -2549,22 +2553,22 @@ function io({ open: e, onOpenChange: t, children: n, shouldScaleBackground: r, o
2549
2553
  });
2550
2554
  }, 500));
2551
2555
  }
2552
- function To(S, D) {
2556
+ function _o(S, D) {
2553
2557
  if (D < 0) return;
2554
- const k = z(p) ? window.innerHeight : window.innerWidth, j = (k - Ne) / k, F = j + D * (1 - j), B = -Ne + D * Ne;
2558
+ const k = z(p) ? window.innerHeight : window.innerWidth, j = (k - Pe) / k, F = j + D * (1 - j), B = -Pe + D * Pe;
2555
2559
  I(M.current, {
2556
2560
  transform: z(p) ? `scale(${F}) translate3d(0, ${B}px, 0)` : `scale(${F}) translate3d(${B}px, 0, 0)`,
2557
2561
  transition: "none"
2558
2562
  });
2559
2563
  }
2560
- function _o(S, D) {
2561
- const k = z(p) ? window.innerHeight : window.innerWidth, j = D ? (k - Ne) / k : 1, F = D ? -Ne : 0;
2564
+ function Oo(S, D) {
2565
+ const k = z(p) ? window.innerHeight : window.innerWidth, j = D ? (k - Pe) / k : 1, F = D ? -Pe : 0;
2562
2566
  D && I(M.current, {
2563
2567
  transition: `transform ${T.DURATION}s cubic-bezier(${T.EASE.join(",")})`,
2564
2568
  transform: z(p) ? `scale(${j}) translate3d(0, ${F}px, 0)` : `scale(${j}) translate3d(${F}px, 0, 0)`
2565
2569
  });
2566
2570
  }
2567
- return /* @__PURE__ */ g.createElement(Xa, {
2571
+ return /* @__PURE__ */ g.createElement(Ja, {
2568
2572
  modal: H,
2569
2573
  onOpenChange: (S) => {
2570
2574
  if (e !== void 0) {
@@ -2574,30 +2578,30 @@ function io({ open: e, onOpenChange: t, children: n, shouldScaleBackground: r, o
2574
2578
  S ? (te(!0), w(S)) : Ae();
2575
2579
  },
2576
2580
  open: _
2577
- }, /* @__PURE__ */ g.createElement(Jr.Provider, {
2581
+ }, /* @__PURE__ */ g.createElement(Zr.Provider, {
2578
2582
  value: {
2579
2583
  visible: Q,
2580
- activeSnapPoint: yo,
2584
+ activeSnapPoint: Mo,
2581
2585
  snapPoints: i,
2582
2586
  setActiveSnapPoint: tn,
2583
2587
  drawerRef: M,
2584
2588
  overlayRef: U,
2585
2589
  scaleBackground: ot,
2586
2590
  onOpenChange: t,
2587
- onPress: Ro,
2591
+ onPress: Do,
2588
2592
  setVisible: V,
2589
- onRelease: No,
2590
- onDrag: Do,
2593
+ onRelease: Po,
2594
+ onDrag: jo,
2591
2595
  dismissible: c,
2592
2596
  handleOnly: d,
2593
2597
  isOpen: _,
2594
- isDragging: he,
2598
+ isDragging: pe,
2595
2599
  shouldFade: nn,
2596
2600
  closeDrawer: Ae,
2597
- onNestedDrag: To,
2598
- onNestedOpenChange: Po,
2599
- onNestedRelease: _o,
2600
- keyboardIsOpen: ge,
2601
+ onNestedDrag: _o,
2602
+ onNestedOpenChange: To,
2603
+ onNestedRelease: Oo,
2604
+ keyboardIsOpen: ve,
2601
2605
  openProp: e,
2602
2606
  modal: H,
2603
2607
  snapPointsOffset: Ke,
@@ -2605,7 +2609,7 @@ function io({ open: e, onOpenChange: t, children: n, shouldScaleBackground: r, o
2605
2609
  }
2606
2610
  }, n));
2607
2611
  }
2608
- const ml = 250, gl = 120, lo = /* @__PURE__ */ g.forwardRef(function({ preventCycle: e = !1, children: t, ...n }, r) {
2612
+ const ml = 250, gl = 120, co = /* @__PURE__ */ g.forwardRef(function({ preventCycle: e = !1, children: t, ...n }, r) {
2609
2613
  const { visible: a, closeDrawer: s, isDragging: i, snapPoints: l, activeSnapPoint: u, setActiveSnapPoint: v, dismissible: m, handleOnly: c, onPress: d, onDrag: f } = wt(), y = g.useRef(null), R = g.useRef(!1);
2610
2614
  function K() {
2611
2615
  if (R.current) {
@@ -2629,9 +2633,9 @@ const ml = 250, gl = 120, lo = /* @__PURE__ */ g.forwardRef(function({ preventCy
2629
2633
  s();
2630
2634
  return;
2631
2635
  }
2632
- const C = l.findIndex((P) => P === u);
2633
- if (C === -1) return;
2634
- const N = l[C + 1];
2636
+ const E = l.findIndex((P) => P === u);
2637
+ if (E === -1) return;
2638
+ const N = l[E + 1];
2635
2639
  v(N);
2636
2640
  }
2637
2641
  function q() {
@@ -2665,10 +2669,10 @@ const ml = 250, gl = 120, lo = /* @__PURE__ */ g.forwardRef(function({ preventCy
2665
2669
  "aria-hidden": "true"
2666
2670
  }, t));
2667
2671
  });
2668
- lo.displayName = "Drawer.Handle";
2669
- const co = /* @__PURE__ */ g.forwardRef(function({ children: e, ...t }, n) {
2670
- const { overlayRef: r, snapPoints: a, onRelease: s, shouldFade: i, isOpen: l, visible: u } = wt(), v = ro(n, r), m = a && a.length > 0;
2671
- return /* @__PURE__ */ g.createElement(Ka, {
2672
+ co.displayName = "Drawer.Handle";
2673
+ const uo = /* @__PURE__ */ g.forwardRef(function({ children: e, ...t }, n) {
2674
+ const { overlayRef: r, snapPoints: a, onRelease: s, shouldFade: i, isOpen: l, visible: u } = wt(), v = oo(n, r), m = a && a.length > 0;
2675
+ return /* @__PURE__ */ g.createElement(Va, {
2672
2676
  onMouseUp: s,
2673
2677
  ref: v,
2674
2678
  "vaul-drawer-visible": u ? "true" : "false",
@@ -2678,9 +2682,9 @@ const co = /* @__PURE__ */ g.forwardRef(function({ children: e, ...t }, n) {
2678
2682
  ...t
2679
2683
  });
2680
2684
  });
2681
- co.displayName = "Drawer.Overlay";
2682
- const uo = /* @__PURE__ */ g.forwardRef(function({ onOpenAutoFocus: e, onPointerDownOutside: t, onAnimationEnd: n, style: r, ...a }, s) {
2683
- const { drawerRef: i, onPress: l, onRelease: u, onDrag: v, dismissible: m, keyboardIsOpen: c, snapPointsOffset: d, visible: f, closeDrawer: y, modal: R, openProp: K, onOpenChange: H, setVisible: q, handleOnly: x, direction: p } = wt(), C = ro(s, i), N = g.useRef(null), P = g.useRef(!1), _ = (w, L, te = 0) => {
2685
+ uo.displayName = "Drawer.Overlay";
2686
+ const fo = /* @__PURE__ */ g.forwardRef(function({ onOpenAutoFocus: e, onPointerDownOutside: t, onAnimationEnd: n, style: r, ...a }, s) {
2687
+ const { drawerRef: i, onPress: l, onRelease: u, onDrag: v, dismissible: m, keyboardIsOpen: c, snapPointsOffset: d, visible: f, closeDrawer: y, modal: R, openProp: K, onOpenChange: H, setVisible: q, handleOnly: x, direction: p } = wt(), E = oo(s, i), N = g.useRef(null), P = g.useRef(!1), _ = (w, L, te = 0) => {
2684
2688
  if (P.current) return !0;
2685
2689
  const Q = Math.abs(w.y), V = Math.abs(w.x), X = V > Q, Oe = [
2686
2690
  "bottom",
@@ -2695,12 +2699,12 @@ const uo = /* @__PURE__ */ g.forwardRef(function({ onOpenAutoFocus: e, onPointer
2695
2699
  };
2696
2700
  return g.useEffect(() => {
2697
2701
  q(!0);
2698
- }, []), /* @__PURE__ */ g.createElement(Va, {
2702
+ }, []), /* @__PURE__ */ g.createElement(Qa, {
2699
2703
  "vaul-drawer": "",
2700
2704
  "vaul-drawer-direction": p,
2701
2705
  "vaul-drawer-visible": f ? "true" : "false",
2702
2706
  ...a,
2703
- ref: C,
2707
+ ref: E,
2704
2708
  style: d && d.length > 0 ? {
2705
2709
  "--snap-point-height": `${d[0]}px`,
2706
2710
  ...r
@@ -2751,12 +2755,12 @@ const uo = /* @__PURE__ */ g.forwardRef(function({ onOpenAutoFocus: e, onPointer
2751
2755
  }
2752
2756
  });
2753
2757
  });
2754
- uo.displayName = "Drawer.Content";
2758
+ fo.displayName = "Drawer.Content";
2755
2759
  function vl({ onDrag: e, onOpenChange: t, ...n }) {
2756
2760
  const { onNestedDrag: r, onNestedOpenChange: a, onNestedRelease: s } = wt();
2757
2761
  if (!r)
2758
2762
  throw new Error("Drawer.NestedRoot must be placed in another drawer");
2759
- return /* @__PURE__ */ g.createElement(io, {
2763
+ return /* @__PURE__ */ g.createElement(lo, {
2760
2764
  nested: !0,
2761
2765
  onClose: () => {
2762
2766
  a(!1);
@@ -2772,16 +2776,16 @@ function vl({ onDrag: e, onOpenChange: t, ...n }) {
2772
2776
  });
2773
2777
  }
2774
2778
  const ie = {
2775
- Root: io,
2779
+ Root: lo,
2776
2780
  NestedRoot: vl,
2777
- Content: uo,
2778
- Handle: lo,
2779
- Overlay: co,
2780
- Trigger: Qa,
2781
- Portal: qa,
2782
- Close: Ga,
2783
- Title: Wa,
2784
- Description: Ya
2781
+ Content: fo,
2782
+ Handle: co,
2783
+ Overlay: uo,
2784
+ Trigger: qa,
2785
+ Portal: Ga,
2786
+ Close: Wa,
2787
+ Title: Ya,
2788
+ Description: Xa
2785
2789
  }, Xt = ({
2786
2790
  shouldScaleBackground: e = !0,
2787
2791
  ...t
@@ -2793,7 +2797,7 @@ const ie = {
2793
2797
  }
2794
2798
  );
2795
2799
  Xt.displayName = "Drawer";
2796
- const fo = ie.Trigger, wl = ie.Portal, bl = ie.Close, ho = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ o.jsx(
2800
+ const ho = ie.Trigger, wl = ie.Portal, bl = ie.Close, po = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ o.jsx(
2797
2801
  ie.Overlay,
2798
2802
  {
2799
2803
  ref: n,
@@ -2801,9 +2805,9 @@ const fo = ie.Trigger, wl = ie.Portal, bl = ie.Close, ho = h.forwardRef(({ class
2801
2805
  ...t
2802
2806
  }
2803
2807
  ));
2804
- ho.displayName = ie.Overlay.displayName;
2808
+ po.displayName = ie.Overlay.displayName;
2805
2809
  const Jt = h.forwardRef(({ className: e, children: t, hideBar: n = !0, ...r }, a) => /* @__PURE__ */ o.jsxs(wl, { children: [
2806
- /* @__PURE__ */ o.jsx(ho, {}),
2810
+ /* @__PURE__ */ o.jsx(po, {}),
2807
2811
  /* @__PURE__ */ o.jsxs(
2808
2812
  ie.Content,
2809
2813
  {
@@ -2845,18 +2849,18 @@ xl.displayName = ie.Description.displayName;
2845
2849
  const yl = () => {
2846
2850
  const { topNavigation: e } = Ue();
2847
2851
  return /* @__PURE__ */ o.jsxs(Xt, { direction: "right", children: [
2848
- /* @__PURE__ */ o.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ o.jsx(fo, { className: "lg:hidden", children: /* @__PURE__ */ o.jsx(ka, { size: 22 }) }) }),
2852
+ /* @__PURE__ */ o.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ o.jsx(ho, { className: "lg:hidden", children: /* @__PURE__ */ o.jsx($a, { size: 22 }) }) }),
2849
2853
  /* @__PURE__ */ o.jsxs(
2850
2854
  Jt,
2851
2855
  {
2852
2856
  className: "lg:hidden h-screen right-0 left-auto w-[320px] rounded-none",
2853
2857
  "aria-describedby": void 0,
2854
2858
  children: [
2855
- /* @__PURE__ */ o.jsx(In, { children: /* @__PURE__ */ o.jsx(Zt, { children: "Navigation" }) }),
2859
+ /* @__PURE__ */ o.jsx(An, { children: /* @__PURE__ */ o.jsx(Zt, { children: "Navigation" }) }),
2856
2860
  /* @__PURE__ */ o.jsx("ul", { className: "flex flex-col items-center gap-4 p-4", children: e.map((t) => /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx(
2857
2861
  We,
2858
2862
  {
2859
- className: ({ isActive: n }) => An(
2863
+ className: ({ isActive: n }) => kn(
2860
2864
  "block font-medium border-b-2",
2861
2865
  n ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
2862
2866
  ),
@@ -2869,8 +2873,8 @@ const yl = () => {
2869
2873
  )
2870
2874
  ] });
2871
2875
  }, Ml = () => {
2872
- const e = Ue(), [t, n] = Te(!1), r = Ln(() => n(!1), []);
2873
- be(() => {
2876
+ const e = Ue(), [t, n] = Te(!1), r = Fn(() => n(!1), []);
2877
+ xe(() => {
2874
2878
  if (t)
2875
2879
  return;
2876
2880
  function s(i) {
@@ -2880,7 +2884,7 @@ const yl = () => {
2880
2884
  window.removeEventListener("keydown", s);
2881
2885
  };
2882
2886
  }, [t, n]);
2883
- const a = e.plugins.find(js);
2887
+ const a = e.plugins.find(Ns);
2884
2888
  return a ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2885
2889
  /* @__PURE__ */ o.jsxs(
2886
2890
  "button",
@@ -2890,14 +2894,14 @@ const yl = () => {
2890
2894
  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",
2891
2895
  children: [
2892
2896
  /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
2893
- /* @__PURE__ */ o.jsx($a, { size: 14 }),
2897
+ /* @__PURE__ */ o.jsx(La, { size: 14 }),
2894
2898
  "Search"
2895
2899
  ] }),
2896
2900
  /* @__PURE__ */ o.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" })
2897
2901
  ]
2898
2902
  }
2899
2903
  ),
2900
- /* @__PURE__ */ o.jsx(Fn, { fallback: null, children: a.renderSearch({
2904
+ /* @__PURE__ */ o.jsx(Hn, { fallback: null, children: a.renderSearch({
2901
2905
  isOpen: t,
2902
2906
  onClose: r
2903
2907
  }) })
@@ -2907,7 +2911,7 @@ const yl = () => {
2907
2911
  return e.length <= 1 ? /* @__PURE__ */ o.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ o.jsx("nav", { className: "hidden lg:block border-b text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ o.jsx("ul", { className: "flex flex-row items-center gap-8", children: e.map((t) => /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx(
2908
2912
  We,
2909
2913
  {
2910
- className: ({ isActive: n }) => An(
2914
+ className: ({ isActive: n }) => kn(
2911
2915
  "block py-3.5 font-medium -mb-px border-b-2",
2912
2916
  n ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
2913
2917
  ),
@@ -2915,14 +2919,14 @@ const yl = () => {
2915
2919
  children: t.label
2916
2920
  }
2917
2921
  ) }, t.label)) }) });
2918
- }, po = ({ item: e }) => e.children ? /* @__PURE__ */ o.jsxs(qi, { children: [
2919
- /* @__PURE__ */ o.jsx(Qr, { children: e.label }),
2920
- /* @__PURE__ */ o.jsx(Qi, { children: /* @__PURE__ */ o.jsx(qr, { children: e.children.map((t, n) => (
2922
+ }, mo = ({ item: e }) => e.children ? /* @__PURE__ */ o.jsxs(Gi, { children: [
2923
+ /* @__PURE__ */ o.jsx(qr, { children: e.label }),
2924
+ /* @__PURE__ */ o.jsx(qi, { children: /* @__PURE__ */ o.jsx(Gr, { children: e.children.map((t, n) => (
2921
2925
  // eslint-disable-next-line react/no-array-index-key
2922
- /* @__PURE__ */ o.jsx(po, { item: t }, n)
2926
+ /* @__PURE__ */ o.jsx(mo, { item: t }, n)
2923
2927
  )) }) })
2924
- ] }, e.label) : /* @__PURE__ */ o.jsx(Ot, { to: e.path ?? "", children: /* @__PURE__ */ o.jsx(Wr, { children: e.label }, e.label) }), mo = Hn(function() {
2925
- const t = cn(), [n, r] = sa(), { isAuthenticated: a, profile: s, isAuthEnabled: i } = cn(), l = Ue(), { page: u, plugins: v } = l, m = v.filter((d) => Rs(d)).flatMap((d) => d.getProfileMenuItems(l)).map((d) => /* @__PURE__ */ o.jsx(po, { item: d }, d.label)), c = n ? La : Fa;
2928
+ ] }, e.label) : /* @__PURE__ */ o.jsx(Ot, { to: e.path ?? "", children: /* @__PURE__ */ o.jsx(Yr, { children: e.label }, e.label) }), go = Un(function() {
2929
+ const t = cn(), [n, r] = ia(), { isAuthenticated: a, profile: s, isAuthEnabled: i } = cn(), l = Ue(), { page: u, plugins: v } = l, m = v.filter((d) => Ds(d)).flatMap((d) => d.getProfileMenuItems(l)).map((d) => /* @__PURE__ */ o.jsx(mo, { item: d }, d.label)), c = n ? Fa : Ha;
2926
2930
  return /* @__PURE__ */ o.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
2927
2931
  /* @__PURE__ */ o.jsx(Xi, {}),
2928
2932
  /* @__PURE__ */ o.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
@@ -2956,12 +2960,12 @@ const yl = () => {
2956
2960
  /* @__PURE__ */ o.jsx("div", { className: "w-full justify-center flex", children: /* @__PURE__ */ o.jsx(Ml, {}) }),
2957
2961
  /* @__PURE__ */ o.jsx(yl, {}),
2958
2962
  /* @__PURE__ */ o.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
2959
- /* @__PURE__ */ o.jsx(Pe, { name: "head-navigation-start" }),
2960
- i && !a ? /* @__PURE__ */ o.jsx(Rt, { variant: "ghost", onClick: () => t.login(), children: "Login" }) : m.length > 0 && /* @__PURE__ */ o.jsxs(Ki, { modal: !1, children: [
2961
- /* @__PURE__ */ o.jsx(Vi, { asChild: !0, children: /* @__PURE__ */ o.jsx(Rt, { variant: "ghost", children: s != null && s.email ? `${s.email}` : "My Account" }) }),
2962
- /* @__PURE__ */ o.jsxs(Gr, { className: "w-56", children: [
2963
- /* @__PURE__ */ o.jsx(Yr, { children: "My Account" }),
2964
- /* @__PURE__ */ o.jsx(Xr, {}),
2963
+ /* @__PURE__ */ o.jsx(he, { name: "head-navigation-start" }),
2964
+ i && !a ? /* @__PURE__ */ o.jsx(Rt, { variant: "ghost", onClick: () => t.login(), children: "Login" }) : m.length > 0 && /* @__PURE__ */ o.jsxs(Vi, { modal: !1, children: [
2965
+ /* @__PURE__ */ o.jsx(Qi, { asChild: !0, children: /* @__PURE__ */ o.jsx(Rt, { variant: "ghost", children: s != null && s.email ? `${s.email}` : "My Account" }) }),
2966
+ /* @__PURE__ */ o.jsxs(Wr, { className: "w-56", children: [
2967
+ /* @__PURE__ */ o.jsx(Xr, { children: "My Account" }),
2968
+ /* @__PURE__ */ o.jsx(Jr, {}),
2965
2969
  m
2966
2970
  ] })
2967
2971
  ] }),
@@ -2975,73 +2979,75 @@ const yl = () => {
2975
2979
  children: /* @__PURE__ */ o.jsx(c, { size: 18 })
2976
2980
  }
2977
2981
  ),
2978
- /* @__PURE__ */ o.jsx(Pe, { name: "head-navigation-end" })
2982
+ /* @__PURE__ */ o.jsx(he, { name: "head-navigation-end" })
2979
2983
  ] })
2980
2984
  ] })
2981
2985
  ] }),
2982
- /* @__PURE__ */ o.jsx(Sl, {})
2986
+ /* @__PURE__ */ o.jsx(he, { name: "top-navigation-before" }),
2987
+ /* @__PURE__ */ o.jsx(Sl, {}),
2988
+ /* @__PURE__ */ o.jsx(he, { name: "top-navigation-after" })
2983
2989
  ] })
2984
2990
  ] });
2985
- }), go = {
2986
- Header: mo
2987
- }, El = $n(go), Cl = El.Provider, Rl = (e) => {
2991
+ }), vo = {
2992
+ Header: go
2993
+ }, Cl = Ln(vo), El = Cl.Provider, Rl = (e) => {
2988
2994
  const [t, n] = Te(!1);
2989
- be(() => {
2995
+ xe(() => {
2990
2996
  const s = localStorage.getItem("theme"), i = window.matchMedia("(prefers-color-scheme: dark)"), l = s === "dark" || !s && i.matches;
2991
2997
  n(l);
2992
2998
  }, [t]);
2993
- const r = Ln(() => {
2999
+ const r = Fn(() => {
2994
3000
  const s = !t;
2995
3001
  document.documentElement.classList.toggle("dark", s), localStorage.setItem("theme", s ? "dark" : "light"), n(s);
2996
3002
  }, [t]), a = [t, r];
2997
- return /* @__PURE__ */ o.jsx(ia.Provider, { value: a, ...e });
3003
+ return /* @__PURE__ */ o.jsx(la.Provider, { value: a, ...e });
2998
3004
  }, Dl = ({
2999
3005
  children: e,
3000
3006
  context: t
3001
- }) => (Na({
3007
+ }) => (Pa({
3002
3008
  queryFn: async () => (await t.initialize(), !0),
3003
3009
  queryKey: ["zudoku-initialize"]
3004
- }), /* @__PURE__ */ o.jsx(Pa.Provider, { value: t, children: e })), jl = ({
3010
+ }), /* @__PURE__ */ o.jsx(Ta.Provider, { value: t, children: e })), jl = ({
3005
3011
  children: e,
3006
3012
  ...t
3007
3013
  }) => {
3008
3014
  var c, d;
3009
3015
  const n = xt(
3010
- () => ({ ...go, ...t.overrides }),
3016
+ () => ({ ...vo, ...t.overrides }),
3011
3017
  [t.overrides]
3012
3018
  ), r = xt(() => {
3013
3019
  var y;
3014
3020
  return {
3015
- ...(t.plugins ?? []).filter(Ts).flatMap(
3021
+ ...(t.plugins ?? []).filter(_s).flatMap(
3016
3022
  (R) => R.getMdxComponents ? [R.getMdxComponents()] : []
3017
3023
  ).reduce((R, K) => ({ ...R, ...K }), {}),
3018
- ...la,
3024
+ ...ca,
3019
3025
  ...(y = t.mdx) == null ? void 0 : y.components
3020
3026
  };
3021
- }, [(c = t.mdx) == null ? void 0 : c.components, t.plugins]), { stagger: a } = ma(Dt), [s, i] = Te(!1), l = xt(
3027
+ }, [(c = t.mdx) == null ? void 0 : c.components, t.plugins]), { stagger: a } = ga(Dt), [s, i] = Te(!1), l = xt(
3022
3028
  () => s ? { stagger: !0 } : { stagger: a },
3023
3029
  [a, s]
3024
- ), u = Bo();
3025
- be(() => {
3030
+ ), u = zo();
3031
+ xe(() => {
3026
3032
  s || i(!0);
3027
3033
  }, [s, u.location]);
3028
- const [v] = Te(() => new Os(t)), m = (d = t.plugins) == null ? void 0 : d.filter(Ps).map((f, y) => {
3034
+ const [v] = Te(() => new Is(t)), m = (d = t.plugins) == null ? void 0 : d.filter(Ts).map((f, y) => {
3029
3035
  var R;
3030
- return /* @__PURE__ */ o.jsx(ga, { children: (R = f.getHead) == null ? void 0 : R.call(f) }, y);
3036
+ return /* @__PURE__ */ o.jsx(va, { children: (R = f.getHead) == null ? void 0 : R.call(f) }, y);
3031
3037
  });
3032
- return /* @__PURE__ */ o.jsxs(Ta, { client: Wn, children: [
3038
+ return /* @__PURE__ */ o.jsxs(_a, { client: Yn, children: [
3033
3039
  /* @__PURE__ */ o.jsx(_t, { children: m }),
3034
- /* @__PURE__ */ o.jsx(Dt.Provider, { value: l, children: /* @__PURE__ */ o.jsx(Dl, { context: v, children: /* @__PURE__ */ o.jsx(Ao, { components: r, children: /* @__PURE__ */ o.jsx(Rl, { children: /* @__PURE__ */ o.jsx(Cl, { value: n, children: /* @__PURE__ */ o.jsx(Ko, { slotlets: t.slotlets, children: /* @__PURE__ */ o.jsx(ca, { children: e ?? /* @__PURE__ */ o.jsx(Dn, {}) }) }) }) }) }) }) })
3040
+ /* @__PURE__ */ o.jsx(Dt.Provider, { value: l, children: /* @__PURE__ */ o.jsx(Dl, { context: v, children: /* @__PURE__ */ o.jsx(ko, { components: r, children: /* @__PURE__ */ o.jsx(Rl, { children: /* @__PURE__ */ o.jsx(El, { value: n, children: /* @__PURE__ */ o.jsx(Vo, { slotlets: t.slotlets, children: /* @__PURE__ */ o.jsx(ua, { children: e ?? /* @__PURE__ */ o.jsx(jn, {}) }) }) }) }) }) }) })
3035
3041
  ] });
3036
- }, Nl = Hn(jl), vo = (e) => /* @__PURE__ */ o.jsx(Es, { FallbackComponent: Is, children: /* @__PURE__ */ o.jsx(Nl, { ...e }) });
3037
- vo.displayName = "DevPortal";
3042
+ }, Nl = Un(jl), wo = (e) => /* @__PURE__ */ o.jsx(Es, { FallbackComponent: As, children: /* @__PURE__ */ o.jsx(Nl, { ...e }) });
3043
+ wo.displayName = "DevPortal";
3038
3044
  const Pl = ({
3039
3045
  category: e,
3040
3046
  level: t
3041
3047
  }) => {
3042
3048
  var d;
3043
- const n = zn(), r = ko(e), [a, s] = Te(!1), i = e.collapsible ?? !0, l = e.collapsed ?? !0, u = !!(!i || !l || r), [v, m] = Te(u);
3044
- be(() => {
3049
+ const n = Kn(), r = $o(e), [a, s] = Te(!1), i = e.collapsible ?? !0, l = e.collapsed ?? !0, u = !!(!i || !l || r), [v, m] = Te(u);
3050
+ xe(() => {
3045
3051
  r && m(!0);
3046
3052
  }, [r]);
3047
3053
  const c = i && /* @__PURE__ */ o.jsx(
@@ -3052,7 +3058,7 @@ const Pl = ({
3052
3058
  f.preventDefault(), m((y) => !y), s(!0);
3053
3059
  },
3054
3060
  children: /* @__PURE__ */ o.jsx(
3055
- Kn,
3061
+ Vn,
3056
3062
  {
3057
3063
  size: 16,
3058
3064
  className: O(
@@ -3064,14 +3070,14 @@ const Pl = ({
3064
3070
  }
3065
3071
  );
3066
3072
  return /* @__PURE__ */ o.jsxs(
3067
- ba,
3073
+ xa,
3068
3074
  {
3069
3075
  className: O("flex flex-col", t === 0 && "-mx-[--padding-nav-item]"),
3070
3076
  defaultOpen: u,
3071
3077
  open: v,
3072
3078
  onOpenChange: () => m(!0),
3073
3079
  children: [
3074
- /* @__PURE__ */ o.jsx(xa, { className: "group", asChild: !0, disabled: !i, children: /* @__PURE__ */ o.jsxs(
3080
+ /* @__PURE__ */ o.jsx(ya, { className: "group", asChild: !0, disabled: !i, children: /* @__PURE__ */ o.jsxs(
3075
3081
  "div",
3076
3082
  {
3077
3083
  className: O(
@@ -3115,7 +3121,7 @@ const Pl = ({
3115
3121
  }
3116
3122
  ) }),
3117
3123
  /* @__PURE__ */ o.jsx(
3118
- ya,
3124
+ Ma,
3119
3125
  {
3120
3126
  className: O(
3121
3127
  // CollapsibleContent class is used to animate and it should only be applied when the user has triggered the toggle
@@ -3135,7 +3141,7 @@ const Pl = ({
3135
3141
  ]
3136
3142
  }
3137
3143
  );
3138
- }, Ge = ua(
3144
+ }, Ge = da(
3139
3145
  "flex items-center gap-2 px-[--padding-nav-item] py-1.5 rounded-lg hover:bg-accent transition-colors duration-300",
3140
3146
  {
3141
3147
  variants: {
@@ -3152,11 +3158,11 @@ const Pl = ({
3152
3158
  }
3153
3159
  }
3154
3160
  }
3155
- ), wo = "data-anchor", Tt = ({
3161
+ ), bo = "data-anchor", Tt = ({
3156
3162
  item: e,
3157
3163
  level: t = 0
3158
3164
  }) => {
3159
- const n = zn(), { activeAnchor: r } = kt(), [a] = zo();
3165
+ const n = Kn(), { activeAnchor: r } = kt(), [a] = Ko();
3160
3166
  switch (e.type) {
3161
3167
  case "category":
3162
3168
  return /* @__PURE__ */ o.jsx(Pl, { category: e, level: t });
@@ -3177,10 +3183,10 @@ const Pl = ({
3177
3183
  );
3178
3184
  case "link":
3179
3185
  return e.href.startsWith("#") ? /* @__PURE__ */ o.jsx(
3180
- $o,
3186
+ Lo,
3181
3187
  {
3182
3188
  to: { hash: e.href, search: a.toString() },
3183
- [wo]: e.href.slice(1),
3189
+ [bo]: e.href.slice(1),
3184
3190
  className: O(
3185
3191
  "flex gap-2.5 justify-between",
3186
3192
  t === 0 && "-mx-[--padding-nav-item]",
@@ -3207,7 +3213,7 @@ const Pl = ({
3207
3213
  /* @__PURE__ */ o.jsx("span", { className: "whitespace-normal", children: e.label }),
3208
3214
  /* @__PURE__ */ o.jsxs("span", { className: "whitespace-nowrap", children: [
3209
3215
  " ",
3210
- /* @__PURE__ */ o.jsx(Ha, { className: "inline ml-1", size: 12 })
3216
+ /* @__PURE__ */ o.jsx(Ua, { className: "inline ml-1", size: 12 })
3211
3217
  ] })
3212
3218
  ]
3213
3219
  }
@@ -3229,10 +3235,10 @@ const Pl = ({
3229
3235
  n.top >= 0 && n.left >= 0 && n.bottom <= (window.innerHeight || document.documentElement.clientHeight) && n.right <= (window.innerWidth || document.documentElement.clientWidth) || e.scrollIntoView(t);
3230
3236
  }, _l = () => {
3231
3237
  const e = It(), { setActiveAnchor: t } = kt();
3232
- be(() => {
3238
+ xe(() => {
3233
3239
  if (!e.hash) return;
3234
3240
  const n = decodeURIComponent(e.hash.split("/")[0].slice(1)), r = () => {
3235
- const a = document.getElementById(n), s = document.querySelector(`[${wo}="${n}"]`);
3241
+ const a = document.getElementById(n), s = document.querySelector(`[${bo}="${n}"]`);
3236
3242
  return a ? (a.scrollIntoView(), Tl(s), requestIdleCallback(() => t(n)), !0) : !1;
3237
3243
  };
3238
3244
  if (!r()) {
@@ -3244,10 +3250,10 @@ const Pl = ({
3244
3250
  }, [e.hash, t]);
3245
3251
  }, Ol = () => {
3246
3252
  const e = It(), t = $t(e.pathname);
3247
- be(() => {
3253
+ xe(() => {
3248
3254
  t.current !== e.pathname && (window.scrollTo(0, 0), t.current = e.pathname);
3249
3255
  }, [e.pathname]);
3250
- }, bo = va(({ children: e, className: t, pushMainContent: n }, r) => /* @__PURE__ */ o.jsx(
3256
+ }, xo = wa(({ children: e, className: t, pushMainContent: n }, r) => /* @__PURE__ */ o.jsx(
3251
3257
  "nav",
3252
3258
  {
3253
3259
  "data-navigation": String(n),
@@ -3261,19 +3267,19 @@ const Pl = ({
3261
3267
  children: e
3262
3268
  }
3263
3269
  ));
3264
- bo.displayName = "SidebarWrapper";
3270
+ xo.displayName = "SidebarWrapper";
3265
3271
  const Il = () => {
3266
- const e = $t(null), t = _a();
3272
+ const e = $t(null), t = Oa();
3267
3273
  return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
3268
3274
  /* @__PURE__ */ o.jsxs(
3269
- bo,
3275
+ xo,
3270
3276
  {
3271
3277
  ref: e,
3272
3278
  pushMainContent: t.data.items.length > 0,
3273
3279
  children: [
3274
- /* @__PURE__ */ o.jsx(Pe, { name: "zudoku-before-navigation" }),
3280
+ /* @__PURE__ */ o.jsx(he, { name: "zudoku-before-navigation" }),
3275
3281
  t.data.items.map((n) => /* @__PURE__ */ o.jsx(Tt, { item: n }, n.label)),
3276
- /* @__PURE__ */ o.jsx(Pe, { name: "zudoku-after-navigation" })
3282
+ /* @__PURE__ */ o.jsx(he, { name: "zudoku-after-navigation" })
3277
3283
  ]
3278
3284
  }
3279
3285
  ),
@@ -3283,7 +3289,7 @@ const Il = () => {
3283
3289
  className: "lg:hidden h-screen left-0 p-6 w-[320px] rounded-none",
3284
3290
  "aria-describedby": void 0,
3285
3291
  children: [
3286
- /* @__PURE__ */ o.jsx(In, { children: /* @__PURE__ */ o.jsx(Zt, { children: "Sidebar" }) }),
3292
+ /* @__PURE__ */ o.jsx(An, { children: /* @__PURE__ */ o.jsx(Zt, { children: "Sidebar" }) }),
3287
3293
  t.data.items.map((n) => /* @__PURE__ */ o.jsx(Tt, { item: n }, n.label))
3288
3294
  ]
3289
3295
  }
@@ -3293,10 +3299,10 @@ const Il = () => {
3293
3299
  const t = It(), { setActiveAnchor: n } = kt(), { meta: r, authentication: a } = Ue();
3294
3300
  _l(), Ol();
3295
3301
  const s = $t(t.pathname);
3296
- return be(() => {
3302
+ return xe(() => {
3297
3303
  var i;
3298
3304
  (i = a == null ? void 0 : a.pageLoad) == null || i.call(a);
3299
- }, [a]), be(() => {
3305
+ }, [a]), xe(() => {
3300
3306
  t.pathname !== s.current && n(""), s.current = t.pathname;
3301
3307
  }, [t.pathname, n]), /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
3302
3308
  !1,
@@ -3304,12 +3310,13 @@ const Il = () => {
3304
3310
  (r == null ? void 0 : r.description) && /* @__PURE__ */ o.jsx("meta", { name: "description", content: r.description }),
3305
3311
  (r == null ? void 0 : r.favicon) && /* @__PURE__ */ o.jsx("link", { rel: "icon", href: r.favicon })
3306
3312
  ] }),
3307
- /* @__PURE__ */ o.jsx(Pe, { name: "layout-before-head" }),
3308
- /* @__PURE__ */ o.jsx(mo, {}),
3313
+ /* @__PURE__ */ o.jsx(he, { name: "layout-before-head" }),
3314
+ /* @__PURE__ */ o.jsx(go, {}),
3315
+ /* @__PURE__ */ o.jsx(he, { name: "layout-after-head" }),
3309
3316
  /* @__PURE__ */ o.jsx("div", { className: "w-full max-w-screen-2xl mx-auto px-10 lg:px-12", children: /* @__PURE__ */ o.jsx(
3310
- Fn,
3317
+ Hn,
3311
3318
  {
3312
- fallback: /* @__PURE__ */ o.jsx("main", { className: "grid h-[calc(100vh-var(--header-height))] place-items-center", children: /* @__PURE__ */ o.jsx(Ja, {}) }),
3319
+ fallback: /* @__PURE__ */ o.jsx("main", { className: "grid h-[calc(100vh-var(--header-height))] place-items-center", children: /* @__PURE__ */ o.jsx(Za, {}) }),
3313
3320
  children: /* @__PURE__ */ o.jsxs(Xt, { direction: "left", children: [
3314
3321
  /* @__PURE__ */ o.jsx(Il, {}),
3315
3322
  /* @__PURE__ */ o.jsx(
@@ -3319,8 +3326,8 @@ const Il = () => {
3319
3326
  "lg:hidden -mx-10 px-10 py-2 sticky bg-background/80 backdrop-blur z-10 top-0 left-0 right-0 border-b",
3320
3327
  "peer-data-[navigation=false]:hidden"
3321
3328
  ),
3322
- children: /* @__PURE__ */ o.jsxs(fo, { className: "flex items-center gap-2", children: [
3323
- /* @__PURE__ */ o.jsx(Ua, { size: 16, strokeWidth: 1.5 }),
3329
+ children: /* @__PURE__ */ o.jsxs(ho, { className: "flex items-center gap-2", children: [
3330
+ /* @__PURE__ */ o.jsx(Ba, { size: 16, strokeWidth: 1.5 }),
3324
3331
  /* @__PURE__ */ o.jsx("span", { className: "text-sm", children: "Menu" })
3325
3332
  ] })
3326
3333
  }
@@ -3336,9 +3343,9 @@ const Il = () => {
3336
3343
  "lg:peer-data-[navigation=true]:translate-x-[--side-nav-width] lg:peer-data-[navigation=true]:pl-12"
3337
3344
  ),
3338
3345
  children: [
3339
- /* @__PURE__ */ o.jsx(Pe, { name: "zudoku-before-content" }),
3340
- e ?? /* @__PURE__ */ o.jsx(Dn, {}),
3341
- /* @__PURE__ */ o.jsx(Pe, { name: "zudoku-after-content" })
3346
+ /* @__PURE__ */ o.jsx(he, { name: "zudoku-before-content" }),
3347
+ e ?? /* @__PURE__ */ o.jsx(jn, {}),
3348
+ /* @__PURE__ */ o.jsx(he, { name: "zudoku-after-content" })
3342
3349
  ]
3343
3350
  }
3344
3351
  )
@@ -3346,7 +3353,7 @@ const Il = () => {
3346
3353
  }
3347
3354
  ) })
3348
3355
  ] });
3349
- }, Zl = Lo, ec = da, tc = vo, nc = Al, rc = Ot, oc = Vo, ac = Za, sc = gs, ic = vs, lc = Rt, cc = _t;
3356
+ }, Zl = Fo, ec = fa, tc = wo, nc = Al, rc = Ot, oc = Qo, ac = es, sc = vs, ic = ws, lc = Rt, cc = _t;
3350
3357
  export {
3351
3358
  sc as Bootstrap,
3352
3359
  ic as BootstrapStatic,