@marimo-team/islands 0.25.3-dev419 → 0.25.3-dev420

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 (78) hide show
  1. package/dist/{ConnectedDataExplorerComponent-DU3_5kY8.js → ConnectedDataExplorerComponent-CoEU9snz.js} +9 -9
  2. package/dist/{ErrorBoundary-QucJ8UcH.js → ErrorBoundary-OkPCZwqd.js} +6 -6
  3. package/dist/{abnfDiagram-VCTEODGH-B8K0jAls.js → abnfDiagram-VCTEODGH-RbfxpmIE.js} +2 -2
  4. package/dist/{any-language-editor-B4_DB75O.js → any-language-editor-CvTbmCdJ.js} +2 -2
  5. package/dist/{architectureDiagram-5GKGNRK7-CvIQmetx.js → architectureDiagram-5GKGNRK7-DzzNVRo4.js} +1 -1
  6. package/dist/{assertNever-mSPR3shX.js → assertNever-ChGm2jYv.js} +13 -13
  7. package/dist/{chat-ui-B_RJOYcP.js → chat-ui-DxD-0lMF.js} +42 -42
  8. package/dist/{check-Cy7tgHcN.js → check-BHRB6N0I.js} +1 -1
  9. package/dist/{chunk-IMKFNOWR-BAjKQ-DW.js → chunk-IMKFNOWR-1Zy6M_oP.js} +1 -1
  10. package/dist/{chunk-SHT3W25Y-ZNgk9609.js → chunk-SHT3W25Y-yAttqZEk.js} +1 -1
  11. package/dist/{chunk-SVP7TREG-C-eCzAlq.js → chunk-SVP7TREG-MKJpuJHR.js} +1 -1
  12. package/dist/{chunk-TICWLB2K-B6K_lMGd.js → chunk-TICWLB2K-BOC0OebH.js} +1 -1
  13. package/dist/{classDiagram-ZZMXUADV-WvEzff6_.js → classDiagram-ZZMXUADV-BOlD7kH9.js} +2 -2
  14. package/dist/{classDiagram-v2-VYDZK3BY-C6jq882I.js → classDiagram-v2-VYDZK3BY-C3p3seuT.js} +2 -2
  15. package/dist/{code-visibility-DvjOxSCU.js → code-visibility-Cjmof3go.js} +18 -18
  16. package/dist/{common-KGFvhdv7.js → common-IWr3ajS6.js} +190 -190
  17. package/dist/{config-B8EcwkGB.js → config-EJnOxh0i.js} +15 -15
  18. package/dist/{copy-icon-BJpgGeTC.js → copy-icon-CeOpTht4.js} +2 -2
  19. package/dist/{createReducer-sm4RC5mJ.js → createReducer-BJJ0K5Tu.js} +5 -5
  20. package/dist/{cynefinDiagram-5FMLGOSQ-D803PUnc.js → cynefinDiagram-5FMLGOSQ-BKnxm64C.js} +1 -1
  21. package/dist/{dagre-GXQ25YYZ-C-aJg32d.js → dagre-GXQ25YYZ-COBTexAI.js} +1 -1
  22. package/dist/{data-grid-overlay-editor-7Dtv34Jd.js → data-grid-overlay-editor-CJ4s7ulW.js} +1 -1
  23. package/dist/{diagram-S7CK7UJ4-BLVxtHnY.js → diagram-S7CK7UJ4-Dyt3J6ek.js} +1 -1
  24. package/dist/{diagram-UQ7AKVKN-Beh5Pbg6.js → diagram-UQ7AKVKN-CJCsT4fA.js} +1 -1
  25. package/dist/{diagram-VX7I27RA-CULTkxM5.js → diagram-VX7I27RA-BboxCtbh.js} +1 -1
  26. package/dist/{diagram-Z3DM3KII-BMCLEP1m.js → diagram-Z3DM3KII-DfRWWQ5t.js} +1 -1
  27. package/dist/{dialog-B6nQQBnz.js → dialog-B8vU2hHC.js} +19 -19
  28. package/dist/{dropdown-menu-DjX80o4Y.js → dropdown-menu-DzhAnAhr.js} +710 -710
  29. package/dist/{ebnfDiagram-PWID7BFC-C1nrF9vr.js → ebnfDiagram-PWID7BFC-DYxwv-nl.js} +2 -2
  30. package/dist/{erDiagram-RLTQ6QDP-DdyMtJ9L.js → erDiagram-RLTQ6QDP-D9e5WUw7.js} +1 -1
  31. package/dist/{error-banner-B_inJFwt.js → error-banner-BRkKwvku.js} +58 -58
  32. package/dist/{error-entries-PI7-JXTO.js → error-entries-BNzYy3Ci.js} +199 -199
  33. package/dist/{feedback-button-K8GaXx54.js → feedback-button-CNlw0PFL.js} +7 -8
  34. package/dist/{flowDiagram-HODETNUW-bvV00CVg.js → flowDiagram-HODETNUW-tt7EepxX.js} +2 -2
  35. package/dist/{formats-CHMpl6QC.js → formats-HRSqKdFt.js} +1 -1
  36. package/dist/{glide-data-editor-DOTyVaei.js → glide-data-editor-SsDU5p2r.js} +11 -11
  37. package/dist/{glide-utils-BRuD_rZU.js → glide-utils-BzjESEmr.js} +2 -2
  38. package/dist/{globals-BXqXiOgm.js → globals-BET0Lqsh.js} +3 -3
  39. package/dist/{html-to-image-DRDPLn_a.js → html-to-image-CO_NVoKY.js} +4364 -4364
  40. package/dist/{infoDiagram-27XIBGKW-CJP3yC0n.js → infoDiagram-27XIBGKW-CpQH_joy.js} +1 -1
  41. package/dist/{ishikawaDiagram-5VMMS53U-C1pLHIdi.js → ishikawaDiagram-5VMMS53U-d-it4xqm.js} +1 -1
  42. package/dist/{kanban-definition-UXKFOSKX-NdrIJPqy.js → kanban-definition-UXKFOSKX-DItpqTFY.js} +1 -1
  43. package/dist/main.js +1303 -1303
  44. package/dist/{mermaid-BocCIdw6.js → mermaid-BugOVfeH.js} +34 -34
  45. package/dist/{mindmap-definition-YA3MSWOX-Vl1SDmoX.js → mindmap-definition-YA3MSWOX-D6IpF-_J.js} +1 -1
  46. package/dist/{number-overlay-editor-C5pRNGgM.js → number-overlay-editor-CQB7RHTl.js} +1 -1
  47. package/dist/{pegDiagram-XKGWAZYB-B8WAtwHg.js → pegDiagram-XKGWAZYB-CXUu3QwE.js} +2 -2
  48. package/dist/{pencil-DM3KeZSc.js → pencil-DWRFEz2B.js} +1 -1
  49. package/dist/{pieDiagram-E7YTZNPT-3UwTA4Ji.js → pieDiagram-E7YTZNPT-DoUJF0yj.js} +1 -1
  50. package/dist/{process-output-Dox_yeXz.js → process-output-CznNfcKe.js} +4 -4
  51. package/dist/{railroadDiagram-O6MQD6OU-C3w0QQqv.js → railroadDiagram-O6MQD6OU-BsGDhtLL.js} +2 -2
  52. package/dist/{requirementDiagram-BXWQKSXE-XfIlHoUh.js → requirementDiagram-BXWQKSXE-BHW0qW2Z.js} +1 -1
  53. package/dist/{reveal-component-CxH2xcwO.js → reveal-component-C1RY2hz7.js} +8 -8
  54. package/dist/{select-C9YSRW_M.js → select-Brvb-RwP.js} +114 -114
  55. package/dist/{sequenceDiagram-WJ2MYXX4-lwpyGn1v.js → sequenceDiagram-WJ2MYXX4-DpgYJzLl.js} +1 -1
  56. package/dist/{spec-VVUHPhhG.js → spec-BWpscSQi.js} +4 -4
  57. package/dist/{stateDiagram-D77RDMKH-DYBi4cqk.js → stateDiagram-D77RDMKH-Btf1jiYb.js} +2 -2
  58. package/dist/{stateDiagram-v2-MP3YSRHH-DNc3nkzs.js → stateDiagram-v2-MP3YSRHH-DN9FyEf3.js} +2 -2
  59. package/dist/static-state-BhCfPRoz.js +68 -0
  60. package/dist/{swimlanes-42K2YHIH-DhzVHdX1.js → swimlanes-42K2YHIH-2l_tR9qL.js} +1 -1
  61. package/dist/{swimlanesDiagram-VR7AAH4N-Cok6zuub.js → swimlanesDiagram-VR7AAH4N-BAkmv8kE.js} +2 -2
  62. package/dist/{timeline-definition-24CTP7MA-IlEStAoK.js → timeline-definition-24CTP7MA-AxSxEOhx.js} +1 -1
  63. package/dist/{toast-BP9h0yJZ.js → toast-DOWc3HtU.js} +106 -106
  64. package/dist/{tooltip-DY2U4Rke.js → tooltip-DsQZP310.js} +57 -57
  65. package/dist/{use-restore-focus-Mex26exl.js → use-restore-focus-CTa7IRP6.js} +584 -550
  66. package/dist/{useDateFormatter-L6M4ljVG.js → useDateFormatter-CRuBYwR6.js} +2 -2
  67. package/dist/{useDeepCompareMemoize-MdvXCwAP.js → useDeepCompareMemoize-B2RNcTmn.js} +1 -1
  68. package/dist/{useLifecycle-CDeB28JV.js → useLifecycle-Bw0JtmoB.js} +1 -1
  69. package/dist/{vega-component-CIkkx4lH.js → vega-component-BV9sYHhU.js} +6 -6
  70. package/dist/{vennDiagram-4TSXK5OY-3XmjJpX3.js → vennDiagram-4TSXK5OY-oHztO7MH.js} +1 -1
  71. package/dist/{wardleyDiagram-VM6X3IG4-CLQU2FaC.js → wardleyDiagram-VM6X3IG4-DWeEjZSc.js} +1 -1
  72. package/dist/{xychartDiagram-S5SC5T6Z-ZYCgWrwe.js → xychartDiagram-S5SC5T6Z-ESBlsY9i.js} +1 -1
  73. package/package.json +1 -1
  74. package/src/core/constants.ts +6 -0
  75. package/src/core/runtime/__tests__/runtime.test.ts +3 -1
  76. package/src/theme/__tests__/useTheme.test.ts +38 -9
  77. package/src/theme/useTheme.ts +16 -1
  78. package/dist/static-state-Ccv-89qp.js +0 -90
@@ -2,12 +2,12 @@ import { a as e } from "./rolldown-runtime-BPCzCO3I.js";
2
2
  import { h as t, m as n, p as r, r as i, u as a } from "./button-qQhINE7z.js";
3
3
  import { t as o } from "./react-Bgs_wQh3.js";
4
4
  import { t as s } from "./compiler-runtime-C5KHtL5D.js";
5
- import { c, h as l, l as u, p as d, s as f, u as p } from "./tooltip-DY2U4Rke.js";
6
- import { t as m } from "./check-Cy7tgHcN.js";
7
- import { a as h, s as g } from "./assertNever-mSPR3shX.js";
5
+ import { c, h as l, l as u, p as d, s as f, u as p } from "./tooltip-DsQZP310.js";
6
+ import { t as m } from "./check-BHRB6N0I.js";
7
+ import { a as h, s as g } from "./assertNever-ChGm2jYv.js";
8
8
  import { t as _ } from "./react-dom-DdqGVp5N.js";
9
9
  import { t as v } from "./jsx-runtime-D8btoEHk.js";
10
- import { $t as y, Qt as b, Xt as x, Yt as S, cn as C, dn as w, en as ee, fn as T, in as te, l as E, ln as ne, o as D, on as O, pn as k, s as re, sn as A, un as j } from "./use-restore-focus-Mex26exl.js";
10
+ import { $t as y, Qt as b, dn as x, fn as S, gn as C, hn as w, l as ee, ln as T, mn as E, nn as D, o as O, pn as k, rn as A, s as te, sn as ne, tn as re, un as j } from "./use-restore-focus-CTa7IRP6.js";
11
11
  var M = l("chevron-down", [["path", {
12
12
  d: "m6 9 6 6 6-6",
13
13
  key: "qrunsl"
@@ -32,7 +32,7 @@ var B = Object.defineProperty, V = /* @__PURE__ */ P.forwardRef(/* @__PURE__ */
32
32
  value: t,
33
33
  configurable: !0
34
34
  }))(function(e, t) {
35
- return /* @__PURE__ */ (0, F.jsx)(k.label, {
35
+ return /* @__PURE__ */ (0, F.jsx)(C.label, {
36
36
  ...e,
37
37
  ref: t,
38
38
  onMouseDown: (t) => {
@@ -63,36 +63,36 @@ var ce = Object.defineProperty, U = (e, t) => ce(e, "name", {
63
63
  "Enter",
64
64
  "ArrowUp",
65
65
  "ArrowDown"
66
- ], fe = [" ", "Enter"], W = "Select", [G, pe, me] = h(W), [K, he] = T(W, [me, p]), ge = p(), [_e, q] = K(W), [ve, ye] = K(W);
66
+ ], fe = [" ", "Enter"], W = "Select", [G, pe, me] = h(W), [K, he] = w(W, [me, p]), ge = p(), [_e, q] = K(W), [ve, ye] = K(W);
67
67
  function be(e) {
68
- let { __scopeSelect: t, children: n, open: r, defaultOpen: i, onOpenChange: a, value: o, defaultValue: s, onValueChange: c, dir: l, name: u, autoComplete: d, disabled: p, required: m, form: h, internal_do_not_use_render: g } = e, _ = ge(t), [v, y] = P.useState(null), [b, x] = P.useState(null), [S, C] = P.useState(!1), w = z(l), [ee, T] = ne({
68
+ let { __scopeSelect: t, children: n, open: r, defaultOpen: i, onOpenChange: a, value: o, defaultValue: s, onValueChange: c, dir: l, name: u, autoComplete: d, disabled: p, required: m, form: h, internal_do_not_use_render: g } = e, _ = ge(t), [v, y] = P.useState(null), [b, x] = P.useState(null), [C, w] = P.useState(!1), ee = z(l), [T, E] = S({
69
69
  prop: r,
70
70
  defaultProp: i ?? !1,
71
71
  onChange: a,
72
72
  caller: W
73
- }), [te, E] = ne({
73
+ }), [D, O] = S({
74
74
  prop: o,
75
75
  defaultProp: s,
76
76
  onChange: c,
77
77
  caller: W
78
- }), D = P.useRef(null), O = P.useRef(!1), [k, re] = P.useState(null), j = /* @__PURE__ */ U((e) => {
79
- re({
78
+ }), k = P.useRef(null), A = P.useRef(!1), [te, ne] = P.useState(null), re = /* @__PURE__ */ U((e) => {
79
+ ne({
80
80
  value: e,
81
- hasConsumerStoppedPropagation: O.current
82
- }), E(e);
83
- }, "handleUserSelect"), M = P.useRef(te);
81
+ hasConsumerStoppedPropagation: A.current
82
+ }), O(e);
83
+ }, "handleUserSelect"), M = P.useRef(D);
84
84
  P.useEffect(() => {
85
85
  let e = h ? v?.ownerDocument.getElementById(h) : v?.form;
86
86
  if (e instanceof HTMLFormElement) {
87
- let t = /* @__PURE__ */ U(() => E(M.current), "reset");
87
+ let t = /* @__PURE__ */ U(() => O(M.current), "reset");
88
88
  return e.addEventListener("reset", t), () => e.removeEventListener("reset", t);
89
89
  }
90
90
  }, [
91
91
  h,
92
92
  v,
93
- E
93
+ O
94
94
  ]);
95
- let ie = !v || !!h || !!v.closest("form"), [N, I] = P.useState(/* @__PURE__ */ new Set()), ae = A(), L = Array.from(N).map((e) => e.props.value).join(";"), R = P.useCallback((e) => {
95
+ let ie = !v || !!h || !!v.closest("form"), [N, I] = P.useState(/* @__PURE__ */ new Set()), ae = j(), L = Array.from(N).map((e) => e.props.value).join(";"), R = P.useCallback((e) => {
96
96
  I((t) => new Set(t).add(e));
97
97
  }, []), B = P.useCallback((e) => {
98
98
  I((t) => {
@@ -105,18 +105,18 @@ function be(e) {
105
105
  onTriggerChange: y,
106
106
  valueNode: b,
107
107
  onValueNodeChange: x,
108
- valueNodeHasChildren: S,
109
- onValueNodeHasChildrenChange: C,
108
+ valueNodeHasChildren: C,
109
+ onValueNodeHasChildrenChange: w,
110
110
  contentId: ae,
111
- value: te,
112
- onValueChange: E,
113
- hasConsumerStoppedPropagationRef: O,
114
- userSelection: k,
115
- onUserSelect: j,
116
- open: ee,
117
- onOpenChange: T,
118
- dir: w,
119
- triggerPointerDownPosRef: D,
111
+ value: D,
112
+ onValueChange: O,
113
+ hasConsumerStoppedPropagationRef: A,
114
+ userSelection: te,
115
+ onUserSelect: re,
116
+ open: T,
117
+ onOpenChange: E,
118
+ dir: ee,
119
+ triggerPointerDownPosRef: k,
120
120
  disabled: p,
121
121
  name: u,
122
122
  autoComplete: d,
@@ -163,7 +163,7 @@ var xe = /* @__PURE__ */ U((e) => {
163
163
  return /* @__PURE__ */ (0, F.jsx)(c, {
164
164
  asChild: !0,
165
165
  ...o,
166
- children: /* @__PURE__ */ (0, F.jsx)(k.button, {
166
+ children: /* @__PURE__ */ (0, F.jsx)(C.button, {
167
167
  type: "button",
168
168
  role: "combobox",
169
169
  "aria-controls": s.open ? s.contentId : void 0,
@@ -177,15 +177,15 @@ var xe = /* @__PURE__ */ U((e) => {
177
177
  "data-placeholder": Z(s.value) ? "" : void 0,
178
178
  ...a,
179
179
  ref: u,
180
- onClick: j(a.onClick, (e) => {
180
+ onClick: k(a.onClick, (e) => {
181
181
  e.currentTarget.focus(), f.current !== "mouse" && g(e);
182
182
  }),
183
- onPointerDown: j(a.onPointerDown, (e) => {
183
+ onPointerDown: k(a.onPointerDown, (e) => {
184
184
  f.current = e.pointerType;
185
185
  let t = e.target;
186
186
  t.hasPointerCapture(e.pointerId) && t.releasePointerCapture(e.pointerId), e.button === 0 && e.ctrlKey === !1 && e.pointerType === "mouse" && (g(e), e.preventDefault());
187
187
  }),
188
- onKeyDown: j(a.onKeyDown, (e) => {
188
+ onKeyDown: k(a.onKeyDown, (e) => {
189
189
  let t = p.current !== "";
190
190
  !(e.ctrlKey || e.altKey || e.metaKey) && e.key.length === 1 && (s.hasConsumerStoppedPropagationRef.current = e.isPropagationStopped(), m(e.key)), !(t && e.key === " ") && de.includes(e.key) && (g(), e.preventDefault());
191
191
  })
@@ -193,11 +193,11 @@ var xe = /* @__PURE__ */ U((e) => {
193
193
  });
194
194
  }, "SelectTrigger")), we = "SelectValue", Te = /* @__PURE__ */ P.forwardRef(/* @__PURE__ */ U(function(e, t) {
195
195
  let { __scopeSelect: n, className: i, style: a, children: o, placeholder: s = "", ...c } = e, l = q(we, n), { onValueNodeHasChildrenChange: u } = l, d = o !== void 0, f = r(t, l.onValueNodeChange);
196
- w(() => {
196
+ E(() => {
197
197
  u(d);
198
198
  }, [u, d]);
199
199
  let p = Z(l.value);
200
- return /* @__PURE__ */ (0, F.jsx)(k.span, {
200
+ return /* @__PURE__ */ (0, F.jsx)(C.span, {
201
201
  ...c,
202
202
  asChild: !p && c.asChild,
203
203
  ref: f,
@@ -206,7 +206,7 @@ var xe = /* @__PURE__ */ U((e) => {
206
206
  });
207
207
  }, "SelectValue")), Ee = /* @__PURE__ */ P.forwardRef(/* @__PURE__ */ U(function(e, t) {
208
208
  let { __scopeSelect: n, children: r, ...i } = e;
209
- return /* @__PURE__ */ (0, F.jsx)(k.span, {
209
+ return /* @__PURE__ */ (0, F.jsx)(C.span, {
210
210
  "aria-hidden": !0,
211
211
  ...i,
212
212
  ref: t,
@@ -217,16 +217,16 @@ var xe = /* @__PURE__ */ U((e) => {
217
217
  return /* @__PURE__ */ (0, F.jsx)(De, {
218
218
  scope: e.__scopeSelect,
219
219
  forceMount: n,
220
- children: /* @__PURE__ */ (0, F.jsx)(y, {
220
+ children: /* @__PURE__ */ (0, F.jsx)(D, {
221
221
  asChild: !0,
222
222
  ...r
223
223
  })
224
224
  });
225
225
  }, "SelectPortal"), J = "SelectContent", Ae = /* @__PURE__ */ P.forwardRef(/* @__PURE__ */ U(function(e, t) {
226
226
  let n = Oe(J, e.__scopeSelect), { forceMount: r = n.forceMount, ...i } = e, a = q(J, e.__scopeSelect), [o, s] = P.useState();
227
- return w(() => {
227
+ return E(() => {
228
228
  s(new DocumentFragment());
229
- }, []), /* @__PURE__ */ (0, F.jsx)(C, {
229
+ }, []), /* @__PURE__ */ (0, F.jsx)(x, {
230
230
  present: r || a.open,
231
231
  children: ({ present: e }) => e ? /* @__PURE__ */ (0, F.jsx)(Pe, {
232
232
  ...i,
@@ -249,24 +249,24 @@ var xe = /* @__PURE__ */ U((e) => {
249
249
  })
250
250
  }), i) : null;
251
251
  }, "SelectContentFragment")), Y = 10, [Me, X] = K(J), Ne = a("SelectContent.RemoveScroll"), Pe = /* @__PURE__ */ P.forwardRef(/* @__PURE__ */ U(function(e, t) {
252
- let { __scopeSelect: n } = e, { position: i = le.ItemAligned, onCloseAutoFocus: a, onEscapeKeyDown: o, onPointerDownOutside: s, side: c, sideOffset: l, align: u, alignOffset: d, arrowPadding: f, collisionBoundary: p, collisionPadding: m, sticky: h, hideWhenDetached: g, avoidCollisions: _, ...v } = e, y = q(J, n), [C, w] = P.useState(null), [T, E] = P.useState(null), ne = r(t, w), [D, O] = P.useState(null), [k, re] = P.useState(null), A = pe(n), [M, ie] = P.useState(!1), N = P.useRef(!1), I = P.useRef(!1), ae = P.useRef(!1);
252
+ let { __scopeSelect: n } = e, { position: i = le.ItemAligned, onCloseAutoFocus: a, onEscapeKeyDown: o, onPointerDownOutside: s, side: c, sideOffset: l, align: u, alignOffset: d, arrowPadding: f, collisionBoundary: p, collisionPadding: m, sticky: h, hideWhenDetached: g, avoidCollisions: _, ...v } = e, x = q(J, n), [S, C] = P.useState(null), [w, ee] = P.useState(null), T = r(t, C), [E, D] = P.useState(null), [O, te] = P.useState(null), j = pe(n), [M, ie] = P.useState(!1), N = P.useRef(!1), I = P.useRef(!1), ae = P.useRef(!1);
253
253
  P.useEffect(() => {
254
- if (C) return S(C);
255
- }, [C]), b();
254
+ if (S) return b(S);
255
+ }, [S]), re();
256
256
  let L = P.useCallback((e) => {
257
- let [t, ...n] = A().map((e) => e.ref.current), [r] = n.slice(-1), i = document.activeElement;
258
- for (let n of e) if (n === i || (n?.scrollIntoView({ block: "nearest" }), n === t && T && (T.scrollTop = 0), n === r && T && (T.scrollTop = T.scrollHeight), n?.focus(), document.activeElement !== i)) return;
259
- }, [A, T]), R = P.useCallback(() => L([D, C]), [
257
+ let [t, ...n] = j().map((e) => e.ref.current), [r] = n.slice(-1), i = document.activeElement;
258
+ for (let n of e) if (n === i || (n?.scrollIntoView({ block: "nearest" }), n === t && w && (w.scrollTop = 0), n === r && w && (w.scrollTop = w.scrollHeight), n?.focus(), document.activeElement !== i)) return;
259
+ }, [j, w]), R = P.useCallback(() => L([E, S]), [
260
260
  L,
261
- D,
262
- C
261
+ E,
262
+ S
263
263
  ]);
264
264
  P.useEffect(() => {
265
265
  M && R();
266
266
  }, [M, R]);
267
- let { onOpenChange: z, triggerPointerDownPosRef: B } = y;
267
+ let { onOpenChange: z, triggerPointerDownPosRef: B } = x;
268
268
  P.useEffect(() => {
269
- if (C) {
269
+ if (S) {
270
270
  let e = {
271
271
  x: 0,
272
272
  y: 0
@@ -276,7 +276,7 @@ var xe = /* @__PURE__ */ U((e) => {
276
276
  y: Math.abs(Math.round(t.pageY) - (B.current?.y ?? 0))
277
277
  };
278
278
  }, "handlePointerMove"), n = /* @__PURE__ */ U((n) => {
279
- e.x <= 10 && e.y <= 10 ? n.preventDefault() : n.composedPath().includes(C) || z(!1), document.removeEventListener("pointermove", t), B.current = null;
279
+ e.x <= 10 && e.y <= 10 ? n.preventDefault() : n.composedPath().includes(S) || z(!1), document.removeEventListener("pointermove", t), B.current = null;
280
280
  }, "handlePointerUp");
281
281
  return B.current !== null && (document.addEventListener("pointermove", t), document.addEventListener("pointerup", n, {
282
282
  capture: !0,
@@ -286,7 +286,7 @@ var xe = /* @__PURE__ */ U((e) => {
286
286
  };
287
287
  }
288
288
  }, [
289
- C,
289
+ S,
290
290
  z,
291
291
  B
292
292
  ]), P.useEffect(() => {
@@ -296,20 +296,20 @@ var xe = /* @__PURE__ */ U((e) => {
296
296
  };
297
297
  }, [z]);
298
298
  let [V, oe] = lt((e) => {
299
- let t = A().filter((e) => !e.disabled), n = ut(t, e, t.find((e) => e.ref.current === document.activeElement));
299
+ let t = j().filter((e) => !e.disabled), n = ut(t, e, t.find((e) => e.ref.current === document.activeElement));
300
300
  n && setTimeout(() => n.ref.current?.focus());
301
301
  }), se = P.useCallback((e, t, n) => {
302
302
  let r = !I.current;
303
303
  r && (I.current = !0);
304
304
  let i = !N.current && !n;
305
- y.value !== void 0 && y.value === t || i ? (O(e), i && (N.current = !0)) : r && O(e);
306
- }, [y.value]), H = P.useCallback(() => C?.focus(), [C]), ce = P.useCallback((e, t, n) => {
305
+ x.value !== void 0 && x.value === t || i ? (D(e), i && (N.current = !0)) : r && D(e);
306
+ }, [x.value]), H = P.useCallback(() => S?.focus(), [S]), ce = P.useCallback((e, t, n) => {
307
307
  if (!e) return;
308
308
  let r = !ae.current;
309
309
  r && (ae.current = !0);
310
310
  let i = !N.current && !n;
311
- (y.value !== void 0 && y.value === t || i || r) && re(e);
312
- }, [y.value]), ue = i === le.Popper ? Ie : Fe, de = ue === Ie ? {
311
+ (x.value !== void 0 && x.value === t || i || r) && te(e);
312
+ }, [x.value]), ue = i === le.Popper ? Ie : Fe, de = ue === Ie ? {
313
313
  side: c,
314
314
  sideOffset: l,
315
315
  align: u,
@@ -323,54 +323,54 @@ var xe = /* @__PURE__ */ U((e) => {
323
323
  } : {};
324
324
  return /* @__PURE__ */ (0, F.jsx)(Me, {
325
325
  scope: n,
326
- content: C,
327
- viewport: T,
328
- onViewportChange: E,
326
+ content: S,
327
+ viewport: w,
328
+ onViewportChange: ee,
329
329
  itemRefCallback: se,
330
- selectedItem: D,
330
+ selectedItem: E,
331
331
  onItemLeave: H,
332
332
  itemTextRefCallback: ce,
333
333
  focusSelectedItem: R,
334
- selectedItemText: k,
334
+ selectedItemText: O,
335
335
  position: i,
336
336
  isPositioned: M,
337
337
  searchRef: V,
338
- children: /* @__PURE__ */ (0, F.jsx)(x, {
338
+ children: /* @__PURE__ */ (0, F.jsx)(y, {
339
339
  as: Ne,
340
340
  allowPinchZoom: !0,
341
- children: /* @__PURE__ */ (0, F.jsx)(ee, {
341
+ children: /* @__PURE__ */ (0, F.jsx)(A, {
342
342
  asChild: !0,
343
- trapped: y.open,
343
+ trapped: x.open,
344
344
  onMountAutoFocus: (e) => {
345
345
  e.preventDefault();
346
346
  },
347
- onUnmountAutoFocus: j(a, (e) => {
348
- y.trigger?.focus({ preventScroll: !0 }), e.preventDefault();
347
+ onUnmountAutoFocus: k(a, (e) => {
348
+ x.trigger?.focus({ preventScroll: !0 }), e.preventDefault();
349
349
  }),
350
- children: /* @__PURE__ */ (0, F.jsx)(te, {
350
+ children: /* @__PURE__ */ (0, F.jsx)(ne, {
351
351
  asChild: !0,
352
352
  disableOutsidePointerEvents: !0,
353
353
  onEscapeKeyDown: o,
354
354
  onPointerDownOutside: s,
355
355
  onFocusOutside: (e) => e.preventDefault(),
356
- onDismiss: () => y.onOpenChange(!1),
356
+ onDismiss: () => x.onOpenChange(!1),
357
357
  children: /* @__PURE__ */ (0, F.jsx)(ue, {
358
358
  role: "listbox",
359
- id: y.contentId,
360
- "data-state": y.open ? "open" : "closed",
361
- dir: y.dir,
359
+ id: x.contentId,
360
+ "data-state": x.open ? "open" : "closed",
361
+ dir: x.dir,
362
362
  onContextMenu: (e) => e.preventDefault(),
363
363
  ...v,
364
364
  ...de,
365
365
  onPlaced: () => ie(!0),
366
- ref: ne,
366
+ ref: T,
367
367
  style: {
368
368
  display: "flex",
369
369
  flexDirection: "column",
370
370
  outline: "none",
371
371
  ...v.style
372
372
  },
373
- onKeyDown: j(v.onKeyDown, (e) => {
373
+ onKeyDown: k(v.onKeyDown, (e) => {
374
374
  let t = e.ctrlKey || e.altKey || e.metaKey;
375
375
  if (e.key === "Tab" && e.preventDefault(), !t && e.key.length === 1 && oe(e.key), [
376
376
  "ArrowUp",
@@ -378,7 +378,7 @@ var xe = /* @__PURE__ */ U((e) => {
378
378
  "Home",
379
379
  "End"
380
380
  ].includes(e.key)) {
381
- let t = A().filter((e) => !e.disabled).map((e) => e.ref.current);
381
+ let t = j().filter((e) => !e.disabled).map((e) => e.ref.current);
382
382
  if (["ArrowUp", "End"].includes(e.key) && (t = t.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(e.key)) {
383
383
  let n = e.target, r = t.indexOf(n);
384
384
  t = t.slice(r + 1);
@@ -402,17 +402,17 @@ var xe = /* @__PURE__ */ U((e) => {
402
402
  let i = t.right - r.right, a = window.innerWidth - n.right - i, o = window.innerWidth - e.right - a, s = e.width + o, l = Math.max(s, t.width), u = window.innerWidth - Y, d = H(a, [Y, Math.max(Y, u - l)]);
403
403
  c.style.minWidth = s + "px", c.style.right = d + "px";
404
404
  }
405
- let a = p(), s = window.innerHeight - Y * 2, l = g.scrollHeight, d = window.getComputedStyle(u), f = parseInt(d.borderTopWidth, 10), h = parseInt(d.paddingTop, 10), y = parseInt(d.borderBottomWidth, 10), b = parseInt(d.paddingBottom, 10), x = f + h + l + b + y, S = Math.min(_.offsetHeight * 5, x), C = window.getComputedStyle(g), w = parseInt(C.paddingTop, 10), ee = parseInt(C.paddingBottom, 10), T = e.top + e.height / 2 - Y, te = s - T, E = _.offsetHeight / 2, ne = _.offsetTop + E, D = f + h + ne, O = x - D;
406
- if (D <= T) {
405
+ let a = p(), s = window.innerHeight - Y * 2, l = g.scrollHeight, d = window.getComputedStyle(u), f = parseInt(d.borderTopWidth, 10), h = parseInt(d.paddingTop, 10), y = parseInt(d.borderBottomWidth, 10), b = parseInt(d.paddingBottom, 10), x = f + h + l + b + y, S = Math.min(_.offsetHeight * 5, x), C = window.getComputedStyle(g), w = parseInt(C.paddingTop, 10), ee = parseInt(C.paddingBottom, 10), T = e.top + e.height / 2 - Y, E = s - T, D = _.offsetHeight / 2, O = _.offsetTop + D, k = f + h + O, A = x - k;
406
+ if (k <= T) {
407
407
  let e = a.length > 0 && _ === a[a.length - 1].ref.current;
408
408
  c.style.bottom = "0px";
409
- let t = u.clientHeight - g.offsetTop - g.offsetHeight, n = D + Math.max(te, E + (e ? ee : 0) + t + y);
409
+ let t = u.clientHeight - g.offsetTop - g.offsetHeight, n = k + Math.max(E, D + (e ? ee : 0) + t + y);
410
410
  c.style.height = n + "px";
411
411
  } else {
412
412
  let e = a.length > 0 && _ === a[0].ref.current;
413
413
  c.style.top = "0px";
414
- let t = Math.max(T, f + g.offsetTop + (e ? w : 0) + E) + O;
415
- c.style.height = t + "px", g.scrollTop = D - T + g.offsetTop;
414
+ let t = Math.max(T, f + g.offsetTop + (e ? w : 0) + D) + A;
415
+ c.style.height = t + "px", g.scrollTop = k - T + g.offsetTop;
416
416
  }
417
417
  c.style.margin = `${Y}px 0`, c.style.minHeight = S + "px", c.style.maxHeight = s + "px", i?.(), requestAnimationFrame(() => m.current = !0);
418
418
  }
@@ -428,19 +428,19 @@ var xe = /* @__PURE__ */ U((e) => {
428
428
  o.dir,
429
429
  i
430
430
  ]);
431
- w(() => b(), [b]);
431
+ E(() => b(), [b]);
432
432
  let [x, S] = P.useState();
433
- w(() => {
433
+ E(() => {
434
434
  u && S(window.getComputedStyle(u).zIndex);
435
435
  }, [u]);
436
- let C = P.useCallback((e) => {
436
+ let w = P.useCallback((e) => {
437
437
  e && h.current === !0 && (b(), y?.(), h.current = !1);
438
438
  }, [b, y]);
439
439
  return /* @__PURE__ */ (0, F.jsx)(Le, {
440
440
  scope: n,
441
441
  contentWrapper: c,
442
442
  shouldExpandOnScrollRef: m,
443
- onScrollButtonChange: C,
443
+ onScrollButtonChange: w,
444
444
  children: /* @__PURE__ */ (0, F.jsx)("div", {
445
445
  ref: l,
446
446
  style: {
@@ -449,7 +449,7 @@ var xe = /* @__PURE__ */ U((e) => {
449
449
  position: "fixed",
450
450
  zIndex: x
451
451
  },
452
- children: /* @__PURE__ */ (0, F.jsx)(k.div, {
452
+ children: /* @__PURE__ */ (0, F.jsx)(C.div, {
453
453
  ...a,
454
454
  ref: f,
455
455
  style: {
@@ -485,7 +485,7 @@ var xe = /* @__PURE__ */ U((e) => {
485
485
  nonce: i
486
486
  }), /* @__PURE__ */ (0, F.jsx)(G.Slot, {
487
487
  scope: n,
488
- children: /* @__PURE__ */ (0, F.jsx)(k.div, {
488
+ children: /* @__PURE__ */ (0, F.jsx)(C.div, {
489
489
  "data-radix-select-viewport": "",
490
490
  role: "presentation",
491
491
  ...a,
@@ -496,7 +496,7 @@ var xe = /* @__PURE__ */ U((e) => {
496
496
  overflow: "hidden auto",
497
497
  ...a.style
498
498
  },
499
- onScroll: j(a.onScroll, (e) => {
499
+ onScroll: k(a.onScroll, (e) => {
500
500
  let t = e.currentTarget, { contentWrapper: n, shouldExpandOnScrollRef: r } = s;
501
501
  if (r?.current && n) {
502
502
  let e = Math.abs(l.current - t.scrollTop);
@@ -513,11 +513,11 @@ var xe = /* @__PURE__ */ U((e) => {
513
513
  })
514
514
  })] });
515
515
  }, "SelectViewport")), [Ve, He] = K("SelectGroup"), Ue = /* @__PURE__ */ P.forwardRef(/* @__PURE__ */ U(function(e, t) {
516
- let { __scopeSelect: n, ...r } = e, i = A();
516
+ let { __scopeSelect: n, ...r } = e, i = j();
517
517
  return /* @__PURE__ */ (0, F.jsx)(Ve, {
518
518
  scope: n,
519
519
  id: i,
520
- children: /* @__PURE__ */ (0, F.jsx)(k.div, {
520
+ children: /* @__PURE__ */ (0, F.jsx)(C.div, {
521
521
  role: "group",
522
522
  "aria-labelledby": i,
523
523
  ...r,
@@ -526,13 +526,13 @@ var xe = /* @__PURE__ */ U((e) => {
526
526
  });
527
527
  }, "SelectGroup")), We = "SelectLabel", Ge = /* @__PURE__ */ P.forwardRef(/* @__PURE__ */ U(function(e, t) {
528
528
  let { __scopeSelect: n, ...r } = e, i = He(We, n);
529
- return /* @__PURE__ */ (0, F.jsx)(k.div, {
529
+ return /* @__PURE__ */ (0, F.jsx)(C.div, {
530
530
  id: i.id,
531
531
  ...r,
532
532
  ref: t
533
533
  });
534
534
  }, "SelectLabel")), Ke = "SelectItem", [qe, Je] = K(Ke), Ye = /* @__PURE__ */ P.forwardRef(/* @__PURE__ */ U(function(e, t) {
535
- let { __scopeSelect: n, value: i, disabled: a = !1, textValue: o, ...s } = e, c = q(Ke, n), l = X(Ke, n), u = c.value === i, [d, f] = P.useState(o ?? ""), [p, m] = P.useState(!1), h = O((e) => l.itemRefCallback?.(e, i, a)), g = r(t, h), _ = A(), v = P.useRef("touch");
535
+ let { __scopeSelect: n, value: i, disabled: a = !1, textValue: o, ...s } = e, c = q(Ke, n), l = X(Ke, n), u = c.value === i, [d, f] = P.useState(o ?? ""), [p, m] = P.useState(!1), h = T((e) => l.itemRefCallback?.(e, i, a)), g = r(t, h), _ = j(), v = P.useRef("touch");
536
536
  function y(e) {
537
537
  c.hasConsumerStoppedPropagationRef.current = e.isPropagationStopped(), c.onUserSelect(i), c.onOpenChange(!1);
538
538
  }
@@ -550,7 +550,7 @@ var xe = /* @__PURE__ */ U((e) => {
550
550
  value: i,
551
551
  disabled: a,
552
552
  textValue: d,
553
- children: /* @__PURE__ */ (0, F.jsx)(k.div, {
553
+ children: /* @__PURE__ */ (0, F.jsx)(C.div, {
554
554
  role: "option",
555
555
  "aria-labelledby": _,
556
556
  "data-highlighted": p ? "" : void 0,
@@ -561,31 +561,31 @@ var xe = /* @__PURE__ */ U((e) => {
561
561
  tabIndex: a ? void 0 : -1,
562
562
  ...s,
563
563
  ref: g,
564
- onFocus: j(s.onFocus, () => m(!0)),
565
- onBlur: j(s.onBlur, () => m(!1)),
566
- onClick: j(s.onClick, (e) => {
564
+ onFocus: k(s.onFocus, () => m(!0)),
565
+ onBlur: k(s.onBlur, () => m(!1)),
566
+ onClick: k(s.onClick, (e) => {
567
567
  a || v.current !== "mouse" && y(e);
568
568
  }),
569
- onPointerUp: j(s.onPointerUp, (e) => {
569
+ onPointerUp: k(s.onPointerUp, (e) => {
570
570
  a || v.current === "mouse" && y(e);
571
571
  }),
572
- onPointerDown: j(s.onPointerDown, (e) => {
572
+ onPointerDown: k(s.onPointerDown, (e) => {
573
573
  v.current = e.pointerType;
574
574
  }),
575
- onPointerMove: j(s.onPointerMove, (e) => {
575
+ onPointerMove: k(s.onPointerMove, (e) => {
576
576
  v.current = e.pointerType, a ? l.onItemLeave?.() : v.current === "mouse" && e.currentTarget.focus({ preventScroll: !0 });
577
577
  }),
578
- onPointerLeave: j(s.onPointerLeave, (e) => {
578
+ onPointerLeave: k(s.onPointerLeave, (e) => {
579
579
  e.currentTarget === document.activeElement && l.onItemLeave?.();
580
580
  }),
581
- onKeyDown: j(s.onKeyDown, (e) => {
581
+ onKeyDown: k(s.onKeyDown, (e) => {
582
582
  a || e.target !== e.currentTarget || (l.searchRef?.current === "" || e.key !== " ") && (fe.includes(e.key) && y(e), e.key === " " && e.preventDefault());
583
583
  })
584
584
  })
585
585
  })
586
586
  });
587
587
  }, "SelectItem")), Xe = "SelectItemText", Ze = /* @__PURE__ */ P.forwardRef(/* @__PURE__ */ U(function(e, t) {
588
- let { __scopeSelect: n, className: i, style: a, ...o } = e, s = q(Xe, n), c = X(Xe, n), l = Je(Xe, n), u = ye(Xe, n), [d, f] = P.useState(null), p = O((e) => c.itemTextRefCallback?.(e, l.value, l.disabled)), m = r(t, f, l.onItemTextChange, p), h = d?.textContent, g = P.useMemo(() => /* @__PURE__ */ (0, F.jsx)("option", {
588
+ let { __scopeSelect: n, className: i, style: a, ...o } = e, s = q(Xe, n), c = X(Xe, n), l = Je(Xe, n), u = ye(Xe, n), [d, f] = P.useState(null), p = T((e) => c.itemTextRefCallback?.(e, l.value, l.disabled)), m = r(t, f, l.onItemTextChange, p), h = d?.textContent, g = P.useMemo(() => /* @__PURE__ */ (0, F.jsx)("option", {
589
589
  value: l.value,
590
590
  disabled: l.disabled,
591
591
  children: h
@@ -594,25 +594,25 @@ var xe = /* @__PURE__ */ U((e) => {
594
594
  l.value,
595
595
  h
596
596
  ]), { onNativeOptionAdd: _, onNativeOptionRemove: v } = u;
597
- return w(() => (_(g), () => v(g)), [
597
+ return E(() => (_(g), () => v(g)), [
598
598
  _,
599
599
  v,
600
600
  g
601
- ]), /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(k.span, {
601
+ ]), /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(C.span, {
602
602
  id: l.textId,
603
603
  ...o,
604
604
  ref: m
605
605
  }), l.isSelected && s.valueNode && !s.valueNodeHasChildren && !Z(s.value) ? N.createPortal(o.children, s.valueNode) : null] });
606
606
  }, "SelectItemText")), Qe = "SelectItemIndicator", $e = /* @__PURE__ */ P.forwardRef(/* @__PURE__ */ U(function(e, t) {
607
607
  let { __scopeSelect: n, ...r } = e;
608
- return Je(Qe, n).isSelected ? /* @__PURE__ */ (0, F.jsx)(k.span, {
608
+ return Je(Qe, n).isSelected ? /* @__PURE__ */ (0, F.jsx)(C.span, {
609
609
  "aria-hidden": !0,
610
610
  ...r,
611
611
  ref: t
612
612
  }) : null;
613
613
  }, "SelectItemIndicator")), et = "SelectScrollUpButton", tt = /* @__PURE__ */ P.forwardRef(/* @__PURE__ */ U(function(e, t) {
614
614
  let n = X(et, e.__scopeSelect), i = Re(et, e.__scopeSelect), [a, o] = P.useState(!1), s = r(t, i.onScrollButtonChange);
615
- return w(() => {
615
+ return E(() => {
616
616
  if (n.viewport && n.isPositioned) {
617
617
  let e = function() {
618
618
  let e = t.scrollTop > 0;
@@ -632,7 +632,7 @@ var xe = /* @__PURE__ */ U((e) => {
632
632
  }) : null;
633
633
  }, "SelectScrollUpButton")), nt = "SelectScrollDownButton", rt = /* @__PURE__ */ P.forwardRef(/* @__PURE__ */ U(function(e, t) {
634
634
  let n = X(nt, e.__scopeSelect), i = Re(nt, e.__scopeSelect), [a, o] = P.useState(!1), s = r(t, i.onScrollButtonChange);
635
- return w(() => {
635
+ return E(() => {
636
636
  if (n.viewport && n.isPositioned) {
637
637
  let e = function() {
638
638
  let e = t.scrollHeight - t.clientHeight, n = Math.ceil(t.scrollTop) < e;
@@ -654,9 +654,9 @@ var xe = /* @__PURE__ */ U((e) => {
654
654
  let { __scopeSelect: n, onAutoScroll: r, ...i } = e, a = X("SelectScrollButton", n), o = P.useRef(null), s = pe(n), c = P.useCallback(() => {
655
655
  o.current !== null && (window.clearInterval(o.current), o.current = null);
656
656
  }, []);
657
- return P.useEffect(() => () => c(), [c]), w(() => {
657
+ return P.useEffect(() => () => c(), [c]), E(() => {
658
658
  s().find((e) => e.ref.current === document.activeElement)?.ref.current?.scrollIntoView({ block: "nearest" });
659
- }, [s]), /* @__PURE__ */ (0, F.jsx)(k.div, {
659
+ }, [s]), /* @__PURE__ */ (0, F.jsx)(C.div, {
660
660
  "aria-hidden": !0,
661
661
  ...i,
662
662
  ref: t,
@@ -664,19 +664,19 @@ var xe = /* @__PURE__ */ U((e) => {
664
664
  flexShrink: 0,
665
665
  ...i.style
666
666
  },
667
- onPointerDown: j(i.onPointerDown, () => {
667
+ onPointerDown: k(i.onPointerDown, () => {
668
668
  o.current === null && (o.current = window.setInterval(r, 50));
669
669
  }),
670
- onPointerMove: j(i.onPointerMove, () => {
670
+ onPointerMove: k(i.onPointerMove, () => {
671
671
  a.onItemLeave?.(), o.current === null && (o.current = window.setInterval(r, 50));
672
672
  }),
673
- onPointerLeave: j(i.onPointerLeave, () => {
673
+ onPointerLeave: k(i.onPointerLeave, () => {
674
674
  c();
675
675
  })
676
676
  });
677
677
  }, "SelectScrollButtonImpl")), at = /* @__PURE__ */ P.forwardRef(/* @__PURE__ */ U(function(e, t) {
678
678
  let { __scopeSelect: n, ...r } = e;
679
- return /* @__PURE__ */ (0, F.jsx)(k.div, {
679
+ return /* @__PURE__ */ (0, F.jsx)(C.div, {
680
680
  "aria-hidden": !0,
681
681
  ...r,
682
682
  ref: t
@@ -705,7 +705,7 @@ var xe = /* @__PURE__ */ U((e) => {
705
705
  let t = new Event("change", { bubbles: o });
706
706
  n.call(e, v), e.dispatchEvent(t);
707
707
  }
708
- }, [v, p]), /* @__PURE__ */ (0, F.jsxs)(k.select, {
708
+ }, [v, p]), /* @__PURE__ */ (0, F.jsxs)(C.select, {
709
709
  "aria-hidden": !0,
710
710
  required: s,
711
711
  tabIndex: -1,
@@ -735,7 +735,7 @@ function Z(e) {
735
735
  }
736
736
  U(Z, "shouldShowPlaceholder");
737
737
  function lt(e) {
738
- let t = O(e), n = P.useRef(""), r = P.useRef(0), i = P.useCallback((e) => {
738
+ let t = T(e), n = P.useRef(""), r = P.useRef(0), i = P.useCallback((e) => {
739
739
  let i = n.current + e;
740
740
  t(i);
741
741
  function a(e) {
@@ -1079,7 +1079,7 @@ var nn = i("flex h-6 w-fit mb-1 items-center justify-between rounded-sm bg-backg
1079
1079
  rn.displayName = "NativeSelect";
1080
1080
  //#endregion
1081
1081
  //#region src/components/ui/select.tsx
1082
- var an = xe, on = Ue, sn = D(ke), cn = Te, ln = P.forwardRef((e, n) => {
1082
+ var an = xe, on = Ue, sn = O(ke), cn = Te, ln = P.forwardRef((e, n) => {
1083
1083
  let r = (0, $.c)(19), i, a, o, s, c, l;
1084
1084
  r[0] === e ? (i = r[1], a = r[2], o = r[3], s = r[4], c = r[5], l = r[6]) : ({className: a, children: i, onClear: o, variant: l, hideChevron: c, ...s} = e, r[0] = e, r[1] = i, r[2] = a, r[3] = o, r[4] = s, r[5] = c, r[6] = l);
1085
1085
  let u = c !== void 0 && c, d;
@@ -1103,7 +1103,7 @@ var an = xe, on = Ue, sn = D(ke), cn = Te, ln = P.forwardRef((e, n) => {
1103
1103
  }), r[13] = i, r[14] = s, r[15] = n, r[16] = d, r[17] = f, r[18] = p) : p = r[18], p;
1104
1104
  });
1105
1105
  ln.displayName = Ce.displayName;
1106
- var un = re(Ae), dn = P.forwardRef((e, n) => {
1106
+ var un = te(Ae), dn = P.forwardRef((e, n) => {
1107
1107
  let r = (0, $.c)(21), i, a, o, s;
1108
1108
  r[0] === e ? (i = r[1], a = r[2], o = r[3], s = r[4]) : ({className: a, children: i, position: s, ...o} = e, r[0] = e, r[1] = i, r[2] = a, r[3] = o, r[4] = s);
1109
1109
  let c = s === void 0 ? "popper" : s, l = c === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", u;
@@ -1126,7 +1126,7 @@ var un = re(Ae), dn = P.forwardRef((e, n) => {
1126
1126
  children: /* @__PURE__ */ (0, F.jsx)(M, { className: "h-4 w-4 opacity-50" })
1127
1127
  }), r[14] = h) : h = r[14];
1128
1128
  let g;
1129
- return r[15] !== c || r[16] !== o || r[17] !== n || r[18] !== u || r[19] !== m ? (g = /* @__PURE__ */ (0, F.jsx)(sn, { children: /* @__PURE__ */ (0, F.jsx)(E, { children: /* @__PURE__ */ (0, F.jsxs)(un, {
1129
+ return r[15] !== c || r[16] !== o || r[17] !== n || r[18] !== u || r[19] !== m ? (g = /* @__PURE__ */ (0, F.jsx)(sn, { children: /* @__PURE__ */ (0, F.jsx)(ee, { children: /* @__PURE__ */ (0, F.jsxs)(un, {
1130
1130
  ref: n,
1131
1131
  className: u,
1132
1132
  position: c,
@@ -3,7 +3,7 @@ import { n, t as r } from "./src-D5uZaZib.js";
3
3
  import { n as i } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
4
4
  import { A as a, F as o, G as s, H as c, K as l, O as u, U as d, a as f, b as p, c as m, i as h, r as g, s as _, v, w as y, x as b, y as x, z as S } from "./chunk-DU6HZSFF-4SDIhUTY.js";
5
5
  import { t as C } from "./dist-CB9MzCXv.js";
6
- import { a as w, i as T } from "./mermaid-BocCIdw6.js";
6
+ import { a as w, i as T } from "./mermaid-BugOVfeH.js";
7
7
  import { a as E, c as D, i as O, n as k, r as A, s as j } from "./chunk-F27PBJKO-COH2t-FO.js";
8
8
  import { t as M } from "./chunk-2Q5K7J3B-BMkUkeuy.js";
9
9
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WJ2MYXX4.mjs
@@ -1,7 +1,7 @@
1
- import { h as e } from "./tooltip-DY2U4Rke.js";
2
- import { o as t } from "./useLifecycle-CDeB28JV.js";
3
- import { i as n, o as r } from "./useDateFormatter-L6M4ljVG.js";
4
- import { n as i } from "./assertNever-mSPR3shX.js";
1
+ import { h as e } from "./tooltip-DsQZP310.js";
2
+ import { o as t } from "./useLifecycle-Bw0JtmoB.js";
3
+ import { i as n, o as r } from "./useDateFormatter-CRuBYwR6.js";
4
+ import { n as i } from "./assertNever-ChGm2jYv.js";
5
5
  var a = e("align-center-vertical", [
6
6
  ["path", {
7
7
  d: "M12 2v20",
@@ -12,11 +12,11 @@ import "./chunk-4HAMMTFA-qKgadZwy.js";
12
12
  import "./chunk-GVQU2GXP-BkolpSXU.js";
13
13
  import "./chunk-L3NEJ4N5-B-BFQp9t.js";
14
14
  import "./chunk-OSK3NFVY-BzfZ4VBG.js";
15
- import "./mermaid-BocCIdw6.js";
15
+ import "./mermaid-BugOVfeH.js";
16
16
  import "./chunk-F27PBJKO-COH2t-FO.js";
17
17
  import "./chunk-XXDRQBXY-BM-YIt-_.js";
18
18
  import "./chunk-POPQ4Y6H-BFSZel4w.js";
19
- import { i as f, n as p, t as m } from "./chunk-IMKFNOWR-BAjKQ-DW.js";
19
+ import { i as f, n as p, t as m } from "./chunk-IMKFNOWR-1Zy6M_oP.js";
20
20
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-D77RDMKH.mjs
21
21
  var h = /* @__PURE__ */ s((e) => e.append("circle").attr("class", "start-state").attr("r", d().state.sizeUnit).attr("cx", d().state.padding + d().state.sizeUnit).attr("cy", d().state.padding + d().state.sizeUnit), "drawStartState"), g = /* @__PURE__ */ s((e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", d().state.textHeight).attr("class", "divider").attr("x2", d().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider"), _ = /* @__PURE__ */ s((e, t) => {
22
22
  let n = e.append("text").attr("x", 2 * d().state.padding).attr("y", d().state.textHeight + 2 * d().state.padding).attr("font-size", d().state.fontSize).attr("class", "state-title").text(t.id), r = n.node().getBBox();