@moontra/moonui 0.1.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,154 +1,68 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
1
+ 'use strict';
2
+
3
+ var clsx = require('clsx');
4
+ var tailwindMerge = require('tailwind-merge');
5
+ var React32 = require('react');
6
+ var jsxRuntime = require('react/jsx-runtime');
7
+ var classVarianceAuthority = require('class-variance-authority');
8
+ var LabelPrimitive = require('@radix-ui/react-label');
9
+ var SeparatorPrimitive = require('@radix-ui/react-separator');
10
+ var SelectPrimitive = require('@radix-ui/react-select');
11
+ var lucideReact = require('lucide-react');
12
+ var SwitchPrimitives = require('@radix-ui/react-switch');
13
+ var DialogPrimitive = require('@radix-ui/react-dialog');
14
+ var TabsPrimitive = require('@radix-ui/react-tabs');
15
+ var AvatarPrimitive = require('@radix-ui/react-avatar');
16
+ var CheckboxPrimitive = require('@radix-ui/react-checkbox');
17
+ var PopoverPrimitive = require('@radix-ui/react-popover');
18
+ var AccordionPrimitive = require('@radix-ui/react-accordion');
19
+ require('react-dom');
20
+ var reactSlot = require('@radix-ui/react-slot');
21
+ var SliderPrimitive = require('@radix-ui/react-slider');
22
+ var DropdownMenuPrimitive = require('@radix-ui/react-dropdown-menu');
23
+ var NavigationMenuPrimitive = require('@radix-ui/react-navigation-menu');
24
+ var HoverCardPrimitive = require('@radix-ui/react-hover-card');
25
+ var MenubarPrimitive = require('@radix-ui/react-menubar');
26
+
27
+ function _interopNamespace(e) {
28
+ if (e && e.__esModule) return e;
29
+ var n = Object.create(null);
30
+ if (e) {
31
+ Object.keys(e).forEach(function (k) {
32
+ if (k !== 'default') {
33
+ var d = Object.getOwnPropertyDescriptor(e, k);
34
+ Object.defineProperty(n, k, d.get ? d : {
35
+ enumerable: true,
36
+ get: function () { return e[k]; }
37
+ });
38
+ }
39
+ });
16
40
  }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
41
+ n.default = e;
42
+ return Object.freeze(n);
43
+ }
28
44
 
29
- // src/index.tsx
30
- var src_exports = {};
31
- __export(src_exports, {
32
- Accordion: () => Accordion,
33
- AccordionContent: () => AccordionContent,
34
- AccordionItem: () => AccordionItem,
35
- AccordionTrigger: () => AccordionTrigger,
36
- Alert: () => Alert,
37
- AlertDescription: () => AlertDescription,
38
- AlertTitle: () => AlertTitle,
39
- AspectRatio: () => AspectRatio,
40
- Avatar: () => Avatar,
41
- AvatarFallback: () => AvatarFallback,
42
- AvatarImage: () => AvatarImage,
43
- Badge: () => Badge,
44
- Breadcrumb: () => Breadcrumb,
45
- BreadcrumbEllipsis: () => BreadcrumbEllipsis,
46
- BreadcrumbItem: () => BreadcrumbItem,
47
- BreadcrumbList: () => BreadcrumbList,
48
- BreadcrumbSeparator: () => BreadcrumbSeparator,
49
- Button: () => Button,
50
- Card: () => Card,
51
- CardContent: () => CardContent,
52
- CardDescription: () => CardDescription,
53
- CardFooter: () => CardFooter,
54
- CardHeader: () => CardHeader,
55
- CardTitle: () => CardTitle,
56
- Checkbox: () => Checkbox,
57
- CheckboxGroup: () => CheckboxGroup,
58
- CheckboxLabel: () => CheckboxLabel,
59
- CheckboxWithLabel: () => CheckboxWithLabel,
60
- Collapsible: () => Collapsible2,
61
- CollapsibleContent: () => CollapsibleContent2,
62
- CollapsibleTrigger: () => CollapsibleTrigger2,
63
- Command: () => Command,
64
- CommandDialog: () => CommandDialog,
65
- CommandEmpty: () => CommandEmpty,
66
- CommandGroup: () => CommandGroup,
67
- CommandInput: () => CommandInput,
68
- CommandItem: () => CommandItem,
69
- CommandList: () => CommandList,
70
- CommandSeparator: () => CommandSeparator,
71
- CommandShortcut: () => CommandShortcut,
72
- Dialog: () => Dialog,
73
- DialogClose: () => DialogClose,
74
- DialogContent: () => DialogContent,
75
- DialogDescription: () => DialogDescription,
76
- DialogFooter: () => DialogFooter,
77
- DialogForm: () => DialogForm,
78
- DialogHeader: () => DialogHeader,
79
- DialogTitle: () => DialogTitle,
80
- DialogTrigger: () => DialogTrigger,
81
- Input: () => Input,
82
- Popover: () => Popover,
83
- PopoverAnchor: () => PopoverAnchor,
84
- PopoverClose: () => PopoverClose,
85
- PopoverContent: () => PopoverContent,
86
- PopoverFooter: () => PopoverFooter,
87
- PopoverHeader: () => PopoverHeader,
88
- PopoverSeparator: () => PopoverSeparator,
89
- PopoverTrigger: () => PopoverTrigger,
90
- Progress: () => Progress,
91
- RadioGroup: () => RadioGroup,
92
- RadioGroupItem: () => RadioGroupItem,
93
- RadioItemWithLabel: () => RadioItemWithLabel,
94
- RadioLabel: () => RadioLabel,
95
- Select: () => Select,
96
- SelectContent: () => SelectContent,
97
- SelectGroup: () => SelectGroup,
98
- SelectItem: () => SelectItem,
99
- SelectLabel: () => SelectLabel,
100
- SelectSeparator: () => SelectSeparator,
101
- SelectTrigger: () => SelectTrigger,
102
- SelectValue: () => SelectValue,
103
- Skeleton: () => Skeleton,
104
- SkeletonAvatar: () => SkeletonAvatar,
105
- SkeletonCard: () => SkeletonCard,
106
- SkeletonText: () => SkeletonText,
107
- Switch: () => Switch,
108
- Tabs: () => Tabs,
109
- TabsContent: () => TabsContent,
110
- TabsList: () => TabsList,
111
- TabsTrigger: () => TabsTrigger,
112
- ThemeProvider: () => ThemeProvider2,
113
- Toast: () => Toast,
114
- ToastContainer: () => ToastContainer,
115
- ToastProvider: () => ToastProvider,
116
- Tooltip: () => Tooltip,
117
- accordionContentVariants: () => accordionContentVariants,
118
- accordionItemVariants: () => accordionItemVariants,
119
- accordionTriggerVariants: () => accordionTriggerVariants,
120
- aspectRatioVariants: () => aspectRatioVariants,
121
- badgeVariants: () => badgeVariants,
122
- buttonVariants: () => buttonVariants,
123
- cn: () => cn,
124
- collapsibleContentVariants: () => collapsibleContentVariants,
125
- collapsibleTriggerVariants: () => collapsibleTriggerVariants,
126
- combineRefs: () => combineRefs,
127
- commandGroupVariants: () => commandGroupVariants,
128
- commandInputVariants: () => commandInputVariants,
129
- commandItemVariants: () => commandItemVariants,
130
- commandListVariants: () => commandListVariants,
131
- commandVariants: () => commandVariants,
132
- createCssVariables: () => createCssVariables,
133
- debounce: () => debounce,
134
- formatCurrency: () => formatCurrency,
135
- generateId: () => generateId,
136
- get: () => get,
137
- popoverContentVariants: () => popoverContentVariants,
138
- progressVariants: () => progressVariants,
139
- skeletonVariants: () => skeletonVariants,
140
- toastVariants: () => toastVariants,
141
- tooltipContentVariants: () => tooltipContentVariants,
142
- useTheme: () => useTheme,
143
- useToast: () => useToast
144
- });
145
- module.exports = __toCommonJS(src_exports);
45
+ var React32__namespace = /*#__PURE__*/_interopNamespace(React32);
46
+ var LabelPrimitive__namespace = /*#__PURE__*/_interopNamespace(LabelPrimitive);
47
+ var SeparatorPrimitive__namespace = /*#__PURE__*/_interopNamespace(SeparatorPrimitive);
48
+ var SelectPrimitive__namespace = /*#__PURE__*/_interopNamespace(SelectPrimitive);
49
+ var SwitchPrimitives__namespace = /*#__PURE__*/_interopNamespace(SwitchPrimitives);
50
+ var DialogPrimitive__namespace = /*#__PURE__*/_interopNamespace(DialogPrimitive);
51
+ var TabsPrimitive__namespace = /*#__PURE__*/_interopNamespace(TabsPrimitive);
52
+ var AvatarPrimitive__namespace = /*#__PURE__*/_interopNamespace(AvatarPrimitive);
53
+ var CheckboxPrimitive__namespace = /*#__PURE__*/_interopNamespace(CheckboxPrimitive);
54
+ var PopoverPrimitive__namespace = /*#__PURE__*/_interopNamespace(PopoverPrimitive);
55
+ var AccordionPrimitive__namespace = /*#__PURE__*/_interopNamespace(AccordionPrimitive);
56
+ var SliderPrimitive__namespace = /*#__PURE__*/_interopNamespace(SliderPrimitive);
57
+ var DropdownMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(DropdownMenuPrimitive);
58
+ var NavigationMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(NavigationMenuPrimitive);
59
+ var HoverCardPrimitive__namespace = /*#__PURE__*/_interopNamespace(HoverCardPrimitive);
60
+ var MenubarPrimitive__namespace = /*#__PURE__*/_interopNamespace(MenubarPrimitive);
61
+
62
+ /** @license MoonUI v1.0.0 - MIT License - https://moonui.dev */
146
63
 
147
- // src/lib/utils.ts
148
- var import_clsx = require("clsx");
149
- var import_tailwind_merge = require("tailwind-merge");
150
64
  function cn(...inputs) {
151
- return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
65
+ return tailwindMerge.twMerge(clsx.clsx(inputs));
152
66
  }
153
67
  function formatCurrency(amount, currency = "USD") {
154
68
  const formatter = new Intl.NumberFormat("en-US", {
@@ -190,13 +104,6 @@ function combineRefs(...refs) {
190
104
  });
191
105
  };
192
106
  }
193
-
194
- // src/components/theme-provider.tsx
195
- var import_react2 = require("react");
196
-
197
- // src/lib/theme.tsx
198
- var import_react = require("react");
199
- var import_jsx_runtime = require("react/jsx-runtime");
200
107
  var modernTheme = {
201
108
  borderRadius: {
202
109
  sm: "0.5rem",
@@ -312,7 +219,7 @@ var defaultDarkTheme = {
312
219
  accentForeground: "hsl(210, 20%, 98%)"
313
220
  }
314
221
  };
315
- var ThemeContext = (0, import_react.createContext)(void 0);
222
+ var ThemeContext = React32.createContext(void 0);
316
223
  var getPresetTheme = (preset) => {
317
224
  switch (preset) {
318
225
  case "modern":
@@ -333,9 +240,9 @@ var ThemeProvider = ({
333
240
  darkTheme = {},
334
241
  extensions = {}
335
242
  }) => {
336
- const [colorMode, setColorMode] = (0, import_react.useState)(defaultColorMode);
243
+ const [colorMode, setColorMode] = React32.useState(defaultColorMode);
337
244
  const presetThemeValues = getPresetTheme(preset);
338
- const [customLightTheme, setCustomLightTheme] = (0, import_react.useState)({
245
+ const [customLightTheme, setCustomLightTheme] = React32.useState({
339
246
  ...defaultLightTheme,
340
247
  ...presetThemeValues,
341
248
  ...lightTheme,
@@ -346,7 +253,7 @@ var ThemeProvider = ({
346
253
  },
347
254
  extensions
348
255
  });
349
- const [customDarkTheme, setCustomDarkTheme] = (0, import_react.useState)({
256
+ const [customDarkTheme, setCustomDarkTheme] = React32.useState({
350
257
  ...defaultDarkTheme,
351
258
  ...presetThemeValues,
352
259
  ...darkTheme,
@@ -357,7 +264,7 @@ var ThemeProvider = ({
357
264
  },
358
265
  extensions
359
266
  });
360
- const theme = (0, import_react.useMemo)(() => {
267
+ const theme = React32.useMemo(() => {
361
268
  return colorMode === "light" ? customLightTheme : customDarkTheme;
362
269
  }, [colorMode, customLightTheme, customDarkTheme]);
363
270
  const updateTheme = (config) => {
@@ -403,10 +310,10 @@ var ThemeProvider = ({
403
310
  updateTheme,
404
311
  setThemePreset
405
312
  };
406
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ThemeContext.Provider, { value, children });
313
+ return /* @__PURE__ */ jsxRuntime.jsx(ThemeContext.Provider, { value, children });
407
314
  };
408
315
  var useTheme = () => {
409
- const context = (0, import_react.useContext)(ThemeContext);
316
+ const context = React32.useContext(ThemeContext);
410
317
  if (context === void 0) {
411
318
  throw new Error("useTheme must be used within a ThemeProvider");
412
319
  }
@@ -439,12 +346,9 @@ var createCssVariables = (theme) => {
439
346
  }
440
347
  return variables;
441
348
  };
442
-
443
- // src/components/theme-provider.tsx
444
- var import_jsx_runtime2 = require("react/jsx-runtime");
445
349
  var CssVariablesInjector = () => {
446
350
  const { theme } = useTheme();
447
- (0, import_react2.useEffect)(() => {
351
+ React32.useEffect(() => {
448
352
  const variables = createCssVariables(theme);
449
353
  const root = document.documentElement;
450
354
  Object.entries(variables).forEach(([key, value]) => {
@@ -459,17 +363,12 @@ var CssVariablesInjector = () => {
459
363
  return null;
460
364
  };
461
365
  var ThemeProvider2 = (props) => {
462
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(ThemeProvider, { ...props, children: [
463
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(CssVariablesInjector, {}),
366
+ return /* @__PURE__ */ jsxRuntime.jsxs(ThemeProvider, { ...props, children: [
367
+ /* @__PURE__ */ jsxRuntime.jsx(CssVariablesInjector, {}),
464
368
  props.children
465
369
  ] });
466
370
  };
467
-
468
- // src/components/ui/button.tsx
469
- var React2 = __toESM(require("react"));
470
- var import_class_variance_authority = require("class-variance-authority");
471
- var import_jsx_runtime3 = require("react/jsx-runtime");
472
- var buttonVariants = (0, import_class_variance_authority.cva)(
371
+ var buttonVariants = classVarianceAuthority.cva(
473
372
  "inline-flex items-center justify-center transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
474
373
  {
475
374
  variants: {
@@ -496,10 +395,10 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
496
395
  }
497
396
  }
498
397
  );
499
- var Button = React2.forwardRef(
398
+ var Button = React32__namespace.forwardRef(
500
399
  ({ className, variant, size, asChild = false, ...props }, ref) => {
501
- const Comp = asChild ? React2.Fragment : "button";
502
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
400
+ const Comp = asChild ? React32__namespace.Fragment : "button";
401
+ return /* @__PURE__ */ jsxRuntime.jsx(
503
402
  Comp,
504
403
  {
505
404
  className: cn(buttonVariants({ variant, size, className })),
@@ -514,11 +413,7 @@ var Button = React2.forwardRef(
514
413
  }
515
414
  );
516
415
  Button.displayName = "Button";
517
-
518
- // src/components/ui/badge.tsx
519
- var import_class_variance_authority2 = require("class-variance-authority");
520
- var import_jsx_runtime4 = require("react/jsx-runtime");
521
- var badgeVariants = (0, import_class_variance_authority2.cva)(
416
+ var badgeVariants = classVarianceAuthority.cva(
522
417
  "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2",
523
418
  {
524
419
  variants: {
@@ -538,13 +433,9 @@ var badgeVariants = (0, import_class_variance_authority2.cva)(
538
433
  }
539
434
  );
540
435
  function Badge({ className, variant, ...props }) {
541
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: cn(badgeVariants({ variant }), className), ...props });
436
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(badgeVariants({ variant }), className), ...props });
542
437
  }
543
-
544
- // src/components/ui/card.tsx
545
- var React3 = __toESM(require("react"));
546
- var import_jsx_runtime5 = require("react/jsx-runtime");
547
- var Card = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
438
+ var Card = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
548
439
  "div",
549
440
  {
550
441
  ref,
@@ -557,7 +448,7 @@ var Card = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (
557
448
  }
558
449
  ));
559
450
  Card.displayName = "Card";
560
- var CardHeader = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
451
+ var CardHeader = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
561
452
  "div",
562
453
  {
563
454
  ref,
@@ -566,7 +457,7 @@ var CardHeader = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE_
566
457
  }
567
458
  ));
568
459
  CardHeader.displayName = "CardHeader";
569
- var CardTitle = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
460
+ var CardTitle = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
570
461
  "h3",
571
462
  {
572
463
  ref,
@@ -578,7 +469,7 @@ var CardTitle = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__
578
469
  }
579
470
  ));
580
471
  CardTitle.displayName = "CardTitle";
581
- var CardDescription = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
472
+ var CardDescription = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
582
473
  "p",
583
474
  {
584
475
  ref,
@@ -587,9 +478,9 @@ var CardDescription = React3.forwardRef(({ className, ...props }, ref) => /* @__
587
478
  }
588
479
  ));
589
480
  CardDescription.displayName = "CardDescription";
590
- var CardContent = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { ref, className: cn("p-6 pt-0", className), ...props }));
481
+ var CardContent = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
591
482
  CardContent.displayName = "CardContent";
592
- var CardFooter = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
483
+ var CardFooter = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
593
484
  "div",
594
485
  {
595
486
  ref,
@@ -598,13 +489,9 @@ var CardFooter = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE_
598
489
  }
599
490
  ));
600
491
  CardFooter.displayName = "CardFooter";
601
-
602
- // src/components/ui/input.tsx
603
- var React4 = __toESM(require("react"));
604
- var import_jsx_runtime6 = require("react/jsx-runtime");
605
- var Input = React4.forwardRef(
492
+ var Input = React32__namespace.forwardRef(
606
493
  ({ className, type, ...props }, ref) => {
607
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
494
+ return /* @__PURE__ */ jsxRuntime.jsx(
608
495
  "input",
609
496
  {
610
497
  type,
@@ -623,17 +510,56 @@ var Input = React4.forwardRef(
623
510
  }
624
511
  );
625
512
  Input.displayName = "Input";
626
-
627
- // src/components/ui/select.tsx
628
- var React5 = __toESM(require("react"));
629
- var SelectPrimitive = __toESM(require("@radix-ui/react-select"));
630
- var import_lucide_react = require("lucide-react");
631
- var import_jsx_runtime7 = require("react/jsx-runtime");
632
- var Select = SelectPrimitive.Root;
633
- var SelectGroup = SelectPrimitive.Group;
634
- var SelectValue = SelectPrimitive.Value;
635
- var SelectTrigger = React5.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
636
- SelectPrimitive.Trigger,
513
+ var Textarea = React32__namespace.forwardRef(
514
+ ({ className, ...props }, ref) => {
515
+ return /* @__PURE__ */ jsxRuntime.jsx(
516
+ "textarea",
517
+ {
518
+ className: cn(
519
+ "flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
520
+ className
521
+ ),
522
+ ref,
523
+ ...props
524
+ }
525
+ );
526
+ }
527
+ );
528
+ Textarea.displayName = "Textarea";
529
+ var labelVariants = classVarianceAuthority.cva(
530
+ "text-sm font-medium leading-none text-gray-900 dark:text-gray-200 peer-disabled:cursor-not-allowed peer-disabled:opacity-70 dark:peer-disabled:opacity-60 transition-colors duration-200"
531
+ );
532
+ var Label = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
533
+ LabelPrimitive__namespace.Root,
534
+ {
535
+ ref,
536
+ className: cn(labelVariants(), className),
537
+ ...props
538
+ }
539
+ ));
540
+ Label.displayName = LabelPrimitive__namespace.Root.displayName;
541
+ var Separator = React32__namespace.forwardRef(
542
+ ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
543
+ SeparatorPrimitive__namespace.Root,
544
+ {
545
+ ref,
546
+ decorative,
547
+ orientation,
548
+ className: cn(
549
+ "shrink-0 bg-border",
550
+ orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
551
+ className
552
+ ),
553
+ ...props
554
+ }
555
+ )
556
+ );
557
+ Separator.displayName = SeparatorPrimitive__namespace.Root.displayName;
558
+ var Select = SelectPrimitive__namespace.Root;
559
+ var SelectGroup = SelectPrimitive__namespace.Group;
560
+ var SelectValue = SelectPrimitive__namespace.Value;
561
+ var SelectTrigger = React32__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
562
+ SelectPrimitive__namespace.Trigger,
637
563
  {
638
564
  ref,
639
565
  className: cn(
@@ -647,13 +573,13 @@ var SelectTrigger = React5.forwardRef(({ className, children, ...props }, ref) =
647
573
  ...props,
648
574
  children: [
649
575
  children,
650
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
576
+ /* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Icon, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
651
577
  ]
652
578
  }
653
579
  ));
654
- SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
655
- var SelectScrollUpButton = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
656
- SelectPrimitive.ScrollUpButton,
580
+ SelectTrigger.displayName = SelectPrimitive__namespace.Trigger.displayName;
581
+ var SelectScrollUpButton = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
582
+ SelectPrimitive__namespace.ScrollUpButton,
657
583
  {
658
584
  ref,
659
585
  className: cn(
@@ -661,12 +587,12 @@ var SelectScrollUpButton = React5.forwardRef(({ className, ...props }, ref) => /
661
587
  className
662
588
  ),
663
589
  ...props,
664
- children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react.ChevronUp, { className: "h-4 w-4" })
590
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronUp, { className: "h-4 w-4" })
665
591
  }
666
592
  ));
667
- SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
668
- var SelectScrollDownButton = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
669
- SelectPrimitive.ScrollDownButton,
593
+ SelectScrollUpButton.displayName = SelectPrimitive__namespace.ScrollUpButton.displayName;
594
+ var SelectScrollDownButton = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
595
+ SelectPrimitive__namespace.ScrollDownButton,
670
596
  {
671
597
  ref,
672
598
  className: cn(
@@ -674,12 +600,12 @@ var SelectScrollDownButton = React5.forwardRef(({ className, ...props }, ref) =>
674
600
  className
675
601
  ),
676
602
  ...props,
677
- children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react.ChevronDown, { className: "h-4 w-4" })
603
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "h-4 w-4" })
678
604
  }
679
605
  ));
680
- SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
681
- var SelectContent = React5.forwardRef(({ className, children, position = "item-aligned", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
682
- SelectPrimitive.Content,
606
+ SelectScrollDownButton.displayName = SelectPrimitive__namespace.ScrollDownButton.displayName;
607
+ var SelectContent = React32__namespace.forwardRef(({ className, children, position = "item-aligned", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsxs(
608
+ SelectPrimitive__namespace.Content,
683
609
  {
684
610
  ref,
685
611
  className: cn(
@@ -694,9 +620,9 @@ var SelectContent = React5.forwardRef(({ className, children, position = "item-a
694
620
  position,
695
621
  ...props,
696
622
  children: [
697
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SelectScrollUpButton, {}),
698
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
699
- SelectPrimitive.Viewport,
623
+ /* @__PURE__ */ jsxRuntime.jsx(SelectScrollUpButton, {}),
624
+ /* @__PURE__ */ jsxRuntime.jsx(
625
+ SelectPrimitive__namespace.Viewport,
700
626
  {
701
627
  className: cn(
702
628
  "p-1",
@@ -705,22 +631,22 @@ var SelectContent = React5.forwardRef(({ className, children, position = "item-a
705
631
  children
706
632
  }
707
633
  ),
708
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SelectScrollDownButton, {})
634
+ /* @__PURE__ */ jsxRuntime.jsx(SelectScrollDownButton, {})
709
635
  ]
710
636
  }
711
637
  ) }));
712
- SelectContent.displayName = SelectPrimitive.Content.displayName;
713
- var SelectLabel = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
714
- SelectPrimitive.Label,
638
+ SelectContent.displayName = SelectPrimitive__namespace.Content.displayName;
639
+ var SelectLabel = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
640
+ SelectPrimitive__namespace.Label,
715
641
  {
716
642
  ref,
717
643
  className: cn("py-1.5 pl-8 pr-2 text-sm font-semibold text-[var(--color-foreground)]", className),
718
644
  ...props
719
645
  }
720
646
  ));
721
- SelectLabel.displayName = SelectPrimitive.Label.displayName;
722
- var SelectItem = React5.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
723
- SelectPrimitive.Item,
647
+ SelectLabel.displayName = SelectPrimitive__namespace.Label.displayName;
648
+ var SelectItem = React32__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
649
+ SelectPrimitive__namespace.Item,
724
650
  {
725
651
  ref,
726
652
  className: cn(
@@ -731,28 +657,23 @@ var SelectItem = React5.forwardRef(({ className, children, ...props }, ref) => /
731
657
  ),
732
658
  ...props,
733
659
  children: [
734
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react.Check, { className: "h-4 w-4" }) }) }),
735
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SelectPrimitive.ItemText, { children })
660
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "h-4 w-4" }) }) }),
661
+ /* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.ItemText, { children })
736
662
  ]
737
663
  }
738
664
  ));
739
- SelectItem.displayName = SelectPrimitive.Item.displayName;
740
- var SelectSeparator = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
741
- SelectPrimitive.Separator,
665
+ SelectItem.displayName = SelectPrimitive__namespace.Item.displayName;
666
+ var SelectSeparator = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
667
+ SelectPrimitive__namespace.Separator,
742
668
  {
743
669
  ref,
744
670
  className: cn("-mx-1 my-1 h-px bg-[var(--color-border)]", className),
745
671
  ...props
746
672
  }
747
673
  ));
748
- SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
749
-
750
- // src/components/ui/switch.tsx
751
- var React6 = __toESM(require("react"));
752
- var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"));
753
- var import_jsx_runtime8 = require("react/jsx-runtime");
754
- var Switch = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
755
- SwitchPrimitives.Root,
674
+ SelectSeparator.displayName = SelectPrimitive__namespace.Separator.displayName;
675
+ var Switch = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
676
+ SwitchPrimitives__namespace.Root,
756
677
  {
757
678
  className: cn(
758
679
  "peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent",
@@ -764,8 +685,8 @@ var Switch = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
764
685
  ),
765
686
  ...props,
766
687
  ref,
767
- children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
768
- SwitchPrimitives.Thumb,
688
+ children: /* @__PURE__ */ jsxRuntime.jsx(
689
+ SwitchPrimitives__namespace.Thumb,
769
690
  {
770
691
  className: cn(
771
692
  "pointer-events-none block h-5 w-5 rounded-full shadow-lg ring-0 transition-transform",
@@ -775,19 +696,12 @@ var Switch = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
775
696
  )
776
697
  }
777
698
  ));
778
- Switch.displayName = SwitchPrimitives.Root.displayName;
779
-
780
- // src/components/ui/dialog.tsx
781
- var React7 = __toESM(require("react"));
782
- var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"));
783
- var import_class_variance_authority3 = require("class-variance-authority");
784
- var import_lucide_react2 = require("lucide-react");
785
- var import_jsx_runtime9 = require("react/jsx-runtime");
786
- var Dialog = DialogPrimitive.Root;
787
- var DialogTrigger = DialogPrimitive.Trigger;
788
- var DialogPortal = DialogPrimitive.Portal;
789
- var DialogClose = DialogPrimitive.Close;
790
- var overlayVariants = (0, import_class_variance_authority3.cva)(
699
+ Switch.displayName = SwitchPrimitives__namespace.Root.displayName;
700
+ var Dialog = DialogPrimitive__namespace.Root;
701
+ var DialogTrigger = DialogPrimitive__namespace.Trigger;
702
+ var DialogPortal = DialogPrimitive__namespace.Portal;
703
+ var DialogClose = DialogPrimitive__namespace.Close;
704
+ var overlayVariants = classVarianceAuthority.cva(
791
705
  "fixed inset-0 z-50 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
792
706
  {
793
707
  variants: {
@@ -809,16 +723,16 @@ var overlayVariants = (0, import_class_variance_authority3.cva)(
809
723
  }
810
724
  }
811
725
  );
812
- var DialogOverlay = React7.forwardRef(({ className, variant, animation, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
813
- DialogPrimitive.Overlay,
726
+ var DialogOverlay = React32__namespace.forwardRef(({ className, variant, animation, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
727
+ DialogPrimitive__namespace.Overlay,
814
728
  {
815
729
  ref,
816
730
  className: cn(overlayVariants({ variant, animation }), className),
817
731
  ...props
818
732
  }
819
733
  ));
820
- DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
821
- var dialogContentVariants = (0, import_class_variance_authority3.cva)(
734
+ DialogOverlay.displayName = DialogPrimitive__namespace.Overlay.displayName;
735
+ var dialogContentVariants = classVarianceAuthority.cva(
822
736
  "fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border shadow-lg bg-[var(--color-card)] text-[var(--color-foreground)]",
823
737
  {
824
738
  variants: {
@@ -868,7 +782,7 @@ var dialogContentVariants = (0, import_class_variance_authority3.cva)(
868
782
  }
869
783
  }
870
784
  );
871
- var DialogContent = React7.forwardRef(
785
+ var DialogContent = React32__namespace.forwardRef(
872
786
  ({
873
787
  className,
874
788
  children,
@@ -893,16 +807,16 @@ var DialogContent = React7.forwardRef(
893
807
  onClose();
894
808
  }
895
809
  };
896
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(DialogPortal, { children: [
897
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
810
+ return /* @__PURE__ */ jsxRuntime.jsxs(DialogPortal, { children: [
811
+ /* @__PURE__ */ jsxRuntime.jsx(
898
812
  DialogOverlay,
899
813
  {
900
814
  variant: overlayVariant,
901
815
  animation: overlayAnimation
902
816
  }
903
817
  ),
904
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
905
- DialogPrimitive.Content,
818
+ /* @__PURE__ */ jsxRuntime.jsxs(
819
+ DialogPrimitive__namespace.Content,
906
820
  {
907
821
  ref,
908
822
  className: cn(
@@ -925,26 +839,26 @@ var DialogContent = React7.forwardRef(
925
839
  } : void 0,
926
840
  ...props,
927
841
  children: [
928
- (title || description) && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(DialogHeader, { className: icon || loading || success ? "flex flex-row items-start gap-4" : "", children: [
929
- (icon || loading || success) && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "rounded-full bg-[var(--color-accent)] p-2 flex-shrink-0", children: [
930
- loading && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react2.Loader2, { className: "h-5 w-5 animate-spin text-[var(--color-primary)]" }),
931
- success && !loading && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react2.Check, { className: "h-5 w-5 text-[var(--color-success)]" }),
932
- !loading && !success && icon && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "text-[var(--color-primary)]", children: icon })
842
+ (title || description) && /* @__PURE__ */ jsxRuntime.jsxs(DialogHeader, { className: icon || loading || success ? "flex flex-row items-start gap-4" : "", children: [
843
+ (icon || loading || success) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-full bg-[var(--color-accent)] p-2 flex-shrink-0", children: [
844
+ loading && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "h-5 w-5 animate-spin text-[var(--color-primary)]" }),
845
+ success && !loading && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "h-5 w-5 text-[var(--color-success)]" }),
846
+ !loading && !success && icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[var(--color-primary)]", children: icon })
933
847
  ] }),
934
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex-1", children: [
935
- title && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(DialogTitle, { children: title }),
936
- description && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(DialogDescription, { children: description })
848
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
849
+ title && /* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { children: title }),
850
+ description && /* @__PURE__ */ jsxRuntime.jsx(DialogDescription, { children: description })
937
851
  ] })
938
852
  ] }),
939
853
  children,
940
- !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
941
- DialogPrimitive.Close,
854
+ !hideCloseButton && /* @__PURE__ */ jsxRuntime.jsxs(
855
+ DialogPrimitive__namespace.Close,
942
856
  {
943
857
  onClick: handleClose,
944
858
  className: "absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-[var(--color-primary)]/30 focus:ring-offset-2 disabled:pointer-events-none text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)]",
945
859
  children: [
946
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react2.X, { className: "h-4 w-4" }),
947
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "sr-only", children: "Close" })
860
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-4 w-4" }),
861
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
948
862
  ]
949
863
  }
950
864
  )
@@ -954,11 +868,11 @@ var DialogContent = React7.forwardRef(
954
868
  ] });
955
869
  }
956
870
  );
957
- DialogContent.displayName = DialogPrimitive.Content.displayName;
871
+ DialogContent.displayName = DialogPrimitive__namespace.Content.displayName;
958
872
  var DialogHeader = ({
959
873
  className,
960
874
  ...props
961
- }) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
875
+ }) => /* @__PURE__ */ jsxRuntime.jsx(
962
876
  "div",
963
877
  {
964
878
  className: cn(
@@ -972,7 +886,7 @@ DialogHeader.displayName = "DialogHeader";
972
886
  var DialogFooter = ({
973
887
  className,
974
888
  ...props
975
- }) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
889
+ }) => /* @__PURE__ */ jsxRuntime.jsx(
976
890
  "div",
977
891
  {
978
892
  className: cn(
@@ -983,8 +897,8 @@ var DialogFooter = ({
983
897
  }
984
898
  );
985
899
  DialogFooter.displayName = "DialogFooter";
986
- var DialogTitle = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
987
- DialogPrimitive.Title,
900
+ var DialogTitle = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
901
+ DialogPrimitive__namespace.Title,
988
902
  {
989
903
  ref,
990
904
  className: cn(
@@ -994,9 +908,9 @@ var DialogTitle = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE
994
908
  ...props
995
909
  }
996
910
  ));
997
- DialogTitle.displayName = DialogPrimitive.Title.displayName;
998
- var DialogDescription = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
999
- DialogPrimitive.Description,
911
+ DialogTitle.displayName = DialogPrimitive__namespace.Title.displayName;
912
+ var DialogDescription = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
913
+ DialogPrimitive__namespace.Description,
1000
914
  {
1001
915
  ref,
1002
916
  className: cn(
@@ -1006,8 +920,8 @@ var DialogDescription = React7.forwardRef(({ className, ...props }, ref) => /* @
1006
920
  ...props
1007
921
  }
1008
922
  ));
1009
- DialogDescription.displayName = DialogPrimitive.Description.displayName;
1010
- var DialogForm = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
923
+ DialogDescription.displayName = DialogPrimitive__namespace.Description.displayName;
924
+ var DialogForm = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1011
925
  "form",
1012
926
  {
1013
927
  ref,
@@ -1016,22 +930,16 @@ var DialogForm = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE_
1016
930
  }
1017
931
  ));
1018
932
  DialogForm.displayName = "DialogForm";
1019
-
1020
- // src/components/ui/tabs.tsx
1021
- var React8 = __toESM(require("react"));
1022
- var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"));
1023
- var import_class_variance_authority4 = require("class-variance-authority");
1024
- var import_jsx_runtime10 = require("react/jsx-runtime");
1025
- var Tabs = React8.forwardRef(({ vertical = false, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1026
- TabsPrimitive.Root,
933
+ var Tabs = React32__namespace.forwardRef(({ vertical = false, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
934
+ TabsPrimitive__namespace.Root,
1027
935
  {
1028
936
  ref,
1029
937
  orientation: vertical ? "vertical" : "horizontal",
1030
938
  ...props
1031
939
  }
1032
940
  ));
1033
- Tabs.displayName = TabsPrimitive.Root.displayName;
1034
- var tabsListVariants = (0, import_class_variance_authority4.cva)(
941
+ Tabs.displayName = TabsPrimitive__namespace.Root.displayName;
942
+ var tabsListVariants = classVarianceAuthority.cva(
1035
943
  "flex items-center justify-start transition-all duration-200",
1036
944
  {
1037
945
  variants: {
@@ -1057,16 +965,16 @@ var tabsListVariants = (0, import_class_variance_authority4.cva)(
1057
965
  }
1058
966
  }
1059
967
  );
1060
- var TabsList = React8.forwardRef(({ className, variant, orientation, fullWidth, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1061
- TabsPrimitive.List,
968
+ var TabsList = React32__namespace.forwardRef(({ className, variant, orientation, fullWidth, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
969
+ TabsPrimitive__namespace.List,
1062
970
  {
1063
971
  ref,
1064
972
  className: cn(tabsListVariants({ variant, orientation, fullWidth, className })),
1065
973
  ...props
1066
974
  }
1067
975
  ));
1068
- TabsList.displayName = TabsPrimitive.List.displayName;
1069
- var tabsTriggerVariants = (0, import_class_variance_authority4.cva)(
976
+ TabsList.displayName = TabsPrimitive__namespace.List.displayName;
977
+ var tabsTriggerVariants = classVarianceAuthority.cva(
1070
978
  "inline-flex items-center justify-center whitespace-nowrap font-medium transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-primary)]/30 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
1071
979
  {
1072
980
  variants: {
@@ -1098,7 +1006,7 @@ var tabsTriggerVariants = (0, import_class_variance_authority4.cva)(
1098
1006
  }
1099
1007
  }
1100
1008
  );
1101
- var TabsTrigger = React8.forwardRef(({
1009
+ var TabsTrigger = React32__namespace.forwardRef(({
1102
1010
  className,
1103
1011
  variant,
1104
1012
  size,
@@ -1110,8 +1018,8 @@ var TabsTrigger = React8.forwardRef(({
1110
1018
  fullWidth,
1111
1019
  children,
1112
1020
  ...props
1113
- }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
1114
- TabsPrimitive.Trigger,
1021
+ }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
1022
+ TabsPrimitive__namespace.Trigger,
1115
1023
  {
1116
1024
  ref,
1117
1025
  className: cn(
@@ -1121,16 +1029,16 @@ var TabsTrigger = React8.forwardRef(({
1121
1029
  ),
1122
1030
  ...props,
1123
1031
  children: [
1124
- icon && iconPosition === "left" && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "mr-2", children: icon }),
1032
+ icon && iconPosition === "left" && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mr-2", children: icon }),
1125
1033
  children,
1126
- icon && iconPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "ml-2", children: icon }),
1127
- badge && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "ml-2", children: badge })
1034
+ icon && iconPosition === "right" && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ml-2", children: icon }),
1035
+ badge && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ml-2", children: badge })
1128
1036
  ]
1129
1037
  }
1130
1038
  ));
1131
- TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
1132
- var TabsContent = React8.forwardRef(({ className, animated = false, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1133
- TabsPrimitive.Content,
1039
+ TabsTrigger.displayName = TabsPrimitive__namespace.Trigger.displayName;
1040
+ var TabsContent = React32__namespace.forwardRef(({ className, animated = false, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1041
+ TabsPrimitive__namespace.Content,
1134
1042
  {
1135
1043
  ref,
1136
1044
  className: cn(
@@ -1141,14 +1049,8 @@ var TabsContent = React8.forwardRef(({ className, animated = false, ...props },
1141
1049
  ...props
1142
1050
  }
1143
1051
  ));
1144
- TabsContent.displayName = TabsPrimitive.Content.displayName;
1145
-
1146
- // src/components/ui/avatar.tsx
1147
- var React9 = __toESM(require("react"));
1148
- var AvatarPrimitive = __toESM(require("@radix-ui/react-avatar"));
1149
- var import_class_variance_authority5 = require("class-variance-authority");
1150
- var import_jsx_runtime11 = require("react/jsx-runtime");
1151
- var avatarVariants = (0, import_class_variance_authority5.cva)(
1052
+ TabsContent.displayName = TabsPrimitive__namespace.Content.displayName;
1053
+ var avatarVariants = classVarianceAuthority.cva(
1152
1054
  "relative flex shrink-0 overflow-hidden",
1153
1055
  {
1154
1056
  variants: {
@@ -1182,26 +1084,26 @@ var avatarVariants = (0, import_class_variance_authority5.cva)(
1182
1084
  }
1183
1085
  }
1184
1086
  );
1185
- var Avatar = React9.forwardRef(({ className, size, radius, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1186
- AvatarPrimitive.Root,
1087
+ var Avatar = React32__namespace.forwardRef(({ className, size, radius, variant, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1088
+ AvatarPrimitive__namespace.Root,
1187
1089
  {
1188
1090
  ref,
1189
1091
  className: cn(avatarVariants({ size, radius, variant }), className),
1190
1092
  ...props
1191
1093
  }
1192
1094
  ));
1193
- Avatar.displayName = AvatarPrimitive.Root.displayName;
1194
- var AvatarImage = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1195
- AvatarPrimitive.Image,
1095
+ Avatar.displayName = AvatarPrimitive__namespace.Root.displayName;
1096
+ var AvatarImage = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1097
+ AvatarPrimitive__namespace.Image,
1196
1098
  {
1197
1099
  ref,
1198
1100
  className: cn("aspect-square h-full w-full", className),
1199
1101
  ...props
1200
1102
  }
1201
1103
  ));
1202
- AvatarImage.displayName = AvatarPrimitive.Image.displayName;
1203
- var AvatarFallback = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1204
- AvatarPrimitive.Fallback,
1104
+ AvatarImage.displayName = AvatarPrimitive__namespace.Image.displayName;
1105
+ var AvatarFallback = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1106
+ AvatarPrimitive__namespace.Fallback,
1205
1107
  {
1206
1108
  ref,
1207
1109
  className: cn(
@@ -1211,19 +1113,19 @@ var AvatarFallback = React9.forwardRef(({ className, ...props }, ref) => /* @__P
1211
1113
  ...props
1212
1114
  }
1213
1115
  ));
1214
- AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
1215
- var AvatarGroup = React9.forwardRef(
1116
+ AvatarFallback.displayName = AvatarPrimitive__namespace.Fallback.displayName;
1117
+ var AvatarGroup = React32__namespace.forwardRef(
1216
1118
  ({ className, limit, avatars, overlapOffset = -8, ...props }, ref) => {
1217
1119
  const visibleAvatars = limit ? avatars.slice(0, limit) : avatars;
1218
1120
  const remainingCount = limit ? Math.max(0, avatars.length - limit) : 0;
1219
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1121
+ return /* @__PURE__ */ jsxRuntime.jsx(
1220
1122
  "div",
1221
1123
  {
1222
1124
  ref,
1223
1125
  className: cn("flex items-center", className),
1224
1126
  ...props,
1225
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex", children: [
1226
- visibleAvatars.map((avatar, index) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1127
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex", children: [
1128
+ visibleAvatars.map((avatar, index) => /* @__PURE__ */ jsxRuntime.jsx(
1227
1129
  "div",
1228
1130
  {
1229
1131
  className: "relative",
@@ -1235,12 +1137,12 @@ var AvatarGroup = React9.forwardRef(
1235
1137
  },
1236
1138
  index
1237
1139
  )),
1238
- remainingCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1140
+ remainingCount > 0 && /* @__PURE__ */ jsxRuntime.jsx(
1239
1141
  "div",
1240
1142
  {
1241
1143
  className: "relative z-0",
1242
1144
  style: { marginLeft: `${overlapOffset}px` },
1243
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Avatar, { variant: "border", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(AvatarFallback, { children: [
1145
+ children: /* @__PURE__ */ jsxRuntime.jsx(Avatar, { variant: "border", children: /* @__PURE__ */ jsxRuntime.jsxs(AvatarFallback, { children: [
1244
1146
  "+",
1245
1147
  remainingCount
1246
1148
  ] }) })
@@ -1252,13 +1154,7 @@ var AvatarGroup = React9.forwardRef(
1252
1154
  }
1253
1155
  );
1254
1156
  AvatarGroup.displayName = "AvatarGroup";
1255
-
1256
- // src/components/ui/alert.tsx
1257
- var React10 = __toESM(require("react"));
1258
- var import_class_variance_authority6 = require("class-variance-authority");
1259
- var import_lucide_react3 = require("lucide-react");
1260
- var import_jsx_runtime12 = require("react/jsx-runtime");
1261
- var alertVariants = (0, import_class_variance_authority6.cva)(
1157
+ var alertVariants = classVarianceAuthority.cva(
1262
1158
  "relative w-full flex items-center gap-3 p-4 border text-[var(--color-foreground)] [&>svg]:shrink-0",
1263
1159
  {
1264
1160
  variants: {
@@ -1294,23 +1190,23 @@ var alertVariants = (0, import_class_variance_authority6.cva)(
1294
1190
  }
1295
1191
  }
1296
1192
  );
1297
- var Alert = React10.forwardRef(
1193
+ var Alert = React32__namespace.forwardRef(
1298
1194
  ({ className, variant = "default", size, radius, hideIcon = false, closable = false, onClose, children, ...props }, ref) => {
1299
- const Icon2 = React10.useMemo(() => {
1195
+ const Icon2 = React32__namespace.useMemo(() => {
1300
1196
  switch (variant) {
1301
1197
  case "success":
1302
- return import_lucide_react3.Check;
1198
+ return lucideReact.Check;
1303
1199
  case "warning":
1304
- return import_lucide_react3.AlertTriangle;
1200
+ return lucideReact.AlertTriangle;
1305
1201
  case "error":
1306
- return import_lucide_react3.AlertCircle;
1202
+ return lucideReact.AlertCircle;
1307
1203
  case "info":
1308
- return import_lucide_react3.Info;
1204
+ return lucideReact.Info;
1309
1205
  default:
1310
- return import_lucide_react3.Info;
1206
+ return lucideReact.Info;
1311
1207
  }
1312
1208
  }, [variant]);
1313
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
1209
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1314
1210
  "div",
1315
1211
  {
1316
1212
  ref,
@@ -1318,15 +1214,15 @@ var Alert = React10.forwardRef(
1318
1214
  className: cn(alertVariants({ variant, size, radius, withClose: closable }), className),
1319
1215
  ...props,
1320
1216
  children: [
1321
- !hideIcon && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon2, { className: "h-5 w-5" }),
1322
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "flex-1", children }),
1323
- closable && onClose && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1217
+ !hideIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon2, { className: "h-5 w-5" }),
1218
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1", children }),
1219
+ closable && onClose && /* @__PURE__ */ jsxRuntime.jsx(
1324
1220
  "button",
1325
1221
  {
1326
1222
  onClick: onClose,
1327
1223
  className: "absolute right-3 top-3 inline-flex h-6 w-6 items-center justify-center rounded-full opacity-70 transition-opacity hover:opacity-100",
1328
1224
  "aria-label": "Kapat",
1329
- children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react3.X, { className: "h-4 w-4" })
1225
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-4 w-4" })
1330
1226
  }
1331
1227
  )
1332
1228
  ]
@@ -1335,7 +1231,7 @@ var Alert = React10.forwardRef(
1335
1231
  }
1336
1232
  );
1337
1233
  Alert.displayName = "Alert";
1338
- var AlertTitle = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1234
+ var AlertTitle = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1339
1235
  "h5",
1340
1236
  {
1341
1237
  ref,
@@ -1344,7 +1240,7 @@ var AlertTitle = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE
1344
1240
  }
1345
1241
  ));
1346
1242
  AlertTitle.displayName = "AlertTitle";
1347
- var AlertDescription = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1243
+ var AlertDescription = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1348
1244
  "div",
1349
1245
  {
1350
1246
  ref,
@@ -1353,21 +1249,15 @@ var AlertDescription = React10.forwardRef(({ className, ...props }, ref) => /* @
1353
1249
  }
1354
1250
  ));
1355
1251
  AlertDescription.displayName = "AlertDescription";
1356
-
1357
- // src/components/ui/toast.tsx
1358
- var React11 = __toESM(require("react"));
1359
- var import_class_variance_authority7 = require("class-variance-authority");
1360
- var import_lucide_react4 = require("lucide-react");
1361
- var import_jsx_runtime13 = require("react/jsx-runtime");
1362
- var ToastProvider = React11.createContext(null);
1252
+ var ToastProvider = React32__namespace.createContext(null);
1363
1253
  var useToast = () => {
1364
- const context = React11.useContext(ToastProvider);
1254
+ const context = React32__namespace.useContext(ToastProvider);
1365
1255
  if (!context) {
1366
1256
  throw new Error("useToast must be used within a ToastProvider");
1367
1257
  }
1368
1258
  return context;
1369
1259
  };
1370
- var toastVariants = (0, import_class_variance_authority7.cva)(
1260
+ var toastVariants = classVarianceAuthority.cva(
1371
1261
  "group pointer-events-auto relative flex w-full items-center justify-between gap-2 overflow-hidden border p-4 shadow-md 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",
1372
1262
  {
1373
1263
  variants: {
@@ -1415,24 +1305,24 @@ var Toast = ({
1415
1305
  showProgress = false,
1416
1306
  ...props
1417
1307
  }) => {
1418
- const [progress, setProgress] = React11.useState(100);
1419
- const timerRef = React11.useRef(void 0);
1420
- const Icon2 = React11.useMemo(() => {
1308
+ const [progress, setProgress] = React32__namespace.useState(100);
1309
+ const timerRef = React32__namespace.useRef(void 0);
1310
+ const Icon2 = React32__namespace.useMemo(() => {
1421
1311
  switch (variant) {
1422
1312
  case "success":
1423
- return import_lucide_react4.Check;
1313
+ return lucideReact.Check;
1424
1314
  case "warning":
1425
- return import_lucide_react4.AlertTriangle;
1315
+ return lucideReact.AlertTriangle;
1426
1316
  case "error":
1427
1317
  case "destructive":
1428
- return import_lucide_react4.AlertCircle;
1318
+ return lucideReact.AlertCircle;
1429
1319
  case "info":
1430
- return import_lucide_react4.Info;
1320
+ return lucideReact.Info;
1431
1321
  default:
1432
1322
  return null;
1433
1323
  }
1434
1324
  }, [variant]);
1435
- React11.useEffect(() => {
1325
+ React32__namespace.useEffect(() => {
1436
1326
  if (autoClose) {
1437
1327
  const startTime = Date.now();
1438
1328
  const endTime = startTime + duration;
@@ -1456,14 +1346,14 @@ var Toast = ({
1456
1346
  };
1457
1347
  }, [autoClose, duration, onClose]);
1458
1348
  const textColorClass = variant === "default" ? "text-[var(--color-foreground)]" : variant === "destructive" ? "text-[var(--color-error-foreground)]" : `text-[var(--color-${variant})]`;
1459
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
1349
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1460
1350
  "div",
1461
1351
  {
1462
1352
  className: cn(toastVariants({ variant, size, radius }), className),
1463
1353
  ...props,
1464
1354
  children: [
1465
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex gap-3 items-start", children: [
1466
- !hideIcon && Icon2 && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1355
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-3 items-start", children: [
1356
+ !hideIcon && Icon2 && /* @__PURE__ */ jsxRuntime.jsx(
1467
1357
  Icon2,
1468
1358
  {
1469
1359
  className: cn(
@@ -1472,15 +1362,15 @@ var Toast = ({
1472
1362
  )
1473
1363
  }
1474
1364
  ),
1475
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex flex-col gap-1", children: [
1476
- title && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: cn("font-medium leading-none tracking-tight", textColorClass), children: title }),
1477
- description && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: cn("text-[var(--color-muted-foreground)] leading-normal", {
1365
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
1366
+ title && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("font-medium leading-none tracking-tight", textColorClass), children: title }),
1367
+ description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("text-[var(--color-muted-foreground)] leading-normal", {
1478
1368
  "text-[var(--color-error-foreground)]/90": variant === "destructive"
1479
1369
  }), children: description })
1480
1370
  ] })
1481
1371
  ] }),
1482
1372
  action,
1483
- onClose && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1373
+ onClose && /* @__PURE__ */ jsxRuntime.jsx(
1484
1374
  "button",
1485
1375
  {
1486
1376
  onClick: onClose,
@@ -1488,10 +1378,10 @@ var Toast = ({
1488
1378
  "absolute right-2 top-2 rounded-[var(--radius-sm)] p-1 transition-opacity hover:opacity-100 opacity-70",
1489
1379
  textColorClass
1490
1380
  ),
1491
- children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react4.X, { className: "h-4 w-4" })
1381
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-4 w-4" })
1492
1382
  }
1493
1383
  ),
1494
- autoClose && showProgress && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "absolute bottom-0 left-0 right-0 h-1 bg-[var(--color-accent)]/50", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1384
+ autoClose && showProgress && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-0 left-0 right-0 h-1 bg-[var(--color-accent)]/50", children: /* @__PURE__ */ jsxRuntime.jsx(
1495
1385
  "div",
1496
1386
  {
1497
1387
  className: cn(
@@ -1521,7 +1411,7 @@ var ToastContainer = ({
1521
1411
  "bottom-center": "bottom-0 left-1/2 -translate-x-1/2 flex-col",
1522
1412
  "bottom-left": "bottom-0 left-0 flex-col"
1523
1413
  };
1524
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1414
+ return /* @__PURE__ */ jsxRuntime.jsx(
1525
1415
  "div",
1526
1416
  {
1527
1417
  className: cn(
@@ -1535,12 +1425,7 @@ var ToastContainer = ({
1535
1425
  );
1536
1426
  };
1537
1427
  ToastContainer.displayName = "ToastContainer";
1538
-
1539
- // src/components/ui/tooltip.tsx
1540
- var React12 = __toESM(require("react"));
1541
- var import_class_variance_authority8 = require("class-variance-authority");
1542
- var import_jsx_runtime14 = require("react/jsx-runtime");
1543
- var tooltipContentVariants = (0, import_class_variance_authority8.cva)(
1428
+ var tooltipContentVariants = classVarianceAuthority.cva(
1544
1429
  "absolute z-50 overflow-hidden border text-[var(--font-size-xs)] opacity-0 transition-opacity duration-200 ease-in-out pointer-events-none",
1545
1430
  {
1546
1431
  variants: {
@@ -1700,8 +1585,8 @@ function Tooltip({
1700
1585
  triggerClassName,
1701
1586
  ...props
1702
1587
  }) {
1703
- const [visible, setVisible] = React12.useState(false);
1704
- const timeoutRef = React12.useRef(void 0);
1588
+ const [visible, setVisible] = React32__namespace.useState(false);
1589
+ const timeoutRef = React32__namespace.useRef(void 0);
1705
1590
  const showTooltip = () => {
1706
1591
  if (timeoutRef.current) {
1707
1592
  clearTimeout(timeoutRef.current);
@@ -1716,7 +1601,7 @@ function Tooltip({
1716
1601
  }
1717
1602
  setVisible(false);
1718
1603
  };
1719
- React12.useEffect(() => {
1604
+ React32__namespace.useEffect(() => {
1720
1605
  return () => {
1721
1606
  if (timeoutRef.current) {
1722
1607
  clearTimeout(timeoutRef.current);
@@ -1724,9 +1609,9 @@ function Tooltip({
1724
1609
  };
1725
1610
  }, []);
1726
1611
  if (disabled) {
1727
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_jsx_runtime14.Fragment, { children });
1612
+ return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
1728
1613
  }
1729
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
1614
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1730
1615
  "div",
1731
1616
  {
1732
1617
  className: "relative inline-flex",
@@ -1735,8 +1620,8 @@ function Tooltip({
1735
1620
  onFocus: showTooltip,
1736
1621
  onBlur: hideTooltip,
1737
1622
  children: [
1738
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: cn("inline-flex", triggerClassName || ""), children }),
1739
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1623
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("inline-flex", triggerClassName || ""), children }),
1624
+ /* @__PURE__ */ jsxRuntime.jsx(
1740
1625
  "div",
1741
1626
  {
1742
1627
  className: cn(
@@ -1762,14 +1647,7 @@ function Tooltip({
1762
1647
  );
1763
1648
  }
1764
1649
  Tooltip.displayName = "Tooltip";
1765
-
1766
- // src/components/ui/checkbox.tsx
1767
- var React13 = __toESM(require("react"));
1768
- var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"));
1769
- var import_lucide_react5 = require("lucide-react");
1770
- var import_class_variance_authority9 = require("class-variance-authority");
1771
- var import_jsx_runtime15 = require("react/jsx-runtime");
1772
- var checkboxVariants = (0, import_class_variance_authority9.cva)(
1650
+ var checkboxVariants = classVarianceAuthority.cva(
1773
1651
  "peer shrink-0 border focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:text-[var(--color-primary-foreground)]",
1774
1652
  {
1775
1653
  variants: {
@@ -1807,7 +1685,7 @@ var checkboxVariants = (0, import_class_variance_authority9.cva)(
1807
1685
  }
1808
1686
  }
1809
1687
  );
1810
- var Checkbox = React13.forwardRef(({
1688
+ var Checkbox = React32__namespace.forwardRef(({
1811
1689
  className,
1812
1690
  variant,
1813
1691
  size,
@@ -1818,35 +1696,35 @@ var Checkbox = React13.forwardRef(({
1818
1696
  checked,
1819
1697
  ...props
1820
1698
  }, ref) => {
1821
- const [isIndeterminate, setIsIndeterminate] = React13.useState(indeterminate);
1822
- React13.useEffect(() => {
1699
+ const [isIndeterminate, setIsIndeterminate] = React32__namespace.useState(indeterminate);
1700
+ React32__namespace.useEffect(() => {
1823
1701
  setIsIndeterminate(indeterminate);
1824
1702
  }, [indeterminate]);
1825
1703
  const effectiveChecked = isIndeterminate ? false : checked;
1826
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1827
- CheckboxPrimitive.Root,
1704
+ return /* @__PURE__ */ jsxRuntime.jsx(
1705
+ CheckboxPrimitive__namespace.Root,
1828
1706
  {
1829
1707
  ref,
1830
1708
  checked: effectiveChecked,
1831
1709
  className: cn(checkboxVariants({ variant, size, radius, animation }), className),
1832
1710
  ...props,
1833
- children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1834
- CheckboxPrimitive.Indicator,
1711
+ children: /* @__PURE__ */ jsxRuntime.jsx(
1712
+ CheckboxPrimitive__namespace.Indicator,
1835
1713
  {
1836
1714
  className: cn(
1837
1715
  "flex items-center justify-center text-current",
1838
1716
  animation === "bounce" && "data-[state=checked]:animate-bounce"
1839
1717
  ),
1840
- children: isIndeterminate ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react5.Minus, { className: "h-[65%] w-[65%]" }) : icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react5.Check, { className: "h-[65%] w-[65%]" })
1718
+ children: isIndeterminate ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Minus, { className: "h-[65%] w-[65%]" }) : icon ? icon : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "h-[65%] w-[65%]" })
1841
1719
  }
1842
1720
  )
1843
1721
  }
1844
1722
  );
1845
1723
  });
1846
- Checkbox.displayName = CheckboxPrimitive.Root.displayName;
1847
- var CheckboxGroup = React13.forwardRef(
1724
+ Checkbox.displayName = CheckboxPrimitive__namespace.Root.displayName;
1725
+ var CheckboxGroup = React32__namespace.forwardRef(
1848
1726
  ({ className, orientation = "vertical", spacing = "1rem", children, ...props }, ref) => {
1849
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1727
+ return /* @__PURE__ */ jsxRuntime.jsx(
1850
1728
  "div",
1851
1729
  {
1852
1730
  ref,
@@ -1864,9 +1742,9 @@ var CheckboxGroup = React13.forwardRef(
1864
1742
  }
1865
1743
  );
1866
1744
  CheckboxGroup.displayName = "CheckboxGroup";
1867
- var CheckboxLabel = React13.forwardRef(
1745
+ var CheckboxLabel = React32__namespace.forwardRef(
1868
1746
  ({ className, htmlFor, children, position = "end", disabled = false, ...props }, ref) => {
1869
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1747
+ return /* @__PURE__ */ jsxRuntime.jsx(
1870
1748
  "label",
1871
1749
  {
1872
1750
  ref,
@@ -1884,7 +1762,7 @@ var CheckboxLabel = React13.forwardRef(
1884
1762
  }
1885
1763
  );
1886
1764
  CheckboxLabel.displayName = "CheckboxLabel";
1887
- var CheckboxWithLabel = React13.forwardRef(({
1765
+ var CheckboxWithLabel = React32__namespace.forwardRef(({
1888
1766
  id,
1889
1767
  label,
1890
1768
  labelPosition = "end",
@@ -1892,8 +1770,8 @@ var CheckboxWithLabel = React13.forwardRef(({
1892
1770
  ...checkboxProps
1893
1771
  }, ref) => {
1894
1772
  const checkboxId = id || `checkbox-${Math.random().toString(36).substring(2, 9)}`;
1895
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "flex items-center", children: [
1896
- labelPosition === "start" && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1773
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center", children: [
1774
+ labelPosition === "start" && /* @__PURE__ */ jsxRuntime.jsx(
1897
1775
  CheckboxLabel,
1898
1776
  {
1899
1777
  htmlFor: checkboxId,
@@ -1903,8 +1781,8 @@ var CheckboxWithLabel = React13.forwardRef(({
1903
1781
  children: label
1904
1782
  }
1905
1783
  ),
1906
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Checkbox, { ref, id: checkboxId, ...checkboxProps }),
1907
- labelPosition === "end" && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1784
+ /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { ref, id: checkboxId, ...checkboxProps }),
1785
+ labelPosition === "end" && /* @__PURE__ */ jsxRuntime.jsx(
1908
1786
  CheckboxLabel,
1909
1787
  {
1910
1788
  htmlFor: checkboxId,
@@ -1917,13 +1795,7 @@ var CheckboxWithLabel = React13.forwardRef(({
1917
1795
  ] });
1918
1796
  });
1919
1797
  CheckboxWithLabel.displayName = "CheckboxWithLabel";
1920
-
1921
- // src/components/ui/radio-group.tsx
1922
- var React14 = __toESM(require("react"));
1923
- var import_lucide_react6 = require("lucide-react");
1924
- var import_class_variance_authority10 = require("class-variance-authority");
1925
- var import_jsx_runtime16 = require("react/jsx-runtime");
1926
- var radioGroupItemVariants = (0, import_class_variance_authority10.cva)(
1798
+ var radioGroupItemVariants = classVarianceAuthority.cva(
1927
1799
  "aspect-square border focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
1928
1800
  {
1929
1801
  variants: {
@@ -1945,10 +1817,10 @@ var radioGroupItemVariants = (0, import_class_variance_authority10.cva)(
1945
1817
  }
1946
1818
  }
1947
1819
  );
1948
- var RadioGroupContext = React14.createContext({});
1949
- var RadioGroup = React14.forwardRef(
1820
+ var RadioGroupContext = React32__namespace.createContext({});
1821
+ var RadioGroup = React32__namespace.forwardRef(
1950
1822
  ({ className, value, onValueChange, disabled, name, ...props }, ref) => {
1951
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(RadioGroupContext.Provider, { value: { value, onValueChange, disabled, name }, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1823
+ return /* @__PURE__ */ jsxRuntime.jsx(RadioGroupContext.Provider, { value: { value, onValueChange, disabled, name }, children: /* @__PURE__ */ jsxRuntime.jsx(
1952
1824
  "div",
1953
1825
  {
1954
1826
  ref,
@@ -1960,9 +1832,9 @@ var RadioGroup = React14.forwardRef(
1960
1832
  }
1961
1833
  );
1962
1834
  RadioGroup.displayName = "RadioGroup";
1963
- var RadioGroupItem = React14.forwardRef(({ className, variant, size, indicator, id, value, disabled, ...props }, ref) => {
1964
- const radioGroup = React14.useContext(RadioGroupContext);
1965
- const generatedId = React14.useId();
1835
+ var RadioGroupItem = React32__namespace.forwardRef(({ className, variant, size, indicator, id, value, disabled, ...props }, ref) => {
1836
+ const radioGroup = React32__namespace.useContext(RadioGroupContext);
1837
+ const generatedId = React32__namespace.useId();
1966
1838
  const radioId = id || generatedId;
1967
1839
  const isChecked = radioGroup.value === value;
1968
1840
  const handleChange = (e) => {
@@ -1973,8 +1845,8 @@ var RadioGroupItem = React14.forwardRef(({ className, variant, size, indicator,
1973
1845
  props.onChange(e);
1974
1846
  }
1975
1847
  };
1976
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "relative flex items-center", children: [
1977
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1848
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex items-center", children: [
1849
+ /* @__PURE__ */ jsxRuntime.jsx(
1978
1850
  "input",
1979
1851
  {
1980
1852
  type: "radio",
@@ -1989,7 +1861,7 @@ var RadioGroupItem = React14.forwardRef(({ className, variant, size, indicator,
1989
1861
  ...props
1990
1862
  }
1991
1863
  ),
1992
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1864
+ /* @__PURE__ */ jsxRuntime.jsx(
1993
1865
  "label",
1994
1866
  {
1995
1867
  htmlFor: radioId,
@@ -2001,18 +1873,18 @@ var RadioGroupItem = React14.forwardRef(({ className, variant, size, indicator,
2001
1873
  disabled && "cursor-not-allowed opacity-50",
2002
1874
  className
2003
1875
  ),
2004
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: cn(
1876
+ children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn(
2005
1877
  "absolute inset-0 pointer-events-none",
2006
1878
  isChecked && "flex items-center justify-center"
2007
- ), children: isChecked && (indicator || /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react6.Circle, { className: "h-[60%] w-[60%] fill-current text-current" })) })
1879
+ ), children: isChecked && (indicator || /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Circle, { className: "h-[60%] w-[60%] fill-current text-current" })) })
2008
1880
  }
2009
1881
  )
2010
1882
  ] });
2011
1883
  });
2012
1884
  RadioGroupItem.displayName = "RadioGroupItem";
2013
- var RadioLabel = React14.forwardRef(
1885
+ var RadioLabel = React32__namespace.forwardRef(
2014
1886
  ({ className, htmlFor, children, disabled = false, ...props }, ref) => {
2015
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1887
+ return /* @__PURE__ */ jsxRuntime.jsx(
2016
1888
  "label",
2017
1889
  {
2018
1890
  ref,
@@ -2029,16 +1901,16 @@ var RadioLabel = React14.forwardRef(
2029
1901
  }
2030
1902
  );
2031
1903
  RadioLabel.displayName = "RadioLabel";
2032
- var RadioItemWithLabel = React14.forwardRef(({
1904
+ var RadioItemWithLabel = React32__namespace.forwardRef(({
2033
1905
  id,
2034
1906
  label,
2035
1907
  labelClassName,
2036
1908
  ...radioProps
2037
1909
  }, ref) => {
2038
1910
  const radioId = id || `radio-${Math.random().toString(36).substring(2, 9)}`;
2039
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center", children: [
2040
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(RadioGroupItem, { ref, id: radioId, ...radioProps }),
2041
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1911
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center", children: [
1912
+ /* @__PURE__ */ jsxRuntime.jsx(RadioGroupItem, { ref, id: radioId, ...radioProps }),
1913
+ /* @__PURE__ */ jsxRuntime.jsx(
2042
1914
  RadioLabel,
2043
1915
  {
2044
1916
  htmlFor: radioId,
@@ -2050,12 +1922,7 @@ var RadioItemWithLabel = React14.forwardRef(({
2050
1922
  ] });
2051
1923
  });
2052
1924
  RadioItemWithLabel.displayName = "RadioItemWithLabel";
2053
-
2054
- // src/components/ui/progress.tsx
2055
- var React15 = __toESM(require("react"));
2056
- var import_class_variance_authority11 = require("class-variance-authority");
2057
- var import_jsx_runtime17 = require("react/jsx-runtime");
2058
- var progressVariants = (0, import_class_variance_authority11.cva)(
1925
+ var progressVariants = classVarianceAuthority.cva(
2059
1926
  "relative w-full overflow-hidden bg-[var(--color-muted)]",
2060
1927
  {
2061
1928
  variants: {
@@ -2097,7 +1964,7 @@ var progressVariants = (0, import_class_variance_authority11.cva)(
2097
1964
  }
2098
1965
  }
2099
1966
  );
2100
- var progressIndicatorVariants = (0, import_class_variance_authority11.cva)(
1967
+ var progressIndicatorVariants = classVarianceAuthority.cva(
2101
1968
  "h-full w-full flex-1",
2102
1969
  {
2103
1970
  variants: {
@@ -2122,7 +1989,7 @@ var progressIndicatorVariants = (0, import_class_variance_authority11.cva)(
2122
1989
  }
2123
1990
  }
2124
1991
  );
2125
- var Progress = React15.forwardRef(({
1992
+ var Progress = React32__namespace.forwardRef(({
2126
1993
  className,
2127
1994
  value = 0,
2128
1995
  variant,
@@ -2140,8 +2007,8 @@ var Progress = React15.forwardRef(({
2140
2007
  const normalizedValue = Math.max(0, Math.min(value, max));
2141
2008
  const percentage = max > 0 ? normalizedValue / max * 100 : 0;
2142
2009
  const label = valueLabel || `${Math.round(percentage)}%`;
2143
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "w-full", children: [
2144
- showValueLabel && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "flex justify-between items-center mb-1", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2010
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
2011
+ showValueLabel && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-between items-center mb-1", children: /* @__PURE__ */ jsxRuntime.jsx(
2145
2012
  "span",
2146
2013
  {
2147
2014
  className: cn(
@@ -2151,7 +2018,7 @@ var Progress = React15.forwardRef(({
2151
2018
  children: label
2152
2019
  }
2153
2020
  ) }),
2154
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2021
+ /* @__PURE__ */ jsxRuntime.jsx(
2155
2022
  "div",
2156
2023
  {
2157
2024
  ref,
@@ -2161,7 +2028,7 @@ var Progress = React15.forwardRef(({
2161
2028
  "aria-valuemax": max,
2162
2029
  "aria-valuenow": indeterminate ? void 0 : normalizedValue,
2163
2030
  ...props,
2164
- children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2031
+ children: /* @__PURE__ */ jsxRuntime.jsx(
2165
2032
  "div",
2166
2033
  {
2167
2034
  className: cn(
@@ -2176,12 +2043,7 @@ var Progress = React15.forwardRef(({
2176
2043
  ] });
2177
2044
  });
2178
2045
  Progress.displayName = "Progress";
2179
-
2180
- // src/components/ui/skeleton.tsx
2181
- var React16 = __toESM(require("react"));
2182
- var import_class_variance_authority12 = require("class-variance-authority");
2183
- var import_jsx_runtime18 = require("react/jsx-runtime");
2184
- var skeletonVariants = (0, import_class_variance_authority12.cva)(
2046
+ var skeletonVariants = classVarianceAuthority.cva(
2185
2047
  "animate-pulse rounded-[var(--radius-md)]",
2186
2048
  {
2187
2049
  variants: {
@@ -2215,7 +2077,7 @@ var skeletonVariants = (0, import_class_variance_authority12.cva)(
2215
2077
  }
2216
2078
  }
2217
2079
  );
2218
- var Skeleton = React16.forwardRef(
2080
+ var Skeleton = React32__namespace.forwardRef(
2219
2081
  ({
2220
2082
  className,
2221
2083
  variant,
@@ -2231,7 +2093,7 @@ var Skeleton = React16.forwardRef(
2231
2093
  ...props
2232
2094
  }, ref) => {
2233
2095
  if (isLoaded && children) {
2234
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2096
+ return /* @__PURE__ */ jsxRuntime.jsx(
2235
2097
  "div",
2236
2098
  {
2237
2099
  ref,
@@ -2247,7 +2109,7 @@ var Skeleton = React16.forwardRef(
2247
2109
  }
2248
2110
  );
2249
2111
  }
2250
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2112
+ return /* @__PURE__ */ jsxRuntime.jsx(
2251
2113
  "div",
2252
2114
  {
2253
2115
  ref,
@@ -2267,7 +2129,7 @@ var Skeleton = React16.forwardRef(
2267
2129
  }
2268
2130
  );
2269
2131
  Skeleton.displayName = "Skeleton";
2270
- var SkeletonText = React16.forwardRef(
2132
+ var SkeletonText = React32__namespace.forwardRef(
2271
2133
  ({
2272
2134
  className,
2273
2135
  lines = 3,
@@ -2279,7 +2141,7 @@ var SkeletonText = React16.forwardRef(
2279
2141
  animation = "pulse",
2280
2142
  ...props
2281
2143
  }, ref) => {
2282
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2144
+ return /* @__PURE__ */ jsxRuntime.jsx(
2283
2145
  "div",
2284
2146
  {
2285
2147
  ref,
@@ -2289,7 +2151,7 @@ var SkeletonText = React16.forwardRef(
2289
2151
  children: Array.from({ length: lines }).map((_, i) => {
2290
2152
  const isLastLine = i === lines - 1;
2291
2153
  const widthPercentage = isLastLine ? lastLineWidth : randomWidths ? Math.floor(Math.random() * 20) + 80 : 100;
2292
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2154
+ return /* @__PURE__ */ jsxRuntime.jsx(
2293
2155
  Skeleton,
2294
2156
  {
2295
2157
  variant,
@@ -2308,7 +2170,7 @@ var SkeletonText = React16.forwardRef(
2308
2170
  }
2309
2171
  );
2310
2172
  SkeletonText.displayName = "SkeletonText";
2311
- var SkeletonAvatar = React16.forwardRef(
2173
+ var SkeletonAvatar = React32__namespace.forwardRef(
2312
2174
  ({
2313
2175
  className,
2314
2176
  size = "2.5rem",
@@ -2316,7 +2178,7 @@ var SkeletonAvatar = React16.forwardRef(
2316
2178
  animation = "pulse",
2317
2179
  ...props
2318
2180
  }, ref) => {
2319
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2181
+ return /* @__PURE__ */ jsxRuntime.jsx(
2320
2182
  Skeleton,
2321
2183
  {
2322
2184
  ref,
@@ -2334,7 +2196,7 @@ var SkeletonAvatar = React16.forwardRef(
2334
2196
  }
2335
2197
  );
2336
2198
  SkeletonAvatar.displayName = "SkeletonAvatar";
2337
- var SkeletonCard = React16.forwardRef(
2199
+ var SkeletonCard = React32__namespace.forwardRef(
2338
2200
  ({
2339
2201
  className,
2340
2202
  showHeader = true,
@@ -2344,7 +2206,7 @@ var SkeletonCard = React16.forwardRef(
2344
2206
  animation = "pulse",
2345
2207
  ...props
2346
2208
  }, ref) => {
2347
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
2209
+ return /* @__PURE__ */ jsxRuntime.jsxs(
2348
2210
  "div",
2349
2211
  {
2350
2212
  ref,
@@ -2354,10 +2216,10 @@ var SkeletonCard = React16.forwardRef(
2354
2216
  ),
2355
2217
  ...props,
2356
2218
  children: [
2357
- showHeader && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "mb-4 flex items-center gap-4", children: [
2358
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(SkeletonAvatar, { size: "2.5rem", variant, animation }),
2359
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex-1", children: [
2360
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2219
+ showHeader && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-4 flex items-center gap-4", children: [
2220
+ /* @__PURE__ */ jsxRuntime.jsx(SkeletonAvatar, { size: "2.5rem", variant, animation }),
2221
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
2222
+ /* @__PURE__ */ jsxRuntime.jsx(
2361
2223
  Skeleton,
2362
2224
  {
2363
2225
  variant,
@@ -2365,7 +2227,7 @@ var SkeletonCard = React16.forwardRef(
2365
2227
  className: "mb-2 h-4 w-1/3"
2366
2228
  }
2367
2229
  ),
2368
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2230
+ /* @__PURE__ */ jsxRuntime.jsx(
2369
2231
  Skeleton,
2370
2232
  {
2371
2233
  variant,
@@ -2375,7 +2237,7 @@ var SkeletonCard = React16.forwardRef(
2375
2237
  )
2376
2238
  ] })
2377
2239
  ] }),
2378
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2240
+ /* @__PURE__ */ jsxRuntime.jsx(
2379
2241
  SkeletonText,
2380
2242
  {
2381
2243
  lines: contentLines,
@@ -2384,8 +2246,8 @@ var SkeletonCard = React16.forwardRef(
2384
2246
  className: "mb-4"
2385
2247
  }
2386
2248
  ),
2387
- showFooter && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex items-center justify-between mt-4 pt-4 border-t border-[var(--color-border)]", children: [
2388
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2249
+ showFooter && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between mt-4 pt-4 border-t border-[var(--color-border)]", children: [
2250
+ /* @__PURE__ */ jsxRuntime.jsx(
2389
2251
  Skeleton,
2390
2252
  {
2391
2253
  variant,
@@ -2393,7 +2255,7 @@ var SkeletonCard = React16.forwardRef(
2393
2255
  className: "h-4 w-1/4"
2394
2256
  }
2395
2257
  ),
2396
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2258
+ /* @__PURE__ */ jsxRuntime.jsx(
2397
2259
  Skeleton,
2398
2260
  {
2399
2261
  variant,
@@ -2408,13 +2270,7 @@ var SkeletonCard = React16.forwardRef(
2408
2270
  }
2409
2271
  );
2410
2272
  SkeletonCard.displayName = "SkeletonCard";
2411
-
2412
- // src/components/ui/popover.tsx
2413
- var React17 = __toESM(require("react"));
2414
- var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
2415
- var import_class_variance_authority13 = require("class-variance-authority");
2416
- var import_jsx_runtime19 = require("react/jsx-runtime");
2417
- var popoverContentVariants = (0, import_class_variance_authority13.cva)(
2273
+ var popoverContentVariants = classVarianceAuthority.cva(
2418
2274
  "z-50 w-72 rounded-[var(--radius-md)] border border-[var(--color-border)] bg-[var(--color-background)] p-4 shadow-[var(--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",
2419
2275
  {
2420
2276
  variants: {
@@ -2463,10 +2319,10 @@ var popoverContentVariants = (0, import_class_variance_authority13.cva)(
2463
2319
  }
2464
2320
  }
2465
2321
  );
2466
- var Popover = PopoverPrimitive.Root;
2467
- var PopoverTrigger = PopoverPrimitive.Trigger;
2468
- var PopoverAnchor = PopoverPrimitive.Anchor;
2469
- var PopoverContent = React17.forwardRef(({
2322
+ var Popover = PopoverPrimitive__namespace.Root;
2323
+ var PopoverTrigger = PopoverPrimitive__namespace.Trigger;
2324
+ var PopoverAnchor = PopoverPrimitive__namespace.Anchor;
2325
+ var PopoverContent = React32__namespace.forwardRef(({
2470
2326
  className,
2471
2327
  variant,
2472
2328
  size,
@@ -2479,10 +2335,10 @@ var PopoverContent = React17.forwardRef(({
2479
2335
  overlayBackdrop = false,
2480
2336
  sideOffset = 4,
2481
2337
  ...props
2482
- }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_jsx_runtime19.Fragment, { children: [
2483
- overlayBackdrop && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "fixed inset-0 z-40 bg-[var(--color-overlay)] opacity-30" }),
2484
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2485
- PopoverPrimitive.Content,
2338
+ }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2339
+ overlayBackdrop && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 z-40 bg-[var(--color-overlay)] opacity-30" }),
2340
+ /* @__PURE__ */ jsxRuntime.jsx(
2341
+ PopoverPrimitive__namespace.Content,
2486
2342
  {
2487
2343
  ref,
2488
2344
  sideOffset,
@@ -2508,9 +2364,9 @@ var PopoverContent = React17.forwardRef(({
2508
2364
  }
2509
2365
  )
2510
2366
  ] }));
2511
- PopoverContent.displayName = PopoverPrimitive.Content.displayName;
2512
- var PopoverClose = PopoverPrimitive.Close;
2513
- var PopoverSeparator = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2367
+ PopoverContent.displayName = PopoverPrimitive__namespace.Content.displayName;
2368
+ var PopoverClose = PopoverPrimitive__namespace.Close;
2369
+ var PopoverSeparator = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
2514
2370
  "div",
2515
2371
  {
2516
2372
  className: cn("my-2 h-px bg-[var(--color-border)]", className),
@@ -2518,7 +2374,7 @@ var PopoverSeparator = ({ className, ...props }) => /* @__PURE__ */ (0, import_j
2518
2374
  }
2519
2375
  );
2520
2376
  PopoverSeparator.displayName = "PopoverSeparator";
2521
- var PopoverHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2377
+ var PopoverHeader = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
2522
2378
  "div",
2523
2379
  {
2524
2380
  className: cn("-mx-4 -mt-4 mb-3 px-4 pt-4 pb-3 border-b border-[var(--color-border)]", className),
@@ -2526,7 +2382,7 @@ var PopoverHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_
2526
2382
  }
2527
2383
  );
2528
2384
  PopoverHeader.displayName = "PopoverHeader";
2529
- var PopoverFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2385
+ var PopoverFooter = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
2530
2386
  "div",
2531
2387
  {
2532
2388
  className: cn("-mx-4 -mb-4 mt-3 px-4 pt-3 pb-4 border-t border-[var(--color-border)]", className),
@@ -2534,13 +2390,7 @@ var PopoverFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_
2534
2390
  }
2535
2391
  );
2536
2392
  PopoverFooter.displayName = "PopoverFooter";
2537
-
2538
- // src/components/ui/breadcrumb.tsx
2539
- var React18 = __toESM(require("react"));
2540
- var import_class_variance_authority14 = require("class-variance-authority");
2541
- var import_lucide_react7 = require("lucide-react");
2542
- var import_jsx_runtime20 = require("react/jsx-runtime");
2543
- var breadcrumbVariants = (0, import_class_variance_authority14.cva)(
2393
+ var breadcrumbVariants = classVarianceAuthority.cva(
2544
2394
  "flex items-center gap-1.5",
2545
2395
  {
2546
2396
  variants: {
@@ -2564,8 +2414,8 @@ var breadcrumbVariants = (0, import_class_variance_authority14.cva)(
2564
2414
  }
2565
2415
  }
2566
2416
  );
2567
- var Breadcrumb = React18.forwardRef(
2568
- ({ className, variant, size, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2417
+ var Breadcrumb = React32__namespace.forwardRef(
2418
+ ({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
2569
2419
  "nav",
2570
2420
  {
2571
2421
  ref,
@@ -2576,14 +2426,14 @@ var Breadcrumb = React18.forwardRef(
2576
2426
  )
2577
2427
  );
2578
2428
  Breadcrumb.displayName = "Breadcrumb";
2579
- var BreadcrumbList = React18.forwardRef(
2429
+ var BreadcrumbList = React32__namespace.forwardRef(
2580
2430
  ({ className, collapsed, collapsedWidth = 3, ...props }, ref) => {
2581
- const childrenArray = React18.Children.toArray(props.children).filter(Boolean);
2431
+ const childrenArray = React32__namespace.Children.toArray(props.children).filter(Boolean);
2582
2432
  const childCount = childrenArray.length;
2583
2433
  if (collapsed && childCount > collapsedWidth) {
2584
2434
  const firstItem = childrenArray[0];
2585
2435
  const lastTwoItems = childrenArray.slice(-2);
2586
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
2436
+ return /* @__PURE__ */ jsxRuntime.jsxs(
2587
2437
  "ol",
2588
2438
  {
2589
2439
  ref,
@@ -2594,13 +2444,13 @@ var BreadcrumbList = React18.forwardRef(
2594
2444
  ...props,
2595
2445
  children: [
2596
2446
  firstItem,
2597
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(BreadcrumbEllipsis, {}),
2447
+ /* @__PURE__ */ jsxRuntime.jsx(BreadcrumbEllipsis, {}),
2598
2448
  lastTwoItems
2599
2449
  ]
2600
2450
  }
2601
2451
  );
2602
2452
  }
2603
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2453
+ return /* @__PURE__ */ jsxRuntime.jsx(
2604
2454
  "ol",
2605
2455
  {
2606
2456
  ref,
@@ -2614,18 +2464,18 @@ var BreadcrumbList = React18.forwardRef(
2614
2464
  }
2615
2465
  );
2616
2466
  BreadcrumbList.displayName = "BreadcrumbList";
2617
- var BreadcrumbItem = React18.forwardRef(
2467
+ var BreadcrumbItem = React32__namespace.forwardRef(
2618
2468
  ({ className, isCurrent, href, asChild = false, ...props }, ref) => {
2619
- const Comp = asChild ? React18.Fragment : href ? "a" : "span";
2469
+ const Comp = asChild ? React32__namespace.Fragment : href ? "a" : "span";
2620
2470
  const itemProps = asChild ? {} : href ? { href } : {};
2621
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2471
+ return /* @__PURE__ */ jsxRuntime.jsx(
2622
2472
  "li",
2623
2473
  {
2624
2474
  ref,
2625
2475
  className: cn("inline-flex items-center gap-1.5", className),
2626
2476
  "aria-current": isCurrent ? "page" : void 0,
2627
2477
  ...props,
2628
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2478
+ children: /* @__PURE__ */ jsxRuntime.jsx(
2629
2479
  Comp,
2630
2480
  {
2631
2481
  className: cn(
@@ -2645,21 +2495,21 @@ var BreadcrumbSeparator = ({
2645
2495
  children,
2646
2496
  className,
2647
2497
  ...props
2648
- }) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2498
+ }) => /* @__PURE__ */ jsxRuntime.jsx(
2649
2499
  "li",
2650
2500
  {
2651
2501
  role: "presentation",
2652
2502
  "aria-hidden": "true",
2653
2503
  className: cn("text-[var(--color-muted-foreground)] opacity-70", className),
2654
2504
  ...props,
2655
- children: children || /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_lucide_react7.ChevronRight, { className: "h-3.5 w-3.5" })
2505
+ children: children || /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "h-3.5 w-3.5" })
2656
2506
  }
2657
2507
  );
2658
2508
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
2659
2509
  var BreadcrumbEllipsis = ({
2660
2510
  className,
2661
2511
  ...props
2662
- }) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
2512
+ }) => /* @__PURE__ */ jsxRuntime.jsxs(
2663
2513
  "li",
2664
2514
  {
2665
2515
  role: "presentation",
@@ -2667,21 +2517,14 @@ var BreadcrumbEllipsis = ({
2667
2517
  className: cn("flex items-center text-[var(--color-muted-foreground)] hover:text-[var(--color-muted-foreground)]/80 transition-colors duration-[var(--duration-base)]", className),
2668
2518
  ...props,
2669
2519
  children: [
2670
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_lucide_react7.MoreHorizontal, { className: "h-4 w-4" }),
2671
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "sr-only", children: "Daha fazla sayfa" })
2520
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreHorizontal, { className: "h-4 w-4" }),
2521
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Daha fazla sayfa" })
2672
2522
  ]
2673
2523
  }
2674
2524
  );
2675
2525
  BreadcrumbEllipsis.displayName = "BreadcrumbEllipsis";
2676
-
2677
- // src/components/ui/accordion.tsx
2678
- var React19 = __toESM(require("react"));
2679
- var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"));
2680
- var import_lucide_react8 = require("lucide-react");
2681
- var import_class_variance_authority15 = require("class-variance-authority");
2682
- var import_jsx_runtime21 = require("react/jsx-runtime");
2683
- var Accordion = AccordionPrimitive.Root;
2684
- var accordionItemVariants = (0, import_class_variance_authority15.cva)(
2526
+ var Accordion = AccordionPrimitive__namespace.Root;
2527
+ var accordionItemVariants = classVarianceAuthority.cva(
2685
2528
  "border-b",
2686
2529
  {
2687
2530
  variants: {
@@ -2696,8 +2539,8 @@ var accordionItemVariants = (0, import_class_variance_authority15.cva)(
2696
2539
  }
2697
2540
  }
2698
2541
  );
2699
- var AccordionItem = React19.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2700
- AccordionPrimitive.Item,
2542
+ var AccordionItem = React32__namespace.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
2543
+ AccordionPrimitive__namespace.Item,
2701
2544
  {
2702
2545
  ref,
2703
2546
  className: cn(accordionItemVariants({ variant }), className),
@@ -2705,7 +2548,7 @@ var AccordionItem = React19.forwardRef(({ className, variant, ...props }, ref) =
2705
2548
  }
2706
2549
  ));
2707
2550
  AccordionItem.displayName = "AccordionItem";
2708
- var accordionTriggerVariants = (0, import_class_variance_authority15.cva)(
2551
+ var accordionTriggerVariants = classVarianceAuthority.cva(
2709
2552
  "flex flex-1 items-center justify-between py-4 transition-all [&[data-state=open]>svg]:rotate-180 group",
2710
2553
  {
2711
2554
  variants: {
@@ -2727,20 +2570,20 @@ var accordionTriggerVariants = (0, import_class_variance_authority15.cva)(
2727
2570
  }
2728
2571
  }
2729
2572
  );
2730
- var AccordionTrigger = React19.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
2731
- AccordionPrimitive.Trigger,
2573
+ var AccordionTrigger = React32__namespace.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(AccordionPrimitive__namespace.Header, { className: "flex", children: /* @__PURE__ */ jsxRuntime.jsxs(
2574
+ AccordionPrimitive__namespace.Trigger,
2732
2575
  {
2733
2576
  ref,
2734
2577
  className: cn(accordionTriggerVariants({ variant, size }), className),
2735
2578
  ...props,
2736
2579
  children: [
2737
2580
  children,
2738
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_lucide_react8.ChevronDown, { className: "h-4 w-4 shrink-0 transition-transform duration-[var(--duration-base)] opacity-70 group-hover:opacity-100" })
2581
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "h-4 w-4 shrink-0 transition-transform duration-[var(--duration-base)] opacity-70 group-hover:opacity-100" })
2739
2582
  ]
2740
2583
  }
2741
2584
  ) }));
2742
- AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
2743
- var accordionContentVariants = (0, import_class_variance_authority15.cva)(
2585
+ AccordionTrigger.displayName = AccordionPrimitive__namespace.Trigger.displayName;
2586
+ var accordionContentVariants = classVarianceAuthority.cva(
2744
2587
  "overflow-hidden transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
2745
2588
  {
2746
2589
  variants: {
@@ -2762,22 +2605,16 @@ var accordionContentVariants = (0, import_class_variance_authority15.cva)(
2762
2605
  }
2763
2606
  }
2764
2607
  );
2765
- var AccordionContent = React19.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2766
- AccordionPrimitive.Content,
2608
+ var AccordionContent = React32__namespace.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
2609
+ AccordionPrimitive__namespace.Content,
2767
2610
  {
2768
2611
  ref,
2769
2612
  className: cn(accordionContentVariants({ variant, size }), className),
2770
2613
  ...props,
2771
- children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "pb-4 pt-0", children })
2614
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pb-4 pt-0", children })
2772
2615
  }
2773
2616
  ));
2774
- AccordionContent.displayName = AccordionPrimitive.Content.displayName;
2775
-
2776
- // src/components/ui/collapsible.tsx
2777
- var React30 = __toESM(require("react"));
2778
-
2779
- // node_modules/@radix-ui/react-collapsible/dist/index.mjs
2780
- var React29 = __toESM(require("react"), 1);
2617
+ AccordionContent.displayName = AccordionPrimitive__namespace.Content.displayName;
2781
2618
 
2782
2619
  // node_modules/@radix-ui/primitive/dist/index.mjs
2783
2620
  function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
@@ -2788,26 +2625,22 @@ function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForD
2788
2625
  }
2789
2626
  };
2790
2627
  }
2791
-
2792
- // node_modules/@radix-ui/react-context/dist/index.mjs
2793
- var React20 = __toESM(require("react"), 1);
2794
- var import_jsx_runtime22 = require("react/jsx-runtime");
2795
2628
  function createContextScope(scopeName, createContextScopeDeps = []) {
2796
2629
  let defaultContexts = [];
2797
2630
  function createContext32(rootComponentName, defaultContext) {
2798
- const BaseContext = React20.createContext(defaultContext);
2631
+ const BaseContext = React32__namespace.createContext(defaultContext);
2799
2632
  const index = defaultContexts.length;
2800
2633
  defaultContexts = [...defaultContexts, defaultContext];
2801
2634
  const Provider = (props) => {
2802
2635
  const { scope, children, ...context } = props;
2803
2636
  const Context = scope?.[scopeName]?.[index] || BaseContext;
2804
- const value = React20.useMemo(() => context, Object.values(context));
2805
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Context.Provider, { value, children });
2637
+ const value = React32__namespace.useMemo(() => context, Object.values(context));
2638
+ return /* @__PURE__ */ jsxRuntime.jsx(Context.Provider, { value, children });
2806
2639
  };
2807
2640
  Provider.displayName = rootComponentName + "Provider";
2808
2641
  function useContext22(consumerName, scope) {
2809
2642
  const Context = scope?.[scopeName]?.[index] || BaseContext;
2810
- const context = React20.useContext(Context);
2643
+ const context = React32__namespace.useContext(Context);
2811
2644
  if (context)
2812
2645
  return context;
2813
2646
  if (defaultContext !== void 0)
@@ -2818,11 +2651,11 @@ function createContextScope(scopeName, createContextScopeDeps = []) {
2818
2651
  }
2819
2652
  const createScope = () => {
2820
2653
  const scopeContexts = defaultContexts.map((defaultContext) => {
2821
- return React20.createContext(defaultContext);
2654
+ return React32__namespace.createContext(defaultContext);
2822
2655
  });
2823
2656
  return function useScope(scope) {
2824
2657
  const contexts = scope?.[scopeName] || scopeContexts;
2825
- return React20.useMemo(
2658
+ return React32__namespace.useMemo(
2826
2659
  () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),
2827
2660
  [scope, contexts]
2828
2661
  );
@@ -2846,24 +2679,15 @@ function composeContextScopes(...scopes) {
2846
2679
  const currentScope = scopeProps[`__scope${scopeName}`];
2847
2680
  return { ...nextScopes2, ...currentScope };
2848
2681
  }, {});
2849
- return React20.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);
2682
+ return React32__namespace.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);
2850
2683
  };
2851
2684
  };
2852
2685
  createScope.scopeName = baseScope.scopeName;
2853
2686
  return createScope;
2854
2687
  }
2855
-
2856
- // node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
2857
- var React22 = __toESM(require("react"), 1);
2858
-
2859
- // node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
2860
- var React21 = __toESM(require("react"), 1);
2861
- var useLayoutEffect2 = globalThis?.document ? React21.useLayoutEffect : () => {
2688
+ var useLayoutEffect2 = globalThis?.document ? React32__namespace.useLayoutEffect : () => {
2862
2689
  };
2863
-
2864
- // node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
2865
- var React23 = __toESM(require("react"), 1);
2866
- var useInsertionEffect = React22[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
2690
+ var useInsertionEffect = React32__namespace[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
2867
2691
  function useControllableState({
2868
2692
  prop,
2869
2693
  defaultProp,
@@ -2877,9 +2701,9 @@ function useControllableState({
2877
2701
  });
2878
2702
  const isControlled = prop !== void 0;
2879
2703
  const value = isControlled ? prop : uncontrolledProp;
2880
- if (true) {
2881
- const isControlledRef = React22.useRef(prop !== void 0);
2882
- React22.useEffect(() => {
2704
+ {
2705
+ const isControlledRef = React32__namespace.useRef(prop !== void 0);
2706
+ React32__namespace.useEffect(() => {
2883
2707
  const wasControlled = isControlledRef.current;
2884
2708
  if (wasControlled !== isControlled) {
2885
2709
  const from = wasControlled ? "controlled" : "uncontrolled";
@@ -2891,7 +2715,7 @@ function useControllableState({
2891
2715
  isControlledRef.current = isControlled;
2892
2716
  }, [isControlled, caller]);
2893
2717
  }
2894
- const setValue = React22.useCallback(
2718
+ const setValue = React32__namespace.useCallback(
2895
2719
  (nextValue) => {
2896
2720
  if (isControlled) {
2897
2721
  const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;
@@ -2910,13 +2734,13 @@ function useUncontrolledState({
2910
2734
  defaultProp,
2911
2735
  onChange
2912
2736
  }) {
2913
- const [value, setValue] = React22.useState(defaultProp);
2914
- const prevValueRef = React22.useRef(value);
2915
- const onChangeRef = React22.useRef(onChange);
2737
+ const [value, setValue] = React32__namespace.useState(defaultProp);
2738
+ const prevValueRef = React32__namespace.useRef(value);
2739
+ const onChangeRef = React32__namespace.useRef(onChange);
2916
2740
  useInsertionEffect(() => {
2917
2741
  onChangeRef.current = onChange;
2918
2742
  }, [onChange]);
2919
- React22.useEffect(() => {
2743
+ React32__namespace.useEffect(() => {
2920
2744
  if (prevValueRef.current !== value) {
2921
2745
  onChangeRef.current?.(value);
2922
2746
  prevValueRef.current = value;
@@ -2927,10 +2751,6 @@ function useUncontrolledState({
2927
2751
  function isFunction(value) {
2928
2752
  return typeof value === "function";
2929
2753
  }
2930
- var SYNC_STATE = Symbol("RADIX:SYNC_STATE");
2931
-
2932
- // node_modules/@radix-ui/react-compose-refs/dist/index.mjs
2933
- var React24 = __toESM(require("react"), 1);
2934
2754
  function setRef(ref, value) {
2935
2755
  if (typeof ref === "function") {
2936
2756
  return ref(value);
@@ -2963,14 +2783,8 @@ function composeRefs(...refs) {
2963
2783
  };
2964
2784
  }
2965
2785
  function useComposedRefs(...refs) {
2966
- return React24.useCallback(composeRefs(...refs), refs);
2786
+ return React32__namespace.useCallback(composeRefs(...refs), refs);
2967
2787
  }
2968
-
2969
- // node_modules/@radix-ui/react-primitive/dist/index.mjs
2970
- var React25 = __toESM(require("react"), 1);
2971
- var ReactDOM = __toESM(require("react-dom"), 1);
2972
- var import_react_slot = require("@radix-ui/react-slot");
2973
- var import_jsx_runtime23 = require("react/jsx-runtime");
2974
2788
  var NODES = [
2975
2789
  "a",
2976
2790
  "button",
@@ -2991,24 +2805,20 @@ var NODES = [
2991
2805
  "ul"
2992
2806
  ];
2993
2807
  var Primitive = NODES.reduce((primitive, node) => {
2994
- const Slot = (0, import_react_slot.createSlot)(`Primitive.${node}`);
2995
- const Node = React25.forwardRef((props, forwardedRef) => {
2808
+ const Slot = reactSlot.createSlot(`Primitive.${node}`);
2809
+ const Node = React32__namespace.forwardRef((props, forwardedRef) => {
2996
2810
  const { asChild, ...primitiveProps } = props;
2997
2811
  const Comp = asChild ? Slot : node;
2998
2812
  if (typeof window !== "undefined") {
2999
2813
  window[Symbol.for("radix-ui")] = true;
3000
2814
  }
3001
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Comp, { ...primitiveProps, ref: forwardedRef });
2815
+ return /* @__PURE__ */ jsxRuntime.jsx(Comp, { ...primitiveProps, ref: forwardedRef });
3002
2816
  });
3003
2817
  Node.displayName = `Primitive.${node}`;
3004
2818
  return { ...primitive, [node]: Node };
3005
2819
  }, {});
3006
-
3007
- // node_modules/@radix-ui/react-presence/dist/index.mjs
3008
- var React26 = __toESM(require("react"), 1);
3009
- var React27 = __toESM(require("react"), 1);
3010
2820
  function useStateMachine(initialState, machine) {
3011
- return React27.useReducer((state, event) => {
2821
+ return React32__namespace.useReducer((state, event) => {
3012
2822
  const nextState = machine[state][event];
3013
2823
  return nextState ?? state;
3014
2824
  }, initialState);
@@ -3016,17 +2826,17 @@ function useStateMachine(initialState, machine) {
3016
2826
  var Presence = (props) => {
3017
2827
  const { present, children } = props;
3018
2828
  const presence = usePresence(present);
3019
- const child = typeof children === "function" ? children({ present: presence.isPresent }) : React26.Children.only(children);
2829
+ const child = typeof children === "function" ? children({ present: presence.isPresent }) : React32__namespace.Children.only(children);
3020
2830
  const ref = useComposedRefs(presence.ref, getElementRef(child));
3021
2831
  const forceMount = typeof children === "function";
3022
- return forceMount || presence.isPresent ? React26.cloneElement(child, { ref }) : null;
2832
+ return forceMount || presence.isPresent ? React32__namespace.cloneElement(child, { ref }) : null;
3023
2833
  };
3024
2834
  Presence.displayName = "Presence";
3025
2835
  function usePresence(present) {
3026
- const [node, setNode] = React26.useState();
3027
- const stylesRef = React26.useRef(null);
3028
- const prevPresentRef = React26.useRef(present);
3029
- const prevAnimationNameRef = React26.useRef("none");
2836
+ const [node, setNode] = React32__namespace.useState();
2837
+ const stylesRef = React32__namespace.useRef(null);
2838
+ const prevPresentRef = React32__namespace.useRef(present);
2839
+ const prevAnimationNameRef = React32__namespace.useRef("none");
3030
2840
  const initialState = present ? "mounted" : "unmounted";
3031
2841
  const [state, send] = useStateMachine(initialState, {
3032
2842
  mounted: {
@@ -3041,7 +2851,7 @@ function usePresence(present) {
3041
2851
  MOUNT: "mounted"
3042
2852
  }
3043
2853
  });
3044
- React26.useEffect(() => {
2854
+ React32__namespace.useEffect(() => {
3045
2855
  const currentAnimationName = getAnimationName(stylesRef.current);
3046
2856
  prevAnimationNameRef.current = state === "mounted" ? currentAnimationName : "none";
3047
2857
  }, [state]);
@@ -3107,7 +2917,7 @@ function usePresence(present) {
3107
2917
  }, [node, send]);
3108
2918
  return {
3109
2919
  isPresent: ["mounted", "unmountSuspended"].includes(state),
3110
- ref: React26.useCallback((node2) => {
2920
+ ref: React32__namespace.useCallback((node2) => {
3111
2921
  stylesRef.current = node2 ? getComputedStyle(node2) : null;
3112
2922
  setNode(node2);
3113
2923
  }, [])
@@ -3129,26 +2939,20 @@ function getElementRef(element) {
3129
2939
  }
3130
2940
  return element.props.ref || element.ref;
3131
2941
  }
3132
-
3133
- // node_modules/@radix-ui/react-id/dist/index.mjs
3134
- var React28 = __toESM(require("react"), 1);
3135
- var useReactId = React28[" useId ".trim().toString()] || (() => void 0);
2942
+ var useReactId = React32__namespace[" useId ".trim().toString()] || (() => void 0);
3136
2943
  var count = 0;
3137
2944
  function useId2(deterministicId) {
3138
- const [id, setId] = React28.useState(useReactId());
2945
+ const [id, setId] = React32__namespace.useState(useReactId());
3139
2946
  useLayoutEffect2(() => {
3140
2947
  if (!deterministicId)
3141
2948
  setId((reactId) => reactId ?? String(count++));
3142
2949
  }, [deterministicId]);
3143
2950
  return deterministicId || (id ? `radix-${id}` : "");
3144
2951
  }
3145
-
3146
- // node_modules/@radix-ui/react-collapsible/dist/index.mjs
3147
- var import_jsx_runtime24 = require("react/jsx-runtime");
3148
2952
  var COLLAPSIBLE_NAME = "Collapsible";
3149
2953
  var [createCollapsibleContext, createCollapsibleScope] = createContextScope(COLLAPSIBLE_NAME);
3150
2954
  var [CollapsibleProvider, useCollapsibleContext] = createCollapsibleContext(COLLAPSIBLE_NAME);
3151
- var Collapsible = React29.forwardRef(
2955
+ var Collapsible = React32__namespace.forwardRef(
3152
2956
  (props, forwardedRef) => {
3153
2957
  const {
3154
2958
  __scopeCollapsible,
@@ -3164,15 +2968,15 @@ var Collapsible = React29.forwardRef(
3164
2968
  onChange: onOpenChange,
3165
2969
  caller: COLLAPSIBLE_NAME
3166
2970
  });
3167
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2971
+ return /* @__PURE__ */ jsxRuntime.jsx(
3168
2972
  CollapsibleProvider,
3169
2973
  {
3170
2974
  scope: __scopeCollapsible,
3171
2975
  disabled,
3172
2976
  contentId: useId2(),
3173
2977
  open,
3174
- onOpenToggle: React29.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
3175
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2978
+ onOpenToggle: React32__namespace.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
2979
+ children: /* @__PURE__ */ jsxRuntime.jsx(
3176
2980
  Primitive.div,
3177
2981
  {
3178
2982
  "data-state": getState(open),
@@ -3187,11 +2991,11 @@ var Collapsible = React29.forwardRef(
3187
2991
  );
3188
2992
  Collapsible.displayName = COLLAPSIBLE_NAME;
3189
2993
  var TRIGGER_NAME = "CollapsibleTrigger";
3190
- var CollapsibleTrigger = React29.forwardRef(
2994
+ var CollapsibleTrigger = React32__namespace.forwardRef(
3191
2995
  (props, forwardedRef) => {
3192
2996
  const { __scopeCollapsible, ...triggerProps } = props;
3193
2997
  const context = useCollapsibleContext(TRIGGER_NAME, __scopeCollapsible);
3194
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2998
+ return /* @__PURE__ */ jsxRuntime.jsx(
3195
2999
  Primitive.button,
3196
3000
  {
3197
3001
  type: "button",
@@ -3209,28 +3013,28 @@ var CollapsibleTrigger = React29.forwardRef(
3209
3013
  );
3210
3014
  CollapsibleTrigger.displayName = TRIGGER_NAME;
3211
3015
  var CONTENT_NAME = "CollapsibleContent";
3212
- var CollapsibleContent = React29.forwardRef(
3016
+ var CollapsibleContent = React32__namespace.forwardRef(
3213
3017
  (props, forwardedRef) => {
3214
3018
  const { forceMount, ...contentProps } = props;
3215
3019
  const context = useCollapsibleContext(CONTENT_NAME, props.__scopeCollapsible);
3216
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Presence, { present: forceMount || context.open, children: ({ present }) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CollapsibleContentImpl, { ...contentProps, ref: forwardedRef, present }) });
3020
+ return /* @__PURE__ */ jsxRuntime.jsx(Presence, { present: forceMount || context.open, children: ({ present }) => /* @__PURE__ */ jsxRuntime.jsx(CollapsibleContentImpl, { ...contentProps, ref: forwardedRef, present }) });
3217
3021
  }
3218
3022
  );
3219
3023
  CollapsibleContent.displayName = CONTENT_NAME;
3220
- var CollapsibleContentImpl = React29.forwardRef((props, forwardedRef) => {
3024
+ var CollapsibleContentImpl = React32__namespace.forwardRef((props, forwardedRef) => {
3221
3025
  const { __scopeCollapsible, present, children, ...contentProps } = props;
3222
3026
  const context = useCollapsibleContext(CONTENT_NAME, __scopeCollapsible);
3223
- const [isPresent, setIsPresent] = React29.useState(present);
3224
- const ref = React29.useRef(null);
3027
+ const [isPresent, setIsPresent] = React32__namespace.useState(present);
3028
+ const ref = React32__namespace.useRef(null);
3225
3029
  const composedRefs = useComposedRefs(forwardedRef, ref);
3226
- const heightRef = React29.useRef(0);
3030
+ const heightRef = React32__namespace.useRef(0);
3227
3031
  const height = heightRef.current;
3228
- const widthRef = React29.useRef(0);
3032
+ const widthRef = React32__namespace.useRef(0);
3229
3033
  const width = widthRef.current;
3230
3034
  const isOpen = context.open || isPresent;
3231
- const isMountAnimationPreventedRef = React29.useRef(isOpen);
3232
- const originalStylesRef = React29.useRef(void 0);
3233
- React29.useEffect(() => {
3035
+ const isMountAnimationPreventedRef = React32__namespace.useRef(isOpen);
3036
+ const originalStylesRef = React32__namespace.useRef(void 0);
3037
+ React32__namespace.useEffect(() => {
3234
3038
  const rAF = requestAnimationFrame(() => isMountAnimationPreventedRef.current = false);
3235
3039
  return () => cancelAnimationFrame(rAF);
3236
3040
  }, []);
@@ -3253,7 +3057,7 @@ var CollapsibleContentImpl = React29.forwardRef((props, forwardedRef) => {
3253
3057
  setIsPresent(present);
3254
3058
  }
3255
3059
  }, [context.open, present]);
3256
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
3060
+ return /* @__PURE__ */ jsxRuntime.jsx(
3257
3061
  Primitive.div,
3258
3062
  {
3259
3063
  "data-state": getState(context.open),
@@ -3274,16 +3078,11 @@ var CollapsibleContentImpl = React29.forwardRef((props, forwardedRef) => {
3274
3078
  function getState(open) {
3275
3079
  return open ? "open" : "closed";
3276
3080
  }
3277
- var Root9 = Collapsible;
3081
+ var Root11 = Collapsible;
3278
3082
  var Trigger6 = CollapsibleTrigger;
3279
3083
  var Content6 = CollapsibleContent;
3280
-
3281
- // src/components/ui/collapsible.tsx
3282
- var import_class_variance_authority16 = require("class-variance-authority");
3283
- var import_lucide_react9 = require("lucide-react");
3284
- var import_jsx_runtime25 = require("react/jsx-runtime");
3285
- var Collapsible2 = Root9;
3286
- var collapsibleTriggerVariants = (0, import_class_variance_authority16.cva)(
3084
+ var Collapsible2 = Root11;
3085
+ var collapsibleTriggerVariants = classVarianceAuthority.cva(
3287
3086
  "flex w-full items-center justify-between transition-all",
3288
3087
  {
3289
3088
  variants: {
@@ -3305,7 +3104,7 @@ var collapsibleTriggerVariants = (0, import_class_variance_authority16.cva)(
3305
3104
  }
3306
3105
  }
3307
3106
  );
3308
- var CollapsibleTrigger2 = React30.forwardRef(({ className, children, variant, size, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
3107
+ var CollapsibleTrigger2 = React32__namespace.forwardRef(({ className, children, variant, size, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
3309
3108
  Trigger6,
3310
3109
  {
3311
3110
  ref,
@@ -3313,12 +3112,12 @@ var CollapsibleTrigger2 = React30.forwardRef(({ className, children, variant, si
3313
3112
  ...props,
3314
3113
  children: [
3315
3114
  children,
3316
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react9.ChevronDown, { className: "h-4 w-4 shrink-0 transition-transform duration-[var(--duration-base)] [&[data-state=open]]:rotate-180" })
3115
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "h-4 w-4 shrink-0 transition-transform duration-[var(--duration-base)] [&[data-state=open]]:rotate-180" })
3317
3116
  ]
3318
3117
  }
3319
3118
  ));
3320
3119
  CollapsibleTrigger2.displayName = Trigger6.displayName;
3321
- var collapsibleContentVariants = (0, import_class_variance_authority16.cva)(
3120
+ var collapsibleContentVariants = classVarianceAuthority.cva(
3322
3121
  "overflow-hidden transition-all data-[state=closed]:animate-collapse-up data-[state=open]:animate-collapse-down",
3323
3122
  {
3324
3123
  variants: {
@@ -3340,22 +3139,17 @@ var collapsibleContentVariants = (0, import_class_variance_authority16.cva)(
3340
3139
  }
3341
3140
  }
3342
3141
  );
3343
- var CollapsibleContent2 = React30.forwardRef(({ className, children, variant, size, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
3142
+ var CollapsibleContent2 = React32__namespace.forwardRef(({ className, children, variant, size, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3344
3143
  Content6,
3345
3144
  {
3346
3145
  ref,
3347
3146
  className: cn(collapsibleContentVariants({ variant, size }), className),
3348
3147
  ...props,
3349
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "p-4", children })
3148
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-4", children })
3350
3149
  }
3351
3150
  ));
3352
3151
  CollapsibleContent2.displayName = Content6.displayName;
3353
-
3354
- // src/components/ui/aspect-ratio.tsx
3355
- var React31 = __toESM(require("react"));
3356
- var import_class_variance_authority17 = require("class-variance-authority");
3357
- var import_jsx_runtime26 = require("react/jsx-runtime");
3358
- var aspectRatioVariants = (0, import_class_variance_authority17.cva)(
3152
+ var aspectRatioVariants = classVarianceAuthority.cva(
3359
3153
  "relative overflow-hidden",
3360
3154
  {
3361
3155
  variants: {
@@ -3378,7 +3172,7 @@ var aspectRatioVariants = (0, import_class_variance_authority17.cva)(
3378
3172
  }
3379
3173
  }
3380
3174
  );
3381
- var AspectRatio = React31.forwardRef(({ className, variant, radius, ratio = 16 / 9, style, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3175
+ var AspectRatio = React32__namespace.forwardRef(({ className, variant, radius, ratio = 16 / 9, style, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3382
3176
  "div",
3383
3177
  {
3384
3178
  ref,
@@ -3389,17 +3183,11 @@ var AspectRatio = React31.forwardRef(({ className, variant, radius, ratio = 16 /
3389
3183
  ...style
3390
3184
  },
3391
3185
  ...props,
3392
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "absolute inset-0", children })
3186
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0", children })
3393
3187
  }
3394
3188
  ));
3395
3189
  AspectRatio.displayName = "AspectRatio";
3396
-
3397
- // src/components/ui/command.tsx
3398
- var React32 = __toESM(require("react"));
3399
- var import_lucide_react10 = require("lucide-react");
3400
- var import_class_variance_authority18 = require("class-variance-authority");
3401
- var import_jsx_runtime27 = require("react/jsx-runtime");
3402
- var commandVariants = (0, import_class_variance_authority18.cva)(
3190
+ var commandVariants = classVarianceAuthority.cva(
3403
3191
  "flex h-full w-full flex-col overflow-hidden rounded-[var(--radius-md)]",
3404
3192
  {
3405
3193
  variants: {
@@ -3420,8 +3208,8 @@ var commandVariants = (0, import_class_variance_authority18.cva)(
3420
3208
  }
3421
3209
  }
3422
3210
  );
3423
- var Command = React32.forwardRef(
3424
- ({ className, variant, size, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3211
+ var Command = React32__namespace.forwardRef(
3212
+ ({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3425
3213
  "div",
3426
3214
  {
3427
3215
  ref,
@@ -3436,12 +3224,12 @@ var CommandDialog = ({
3436
3224
  commandClassName,
3437
3225
  ...props
3438
3226
  }) => {
3439
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Dialog, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(DialogContent, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Command, { className: cn(
3227
+ return /* @__PURE__ */ jsxRuntime.jsx(Dialog, { ...props, children: /* @__PURE__ */ jsxRuntime.jsx(DialogContent, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ jsxRuntime.jsx(Command, { className: cn(
3440
3228
  "data-[state=open]:animate-in data-[state=closed]:animate-out",
3441
3229
  commandClassName
3442
3230
  ), children }) }) });
3443
3231
  };
3444
- var commandInputVariants = (0, import_class_variance_authority18.cva)(
3232
+ var commandInputVariants = classVarianceAuthority.cva(
3445
3233
  "flex h-11 w-full rounded-none border-none bg-transparent py-3 text-sm outline-none placeholder:text-[var(--color-muted-foreground)] disabled:cursor-not-allowed disabled:opacity-50 focus-visible:outline-none",
3446
3234
  {
3447
3235
  variants: {
@@ -3456,10 +3244,10 @@ var commandInputVariants = (0, import_class_variance_authority18.cva)(
3456
3244
  }
3457
3245
  }
3458
3246
  );
3459
- var CommandInput = React32.forwardRef(
3460
- ({ className, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex items-center border-b px-3", children: [
3461
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_lucide_react10.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
3462
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3247
+ var CommandInput = React32__namespace.forwardRef(
3248
+ ({ className, variant, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center border-b px-3", children: [
3249
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
3250
+ /* @__PURE__ */ jsxRuntime.jsx(
3463
3251
  "input",
3464
3252
  {
3465
3253
  ref,
@@ -3470,7 +3258,7 @@ var CommandInput = React32.forwardRef(
3470
3258
  ] })
3471
3259
  );
3472
3260
  CommandInput.displayName = "CommandInput";
3473
- var commandListVariants = (0, import_class_variance_authority18.cva)(
3261
+ var commandListVariants = classVarianceAuthority.cva(
3474
3262
  "max-h-[300px] overflow-y-auto overflow-x-hidden",
3475
3263
  {
3476
3264
  variants: {
@@ -3485,8 +3273,8 @@ var commandListVariants = (0, import_class_variance_authority18.cva)(
3485
3273
  }
3486
3274
  }
3487
3275
  );
3488
- var CommandList = React32.forwardRef(
3489
- ({ className, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3276
+ var CommandList = React32__namespace.forwardRef(
3277
+ ({ className, variant, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3490
3278
  "div",
3491
3279
  {
3492
3280
  ref,
@@ -3497,8 +3285,8 @@ var CommandList = React32.forwardRef(
3497
3285
  )
3498
3286
  );
3499
3287
  CommandList.displayName = "CommandList";
3500
- var CommandEmpty = React32.forwardRef(
3501
- (props, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3288
+ var CommandEmpty = React32__namespace.forwardRef(
3289
+ (props, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3502
3290
  "div",
3503
3291
  {
3504
3292
  ref,
@@ -3508,7 +3296,7 @@ var CommandEmpty = React32.forwardRef(
3508
3296
  )
3509
3297
  );
3510
3298
  CommandEmpty.displayName = "CommandEmpty";
3511
- var commandGroupVariants = (0, import_class_variance_authority18.cva)(
3299
+ var commandGroupVariants = classVarianceAuthority.cva(
3512
3300
  "overflow-hidden p-1 text-[var(--color-foreground)]",
3513
3301
  {
3514
3302
  variants: {
@@ -3523,22 +3311,22 @@ var commandGroupVariants = (0, import_class_variance_authority18.cva)(
3523
3311
  }
3524
3312
  }
3525
3313
  );
3526
- var CommandGroup = React32.forwardRef(
3527
- ({ className, variant, heading, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
3314
+ var CommandGroup = React32__namespace.forwardRef(
3315
+ ({ className, variant, heading, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
3528
3316
  "div",
3529
3317
  {
3530
3318
  ref,
3531
3319
  className: cn(commandGroupVariants({ variant }), className),
3532
3320
  ...props,
3533
3321
  children: [
3534
- heading && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "px-2 py-1.5 text-xs font-medium text-[var(--color-muted-foreground)]", children: heading }),
3322
+ heading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-2 py-1.5 text-xs font-medium text-[var(--color-muted-foreground)]", children: heading }),
3535
3323
  children
3536
3324
  ]
3537
3325
  }
3538
3326
  )
3539
3327
  );
3540
3328
  CommandGroup.displayName = "CommandGroup";
3541
- var CommandSeparator = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3329
+ var CommandSeparator = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3542
3330
  "div",
3543
3331
  {
3544
3332
  ref,
@@ -3547,7 +3335,7 @@ var CommandSeparator = React32.forwardRef(({ className, ...props }, ref) => /* @
3547
3335
  }
3548
3336
  ));
3549
3337
  CommandSeparator.displayName = "CommandSeparator";
3550
- var commandItemVariants = (0, import_class_variance_authority18.cva)(
3338
+ var commandItemVariants = classVarianceAuthority.cva(
3551
3339
  "relative flex cursor-default select-none items-center rounded-[var(--radius-sm)] px-2 py-1.5 text-sm outline-none aria-selected:bg-[var(--color-accent)] aria-selected:text-[var(--color-accent-foreground)] data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
3552
3340
  {
3553
3341
  variants: {
@@ -3562,16 +3350,16 @@ var commandItemVariants = (0, import_class_variance_authority18.cva)(
3562
3350
  }
3563
3351
  }
3564
3352
  );
3565
- var CommandItem = React32.forwardRef(
3353
+ var CommandItem = React32__namespace.forwardRef(
3566
3354
  ({ className, variant, onSelect, selected, disabled, value, ...props }, ref) => {
3567
- const handleClick = React32.useCallback(() => {
3355
+ const handleClick = React32__namespace.useCallback(() => {
3568
3356
  if (disabled)
3569
3357
  return;
3570
3358
  if (onSelect && value) {
3571
3359
  onSelect(value);
3572
3360
  }
3573
3361
  }, [disabled, onSelect, value]);
3574
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3362
+ return /* @__PURE__ */ jsxRuntime.jsx(
3575
3363
  "div",
3576
3364
  {
3577
3365
  ref,
@@ -3587,7 +3375,7 @@ var CommandItem = React32.forwardRef(
3587
3375
  );
3588
3376
  CommandItem.displayName = "CommandItem";
3589
3377
  var CommandShortcut = ({ className, ...props }) => {
3590
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3378
+ return /* @__PURE__ */ jsxRuntime.jsx(
3591
3379
  "span",
3592
3380
  {
3593
3381
  className: cn(
@@ -3599,118 +3387,1038 @@ var CommandShortcut = ({ className, ...props }) => {
3599
3387
  );
3600
3388
  };
3601
3389
  CommandShortcut.displayName = "CommandShortcut";
3602
- // Annotate the CommonJS export names for ESM import in node:
3603
- 0 && (module.exports = {
3604
- Accordion,
3605
- AccordionContent,
3606
- AccordionItem,
3607
- AccordionTrigger,
3608
- Alert,
3609
- AlertDescription,
3610
- AlertTitle,
3611
- AspectRatio,
3612
- Avatar,
3613
- AvatarFallback,
3614
- AvatarImage,
3615
- Badge,
3616
- Breadcrumb,
3617
- BreadcrumbEllipsis,
3618
- BreadcrumbItem,
3619
- BreadcrumbList,
3620
- BreadcrumbSeparator,
3621
- Button,
3622
- Card,
3623
- CardContent,
3624
- CardDescription,
3625
- CardFooter,
3626
- CardHeader,
3627
- CardTitle,
3628
- Checkbox,
3629
- CheckboxGroup,
3630
- CheckboxLabel,
3631
- CheckboxWithLabel,
3632
- Collapsible,
3633
- CollapsibleContent,
3634
- CollapsibleTrigger,
3635
- Command,
3636
- CommandDialog,
3637
- CommandEmpty,
3638
- CommandGroup,
3639
- CommandInput,
3640
- CommandItem,
3641
- CommandList,
3642
- CommandSeparator,
3643
- CommandShortcut,
3644
- Dialog,
3645
- DialogClose,
3646
- DialogContent,
3647
- DialogDescription,
3648
- DialogFooter,
3649
- DialogForm,
3650
- DialogHeader,
3651
- DialogTitle,
3652
- DialogTrigger,
3653
- Input,
3654
- Popover,
3655
- PopoverAnchor,
3656
- PopoverClose,
3657
- PopoverContent,
3658
- PopoverFooter,
3659
- PopoverHeader,
3660
- PopoverSeparator,
3661
- PopoverTrigger,
3662
- Progress,
3663
- RadioGroup,
3664
- RadioGroupItem,
3665
- RadioItemWithLabel,
3666
- RadioLabel,
3667
- Select,
3668
- SelectContent,
3669
- SelectGroup,
3670
- SelectItem,
3671
- SelectLabel,
3672
- SelectSeparator,
3673
- SelectTrigger,
3674
- SelectValue,
3675
- Skeleton,
3676
- SkeletonAvatar,
3677
- SkeletonCard,
3678
- SkeletonText,
3679
- Switch,
3680
- Tabs,
3681
- TabsContent,
3682
- TabsList,
3683
- TabsTrigger,
3684
- ThemeProvider,
3685
- Toast,
3686
- ToastContainer,
3687
- ToastProvider,
3688
- Tooltip,
3689
- accordionContentVariants,
3690
- accordionItemVariants,
3691
- accordionTriggerVariants,
3692
- aspectRatioVariants,
3693
- badgeVariants,
3694
- buttonVariants,
3695
- cn,
3696
- collapsibleContentVariants,
3697
- collapsibleTriggerVariants,
3698
- combineRefs,
3699
- commandGroupVariants,
3700
- commandInputVariants,
3701
- commandItemVariants,
3702
- commandListVariants,
3703
- commandVariants,
3704
- createCssVariables,
3705
- debounce,
3706
- formatCurrency,
3707
- generateId,
3708
- get,
3709
- popoverContentVariants,
3710
- progressVariants,
3711
- skeletonVariants,
3712
- toastVariants,
3713
- tooltipContentVariants,
3714
- useTheme,
3715
- useToast
3716
- });
3390
+ var toggleVariants = classVarianceAuthority.cva(
3391
+ "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground 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=on]:bg-accent data-[state=on]:text-accent-foreground",
3392
+ {
3393
+ variants: {
3394
+ variant: {
3395
+ default: "bg-transparent",
3396
+ outline: "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"
3397
+ },
3398
+ size: {
3399
+ default: "h-10 px-3",
3400
+ sm: "h-9 px-2.5",
3401
+ lg: "h-11 px-5"
3402
+ }
3403
+ },
3404
+ defaultVariants: {
3405
+ variant: "default",
3406
+ size: "default"
3407
+ }
3408
+ }
3409
+ );
3410
+ var Toggle = React32__namespace.forwardRef(
3411
+ ({ className, variant, size, pressed, onPressedChange, onClick, ...props }, ref) => {
3412
+ const handleClick = (event) => {
3413
+ if (onPressedChange) {
3414
+ onPressedChange(!pressed);
3415
+ }
3416
+ if (onClick) {
3417
+ onClick(event);
3418
+ }
3419
+ };
3420
+ return /* @__PURE__ */ jsxRuntime.jsx(
3421
+ "button",
3422
+ {
3423
+ ref,
3424
+ "data-state": pressed ? "on" : "off",
3425
+ "aria-pressed": pressed,
3426
+ className: cn(toggleVariants({ variant, size, className })),
3427
+ onClick: handleClick,
3428
+ ...props
3429
+ }
3430
+ );
3431
+ }
3432
+ );
3433
+ Toggle.displayName = "Toggle";
3434
+ var Slider = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
3435
+ SliderPrimitive__namespace.Root,
3436
+ {
3437
+ ref,
3438
+ className: cn(
3439
+ "relative flex w-full touch-none select-none items-center",
3440
+ className
3441
+ ),
3442
+ ...props,
3443
+ children: [
3444
+ /* @__PURE__ */ jsxRuntime.jsx(SliderPrimitive__namespace.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-secondary", children: /* @__PURE__ */ jsxRuntime.jsx(SliderPrimitive__namespace.Range, { className: "absolute h-full bg-primary" }) }),
3445
+ /* @__PURE__ */ jsxRuntime.jsx(SliderPrimitive__namespace.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })
3446
+ ]
3447
+ }
3448
+ ));
3449
+ Slider.displayName = SliderPrimitive__namespace.Root.displayName;
3450
+ var DropdownMenu = DropdownMenuPrimitive__namespace.Root;
3451
+ var DropdownMenuTrigger = DropdownMenuPrimitive__namespace.Trigger;
3452
+ var DropdownMenuGroup = DropdownMenuPrimitive__namespace.Group;
3453
+ var DropdownMenuPortal = DropdownMenuPrimitive__namespace.Portal;
3454
+ var DropdownMenuSub = DropdownMenuPrimitive__namespace.Sub;
3455
+ var DropdownMenuRadioGroup = DropdownMenuPrimitive__namespace.RadioGroup;
3456
+ var DropdownMenuSubTrigger = React32__namespace.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
3457
+ DropdownMenuPrimitive__namespace.SubTrigger,
3458
+ {
3459
+ ref,
3460
+ className: cn(
3461
+ "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",
3462
+ inset && "pl-8",
3463
+ className
3464
+ ),
3465
+ ...props,
3466
+ children: [
3467
+ children,
3468
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "ml-auto h-4 w-4" })
3469
+ ]
3470
+ }
3471
+ ));
3472
+ DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive__namespace.SubTrigger.displayName;
3473
+ var DropdownMenuSubContent = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3474
+ DropdownMenuPrimitive__namespace.SubContent,
3475
+ {
3476
+ ref,
3477
+ className: cn(
3478
+ "z-50 min-w-[8rem] 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",
3479
+ className
3480
+ ),
3481
+ ...props
3482
+ }
3483
+ ));
3484
+ DropdownMenuSubContent.displayName = DropdownMenuPrimitive__namespace.SubContent.displayName;
3485
+ var DropdownMenuContent = React32__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
3486
+ DropdownMenuPrimitive__namespace.Content,
3487
+ {
3488
+ ref,
3489
+ sideOffset,
3490
+ className: cn(
3491
+ "z-50 min-w-[8rem] overflow-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",
3492
+ className
3493
+ ),
3494
+ ...props
3495
+ }
3496
+ ) }));
3497
+ DropdownMenuContent.displayName = DropdownMenuPrimitive__namespace.Content.displayName;
3498
+ var DropdownMenuItem = React32__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3499
+ DropdownMenuPrimitive__namespace.Item,
3500
+ {
3501
+ ref,
3502
+ className: cn(
3503
+ "relative flex cursor-default select-none items-center 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",
3504
+ inset && "pl-8",
3505
+ className
3506
+ ),
3507
+ ...props
3508
+ }
3509
+ ));
3510
+ DropdownMenuItem.displayName = DropdownMenuPrimitive__namespace.Item.displayName;
3511
+ var DropdownMenuCheckboxItem = React32__namespace.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
3512
+ DropdownMenuPrimitive__namespace.CheckboxItem,
3513
+ {
3514
+ ref,
3515
+ className: cn(
3516
+ "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",
3517
+ className
3518
+ ),
3519
+ checked,
3520
+ ...props,
3521
+ children: [
3522
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "h-4 w-4" }) }) }),
3523
+ children
3524
+ ]
3525
+ }
3526
+ ));
3527
+ DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive__namespace.CheckboxItem.displayName;
3528
+ var DropdownMenuRadioItem = React32__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
3529
+ DropdownMenuPrimitive__namespace.RadioItem,
3530
+ {
3531
+ ref,
3532
+ className: cn(
3533
+ "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",
3534
+ className
3535
+ ),
3536
+ ...props,
3537
+ children: [
3538
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Circle, { className: "h-2 w-2 fill-current" }) }) }),
3539
+ children
3540
+ ]
3541
+ }
3542
+ ));
3543
+ DropdownMenuRadioItem.displayName = DropdownMenuPrimitive__namespace.RadioItem.displayName;
3544
+ var DropdownMenuLabel = React32__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3545
+ DropdownMenuPrimitive__namespace.Label,
3546
+ {
3547
+ ref,
3548
+ className: cn(
3549
+ "px-2 py-1.5 text-sm font-semibold",
3550
+ inset && "pl-8",
3551
+ className
3552
+ ),
3553
+ ...props
3554
+ }
3555
+ ));
3556
+ DropdownMenuLabel.displayName = DropdownMenuPrimitive__namespace.Label.displayName;
3557
+ var DropdownMenuSeparator = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3558
+ DropdownMenuPrimitive__namespace.Separator,
3559
+ {
3560
+ ref,
3561
+ className: cn("-mx-1 my-1 h-px bg-muted", className),
3562
+ ...props
3563
+ }
3564
+ ));
3565
+ DropdownMenuSeparator.displayName = DropdownMenuPrimitive__namespace.Separator.displayName;
3566
+ var DropdownMenuShortcut = ({
3567
+ className,
3568
+ ...props
3569
+ }) => {
3570
+ return /* @__PURE__ */ jsxRuntime.jsx(
3571
+ "span",
3572
+ {
3573
+ className: cn("ml-auto text-xs tracking-widest opacity-60", className),
3574
+ ...props
3575
+ }
3576
+ );
3577
+ };
3578
+ DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
3579
+ var NavigationMenu = React32__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
3580
+ NavigationMenuPrimitive__namespace.Root,
3581
+ {
3582
+ ref,
3583
+ className: cn(
3584
+ "relative z-10 flex max-w-max flex-1 items-center justify-center",
3585
+ className
3586
+ ),
3587
+ ...props,
3588
+ children: [
3589
+ children,
3590
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuViewport, {})
3591
+ ]
3592
+ }
3593
+ ));
3594
+ NavigationMenu.displayName = NavigationMenuPrimitive__namespace.Root.displayName;
3595
+ var NavigationMenuList = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3596
+ NavigationMenuPrimitive__namespace.List,
3597
+ {
3598
+ ref,
3599
+ className: cn(
3600
+ "group flex flex-1 list-none items-center justify-center space-x-1",
3601
+ className
3602
+ ),
3603
+ ...props
3604
+ }
3605
+ ));
3606
+ NavigationMenuList.displayName = NavigationMenuPrimitive__namespace.List.displayName;
3607
+ var NavigationMenuItem = NavigationMenuPrimitive__namespace.Item;
3608
+ var navigationMenuTriggerStyle = classVarianceAuthority.cva(
3609
+ "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"
3610
+ );
3611
+ var NavigationMenuTrigger = React32__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
3612
+ NavigationMenuPrimitive__namespace.Trigger,
3613
+ {
3614
+ ref,
3615
+ className: cn(navigationMenuTriggerStyle(), "group", className),
3616
+ ...props,
3617
+ children: [
3618
+ children,
3619
+ " ",
3620
+ /* @__PURE__ */ jsxRuntime.jsx(
3621
+ lucideReact.ChevronDown,
3622
+ {
3623
+ className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
3624
+ "aria-hidden": "true"
3625
+ }
3626
+ )
3627
+ ]
3628
+ }
3629
+ ));
3630
+ NavigationMenuTrigger.displayName = NavigationMenuPrimitive__namespace.Trigger.displayName;
3631
+ var NavigationMenuContent = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3632
+ NavigationMenuPrimitive__namespace.Content,
3633
+ {
3634
+ ref,
3635
+ className: cn(
3636
+ "left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",
3637
+ className
3638
+ ),
3639
+ ...props
3640
+ }
3641
+ ));
3642
+ NavigationMenuContent.displayName = NavigationMenuPrimitive__namespace.Content.displayName;
3643
+ var NavigationMenuLink = NavigationMenuPrimitive__namespace.Link;
3644
+ var NavigationMenuViewport = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsxRuntime.jsx(
3645
+ NavigationMenuPrimitive__namespace.Viewport,
3646
+ {
3647
+ className: cn(
3648
+ "origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
3649
+ className
3650
+ ),
3651
+ ref,
3652
+ ...props
3653
+ }
3654
+ ) }));
3655
+ NavigationMenuViewport.displayName = NavigationMenuPrimitive__namespace.Viewport.displayName;
3656
+ var NavigationMenuIndicator = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3657
+ NavigationMenuPrimitive__namespace.Indicator,
3658
+ {
3659
+ ref,
3660
+ className: cn(
3661
+ "top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",
3662
+ className
3663
+ ),
3664
+ ...props,
3665
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
3666
+ }
3667
+ ));
3668
+ NavigationMenuIndicator.displayName = NavigationMenuPrimitive__namespace.Indicator.displayName;
3669
+ var Sheet = DialogPrimitive__namespace.Root;
3670
+ var SheetTrigger = DialogPrimitive__namespace.Trigger;
3671
+ var SheetClose = DialogPrimitive__namespace.Close;
3672
+ var SheetPortal = DialogPrimitive__namespace.Portal;
3673
+ var SheetOverlay = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3674
+ DialogPrimitive__namespace.Overlay,
3675
+ {
3676
+ className: cn(
3677
+ "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",
3678
+ className
3679
+ ),
3680
+ ...props,
3681
+ ref
3682
+ }
3683
+ ));
3684
+ SheetOverlay.displayName = DialogPrimitive__namespace.Overlay.displayName;
3685
+ var sheetVariants = classVarianceAuthority.cva(
3686
+ "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
3687
+ {
3688
+ variants: {
3689
+ side: {
3690
+ top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
3691
+ bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
3692
+ 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",
3693
+ 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"
3694
+ }
3695
+ },
3696
+ defaultVariants: {
3697
+ side: "right"
3698
+ }
3699
+ }
3700
+ );
3701
+ var SheetContent = React32__namespace.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(SheetPortal, { children: [
3702
+ /* @__PURE__ */ jsxRuntime.jsx(SheetOverlay, {}),
3703
+ /* @__PURE__ */ jsxRuntime.jsxs(
3704
+ DialogPrimitive__namespace.Content,
3705
+ {
3706
+ ref,
3707
+ className: cn(sheetVariants({ side }), className),
3708
+ ...props,
3709
+ children: [
3710
+ children,
3711
+ /* @__PURE__ */ jsxRuntime.jsxs(DialogPrimitive__namespace.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: [
3712
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-4 w-4" }),
3713
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
3714
+ ] })
3715
+ ]
3716
+ }
3717
+ )
3718
+ ] }));
3719
+ SheetContent.displayName = DialogPrimitive__namespace.Content.displayName;
3720
+ var SheetHeader = ({
3721
+ className,
3722
+ ...props
3723
+ }) => /* @__PURE__ */ jsxRuntime.jsx(
3724
+ "div",
3725
+ {
3726
+ className: cn(
3727
+ "flex flex-col space-y-2 text-center sm:text-left",
3728
+ className
3729
+ ),
3730
+ ...props
3731
+ }
3732
+ );
3733
+ SheetHeader.displayName = "SheetHeader";
3734
+ var SheetFooter = ({
3735
+ className,
3736
+ ...props
3737
+ }) => /* @__PURE__ */ jsxRuntime.jsx(
3738
+ "div",
3739
+ {
3740
+ className: cn(
3741
+ "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
3742
+ className
3743
+ ),
3744
+ ...props
3745
+ }
3746
+ );
3747
+ SheetFooter.displayName = "SheetFooter";
3748
+ var SheetTitle = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3749
+ DialogPrimitive__namespace.Title,
3750
+ {
3751
+ ref,
3752
+ className: cn("text-lg font-semibold text-foreground", className),
3753
+ ...props
3754
+ }
3755
+ ));
3756
+ SheetTitle.displayName = DialogPrimitive__namespace.Title.displayName;
3757
+ var SheetDescription = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3758
+ DialogPrimitive__namespace.Description,
3759
+ {
3760
+ ref,
3761
+ className: cn("text-sm text-muted-foreground", className),
3762
+ ...props
3763
+ }
3764
+ ));
3765
+ SheetDescription.displayName = DialogPrimitive__namespace.Description.displayName;
3766
+ var HoverCard = HoverCardPrimitive__namespace.Root;
3767
+ var HoverCardTrigger = HoverCardPrimitive__namespace.Trigger;
3768
+ var HoverCardContent = React32__namespace.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3769
+ HoverCardPrimitive__namespace.Content,
3770
+ {
3771
+ ref,
3772
+ align,
3773
+ sideOffset,
3774
+ className: cn(
3775
+ "z-50 w-64 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",
3776
+ className
3777
+ ),
3778
+ ...props
3779
+ }
3780
+ ));
3781
+ HoverCardContent.displayName = HoverCardPrimitive__namespace.Content.displayName;
3782
+ var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
3783
+ "nav",
3784
+ {
3785
+ role: "navigation",
3786
+ "aria-label": "pagination",
3787
+ className: cn("mx-auto flex w-full justify-center", className),
3788
+ ...props
3789
+ }
3790
+ );
3791
+ Pagination.displayName = "Pagination";
3792
+ var PaginationContent = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3793
+ "ul",
3794
+ {
3795
+ ref,
3796
+ className: cn("flex flex-row items-center gap-1", className),
3797
+ ...props
3798
+ }
3799
+ ));
3800
+ PaginationContent.displayName = "PaginationContent";
3801
+ var PaginationItem = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("li", { ref, className: cn("", className), ...props }));
3802
+ PaginationItem.displayName = "PaginationItem";
3803
+ var PaginationLink = ({
3804
+ className,
3805
+ isActive,
3806
+ size = "icon",
3807
+ ...props
3808
+ }) => /* @__PURE__ */ jsxRuntime.jsx(
3809
+ "a",
3810
+ {
3811
+ "aria-current": isActive ? "page" : void 0,
3812
+ className: cn(
3813
+ buttonVariants({
3814
+ variant: isActive ? "outline" : "ghost",
3815
+ size
3816
+ }),
3817
+ className
3818
+ ),
3819
+ ...props
3820
+ }
3821
+ );
3822
+ PaginationLink.displayName = "PaginationLink";
3823
+ var PaginationPrevious = ({
3824
+ className,
3825
+ ...props
3826
+ }) => /* @__PURE__ */ jsxRuntime.jsxs(
3827
+ PaginationLink,
3828
+ {
3829
+ "aria-label": "Go to previous page",
3830
+ size: "default",
3831
+ className: cn("gap-1 pl-2.5", className),
3832
+ ...props,
3833
+ children: [
3834
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronLeft, { className: "h-4 w-4" }),
3835
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Previous" })
3836
+ ]
3837
+ }
3838
+ );
3839
+ PaginationPrevious.displayName = "PaginationPrevious";
3840
+ var PaginationNext = ({
3841
+ className,
3842
+ ...props
3843
+ }) => /* @__PURE__ */ jsxRuntime.jsxs(
3844
+ PaginationLink,
3845
+ {
3846
+ "aria-label": "Go to next page",
3847
+ size: "default",
3848
+ className: cn("gap-1 pr-2.5", className),
3849
+ ...props,
3850
+ children: [
3851
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Next" }),
3852
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "h-4 w-4" })
3853
+ ]
3854
+ }
3855
+ );
3856
+ PaginationNext.displayName = "PaginationNext";
3857
+ var PaginationEllipsis = ({
3858
+ className,
3859
+ ...props
3860
+ }) => /* @__PURE__ */ jsxRuntime.jsxs(
3861
+ "span",
3862
+ {
3863
+ "aria-hidden": true,
3864
+ className: cn("flex h-9 w-9 items-center justify-center", className),
3865
+ ...props,
3866
+ children: [
3867
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreHorizontal, { className: "h-4 w-4" }),
3868
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "More pages" })
3869
+ ]
3870
+ }
3871
+ );
3872
+ PaginationEllipsis.displayName = "PaginationEllipsis";
3873
+ var MenubarMenu = MenubarPrimitive__namespace.Menu;
3874
+ var MenubarGroup = MenubarPrimitive__namespace.Group;
3875
+ var MenubarPortal = MenubarPrimitive__namespace.Portal;
3876
+ var MenubarSub = MenubarPrimitive__namespace.Sub;
3877
+ var MenubarRadioGroup = MenubarPrimitive__namespace.RadioGroup;
3878
+ var Menubar = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3879
+ MenubarPrimitive__namespace.Root,
3880
+ {
3881
+ ref,
3882
+ className: cn(
3883
+ "flex h-10 items-center space-x-1 rounded-md border bg-background p-1",
3884
+ className
3885
+ ),
3886
+ ...props
3887
+ }
3888
+ ));
3889
+ Menubar.displayName = MenubarPrimitive__namespace.Root.displayName;
3890
+ var MenubarTrigger = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3891
+ MenubarPrimitive__namespace.Trigger,
3892
+ {
3893
+ ref,
3894
+ className: cn(
3895
+ "flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
3896
+ className
3897
+ ),
3898
+ ...props
3899
+ }
3900
+ ));
3901
+ MenubarTrigger.displayName = MenubarPrimitive__namespace.Trigger.displayName;
3902
+ var MenubarSubTrigger = React32__namespace.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
3903
+ MenubarPrimitive__namespace.SubTrigger,
3904
+ {
3905
+ ref,
3906
+ className: cn(
3907
+ "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",
3908
+ inset && "pl-8",
3909
+ className
3910
+ ),
3911
+ ...props,
3912
+ children: [
3913
+ children,
3914
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "ml-auto h-4 w-4" })
3915
+ ]
3916
+ }
3917
+ ));
3918
+ MenubarSubTrigger.displayName = MenubarPrimitive__namespace.SubTrigger.displayName;
3919
+ var MenubarSubContent = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3920
+ MenubarPrimitive__namespace.SubContent,
3921
+ {
3922
+ ref,
3923
+ className: cn(
3924
+ "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
3925
+ className
3926
+ ),
3927
+ ...props
3928
+ }
3929
+ ));
3930
+ MenubarSubContent.displayName = MenubarPrimitive__namespace.SubContent.displayName;
3931
+ var MenubarContent = React32__namespace.forwardRef(
3932
+ ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(MenubarPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
3933
+ MenubarPrimitive__namespace.Content,
3934
+ {
3935
+ ref,
3936
+ align,
3937
+ alignOffset,
3938
+ sideOffset,
3939
+ className: cn(
3940
+ "z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in 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",
3941
+ className
3942
+ ),
3943
+ ...props
3944
+ }
3945
+ ) })
3946
+ );
3947
+ MenubarContent.displayName = MenubarPrimitive__namespace.Content.displayName;
3948
+ var MenubarItem = React32__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3949
+ MenubarPrimitive__namespace.Item,
3950
+ {
3951
+ ref,
3952
+ className: cn(
3953
+ "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",
3954
+ inset && "pl-8",
3955
+ className
3956
+ ),
3957
+ ...props
3958
+ }
3959
+ ));
3960
+ MenubarItem.displayName = MenubarPrimitive__namespace.Item.displayName;
3961
+ var MenubarCheckboxItem = React32__namespace.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
3962
+ MenubarPrimitive__namespace.CheckboxItem,
3963
+ {
3964
+ ref,
3965
+ className: cn(
3966
+ "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",
3967
+ className
3968
+ ),
3969
+ checked,
3970
+ ...props,
3971
+ children: [
3972
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(MenubarPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "h-4 w-4" }) }) }),
3973
+ children
3974
+ ]
3975
+ }
3976
+ ));
3977
+ MenubarCheckboxItem.displayName = MenubarPrimitive__namespace.CheckboxItem.displayName;
3978
+ var MenubarRadioItem = React32__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
3979
+ MenubarPrimitive__namespace.RadioItem,
3980
+ {
3981
+ ref,
3982
+ className: cn(
3983
+ "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",
3984
+ className
3985
+ ),
3986
+ ...props,
3987
+ children: [
3988
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(MenubarPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Circle, { className: "h-2 w-2 fill-current" }) }) }),
3989
+ children
3990
+ ]
3991
+ }
3992
+ ));
3993
+ MenubarRadioItem.displayName = MenubarPrimitive__namespace.RadioItem.displayName;
3994
+ var MenubarLabel = React32__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3995
+ MenubarPrimitive__namespace.Label,
3996
+ {
3997
+ ref,
3998
+ className: cn(
3999
+ "px-2 py-1.5 text-sm font-semibold",
4000
+ inset && "pl-8",
4001
+ className
4002
+ ),
4003
+ ...props
4004
+ }
4005
+ ));
4006
+ MenubarLabel.displayName = MenubarPrimitive__namespace.Label.displayName;
4007
+ var MenubarSeparator = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
4008
+ MenubarPrimitive__namespace.Separator,
4009
+ {
4010
+ ref,
4011
+ className: cn("-mx-1 my-1 h-px bg-muted", className),
4012
+ ...props
4013
+ }
4014
+ ));
4015
+ MenubarSeparator.displayName = MenubarPrimitive__namespace.Separator.displayName;
4016
+ var MenubarShortcut = ({
4017
+ className,
4018
+ ...props
4019
+ }) => {
4020
+ return /* @__PURE__ */ jsxRuntime.jsx(
4021
+ "span",
4022
+ {
4023
+ className: cn(
4024
+ "ml-auto text-xs tracking-widest text-muted-foreground",
4025
+ className
4026
+ ),
4027
+ ...props
4028
+ }
4029
+ );
4030
+ };
4031
+ MenubarShortcut.displayName = "MenubarShortcut";
4032
+ var tableVariants = classVarianceAuthority.cva(
4033
+ "w-full caption-bottom text-sm",
4034
+ {
4035
+ variants: {
4036
+ variant: {
4037
+ default: "dark:text-gray-200",
4038
+ bordered: "border border-border dark:border-gray-700",
4039
+ striped: "dark:text-gray-200",
4040
+ card: "border border-border dark:border-gray-700 rounded-md shadow-sm dark:shadow-gray-900/20",
4041
+ minimal: "border-none dark:text-gray-200"
4042
+ },
4043
+ size: {
4044
+ sm: "text-xs",
4045
+ default: "text-sm",
4046
+ lg: "text-base"
4047
+ }
4048
+ },
4049
+ defaultVariants: {
4050
+ variant: "default",
4051
+ size: "default"
4052
+ }
4053
+ }
4054
+ );
4055
+ var Table = React32__namespace.forwardRef(({
4056
+ className,
4057
+ variant,
4058
+ size,
4059
+ loading,
4060
+ emptyContent,
4061
+ // Commenting unused properties to prevent lint warnings
4062
+ // sortColumn,
4063
+ // sortDirection,
4064
+ // onSortChange,
4065
+ // selectedRowIds,
4066
+ // onRowSelectionChange,
4067
+ // disableRowSelection,
4068
+ // getRowId,
4069
+ ...props
4070
+ }, ref) => {
4071
+ const striped = variant === "striped";
4072
+ const childrenWithProps = React32__namespace.Children.map(props.children, (child) => {
4073
+ if (React32__namespace.isValidElement(child)) {
4074
+ if (child.type === "tbody") {
4075
+ const tbodyProps = child.props;
4076
+ return React32__namespace.cloneElement(child, {
4077
+ className: cn(tbodyProps.className, striped && "even:[&>tr]:bg-muted/50")
4078
+ });
4079
+ }
4080
+ }
4081
+ return child;
4082
+ });
4083
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative w-full overflow-auto", children: [
4084
+ loading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 bg-background/60 flex items-center justify-center z-10", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-8 w-8 animate-spin rounded-full border-2 border-primary border-t-transparent" }) }),
4085
+ /* @__PURE__ */ jsxRuntime.jsx(
4086
+ "table",
4087
+ {
4088
+ ref,
4089
+ className: cn(
4090
+ tableVariants({ variant, size }),
4091
+ loading && "opacity-70",
4092
+ className
4093
+ ),
4094
+ ...props,
4095
+ children: childrenWithProps
4096
+ }
4097
+ ),
4098
+ emptyContent && React32__namespace.Children.count(props.children) === 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "py-6 text-center text-muted-foreground", children: emptyContent })
4099
+ ] });
4100
+ });
4101
+ Table.displayName = "Table";
4102
+ var TableHeader = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
4103
+ "thead",
4104
+ {
4105
+ ref,
4106
+ className: cn(
4107
+ "border-b bg-muted/50 dark:bg-gray-800/30 dark:border-gray-700",
4108
+ className
4109
+ ),
4110
+ ...props
4111
+ }
4112
+ ));
4113
+ TableHeader.displayName = "TableHeader";
4114
+ var TableBody = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("tbody", { ref, className: cn("", className), ...props }));
4115
+ TableBody.displayName = "TableBody";
4116
+ var TableFooter = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
4117
+ "tfoot",
4118
+ {
4119
+ ref,
4120
+ className: cn("bg-primary text-primary-foreground font-medium", className),
4121
+ ...props
4122
+ }
4123
+ ));
4124
+ TableFooter.displayName = "TableFooter";
4125
+ var TableRow = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
4126
+ "tr",
4127
+ {
4128
+ ref,
4129
+ className: cn(
4130
+ "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
4131
+ className
4132
+ ),
4133
+ ...props
4134
+ }
4135
+ ));
4136
+ TableRow.displayName = "TableRow";
4137
+ var TableHead = React32__namespace.forwardRef(
4138
+ ({ className, sortable, sorted, onSort, children, ...props }, ref) => {
4139
+ const renderSortIcon = () => {
4140
+ if (!sortable)
4141
+ return null;
4142
+ if (sorted === "asc") {
4143
+ return /* @__PURE__ */ jsxRuntime.jsx(
4144
+ "svg",
4145
+ {
4146
+ xmlns: "http://www.w3.org/2000/svg",
4147
+ className: "ml-1 h-4 w-4 inline-block",
4148
+ viewBox: "0 0 20 20",
4149
+ fill: "currentColor",
4150
+ children: /* @__PURE__ */ jsxRuntime.jsx(
4151
+ "path",
4152
+ {
4153
+ fillRule: "evenodd",
4154
+ d: "M14.707 10.293a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.414L9 12.586V5a1 1 0 012 0v7.586l2.293-2.293a1 1 0 011.414 0z",
4155
+ clipRule: "evenodd"
4156
+ }
4157
+ )
4158
+ }
4159
+ );
4160
+ }
4161
+ if (sorted === "desc") {
4162
+ return /* @__PURE__ */ jsxRuntime.jsx(
4163
+ "svg",
4164
+ {
4165
+ xmlns: "http://www.w3.org/2000/svg",
4166
+ className: "ml-1 h-4 w-4 inline-block",
4167
+ viewBox: "0 0 20 20",
4168
+ fill: "currentColor",
4169
+ children: /* @__PURE__ */ jsxRuntime.jsx(
4170
+ "path",
4171
+ {
4172
+ fillRule: "evenodd",
4173
+ d: "M5.293 9.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 7.414V15a1 1 0 11-2 0V7.414L6.707 9.707a1 1 0 01-1.414 0z",
4174
+ clipRule: "evenodd"
4175
+ }
4176
+ )
4177
+ }
4178
+ );
4179
+ }
4180
+ return /* @__PURE__ */ jsxRuntime.jsx(
4181
+ "svg",
4182
+ {
4183
+ xmlns: "http://www.w3.org/2000/svg",
4184
+ className: "ml-1 h-4 w-4 inline-block opacity-30",
4185
+ viewBox: "0 0 20 20",
4186
+ fill: "currentColor",
4187
+ children: /* @__PURE__ */ jsxRuntime.jsx(
4188
+ "path",
4189
+ {
4190
+ fillRule: "evenodd",
4191
+ d: "M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z",
4192
+ clipRule: "evenodd"
4193
+ }
4194
+ )
4195
+ }
4196
+ );
4197
+ };
4198
+ return /* @__PURE__ */ jsxRuntime.jsx(
4199
+ "th",
4200
+ {
4201
+ ref,
4202
+ className: cn(
4203
+ "h-10 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
4204
+ sortable && "cursor-pointer hover:text-foreground select-none",
4205
+ className
4206
+ ),
4207
+ onClick: sortable ? onSort : void 0,
4208
+ ...props,
4209
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center", children: [
4210
+ children,
4211
+ sortable && renderSortIcon()
4212
+ ] })
4213
+ }
4214
+ );
4215
+ }
4216
+ );
4217
+ TableHead.displayName = "TableHead";
4218
+ var TableCell = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
4219
+ "td",
4220
+ {
4221
+ ref,
4222
+ className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className),
4223
+ ...props
4224
+ }
4225
+ ));
4226
+ TableCell.displayName = "TableCell";
4227
+ var TableCaption = React32__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
4228
+ "caption",
4229
+ {
4230
+ ref,
4231
+ className: cn("mt-4 text-sm text-muted-foreground", className),
4232
+ ...props
4233
+ }
4234
+ ));
4235
+ TableCaption.displayName = "TableCaption";
4236
+
4237
+ exports.Accordion = Accordion;
4238
+ exports.AccordionContent = AccordionContent;
4239
+ exports.AccordionItem = AccordionItem;
4240
+ exports.AccordionTrigger = AccordionTrigger;
4241
+ exports.Alert = Alert;
4242
+ exports.AlertDescription = AlertDescription;
4243
+ exports.AlertTitle = AlertTitle;
4244
+ exports.AspectRatio = AspectRatio;
4245
+ exports.Avatar = Avatar;
4246
+ exports.AvatarFallback = AvatarFallback;
4247
+ exports.AvatarImage = AvatarImage;
4248
+ exports.Badge = Badge;
4249
+ exports.Breadcrumb = Breadcrumb;
4250
+ exports.BreadcrumbEllipsis = BreadcrumbEllipsis;
4251
+ exports.BreadcrumbItem = BreadcrumbItem;
4252
+ exports.BreadcrumbList = BreadcrumbList;
4253
+ exports.BreadcrumbSeparator = BreadcrumbSeparator;
4254
+ exports.Button = Button;
4255
+ exports.Card = Card;
4256
+ exports.CardContent = CardContent;
4257
+ exports.CardDescription = CardDescription;
4258
+ exports.CardFooter = CardFooter;
4259
+ exports.CardHeader = CardHeader;
4260
+ exports.CardTitle = CardTitle;
4261
+ exports.Checkbox = Checkbox;
4262
+ exports.CheckboxGroup = CheckboxGroup;
4263
+ exports.CheckboxLabel = CheckboxLabel;
4264
+ exports.CheckboxWithLabel = CheckboxWithLabel;
4265
+ exports.Collapsible = Collapsible2;
4266
+ exports.CollapsibleContent = CollapsibleContent2;
4267
+ exports.CollapsibleTrigger = CollapsibleTrigger2;
4268
+ exports.Command = Command;
4269
+ exports.CommandDialog = CommandDialog;
4270
+ exports.CommandEmpty = CommandEmpty;
4271
+ exports.CommandGroup = CommandGroup;
4272
+ exports.CommandInput = CommandInput;
4273
+ exports.CommandItem = CommandItem;
4274
+ exports.CommandList = CommandList;
4275
+ exports.CommandSeparator = CommandSeparator;
4276
+ exports.CommandShortcut = CommandShortcut;
4277
+ exports.Dialog = Dialog;
4278
+ exports.DialogClose = DialogClose;
4279
+ exports.DialogContent = DialogContent;
4280
+ exports.DialogDescription = DialogDescription;
4281
+ exports.DialogFooter = DialogFooter;
4282
+ exports.DialogForm = DialogForm;
4283
+ exports.DialogHeader = DialogHeader;
4284
+ exports.DialogTitle = DialogTitle;
4285
+ exports.DialogTrigger = DialogTrigger;
4286
+ exports.DropdownMenu = DropdownMenu;
4287
+ exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem;
4288
+ exports.DropdownMenuContent = DropdownMenuContent;
4289
+ exports.DropdownMenuGroup = DropdownMenuGroup;
4290
+ exports.DropdownMenuItem = DropdownMenuItem;
4291
+ exports.DropdownMenuLabel = DropdownMenuLabel;
4292
+ exports.DropdownMenuPortal = DropdownMenuPortal;
4293
+ exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup;
4294
+ exports.DropdownMenuRadioItem = DropdownMenuRadioItem;
4295
+ exports.DropdownMenuSeparator = DropdownMenuSeparator;
4296
+ exports.DropdownMenuShortcut = DropdownMenuShortcut;
4297
+ exports.DropdownMenuSub = DropdownMenuSub;
4298
+ exports.DropdownMenuSubContent = DropdownMenuSubContent;
4299
+ exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger;
4300
+ exports.DropdownMenuTrigger = DropdownMenuTrigger;
4301
+ exports.HoverCard = HoverCard;
4302
+ exports.HoverCardContent = HoverCardContent;
4303
+ exports.HoverCardTrigger = HoverCardTrigger;
4304
+ exports.Input = Input;
4305
+ exports.Label = Label;
4306
+ exports.Menubar = Menubar;
4307
+ exports.MenubarCheckboxItem = MenubarCheckboxItem;
4308
+ exports.MenubarContent = MenubarContent;
4309
+ exports.MenubarGroup = MenubarGroup;
4310
+ exports.MenubarItem = MenubarItem;
4311
+ exports.MenubarLabel = MenubarLabel;
4312
+ exports.MenubarMenu = MenubarMenu;
4313
+ exports.MenubarPortal = MenubarPortal;
4314
+ exports.MenubarRadioGroup = MenubarRadioGroup;
4315
+ exports.MenubarRadioItem = MenubarRadioItem;
4316
+ exports.MenubarSeparator = MenubarSeparator;
4317
+ exports.MenubarShortcut = MenubarShortcut;
4318
+ exports.MenubarSub = MenubarSub;
4319
+ exports.MenubarSubContent = MenubarSubContent;
4320
+ exports.MenubarSubTrigger = MenubarSubTrigger;
4321
+ exports.MenubarTrigger = MenubarTrigger;
4322
+ exports.NavigationMenu = NavigationMenu;
4323
+ exports.NavigationMenuContent = NavigationMenuContent;
4324
+ exports.NavigationMenuIndicator = NavigationMenuIndicator;
4325
+ exports.NavigationMenuItem = NavigationMenuItem;
4326
+ exports.NavigationMenuLink = NavigationMenuLink;
4327
+ exports.NavigationMenuList = NavigationMenuList;
4328
+ exports.NavigationMenuTrigger = NavigationMenuTrigger;
4329
+ exports.NavigationMenuViewport = NavigationMenuViewport;
4330
+ exports.Pagination = Pagination;
4331
+ exports.PaginationContent = PaginationContent;
4332
+ exports.PaginationEllipsis = PaginationEllipsis;
4333
+ exports.PaginationItem = PaginationItem;
4334
+ exports.PaginationLink = PaginationLink;
4335
+ exports.PaginationNext = PaginationNext;
4336
+ exports.PaginationPrevious = PaginationPrevious;
4337
+ exports.Popover = Popover;
4338
+ exports.PopoverAnchor = PopoverAnchor;
4339
+ exports.PopoverClose = PopoverClose;
4340
+ exports.PopoverContent = PopoverContent;
4341
+ exports.PopoverFooter = PopoverFooter;
4342
+ exports.PopoverHeader = PopoverHeader;
4343
+ exports.PopoverSeparator = PopoverSeparator;
4344
+ exports.PopoverTrigger = PopoverTrigger;
4345
+ exports.Progress = Progress;
4346
+ exports.RadioGroup = RadioGroup;
4347
+ exports.RadioGroupItem = RadioGroupItem;
4348
+ exports.RadioItemWithLabel = RadioItemWithLabel;
4349
+ exports.RadioLabel = RadioLabel;
4350
+ exports.Select = Select;
4351
+ exports.SelectContent = SelectContent;
4352
+ exports.SelectGroup = SelectGroup;
4353
+ exports.SelectItem = SelectItem;
4354
+ exports.SelectLabel = SelectLabel;
4355
+ exports.SelectSeparator = SelectSeparator;
4356
+ exports.SelectTrigger = SelectTrigger;
4357
+ exports.SelectValue = SelectValue;
4358
+ exports.Separator = Separator;
4359
+ exports.Sheet = Sheet;
4360
+ exports.SheetClose = SheetClose;
4361
+ exports.SheetContent = SheetContent;
4362
+ exports.SheetDescription = SheetDescription;
4363
+ exports.SheetFooter = SheetFooter;
4364
+ exports.SheetHeader = SheetHeader;
4365
+ exports.SheetOverlay = SheetOverlay;
4366
+ exports.SheetPortal = SheetPortal;
4367
+ exports.SheetTitle = SheetTitle;
4368
+ exports.SheetTrigger = SheetTrigger;
4369
+ exports.Skeleton = Skeleton;
4370
+ exports.SkeletonAvatar = SkeletonAvatar;
4371
+ exports.SkeletonCard = SkeletonCard;
4372
+ exports.SkeletonText = SkeletonText;
4373
+ exports.Slider = Slider;
4374
+ exports.Switch = Switch;
4375
+ exports.Table = Table;
4376
+ exports.TableBody = TableBody;
4377
+ exports.TableCaption = TableCaption;
4378
+ exports.TableCell = TableCell;
4379
+ exports.TableFooter = TableFooter;
4380
+ exports.TableHead = TableHead;
4381
+ exports.TableHeader = TableHeader;
4382
+ exports.TableRow = TableRow;
4383
+ exports.Tabs = Tabs;
4384
+ exports.TabsContent = TabsContent;
4385
+ exports.TabsList = TabsList;
4386
+ exports.TabsTrigger = TabsTrigger;
4387
+ exports.Textarea = Textarea;
4388
+ exports.ThemeProvider = ThemeProvider2;
4389
+ exports.Toast = Toast;
4390
+ exports.ToastContainer = ToastContainer;
4391
+ exports.ToastProvider = ToastProvider;
4392
+ exports.Toggle = Toggle;
4393
+ exports.Tooltip = Tooltip;
4394
+ exports.accordionContentVariants = accordionContentVariants;
4395
+ exports.accordionItemVariants = accordionItemVariants;
4396
+ exports.accordionTriggerVariants = accordionTriggerVariants;
4397
+ exports.aspectRatioVariants = aspectRatioVariants;
4398
+ exports.badgeVariants = badgeVariants;
4399
+ exports.buttonVariants = buttonVariants;
4400
+ exports.cn = cn;
4401
+ exports.collapsibleContentVariants = collapsibleContentVariants;
4402
+ exports.collapsibleTriggerVariants = collapsibleTriggerVariants;
4403
+ exports.combineRefs = combineRefs;
4404
+ exports.commandGroupVariants = commandGroupVariants;
4405
+ exports.commandInputVariants = commandInputVariants;
4406
+ exports.commandItemVariants = commandItemVariants;
4407
+ exports.commandListVariants = commandListVariants;
4408
+ exports.commandVariants = commandVariants;
4409
+ exports.createCssVariables = createCssVariables;
4410
+ exports.debounce = debounce;
4411
+ exports.formatCurrency = formatCurrency;
4412
+ exports.generateId = generateId;
4413
+ exports.get = get;
4414
+ exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle;
4415
+ exports.popoverContentVariants = popoverContentVariants;
4416
+ exports.progressVariants = progressVariants;
4417
+ exports.skeletonVariants = skeletonVariants;
4418
+ exports.toastVariants = toastVariants;
4419
+ exports.toggleVariants = toggleVariants;
4420
+ exports.tooltipContentVariants = tooltipContentVariants;
4421
+ exports.useTheme = useTheme;
4422
+ exports.useToast = useToast;
4423
+ //# sourceMappingURL=out.js.map
4424
+ //# sourceMappingURL=index.js.map