@chaibuilder/sdk 2.0.0-beta.7 → 2.0.0-beta.72

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 (53) hide show
  1. package/README.md +0 -4
  2. package/dist/ChaiThemeFn-Cort9tch.js +201 -0
  3. package/dist/ChaiThemeFn-DQu-2Eh9.cjs +13 -0
  4. package/dist/CodeEditor-B2x4yruH.cjs +1 -0
  5. package/dist/CodeEditor-VcQsGvTM.js +65 -0
  6. package/dist/Topbar-BQsjWb-A.js +16 -0
  7. package/dist/Topbar-DEw_kBMz.cjs +1 -0
  8. package/dist/chaibuilder-logo.png +0 -0
  9. package/dist/context-menu-C4lLV8gP.cjs +1 -0
  10. package/dist/{context-menu-I8woggB3.js → context-menu-D5ViOi6K.js} +260 -263
  11. package/dist/core.cjs +61 -1
  12. package/dist/core.d.ts +116 -54
  13. package/dist/core.js +8819 -123
  14. package/dist/getSplitClasses-DodqA_KW.cjs +1 -0
  15. package/dist/getSplitClasses-DphwgQiE.js +48 -0
  16. package/dist/{iconBase-Ief2hJUZ.js → iconBase-DHfFLkem.js} +6 -12
  17. package/dist/mockServiceWorker.js +39 -24
  18. package/dist/plugin-2xcljWGM.cjs +1 -0
  19. package/dist/plugin-kUMxtQR5.js +24 -0
  20. package/dist/render.cjs +2 -2
  21. package/dist/render.d.ts +35 -16
  22. package/dist/render.js +144 -134
  23. package/dist/runtime.cjs +1 -1
  24. package/dist/runtime.d.ts +0 -1
  25. package/dist/runtime.js +0 -20
  26. package/dist/{style.css → sdk.css} +1 -1
  27. package/dist/tailwind.cjs +1 -1
  28. package/dist/tailwind.d.ts +31 -26
  29. package/dist/tailwind.js +8 -10
  30. package/dist/ui.cjs +1 -1
  31. package/dist/ui.d.ts +6 -51
  32. package/dist/ui.js +210 -367
  33. package/dist/web-blocks.cjs +29 -2
  34. package/dist/web-blocks.js +1782 -831
  35. package/package.json +133 -132
  36. package/dist/CodeEditor-Bqjwy0VH.js +0 -127
  37. package/dist/CodeEditor-KUfhGPDN.cjs +0 -1
  38. package/dist/STRINGS-Xxstm-7I.js +0 -7
  39. package/dist/STRINGS-Yl7cSWDc.cjs +0 -1
  40. package/dist/Topbar-DQuMCOP6.cjs +0 -1
  41. package/dist/Topbar-g2pI6yGs.js +0 -161
  42. package/dist/context-menu-0lRey9QY.cjs +0 -1
  43. package/dist/controls-lEwMTdPQ.js +0 -234
  44. package/dist/controls-p9IwFnPx.cjs +0 -1
  45. package/dist/index-1_ZADyhv.js +0 -8554
  46. package/dist/index-QyeR27V9.cjs +0 -61
  47. package/dist/jsx-runtime-JYMCiFoE.cjs +0 -27
  48. package/dist/jsx-runtime-Sp0orL4X.js +0 -631
  49. package/dist/plugin-UiUFs2fK.js +0 -44
  50. package/dist/plugin-f6SDZ_Or.js +0 -108
  51. package/dist/plugin-jum1MjXp.cjs +0 -1
  52. package/dist/plugin-xOpS-UNV.cjs +0 -1
  53. /package/dist/{iconBase-aZzpqff_.cjs → iconBase-Cn2BsTrq.cjs} +0 -0
@@ -1,26 +1,26 @@
1
- import { j as o } from "./jsx-runtime-Sp0orL4X.js";
2
- import * as T from "@radix-ui/react-switch";
1
+ import { jsx as o, jsxs as m } from "react/jsx-runtime";
2
+ import * as S from "@radix-ui/react-switch";
3
3
  import * as n from "react";
4
- import * as u from "@radix-ui/react-accordion";
5
- import { ChevronDownIcon as Q, Cross2Icon as A, ChevronRightIcon as I, CheckIcon as k, DotFilledIcon as M } from "@radix-ui/react-icons";
6
- import { cva as h } from "class-variance-authority";
4
+ import * as g from "@radix-ui/react-accordion";
5
+ import { ChevronDownIcon as Q, Cross2Icon as k, ChevronRightIcon as M, CheckIcon as P, DotFilledIcon as z } from "@radix-ui/react-icons";
6
+ import { cva as w } from "class-variance-authority";
7
7
  import * as c from "@radix-ui/react-alert-dialog";
8
8
  import { Slot as X } from "@radix-ui/react-slot";
9
- import * as m from "@radix-ui/react-dialog";
10
- import * as P from "@radix-ui/react-label";
11
- import * as p from "@radix-ui/react-scroll-area";
12
- import * as x from "@radix-ui/react-tabs";
13
- import * as g from "@radix-ui/react-tooltip";
14
- import * as y from "@radix-ui/react-popover";
15
- import * as w from "@radix-ui/react-hover-card";
9
+ import * as f from "@radix-ui/react-dialog";
10
+ import * as O from "@radix-ui/react-label";
11
+ import * as u from "@radix-ui/react-scroll-area";
12
+ import * as b from "@radix-ui/react-tabs";
13
+ import * as x from "@radix-ui/react-tooltip";
14
+ import * as N from "@radix-ui/react-popover";
15
+ import * as C from "@radix-ui/react-hover-card";
16
16
  import * as d from "@radix-ui/react-dropdown-menu";
17
- import * as z from "@radix-ui/react-separator";
18
- import * as f from "@radix-ui/react-toast";
17
+ import * as j from "@radix-ui/react-separator";
18
+ import * as p from "@radix-ui/react-toast";
19
19
  import * as i from "@radix-ui/react-context-menu";
20
20
  import { clsx as Y } from "clsx";
21
21
  import { twMerge as J } from "tailwind-merge";
22
- const s = (...e) => J(Y(e)), K = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
23
- T.Root,
22
+ const s = (...e) => J(Y(e)), K = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
23
+ S.Root,
24
24
  {
25
25
  className: s(
26
26
  "peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-slate-900 data-[state=unchecked]:bg-slate-200 dark:focus-visible:ring-slate-800 dark:focus-visible:ring-offset-slate-950 dark:data-[state=checked]:bg-slate-50 dark:data-[state=unchecked]:bg-slate-800",
@@ -28,8 +28,8 @@ const s = (...e) => J(Y(e)), K = n.forwardRef(({ className: e, ...t }, a) => /*
28
28
  ),
29
29
  ...t,
30
30
  ref: a,
31
- children: /* @__PURE__ */ o.jsx(
32
- T.Thumb,
31
+ children: /* @__PURE__ */ o(
32
+ S.Thumb,
33
33
  {
34
34
  className: s(
35
35
  "pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0 dark:bg-slate-950"
@@ -38,8 +38,8 @@ const s = (...e) => J(Y(e)), K = n.forwardRef(({ className: e, ...t }, a) => /*
38
38
  )
39
39
  }
40
40
  ));
41
- K.displayName = T.Root.displayName;
42
- const D = h(
41
+ K.displayName = S.Root.displayName;
42
+ const A = w(
43
43
  "inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
44
44
  {
45
45
  variants: {
@@ -64,16 +64,13 @@ const D = h(
64
64
  }
65
65
  }
66
66
  ), W = n.forwardRef(
67
- ({ className: e, variant: t, size: a, asChild: r = !1, ...l }, j) => {
68
- const q = r ? X : "button";
69
- return /* @__PURE__ */ o.jsx(q, { className: s(D({ variant: t, size: a, className: e })), ref: j, ...l });
70
- }
67
+ ({ className: e, variant: t, size: a, asChild: r = !1, ...l }, R) => /* @__PURE__ */ o(r ? X : "button", { className: s(A({ variant: t, size: a, className: e })), ref: R, ...l })
71
68
  );
72
69
  W.displayName = "Button";
73
- const mt = u.Root, Z = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(u.Item, { ref: a, className: s("border-b", e), ...t }));
70
+ const ft = g.Root, Z = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(g.Item, { ref: a, className: s("border-b", e), ...t }));
74
71
  Z.displayName = "AccordionItem";
75
- const $ = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o.jsx(u.Header, { className: "flex", children: /* @__PURE__ */ o.jsxs(
76
- u.Trigger,
72
+ const $ = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o(g.Header, { className: "flex", children: /* @__PURE__ */ m(
73
+ g.Trigger,
77
74
  {
78
75
  ref: r,
79
76
  className: s(
@@ -83,13 +80,13 @@ const $ = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
83
80
  ...a,
84
81
  children: [
85
82
  t,
86
- a.hideArrow ? null : /* @__PURE__ */ o.jsx(Q, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
83
+ a.hideArrow ? null : /* @__PURE__ */ o(Q, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
87
84
  ]
88
85
  }
89
86
  ) }));
90
- $.displayName = u.Trigger.displayName;
91
- const ee = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o.jsx(
92
- u.Content,
87
+ $.displayName = g.Trigger.displayName;
88
+ const ee = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o(
89
+ g.Content,
93
90
  {
94
91
  ref: r,
95
92
  className: s(
@@ -97,11 +94,11 @@ const ee = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
97
94
  e
98
95
  ),
99
96
  ...a,
100
- children: /* @__PURE__ */ o.jsx("div", { className: "pb-4 pt-0", children: t })
97
+ children: /* @__PURE__ */ o("div", { className: "pb-4 pt-0", children: t })
101
98
  }
102
99
  ));
103
- ee.displayName = u.Content.displayName;
104
- const te = h(
100
+ ee.displayName = g.Content.displayName;
101
+ const te = w(
105
102
  "inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
106
103
  {
107
104
  variants: {
@@ -116,9 +113,9 @@ const te = h(
116
113
  variant: "default"
117
114
  }
118
115
  }
119
- ), ft = ({ className: e, variant: t, ...a }) => /* @__PURE__ */ o.jsx("div", { className: s(te({ variant: t }), e), ...a }), pt = c.Root, ut = c.Trigger, O = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx(c.Portal, { className: s(e), ...t });
120
- O.displayName = c.Portal.displayName;
121
- const V = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
116
+ ), pt = ({ className: e, variant: t, ...a }) => /* @__PURE__ */ o("div", { className: s(te({ variant: t }), e), ...a }), ut = c.Root, gt = c.Trigger, V = ({ className: e, ...t }) => /* @__PURE__ */ o(c.Portal, { className: s(e), ...t });
117
+ V.displayName = c.Portal.displayName;
118
+ const L = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
122
119
  c.Overlay,
123
120
  {
124
121
  className: s(
@@ -129,10 +126,10 @@ const V = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
129
126
  ref: a
130
127
  }
131
128
  ));
132
- V.displayName = c.Overlay.displayName;
133
- const ae = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsxs(O, { children: [
134
- /* @__PURE__ */ o.jsx(V, {}),
135
- /* @__PURE__ */ o.jsx(
129
+ L.displayName = c.Overlay.displayName;
130
+ const ae = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ m(V, { children: [
131
+ /* @__PURE__ */ o(L, {}),
132
+ /* @__PURE__ */ o(
136
133
  c.Content,
137
134
  {
138
135
  ref: a,
@@ -145,29 +142,29 @@ const ae = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsxs(O,
145
142
  )
146
143
  ] }));
147
144
  ae.displayName = c.Content.displayName;
148
- const oe = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
145
+ const oe = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
149
146
  oe.displayName = "AlertDialogHeader";
150
- const se = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
147
+ const se = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
151
148
  se.displayName = "AlertDialogFooter";
152
- const re = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(c.Title, { ref: a, className: s("text-lg font-semibold", e), ...t }));
149
+ const re = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(c.Title, { ref: a, className: s("text-lg font-semibold", e), ...t }));
153
150
  re.displayName = c.Title.displayName;
154
- const ne = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(c.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
151
+ const ne = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(c.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
155
152
  ne.displayName = c.Description.displayName;
156
- const de = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(c.Action, { ref: a, className: s(D(), e), ...t }));
153
+ const de = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(c.Action, { ref: a, className: s(A(), e), ...t }));
157
154
  de.displayName = c.Action.displayName;
158
- const ie = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
155
+ const ie = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
159
156
  c.Cancel,
160
157
  {
161
158
  ref: a,
162
- className: s(D({ variant: "outline" }), "mt-2 sm:mt-0", e),
159
+ className: s(A({ variant: "outline" }), "mt-2 sm:mt-0", e),
163
160
  ...t
164
161
  }
165
162
  ));
166
163
  ie.displayName = c.Cancel.displayName;
167
- const xt = m.Root, gt = m.Trigger, E = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx(m.Portal, { className: s(e), ...t });
168
- E.displayName = m.Portal.displayName;
169
- const L = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
170
- m.Overlay,
164
+ const bt = f.Root, xt = f.Trigger, E = ({ className: e, ...t }) => /* @__PURE__ */ o(f.Portal, { className: s(e), ...t });
165
+ E.displayName = f.Portal.displayName;
166
+ const _ = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
167
+ f.Overlay,
171
168
  {
172
169
  ref: a,
173
170
  className: s(
@@ -177,11 +174,11 @@ const L = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
177
174
  ...t
178
175
  }
179
176
  ));
180
- L.displayName = m.Overlay.displayName;
181
- const le = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o.jsxs(E, { children: [
182
- /* @__PURE__ */ o.jsx(L, {}),
183
- /* @__PURE__ */ o.jsxs(
184
- m.Content,
177
+ _.displayName = f.Overlay.displayName;
178
+ const le = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ m(E, { children: [
179
+ /* @__PURE__ */ o(_, {}),
180
+ /* @__PURE__ */ m(
181
+ f.Content,
185
182
  {
186
183
  ref: r,
187
184
  className: s(
@@ -191,53 +188,53 @@ const le = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
191
188
  ...a,
192
189
  children: [
193
190
  t,
194
- /* @__PURE__ */ o.jsxs(m.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
195
- /* @__PURE__ */ o.jsx(A, { className: "h-4 w-4" }),
196
- /* @__PURE__ */ o.jsx("span", { className: "sr-only", children: "Close" })
191
+ /* @__PURE__ */ m(f.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
192
+ /* @__PURE__ */ o(k, { className: "h-4 w-4" }),
193
+ /* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
197
194
  ] })
198
195
  ]
199
196
  }
200
197
  )
201
198
  ] }));
202
- le.displayName = m.Content.displayName;
203
- const ce = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
199
+ le.displayName = f.Content.displayName;
200
+ const ce = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
204
201
  ce.displayName = "DialogHeader";
205
- const me = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
202
+ const me = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
206
203
  me.displayName = "DialogFooter";
207
- const fe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
208
- m.Title,
204
+ const fe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
205
+ f.Title,
209
206
  {
210
207
  ref: a,
211
208
  className: s("text-lg font-semibold leading-none tracking-tight", e),
212
209
  ...t
213
210
  }
214
211
  ));
215
- fe.displayName = m.Title.displayName;
216
- const pe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(m.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
217
- pe.displayName = m.Description.displayName;
218
- const ue = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s("rounded-xl border bg-card text-card-foreground shadow", e), ...t }));
212
+ fe.displayName = f.Title.displayName;
213
+ const pe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(f.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
214
+ pe.displayName = f.Description.displayName;
215
+ const ue = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s("rounded-xl border bg-card text-card-foreground shadow", e), ...t }));
219
216
  ue.displayName = "Card";
220
- const xe = n.forwardRef(
221
- ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s("flex flex-col space-y-1.5 p-6", e), ...t })
222
- );
223
- xe.displayName = "CardHeader";
224
217
  const ge = n.forwardRef(
225
- ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("h3", { ref: a, className: s("font-semibold leading-none tracking-tight", e), ...t })
218
+ ({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s("flex flex-col space-y-1.5 p-6", e), ...t })
226
219
  );
227
- ge.displayName = "CardTitle";
220
+ ge.displayName = "CardHeader";
228
221
  const be = n.forwardRef(
229
- ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("p", { ref: a, className: s("text-sm text-muted-foreground", e), ...t })
222
+ ({ className: e, ...t }, a) => /* @__PURE__ */ o("h3", { ref: a, className: s("font-semibold leading-none tracking-tight", e), ...t })
230
223
  );
231
- be.displayName = "CardDescription";
224
+ be.displayName = "CardTitle";
225
+ const xe = n.forwardRef(
226
+ ({ className: e, ...t }, a) => /* @__PURE__ */ o("p", { ref: a, className: s("text-sm text-muted-foreground", e), ...t })
227
+ );
228
+ xe.displayName = "CardDescription";
232
229
  const ye = n.forwardRef(
233
- ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s("p-6 pt-0", e), ...t })
230
+ ({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s("p-6 pt-0", e), ...t })
234
231
  );
235
232
  ye.displayName = "CardContent";
236
233
  const Ne = n.forwardRef(
237
- ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s(" flex items-center p-6 pt-0", e), ...t })
234
+ ({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s(" flex items-center p-6 pt-0", e), ...t })
238
235
  );
239
236
  Ne.displayName = "CardFooter";
240
- const ve = n.forwardRef(({ className: e, type: t, ...a }, r) => /* @__PURE__ */ o.jsx(
237
+ const ve = n.forwardRef(({ className: e, type: t, ...a }, r) => /* @__PURE__ */ o(
241
238
  "input",
242
239
  {
243
240
  type: t,
@@ -253,9 +250,9 @@ const ve = n.forwardRef(({ className: e, type: t, ...a }, r) => /* @__PURE__ */
253
250
  }
254
251
  ));
255
252
  ve.displayName = "Input";
256
- const he = h("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), we = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(P.Root, { ref: a, className: s(he(), e), ...t }));
257
- we.displayName = P.Root.displayName;
258
- const je = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
253
+ const he = w("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), we = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(O.Root, { ref: a, className: s(he(), e), ...t }));
254
+ we.displayName = O.Root.displayName;
255
+ const Ce = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
259
256
  "textarea",
260
257
  {
261
258
  className: s(
@@ -269,15 +266,15 @@ const je = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
269
266
  spellCheck: "false"
270
267
  }
271
268
  ));
272
- je.displayName = "Textarea";
273
- const Ce = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o.jsxs(p.Root, { ref: r, className: s("relative overflow-hidden", e), ...a, children: [
274
- /* @__PURE__ */ o.jsx(p.Viewport, { className: "h-full w-full rounded-[inherit]", children: t }),
275
- /* @__PURE__ */ o.jsx(_, {}),
276
- /* @__PURE__ */ o.jsx(p.Corner, {})
269
+ Ce.displayName = "Textarea";
270
+ const Re = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ m(u.Root, { ref: r, className: s("relative overflow-hidden", e), ...a, children: [
271
+ /* @__PURE__ */ o(u.Viewport, { className: "h-full w-full rounded-[inherit]", children: t }),
272
+ /* @__PURE__ */ o(H, {}),
273
+ /* @__PURE__ */ o(u.Corner, {})
277
274
  ] }));
278
- Ce.displayName = p.Root.displayName;
279
- const _ = n.forwardRef(({ className: e, orientation: t = "vertical", ...a }, r) => /* @__PURE__ */ o.jsx(
280
- p.ScrollAreaScrollbar,
275
+ Re.displayName = u.Root.displayName;
276
+ const H = n.forwardRef(({ className: e, orientation: t = "vertical", ...a }, r) => /* @__PURE__ */ o(
277
+ u.ScrollAreaScrollbar,
281
278
  {
282
279
  ref: r,
283
280
  orientation: t,
@@ -288,12 +285,12 @@ const _ = n.forwardRef(({ className: e, orientation: t = "vertical", ...a }, r)
288
285
  e
289
286
  ),
290
287
  ...a,
291
- children: /* @__PURE__ */ o.jsx(p.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
288
+ children: /* @__PURE__ */ o(u.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
292
289
  }
293
290
  ));
294
- _.displayName = p.ScrollAreaScrollbar.displayName;
295
- const bt = x.Root, Re = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
296
- x.List,
291
+ H.displayName = u.ScrollAreaScrollbar.displayName;
292
+ const yt = b.Root, Te = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
293
+ b.List,
297
294
  {
298
295
  ref: a,
299
296
  className: s(
@@ -303,9 +300,9 @@ const bt = x.Root, Re = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__
303
300
  ...t
304
301
  }
305
302
  ));
306
- Re.displayName = x.List.displayName;
307
- const Te = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
308
- x.Trigger,
303
+ Te.displayName = b.List.displayName;
304
+ const De = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
305
+ b.Trigger,
309
306
  {
310
307
  ref: a,
311
308
  className: s(
@@ -315,9 +312,9 @@ const Te = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
315
312
  ...t
316
313
  }
317
314
  ));
318
- Te.displayName = x.Trigger.displayName;
319
- const De = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
320
- x.Content,
315
+ De.displayName = b.Trigger.displayName;
316
+ const Se = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
317
+ b.Content,
321
318
  {
322
319
  ref: a,
323
320
  className: s(
@@ -327,9 +324,9 @@ const De = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
327
324
  ...t
328
325
  }
329
326
  ));
330
- De.displayName = x.Content.displayName;
331
- const yt = g.Portal, Nt = g.Provider, vt = g.Root, ht = g.Trigger, Se = n.forwardRef(({ className: e, sideOffset: t = 4, ...a }, r) => /* @__PURE__ */ o.jsx(
332
- g.Content,
327
+ Se.displayName = b.Content.displayName;
328
+ const Nt = x.Portal, vt = x.Provider, ht = x.Root, wt = x.Trigger, Ae = n.forwardRef(({ className: e, sideOffset: t = 4, ...a }, r) => /* @__PURE__ */ o(
329
+ x.Content,
333
330
  {
334
331
  ref: r,
335
332
  sideOffset: t,
@@ -340,9 +337,9 @@ const yt = g.Portal, Nt = g.Provider, vt = g.Root, ht = g.Trigger, Se = n.forwar
340
337
  ...a
341
338
  }
342
339
  ));
343
- Se.displayName = g.Content.displayName;
344
- const wt = y.Root, jt = y.Trigger, Ae = n.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...r }, l) => /* @__PURE__ */ o.jsx(y.Portal, { children: /* @__PURE__ */ o.jsx(
345
- y.Content,
340
+ Ae.displayName = x.Content.displayName;
341
+ const Ct = N.Root, Rt = N.Trigger, Ie = n.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...r }, l) => /* @__PURE__ */ o(N.Portal, { children: /* @__PURE__ */ o(
342
+ N.Content,
346
343
  {
347
344
  ref: l,
348
345
  align: t,
@@ -354,9 +351,9 @@ const wt = y.Root, jt = y.Trigger, Ae = n.forwardRef(({ className: e, align: t =
354
351
  ...r
355
352
  }
356
353
  ) }));
357
- Ae.displayName = y.Content.displayName;
358
- const Ct = w.Root, Rt = w.Trigger, Ie = n.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...r }, l) => /* @__PURE__ */ o.jsx(
359
- w.Content,
354
+ Ie.displayName = N.Content.displayName;
355
+ const Tt = C.Root, Dt = C.Trigger, ke = n.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...r }, l) => /* @__PURE__ */ o(
356
+ C.Content,
360
357
  {
361
358
  ref: l,
362
359
  align: t,
@@ -368,8 +365,8 @@ const Ct = w.Root, Rt = w.Trigger, Ie = n.forwardRef(({ className: e, align: t =
368
365
  ...r
369
366
  }
370
367
  ));
371
- Ie.displayName = w.Content.displayName;
372
- const Tt = d.Root, Dt = d.Trigger, St = d.Group, At = d.Portal, It = d.Sub, kt = d.RadioGroup, ke = n.forwardRef(({ className: e, inset: t, children: a, ...r }, l) => /* @__PURE__ */ o.jsxs(
368
+ ke.displayName = C.Content.displayName;
369
+ const St = d.Root, At = d.Trigger, It = d.Group, kt = d.Portal, Mt = d.Sub, Pt = d.RadioGroup, Me = n.forwardRef(({ className: e, inset: t, children: a, ...r }, l) => /* @__PURE__ */ m(
373
370
  d.SubTrigger,
374
371
  {
375
372
  ref: l,
@@ -381,12 +378,12 @@ const Tt = d.Root, Dt = d.Trigger, St = d.Group, At = d.Portal, It = d.Sub, kt =
381
378
  ...r,
382
379
  children: [
383
380
  a,
384
- /* @__PURE__ */ o.jsx(I, { className: "ml-auto h-4 w-4" })
381
+ /* @__PURE__ */ o(M, { className: "ml-auto h-4 w-4" })
385
382
  ]
386
383
  }
387
384
  ));
388
- ke.displayName = d.SubTrigger.displayName;
389
- const Me = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
385
+ Me.displayName = d.SubTrigger.displayName;
386
+ const Pe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
390
387
  d.SubContent,
391
388
  {
392
389
  ref: a,
@@ -397,8 +394,8 @@ const Me = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
397
394
  ...t
398
395
  }
399
396
  ));
400
- Me.displayName = d.SubContent.displayName;
401
- const Pe = n.forwardRef(({ className: e, sideOffset: t = 4, ...a }, r) => /* @__PURE__ */ o.jsx(d.Portal, { children: /* @__PURE__ */ o.jsx(
397
+ Pe.displayName = d.SubContent.displayName;
398
+ const ze = n.forwardRef(({ className: e, sideOffset: t = 4, ...a }, r) => /* @__PURE__ */ o(d.Portal, { children: /* @__PURE__ */ o(
402
399
  d.Content,
403
400
  {
404
401
  ref: r,
@@ -411,8 +408,8 @@ const Pe = n.forwardRef(({ className: e, sideOffset: t = 4, ...a }, r) => /* @__
411
408
  ...a
412
409
  }
413
410
  ) }));
414
- Pe.displayName = d.Content.displayName;
415
- const ze = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o.jsx(
411
+ ze.displayName = d.Content.displayName;
412
+ const Oe = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o(
416
413
  d.Item,
417
414
  {
418
415
  ref: r,
@@ -424,8 +421,8 @@ const ze = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */
424
421
  ...a
425
422
  }
426
423
  ));
427
- ze.displayName = d.Item.displayName;
428
- const Oe = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) => /* @__PURE__ */ o.jsxs(
424
+ Oe.displayName = d.Item.displayName;
425
+ const je = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) => /* @__PURE__ */ m(
429
426
  d.CheckboxItem,
430
427
  {
431
428
  ref: l,
@@ -436,13 +433,13 @@ const Oe = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) =>
436
433
  checked: a,
437
434
  ...r,
438
435
  children: [
439
- /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(d.ItemIndicator, { children: /* @__PURE__ */ o.jsx(k, { className: "h-4 w-4" }) }) }),
436
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(d.ItemIndicator, { children: /* @__PURE__ */ o(P, { className: "h-4 w-4" }) }) }),
440
437
  t
441
438
  ]
442
439
  }
443
440
  ));
444
- Oe.displayName = d.CheckboxItem.displayName;
445
- const Ve = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o.jsxs(
441
+ je.displayName = d.CheckboxItem.displayName;
442
+ const Ve = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ m(
446
443
  d.RadioItem,
447
444
  {
448
445
  ref: r,
@@ -452,13 +449,13 @@ const Ve = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
452
449
  ),
453
450
  ...a,
454
451
  children: [
455
- /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(d.ItemIndicator, { children: /* @__PURE__ */ o.jsx(M, { className: "h-4 w-4 fill-current" }) }) }),
452
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(d.ItemIndicator, { children: /* @__PURE__ */ o(z, { className: "h-4 w-4 fill-current" }) }) }),
456
453
  t
457
454
  ]
458
455
  }
459
456
  ));
460
457
  Ve.displayName = d.RadioItem.displayName;
461
- const Ee = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o.jsx(
458
+ const Le = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o(
462
459
  d.Label,
463
460
  {
464
461
  ref: r,
@@ -466,13 +463,13 @@ const Ee = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */
466
463
  ...a
467
464
  }
468
465
  ));
469
- Ee.displayName = d.Label.displayName;
470
- const Le = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(d.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-muted", e), ...t }));
471
- Le.displayName = d.Separator.displayName;
472
- const _e = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("span", { className: s("ml-auto text-xs tracking-widest opacity-60", e), ...t });
466
+ Le.displayName = d.Label.displayName;
467
+ const Ee = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(d.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-muted", e), ...t }));
468
+ Ee.displayName = d.Separator.displayName;
469
+ const _e = ({ className: e, ...t }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest opacity-60", e), ...t });
473
470
  _e.displayName = "DropdownMenuShortcut";
474
- const He = n.forwardRef(({ className: e, orientation: t = "horizontal", decorative: a = !0, ...r }, l) => /* @__PURE__ */ o.jsx(
475
- z.Root,
471
+ const He = n.forwardRef(({ className: e, orientation: t = "horizontal", decorative: a = !0, ...r }, l) => /* @__PURE__ */ o(
472
+ j.Root,
476
473
  {
477
474
  ref: l,
478
475
  decorative: a,
@@ -481,22 +478,22 @@ const He = n.forwardRef(({ className: e, orientation: t = "horizontal", decorati
481
478
  ...r
482
479
  }
483
480
  ));
484
- He.displayName = z.Root.displayName;
481
+ He.displayName = j.Root.displayName;
485
482
  const Ge = 1, Fe = 1e6;
486
- let C = 0;
483
+ let T = 0;
487
484
  function Be() {
488
- return C = (C + 1) % Number.MAX_VALUE, C.toString();
485
+ return T = (T + 1) % Number.MAX_VALUE, T.toString();
489
486
  }
490
- const R = /* @__PURE__ */ new Map(), S = (e) => {
491
- if (R.has(e))
487
+ const D = /* @__PURE__ */ new Map(), I = (e) => {
488
+ if (D.has(e))
492
489
  return;
493
490
  const t = setTimeout(() => {
494
- R.delete(e), b({
491
+ D.delete(e), y({
495
492
  type: "REMOVE_TOAST",
496
493
  toastId: e
497
494
  });
498
495
  }, Fe);
499
- R.set(e, t);
496
+ D.set(e, t);
500
497
  }, Ue = (e, t) => {
501
498
  switch (t.type) {
502
499
  case "ADD_TOAST":
@@ -511,8 +508,8 @@ const R = /* @__PURE__ */ new Map(), S = (e) => {
511
508
  };
512
509
  case "DISMISS_TOAST": {
513
510
  const { toastId: a } = t;
514
- return a ? S(a) : e.toasts.forEach((r) => {
515
- S(r.id);
511
+ return a ? I(a) : e.toasts.forEach((r) => {
512
+ I(r.id);
516
513
  }), {
517
514
  ...e,
518
515
  toasts: e.toasts.map(
@@ -532,19 +529,19 @@ const R = /* @__PURE__ */ new Map(), S = (e) => {
532
529
  toasts: e.toasts.filter((a) => a.id !== t.toastId)
533
530
  };
534
531
  }
535
- }, N = [];
536
- let v = { toasts: [] };
537
- function b(e) {
538
- v = Ue(v, e), N.forEach((t) => {
539
- t(v);
532
+ }, v = [];
533
+ let h = { toasts: [] };
534
+ function y(e) {
535
+ h = Ue(h, e), v.forEach((t) => {
536
+ t(h);
540
537
  });
541
538
  }
542
539
  function qe({ ...e }) {
543
- const t = Be(), a = (l) => b({
540
+ const t = Be(), a = (l) => y({
544
541
  type: "UPDATE_TOAST",
545
542
  toast: { ...l, id: t }
546
- }), r = () => b({ type: "DISMISS_TOAST", toastId: t });
547
- return b({
543
+ }), r = () => y({ type: "DISMISS_TOAST", toastId: t });
544
+ return y({
548
545
  type: "ADD_TOAST",
549
546
  toast: {
550
547
  ...e,
@@ -561,18 +558,18 @@ function qe({ ...e }) {
561
558
  };
562
559
  }
563
560
  function Qe() {
564
- const [e, t] = n.useState(v);
565
- return n.useEffect(() => (N.push(t), () => {
566
- const a = N.indexOf(t);
567
- a > -1 && N.splice(a, 1);
561
+ const [e, t] = n.useState(h);
562
+ return n.useEffect(() => (v.push(t), () => {
563
+ const a = v.indexOf(t);
564
+ a > -1 && v.splice(a, 1);
568
565
  }), [e]), {
569
566
  ...e,
570
567
  toast: qe,
571
- dismiss: (a) => b({ type: "DISMISS_TOAST", toastId: a })
568
+ dismiss: (a) => y({ type: "DISMISS_TOAST", toastId: a })
572
569
  };
573
570
  }
574
- const Xe = f.Provider, H = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
575
- f.Viewport,
571
+ const Xe = p.Provider, G = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
572
+ p.Viewport,
576
573
  {
577
574
  ref: a,
578
575
  className: s(
@@ -582,8 +579,8 @@ const Xe = f.Provider, H = n.forwardRef(({ className: e, ...t }, a) => /* @__PUR
582
579
  ...t
583
580
  }
584
581
  ));
585
- H.displayName = f.Viewport.displayName;
586
- const Ye = h(
582
+ G.displayName = p.Viewport.displayName;
583
+ const Ye = w(
587
584
  "group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
588
585
  {
589
586
  variants: {
@@ -596,10 +593,10 @@ const Ye = h(
596
593
  variant: "default"
597
594
  }
598
595
  }
599
- ), G = n.forwardRef(({ className: e, variant: t, ...a }, r) => /* @__PURE__ */ o.jsx(f.Root, { ref: r, className: s(Ye({ variant: t }), e), ...a }));
600
- G.displayName = f.Root.displayName;
601
- const Je = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
602
- f.Action,
596
+ ), F = n.forwardRef(({ className: e, variant: t, ...a }, r) => /* @__PURE__ */ o(p.Root, { ref: r, className: s(Ye({ variant: t }), e), ...a }));
597
+ F.displayName = p.Root.displayName;
598
+ const Je = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
599
+ p.Action,
603
600
  {
604
601
  ref: a,
605
602
  className: s(
@@ -609,9 +606,9 @@ const Je = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
609
606
  ...t
610
607
  }
611
608
  ));
612
- Je.displayName = f.Action.displayName;
613
- const F = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
614
- f.Close,
609
+ Je.displayName = p.Action.displayName;
610
+ const B = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
611
+ p.Close,
615
612
  {
616
613
  ref: a,
617
614
  className: s(
@@ -620,29 +617,29 @@ const F = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
620
617
  ),
621
618
  "toast-close": "",
622
619
  ...t,
623
- children: /* @__PURE__ */ o.jsx(A, { className: "h-4 w-4" })
620
+ children: /* @__PURE__ */ o(k, { className: "h-4 w-4" })
624
621
  }
625
622
  ));
626
- F.displayName = f.Close.displayName;
627
- const B = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(f.Title, { ref: a, className: s("text-sm font-semibold [&+div]:text-xs", e), ...t }));
628
- B.displayName = f.Title.displayName;
629
- const U = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(f.Description, { ref: a, className: s("text-sm opacity-90", e), ...t }));
630
- U.displayName = f.Description.displayName;
631
- function Mt() {
623
+ B.displayName = p.Close.displayName;
624
+ const U = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(p.Title, { ref: a, className: s("text-sm font-semibold [&+div]:text-xs", e), ...t }));
625
+ U.displayName = p.Title.displayName;
626
+ const q = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(p.Description, { ref: a, className: s("text-sm opacity-90", e), ...t }));
627
+ q.displayName = p.Description.displayName;
628
+ function zt() {
632
629
  const { toasts: e } = Qe();
633
- return /* @__PURE__ */ o.jsxs(Xe, { children: [
634
- e.map(({ id: t, title: a, description: r, action: l, ...j }) => /* @__PURE__ */ o.jsxs(G, { ...j, children: [
635
- /* @__PURE__ */ o.jsxs("div", { className: "grid gap-1", children: [
636
- a && /* @__PURE__ */ o.jsx(B, { children: a }),
637
- r && /* @__PURE__ */ o.jsx(U, { children: r })
630
+ return /* @__PURE__ */ m(Xe, { children: [
631
+ e.map(({ id: t, title: a, description: r, action: l, ...R }) => /* @__PURE__ */ m(F, { ...R, children: [
632
+ /* @__PURE__ */ m("div", { className: "grid gap-1", children: [
633
+ a && /* @__PURE__ */ o(U, { children: a }),
634
+ r && /* @__PURE__ */ o(q, { children: r })
638
635
  ] }),
639
636
  l,
640
- /* @__PURE__ */ o.jsx(F, {})
637
+ /* @__PURE__ */ o(B, {})
641
638
  ] }, t)),
642
- /* @__PURE__ */ o.jsx(H, {})
639
+ /* @__PURE__ */ o(G, {})
643
640
  ] });
644
641
  }
645
- const Pt = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("animate-pulse rounded-md bg-primary/10", e), ...t }), zt = i.Root, Ot = i.Trigger, Vt = i.Group, Et = i.Portal, Lt = i.Sub, _t = i.RadioGroup, Ke = n.forwardRef(({ className: e, inset: t, children: a, ...r }, l) => /* @__PURE__ */ o.jsxs(
642
+ const Ot = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("animate-pulse rounded-md bg-primary/10", e), ...t }), jt = i.Root, Vt = i.Trigger, Lt = i.Group, Et = i.Portal, _t = i.Sub, Ht = i.RadioGroup, Ke = n.forwardRef(({ className: e, inset: t, children: a, ...r }, l) => /* @__PURE__ */ m(
646
643
  i.SubTrigger,
647
644
  {
648
645
  ref: l,
@@ -654,12 +651,12 @@ const Pt = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className:
654
651
  ...r,
655
652
  children: [
656
653
  a,
657
- /* @__PURE__ */ o.jsx(I, { className: "ml-auto h-4 w-4" })
654
+ /* @__PURE__ */ o(M, { className: "ml-auto h-4 w-4" })
658
655
  ]
659
656
  }
660
657
  ));
661
658
  Ke.displayName = i.SubTrigger.displayName;
662
- const We = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
659
+ const We = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
663
660
  i.SubContent,
664
661
  {
665
662
  ref: a,
@@ -671,7 +668,7 @@ const We = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
671
668
  }
672
669
  ));
673
670
  We.displayName = i.SubContent.displayName;
674
- const Ze = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(i.Portal, { children: /* @__PURE__ */ o.jsx(
671
+ const Ze = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(i.Portal, { children: /* @__PURE__ */ o(
675
672
  i.Content,
676
673
  {
677
674
  ref: a,
@@ -683,7 +680,7 @@ const Ze = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(i.P
683
680
  }
684
681
  ) }));
685
682
  Ze.displayName = i.Content.displayName;
686
- const $e = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o.jsx(
683
+ const $e = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o(
687
684
  i.Item,
688
685
  {
689
686
  ref: r,
@@ -696,7 +693,7 @@ const $e = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */
696
693
  }
697
694
  ));
698
695
  $e.displayName = i.Item.displayName;
699
- const et = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) => /* @__PURE__ */ o.jsxs(
696
+ const et = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) => /* @__PURE__ */ m(
700
697
  i.CheckboxItem,
701
698
  {
702
699
  ref: l,
@@ -707,13 +704,13 @@ const et = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) =>
707
704
  checked: a,
708
705
  ...r,
709
706
  children: [
710
- /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(i.ItemIndicator, { children: /* @__PURE__ */ o.jsx(k, { className: "h-4 w-4" }) }) }),
707
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(i.ItemIndicator, { children: /* @__PURE__ */ o(P, { className: "h-4 w-4" }) }) }),
711
708
  t
712
709
  ]
713
710
  }
714
711
  ));
715
712
  et.displayName = i.CheckboxItem.displayName;
716
- const tt = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o.jsxs(
713
+ const tt = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ m(
717
714
  i.RadioItem,
718
715
  {
719
716
  ref: r,
@@ -723,13 +720,13 @@ const tt = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
723
720
  ),
724
721
  ...a,
725
722
  children: [
726
- /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(i.ItemIndicator, { children: /* @__PURE__ */ o.jsx(M, { className: "h-4 w-4 fill-current" }) }) }),
723
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(i.ItemIndicator, { children: /* @__PURE__ */ o(z, { className: "h-4 w-4 fill-current" }) }) }),
727
724
  t
728
725
  ]
729
726
  }
730
727
  ));
731
728
  tt.displayName = i.RadioItem.displayName;
732
- const at = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o.jsx(
729
+ const at = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o(
733
730
  i.Label,
734
731
  {
735
732
  ref: r,
@@ -738,61 +735,61 @@ const at = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */
738
735
  }
739
736
  ));
740
737
  at.displayName = i.Label.displayName;
741
- const ot = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(i.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-border", e), ...t }));
738
+ const ot = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(i.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-border", e), ...t }));
742
739
  ot.displayName = i.Separator.displayName;
743
- const st = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
740
+ const st = ({ className: e, ...t }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
744
741
  st.displayName = "ContextMenuShortcut";
745
742
  export {
746
- jt as $,
747
- mt as A,
743
+ St as $,
744
+ ft as A,
748
745
  W as B,
749
- fe as C,
750
- Tt as D,
751
- pe as E,
752
- ue as F,
753
- xe as G,
754
- Ne as H,
755
- ge as I,
756
- be as J,
757
- ye as K,
758
- ve as L,
759
- we as M,
760
- Ce as N,
761
- _ as O,
762
- bt as P,
763
- Re as Q,
764
- Te as R,
765
- Pt as S,
766
- je as T,
767
- De as U,
768
- vt as V,
769
- ht as W,
770
- Se as X,
771
- Nt as Y,
772
- yt as Z,
773
- wt as _,
774
- Dt as a,
775
- Ae as a0,
776
- Ct as a1,
777
- Rt as a2,
778
- Ie as a3,
779
- Oe as a4,
780
- Ve as a5,
746
+ ue as C,
747
+ bt as D,
748
+ xe as E,
749
+ ye as F,
750
+ Re as G,
751
+ H,
752
+ ve as I,
753
+ yt as J,
754
+ Te as K,
755
+ we as L,
756
+ De as M,
757
+ Se as N,
758
+ ht as O,
759
+ wt as P,
760
+ Ae as Q,
761
+ vt as R,
762
+ Ot as S,
763
+ Ce as T,
764
+ Nt as U,
765
+ Ct as V,
766
+ Rt as W,
767
+ Ie as X,
768
+ Tt as Y,
769
+ Dt as Z,
770
+ ke as _,
771
+ le as a,
772
+ At as a0,
773
+ ze as a1,
774
+ Oe as a2,
775
+ je as a3,
776
+ Ve as a4,
777
+ Le as a5,
781
778
  Ee as a6,
782
- Le as a7,
783
- _e as a8,
784
- St as a9,
785
- At as aa,
786
- It as ab,
779
+ _e as a7,
780
+ It as a8,
781
+ kt as a9,
782
+ Mt as aa,
783
+ Pe as ab,
787
784
  Me as ac,
788
- ke as ad,
789
- kt as ae,
785
+ Pt as ad,
786
+ He as ae,
790
787
  Ue as af,
791
788
  Qe as ag,
792
789
  qe as ah,
793
- Mt as ai,
794
- zt as aj,
795
- Ot as ak,
790
+ zt as ai,
791
+ jt as aj,
792
+ Vt as ak,
796
793
  Ze as al,
797
794
  $e as am,
798
795
  et as an,
@@ -800,35 +797,35 @@ export {
800
797
  at as ap,
801
798
  ot as aq,
802
799
  st as ar,
803
- Vt as as,
800
+ Lt as as,
804
801
  Et as at,
805
- Lt as au,
802
+ _t as au,
806
803
  We as av,
807
804
  Ke as aw,
808
- _t as ax,
809
- Pe as b,
810
- ze as c,
811
- He as d,
812
- s as e,
813
- xt as f,
814
- le as g,
815
- K as h,
816
- D as i,
817
- Z as j,
818
- $ as k,
819
- ee as l,
820
- ft as m,
821
- te as n,
822
- pt as o,
823
- ut as p,
824
- ae as q,
825
- oe as r,
826
- se as s,
827
- re as t,
828
- ne as u,
829
- de as v,
830
- ie as w,
831
- gt as x,
832
- ce as y,
833
- me as z
805
+ Ht as ax,
806
+ K as b,
807
+ s as c,
808
+ A as d,
809
+ Z as e,
810
+ $ as f,
811
+ ee as g,
812
+ pt as h,
813
+ te as i,
814
+ ut as j,
815
+ gt as k,
816
+ ae as l,
817
+ oe as m,
818
+ se as n,
819
+ re as o,
820
+ ne as p,
821
+ de as q,
822
+ ie as r,
823
+ xt as s,
824
+ ce as t,
825
+ me as u,
826
+ fe as v,
827
+ pe as w,
828
+ ge as x,
829
+ Ne as y,
830
+ be as z
834
831
  };