@cupcodev/ui 6.0.1 → 6.1.2

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.cjs CHANGED
@@ -180,6 +180,7 @@ __export(src_exports, {
180
180
  DropdownMenuSubContent: () => DropdownMenuSubContent,
181
181
  DropdownMenuSubTrigger: () => DropdownMenuSubTrigger,
182
182
  DropdownMenuTrigger: () => DropdownMenuTrigger,
183
+ EXPERIENCE_SETTINGS_STORAGE_KEY: () => EXPERIENCE_SETTINGS_STORAGE_KEY,
183
184
  EmptyState: () => EmptyState,
184
185
  ErrorBoundary: () => ErrorBoundary,
185
186
  Eyebrow: () => Eyebrow,
@@ -203,6 +204,7 @@ __export(src_exports, {
203
204
  InputOTPSlot: () => InputOTPSlot,
204
205
  JellyButton: () => JellyButton,
205
206
  JellyButtonOriginal: () => JellyButtonOriginal,
207
+ LEGACY_THEME_STORAGE_KEY: () => LEGACY_THEME_STORAGE_KEY,
206
208
  Label: () => Label4,
207
209
  LoadingScreen: () => LoadingScreen,
208
210
  LoadingSpinner: () => LoadingSpinner,
@@ -319,6 +321,9 @@ __export(src_exports, {
319
321
  SonnerToaster: () => Toaster,
320
322
  Switch: () => Switch,
321
323
  SwitchField: () => SwitchField,
324
+ THEME_PREFERENCE_CHANGE_EVENT: () => THEME_PREFERENCE_CHANGE_EVENT,
325
+ THEME_PREFERENCE_STORAGE_KEY: () => THEME_PREFERENCE_STORAGE_KEY,
326
+ THEME_STORAGE_KEY: () => THEME_STORAGE_KEY,
322
327
  Table: () => Table,
323
328
  TableBody: () => TableBody,
324
329
  TableCaption: () => TableCaption,
@@ -388,12 +393,20 @@ __export(src_exports, {
388
393
  getSupabase: () => getSupabase,
389
394
  getSupabasePublic: () => getSupabasePublic,
390
395
  isRuntimeDev: () => isRuntimeDev,
396
+ isStoredThemeMode: () => isStoredThemeMode,
391
397
  navigationMenuTriggerStyle: () => navigationMenuTriggerStyle,
398
+ normalizeStoredThemePreference: () => normalizeStoredThemePreference,
392
399
  parseAssetId: () => parseAssetId,
400
+ parseStoredThemePreference: () => parseStoredThemePreference,
401
+ persistThemePreferenceSelection: () => persistThemePreferenceSelection,
393
402
  readStoredLayoutMode: () => readStoredLayoutMode,
403
+ readStoredThemeMode: () => readStoredThemeMode,
394
404
  reducer: () => reducer,
405
+ resolveAppliedThemeMode: () => resolveAppliedThemeMode,
395
406
  resolveCupcodeAppVersion: () => resolveCupcodeAppVersion,
396
407
  resolveOidcEndpoints: () => resolveOidcEndpoints,
408
+ resolveStoredThemePreference: () => resolveStoredThemePreference,
409
+ resolveSystemThemeMode: () => resolveSystemThemeMode,
397
410
  resolveTelescupImageURL: () => resolveTelescupImageURL,
398
411
  responsiveSizeClasses: () => responsiveSizeClasses,
399
412
  setCupcodeRuntimeEnv: () => setCupcodeRuntimeEnv,
@@ -2535,47 +2548,6 @@ var NavbarCupcode = ({
2535
2548
  };
2536
2549
  var NavbarCupcode_default = NavbarCupcode;
2537
2550
 
2538
- // src/components/cupcode/TelescupImage.tsx
2539
- var import_jsx_runtime12 = require("react/jsx-runtime");
2540
- var TelescupImage = ({
2541
- apiId,
2542
- imageWidth,
2543
- imageHeight,
2544
- fit = "cover",
2545
- format = "avif",
2546
- quality = 60,
2547
- lang = "pt-BR",
2548
- alt,
2549
- title,
2550
- loading = "lazy",
2551
- className,
2552
- ...props
2553
- }) => {
2554
- const { url, meta } = useTelescupImage(
2555
- {
2556
- id: apiId,
2557
- width: imageWidth,
2558
- height: imageHeight,
2559
- fit,
2560
- format,
2561
- quality
2562
- },
2563
- lang
2564
- );
2565
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2566
- "img",
2567
- {
2568
- src: url,
2569
- "data-api-id": apiId,
2570
- alt: alt || meta.alt || "",
2571
- title: title || meta.title,
2572
- loading,
2573
- className,
2574
- ...props
2575
- }
2576
- );
2577
- };
2578
-
2579
2551
  // src/components/cupcode/UserMenuCupcode.tsx
2580
2552
  var DialogPrimitive2 = __toESM(require("@radix-ui/react-dialog"), 1);
2581
2553
  var import_lucide_react8 = require("lucide-react");
@@ -2585,11 +2557,11 @@ var import_react15 = require("react");
2585
2557
  var React6 = __toESM(require("react"), 1);
2586
2558
  var SelectPrimitive = __toESM(require("@radix-ui/react-select"), 1);
2587
2559
  var import_lucide_react4 = require("lucide-react");
2588
- var import_jsx_runtime13 = require("react/jsx-runtime");
2560
+ var import_jsx_runtime12 = require("react/jsx-runtime");
2589
2561
  var Select = SelectPrimitive.Root;
2590
2562
  var SelectGroup = SelectPrimitive.Group;
2591
2563
  var SelectValue = SelectPrimitive.Value;
2592
- var SelectTrigger = React6.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
2564
+ var SelectTrigger = React6.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
2593
2565
  SelectPrimitive.Trigger,
2594
2566
  {
2595
2567
  ref,
@@ -2600,32 +2572,32 @@ var SelectTrigger = React6.forwardRef(({ className, children, ...props }, ref) =
2600
2572
  ...props,
2601
2573
  children: [
2602
2574
  children,
2603
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react4.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
2575
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react4.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
2604
2576
  ]
2605
2577
  }
2606
2578
  ));
2607
2579
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
2608
- var SelectScrollUpButton = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2580
+ var SelectScrollUpButton = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2609
2581
  SelectPrimitive.ScrollUpButton,
2610
2582
  {
2611
2583
  ref,
2612
2584
  className: cn("flex cursor-default items-center justify-center py-1", className),
2613
2585
  ...props,
2614
- children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react4.ChevronUp, { className: "h-4 w-4" })
2586
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react4.ChevronUp, { className: "h-4 w-4" })
2615
2587
  }
2616
2588
  ));
2617
2589
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
2618
- var SelectScrollDownButton = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2590
+ var SelectScrollDownButton = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2619
2591
  SelectPrimitive.ScrollDownButton,
2620
2592
  {
2621
2593
  ref,
2622
2594
  className: cn("flex cursor-default items-center justify-center py-1", className),
2623
2595
  ...props,
2624
- children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react4.ChevronDown, { className: "h-4 w-4" })
2596
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react4.ChevronDown, { className: "h-4 w-4" })
2625
2597
  }
2626
2598
  ));
2627
2599
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
2628
- var SelectContent = React6.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
2600
+ var SelectContent = React6.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
2629
2601
  SelectPrimitive.Content,
2630
2602
  {
2631
2603
  ref,
@@ -2637,8 +2609,8 @@ var SelectContent = React6.forwardRef(({ className, children, position = "popper
2637
2609
  position,
2638
2610
  ...props,
2639
2611
  children: [
2640
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SelectScrollUpButton, {}),
2641
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2612
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SelectScrollUpButton, {}),
2613
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2642
2614
  SelectPrimitive.Viewport,
2643
2615
  {
2644
2616
  className: cn(
@@ -2648,14 +2620,14 @@ var SelectContent = React6.forwardRef(({ className, children, position = "popper
2648
2620
  children
2649
2621
  }
2650
2622
  ),
2651
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SelectScrollDownButton, {})
2623
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SelectScrollDownButton, {})
2652
2624
  ]
2653
2625
  }
2654
2626
  ) }));
2655
2627
  SelectContent.displayName = SelectPrimitive.Content.displayName;
2656
- var SelectLabel = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SelectPrimitive.Label, { ref, className: cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className), ...props }));
2628
+ var SelectLabel = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SelectPrimitive.Label, { ref, className: cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className), ...props }));
2657
2629
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
2658
- var SelectItem = React6.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
2630
+ var SelectItem = React6.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
2659
2631
  SelectPrimitive.Item,
2660
2632
  {
2661
2633
  ref,
@@ -2665,20 +2637,20 @@ var SelectItem = React6.forwardRef(({ className, children, ...props }, ref) => /
2665
2637
  ),
2666
2638
  ...props,
2667
2639
  children: [
2668
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react4.Check, { className: "h-4 w-4" }) }) }),
2669
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SelectPrimitive.ItemText, { children })
2640
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react4.Check, { className: "h-4 w-4" }) }) }),
2641
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SelectPrimitive.ItemText, { children })
2670
2642
  ]
2671
2643
  }
2672
2644
  ));
2673
2645
  SelectItem.displayName = SelectPrimitive.Item.displayName;
2674
- var SelectSeparator = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SelectPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
2646
+ var SelectSeparator = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SelectPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
2675
2647
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
2676
2648
 
2677
2649
  // src/components/ui/avatar.tsx
2678
2650
  var React7 = __toESM(require("react"), 1);
2679
2651
  var AvatarPrimitive2 = __toESM(require("@radix-ui/react-avatar"), 1);
2680
- var import_jsx_runtime14 = require("react/jsx-runtime");
2681
- var Avatar2 = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
2652
+ var import_jsx_runtime13 = require("react/jsx-runtime");
2653
+ var Avatar2 = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2682
2654
  AvatarPrimitive2.Root,
2683
2655
  {
2684
2656
  ref,
@@ -2687,7 +2659,7 @@ var Avatar2 = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
2687
2659
  }
2688
2660
  ));
2689
2661
  Avatar2.displayName = AvatarPrimitive2.Root.displayName;
2690
- var AvatarImage2 = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
2662
+ var AvatarImage2 = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2691
2663
  AvatarPrimitive2.Image,
2692
2664
  {
2693
2665
  ref,
@@ -2696,7 +2668,7 @@ var AvatarImage2 = React7.forwardRef(({ className, ...props }, ref) => /* @__PUR
2696
2668
  }
2697
2669
  ));
2698
2670
  AvatarImage2.displayName = AvatarPrimitive2.Image.displayName;
2699
- var AvatarFallback2 = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
2671
+ var AvatarFallback2 = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2700
2672
  AvatarPrimitive2.Fallback,
2701
2673
  {
2702
2674
  ref,
@@ -2755,7 +2727,7 @@ function responsiveSizeClasses(s, currentBp) {
2755
2727
 
2756
2728
  // src/components/cupcode/JellyButton.tsx
2757
2729
  var import_react9 = require("react");
2758
- var import_jsx_runtime15 = require("react/jsx-runtime");
2730
+ var import_jsx_runtime14 = require("react/jsx-runtime");
2759
2731
  var JellyButton = (0, import_react9.forwardRef)(
2760
2732
  ({ variant = "primary", size = "md", className, children, type = "button", ...props }, ref) => {
2761
2733
  const sizeClass = {
@@ -2764,7 +2736,7 @@ var JellyButton = (0, import_react9.forwardRef)(
2764
2736
  lg: "cc-blob-cta--lg"
2765
2737
  }[size];
2766
2738
  const variantClass = variant === "primary" || variant === "original-green" ? "cc-blob-cta--primary" : variant === "secondary" || variant === "original-pink" ? "cc-blob-cta--secondary" : "cc-blob-cta--half";
2767
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
2739
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
2768
2740
  "button",
2769
2741
  {
2770
2742
  ref,
@@ -2772,15 +2744,15 @@ var JellyButton = (0, import_react9.forwardRef)(
2772
2744
  className: cn("cc-blob-cta", sizeClass, variantClass, className),
2773
2745
  ...props,
2774
2746
  children: [
2775
- /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("span", { className: "cc-blob-cta__color-wrap", "aria-hidden": "true", children: [
2776
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "cc-blob-cta__color cc-blob-cta__color--1" }),
2777
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "cc-blob-cta__color cc-blob-cta__color--3" }),
2778
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "cc-blob-cta__color cc-blob-cta__color--2" }),
2779
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "cc-blob-cta__bg" })
2747
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "cc-blob-cta__color-wrap", "aria-hidden": "true", children: [
2748
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "cc-blob-cta__color cc-blob-cta__color--1" }),
2749
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "cc-blob-cta__color cc-blob-cta__color--3" }),
2750
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "cc-blob-cta__color cc-blob-cta__color--2" }),
2751
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "cc-blob-cta__bg" })
2780
2752
  ] }),
2781
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "cc-blob-cta__label", children }),
2782
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "cc-blob-cta__glow cc-blob-cta__glow--1", "aria-hidden": "true" }),
2783
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "cc-blob-cta__glow cc-blob-cta__glow--2", "aria-hidden": "true" })
2753
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "cc-blob-cta__label", children }),
2754
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "cc-blob-cta__glow cc-blob-cta__glow--1", "aria-hidden": "true" }),
2755
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "cc-blob-cta__glow cc-blob-cta__glow--2", "aria-hidden": "true" })
2784
2756
  ]
2785
2757
  }
2786
2758
  );
@@ -2789,7 +2761,7 @@ var JellyButton = (0, import_react9.forwardRef)(
2789
2761
  JellyButton.displayName = "JellyButton";
2790
2762
 
2791
2763
  // src/components/cupcode/JellyButtonOriginal.tsx
2792
- var import_jsx_runtime16 = require("react/jsx-runtime");
2764
+ var import_jsx_runtime15 = require("react/jsx-runtime");
2793
2765
  var resolveResponsiveSize = (value, currentBp) => {
2794
2766
  var _a78, _b7, _c, _d, _e;
2795
2767
  if (typeof value === "string") {
@@ -2839,16 +2811,16 @@ function JellyButtonOriginal({
2839
2811
  window.location.href = href;
2840
2812
  }
2841
2813
  };
2842
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
2814
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
2843
2815
  JellyButton,
2844
2816
  {
2845
2817
  variant: color === "green" ? "original-green" : "original-pink",
2846
2818
  size: resolvedSize,
2847
2819
  className,
2848
2820
  onClick: handleClick,
2849
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("span", { className: "inline-flex items-center gap-2", children: [
2850
- icon ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "inline-flex items-center justify-center", children: icon }) : null,
2851
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { children: label })
2821
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("span", { className: "inline-flex items-center gap-2", children: [
2822
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "inline-flex items-center justify-center", children: icon }) : null,
2823
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { children: label })
2852
2824
  ] })
2853
2825
  }
2854
2826
  );
@@ -2858,14 +2830,14 @@ function JellyButtonOriginal({
2858
2830
  var React8 = __toESM(require("react"), 1);
2859
2831
  var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"), 1);
2860
2832
  var import_lucide_react5 = require("lucide-react");
2861
- var import_jsx_runtime17 = require("react/jsx-runtime");
2833
+ var import_jsx_runtime16 = require("react/jsx-runtime");
2862
2834
  var DropdownMenu = DropdownMenuPrimitive.Root;
2863
2835
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
2864
2836
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
2865
2837
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
2866
2838
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
2867
2839
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
2868
- var DropdownMenuSubTrigger = React8.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
2840
+ var DropdownMenuSubTrigger = React8.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
2869
2841
  DropdownMenuPrimitive.SubTrigger,
2870
2842
  {
2871
2843
  ref,
@@ -2877,12 +2849,12 @@ var DropdownMenuSubTrigger = React8.forwardRef(({ className, inset, children, ..
2877
2849
  ...props,
2878
2850
  children: [
2879
2851
  children,
2880
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react5.ChevronRight, { className: "ml-auto h-4 w-4" })
2852
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react5.ChevronRight, { className: "ml-auto h-4 w-4" })
2881
2853
  ]
2882
2854
  }
2883
2855
  ));
2884
2856
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
2885
- var DropdownMenuSubContent = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2857
+ var DropdownMenuSubContent = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
2886
2858
  DropdownMenuPrimitive.SubContent,
2887
2859
  {
2888
2860
  ref,
@@ -2894,7 +2866,7 @@ var DropdownMenuSubContent = React8.forwardRef(({ className, ...props }, ref) =>
2894
2866
  }
2895
2867
  ));
2896
2868
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
2897
- var DropdownMenuContent = React8.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2869
+ var DropdownMenuContent = React8.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
2898
2870
  DropdownMenuPrimitive.Content,
2899
2871
  {
2900
2872
  ref,
@@ -2907,7 +2879,7 @@ var DropdownMenuContent = React8.forwardRef(({ className, sideOffset = 4, ...pro
2907
2879
  }
2908
2880
  ) }));
2909
2881
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
2910
- var DropdownMenuItem = React8.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2882
+ var DropdownMenuItem = React8.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
2911
2883
  DropdownMenuPrimitive.Item,
2912
2884
  {
2913
2885
  ref,
@@ -2920,7 +2892,7 @@ var DropdownMenuItem = React8.forwardRef(({ className, inset, ...props }, ref) =
2920
2892
  }
2921
2893
  ));
2922
2894
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
2923
- var DropdownMenuCheckboxItem = React8.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
2895
+ var DropdownMenuCheckboxItem = React8.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
2924
2896
  DropdownMenuPrimitive.CheckboxItem,
2925
2897
  {
2926
2898
  ref,
@@ -2931,13 +2903,13 @@ var DropdownMenuCheckboxItem = React8.forwardRef(({ className, children, checked
2931
2903
  checked,
2932
2904
  ...props,
2933
2905
  children: [
2934
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react5.Check, { className: "h-4 w-4" }) }) }),
2906
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react5.Check, { className: "h-4 w-4" }) }) }),
2935
2907
  children
2936
2908
  ]
2937
2909
  }
2938
2910
  ));
2939
2911
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
2940
- var DropdownMenuRadioItem = React8.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
2912
+ var DropdownMenuRadioItem = React8.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
2941
2913
  DropdownMenuPrimitive.RadioItem,
2942
2914
  {
2943
2915
  ref,
@@ -2947,13 +2919,13 @@ var DropdownMenuRadioItem = React8.forwardRef(({ className, children, ...props }
2947
2919
  ),
2948
2920
  ...props,
2949
2921
  children: [
2950
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react5.Circle, { className: "h-2 w-2 fill-current" }) }) }),
2922
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react5.Circle, { className: "h-2 w-2 fill-current" }) }) }),
2951
2923
  children
2952
2924
  ]
2953
2925
  }
2954
2926
  ));
2955
2927
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
2956
- var DropdownMenuLabel = React8.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2928
+ var DropdownMenuLabel = React8.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
2957
2929
  DropdownMenuPrimitive.Label,
2958
2930
  {
2959
2931
  ref,
@@ -2962,10 +2934,10 @@ var DropdownMenuLabel = React8.forwardRef(({ className, inset, ...props }, ref)
2962
2934
  }
2963
2935
  ));
2964
2936
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
2965
- var DropdownMenuSeparator = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(DropdownMenuPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
2937
+ var DropdownMenuSeparator = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(DropdownMenuPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
2966
2938
  DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
2967
2939
  var DropdownMenuShortcut = ({ className, ...props }) => {
2968
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: cn("ml-auto text-xs tracking-widest opacity-60", className), ...props });
2940
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: cn("ml-auto text-xs tracking-widest opacity-60", className), ...props });
2969
2941
  };
2970
2942
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
2971
2943
 
@@ -2977,7 +2949,7 @@ var AlertDialogPrimitive = __toESM(require("@radix-ui/react-alert-dialog"), 1);
2977
2949
  var React9 = __toESM(require("react"), 1);
2978
2950
  var import_react_slot = require("@radix-ui/react-slot");
2979
2951
  var import_class_variance_authority = require("class-variance-authority");
2980
- var import_jsx_runtime18 = require("react/jsx-runtime");
2952
+ var import_jsx_runtime17 = require("react/jsx-runtime");
2981
2953
  var buttonVariants = (0, import_class_variance_authority.cva)(
2982
2954
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm 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",
2983
2955
  {
@@ -3007,17 +2979,17 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
3007
2979
  var Button = React9.forwardRef(
3008
2980
  ({ className, variant, size, asChild = false, ...props }, ref) => {
3009
2981
  const Comp = asChild ? import_react_slot.Slot : "button";
3010
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Comp, { className: cn(buttonVariants({ variant, size, className })), ref, ...props });
2982
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Comp, { className: cn(buttonVariants({ variant, size, className })), ref, ...props });
3011
2983
  }
3012
2984
  );
3013
2985
  Button.displayName = "Button";
3014
2986
 
3015
2987
  // src/components/ui/alert-dialog.tsx
3016
- var import_jsx_runtime19 = require("react/jsx-runtime");
2988
+ var import_jsx_runtime18 = require("react/jsx-runtime");
3017
2989
  var AlertDialog = AlertDialogPrimitive.Root;
3018
2990
  var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
3019
2991
  var AlertDialogPortal = AlertDialogPrimitive.Portal;
3020
- var AlertDialogOverlay = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2992
+ var AlertDialogOverlay = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3021
2993
  AlertDialogPrimitive.Overlay,
3022
2994
  {
3023
2995
  className: cn(
@@ -3029,9 +3001,9 @@ var AlertDialogOverlay = React10.forwardRef(({ className, ...props }, ref) => /*
3029
3001
  }
3030
3002
  ));
3031
3003
  AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
3032
- var AlertDialogContent = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(AlertDialogPortal, { children: [
3033
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AlertDialogOverlay, {}),
3034
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3004
+ var AlertDialogContent = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(AlertDialogPortal, { children: [
3005
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(AlertDialogOverlay, {}),
3006
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3035
3007
  AlertDialogPrimitive.Content,
3036
3008
  {
3037
3009
  ref,
@@ -3044,17 +3016,17 @@ var AlertDialogContent = React10.forwardRef(({ className, ...props }, ref) => /*
3044
3016
  )
3045
3017
  ] }));
3046
3018
  AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;
3047
- var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
3019
+ var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
3048
3020
  AlertDialogHeader.displayName = "AlertDialogHeader";
3049
- var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
3021
+ var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
3050
3022
  AlertDialogFooter.displayName = "AlertDialogFooter";
3051
- var AlertDialogTitle = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AlertDialogPrimitive.Title, { ref, className: cn("text-lg font-semibold", className), ...props }));
3023
+ var AlertDialogTitle = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(AlertDialogPrimitive.Title, { ref, className: cn("text-lg font-semibold", className), ...props }));
3052
3024
  AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
3053
- var AlertDialogDescription = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AlertDialogPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
3025
+ var AlertDialogDescription = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(AlertDialogPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
3054
3026
  AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
3055
- var AlertDialogAction = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AlertDialogPrimitive.Action, { ref, className: cn(buttonVariants(), className), ...props }));
3027
+ var AlertDialogAction = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(AlertDialogPrimitive.Action, { ref, className: cn(buttonVariants(), className), ...props }));
3056
3028
  AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
3057
- var AlertDialogCancel = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3029
+ var AlertDialogCancel = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3058
3030
  AlertDialogPrimitive.Cancel,
3059
3031
  {
3060
3032
  ref,
@@ -3068,12 +3040,12 @@ AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
3068
3040
  var React11 = __toESM(require("react"), 1);
3069
3041
  var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
3070
3042
  var import_lucide_react6 = require("lucide-react");
3071
- var import_jsx_runtime20 = require("react/jsx-runtime");
3043
+ var import_jsx_runtime19 = require("react/jsx-runtime");
3072
3044
  var Dialog = DialogPrimitive.Root;
3073
3045
  var DialogTrigger = DialogPrimitive.Trigger;
3074
3046
  var DialogPortal = DialogPrimitive.Portal;
3075
3047
  var DialogClose = DialogPrimitive.Close;
3076
- var DialogOverlay = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
3048
+ var DialogOverlay = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3077
3049
  DialogPrimitive.Overlay,
3078
3050
  {
3079
3051
  ref,
@@ -3085,9 +3057,9 @@ var DialogOverlay = React11.forwardRef(({ className, ...props }, ref) => /* @__P
3085
3057
  }
3086
3058
  ));
3087
3059
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
3088
- var DialogContent = React11.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(DialogPortal, { children: [
3089
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(DialogOverlay, {}),
3090
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
3060
+ var DialogContent = React11.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(DialogPortal, { children: [
3061
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(DialogOverlay, {}),
3062
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
3091
3063
  DialogPrimitive.Content,
3092
3064
  {
3093
3065
  ref,
@@ -3098,20 +3070,20 @@ var DialogContent = React11.forwardRef(({ className, children, ...props }, ref)
3098
3070
  ...props,
3099
3071
  children: [
3100
3072
  children,
3101
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none", children: [
3102
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_lucide_react6.X, { className: "h-4 w-4" }),
3103
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "sr-only", children: "Close" })
3073
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none", children: [
3074
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_lucide_react6.X, { className: "h-4 w-4" }),
3075
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "sr-only", children: "Close" })
3104
3076
  ] })
3105
3077
  ]
3106
3078
  }
3107
3079
  )
3108
3080
  ] }));
3109
3081
  DialogContent.displayName = DialogPrimitive.Content.displayName;
3110
- var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: cn("flex flex-col space-y-1.5 text-center sm:text-left", className), ...props });
3082
+ var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: cn("flex flex-col space-y-1.5 text-center sm:text-left", className), ...props });
3111
3083
  DialogHeader.displayName = "DialogHeader";
3112
- var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
3084
+ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
3113
3085
  DialogFooter.displayName = "DialogFooter";
3114
- var DialogTitle = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
3086
+ var DialogTitle = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3115
3087
  DialogPrimitive.Title,
3116
3088
  {
3117
3089
  ref,
@@ -3120,14 +3092,14 @@ var DialogTitle = React11.forwardRef(({ className, ...props }, ref) => /* @__PUR
3120
3092
  }
3121
3093
  ));
3122
3094
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
3123
- var DialogDescription = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(DialogPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
3095
+ var DialogDescription = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(DialogPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
3124
3096
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
3125
3097
 
3126
3098
  // src/components/ui/switch.tsx
3127
3099
  var React12 = __toESM(require("react"), 1);
3128
3100
  var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"), 1);
3129
- var import_jsx_runtime21 = require("react/jsx-runtime");
3130
- var Switch = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
3101
+ var import_jsx_runtime20 = require("react/jsx-runtime");
3102
+ var Switch = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
3131
3103
  SwitchPrimitives.Root,
3132
3104
  {
3133
3105
  className: cn(
@@ -3136,7 +3108,7 @@ var Switch = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
3136
3108
  ),
3137
3109
  ...props,
3138
3110
  ref,
3139
- children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
3111
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
3140
3112
  SwitchPrimitives.Thumb,
3141
3113
  {
3142
3114
  className: cn(
@@ -4810,6 +4782,47 @@ function useTelescupAssets(options) {
4810
4782
  };
4811
4783
  }
4812
4784
 
4785
+ // src/components/cupcode/TelescupImage.tsx
4786
+ var import_jsx_runtime21 = require("react/jsx-runtime");
4787
+ var TelescupImage = ({
4788
+ apiId,
4789
+ imageWidth,
4790
+ imageHeight,
4791
+ fit = "cover",
4792
+ format = "avif",
4793
+ quality = 60,
4794
+ lang = "pt-BR",
4795
+ alt,
4796
+ title,
4797
+ loading = "lazy",
4798
+ className,
4799
+ ...props
4800
+ }) => {
4801
+ const { url, meta } = useTelescupImage(
4802
+ {
4803
+ id: apiId,
4804
+ width: imageWidth,
4805
+ height: imageHeight,
4806
+ fit,
4807
+ format,
4808
+ quality
4809
+ },
4810
+ lang
4811
+ );
4812
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4813
+ "img",
4814
+ {
4815
+ src: url,
4816
+ "data-api-id": apiId,
4817
+ alt: alt || meta.alt || "",
4818
+ title: title || meta.title,
4819
+ loading,
4820
+ className,
4821
+ ...props
4822
+ }
4823
+ );
4824
+ };
4825
+
4813
4826
  // src/components/cupcode/TelescupVideo.tsx
4814
4827
  var import_jsx_runtime22 = require("react/jsx-runtime");
4815
4828
  var TelescupVideo = ({
@@ -6441,6 +6454,104 @@ var TelescupUpload = ({
6441
6454
  ] }) });
6442
6455
  };
6443
6456
 
6457
+ // src/lib/themePreference.ts
6458
+ var THEME_STORAGE_KEY = "cupcode-theme";
6459
+ var LEGACY_THEME_STORAGE_KEY = "theme";
6460
+ var THEME_PREFERENCE_STORAGE_KEY = "cupcode-theme-preference";
6461
+ var EXPERIENCE_SETTINGS_STORAGE_KEY = "cc_user_menu_experience_settings";
6462
+ var THEME_PREFERENCE_CHANGE_EVENT = "cupcode:theme-preference-change";
6463
+ function isStoredThemeMode(value) {
6464
+ return value === "light" || value === "dark";
6465
+ }
6466
+ function parseStoredThemePreference(value) {
6467
+ return value === "light" || value === "dark" || value === "system" ? value : null;
6468
+ }
6469
+ function normalizeStoredThemePreference(value) {
6470
+ var _a78;
6471
+ return (_a78 = parseStoredThemePreference(value)) != null ? _a78 : "system";
6472
+ }
6473
+ function readStoredThemeMode() {
6474
+ var _a78;
6475
+ if (typeof window === "undefined") return null;
6476
+ try {
6477
+ const storedTheme = (_a78 = window.localStorage.getItem(THEME_STORAGE_KEY)) != null ? _a78 : window.localStorage.getItem(LEGACY_THEME_STORAGE_KEY);
6478
+ return isStoredThemeMode(storedTheme) ? storedTheme : null;
6479
+ } catch (e) {
6480
+ return null;
6481
+ }
6482
+ }
6483
+ function resolveSystemThemeMode() {
6484
+ if (typeof window !== "undefined" && window.matchMedia("(prefers-color-scheme: dark)").matches) {
6485
+ return "dark";
6486
+ }
6487
+ return "light";
6488
+ }
6489
+ function resolveAppliedThemeMode(preference) {
6490
+ return preference === "system" ? resolveSystemThemeMode() : preference;
6491
+ }
6492
+ function readStoredExperienceSettingsRecord() {
6493
+ if (typeof window === "undefined") return null;
6494
+ try {
6495
+ const raw = window.localStorage.getItem(EXPERIENCE_SETTINGS_STORAGE_KEY);
6496
+ if (!raw) return null;
6497
+ const parsed = JSON.parse(raw);
6498
+ if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) {
6499
+ return null;
6500
+ }
6501
+ return parsed;
6502
+ } catch (e) {
6503
+ return null;
6504
+ }
6505
+ }
6506
+ function persistThemePreferenceSelection(preference) {
6507
+ if (typeof window === "undefined") return;
6508
+ const appliedMode = resolveAppliedThemeMode(preference);
6509
+ try {
6510
+ window.localStorage.setItem(THEME_PREFERENCE_STORAGE_KEY, preference);
6511
+ window.localStorage.setItem(THEME_STORAGE_KEY, appliedMode);
6512
+ window.localStorage.setItem(LEGACY_THEME_STORAGE_KEY, appliedMode);
6513
+ const currentExperienceSettings = readStoredExperienceSettingsRecord();
6514
+ window.localStorage.setItem(
6515
+ EXPERIENCE_SETTINGS_STORAGE_KEY,
6516
+ JSON.stringify({
6517
+ ...currentExperienceSettings != null ? currentExperienceSettings : {},
6518
+ theme: preference
6519
+ })
6520
+ );
6521
+ } catch (e) {
6522
+ }
6523
+ window.dispatchEvent(
6524
+ new CustomEvent(THEME_PREFERENCE_CHANGE_EVENT, {
6525
+ detail: {
6526
+ appliedMode,
6527
+ preference
6528
+ }
6529
+ })
6530
+ );
6531
+ }
6532
+ function resolveStoredThemePreference(experienceSettingsTheme) {
6533
+ var _a78;
6534
+ if (typeof window === "undefined") {
6535
+ return normalizeStoredThemePreference(experienceSettingsTheme);
6536
+ }
6537
+ try {
6538
+ const storedThemePreference = parseStoredThemePreference(
6539
+ window.localStorage.getItem(THEME_PREFERENCE_STORAGE_KEY)
6540
+ );
6541
+ if (storedThemePreference) {
6542
+ return storedThemePreference;
6543
+ }
6544
+ const parsedExperienceTheme = parseStoredThemePreference(experienceSettingsTheme);
6545
+ const storedThemeMode = readStoredThemeMode();
6546
+ if (parsedExperienceTheme === "system" && storedThemeMode) {
6547
+ return storedThemeMode;
6548
+ }
6549
+ return (_a78 = parsedExperienceTheme != null ? parsedExperienceTheme : storedThemeMode) != null ? _a78 : "system";
6550
+ } catch (e) {
6551
+ return normalizeStoredThemePreference(experienceSettingsTheme);
6552
+ }
6553
+ }
6554
+
6444
6555
  // src/components/cupcode/UserMenuCupcode.tsx
6445
6556
  var import_jsx_runtime35 = require("react/jsx-runtime");
6446
6557
  var PRESENCE_META = {
@@ -6530,12 +6641,9 @@ var CHAT_DELETED_PLACEHOLDER_TEXT = "Mensagem deletada";
6530
6641
  var CHAT_GROUP_PREFIX = "local-group";
6531
6642
  var NOTIFICATIONS_VISIBLE_LIMIT = 8;
6532
6643
  var CHAT_SETTINGS_STORAGE_KEY = "cc_user_menu_chat_settings";
6533
- var EXPERIENCE_SETTINGS_STORAGE_KEY = "cc_user_menu_experience_settings";
6644
+ var EXPERIENCE_SETTINGS_STORAGE_KEY2 = "cc_user_menu_experience_settings";
6534
6645
  var NOTIFICATION_PREFERENCES_STORAGE_KEY = "cc_user_menu_notification_preferences";
6535
6646
  var INTEGRATION_SETTINGS_STORAGE_KEY = "cc_user_menu_integration_connections";
6536
- var THEME_PREFERENCE_STORAGE_KEY = "cupcode-theme-preference";
6537
- var THEME_STORAGE_KEY = "cupcode-theme";
6538
- var LEGACY_THEME_STORAGE_KEY = "theme";
6539
6647
  var SHARED_FILE_URL_REGEX = /https?:\/\/[^\s]+/gi;
6540
6648
  var SHARED_FILE_EXTENSIONS = [
6541
6649
  ".pdf",
@@ -6712,12 +6820,6 @@ var defaultExperienceSettings = () => ({
6712
6820
  contrast: "normal",
6713
6821
  showEmailPublicly: true
6714
6822
  });
6715
- var normalizeThemePreference = (value) => {
6716
- const normalized = value == null ? void 0 : value.trim().toLowerCase();
6717
- if (normalized === "light") return "light";
6718
- if (normalized === "dark") return "dark";
6719
- return "system";
6720
- };
6721
6823
  var normalizeDensityMode = (value) => {
6722
6824
  return (value == null ? void 0 : value.trim().toLowerCase()) === "comfortable" ? "comfortable" : "compact";
6723
6825
  };
@@ -6725,16 +6827,13 @@ var normalizeContrastMode = (value) => {
6725
6827
  return (value == null ? void 0 : value.trim().toLowerCase()) === "high" ? "high" : "normal";
6726
6828
  };
6727
6829
  var readStoredExperienceSettings = () => {
6728
- var _a78, _b7, _c;
6729
6830
  const fallback = defaultExperienceSettings();
6730
6831
  if (typeof window === "undefined") return fallback;
6731
6832
  try {
6732
- const raw = window.localStorage.getItem(EXPERIENCE_SETTINGS_STORAGE_KEY);
6833
+ const raw = window.localStorage.getItem(EXPERIENCE_SETTINGS_STORAGE_KEY2);
6733
6834
  const parsed = raw ? JSON.parse(raw) : null;
6734
- const storedThemePreference = window.localStorage.getItem(THEME_PREFERENCE_STORAGE_KEY);
6735
- const legacyTheme = (_a78 = window.localStorage.getItem(THEME_STORAGE_KEY)) != null ? _a78 : window.localStorage.getItem(LEGACY_THEME_STORAGE_KEY);
6736
6835
  return {
6737
- theme: normalizeThemePreference((_c = (_b7 = parsed == null ? void 0 : parsed.theme) != null ? _b7 : storedThemePreference) != null ? _c : legacyTheme),
6836
+ theme: resolveStoredThemePreference(parsed == null ? void 0 : parsed.theme),
6738
6837
  density: normalizeDensityMode(parsed == null ? void 0 : parsed.density),
6739
6838
  contrast: normalizeContrastMode(parsed == null ? void 0 : parsed.contrast),
6740
6839
  showEmailPublicly: typeof (parsed == null ? void 0 : parsed.showEmailPublicly) === "boolean" ? parsed.showEmailPublicly : fallback.showEmailPublicly
@@ -6746,7 +6845,7 @@ var readStoredExperienceSettings = () => {
6746
6845
  var persistExperienceSettings = (settings) => {
6747
6846
  if (typeof window === "undefined") return;
6748
6847
  try {
6749
- window.localStorage.setItem(EXPERIENCE_SETTINGS_STORAGE_KEY, JSON.stringify(settings));
6848
+ window.localStorage.setItem(EXPERIENCE_SETTINGS_STORAGE_KEY2, JSON.stringify(settings));
6750
6849
  } catch (e) {
6751
6850
  }
6752
6851
  };
@@ -6778,29 +6877,16 @@ var persistIntegrationConnections = (connections) => {
6778
6877
  } catch (e) {
6779
6878
  }
6780
6879
  };
6781
- var resolveSystemThemeMode = () => {
6782
- if (typeof window !== "undefined" && window.matchMedia("(prefers-color-scheme: dark)").matches) {
6783
- return "dark";
6784
- }
6785
- return "light";
6786
- };
6787
- var resolveAppliedThemeMode = (preference) => {
6788
- return preference === "system" ? resolveSystemThemeMode() : preference;
6789
- };
6790
6880
  var applyThemePreference = (preference) => {
6791
6881
  if (typeof document === "undefined") return;
6792
6882
  const root = document.documentElement;
6793
6883
  const appliedMode = resolveAppliedThemeMode(preference);
6794
6884
  root.classList.toggle("dark", appliedMode === "dark");
6795
6885
  root.classList.toggle("light", appliedMode === "light");
6886
+ root.dataset.theme = appliedMode;
6796
6887
  root.dataset.cupcodeTheme = preference;
6797
- if (typeof window === "undefined") return;
6798
- try {
6799
- window.localStorage.setItem(THEME_PREFERENCE_STORAGE_KEY, preference);
6800
- window.localStorage.setItem(THEME_STORAGE_KEY, appliedMode);
6801
- window.localStorage.setItem(LEGACY_THEME_STORAGE_KEY, appliedMode);
6802
- } catch (e) {
6803
- }
6888
+ root.style.colorScheme = appliedMode;
6889
+ persistThemePreferenceSelection(preference);
6804
6890
  };
6805
6891
  var applyAccessibilityAttributes = (settings) => {
6806
6892
  if (typeof document === "undefined") return;
@@ -7605,6 +7691,17 @@ var UserMenuCupcode = ({
7605
7691
  (0, import_react15.useEffect)(() => {
7606
7692
  applyThemePreference(experienceSettings.theme);
7607
7693
  }, [experienceSettings.theme]);
7694
+ (0, import_react15.useEffect)(() => {
7695
+ if (typeof window === "undefined") return;
7696
+ const syncThemePreference = () => {
7697
+ const nextThemePreference = resolveStoredThemePreference();
7698
+ setExperienceSettings(
7699
+ (current) => current.theme === nextThemePreference ? current : { ...current, theme: nextThemePreference }
7700
+ );
7701
+ };
7702
+ window.addEventListener(THEME_PREFERENCE_CHANGE_EVENT, syncThemePreference);
7703
+ return () => window.removeEventListener(THEME_PREFERENCE_CHANGE_EVENT, syncThemePreference);
7704
+ }, []);
7608
7705
  (0, import_react15.useEffect)(() => {
7609
7706
  applyAccessibilityAttributes(experienceSettings);
7610
7707
  }, [experienceSettings]);
@@ -22311,7 +22408,7 @@ function ThemeToggle({ className }) {
22311
22408
  /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("style", { children: `
22312
22409
  :root {
22313
22410
  --toggle-width: 76px;
22314
- --toggle-height: 42px;
22411
+ --toggle-height: 38px;
22315
22412
  --thumb-size: 30px;
22316
22413
  --toggle-thumb-offset: 34px;
22317
22414
  --duration: 560ms;
@@ -22466,7 +22563,7 @@ function ThemeToggle({ className }) {
22466
22563
 
22467
22564
  .cc-theme-toggle .thumb {
22468
22565
  position: absolute;
22469
- top: 6px;
22566
+ top: 4px;
22470
22567
  left: 6px;
22471
22568
  width: var(--thumb-size);
22472
22569
  height: var(--thumb-size);
@@ -23076,6 +23173,7 @@ var DATE_WITH_YEAR_PT_BR_FORMATTER = new Intl.DateTimeFormat("pt-BR", {
23076
23173
  year: "numeric"
23077
23174
  });
23078
23175
  var CHAT_FEATURE_FLAGS_STORAGE_KEY = "cc_chat_feature_flags";
23176
+ var DEFAULT_LOGO_SLOT_CLASS_NAME = "h-10 w-[175px] shrink-0";
23079
23177
  var getDefaultChatFeatureFlags = () => ({
23080
23178
  hasReadAt: true,
23081
23179
  hasReplyToMessage: true,
@@ -24877,30 +24975,7 @@ var MainNavbar = ({
24877
24975
  }, [currentPathname, onNavigate, showNavItems]);
24878
24976
  const resolvedLogo = (0, import_react18.useMemo)(() => {
24879
24977
  if (logo !== void 0) return logo;
24880
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex items-center gap-[15px]", children: [
24881
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
24882
- TelescupImage,
24883
- {
24884
- apiId: "be574751-cf1b-499a-8473-360b4115b447",
24885
- imageWidth: 40,
24886
- imageHeight: 40,
24887
- alt: "Design System Cupcode",
24888
- loading: "eager",
24889
- className: "h-10 w-auto"
24890
- }
24891
- ),
24892
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
24893
- TelescupImage,
24894
- {
24895
- apiId: "3b913721-2eda-48fd-8d76-1a53055a337f",
24896
- imageWidth: 120,
24897
- imageHeight: 32,
24898
- alt: "Cupcode",
24899
- loading: "eager",
24900
- className: "h-8 w-auto"
24901
- }
24902
- )
24903
- ] });
24978
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: DEFAULT_LOGO_SLOT_CLASS_NAME, "aria-hidden": "true" });
24904
24979
  }, [logo]);
24905
24980
  const handleCtaClick = () => {
24906
24981
  if (onNavigate) {
@@ -25192,48 +25267,6 @@ var import_lucide_react10 = require("lucide-react");
25192
25267
  var import_react19 = require("react");
25193
25268
  var import_react_router_dom = require("react-router-dom");
25194
25269
 
25195
- // src/components/layout/DsNavbarLogo.tsx
25196
- var import_jsx_runtime40 = require("react/jsx-runtime");
25197
- var DsNavbarLogo = () => {
25198
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex items-center gap-[15px]", children: [
25199
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
25200
- TelescupImage,
25201
- {
25202
- apiId: "be574751-cf1b-499a-8473-360b4115b447",
25203
- imageWidth: 40,
25204
- imageHeight: 40,
25205
- alt: "Design System Cupcode",
25206
- loading: "eager",
25207
- className: "h-10 w-auto"
25208
- }
25209
- ),
25210
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
25211
- TelescupImage,
25212
- {
25213
- apiId: "3b913721-2eda-48fd-8d76-1a53055a337f",
25214
- imageWidth: 120,
25215
- imageHeight: 32,
25216
- alt: "Cupcode",
25217
- loading: "eager",
25218
- className: "h-8 w-auto"
25219
- }
25220
- )
25221
- ] });
25222
- };
25223
- var DsNavbarCompactLogo = () => {
25224
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
25225
- TelescupImage,
25226
- {
25227
- apiId: "be574751-cf1b-499a-8473-360b4115b447",
25228
- imageWidth: 32,
25229
- imageHeight: 32,
25230
- alt: "Cupcode",
25231
- loading: "eager",
25232
- className: "h-8 w-8 rounded-lg object-contain"
25233
- }
25234
- );
25235
- };
25236
-
25237
25270
  // src/components/layout/sidebar-groups.tsx
25238
25271
  var toStableId = (value) => value.toLowerCase().normalize("NFD").replace(/\p{Diacritic}+/gu, "").replace(/[^a-z0-9]+/g, "-").replace(/(^-|-$)+/g, "");
25239
25272
  var getGroupMetadata = (item) => {
@@ -25278,13 +25311,15 @@ var buildSidebarGroupsFromNavItems = (items, defaultGroupLabel = "Principal") =>
25278
25311
  var defaultSidebarGroups = buildSidebarGroupsFromNavItems(getMainNavItems());
25279
25312
 
25280
25313
  // src/components/layout/sidebar.tsx
25281
- var import_jsx_runtime41 = require("react/jsx-runtime");
25314
+ var import_jsx_runtime40 = require("react/jsx-runtime");
25282
25315
  var findGroupByRoute = (groups, pathname) => {
25283
25316
  var _a78, _b7;
25284
25317
  return (_b7 = (_a78 = groups.find((group) => group.items.some((item) => item.route === pathname))) == null ? void 0 : _a78.label) != null ? _b7 : null;
25285
25318
  };
25286
- var IconFallback = () => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react10.Circle, { className: "h-3 w-3 opacity-80", "aria-hidden": "true" });
25287
- var IconSlot = ({ icon, className }) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: cn("inline-flex items-center justify-center [&>svg]:h-4 [&>svg]:w-4", className), children: icon != null ? icon : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(IconFallback, {}) });
25319
+ var IconFallback = () => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react10.Circle, { className: "h-3 w-3 opacity-80", "aria-hidden": "true" });
25320
+ var DEFAULT_EXPANDED_LOGO_SLOT = /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "h-10 w-[175px] shrink-0", "aria-hidden": "true" });
25321
+ var DEFAULT_COLLAPSED_LOGO_SLOT = /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "h-8 w-8 shrink-0 rounded-lg", "aria-hidden": "true" });
25322
+ var IconSlot = ({ icon, className }) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: cn("inline-flex items-center justify-center [&>svg]:h-4 [&>svg]:w-4", className), children: icon != null ? icon : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(IconFallback, {}) });
25288
25323
  var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
25289
25324
  const location = (0, import_react_router_dom.useLocation)();
25290
25325
  const navScrollRef = (0, import_react19.useRef)(null);
@@ -25305,8 +25340,8 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
25305
25340
  })).filter((group) => group.items.length > 0);
25306
25341
  }, [normalizedQuery, resolvedGroups]);
25307
25342
  const visibleGroups = isCollapsed ? resolvedGroups : filteredGroups;
25308
- const resolvedExpandedLogo = logo != null ? logo : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DsNavbarLogo, {});
25309
- const resolvedCollapsedLogo = collapsedLogo != null ? collapsedLogo : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DsNavbarCompactLogo, {});
25343
+ const resolvedExpandedLogo = logo != null ? logo : DEFAULT_EXPANDED_LOGO_SLOT;
25344
+ const resolvedCollapsedLogo = collapsedLogo != null ? collapsedLogo : DEFAULT_COLLAPSED_LOGO_SLOT;
25310
25345
  (0, import_react19.useEffect)(() => {
25311
25346
  if (!openGroup && resolvedGroups.length > 0) {
25312
25347
  setOpenGroup(resolvedGroups[0].label);
@@ -25346,17 +25381,17 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
25346
25381
  window.cancelAnimationFrame(frame);
25347
25382
  };
25348
25383
  }, [location.pathname]);
25349
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
25384
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
25350
25385
  import_framer_motion.motion.aside,
25351
25386
  {
25352
25387
  className: "fixed left-0 top-0 h-full z-30 p-2 overflow-hidden",
25353
25388
  animate: { width: isCollapsed ? 76 : 320 },
25354
25389
  transition: { duration: 0.25, ease: "easeInOut" },
25355
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "h-full rounded-r-2xl border border-l-0 border-white/15 bg-background/40 p-3 shadow-[0_24px_44px_-30px_rgba(58,42,88,0.7)] backdrop-blur-xl [transform:translateZ(0)] flex flex-col overflow-hidden", children: [
25356
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: cn("mb-3 flex min-h-11 items-center", isCollapsed ? "justify-center" : "justify-start px-1"), children: isCollapsed ? resolvedCollapsedLogo : resolvedExpandedLogo }),
25357
- !isCollapsed ? /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "relative mb-3", children: [
25358
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react10.Search, { className: "pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-ink/65" }),
25359
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
25390
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "h-full rounded-r-2xl border border-l-0 border-white/15 bg-background/40 p-3 shadow-[0_24px_44px_-30px_rgba(58,42,88,0.7)] backdrop-blur-xl [transform:translateZ(0)] flex flex-col overflow-hidden", children: [
25391
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: cn("mb-3 flex min-h-11 items-center", isCollapsed ? "justify-center" : "justify-start px-1"), children: isCollapsed ? resolvedCollapsedLogo : resolvedExpandedLogo }),
25392
+ !isCollapsed ? /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "relative mb-3", children: [
25393
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react10.Search, { className: "pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-ink/65" }),
25394
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
25360
25395
  "input",
25361
25396
  {
25362
25397
  type: "search",
@@ -25367,9 +25402,9 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
25367
25402
  }
25368
25403
  )
25369
25404
  ] }) : null,
25370
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { ref: navScrollRef, className: "cc-scrollbar cc-scrollbar-purple flex-1 overflow-y-auto overflow-x-hidden pr-1", children: isCollapsed ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "flex flex-col items-center gap-2", children: resolvedGroups.map((group) => {
25405
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { ref: navScrollRef, className: "cc-scrollbar cc-scrollbar-purple flex-1 overflow-y-auto overflow-x-hidden pr-1", children: isCollapsed ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "flex flex-col items-center gap-2", children: resolvedGroups.map((group) => {
25371
25406
  const isActiveGroup = (activeGroup != null ? activeGroup : openGroup) === group.label;
25372
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
25407
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
25373
25408
  "button",
25374
25409
  {
25375
25410
  type: "button",
@@ -25382,14 +25417,14 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
25382
25417
  isActiveGroup ? "bg-cupcode-purple shadow-md text-white" : "bg-white/10 hover:bg-[rgba(151,90,182,0.30)] text-ink"
25383
25418
  ),
25384
25419
  "aria-label": `Abrir grupo ${group.label}`,
25385
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(IconSlot, { icon: group.icon, className: cn("[&>svg]:h-5 [&>svg]:w-5", isActiveGroup && "text-white") })
25420
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(IconSlot, { icon: group.icon, className: cn("[&>svg]:h-5 [&>svg]:w-5", isActiveGroup && "text-white") })
25386
25421
  },
25387
25422
  group.id
25388
25423
  );
25389
- }) }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "space-y-2", children: visibleGroups.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "rounded-xl bg-white/20 px-3 py-3 text-xs text-ink-muted", children: "Nenhum item encontrado." }) : visibleGroups.map((group) => {
25424
+ }) }) : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "space-y-2", children: visibleGroups.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "rounded-xl bg-white/20 px-3 py-3 text-xs text-ink-muted", children: "Nenhum item encontrado." }) : visibleGroups.map((group) => {
25390
25425
  const isOpen = openGroup === group.label;
25391
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("section", { className: "rounded-xl bg-white/14", children: [
25392
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
25426
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("section", { className: "rounded-xl bg-white/14", children: [
25427
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
25393
25428
  "button",
25394
25429
  {
25395
25430
  type: "button",
@@ -25397,13 +25432,13 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
25397
25432
  className: "flex w-full items-center gap-3 rounded-xl px-3 py-2.5 text-left transition-colors duration-200 hover:bg-[rgba(151,90,182,0.30)]",
25398
25433
  "aria-expanded": isOpen,
25399
25434
  children: [
25400
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(IconSlot, { icon: group.icon, className: "h-8 w-8 rounded-xl bg-white/55 text-ink" }),
25401
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "text-[11px] font-semibold uppercase tracking-[0.12em] text-ink/80", children: group.label }),
25402
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react10.ChevronDown, { className: cn("ml-auto h-4 w-4 text-ink/65 transition-transform", isOpen && "rotate-90") })
25435
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(IconSlot, { icon: group.icon, className: "h-8 w-8 rounded-xl bg-white/55 text-ink" }),
25436
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "text-[11px] font-semibold uppercase tracking-[0.12em] text-ink/80", children: group.label }),
25437
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react10.ChevronDown, { className: cn("ml-auto h-4 w-4 text-ink/65 transition-transform", isOpen && "rotate-90") })
25403
25438
  ]
25404
25439
  }
25405
25440
  ),
25406
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_framer_motion.AnimatePresence, { initial: false, children: isOpen ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
25441
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_framer_motion.AnimatePresence, { initial: false, children: isOpen ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
25407
25442
  import_framer_motion.motion.div,
25408
25443
  {
25409
25444
  initial: { height: 0 },
@@ -25411,9 +25446,9 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
25411
25446
  exit: { height: 0 },
25412
25447
  transition: { duration: 0.2, ease: "easeInOut" },
25413
25448
  className: "overflow-hidden",
25414
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("nav", { className: "space-y-1 pb-2", children: group.items.map((item) => {
25449
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("nav", { className: "space-y-1 pb-2", children: group.items.map((item) => {
25415
25450
  const isActive = location.pathname === item.route;
25416
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
25451
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
25417
25452
  import_react_router_dom.NavLink,
25418
25453
  {
25419
25454
  to: item.route,
@@ -25422,7 +25457,7 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
25422
25457
  isActive && "bg-white/40 font-medium text-ink"
25423
25458
  ),
25424
25459
  children: [
25425
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
25460
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
25426
25461
  IconSlot,
25427
25462
  {
25428
25463
  icon: item.icon,
@@ -25432,7 +25467,7 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
25432
25467
  )
25433
25468
  }
25434
25469
  ),
25435
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: cn("truncate", isActive && "font-medium"), children: item.label })
25470
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: cn("truncate", isActive && "font-medium"), children: item.label })
25436
25471
  ]
25437
25472
  },
25438
25473
  item.id
@@ -25448,7 +25483,7 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
25448
25483
  };
25449
25484
 
25450
25485
  // src/components/layout/main-layout.tsx
25451
- var import_jsx_runtime42 = require("react/jsx-runtime");
25486
+ var import_jsx_runtime41 = require("react/jsx-runtime");
25452
25487
  var SIDEBAR_COLLAPSED_WIDTH = 76;
25453
25488
  var SIDEBAR_EXPANDED_WIDTH = 320;
25454
25489
  var SIDEBAR_COLLAPSED_STORAGE_KEY = "cc-layout-sidebar-collapsed";
@@ -25487,8 +25522,8 @@ var MainLayout = ({
25487
25522
  () => cn(navbarOffsetClassName, navbarProps == null ? void 0 : navbarProps.className),
25488
25523
  [navbarOffsetClassName, navbarProps == null ? void 0 : navbarProps.className]
25489
25524
  );
25490
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: cn("relative min-h-screen", className), children: [
25491
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
25525
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: cn("relative min-h-screen", className), children: [
25526
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
25492
25527
  AppSidebar,
25493
25528
  {
25494
25529
  isCollapsed: sidebarCollapsed,
@@ -25497,7 +25532,7 @@ var MainLayout = ({
25497
25532
  collapsedLogo: sidebarCollapsedLogo
25498
25533
  }
25499
25534
  ),
25500
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
25535
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
25501
25536
  MainNavbar,
25502
25537
  {
25503
25538
  ...navbarProps,
@@ -25505,7 +25540,7 @@ var MainLayout = ({
25505
25540
  className: mergedNavbarClassName
25506
25541
  }
25507
25542
  ),
25508
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
25543
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
25509
25544
  "div",
25510
25545
  {
25511
25546
  className: "fixed z-[210]",
@@ -25513,14 +25548,14 @@ var MainLayout = ({
25513
25548
  left: contentMarginLeft - 22,
25514
25549
  top: "calc(max(env(safe-area-inset-top), 0px) + 18px)"
25515
25550
  },
25516
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
25551
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
25517
25552
  "button",
25518
25553
  {
25519
25554
  type: "button",
25520
25555
  onClick: toggleSidebar,
25521
25556
  "aria-label": sidebarCollapsed ? "Expandir sidebar" : "Recolher sidebar",
25522
25557
  className: "inline-flex h-20 w-11 items-center justify-center rounded-[22px] border border-white/20 bg-[hsla(258,34%,34%,0.4)] text-white/90 shadow-[0_12px_28px_-16px_rgba(0,0,0,0.75)] backdrop-blur-xl transition-colors duration-200 hover:bg-[hsla(258,38%,38%,0.52)]",
25523
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
25558
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
25524
25559
  import_lucide_react11.ChevronRight,
25525
25560
  {
25526
25561
  className: cn(
@@ -25533,7 +25568,7 @@ var MainLayout = ({
25533
25568
  )
25534
25569
  }
25535
25570
  ),
25536
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
25571
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
25537
25572
  "main",
25538
25573
  {
25539
25574
  className: cn("relative min-h-screen pt-24", contentClassName),
@@ -25550,7 +25585,7 @@ var MainLayout = ({
25550
25585
  // src/components/cupcode/ErrorBoundary.tsx
25551
25586
  var import_react21 = __toESM(require("react"), 1);
25552
25587
  var import_lucide_react12 = require("lucide-react");
25553
- var import_jsx_runtime43 = require("react/jsx-runtime");
25588
+ var import_jsx_runtime42 = require("react/jsx-runtime");
25554
25589
  var ErrorBoundary = class extends import_react21.default.Component {
25555
25590
  constructor(props) {
25556
25591
  super(props);
@@ -25570,17 +25605,17 @@ var ErrorBoundary = class extends import_react21.default.Component {
25570
25605
  if (this.props.fallback) {
25571
25606
  return this.props.fallback;
25572
25607
  }
25573
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "min-h-screen flex items-center justify-center p-6 bg-gradient-to-br from-cupcode-surface to-muted", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "max-w-md w-full glass rounded-xl p-8 text-center animate-scale-in", children: [
25574
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "mb-6 flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "p-4 rounded-full bg-destructive/10", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react12.AlertTriangle, { className: "w-12 h-12 text-destructive" }) }) }),
25575
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("h2", { className: "text-2xl font-display font-bold text-foreground mb-3", children: "Algo deu errado" }),
25576
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: "text-muted-foreground mb-6", children: "Desculpe, encontramos um erro inesperado. Por favor, tente novamente." }),
25577
- this.state.error && /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("details", { className: "mb-6 text-left", children: [
25578
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("summary", { className: "cursor-pointer text-sm text-muted-foreground hover:text-foreground", children: "Detalhes t\xE9cnicos" }),
25579
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("pre", { className: "mt-2 p-3 bg-muted rounded-md text-xs overflow-x-auto", children: this.state.error.message })
25608
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "min-h-screen flex items-center justify-center p-6 bg-gradient-to-br from-cupcode-surface to-muted", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "max-w-md w-full glass rounded-xl p-8 text-center animate-scale-in", children: [
25609
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "mb-6 flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "p-4 rounded-full bg-destructive/10", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react12.AlertTriangle, { className: "w-12 h-12 text-destructive" }) }) }),
25610
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("h2", { className: "text-2xl font-display font-bold text-foreground mb-3", children: "Algo deu errado" }),
25611
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "text-muted-foreground mb-6", children: "Desculpe, encontramos um erro inesperado. Por favor, tente novamente." }),
25612
+ this.state.error && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("details", { className: "mb-6 text-left", children: [
25613
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("summary", { className: "cursor-pointer text-sm text-muted-foreground hover:text-foreground", children: "Detalhes t\xE9cnicos" }),
25614
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("pre", { className: "mt-2 p-3 bg-muted rounded-md text-xs overflow-x-auto", children: this.state.error.message })
25580
25615
  ] }),
25581
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex gap-3 justify-center", children: [
25582
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(JellyButton, { onClick: this.handleReset, variant: "primary", children: "Tentar novamente" }),
25583
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(JellyButton, { onClick: () => window.location.href = "/", variant: "secondary", children: "Ir para in\xEDcio" })
25616
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex gap-3 justify-center", children: [
25617
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(JellyButton, { onClick: this.handleReset, variant: "primary", children: "Tentar novamente" }),
25618
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(JellyButton, { onClick: () => window.location.href = "/", variant: "secondary", children: "Ir para in\xEDcio" })
25584
25619
  ] })
25585
25620
  ] }) });
25586
25621
  }
@@ -25590,7 +25625,7 @@ var ErrorBoundary = class extends import_react21.default.Component {
25590
25625
 
25591
25626
  // src/components/cupcode/EyebrowCupcode.tsx
25592
25627
  var import_react22 = require("react");
25593
- var import_jsx_runtime44 = require("react/jsx-runtime");
25628
+ var import_jsx_runtime43 = require("react/jsx-runtime");
25594
25629
  var Eyebrow = (0, import_react22.forwardRef)(
25595
25630
  ({ variant = "galaxy", glow = false, className, children, ...props }, ref) => {
25596
25631
  const baseClasses = cn(
@@ -25606,7 +25641,7 @@ var Eyebrow = (0, import_react22.forwardRef)(
25606
25641
  purple: "bg-cupcode-purple text-white shadow-[0_0_20px_rgba(124,91,187,0.4)]",
25607
25642
  outline: "border-2 border-cupcode-purple text-cupcode-purple bg-transparent"
25608
25643
  };
25609
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
25644
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
25610
25645
  "div",
25611
25646
  {
25612
25647
  ref,
@@ -25620,7 +25655,7 @@ var Eyebrow = (0, import_react22.forwardRef)(
25620
25655
  Eyebrow.displayName = "Eyebrow";
25621
25656
 
25622
25657
  // src/components/cupcode/HeroTitle.tsx
25623
- var import_jsx_runtime45 = require("react/jsx-runtime");
25658
+ var import_jsx_runtime44 = require("react/jsx-runtime");
25624
25659
  var HeroTitle = ({
25625
25660
  eyebrow,
25626
25661
  smallPrefix,
@@ -25634,25 +25669,25 @@ var HeroTitle = ({
25634
25669
  3: "h3"
25635
25670
  };
25636
25671
  const Tag = headingTagMap[level];
25637
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: cn("space-y-3", className), children: [
25638
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "span-destaque animate-fade-in", children: eyebrow }),
25639
- /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(Tag, { className: "font-display font-bold leading-tight animate-slide-up", children: [
25640
- smallPrefix && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("small", { className: "block text-base font-normal opacity-70 mb-1", children: smallPrefix }),
25641
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("b", { className: "block bg-gradient-to-r from-cupcode-hover to-cupcode-purple bg-clip-text text-transparent", children: strong })
25672
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: cn("space-y-3", className), children: [
25673
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "span-destaque animate-fade-in", children: eyebrow }),
25674
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(Tag, { className: "font-display font-bold leading-tight animate-slide-up", children: [
25675
+ smallPrefix && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("small", { className: "block text-base font-normal opacity-70 mb-1", children: smallPrefix }),
25676
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("b", { className: "block bg-gradient-to-r from-cupcode-hover to-cupcode-purple bg-clip-text text-transparent", children: strong })
25642
25677
  ] })
25643
25678
  ] });
25644
25679
  };
25645
25680
 
25646
25681
  // src/components/cupcode/InputField.tsx
25647
25682
  var React25 = __toESM(require("react"), 1);
25648
- var import_jsx_runtime46 = require("react/jsx-runtime");
25683
+ var import_jsx_runtime45 = require("react/jsx-runtime");
25649
25684
  var InputField = React25.forwardRef(
25650
25685
  ({ className, type, label, error, leftIcon, rightIcon, ...props }, ref) => {
25651
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "cc-stack space-2 w-full", children: [
25652
- label && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("label", { className: "text-sm font-semibold text-cupcode-ink", children: label }),
25653
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "relative", children: [
25654
- leftIcon && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-cupcode-purple opacity-60", children: leftIcon }),
25655
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
25686
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "cc-stack space-2 w-full", children: [
25687
+ label && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("label", { className: "text-sm font-semibold text-cupcode-ink", children: label }),
25688
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "relative", children: [
25689
+ leftIcon && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-cupcode-purple opacity-60", children: leftIcon }),
25690
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
25656
25691
  "input",
25657
25692
  {
25658
25693
  type,
@@ -25674,16 +25709,16 @@ var InputField = React25.forwardRef(
25674
25709
  ...props
25675
25710
  }
25676
25711
  ),
25677
- rightIcon && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "absolute right-3 top-1/2 -translate-y-1/2 text-cupcode-purple opacity-60", children: rightIcon })
25712
+ rightIcon && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "absolute right-3 top-1/2 -translate-y-1/2 text-cupcode-purple opacity-60", children: rightIcon })
25678
25713
  ] }),
25679
- error && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("p", { className: "text-xs font-medium text-destructive animate-fade-in", children: error })
25714
+ error && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("p", { className: "text-xs font-medium text-destructive animate-fade-in", children: error })
25680
25715
  ] });
25681
25716
  }
25682
25717
  );
25683
25718
  InputField.displayName = "InputField";
25684
25719
 
25685
25720
  // src/components/cupcode/LoadingSpinner.tsx
25686
- var import_jsx_runtime47 = require("react/jsx-runtime");
25721
+ var import_jsx_runtime46 = require("react/jsx-runtime");
25687
25722
  var sizes = {
25688
25723
  sm: "h-4 w-4 border-2",
25689
25724
  md: "h-8 w-8 border-3",
@@ -25693,7 +25728,7 @@ var LoadingSpinner = ({
25693
25728
  size = "md",
25694
25729
  className
25695
25730
  }) => {
25696
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
25731
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
25697
25732
  "div",
25698
25733
  {
25699
25734
  className: cn(
@@ -25703,12 +25738,12 @@ var LoadingSpinner = ({
25703
25738
  ),
25704
25739
  role: "status",
25705
25740
  "aria-label": "Loading",
25706
- children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "sr-only", children: "Loading..." })
25741
+ children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "sr-only", children: "Loading..." })
25707
25742
  }
25708
25743
  );
25709
25744
  };
25710
25745
  var Skeleton2 = ({ className }) => {
25711
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
25746
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
25712
25747
  "div",
25713
25748
  {
25714
25749
  className: cn(
@@ -25719,7 +25754,7 @@ var Skeleton2 = ({ className }) => {
25719
25754
  );
25720
25755
  };
25721
25756
  var SkeletonText = ({ lines = 3 }) => {
25722
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "space-y-2", children: Array.from({ length: lines }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
25757
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "space-y-2", children: Array.from({ length: lines }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
25723
25758
  Skeleton2,
25724
25759
  {
25725
25760
  className: cn(
@@ -25732,7 +25767,7 @@ var SkeletonText = ({ lines = 3 }) => {
25732
25767
  };
25733
25768
 
25734
25769
  // src/components/cupcode/LoadingScreen.tsx
25735
- var import_jsx_runtime48 = require("react/jsx-runtime");
25770
+ var import_jsx_runtime47 = require("react/jsx-runtime");
25736
25771
  var LoadingScreen = ({
25737
25772
  message = "Carregando...",
25738
25773
  fullScreen = true,
@@ -25740,28 +25775,28 @@ var LoadingScreen = ({
25740
25775
  }) => {
25741
25776
  const containerClasses = fullScreen ? "fixed inset-0 z-50 flex items-center justify-center bg-background" : "flex items-center justify-center p-12";
25742
25777
  if (variant === "minimal") {
25743
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: containerClasses, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(LoadingSpinner, { size: "lg" }) });
25778
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: containerClasses, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(LoadingSpinner, { size: "lg" }) });
25744
25779
  }
25745
25780
  if (variant === "galaxy") {
25746
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: cn(containerClasses, "cc-gradient-galaxy"), children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "glass rounded-2xl p-8 flex flex-col items-center space-y-4 animate-scale-in", children: [
25747
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "relative", children: [
25748
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(LoadingSpinner, { size: "lg" }),
25749
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "absolute inset-0 blur-2xl bg-cupcode-hover/30 animate-pulse-scale" })
25781
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: cn(containerClasses, "cc-gradient-galaxy"), children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "glass rounded-2xl p-8 flex flex-col items-center space-y-4 animate-scale-in", children: [
25782
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "relative", children: [
25783
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(LoadingSpinner, { size: "lg" }),
25784
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "absolute inset-0 blur-2xl bg-cupcode-hover/30 animate-pulse-scale" })
25750
25785
  ] }),
25751
- message && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("p", { className: "text-white font-semibold text-lg animate-pulse", children: message })
25786
+ message && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-white font-semibold text-lg animate-pulse", children: message })
25752
25787
  ] }) });
25753
25788
  }
25754
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: containerClasses, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "glass rounded-2xl p-8 flex flex-col items-center space-y-6 animate-scale-in max-w-sm", children: [
25755
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "relative", children: [
25756
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "w-20 h-20 rounded-full cc-gradient-animated flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "w-16 h-16 rounded-full bg-background flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(LoadingSpinner, { size: "md" }) }) }),
25757
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "absolute inset-0 blur-xl bg-cupcode-purple/20 animate-pulse-scale -z-10" })
25789
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: containerClasses, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "glass rounded-2xl p-8 flex flex-col items-center space-y-6 animate-scale-in max-w-sm", children: [
25790
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "relative", children: [
25791
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "w-20 h-20 rounded-full cc-gradient-animated flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "w-16 h-16 rounded-full bg-background flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(LoadingSpinner, { size: "md" }) }) }),
25792
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "absolute inset-0 blur-xl bg-cupcode-purple/20 animate-pulse-scale -z-10" })
25758
25793
  ] }),
25759
- message && /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "text-center space-y-2", children: [
25760
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("p", { className: "font-bold text-lg cc-text-gradient-galaxy", children: message }),
25761
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex gap-1 justify-center", children: [
25762
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "w-2 h-2 rounded-full bg-cupcode-hover animate-bounce", style: { animationDelay: "0ms" } }),
25763
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "w-2 h-2 rounded-full bg-cupcode-purple animate-bounce", style: { animationDelay: "150ms" } }),
25764
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "w-2 h-2 rounded-full bg-cupcode-hover animate-bounce", style: { animationDelay: "300ms" } })
25794
+ message && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "text-center space-y-2", children: [
25795
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "font-bold text-lg cc-text-gradient-galaxy", children: message }),
25796
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex gap-1 justify-center", children: [
25797
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "w-2 h-2 rounded-full bg-cupcode-hover animate-bounce", style: { animationDelay: "0ms" } }),
25798
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "w-2 h-2 rounded-full bg-cupcode-purple animate-bounce", style: { animationDelay: "150ms" } }),
25799
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "w-2 h-2 rounded-full bg-cupcode-hover animate-bounce", style: { animationDelay: "300ms" } })
25765
25800
  ] })
25766
25801
  ] })
25767
25802
  ] }) });
@@ -25771,12 +25806,12 @@ var LoadingScreen = ({
25771
25806
  var React26 = __toESM(require("react"), 1);
25772
25807
  var DialogPrimitive3 = __toESM(require("@radix-ui/react-dialog"), 1);
25773
25808
  var import_lucide_react13 = require("lucide-react");
25774
- var import_jsx_runtime49 = require("react/jsx-runtime");
25809
+ var import_jsx_runtime48 = require("react/jsx-runtime");
25775
25810
  var Modal = DialogPrimitive3.Root;
25776
25811
  var ModalTrigger = DialogPrimitive3.Trigger;
25777
25812
  var ModalPortal = DialogPrimitive3.Portal;
25778
25813
  var ModalClose = DialogPrimitive3.Close;
25779
- var ModalOverlay = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
25814
+ var ModalOverlay = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
25780
25815
  DialogPrimitive3.Overlay,
25781
25816
  {
25782
25817
  ref,
@@ -25796,9 +25831,9 @@ var ModalContent = React26.forwardRef(({ className, children, size = "md", ...pr
25796
25831
  lg: "max-w-lg",
25797
25832
  xl: "max-w-xl"
25798
25833
  };
25799
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(ModalPortal, { children: [
25800
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ModalOverlay, {}),
25801
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
25834
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(ModalPortal, { children: [
25835
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ModalOverlay, {}),
25836
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
25802
25837
  DialogPrimitive3.Content,
25803
25838
  {
25804
25839
  ref,
@@ -25813,9 +25848,9 @@ var ModalContent = React26.forwardRef(({ className, children, size = "md", ...pr
25813
25848
  ...props,
25814
25849
  children: [
25815
25850
  children,
25816
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DialogPrimitive3.Close, { className: "absolute right-4 top-4 rounded-md p-1 opacity-70 ring-offset-background transition-opacity hover:opacity-100 hover:bg-cupcode-ink/10 focus:outline-none focus:ring-2 focus:ring-cupcode-purple focus:ring-offset-2 disabled:pointer-events-none", children: [
25817
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_lucide_react13.X, { className: "h-4 w-4" }),
25818
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "sr-only", children: "Close" })
25851
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(DialogPrimitive3.Close, { className: "absolute right-4 top-4 rounded-md p-1 opacity-70 ring-offset-background transition-opacity hover:opacity-100 hover:bg-cupcode-ink/10 focus:outline-none focus:ring-2 focus:ring-cupcode-purple focus:ring-offset-2 disabled:pointer-events-none", children: [
25852
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_lucide_react13.X, { className: "h-4 w-4" }),
25853
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "sr-only", children: "Close" })
25819
25854
  ] })
25820
25855
  ]
25821
25856
  }
@@ -25826,7 +25861,7 @@ ModalContent.displayName = DialogPrimitive3.Content.displayName;
25826
25861
  var ModalHeader = ({
25827
25862
  className,
25828
25863
  ...props
25829
- }) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
25864
+ }) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
25830
25865
  "div",
25831
25866
  {
25832
25867
  className: cn("flex flex-col space-y-2 text-center sm:text-left mb-4", className),
@@ -25837,7 +25872,7 @@ ModalHeader.displayName = "ModalHeader";
25837
25872
  var ModalFooter = ({
25838
25873
  className,
25839
25874
  ...props
25840
- }) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
25875
+ }) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
25841
25876
  "div",
25842
25877
  {
25843
25878
  className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2 mt-6", className),
@@ -25845,7 +25880,7 @@ var ModalFooter = ({
25845
25880
  }
25846
25881
  );
25847
25882
  ModalFooter.displayName = "ModalFooter";
25848
- var ModalTitle = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
25883
+ var ModalTitle = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
25849
25884
  DialogPrimitive3.Title,
25850
25885
  {
25851
25886
  ref,
@@ -25854,7 +25889,7 @@ var ModalTitle = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE
25854
25889
  }
25855
25890
  ));
25856
25891
  ModalTitle.displayName = DialogPrimitive3.Title.displayName;
25857
- var ModalDescription = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
25892
+ var ModalDescription = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
25858
25893
  DialogPrimitive3.Description,
25859
25894
  {
25860
25895
  ref,
@@ -25866,7 +25901,7 @@ ModalDescription.displayName = DialogPrimitive3.Description.displayName;
25866
25901
 
25867
25902
  // src/components/cupcode/ParticleSystem.tsx
25868
25903
  var import_react23 = require("react");
25869
- var import_jsx_runtime50 = require("react/jsx-runtime");
25904
+ var import_jsx_runtime49 = require("react/jsx-runtime");
25870
25905
  function ParticleSystem({
25871
25906
  count: count2 = 50,
25872
25907
  variant = "stars",
@@ -25938,7 +25973,7 @@ function ParticleSystem({
25938
25973
  cancelAnimationFrame(animationId);
25939
25974
  };
25940
25975
  }, [count2, variant]);
25941
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
25976
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
25942
25977
  "canvas",
25943
25978
  {
25944
25979
  ref: canvasRef,
@@ -25949,7 +25984,7 @@ function ParticleSystem({
25949
25984
 
25950
25985
  // src/components/cupcode/PricingCard.tsx
25951
25986
  var import_lucide_react14 = require("lucide-react");
25952
- var import_jsx_runtime51 = require("react/jsx-runtime");
25987
+ var import_jsx_runtime50 = require("react/jsx-runtime");
25953
25988
  function PricingCard({
25954
25989
  title,
25955
25990
  price,
@@ -25961,7 +25996,7 @@ function PricingCard({
25961
25996
  buttonText = "Escolher plano",
25962
25997
  className
25963
25998
  }) {
25964
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
25999
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
25965
26000
  CardGlass,
25966
26001
  {
25967
26002
  className: cn(
@@ -25971,17 +26006,17 @@ function PricingCard({
25971
26006
  className
25972
26007
  ),
25973
26008
  children: [
25974
- highlighted && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "absolute -top-4 left-1/2 -translate-x-1/2", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "bg-cupcode-purple text-white text-xs font-bold px-4 py-1 rounded-pill", children: "POPULAR" }) }),
25975
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "text-center mb-6", children: [
25976
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("h3", { className: "text-2xl font-display font-bold text-foreground mb-2", children: title }),
25977
- description && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("p", { className: "text-sm text-muted-foreground", children: description })
26009
+ highlighted && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "absolute -top-4 left-1/2 -translate-x-1/2", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "bg-cupcode-purple text-white text-xs font-bold px-4 py-1 rounded-pill", children: "POPULAR" }) }),
26010
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "text-center mb-6", children: [
26011
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("h3", { className: "text-2xl font-display font-bold text-foreground mb-2", children: title }),
26012
+ description && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("p", { className: "text-sm text-muted-foreground", children: description })
25978
26013
  ] }),
25979
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "text-center mb-8", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex items-baseline justify-center gap-2", children: [
25980
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "text-5xl font-display font-bold cc-text-gradient-galaxy", children: price }),
25981
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "text-muted-foreground", children: period })
26014
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "text-center mb-8", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex items-baseline justify-center gap-2", children: [
26015
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "text-5xl font-display font-bold cc-text-gradient-galaxy", children: price }),
26016
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "text-muted-foreground", children: period })
25982
26017
  ] }) }),
25983
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("ul", { className: "space-3 mb-8", children: features.map((feature, index) => /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("li", { className: "flex items-start gap-3", children: [
25984
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
26018
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("ul", { className: "space-3 mb-8", children: features.map((feature, index) => /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("li", { className: "flex items-start gap-3", children: [
26019
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
25985
26020
  import_lucide_react14.Check,
25986
26021
  {
25987
26022
  className: cn(
@@ -25990,7 +26025,7 @@ function PricingCard({
25990
26025
  )
25991
26026
  }
25992
26027
  ),
25993
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
26028
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
25994
26029
  "span",
25995
26030
  {
25996
26031
  className: cn(
@@ -26001,7 +26036,7 @@ function PricingCard({
26001
26036
  }
26002
26037
  )
26003
26038
  ] }, index)) }),
26004
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
26039
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
26005
26040
  JellyButton,
26006
26041
  {
26007
26042
  onClick: onSelect,
@@ -26018,7 +26053,7 @@ function PricingCard({
26018
26053
  // src/components/cupcode/ProgressCupcode.tsx
26019
26054
  var React27 = __toESM(require("react"), 1);
26020
26055
  var ProgressPrimitive2 = __toESM(require("@radix-ui/react-progress"), 1);
26021
- var import_jsx_runtime52 = require("react/jsx-runtime");
26056
+ var import_jsx_runtime51 = require("react/jsx-runtime");
26022
26057
  var ProgressCupcode = React27.forwardRef(({ className, value, variant = "default", showLabel = false, size = "md", ...props }, ref) => {
26023
26058
  const sizeClasses2 = {
26024
26059
  sm: "h-2",
@@ -26032,15 +26067,15 @@ var ProgressCupcode = React27.forwardRef(({ className, value, variant = "default
26032
26067
  warning: "bg-warning",
26033
26068
  error: "bg-destructive"
26034
26069
  };
26035
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "w-full space-y-2", children: [
26036
- showLabel && /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "flex items-center justify-between text-sm", children: [
26037
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "font-semibold text-foreground", children: "Progresso" }),
26038
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { className: "text-muted-foreground", children: [
26070
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "w-full space-y-2", children: [
26071
+ showLabel && /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex items-center justify-between text-sm", children: [
26072
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "font-semibold text-foreground", children: "Progresso" }),
26073
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("span", { className: "text-muted-foreground", children: [
26039
26074
  value,
26040
26075
  "%"
26041
26076
  ] })
26042
26077
  ] }),
26043
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
26078
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
26044
26079
  ProgressPrimitive2.Root,
26045
26080
  {
26046
26081
  ref,
@@ -26050,7 +26085,7 @@ var ProgressCupcode = React27.forwardRef(({ className, value, variant = "default
26050
26085
  className
26051
26086
  ),
26052
26087
  ...props,
26053
- children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
26088
+ children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
26054
26089
  ProgressPrimitive2.Indicator,
26055
26090
  {
26056
26091
  className: cn(
@@ -26068,7 +26103,7 @@ ProgressCupcode.displayName = "ProgressCupcode";
26068
26103
 
26069
26104
  // src/components/cupcode/ScrollbarTheme.tsx
26070
26105
  var React28 = __toESM(require("react"), 1);
26071
- var import_jsx_runtime53 = require("react/jsx-runtime");
26106
+ var import_jsx_runtime52 = require("react/jsx-runtime");
26072
26107
  var SCROLLBAR_COLOR_ATTR = "data-cc-scrollbar-color";
26073
26108
  var SCROLLBAR_THEME_ATTR = "data-cc-scrollbar-theme";
26074
26109
  var ScrollbarThemeProvider = ({
@@ -26107,7 +26142,7 @@ var ScrollbarThemeProvider = ({
26107
26142
  return null;
26108
26143
  };
26109
26144
  var ScrollbarArea = React28.forwardRef(
26110
- ({ color = "purple", theme = "auto", className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
26145
+ ({ color = "purple", theme = "auto", className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
26111
26146
  "div",
26112
26147
  {
26113
26148
  ref,
@@ -26128,11 +26163,11 @@ ScrollbarArea.displayName = "ScrollbarArea";
26128
26163
  var React29 = __toESM(require("react"), 1);
26129
26164
  var SelectPrimitive2 = __toESM(require("@radix-ui/react-select"), 1);
26130
26165
  var import_lucide_react15 = require("lucide-react");
26131
- var import_jsx_runtime54 = require("react/jsx-runtime");
26166
+ var import_jsx_runtime53 = require("react/jsx-runtime");
26132
26167
  var Select2 = SelectPrimitive2.Root;
26133
26168
  var SelectGroup2 = SelectPrimitive2.Group;
26134
26169
  var SelectValue2 = SelectPrimitive2.Value;
26135
- var SelectTrigger2 = React29.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
26170
+ var SelectTrigger2 = React29.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
26136
26171
  SelectPrimitive2.Trigger,
26137
26172
  {
26138
26173
  ref,
@@ -26150,12 +26185,12 @@ var SelectTrigger2 = React29.forwardRef(({ className, children, ...props }, ref)
26150
26185
  ...props,
26151
26186
  children: [
26152
26187
  children,
26153
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SelectPrimitive2.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_lucide_react15.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
26188
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectPrimitive2.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_lucide_react15.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
26154
26189
  ]
26155
26190
  }
26156
26191
  ));
26157
26192
  SelectTrigger2.displayName = SelectPrimitive2.Trigger.displayName;
26158
- var SelectContent2 = React29.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SelectPrimitive2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
26193
+ var SelectContent2 = React29.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectPrimitive2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
26159
26194
  SelectPrimitive2.Content,
26160
26195
  {
26161
26196
  ref,
@@ -26172,7 +26207,7 @@ var SelectContent2 = React29.forwardRef(({ className, children, position = "popp
26172
26207
  ),
26173
26208
  position,
26174
26209
  ...props,
26175
- children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
26210
+ children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
26176
26211
  SelectPrimitive2.Viewport,
26177
26212
  {
26178
26213
  className: cn(
@@ -26185,7 +26220,7 @@ var SelectContent2 = React29.forwardRef(({ className, children, position = "popp
26185
26220
  }
26186
26221
  ) }));
26187
26222
  SelectContent2.displayName = SelectPrimitive2.Content.displayName;
26188
- var SelectItem2 = React29.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
26223
+ var SelectItem2 = React29.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
26189
26224
  SelectPrimitive2.Item,
26190
26225
  {
26191
26226
  ref,
@@ -26198,8 +26233,8 @@ var SelectItem2 = React29.forwardRef(({ className, children, ...props }, ref) =>
26198
26233
  ),
26199
26234
  ...props,
26200
26235
  children: [
26201
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SelectPrimitive2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_lucide_react15.Check, { className: "h-4 w-4 text-cupcode-purple" }) }) }),
26202
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SelectPrimitive2.ItemText, { children })
26236
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectPrimitive2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_lucide_react15.Check, { className: "h-4 w-4 text-cupcode-purple" }) }) }),
26237
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectPrimitive2.ItemText, { children })
26203
26238
  ]
26204
26239
  }
26205
26240
  ));
@@ -26213,21 +26248,21 @@ var SelectField = ({
26213
26248
  options,
26214
26249
  disabled
26215
26250
  }) => {
26216
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "cc-stack space-2 w-full", children: [
26217
- label && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("label", { className: "text-sm font-semibold text-cupcode-ink", children: label }),
26218
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Select2, { value, onValueChange, disabled, children: [
26219
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SelectTrigger2, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SelectValue2, { placeholder }) }),
26220
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SelectContent2, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SelectGroup2, { children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SelectItem2, { value: option.value, children: option.label }, option.value)) }) })
26251
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "cc-stack space-2 w-full", children: [
26252
+ label && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("label", { className: "text-sm font-semibold text-cupcode-ink", children: label }),
26253
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Select2, { value, onValueChange, disabled, children: [
26254
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectTrigger2, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectValue2, { placeholder }) }),
26255
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectContent2, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectGroup2, { children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectItem2, { value: option.value, children: option.label }, option.value)) }) })
26221
26256
  ] }),
26222
- error && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: "text-xs font-medium text-destructive animate-fade-in", children: error })
26257
+ error && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: "text-xs font-medium text-destructive animate-fade-in", children: error })
26223
26258
  ] });
26224
26259
  };
26225
26260
 
26226
26261
  // src/components/cupcode/SwitchField.tsx
26227
26262
  var React30 = __toESM(require("react"), 1);
26228
26263
  var SwitchPrimitives2 = __toESM(require("@radix-ui/react-switch"), 1);
26229
- var import_jsx_runtime55 = require("react/jsx-runtime");
26230
- var Switch2 = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
26264
+ var import_jsx_runtime54 = require("react/jsx-runtime");
26265
+ var Switch2 = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
26231
26266
  SwitchPrimitives2.Root,
26232
26267
  {
26233
26268
  className: cn(
@@ -26242,7 +26277,7 @@ var Switch2 = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__
26242
26277
  ),
26243
26278
  ...props,
26244
26279
  ref,
26245
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
26280
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
26246
26281
  SwitchPrimitives2.Thumb,
26247
26282
  {
26248
26283
  className: cn(
@@ -26258,21 +26293,21 @@ var Switch2 = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__
26258
26293
  ));
26259
26294
  Switch2.displayName = SwitchPrimitives2.Root.displayName;
26260
26295
  var SwitchField = ({ label, description, ...props }) => {
26261
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex items-center justify-between space-x-4", children: [
26262
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "cc-stack space-1 flex-1", children: [
26263
- label && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("label", { className: "text-sm font-semibold text-cupcode-ink cursor-pointer", children: label }),
26264
- description && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: "text-xs text-muted-foreground", children: description })
26296
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex items-center justify-between space-x-4", children: [
26297
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "cc-stack space-1 flex-1", children: [
26298
+ label && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("label", { className: "text-sm font-semibold text-cupcode-ink cursor-pointer", children: label }),
26299
+ description && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: "text-xs text-muted-foreground", children: description })
26265
26300
  ] }),
26266
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Switch2, { ...props })
26301
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Switch2, { ...props })
26267
26302
  ] });
26268
26303
  };
26269
26304
 
26270
26305
  // src/components/cupcode/TabsCupcode.tsx
26271
26306
  var React31 = __toESM(require("react"), 1);
26272
26307
  var TabsPrimitive2 = __toESM(require("@radix-ui/react-tabs"), 1);
26273
- var import_jsx_runtime56 = require("react/jsx-runtime");
26308
+ var import_jsx_runtime55 = require("react/jsx-runtime");
26274
26309
  var Tabs2 = TabsPrimitive2.Root;
26275
- var TabsList2 = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
26310
+ var TabsList2 = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
26276
26311
  TabsPrimitive2.List,
26277
26312
  {
26278
26313
  ref,
@@ -26285,7 +26320,7 @@ var TabsList2 = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE_
26285
26320
  }
26286
26321
  ));
26287
26322
  TabsList2.displayName = TabsPrimitive2.List.displayName;
26288
- var TabsTrigger2 = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
26323
+ var TabsTrigger2 = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
26289
26324
  TabsPrimitive2.Trigger,
26290
26325
  {
26291
26326
  ref,
@@ -26307,7 +26342,7 @@ var TabsTrigger2 = React31.forwardRef(({ className, ...props }, ref) => /* @__PU
26307
26342
  }
26308
26343
  ));
26309
26344
  TabsTrigger2.displayName = TabsPrimitive2.Trigger.displayName;
26310
- var TabsContent2 = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
26345
+ var TabsContent2 = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
26311
26346
  TabsPrimitive2.Content,
26312
26347
  {
26313
26348
  ref,
@@ -26324,12 +26359,12 @@ TabsContent2.displayName = TabsPrimitive2.Content.displayName;
26324
26359
 
26325
26360
  // src/components/cupcode/TextareaField.tsx
26326
26361
  var React32 = __toESM(require("react"), 1);
26327
- var import_jsx_runtime57 = require("react/jsx-runtime");
26362
+ var import_jsx_runtime56 = require("react/jsx-runtime");
26328
26363
  var TextareaField = React32.forwardRef(
26329
26364
  ({ className, label, error, ...props }, ref) => {
26330
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "cc-stack space-2 w-full", children: [
26331
- label && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("label", { className: "text-sm font-semibold text-cupcode-ink", children: label }),
26332
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
26365
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "cc-stack space-2 w-full", children: [
26366
+ label && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("label", { className: "text-sm font-semibold text-cupcode-ink", children: label }),
26367
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
26333
26368
  "textarea",
26334
26369
  {
26335
26370
  className: cn(
@@ -26349,7 +26384,7 @@ var TextareaField = React32.forwardRef(
26349
26384
  ...props
26350
26385
  }
26351
26386
  ),
26352
- error && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: "text-xs font-medium text-destructive animate-fade-in", children: error })
26387
+ error && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: "text-xs font-medium text-destructive animate-fade-in", children: error })
26353
26388
  ] });
26354
26389
  }
26355
26390
  );
@@ -26358,7 +26393,7 @@ TextareaField.displayName = "TextareaField";
26358
26393
  // src/components/cupcode/ThemeToggle.tsx
26359
26394
  var React33 = __toESM(require("react"), 1);
26360
26395
  var import_lucide_react16 = require("lucide-react");
26361
- var import_jsx_runtime58 = require("react/jsx-runtime");
26396
+ var import_jsx_runtime57 = require("react/jsx-runtime");
26362
26397
  var THEME_STORAGE_KEY2 = "cupcode-theme";
26363
26398
  function isThemeMode(value) {
26364
26399
  return value === "light" || value === "dark";
@@ -26386,13 +26421,25 @@ function applyThemeClass(theme) {
26386
26421
  const root = document.documentElement;
26387
26422
  root.classList.toggle("dark", theme === "dark");
26388
26423
  root.classList.toggle("light", theme === "light");
26424
+ root.dataset.theme = theme;
26425
+ root.style.colorScheme = theme;
26426
+ }
26427
+ function readThemeFromRoot() {
26428
+ var _a78;
26429
+ if (typeof document === "undefined") return null;
26430
+ const root = document.documentElement;
26431
+ const datasetTheme = (_a78 = root.dataset.theme) != null ? _a78 : null;
26432
+ if (isThemeMode(datasetTheme)) return datasetTheme;
26433
+ if (root.classList.contains("dark")) return "dark";
26434
+ if (root.classList.contains("light")) return "light";
26435
+ return null;
26389
26436
  }
26390
26437
  function resolveTheme(defaultTheme) {
26438
+ const rootTheme = readThemeFromRoot();
26439
+ if (rootTheme) return rootTheme;
26391
26440
  const storedTheme = readStoredTheme();
26392
26441
  if (storedTheme) return storedTheme;
26393
26442
  if (typeof document === "undefined") return defaultTheme;
26394
- if (document.documentElement.classList.contains("dark")) return "dark";
26395
- if (document.documentElement.classList.contains("light")) return "light";
26396
26443
  if (typeof window !== "undefined" && window.matchMedia("(prefers-color-scheme: dark)").matches) {
26397
26444
  return "dark";
26398
26445
  }
@@ -26405,43 +26452,57 @@ var ThemeToggle2 = ({
26405
26452
  onThemeChange
26406
26453
  }) => {
26407
26454
  var _a78;
26455
+ const themeContext = React33.useContext(ThemeContext);
26408
26456
  const [mounted, setMounted] = React33.useState(false);
26409
26457
  const [internalTheme, setInternalTheme] = React33.useState(defaultTheme);
26410
26458
  const isControlled = typeof theme !== "undefined";
26411
- const activeTheme = (_a78 = isControlled ? theme : internalTheme) != null ? _a78 : defaultTheme;
26459
+ const usesProviderTheme = !isControlled && themeContext !== null;
26460
+ const activeTheme = (_a78 = isControlled ? theme : usesProviderTheme ? themeContext.theme : internalTheme) != null ? _a78 : defaultTheme;
26412
26461
  React33.useEffect(() => {
26413
- if (!isControlled) {
26462
+ if (!isControlled && !usesProviderTheme) {
26414
26463
  setInternalTheme(resolveTheme(defaultTheme));
26415
26464
  }
26416
26465
  setMounted(true);
26417
- }, [defaultTheme, isControlled]);
26466
+ }, [defaultTheme, isControlled, usesProviderTheme]);
26418
26467
  React33.useEffect(() => {
26419
- if (!mounted) return;
26468
+ if (!mounted || usesProviderTheme) return;
26420
26469
  applyThemeClass(activeTheme);
26421
26470
  writeStoredTheme(activeTheme);
26422
- }, [activeTheme, mounted]);
26471
+ }, [activeTheme, mounted, usesProviderTheme]);
26423
26472
  React33.useEffect(() => {
26424
- if (isControlled || typeof document === "undefined") return;
26473
+ if (isControlled || usesProviderTheme || typeof document === "undefined") return;
26425
26474
  const observer = new MutationObserver(() => {
26426
26475
  const resolvedTheme = resolveTheme(defaultTheme);
26427
26476
  setInternalTheme((currentTheme) => currentTheme === resolvedTheme ? currentTheme : resolvedTheme);
26428
26477
  });
26429
- observer.observe(document.documentElement, { attributes: true, attributeFilter: ["class"] });
26478
+ observer.observe(document.documentElement, { attributes: true, attributeFilter: ["class", "data-theme"] });
26430
26479
  return () => observer.disconnect();
26431
- }, [defaultTheme, isControlled]);
26480
+ }, [defaultTheme, isControlled, usesProviderTheme]);
26432
26481
  if (!mounted) {
26433
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: cn("w-10 h-10 rounded-lg bg-muted", className) });
26482
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: cn("w-10 h-10 rounded-lg bg-muted", className) });
26434
26483
  }
26435
- const handleToggle = () => {
26436
- const nextTheme = activeTheme === "dark" ? "light" : "dark";
26484
+ const handleToggle = (event) => {
26485
+ var _a79;
26486
+ const currentTheme = (_a79 = readThemeFromRoot()) != null ? _a79 : activeTheme;
26487
+ const nextTheme = currentTheme === "dark" ? "light" : "dark";
26488
+ if (usesProviderTheme) {
26489
+ themeContext.toggleTheme({
26490
+ x: event.clientX,
26491
+ y: event.clientY
26492
+ });
26493
+ onThemeChange == null ? void 0 : onThemeChange(nextTheme);
26494
+ return;
26495
+ }
26496
+ persistThemePreferenceSelection(nextTheme);
26437
26497
  if (!isControlled) {
26438
26498
  setInternalTheme(nextTheme);
26439
26499
  }
26440
26500
  onThemeChange == null ? void 0 : onThemeChange(nextTheme);
26441
26501
  };
26442
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
26502
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
26443
26503
  "button",
26444
26504
  {
26505
+ type: "button",
26445
26506
  onClick: handleToggle,
26446
26507
  className: cn(
26447
26508
  "relative inline-flex items-center justify-center w-10 h-10",
@@ -26452,9 +26513,9 @@ var ThemeToggle2 = ({
26452
26513
  ),
26453
26514
  "aria-label": "Toggle theme",
26454
26515
  children: [
26455
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_lucide_react16.Sun, { className: "h-5 w-5 text-cupcode-purple rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" }),
26456
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_lucide_react16.Moon, { className: "absolute h-5 w-5 text-cupcode-hover rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" }),
26457
- /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("span", { className: "sr-only", children: [
26516
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_lucide_react16.Sun, { className: "h-5 w-5 text-cupcode-purple rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" }),
26517
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_lucide_react16.Moon, { className: "absolute h-5 w-5 text-cupcode-hover rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" }),
26518
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("span", { className: "sr-only", children: [
26458
26519
  "Current theme: ",
26459
26520
  activeTheme
26460
26521
  ] })
@@ -26466,7 +26527,7 @@ var ThemeToggle2 = ({
26466
26527
  // src/components/theme-provider.tsx
26467
26528
  var import_react24 = require("react");
26468
26529
  var import_react_dom = require("react-dom");
26469
- var import_jsx_runtime59 = require("react/jsx-runtime");
26530
+ var import_jsx_runtime58 = require("react/jsx-runtime");
26470
26531
  var STORAGE_KEY2 = "cupcode-theme";
26471
26532
  var LEGACY_STORAGE_KEY = "theme";
26472
26533
  function getPreferredTheme() {
@@ -26483,6 +26544,27 @@ function getStoredTheme() {
26483
26544
  const storedTheme = (_a78 = window.localStorage.getItem(STORAGE_KEY2)) != null ? _a78 : window.localStorage.getItem(LEGACY_STORAGE_KEY);
26484
26545
  return storedTheme === "light" || storedTheme === "dark" ? storedTheme : null;
26485
26546
  }
26547
+ function getThemeFromRoot() {
26548
+ if (typeof document === "undefined") {
26549
+ return null;
26550
+ }
26551
+ const { documentElement: root } = document;
26552
+ const datasetTheme = root.dataset.theme;
26553
+ if (datasetTheme === "light" || datasetTheme === "dark") {
26554
+ return datasetTheme;
26555
+ }
26556
+ if (root.classList.contains("dark")) {
26557
+ return "dark";
26558
+ }
26559
+ if (root.classList.contains("light")) {
26560
+ return "light";
26561
+ }
26562
+ return null;
26563
+ }
26564
+ function resolveTheme2() {
26565
+ var _a78, _b7;
26566
+ return (_b7 = (_a78 = getThemeFromRoot()) != null ? _a78 : getStoredTheme()) != null ? _b7 : getPreferredTheme();
26567
+ }
26486
26568
  function applyThemeToRoot(theme) {
26487
26569
  const root = document.documentElement;
26488
26570
  root.classList.toggle("dark", theme === "dark");
@@ -26495,15 +26577,11 @@ function persistTheme(theme) {
26495
26577
  window.localStorage.setItem(LEGACY_STORAGE_KEY, theme);
26496
26578
  }
26497
26579
  function ThemeProvider({ children }) {
26498
- const [theme, setThemeState] = (0, import_react24.useState)(() => {
26499
- var _a78;
26500
- return (_a78 = getStoredTheme()) != null ? _a78 : getPreferredTheme();
26501
- });
26580
+ const [theme, setThemeState] = (0, import_react24.useState)(() => resolveTheme2());
26502
26581
  const [mounted, setMounted] = (0, import_react24.useState)(false);
26503
26582
  (0, import_react24.useEffect)(() => {
26504
- var _a78;
26505
- const initialTheme = (_a78 = getStoredTheme()) != null ? _a78 : getPreferredTheme();
26506
- setThemeState(initialTheme);
26583
+ const initialTheme = resolveTheme2();
26584
+ setThemeState((currentTheme) => currentTheme === initialTheme ? currentTheme : initialTheme);
26507
26585
  applyThemeToRoot(initialTheme);
26508
26586
  setMounted(true);
26509
26587
  }, []);
@@ -26511,8 +26589,14 @@ function ThemeProvider({ children }) {
26511
26589
  if (!mounted) {
26512
26590
  return;
26513
26591
  }
26514
- persistTheme(theme);
26515
- applyThemeToRoot(theme);
26592
+ const rootTheme = getThemeFromRoot();
26593
+ if (rootTheme !== theme) {
26594
+ applyThemeToRoot(theme);
26595
+ }
26596
+ const storedTheme = getStoredTheme();
26597
+ if (storedTheme !== theme) {
26598
+ persistTheme(theme);
26599
+ }
26516
26600
  }, [mounted, theme]);
26517
26601
  (0, import_react24.useEffect)(() => {
26518
26602
  if (typeof window === "undefined") {
@@ -26530,35 +26614,65 @@ function ThemeProvider({ children }) {
26530
26614
  mediaQuery.addEventListener("change", handleChange);
26531
26615
  return () => mediaQuery.removeEventListener("change", handleChange);
26532
26616
  }, []);
26533
- const setTheme = (0, import_react24.useCallback)((nextTheme) => {
26534
- setThemeState(nextTheme);
26617
+ (0, import_react24.useEffect)(() => {
26618
+ if (typeof document === "undefined") {
26619
+ return;
26620
+ }
26621
+ const root = document.documentElement;
26622
+ const observer = new MutationObserver(() => {
26623
+ const rootTheme = getThemeFromRoot();
26624
+ if (!rootTheme) {
26625
+ return;
26626
+ }
26627
+ setThemeState((currentTheme) => currentTheme === rootTheme ? currentTheme : rootTheme);
26628
+ });
26629
+ observer.observe(root, {
26630
+ attributes: true,
26631
+ attributeFilter: ["class", "data-theme"]
26632
+ });
26633
+ return () => observer.disconnect();
26535
26634
  }, []);
26536
- const toggleTheme = (0, import_react24.useCallback)((coords) => {
26635
+ const applyThemeSelection = (0, import_react24.useCallback)((nextTheme, coords) => {
26537
26636
  var _a78;
26538
26637
  const documentWithTransition = document;
26638
+ const root = document.documentElement;
26539
26639
  const prefersReducedMotion = window.matchMedia(
26540
26640
  "(prefers-reduced-motion: reduce)"
26541
26641
  ).matches;
26542
26642
  const supportsTransition = typeof documentWithTransition.startViewTransition === "function";
26543
- const flipTheme = () => {
26643
+ const commitTheme = () => {
26644
+ applyThemeToRoot(nextTheme);
26645
+ persistThemePreferenceSelection(nextTheme);
26544
26646
  setThemeState(
26545
- (currentTheme) => currentTheme === "light" ? "dark" : "light"
26647
+ (currentTheme) => currentTheme === nextTheme ? currentTheme : nextTheme
26546
26648
  );
26547
26649
  };
26548
- if (coords) {
26549
- document.documentElement.style.setProperty("--theme-x", `${coords.x}px`);
26550
- document.documentElement.style.setProperty("--theme-y", `${coords.y}px`);
26551
- }
26552
26650
  if (!supportsTransition || prefersReducedMotion) {
26553
- flipTheme();
26651
+ commitTheme();
26554
26652
  return;
26555
26653
  }
26654
+ if (coords) {
26655
+ root.style.setProperty("--theme-x", `${coords.x}px`);
26656
+ root.style.setProperty("--theme-y", `${coords.y}px`);
26657
+ } else {
26658
+ root.style.setProperty("--theme-x", "50%");
26659
+ root.style.setProperty("--theme-y", "50%");
26660
+ }
26556
26661
  (_a78 = documentWithTransition.startViewTransition) == null ? void 0 : _a78.call(documentWithTransition, () => {
26557
26662
  (0, import_react_dom.flushSync)(() => {
26558
- flipTheme();
26663
+ commitTheme();
26559
26664
  });
26560
26665
  });
26561
26666
  }, []);
26667
+ const setTheme = (0, import_react24.useCallback)((nextTheme) => {
26668
+ applyThemeSelection(nextTheme);
26669
+ }, [applyThemeSelection]);
26670
+ const toggleTheme = (0, import_react24.useCallback)((coords) => {
26671
+ var _a78;
26672
+ const currentTheme = (_a78 = getThemeFromRoot()) != null ? _a78 : theme;
26673
+ const nextTheme = currentTheme === "light" ? "dark" : "light";
26674
+ applyThemeSelection(nextTheme, coords);
26675
+ }, [applyThemeSelection, theme]);
26562
26676
  const value = (0, import_react24.useMemo)(
26563
26677
  () => ({
26564
26678
  theme,
@@ -26567,7 +26681,7 @@ function ThemeProvider({ children }) {
26567
26681
  }),
26568
26682
  [theme, setTheme, toggleTheme]
26569
26683
  );
26570
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ThemeContext.Provider, { value, children });
26684
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(ThemeContext.Provider, { value, children });
26571
26685
  }
26572
26686
  function ThemeScript() {
26573
26687
  const script = `
@@ -26588,15 +26702,15 @@ function ThemeScript() {
26588
26702
  root.style.colorScheme = theme;
26589
26703
  })();
26590
26704
  `;
26591
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("script", { dangerouslySetInnerHTML: { __html: script } });
26705
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("script", { dangerouslySetInnerHTML: { __html: script } });
26592
26706
  }
26593
26707
 
26594
26708
  // src/components/cupcode/TimelineCupcode.tsx
26595
- var import_jsx_runtime60 = require("react/jsx-runtime");
26709
+ var import_jsx_runtime59 = require("react/jsx-runtime");
26596
26710
  function Timeline({ items, variant = "vertical", className }) {
26597
26711
  if (variant === "horizontal") {
26598
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: cn("flex items-start gap-4 overflow-x-auto pb-4", className), children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex flex-col items-center min-w-[200px]", children: [
26599
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
26712
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: cn("flex items-start gap-4 overflow-x-auto pb-4", className), children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex flex-col items-center min-w-[200px]", children: [
26713
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
26600
26714
  "div",
26601
26715
  {
26602
26716
  className: cn(
@@ -26604,27 +26718,27 @@ function Timeline({ items, variant = "vertical", className }) {
26604
26718
  "transition-all duration-300",
26605
26719
  item.active ? "cc-gradient-galaxy text-white elevation-3 scale-110" : "bg-muted text-muted-foreground"
26606
26720
  ),
26607
- children: item.icon || /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "text-sm font-bold", children: index + 1 })
26721
+ children: item.icon || /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "text-sm font-bold", children: index + 1 })
26608
26722
  }
26609
26723
  ),
26610
- index < items.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: cn(
26724
+ index < items.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: cn(
26611
26725
  "h-1 w-full mb-3",
26612
26726
  item.active ? "bg-cupcode-purple" : "bg-muted"
26613
26727
  ) }),
26614
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "text-center", children: [
26615
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("h4", { className: cn(
26728
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "text-center", children: [
26729
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("h4", { className: cn(
26616
26730
  "font-display font-semibold mb-1",
26617
26731
  item.active ? "text-cupcode-purple" : "text-foreground"
26618
26732
  ), children: item.title }),
26619
- item.description && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: "text-sm text-muted-foreground", children: item.description }),
26620
- item.date && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: "text-xs text-muted-foreground mt-1", children: item.date })
26733
+ item.description && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: "text-sm text-muted-foreground", children: item.description }),
26734
+ item.date && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: "text-xs text-muted-foreground mt-1", children: item.date })
26621
26735
  ] })
26622
26736
  ] }, item.id)) });
26623
26737
  }
26624
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: cn("relative space-6", className), children: [
26625
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "absolute left-6 top-0 bottom-0 w-0.5 bg-muted" }),
26626
- items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "relative flex gap-6 pb-8 last:pb-0", children: [
26627
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
26738
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: cn("relative space-6", className), children: [
26739
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "absolute left-6 top-0 bottom-0 w-0.5 bg-muted" }),
26740
+ items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "relative flex gap-6 pb-8 last:pb-0", children: [
26741
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
26628
26742
  "div",
26629
26743
  {
26630
26744
  className: cn(
@@ -26632,16 +26746,16 @@ function Timeline({ items, variant = "vertical", className }) {
26632
26746
  "transition-all duration-300",
26633
26747
  item.active ? "cc-gradient-galaxy text-white elevation-3" : "bg-muted text-muted-foreground"
26634
26748
  ),
26635
- children: item.icon || /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "text-sm font-bold", children: index + 1 })
26749
+ children: item.icon || /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "text-sm font-bold", children: index + 1 })
26636
26750
  }
26637
26751
  ),
26638
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex-1 pt-1", children: [
26639
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("h4", { className: cn(
26752
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex-1 pt-1", children: [
26753
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("h4", { className: cn(
26640
26754
  "font-display font-semibold mb-1",
26641
26755
  item.active ? "text-cupcode-purple" : "text-foreground"
26642
26756
  ), children: item.title }),
26643
- item.description && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: "text-sm text-muted-foreground mb-2", children: item.description }),
26644
- item.date && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: "text-xs text-muted-foreground", children: item.date })
26757
+ item.description && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: "text-sm text-muted-foreground mb-2", children: item.description }),
26758
+ item.date && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: "text-xs text-muted-foreground", children: item.date })
26645
26759
  ] })
26646
26760
  ] }, item.id))
26647
26761
  ] });
@@ -26649,7 +26763,7 @@ function Timeline({ items, variant = "vertical", className }) {
26649
26763
 
26650
26764
  // src/components/cupcode/ToastCupcode.tsx
26651
26765
  var import_lucide_react17 = require("lucide-react");
26652
- var import_jsx_runtime61 = require("react/jsx-runtime");
26766
+ var import_jsx_runtime60 = require("react/jsx-runtime");
26653
26767
  var variantStyles2 = {
26654
26768
  success: {
26655
26769
  gradient: "from-success/20 to-success/5",
@@ -26684,7 +26798,7 @@ var ToastCupcode = ({
26684
26798
  }) => {
26685
26799
  const style = variantStyles2[variant];
26686
26800
  const Icon3 = style.icon;
26687
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
26801
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
26688
26802
  "div",
26689
26803
  {
26690
26804
  className: cn(
@@ -26696,18 +26810,18 @@ var ToastCupcode = ({
26696
26810
  "min-w-[300px] max-w-[420px]",
26697
26811
  "animate-slide-up"
26698
26812
  ),
26699
- children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex items-start gap-3", children: [
26700
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon3, { className: cn("h-5 w-5 shrink-0 mt-0.5", style.iconColor) }),
26701
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex-1 space-y-1", children: [
26702
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("p", { className: "text-sm font-semibold text-cupcode-ink", children: title }),
26703
- description && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("p", { className: "text-xs text-cupcode-ink/70", children: description })
26813
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex items-start gap-3", children: [
26814
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon3, { className: cn("h-5 w-5 shrink-0 mt-0.5", style.iconColor) }),
26815
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex-1 space-y-1", children: [
26816
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: "text-sm font-semibold text-cupcode-ink", children: title }),
26817
+ description && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: "text-xs text-cupcode-ink/70", children: description })
26704
26818
  ] }),
26705
- onClose && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
26819
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
26706
26820
  "button",
26707
26821
  {
26708
26822
  onClick: onClose,
26709
26823
  className: "shrink-0 rounded-md p-1 hover:bg-cupcode-ink/10 transition-colors",
26710
- children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react17.X, { className: "h-4 w-4 text-cupcode-ink/50" })
26824
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_lucide_react17.X, { className: "h-4 w-4 text-cupcode-ink/50" })
26711
26825
  }
26712
26826
  )
26713
26827
  ] })
@@ -26717,11 +26831,11 @@ var ToastCupcode = ({
26717
26831
 
26718
26832
  // src/components/cupcode/VideoWatchButton.tsx
26719
26833
  var import_react25 = __toESM(require("react"), 1);
26720
- var import_jsx_runtime62 = require("react/jsx-runtime");
26721
- var PlayGlyph = () => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("svg", { viewBox: "0 0 18 18", "aria-hidden": "true", className: "h-[18px] w-[18px]", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("path", { d: "M6 4.5L13.5 9L6 13.5V4.5Z", fill: "currentColor" }) });
26834
+ var import_jsx_runtime61 = require("react/jsx-runtime");
26835
+ var PlayGlyph = () => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("svg", { viewBox: "0 0 18 18", "aria-hidden": "true", className: "h-[18px] w-[18px]", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("path", { d: "M6 4.5L13.5 9L6 13.5V4.5Z", fill: "currentColor" }) });
26722
26836
  var VideoWatchButton = import_react25.default.forwardRef(
26723
26837
  ({ className, label = "Assistir", type = "button", "aria-label": ariaLabel, ...props }, ref) => {
26724
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
26838
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
26725
26839
  "button",
26726
26840
  {
26727
26841
  ref,
@@ -26730,18 +26844,18 @@ var VideoWatchButton = import_react25.default.forwardRef(
26730
26844
  className: cn("cc-video-watch-btn", className),
26731
26845
  ...props,
26732
26846
  children: [
26733
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("span", { className: "cc-video-watch-btn__bg", children: [
26734
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "cc-video-watch-btn__icon", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(PlayGlyph, {}) }),
26735
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "cc-video-watch-btn__label", children: label }),
26736
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("span", { className: "cc-video-watch-btn__mask", "aria-hidden": "true", children: [
26737
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--1" }),
26738
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--2" }),
26739
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--3" }),
26740
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--4" }),
26741
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--5" })
26847
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("span", { className: "cc-video-watch-btn__bg", children: [
26848
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "cc-video-watch-btn__icon", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(PlayGlyph, {}) }),
26849
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "cc-video-watch-btn__label", children: label }),
26850
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("span", { className: "cc-video-watch-btn__mask", "aria-hidden": "true", children: [
26851
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--1" }),
26852
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--2" }),
26853
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--3" }),
26854
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--4" }),
26855
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--5" })
26742
26856
  ] })
26743
26857
  ] }),
26744
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "cc-video-watch-btn__glow", "aria-hidden": "true" })
26858
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "cc-video-watch-btn__glow", "aria-hidden": "true" })
26745
26859
  ]
26746
26860
  }
26747
26861
  );
@@ -26750,13 +26864,13 @@ var VideoWatchButton = import_react25.default.forwardRef(
26750
26864
  VideoWatchButton.displayName = "VideoWatchButton";
26751
26865
 
26752
26866
  // src/components/cupcode/TooltipCupcode.tsx
26753
- var React36 = __toESM(require("react"), 1);
26867
+ var React35 = __toESM(require("react"), 1);
26754
26868
  var TooltipPrimitive2 = __toESM(require("@radix-ui/react-tooltip"), 1);
26755
- var import_jsx_runtime63 = require("react/jsx-runtime");
26869
+ var import_jsx_runtime62 = require("react/jsx-runtime");
26756
26870
  var TooltipProvider2 = TooltipPrimitive2.Provider;
26757
26871
  var TooltipCupcode = TooltipPrimitive2.Root;
26758
26872
  var TooltipTrigger2 = TooltipPrimitive2.Trigger;
26759
- var TooltipContent2 = React36.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
26873
+ var TooltipContent2 = React35.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
26760
26874
  TooltipPrimitive2.Content,
26761
26875
  {
26762
26876
  ref,
@@ -26777,14 +26891,14 @@ var TooltipContent2 = React36.forwardRef(({ className, sideOffset = 4, ...props
26777
26891
  TooltipContent2.displayName = TooltipPrimitive2.Content.displayName;
26778
26892
 
26779
26893
  // src/components/ui/accordion.tsx
26780
- var React37 = __toESM(require("react"), 1);
26894
+ var React36 = __toESM(require("react"), 1);
26781
26895
  var AccordionPrimitive2 = __toESM(require("@radix-ui/react-accordion"), 1);
26782
26896
  var import_lucide_react18 = require("lucide-react");
26783
- var import_jsx_runtime64 = require("react/jsx-runtime");
26897
+ var import_jsx_runtime63 = require("react/jsx-runtime");
26784
26898
  var Accordion = AccordionPrimitive2.Root;
26785
- var AccordionItem2 = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(AccordionPrimitive2.Item, { ref, className: cn("border-b", className), ...props }));
26899
+ var AccordionItem2 = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(AccordionPrimitive2.Item, { ref, className: cn("border-b", className), ...props }));
26786
26900
  AccordionItem2.displayName = "AccordionItem";
26787
- var AccordionTrigger2 = React37.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(AccordionPrimitive2.Header, { className: "flex", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
26901
+ var AccordionTrigger2 = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(AccordionPrimitive2.Header, { className: "flex", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
26788
26902
  AccordionPrimitive2.Trigger,
26789
26903
  {
26790
26904
  ref,
@@ -26795,26 +26909,26 @@ var AccordionTrigger2 = React37.forwardRef(({ className, children, ...props }, r
26795
26909
  ...props,
26796
26910
  children: [
26797
26911
  children,
26798
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_lucide_react18.ChevronDown, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })
26912
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_lucide_react18.ChevronDown, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })
26799
26913
  ]
26800
26914
  }
26801
26915
  ) }));
26802
26916
  AccordionTrigger2.displayName = AccordionPrimitive2.Trigger.displayName;
26803
- var AccordionContent2 = React37.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
26917
+ var AccordionContent2 = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
26804
26918
  AccordionPrimitive2.Content,
26805
26919
  {
26806
26920
  ref,
26807
26921
  className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
26808
26922
  ...props,
26809
- children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: cn("pb-4 pt-0", className), children })
26923
+ children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: cn("pb-4 pt-0", className), children })
26810
26924
  }
26811
26925
  ));
26812
26926
  AccordionContent2.displayName = AccordionPrimitive2.Content.displayName;
26813
26927
 
26814
26928
  // src/components/ui/alert.tsx
26815
- var React38 = __toESM(require("react"), 1);
26929
+ var React37 = __toESM(require("react"), 1);
26816
26930
  var import_class_variance_authority3 = require("class-variance-authority");
26817
- var import_jsx_runtime65 = require("react/jsx-runtime");
26931
+ var import_jsx_runtime64 = require("react/jsx-runtime");
26818
26932
  var alertVariants = (0, import_class_variance_authority3.cva)(
26819
26933
  "relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
26820
26934
  {
@@ -26829,14 +26943,14 @@ var alertVariants = (0, import_class_variance_authority3.cva)(
26829
26943
  }
26830
26944
  }
26831
26945
  );
26832
- var Alert = React38.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { ref, role: "alert", className: cn(alertVariants({ variant }), className), ...props }));
26946
+ var Alert = React37.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { ref, role: "alert", className: cn(alertVariants({ variant }), className), ...props }));
26833
26947
  Alert.displayName = "Alert";
26834
- var AlertTitle = React38.forwardRef(
26835
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("h5", { ref, className: cn("mb-1 font-medium leading-none tracking-tight", className), ...props })
26948
+ var AlertTitle = React37.forwardRef(
26949
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("h5", { ref, className: cn("mb-1 font-medium leading-none tracking-tight", className), ...props })
26836
26950
  );
26837
26951
  AlertTitle.displayName = "AlertTitle";
26838
- var AlertDescription = React38.forwardRef(
26839
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { ref, className: cn("text-sm [&_p]:leading-relaxed", className), ...props })
26952
+ var AlertDescription = React37.forwardRef(
26953
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { ref, className: cn("text-sm [&_p]:leading-relaxed", className), ...props })
26840
26954
  );
26841
26955
  AlertDescription.displayName = "AlertDescription";
26842
26956
 
@@ -26845,14 +26959,14 @@ var AspectRatioPrimitive = __toESM(require("@radix-ui/react-aspect-ratio"), 1);
26845
26959
  var AspectRatio = AspectRatioPrimitive.Root;
26846
26960
 
26847
26961
  // src/components/ui/breadcrumb.tsx
26848
- var React39 = __toESM(require("react"), 1);
26962
+ var React38 = __toESM(require("react"), 1);
26849
26963
  var import_react_slot2 = require("@radix-ui/react-slot");
26850
26964
  var import_lucide_react19 = require("lucide-react");
26851
- var import_jsx_runtime66 = require("react/jsx-runtime");
26852
- var Breadcrumb = React39.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("nav", { ref, "aria-label": "breadcrumb", ...props }));
26965
+ var import_jsx_runtime65 = require("react/jsx-runtime");
26966
+ var Breadcrumb = React38.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("nav", { ref, "aria-label": "breadcrumb", ...props }));
26853
26967
  Breadcrumb.displayName = "Breadcrumb";
26854
- var BreadcrumbList = React39.forwardRef(
26855
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
26968
+ var BreadcrumbList = React38.forwardRef(
26969
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
26856
26970
  "ol",
26857
26971
  {
26858
26972
  ref,
@@ -26865,17 +26979,17 @@ var BreadcrumbList = React39.forwardRef(
26865
26979
  )
26866
26980
  );
26867
26981
  BreadcrumbList.displayName = "BreadcrumbList";
26868
- var BreadcrumbItem = React39.forwardRef(
26869
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("li", { ref, className: cn("inline-flex items-center gap-1.5", className), ...props })
26982
+ var BreadcrumbItem = React38.forwardRef(
26983
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("li", { ref, className: cn("inline-flex items-center gap-1.5", className), ...props })
26870
26984
  );
26871
26985
  BreadcrumbItem.displayName = "BreadcrumbItem";
26872
- var BreadcrumbLink = React39.forwardRef(({ asChild, className, ...props }, ref) => {
26986
+ var BreadcrumbLink = React38.forwardRef(({ asChild, className, ...props }, ref) => {
26873
26987
  const Comp = asChild ? import_react_slot2.Slot : "a";
26874
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Comp, { ref, className: cn("transition-colors hover:text-foreground", className), ...props });
26988
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Comp, { ref, className: cn("transition-colors hover:text-foreground", className), ...props });
26875
26989
  });
26876
26990
  BreadcrumbLink.displayName = "BreadcrumbLink";
26877
- var BreadcrumbPage = React39.forwardRef(
26878
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
26991
+ var BreadcrumbPage = React38.forwardRef(
26992
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
26879
26993
  "span",
26880
26994
  {
26881
26995
  ref,
@@ -26888,9 +27002,9 @@ var BreadcrumbPage = React39.forwardRef(
26888
27002
  )
26889
27003
  );
26890
27004
  BreadcrumbPage.displayName = "BreadcrumbPage";
26891
- var BreadcrumbSeparator = ({ children, className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("li", { role: "presentation", "aria-hidden": "true", className: cn("[&>svg]:size-3.5", className), ...props, children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_lucide_react19.ChevronRight, {}) });
27005
+ var BreadcrumbSeparator = ({ children, className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("li", { role: "presentation", "aria-hidden": "true", className: cn("[&>svg]:size-3.5", className), ...props, children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_lucide_react19.ChevronRight, {}) });
26892
27006
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
26893
- var BreadcrumbEllipsis = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
27007
+ var BreadcrumbEllipsis = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
26894
27008
  "span",
26895
27009
  {
26896
27010
  role: "presentation",
@@ -26898,8 +27012,8 @@ var BreadcrumbEllipsis = ({ className, ...props }) => /* @__PURE__ */ (0, import
26898
27012
  className: cn("flex h-9 w-9 items-center justify-center", className),
26899
27013
  ...props,
26900
27014
  children: [
26901
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_lucide_react19.MoreHorizontal, { className: "h-4 w-4" }),
26902
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "sr-only", children: "More" })
27015
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_lucide_react19.MoreHorizontal, { className: "h-4 w-4" }),
27016
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "sr-only", children: "More" })
26903
27017
  ]
26904
27018
  }
26905
27019
  );
@@ -26908,9 +27022,9 @@ BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
26908
27022
  // src/components/ui/calendar.tsx
26909
27023
  var import_lucide_react20 = require("lucide-react");
26910
27024
  var import_react_day_picker = require("react-day-picker");
26911
- var import_jsx_runtime67 = require("react/jsx-runtime");
27025
+ var import_jsx_runtime66 = require("react/jsx-runtime");
26912
27026
  function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
26913
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
27027
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
26914
27028
  import_react_day_picker.DayPicker,
26915
27029
  {
26916
27030
  showOutsideDays,
@@ -26945,9 +27059,9 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
26945
27059
  components: {
26946
27060
  Chevron: ({ orientation, className: className2, ...chevronProps }) => {
26947
27061
  if (orientation === "left") {
26948
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_lucide_react20.ChevronLeft, { className: cn("h-4 w-4", className2), ...chevronProps });
27062
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_lucide_react20.ChevronLeft, { className: cn("h-4 w-4", className2), ...chevronProps });
26949
27063
  }
26950
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_lucide_react20.ChevronRight, { className: cn("h-4 w-4", className2), ...chevronProps });
27064
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_lucide_react20.ChevronRight, { className: cn("h-4 w-4", className2), ...chevronProps });
26951
27065
  }
26952
27066
  },
26953
27067
  ...props
@@ -26957,45 +27071,45 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
26957
27071
  Calendar.displayName = "Calendar";
26958
27072
 
26959
27073
  // src/components/ui/card.tsx
26960
- var React40 = __toESM(require("react"), 1);
26961
- var import_jsx_runtime68 = require("react/jsx-runtime");
26962
- var Card = React40.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { ref, className: cn("rounded-lg border bg-card text-card-foreground shadow-sm", className), ...props }));
27074
+ var React39 = __toESM(require("react"), 1);
27075
+ var import_jsx_runtime67 = require("react/jsx-runtime");
27076
+ var Card = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { ref, className: cn("rounded-lg border bg-card text-card-foreground shadow-sm", className), ...props }));
26963
27077
  Card.displayName = "Card";
26964
- var CardHeader = React40.forwardRef(
26965
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { ref, className: cn("flex flex-col space-y-1.5 p-6", className), ...props })
27078
+ var CardHeader = React39.forwardRef(
27079
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { ref, className: cn("flex flex-col space-y-1.5 p-6", className), ...props })
26966
27080
  );
26967
27081
  CardHeader.displayName = "CardHeader";
26968
- var CardTitle = React40.forwardRef(
26969
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("h3", { ref, className: cn("text-2xl font-semibold leading-none tracking-tight", className), ...props })
27082
+ var CardTitle = React39.forwardRef(
27083
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("h3", { ref, className: cn("text-2xl font-semibold leading-none tracking-tight", className), ...props })
26970
27084
  );
26971
27085
  CardTitle.displayName = "CardTitle";
26972
- var CardDescription = React40.forwardRef(
26973
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { ref, className: cn("text-sm text-muted-foreground", className), ...props })
27086
+ var CardDescription = React39.forwardRef(
27087
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { ref, className: cn("text-sm text-muted-foreground", className), ...props })
26974
27088
  );
26975
27089
  CardDescription.displayName = "CardDescription";
26976
- var CardContent = React40.forwardRef(
26977
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { ref, className: cn("p-6 pt-0", className), ...props })
27090
+ var CardContent = React39.forwardRef(
27091
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { ref, className: cn("p-6 pt-0", className), ...props })
26978
27092
  );
26979
27093
  CardContent.displayName = "CardContent";
26980
- var CardFooter = React40.forwardRef(
26981
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { ref, className: cn("flex items-center p-6 pt-0", className), ...props })
27094
+ var CardFooter = React39.forwardRef(
27095
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { ref, className: cn("flex items-center p-6 pt-0", className), ...props })
26982
27096
  );
26983
27097
  CardFooter.displayName = "CardFooter";
26984
27098
 
26985
27099
  // src/components/ui/carousel.tsx
26986
- var React41 = __toESM(require("react"), 1);
27100
+ var React40 = __toESM(require("react"), 1);
26987
27101
  var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
26988
27102
  var import_lucide_react21 = require("lucide-react");
26989
- var import_jsx_runtime69 = require("react/jsx-runtime");
26990
- var CarouselContext = React41.createContext(null);
27103
+ var import_jsx_runtime68 = require("react/jsx-runtime");
27104
+ var CarouselContext = React40.createContext(null);
26991
27105
  function useCarousel() {
26992
- const context = React41.useContext(CarouselContext);
27106
+ const context = React40.useContext(CarouselContext);
26993
27107
  if (!context) {
26994
27108
  throw new Error("useCarousel must be used within a <Carousel />");
26995
27109
  }
26996
27110
  return context;
26997
27111
  }
26998
- var Carousel = React41.forwardRef(
27112
+ var Carousel = React40.forwardRef(
26999
27113
  ({ orientation = "horizontal", opts, setApi, plugins, className, children, ...props }, ref) => {
27000
27114
  const [carouselRef, api] = (0, import_embla_carousel_react.default)(
27001
27115
  {
@@ -27004,22 +27118,22 @@ var Carousel = React41.forwardRef(
27004
27118
  },
27005
27119
  plugins
27006
27120
  );
27007
- const [canScrollPrev, setCanScrollPrev] = React41.useState(false);
27008
- const [canScrollNext, setCanScrollNext] = React41.useState(false);
27009
- const onSelect = React41.useCallback((api2) => {
27121
+ const [canScrollPrev, setCanScrollPrev] = React40.useState(false);
27122
+ const [canScrollNext, setCanScrollNext] = React40.useState(false);
27123
+ const onSelect = React40.useCallback((api2) => {
27010
27124
  if (!api2) {
27011
27125
  return;
27012
27126
  }
27013
27127
  setCanScrollPrev(api2.canScrollPrev());
27014
27128
  setCanScrollNext(api2.canScrollNext());
27015
27129
  }, []);
27016
- const scrollPrev = React41.useCallback(() => {
27130
+ const scrollPrev = React40.useCallback(() => {
27017
27131
  api == null ? void 0 : api.scrollPrev();
27018
27132
  }, [api]);
27019
- const scrollNext = React41.useCallback(() => {
27133
+ const scrollNext = React40.useCallback(() => {
27020
27134
  api == null ? void 0 : api.scrollNext();
27021
27135
  }, [api]);
27022
- const handleKeyDown = React41.useCallback(
27136
+ const handleKeyDown = React40.useCallback(
27023
27137
  (event) => {
27024
27138
  if (event.key === "ArrowLeft") {
27025
27139
  event.preventDefault();
@@ -27031,13 +27145,13 @@ var Carousel = React41.forwardRef(
27031
27145
  },
27032
27146
  [scrollPrev, scrollNext]
27033
27147
  );
27034
- React41.useEffect(() => {
27148
+ React40.useEffect(() => {
27035
27149
  if (!api || !setApi) {
27036
27150
  return;
27037
27151
  }
27038
27152
  setApi(api);
27039
27153
  }, [api, setApi]);
27040
- React41.useEffect(() => {
27154
+ React40.useEffect(() => {
27041
27155
  if (!api) {
27042
27156
  return;
27043
27157
  }
@@ -27048,7 +27162,7 @@ var Carousel = React41.forwardRef(
27048
27162
  api == null ? void 0 : api.off("select", onSelect);
27049
27163
  };
27050
27164
  }, [api, onSelect]);
27051
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
27165
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
27052
27166
  CarouselContext.Provider,
27053
27167
  {
27054
27168
  value: {
@@ -27061,7 +27175,7 @@ var Carousel = React41.forwardRef(
27061
27175
  canScrollPrev,
27062
27176
  canScrollNext
27063
27177
  },
27064
- children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
27178
+ children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
27065
27179
  "div",
27066
27180
  {
27067
27181
  ref,
@@ -27078,10 +27192,10 @@ var Carousel = React41.forwardRef(
27078
27192
  }
27079
27193
  );
27080
27194
  Carousel.displayName = "Carousel";
27081
- var CarouselContent = React41.forwardRef(
27195
+ var CarouselContent = React40.forwardRef(
27082
27196
  ({ className, ...props }, ref) => {
27083
27197
  const { carouselRef, orientation } = useCarousel();
27084
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
27198
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
27085
27199
  "div",
27086
27200
  {
27087
27201
  ref,
@@ -27092,10 +27206,10 @@ var CarouselContent = React41.forwardRef(
27092
27206
  }
27093
27207
  );
27094
27208
  CarouselContent.displayName = "CarouselContent";
27095
- var CarouselItem = React41.forwardRef(
27209
+ var CarouselItem = React40.forwardRef(
27096
27210
  ({ className, ...props }, ref) => {
27097
27211
  const { orientation } = useCarousel();
27098
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
27212
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
27099
27213
  "div",
27100
27214
  {
27101
27215
  ref,
@@ -27108,10 +27222,10 @@ var CarouselItem = React41.forwardRef(
27108
27222
  }
27109
27223
  );
27110
27224
  CarouselItem.displayName = "CarouselItem";
27111
- var CarouselPrevious = React41.forwardRef(
27225
+ var CarouselPrevious = React40.forwardRef(
27112
27226
  ({ className, variant = "outline", size = "icon", ...props }, ref) => {
27113
27227
  const { orientation, scrollPrev, canScrollPrev } = useCarousel();
27114
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
27228
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
27115
27229
  Button,
27116
27230
  {
27117
27231
  ref,
@@ -27126,18 +27240,18 @@ var CarouselPrevious = React41.forwardRef(
27126
27240
  onClick: scrollPrev,
27127
27241
  ...props,
27128
27242
  children: [
27129
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_lucide_react21.ArrowLeft, { className: "h-4 w-4" }),
27130
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "sr-only", children: "Previous slide" })
27243
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_lucide_react21.ArrowLeft, { className: "h-4 w-4" }),
27244
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "sr-only", children: "Previous slide" })
27131
27245
  ]
27132
27246
  }
27133
27247
  );
27134
27248
  }
27135
27249
  );
27136
27250
  CarouselPrevious.displayName = "CarouselPrevious";
27137
- var CarouselNext = React41.forwardRef(
27251
+ var CarouselNext = React40.forwardRef(
27138
27252
  ({ className, variant = "outline", size = "icon", ...props }, ref) => {
27139
27253
  const { orientation, scrollNext, canScrollNext } = useCarousel();
27140
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
27254
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
27141
27255
  Button,
27142
27256
  {
27143
27257
  ref,
@@ -27152,8 +27266,8 @@ var CarouselNext = React41.forwardRef(
27152
27266
  onClick: scrollNext,
27153
27267
  ...props,
27154
27268
  children: [
27155
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_lucide_react21.ArrowRight, { className: "h-4 w-4" }),
27156
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "sr-only", children: "Next slide" })
27269
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_lucide_react21.ArrowRight, { className: "h-4 w-4" }),
27270
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "sr-only", children: "Next slide" })
27157
27271
  ]
27158
27272
  }
27159
27273
  );
@@ -27162,22 +27276,22 @@ var CarouselNext = React41.forwardRef(
27162
27276
  CarouselNext.displayName = "CarouselNext";
27163
27277
 
27164
27278
  // src/components/ui/chart.tsx
27165
- var React42 = __toESM(require("react"), 1);
27279
+ var React41 = __toESM(require("react"), 1);
27166
27280
  var RechartsPrimitive = __toESM(require("recharts"), 1);
27167
- var import_jsx_runtime70 = require("react/jsx-runtime");
27281
+ var import_jsx_runtime69 = require("react/jsx-runtime");
27168
27282
  var THEMES = { light: "", dark: ".dark" };
27169
- var ChartContext = React42.createContext(null);
27283
+ var ChartContext = React41.createContext(null);
27170
27284
  function useChart() {
27171
- const context = React42.useContext(ChartContext);
27285
+ const context = React41.useContext(ChartContext);
27172
27286
  if (!context) {
27173
27287
  throw new Error("useChart must be used within a <ChartContainer />");
27174
27288
  }
27175
27289
  return context;
27176
27290
  }
27177
- var ChartContainer = React42.forwardRef(({ id, className, children, config, ...props }, ref) => {
27178
- const uniqueId = React42.useId();
27291
+ var ChartContainer = React41.forwardRef(({ id, className, children, config, ...props }, ref) => {
27292
+ const uniqueId = React41.useId();
27179
27293
  const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
27180
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
27294
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
27181
27295
  "div",
27182
27296
  {
27183
27297
  "data-chart": chartId,
@@ -27188,8 +27302,8 @@ var ChartContainer = React42.forwardRef(({ id, className, children, config, ...p
27188
27302
  ),
27189
27303
  ...props,
27190
27304
  children: [
27191
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ChartStyle, { id: chartId, config }),
27192
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(RechartsPrimitive.ResponsiveContainer, { children })
27305
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ChartStyle, { id: chartId, config }),
27306
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(RechartsPrimitive.ResponsiveContainer, { children })
27193
27307
  ]
27194
27308
  }
27195
27309
  ) });
@@ -27200,7 +27314,7 @@ var ChartStyle = ({ id, config }) => {
27200
27314
  if (!colorConfig.length) {
27201
27315
  return null;
27202
27316
  }
27203
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
27317
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
27204
27318
  "style",
27205
27319
  {
27206
27320
  dangerouslySetInnerHTML: {
@@ -27220,7 +27334,7 @@ ${colorConfig.map(([key, itemConfig]) => {
27220
27334
  );
27221
27335
  };
27222
27336
  var ChartTooltip = RechartsPrimitive.Tooltip;
27223
- var ChartTooltipContent = React42.forwardRef(
27337
+ var ChartTooltipContent = React41.forwardRef(
27224
27338
  ({
27225
27339
  active,
27226
27340
  payload,
@@ -27237,7 +27351,7 @@ var ChartTooltipContent = React42.forwardRef(
27237
27351
  labelKey
27238
27352
  }, ref) => {
27239
27353
  const { config } = useChart();
27240
- const tooltipLabel = React42.useMemo(() => {
27354
+ const tooltipLabel = React41.useMemo(() => {
27241
27355
  var _a78;
27242
27356
  if (hideLabel || !(payload == null ? void 0 : payload.length)) {
27243
27357
  return null;
@@ -27247,18 +27361,18 @@ var ChartTooltipContent = React42.forwardRef(
27247
27361
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
27248
27362
  const value = !labelKey && typeof label === "string" ? ((_a78 = config[label]) == null ? void 0 : _a78.label) || label : itemConfig == null ? void 0 : itemConfig.label;
27249
27363
  if (labelFormatter) {
27250
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: cn("font-medium", labelClassName), children: labelFormatter(value, payload) });
27364
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: cn("font-medium", labelClassName), children: labelFormatter(value, payload) });
27251
27365
  }
27252
27366
  if (!value) {
27253
27367
  return null;
27254
27368
  }
27255
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: cn("font-medium", labelClassName), children: value });
27369
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: cn("font-medium", labelClassName), children: value });
27256
27370
  }, [label, labelFormatter, payload, hideLabel, labelClassName, config, labelKey]);
27257
27371
  if (!active || !(payload == null ? void 0 : payload.length)) {
27258
27372
  return null;
27259
27373
  }
27260
27374
  const nestLabel = payload.length === 1 && indicator !== "dot";
27261
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
27375
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
27262
27376
  "div",
27263
27377
  {
27264
27378
  ref,
@@ -27268,19 +27382,19 @@ var ChartTooltipContent = React42.forwardRef(
27268
27382
  ),
27269
27383
  children: [
27270
27384
  !nestLabel ? tooltipLabel : null,
27271
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: "grid gap-1.5", children: payload.map((item, index) => {
27385
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "grid gap-1.5", children: payload.map((item, index) => {
27272
27386
  const key = `${nameKey || item.name || item.dataKey || "value"}`;
27273
27387
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
27274
27388
  const indicatorColor = color || item.payload.fill || item.color;
27275
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
27389
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
27276
27390
  "div",
27277
27391
  {
27278
27392
  className: cn(
27279
27393
  "flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground",
27280
27394
  indicator === "dot" && "items-center"
27281
27395
  ),
27282
- children: formatter && (item == null ? void 0 : item.value) !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_jsx_runtime70.Fragment, { children: [
27283
- (itemConfig == null ? void 0 : itemConfig.icon) ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
27396
+ children: formatter && (item == null ? void 0 : item.value) !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_jsx_runtime69.Fragment, { children: [
27397
+ (itemConfig == null ? void 0 : itemConfig.icon) ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
27284
27398
  "div",
27285
27399
  {
27286
27400
  className: cn("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]", {
@@ -27295,7 +27409,7 @@ var ChartTooltipContent = React42.forwardRef(
27295
27409
  }
27296
27410
  }
27297
27411
  ),
27298
- /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
27412
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
27299
27413
  "div",
27300
27414
  {
27301
27415
  className: cn(
@@ -27303,11 +27417,11 @@ var ChartTooltipContent = React42.forwardRef(
27303
27417
  nestLabel ? "items-end" : "items-center"
27304
27418
  ),
27305
27419
  children: [
27306
- /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: "grid gap-1.5", children: [
27420
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "grid gap-1.5", children: [
27307
27421
  nestLabel ? tooltipLabel : null,
27308
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: "text-muted-foreground", children: (itemConfig == null ? void 0 : itemConfig.label) || item.name })
27422
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "text-muted-foreground", children: (itemConfig == null ? void 0 : itemConfig.label) || item.name })
27309
27423
  ] }),
27310
- item.value && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: "font-mono font-medium tabular-nums text-foreground", children: item.value.toLocaleString() })
27424
+ item.value && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "font-mono font-medium tabular-nums text-foreground", children: item.value.toLocaleString() })
27311
27425
  ]
27312
27426
  }
27313
27427
  )
@@ -27323,12 +27437,12 @@ var ChartTooltipContent = React42.forwardRef(
27323
27437
  );
27324
27438
  ChartTooltipContent.displayName = "ChartTooltip";
27325
27439
  var ChartLegend = RechartsPrimitive.Legend;
27326
- var ChartLegendContent = React42.forwardRef(({ className, hideIcon = false, payload, verticalAlign = "bottom", nameKey }, ref) => {
27440
+ var ChartLegendContent = React41.forwardRef(({ className, hideIcon = false, payload, verticalAlign = "bottom", nameKey }, ref) => {
27327
27441
  const { config } = useChart();
27328
27442
  if (!(payload == null ? void 0 : payload.length)) {
27329
27443
  return null;
27330
27444
  }
27331
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
27445
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
27332
27446
  "div",
27333
27447
  {
27334
27448
  ref,
@@ -27336,12 +27450,12 @@ var ChartLegendContent = React42.forwardRef(({ className, hideIcon = false, payl
27336
27450
  children: payload.map((item) => {
27337
27451
  const key = `${nameKey || item.dataKey || "value"}`;
27338
27452
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
27339
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
27453
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
27340
27454
  "div",
27341
27455
  {
27342
27456
  className: cn("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),
27343
27457
  children: [
27344
- (itemConfig == null ? void 0 : itemConfig.icon) && !hideIcon ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(itemConfig.icon, {}) : /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
27458
+ (itemConfig == null ? void 0 : itemConfig.icon) && !hideIcon ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(itemConfig.icon, {}) : /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
27345
27459
  "div",
27346
27460
  {
27347
27461
  className: "h-2 w-2 shrink-0 rounded-[2px]",
@@ -27375,11 +27489,11 @@ function getPayloadConfigFromPayload(config, payload, key) {
27375
27489
  }
27376
27490
 
27377
27491
  // src/components/ui/checkbox.tsx
27378
- var React43 = __toESM(require("react"), 1);
27492
+ var React42 = __toESM(require("react"), 1);
27379
27493
  var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"), 1);
27380
27494
  var import_lucide_react22 = require("lucide-react");
27381
- var import_jsx_runtime71 = require("react/jsx-runtime");
27382
- var Checkbox = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
27495
+ var import_jsx_runtime70 = require("react/jsx-runtime");
27496
+ var Checkbox = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
27383
27497
  CheckboxPrimitive.Root,
27384
27498
  {
27385
27499
  ref,
@@ -27388,7 +27502,7 @@ var Checkbox = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__
27388
27502
  className
27389
27503
  ),
27390
27504
  ...props,
27391
- children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(CheckboxPrimitive.Indicator, { className: cn("flex items-center justify-center text-current"), children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_lucide_react22.Check, { className: "h-4 w-4" }) })
27505
+ children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(CheckboxPrimitive.Indicator, { className: cn("flex items-center justify-center text-current"), children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_lucide_react22.Check, { className: "h-4 w-4" }) })
27392
27506
  }
27393
27507
  ));
27394
27508
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
@@ -27400,11 +27514,11 @@ var CollapsibleTrigger2 = CollapsiblePrimitive.CollapsibleTrigger;
27400
27514
  var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
27401
27515
 
27402
27516
  // src/components/ui/command.tsx
27403
- var React44 = __toESM(require("react"), 1);
27517
+ var React43 = __toESM(require("react"), 1);
27404
27518
  var import_cmdk = require("cmdk");
27405
27519
  var import_lucide_react23 = require("lucide-react");
27406
- var import_jsx_runtime72 = require("react/jsx-runtime");
27407
- var Command = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
27520
+ var import_jsx_runtime71 = require("react/jsx-runtime");
27521
+ var Command = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
27408
27522
  import_cmdk.Command,
27409
27523
  {
27410
27524
  ref,
@@ -27417,11 +27531,11 @@ var Command = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__
27417
27531
  ));
27418
27532
  Command.displayName = import_cmdk.Command.displayName;
27419
27533
  var CommandDialog = ({ children, ...props }) => {
27420
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Dialog, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(DialogContent, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children }) }) });
27534
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Dialog, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(DialogContent, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children }) }) });
27421
27535
  };
27422
- var CommandInput = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
27423
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_lucide_react23.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
27424
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
27536
+ var CommandInput = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
27537
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_lucide_react23.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
27538
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
27425
27539
  import_cmdk.Command.Input,
27426
27540
  {
27427
27541
  ref,
@@ -27434,7 +27548,7 @@ var CommandInput = React44.forwardRef(({ className, ...props }, ref) => /* @__PU
27434
27548
  )
27435
27549
  ] }));
27436
27550
  CommandInput.displayName = import_cmdk.Command.Input.displayName;
27437
- var CommandList = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
27551
+ var CommandList = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
27438
27552
  import_cmdk.Command.List,
27439
27553
  {
27440
27554
  ref,
@@ -27443,9 +27557,9 @@ var CommandList = React44.forwardRef(({ className, ...props }, ref) => /* @__PUR
27443
27557
  }
27444
27558
  ));
27445
27559
  CommandList.displayName = import_cmdk.Command.List.displayName;
27446
- var CommandEmpty = React44.forwardRef((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_cmdk.Command.Empty, { ref, className: "py-6 text-center text-sm", ...props }));
27560
+ var CommandEmpty = React43.forwardRef((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_cmdk.Command.Empty, { ref, className: "py-6 text-center text-sm", ...props }));
27447
27561
  CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
27448
- var CommandGroup = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
27562
+ var CommandGroup = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
27449
27563
  import_cmdk.Command.Group,
27450
27564
  {
27451
27565
  ref,
@@ -27457,9 +27571,9 @@ var CommandGroup = React44.forwardRef(({ className, ...props }, ref) => /* @__PU
27457
27571
  }
27458
27572
  ));
27459
27573
  CommandGroup.displayName = import_cmdk.Command.Group.displayName;
27460
- var CommandSeparator = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_cmdk.Command.Separator, { ref, className: cn("-mx-1 h-px bg-border", className), ...props }));
27574
+ var CommandSeparator = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_cmdk.Command.Separator, { ref, className: cn("-mx-1 h-px bg-border", className), ...props }));
27461
27575
  CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
27462
- var CommandItem = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
27576
+ var CommandItem = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
27463
27577
  import_cmdk.Command.Item,
27464
27578
  {
27465
27579
  ref,
@@ -27472,22 +27586,22 @@ var CommandItem = React44.forwardRef(({ className, ...props }, ref) => /* @__PUR
27472
27586
  ));
27473
27587
  CommandItem.displayName = import_cmdk.Command.Item.displayName;
27474
27588
  var CommandShortcut = ({ className, ...props }) => {
27475
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
27589
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
27476
27590
  };
27477
27591
  CommandShortcut.displayName = "CommandShortcut";
27478
27592
 
27479
27593
  // src/components/ui/context-menu.tsx
27480
- var React45 = __toESM(require("react"), 1);
27594
+ var React44 = __toESM(require("react"), 1);
27481
27595
  var ContextMenuPrimitive = __toESM(require("@radix-ui/react-context-menu"), 1);
27482
27596
  var import_lucide_react24 = require("lucide-react");
27483
- var import_jsx_runtime73 = require("react/jsx-runtime");
27597
+ var import_jsx_runtime72 = require("react/jsx-runtime");
27484
27598
  var ContextMenu = ContextMenuPrimitive.Root;
27485
27599
  var ContextMenuTrigger = ContextMenuPrimitive.Trigger;
27486
27600
  var ContextMenuGroup = ContextMenuPrimitive.Group;
27487
27601
  var ContextMenuPortal = ContextMenuPrimitive.Portal;
27488
27602
  var ContextMenuSub = ContextMenuPrimitive.Sub;
27489
27603
  var ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;
27490
- var ContextMenuSubTrigger = React45.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
27604
+ var ContextMenuSubTrigger = React44.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
27491
27605
  ContextMenuPrimitive.SubTrigger,
27492
27606
  {
27493
27607
  ref,
@@ -27499,12 +27613,12 @@ var ContextMenuSubTrigger = React45.forwardRef(({ className, inset, children, ..
27499
27613
  ...props,
27500
27614
  children: [
27501
27615
  children,
27502
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_lucide_react24.ChevronRight, { className: "ml-auto h-4 w-4" })
27616
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_lucide_react24.ChevronRight, { className: "ml-auto h-4 w-4" })
27503
27617
  ]
27504
27618
  }
27505
27619
  ));
27506
27620
  ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;
27507
- var ContextMenuSubContent = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
27621
+ var ContextMenuSubContent = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
27508
27622
  ContextMenuPrimitive.SubContent,
27509
27623
  {
27510
27624
  ref,
@@ -27516,7 +27630,7 @@ var ContextMenuSubContent = React45.forwardRef(({ className, ...props }, ref) =>
27516
27630
  }
27517
27631
  ));
27518
27632
  ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;
27519
- var ContextMenuContent = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
27633
+ var ContextMenuContent = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
27520
27634
  ContextMenuPrimitive.Content,
27521
27635
  {
27522
27636
  ref,
@@ -27528,7 +27642,7 @@ var ContextMenuContent = React45.forwardRef(({ className, ...props }, ref) => /*
27528
27642
  }
27529
27643
  ) }));
27530
27644
  ContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;
27531
- var ContextMenuItem = React45.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
27645
+ var ContextMenuItem = React44.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
27532
27646
  ContextMenuPrimitive.Item,
27533
27647
  {
27534
27648
  ref,
@@ -27541,7 +27655,7 @@ var ContextMenuItem = React45.forwardRef(({ className, inset, ...props }, ref) =
27541
27655
  }
27542
27656
  ));
27543
27657
  ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;
27544
- var ContextMenuCheckboxItem = React45.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
27658
+ var ContextMenuCheckboxItem = React44.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
27545
27659
  ContextMenuPrimitive.CheckboxItem,
27546
27660
  {
27547
27661
  ref,
@@ -27552,13 +27666,13 @@ var ContextMenuCheckboxItem = React45.forwardRef(({ className, children, checked
27552
27666
  checked,
27553
27667
  ...props,
27554
27668
  children: [
27555
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_lucide_react24.Check, { className: "h-4 w-4" }) }) }),
27669
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_lucide_react24.Check, { className: "h-4 w-4" }) }) }),
27556
27670
  children
27557
27671
  ]
27558
27672
  }
27559
27673
  ));
27560
27674
  ContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;
27561
- var ContextMenuRadioItem = React45.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
27675
+ var ContextMenuRadioItem = React44.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
27562
27676
  ContextMenuPrimitive.RadioItem,
27563
27677
  {
27564
27678
  ref,
@@ -27568,13 +27682,13 @@ var ContextMenuRadioItem = React45.forwardRef(({ className, children, ...props }
27568
27682
  ),
27569
27683
  ...props,
27570
27684
  children: [
27571
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_lucide_react24.Circle, { className: "h-2 w-2 fill-current" }) }) }),
27685
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_lucide_react24.Circle, { className: "h-2 w-2 fill-current" }) }) }),
27572
27686
  children
27573
27687
  ]
27574
27688
  }
27575
27689
  ));
27576
27690
  ContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;
27577
- var ContextMenuLabel = React45.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
27691
+ var ContextMenuLabel = React44.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
27578
27692
  ContextMenuPrimitive.Label,
27579
27693
  {
27580
27694
  ref,
@@ -27583,39 +27697,39 @@ var ContextMenuLabel = React45.forwardRef(({ className, inset, ...props }, ref)
27583
27697
  }
27584
27698
  ));
27585
27699
  ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;
27586
- var ContextMenuSeparator = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ContextMenuPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-border", className), ...props }));
27700
+ var ContextMenuSeparator = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ContextMenuPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-border", className), ...props }));
27587
27701
  ContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;
27588
27702
  var ContextMenuShortcut = ({ className, ...props }) => {
27589
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
27703
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
27590
27704
  };
27591
27705
  ContextMenuShortcut.displayName = "ContextMenuShortcut";
27592
27706
 
27593
27707
  // src/components/ui/form.tsx
27594
- var React47 = __toESM(require("react"), 1);
27708
+ var React46 = __toESM(require("react"), 1);
27595
27709
  var import_react_slot3 = require("@radix-ui/react-slot");
27596
27710
  var import_react_hook_form = require("react-hook-form");
27597
27711
 
27598
27712
  // src/components/ui/label.tsx
27599
- var React46 = __toESM(require("react"), 1);
27713
+ var React45 = __toESM(require("react"), 1);
27600
27714
  var LabelPrimitive = __toESM(require("@radix-ui/react-label"), 1);
27601
27715
  var import_class_variance_authority4 = require("class-variance-authority");
27602
- var import_jsx_runtime74 = require("react/jsx-runtime");
27716
+ var import_jsx_runtime73 = require("react/jsx-runtime");
27603
27717
  var labelVariants = (0, import_class_variance_authority4.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");
27604
- var Label4 = React46.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(LabelPrimitive.Root, { ref, className: cn(labelVariants(), className), ...props }));
27718
+ var Label4 = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(LabelPrimitive.Root, { ref, className: cn(labelVariants(), className), ...props }));
27605
27719
  Label4.displayName = LabelPrimitive.Root.displayName;
27606
27720
 
27607
27721
  // src/components/ui/form.tsx
27608
- var import_jsx_runtime75 = require("react/jsx-runtime");
27722
+ var import_jsx_runtime74 = require("react/jsx-runtime");
27609
27723
  var Form = import_react_hook_form.FormProvider;
27610
- var FormFieldContext = React47.createContext({});
27724
+ var FormFieldContext = React46.createContext({});
27611
27725
  var FormField = ({
27612
27726
  ...props
27613
27727
  }) => {
27614
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_react_hook_form.Controller, { ...props }) });
27728
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react_hook_form.Controller, { ...props }) });
27615
27729
  };
27616
27730
  var useFormField = () => {
27617
- const fieldContext = React47.useContext(FormFieldContext);
27618
- const itemContext = React47.useContext(FormItemContext);
27731
+ const fieldContext = React46.useContext(FormFieldContext);
27732
+ const itemContext = React46.useContext(FormItemContext);
27619
27733
  const { getFieldState, formState } = (0, import_react_hook_form.useFormContext)();
27620
27734
  const fieldState = getFieldState(fieldContext.name, formState);
27621
27735
  if (!fieldContext) {
@@ -27631,23 +27745,23 @@ var useFormField = () => {
27631
27745
  ...fieldState
27632
27746
  };
27633
27747
  };
27634
- var FormItemContext = React47.createContext({});
27635
- var FormItem = React47.forwardRef(
27748
+ var FormItemContext = React46.createContext({});
27749
+ var FormItem = React46.forwardRef(
27636
27750
  ({ className, ...props }, ref) => {
27637
- const id = React47.useId();
27638
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { ref, className: cn("space-y-2", className), ...props }) });
27751
+ const id = React46.useId();
27752
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { ref, className: cn("space-y-2", className), ...props }) });
27639
27753
  }
27640
27754
  );
27641
27755
  FormItem.displayName = "FormItem";
27642
- var FormLabel = React47.forwardRef(({ className, ...props }, ref) => {
27756
+ var FormLabel = React46.forwardRef(({ className, ...props }, ref) => {
27643
27757
  const { error, formItemId } = useFormField();
27644
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Label4, { ref, className: cn(error && "text-destructive", className), htmlFor: formItemId, ...props });
27758
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Label4, { ref, className: cn(error && "text-destructive", className), htmlFor: formItemId, ...props });
27645
27759
  });
27646
27760
  FormLabel.displayName = "FormLabel";
27647
- var FormControl = React47.forwardRef(
27761
+ var FormControl = React46.forwardRef(
27648
27762
  ({ ...props }, ref) => {
27649
27763
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
27650
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
27764
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
27651
27765
  import_react_slot3.Slot,
27652
27766
  {
27653
27767
  ref,
@@ -27660,42 +27774,42 @@ var FormControl = React47.forwardRef(
27660
27774
  }
27661
27775
  );
27662
27776
  FormControl.displayName = "FormControl";
27663
- var FormDescription = React47.forwardRef(
27777
+ var FormDescription = React46.forwardRef(
27664
27778
  ({ className, ...props }, ref) => {
27665
27779
  const { formDescriptionId } = useFormField();
27666
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("p", { ref, id: formDescriptionId, className: cn("text-sm text-muted-foreground", className), ...props });
27780
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("p", { ref, id: formDescriptionId, className: cn("text-sm text-muted-foreground", className), ...props });
27667
27781
  }
27668
27782
  );
27669
27783
  FormDescription.displayName = "FormDescription";
27670
- var FormMessage = React47.forwardRef(
27784
+ var FormMessage = React46.forwardRef(
27671
27785
  ({ className, children, ...props }, ref) => {
27672
27786
  const { error, formMessageId } = useFormField();
27673
27787
  const body = error ? String(error == null ? void 0 : error.message) : children;
27674
27788
  if (!body) {
27675
27789
  return null;
27676
27790
  }
27677
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("p", { ref, id: formMessageId, className: cn("text-sm font-medium text-destructive", className), ...props, children: body });
27791
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("p", { ref, id: formMessageId, className: cn("text-sm font-medium text-destructive", className), ...props, children: body });
27678
27792
  }
27679
27793
  );
27680
27794
  FormMessage.displayName = "FormMessage";
27681
27795
 
27682
27796
  // src/components/ui/glass-card.tsx
27683
- var React48 = __toESM(require("react"), 1);
27684
- var import_jsx_runtime76 = require("react/jsx-runtime");
27685
- var GlassCard = React48.forwardRef(
27797
+ var React47 = __toESM(require("react"), 1);
27798
+ var import_jsx_runtime75 = require("react/jsx-runtime");
27799
+ var GlassCard = React47.forwardRef(
27686
27800
  ({ className, ...props }, ref) => {
27687
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { ref, className: cn("glass-card", className), ...props });
27801
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { ref, className: cn("glass-card", className), ...props });
27688
27802
  }
27689
27803
  );
27690
27804
  GlassCard.displayName = "GlassCard";
27691
27805
 
27692
27806
  // src/components/ui/hover-card.tsx
27693
- var React49 = __toESM(require("react"), 1);
27807
+ var React48 = __toESM(require("react"), 1);
27694
27808
  var HoverCardPrimitive = __toESM(require("@radix-ui/react-hover-card"), 1);
27695
- var import_jsx_runtime77 = require("react/jsx-runtime");
27809
+ var import_jsx_runtime76 = require("react/jsx-runtime");
27696
27810
  var HoverCard = HoverCardPrimitive.Root;
27697
27811
  var HoverCardTrigger = HoverCardPrimitive.Trigger;
27698
- var HoverCardContent = React49.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
27812
+ var HoverCardContent = React48.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
27699
27813
  HoverCardPrimitive.Content,
27700
27814
  {
27701
27815
  ref,
@@ -27711,12 +27825,12 @@ var HoverCardContent = React49.forwardRef(({ className, align = "center", sideOf
27711
27825
  HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;
27712
27826
 
27713
27827
  // src/components/ui/input-otp.tsx
27714
- var React50 = __toESM(require("react"), 1);
27828
+ var React49 = __toESM(require("react"), 1);
27715
27829
  var import_input_otp = require("input-otp");
27716
27830
  var import_lucide_react25 = require("lucide-react");
27717
- var import_jsx_runtime78 = require("react/jsx-runtime");
27718
- var InputOTP = React50.forwardRef(
27719
- ({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
27831
+ var import_jsx_runtime77 = require("react/jsx-runtime");
27832
+ var InputOTP = React49.forwardRef(
27833
+ ({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
27720
27834
  import_input_otp.OTPInput,
27721
27835
  {
27722
27836
  ref,
@@ -27727,14 +27841,14 @@ var InputOTP = React50.forwardRef(
27727
27841
  )
27728
27842
  );
27729
27843
  InputOTP.displayName = "InputOTP";
27730
- var InputOTPGroup = React50.forwardRef(
27731
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { ref, className: cn("flex items-center", className), ...props })
27844
+ var InputOTPGroup = React49.forwardRef(
27845
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { ref, className: cn("flex items-center", className), ...props })
27732
27846
  );
27733
27847
  InputOTPGroup.displayName = "InputOTPGroup";
27734
- var InputOTPSlot = React50.forwardRef(({ index, className, ...props }, ref) => {
27735
- const inputOTPContext = React50.useContext(import_input_otp.OTPInputContext);
27848
+ var InputOTPSlot = React49.forwardRef(({ index, className, ...props }, ref) => {
27849
+ const inputOTPContext = React49.useContext(import_input_otp.OTPInputContext);
27736
27850
  const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
27737
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
27851
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
27738
27852
  "div",
27739
27853
  {
27740
27854
  ref,
@@ -27746,28 +27860,28 @@ var InputOTPSlot = React50.forwardRef(({ index, className, ...props }, ref) => {
27746
27860
  ...props,
27747
27861
  children: [
27748
27862
  char,
27749
- hasFakeCaret && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "animate-caret-blink h-4 w-px bg-foreground duration-1000" }) })
27863
+ hasFakeCaret && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "animate-caret-blink h-4 w-px bg-foreground duration-1000" }) })
27750
27864
  ]
27751
27865
  }
27752
27866
  );
27753
27867
  });
27754
27868
  InputOTPSlot.displayName = "InputOTPSlot";
27755
- var InputOTPSeparator = React50.forwardRef(
27756
- ({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_lucide_react25.Dot, {}) })
27869
+ var InputOTPSeparator = React49.forwardRef(
27870
+ ({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_lucide_react25.Dot, {}) })
27757
27871
  );
27758
27872
  InputOTPSeparator.displayName = "InputOTPSeparator";
27759
27873
 
27760
27874
  // src/components/ui/menubar.tsx
27761
- var React51 = __toESM(require("react"), 1);
27875
+ var React50 = __toESM(require("react"), 1);
27762
27876
  var MenubarPrimitive = __toESM(require("@radix-ui/react-menubar"), 1);
27763
27877
  var import_lucide_react26 = require("lucide-react");
27764
- var import_jsx_runtime79 = require("react/jsx-runtime");
27878
+ var import_jsx_runtime78 = require("react/jsx-runtime");
27765
27879
  var MenubarMenu = MenubarPrimitive.Menu;
27766
27880
  var MenubarGroup = MenubarPrimitive.Group;
27767
27881
  var MenubarPortal = MenubarPrimitive.Portal;
27768
27882
  var MenubarSub = MenubarPrimitive.Sub;
27769
27883
  var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
27770
- var Menubar = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
27884
+ var Menubar = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
27771
27885
  MenubarPrimitive.Root,
27772
27886
  {
27773
27887
  ref,
@@ -27776,7 +27890,7 @@ var Menubar = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__
27776
27890
  }
27777
27891
  ));
27778
27892
  Menubar.displayName = MenubarPrimitive.Root.displayName;
27779
- var MenubarTrigger = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
27893
+ var MenubarTrigger = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
27780
27894
  MenubarPrimitive.Trigger,
27781
27895
  {
27782
27896
  ref,
@@ -27788,7 +27902,7 @@ var MenubarTrigger = React51.forwardRef(({ className, ...props }, ref) => /* @__
27788
27902
  }
27789
27903
  ));
27790
27904
  MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
27791
- var MenubarSubTrigger = React51.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
27905
+ var MenubarSubTrigger = React50.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
27792
27906
  MenubarPrimitive.SubTrigger,
27793
27907
  {
27794
27908
  ref,
@@ -27800,12 +27914,12 @@ var MenubarSubTrigger = React51.forwardRef(({ className, inset, children, ...pro
27800
27914
  ...props,
27801
27915
  children: [
27802
27916
  children,
27803
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react26.ChevronRight, { className: "ml-auto h-4 w-4" })
27917
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_lucide_react26.ChevronRight, { className: "ml-auto h-4 w-4" })
27804
27918
  ]
27805
27919
  }
27806
27920
  ));
27807
27921
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
27808
- var MenubarSubContent = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
27922
+ var MenubarSubContent = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
27809
27923
  MenubarPrimitive.SubContent,
27810
27924
  {
27811
27925
  ref,
@@ -27817,7 +27931,7 @@ var MenubarSubContent = React51.forwardRef(({ className, ...props }, ref) => /*
27817
27931
  }
27818
27932
  ));
27819
27933
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
27820
- var MenubarContent = React51.forwardRef(({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(MenubarPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
27934
+ var MenubarContent = React50.forwardRef(({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(MenubarPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
27821
27935
  MenubarPrimitive.Content,
27822
27936
  {
27823
27937
  ref,
@@ -27832,7 +27946,7 @@ var MenubarContent = React51.forwardRef(({ className, align = "start", alignOffs
27832
27946
  }
27833
27947
  ) }));
27834
27948
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
27835
- var MenubarItem = React51.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
27949
+ var MenubarItem = React50.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
27836
27950
  MenubarPrimitive.Item,
27837
27951
  {
27838
27952
  ref,
@@ -27845,7 +27959,7 @@ var MenubarItem = React51.forwardRef(({ className, inset, ...props }, ref) => /*
27845
27959
  }
27846
27960
  ));
27847
27961
  MenubarItem.displayName = MenubarPrimitive.Item.displayName;
27848
- var MenubarCheckboxItem = React51.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
27962
+ var MenubarCheckboxItem = React50.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
27849
27963
  MenubarPrimitive.CheckboxItem,
27850
27964
  {
27851
27965
  ref,
@@ -27856,13 +27970,13 @@ var MenubarCheckboxItem = React51.forwardRef(({ className, children, checked, ..
27856
27970
  checked,
27857
27971
  ...props,
27858
27972
  children: [
27859
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react26.Check, { className: "h-4 w-4" }) }) }),
27973
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_lucide_react26.Check, { className: "h-4 w-4" }) }) }),
27860
27974
  children
27861
27975
  ]
27862
27976
  }
27863
27977
  ));
27864
27978
  MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
27865
- var MenubarRadioItem = React51.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
27979
+ var MenubarRadioItem = React50.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
27866
27980
  MenubarPrimitive.RadioItem,
27867
27981
  {
27868
27982
  ref,
@@ -27872,13 +27986,13 @@ var MenubarRadioItem = React51.forwardRef(({ className, children, ...props }, re
27872
27986
  ),
27873
27987
  ...props,
27874
27988
  children: [
27875
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react26.Circle, { className: "h-2 w-2 fill-current" }) }) }),
27989
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_lucide_react26.Circle, { className: "h-2 w-2 fill-current" }) }) }),
27876
27990
  children
27877
27991
  ]
27878
27992
  }
27879
27993
  ));
27880
27994
  MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
27881
- var MenubarLabel = React51.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
27995
+ var MenubarLabel = React50.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
27882
27996
  MenubarPrimitive.Label,
27883
27997
  {
27884
27998
  ref,
@@ -27887,20 +28001,20 @@ var MenubarLabel = React51.forwardRef(({ className, inset, ...props }, ref) => /
27887
28001
  }
27888
28002
  ));
27889
28003
  MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
27890
- var MenubarSeparator = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(MenubarPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
28004
+ var MenubarSeparator = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(MenubarPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
27891
28005
  MenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;
27892
28006
  var MenubarShortcut = ({ className, ...props }) => {
27893
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
28007
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
27894
28008
  };
27895
28009
  MenubarShortcut.displayname = "MenubarShortcut";
27896
28010
 
27897
28011
  // src/components/ui/navigation-menu.tsx
27898
- var React52 = __toESM(require("react"), 1);
28012
+ var React51 = __toESM(require("react"), 1);
27899
28013
  var NavigationMenuPrimitive = __toESM(require("@radix-ui/react-navigation-menu"), 1);
27900
28014
  var import_class_variance_authority5 = require("class-variance-authority");
27901
28015
  var import_lucide_react27 = require("lucide-react");
27902
- var import_jsx_runtime80 = require("react/jsx-runtime");
27903
- var NavigationMenu = React52.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
28016
+ var import_jsx_runtime79 = require("react/jsx-runtime");
28017
+ var NavigationMenu = React51.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
27904
28018
  NavigationMenuPrimitive.Root,
27905
28019
  {
27906
28020
  ref,
@@ -27908,12 +28022,12 @@ var NavigationMenu = React52.forwardRef(({ className, children, ...props }, ref)
27908
28022
  ...props,
27909
28023
  children: [
27910
28024
  children,
27911
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(NavigationMenuViewport, {})
28025
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(NavigationMenuViewport, {})
27912
28026
  ]
27913
28027
  }
27914
28028
  ));
27915
28029
  NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
27916
- var NavigationMenuList = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
28030
+ var NavigationMenuList = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
27917
28031
  NavigationMenuPrimitive.List,
27918
28032
  {
27919
28033
  ref,
@@ -27926,7 +28040,7 @@ var NavigationMenuItem = NavigationMenuPrimitive.Item;
27926
28040
  var navigationMenuTriggerStyle = (0, import_class_variance_authority5.cva)(
27927
28041
  "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"
27928
28042
  );
27929
- var NavigationMenuTrigger = React52.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
28043
+ var NavigationMenuTrigger = React51.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
27930
28044
  NavigationMenuPrimitive.Trigger,
27931
28045
  {
27932
28046
  ref,
@@ -27935,7 +28049,7 @@ var NavigationMenuTrigger = React52.forwardRef(({ className, children, ...props
27935
28049
  children: [
27936
28050
  children,
27937
28051
  " ",
27938
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
28052
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
27939
28053
  import_lucide_react27.ChevronDown,
27940
28054
  {
27941
28055
  className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
@@ -27946,7 +28060,7 @@ var NavigationMenuTrigger = React52.forwardRef(({ className, children, ...props
27946
28060
  }
27947
28061
  ));
27948
28062
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
27949
- var NavigationMenuContent = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
28063
+ var NavigationMenuContent = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
27950
28064
  NavigationMenuPrimitive.Content,
27951
28065
  {
27952
28066
  ref,
@@ -27959,7 +28073,7 @@ var NavigationMenuContent = React52.forwardRef(({ className, ...props }, ref) =>
27959
28073
  ));
27960
28074
  NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
27961
28075
  var NavigationMenuLink = NavigationMenuPrimitive.Link;
27962
- var NavigationMenuViewport = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
28076
+ var NavigationMenuViewport = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
27963
28077
  NavigationMenuPrimitive.Viewport,
27964
28078
  {
27965
28079
  className: cn(
@@ -27971,7 +28085,7 @@ var NavigationMenuViewport = React52.forwardRef(({ className, ...props }, ref) =
27971
28085
  }
27972
28086
  ) }));
27973
28087
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
27974
- var NavigationMenuIndicator = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
28088
+ var NavigationMenuIndicator = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
27975
28089
  NavigationMenuPrimitive.Indicator,
27976
28090
  {
27977
28091
  ref,
@@ -27980,16 +28094,16 @@ var NavigationMenuIndicator = React52.forwardRef(({ className, ...props }, ref)
27980
28094
  className
27981
28095
  ),
27982
28096
  ...props,
27983
- children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
28097
+ children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
27984
28098
  }
27985
28099
  ));
27986
28100
  NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
27987
28101
 
27988
28102
  // src/components/ui/pagination.tsx
27989
- var React53 = __toESM(require("react"), 1);
28103
+ var React52 = __toESM(require("react"), 1);
27990
28104
  var import_lucide_react28 = require("lucide-react");
27991
- var import_jsx_runtime81 = require("react/jsx-runtime");
27992
- var Pagination = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
28105
+ var import_jsx_runtime80 = require("react/jsx-runtime");
28106
+ var Pagination = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
27993
28107
  "nav",
27994
28108
  {
27995
28109
  role: "navigation",
@@ -27999,13 +28113,13 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_run
27999
28113
  }
28000
28114
  );
28001
28115
  Pagination.displayName = "Pagination";
28002
- var PaginationContent = React53.forwardRef(
28003
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("ul", { ref, className: cn("flex flex-row items-center gap-1", className), ...props })
28116
+ var PaginationContent = React52.forwardRef(
28117
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("ul", { ref, className: cn("flex flex-row items-center gap-1", className), ...props })
28004
28118
  );
28005
28119
  PaginationContent.displayName = "PaginationContent";
28006
- var PaginationItem = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("li", { ref, className: cn("", className), ...props }));
28120
+ var PaginationItem = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("li", { ref, className: cn("", className), ...props }));
28007
28121
  PaginationItem.displayName = "PaginationItem";
28008
- var PaginationLink = ({ className, isActive, size = "icon", ...props }) => /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
28122
+ var PaginationLink = ({ className, isActive, size = "icon", ...props }) => /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
28009
28123
  "a",
28010
28124
  {
28011
28125
  "aria-current": isActive ? "page" : void 0,
@@ -28020,29 +28134,29 @@ var PaginationLink = ({ className, isActive, size = "icon", ...props }) => /* @_
28020
28134
  }
28021
28135
  );
28022
28136
  PaginationLink.displayName = "PaginationLink";
28023
- var PaginationPrevious = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(PaginationLink, { "aria-label": "Go to previous page", size: "default", className: cn("gap-1 pl-2.5", className), ...props, children: [
28024
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react28.ChevronLeft, { className: "h-4 w-4" }),
28025
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { children: "Previous" })
28137
+ var PaginationPrevious = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(PaginationLink, { "aria-label": "Go to previous page", size: "default", className: cn("gap-1 pl-2.5", className), ...props, children: [
28138
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react28.ChevronLeft, { className: "h-4 w-4" }),
28139
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { children: "Previous" })
28026
28140
  ] });
28027
28141
  PaginationPrevious.displayName = "PaginationPrevious";
28028
- var PaginationNext = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(PaginationLink, { "aria-label": "Go to next page", size: "default", className: cn("gap-1 pr-2.5", className), ...props, children: [
28029
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { children: "Next" }),
28030
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react28.ChevronRight, { className: "h-4 w-4" })
28142
+ var PaginationNext = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(PaginationLink, { "aria-label": "Go to next page", size: "default", className: cn("gap-1 pr-2.5", className), ...props, children: [
28143
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { children: "Next" }),
28144
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react28.ChevronRight, { className: "h-4 w-4" })
28031
28145
  ] });
28032
28146
  PaginationNext.displayName = "PaginationNext";
28033
- var PaginationEllipsis = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("span", { "aria-hidden": true, className: cn("flex h-9 w-9 items-center justify-center", className), ...props, children: [
28034
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react28.MoreHorizontal, { className: "h-4 w-4" }),
28035
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: "sr-only", children: "More pages" })
28147
+ var PaginationEllipsis = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("span", { "aria-hidden": true, className: cn("flex h-9 w-9 items-center justify-center", className), ...props, children: [
28148
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react28.MoreHorizontal, { className: "h-4 w-4" }),
28149
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "sr-only", children: "More pages" })
28036
28150
  ] });
28037
28151
  PaginationEllipsis.displayName = "PaginationEllipsis";
28038
28152
 
28039
28153
  // src/components/ui/popover.tsx
28040
- var React54 = __toESM(require("react"), 1);
28154
+ var React53 = __toESM(require("react"), 1);
28041
28155
  var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"), 1);
28042
- var import_jsx_runtime82 = require("react/jsx-runtime");
28156
+ var import_jsx_runtime81 = require("react/jsx-runtime");
28043
28157
  var Popover = PopoverPrimitive.Root;
28044
28158
  var PopoverTrigger = PopoverPrimitive.Trigger;
28045
- var PopoverContent = React54.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
28159
+ var PopoverContent = React53.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
28046
28160
  PopoverPrimitive.Content,
28047
28161
  {
28048
28162
  ref,
@@ -28058,16 +28172,16 @@ var PopoverContent = React54.forwardRef(({ className, align = "center", sideOffs
28058
28172
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
28059
28173
 
28060
28174
  // src/components/ui/radio-group.tsx
28061
- var React55 = __toESM(require("react"), 1);
28175
+ var React54 = __toESM(require("react"), 1);
28062
28176
  var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"), 1);
28063
28177
  var import_lucide_react29 = require("lucide-react");
28064
- var import_jsx_runtime83 = require("react/jsx-runtime");
28065
- var RadioGroup4 = React55.forwardRef(({ className, ...props }, ref) => {
28066
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(RadioGroupPrimitive.Root, { className: cn("grid gap-2", className), ...props, ref });
28178
+ var import_jsx_runtime82 = require("react/jsx-runtime");
28179
+ var RadioGroup4 = React54.forwardRef(({ className, ...props }, ref) => {
28180
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(RadioGroupPrimitive.Root, { className: cn("grid gap-2", className), ...props, ref });
28067
28181
  });
28068
28182
  RadioGroup4.displayName = RadioGroupPrimitive.Root.displayName;
28069
- var RadioGroupItem = React55.forwardRef(({ className, ...props }, ref) => {
28070
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
28183
+ var RadioGroupItem = React54.forwardRef(({ className, ...props }, ref) => {
28184
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
28071
28185
  RadioGroupPrimitive.Item,
28072
28186
  {
28073
28187
  ref,
@@ -28076,7 +28190,7 @@ var RadioGroupItem = React55.forwardRef(({ className, ...props }, ref) => {
28076
28190
  className
28077
28191
  ),
28078
28192
  ...props,
28079
- children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_lucide_react29.Circle, { className: "h-2.5 w-2.5 fill-current text-current" }) })
28193
+ children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react29.Circle, { className: "h-2.5 w-2.5 fill-current text-current" }) })
28080
28194
  }
28081
28195
  );
28082
28196
  });
@@ -28085,8 +28199,8 @@ RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
28085
28199
  // src/components/ui/resizable.tsx
28086
28200
  var import_lucide_react30 = require("lucide-react");
28087
28201
  var ResizablePrimitive = __toESM(require("react-resizable-panels"), 1);
28088
- var import_jsx_runtime84 = require("react/jsx-runtime");
28089
- var ResizablePanelGroup = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
28202
+ var import_jsx_runtime83 = require("react/jsx-runtime");
28203
+ var ResizablePanelGroup = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
28090
28204
  ResizablePrimitive.PanelGroup,
28091
28205
  {
28092
28206
  className: cn("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", className),
@@ -28098,7 +28212,7 @@ var ResizableHandle = ({
28098
28212
  withHandle,
28099
28213
  className,
28100
28214
  ...props
28101
- }) => /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
28215
+ }) => /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
28102
28216
  ResizablePrimitive.PanelResizeHandle,
28103
28217
  {
28104
28218
  className: cn(
@@ -28106,15 +28220,15 @@ var ResizableHandle = ({
28106
28220
  className
28107
28221
  ),
28108
28222
  ...props,
28109
- children: withHandle && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_lucide_react30.GripVertical, { className: "h-2.5 w-2.5" }) })
28223
+ children: withHandle && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_lucide_react30.GripVertical, { className: "h-2.5 w-2.5" }) })
28110
28224
  }
28111
28225
  );
28112
28226
 
28113
28227
  // src/components/ui/separator.tsx
28114
- var React56 = __toESM(require("react"), 1);
28228
+ var React55 = __toESM(require("react"), 1);
28115
28229
  var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"), 1);
28116
- var import_jsx_runtime85 = require("react/jsx-runtime");
28117
- var Separator5 = React56.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
28230
+ var import_jsx_runtime84 = require("react/jsx-runtime");
28231
+ var Separator5 = React55.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
28118
28232
  SeparatorPrimitive.Root,
28119
28233
  {
28120
28234
  ref,
@@ -28130,13 +28244,13 @@ Separator5.displayName = SeparatorPrimitive.Root.displayName;
28130
28244
  var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
28131
28245
  var import_class_variance_authority6 = require("class-variance-authority");
28132
28246
  var import_lucide_react31 = require("lucide-react");
28133
- var React57 = __toESM(require("react"), 1);
28134
- var import_jsx_runtime86 = require("react/jsx-runtime");
28247
+ var React56 = __toESM(require("react"), 1);
28248
+ var import_jsx_runtime85 = require("react/jsx-runtime");
28135
28249
  var Sheet = SheetPrimitive.Root;
28136
28250
  var SheetTrigger = SheetPrimitive.Trigger;
28137
28251
  var SheetClose = SheetPrimitive.Close;
28138
28252
  var SheetPortal = SheetPrimitive.Portal;
28139
- var SheetOverlay = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28253
+ var SheetOverlay = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
28140
28254
  SheetPrimitive.Overlay,
28141
28255
  {
28142
28256
  className: cn(
@@ -28164,7 +28278,7 @@ var sheetVariants = (0, import_class_variance_authority6.cva)(
28164
28278
  }
28165
28279
  }
28166
28280
  );
28167
- var SheetContent = React57.forwardRef(
28281
+ var SheetContent = React56.forwardRef(
28168
28282
  ({
28169
28283
  side = "right",
28170
28284
  className,
@@ -28173,11 +28287,11 @@ var SheetContent = React57.forwardRef(
28173
28287
  closeButtonClassName,
28174
28288
  closeButtonLabel = "Close",
28175
28289
  ...props
28176
- }, ref) => /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(SheetPortal, { children: [
28177
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(SheetOverlay, {}),
28178
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(SheetPrimitive.Content, { ref, className: cn(sheetVariants({ side }), className), ...props, children: [
28290
+ }, ref) => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(SheetPortal, { children: [
28291
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(SheetOverlay, {}),
28292
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(SheetPrimitive.Content, { ref, className: cn(sheetVariants({ side }), className), ...props, children: [
28179
28293
  children,
28180
- showCloseButton ? /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
28294
+ showCloseButton ? /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
28181
28295
  SheetPrimitive.Close,
28182
28296
  {
28183
28297
  className: cn(
@@ -28185,8 +28299,8 @@ var SheetContent = React57.forwardRef(
28185
28299
  closeButtonClassName
28186
28300
  ),
28187
28301
  children: [
28188
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_lucide_react31.X, { className: "h-4 w-4" }),
28189
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: "sr-only", children: closeButtonLabel })
28302
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_lucide_react31.X, { className: "h-4 w-4" }),
28303
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: "sr-only", children: closeButtonLabel })
28190
28304
  ]
28191
28305
  }
28192
28306
  ) : null
@@ -28194,27 +28308,27 @@ var SheetContent = React57.forwardRef(
28194
28308
  ] })
28195
28309
  );
28196
28310
  SheetContent.displayName = SheetPrimitive.Content.displayName;
28197
- var SheetHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
28311
+ var SheetHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
28198
28312
  SheetHeader.displayName = "SheetHeader";
28199
- var SheetFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
28313
+ var SheetFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
28200
28314
  SheetFooter.displayName = "SheetFooter";
28201
- var SheetTitle = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(SheetPrimitive.Title, { ref, className: cn("text-lg font-semibold text-foreground", className), ...props }));
28315
+ var SheetTitle = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(SheetPrimitive.Title, { ref, className: cn("text-lg font-semibold text-foreground", className), ...props }));
28202
28316
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
28203
- var SheetDescription = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(SheetPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
28317
+ var SheetDescription = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(SheetPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
28204
28318
  SheetDescription.displayName = SheetPrimitive.Description.displayName;
28205
28319
 
28206
28320
  // src/components/ui/sidebar.tsx
28207
- var React59 = __toESM(require("react"), 1);
28321
+ var React58 = __toESM(require("react"), 1);
28208
28322
  var import_react_slot4 = require("@radix-ui/react-slot");
28209
28323
  var import_class_variance_authority7 = require("class-variance-authority");
28210
28324
  var import_lucide_react32 = require("lucide-react");
28211
28325
 
28212
28326
  // src/hooks/use-mobile.tsx
28213
- var React58 = __toESM(require("react"), 1);
28327
+ var React57 = __toESM(require("react"), 1);
28214
28328
  var MOBILE_BREAKPOINT = 768;
28215
28329
  function useIsMobile() {
28216
- const [isMobile, setIsMobile] = React58.useState(void 0);
28217
- React58.useEffect(() => {
28330
+ const [isMobile, setIsMobile] = React57.useState(void 0);
28331
+ React57.useEffect(() => {
28218
28332
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
28219
28333
  const onChange = () => {
28220
28334
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -28227,27 +28341,27 @@ function useIsMobile() {
28227
28341
  }
28228
28342
 
28229
28343
  // src/components/ui/sidebar.tsx
28230
- var import_jsx_runtime87 = require("react/jsx-runtime");
28344
+ var import_jsx_runtime86 = require("react/jsx-runtime");
28231
28345
  var SIDEBAR_COOKIE_NAME = "sidebar:state";
28232
28346
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
28233
28347
  var SIDEBAR_WIDTH = "16rem";
28234
28348
  var SIDEBAR_WIDTH_MOBILE = "18rem";
28235
28349
  var SIDEBAR_WIDTH_ICON = "3rem";
28236
28350
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
28237
- var SidebarContext = React59.createContext(null);
28351
+ var SidebarContext = React58.createContext(null);
28238
28352
  function useSidebar() {
28239
- const context = React59.useContext(SidebarContext);
28353
+ const context = React58.useContext(SidebarContext);
28240
28354
  if (!context) {
28241
28355
  throw new Error("useSidebar must be used within a SidebarProvider.");
28242
28356
  }
28243
28357
  return context;
28244
28358
  }
28245
- var SidebarProvider = React59.forwardRef(({ defaultOpen = true, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }, ref) => {
28359
+ var SidebarProvider = React58.forwardRef(({ defaultOpen = true, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }, ref) => {
28246
28360
  const isMobile = useIsMobile();
28247
- const [openMobile, setOpenMobile] = React59.useState(false);
28248
- const [_open, _setOpen] = React59.useState(defaultOpen);
28361
+ const [openMobile, setOpenMobile] = React58.useState(false);
28362
+ const [_open, _setOpen] = React58.useState(defaultOpen);
28249
28363
  const open = openProp != null ? openProp : _open;
28250
- const setOpen = React59.useCallback(
28364
+ const setOpen = React58.useCallback(
28251
28365
  (value) => {
28252
28366
  const openState = typeof value === "function" ? value(open) : value;
28253
28367
  if (setOpenProp) {
@@ -28259,10 +28373,10 @@ var SidebarProvider = React59.forwardRef(({ defaultOpen = true, open: openProp,
28259
28373
  },
28260
28374
  [setOpenProp, open]
28261
28375
  );
28262
- const toggleSidebar = React59.useCallback(() => {
28376
+ const toggleSidebar = React58.useCallback(() => {
28263
28377
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
28264
28378
  }, [isMobile, setOpen, setOpenMobile]);
28265
- React59.useEffect(() => {
28379
+ React58.useEffect(() => {
28266
28380
  const handleKeyDown = (event) => {
28267
28381
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
28268
28382
  event.preventDefault();
@@ -28273,7 +28387,7 @@ var SidebarProvider = React59.forwardRef(({ defaultOpen = true, open: openProp,
28273
28387
  return () => window.removeEventListener("keydown", handleKeyDown);
28274
28388
  }, [toggleSidebar]);
28275
28389
  const state = open ? "expanded" : "collapsed";
28276
- const contextValue = React59.useMemo(
28390
+ const contextValue = React58.useMemo(
28277
28391
  () => ({
28278
28392
  state,
28279
28393
  open,
@@ -28285,7 +28399,7 @@ var SidebarProvider = React59.forwardRef(({ defaultOpen = true, open: openProp,
28285
28399
  }),
28286
28400
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
28287
28401
  );
28288
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28402
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28289
28403
  "div",
28290
28404
  {
28291
28405
  style: {
@@ -28301,10 +28415,10 @@ var SidebarProvider = React59.forwardRef(({ defaultOpen = true, open: openProp,
28301
28415
  ) }) });
28302
28416
  });
28303
28417
  SidebarProvider.displayName = "SidebarProvider";
28304
- var Sidebar = React59.forwardRef(({ side = "left", variant = "sidebar", collapsible = "offcanvas", className, children, ...props }, ref) => {
28418
+ var Sidebar = React58.forwardRef(({ side = "left", variant = "sidebar", collapsible = "offcanvas", className, children, ...props }, ref) => {
28305
28419
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
28306
28420
  if (collapsible === "none") {
28307
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28421
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28308
28422
  "div",
28309
28423
  {
28310
28424
  className: cn("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground", className),
@@ -28315,7 +28429,7 @@ var Sidebar = React59.forwardRef(({ side = "left", variant = "sidebar", collapsi
28315
28429
  );
28316
28430
  }
28317
28431
  if (isMobile) {
28318
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28432
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28319
28433
  SheetContent,
28320
28434
  {
28321
28435
  "data-sidebar": "sidebar",
@@ -28325,11 +28439,11 @@ var Sidebar = React59.forwardRef(({ side = "left", variant = "sidebar", collapsi
28325
28439
  "--sidebar-width": SIDEBAR_WIDTH_MOBILE
28326
28440
  },
28327
28441
  side,
28328
- children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "flex h-full w-full flex-col", children })
28442
+ children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "flex h-full w-full flex-col", children })
28329
28443
  }
28330
28444
  ) });
28331
28445
  }
28332
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
28446
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
28333
28447
  "div",
28334
28448
  {
28335
28449
  ref,
@@ -28339,7 +28453,7 @@ var Sidebar = React59.forwardRef(({ side = "left", variant = "sidebar", collapsi
28339
28453
  "data-variant": variant,
28340
28454
  "data-side": side,
28341
28455
  children: [
28342
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28456
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28343
28457
  "div",
28344
28458
  {
28345
28459
  className: cn(
@@ -28350,7 +28464,7 @@ var Sidebar = React59.forwardRef(({ side = "left", variant = "sidebar", collapsi
28350
28464
  )
28351
28465
  }
28352
28466
  ),
28353
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28467
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28354
28468
  "div",
28355
28469
  {
28356
28470
  className: cn(
@@ -28361,7 +28475,7 @@ var Sidebar = React59.forwardRef(({ side = "left", variant = "sidebar", collapsi
28361
28475
  className
28362
28476
  ),
28363
28477
  ...props,
28364
- children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28478
+ children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28365
28479
  "div",
28366
28480
  {
28367
28481
  "data-sidebar": "sidebar",
@@ -28376,10 +28490,10 @@ var Sidebar = React59.forwardRef(({ side = "left", variant = "sidebar", collapsi
28376
28490
  );
28377
28491
  });
28378
28492
  Sidebar.displayName = "Sidebar";
28379
- var SidebarTrigger = React59.forwardRef(
28493
+ var SidebarTrigger = React58.forwardRef(
28380
28494
  ({ className, onClick, ...props }, ref) => {
28381
28495
  const { toggleSidebar } = useSidebar();
28382
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
28496
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
28383
28497
  Button,
28384
28498
  {
28385
28499
  ref,
@@ -28393,18 +28507,18 @@ var SidebarTrigger = React59.forwardRef(
28393
28507
  },
28394
28508
  ...props,
28395
28509
  children: [
28396
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_lucide_react32.PanelLeft, {}),
28397
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
28510
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_lucide_react32.PanelLeft, {}),
28511
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
28398
28512
  ]
28399
28513
  }
28400
28514
  );
28401
28515
  }
28402
28516
  );
28403
28517
  SidebarTrigger.displayName = "SidebarTrigger";
28404
- var SidebarRail = React59.forwardRef(
28518
+ var SidebarRail = React58.forwardRef(
28405
28519
  ({ className, ...props }, ref) => {
28406
28520
  const { toggleSidebar } = useSidebar();
28407
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28521
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28408
28522
  "button",
28409
28523
  {
28410
28524
  ref,
@@ -28428,8 +28542,8 @@ var SidebarRail = React59.forwardRef(
28428
28542
  }
28429
28543
  );
28430
28544
  SidebarRail.displayName = "SidebarRail";
28431
- var SidebarInset = React59.forwardRef(({ className, ...props }, ref) => {
28432
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28545
+ var SidebarInset = React58.forwardRef(({ className, ...props }, ref) => {
28546
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28433
28547
  "main",
28434
28548
  {
28435
28549
  ref,
@@ -28443,9 +28557,9 @@ var SidebarInset = React59.forwardRef(({ className, ...props }, ref) => {
28443
28557
  );
28444
28558
  });
28445
28559
  SidebarInset.displayName = "SidebarInset";
28446
- var SidebarInput = React59.forwardRef(
28560
+ var SidebarInput = React58.forwardRef(
28447
28561
  ({ className, ...props }, ref) => {
28448
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28562
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28449
28563
  Input,
28450
28564
  {
28451
28565
  ref,
@@ -28460,17 +28574,17 @@ var SidebarInput = React59.forwardRef(
28460
28574
  }
28461
28575
  );
28462
28576
  SidebarInput.displayName = "SidebarInput";
28463
- var SidebarHeader = React59.forwardRef(({ className, ...props }, ref) => {
28464
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { ref, "data-sidebar": "header", className: cn("flex flex-col gap-2 p-2", className), ...props });
28577
+ var SidebarHeader = React58.forwardRef(({ className, ...props }, ref) => {
28578
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { ref, "data-sidebar": "header", className: cn("flex flex-col gap-2 p-2", className), ...props });
28465
28579
  });
28466
28580
  SidebarHeader.displayName = "SidebarHeader";
28467
- var SidebarFooter = React59.forwardRef(({ className, ...props }, ref) => {
28468
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { ref, "data-sidebar": "footer", className: cn("flex flex-col gap-2 p-2", className), ...props });
28581
+ var SidebarFooter = React58.forwardRef(({ className, ...props }, ref) => {
28582
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { ref, "data-sidebar": "footer", className: cn("flex flex-col gap-2 p-2", className), ...props });
28469
28583
  });
28470
28584
  SidebarFooter.displayName = "SidebarFooter";
28471
- var SidebarSeparator = React59.forwardRef(
28585
+ var SidebarSeparator = React58.forwardRef(
28472
28586
  ({ className, ...props }, ref) => {
28473
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28587
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28474
28588
  Separator5,
28475
28589
  {
28476
28590
  ref,
@@ -28482,8 +28596,8 @@ var SidebarSeparator = React59.forwardRef(
28482
28596
  }
28483
28597
  );
28484
28598
  SidebarSeparator.displayName = "SidebarSeparator";
28485
- var SidebarContent = React59.forwardRef(({ className, ...props }, ref) => {
28486
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28599
+ var SidebarContent = React58.forwardRef(({ className, ...props }, ref) => {
28600
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28487
28601
  "div",
28488
28602
  {
28489
28603
  ref,
@@ -28497,8 +28611,8 @@ var SidebarContent = React59.forwardRef(({ className, ...props }, ref) => {
28497
28611
  );
28498
28612
  });
28499
28613
  SidebarContent.displayName = "SidebarContent";
28500
- var SidebarGroup = React59.forwardRef(({ className, ...props }, ref) => {
28501
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28614
+ var SidebarGroup = React58.forwardRef(({ className, ...props }, ref) => {
28615
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28502
28616
  "div",
28503
28617
  {
28504
28618
  ref,
@@ -28509,10 +28623,10 @@ var SidebarGroup = React59.forwardRef(({ className, ...props }, ref) => {
28509
28623
  );
28510
28624
  });
28511
28625
  SidebarGroup.displayName = "SidebarGroup";
28512
- var SidebarGroupLabel = React59.forwardRef(
28626
+ var SidebarGroupLabel = React58.forwardRef(
28513
28627
  ({ className, asChild = false, ...props }, ref) => {
28514
28628
  const Comp = asChild ? import_react_slot4.Slot : "div";
28515
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28629
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28516
28630
  Comp,
28517
28631
  {
28518
28632
  ref,
@@ -28528,10 +28642,10 @@ var SidebarGroupLabel = React59.forwardRef(
28528
28642
  }
28529
28643
  );
28530
28644
  SidebarGroupLabel.displayName = "SidebarGroupLabel";
28531
- var SidebarGroupAction = React59.forwardRef(
28645
+ var SidebarGroupAction = React58.forwardRef(
28532
28646
  ({ className, asChild = false, ...props }, ref) => {
28533
28647
  const Comp = asChild ? import_react_slot4.Slot : "button";
28534
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28648
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28535
28649
  Comp,
28536
28650
  {
28537
28651
  ref,
@@ -28549,13 +28663,13 @@ var SidebarGroupAction = React59.forwardRef(
28549
28663
  }
28550
28664
  );
28551
28665
  SidebarGroupAction.displayName = "SidebarGroupAction";
28552
- var SidebarGroupContent = React59.forwardRef(
28553
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { ref, "data-sidebar": "group-content", className: cn("w-full text-sm", className), ...props })
28666
+ var SidebarGroupContent = React58.forwardRef(
28667
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { ref, "data-sidebar": "group-content", className: cn("w-full text-sm", className), ...props })
28554
28668
  );
28555
28669
  SidebarGroupContent.displayName = "SidebarGroupContent";
28556
- var SidebarMenu = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("ul", { ref, "data-sidebar": "menu", className: cn("flex w-full min-w-0 flex-col gap-1", className), ...props }));
28670
+ var SidebarMenu = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("ul", { ref, "data-sidebar": "menu", className: cn("flex w-full min-w-0 flex-col gap-1", className), ...props }));
28557
28671
  SidebarMenu.displayName = "SidebarMenu";
28558
- var SidebarMenuItem = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("li", { ref, "data-sidebar": "menu-item", className: cn("group/menu-item relative", className), ...props }));
28672
+ var SidebarMenuItem = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("li", { ref, "data-sidebar": "menu-item", className: cn("group/menu-item relative", className), ...props }));
28559
28673
  SidebarMenuItem.displayName = "SidebarMenuItem";
28560
28674
  var sidebarMenuButtonVariants = (0, import_class_variance_authority7.cva)(
28561
28675
  "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
@@ -28577,10 +28691,10 @@ var sidebarMenuButtonVariants = (0, import_class_variance_authority7.cva)(
28577
28691
  }
28578
28692
  }
28579
28693
  );
28580
- var SidebarMenuButton = React59.forwardRef(({ asChild = false, isActive = false, variant = "default", size = "default", tooltip, className, ...props }, ref) => {
28694
+ var SidebarMenuButton = React58.forwardRef(({ asChild = false, isActive = false, variant = "default", size = "default", tooltip, className, ...props }, ref) => {
28581
28695
  const Comp = asChild ? import_react_slot4.Slot : "button";
28582
28696
  const { isMobile, state } = useSidebar();
28583
- const button = /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28697
+ const button = /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28584
28698
  Comp,
28585
28699
  {
28586
28700
  ref,
@@ -28599,15 +28713,15 @@ var SidebarMenuButton = React59.forwardRef(({ asChild = false, isActive = false,
28599
28713
  children: tooltip
28600
28714
  };
28601
28715
  }
28602
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(Tooltip, { children: [
28603
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(TooltipTrigger, { asChild: true, children: button }),
28604
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(TooltipContent, { side: "right", align: "center", hidden: state !== "collapsed" || isMobile, ...tooltip })
28716
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(Tooltip, { children: [
28717
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(TooltipTrigger, { asChild: true, children: button }),
28718
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(TooltipContent, { side: "right", align: "center", hidden: state !== "collapsed" || isMobile, ...tooltip })
28605
28719
  ] });
28606
28720
  });
28607
28721
  SidebarMenuButton.displayName = "SidebarMenuButton";
28608
- var SidebarMenuAction = React59.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
28722
+ var SidebarMenuAction = React58.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
28609
28723
  const Comp = asChild ? import_react_slot4.Slot : "button";
28610
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28724
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28611
28725
  Comp,
28612
28726
  {
28613
28727
  ref,
@@ -28628,8 +28742,8 @@ var SidebarMenuAction = React59.forwardRef(({ className, asChild = false, showOn
28628
28742
  );
28629
28743
  });
28630
28744
  SidebarMenuAction.displayName = "SidebarMenuAction";
28631
- var SidebarMenuBadge = React59.forwardRef(
28632
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28745
+ var SidebarMenuBadge = React58.forwardRef(
28746
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28633
28747
  "div",
28634
28748
  {
28635
28749
  ref,
@@ -28648,11 +28762,11 @@ var SidebarMenuBadge = React59.forwardRef(
28648
28762
  )
28649
28763
  );
28650
28764
  SidebarMenuBadge.displayName = "SidebarMenuBadge";
28651
- var SidebarMenuSkeleton = React59.forwardRef(({ className, showIcon = false, ...props }, ref) => {
28652
- const width = React59.useMemo(() => {
28765
+ var SidebarMenuSkeleton = React58.forwardRef(({ className, showIcon = false, ...props }, ref) => {
28766
+ const width = React58.useMemo(() => {
28653
28767
  return `${Math.floor(Math.random() * 40) + 50}%`;
28654
28768
  }, []);
28655
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
28769
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
28656
28770
  "div",
28657
28771
  {
28658
28772
  ref,
@@ -28660,8 +28774,8 @@ var SidebarMenuSkeleton = React59.forwardRef(({ className, showIcon = false, ...
28660
28774
  className: cn("flex h-8 items-center gap-2 rounded-md px-2", className),
28661
28775
  ...props,
28662
28776
  children: [
28663
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Skeleton, { className: "size-4 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
28664
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28777
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Skeleton, { className: "size-4 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
28778
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28665
28779
  Skeleton,
28666
28780
  {
28667
28781
  className: "h-4 max-w-[--skeleton-width] flex-1",
@@ -28676,8 +28790,8 @@ var SidebarMenuSkeleton = React59.forwardRef(({ className, showIcon = false, ...
28676
28790
  );
28677
28791
  });
28678
28792
  SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
28679
- var SidebarMenuSub = React59.forwardRef(
28680
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28793
+ var SidebarMenuSub = React58.forwardRef(
28794
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28681
28795
  "ul",
28682
28796
  {
28683
28797
  ref,
@@ -28692,11 +28806,11 @@ var SidebarMenuSub = React59.forwardRef(
28692
28806
  )
28693
28807
  );
28694
28808
  SidebarMenuSub.displayName = "SidebarMenuSub";
28695
- var SidebarMenuSubItem = React59.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("li", { ref, ...props }));
28809
+ var SidebarMenuSubItem = React58.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("li", { ref, ...props }));
28696
28810
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
28697
- var SidebarMenuSubButton = React59.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
28811
+ var SidebarMenuSubButton = React58.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
28698
28812
  const Comp = asChild ? import_react_slot4.Slot : "a";
28699
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
28813
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
28700
28814
  Comp,
28701
28815
  {
28702
28816
  ref,
@@ -28718,44 +28832,44 @@ var SidebarMenuSubButton = React59.forwardRef(({ asChild = false, size = "md", i
28718
28832
  SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
28719
28833
 
28720
28834
  // src/components/ui/slider.tsx
28721
- var React60 = __toESM(require("react"), 1);
28835
+ var React59 = __toESM(require("react"), 1);
28722
28836
  var SliderPrimitive = __toESM(require("@radix-ui/react-slider"), 1);
28723
- var import_jsx_runtime88 = require("react/jsx-runtime");
28724
- var Slider = React60.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
28837
+ var import_jsx_runtime87 = require("react/jsx-runtime");
28838
+ var Slider = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
28725
28839
  SliderPrimitive.Root,
28726
28840
  {
28727
28841
  ref,
28728
28842
  className: cn("relative flex w-full touch-none select-none items-center", className),
28729
28843
  ...props,
28730
28844
  children: [
28731
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(SliderPrimitive.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-secondary", children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(SliderPrimitive.Range, { className: "absolute h-full bg-primary" }) }),
28732
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(SliderPrimitive.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })
28845
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(SliderPrimitive.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-secondary", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(SliderPrimitive.Range, { className: "absolute h-full bg-primary" }) }),
28846
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(SliderPrimitive.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })
28733
28847
  ]
28734
28848
  }
28735
28849
  ));
28736
28850
  Slider.displayName = SliderPrimitive.Root.displayName;
28737
28851
 
28738
28852
  // src/components/ui/table.tsx
28739
- var React61 = __toESM(require("react"), 1);
28740
- var import_jsx_runtime89 = require("react/jsx-runtime");
28741
- var Table = React61.forwardRef(
28742
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("table", { ref, className: cn("w-full caption-bottom text-sm", className), ...props }) })
28853
+ var React60 = __toESM(require("react"), 1);
28854
+ var import_jsx_runtime88 = require("react/jsx-runtime");
28855
+ var Table = React60.forwardRef(
28856
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("table", { ref, className: cn("w-full caption-bottom text-sm", className), ...props }) })
28743
28857
  );
28744
28858
  Table.displayName = "Table";
28745
- var TableHeader = React61.forwardRef(
28746
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("thead", { ref, className: cn("[&_tr]:border-b", className), ...props })
28859
+ var TableHeader = React60.forwardRef(
28860
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("thead", { ref, className: cn("[&_tr]:border-b", className), ...props })
28747
28861
  );
28748
28862
  TableHeader.displayName = "TableHeader";
28749
- var TableBody = React61.forwardRef(
28750
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("tbody", { ref, className: cn("[&_tr:last-child]:border-0", className), ...props })
28863
+ var TableBody = React60.forwardRef(
28864
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("tbody", { ref, className: cn("[&_tr:last-child]:border-0", className), ...props })
28751
28865
  );
28752
28866
  TableBody.displayName = "TableBody";
28753
- var TableFooter = React61.forwardRef(
28754
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("tfoot", { ref, className: cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", className), ...props })
28867
+ var TableFooter = React60.forwardRef(
28868
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("tfoot", { ref, className: cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", className), ...props })
28755
28869
  );
28756
28870
  TableFooter.displayName = "TableFooter";
28757
- var TableRow = React61.forwardRef(
28758
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
28871
+ var TableRow = React60.forwardRef(
28872
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
28759
28873
  "tr",
28760
28874
  {
28761
28875
  ref,
@@ -28765,8 +28879,8 @@ var TableRow = React61.forwardRef(
28765
28879
  )
28766
28880
  );
28767
28881
  TableRow.displayName = "TableRow";
28768
- var TableHead = React61.forwardRef(
28769
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
28882
+ var TableHead = React60.forwardRef(
28883
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
28770
28884
  "th",
28771
28885
  {
28772
28886
  ref,
@@ -28779,23 +28893,23 @@ var TableHead = React61.forwardRef(
28779
28893
  )
28780
28894
  );
28781
28895
  TableHead.displayName = "TableHead";
28782
- var TableCell = React61.forwardRef(
28783
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("td", { ref, className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className), ...props })
28896
+ var TableCell = React60.forwardRef(
28897
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("td", { ref, className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className), ...props })
28784
28898
  );
28785
28899
  TableCell.displayName = "TableCell";
28786
- var TableCaption = React61.forwardRef(
28787
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("caption", { ref, className: cn("mt-4 text-sm text-muted-foreground", className), ...props })
28900
+ var TableCaption = React60.forwardRef(
28901
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("caption", { ref, className: cn("mt-4 text-sm text-muted-foreground", className), ...props })
28788
28902
  );
28789
28903
  TableCaption.displayName = "TableCaption";
28790
28904
 
28791
28905
  // src/components/ui/toast.tsx
28792
- var React62 = __toESM(require("react"), 1);
28906
+ var React61 = __toESM(require("react"), 1);
28793
28907
  var ToastPrimitives = __toESM(require("@radix-ui/react-toast"), 1);
28794
28908
  var import_class_variance_authority8 = require("class-variance-authority");
28795
28909
  var import_lucide_react33 = require("lucide-react");
28796
- var import_jsx_runtime90 = require("react/jsx-runtime");
28910
+ var import_jsx_runtime89 = require("react/jsx-runtime");
28797
28911
  var ToastProvider = ToastPrimitives.Provider;
28798
- var ToastViewport = React62.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
28912
+ var ToastViewport = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
28799
28913
  ToastPrimitives.Viewport,
28800
28914
  {
28801
28915
  ref,
@@ -28821,11 +28935,11 @@ var toastVariants = (0, import_class_variance_authority8.cva)(
28821
28935
  }
28822
28936
  }
28823
28937
  );
28824
- var Toast = React62.forwardRef(({ className, variant, ...props }, ref) => {
28825
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(ToastPrimitives.Root, { ref, className: cn(toastVariants({ variant }), className), ...props });
28938
+ var Toast = React61.forwardRef(({ className, variant, ...props }, ref) => {
28939
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(ToastPrimitives.Root, { ref, className: cn(toastVariants({ variant }), className), ...props });
28826
28940
  });
28827
28941
  Toast.displayName = ToastPrimitives.Root.displayName;
28828
- var ToastAction = React62.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
28942
+ var ToastAction = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
28829
28943
  ToastPrimitives.Action,
28830
28944
  {
28831
28945
  ref,
@@ -28837,7 +28951,7 @@ var ToastAction = React62.forwardRef(({ className, ...props }, ref) => /* @__PUR
28837
28951
  }
28838
28952
  ));
28839
28953
  ToastAction.displayName = ToastPrimitives.Action.displayName;
28840
- var ToastClose = React62.forwardRef(({ className, onClick, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
28954
+ var ToastClose = React61.forwardRef(({ className, onClick, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
28841
28955
  ToastPrimitives.Close,
28842
28956
  {
28843
28957
  ref,
@@ -28851,39 +28965,39 @@ var ToastClose = React62.forwardRef(({ className, onClick, ...props }, ref) => /
28851
28965
  },
28852
28966
  "toast-close": "",
28853
28967
  ...props,
28854
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_lucide_react33.X, { className: "h-4 w-4" })
28968
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_lucide_react33.X, { className: "h-4 w-4" })
28855
28969
  }
28856
28970
  ));
28857
28971
  ToastClose.displayName = ToastPrimitives.Close.displayName;
28858
- var ToastTitle = React62.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(ToastPrimitives.Title, { ref, className: cn("text-sm font-semibold", className), ...props }));
28972
+ var ToastTitle = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(ToastPrimitives.Title, { ref, className: cn("text-sm font-semibold", className), ...props }));
28859
28973
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
28860
- var ToastDescription = React62.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(ToastPrimitives.Description, { ref, className: cn("text-sm opacity-90", className), ...props }));
28974
+ var ToastDescription = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(ToastPrimitives.Description, { ref, className: cn("text-sm opacity-90", className), ...props }));
28861
28975
  ToastDescription.displayName = ToastPrimitives.Description.displayName;
28862
28976
 
28863
28977
  // src/components/ui/toaster.tsx
28864
- var import_jsx_runtime91 = require("react/jsx-runtime");
28978
+ var import_jsx_runtime90 = require("react/jsx-runtime");
28865
28979
  function Toaster2() {
28866
28980
  const { toasts } = useToast();
28867
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(ToastProvider, { children: [
28981
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(ToastProvider, { children: [
28868
28982
  toasts.map(function({ id, title, description, action, ...props }) {
28869
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(Toast, { ...props, children: [
28870
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "grid gap-1", children: [
28871
- title && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(ToastTitle, { children: title }),
28872
- description && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(ToastDescription, { children: description })
28983
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(Toast, { ...props, children: [
28984
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "grid gap-1", children: [
28985
+ title && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(ToastTitle, { children: title }),
28986
+ description && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(ToastDescription, { children: description })
28873
28987
  ] }),
28874
28988
  action,
28875
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(ToastClose, {})
28989
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(ToastClose, {})
28876
28990
  ] }, id);
28877
28991
  }),
28878
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(ToastViewport, {})
28992
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(ToastViewport, {})
28879
28993
  ] });
28880
28994
  }
28881
28995
 
28882
28996
  // src/components/ui/toggle.tsx
28883
- var React63 = __toESM(require("react"), 1);
28997
+ var React62 = __toESM(require("react"), 1);
28884
28998
  var TogglePrimitive = __toESM(require("@radix-ui/react-toggle"), 1);
28885
28999
  var import_class_variance_authority9 = require("class-variance-authority");
28886
- var import_jsx_runtime92 = require("react/jsx-runtime");
29000
+ var import_jsx_runtime91 = require("react/jsx-runtime");
28887
29001
  var toggleVariants = (0, import_class_variance_authority9.cva)(
28888
29002
  "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",
28889
29003
  {
@@ -28904,22 +29018,22 @@ var toggleVariants = (0, import_class_variance_authority9.cva)(
28904
29018
  }
28905
29019
  }
28906
29020
  );
28907
- var Toggle = React63.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(TogglePrimitive.Root, { ref, className: cn(toggleVariants({ variant, size, className })), ...props }));
29021
+ var Toggle = React62.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(TogglePrimitive.Root, { ref, className: cn(toggleVariants({ variant, size, className })), ...props }));
28908
29022
  Toggle.displayName = TogglePrimitive.Root.displayName;
28909
29023
 
28910
29024
  // src/components/ui/toggle-group.tsx
28911
- var React64 = __toESM(require("react"), 1);
29025
+ var React63 = __toESM(require("react"), 1);
28912
29026
  var ToggleGroupPrimitive = __toESM(require("@radix-ui/react-toggle-group"), 1);
28913
- var import_jsx_runtime93 = require("react/jsx-runtime");
28914
- var ToggleGroupContext = React64.createContext({
29027
+ var import_jsx_runtime92 = require("react/jsx-runtime");
29028
+ var ToggleGroupContext = React63.createContext({
28915
29029
  size: "default",
28916
29030
  variant: "default"
28917
29031
  });
28918
- var ToggleGroup = React64.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(ToggleGroupPrimitive.Root, { ref, className: cn("flex items-center justify-center gap-1", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(ToggleGroupContext.Provider, { value: { variant, size }, children }) }));
29032
+ var ToggleGroup = React63.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ToggleGroupPrimitive.Root, { ref, className: cn("flex items-center justify-center gap-1", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ToggleGroupContext.Provider, { value: { variant, size }, children }) }));
28919
29033
  ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
28920
- var ToggleGroupItem = React64.forwardRef(({ className, children, variant, size, ...props }, ref) => {
28921
- const context = React64.useContext(ToggleGroupContext);
28922
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
29034
+ var ToggleGroupItem = React63.forwardRef(({ className, children, variant, size, ...props }, ref) => {
29035
+ const context = React63.useContext(ToggleGroupContext);
29036
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
28923
29037
  ToggleGroupPrimitive.Item,
28924
29038
  {
28925
29039
  ref,
@@ -29028,7 +29142,7 @@ var useLayoutModeControl = () => {
29028
29142
 
29029
29143
  // src/lib/auth.tsx
29030
29144
  var import_react28 = require("react");
29031
- var import_jsx_runtime94 = require("react/jsx-runtime");
29145
+ var import_jsx_runtime93 = require("react/jsx-runtime");
29032
29146
  var STORAGE_KEYS = {
29033
29147
  accessToken: "cc_access_token",
29034
29148
  idToken: "cc_id_token",
@@ -29916,7 +30030,7 @@ var AuthProvider = ({ children }) => {
29916
30030
  }),
29917
30031
  [status, user, accessToken, login, logout, completeLogin, getAccessToken, presenceStatus, setPresenceStatus]
29918
30032
  );
29919
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(AuthContext.Provider, { value, children });
30033
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(AuthContext.Provider, { value, children });
29920
30034
  };
29921
30035
  var useAuth = () => {
29922
30036
  const ctx = (0, import_react28.useContext)(AuthContext);
@@ -30075,6 +30189,7 @@ var useAuth = () => {
30075
30189
  DropdownMenuSubContent,
30076
30190
  DropdownMenuSubTrigger,
30077
30191
  DropdownMenuTrigger,
30192
+ EXPERIENCE_SETTINGS_STORAGE_KEY,
30078
30193
  EmptyState,
30079
30194
  ErrorBoundary,
30080
30195
  Eyebrow,
@@ -30098,6 +30213,7 @@ var useAuth = () => {
30098
30213
  InputOTPSlot,
30099
30214
  JellyButton,
30100
30215
  JellyButtonOriginal,
30216
+ LEGACY_THEME_STORAGE_KEY,
30101
30217
  Label,
30102
30218
  LoadingScreen,
30103
30219
  LoadingSpinner,
@@ -30214,6 +30330,9 @@ var useAuth = () => {
30214
30330
  SonnerToaster,
30215
30331
  Switch,
30216
30332
  SwitchField,
30333
+ THEME_PREFERENCE_CHANGE_EVENT,
30334
+ THEME_PREFERENCE_STORAGE_KEY,
30335
+ THEME_STORAGE_KEY,
30217
30336
  Table,
30218
30337
  TableBody,
30219
30338
  TableCaption,
@@ -30283,12 +30402,20 @@ var useAuth = () => {
30283
30402
  getSupabase,
30284
30403
  getSupabasePublic,
30285
30404
  isRuntimeDev,
30405
+ isStoredThemeMode,
30286
30406
  navigationMenuTriggerStyle,
30407
+ normalizeStoredThemePreference,
30287
30408
  parseAssetId,
30409
+ parseStoredThemePreference,
30410
+ persistThemePreferenceSelection,
30288
30411
  readStoredLayoutMode,
30412
+ readStoredThemeMode,
30289
30413
  reducer,
30414
+ resolveAppliedThemeMode,
30290
30415
  resolveCupcodeAppVersion,
30291
30416
  resolveOidcEndpoints,
30417
+ resolveStoredThemePreference,
30418
+ resolveSystemThemeMode,
30292
30419
  resolveTelescupImageURL,
30293
30420
  responsiveSizeClasses,
30294
30421
  setCupcodeRuntimeEnv,