@nxgt/material 3.48.0 → 3.49.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 (83) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +2 -2
  3. package/dist/{button-yaltbQmC.js → button-DJgaQbBD.js} +49 -49
  4. package/dist/charts.js +144 -144
  5. package/dist/{chip-BqWbbr1b.js → chip-DN44R1vW.js} +56 -56
  6. package/dist/{code-editor-C9qBNoYb.js → code-editor-BJ9ewxSC.js} +307 -307
  7. package/dist/code-editor.js +46 -46
  8. package/dist/{code-language-items-DAHtfQ7W.js → code-language-items-BJE3VuQg.js} +1 -1
  9. package/dist/components/components.css +1 -0
  10. package/dist/components/ui/actions/action-card/action-card-indicator.css +48 -0
  11. package/dist/components/ui/actions/action-card/action-card-modes.css +4 -1
  12. package/dist/components/ui/actions/action-card/action-card-tile.css +141 -0
  13. package/dist/components/ui/actions/action-card/action-card.css +33 -3
  14. package/dist/{components-Ox6FHmpx.js → components-AtBccCir.js} +17842 -17879
  15. package/dist/components.js +23 -23
  16. package/dist/{dialog-CCCcnTIx.js → dialog-ODql4vH7.js} +15 -15
  17. package/dist/{tooltip-CkttDIab.js → dist-B61_o9Mg.js} +69 -66
  18. package/dist/dnd.js +1 -1
  19. package/dist/{dropdown-menu-Df8785nt.js → dropdown-menu-DRXYP9ta.js} +274 -274
  20. package/dist/editor.js +1027 -1027
  21. package/dist/{empty-state-DcF4TBzi.js → empty-state-C9QqvBU1.js} +36 -36
  22. package/dist/{escape-owner-C4W_sOAU.js → escape-owner-DCrlERLM.js} +1 -1
  23. package/dist/{field-blur-CJHzVSh9.js → field-blur-DYGyIdfD.js} +1 -1
  24. package/dist/{field-blur-context-Cft9s7Hg.js → field-blur-context-B-fSpl1H.js} +1 -1
  25. package/dist/hooks.js +2 -2
  26. package/dist/{hover-card-C0fw2kLK.js → hover-card-EO_CckIx.js} +19 -19
  27. package/dist/{icon-badge-aJ22mKGh.js → icon-badge-BQYj_LE6.js} +3 -3
  28. package/dist/{icon-button-CN9r5TNE.js → icon-button-B481L2TP.js} +20 -20
  29. package/dist/lib/components/ui/actions/action-card/action-card-semantics.d.ts +25 -2
  30. package/dist/lib/components/ui/actions/action-card/action-card.d.ts +18 -2
  31. package/dist/lib/components/ui/actions/action-card/partials/action-card-icon.d.ts +6 -0
  32. package/dist/lib/components/ui/actions/action-card/partials/action-card-meta.d.ts +15 -0
  33. package/dist/lib/components/ui/actions/action-card/partials/action-card-status.d.ts +6 -0
  34. package/dist/lib/components/ui/actions/action-card/partials/action-card-text.d.ts +20 -0
  35. package/dist/lib/components/ui/actions/action-card/partials/action-card-title-button.d.ts +14 -0
  36. package/dist/lib/components/ui/actions/action-card/partials/action-card-trail.d.ts +6 -0
  37. package/dist/lib/components/ui/actions/action-card/use-action-card-names.d.ts +22 -0
  38. package/dist/lib/components/ui/actions/action-card/use-reveal.d.ts +23 -0
  39. package/dist/lib/components/ui/actions/button/button.variants.d.ts +1 -1
  40. package/dist/lib/components/ui/actions/icon-button/icon-button.variants.d.ts +1 -1
  41. package/dist/lib/components/ui/collections/row-menu/row-menu.d.ts +1 -1
  42. package/dist/lib/components/ui/dates/duration-field/partials/use-duration-box.d.ts +1 -1
  43. package/dist/lib/components/ui/display/badge/badge.d.ts +1 -1
  44. package/dist/lib/components/ui/display/day-separator/day-separator.d.ts +1 -1
  45. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  46. package/dist/lib/components/ui/fields/slider/split-slider-props.d.ts +20 -20
  47. package/dist/lib/components/ui/fields/slider/use-slider-control.d.ts +20 -20
  48. package/dist/lib/components/ui/layout/app-shell/route-transition.d.ts +1 -1
  49. package/dist/lib/components/ui/media/carousel/use-carousel-engine.d.ts +1 -1
  50. package/dist/lib/components/ui/media/media-player/engine/use-queue-actions.d.ts +1 -1
  51. package/dist/lib/components/ui/media/pdf-reader/pdf-reader.slice.d.ts +1 -1
  52. package/dist/lib/components/ui/selection/choice-group/use-choice-group-field.d.ts +34 -34
  53. package/dist/lib/components/ui/widgets/chat/chat-message.variants.d.ts +2 -2
  54. package/dist/lib/components/ui/widgets/event-calendar/use-event-calendar.d.ts +1 -1
  55. package/dist/lib/i18n/translator.d.ts +1 -1
  56. package/dist/main.js +30 -30
  57. package/dist/map.js +78 -78
  58. package/dist/material.css +1 -1
  59. package/dist/nxgt-theme-ivgNca3z.js +37 -0
  60. package/dist/pdf-reader.js +1 -1
  61. package/dist/{public-zVb_Nq_D.js → public-CZBz4JVu.js} +70 -70
  62. package/dist/{rich-code-block-DMWZZJma.js → rich-code-block-597e0_Qm.js} +51 -51
  63. package/dist/{sortable-provider-DstbgMVf.js → sortable-provider-CK_xAk2H.js} +217 -217
  64. package/dist/{spinner-C4CgDEYm.js → spinner-BhuZuHK1.js} +1 -1
  65. package/dist/theme-picker.js +45 -45
  66. package/dist/{theme-store-CSl51uNH.js → theme-store-BdPp43cV.js} +13 -13
  67. package/dist/{theme-toggle-CGW2_K54.js → theme-toggle-Dnjn83TJ.js} +15 -15
  68. package/dist/themes.js +17 -17
  69. package/dist/{toggle-group-BMJNcFAC.js → toggle-group-BkH23Jk4.js} +11 -11
  70. package/dist/{toolbar-items-CsLGJMEJ.js → toolbar-items-CCwIu7fE.js} +426 -426
  71. package/dist/{use-chat-composer-Brcb5f7r.js → use-chat-composer-Ot5XUbdn.js} +5138 -4908
  72. package/dist/{use-theme-DMcyJ52N.js → use-theme-BCLireTd.js} +1 -1
  73. package/docs/components/buttons-and-actions.md +62 -4
  74. package/docs/components/data-table-filter-and-lists.md +1 -1
  75. package/docs/guides/cards-and-tiles.md +60 -0
  76. package/docs/roadmap.md +11 -0
  77. package/lib/components/components.css +1 -0
  78. package/lib/components/ui/actions/action-card/action-card-indicator.css +48 -0
  79. package/lib/components/ui/actions/action-card/action-card-modes.css +4 -1
  80. package/lib/components/ui/actions/action-card/action-card-tile.css +141 -0
  81. package/lib/components/ui/actions/action-card/action-card.css +33 -3
  82. package/package.json +1 -1
  83. package/dist/nxgt-theme-ZS945iMP.js +0 -37
@@ -1,38 +1,38 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { n as t, o as n, r } from "./dist-DVRQkaTK.js";
3
3
  import { a as i, c as a, i as o, l as s, n as c, r as l, s as u, u as d } from "./dist-lmHmz_bu.js";
4
- import { b as f, c as p, d as m, f as h, u as ee, x as te } from "./tooltip-CkttDIab.js";
5
- import { a as g, i as _, n as ne, r as v, t as y } from "./dist-C4wtXCjf.js";
6
- import { a as re, c as ie, l as ae, o as oe, r as b, s as se, t as ce } from "./in-dialog-Vwkyp-M5.js";
7
- import { t as x } from "./spinner-C4CgDEYm.js";
8
- import * as S from "react";
9
- import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
4
+ import { S as f, d as p, f as m, l as h, p as g, x as ee } from "./dist-B61_o9Mg.js";
5
+ import { a as _, i as v, n as te, r as y, t as b } from "./dist-C4wtXCjf.js";
6
+ import { a as ne, c as re, l as ie, o as ae, r as x, s as oe, t as se } from "./in-dialog-Vwkyp-M5.js";
7
+ import { t as S } from "./spinner-BhuZuHK1.js";
8
+ import * as C from "react";
9
+ import { Fragment as w, jsx as T, jsxs as E } from "react/jsx-runtime";
10
10
  //#region ../../node_modules/@radix-ui/react-menu/dist/index.mjs
11
- var E = Object.defineProperty, D = (e, t) => E(e, "name", {
11
+ var D = Object.defineProperty, O = (e, t) => D(e, "name", {
12
12
  value: t,
13
13
  configurable: !0
14
- }), O = ["Enter", " "], le = [
14
+ }), k = ["Enter", " "], ce = [
15
15
  "ArrowDown",
16
16
  "PageUp",
17
17
  "Home"
18
- ], ue = [
18
+ ], le = [
19
19
  "ArrowUp",
20
20
  "PageDown",
21
21
  "End"
22
- ], de = [...le, ...ue], k = {
23
- ltr: [...O, "ArrowRight"],
24
- rtl: [...O, "ArrowLeft"]
25
- }, A = {
22
+ ], ue = [...ce, ...le], A = {
23
+ ltr: [...k, "ArrowRight"],
24
+ rtl: [...k, "ArrowLeft"]
25
+ }, j = {
26
26
  ltr: ["ArrowLeft"],
27
27
  rtl: ["ArrowRight"]
28
- }, j = "Menu", [M, fe, pe] = g(j), [N, P] = a(j, [
29
- pe,
30
- h,
31
- v
32
- ]), F = h(), me = v(), [he, I] = N(j), [ge, L] = N(j), _e = /* @__PURE__ */ D((e) => {
33
- let { __scopeMenu: t, open: n = !1, children: r, dir: i, onOpenChange: a, modal: o = !0 } = e, s = F(t), [l, u] = S.useState(null), d = S.useRef(!1), f = c(a), p = _(i);
34
- return S.useEffect(() => {
35
- let e = /* @__PURE__ */ D(() => {
28
+ }, M = "Menu", [N, de, fe] = _(M), [P, F] = a(M, [
29
+ fe,
30
+ g,
31
+ y
32
+ ]), I = g(), pe = y(), [me, L] = P(M), [he, R] = P(M), ge = /* @__PURE__ */ O((e) => {
33
+ let { __scopeMenu: t, open: n = !1, children: r, dir: i, onOpenChange: a, modal: o = !0 } = e, s = I(t), [l, u] = C.useState(null), d = C.useRef(!1), f = c(a), p = v(i);
34
+ return C.useEffect(() => {
35
+ let e = /* @__PURE__ */ O(() => {
36
36
  d.current = !0, document.addEventListener("pointerdown", t, {
37
37
  capture: !0,
38
38
  once: !0
@@ -40,25 +40,25 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
40
40
  capture: !0,
41
41
  once: !0
42
42
  });
43
- }, "handleKeyDown"), t = /* @__PURE__ */ D(() => d.current = !1, "handlePointer");
43
+ }, "handleKeyDown"), t = /* @__PURE__ */ O(() => d.current = !1, "handlePointer");
44
44
  return document.addEventListener("keydown", e, { capture: !0 }), () => {
45
45
  document.removeEventListener("keydown", e, { capture: !0 }), document.removeEventListener("pointerdown", t, { capture: !0 }), document.removeEventListener("pointermove", t, { capture: !0 });
46
46
  };
47
- }, []), S.useEffect(() => {
47
+ }, []), C.useEffect(() => {
48
48
  if (!n) return;
49
- let e = /* @__PURE__ */ D(() => f(!1), "handleBlur");
49
+ let e = /* @__PURE__ */ O(() => f(!1), "handleBlur");
50
50
  return window.addEventListener("blur", e), () => window.removeEventListener("blur", e);
51
- }, [n, f]), /* @__PURE__ */ w(m, {
51
+ }, [n, f]), /* @__PURE__ */ T(m, {
52
52
  ...s,
53
- children: /* @__PURE__ */ w(he, {
53
+ children: /* @__PURE__ */ T(me, {
54
54
  scope: t,
55
55
  open: n,
56
56
  onOpenChange: f,
57
57
  content: l,
58
58
  onContentChange: u,
59
- children: /* @__PURE__ */ w(ge, {
59
+ children: /* @__PURE__ */ T(he, {
60
60
  scope: t,
61
- onClose: S.useCallback(() => f(!1), [f]),
61
+ onClose: C.useCallback(() => f(!1), [f]),
62
62
  isUsingKeyboardRef: d,
63
63
  dir: p,
64
64
  modal: o,
@@ -66,51 +66,51 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
66
66
  })
67
67
  })
68
68
  });
69
- }, "Menu"), ve = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
69
+ }, "Menu"), _e = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
70
70
  let { __scopeMenu: n, ...r } = e;
71
- return /* @__PURE__ */ w(p, {
72
- ...F(n),
71
+ return /* @__PURE__ */ T(h, {
72
+ ...I(n),
73
73
  ...r,
74
74
  ref: t
75
75
  });
76
- }, "MenuAnchor")), ye = "MenuPortal", [be, xe] = N(ye, { forceMount: void 0 }), Se = /* @__PURE__ */ D((e) => {
77
- let { __scopeMenu: t, forceMount: n, children: r, container: i } = e, a = I(ye, t);
78
- return /* @__PURE__ */ w(be, {
76
+ }, "MenuAnchor")), ve = "MenuPortal", [ye, be] = P(ve, { forceMount: void 0 }), xe = /* @__PURE__ */ O((e) => {
77
+ let { __scopeMenu: t, forceMount: n, children: r, container: i } = e, a = L(ve, t);
78
+ return /* @__PURE__ */ T(ye, {
79
79
  scope: t,
80
80
  forceMount: n,
81
- children: /* @__PURE__ */ w(o, {
81
+ children: /* @__PURE__ */ T(o, {
82
82
  present: n || a.open,
83
- children: /* @__PURE__ */ w(f, {
83
+ children: /* @__PURE__ */ T(ee, {
84
84
  asChild: !0,
85
85
  container: i,
86
86
  children: r
87
87
  })
88
88
  })
89
89
  });
90
- }, "MenuPortal"), R = "MenuContent", [Ce, z] = N(R), we = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
91
- let n = xe(R, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = I(R, e.__scopeMenu), s = L(R, e.__scopeMenu);
92
- return /* @__PURE__ */ w(M.Provider, {
90
+ }, "MenuPortal"), z = "MenuContent", [Se, B] = P(z), Ce = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
91
+ let n = be(z, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = L(z, e.__scopeMenu), s = R(z, e.__scopeMenu);
92
+ return /* @__PURE__ */ T(N.Provider, {
93
93
  scope: e.__scopeMenu,
94
- children: /* @__PURE__ */ w(o, {
94
+ children: /* @__PURE__ */ T(o, {
95
95
  present: r || a.open,
96
- children: /* @__PURE__ */ w(M.Slot, {
96
+ children: /* @__PURE__ */ T(N.Slot, {
97
97
  scope: e.__scopeMenu,
98
- children: s.modal ? /* @__PURE__ */ w(Te, {
98
+ children: s.modal ? /* @__PURE__ */ T(we, {
99
99
  ...i,
100
100
  ref: t
101
- }) : /* @__PURE__ */ w(Ee, {
101
+ }) : /* @__PURE__ */ T(Te, {
102
102
  ...i,
103
103
  ref: t
104
104
  })
105
105
  })
106
106
  })
107
107
  });
108
- }, "MenuContent")), Te = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
109
- let r = I(R, e.__scopeMenu), i = S.useRef(null), a = n(t, i);
110
- return S.useEffect(() => {
108
+ }, "MenuContent")), we = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
109
+ let r = L(z, e.__scopeMenu), i = C.useRef(null), a = n(t, i);
110
+ return C.useEffect(() => {
111
111
  let e = i.current;
112
- if (e) return oe(e);
113
- }, []), /* @__PURE__ */ w(B, {
112
+ if (e) return ae(e);
113
+ }, []), /* @__PURE__ */ T(V, {
114
114
  ...e,
115
115
  ref: a,
116
116
  trapFocus: r.open,
@@ -119,9 +119,9 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
119
119
  onFocusOutside: u(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 }),
120
120
  onDismiss: () => r.onOpenChange(!1)
121
121
  });
122
- }, "MenuRootContentModal")), Ee = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
123
- let n = I(R, e.__scopeMenu);
124
- return /* @__PURE__ */ w(B, {
122
+ }, "MenuRootContentModal")), Te = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
123
+ let n = L(z, e.__scopeMenu);
124
+ return /* @__PURE__ */ T(V, {
125
125
  ...e,
126
126
  ref: t,
127
127
  trapFocus: !1,
@@ -129,93 +129,93 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
129
129
  disableOutsideScroll: !1,
130
130
  onDismiss: () => n.onOpenChange(!1)
131
131
  });
132
- }, "MenuRootContentNonModal")), De = r("MenuContent.ScrollLock"), B = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
133
- let { __scopeMenu: r, loop: i = !1, trapFocus: a, onOpenAutoFocus: o, onCloseAutoFocus: s, disableOutsidePointerEvents: c, onEntryFocus: l, onEscapeKeyDown: d, onPointerDownOutside: f, onFocusOutside: p, onInteractOutside: m, onDismiss: h, disableOutsideScroll: g, ..._ } = e, v = I(R, r), y = L(R, r), re = F(r), oe = me(r), b = fe(r), [ce, x] = S.useState(null), C = S.useRef(null), T = n(t, C, v.onContentChange), E = S.useRef(0), O = S.useRef(""), le = S.useRef(0), k = S.useRef(null), A = S.useRef("right"), j = S.useRef(0), M = g ? se : S.Fragment, pe = g ? {
134
- as: De,
132
+ }, "MenuRootContentNonModal")), Ee = r("MenuContent.ScrollLock"), V = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
133
+ let { __scopeMenu: r, loop: i = !1, trapFocus: a, onOpenAutoFocus: o, onCloseAutoFocus: s, disableOutsidePointerEvents: c, onEntryFocus: l, onEscapeKeyDown: d, onPointerDownOutside: m, onFocusOutside: h, onInteractOutside: g, onDismiss: ee, disableOutsideScroll: _, ...v } = e, y = L(z, r), b = R(z, r), ne = I(r), ae = pe(r), x = de(r), [se, S] = C.useState(null), w = C.useRef(null), E = n(t, w, y.onContentChange), D = C.useRef(0), k = C.useRef(""), ce = C.useRef(0), A = C.useRef(null), j = C.useRef("right"), M = C.useRef(0), N = _ ? oe : C.Fragment, fe = _ ? {
134
+ as: Ee,
135
135
  allowPinchZoom: !0
136
- } : void 0, N = /* @__PURE__ */ D((e) => {
137
- let t = O.current + e, n = b().filter((e) => !e.disabled), r = document.activeElement, i = n.find((e) => e.ref.current === r)?.textValue, a = Qe(n.map((e) => e.textValue), t, i), o = n.find((e) => e.textValue === a)?.ref.current;
138
- (/* @__PURE__ */ D((function e(t) {
139
- O.current = t, window.clearTimeout(E.current), t !== "" && (E.current = window.setTimeout(() => e(""), 1e3));
136
+ } : void 0, P = /* @__PURE__ */ O((e) => {
137
+ let t = k.current + e, n = x().filter((e) => !e.disabled), r = document.activeElement, i = n.find((e) => e.ref.current === r)?.textValue, a = Ze(n.map((e) => e.textValue), t, i), o = n.find((e) => e.textValue === a)?.ref.current;
138
+ (/* @__PURE__ */ O((function e(t) {
139
+ k.current = t, window.clearTimeout(D.current), t !== "" && (D.current = window.setTimeout(() => e(""), 1e3));
140
140
  }), "updateSearch"))(t), o && setTimeout(() => o.focus());
141
141
  }, "handleTypeaheadSearch");
142
- S.useEffect(() => () => window.clearTimeout(E.current), []), ie();
143
- let P = S.useCallback((e) => A.current === k.current?.side && et(e, k.current?.area), []);
144
- return /* @__PURE__ */ w(Ce, {
142
+ C.useEffect(() => () => window.clearTimeout(D.current), []), re();
143
+ let F = C.useCallback((e) => j.current === A.current?.side && $e(e, A.current?.area), []);
144
+ return /* @__PURE__ */ T(Se, {
145
145
  scope: r,
146
- searchRef: O,
147
- onItemEnter: S.useCallback((e) => {
148
- P(e) && e.preventDefault();
149
- }, [P]),
150
- onItemLeave: S.useCallback((e) => {
151
- P(e) || (C.current?.focus(), x(null));
152
- }, [P]),
153
- onTriggerLeave: S.useCallback((e) => {
154
- P(e) && e.preventDefault();
155
- }, [P]),
156
- pointerGraceTimerRef: le,
157
- onPointerGraceIntentChange: S.useCallback((e) => {
158
- k.current = e;
146
+ searchRef: k,
147
+ onItemEnter: C.useCallback((e) => {
148
+ F(e) && e.preventDefault();
149
+ }, [F]),
150
+ onItemLeave: C.useCallback((e) => {
151
+ F(e) || (w.current?.focus(), S(null));
152
+ }, [F]),
153
+ onTriggerLeave: C.useCallback((e) => {
154
+ F(e) && e.preventDefault();
155
+ }, [F]),
156
+ pointerGraceTimerRef: ce,
157
+ onPointerGraceIntentChange: C.useCallback((e) => {
158
+ A.current = e;
159
159
  }, []),
160
- children: /* @__PURE__ */ w(M, {
161
- ...pe,
162
- children: /* @__PURE__ */ w(ae, {
160
+ children: /* @__PURE__ */ T(N, {
161
+ ...fe,
162
+ children: /* @__PURE__ */ T(ie, {
163
163
  asChild: !0,
164
164
  trapped: a,
165
165
  onMountAutoFocus: u(o, (e) => {
166
- e.preventDefault(), C.current?.focus({ preventScroll: !0 });
166
+ e.preventDefault(), w.current?.focus({ preventScroll: !0 });
167
167
  }),
168
168
  onUnmountAutoFocus: s,
169
- children: /* @__PURE__ */ w(te, {
169
+ children: /* @__PURE__ */ T(f, {
170
170
  asChild: !0,
171
171
  disableOutsidePointerEvents: c,
172
172
  onEscapeKeyDown: d,
173
- onPointerDownOutside: f,
174
- onFocusOutside: p,
175
- onInteractOutside: m,
176
- onDismiss: h,
177
- children: /* @__PURE__ */ w(ne, {
173
+ onPointerDownOutside: m,
174
+ onFocusOutside: h,
175
+ onInteractOutside: g,
176
+ onDismiss: ee,
177
+ children: /* @__PURE__ */ T(te, {
178
178
  asChild: !0,
179
- ...oe,
180
- dir: y.dir,
179
+ ...ae,
180
+ dir: b.dir,
181
181
  orientation: "vertical",
182
182
  loop: i,
183
- currentTabStopId: ce,
184
- onCurrentTabStopIdChange: x,
183
+ currentTabStopId: se,
184
+ onCurrentTabStopIdChange: S,
185
185
  onEntryFocus: u(l, (e) => {
186
- y.isUsingKeyboardRef.current || e.preventDefault();
186
+ b.isUsingKeyboardRef.current || e.preventDefault();
187
187
  }),
188
188
  preventScrollOnEntryFocus: !0,
189
- children: /* @__PURE__ */ w(ee, {
189
+ children: /* @__PURE__ */ T(p, {
190
190
  role: "menu",
191
191
  "aria-orientation": "vertical",
192
- "data-state": W(v.open),
192
+ "data-state": G(y.open),
193
193
  "data-radix-menu-content": "",
194
- dir: y.dir,
195
- ...re,
196
- ..._,
197
- ref: T,
194
+ dir: b.dir,
195
+ ...ne,
196
+ ...v,
197
+ ref: E,
198
198
  style: {
199
199
  outline: "none",
200
- ..._.style
200
+ ...v.style
201
201
  },
202
- onKeyDown: u(_.onKeyDown, (e) => {
202
+ onKeyDown: u(v.onKeyDown, (e) => {
203
203
  let t = e.target.closest("[data-radix-menu-content]") === e.currentTarget, n = e.ctrlKey || e.altKey || e.metaKey, r = e.key.length === 1;
204
- t && (e.key === "Tab" && e.preventDefault(), !n && r && N(e.key));
205
- let i = C.current;
206
- if (e.target !== i || !de.includes(e.key)) return;
204
+ t && (e.key === "Tab" && e.preventDefault(), !n && r && P(e.key));
205
+ let i = w.current;
206
+ if (e.target !== i || !ue.includes(e.key)) return;
207
207
  e.preventDefault();
208
- let a = b().filter((e) => !e.disabled).map((e) => e.ref.current);
209
- ue.includes(e.key) && a.reverse(), Xe(a);
208
+ let a = x().filter((e) => !e.disabled).map((e) => e.ref.current);
209
+ le.includes(e.key) && a.reverse(), Ye(a);
210
210
  }),
211
211
  onBlur: u(e.onBlur, (e) => {
212
- e.currentTarget.contains(e.target) || (window.clearTimeout(E.current), O.current = "");
212
+ e.currentTarget.contains(e.target) || (window.clearTimeout(D.current), k.current = "");
213
213
  }),
214
- onPointerMove: u(e.onPointerMove, q((e) => {
215
- let t = e.target, n = j.current !== e.clientX;
214
+ onPointerMove: u(e.onPointerMove, J((e) => {
215
+ let t = e.target, n = M.current !== e.clientX;
216
216
  if (e.currentTarget.contains(t) && n) {
217
- let t = e.clientX > j.current ? "right" : "left";
218
- A.current = t, j.current = e.clientX;
217
+ let t = e.clientX > M.current ? "right" : "left";
218
+ j.current = t, M.current = e.clientX;
219
219
  }
220
220
  }))
221
221
  })
@@ -224,31 +224,31 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
224
224
  })
225
225
  })
226
226
  });
227
- }, "MenuContentImpl")), Oe = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
227
+ }, "MenuContentImpl")), De = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
228
228
  let { __scopeMenu: n, ...r } = e;
229
- return /* @__PURE__ */ w(s.div, {
229
+ return /* @__PURE__ */ T(s.div, {
230
230
  role: "group",
231
231
  ...r,
232
232
  ref: t
233
233
  });
234
- }, "MenuGroup")), ke = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
234
+ }, "MenuGroup")), Oe = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
235
235
  let { __scopeMenu: n, ...r } = e;
236
- return /* @__PURE__ */ w(s.div, {
236
+ return /* @__PURE__ */ T(s.div, {
237
237
  ...r,
238
238
  ref: t
239
239
  });
240
- }, "MenuLabel")), V = "MenuItem", Ae = "menu.itemSelect", H = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
241
- let { disabled: r = !1, onSelect: i, ...a } = e, o = S.useRef(null), s = L(V, e.__scopeMenu), c = z(V, e.__scopeMenu), l = n(t, o), f = S.useRef(!1), p = /* @__PURE__ */ D(() => {
240
+ }, "MenuLabel")), H = "MenuItem", ke = "menu.itemSelect", U = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
241
+ let { disabled: r = !1, onSelect: i, ...a } = e, o = C.useRef(null), s = R(H, e.__scopeMenu), c = B(H, e.__scopeMenu), l = n(t, o), f = C.useRef(!1), p = /* @__PURE__ */ O(() => {
242
242
  let e = o.current;
243
243
  if (!r && e) {
244
- let t = new CustomEvent(Ae, {
244
+ let t = new CustomEvent(ke, {
245
245
  bubbles: !0,
246
246
  cancelable: !0
247
247
  });
248
- e.addEventListener(Ae, (e) => i?.(e), { once: !0 }), d(e, t), t.defaultPrevented ? f.current = !1 : s.onClose();
248
+ e.addEventListener(ke, (e) => i?.(e), { once: !0 }), d(e, t), t.defaultPrevented ? f.current = !1 : s.onClose();
249
249
  }
250
250
  }, "handleSelect");
251
- return /* @__PURE__ */ w(je, {
251
+ return /* @__PURE__ */ T(Ae, {
252
252
  ...a,
253
253
  ref: l,
254
254
  disabled: r,
@@ -260,109 +260,109 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
260
260
  f.current || e.currentTarget?.click();
261
261
  }),
262
262
  onKeyDown: u(e.onKeyDown, (e) => {
263
- r || e.target !== e.currentTarget || c.searchRef.current !== "" && e.key === " " || O.includes(e.key) && (e.currentTarget.click(), e.preventDefault());
263
+ r || e.target !== e.currentTarget || c.searchRef.current !== "" && e.key === " " || k.includes(e.key) && (e.currentTarget.click(), e.preventDefault());
264
264
  })
265
265
  });
266
- }, "MenuItem")), je = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
267
- let { __scopeMenu: r, disabled: i = !1, textValue: a, ...o } = e, c = z(V, r), l = me(r), d = S.useRef(null), f = n(t, d), [p, m] = S.useState(!1), [h, ee] = S.useState("");
268
- return S.useEffect(() => {
266
+ }, "MenuItem")), Ae = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
267
+ let { __scopeMenu: r, disabled: i = !1, textValue: a, ...o } = e, c = B(H, r), l = pe(r), d = C.useRef(null), f = n(t, d), [p, m] = C.useState(!1), [h, g] = C.useState("");
268
+ return C.useEffect(() => {
269
269
  let e = d.current;
270
- e && ee((e.textContent ?? "").trim());
271
- }, [o.children]), /* @__PURE__ */ w(M.ItemSlot, {
270
+ e && g((e.textContent ?? "").trim());
271
+ }, [o.children]), /* @__PURE__ */ T(N.ItemSlot, {
272
272
  scope: r,
273
273
  disabled: i,
274
274
  textValue: a ?? h,
275
- children: /* @__PURE__ */ w(y, {
275
+ children: /* @__PURE__ */ T(b, {
276
276
  asChild: !0,
277
277
  ...l,
278
278
  focusable: !i,
279
- children: /* @__PURE__ */ w(s.div, {
279
+ children: /* @__PURE__ */ T(s.div, {
280
280
  role: "menuitem",
281
281
  "data-highlighted": p ? "" : void 0,
282
282
  "aria-disabled": i || void 0,
283
283
  "data-disabled": i ? "" : void 0,
284
284
  ...o,
285
285
  ref: f,
286
- onPointerMove: u(e.onPointerMove, q((e) => {
286
+ onPointerMove: u(e.onPointerMove, J((e) => {
287
287
  i ? c.onItemLeave(e) : (c.onItemEnter(e), e.defaultPrevented || e.currentTarget.focus({ preventScroll: !0 }));
288
288
  })),
289
- onPointerLeave: u(e.onPointerLeave, q((e) => c.onItemLeave(e))),
289
+ onPointerLeave: u(e.onPointerLeave, J((e) => c.onItemLeave(e))),
290
290
  onFocus: u(e.onFocus, () => m(!0)),
291
291
  onBlur: u(e.onBlur, () => m(!1))
292
292
  })
293
293
  })
294
294
  });
295
- }, "MenuItemImpl")), Me = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
295
+ }, "MenuItemImpl")), je = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
296
296
  let { checked: n = !1, onCheckedChange: r, ...i } = e;
297
- return /* @__PURE__ */ w(ze, {
297
+ return /* @__PURE__ */ T(Re, {
298
298
  scope: e.__scopeMenu,
299
299
  checked: n,
300
- children: /* @__PURE__ */ w(H, {
300
+ children: /* @__PURE__ */ T(U, {
301
301
  role: "menuitemcheckbox",
302
- "aria-checked": G(n) ? "mixed" : n,
302
+ "aria-checked": K(n) ? "mixed" : n,
303
303
  ...i,
304
304
  ref: t,
305
- "data-state": K(n),
306
- onSelect: u(i.onSelect, () => r?.(G(n) ? !0 : !n), { checkForDefaultPrevented: !1 })
305
+ "data-state": q(n),
306
+ onSelect: u(i.onSelect, () => r?.(K(n) ? !0 : !n), { checkForDefaultPrevented: !1 })
307
307
  })
308
308
  });
309
- }, "MenuCheckboxItem")), [Ne, Pe] = N("MenuRadioGroup", {
309
+ }, "MenuCheckboxItem")), [Me, Ne] = P("MenuRadioGroup", {
310
310
  value: void 0,
311
- onValueChange: /* @__PURE__ */ D(() => {}, "onValueChange")
312
- }), Fe = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
311
+ onValueChange: /* @__PURE__ */ O(() => {}, "onValueChange")
312
+ }), Pe = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
313
313
  let { value: n, onValueChange: r, ...i } = e, a = c(r);
314
- return /* @__PURE__ */ w(Ne, {
314
+ return /* @__PURE__ */ T(Me, {
315
315
  scope: e.__scopeMenu,
316
316
  value: n,
317
317
  onValueChange: a,
318
- children: /* @__PURE__ */ w(Oe, {
318
+ children: /* @__PURE__ */ T(De, {
319
319
  ...i,
320
320
  ref: t
321
321
  })
322
322
  });
323
- }, "MenuRadioGroup")), Ie = "MenuRadioItem", Le = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
324
- let { value: n, ...r } = e, i = Pe(Ie, e.__scopeMenu), a = n === i.value;
325
- return /* @__PURE__ */ w(ze, {
323
+ }, "MenuRadioGroup")), Fe = "MenuRadioItem", Ie = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
324
+ let { value: n, ...r } = e, i = Ne(Fe, e.__scopeMenu), a = n === i.value;
325
+ return /* @__PURE__ */ T(Re, {
326
326
  scope: e.__scopeMenu,
327
327
  checked: a,
328
- children: /* @__PURE__ */ w(H, {
328
+ children: /* @__PURE__ */ T(U, {
329
329
  role: "menuitemradio",
330
330
  "aria-checked": a,
331
331
  ...r,
332
332
  ref: t,
333
- "data-state": K(a),
333
+ "data-state": q(a),
334
334
  onSelect: u(r.onSelect, () => i.onValueChange?.(n), { checkForDefaultPrevented: !1 })
335
335
  })
336
336
  });
337
- }, "MenuRadioItem")), Re = "MenuItemIndicator", [ze, Be] = N(Re, { checked: !1 }), Ve = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
338
- let { __scopeMenu: n, forceMount: r, ...i } = e, a = Be(Re, n);
339
- return /* @__PURE__ */ w(o, {
340
- present: r || G(a.checked) || a.checked === !0,
341
- children: /* @__PURE__ */ w(s.span, {
337
+ }, "MenuRadioItem")), Le = "MenuItemIndicator", [Re, ze] = P(Le, { checked: !1 }), Be = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
338
+ let { __scopeMenu: n, forceMount: r, ...i } = e, a = ze(Le, n);
339
+ return /* @__PURE__ */ T(o, {
340
+ present: r || K(a.checked) || a.checked === !0,
341
+ children: /* @__PURE__ */ T(s.span, {
342
342
  ...i,
343
343
  ref: t,
344
- "data-state": K(a.checked)
344
+ "data-state": q(a.checked)
345
345
  })
346
346
  });
347
- }, "MenuItemIndicator")), He = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
347
+ }, "MenuItemIndicator")), Ve = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
348
348
  let { __scopeMenu: n, ...r } = e;
349
- return /* @__PURE__ */ w(s.div, {
349
+ return /* @__PURE__ */ T(s.div, {
350
350
  role: "separator",
351
351
  "aria-orientation": "horizontal",
352
352
  ...r,
353
353
  ref: t
354
354
  });
355
- }, "MenuSeparator")), Ue = "MenuSub", [We, Ge] = N(Ue), Ke = /* @__PURE__ */ D((e) => {
356
- let { __scopeMenu: t, children: n, open: r = !1, onOpenChange: i } = e, a = I(Ue, t), o = F(t), [s, u] = S.useState(null), [d, f] = S.useState(null), p = c(i);
357
- return S.useEffect(() => (a.open === !1 && p(!1), () => p(!1)), [a.open, p]), /* @__PURE__ */ w(m, {
355
+ }, "MenuSeparator")), He = "MenuSub", [Ue, We] = P(He), Ge = /* @__PURE__ */ O((e) => {
356
+ let { __scopeMenu: t, children: n, open: r = !1, onOpenChange: i } = e, a = L(He, t), o = I(t), [s, u] = C.useState(null), [d, f] = C.useState(null), p = c(i);
357
+ return C.useEffect(() => (a.open === !1 && p(!1), () => p(!1)), [a.open, p]), /* @__PURE__ */ T(m, {
358
358
  ...o,
359
- children: /* @__PURE__ */ w(he, {
359
+ children: /* @__PURE__ */ T(me, {
360
360
  scope: t,
361
361
  open: r,
362
362
  onOpenChange: p,
363
363
  content: d,
364
364
  onContentChange: f,
365
- children: /* @__PURE__ */ w(We, {
365
+ children: /* @__PURE__ */ T(Ue, {
366
366
  scope: t,
367
367
  contentId: l(),
368
368
  triggerId: l(),
@@ -372,37 +372,37 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
372
372
  })
373
373
  })
374
374
  });
375
- }, "MenuSub"), U = "MenuSubTrigger", qe = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
376
- let r = I(U, e.__scopeMenu), i = L(U, e.__scopeMenu), a = Ge(U, e.__scopeMenu), o = z(U, e.__scopeMenu), s = S.useRef(null), { pointerGraceTimerRef: c, onPointerGraceIntentChange: l } = o, d = { __scopeMenu: e.__scopeMenu }, f = S.useCallback(() => {
375
+ }, "MenuSub"), W = "MenuSubTrigger", Ke = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
376
+ let r = L(W, e.__scopeMenu), i = R(W, e.__scopeMenu), a = We(W, e.__scopeMenu), o = B(W, e.__scopeMenu), s = C.useRef(null), { pointerGraceTimerRef: c, onPointerGraceIntentChange: l } = o, d = { __scopeMenu: e.__scopeMenu }, f = C.useCallback(() => {
377
377
  s.current && window.clearTimeout(s.current), s.current = null;
378
378
  }, []);
379
- S.useEffect(() => f, [f]), S.useEffect(() => {
379
+ C.useEffect(() => f, [f]), C.useEffect(() => {
380
380
  let e = c.current;
381
381
  return () => {
382
382
  window.clearTimeout(e), l(null);
383
383
  };
384
384
  }, [c, l]);
385
385
  let p = n(t, a.onTriggerChange);
386
- return /* @__PURE__ */ w(ve, {
386
+ return /* @__PURE__ */ T(_e, {
387
387
  asChild: !0,
388
388
  ...d,
389
- children: /* @__PURE__ */ w(je, {
389
+ children: /* @__PURE__ */ T(Ae, {
390
390
  id: a.triggerId,
391
391
  "aria-haspopup": "menu",
392
392
  "aria-expanded": r.open,
393
393
  "aria-controls": r.open ? a.contentId : void 0,
394
- "data-state": W(r.open),
394
+ "data-state": G(r.open),
395
395
  ...e,
396
396
  ref: p,
397
397
  onClick: (t) => {
398
398
  e.onClick?.(t), !(e.disabled || t.defaultPrevented) && (t.currentTarget.focus(), r.open || r.onOpenChange(!0));
399
399
  },
400
- onPointerMove: u(e.onPointerMove, q((t) => {
400
+ onPointerMove: u(e.onPointerMove, J((t) => {
401
401
  o.onItemEnter(t), !t.defaultPrevented && !e.disabled && !r.open && !s.current && (o.onPointerGraceIntentChange(null), s.current = window.setTimeout(() => {
402
402
  r.onOpenChange(!0), f();
403
403
  }, 100));
404
404
  })),
405
- onPointerLeave: u(e.onPointerLeave, q((e) => {
405
+ onPointerLeave: u(e.onPointerLeave, J((e) => {
406
406
  f();
407
407
  let t = r.content?.getBoundingClientRect();
408
408
  if (t) {
@@ -438,19 +438,19 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
438
438
  }
439
439
  })),
440
440
  onKeyDown: u(e.onKeyDown, (t) => {
441
- e.disabled || t.target !== t.currentTarget || o.searchRef.current !== "" && t.key === " " || k[i.dir].includes(t.key) && (r.onOpenChange(!0), r.content?.focus(), t.preventDefault());
441
+ e.disabled || t.target !== t.currentTarget || o.searchRef.current !== "" && t.key === " " || A[i.dir].includes(t.key) && (r.onOpenChange(!0), r.content?.focus(), t.preventDefault());
442
442
  })
443
443
  })
444
444
  });
445
- }, "MenuSubTrigger")), Je = "MenuSubContent", Ye = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
446
- let r = xe(R, e.__scopeMenu), { forceMount: i = r.forceMount, align: a = "start", ...s } = e, c = I(R, e.__scopeMenu), l = L(R, e.__scopeMenu), d = Ge(Je, e.__scopeMenu), f = S.useRef(null), p = n(t, f);
447
- return /* @__PURE__ */ w(M.Provider, {
445
+ }, "MenuSubTrigger")), qe = "MenuSubContent", Je = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
446
+ let r = be(z, e.__scopeMenu), { forceMount: i = r.forceMount, align: a = "start", ...s } = e, c = L(z, e.__scopeMenu), l = R(z, e.__scopeMenu), d = We(qe, e.__scopeMenu), f = C.useRef(null), p = n(t, f);
447
+ return /* @__PURE__ */ T(N.Provider, {
448
448
  scope: e.__scopeMenu,
449
- children: /* @__PURE__ */ w(o, {
449
+ children: /* @__PURE__ */ T(o, {
450
450
  present: i || c.open,
451
- children: /* @__PURE__ */ w(M.Slot, {
451
+ children: /* @__PURE__ */ T(N.Slot, {
452
452
  scope: e.__scopeMenu,
453
- children: /* @__PURE__ */ w(B, {
453
+ children: /* @__PURE__ */ T(V, {
454
454
  id: d.contentId,
455
455
  "aria-labelledby": d.triggerId,
456
456
  ...s,
@@ -471,7 +471,7 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
471
471
  l.onClose(), e.preventDefault();
472
472
  }),
473
473
  onKeyDown: u(e.onKeyDown, (e) => {
474
- let t = e.currentTarget.contains(e.target), n = A[l.dir].includes(e.key);
474
+ let t = e.currentTarget.contains(e.target), n = j[l.dir].includes(e.key);
475
475
  t && n && (c.onOpenChange(!1), d.trigger?.focus(), e.preventDefault());
476
476
  })
477
477
  })
@@ -479,35 +479,35 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
479
479
  })
480
480
  });
481
481
  }, "MenuSubContent"));
482
- function W(e) {
482
+ function G(e) {
483
483
  return e ? "open" : "closed";
484
484
  }
485
- D(W, "getOpenState");
486
- function G(e) {
485
+ O(G, "getOpenState");
486
+ function K(e) {
487
487
  return e === "indeterminate";
488
488
  }
489
- D(G, "isIndeterminate");
490
- function K(e) {
491
- return G(e) ? "indeterminate" : e ? "checked" : "unchecked";
489
+ O(K, "isIndeterminate");
490
+ function q(e) {
491
+ return K(e) ? "indeterminate" : e ? "checked" : "unchecked";
492
492
  }
493
- D(K, "getCheckedState");
494
- function Xe(e) {
493
+ O(q, "getCheckedState");
494
+ function Ye(e) {
495
495
  let t = document.activeElement;
496
496
  for (let n of e) if (n === t || (n.focus(), document.activeElement !== t)) return;
497
497
  }
498
- D(Xe, "focusFirst");
499
- function Ze(e, t) {
498
+ O(Ye, "focusFirst");
499
+ function Xe(e, t) {
500
500
  return e.map((n, r) => e[(t + r) % e.length]);
501
501
  }
502
- D(Ze, "wrapArray");
503
- function Qe(e, t, n) {
504
- let r = t.length > 1 && Array.from(t).every((e) => e === t[0]) ? t[0] : t, i = n ? e.indexOf(n) : -1, a = Ze(e, Math.max(i, 0));
502
+ O(Xe, "wrapArray");
503
+ function Ze(e, t, n) {
504
+ let r = t.length > 1 && Array.from(t).every((e) => e === t[0]) ? t[0] : t, i = n ? e.indexOf(n) : -1, a = Xe(e, Math.max(i, 0));
505
505
  r.length === 1 && (a = a.filter((e) => e !== n));
506
506
  let o = a.find((e) => e.toLowerCase().startsWith(r.toLowerCase()));
507
507
  return o === n ? void 0 : o;
508
508
  }
509
- D(Qe, "getNextMatch");
510
- function $e(e, t) {
509
+ O(Ze, "getNextMatch");
510
+ function Qe(e, t) {
511
511
  let { x: n, y: r } = e, i = !1;
512
512
  for (let e = 0, a = t.length - 1; e < t.length; a = e++) {
513
513
  let o = t[e], s = t[a], c = o.x, l = o.y, u = s.x, d = s.y;
@@ -515,38 +515,38 @@ function $e(e, t) {
515
515
  }
516
516
  return i;
517
517
  }
518
- D($e, "isPointInPolygon");
519
- function et(e, t) {
520
- return t ? $e({
518
+ O(Qe, "isPointInPolygon");
519
+ function $e(e, t) {
520
+ return t ? Qe({
521
521
  x: e.clientX,
522
522
  y: e.clientY
523
523
  }, t) : !1;
524
524
  }
525
- D(et, "isPointerInGraceArea");
526
- function q(e) {
525
+ O($e, "isPointerInGraceArea");
526
+ function J(e) {
527
527
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
528
528
  }
529
- D(q, "whenMouse");
530
- var tt = _e, nt = ve, rt = Se, it = we, at = Oe, ot = ke, st = H, ct = Me, lt = Fe, ut = Le, dt = Ve, ft = He, pt = Ke, mt = qe, ht = Ye, gt = Object.defineProperty, J = (e, t) => gt(e, "name", {
529
+ O(J, "whenMouse");
530
+ var et = ge, tt = _e, nt = xe, rt = Ce, it = De, at = Oe, ot = U, st = je, ct = Pe, lt = Ie, ut = Be, dt = Ve, ft = Ge, pt = Ke, mt = Je, ht = Object.defineProperty, Y = (e, t) => ht(e, "name", {
531
531
  value: t,
532
532
  configurable: !0
533
- }), Y = "DropdownMenu", [_t, vt] = a(Y, [P]), X = P(), [yt, bt] = _t(Y), xt = /* @__PURE__ */ J((e) => {
534
- let { __scopeDropdownMenu: t, children: n, dir: r, open: a, defaultOpen: o, onOpenChange: s, modal: c = !0 } = e, u = X(t), d = S.useRef(null), [f, p] = i({
533
+ }), X = "DropdownMenu", [gt, _t] = a(X, [F]), Z = F(), [vt, yt] = gt(X), bt = /* @__PURE__ */ Y((e) => {
534
+ let { __scopeDropdownMenu: t, children: n, dir: r, open: a, defaultOpen: o, onOpenChange: s, modal: c = !0 } = e, u = Z(t), d = C.useRef(null), [f, p] = i({
535
535
  prop: a,
536
536
  defaultProp: o ?? !1,
537
537
  onChange: s,
538
- caller: Y
538
+ caller: X
539
539
  });
540
- return /* @__PURE__ */ w(yt, {
540
+ return /* @__PURE__ */ T(vt, {
541
541
  scope: t,
542
542
  triggerId: l(),
543
543
  triggerRef: d,
544
544
  contentId: l(),
545
545
  open: f,
546
546
  onOpenChange: p,
547
- onOpenToggle: S.useCallback(() => p((e) => !e), [p]),
547
+ onOpenToggle: C.useCallback(() => p((e) => !e), [p]),
548
548
  modal: c,
549
- children: /* @__PURE__ */ w(tt, {
549
+ children: /* @__PURE__ */ T(et, {
550
550
  ...u,
551
551
  open: f,
552
552
  onOpenChange: p,
@@ -555,12 +555,12 @@ var tt = _e, nt = ve, rt = Se, it = we, at = Oe, ot = ke, st = H, ct = Me, lt =
555
555
  children: n
556
556
  })
557
557
  });
558
- }, "DropdownMenu"), St = "DropdownMenuTrigger", Ct = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
559
- let { __scopeDropdownMenu: r, disabled: i = !1, ...a } = e, o = bt(St, r), c = X(r), l = n(t, o.triggerRef);
560
- return /* @__PURE__ */ w(nt, {
558
+ }, "DropdownMenu"), xt = "DropdownMenuTrigger", St = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
559
+ let { __scopeDropdownMenu: r, disabled: i = !1, ...a } = e, o = yt(xt, r), c = Z(r), l = n(t, o.triggerRef);
560
+ return /* @__PURE__ */ T(tt, {
561
561
  asChild: !0,
562
562
  ...c,
563
- children: /* @__PURE__ */ w(s.button, {
563
+ children: /* @__PURE__ */ T(s.button, {
564
564
  type: "button",
565
565
  id: o.triggerId,
566
566
  "aria-haspopup": "menu",
@@ -583,15 +583,15 @@ var tt = _e, nt = ve, rt = Se, it = we, at = Oe, ot = ke, st = H, ct = Me, lt =
583
583
  })
584
584
  })
585
585
  });
586
- }, "DropdownMenuTrigger")), wt = /* @__PURE__ */ J((e) => {
586
+ }, "DropdownMenuTrigger")), Ct = /* @__PURE__ */ Y((e) => {
587
587
  let { __scopeDropdownMenu: t, ...n } = e;
588
- return /* @__PURE__ */ w(rt, {
589
- ...X(t),
588
+ return /* @__PURE__ */ T(nt, {
589
+ ...Z(t),
590
590
  ...n
591
591
  });
592
- }, "DropdownMenuPortal"), Tt = "DropdownMenuContent", Et = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
593
- let { __scopeDropdownMenu: n, ...r } = e, i = bt(Tt, n), a = X(n), o = S.useRef(!1);
594
- return /* @__PURE__ */ w(it, {
592
+ }, "DropdownMenuPortal"), wt = "DropdownMenuContent", Tt = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
593
+ let { __scopeDropdownMenu: n, ...r } = e, i = yt(wt, n), a = Z(n), o = C.useRef(!1);
594
+ return /* @__PURE__ */ T(rt, {
595
595
  id: i.contentId,
596
596
  "aria-labelledby": i.triggerId,
597
597
  ...a,
@@ -613,86 +613,86 @@ var tt = _e, nt = ve, rt = Se, it = we, at = Oe, ot = ke, st = H, ct = Me, lt =
613
613
  "--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
614
614
  }
615
615
  });
616
- }, "DropdownMenuContent")), Dt = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
616
+ }, "DropdownMenuContent")), Et = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
617
617
  let { __scopeDropdownMenu: n, ...r } = e;
618
- return /* @__PURE__ */ w(at, {
619
- ...X(n),
618
+ return /* @__PURE__ */ T(it, {
619
+ ...Z(n),
620
620
  ...r,
621
621
  ref: t
622
622
  });
623
- }, "DropdownMenuGroup")), Ot = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
623
+ }, "DropdownMenuGroup")), Dt = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
624
624
  let { __scopeDropdownMenu: n, ...r } = e;
625
- return /* @__PURE__ */ w(ot, {
626
- ...X(n),
625
+ return /* @__PURE__ */ T(at, {
626
+ ...Z(n),
627
627
  ...r,
628
628
  ref: t
629
629
  });
630
- }, "DropdownMenuLabel")), kt = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
630
+ }, "DropdownMenuLabel")), Ot = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
631
631
  let { __scopeDropdownMenu: n, ...r } = e;
632
- return /* @__PURE__ */ w(st, {
633
- ...X(n),
632
+ return /* @__PURE__ */ T(ot, {
633
+ ...Z(n),
634
634
  ...r,
635
635
  ref: t
636
636
  });
637
- }, "DropdownMenuItem")), At = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
637
+ }, "DropdownMenuItem")), kt = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
638
638
  let { __scopeDropdownMenu: n, ...r } = e;
639
- return /* @__PURE__ */ w(ct, {
640
- ...X(n),
639
+ return /* @__PURE__ */ T(st, {
640
+ ...Z(n),
641
641
  ...r,
642
642
  ref: t
643
643
  });
644
- }, "DropdownMenuCheckboxItem")), jt = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
644
+ }, "DropdownMenuCheckboxItem")), At = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
645
645
  let { __scopeDropdownMenu: n, ...r } = e;
646
- return /* @__PURE__ */ w(lt, {
647
- ...X(n),
646
+ return /* @__PURE__ */ T(ct, {
647
+ ...Z(n),
648
648
  ...r,
649
649
  ref: t
650
650
  });
651
- }, "DropdownMenuRadioGroup")), Mt = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
651
+ }, "DropdownMenuRadioGroup")), jt = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
652
652
  let { __scopeDropdownMenu: n, ...r } = e;
653
- return /* @__PURE__ */ w(ut, {
654
- ...X(n),
653
+ return /* @__PURE__ */ T(lt, {
654
+ ...Z(n),
655
655
  ...r,
656
656
  ref: t
657
657
  });
658
- }, "DropdownMenuRadioItem")), Nt = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
658
+ }, "DropdownMenuRadioItem")), Mt = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
659
659
  let { __scopeDropdownMenu: n, ...r } = e;
660
- return /* @__PURE__ */ w(dt, {
661
- ...X(n),
660
+ return /* @__PURE__ */ T(ut, {
661
+ ...Z(n),
662
662
  ...r,
663
663
  ref: t
664
664
  });
665
- }, "DropdownMenuItemIndicator")), Pt = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
665
+ }, "DropdownMenuItemIndicator")), Nt = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
666
666
  let { __scopeDropdownMenu: n, ...r } = e;
667
- return /* @__PURE__ */ w(ft, {
668
- ...X(n),
667
+ return /* @__PURE__ */ T(dt, {
668
+ ...Z(n),
669
669
  ...r,
670
670
  ref: t
671
671
  });
672
- }, "DropdownMenuSeparator")), Ft = /* @__PURE__ */ J((e) => {
673
- let { __scopeDropdownMenu: t, children: n, open: r, onOpenChange: a, defaultOpen: o } = e, s = X(t), [c, l] = i({
672
+ }, "DropdownMenuSeparator")), Pt = /* @__PURE__ */ Y((e) => {
673
+ let { __scopeDropdownMenu: t, children: n, open: r, onOpenChange: a, defaultOpen: o } = e, s = Z(t), [c, l] = i({
674
674
  prop: r,
675
675
  defaultProp: o ?? !1,
676
676
  onChange: a,
677
677
  caller: "DropdownMenuSub"
678
678
  });
679
- return /* @__PURE__ */ w(pt, {
679
+ return /* @__PURE__ */ T(ft, {
680
680
  ...s,
681
681
  open: c,
682
682
  onOpenChange: l,
683
683
  children: n
684
684
  });
685
- }, "DropdownMenuSub"), It = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
685
+ }, "DropdownMenuSub"), Ft = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
686
686
  let { __scopeDropdownMenu: n, ...r } = e;
687
- return /* @__PURE__ */ w(mt, {
688
- ...X(n),
687
+ return /* @__PURE__ */ T(pt, {
688
+ ...Z(n),
689
689
  ...r,
690
690
  ref: t
691
691
  });
692
- }, "DropdownMenuSubTrigger")), Lt = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
692
+ }, "DropdownMenuSubTrigger")), It = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
693
693
  let { __scopeDropdownMenu: n, ...r } = e;
694
- return /* @__PURE__ */ w(ht, {
695
- ...X(n),
694
+ return /* @__PURE__ */ T(mt, {
695
+ ...Z(n),
696
696
  ...r,
697
697
  ref: t,
698
698
  style: {
@@ -704,7 +704,7 @@ var tt = _e, nt = ve, rt = Se, it = we, at = Oe, ot = ke, st = H, ct = Me, lt =
704
704
  "--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
705
705
  }
706
706
  });
707
- }, "DropdownMenuSubContent")), Rt = xt, zt = Ct, Z = wt, Bt = Et, Vt = Dt, Ht = Ot, Ut = kt, Wt = At, Gt = jt, Kt = Mt, qt = Nt, Jt = Pt, Yt = Ft, Xt = It, Zt = Lt;
707
+ }, "DropdownMenuSubContent")), Lt = bt, Rt = St, zt = Ct, Bt = Tt, Vt = Et, Ht = Dt, Ut = Ot, Wt = kt, Gt = At, Kt = jt, qt = Mt, Jt = Nt, Yt = Pt, Xt = Ft, Zt = It;
708
708
  //#endregion
709
709
  //#region lib/components/ui/menu-item-loading.tsx
710
710
  function Qt(e) {
@@ -718,7 +718,7 @@ function Qt(e) {
718
718
  }
719
719
  var $t = "data-[loading]:cursor-progress data-[loading]:opacity-70 data-[loading]:[&>svg]:hidden";
720
720
  function en({ className: t }) {
721
- return /* @__PURE__ */ w(x, {
721
+ return /* @__PURE__ */ T(S, {
722
722
  "aria-hidden": "true",
723
723
  color: "default",
724
724
  className: e("size-4", t)
@@ -761,17 +761,17 @@ var tn = "relative before:pointer-events-none before:absolute before:inset-y-1 b
761
761
  //#region lib/components/ui/selection/option-mark.tsx
762
762
  function $({ kind: t, animate: n = "state", className: r }) {
763
763
  let i = n === "enter" ? "nxgt-option-mark-enter" : "";
764
- return t === "dot" ? /* @__PURE__ */ w("span", {
764
+ return t === "dot" ? /* @__PURE__ */ T("span", {
765
765
  "aria-hidden": "true",
766
766
  "data-slot": "option-mark",
767
767
  className: e("nxgt-option-dot", i, r)
768
- }) : /* @__PURE__ */ w("svg", {
768
+ }) : /* @__PURE__ */ T("svg", {
769
769
  "aria-hidden": "true",
770
770
  focusable: "false",
771
771
  "data-slot": "option-mark",
772
772
  viewBox: "0 0 24 24",
773
773
  className: e("nxgt-option-check", i, r),
774
- children: /* @__PURE__ */ w("path", {
774
+ children: /* @__PURE__ */ T("path", {
775
775
  d: "M5.5 12.5l4.2 4.2L18.5 7.5",
776
776
  pathLength: 1
777
777
  })
@@ -780,7 +780,7 @@ function $({ kind: t, animate: n = "state", className: r }) {
780
780
  //#endregion
781
781
  //#region lib/components/ui/overlays/dropdown-menu/dropdown-menu-items.tsx
782
782
  function fn({ className: n, inset: r, variant: i = "default", active: a, loading: o, children: s, ...c }) {
783
- return /* @__PURE__ */ T(Ut, {
783
+ return /* @__PURE__ */ E(Ut, {
784
784
  "data-slot": "dropdown-menu-item",
785
785
  "data-pw": "dropdown-menu-item",
786
786
  "data-inset": r,
@@ -789,47 +789,47 @@ function fn({ className: n, inset: r, variant: i = "default", active: a, loading
789
789
  className: e("data-[variant=error]:text-error-text data-[variant=error]:data-[highlighted]:bg-error/10 dark:data-[variant=error]:data-[highlighted]:bg-error/20 data-[variant=error]:*:[svg]:!text-error-text [&_svg:not([class*='text-'])]:text-muted-foreground flex cursor-default items-center gap-2 rounded-(--nxgt-item-radius) px-2 py-1.5 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:ps-8", "[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", nn, sn, $t, n),
790
790
  ...c,
791
791
  ...Qt(o),
792
- children: [o && /* @__PURE__ */ w(en, {}), /* @__PURE__ */ w(t, { children: s })]
792
+ children: [o && /* @__PURE__ */ T(en, {}), /* @__PURE__ */ T(t, { children: s })]
793
793
  });
794
794
  }
795
795
  function pn({ className: t, children: n, checked: r, ...i }) {
796
- return /* @__PURE__ */ T(Wt, {
796
+ return /* @__PURE__ */ E(Wt, {
797
797
  "data-slot": "dropdown-menu-checkbox-item",
798
798
  className: e("flex cursor-default items-center gap-2 rounded-(--nxgt-item-radius) py-1.5 pe-2 ps-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", un, t),
799
799
  checked: r,
800
800
  ...i,
801
- children: [/* @__PURE__ */ w("span", {
801
+ children: [/* @__PURE__ */ T("span", {
802
802
  className: "pointer-events-none absolute start-2 flex size-3.5 center",
803
- children: /* @__PURE__ */ w(qt, {
803
+ children: /* @__PURE__ */ T(qt, {
804
804
  forceMount: !0,
805
- children: /* @__PURE__ */ w($, { kind: "check" })
805
+ children: /* @__PURE__ */ T($, { kind: "check" })
806
806
  })
807
807
  }), n]
808
808
  });
809
809
  }
810
810
  function mn({ ...e }) {
811
- return /* @__PURE__ */ w(Gt, {
811
+ return /* @__PURE__ */ T(Gt, {
812
812
  "data-slot": "dropdown-menu-radio-group",
813
813
  ...e
814
814
  });
815
815
  }
816
816
  function hn({ className: t, children: n, mark: r = "start", ...i }) {
817
817
  let a = r === "end";
818
- return /* @__PURE__ */ w(Kt, {
818
+ return /* @__PURE__ */ T(Kt, {
819
819
  "data-slot": "dropdown-menu-radio-item",
820
820
  className: e("flex cursor-default items-center gap-2 rounded-(--nxgt-item-radius) py-1.5 pe-2 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", a ? "ps-2" : "ps-8", nn, t),
821
821
  ...i,
822
- children: a ? /* @__PURE__ */ T(C, { children: [n, /* @__PURE__ */ w("span", {
822
+ children: a ? /* @__PURE__ */ E(w, { children: [n, /* @__PURE__ */ T("span", {
823
823
  className: "pointer-events-none ms-auto flex size-3.5 center",
824
- children: /* @__PURE__ */ w(qt, {
824
+ children: /* @__PURE__ */ T(qt, {
825
825
  forceMount: !0,
826
- children: /* @__PURE__ */ w($, { kind: "check" })
826
+ children: /* @__PURE__ */ T($, { kind: "check" })
827
827
  })
828
- })] }) : /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w("span", {
828
+ })] }) : /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T("span", {
829
829
  className: "pointer-events-none absolute start-2 flex size-3.5 center",
830
- children: /* @__PURE__ */ w(qt, {
830
+ children: /* @__PURE__ */ T(qt, {
831
831
  forceMount: !0,
832
- children: /* @__PURE__ */ w($, { kind: "dot" })
832
+ children: /* @__PURE__ */ T($, { kind: "dot" })
833
833
  })
834
834
  }), n] })
835
835
  });
@@ -837,9 +837,9 @@ function hn({ className: t, children: n, mark: r = "start", ...i }) {
837
837
  //#endregion
838
838
  //#region lib/components/ui/overlays/dropdown-menu/dropdown-menu.tsx
839
839
  function gn(e) {
840
- return /* @__PURE__ */ w(b, {
840
+ return /* @__PURE__ */ T(x, {
841
841
  value: e.modal ?? !1,
842
- children: /* @__PURE__ */ w(Rt, {
842
+ children: /* @__PURE__ */ T(Lt, {
843
843
  "data-slot": "dropdown-menu",
844
844
  modal: !1,
845
845
  ...e
@@ -847,13 +847,13 @@ function gn(e) {
847
847
  });
848
848
  }
849
849
  function _n({ ...e }) {
850
- return /* @__PURE__ */ w(Z, {
850
+ return /* @__PURE__ */ T(zt, {
851
851
  "data-slot": "dropdown-menu-portal",
852
852
  ...e
853
853
  });
854
854
  }
855
855
  function vn({ className: t, ...n }) {
856
- return /* @__PURE__ */ w(zt, {
856
+ return /* @__PURE__ */ T(Rt, {
857
857
  "data-slot": "dropdown-menu-trigger",
858
858
  "data-pw": n.name ?? "dropdown-menu",
859
859
  className: e("transition-all focus:bg-primary/10 hover:bg-primary/10 rounded-(--nxgt-item-radius)", t),
@@ -861,12 +861,12 @@ function vn({ className: t, ...n }) {
861
861
  });
862
862
  }
863
863
  function yn({ className: t, sideOffset: n = 4, container: r, ref: i, ...a }) {
864
- return /* @__PURE__ */ w(ce, {
864
+ return /* @__PURE__ */ T(se, {
865
865
  value: !1,
866
- children: /* @__PURE__ */ w(Z, {
866
+ children: /* @__PURE__ */ T(zt, {
867
867
  container: r,
868
- children: /* @__PURE__ */ w(Bt, {
869
- ref: re(!1, i),
868
+ children: /* @__PURE__ */ T(Bt, {
869
+ ref: ne(!1, i),
870
870
  "data-slot": "dropdown-menu-content",
871
871
  sideOffset: n,
872
872
  className: e("grid bg-popover min-w-2xs text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded border p-1 shadow gap-0.5", t),
@@ -876,14 +876,14 @@ function yn({ className: t, sideOffset: n = 4, container: r, ref: i, ...a }) {
876
876
  });
877
877
  }
878
878
  function bn({ className: t, ...n }) {
879
- return /* @__PURE__ */ w(Vt, {
879
+ return /* @__PURE__ */ T(Vt, {
880
880
  "data-slot": "dropdown-menu-group",
881
881
  className: e("grid gap-0.5", t),
882
882
  ...n
883
883
  });
884
884
  }
885
885
  function xn({ className: t, inset: n, ...r }) {
886
- return /* @__PURE__ */ w(Ht, {
886
+ return /* @__PURE__ */ T(Ht, {
887
887
  "data-slot": "dropdown-menu-label",
888
888
  "data-inset": n,
889
889
  className: e("px-2 py-1.5 text-xs font-medium data-[inset]:ps-8 text-muted-foreground", t),
@@ -891,18 +891,18 @@ function xn({ className: t, inset: n, ...r }) {
891
891
  });
892
892
  }
893
893
  function Sn({ className: t, ...n }) {
894
- return /* @__PURE__ */ w(Jt, {
894
+ return /* @__PURE__ */ T(Jt, {
895
895
  "data-slot": "dropdown-menu-separator",
896
896
  className: e("bg-border -mx-1 my-1 h-px", t),
897
897
  ...n
898
898
  });
899
899
  }
900
900
  function Cn({ className: t, ...n }) {
901
- return /* @__PURE__ */ w("span", {
901
+ return /* @__PURE__ */ T("span", {
902
902
  "data-slot": "dropdown-menu-shortcut",
903
903
  className: e("text-muted-foreground ms-auto text-xs tracking-widest in-data-[active]:text-foreground/70 in-data-[highlighted]:text-accent-foreground", t),
904
904
  ...n
905
905
  });
906
906
  }
907
907
  //#endregion
908
- export { Yt as A, ot as B, $t as C, Ut as D, Bt as E, ct as F, ft as G, lt as H, it as I, mt as J, pt as K, at as L, Xt as M, zt as N, Z as O, nt as P, st as R, rn as S, Qt as T, ut as U, rt as V, tt as W, P as Y, tn as _, _n as a, on as b, vn as c, mn as d, hn as f, ln as g, dn as h, xn as i, Zt as j, Rt as k, pn as l, cn as m, yn as n, Sn as o, $ as p, ht as q, bn as r, Cn as s, gn as t, fn as u, un as v, en as w, an as x, nn as y, dt as z };
908
+ export { Yt as A, at as B, $t as C, Ut as D, Bt as E, st as F, dt as G, ct as H, rt as I, pt as J, ft as K, it as L, Xt as M, Rt as N, zt as O, tt as P, ot as R, rn as S, Qt as T, lt as U, nt as V, et as W, F as Y, tn as _, _n as a, on as b, vn as c, mn as d, hn as f, ln as g, dn as h, xn as i, Zt as j, Lt as k, pn as l, cn as m, yn as n, Sn as o, $ as p, mt as q, bn as r, Cn as s, gn as t, fn as u, un as v, en as w, an as x, nn as y, ut as z };