zudoku 0.4.2-dev.1 → 0.4.2-dev.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/cli/dev/handler.js +1 -0
  2. package/dist/cli/dev/handler.js.map +1 -1
  3. package/dist/lib/components/DeveloperHint.js +1 -3
  4. package/dist/lib/components/DeveloperHint.js.map +1 -1
  5. package/dist/lib/components/Header.js +2 -2
  6. package/dist/lib/components/Header.js.map +1 -1
  7. package/dist/lib/components/navigation/SidebarCategory.js +3 -1
  8. package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
  9. package/dist/lib/plugins/openapi/playground/Playground.js +1 -1
  10. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  11. package/lib/DeveloperHint-BkVaBhYp.js +16 -0
  12. package/lib/DeveloperHint-BkVaBhYp.js.map +1 -0
  13. package/lib/{OperationList-DajrjZzx.js → OperationList-CCwy1nfs.js} +3 -3
  14. package/lib/{OperationList-DajrjZzx.js.map → OperationList-CCwy1nfs.js.map} +1 -1
  15. package/lib/{Route-D7sTrFzF.js → Route-bSTdQP2q.js} +2 -2
  16. package/lib/{Route-D7sTrFzF.js.map → Route-bSTdQP2q.js.map} +1 -1
  17. package/lib/{SlotletProvider-WwEUzQQ3.js → SlotletProvider-B1N8zYvn.js} +2 -2
  18. package/lib/{SlotletProvider-WwEUzQQ3.js.map → SlotletProvider-B1N8zYvn.js.map} +1 -1
  19. package/lib/{index-D2SS6ne_.js → index-Sapny0Di.js} +4 -4
  20. package/lib/index-Sapny0Di.js.map +1 -0
  21. package/lib/zudoku.auth-openid.js +1 -1
  22. package/lib/zudoku.components.js +91 -91
  23. package/lib/zudoku.components.js.map +1 -1
  24. package/lib/zudoku.plugin-api-keys.js +2 -2
  25. package/lib/zudoku.plugin-openapi.js +1 -1
  26. package/package.json +1 -1
  27. package/src/app/main.css +11 -1
  28. package/src/lib/components/DeveloperHint.tsx +1 -3
  29. package/src/lib/components/Header.tsx +2 -2
  30. package/src/lib/components/navigation/SidebarCategory.tsx +5 -2
  31. package/src/lib/plugins/openapi/playground/Playground.tsx +1 -1
  32. package/lib/DeveloperHint-BQSFXH01.js +0 -10
  33. package/lib/DeveloperHint-BQSFXH01.js.map +0 -1
  34. package/lib/index-D2SS6ne_.js.map +0 -1
@@ -5,7 +5,7 @@ import { j as E } from "./jsx-runtime-B6kdoens.js";
5
5
  import { c as Ce, a as Ie } from "./_commonjsHelpers-BVfed4GL.js";
6
6
  import { A as je } from "./AuthenticationPlugin-DYnkydqa.js";
7
7
  import { useState as Je, useRef as Oe, useEffect as Ne } from "react";
8
- import { D as ze } from "./DeveloperHint-BQSFXH01.js";
8
+ import { D as ze } from "./DeveloperHint-BkVaBhYp.js";
9
9
  import { E as De } from "./ErrorPage-uwQIn-3A.js";
10
10
  import { S as Ke } from "./Spinner-D4ifRVWf.js";
11
11
  import { S as We } from "./Markdown-h11bKkQ9.js";
@@ -15,7 +15,7 @@ var Ce = (e, t, n, r) => ({
15
15
  });
16
16
  import { H as jt, a as qe, M as lr, u as dr, A as hr, b as fr } from "./utils-BPHLKjns.js";
17
17
  import { d as pr, a as mr, R as gr, N as je, L as Ge, u as vr, O as Rt, b as xr, c as He } from "./index-ChhUJhLT.js";
18
- import { E as Et, S as se, a as yr, R as wr } from "./SlotletProvider-WwEUzQQ3.js";
18
+ import { E as Et, S as se, a as yr, R as wr } from "./SlotletProvider-B1N8zYvn.js";
19
19
  import { j as a } from "./jsx-runtime-B6kdoens.js";
20
20
  import { M as br, c as Mr, a as _t, b as Nt, A as Cr, u as ge, h as Sr, d as y, e as Pr, F as jr, D as Rr, C as Er, P as ce, f as Ue, g as _r, i as Dt, R as Nr, S as Dr, j as Ir, k as kr, l as It, m as Ar, n as Re, o as kt, p as ft, B as $e } from "./Combination-Ce1nWgn5.js";
21
21
  import { c as ue, a as b, C as Or, b as Tr, u as Fr, T as Lr, M as Kr, V as $r, d as ze, e as Br, f as Qr } from "./Markdown-h11bKkQ9.js";
@@ -531,16 +531,16 @@ function Ka(e) {
531
531
  const r = async () => {
532
532
  var x, M, I, Q, Y;
533
533
  const o = t.options, s = (I = (M = (x = t.fetchOptions) == null ? void 0 : x.meta) == null ? void 0 : M.fetchMore) == null ? void 0 : I.direction, i = ((Q = t.state.data) == null ? void 0 : Q.pages) || [], u = ((Y = t.state.data) == null ? void 0 : Y.pageParams) || [], l = { pages: [], pageParams: [] };
534
- let g = !1;
534
+ let v = !1;
535
535
  const p = (C) => {
536
536
  Object.defineProperty(C, "signal", {
537
537
  enumerable: !0,
538
- get: () => (t.signal.aborted ? g = !0 : t.signal.addEventListener("abort", () => {
539
- g = !0;
538
+ get: () => (t.signal.aborted ? v = !0 : t.signal.addEventListener("abort", () => {
539
+ v = !0;
540
540
  }), t.signal)
541
541
  });
542
542
  }, d = ea(t.options, t.fetchOptions), h = async (C, k, L) => {
543
- if (g)
543
+ if (v)
544
544
  return Promise.reject();
545
545
  if (k == null && C.pages.length)
546
546
  return Promise.resolve(C);
@@ -559,25 +559,25 @@ function Ka(e) {
559
559
  pageParams: W(C.pageParams, k, be)
560
560
  };
561
561
  };
562
- let v;
562
+ let m;
563
563
  if (s && i.length) {
564
564
  const C = s === "backward", k = C ? $a : bt, L = {
565
565
  pages: i,
566
566
  pageParams: u
567
567
  }, X = k(o, L);
568
- v = await h(L, X, C);
568
+ m = await h(L, X, C);
569
569
  } else {
570
- v = await h(
570
+ m = await h(
571
571
  l,
572
572
  u[0] ?? o.initialPageParam
573
573
  );
574
574
  const C = e ?? i.length;
575
575
  for (let k = 1; k < C; k++) {
576
- const L = bt(o, v);
577
- v = await h(v, L);
576
+ const L = bt(o, m);
577
+ m = await h(m, L);
578
578
  }
579
579
  }
580
- return v;
580
+ return m;
581
581
  };
582
582
  t.options.persister ? t.fetchFn = () => {
583
583
  var o, s;
@@ -956,13 +956,13 @@ var Qe = ["Enter", " "], eo = ["ArrowDown", "PageUp", "Home"], Vt = ["ArrowUp",
956
956
  Nt,
957
957
  Qt
958
958
  ]), ye = Nt(), Xt = Qt(), [Wt, V] = J(xe), [so, we] = J(xe), Jt = (e) => {
959
- const { __scopeMenu: t, open: n = !1, children: r, dir: o, onOpenChange: s, modal: i = !0 } = e, u = ye(t), [l, g] = c.useState(null), p = c.useRef(!1), d = Ue(s), h = kr(o);
959
+ const { __scopeMenu: t, open: n = !1, children: r, dir: o, onOpenChange: s, modal: i = !0 } = e, u = ye(t), [l, v] = c.useState(null), p = c.useRef(!1), d = Ue(s), h = kr(o);
960
960
  return c.useEffect(() => {
961
- const v = () => {
961
+ const m = () => {
962
962
  p.current = !0, document.addEventListener("pointerdown", x, { capture: !0, once: !0 }), document.addEventListener("pointermove", x, { capture: !0, once: !0 });
963
963
  }, x = () => p.current = !1;
964
- return document.addEventListener("keydown", v, { capture: !0 }), () => {
965
- document.removeEventListener("keydown", v, { capture: !0 }), document.removeEventListener("pointerdown", x, { capture: !0 }), document.removeEventListener("pointermove", x, { capture: !0 });
964
+ return document.addEventListener("keydown", m, { capture: !0 }), () => {
965
+ document.removeEventListener("keydown", m, { capture: !0 }), document.removeEventListener("pointerdown", x, { capture: !0 }), document.removeEventListener("pointermove", x, { capture: !0 });
966
966
  };
967
967
  }, []), /* @__PURE__ */ a.jsx(It, { ...u, children: /* @__PURE__ */ a.jsx(
968
968
  Wt,
@@ -971,7 +971,7 @@ var Qe = ["Enter", " "], eo = ["ArrowDown", "PageUp", "Home"], Vt = ["ArrowUp",
971
971
  open: n,
972
972
  onOpenChange: d,
973
973
  content: l,
974
- onContentChange: g,
974
+ onContentChange: v,
975
975
  children: /* @__PURE__ */ a.jsx(
976
976
  so,
977
977
  {
@@ -1052,24 +1052,24 @@ var D = "MenuContent", [uo, et] = J(D), tn = c.forwardRef(
1052
1052
  onCloseAutoFocus: i,
1053
1053
  disableOutsidePointerEvents: u,
1054
1054
  onEntryFocus: l,
1055
- onEscapeKeyDown: g,
1055
+ onEscapeKeyDown: v,
1056
1056
  onPointerDownOutside: p,
1057
1057
  onFocusOutside: d,
1058
1058
  onInteractOutside: h,
1059
- onDismiss: v,
1059
+ onDismiss: m,
1060
1060
  disableOutsideScroll: x,
1061
1061
  ...M
1062
- } = e, I = V(D, n), Q = we(D, n), Y = ye(n), C = Xt(n), k = ao(n), [L, X] = c.useState(null), Z = c.useRef(null), be = ge(t, Z, I.onContentChange), W = c.useRef(0), Me = c.useRef(""), ar = c.useRef(0), ke = c.useRef(null), it = c.useRef("right"), Ae = c.useRef(0), or = x ? Nr : c.Fragment, sr = x ? { as: Dr, allowPinchZoom: !0 } : void 0, ir = (m) => {
1062
+ } = e, I = V(D, n), Q = we(D, n), Y = ye(n), C = Xt(n), k = ao(n), [L, X] = c.useState(null), Z = c.useRef(null), be = ge(t, Z, I.onContentChange), W = c.useRef(0), Me = c.useRef(""), ar = c.useRef(0), ke = c.useRef(null), it = c.useRef("right"), Ae = c.useRef(0), or = x ? Nr : c.Fragment, sr = x ? { as: Dr, allowPinchZoom: !0 } : void 0, ir = (g) => {
1063
1063
  var te, ut;
1064
- const _ = Me.current + m, A = k().filter((K) => !K.disabled), q = document.activeElement, Oe = (te = A.find((K) => K.ref.current === q)) == null ? void 0 : te.textValue, Te = A.map((K) => K.textValue), ct = So(Te, _, Oe), le = (ut = A.find((K) => K.textValue === ct)) == null ? void 0 : ut.ref.current;
1064
+ const _ = Me.current + g, A = k().filter((K) => !K.disabled), q = document.activeElement, Oe = (te = A.find((K) => K.ref.current === q)) == null ? void 0 : te.textValue, Te = A.map((K) => K.textValue), ct = So(Te, _, Oe), le = (ut = A.find((K) => K.textValue === ct)) == null ? void 0 : ut.ref.current;
1065
1065
  (function K(lt) {
1066
1066
  Me.current = lt, window.clearTimeout(W.current), lt !== "" && (W.current = window.setTimeout(() => K(""), 1e3));
1067
1067
  })(_), le && setTimeout(() => le.focus());
1068
1068
  };
1069
1069
  c.useEffect(() => () => window.clearTimeout(W.current), []), Pr();
1070
- const ee = c.useCallback((m) => {
1070
+ const ee = c.useCallback((g) => {
1071
1071
  var A, q;
1072
- return it.current === ((A = ke.current) == null ? void 0 : A.side) && jo(m, (q = ke.current) == null ? void 0 : q.area);
1072
+ return it.current === ((A = ke.current) == null ? void 0 : A.side) && jo(g, (q = ke.current) == null ? void 0 : q.area);
1073
1073
  }, []);
1074
1074
  return /* @__PURE__ */ a.jsx(
1075
1075
  uo,
@@ -1077,36 +1077,36 @@ var D = "MenuContent", [uo, et] = J(D), tn = c.forwardRef(
1077
1077
  scope: n,
1078
1078
  searchRef: Me,
1079
1079
  onItemEnter: c.useCallback(
1080
- (m) => {
1081
- ee(m) && m.preventDefault();
1080
+ (g) => {
1081
+ ee(g) && g.preventDefault();
1082
1082
  },
1083
1083
  [ee]
1084
1084
  ),
1085
1085
  onItemLeave: c.useCallback(
1086
- (m) => {
1086
+ (g) => {
1087
1087
  var _;
1088
- ee(m) || ((_ = Z.current) == null || _.focus(), X(null));
1088
+ ee(g) || ((_ = Z.current) == null || _.focus(), X(null));
1089
1089
  },
1090
1090
  [ee]
1091
1091
  ),
1092
1092
  onTriggerLeave: c.useCallback(
1093
- (m) => {
1094
- ee(m) && m.preventDefault();
1093
+ (g) => {
1094
+ ee(g) && g.preventDefault();
1095
1095
  },
1096
1096
  [ee]
1097
1097
  ),
1098
1098
  pointerGraceTimerRef: ar,
1099
- onPointerGraceIntentChange: c.useCallback((m) => {
1100
- ke.current = m;
1099
+ onPointerGraceIntentChange: c.useCallback((g) => {
1100
+ ke.current = g;
1101
1101
  }, []),
1102
1102
  children: /* @__PURE__ */ a.jsx(or, { ...sr, children: /* @__PURE__ */ a.jsx(
1103
1103
  jr,
1104
1104
  {
1105
1105
  asChild: !0,
1106
1106
  trapped: o,
1107
- onMountAutoFocus: y(s, (m) => {
1107
+ onMountAutoFocus: y(s, (g) => {
1108
1108
  var _;
1109
- m.preventDefault(), (_ = Z.current) == null || _.focus({ preventScroll: !0 });
1109
+ g.preventDefault(), (_ = Z.current) == null || _.focus({ preventScroll: !0 });
1110
1110
  }),
1111
1111
  onUnmountAutoFocus: i,
1112
1112
  children: /* @__PURE__ */ a.jsx(
@@ -1114,11 +1114,11 @@ var D = "MenuContent", [uo, et] = J(D), tn = c.forwardRef(
1114
1114
  {
1115
1115
  asChild: !0,
1116
1116
  disableOutsidePointerEvents: u,
1117
- onEscapeKeyDown: g,
1117
+ onEscapeKeyDown: v,
1118
1118
  onPointerDownOutside: p,
1119
1119
  onFocusOutside: d,
1120
1120
  onInteractOutside: h,
1121
- onDismiss: v,
1121
+ onDismiss: m,
1122
1122
  children: /* @__PURE__ */ a.jsx(
1123
1123
  la,
1124
1124
  {
@@ -1129,8 +1129,8 @@ var D = "MenuContent", [uo, et] = J(D), tn = c.forwardRef(
1129
1129
  loop: r,
1130
1130
  currentTabStopId: L,
1131
1131
  onCurrentTabStopIdChange: X,
1132
- onEntryFocus: y(l, (m) => {
1133
- Q.isUsingKeyboardRef.current || m.preventDefault();
1132
+ onEntryFocus: y(l, (g) => {
1133
+ Q.isUsingKeyboardRef.current || g.preventDefault();
1134
1134
  }),
1135
1135
  preventScrollOnEntryFocus: !0,
1136
1136
  children: /* @__PURE__ */ a.jsx(
@@ -1145,25 +1145,25 @@ var D = "MenuContent", [uo, et] = J(D), tn = c.forwardRef(
1145
1145
  ...M,
1146
1146
  ref: be,
1147
1147
  style: { outline: "none", ...M.style },
1148
- onKeyDown: y(M.onKeyDown, (m) => {
1149
- const A = m.target.closest("[data-radix-menu-content]") === m.currentTarget, q = m.ctrlKey || m.altKey || m.metaKey, Oe = m.key.length === 1;
1150
- A && (m.key === "Tab" && m.preventDefault(), !q && Oe && ir(m.key));
1148
+ onKeyDown: y(M.onKeyDown, (g) => {
1149
+ const A = g.target.closest("[data-radix-menu-content]") === g.currentTarget, q = g.ctrlKey || g.altKey || g.metaKey, Oe = g.key.length === 1;
1150
+ A && (g.key === "Tab" && g.preventDefault(), !q && Oe && ir(g.key));
1151
1151
  const Te = Z.current;
1152
- if (m.target !== Te || !to.includes(m.key)) return;
1153
- m.preventDefault();
1152
+ if (g.target !== Te || !to.includes(g.key)) return;
1153
+ g.preventDefault();
1154
1154
  const le = k().filter((te) => !te.disabled).map((te) => te.ref.current);
1155
- Vt.includes(m.key) && le.reverse(), Mo(le);
1155
+ Vt.includes(g.key) && le.reverse(), Mo(le);
1156
1156
  }),
1157
- onBlur: y(e.onBlur, (m) => {
1158
- m.currentTarget.contains(m.target) || (window.clearTimeout(W.current), Me.current = "");
1157
+ onBlur: y(e.onBlur, (g) => {
1158
+ g.currentTarget.contains(g.target) || (window.clearTimeout(W.current), Me.current = "");
1159
1159
  }),
1160
1160
  onPointerMove: y(
1161
1161
  e.onPointerMove,
1162
- pe((m) => {
1163
- const _ = m.target, A = Ae.current !== m.clientX;
1164
- if (m.currentTarget.contains(_) && A) {
1165
- const q = m.clientX > Ae.current ? "right" : "left";
1166
- it.current = q, Ae.current = m.clientX;
1162
+ pe((g) => {
1163
+ const _ = g.target, A = Ae.current !== g.clientX;
1164
+ if (g.currentTarget.contains(_) && A) {
1165
+ const q = g.clientX > Ae.current ? "right" : "left";
1166
+ it.current = q, Ae.current = g.clientX;
1167
1167
  }
1168
1168
  })
1169
1169
  )
@@ -1196,11 +1196,11 @@ var po = "MenuLabel", nn = c.forwardRef(
1196
1196
  nn.displayName = po;
1197
1197
  var Ee = "MenuItem", Mt = "menu.itemSelect", Ie = c.forwardRef(
1198
1198
  (e, t) => {
1199
- const { disabled: n = !1, onSelect: r, ...o } = e, s = c.useRef(null), i = we(Ee, e.__scopeMenu), u = et(Ee, e.__scopeMenu), l = ge(t, s), g = c.useRef(!1), p = () => {
1199
+ const { disabled: n = !1, onSelect: r, ...o } = e, s = c.useRef(null), i = we(Ee, e.__scopeMenu), u = et(Ee, e.__scopeMenu), l = ge(t, s), v = c.useRef(!1), p = () => {
1200
1200
  const d = s.current;
1201
1201
  if (!n && d) {
1202
1202
  const h = new CustomEvent(Mt, { bubbles: !0, cancelable: !0 });
1203
- d.addEventListener(Mt, (v) => r == null ? void 0 : r(v), { once: !0 }), Ir(d, h), h.defaultPrevented ? g.current = !1 : i.onClose();
1203
+ d.addEventListener(Mt, (m) => r == null ? void 0 : r(m), { once: !0 }), Ir(d, h), h.defaultPrevented ? v.current = !1 : i.onClose();
1204
1204
  }
1205
1205
  };
1206
1206
  return /* @__PURE__ */ a.jsx(
@@ -1212,11 +1212,11 @@ var Ee = "MenuItem", Mt = "menu.itemSelect", Ie = c.forwardRef(
1212
1212
  onClick: y(e.onClick, p),
1213
1213
  onPointerDown: (d) => {
1214
1214
  var h;
1215
- (h = e.onPointerDown) == null || h.call(e, d), g.current = !0;
1215
+ (h = e.onPointerDown) == null || h.call(e, d), v.current = !0;
1216
1216
  },
1217
1217
  onPointerUp: y(e.onPointerUp, (d) => {
1218
1218
  var h;
1219
- g.current || (h = d.currentTarget) == null || h.click();
1219
+ v.current || (h = d.currentTarget) == null || h.click();
1220
1220
  }),
1221
1221
  onKeyDown: y(e.onKeyDown, (d) => {
1222
1222
  const h = u.searchRef.current !== "";
@@ -1229,10 +1229,10 @@ var Ee = "MenuItem", Mt = "menu.itemSelect", Ie = c.forwardRef(
1229
1229
  Ie.displayName = Ee;
1230
1230
  var rn = c.forwardRef(
1231
1231
  (e, t) => {
1232
- const { __scopeMenu: n, disabled: r = !1, textValue: o, ...s } = e, i = et(Ee, n), u = Xt(n), l = c.useRef(null), g = ge(t, l), [p, d] = c.useState(!1), [h, v] = c.useState("");
1232
+ const { __scopeMenu: n, disabled: r = !1, textValue: o, ...s } = e, i = et(Ee, n), u = Xt(n), l = c.useRef(null), v = ge(t, l), [p, d] = c.useState(!1), [h, m] = c.useState("");
1233
1233
  return c.useEffect(() => {
1234
1234
  const x = l.current;
1235
- x && v((x.textContent ?? "").trim());
1235
+ x && m((x.textContent ?? "").trim());
1236
1236
  }, [s.children]), /* @__PURE__ */ a.jsx(
1237
1237
  fe.ItemSlot,
1238
1238
  {
@@ -1247,7 +1247,7 @@ var rn = c.forwardRef(
1247
1247
  "aria-disabled": r || void 0,
1248
1248
  "data-disabled": r ? "" : void 0,
1249
1249
  ...s,
1250
- ref: g,
1250
+ ref: v,
1251
1251
  onPointerMove: y(
1252
1252
  e.onPointerMove,
1253
1253
  pe((x) => {
@@ -1367,14 +1367,14 @@ var wo = "MenuArrow", fn = c.forwardRef(
1367
1367
  );
1368
1368
  fn.displayName = wo;
1369
1369
  var at = "MenuSub", [bo, pn] = J(at), mn = (e) => {
1370
- const { __scopeMenu: t, children: n, open: r = !1, onOpenChange: o } = e, s = V(at, t), i = ye(t), [u, l] = c.useState(null), [g, p] = c.useState(null), d = Ue(o);
1370
+ const { __scopeMenu: t, children: n, open: r = !1, onOpenChange: o } = e, s = V(at, t), i = ye(t), [u, l] = c.useState(null), [v, p] = c.useState(null), d = Ue(o);
1371
1371
  return c.useEffect(() => (s.open === !1 && d(!1), () => d(!1)), [s.open, d]), /* @__PURE__ */ a.jsx(It, { ...i, children: /* @__PURE__ */ a.jsx(
1372
1372
  Wt,
1373
1373
  {
1374
1374
  scope: t,
1375
1375
  open: r,
1376
1376
  onOpenChange: d,
1377
- content: g,
1377
+ content: v,
1378
1378
  onContentChange: p,
1379
1379
  children: /* @__PURE__ */ a.jsx(
1380
1380
  bo,
@@ -1393,7 +1393,7 @@ var at = "MenuSub", [bo, pn] = J(at), mn = (e) => {
1393
1393
  mn.displayName = at;
1394
1394
  var de = "MenuSubTrigger", gn = c.forwardRef(
1395
1395
  (e, t) => {
1396
- const n = V(de, e.__scopeMenu), r = we(de, e.__scopeMenu), o = pn(de, e.__scopeMenu), s = et(de, e.__scopeMenu), i = c.useRef(null), { pointerGraceTimerRef: u, onPointerGraceIntentChange: l } = s, g = { __scopeMenu: e.__scopeMenu }, p = c.useCallback(() => {
1396
+ const n = V(de, e.__scopeMenu), r = we(de, e.__scopeMenu), o = pn(de, e.__scopeMenu), s = et(de, e.__scopeMenu), i = c.useRef(null), { pointerGraceTimerRef: u, onPointerGraceIntentChange: l } = s, v = { __scopeMenu: e.__scopeMenu }, p = c.useCallback(() => {
1397
1397
  i.current && window.clearTimeout(i.current), i.current = null;
1398
1398
  }, []);
1399
1399
  return c.useEffect(() => p, [p]), c.useEffect(() => {
@@ -1401,7 +1401,7 @@ var de = "MenuSubTrigger", gn = c.forwardRef(
1401
1401
  return () => {
1402
1402
  window.clearTimeout(d), l(null);
1403
1403
  };
1404
- }, [u, l]), /* @__PURE__ */ a.jsx(Je, { asChild: !0, ...g, children: /* @__PURE__ */ a.jsx(
1404
+ }, [u, l]), /* @__PURE__ */ a.jsx(Je, { asChild: !0, ...v, children: /* @__PURE__ */ a.jsx(
1405
1405
  rn,
1406
1406
  {
1407
1407
  id: o.triggerId,
@@ -1426,9 +1426,9 @@ var de = "MenuSubTrigger", gn = c.forwardRef(
1426
1426
  onPointerLeave: y(
1427
1427
  e.onPointerLeave,
1428
1428
  pe((d) => {
1429
- var v, x;
1429
+ var m, x;
1430
1430
  p();
1431
- const h = (v = n.content) == null ? void 0 : v.getBoundingClientRect();
1431
+ const h = (m = n.content) == null ? void 0 : m.getBoundingClientRect();
1432
1432
  if (h) {
1433
1433
  const M = (x = n.content) == null ? void 0 : x.dataset.side, I = M === "right", Q = I ? -5 : 5, Y = h[I ? "left" : "right"], C = h[I ? "right" : "left"];
1434
1434
  s.onPointerGraceIntentChange({
@@ -1453,9 +1453,9 @@ var de = "MenuSubTrigger", gn = c.forwardRef(
1453
1453
  })
1454
1454
  ),
1455
1455
  onKeyDown: y(e.onKeyDown, (d) => {
1456
- var v;
1456
+ var m;
1457
1457
  const h = s.searchRef.current !== "";
1458
- e.disabled || h && d.key === " " || no[r.dir].includes(d.key) && (n.onOpenChange(!0), (v = n.content) == null || v.focus(), d.preventDefault());
1458
+ e.disabled || h && d.key === " " || no[r.dir].includes(d.key) && (n.onOpenChange(!0), (m = n.content) == null || m.focus(), d.preventDefault());
1459
1459
  })
1460
1460
  }
1461
1461
  ) });
@@ -1464,14 +1464,14 @@ var de = "MenuSubTrigger", gn = c.forwardRef(
1464
1464
  gn.displayName = de;
1465
1465
  var vn = "MenuSubContent", xn = c.forwardRef(
1466
1466
  (e, t) => {
1467
- const n = Zt(D, e.__scopeMenu), { forceMount: r = n.forceMount, ...o } = e, s = V(D, e.__scopeMenu), i = we(D, e.__scopeMenu), u = pn(vn, e.__scopeMenu), l = c.useRef(null), g = ge(t, l);
1467
+ const n = Zt(D, e.__scopeMenu), { forceMount: r = n.forceMount, ...o } = e, s = V(D, e.__scopeMenu), i = we(D, e.__scopeMenu), u = pn(vn, e.__scopeMenu), l = c.useRef(null), v = ge(t, l);
1468
1468
  return /* @__PURE__ */ a.jsx(fe.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(De, { present: r || s.open, children: /* @__PURE__ */ a.jsx(fe.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(
1469
1469
  tt,
1470
1470
  {
1471
1471
  id: u.contentId,
1472
1472
  "aria-labelledby": u.triggerId,
1473
1473
  ...o,
1474
- ref: g,
1474
+ ref: v,
1475
1475
  align: "start",
1476
1476
  side: i.dir === "rtl" ? "left" : "right",
1477
1477
  disableOutsidePointerEvents: !1,
@@ -1489,9 +1489,9 @@ var vn = "MenuSubContent", xn = c.forwardRef(
1489
1489
  i.onClose(), p.preventDefault();
1490
1490
  }),
1491
1491
  onKeyDown: y(e.onKeyDown, (p) => {
1492
- var v;
1492
+ var m;
1493
1493
  const d = p.currentTarget.contains(p.target), h = ro[i.dir].includes(p.key);
1494
- d && h && (s.onOpenChange(!1), (v = u.trigger) == null || v.focus(), p.preventDefault());
1494
+ d && h && (s.onOpenChange(!1), (m = u.trigger) == null || m.focus(), p.preventDefault());
1495
1495
  })
1496
1496
  }
1497
1497
  ) }) }) });
@@ -1516,11 +1516,11 @@ function Co(e, t) {
1516
1516
  return e.map((n, r) => e[(t + r) % e.length]);
1517
1517
  }
1518
1518
  function So(e, t, n) {
1519
- const o = t.length > 1 && Array.from(t).every((g) => g === t[0]) ? t[0] : t, s = n ? e.indexOf(n) : -1;
1519
+ const o = t.length > 1 && Array.from(t).every((v) => v === t[0]) ? t[0] : t, s = n ? e.indexOf(n) : -1;
1520
1520
  let i = Co(e, Math.max(s, 0));
1521
- o.length === 1 && (i = i.filter((g) => g !== n));
1521
+ o.length === 1 && (i = i.filter((v) => v !== n));
1522
1522
  const l = i.find(
1523
- (g) => g.toLowerCase().startsWith(o.toLowerCase())
1523
+ (v) => v.toLowerCase().startsWith(o.toLowerCase())
1524
1524
  );
1525
1525
  return l !== n ? l : void 0;
1526
1526
  }
@@ -1528,8 +1528,8 @@ function Po(e, t) {
1528
1528
  const { x: n, y: r } = e;
1529
1529
  let o = !1;
1530
1530
  for (let s = 0, i = t.length - 1; s < t.length; i = s++) {
1531
- const u = t[s].x, l = t[s].y, g = t[i].x, p = t[i].y;
1532
- l > r != p > r && n < (g - u) * (r - l) / (p - l) + u && (o = !o);
1531
+ const u = t[s].x, l = t[s].y, v = t[i].x, p = t[i].y;
1532
+ l > r != p > r && n < (v - u) * (r - l) / (p - l) + u && (o = !o);
1533
1533
  }
1534
1534
  return o;
1535
1535
  }
@@ -1553,7 +1553,7 @@ var Ro = Jt, Eo = Je, _o = en, No = tn, Do = nt, Io = nn, ko = Ie, Ao = an, Oo =
1553
1553
  defaultOpen: s,
1554
1554
  onOpenChange: i,
1555
1555
  modal: u = !0
1556
- } = e, l = P(t), g = c.useRef(null), [p = !1, d] = kt({
1556
+ } = e, l = P(t), v = c.useRef(null), [p = !1, d] = kt({
1557
1557
  prop: o,
1558
1558
  defaultProp: s,
1559
1559
  onChange: i
@@ -1563,7 +1563,7 @@ var Ro = Jt, Eo = Je, _o = en, No = tn, Do = nt, Io = nn, ko = Ie, Ao = an, Oo =
1563
1563
  {
1564
1564
  scope: t,
1565
1565
  triggerId: Re(),
1566
- triggerRef: g,
1566
+ triggerRef: v,
1567
1567
  contentId: Re(),
1568
1568
  open: p,
1569
1569
  onOpenChange: d,
@@ -1622,7 +1622,7 @@ var Pn = "DropdownMenuContent", jn = c.forwardRef(
1622
1622
  i.current || (l = o.triggerRef.current) == null || l.focus(), i.current = !1, u.preventDefault();
1623
1623
  }),
1624
1624
  onInteractOutside: y(e.onInteractOutside, (u) => {
1625
- const l = u.detail.originalEvent, g = l.button === 0 && l.ctrlKey === !0, p = l.button === 2 || g;
1625
+ const l = u.detail.originalEvent, v = l.button === 0 && l.ctrlKey === !0, p = l.button === 2 || v;
1626
1626
  (!o.modal || p) && (i.current = !0);
1627
1627
  }),
1628
1628
  style: {
@@ -1889,10 +1889,10 @@ const gs = () => {
1889
1889
  /* @__PURE__ */ a.jsx(Wn, { item: t }, n)
1890
1890
  )) }) })
1891
1891
  ] }, e.label) : /* @__PURE__ */ a.jsx(Ge, { to: e.path ?? "", children: /* @__PURE__ */ a.jsx(Vn, { children: e.label }, e.label) }), Jn = Lt(function() {
1892
- const t = ft(), [n, r] = Fr(), { isAuthenticated: o, profile: s, isAuthEnabled: i } = ft(), u = Ne(), { page: l, plugins: g } = u, p = g.filter((h) => Ha(h)).flatMap((h) => h.getProfileMenuItems(u)).map((h) => /* @__PURE__ */ a.jsx(Wn, { item: h }, h.label)), d = n ? ma : va;
1892
+ const t = ft(), [n, r] = Fr(), { isAuthenticated: o, profile: s, isAuthEnabled: i } = ft(), u = Ne(), { page: l, plugins: v } = u, p = v.filter((h) => Ha(h)).flatMap((h) => h.getProfileMenuItems(u)).map((h) => /* @__PURE__ */ a.jsx(Wn, { item: h }, h.label)), d = n ? ma : va;
1893
1893
  return (
1894
- // padding-left is to prevent layout jumping when scrollbar appears/disappears
1895
- /* @__PURE__ */ a.jsx("header", { className: "fixed top-0 z-10 bg-background/80 backdrop-blur left-0 right-0 pl-[var(--scrollbar-width)]", children: /* @__PURE__ */ a.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
1894
+ // margin-left is to prevent layout jumping when scrollbar appears/disappears
1895
+ /* @__PURE__ */ a.jsx("header", { className: "fixed top-0 z-10 bg-background/80 backdrop-blur left-0 right-0 2xl:ml-[--scrollbar-width]", children: /* @__PURE__ */ a.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
1896
1896
  /* @__PURE__ */ a.jsxs("div", { className: "grid grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b px-12 h-[--top-header-height]", children: [
1897
1897
  /* @__PURE__ */ a.jsx("div", { className: "flex", children: /* @__PURE__ */ a.jsx(Ge, { to: "/", children: /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3.5", children: [
1898
1898
  (l == null ? void 0 : l.logo) && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
@@ -1991,13 +1991,13 @@ const gs = () => {
1991
1991
  z(() => {
1992
1992
  s || i(!0);
1993
1993
  }, [s, l.location]);
1994
- const [g] = ie(() => new Ja(t)), p = (h = t.plugins) == null ? void 0 : h.filter(Ya).map((v, x) => {
1994
+ const [v] = ie(() => new Ja(t)), p = (h = t.plugins) == null ? void 0 : h.filter(Ya).map((m, x) => {
1995
1995
  var M;
1996
- return /* @__PURE__ */ a.jsx(zr, { children: (M = v.getHead) == null ? void 0 : M.call(v) }, x);
1996
+ return /* @__PURE__ */ a.jsx(zr, { children: (M = m.getHead) == null ? void 0 : M.call(m) }, x);
1997
1997
  });
1998
1998
  return /* @__PURE__ */ a.jsxs(ca, { client: zt, children: [
1999
1999
  /* @__PURE__ */ a.jsx(qe, { children: p }),
2000
- /* @__PURE__ */ a.jsx(Be.Provider, { value: u, children: /* @__PURE__ */ a.jsx(bs, { context: g, children: /* @__PURE__ */ a.jsx(lr, { components: r, children: /* @__PURE__ */ a.jsx(ws, { children: /* @__PURE__ */ a.jsx(ys, { value: n, children: /* @__PURE__ */ a.jsx(yr, { slotlets: t.slotlets, children: /* @__PURE__ */ a.jsx($r, { children: e ?? /* @__PURE__ */ a.jsx(Rt, {}) }) }) }) }) }) }) })
2000
+ /* @__PURE__ */ a.jsx(Be.Provider, { value: u, children: /* @__PURE__ */ a.jsx(bs, { context: v, children: /* @__PURE__ */ a.jsx(lr, { components: r, children: /* @__PURE__ */ a.jsx(ws, { children: /* @__PURE__ */ a.jsx(ys, { value: n, children: /* @__PURE__ */ a.jsx(yr, { slotlets: t.slotlets, children: /* @__PURE__ */ a.jsx($r, { children: e ?? /* @__PURE__ */ a.jsx(Rt, {}) }) }) }) }) }) }) })
2001
2001
  ] });
2002
2002
  }, Cs = Lt(Ms), er = (e) => /* @__PURE__ */ a.jsx(qa, { FallbackComponent: Za, children: /* @__PURE__ */ a.jsx(Cs, { ...e }) });
2003
2003
  er.displayName = "DevPortal";
@@ -2006,7 +2006,7 @@ const Ss = ({
2006
2006
  level: t
2007
2007
  }) => {
2008
2008
  var h;
2009
- const n = Bt(), r = dr(e), [o, s] = ie(!1), i = e.collapsible ?? !0, u = e.collapsed ?? !0, l = !!(!i || !u || r), [g, p] = ie(l);
2009
+ const n = Bt(), r = dr(e), [o, s] = ie(!1), i = e.collapsible ?? !0, u = e.collapsed ?? !0, l = !!(!i || !u || r), [v, p] = ie(l);
2010
2010
  z(() => {
2011
2011
  r && p(!0);
2012
2012
  }, [r]);
@@ -2014,8 +2014,8 @@ const Ss = ({
2014
2014
  "button",
2015
2015
  {
2016
2016
  type: "button",
2017
- onClick: (v) => {
2018
- v.preventDefault(), p((x) => !x), s(!0);
2017
+ onClick: (m) => {
2018
+ m.preventDefault(), p((x) => !x), s(!0);
2019
2019
  },
2020
2020
  children: /* @__PURE__ */ a.jsx(
2021
2021
  qt,
@@ -2034,7 +2034,7 @@ const Ss = ({
2034
2034
  {
2035
2035
  className: b("flex flex-col", t === 0 && "-mx-[--padding-nav-item]"),
2036
2036
  defaultOpen: l,
2037
- open: g,
2037
+ open: v,
2038
2038
  onOpenChange: () => p(!0),
2039
2039
  children: [
2040
2040
  /* @__PURE__ */ a.jsx(
@@ -2047,12 +2047,12 @@ const Ss = ({
2047
2047
  ),
2048
2048
  asChild: !0,
2049
2049
  disabled: !i,
2050
- children: ((h = e.link) == null ? void 0 : h.type) === "doc" ? /* @__PURE__ */ a.jsx(je, { to: Xe(n == null ? void 0 : n.id, e.link.id), children: ({ isActive: v }) => /* @__PURE__ */ a.jsxs(
2050
+ children: ((h = e.link) == null ? void 0 : h.type) === "doc" ? /* @__PURE__ */ a.jsx(je, { to: Xe(n == null ? void 0 : n.id, e.link.id), children: ({ isActive: m }) => /* @__PURE__ */ a.jsxs(
2051
2051
  "div",
2052
2052
  {
2053
2053
  className: b(
2054
2054
  "flex items-center gap-2 justify-between w-full",
2055
- v ? "text-primary font-medium" : "text-foreground/80"
2055
+ m ? "text-primary font-medium" : "text-foreground/80"
2056
2056
  ),
2057
2057
  children: [
2058
2058
  /* @__PURE__ */ a.jsx("div", { className: "truncate", children: e.label }),
@@ -2073,13 +2073,13 @@ const Ss = ({
2073
2073
  o && "CollapsibleContent",
2074
2074
  "ms-[calc(var(--padding-nav-item)*1.125)]"
2075
2075
  ),
2076
- children: /* @__PURE__ */ a.jsx("ul", { className: "mt-1 border-l ps-2", children: e.items.map((v) => /* @__PURE__ */ a.jsx(
2076
+ children: /* @__PURE__ */ a.jsx("ul", { className: "mt-1 border-l ps-2", children: e.items.map((m) => /* @__PURE__ */ a.jsx(
2077
2077
  nr,
2078
2078
  {
2079
2079
  level: t + 1,
2080
- item: v
2080
+ item: m
2081
2081
  },
2082
- v.label
2082
+ ("id" in m ? m.id : "") + ("href" in m ? m.href : "") + m.label
2083
2083
  )) })
2084
2084
  }
2085
2085
  )