@appolabs/ui 0.1.5 → 0.1.7

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,7 +1,7 @@
1
1
  import { clsx } from 'clsx';
2
2
  import { twMerge } from 'tailwind-merge';
3
- import * as React36 from 'react';
4
- import React36__default from 'react';
3
+ import * as React39 from 'react';
4
+ import React39__default from 'react';
5
5
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
6
6
  import { ChevronDown, ArrowLeft, ArrowRight, Check, X, Search, ChevronRight, Circle, Dot, ChevronUp, PanelLeft, MoreHorizontal, ChevronLeft, GripVertical } from 'lucide-react';
7
7
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -46,8 +46,8 @@ function cn(...inputs) {
46
46
  }
47
47
  var MOBILE_BREAKPOINT = 768;
48
48
  function useIsMobile() {
49
- const [isMobile, setIsMobile] = React36.useState(void 0);
50
- React36.useEffect(() => {
49
+ const [isMobile, setIsMobile] = React39.useState(void 0);
50
+ React39.useEffect(() => {
51
51
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
52
52
  const onChange = () => {
53
53
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -158,8 +158,8 @@ function toast({ ...props }) {
158
158
  };
159
159
  }
160
160
  function useToast() {
161
- const [state, setState] = React36.useState(memoryState);
162
- React36.useEffect(() => {
161
+ const [state, setState] = React39.useState(memoryState);
162
+ React39.useEffect(() => {
163
163
  listeners.push(setState);
164
164
  return () => {
165
165
  const index = listeners.indexOf(setState);
@@ -175,7 +175,7 @@ function useToast() {
175
175
  };
176
176
  }
177
177
  var Accordion = AccordionPrimitive.Root;
178
- var AccordionItem = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
178
+ var AccordionItem = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
179
179
  AccordionPrimitive.Item,
180
180
  {
181
181
  ref,
@@ -184,7 +184,7 @@ var AccordionItem = React36.forwardRef(({ className, ...props }, ref) => /* @__P
184
184
  }
185
185
  ));
186
186
  AccordionItem.displayName = "AccordionItem";
187
- var AccordionTrigger = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
187
+ var AccordionTrigger = React39.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
188
188
  AccordionPrimitive.Trigger,
189
189
  {
190
190
  ref,
@@ -200,7 +200,7 @@ var AccordionTrigger = React36.forwardRef(({ className, children, ...props }, re
200
200
  }
201
201
  ) }));
202
202
  AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
203
- var AccordionContent = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
203
+ var AccordionContent = React39.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
204
204
  AccordionPrimitive.Content,
205
205
  {
206
206
  ref,
@@ -224,7 +224,7 @@ var alertVariants = cva(
224
224
  }
225
225
  }
226
226
  );
227
- var Alert = React36.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx(
227
+ var Alert = React39.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx(
228
228
  "div",
229
229
  {
230
230
  ref,
@@ -234,7 +234,7 @@ var Alert = React36.forwardRef(({ className, variant, ...props }, ref) => /* @__
234
234
  }
235
235
  ));
236
236
  Alert.displayName = "Alert";
237
- var AlertTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
237
+ var AlertTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
238
238
  "h5",
239
239
  {
240
240
  ref,
@@ -243,7 +243,7 @@ var AlertTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE
243
243
  }
244
244
  ));
245
245
  AlertTitle.displayName = "AlertTitle";
246
- var AlertDescription = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
246
+ var AlertDescription = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
247
247
  "div",
248
248
  {
249
249
  ref,
@@ -253,7 +253,7 @@ var AlertDescription = React36.forwardRef(({ className, ...props }, ref) => /* @
253
253
  ));
254
254
  AlertDescription.displayName = "AlertDescription";
255
255
  var buttonVariants = cva(
256
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-base font-medium 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 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
256
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-base font-medium 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 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
257
257
  {
258
258
  variants: {
259
259
  variant: {
@@ -277,14 +277,16 @@ var buttonVariants = cva(
277
277
  }
278
278
  }
279
279
  );
280
- var Button = React36.forwardRef(
281
- ({ className, variant, size, asChild = false, ...props }, ref) => {
280
+ var Button = React39.forwardRef(
281
+ ({ className, variant, size, asChild = false, disabled, ...props }, ref) => {
282
282
  const Comp = asChild ? Slot : "button";
283
283
  return /* @__PURE__ */ jsx(
284
284
  Comp,
285
285
  {
286
286
  className: cn(buttonVariants({ variant, size, className })),
287
287
  ref,
288
+ disabled: asChild ? void 0 : disabled,
289
+ "aria-disabled": disabled ? "true" : void 0,
288
290
  ...props
289
291
  }
290
292
  );
@@ -294,7 +296,7 @@ Button.displayName = "Button";
294
296
  var AlertDialog = AlertDialogPrimitive.Root;
295
297
  var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
296
298
  var AlertDialogPortal = AlertDialogPrimitive.Portal;
297
- var AlertDialogOverlay = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
299
+ var AlertDialogOverlay = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
298
300
  AlertDialogPrimitive.Overlay,
299
301
  {
300
302
  className: cn(
@@ -306,7 +308,7 @@ var AlertDialogOverlay = React36.forwardRef(({ className, ...props }, ref) => /*
306
308
  }
307
309
  ));
308
310
  AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
309
- var AlertDialogContent = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(AlertDialogPortal, { children: [
311
+ var AlertDialogContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(AlertDialogPortal, { children: [
310
312
  /* @__PURE__ */ jsx(AlertDialogOverlay, {}),
311
313
  /* @__PURE__ */ jsx(
312
314
  AlertDialogPrimitive.Content,
@@ -349,7 +351,7 @@ var AlertDialogFooter = ({
349
351
  }
350
352
  );
351
353
  AlertDialogFooter.displayName = "AlertDialogFooter";
352
- var AlertDialogTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
354
+ var AlertDialogTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
353
355
  AlertDialogPrimitive.Title,
354
356
  {
355
357
  ref,
@@ -358,7 +360,7 @@ var AlertDialogTitle = React36.forwardRef(({ className, ...props }, ref) => /* @
358
360
  }
359
361
  ));
360
362
  AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
361
- var AlertDialogDescription = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
363
+ var AlertDialogDescription = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
362
364
  AlertDialogPrimitive.Description,
363
365
  {
364
366
  ref,
@@ -367,7 +369,7 @@ var AlertDialogDescription = React36.forwardRef(({ className, ...props }, ref) =
367
369
  }
368
370
  ));
369
371
  AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
370
- var AlertDialogAction = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
372
+ var AlertDialogAction = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
371
373
  AlertDialogPrimitive.Action,
372
374
  {
373
375
  ref,
@@ -376,7 +378,7 @@ var AlertDialogAction = React36.forwardRef(({ className, ...props }, ref) => /*
376
378
  }
377
379
  ));
378
380
  AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
379
- var AlertDialogCancel = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
381
+ var AlertDialogCancel = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
380
382
  AlertDialogPrimitive.Cancel,
381
383
  {
382
384
  ref,
@@ -389,7 +391,7 @@ var AlertDialogCancel = React36.forwardRef(({ className, ...props }, ref) => /*
389
391
  }
390
392
  ));
391
393
  AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
392
- var AnimatedBackground = React36.forwardRef(
394
+ var AnimatedBackground = React39.forwardRef(
393
395
  ({ className, variant = "default", showOrbs = true, showGrid = false, children, ...props }, ref) => {
394
396
  const isDashboard = variant === "dashboard";
395
397
  return /* @__PURE__ */ jsxs(
@@ -447,7 +449,7 @@ var AnimatedBackground = React36.forwardRef(
447
449
  }
448
450
  );
449
451
  AnimatedBackground.displayName = "AnimatedBackground";
450
- var GradientOrb = React36.forwardRef(
452
+ var GradientOrb = React39.forwardRef(
451
453
  ({
452
454
  className,
453
455
  color = "blue",
@@ -502,7 +504,7 @@ var GradientOrb = React36.forwardRef(
502
504
  );
503
505
  GradientOrb.displayName = "GradientOrb";
504
506
  var AspectRatio = AspectRatioPrimitive.Root;
505
- var Avatar = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
507
+ var Avatar = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
506
508
  AvatarPrimitive.Root,
507
509
  {
508
510
  ref,
@@ -514,7 +516,7 @@ var Avatar = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
514
516
  }
515
517
  ));
516
518
  Avatar.displayName = AvatarPrimitive.Root.displayName;
517
- var AvatarImage = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
519
+ var AvatarImage = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
518
520
  AvatarPrimitive.Image,
519
521
  {
520
522
  ref,
@@ -523,7 +525,7 @@ var AvatarImage = React36.forwardRef(({ className, ...props }, ref) => /* @__PUR
523
525
  }
524
526
  ));
525
527
  AvatarImage.displayName = AvatarPrimitive.Image.displayName;
526
- var AvatarFallback = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
528
+ var AvatarFallback = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
527
529
  AvatarPrimitive.Fallback,
528
530
  {
529
531
  ref,
@@ -554,9 +556,9 @@ var badgeVariants = cva(
554
556
  function Badge({ className, variant, ...props }) {
555
557
  return /* @__PURE__ */ jsx("div", { className: cn(badgeVariants({ variant }), className), ...props });
556
558
  }
557
- var Breadcrumb = React36.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("nav", { ref, "aria-label": "breadcrumb", ...props }));
559
+ var Breadcrumb = React39.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("nav", { ref, "aria-label": "breadcrumb", ...props }));
558
560
  Breadcrumb.displayName = "Breadcrumb";
559
- var BreadcrumbList = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
561
+ var BreadcrumbList = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
560
562
  "ol",
561
563
  {
562
564
  ref,
@@ -568,7 +570,7 @@ var BreadcrumbList = React36.forwardRef(({ className, ...props }, ref) => /* @__
568
570
  }
569
571
  ));
570
572
  BreadcrumbList.displayName = "BreadcrumbList";
571
- var BreadcrumbItem = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
573
+ var BreadcrumbItem = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
572
574
  "li",
573
575
  {
574
576
  ref,
@@ -577,7 +579,7 @@ var BreadcrumbItem = React36.forwardRef(({ className, ...props }, ref) => /* @__
577
579
  }
578
580
  ));
579
581
  BreadcrumbItem.displayName = "BreadcrumbItem";
580
- var BreadcrumbLink = React36.forwardRef(({ asChild, className, ...props }, ref) => {
582
+ var BreadcrumbLink = React39.forwardRef(({ asChild, className, ...props }, ref) => {
581
583
  const Comp = asChild ? Slot : "a";
582
584
  return /* @__PURE__ */ jsx(
583
585
  Comp,
@@ -589,7 +591,7 @@ var BreadcrumbLink = React36.forwardRef(({ asChild, className, ...props }, ref)
589
591
  );
590
592
  });
591
593
  BreadcrumbLink.displayName = "BreadcrumbLink";
592
- var BreadcrumbPage = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
594
+ var BreadcrumbPage = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
593
595
  "span",
594
596
  {
595
597
  ref,
@@ -685,7 +687,7 @@ function Calendar({
685
687
  );
686
688
  }
687
689
  Calendar.displayName = "Calendar";
688
- var Card = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
690
+ var Card = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
689
691
  "div",
690
692
  {
691
693
  ref,
@@ -697,7 +699,7 @@ var Card = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
697
699
  }
698
700
  ));
699
701
  Card.displayName = "Card";
700
- var CardHeader = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
702
+ var CardHeader = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
701
703
  "div",
702
704
  {
703
705
  ref,
@@ -706,7 +708,7 @@ var CardHeader = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE
706
708
  }
707
709
  ));
708
710
  CardHeader.displayName = "CardHeader";
709
- var CardTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
711
+ var CardTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
710
712
  "h3",
711
713
  {
712
714
  ref,
@@ -718,7 +720,7 @@ var CardTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE_
718
720
  }
719
721
  ));
720
722
  CardTitle.displayName = "CardTitle";
721
- var CardDescription = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
723
+ var CardDescription = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
722
724
  "p",
723
725
  {
724
726
  ref,
@@ -727,9 +729,9 @@ var CardDescription = React36.forwardRef(({ className, ...props }, ref) => /* @_
727
729
  }
728
730
  ));
729
731
  CardDescription.displayName = "CardDescription";
730
- var CardContent = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("flex-1 p-6 pt-0", className), ...props }));
732
+ var CardContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("flex-1 p-6 pt-0", className), ...props }));
731
733
  CardContent.displayName = "CardContent";
732
- var CardFooter = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
734
+ var CardFooter = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
733
735
  "div",
734
736
  {
735
737
  ref,
@@ -738,15 +740,15 @@ var CardFooter = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE
738
740
  }
739
741
  ));
740
742
  CardFooter.displayName = "CardFooter";
741
- var CarouselContext = React36.createContext(null);
743
+ var CarouselContext = React39.createContext(null);
742
744
  function useCarousel() {
743
- const context = React36.useContext(CarouselContext);
745
+ const context = React39.useContext(CarouselContext);
744
746
  if (!context) {
745
747
  throw new Error("useCarousel must be used within a <Carousel />");
746
748
  }
747
749
  return context;
748
750
  }
749
- var Carousel = React36.forwardRef(
751
+ var Carousel = React39.forwardRef(
750
752
  ({
751
753
  orientation = "horizontal",
752
754
  opts,
@@ -763,22 +765,22 @@ var Carousel = React36.forwardRef(
763
765
  },
764
766
  plugins
765
767
  );
766
- const [canScrollPrev, setCanScrollPrev] = React36.useState(false);
767
- const [canScrollNext, setCanScrollNext] = React36.useState(false);
768
- const onSelect = React36.useCallback((api2) => {
768
+ const [canScrollPrev, setCanScrollPrev] = React39.useState(false);
769
+ const [canScrollNext, setCanScrollNext] = React39.useState(false);
770
+ const onSelect = React39.useCallback((api2) => {
769
771
  if (!api2) {
770
772
  return;
771
773
  }
772
774
  setCanScrollPrev(api2.canScrollPrev());
773
775
  setCanScrollNext(api2.canScrollNext());
774
776
  }, []);
775
- const scrollPrev = React36.useCallback(() => {
777
+ const scrollPrev = React39.useCallback(() => {
776
778
  api?.scrollPrev();
777
779
  }, [api]);
778
- const scrollNext = React36.useCallback(() => {
780
+ const scrollNext = React39.useCallback(() => {
779
781
  api?.scrollNext();
780
782
  }, [api]);
781
- const handleKeyDown = React36.useCallback(
783
+ const handleKeyDown = React39.useCallback(
782
784
  (event) => {
783
785
  if (event.key === "ArrowLeft") {
784
786
  event.preventDefault();
@@ -790,13 +792,13 @@ var Carousel = React36.forwardRef(
790
792
  },
791
793
  [scrollPrev, scrollNext]
792
794
  );
793
- React36.useEffect(() => {
795
+ React39.useEffect(() => {
794
796
  if (!api || !setApi) {
795
797
  return;
796
798
  }
797
799
  setApi(api);
798
800
  }, [api, setApi]);
799
- React36.useEffect(() => {
801
+ React39.useEffect(() => {
800
802
  if (!api) {
801
803
  return;
802
804
  }
@@ -837,7 +839,7 @@ var Carousel = React36.forwardRef(
837
839
  }
838
840
  );
839
841
  Carousel.displayName = "Carousel";
840
- var CarouselContent = React36.forwardRef(({ className, ...props }, ref) => {
842
+ var CarouselContent = React39.forwardRef(({ className, ...props }, ref) => {
841
843
  const { carouselRef, orientation } = useCarousel();
842
844
  return /* @__PURE__ */ jsx("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ jsx(
843
845
  "div",
@@ -853,7 +855,7 @@ var CarouselContent = React36.forwardRef(({ className, ...props }, ref) => {
853
855
  ) });
854
856
  });
855
857
  CarouselContent.displayName = "CarouselContent";
856
- var CarouselItem = React36.forwardRef(({ className, ...props }, ref) => {
858
+ var CarouselItem = React39.forwardRef(({ className, ...props }, ref) => {
857
859
  const { orientation } = useCarousel();
858
860
  return /* @__PURE__ */ jsx(
859
861
  "div",
@@ -871,7 +873,7 @@ var CarouselItem = React36.forwardRef(({ className, ...props }, ref) => {
871
873
  );
872
874
  });
873
875
  CarouselItem.displayName = "CarouselItem";
874
- var CarouselPrevious = React36.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
876
+ var CarouselPrevious = React39.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
875
877
  const { orientation, scrollPrev, canScrollPrev } = useCarousel();
876
878
  return /* @__PURE__ */ jsxs(
877
879
  Button,
@@ -895,7 +897,7 @@ var CarouselPrevious = React36.forwardRef(({ className, variant = "outline", siz
895
897
  );
896
898
  });
897
899
  CarouselPrevious.displayName = "CarouselPrevious";
898
- var CarouselNext = React36.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
900
+ var CarouselNext = React39.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
899
901
  const { orientation, scrollNext, canScrollNext } = useCarousel();
900
902
  return /* @__PURE__ */ jsxs(
901
903
  Button,
@@ -920,16 +922,16 @@ var CarouselNext = React36.forwardRef(({ className, variant = "outline", size =
920
922
  });
921
923
  CarouselNext.displayName = "CarouselNext";
922
924
  var THEMES = { light: "", dark: ".dark" };
923
- var ChartContext = React36.createContext(null);
925
+ var ChartContext = React39.createContext(null);
924
926
  function useChart() {
925
- const context = React36.useContext(ChartContext);
927
+ const context = React39.useContext(ChartContext);
926
928
  if (!context) {
927
929
  throw new Error("useChart must be used within a <ChartContainer />");
928
930
  }
929
931
  return context;
930
932
  }
931
- var ChartContainer = React36.forwardRef(({ id, className, children, config, ...props }, ref) => {
932
- const uniqueId = React36.useId();
933
+ var ChartContainer = React39.forwardRef(({ id, className, children, config, ...props }, ref) => {
934
+ const uniqueId = React39.useId();
933
935
  const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
934
936
  return /* @__PURE__ */ jsx(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ jsxs(
935
937
  "div",
@@ -975,7 +977,7 @@ ${colorConfig.map(([key, itemConfig]) => {
975
977
  );
976
978
  };
977
979
  var ChartTooltip = RechartsPrimitive.Tooltip;
978
- var ChartTooltipContent = React36.forwardRef(
980
+ var ChartTooltipContent = React39.forwardRef(
979
981
  ({
980
982
  active,
981
983
  payload,
@@ -992,7 +994,7 @@ var ChartTooltipContent = React36.forwardRef(
992
994
  labelKey
993
995
  }, ref) => {
994
996
  const { config } = useChart();
995
- const tooltipLabel = React36.useMemo(() => {
997
+ const tooltipLabel = React39.useMemo(() => {
996
998
  if (hideLabel || !payload?.length) {
997
999
  return null;
998
1000
  }
@@ -1088,7 +1090,7 @@ var ChartTooltipContent = React36.forwardRef(
1088
1090
  );
1089
1091
  ChartTooltipContent.displayName = "ChartTooltip";
1090
1092
  var ChartLegend = RechartsPrimitive.Legend;
1091
- var ChartLegendContent = React36.forwardRef(
1093
+ var ChartLegendContent = React39.forwardRef(
1092
1094
  ({ className, hideIcon = false, payload, verticalAlign = "bottom", nameKey }, ref) => {
1093
1095
  const { config } = useChart();
1094
1096
  if (!payload?.length) {
@@ -1146,7 +1148,7 @@ function getPayloadConfigFromPayload(config, payload, key) {
1146
1148
  }
1147
1149
  return configLabelKey in config ? config[configLabelKey] : config[key];
1148
1150
  }
1149
- var Checkbox = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1151
+ var Checkbox = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1150
1152
  CheckboxPrimitive.Root,
1151
1153
  {
1152
1154
  ref,
@@ -1172,7 +1174,7 @@ var Dialog = DialogPrimitive.Root;
1172
1174
  var DialogTrigger = DialogPrimitive.Trigger;
1173
1175
  var DialogPortal = DialogPrimitive.Portal;
1174
1176
  var DialogClose = DialogPrimitive.Close;
1175
- var DialogOverlay = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1177
+ var DialogOverlay = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1176
1178
  DialogPrimitive.Overlay,
1177
1179
  {
1178
1180
  ref,
@@ -1184,33 +1186,39 @@ var DialogOverlay = React36.forwardRef(({ className, ...props }, ref) => /* @__P
1184
1186
  }
1185
1187
  ));
1186
1188
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
1187
- var DialogContent = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DialogPortal, { children: [
1188
- /* @__PURE__ */ jsx(DialogOverlay, {}),
1189
- /* @__PURE__ */ jsxs(
1190
- DialogPrimitive.Content,
1191
- {
1192
- ref,
1193
- className: cn(
1194
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
1195
- className
1196
- ),
1197
- ...props,
1198
- children: [
1199
- children,
1200
- /* @__PURE__ */ jsxs(
1201
- DialogPrimitive.Close,
1202
- {
1203
- className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",
1204
- children: [
1205
- /* @__PURE__ */ jsx(X, { className: "h-4 w-4" }),
1206
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
1207
- ]
1208
- }
1209
- )
1210
- ]
1211
- }
1212
- )
1213
- ] }));
1189
+ var DialogContent = React39.forwardRef(({ className, children, onCloseComplete, onAnimationEnd, ...props }, ref) => {
1190
+ const handleAnimationEnd = React39.useCallback(
1191
+ (e) => {
1192
+ onAnimationEnd?.(e);
1193
+ if (e.currentTarget.getAttribute("data-state") === "closed") {
1194
+ onCloseComplete?.();
1195
+ }
1196
+ },
1197
+ [onAnimationEnd, onCloseComplete]
1198
+ );
1199
+ return /* @__PURE__ */ jsxs(DialogPortal, { children: [
1200
+ /* @__PURE__ */ jsx(DialogOverlay, {}),
1201
+ /* @__PURE__ */ jsxs(
1202
+ DialogPrimitive.Content,
1203
+ {
1204
+ ref,
1205
+ className: cn(
1206
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
1207
+ className
1208
+ ),
1209
+ onAnimationEnd: handleAnimationEnd,
1210
+ ...props,
1211
+ children: [
1212
+ children,
1213
+ /* @__PURE__ */ jsxs(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
1214
+ /* @__PURE__ */ jsx(X, { className: "h-4 w-4" }),
1215
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
1216
+ ] })
1217
+ ]
1218
+ }
1219
+ )
1220
+ ] });
1221
+ });
1214
1222
  DialogContent.displayName = DialogPrimitive.Content.displayName;
1215
1223
  var DialogHeader = ({
1216
1224
  className,
@@ -1240,7 +1248,7 @@ var DialogFooter = ({
1240
1248
  }
1241
1249
  );
1242
1250
  DialogFooter.displayName = "DialogFooter";
1243
- var DialogTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1251
+ var DialogTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1244
1252
  DialogPrimitive.Title,
1245
1253
  {
1246
1254
  ref,
@@ -1252,7 +1260,7 @@ var DialogTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PUR
1252
1260
  }
1253
1261
  ));
1254
1262
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
1255
- var DialogDescription = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1263
+ var DialogDescription = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1256
1264
  DialogPrimitive.Description,
1257
1265
  {
1258
1266
  ref,
@@ -1261,7 +1269,7 @@ var DialogDescription = React36.forwardRef(({ className, ...props }, ref) => /*
1261
1269
  }
1262
1270
  ));
1263
1271
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
1264
- var Command = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1272
+ var Command = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1265
1273
  Command$1,
1266
1274
  {
1267
1275
  ref,
@@ -1282,7 +1290,7 @@ var CommandDialog = ({ children, ...props }) => {
1282
1290
  }
1283
1291
  ) }) });
1284
1292
  };
1285
- var CommandInput = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
1293
+ var CommandInput = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
1286
1294
  /* @__PURE__ */ jsx(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
1287
1295
  /* @__PURE__ */ jsx(
1288
1296
  Command$1.Input,
@@ -1297,7 +1305,7 @@ var CommandInput = React36.forwardRef(({ className, ...props }, ref) => /* @__PU
1297
1305
  )
1298
1306
  ] }));
1299
1307
  CommandInput.displayName = Command$1.Input.displayName;
1300
- var CommandList = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1308
+ var CommandList = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1301
1309
  Command$1.List,
1302
1310
  {
1303
1311
  ref,
@@ -1306,7 +1314,7 @@ var CommandList = React36.forwardRef(({ className, ...props }, ref) => /* @__PUR
1306
1314
  }
1307
1315
  ));
1308
1316
  CommandList.displayName = Command$1.List.displayName;
1309
- var CommandEmpty = React36.forwardRef((props, ref) => /* @__PURE__ */ jsx(
1317
+ var CommandEmpty = React39.forwardRef((props, ref) => /* @__PURE__ */ jsx(
1310
1318
  Command$1.Empty,
1311
1319
  {
1312
1320
  ref,
@@ -1315,7 +1323,7 @@ var CommandEmpty = React36.forwardRef((props, ref) => /* @__PURE__ */ jsx(
1315
1323
  }
1316
1324
  ));
1317
1325
  CommandEmpty.displayName = Command$1.Empty.displayName;
1318
- var CommandGroup = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1326
+ var CommandGroup = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1319
1327
  Command$1.Group,
1320
1328
  {
1321
1329
  ref,
@@ -1327,7 +1335,7 @@ var CommandGroup = React36.forwardRef(({ className, ...props }, ref) => /* @__PU
1327
1335
  }
1328
1336
  ));
1329
1337
  CommandGroup.displayName = Command$1.Group.displayName;
1330
- var CommandSeparator = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1338
+ var CommandSeparator = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1331
1339
  Command$1.Separator,
1332
1340
  {
1333
1341
  ref,
@@ -1336,7 +1344,7 @@ var CommandSeparator = React36.forwardRef(({ className, ...props }, ref) => /* @
1336
1344
  }
1337
1345
  ));
1338
1346
  CommandSeparator.displayName = Command$1.Separator.displayName;
1339
- var CommandItem = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1347
+ var CommandItem = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1340
1348
  Command$1.Item,
1341
1349
  {
1342
1350
  ref,
@@ -1370,7 +1378,7 @@ var ContextMenuGroup = ContextMenuPrimitive.Group;
1370
1378
  var ContextMenuPortal = ContextMenuPrimitive.Portal;
1371
1379
  var ContextMenuSub = ContextMenuPrimitive.Sub;
1372
1380
  var ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;
1373
- var ContextMenuSubTrigger = React36.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1381
+ var ContextMenuSubTrigger = React39.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1374
1382
  ContextMenuPrimitive.SubTrigger,
1375
1383
  {
1376
1384
  ref,
@@ -1387,7 +1395,7 @@ var ContextMenuSubTrigger = React36.forwardRef(({ className, inset, children, ..
1387
1395
  }
1388
1396
  ));
1389
1397
  ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;
1390
- var ContextMenuSubContent = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1398
+ var ContextMenuSubContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1391
1399
  ContextMenuPrimitive.SubContent,
1392
1400
  {
1393
1401
  ref,
@@ -1399,7 +1407,7 @@ var ContextMenuSubContent = React36.forwardRef(({ className, ...props }, ref) =>
1399
1407
  }
1400
1408
  ));
1401
1409
  ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;
1402
- var ContextMenuContent = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
1410
+ var ContextMenuContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
1403
1411
  ContextMenuPrimitive.Content,
1404
1412
  {
1405
1413
  ref,
@@ -1411,7 +1419,7 @@ var ContextMenuContent = React36.forwardRef(({ className, ...props }, ref) => /*
1411
1419
  }
1412
1420
  ) }));
1413
1421
  ContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;
1414
- var ContextMenuItem = React36.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1422
+ var ContextMenuItem = React39.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1415
1423
  ContextMenuPrimitive.Item,
1416
1424
  {
1417
1425
  ref,
@@ -1424,7 +1432,7 @@ var ContextMenuItem = React36.forwardRef(({ className, inset, ...props }, ref) =
1424
1432
  }
1425
1433
  ));
1426
1434
  ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;
1427
- var ContextMenuCheckboxItem = React36.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
1435
+ var ContextMenuCheckboxItem = React39.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
1428
1436
  ContextMenuPrimitive.CheckboxItem,
1429
1437
  {
1430
1438
  ref,
@@ -1441,7 +1449,7 @@ var ContextMenuCheckboxItem = React36.forwardRef(({ className, children, checked
1441
1449
  }
1442
1450
  ));
1443
1451
  ContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;
1444
- var ContextMenuRadioItem = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1452
+ var ContextMenuRadioItem = React39.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1445
1453
  ContextMenuPrimitive.RadioItem,
1446
1454
  {
1447
1455
  ref,
@@ -1457,7 +1465,7 @@ var ContextMenuRadioItem = React36.forwardRef(({ className, children, ...props }
1457
1465
  }
1458
1466
  ));
1459
1467
  ContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;
1460
- var ContextMenuLabel = React36.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1468
+ var ContextMenuLabel = React39.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1461
1469
  ContextMenuPrimitive.Label,
1462
1470
  {
1463
1471
  ref,
@@ -1470,7 +1478,7 @@ var ContextMenuLabel = React36.forwardRef(({ className, inset, ...props }, ref)
1470
1478
  }
1471
1479
  ));
1472
1480
  ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;
1473
- var ContextMenuSeparator = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1481
+ var ContextMenuSeparator = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1474
1482
  ContextMenuPrimitive.Separator,
1475
1483
  {
1476
1484
  ref,
@@ -1509,7 +1517,7 @@ Drawer.displayName = "Drawer";
1509
1517
  var DrawerTrigger = Drawer$1.Trigger;
1510
1518
  var DrawerPortal = Drawer$1.Portal;
1511
1519
  var DrawerClose = Drawer$1.Close;
1512
- var DrawerOverlay = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1520
+ var DrawerOverlay = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1513
1521
  Drawer$1.Overlay,
1514
1522
  {
1515
1523
  ref,
@@ -1518,7 +1526,7 @@ var DrawerOverlay = React36.forwardRef(({ className, ...props }, ref) => /* @__P
1518
1526
  }
1519
1527
  ));
1520
1528
  DrawerOverlay.displayName = Drawer$1.Overlay.displayName;
1521
- var DrawerContent = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DrawerPortal, { children: [
1529
+ var DrawerContent = React39.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DrawerPortal, { children: [
1522
1530
  /* @__PURE__ */ jsx(DrawerOverlay, {}),
1523
1531
  /* @__PURE__ */ jsxs(
1524
1532
  Drawer$1.Content,
@@ -1559,7 +1567,7 @@ var DrawerFooter = ({
1559
1567
  }
1560
1568
  );
1561
1569
  DrawerFooter.displayName = "DrawerFooter";
1562
- var DrawerTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1570
+ var DrawerTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1563
1571
  Drawer$1.Title,
1564
1572
  {
1565
1573
  ref,
@@ -1571,7 +1579,7 @@ var DrawerTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PUR
1571
1579
  }
1572
1580
  ));
1573
1581
  DrawerTitle.displayName = Drawer$1.Title.displayName;
1574
- var DrawerDescription = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1582
+ var DrawerDescription = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1575
1583
  Drawer$1.Description,
1576
1584
  {
1577
1585
  ref,
@@ -1586,7 +1594,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive.Group;
1586
1594
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
1587
1595
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
1588
1596
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
1589
- var DropdownMenuSubTrigger = React36.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1597
+ var DropdownMenuSubTrigger = React39.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1590
1598
  DropdownMenuPrimitive.SubTrigger,
1591
1599
  {
1592
1600
  ref,
@@ -1603,7 +1611,7 @@ var DropdownMenuSubTrigger = React36.forwardRef(({ className, inset, children, .
1603
1611
  }
1604
1612
  ));
1605
1613
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
1606
- var DropdownMenuSubContent = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1614
+ var DropdownMenuSubContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1607
1615
  DropdownMenuPrimitive.SubContent,
1608
1616
  {
1609
1617
  ref,
@@ -1615,7 +1623,7 @@ var DropdownMenuSubContent = React36.forwardRef(({ className, ...props }, ref) =
1615
1623
  }
1616
1624
  ));
1617
1625
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
1618
- var DropdownMenuContent = React36.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
1626
+ var DropdownMenuContent = React39.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
1619
1627
  DropdownMenuPrimitive.Content,
1620
1628
  {
1621
1629
  ref,
@@ -1628,7 +1636,7 @@ var DropdownMenuContent = React36.forwardRef(({ className, sideOffset = 4, ...pr
1628
1636
  }
1629
1637
  ) }));
1630
1638
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
1631
- var DropdownMenuItem = React36.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1639
+ var DropdownMenuItem = React39.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1632
1640
  DropdownMenuPrimitive.Item,
1633
1641
  {
1634
1642
  ref,
@@ -1641,7 +1649,7 @@ var DropdownMenuItem = React36.forwardRef(({ className, inset, ...props }, ref)
1641
1649
  }
1642
1650
  ));
1643
1651
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
1644
- var DropdownMenuCheckboxItem = React36.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
1652
+ var DropdownMenuCheckboxItem = React39.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
1645
1653
  DropdownMenuPrimitive.CheckboxItem,
1646
1654
  {
1647
1655
  ref,
@@ -1658,7 +1666,7 @@ var DropdownMenuCheckboxItem = React36.forwardRef(({ className, children, checke
1658
1666
  }
1659
1667
  ));
1660
1668
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
1661
- var DropdownMenuRadioItem = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1669
+ var DropdownMenuRadioItem = React39.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1662
1670
  DropdownMenuPrimitive.RadioItem,
1663
1671
  {
1664
1672
  ref,
@@ -1674,7 +1682,7 @@ var DropdownMenuRadioItem = React36.forwardRef(({ className, children, ...props
1674
1682
  }
1675
1683
  ));
1676
1684
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
1677
- var DropdownMenuLabel = React36.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1685
+ var DropdownMenuLabel = React39.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1678
1686
  DropdownMenuPrimitive.Label,
1679
1687
  {
1680
1688
  ref,
@@ -1687,7 +1695,7 @@ var DropdownMenuLabel = React36.forwardRef(({ className, inset, ...props }, ref)
1687
1695
  }
1688
1696
  ));
1689
1697
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
1690
- var DropdownMenuSeparator = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1698
+ var DropdownMenuSeparator = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1691
1699
  DropdownMenuPrimitive.Separator,
1692
1700
  {
1693
1701
  ref,
@@ -1712,7 +1720,7 @@ DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
1712
1720
  var labelVariants = cva(
1713
1721
  "text-base font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
1714
1722
  );
1715
- var Label3 = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1723
+ var Label3 = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1716
1724
  LabelPrimitive.Root,
1717
1725
  {
1718
1726
  ref,
@@ -1722,7 +1730,7 @@ var Label3 = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
1722
1730
  ));
1723
1731
  Label3.displayName = LabelPrimitive.Root.displayName;
1724
1732
  var Form = FormProvider;
1725
- var FormFieldContext = React36.createContext(
1733
+ var FormFieldContext = React39.createContext(
1726
1734
  {}
1727
1735
  );
1728
1736
  var FormField = ({
@@ -1731,8 +1739,8 @@ var FormField = ({
1731
1739
  return /* @__PURE__ */ jsx(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx(Controller, { ...props }) });
1732
1740
  };
1733
1741
  var useFormField = () => {
1734
- const fieldContext = React36.useContext(FormFieldContext);
1735
- const itemContext = React36.useContext(FormItemContext);
1742
+ const fieldContext = React39.useContext(FormFieldContext);
1743
+ const itemContext = React39.useContext(FormItemContext);
1736
1744
  const { getFieldState, formState } = useFormContext();
1737
1745
  const fieldState = getFieldState(fieldContext.name, formState);
1738
1746
  if (!fieldContext) {
@@ -1748,15 +1756,15 @@ var useFormField = () => {
1748
1756
  ...fieldState
1749
1757
  };
1750
1758
  };
1751
- var FormItemContext = React36.createContext(
1759
+ var FormItemContext = React39.createContext(
1752
1760
  {}
1753
1761
  );
1754
- var FormItem = React36.forwardRef(({ className, ...props }, ref) => {
1755
- const id = React36.useId();
1762
+ var FormItem = React39.forwardRef(({ className, ...props }, ref) => {
1763
+ const id = React39.useId();
1756
1764
  return /* @__PURE__ */ jsx(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx("div", { ref, className: cn("space-y-2", className), ...props }) });
1757
1765
  });
1758
1766
  FormItem.displayName = "FormItem";
1759
- var FormLabel = React36.forwardRef(({ className, ...props }, ref) => {
1767
+ var FormLabel = React39.forwardRef(({ className, ...props }, ref) => {
1760
1768
  const { error, formItemId } = useFormField();
1761
1769
  return /* @__PURE__ */ jsx(
1762
1770
  Label3,
@@ -1769,7 +1777,7 @@ var FormLabel = React36.forwardRef(({ className, ...props }, ref) => {
1769
1777
  );
1770
1778
  });
1771
1779
  FormLabel.displayName = "FormLabel";
1772
- var FormControl = React36.forwardRef(({ ...props }, ref) => {
1780
+ var FormControl = React39.forwardRef(({ ...props }, ref) => {
1773
1781
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
1774
1782
  return /* @__PURE__ */ jsx(
1775
1783
  Slot,
@@ -1783,7 +1791,7 @@ var FormControl = React36.forwardRef(({ ...props }, ref) => {
1783
1791
  );
1784
1792
  });
1785
1793
  FormControl.displayName = "FormControl";
1786
- var FormDescription = React36.forwardRef(({ className, ...props }, ref) => {
1794
+ var FormDescription = React39.forwardRef(({ className, ...props }, ref) => {
1787
1795
  const { formDescriptionId } = useFormField();
1788
1796
  return /* @__PURE__ */ jsx(
1789
1797
  "p",
@@ -1796,7 +1804,7 @@ var FormDescription = React36.forwardRef(({ className, ...props }, ref) => {
1796
1804
  );
1797
1805
  });
1798
1806
  FormDescription.displayName = "FormDescription";
1799
- var FormMessage = React36.forwardRef(({ className, children, ...props }, ref) => {
1807
+ var FormMessage = React39.forwardRef(({ className, children, ...props }, ref) => {
1800
1808
  const { error, formMessageId } = useFormField();
1801
1809
  const body = error ? String(error?.message) : children;
1802
1810
  if (!body) {
@@ -1815,31 +1823,31 @@ var FormMessage = React36.forwardRef(({ className, children, ...props }, ref) =>
1815
1823
  });
1816
1824
  FormMessage.displayName = "FormMessage";
1817
1825
  var glassCardVariants = cva(
1818
- "rounded-2xl border backdrop-blur-xl transition-all duration-300",
1826
+ "rounded-2xl border backdrop-blur-glass transition-all duration-300",
1819
1827
  {
1820
1828
  variants: {
1821
1829
  variant: {
1822
1830
  default: [
1823
- "bg-white/70 border-gray-200/50 shadow-sm",
1824
- "dark:bg-white/5 dark:border-white/10 dark:shadow-lg"
1831
+ "bg-glass border-glass-border shadow-glass"
1825
1832
  ],
1826
1833
  elevated: [
1827
- "bg-white/80 border-gray-200/50 shadow-lg",
1828
- "dark:bg-white/5 dark:border-white/10 dark:shadow-[0_8px_32px_rgba(0,0,0,0.3)]"
1834
+ "bg-glass-elevated border-glass-border shadow-glass-elevated"
1835
+ ],
1836
+ subtle: [
1837
+ "bg-glass-subtle border-glass-border-subtle"
1829
1838
  ],
1830
1839
  interactive: [
1831
- "bg-white/70 border-gray-200/50 shadow-sm cursor-pointer",
1832
- "hover:bg-white/90 hover:border-gray-300/60 hover:shadow-md hover:-translate-y-0.5",
1833
- "dark:bg-white/5 dark:border-white/10 dark:shadow-lg",
1834
- "dark:hover:bg-white/10 dark:hover:border-white/20 dark:hover:shadow-[0_8px_32px_rgba(139,92,246,0.15)]"
1840
+ "bg-glass border-glass-border shadow-glass cursor-pointer",
1841
+ "hover:bg-glass-elevated hover:shadow-glass-elevated hover:-translate-y-0.5"
1835
1842
  ],
1836
1843
  hero: [
1837
- "bg-gradient-to-br from-white/80 via-white/70 to-purple-50/50 border-gray-200/50 shadow-lg",
1838
- "dark:from-white/10 dark:via-white/5 dark:to-purple-900/10 dark:border-white/10"
1844
+ "bg-gradient-to-br from-glass-elevated via-glass to-primary/5 border-glass-border shadow-glass-elevated"
1839
1845
  ],
1840
1846
  stat: [
1841
- "bg-white/60 border-gray-200/40 shadow-sm",
1842
- "dark:bg-white/[0.03] dark:border-white/[0.08]"
1847
+ "bg-glass-subtle border-glass-border-subtle"
1848
+ ],
1849
+ auth: [
1850
+ "bg-glass border-glass-border shadow-glass-elevated backdrop-blur-glass-strong"
1843
1851
  ]
1844
1852
  },
1845
1853
  padding: {
@@ -1855,7 +1863,7 @@ var glassCardVariants = cva(
1855
1863
  }
1856
1864
  }
1857
1865
  );
1858
- var GlassCard = React36.forwardRef(
1866
+ var GlassCard = React39.forwardRef(
1859
1867
  ({ className, variant, padding, ...props }, ref) => /* @__PURE__ */ jsx(
1860
1868
  "div",
1861
1869
  {
@@ -1866,7 +1874,7 @@ var GlassCard = React36.forwardRef(
1866
1874
  )
1867
1875
  );
1868
1876
  GlassCard.displayName = "GlassCard";
1869
- var GlassCardHeader = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1877
+ var GlassCardHeader = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1870
1878
  "div",
1871
1879
  {
1872
1880
  ref,
@@ -1875,30 +1883,30 @@ var GlassCardHeader = React36.forwardRef(({ className, ...props }, ref) => /* @_
1875
1883
  }
1876
1884
  ));
1877
1885
  GlassCardHeader.displayName = "GlassCardHeader";
1878
- var GlassCardTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1886
+ var GlassCardTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1879
1887
  "h3",
1880
1888
  {
1881
1889
  ref,
1882
1890
  className: cn(
1883
- "text-lg font-semibold leading-none tracking-tight",
1891
+ "text-lg font-semibold leading-none tracking-tight text-glass-foreground",
1884
1892
  className
1885
1893
  ),
1886
1894
  ...props
1887
1895
  }
1888
1896
  ));
1889
1897
  GlassCardTitle.displayName = "GlassCardTitle";
1890
- var GlassCardDescription = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1898
+ var GlassCardDescription = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1891
1899
  "p",
1892
1900
  {
1893
1901
  ref,
1894
- className: cn("text-sm text-muted-foreground", className),
1902
+ className: cn("text-sm text-glass-foreground-muted", className),
1895
1903
  ...props
1896
1904
  }
1897
1905
  ));
1898
1906
  GlassCardDescription.displayName = "GlassCardDescription";
1899
- var GlassCardContent = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
1907
+ var GlassCardContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
1900
1908
  GlassCardContent.displayName = "GlassCardContent";
1901
- var GlassCardFooter = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1909
+ var GlassCardFooter = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1902
1910
  "div",
1903
1911
  {
1904
1912
  ref,
@@ -1907,9 +1915,162 @@ var GlassCardFooter = React36.forwardRef(({ className, ...props }, ref) => /* @_
1907
1915
  }
1908
1916
  ));
1909
1917
  GlassCardFooter.displayName = "GlassCardFooter";
1918
+ var glassHeaderVariants = cva(
1919
+ "rounded-2xl border border-glass-border backdrop-blur-glass shadow-glass transition-all duration-300",
1920
+ {
1921
+ variants: {
1922
+ variant: {
1923
+ default: "bg-glass",
1924
+ elevated: "bg-glass-elevated shadow-glass-elevated",
1925
+ transparent: "bg-transparent border-transparent shadow-none"
1926
+ },
1927
+ sticky: {
1928
+ true: "sticky top-0 z-50",
1929
+ false: ""
1930
+ },
1931
+ padding: {
1932
+ none: "",
1933
+ sm: "px-4 py-2",
1934
+ default: "px-4 py-3",
1935
+ lg: "px-6 py-4"
1936
+ }
1937
+ },
1938
+ defaultVariants: {
1939
+ variant: "default",
1940
+ sticky: false,
1941
+ padding: "default"
1942
+ }
1943
+ }
1944
+ );
1945
+ var GlassHeader = React39.forwardRef(
1946
+ ({ className, variant, sticky, padding, as: Component = "header", ...props }, ref) => {
1947
+ return /* @__PURE__ */ jsx(
1948
+ Component,
1949
+ {
1950
+ ref,
1951
+ className: cn(glassHeaderVariants({ variant, sticky, padding, className })),
1952
+ ...props
1953
+ }
1954
+ );
1955
+ }
1956
+ );
1957
+ GlassHeader.displayName = "GlassHeader";
1958
+ var glassOverlayVariants = cva(
1959
+ "fixed inset-0 transition-all duration-300",
1960
+ {
1961
+ variants: {
1962
+ variant: {
1963
+ subtle: "bg-black/20",
1964
+ default: "bg-black/40",
1965
+ dark: "bg-black/60",
1966
+ light: "bg-white/40"
1967
+ },
1968
+ blur: {
1969
+ none: "",
1970
+ sm: "backdrop-blur-sm",
1971
+ default: "backdrop-blur-glass",
1972
+ strong: "backdrop-blur-glass-strong"
1973
+ }
1974
+ },
1975
+ defaultVariants: {
1976
+ variant: "default",
1977
+ blur: "default"
1978
+ }
1979
+ }
1980
+ );
1981
+ var GlassOverlay = React39.forwardRef(
1982
+ ({ className, variant, blur, open = true, onClose, ...props }, ref) => {
1983
+ if (!open) return null;
1984
+ return /* @__PURE__ */ jsx(
1985
+ "div",
1986
+ {
1987
+ ref,
1988
+ role: "presentation",
1989
+ "aria-hidden": "true",
1990
+ onClick: onClose,
1991
+ className: cn(glassOverlayVariants({ variant, blur, className })),
1992
+ ...props
1993
+ }
1994
+ );
1995
+ }
1996
+ );
1997
+ GlassOverlay.displayName = "GlassOverlay";
1998
+ var glassTabsContainerVariants = cva(
1999
+ "flex gap-1 rounded-lg bg-glass-subtle p-1 backdrop-blur-glass",
2000
+ {
2001
+ variants: {
2002
+ size: {
2003
+ sm: "p-0.5",
2004
+ default: "p-1",
2005
+ lg: "p-1.5"
2006
+ }
2007
+ },
2008
+ defaultVariants: {
2009
+ size: "default"
2010
+ }
2011
+ }
2012
+ );
2013
+ var glassTabVariants = cva(
2014
+ "flex items-center justify-center rounded-md font-medium transition-all",
2015
+ {
2016
+ variants: {
2017
+ size: {
2018
+ sm: "px-3 py-1.5 text-xs",
2019
+ default: "px-4 py-2.5 text-sm",
2020
+ lg: "px-5 py-3 text-base"
2021
+ },
2022
+ state: {
2023
+ active: "bg-glass text-glass-foreground shadow-sm",
2024
+ inactive: "text-glass-foreground-muted hover:text-glass-foreground"
2025
+ }
2026
+ },
2027
+ defaultVariants: {
2028
+ size: "default",
2029
+ state: "inactive"
2030
+ }
2031
+ }
2032
+ );
2033
+ var GlassTabs = React39.forwardRef(
2034
+ ({ className, tabs, activeTab, onTabChange, size, ...props }, ref) => {
2035
+ return /* @__PURE__ */ jsx(
2036
+ "div",
2037
+ {
2038
+ ref,
2039
+ role: "tablist",
2040
+ className: cn(glassTabsContainerVariants({ size, className })),
2041
+ ...props,
2042
+ children: tabs.map((tab) => /* @__PURE__ */ jsxs(
2043
+ "button",
2044
+ {
2045
+ role: "tab",
2046
+ type: "button",
2047
+ "aria-selected": activeTab === tab.id,
2048
+ "aria-disabled": tab.disabled,
2049
+ disabled: tab.disabled,
2050
+ onClick: () => !tab.disabled && onTabChange(tab.id),
2051
+ className: cn(
2052
+ glassTabVariants({
2053
+ size,
2054
+ state: activeTab === tab.id ? "active" : "inactive"
2055
+ }),
2056
+ "flex-1",
2057
+ tab.disabled && "cursor-not-allowed opacity-50"
2058
+ ),
2059
+ children: [
2060
+ tab.icon && /* @__PURE__ */ jsx("span", { className: "mr-2", children: tab.icon }),
2061
+ tab.label
2062
+ ]
2063
+ },
2064
+ tab.id
2065
+ ))
2066
+ }
2067
+ );
2068
+ }
2069
+ );
2070
+ GlassTabs.displayName = "GlassTabs";
1910
2071
  var HoverCard = HoverCardPrimitive.Root;
1911
2072
  var HoverCardTrigger = HoverCardPrimitive.Trigger;
1912
- var HoverCardContent = React36.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(
2073
+ var HoverCardContent = React39.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(
1913
2074
  HoverCardPrimitive.Content,
1914
2075
  {
1915
2076
  ref,
@@ -1923,16 +2084,35 @@ var HoverCardContent = React36.forwardRef(({ className, align = "center", sideOf
1923
2084
  }
1924
2085
  ));
1925
2086
  HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;
1926
- var Input = React36.forwardRef(
1927
- ({ className, type, ...props }, ref) => {
2087
+ var inputVariants = cva(
2088
+ "flex h-10 w-full rounded-md px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-base file:font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
2089
+ {
2090
+ variants: {
2091
+ variant: {
2092
+ default: [
2093
+ "border border-input bg-background text-foreground",
2094
+ "file:text-foreground placeholder:text-muted-foreground",
2095
+ "focus-visible:ring-ring"
2096
+ ],
2097
+ glass: [
2098
+ "border border-white/10 bg-white/5 text-white",
2099
+ "placeholder:text-slate-500 focus:border-primary",
2100
+ "focus-visible:ring-0 focus-visible:ring-offset-0"
2101
+ ]
2102
+ }
2103
+ },
2104
+ defaultVariants: {
2105
+ variant: "default"
2106
+ }
2107
+ }
2108
+ );
2109
+ var Input = React39.forwardRef(
2110
+ ({ className, type, variant, ...props }, ref) => {
1928
2111
  return /* @__PURE__ */ jsx(
1929
2112
  "input",
1930
2113
  {
1931
2114
  type,
1932
- className: cn(
1933
- "flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-base file:font-medium file:text-foreground 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",
1934
- className
1935
- ),
2115
+ className: cn(inputVariants({ variant, className })),
1936
2116
  ref,
1937
2117
  ...props
1938
2118
  }
@@ -1940,7 +2120,7 @@ var Input = React36.forwardRef(
1940
2120
  }
1941
2121
  );
1942
2122
  Input.displayName = "Input";
1943
- var InputOTP = React36.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx(
2123
+ var InputOTP = React39.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx(
1944
2124
  OTPInput,
1945
2125
  {
1946
2126
  ref,
@@ -1953,10 +2133,10 @@ var InputOTP = React36.forwardRef(({ className, containerClassName, ...props },
1953
2133
  }
1954
2134
  ));
1955
2135
  InputOTP.displayName = "InputOTP";
1956
- var InputOTPGroup = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("flex items-center", className), ...props }));
2136
+ var InputOTPGroup = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("flex items-center", className), ...props }));
1957
2137
  InputOTPGroup.displayName = "InputOTPGroup";
1958
- var InputOTPSlot = React36.forwardRef(({ index, className, ...props }, ref) => {
1959
- const inputOTPContext = React36.useContext(OTPInputContext);
2138
+ var InputOTPSlot = React39.forwardRef(({ index, className, ...props }, ref) => {
2139
+ const inputOTPContext = React39.useContext(OTPInputContext);
1960
2140
  const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
1961
2141
  return /* @__PURE__ */ jsxs(
1962
2142
  "div",
@@ -1976,7 +2156,7 @@ var InputOTPSlot = React36.forwardRef(({ index, className, ...props }, ref) => {
1976
2156
  );
1977
2157
  });
1978
2158
  InputOTPSlot.displayName = "InputOTPSlot";
1979
- var InputOTPSeparator = React36.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx(Dot, {}) }));
2159
+ var InputOTPSeparator = React39.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx(Dot, {}) }));
1980
2160
  InputOTPSeparator.displayName = "InputOTPSeparator";
1981
2161
  var sizes = {
1982
2162
  sm: { height: 24 },
@@ -2011,7 +2191,7 @@ var MenubarGroup = MenubarPrimitive.Group;
2011
2191
  var MenubarPortal = MenubarPrimitive.Portal;
2012
2192
  var MenubarSub = MenubarPrimitive.Sub;
2013
2193
  var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
2014
- var Menubar = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2194
+ var Menubar = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2015
2195
  MenubarPrimitive.Root,
2016
2196
  {
2017
2197
  ref,
@@ -2023,7 +2203,7 @@ var Menubar = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__
2023
2203
  }
2024
2204
  ));
2025
2205
  Menubar.displayName = MenubarPrimitive.Root.displayName;
2026
- var MenubarTrigger = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2206
+ var MenubarTrigger = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2027
2207
  MenubarPrimitive.Trigger,
2028
2208
  {
2029
2209
  ref,
@@ -2035,7 +2215,7 @@ var MenubarTrigger = React36.forwardRef(({ className, ...props }, ref) => /* @__
2035
2215
  }
2036
2216
  ));
2037
2217
  MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
2038
- var MenubarSubTrigger = React36.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2218
+ var MenubarSubTrigger = React39.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2039
2219
  MenubarPrimitive.SubTrigger,
2040
2220
  {
2041
2221
  ref,
@@ -2052,7 +2232,7 @@ var MenubarSubTrigger = React36.forwardRef(({ className, inset, children, ...pro
2052
2232
  }
2053
2233
  ));
2054
2234
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
2055
- var MenubarSubContent = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2235
+ var MenubarSubContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2056
2236
  MenubarPrimitive.SubContent,
2057
2237
  {
2058
2238
  ref,
@@ -2064,7 +2244,7 @@ var MenubarSubContent = React36.forwardRef(({ className, ...props }, ref) => /*
2064
2244
  }
2065
2245
  ));
2066
2246
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
2067
- var MenubarContent = React36.forwardRef(
2247
+ var MenubarContent = React39.forwardRef(
2068
2248
  ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ jsx(MenubarPrimitive.Portal, { children: /* @__PURE__ */ jsx(
2069
2249
  MenubarPrimitive.Content,
2070
2250
  {
@@ -2081,7 +2261,7 @@ var MenubarContent = React36.forwardRef(
2081
2261
  ) })
2082
2262
  );
2083
2263
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
2084
- var MenubarItem = React36.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2264
+ var MenubarItem = React39.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2085
2265
  MenubarPrimitive.Item,
2086
2266
  {
2087
2267
  ref,
@@ -2094,7 +2274,7 @@ var MenubarItem = React36.forwardRef(({ className, inset, ...props }, ref) => /*
2094
2274
  }
2095
2275
  ));
2096
2276
  MenubarItem.displayName = MenubarPrimitive.Item.displayName;
2097
- var MenubarCheckboxItem = React36.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
2277
+ var MenubarCheckboxItem = React39.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
2098
2278
  MenubarPrimitive.CheckboxItem,
2099
2279
  {
2100
2280
  ref,
@@ -2111,7 +2291,7 @@ var MenubarCheckboxItem = React36.forwardRef(({ className, children, checked, ..
2111
2291
  }
2112
2292
  ));
2113
2293
  MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
2114
- var MenubarRadioItem = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2294
+ var MenubarRadioItem = React39.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2115
2295
  MenubarPrimitive.RadioItem,
2116
2296
  {
2117
2297
  ref,
@@ -2127,7 +2307,7 @@ var MenubarRadioItem = React36.forwardRef(({ className, children, ...props }, re
2127
2307
  }
2128
2308
  ));
2129
2309
  MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
2130
- var MenubarLabel = React36.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2310
+ var MenubarLabel = React39.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2131
2311
  MenubarPrimitive.Label,
2132
2312
  {
2133
2313
  ref,
@@ -2140,7 +2320,7 @@ var MenubarLabel = React36.forwardRef(({ className, inset, ...props }, ref) => /
2140
2320
  }
2141
2321
  ));
2142
2322
  MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
2143
- var MenubarSeparator = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2323
+ var MenubarSeparator = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2144
2324
  MenubarPrimitive.Separator,
2145
2325
  {
2146
2326
  ref,
@@ -2165,7 +2345,7 @@ var MenubarShortcut = ({
2165
2345
  );
2166
2346
  };
2167
2347
  MenubarShortcut.displayname = "MenubarShortcut";
2168
- var NavigationMenu = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2348
+ var NavigationMenu = React39.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2169
2349
  NavigationMenuPrimitive.Root,
2170
2350
  {
2171
2351
  ref,
@@ -2181,7 +2361,7 @@ var NavigationMenu = React36.forwardRef(({ className, children, ...props }, ref)
2181
2361
  }
2182
2362
  ));
2183
2363
  NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
2184
- var NavigationMenuList = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2364
+ var NavigationMenuList = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2185
2365
  NavigationMenuPrimitive.List,
2186
2366
  {
2187
2367
  ref,
@@ -2197,7 +2377,7 @@ var NavigationMenuItem = NavigationMenuPrimitive.Item;
2197
2377
  var navigationMenuTriggerStyle = cva(
2198
2378
  "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-base 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"
2199
2379
  );
2200
- var NavigationMenuTrigger = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2380
+ var NavigationMenuTrigger = React39.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2201
2381
  NavigationMenuPrimitive.Trigger,
2202
2382
  {
2203
2383
  ref,
@@ -2217,7 +2397,7 @@ var NavigationMenuTrigger = React36.forwardRef(({ className, children, ...props
2217
2397
  }
2218
2398
  ));
2219
2399
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
2220
- var NavigationMenuContent = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2400
+ var NavigationMenuContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2221
2401
  NavigationMenuPrimitive.Content,
2222
2402
  {
2223
2403
  ref,
@@ -2230,7 +2410,7 @@ var NavigationMenuContent = React36.forwardRef(({ className, ...props }, ref) =>
2230
2410
  ));
2231
2411
  NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
2232
2412
  var NavigationMenuLink = NavigationMenuPrimitive.Link;
2233
- var NavigationMenuViewport = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsx(
2413
+ var NavigationMenuViewport = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsx(
2234
2414
  NavigationMenuPrimitive.Viewport,
2235
2415
  {
2236
2416
  className: cn(
@@ -2242,7 +2422,7 @@ var NavigationMenuViewport = React36.forwardRef(({ className, ...props }, ref) =
2242
2422
  }
2243
2423
  ) }));
2244
2424
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
2245
- var NavigationMenuIndicator = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2425
+ var NavigationMenuIndicator = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2246
2426
  NavigationMenuPrimitive.Indicator,
2247
2427
  {
2248
2428
  ref,
@@ -2328,7 +2508,7 @@ function Pagination({
2328
2508
  children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" })
2329
2509
  }
2330
2510
  ),
2331
- getVisiblePages().map((page, index) => /* @__PURE__ */ jsx(React36__default.Fragment, { children: page === "ellipsis" ? /* @__PURE__ */ jsx("div", { className: "flex h-9 w-9 items-center justify-center", children: /* @__PURE__ */ jsx(MoreHorizontal, { className: "h-4 w-4 text-gray-400" }) }) : /* @__PURE__ */ jsx(
2511
+ getVisiblePages().map((page, index) => /* @__PURE__ */ jsx(React39__default.Fragment, { children: page === "ellipsis" ? /* @__PURE__ */ jsx("div", { className: "flex h-9 w-9 items-center justify-center", children: /* @__PURE__ */ jsx(MoreHorizontal, { className: "h-4 w-4 text-gray-400" }) }) : /* @__PURE__ */ jsx(
2332
2512
  Button,
2333
2513
  {
2334
2514
  variant: currentPage === page ? "default" : "outline",
@@ -2354,7 +2534,7 @@ function Pagination({
2354
2534
  }
2355
2535
  var Popover = PopoverPrimitive.Root;
2356
2536
  var PopoverTrigger = PopoverPrimitive.Trigger;
2357
- var PopoverContent = React36.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(
2537
+ var PopoverContent = React39.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(
2358
2538
  PopoverPrimitive.Content,
2359
2539
  {
2360
2540
  ref,
@@ -2368,7 +2548,7 @@ var PopoverContent = React36.forwardRef(({ className, align = "center", sideOffs
2368
2548
  }
2369
2549
  ) }));
2370
2550
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
2371
- var Progress = React36.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx(
2551
+ var Progress = React39.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx(
2372
2552
  ProgressPrimitive.Root,
2373
2553
  {
2374
2554
  ref,
@@ -2387,7 +2567,7 @@ var Progress = React36.forwardRef(({ className, value, ...props }, ref) => /* @_
2387
2567
  }
2388
2568
  ));
2389
2569
  Progress.displayName = ProgressPrimitive.Root.displayName;
2390
- var RadioGroup4 = React36.forwardRef(({ className, ...props }, ref) => {
2570
+ var RadioGroup4 = React39.forwardRef(({ className, ...props }, ref) => {
2391
2571
  return /* @__PURE__ */ jsx(
2392
2572
  RadioGroupPrimitive.Root,
2393
2573
  {
@@ -2398,7 +2578,7 @@ var RadioGroup4 = React36.forwardRef(({ className, ...props }, ref) => {
2398
2578
  );
2399
2579
  });
2400
2580
  RadioGroup4.displayName = RadioGroupPrimitive.Root.displayName;
2401
- var RadioGroupItem = React36.forwardRef(({ className, ...props }, ref) => {
2581
+ var RadioGroupItem = React39.forwardRef(({ className, ...props }, ref) => {
2402
2582
  return /* @__PURE__ */ jsx(
2403
2583
  RadioGroupPrimitive.Item,
2404
2584
  {
@@ -2442,7 +2622,7 @@ var ResizableHandle = ({
2442
2622
  children: withHandle && /* @__PURE__ */ jsx("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ jsx(GripVertical, { className: "h-2.5 w-2.5" }) })
2443
2623
  }
2444
2624
  );
2445
- var ScrollArea = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2625
+ var ScrollArea = React39.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2446
2626
  ScrollAreaPrimitive.Root,
2447
2627
  {
2448
2628
  ref,
@@ -2456,7 +2636,7 @@ var ScrollArea = React36.forwardRef(({ className, children, ...props }, ref) =>
2456
2636
  }
2457
2637
  ));
2458
2638
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
2459
- var ScrollBar = React36.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx(
2639
+ var ScrollBar = React39.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx(
2460
2640
  ScrollAreaPrimitive.ScrollAreaScrollbar,
2461
2641
  {
2462
2642
  ref,
@@ -2475,7 +2655,7 @@ ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
2475
2655
  var Select = SelectPrimitive.Root;
2476
2656
  var SelectGroup = SelectPrimitive.Group;
2477
2657
  var SelectValue = SelectPrimitive.Value;
2478
- var SelectTrigger = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2658
+ var SelectTrigger = React39.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2479
2659
  SelectPrimitive.Trigger,
2480
2660
  {
2481
2661
  ref,
@@ -2491,7 +2671,7 @@ var SelectTrigger = React36.forwardRef(({ className, children, ...props }, ref)
2491
2671
  }
2492
2672
  ));
2493
2673
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
2494
- var SelectScrollUpButton = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2674
+ var SelectScrollUpButton = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2495
2675
  SelectPrimitive.ScrollUpButton,
2496
2676
  {
2497
2677
  ref,
@@ -2504,7 +2684,7 @@ var SelectScrollUpButton = React36.forwardRef(({ className, ...props }, ref) =>
2504
2684
  }
2505
2685
  ));
2506
2686
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
2507
- var SelectScrollDownButton = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2687
+ var SelectScrollDownButton = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2508
2688
  SelectPrimitive.ScrollDownButton,
2509
2689
  {
2510
2690
  ref,
@@ -2517,7 +2697,7 @@ var SelectScrollDownButton = React36.forwardRef(({ className, ...props }, ref) =
2517
2697
  }
2518
2698
  ));
2519
2699
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
2520
- var SelectContent = React36.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
2700
+ var SelectContent = React39.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
2521
2701
  SelectPrimitive.Content,
2522
2702
  {
2523
2703
  ref,
@@ -2545,7 +2725,7 @@ var SelectContent = React36.forwardRef(({ className, children, position = "poppe
2545
2725
  }
2546
2726
  ) }));
2547
2727
  SelectContent.displayName = SelectPrimitive.Content.displayName;
2548
- var SelectLabel = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2728
+ var SelectLabel = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2549
2729
  SelectPrimitive.Label,
2550
2730
  {
2551
2731
  ref,
@@ -2554,7 +2734,7 @@ var SelectLabel = React36.forwardRef(({ className, ...props }, ref) => /* @__PUR
2554
2734
  }
2555
2735
  ));
2556
2736
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
2557
- var SelectItem = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2737
+ var SelectItem = React39.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2558
2738
  SelectPrimitive.Item,
2559
2739
  {
2560
2740
  ref,
@@ -2570,7 +2750,7 @@ var SelectItem = React36.forwardRef(({ className, children, ...props }, ref) =>
2570
2750
  }
2571
2751
  ));
2572
2752
  SelectItem.displayName = SelectPrimitive.Item.displayName;
2573
- var SelectSeparator = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2753
+ var SelectSeparator = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2574
2754
  SelectPrimitive.Separator,
2575
2755
  {
2576
2756
  ref,
@@ -2579,15 +2759,26 @@ var SelectSeparator = React36.forwardRef(({ className, ...props }, ref) => /* @_
2579
2759
  }
2580
2760
  ));
2581
2761
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
2582
- var Separator5 = React36.forwardRef(
2583
- ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx(
2762
+ var separatorVariants = cva("shrink-0", {
2763
+ variants: {
2764
+ variant: {
2765
+ default: "bg-border",
2766
+ glass: "bg-glass-border"
2767
+ }
2768
+ },
2769
+ defaultVariants: {
2770
+ variant: "default"
2771
+ }
2772
+ });
2773
+ var Separator5 = React39.forwardRef(
2774
+ ({ className, orientation = "horizontal", variant, decorative = true, ...props }, ref) => /* @__PURE__ */ jsx(
2584
2775
  SeparatorPrimitive.Root,
2585
2776
  {
2586
2777
  ref,
2587
2778
  decorative,
2588
2779
  orientation,
2589
2780
  className: cn(
2590
- "shrink-0 bg-border",
2781
+ separatorVariants({ variant }),
2591
2782
  orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
2592
2783
  className
2593
2784
  ),
@@ -2600,7 +2791,7 @@ var Sheet = DialogPrimitive.Root;
2600
2791
  var SheetTrigger = DialogPrimitive.Trigger;
2601
2792
  var SheetClose = DialogPrimitive.Close;
2602
2793
  var SheetPortal = DialogPrimitive.Portal;
2603
- var SheetOverlay = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2794
+ var SheetOverlay = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2604
2795
  DialogPrimitive.Overlay,
2605
2796
  {
2606
2797
  className: cn(
@@ -2628,7 +2819,7 @@ var sheetVariants = cva(
2628
2819
  }
2629
2820
  }
2630
2821
  );
2631
- var SheetContent = React36.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SheetPortal, { children: [
2822
+ var SheetContent = React39.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SheetPortal, { children: [
2632
2823
  /* @__PURE__ */ jsx(SheetOverlay, {}),
2633
2824
  /* @__PURE__ */ jsxs(
2634
2825
  DialogPrimitive.Content,
@@ -2681,7 +2872,7 @@ var SheetFooter = ({
2681
2872
  }
2682
2873
  );
2683
2874
  SheetFooter.displayName = "SheetFooter";
2684
- var SheetTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2875
+ var SheetTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2685
2876
  DialogPrimitive.Title,
2686
2877
  {
2687
2878
  ref,
@@ -2690,7 +2881,7 @@ var SheetTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE
2690
2881
  }
2691
2882
  ));
2692
2883
  SheetTitle.displayName = DialogPrimitive.Title.displayName;
2693
- var SheetDescription = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2884
+ var SheetDescription = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2694
2885
  DialogPrimitive.Description,
2695
2886
  {
2696
2887
  ref,
@@ -2711,10 +2902,55 @@ function Skeleton({
2711
2902
  }
2712
2903
  );
2713
2904
  }
2714
- var TooltipProvider = TooltipPrimitive.Provider;
2715
- var Tooltip2 = TooltipPrimitive.Root;
2716
- var TooltipTrigger = TooltipPrimitive.Trigger;
2717
- var TooltipContent = React36.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(
2905
+ var TooltipProvider = React39.forwardRef(({ delayDuration = 0, ...props }, _ref) => /* @__PURE__ */ jsx(TooltipPrimitive.Provider, { delayDuration, ...props }));
2906
+ TooltipProvider.displayName = "TooltipProvider";
2907
+ var TooltipContext = React39.createContext(null);
2908
+ var Tooltip2 = ({ children, open, onOpenChange, ...props }) => {
2909
+ const [clickedOpen, setClickedOpen] = React39.useState(false);
2910
+ const isControlled = open !== void 0;
2911
+ const isOpen = isControlled ? open : clickedOpen || void 0;
2912
+ const handleOpenChange = (newOpen) => {
2913
+ if (clickedOpen && !newOpen) {
2914
+ return;
2915
+ }
2916
+ onOpenChange?.(newOpen);
2917
+ };
2918
+ React39.useEffect(() => {
2919
+ if (!clickedOpen) return;
2920
+ const handleClickOutside = () => {
2921
+ setClickedOpen(false);
2922
+ };
2923
+ const timeoutId = setTimeout(() => {
2924
+ document.addEventListener("click", handleClickOutside);
2925
+ }, 0);
2926
+ return () => {
2927
+ clearTimeout(timeoutId);
2928
+ document.removeEventListener("click", handleClickOutside);
2929
+ };
2930
+ }, [clickedOpen]);
2931
+ return /* @__PURE__ */ jsx(TooltipContext.Provider, { value: { clickedOpen, setClickedOpen }, children: /* @__PURE__ */ jsx(
2932
+ TooltipPrimitive.Root,
2933
+ {
2934
+ open: isOpen,
2935
+ onOpenChange: handleOpenChange,
2936
+ ...props,
2937
+ children
2938
+ }
2939
+ ) });
2940
+ };
2941
+ var TooltipTrigger = React39.forwardRef(({ onClick, ...props }, ref) => {
2942
+ const context = React39.useContext(TooltipContext);
2943
+ const handleClick = (e) => {
2944
+ if (context) {
2945
+ e.stopPropagation();
2946
+ context.setClickedOpen((prev) => !prev);
2947
+ }
2948
+ onClick?.(e);
2949
+ };
2950
+ return /* @__PURE__ */ jsx(TooltipPrimitive.Trigger, { ref, onClick: handleClick, ...props });
2951
+ });
2952
+ TooltipTrigger.displayName = "TooltipTrigger";
2953
+ var TooltipContent = React39.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(
2718
2954
  TooltipPrimitive.Content,
2719
2955
  {
2720
2956
  ref,
@@ -2733,15 +2969,15 @@ var SIDEBAR_WIDTH = "16rem";
2733
2969
  var SIDEBAR_WIDTH_MOBILE = "18rem";
2734
2970
  var SIDEBAR_WIDTH_ICON = "3rem";
2735
2971
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
2736
- var SidebarContext = React36.createContext(null);
2972
+ var SidebarContext = React39.createContext(null);
2737
2973
  function useSidebar() {
2738
- const context = React36.useContext(SidebarContext);
2974
+ const context = React39.useContext(SidebarContext);
2739
2975
  if (!context) {
2740
2976
  throw new Error("useSidebar must be used within a SidebarProvider.");
2741
2977
  }
2742
2978
  return context;
2743
2979
  }
2744
- var SidebarProvider = React36.forwardRef(
2980
+ var SidebarProvider = React39.forwardRef(
2745
2981
  ({
2746
2982
  defaultOpen = true,
2747
2983
  open: openProp,
@@ -2752,10 +2988,10 @@ var SidebarProvider = React36.forwardRef(
2752
2988
  ...props
2753
2989
  }, ref) => {
2754
2990
  const isMobile = useIsMobile();
2755
- const [openMobile, setOpenMobile] = React36.useState(false);
2756
- const [_open, _setOpen] = React36.useState(defaultOpen);
2991
+ const [openMobile, setOpenMobile] = React39.useState(false);
2992
+ const [_open, _setOpen] = React39.useState(defaultOpen);
2757
2993
  const open = openProp ?? _open;
2758
- const setOpen = React36.useCallback(
2994
+ const setOpen = React39.useCallback(
2759
2995
  (value) => {
2760
2996
  if (setOpenProp) {
2761
2997
  return setOpenProp?.(
@@ -2767,10 +3003,10 @@ var SidebarProvider = React36.forwardRef(
2767
3003
  },
2768
3004
  [setOpenProp, open]
2769
3005
  );
2770
- const toggleSidebar = React36.useCallback(() => {
3006
+ const toggleSidebar = React39.useCallback(() => {
2771
3007
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
2772
3008
  }, [isMobile, setOpen, setOpenMobile]);
2773
- React36.useEffect(() => {
3009
+ React39.useEffect(() => {
2774
3010
  const handleKeyDown = (event) => {
2775
3011
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
2776
3012
  event.preventDefault();
@@ -2781,7 +3017,7 @@ var SidebarProvider = React36.forwardRef(
2781
3017
  return () => window.removeEventListener("keydown", handleKeyDown);
2782
3018
  }, [toggleSidebar]);
2783
3019
  const state = open ? "expanded" : "collapsed";
2784
- const contextValue = React36.useMemo(
3020
+ const contextValue = React39.useMemo(
2785
3021
  () => ({
2786
3022
  state,
2787
3023
  open,
@@ -2813,7 +3049,7 @@ var SidebarProvider = React36.forwardRef(
2813
3049
  }
2814
3050
  );
2815
3051
  SidebarProvider.displayName = "SidebarProvider";
2816
- var Sidebar = React36.forwardRef(
3052
+ var Sidebar = React39.forwardRef(
2817
3053
  ({
2818
3054
  side = "left",
2819
3055
  variant = "sidebar",
@@ -2900,7 +3136,7 @@ var Sidebar = React36.forwardRef(
2900
3136
  }
2901
3137
  );
2902
3138
  Sidebar.displayName = "Sidebar";
2903
- var SidebarTrigger = React36.forwardRef(({ className, onClick, ...props }, ref) => {
3139
+ var SidebarTrigger = React39.forwardRef(({ className, onClick, ...props }, ref) => {
2904
3140
  const { toggleSidebar } = useSidebar();
2905
3141
  return /* @__PURE__ */ jsxs(
2906
3142
  Button,
@@ -2923,7 +3159,7 @@ var SidebarTrigger = React36.forwardRef(({ className, onClick, ...props }, ref)
2923
3159
  );
2924
3160
  });
2925
3161
  SidebarTrigger.displayName = "SidebarTrigger";
2926
- var SidebarRail = React36.forwardRef(({ className, ...props }, ref) => {
3162
+ var SidebarRail = React39.forwardRef(({ className, ...props }, ref) => {
2927
3163
  const { toggleSidebar } = useSidebar();
2928
3164
  return /* @__PURE__ */ jsx(
2929
3165
  "button",
@@ -2948,7 +3184,7 @@ var SidebarRail = React36.forwardRef(({ className, ...props }, ref) => {
2948
3184
  );
2949
3185
  });
2950
3186
  SidebarRail.displayName = "SidebarRail";
2951
- var SidebarInset = React36.forwardRef(({ className, ...props }, ref) => {
3187
+ var SidebarInset = React39.forwardRef(({ className, ...props }, ref) => {
2952
3188
  return /* @__PURE__ */ jsx(
2953
3189
  "main",
2954
3190
  {
@@ -2963,7 +3199,7 @@ var SidebarInset = React36.forwardRef(({ className, ...props }, ref) => {
2963
3199
  );
2964
3200
  });
2965
3201
  SidebarInset.displayName = "SidebarInset";
2966
- var SidebarInput = React36.forwardRef(({ className, ...props }, ref) => {
3202
+ var SidebarInput = React39.forwardRef(({ className, ...props }, ref) => {
2967
3203
  return /* @__PURE__ */ jsx(
2968
3204
  Input,
2969
3205
  {
@@ -2978,7 +3214,7 @@ var SidebarInput = React36.forwardRef(({ className, ...props }, ref) => {
2978
3214
  );
2979
3215
  });
2980
3216
  SidebarInput.displayName = "SidebarInput";
2981
- var SidebarHeader = React36.forwardRef(({ className, ...props }, ref) => {
3217
+ var SidebarHeader = React39.forwardRef(({ className, ...props }, ref) => {
2982
3218
  return /* @__PURE__ */ jsx(
2983
3219
  "div",
2984
3220
  {
@@ -2990,7 +3226,7 @@ var SidebarHeader = React36.forwardRef(({ className, ...props }, ref) => {
2990
3226
  );
2991
3227
  });
2992
3228
  SidebarHeader.displayName = "SidebarHeader";
2993
- var SidebarFooter = React36.forwardRef(({ className, ...props }, ref) => {
3229
+ var SidebarFooter = React39.forwardRef(({ className, ...props }, ref) => {
2994
3230
  return /* @__PURE__ */ jsx(
2995
3231
  "div",
2996
3232
  {
@@ -3002,7 +3238,7 @@ var SidebarFooter = React36.forwardRef(({ className, ...props }, ref) => {
3002
3238
  );
3003
3239
  });
3004
3240
  SidebarFooter.displayName = "SidebarFooter";
3005
- var SidebarSeparator = React36.forwardRef(({ className, ...props }, ref) => {
3241
+ var SidebarSeparator = React39.forwardRef(({ className, ...props }, ref) => {
3006
3242
  return /* @__PURE__ */ jsx(
3007
3243
  Separator5,
3008
3244
  {
@@ -3014,7 +3250,7 @@ var SidebarSeparator = React36.forwardRef(({ className, ...props }, ref) => {
3014
3250
  );
3015
3251
  });
3016
3252
  SidebarSeparator.displayName = "SidebarSeparator";
3017
- var SidebarContent = React36.forwardRef(({ className, ...props }, ref) => {
3253
+ var SidebarContent = React39.forwardRef(({ className, ...props }, ref) => {
3018
3254
  return /* @__PURE__ */ jsx(
3019
3255
  "div",
3020
3256
  {
@@ -3029,7 +3265,7 @@ var SidebarContent = React36.forwardRef(({ className, ...props }, ref) => {
3029
3265
  );
3030
3266
  });
3031
3267
  SidebarContent.displayName = "SidebarContent";
3032
- var SidebarGroup = React36.forwardRef(({ className, ...props }, ref) => {
3268
+ var SidebarGroup = React39.forwardRef(({ className, ...props }, ref) => {
3033
3269
  return /* @__PURE__ */ jsx(
3034
3270
  "div",
3035
3271
  {
@@ -3041,7 +3277,7 @@ var SidebarGroup = React36.forwardRef(({ className, ...props }, ref) => {
3041
3277
  );
3042
3278
  });
3043
3279
  SidebarGroup.displayName = "SidebarGroup";
3044
- var SidebarGroupLabel = React36.forwardRef(({ className, asChild = false, ...props }, ref) => {
3280
+ var SidebarGroupLabel = React39.forwardRef(({ className, asChild = false, ...props }, ref) => {
3045
3281
  const Comp = asChild ? Slot : "div";
3046
3282
  return /* @__PURE__ */ jsx(
3047
3283
  Comp,
@@ -3058,7 +3294,7 @@ var SidebarGroupLabel = React36.forwardRef(({ className, asChild = false, ...pro
3058
3294
  );
3059
3295
  });
3060
3296
  SidebarGroupLabel.displayName = "SidebarGroupLabel";
3061
- var SidebarGroupAction = React36.forwardRef(({ className, asChild = false, ...props }, ref) => {
3297
+ var SidebarGroupAction = React39.forwardRef(({ className, asChild = false, ...props }, ref) => {
3062
3298
  const Comp = asChild ? Slot : "button";
3063
3299
  return /* @__PURE__ */ jsx(
3064
3300
  Comp,
@@ -3077,7 +3313,7 @@ var SidebarGroupAction = React36.forwardRef(({ className, asChild = false, ...pr
3077
3313
  );
3078
3314
  });
3079
3315
  SidebarGroupAction.displayName = "SidebarGroupAction";
3080
- var SidebarGroupContent = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3316
+ var SidebarGroupContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3081
3317
  "div",
3082
3318
  {
3083
3319
  ref,
@@ -3087,7 +3323,7 @@ var SidebarGroupContent = React36.forwardRef(({ className, ...props }, ref) => /
3087
3323
  }
3088
3324
  ));
3089
3325
  SidebarGroupContent.displayName = "SidebarGroupContent";
3090
- var SidebarMenu = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3326
+ var SidebarMenu = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3091
3327
  "ul",
3092
3328
  {
3093
3329
  ref,
@@ -3097,7 +3333,7 @@ var SidebarMenu = React36.forwardRef(({ className, ...props }, ref) => /* @__PUR
3097
3333
  }
3098
3334
  ));
3099
3335
  SidebarMenu.displayName = "SidebarMenu";
3100
- var SidebarMenuItem = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3336
+ var SidebarMenuItem = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3101
3337
  "li",
3102
3338
  {
3103
3339
  ref,
@@ -3127,7 +3363,7 @@ var sidebarMenuButtonVariants = cva(
3127
3363
  }
3128
3364
  }
3129
3365
  );
3130
- var SidebarMenuButton = React36.forwardRef(
3366
+ var SidebarMenuButton = React39.forwardRef(
3131
3367
  ({
3132
3368
  asChild = false,
3133
3369
  isActive = false,
@@ -3173,7 +3409,7 @@ var SidebarMenuButton = React36.forwardRef(
3173
3409
  }
3174
3410
  );
3175
3411
  SidebarMenuButton.displayName = "SidebarMenuButton";
3176
- var SidebarMenuAction = React36.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
3412
+ var SidebarMenuAction = React39.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
3177
3413
  const Comp = asChild ? Slot : "button";
3178
3414
  return /* @__PURE__ */ jsx(
3179
3415
  Comp,
@@ -3196,7 +3432,7 @@ var SidebarMenuAction = React36.forwardRef(({ className, asChild = false, showOn
3196
3432
  );
3197
3433
  });
3198
3434
  SidebarMenuAction.displayName = "SidebarMenuAction";
3199
- var SidebarMenuBadge = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3435
+ var SidebarMenuBadge = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3200
3436
  "div",
3201
3437
  {
3202
3438
  ref,
@@ -3214,8 +3450,8 @@ var SidebarMenuBadge = React36.forwardRef(({ className, ...props }, ref) => /* @
3214
3450
  }
3215
3451
  ));
3216
3452
  SidebarMenuBadge.displayName = "SidebarMenuBadge";
3217
- var SidebarMenuSkeleton = React36.forwardRef(({ className, showIcon = false, ...props }, ref) => {
3218
- const width = React36.useMemo(() => {
3453
+ var SidebarMenuSkeleton = React39.forwardRef(({ className, showIcon = false, ...props }, ref) => {
3454
+ const width = React39.useMemo(() => {
3219
3455
  return `${Math.floor(Math.random() * 40) + 50}%`;
3220
3456
  }, []);
3221
3457
  return /* @__PURE__ */ jsxs(
@@ -3248,7 +3484,7 @@ var SidebarMenuSkeleton = React36.forwardRef(({ className, showIcon = false, ...
3248
3484
  );
3249
3485
  });
3250
3486
  SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
3251
- var SidebarMenuSub = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3487
+ var SidebarMenuSub = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3252
3488
  "ul",
3253
3489
  {
3254
3490
  ref,
@@ -3262,9 +3498,9 @@ var SidebarMenuSub = React36.forwardRef(({ className, ...props }, ref) => /* @__
3262
3498
  }
3263
3499
  ));
3264
3500
  SidebarMenuSub.displayName = "SidebarMenuSub";
3265
- var SidebarMenuSubItem = React36.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, ...props }));
3501
+ var SidebarMenuSubItem = React39.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, ...props }));
3266
3502
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
3267
- var SidebarMenuSubButton = React36.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
3503
+ var SidebarMenuSubButton = React39.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
3268
3504
  const Comp = asChild ? Slot : "a";
3269
3505
  return /* @__PURE__ */ jsx(
3270
3506
  Comp,
@@ -3303,7 +3539,7 @@ function SimpleTabs({ tabs, activeTab, onTabChange }) {
3303
3539
  );
3304
3540
  }) });
3305
3541
  }
3306
- var Slider = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(
3542
+ var Slider = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(
3307
3543
  SliderPrimitive.Root,
3308
3544
  {
3309
3545
  ref,
@@ -3394,7 +3630,7 @@ function StatusBadge({
3394
3630
  }
3395
3631
  );
3396
3632
  }
3397
- var Switch = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3633
+ var Switch = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3398
3634
  SwitchPrimitives.Root,
3399
3635
  {
3400
3636
  className: cn(
@@ -3414,7 +3650,7 @@ var Switch = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
3414
3650
  }
3415
3651
  ));
3416
3652
  Switch.displayName = SwitchPrimitives.Root.displayName;
3417
- var Table = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx(
3653
+ var Table = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx(
3418
3654
  "table",
3419
3655
  {
3420
3656
  ref,
@@ -3423,9 +3659,9 @@ var Table = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
3423
3659
  }
3424
3660
  ) }));
3425
3661
  Table.displayName = "Table";
3426
- var TableHeader = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
3662
+ var TableHeader = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
3427
3663
  TableHeader.displayName = "TableHeader";
3428
- var TableBody = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3664
+ var TableBody = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3429
3665
  "tbody",
3430
3666
  {
3431
3667
  ref,
@@ -3434,7 +3670,7 @@ var TableBody = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE_
3434
3670
  }
3435
3671
  ));
3436
3672
  TableBody.displayName = "TableBody";
3437
- var TableFooter = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3673
+ var TableFooter = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3438
3674
  "tfoot",
3439
3675
  {
3440
3676
  ref,
@@ -3446,7 +3682,7 @@ var TableFooter = React36.forwardRef(({ className, ...props }, ref) => /* @__PUR
3446
3682
  }
3447
3683
  ));
3448
3684
  TableFooter.displayName = "TableFooter";
3449
- var TableRow = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3685
+ var TableRow = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3450
3686
  "tr",
3451
3687
  {
3452
3688
  ref,
@@ -3458,7 +3694,7 @@ var TableRow = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3458
3694
  }
3459
3695
  ));
3460
3696
  TableRow.displayName = "TableRow";
3461
- var TableHead = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3697
+ var TableHead = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3462
3698
  "th",
3463
3699
  {
3464
3700
  ref,
@@ -3470,7 +3706,7 @@ var TableHead = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE_
3470
3706
  }
3471
3707
  ));
3472
3708
  TableHead.displayName = "TableHead";
3473
- var TableCell = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3709
+ var TableCell = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3474
3710
  "td",
3475
3711
  {
3476
3712
  ref,
@@ -3479,7 +3715,7 @@ var TableCell = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE_
3479
3715
  }
3480
3716
  ));
3481
3717
  TableCell.displayName = "TableCell";
3482
- var TableCaption = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3718
+ var TableCaption = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3483
3719
  "caption",
3484
3720
  {
3485
3721
  ref,
@@ -3489,7 +3725,7 @@ var TableCaption = React36.forwardRef(({ className, ...props }, ref) => /* @__PU
3489
3725
  ));
3490
3726
  TableCaption.displayName = "TableCaption";
3491
3727
  var Tabs = TabsPrimitive.Root;
3492
- var TabsList = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "overflow-x-auto pb-1 hide-scrollbar", children: /* @__PURE__ */ jsx(
3728
+ var TabsList = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "overflow-x-auto pb-1 hide-scrollbar", children: /* @__PURE__ */ jsx(
3493
3729
  TabsPrimitive.List,
3494
3730
  {
3495
3731
  ref,
@@ -3501,7 +3737,7 @@ var TabsList = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3501
3737
  }
3502
3738
  ) }));
3503
3739
  TabsList.displayName = TabsPrimitive.List.displayName;
3504
- var TabsTrigger = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3740
+ var TabsTrigger = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3505
3741
  TabsPrimitive.Trigger,
3506
3742
  {
3507
3743
  ref,
@@ -3513,7 +3749,7 @@ var TabsTrigger = React36.forwardRef(({ className, ...props }, ref) => /* @__PUR
3513
3749
  }
3514
3750
  ));
3515
3751
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
3516
- var TabsContent = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3752
+ var TabsContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3517
3753
  TabsPrimitive.Content,
3518
3754
  {
3519
3755
  ref,
@@ -3525,7 +3761,7 @@ var TabsContent = React36.forwardRef(({ className, ...props }, ref) => /* @__PUR
3525
3761
  }
3526
3762
  ));
3527
3763
  TabsContent.displayName = TabsPrimitive.Content.displayName;
3528
- var Textarea = React36.forwardRef(
3764
+ var Textarea = React39.forwardRef(
3529
3765
  ({ className, ...props }, ref) => {
3530
3766
  return /* @__PURE__ */ jsx(
3531
3767
  "textarea",
@@ -3542,12 +3778,12 @@ var Textarea = React36.forwardRef(
3542
3778
  );
3543
3779
  Textarea.displayName = "Textarea";
3544
3780
  var ToastProvider = ToastPrimitives.Provider;
3545
- var ToastViewport = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3781
+ var ToastViewport = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3546
3782
  ToastPrimitives.Viewport,
3547
3783
  {
3548
3784
  ref,
3549
3785
  className: cn(
3550
- "fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",
3786
+ "fixed top-0 z-[9999] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",
3551
3787
  className
3552
3788
  ),
3553
3789
  ...props
@@ -3568,7 +3804,7 @@ var toastVariants = cva(
3568
3804
  }
3569
3805
  }
3570
3806
  );
3571
- var Toast = React36.forwardRef(({ className, variant, ...props }, ref) => {
3807
+ var Toast = React39.forwardRef(({ className, variant, ...props }, ref) => {
3572
3808
  return /* @__PURE__ */ jsx(
3573
3809
  ToastPrimitives.Root,
3574
3810
  {
@@ -3579,7 +3815,7 @@ var Toast = React36.forwardRef(({ className, variant, ...props }, ref) => {
3579
3815
  );
3580
3816
  });
3581
3817
  Toast.displayName = ToastPrimitives.Root.displayName;
3582
- var ToastAction = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3818
+ var ToastAction = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3583
3819
  ToastPrimitives.Action,
3584
3820
  {
3585
3821
  ref,
@@ -3591,7 +3827,7 @@ var ToastAction = React36.forwardRef(({ className, ...props }, ref) => /* @__PUR
3591
3827
  }
3592
3828
  ));
3593
3829
  ToastAction.displayName = ToastPrimitives.Action.displayName;
3594
- var ToastClose = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3830
+ var ToastClose = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3595
3831
  ToastPrimitives.Close,
3596
3832
  {
3597
3833
  ref,
@@ -3605,7 +3841,7 @@ var ToastClose = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE
3605
3841
  }
3606
3842
  ));
3607
3843
  ToastClose.displayName = ToastPrimitives.Close.displayName;
3608
- var ToastTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3844
+ var ToastTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3609
3845
  ToastPrimitives.Title,
3610
3846
  {
3611
3847
  ref,
@@ -3614,7 +3850,7 @@ var ToastTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE
3614
3850
  }
3615
3851
  ));
3616
3852
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
3617
- var ToastDescription = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3853
+ var ToastDescription = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3618
3854
  ToastPrimitives.Description,
3619
3855
  {
3620
3856
  ref,
@@ -3659,7 +3895,7 @@ var toggleVariants = cva(
3659
3895
  }
3660
3896
  }
3661
3897
  );
3662
- var Toggle = React36.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx(
3898
+ var Toggle = React39.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx(
3663
3899
  TogglePrimitive.Root,
3664
3900
  {
3665
3901
  ref,
@@ -3668,11 +3904,11 @@ var Toggle = React36.forwardRef(({ className, variant, size, ...props }, ref) =>
3668
3904
  }
3669
3905
  ));
3670
3906
  Toggle.displayName = TogglePrimitive.Root.displayName;
3671
- var ToggleGroupContext = React36.createContext({
3907
+ var ToggleGroupContext = React39.createContext({
3672
3908
  size: "default",
3673
3909
  variant: "default"
3674
3910
  });
3675
- var ToggleGroup = React36.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx(
3911
+ var ToggleGroup = React39.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx(
3676
3912
  ToggleGroupPrimitive.Root,
3677
3913
  {
3678
3914
  ref,
@@ -3682,8 +3918,8 @@ var ToggleGroup = React36.forwardRef(({ className, variant, size, children, ...p
3682
3918
  }
3683
3919
  ));
3684
3920
  ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
3685
- var ToggleGroupItem = React36.forwardRef(({ className, children, variant, size, ...props }, ref) => {
3686
- const context = React36.useContext(ToggleGroupContext);
3921
+ var ToggleGroupItem = React39.forwardRef(({ className, children, variant, size, ...props }, ref) => {
3922
+ const context = React39.useContext(ToggleGroupContext);
3687
3923
  return /* @__PURE__ */ jsx(
3688
3924
  ToggleGroupPrimitive.Item,
3689
3925
  {
@@ -3702,6 +3938,6 @@ var ToggleGroupItem = React36.forwardRef(({ className, children, variant, size,
3702
3938
  });
3703
3939
  ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
3704
3940
 
3705
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AnimatedBackground, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GlassCard, GlassCardContent, GlassCardDescription, GlassCardFooter, GlassCardHeader, GlassCardTitle, GradientOrb, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label3 as Label, Logo, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup4 as RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator5 as Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleTabs, Skeleton, Slider, StatusBadge, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip2 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, glassCardVariants, navigationMenuTriggerStyle, statusBadgeVariants, statusLabels, toast, toggleVariants, useFormField, useIsMobile, useSidebar, useToast };
3941
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AnimatedBackground, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GlassCard, GlassCardContent, GlassCardDescription, GlassCardFooter, GlassCardHeader, GlassCardTitle, GlassHeader, GlassOverlay, GlassTabs, GradientOrb, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label3 as Label, Logo, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup4 as RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator5 as Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleTabs, Skeleton, Slider, StatusBadge, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip2 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, glassCardVariants, glassHeaderVariants, glassOverlayVariants, glassTabVariants, glassTabsContainerVariants, inputVariants, navigationMenuTriggerStyle, separatorVariants, statusBadgeVariants, statusLabels, toast, toggleVariants, useFormField, useIsMobile, useSidebar, useToast };
3706
3942
  //# sourceMappingURL=index.js.map
3707
3943
  //# sourceMappingURL=index.js.map