@chaibuilder/sdk 2.2.34 → 2.2.36

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.
@@ -0,0 +1,1083 @@
1
+ import { jsx as o, jsxs as p } from "react/jsx-runtime";
2
+ import * as i from "@radix-ui/react-dropdown-menu";
3
+ import { ChevronRight as D, Check as S, Circle as I, X as z, Search as U, ChevronDown as k, ChevronUp as E } from "lucide-react";
4
+ import * as r from "react";
5
+ import { cva as N } from "class-variance-authority";
6
+ import { Command as u } from "cmdk";
7
+ import * as d from "@radix-ui/react-dialog";
8
+ import * as h from "@radix-ui/react-popover";
9
+ import * as y from "@radix-ui/react-tooltip";
10
+ import * as b from "@radix-ui/react-accordion";
11
+ import * as f from "@radix-ui/react-alert-dialog";
12
+ import { Slot as $ } from "@radix-ui/react-slot";
13
+ import * as v from "@radix-ui/react-avatar";
14
+ import * as l from "@radix-ui/react-context-menu";
15
+ import * as R from "@radix-ui/react-hover-card";
16
+ import * as A from "@radix-ui/react-label";
17
+ import * as g from "@radix-ui/react-scroll-area";
18
+ import * as c from "@radix-ui/react-select";
19
+ import * as P from "@radix-ui/react-separator";
20
+ import * as w from "@radix-ui/react-slider";
21
+ import { useTheme as q } from "next-themes";
22
+ import { Toaster as X } from "sonner";
23
+ import * as C from "@radix-ui/react-switch";
24
+ import * as x from "@radix-ui/react-tabs";
25
+ import * as M from "@radix-ui/react-toggle";
26
+ import { clsx as J } from "clsx";
27
+ import { twMerge as K } from "tailwind-merge";
28
+ function s(...a) {
29
+ return K(J(a));
30
+ }
31
+ const T = N(
32
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap 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 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
33
+ {
34
+ variants: {
35
+ variant: {
36
+ default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
37
+ destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
38
+ outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
39
+ secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
40
+ ghost: "hover:bg-accent hover:text-accent-foreground",
41
+ link: "text-primary underline-offset-4 hover:underline"
42
+ },
43
+ size: {
44
+ default: "h-9 px-4 py-2",
45
+ sm: "h-8 rounded-md px-3 text-xs",
46
+ lg: "h-10 rounded-md px-8",
47
+ icon: "h-9 w-9"
48
+ }
49
+ },
50
+ defaultVariants: {
51
+ variant: "default",
52
+ size: "default"
53
+ }
54
+ }
55
+ ), Q = r.forwardRef(
56
+ ({ className: a, variant: e, size: t, asChild: n = !1, ...m }, O) => /* @__PURE__ */ o(
57
+ n ? $ : "button",
58
+ {
59
+ className: s(T({ variant: e, size: t, className: a })),
60
+ ref: O,
61
+ ...m
62
+ }
63
+ )
64
+ );
65
+ Q.displayName = "Button";
66
+ const Va = i.Root, Ga = i.Trigger, Ha = i.Group, Ba = i.Portal, Fa = i.Sub, Oa = i.RadioGroup, W = r.forwardRef(({ className: a, inset: e, children: t, ...n }, m) => /* @__PURE__ */ p(
67
+ i.SubTrigger,
68
+ {
69
+ ref: m,
70
+ className: s(
71
+ "flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
72
+ e && "pl-8",
73
+ a
74
+ ),
75
+ ...n,
76
+ children: [
77
+ t,
78
+ /* @__PURE__ */ o(D, { className: "ml-auto" })
79
+ ]
80
+ }
81
+ ));
82
+ W.displayName = i.SubTrigger.displayName;
83
+ const Y = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
84
+ i.SubContent,
85
+ {
86
+ ref: t,
87
+ className: s(
88
+ "z-50 min-w-[8rem] origin-[--radix-dropdown-menu-content-transform-origin] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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",
89
+ a
90
+ ),
91
+ ...e
92
+ }
93
+ ));
94
+ Y.displayName = i.SubContent.displayName;
95
+ const Z = r.forwardRef(({ className: a, sideOffset: e = 4, ...t }, n) => /* @__PURE__ */ o(i.Portal, { children: /* @__PURE__ */ o(
96
+ i.Content,
97
+ {
98
+ ref: n,
99
+ sideOffset: e,
100
+ className: s(
101
+ "z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md",
102
+ "origin-[--radix-dropdown-menu-content-transform-origin] 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",
103
+ a
104
+ ),
105
+ ...t
106
+ }
107
+ ) }));
108
+ Z.displayName = i.Content.displayName;
109
+ const ee = r.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(
110
+ i.Item,
111
+ {
112
+ ref: n,
113
+ className: s(
114
+ "relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",
115
+ e && "pl-8",
116
+ a
117
+ ),
118
+ ...t
119
+ }
120
+ ));
121
+ ee.displayName = i.Item.displayName;
122
+ const ae = r.forwardRef(({ className: a, children: e, checked: t, ...n }, m) => /* @__PURE__ */ p(
123
+ i.CheckboxItem,
124
+ {
125
+ ref: m,
126
+ className: s(
127
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
128
+ a
129
+ ),
130
+ checked: t,
131
+ ...n,
132
+ children: [
133
+ /* @__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(S, { className: "h-4 w-4" }) }) }),
134
+ e
135
+ ]
136
+ }
137
+ ));
138
+ ae.displayName = i.CheckboxItem.displayName;
139
+ const te = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(
140
+ i.RadioItem,
141
+ {
142
+ ref: n,
143
+ className: s(
144
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
145
+ a
146
+ ),
147
+ ...t,
148
+ children: [
149
+ /* @__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(I, { className: "h-2 w-2 fill-current" }) }) }),
150
+ e
151
+ ]
152
+ }
153
+ ));
154
+ te.displayName = i.RadioItem.displayName;
155
+ const oe = r.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(
156
+ i.Label,
157
+ {
158
+ ref: n,
159
+ className: s("px-2 py-1.5 text-sm font-semibold", e && "pl-8", a),
160
+ ...t
161
+ }
162
+ ));
163
+ oe.displayName = i.Label.displayName;
164
+ const se = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(i.Separator, { ref: t, className: s("-mx-1 my-1 h-px bg-muted", a), ...e }));
165
+ se.displayName = i.Separator.displayName;
166
+ const re = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest opacity-60", a), ...e });
167
+ re.displayName = "DropdownMenuShortcut";
168
+ function Ua({
169
+ className: a,
170
+ ...e
171
+ }) {
172
+ return /* @__PURE__ */ o(
173
+ "div",
174
+ {
175
+ className: s("animate-pulse rounded-md bg-primary/10", a),
176
+ ...e
177
+ }
178
+ );
179
+ }
180
+ const ne = N(
181
+ "relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",
182
+ {
183
+ variants: {
184
+ variant: {
185
+ default: "bg-background text-foreground",
186
+ destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"
187
+ }
188
+ },
189
+ defaultVariants: {
190
+ variant: "default"
191
+ }
192
+ }
193
+ ), de = r.forwardRef(({ className: a, variant: e, ...t }, n) => /* @__PURE__ */ o("div", { ref: n, role: "alert", className: s(ne({ variant: e }), a), ...t }));
194
+ de.displayName = "Alert";
195
+ const ie = r.forwardRef(
196
+ ({ className: a, ...e }, t) => /* @__PURE__ */ o("h5", { ref: t, className: s("mb-1 font-medium leading-none tracking-tight", a), ...e })
197
+ );
198
+ ie.displayName = "AlertTitle";
199
+ const le = r.forwardRef(
200
+ ({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("text-sm [&_p]:leading-relaxed", a), ...e })
201
+ );
202
+ le.displayName = "AlertDescription";
203
+ const ce = r.forwardRef(
204
+ ({ className: a, type: e, ...t }, n) => /* @__PURE__ */ o(
205
+ "input",
206
+ {
207
+ type: e,
208
+ className: s(
209
+ "flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
210
+ a
211
+ ),
212
+ ref: n,
213
+ ...t
214
+ }
215
+ )
216
+ );
217
+ ce.displayName = "Input";
218
+ const me = d.Root, Ea = d.Trigger, pe = d.Portal, $a = d.Close, _ = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
219
+ d.Overlay,
220
+ {
221
+ ref: t,
222
+ className: s(
223
+ "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
224
+ a
225
+ ),
226
+ ...e
227
+ }
228
+ ));
229
+ _.displayName = d.Overlay.displayName;
230
+ const j = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(pe, { children: [
231
+ /* @__PURE__ */ o(_, {}),
232
+ /* @__PURE__ */ p(
233
+ d.Content,
234
+ {
235
+ ref: n,
236
+ className: s(
237
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
238
+ a
239
+ ),
240
+ ...t,
241
+ children: [
242
+ e,
243
+ /* @__PURE__ */ p(d.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: [
244
+ /* @__PURE__ */ o(z, { className: "h-4 w-4" }),
245
+ /* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
246
+ ] })
247
+ ]
248
+ }
249
+ )
250
+ ] }));
251
+ j.displayName = d.Content.displayName;
252
+ const fe = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-1.5 text-center sm:text-left", a), ...e });
253
+ fe.displayName = "DialogHeader";
254
+ const ue = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
255
+ ue.displayName = "DialogFooter";
256
+ const ge = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
257
+ d.Title,
258
+ {
259
+ ref: t,
260
+ className: s("text-lg font-semibold leading-none tracking-tight", a),
261
+ ...e
262
+ }
263
+ ));
264
+ ge.displayName = d.Title.displayName;
265
+ const be = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(d.Description, { ref: t, className: s("text-sm text-muted-foreground", a), ...e }));
266
+ be.displayName = d.Description.displayName;
267
+ const L = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
268
+ u,
269
+ {
270
+ ref: t,
271
+ className: s(
272
+ "flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
273
+ a
274
+ ),
275
+ ...e
276
+ }
277
+ ));
278
+ L.displayName = u.displayName;
279
+ const qa = ({ children: a, ...e }) => /* @__PURE__ */ o(me, { ...e, children: /* @__PURE__ */ o(j, { className: "overflow-hidden p-0", children: /* @__PURE__ */ o(L, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: a }) }) }), xe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
280
+ /* @__PURE__ */ o(U, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
281
+ /* @__PURE__ */ o(
282
+ u.Input,
283
+ {
284
+ ref: t,
285
+ className: s(
286
+ "flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
287
+ a
288
+ ),
289
+ ...e
290
+ }
291
+ )
292
+ ] }));
293
+ xe.displayName = u.Input.displayName;
294
+ const he = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
295
+ u.List,
296
+ {
297
+ ref: t,
298
+ className: s("max-h-[300px] overflow-y-auto overflow-x-hidden", a),
299
+ ...e
300
+ }
301
+ ));
302
+ he.displayName = u.List.displayName;
303
+ const ye = r.forwardRef((a, e) => /* @__PURE__ */ o(
304
+ u.Empty,
305
+ {
306
+ ref: e,
307
+ className: "py-6 text-center text-sm",
308
+ ...a
309
+ }
310
+ ));
311
+ ye.displayName = u.Empty.displayName;
312
+ const Ne = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
313
+ u.Group,
314
+ {
315
+ ref: t,
316
+ className: s(
317
+ "overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
318
+ a
319
+ ),
320
+ ...e
321
+ }
322
+ ));
323
+ Ne.displayName = u.Group.displayName;
324
+ const ve = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
325
+ u.Separator,
326
+ {
327
+ ref: t,
328
+ className: s("-mx-1 h-px bg-border", a),
329
+ ...e
330
+ }
331
+ ));
332
+ ve.displayName = u.Separator.displayName;
333
+ const we = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
334
+ u.Item,
335
+ {
336
+ ref: t,
337
+ className: s(
338
+ "relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
339
+ a
340
+ ),
341
+ ...e
342
+ }
343
+ ));
344
+ we.displayName = u.Item.displayName;
345
+ const Re = ({
346
+ className: a,
347
+ ...e
348
+ }) => /* @__PURE__ */ o(
349
+ "span",
350
+ {
351
+ className: s(
352
+ "ml-auto text-xs tracking-widest text-muted-foreground",
353
+ a
354
+ ),
355
+ ...e
356
+ }
357
+ );
358
+ Re.displayName = "CommandShortcut";
359
+ const Xa = h.Root, Ja = h.Trigger, Ka = h.Anchor, Ce = r.forwardRef(({ className: a, align: e = "center", sideOffset: t = 4, ...n }, m) => /* @__PURE__ */ o(h.Portal, { children: /* @__PURE__ */ o(
360
+ h.Content,
361
+ {
362
+ ref: m,
363
+ align: e,
364
+ sideOffset: t,
365
+ className: s(
366
+ "z-50 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",
367
+ a
368
+ ),
369
+ ...n
370
+ }
371
+ ) }));
372
+ Ce.displayName = h.Content.displayName;
373
+ const Qa = y.Provider, Wa = y.Root, Ya = y.Trigger, Se = r.forwardRef(({ className: a, sideOffset: e = 4, ...t }, n) => /* @__PURE__ */ o(y.Portal, { children: /* @__PURE__ */ o(
374
+ y.Content,
375
+ {
376
+ ref: n,
377
+ sideOffset: e,
378
+ className: s(
379
+ "z-50 origin-[--radix-tooltip-content-transform-origin] overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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",
380
+ a
381
+ ),
382
+ ...t
383
+ }
384
+ ) }));
385
+ Se.displayName = y.Content.displayName;
386
+ const ke = N(
387
+ "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",
388
+ {
389
+ variants: {
390
+ variant: {
391
+ default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
392
+ secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
393
+ destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
394
+ outline: "text-foreground"
395
+ }
396
+ },
397
+ defaultVariants: {
398
+ variant: "default"
399
+ }
400
+ }
401
+ );
402
+ function Za({ className: a, variant: e, ...t }) {
403
+ return /* @__PURE__ */ o("div", { className: s(ke({ variant: e }), a), ...t });
404
+ }
405
+ const et = b.Root, Te = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
406
+ b.Item,
407
+ {
408
+ ref: t,
409
+ className: s("border-b", a),
410
+ ...e
411
+ }
412
+ ));
413
+ Te.displayName = "AccordionItem";
414
+ const De = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ o(b.Header, { className: "flex", children: /* @__PURE__ */ p(
415
+ b.Trigger,
416
+ {
417
+ ref: n,
418
+ className: s(
419
+ "flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",
420
+ a
421
+ ),
422
+ ...t,
423
+ children: [
424
+ e,
425
+ /* @__PURE__ */ o(k, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
426
+ ]
427
+ }
428
+ ) }));
429
+ De.displayName = b.Trigger.displayName;
430
+ const Ie = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ o(
431
+ b.Content,
432
+ {
433
+ ref: n,
434
+ className: "overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
435
+ ...t,
436
+ children: /* @__PURE__ */ o("div", { className: s("pb-4 pt-0", a), children: e })
437
+ }
438
+ ));
439
+ Ie.displayName = b.Content.displayName;
440
+ const at = f.Root, tt = f.Trigger, ze = f.Portal, V = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
441
+ f.Overlay,
442
+ {
443
+ className: s(
444
+ "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
445
+ a
446
+ ),
447
+ ...e,
448
+ ref: t
449
+ }
450
+ ));
451
+ V.displayName = f.Overlay.displayName;
452
+ const Ae = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p(ze, { children: [
453
+ /* @__PURE__ */ o(V, {}),
454
+ /* @__PURE__ */ o(
455
+ f.Content,
456
+ {
457
+ ref: t,
458
+ className: s(
459
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
460
+ a
461
+ ),
462
+ ...e
463
+ }
464
+ )
465
+ ] }));
466
+ Ae.displayName = f.Content.displayName;
467
+ const Pe = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", a), ...e });
468
+ Pe.displayName = "AlertDialogHeader";
469
+ const Me = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
470
+ Me.displayName = "AlertDialogFooter";
471
+ const _e = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(f.Title, { ref: t, className: s("text-lg font-semibold", a), ...e }));
472
+ _e.displayName = f.Title.displayName;
473
+ const je = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(f.Description, { ref: t, className: s("text-sm text-muted-foreground", a), ...e }));
474
+ je.displayName = f.Description.displayName;
475
+ const Le = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(f.Action, { ref: t, className: s(T(), a), ...e }));
476
+ Le.displayName = f.Action.displayName;
477
+ const Ve = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
478
+ f.Cancel,
479
+ {
480
+ ref: t,
481
+ className: s(T({ variant: "outline" }), "mt-2 sm:mt-0", a),
482
+ ...e
483
+ }
484
+ ));
485
+ Ve.displayName = f.Cancel.displayName;
486
+ const Ge = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
487
+ v.Root,
488
+ {
489
+ ref: t,
490
+ className: s(
491
+ "relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
492
+ a
493
+ ),
494
+ ...e
495
+ }
496
+ ));
497
+ Ge.displayName = v.Root.displayName;
498
+ const He = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
499
+ v.Image,
500
+ {
501
+ ref: t,
502
+ className: s("aspect-square h-full w-full", a),
503
+ ...e
504
+ }
505
+ ));
506
+ He.displayName = v.Image.displayName;
507
+ const Be = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
508
+ v.Fallback,
509
+ {
510
+ ref: t,
511
+ className: s(
512
+ "flex h-full w-full items-center justify-center rounded-full bg-muted",
513
+ a
514
+ ),
515
+ ...e
516
+ }
517
+ ));
518
+ Be.displayName = v.Fallback.displayName;
519
+ const Fe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("rounded-xl border bg-card text-card-foreground shadow", a), ...e }));
520
+ Fe.displayName = "Card";
521
+ const Oe = r.forwardRef(
522
+ ({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("flex flex-col space-y-1.5 p-6", a), ...e })
523
+ );
524
+ Oe.displayName = "CardHeader";
525
+ const Ue = r.forwardRef(
526
+ ({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("font-semibold leading-none tracking-tight", a), ...e })
527
+ );
528
+ Ue.displayName = "CardTitle";
529
+ const Ee = r.forwardRef(
530
+ ({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("text-sm text-muted-foreground", a), ...e })
531
+ );
532
+ Ee.displayName = "CardDescription";
533
+ const $e = r.forwardRef(
534
+ ({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("p-6 pt-0", a), ...e })
535
+ );
536
+ $e.displayName = "CardContent";
537
+ const qe = r.forwardRef(
538
+ ({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("flex items-center p-6 pt-0", a), ...e })
539
+ );
540
+ qe.displayName = "CardFooter";
541
+ const ot = l.Root, st = l.Trigger, rt = l.Group, nt = l.Portal, dt = l.Sub, it = l.RadioGroup, Xe = r.forwardRef(({ className: a, inset: e, children: t, ...n }, m) => /* @__PURE__ */ p(
542
+ l.SubTrigger,
543
+ {
544
+ ref: m,
545
+ className: s(
546
+ "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
547
+ e && "pl-8",
548
+ a
549
+ ),
550
+ ...n,
551
+ children: [
552
+ t,
553
+ /* @__PURE__ */ o(D, { className: "ml-auto h-4 w-4" })
554
+ ]
555
+ }
556
+ ));
557
+ Xe.displayName = l.SubTrigger.displayName;
558
+ const Je = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
559
+ l.SubContent,
560
+ {
561
+ ref: t,
562
+ className: s(
563
+ "z-50 min-w-[8rem] origin-[--radix-context-menu-content-transform-origin] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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",
564
+ a
565
+ ),
566
+ ...e
567
+ }
568
+ ));
569
+ Je.displayName = l.SubContent.displayName;
570
+ const Ke = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(l.Portal, { children: /* @__PURE__ */ o(
571
+ l.Content,
572
+ {
573
+ ref: t,
574
+ className: s(
575
+ "z-50 max-h-[--radix-context-menu-content-available-height] min-w-[8rem] origin-[--radix-context-menu-content-transform-origin] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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",
576
+ a
577
+ ),
578
+ ...e
579
+ }
580
+ ) }));
581
+ Ke.displayName = l.Content.displayName;
582
+ const Qe = r.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(
583
+ l.Item,
584
+ {
585
+ ref: n,
586
+ className: s(
587
+ "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
588
+ e && "pl-8",
589
+ a
590
+ ),
591
+ ...t
592
+ }
593
+ ));
594
+ Qe.displayName = l.Item.displayName;
595
+ const We = r.forwardRef(({ className: a, children: e, checked: t, ...n }, m) => /* @__PURE__ */ p(
596
+ l.CheckboxItem,
597
+ {
598
+ ref: m,
599
+ className: s(
600
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
601
+ a
602
+ ),
603
+ checked: t,
604
+ ...n,
605
+ children: [
606
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(l.ItemIndicator, { children: /* @__PURE__ */ o(S, { className: "h-4 w-4" }) }) }),
607
+ e
608
+ ]
609
+ }
610
+ ));
611
+ We.displayName = l.CheckboxItem.displayName;
612
+ const Ye = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(
613
+ l.RadioItem,
614
+ {
615
+ ref: n,
616
+ className: s(
617
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
618
+ a
619
+ ),
620
+ ...t,
621
+ children: [
622
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(l.ItemIndicator, { children: /* @__PURE__ */ o(I, { className: "h-4 w-4 fill-current" }) }) }),
623
+ e
624
+ ]
625
+ }
626
+ ));
627
+ Ye.displayName = l.RadioItem.displayName;
628
+ const Ze = r.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(
629
+ l.Label,
630
+ {
631
+ ref: n,
632
+ className: s("px-2 py-1.5 text-sm font-semibold text-foreground", e && "pl-8", a),
633
+ ...t
634
+ }
635
+ ));
636
+ Ze.displayName = l.Label.displayName;
637
+ const ea = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(l.Separator, { ref: t, className: s("-mx-1 my-1 h-px bg-border", a), ...e }));
638
+ ea.displayName = l.Separator.displayName;
639
+ const aa = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", a), ...e });
640
+ aa.displayName = "ContextMenuShortcut";
641
+ const lt = R.Root, ct = R.Trigger, ta = r.forwardRef(({ className: a, align: e = "center", sideOffset: t = 4, ...n }, m) => /* @__PURE__ */ o(
642
+ R.Content,
643
+ {
644
+ ref: m,
645
+ align: e,
646
+ sideOffset: t,
647
+ className: s(
648
+ "z-50 w-64 origin-[--radix-hover-card-content-transform-origin] rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",
649
+ a
650
+ ),
651
+ ...n
652
+ }
653
+ ));
654
+ ta.displayName = R.Content.displayName;
655
+ const oa = N(
656
+ "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
657
+ ), sa = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
658
+ A.Root,
659
+ {
660
+ ref: t,
661
+ className: s(oa(), a),
662
+ ...e
663
+ }
664
+ ));
665
+ sa.displayName = A.Root.displayName;
666
+ const ra = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(g.Root, { ref: n, className: s("relative overflow-hidden", a), ...t, children: [
667
+ /* @__PURE__ */ o(g.Viewport, { className: "h-full w-full rounded-[inherit]", children: e }),
668
+ /* @__PURE__ */ o(G, {}),
669
+ /* @__PURE__ */ o(g.Corner, {})
670
+ ] }));
671
+ ra.displayName = g.Root.displayName;
672
+ const G = r.forwardRef(({ className: a, orientation: e = "vertical", ...t }, n) => /* @__PURE__ */ o(
673
+ g.ScrollAreaScrollbar,
674
+ {
675
+ ref: n,
676
+ orientation: e,
677
+ className: s(
678
+ "flex touch-none select-none transition-colors",
679
+ e === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
680
+ e === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
681
+ a
682
+ ),
683
+ ...t,
684
+ children: /* @__PURE__ */ o(g.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
685
+ }
686
+ ));
687
+ G.displayName = g.ScrollAreaScrollbar.displayName;
688
+ const mt = c.Root, pt = c.Group, ft = c.Value, na = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(
689
+ c.Trigger,
690
+ {
691
+ ref: n,
692
+ className: s(
693
+ "flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[placeholder]:text-muted-foreground [&>span]:line-clamp-1",
694
+ a
695
+ ),
696
+ ...t,
697
+ children: [
698
+ e,
699
+ /* @__PURE__ */ o(c.Icon, { asChild: !0, children: /* @__PURE__ */ o(k, { className: "h-4 w-4 opacity-50" }) })
700
+ ]
701
+ }
702
+ ));
703
+ na.displayName = c.Trigger.displayName;
704
+ const H = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
705
+ c.ScrollUpButton,
706
+ {
707
+ ref: t,
708
+ className: s("flex cursor-default items-center justify-center py-1", a),
709
+ ...e,
710
+ children: /* @__PURE__ */ o(E, { className: "h-4 w-4" })
711
+ }
712
+ ));
713
+ H.displayName = c.ScrollUpButton.displayName;
714
+ const B = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
715
+ c.ScrollDownButton,
716
+ {
717
+ ref: t,
718
+ className: s("flex cursor-default items-center justify-center py-1", a),
719
+ ...e,
720
+ children: /* @__PURE__ */ o(k, { className: "h-4 w-4" })
721
+ }
722
+ ));
723
+ B.displayName = c.ScrollDownButton.displayName;
724
+ const da = r.forwardRef(({ className: a, children: e, position: t = "popper", ...n }, m) => /* @__PURE__ */ o(c.Portal, { children: /* @__PURE__ */ p(
725
+ c.Content,
726
+ {
727
+ ref: m,
728
+ className: s(
729
+ "relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] origin-[--radix-select-content-transform-origin] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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",
730
+ t === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
731
+ a
732
+ ),
733
+ position: t,
734
+ ...n,
735
+ children: [
736
+ /* @__PURE__ */ o(H, {}),
737
+ /* @__PURE__ */ o(
738
+ c.Viewport,
739
+ {
740
+ className: s(
741
+ "p-1",
742
+ t === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
743
+ ),
744
+ children: e
745
+ }
746
+ ),
747
+ /* @__PURE__ */ o(B, {})
748
+ ]
749
+ }
750
+ ) }));
751
+ da.displayName = c.Content.displayName;
752
+ const ia = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(c.Label, { ref: t, className: s("px-2 py-1.5 text-sm font-semibold", a), ...e }));
753
+ ia.displayName = c.Label.displayName;
754
+ const la = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(
755
+ c.Item,
756
+ {
757
+ ref: n,
758
+ className: s(
759
+ "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
760
+ a
761
+ ),
762
+ ...t,
763
+ children: [
764
+ /* @__PURE__ */ o("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(c.ItemIndicator, { children: /* @__PURE__ */ o(S, { className: "h-4 w-4" }) }) }),
765
+ /* @__PURE__ */ o(c.ItemText, { children: e })
766
+ ]
767
+ }
768
+ ));
769
+ la.displayName = c.Item.displayName;
770
+ const ca = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(c.Separator, { ref: t, className: s("-mx-1 my-1 h-px bg-muted", a), ...e }));
771
+ ca.displayName = c.Separator.displayName;
772
+ const ma = r.forwardRef(({ className: a, orientation: e = "horizontal", decorative: t = !0, ...n }, m) => /* @__PURE__ */ o(
773
+ P.Root,
774
+ {
775
+ ref: m,
776
+ decorative: t,
777
+ orientation: e,
778
+ className: s("shrink-0 bg-border", e === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", a),
779
+ ...n
780
+ }
781
+ ));
782
+ ma.displayName = P.Root.displayName;
783
+ const ut = d.Root, gt = d.Trigger, bt = d.Close, pa = d.Portal, F = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
784
+ d.Overlay,
785
+ {
786
+ className: s(
787
+ "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
788
+ a
789
+ ),
790
+ ...e,
791
+ ref: t
792
+ }
793
+ ));
794
+ F.displayName = d.Overlay.displayName;
795
+ const fa = N(
796
+ "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",
797
+ {
798
+ variants: {
799
+ side: {
800
+ top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
801
+ bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
802
+ left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
803
+ right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
804
+ }
805
+ },
806
+ defaultVariants: {
807
+ side: "right"
808
+ }
809
+ }
810
+ ), ua = r.forwardRef(
811
+ ({ side: a = "right", className: e, children: t, ...n }, m) => /* @__PURE__ */ p(pa, { children: [
812
+ /* @__PURE__ */ o(F, {}),
813
+ /* @__PURE__ */ p(d.Content, { ref: m, className: s(fa({ side: a }), e), ...n, children: [
814
+ /* @__PURE__ */ p(d.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-secondary", children: [
815
+ /* @__PURE__ */ o(z, { className: "h-4 w-4" }),
816
+ /* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
817
+ ] }),
818
+ t
819
+ ] })
820
+ ] })
821
+ );
822
+ ua.displayName = d.Content.displayName;
823
+ const ga = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", a), ...e });
824
+ ga.displayName = "SheetHeader";
825
+ const ba = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
826
+ ba.displayName = "SheetFooter";
827
+ const xa = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(d.Title, { ref: t, className: s("text-lg font-semibold text-foreground", a), ...e }));
828
+ xa.displayName = d.Title.displayName;
829
+ const ha = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(d.Description, { ref: t, className: s("text-sm text-muted-foreground", a), ...e }));
830
+ ha.displayName = d.Description.displayName;
831
+ const ya = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p(
832
+ w.Root,
833
+ {
834
+ ref: t,
835
+ className: s(
836
+ "relative flex w-full touch-none select-none items-center",
837
+ a
838
+ ),
839
+ ...e,
840
+ children: [
841
+ /* @__PURE__ */ o(w.Track, { className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20", children: /* @__PURE__ */ o(w.Range, { className: "absolute h-full bg-primary" }) }),
842
+ /* @__PURE__ */ o(w.Thumb, { className: "block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50" })
843
+ ]
844
+ }
845
+ ));
846
+ ya.displayName = w.Root.displayName;
847
+ const xt = ({ ...a }) => {
848
+ const { theme: e = "system" } = q();
849
+ return /* @__PURE__ */ o(
850
+ X,
851
+ {
852
+ theme: e,
853
+ className: "toaster group",
854
+ toastOptions: {
855
+ classNames: {
856
+ toast: "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",
857
+ description: "group-[.toast]:text-muted-foreground",
858
+ actionButton: "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",
859
+ cancelButton: "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"
860
+ }
861
+ },
862
+ ...a
863
+ }
864
+ );
865
+ }, Na = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
866
+ C.Root,
867
+ {
868
+ className: s(
869
+ "peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
870
+ a
871
+ ),
872
+ ...e,
873
+ ref: t,
874
+ children: /* @__PURE__ */ o(
875
+ C.Thumb,
876
+ {
877
+ className: s(
878
+ "pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0"
879
+ )
880
+ }
881
+ )
882
+ }
883
+ ));
884
+ Na.displayName = C.Root.displayName;
885
+ const ht = x.Root, va = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
886
+ x.List,
887
+ {
888
+ ref: t,
889
+ className: s(
890
+ "inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",
891
+ a
892
+ ),
893
+ ...e
894
+ }
895
+ ));
896
+ va.displayName = x.List.displayName;
897
+ const wa = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
898
+ x.Trigger,
899
+ {
900
+ ref: t,
901
+ className: s(
902
+ "inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
903
+ a
904
+ ),
905
+ ...e
906
+ }
907
+ ));
908
+ wa.displayName = x.Trigger.displayName;
909
+ const Ra = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
910
+ x.Content,
911
+ {
912
+ ref: t,
913
+ className: s(
914
+ "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
915
+ a
916
+ ),
917
+ ...e
918
+ }
919
+ ));
920
+ Ra.displayName = x.Content.displayName;
921
+ const Ca = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
922
+ "textarea",
923
+ {
924
+ className: s(
925
+ "flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
926
+ a
927
+ ),
928
+ ref: t,
929
+ ...e
930
+ }
931
+ ));
932
+ Ca.displayName = "Textarea";
933
+ const Sa = N(
934
+ "inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
935
+ {
936
+ variants: {
937
+ variant: {
938
+ default: "bg-transparent",
939
+ outline: "border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"
940
+ },
941
+ size: {
942
+ default: "h-9 px-2 min-w-9",
943
+ sm: "h-8 px-1.5 min-w-8",
944
+ lg: "h-10 px-2.5 min-w-10"
945
+ }
946
+ },
947
+ defaultVariants: {
948
+ variant: "default",
949
+ size: "default"
950
+ }
951
+ }
952
+ ), ka = r.forwardRef(({ className: a, variant: e, size: t, ...n }, m) => /* @__PURE__ */ o(M.Root, { ref: m, className: s(Sa({ variant: e, size: t, className: a })), ...n }));
953
+ ka.displayName = M.Root.displayName;
954
+ export {
955
+ Xe as $,
956
+ et as A,
957
+ Za as B,
958
+ Fe as C,
959
+ Oe as D,
960
+ Ue as E,
961
+ L as F,
962
+ qa as G,
963
+ xe as H,
964
+ he as I,
965
+ ye as J,
966
+ Ne as K,
967
+ we as L,
968
+ Re as M,
969
+ ve as N,
970
+ ot as O,
971
+ We as P,
972
+ Ke as Q,
973
+ rt as R,
974
+ Qe as S,
975
+ Ze as T,
976
+ nt as U,
977
+ it as V,
978
+ Ye as W,
979
+ ea as X,
980
+ aa as Y,
981
+ dt as Z,
982
+ Je as _,
983
+ Te as a,
984
+ Ra as a$,
985
+ st as a0,
986
+ me as a1,
987
+ $a as a2,
988
+ j as a3,
989
+ be as a4,
990
+ ue as a5,
991
+ fe as a6,
992
+ _ as a7,
993
+ pe as a8,
994
+ ge as a9,
995
+ G as aA,
996
+ mt as aB,
997
+ da as aC,
998
+ pt as aD,
999
+ la as aE,
1000
+ ia as aF,
1001
+ B as aG,
1002
+ H as aH,
1003
+ ca as aI,
1004
+ na as aJ,
1005
+ ft as aK,
1006
+ ma as aL,
1007
+ ut as aM,
1008
+ bt as aN,
1009
+ ua as aO,
1010
+ ha as aP,
1011
+ ba as aQ,
1012
+ ga as aR,
1013
+ F as aS,
1014
+ pa as aT,
1015
+ xa as aU,
1016
+ gt as aV,
1017
+ Ua as aW,
1018
+ ya as aX,
1019
+ xt as aY,
1020
+ Na as aZ,
1021
+ ht as a_,
1022
+ Ea as aa,
1023
+ Va as ab,
1024
+ ae as ac,
1025
+ Z as ad,
1026
+ Ha as ae,
1027
+ ee as af,
1028
+ oe as ag,
1029
+ Ba as ah,
1030
+ Oa as ai,
1031
+ te as aj,
1032
+ se as ak,
1033
+ re as al,
1034
+ Fa as am,
1035
+ Y as an,
1036
+ W as ao,
1037
+ Ga as ap,
1038
+ lt as aq,
1039
+ ta as ar,
1040
+ ct as as,
1041
+ ce as at,
1042
+ sa as au,
1043
+ Xa as av,
1044
+ Ka as aw,
1045
+ Ce as ax,
1046
+ Ja as ay,
1047
+ ra as az,
1048
+ De as b,
1049
+ va as b0,
1050
+ wa as b1,
1051
+ Ca as b2,
1052
+ ka as b3,
1053
+ Sa as b4,
1054
+ Wa as b5,
1055
+ Se as b6,
1056
+ Qa as b7,
1057
+ Ya as b8,
1058
+ s as b9,
1059
+ Ie as c,
1060
+ de as d,
1061
+ le as e,
1062
+ ie as f,
1063
+ at as g,
1064
+ Le as h,
1065
+ Ve as i,
1066
+ Ae as j,
1067
+ je as k,
1068
+ Me as l,
1069
+ Pe as m,
1070
+ V as n,
1071
+ ze as o,
1072
+ _e as p,
1073
+ tt as q,
1074
+ Ge as r,
1075
+ He as s,
1076
+ Be as t,
1077
+ ke as u,
1078
+ Q as v,
1079
+ T as w,
1080
+ $e as x,
1081
+ Ee as y,
1082
+ qe as z
1083
+ };