@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.js CHANGED
@@ -2118,47 +2118,6 @@ var NavbarCupcode = ({
2118
2118
  };
2119
2119
  var NavbarCupcode_default = NavbarCupcode;
2120
2120
 
2121
- // src/components/cupcode/TelescupImage.tsx
2122
- import { jsx as jsx12 } from "react/jsx-runtime";
2123
- var TelescupImage = ({
2124
- apiId,
2125
- imageWidth,
2126
- imageHeight,
2127
- fit = "cover",
2128
- format = "avif",
2129
- quality = 60,
2130
- lang = "pt-BR",
2131
- alt,
2132
- title,
2133
- loading = "lazy",
2134
- className,
2135
- ...props
2136
- }) => {
2137
- const { url, meta } = useTelescupImage(
2138
- {
2139
- id: apiId,
2140
- width: imageWidth,
2141
- height: imageHeight,
2142
- fit,
2143
- format,
2144
- quality
2145
- },
2146
- lang
2147
- );
2148
- return /* @__PURE__ */ jsx12(
2149
- "img",
2150
- {
2151
- src: url,
2152
- "data-api-id": apiId,
2153
- alt: alt || meta.alt || "",
2154
- title: title || meta.title,
2155
- loading,
2156
- className,
2157
- ...props
2158
- }
2159
- );
2160
- };
2161
-
2162
2121
  // src/components/cupcode/UserMenuCupcode.tsx
2163
2122
  import * as DialogPrimitive2 from "@radix-ui/react-dialog";
2164
2123
  import {
@@ -2218,7 +2177,7 @@ import {
2218
2177
  import * as React6 from "react";
2219
2178
  import * as SelectPrimitive from "@radix-ui/react-select";
2220
2179
  import { Check, ChevronDown as ChevronDown2, ChevronUp } from "lucide-react";
2221
- import { jsx as jsx13, jsxs as jsxs10 } from "react/jsx-runtime";
2180
+ import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
2222
2181
  var Select = SelectPrimitive.Root;
2223
2182
  var SelectGroup = SelectPrimitive.Group;
2224
2183
  var SelectValue = SelectPrimitive.Value;
@@ -2233,32 +2192,32 @@ var SelectTrigger = React6.forwardRef(({ className, children, ...props }, ref) =
2233
2192
  ...props,
2234
2193
  children: [
2235
2194
  children,
2236
- /* @__PURE__ */ jsx13(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx13(ChevronDown2, { className: "h-4 w-4 opacity-50" }) })
2195
+ /* @__PURE__ */ jsx12(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx12(ChevronDown2, { className: "h-4 w-4 opacity-50" }) })
2237
2196
  ]
2238
2197
  }
2239
2198
  ));
2240
2199
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
2241
- var SelectScrollUpButton = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
2200
+ var SelectScrollUpButton = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx12(
2242
2201
  SelectPrimitive.ScrollUpButton,
2243
2202
  {
2244
2203
  ref,
2245
2204
  className: cn("flex cursor-default items-center justify-center py-1", className),
2246
2205
  ...props,
2247
- children: /* @__PURE__ */ jsx13(ChevronUp, { className: "h-4 w-4" })
2206
+ children: /* @__PURE__ */ jsx12(ChevronUp, { className: "h-4 w-4" })
2248
2207
  }
2249
2208
  ));
2250
2209
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
2251
- var SelectScrollDownButton = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
2210
+ var SelectScrollDownButton = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx12(
2252
2211
  SelectPrimitive.ScrollDownButton,
2253
2212
  {
2254
2213
  ref,
2255
2214
  className: cn("flex cursor-default items-center justify-center py-1", className),
2256
2215
  ...props,
2257
- children: /* @__PURE__ */ jsx13(ChevronDown2, { className: "h-4 w-4" })
2216
+ children: /* @__PURE__ */ jsx12(ChevronDown2, { className: "h-4 w-4" })
2258
2217
  }
2259
2218
  ));
2260
2219
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
2261
- var SelectContent = React6.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx13(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs10(
2220
+ var SelectContent = React6.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx12(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs10(
2262
2221
  SelectPrimitive.Content,
2263
2222
  {
2264
2223
  ref,
@@ -2270,8 +2229,8 @@ var SelectContent = React6.forwardRef(({ className, children, position = "popper
2270
2229
  position,
2271
2230
  ...props,
2272
2231
  children: [
2273
- /* @__PURE__ */ jsx13(SelectScrollUpButton, {}),
2274
- /* @__PURE__ */ jsx13(
2232
+ /* @__PURE__ */ jsx12(SelectScrollUpButton, {}),
2233
+ /* @__PURE__ */ jsx12(
2275
2234
  SelectPrimitive.Viewport,
2276
2235
  {
2277
2236
  className: cn(
@@ -2281,12 +2240,12 @@ var SelectContent = React6.forwardRef(({ className, children, position = "popper
2281
2240
  children
2282
2241
  }
2283
2242
  ),
2284
- /* @__PURE__ */ jsx13(SelectScrollDownButton, {})
2243
+ /* @__PURE__ */ jsx12(SelectScrollDownButton, {})
2285
2244
  ]
2286
2245
  }
2287
2246
  ) }));
2288
2247
  SelectContent.displayName = SelectPrimitive.Content.displayName;
2289
- var SelectLabel = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(SelectPrimitive.Label, { ref, className: cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className), ...props }));
2248
+ var SelectLabel = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx12(SelectPrimitive.Label, { ref, className: cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className), ...props }));
2290
2249
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
2291
2250
  var SelectItem = React6.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs10(
2292
2251
  SelectPrimitive.Item,
@@ -2298,20 +2257,20 @@ var SelectItem = React6.forwardRef(({ className, children, ...props }, ref) => /
2298
2257
  ),
2299
2258
  ...props,
2300
2259
  children: [
2301
- /* @__PURE__ */ jsx13("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx13(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx13(Check, { className: "h-4 w-4" }) }) }),
2302
- /* @__PURE__ */ jsx13(SelectPrimitive.ItemText, { children })
2260
+ /* @__PURE__ */ jsx12("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx12(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx12(Check, { className: "h-4 w-4" }) }) }),
2261
+ /* @__PURE__ */ jsx12(SelectPrimitive.ItemText, { children })
2303
2262
  ]
2304
2263
  }
2305
2264
  ));
2306
2265
  SelectItem.displayName = SelectPrimitive.Item.displayName;
2307
- var SelectSeparator = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(SelectPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
2266
+ var SelectSeparator = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx12(SelectPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
2308
2267
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
2309
2268
 
2310
2269
  // src/components/ui/avatar.tsx
2311
2270
  import * as React7 from "react";
2312
2271
  import * as AvatarPrimitive2 from "@radix-ui/react-avatar";
2313
- import { jsx as jsx14 } from "react/jsx-runtime";
2314
- var Avatar2 = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
2272
+ import { jsx as jsx13 } from "react/jsx-runtime";
2273
+ var Avatar2 = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
2315
2274
  AvatarPrimitive2.Root,
2316
2275
  {
2317
2276
  ref,
@@ -2320,7 +2279,7 @@ var Avatar2 = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
2320
2279
  }
2321
2280
  ));
2322
2281
  Avatar2.displayName = AvatarPrimitive2.Root.displayName;
2323
- var AvatarImage2 = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
2282
+ var AvatarImage2 = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
2324
2283
  AvatarPrimitive2.Image,
2325
2284
  {
2326
2285
  ref,
@@ -2329,7 +2288,7 @@ var AvatarImage2 = React7.forwardRef(({ className, ...props }, ref) => /* @__PUR
2329
2288
  }
2330
2289
  ));
2331
2290
  AvatarImage2.displayName = AvatarPrimitive2.Image.displayName;
2332
- var AvatarFallback2 = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
2291
+ var AvatarFallback2 = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
2333
2292
  AvatarPrimitive2.Fallback,
2334
2293
  {
2335
2294
  ref,
@@ -2388,7 +2347,7 @@ function responsiveSizeClasses(s, currentBp) {
2388
2347
 
2389
2348
  // src/components/cupcode/JellyButton.tsx
2390
2349
  import { forwardRef as forwardRef8 } from "react";
2391
- import { jsx as jsx15, jsxs as jsxs11 } from "react/jsx-runtime";
2350
+ import { jsx as jsx14, jsxs as jsxs11 } from "react/jsx-runtime";
2392
2351
  var JellyButton = forwardRef8(
2393
2352
  ({ variant = "primary", size = "md", className, children, type = "button", ...props }, ref) => {
2394
2353
  const sizeClass = {
@@ -2406,14 +2365,14 @@ var JellyButton = forwardRef8(
2406
2365
  ...props,
2407
2366
  children: [
2408
2367
  /* @__PURE__ */ jsxs11("span", { className: "cc-blob-cta__color-wrap", "aria-hidden": "true", children: [
2409
- /* @__PURE__ */ jsx15("span", { className: "cc-blob-cta__color cc-blob-cta__color--1" }),
2410
- /* @__PURE__ */ jsx15("span", { className: "cc-blob-cta__color cc-blob-cta__color--3" }),
2411
- /* @__PURE__ */ jsx15("span", { className: "cc-blob-cta__color cc-blob-cta__color--2" }),
2412
- /* @__PURE__ */ jsx15("span", { className: "cc-blob-cta__bg" })
2368
+ /* @__PURE__ */ jsx14("span", { className: "cc-blob-cta__color cc-blob-cta__color--1" }),
2369
+ /* @__PURE__ */ jsx14("span", { className: "cc-blob-cta__color cc-blob-cta__color--3" }),
2370
+ /* @__PURE__ */ jsx14("span", { className: "cc-blob-cta__color cc-blob-cta__color--2" }),
2371
+ /* @__PURE__ */ jsx14("span", { className: "cc-blob-cta__bg" })
2413
2372
  ] }),
2414
- /* @__PURE__ */ jsx15("span", { className: "cc-blob-cta__label", children }),
2415
- /* @__PURE__ */ jsx15("span", { className: "cc-blob-cta__glow cc-blob-cta__glow--1", "aria-hidden": "true" }),
2416
- /* @__PURE__ */ jsx15("span", { className: "cc-blob-cta__glow cc-blob-cta__glow--2", "aria-hidden": "true" })
2373
+ /* @__PURE__ */ jsx14("span", { className: "cc-blob-cta__label", children }),
2374
+ /* @__PURE__ */ jsx14("span", { className: "cc-blob-cta__glow cc-blob-cta__glow--1", "aria-hidden": "true" }),
2375
+ /* @__PURE__ */ jsx14("span", { className: "cc-blob-cta__glow cc-blob-cta__glow--2", "aria-hidden": "true" })
2417
2376
  ]
2418
2377
  }
2419
2378
  );
@@ -2422,7 +2381,7 @@ var JellyButton = forwardRef8(
2422
2381
  JellyButton.displayName = "JellyButton";
2423
2382
 
2424
2383
  // src/components/cupcode/JellyButtonOriginal.tsx
2425
- import { jsx as jsx16, jsxs as jsxs12 } from "react/jsx-runtime";
2384
+ import { jsx as jsx15, jsxs as jsxs12 } from "react/jsx-runtime";
2426
2385
  var resolveResponsiveSize = (value, currentBp) => {
2427
2386
  var _a78, _b7, _c, _d, _e;
2428
2387
  if (typeof value === "string") {
@@ -2472,7 +2431,7 @@ function JellyButtonOriginal({
2472
2431
  window.location.href = href;
2473
2432
  }
2474
2433
  };
2475
- return /* @__PURE__ */ jsx16(
2434
+ return /* @__PURE__ */ jsx15(
2476
2435
  JellyButton,
2477
2436
  {
2478
2437
  variant: color === "green" ? "original-green" : "original-pink",
@@ -2480,8 +2439,8 @@ function JellyButtonOriginal({
2480
2439
  className,
2481
2440
  onClick: handleClick,
2482
2441
  children: /* @__PURE__ */ jsxs12("span", { className: "inline-flex items-center gap-2", children: [
2483
- icon ? /* @__PURE__ */ jsx16("span", { className: "inline-flex items-center justify-center", children: icon }) : null,
2484
- /* @__PURE__ */ jsx16("span", { children: label })
2442
+ icon ? /* @__PURE__ */ jsx15("span", { className: "inline-flex items-center justify-center", children: icon }) : null,
2443
+ /* @__PURE__ */ jsx15("span", { children: label })
2485
2444
  ] })
2486
2445
  }
2487
2446
  );
@@ -2491,7 +2450,7 @@ function JellyButtonOriginal({
2491
2450
  import * as React8 from "react";
2492
2451
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
2493
2452
  import { Check as Check2, ChevronRight, Circle } from "lucide-react";
2494
- import { jsx as jsx17, jsxs as jsxs13 } from "react/jsx-runtime";
2453
+ import { jsx as jsx16, jsxs as jsxs13 } from "react/jsx-runtime";
2495
2454
  var DropdownMenu = DropdownMenuPrimitive.Root;
2496
2455
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
2497
2456
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
@@ -2510,12 +2469,12 @@ var DropdownMenuSubTrigger = React8.forwardRef(({ className, inset, children, ..
2510
2469
  ...props,
2511
2470
  children: [
2512
2471
  children,
2513
- /* @__PURE__ */ jsx17(ChevronRight, { className: "ml-auto h-4 w-4" })
2472
+ /* @__PURE__ */ jsx16(ChevronRight, { className: "ml-auto h-4 w-4" })
2514
2473
  ]
2515
2474
  }
2516
2475
  ));
2517
2476
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
2518
- var DropdownMenuSubContent = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
2477
+ var DropdownMenuSubContent = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx16(
2519
2478
  DropdownMenuPrimitive.SubContent,
2520
2479
  {
2521
2480
  ref,
@@ -2527,7 +2486,7 @@ var DropdownMenuSubContent = React8.forwardRef(({ className, ...props }, ref) =>
2527
2486
  }
2528
2487
  ));
2529
2488
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
2530
- var DropdownMenuContent = React8.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx17(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx17(
2489
+ var DropdownMenuContent = React8.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx16(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx16(
2531
2490
  DropdownMenuPrimitive.Content,
2532
2491
  {
2533
2492
  ref,
@@ -2540,7 +2499,7 @@ var DropdownMenuContent = React8.forwardRef(({ className, sideOffset = 4, ...pro
2540
2499
  }
2541
2500
  ) }));
2542
2501
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
2543
- var DropdownMenuItem = React8.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx17(
2502
+ var DropdownMenuItem = React8.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx16(
2544
2503
  DropdownMenuPrimitive.Item,
2545
2504
  {
2546
2505
  ref,
@@ -2564,7 +2523,7 @@ var DropdownMenuCheckboxItem = React8.forwardRef(({ className, children, checked
2564
2523
  checked,
2565
2524
  ...props,
2566
2525
  children: [
2567
- /* @__PURE__ */ jsx17("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx17(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx17(Check2, { className: "h-4 w-4" }) }) }),
2526
+ /* @__PURE__ */ jsx16("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx16(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx16(Check2, { className: "h-4 w-4" }) }) }),
2568
2527
  children
2569
2528
  ]
2570
2529
  }
@@ -2580,13 +2539,13 @@ var DropdownMenuRadioItem = React8.forwardRef(({ className, children, ...props }
2580
2539
  ),
2581
2540
  ...props,
2582
2541
  children: [
2583
- /* @__PURE__ */ jsx17("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx17(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx17(Circle, { className: "h-2 w-2 fill-current" }) }) }),
2542
+ /* @__PURE__ */ jsx16("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx16(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx16(Circle, { className: "h-2 w-2 fill-current" }) }) }),
2584
2543
  children
2585
2544
  ]
2586
2545
  }
2587
2546
  ));
2588
2547
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
2589
- var DropdownMenuLabel = React8.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx17(
2548
+ var DropdownMenuLabel = React8.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx16(
2590
2549
  DropdownMenuPrimitive.Label,
2591
2550
  {
2592
2551
  ref,
@@ -2595,10 +2554,10 @@ var DropdownMenuLabel = React8.forwardRef(({ className, inset, ...props }, ref)
2595
2554
  }
2596
2555
  ));
2597
2556
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
2598
- var DropdownMenuSeparator = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(DropdownMenuPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
2557
+ var DropdownMenuSeparator = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx16(DropdownMenuPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
2599
2558
  DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
2600
2559
  var DropdownMenuShortcut = ({ className, ...props }) => {
2601
- return /* @__PURE__ */ jsx17("span", { className: cn("ml-auto text-xs tracking-widest opacity-60", className), ...props });
2560
+ return /* @__PURE__ */ jsx16("span", { className: cn("ml-auto text-xs tracking-widest opacity-60", className), ...props });
2602
2561
  };
2603
2562
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
2604
2563
 
@@ -2610,7 +2569,7 @@ import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
2610
2569
  import * as React9 from "react";
2611
2570
  import { Slot } from "@radix-ui/react-slot";
2612
2571
  import { cva } from "class-variance-authority";
2613
- import { jsx as jsx18 } from "react/jsx-runtime";
2572
+ import { jsx as jsx17 } from "react/jsx-runtime";
2614
2573
  var buttonVariants = cva(
2615
2574
  "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",
2616
2575
  {
@@ -2640,17 +2599,17 @@ var buttonVariants = cva(
2640
2599
  var Button = React9.forwardRef(
2641
2600
  ({ className, variant, size, asChild = false, ...props }, ref) => {
2642
2601
  const Comp = asChild ? Slot : "button";
2643
- return /* @__PURE__ */ jsx18(Comp, { className: cn(buttonVariants({ variant, size, className })), ref, ...props });
2602
+ return /* @__PURE__ */ jsx17(Comp, { className: cn(buttonVariants({ variant, size, className })), ref, ...props });
2644
2603
  }
2645
2604
  );
2646
2605
  Button.displayName = "Button";
2647
2606
 
2648
2607
  // src/components/ui/alert-dialog.tsx
2649
- import { jsx as jsx19, jsxs as jsxs14 } from "react/jsx-runtime";
2608
+ import { jsx as jsx18, jsxs as jsxs14 } from "react/jsx-runtime";
2650
2609
  var AlertDialog = AlertDialogPrimitive.Root;
2651
2610
  var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
2652
2611
  var AlertDialogPortal = AlertDialogPrimitive.Portal;
2653
- var AlertDialogOverlay = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
2612
+ var AlertDialogOverlay = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
2654
2613
  AlertDialogPrimitive.Overlay,
2655
2614
  {
2656
2615
  className: cn(
@@ -2663,8 +2622,8 @@ var AlertDialogOverlay = React10.forwardRef(({ className, ...props }, ref) => /*
2663
2622
  ));
2664
2623
  AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
2665
2624
  var AlertDialogContent = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs14(AlertDialogPortal, { children: [
2666
- /* @__PURE__ */ jsx19(AlertDialogOverlay, {}),
2667
- /* @__PURE__ */ jsx19(
2625
+ /* @__PURE__ */ jsx18(AlertDialogOverlay, {}),
2626
+ /* @__PURE__ */ jsx18(
2668
2627
  AlertDialogPrimitive.Content,
2669
2628
  {
2670
2629
  ref,
@@ -2677,17 +2636,17 @@ var AlertDialogContent = React10.forwardRef(({ className, ...props }, ref) => /*
2677
2636
  )
2678
2637
  ] }));
2679
2638
  AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;
2680
- var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx19("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
2639
+ var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx18("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
2681
2640
  AlertDialogHeader.displayName = "AlertDialogHeader";
2682
- var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx19("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
2641
+ var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx18("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
2683
2642
  AlertDialogFooter.displayName = "AlertDialogFooter";
2684
- var AlertDialogTitle = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(AlertDialogPrimitive.Title, { ref, className: cn("text-lg font-semibold", className), ...props }));
2643
+ var AlertDialogTitle = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(AlertDialogPrimitive.Title, { ref, className: cn("text-lg font-semibold", className), ...props }));
2685
2644
  AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
2686
- var AlertDialogDescription = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(AlertDialogPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
2645
+ var AlertDialogDescription = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(AlertDialogPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
2687
2646
  AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
2688
- var AlertDialogAction = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(AlertDialogPrimitive.Action, { ref, className: cn(buttonVariants(), className), ...props }));
2647
+ var AlertDialogAction = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(AlertDialogPrimitive.Action, { ref, className: cn(buttonVariants(), className), ...props }));
2689
2648
  AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
2690
- var AlertDialogCancel = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
2649
+ var AlertDialogCancel = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
2691
2650
  AlertDialogPrimitive.Cancel,
2692
2651
  {
2693
2652
  ref,
@@ -2701,12 +2660,12 @@ AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
2701
2660
  import * as React11 from "react";
2702
2661
  import * as DialogPrimitive from "@radix-ui/react-dialog";
2703
2662
  import { X as X3 } from "lucide-react";
2704
- import { jsx as jsx20, jsxs as jsxs15 } from "react/jsx-runtime";
2663
+ import { jsx as jsx19, jsxs as jsxs15 } from "react/jsx-runtime";
2705
2664
  var Dialog = DialogPrimitive.Root;
2706
2665
  var DialogTrigger = DialogPrimitive.Trigger;
2707
2666
  var DialogPortal = DialogPrimitive.Portal;
2708
2667
  var DialogClose = DialogPrimitive.Close;
2709
- var DialogOverlay = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
2668
+ var DialogOverlay = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
2710
2669
  DialogPrimitive.Overlay,
2711
2670
  {
2712
2671
  ref,
@@ -2719,7 +2678,7 @@ var DialogOverlay = React11.forwardRef(({ className, ...props }, ref) => /* @__P
2719
2678
  ));
2720
2679
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
2721
2680
  var DialogContent = React11.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs15(DialogPortal, { children: [
2722
- /* @__PURE__ */ jsx20(DialogOverlay, {}),
2681
+ /* @__PURE__ */ jsx19(DialogOverlay, {}),
2723
2682
  /* @__PURE__ */ jsxs15(
2724
2683
  DialogPrimitive.Content,
2725
2684
  {
@@ -2732,19 +2691,19 @@ var DialogContent = React11.forwardRef(({ className, children, ...props }, ref)
2732
2691
  children: [
2733
2692
  children,
2734
2693
  /* @__PURE__ */ jsxs15(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: [
2735
- /* @__PURE__ */ jsx20(X3, { className: "h-4 w-4" }),
2736
- /* @__PURE__ */ jsx20("span", { className: "sr-only", children: "Close" })
2694
+ /* @__PURE__ */ jsx19(X3, { className: "h-4 w-4" }),
2695
+ /* @__PURE__ */ jsx19("span", { className: "sr-only", children: "Close" })
2737
2696
  ] })
2738
2697
  ]
2739
2698
  }
2740
2699
  )
2741
2700
  ] }));
2742
2701
  DialogContent.displayName = DialogPrimitive.Content.displayName;
2743
- var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx20("div", { className: cn("flex flex-col space-y-1.5 text-center sm:text-left", className), ...props });
2702
+ var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx19("div", { className: cn("flex flex-col space-y-1.5 text-center sm:text-left", className), ...props });
2744
2703
  DialogHeader.displayName = "DialogHeader";
2745
- var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx20("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
2704
+ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx19("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
2746
2705
  DialogFooter.displayName = "DialogFooter";
2747
- var DialogTitle = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
2706
+ var DialogTitle = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
2748
2707
  DialogPrimitive.Title,
2749
2708
  {
2750
2709
  ref,
@@ -2753,14 +2712,14 @@ var DialogTitle = React11.forwardRef(({ className, ...props }, ref) => /* @__PUR
2753
2712
  }
2754
2713
  ));
2755
2714
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
2756
- var DialogDescription = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(DialogPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
2715
+ var DialogDescription = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(DialogPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
2757
2716
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
2758
2717
 
2759
2718
  // src/components/ui/switch.tsx
2760
2719
  import * as React12 from "react";
2761
2720
  import * as SwitchPrimitives from "@radix-ui/react-switch";
2762
- import { jsx as jsx21 } from "react/jsx-runtime";
2763
- var Switch = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
2721
+ import { jsx as jsx20 } from "react/jsx-runtime";
2722
+ var Switch = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
2764
2723
  SwitchPrimitives.Root,
2765
2724
  {
2766
2725
  className: cn(
@@ -2769,7 +2728,7 @@ var Switch = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
2769
2728
  ),
2770
2729
  ...props,
2771
2730
  ref,
2772
- children: /* @__PURE__ */ jsx21(
2731
+ children: /* @__PURE__ */ jsx20(
2773
2732
  SwitchPrimitives.Thumb,
2774
2733
  {
2775
2734
  className: cn(
@@ -4443,6 +4402,47 @@ function useTelescupAssets(options) {
4443
4402
  };
4444
4403
  }
4445
4404
 
4405
+ // src/components/cupcode/TelescupImage.tsx
4406
+ import { jsx as jsx21 } from "react/jsx-runtime";
4407
+ var TelescupImage = ({
4408
+ apiId,
4409
+ imageWidth,
4410
+ imageHeight,
4411
+ fit = "cover",
4412
+ format = "avif",
4413
+ quality = 60,
4414
+ lang = "pt-BR",
4415
+ alt,
4416
+ title,
4417
+ loading = "lazy",
4418
+ className,
4419
+ ...props
4420
+ }) => {
4421
+ const { url, meta } = useTelescupImage(
4422
+ {
4423
+ id: apiId,
4424
+ width: imageWidth,
4425
+ height: imageHeight,
4426
+ fit,
4427
+ format,
4428
+ quality
4429
+ },
4430
+ lang
4431
+ );
4432
+ return /* @__PURE__ */ jsx21(
4433
+ "img",
4434
+ {
4435
+ src: url,
4436
+ "data-api-id": apiId,
4437
+ alt: alt || meta.alt || "",
4438
+ title: title || meta.title,
4439
+ loading,
4440
+ className,
4441
+ ...props
4442
+ }
4443
+ );
4444
+ };
4445
+
4446
4446
  // src/components/cupcode/TelescupVideo.tsx
4447
4447
  import { jsx as jsx22 } from "react/jsx-runtime";
4448
4448
  var TelescupVideo = ({
@@ -6074,6 +6074,104 @@ var TelescupUpload = ({
6074
6074
  ] }) });
6075
6075
  };
6076
6076
 
6077
+ // src/lib/themePreference.ts
6078
+ var THEME_STORAGE_KEY = "cupcode-theme";
6079
+ var LEGACY_THEME_STORAGE_KEY = "theme";
6080
+ var THEME_PREFERENCE_STORAGE_KEY = "cupcode-theme-preference";
6081
+ var EXPERIENCE_SETTINGS_STORAGE_KEY = "cc_user_menu_experience_settings";
6082
+ var THEME_PREFERENCE_CHANGE_EVENT = "cupcode:theme-preference-change";
6083
+ function isStoredThemeMode(value) {
6084
+ return value === "light" || value === "dark";
6085
+ }
6086
+ function parseStoredThemePreference(value) {
6087
+ return value === "light" || value === "dark" || value === "system" ? value : null;
6088
+ }
6089
+ function normalizeStoredThemePreference(value) {
6090
+ var _a78;
6091
+ return (_a78 = parseStoredThemePreference(value)) != null ? _a78 : "system";
6092
+ }
6093
+ function readStoredThemeMode() {
6094
+ var _a78;
6095
+ if (typeof window === "undefined") return null;
6096
+ try {
6097
+ const storedTheme = (_a78 = window.localStorage.getItem(THEME_STORAGE_KEY)) != null ? _a78 : window.localStorage.getItem(LEGACY_THEME_STORAGE_KEY);
6098
+ return isStoredThemeMode(storedTheme) ? storedTheme : null;
6099
+ } catch (e) {
6100
+ return null;
6101
+ }
6102
+ }
6103
+ function resolveSystemThemeMode() {
6104
+ if (typeof window !== "undefined" && window.matchMedia("(prefers-color-scheme: dark)").matches) {
6105
+ return "dark";
6106
+ }
6107
+ return "light";
6108
+ }
6109
+ function resolveAppliedThemeMode(preference) {
6110
+ return preference === "system" ? resolveSystemThemeMode() : preference;
6111
+ }
6112
+ function readStoredExperienceSettingsRecord() {
6113
+ if (typeof window === "undefined") return null;
6114
+ try {
6115
+ const raw = window.localStorage.getItem(EXPERIENCE_SETTINGS_STORAGE_KEY);
6116
+ if (!raw) return null;
6117
+ const parsed = JSON.parse(raw);
6118
+ if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) {
6119
+ return null;
6120
+ }
6121
+ return parsed;
6122
+ } catch (e) {
6123
+ return null;
6124
+ }
6125
+ }
6126
+ function persistThemePreferenceSelection(preference) {
6127
+ if (typeof window === "undefined") return;
6128
+ const appliedMode = resolveAppliedThemeMode(preference);
6129
+ try {
6130
+ window.localStorage.setItem(THEME_PREFERENCE_STORAGE_KEY, preference);
6131
+ window.localStorage.setItem(THEME_STORAGE_KEY, appliedMode);
6132
+ window.localStorage.setItem(LEGACY_THEME_STORAGE_KEY, appliedMode);
6133
+ const currentExperienceSettings = readStoredExperienceSettingsRecord();
6134
+ window.localStorage.setItem(
6135
+ EXPERIENCE_SETTINGS_STORAGE_KEY,
6136
+ JSON.stringify({
6137
+ ...currentExperienceSettings != null ? currentExperienceSettings : {},
6138
+ theme: preference
6139
+ })
6140
+ );
6141
+ } catch (e) {
6142
+ }
6143
+ window.dispatchEvent(
6144
+ new CustomEvent(THEME_PREFERENCE_CHANGE_EVENT, {
6145
+ detail: {
6146
+ appliedMode,
6147
+ preference
6148
+ }
6149
+ })
6150
+ );
6151
+ }
6152
+ function resolveStoredThemePreference(experienceSettingsTheme) {
6153
+ var _a78;
6154
+ if (typeof window === "undefined") {
6155
+ return normalizeStoredThemePreference(experienceSettingsTheme);
6156
+ }
6157
+ try {
6158
+ const storedThemePreference = parseStoredThemePreference(
6159
+ window.localStorage.getItem(THEME_PREFERENCE_STORAGE_KEY)
6160
+ );
6161
+ if (storedThemePreference) {
6162
+ return storedThemePreference;
6163
+ }
6164
+ const parsedExperienceTheme = parseStoredThemePreference(experienceSettingsTheme);
6165
+ const storedThemeMode = readStoredThemeMode();
6166
+ if (parsedExperienceTheme === "system" && storedThemeMode) {
6167
+ return storedThemeMode;
6168
+ }
6169
+ return (_a78 = parsedExperienceTheme != null ? parsedExperienceTheme : storedThemeMode) != null ? _a78 : "system";
6170
+ } catch (e) {
6171
+ return normalizeStoredThemePreference(experienceSettingsTheme);
6172
+ }
6173
+ }
6174
+
6077
6175
  // src/components/cupcode/UserMenuCupcode.tsx
6078
6176
  import { Fragment as Fragment4, jsx as jsx35, jsxs as jsxs22 } from "react/jsx-runtime";
6079
6177
  var PRESENCE_META = {
@@ -6163,12 +6261,9 @@ var CHAT_DELETED_PLACEHOLDER_TEXT = "Mensagem deletada";
6163
6261
  var CHAT_GROUP_PREFIX = "local-group";
6164
6262
  var NOTIFICATIONS_VISIBLE_LIMIT = 8;
6165
6263
  var CHAT_SETTINGS_STORAGE_KEY = "cc_user_menu_chat_settings";
6166
- var EXPERIENCE_SETTINGS_STORAGE_KEY = "cc_user_menu_experience_settings";
6264
+ var EXPERIENCE_SETTINGS_STORAGE_KEY2 = "cc_user_menu_experience_settings";
6167
6265
  var NOTIFICATION_PREFERENCES_STORAGE_KEY = "cc_user_menu_notification_preferences";
6168
6266
  var INTEGRATION_SETTINGS_STORAGE_KEY = "cc_user_menu_integration_connections";
6169
- var THEME_PREFERENCE_STORAGE_KEY = "cupcode-theme-preference";
6170
- var THEME_STORAGE_KEY = "cupcode-theme";
6171
- var LEGACY_THEME_STORAGE_KEY = "theme";
6172
6267
  var SHARED_FILE_URL_REGEX = /https?:\/\/[^\s]+/gi;
6173
6268
  var SHARED_FILE_EXTENSIONS = [
6174
6269
  ".pdf",
@@ -6345,12 +6440,6 @@ var defaultExperienceSettings = () => ({
6345
6440
  contrast: "normal",
6346
6441
  showEmailPublicly: true
6347
6442
  });
6348
- var normalizeThemePreference = (value) => {
6349
- const normalized = value == null ? void 0 : value.trim().toLowerCase();
6350
- if (normalized === "light") return "light";
6351
- if (normalized === "dark") return "dark";
6352
- return "system";
6353
- };
6354
6443
  var normalizeDensityMode = (value) => {
6355
6444
  return (value == null ? void 0 : value.trim().toLowerCase()) === "comfortable" ? "comfortable" : "compact";
6356
6445
  };
@@ -6358,16 +6447,13 @@ var normalizeContrastMode = (value) => {
6358
6447
  return (value == null ? void 0 : value.trim().toLowerCase()) === "high" ? "high" : "normal";
6359
6448
  };
6360
6449
  var readStoredExperienceSettings = () => {
6361
- var _a78, _b7, _c;
6362
6450
  const fallback = defaultExperienceSettings();
6363
6451
  if (typeof window === "undefined") return fallback;
6364
6452
  try {
6365
- const raw = window.localStorage.getItem(EXPERIENCE_SETTINGS_STORAGE_KEY);
6453
+ const raw = window.localStorage.getItem(EXPERIENCE_SETTINGS_STORAGE_KEY2);
6366
6454
  const parsed = raw ? JSON.parse(raw) : null;
6367
- const storedThemePreference = window.localStorage.getItem(THEME_PREFERENCE_STORAGE_KEY);
6368
- const legacyTheme = (_a78 = window.localStorage.getItem(THEME_STORAGE_KEY)) != null ? _a78 : window.localStorage.getItem(LEGACY_THEME_STORAGE_KEY);
6369
6455
  return {
6370
- theme: normalizeThemePreference((_c = (_b7 = parsed == null ? void 0 : parsed.theme) != null ? _b7 : storedThemePreference) != null ? _c : legacyTheme),
6456
+ theme: resolveStoredThemePreference(parsed == null ? void 0 : parsed.theme),
6371
6457
  density: normalizeDensityMode(parsed == null ? void 0 : parsed.density),
6372
6458
  contrast: normalizeContrastMode(parsed == null ? void 0 : parsed.contrast),
6373
6459
  showEmailPublicly: typeof (parsed == null ? void 0 : parsed.showEmailPublicly) === "boolean" ? parsed.showEmailPublicly : fallback.showEmailPublicly
@@ -6379,7 +6465,7 @@ var readStoredExperienceSettings = () => {
6379
6465
  var persistExperienceSettings = (settings) => {
6380
6466
  if (typeof window === "undefined") return;
6381
6467
  try {
6382
- window.localStorage.setItem(EXPERIENCE_SETTINGS_STORAGE_KEY, JSON.stringify(settings));
6468
+ window.localStorage.setItem(EXPERIENCE_SETTINGS_STORAGE_KEY2, JSON.stringify(settings));
6383
6469
  } catch (e) {
6384
6470
  }
6385
6471
  };
@@ -6411,29 +6497,16 @@ var persistIntegrationConnections = (connections) => {
6411
6497
  } catch (e) {
6412
6498
  }
6413
6499
  };
6414
- var resolveSystemThemeMode = () => {
6415
- if (typeof window !== "undefined" && window.matchMedia("(prefers-color-scheme: dark)").matches) {
6416
- return "dark";
6417
- }
6418
- return "light";
6419
- };
6420
- var resolveAppliedThemeMode = (preference) => {
6421
- return preference === "system" ? resolveSystemThemeMode() : preference;
6422
- };
6423
6500
  var applyThemePreference = (preference) => {
6424
6501
  if (typeof document === "undefined") return;
6425
6502
  const root = document.documentElement;
6426
6503
  const appliedMode = resolveAppliedThemeMode(preference);
6427
6504
  root.classList.toggle("dark", appliedMode === "dark");
6428
6505
  root.classList.toggle("light", appliedMode === "light");
6506
+ root.dataset.theme = appliedMode;
6429
6507
  root.dataset.cupcodeTheme = preference;
6430
- if (typeof window === "undefined") return;
6431
- try {
6432
- window.localStorage.setItem(THEME_PREFERENCE_STORAGE_KEY, preference);
6433
- window.localStorage.setItem(THEME_STORAGE_KEY, appliedMode);
6434
- window.localStorage.setItem(LEGACY_THEME_STORAGE_KEY, appliedMode);
6435
- } catch (e) {
6436
- }
6508
+ root.style.colorScheme = appliedMode;
6509
+ persistThemePreferenceSelection(preference);
6437
6510
  };
6438
6511
  var applyAccessibilityAttributes = (settings) => {
6439
6512
  if (typeof document === "undefined") return;
@@ -7238,6 +7311,17 @@ var UserMenuCupcode = ({
7238
7311
  useEffect12(() => {
7239
7312
  applyThemePreference(experienceSettings.theme);
7240
7313
  }, [experienceSettings.theme]);
7314
+ useEffect12(() => {
7315
+ if (typeof window === "undefined") return;
7316
+ const syncThemePreference = () => {
7317
+ const nextThemePreference = resolveStoredThemePreference();
7318
+ setExperienceSettings(
7319
+ (current) => current.theme === nextThemePreference ? current : { ...current, theme: nextThemePreference }
7320
+ );
7321
+ };
7322
+ window.addEventListener(THEME_PREFERENCE_CHANGE_EVENT, syncThemePreference);
7323
+ return () => window.removeEventListener(THEME_PREFERENCE_CHANGE_EVENT, syncThemePreference);
7324
+ }, []);
7241
7325
  useEffect12(() => {
7242
7326
  applyAccessibilityAttributes(experienceSettings);
7243
7327
  }, [experienceSettings]);
@@ -21944,7 +22028,7 @@ function ThemeToggle({ className }) {
21944
22028
  /* @__PURE__ */ jsx38("style", { children: `
21945
22029
  :root {
21946
22030
  --toggle-width: 76px;
21947
- --toggle-height: 42px;
22031
+ --toggle-height: 38px;
21948
22032
  --thumb-size: 30px;
21949
22033
  --toggle-thumb-offset: 34px;
21950
22034
  --duration: 560ms;
@@ -22099,7 +22183,7 @@ function ThemeToggle({ className }) {
22099
22183
 
22100
22184
  .cc-theme-toggle .thumb {
22101
22185
  position: absolute;
22102
- top: 6px;
22186
+ top: 4px;
22103
22187
  left: 6px;
22104
22188
  width: var(--thumb-size);
22105
22189
  height: var(--thumb-size);
@@ -22709,6 +22793,7 @@ var DATE_WITH_YEAR_PT_BR_FORMATTER = new Intl.DateTimeFormat("pt-BR", {
22709
22793
  year: "numeric"
22710
22794
  });
22711
22795
  var CHAT_FEATURE_FLAGS_STORAGE_KEY = "cc_chat_feature_flags";
22796
+ var DEFAULT_LOGO_SLOT_CLASS_NAME = "h-10 w-[175px] shrink-0";
22712
22797
  var getDefaultChatFeatureFlags = () => ({
22713
22798
  hasReadAt: true,
22714
22799
  hasReplyToMessage: true,
@@ -24510,30 +24595,7 @@ var MainNavbar = ({
24510
24595
  }, [currentPathname, onNavigate, showNavItems]);
24511
24596
  const resolvedLogo = useMemo9(() => {
24512
24597
  if (logo !== void 0) return logo;
24513
- return /* @__PURE__ */ jsxs24("div", { className: "flex items-center gap-[15px]", children: [
24514
- /* @__PURE__ */ jsx39(
24515
- TelescupImage,
24516
- {
24517
- apiId: "be574751-cf1b-499a-8473-360b4115b447",
24518
- imageWidth: 40,
24519
- imageHeight: 40,
24520
- alt: "Design System Cupcode",
24521
- loading: "eager",
24522
- className: "h-10 w-auto"
24523
- }
24524
- ),
24525
- /* @__PURE__ */ jsx39(
24526
- TelescupImage,
24527
- {
24528
- apiId: "3b913721-2eda-48fd-8d76-1a53055a337f",
24529
- imageWidth: 120,
24530
- imageHeight: 32,
24531
- alt: "Cupcode",
24532
- loading: "eager",
24533
- className: "h-8 w-auto"
24534
- }
24535
- )
24536
- ] });
24598
+ return /* @__PURE__ */ jsx39("div", { className: DEFAULT_LOGO_SLOT_CLASS_NAME, "aria-hidden": "true" });
24537
24599
  }, [logo]);
24538
24600
  const handleCtaClick = () => {
24539
24601
  if (onNavigate) {
@@ -24825,48 +24887,6 @@ import { ChevronDown as ChevronDown4, Circle as Circle2, Search as Search2 } fro
24825
24887
  import { useEffect as useEffect15, useMemo as useMemo10, useRef as useRef11, useState as useState14 } from "react";
24826
24888
  import { NavLink, useLocation } from "react-router-dom";
24827
24889
 
24828
- // src/components/layout/DsNavbarLogo.tsx
24829
- import { jsx as jsx40, jsxs as jsxs25 } from "react/jsx-runtime";
24830
- var DsNavbarLogo = () => {
24831
- return /* @__PURE__ */ jsxs25("div", { className: "flex items-center gap-[15px]", children: [
24832
- /* @__PURE__ */ jsx40(
24833
- TelescupImage,
24834
- {
24835
- apiId: "be574751-cf1b-499a-8473-360b4115b447",
24836
- imageWidth: 40,
24837
- imageHeight: 40,
24838
- alt: "Design System Cupcode",
24839
- loading: "eager",
24840
- className: "h-10 w-auto"
24841
- }
24842
- ),
24843
- /* @__PURE__ */ jsx40(
24844
- TelescupImage,
24845
- {
24846
- apiId: "3b913721-2eda-48fd-8d76-1a53055a337f",
24847
- imageWidth: 120,
24848
- imageHeight: 32,
24849
- alt: "Cupcode",
24850
- loading: "eager",
24851
- className: "h-8 w-auto"
24852
- }
24853
- )
24854
- ] });
24855
- };
24856
- var DsNavbarCompactLogo = () => {
24857
- return /* @__PURE__ */ jsx40(
24858
- TelescupImage,
24859
- {
24860
- apiId: "be574751-cf1b-499a-8473-360b4115b447",
24861
- imageWidth: 32,
24862
- imageHeight: 32,
24863
- alt: "Cupcode",
24864
- loading: "eager",
24865
- className: "h-8 w-8 rounded-lg object-contain"
24866
- }
24867
- );
24868
- };
24869
-
24870
24890
  // src/components/layout/sidebar-groups.tsx
24871
24891
  var toStableId = (value) => value.toLowerCase().normalize("NFD").replace(/\p{Diacritic}+/gu, "").replace(/[^a-z0-9]+/g, "-").replace(/(^-|-$)+/g, "");
24872
24892
  var getGroupMetadata = (item) => {
@@ -24911,13 +24931,15 @@ var buildSidebarGroupsFromNavItems = (items, defaultGroupLabel = "Principal") =>
24911
24931
  var defaultSidebarGroups = buildSidebarGroupsFromNavItems(getMainNavItems());
24912
24932
 
24913
24933
  // src/components/layout/sidebar.tsx
24914
- import { jsx as jsx41, jsxs as jsxs26 } from "react/jsx-runtime";
24934
+ import { jsx as jsx40, jsxs as jsxs25 } from "react/jsx-runtime";
24915
24935
  var findGroupByRoute = (groups, pathname) => {
24916
24936
  var _a78, _b7;
24917
24937
  return (_b7 = (_a78 = groups.find((group) => group.items.some((item) => item.route === pathname))) == null ? void 0 : _a78.label) != null ? _b7 : null;
24918
24938
  };
24919
- var IconFallback = () => /* @__PURE__ */ jsx41(Circle2, { className: "h-3 w-3 opacity-80", "aria-hidden": "true" });
24920
- var IconSlot = ({ icon, className }) => /* @__PURE__ */ jsx41("span", { className: cn("inline-flex items-center justify-center [&>svg]:h-4 [&>svg]:w-4", className), children: icon != null ? icon : /* @__PURE__ */ jsx41(IconFallback, {}) });
24939
+ var IconFallback = () => /* @__PURE__ */ jsx40(Circle2, { className: "h-3 w-3 opacity-80", "aria-hidden": "true" });
24940
+ var DEFAULT_EXPANDED_LOGO_SLOT = /* @__PURE__ */ jsx40("div", { className: "h-10 w-[175px] shrink-0", "aria-hidden": "true" });
24941
+ var DEFAULT_COLLAPSED_LOGO_SLOT = /* @__PURE__ */ jsx40("div", { className: "h-8 w-8 shrink-0 rounded-lg", "aria-hidden": "true" });
24942
+ var IconSlot = ({ icon, className }) => /* @__PURE__ */ jsx40("span", { className: cn("inline-flex items-center justify-center [&>svg]:h-4 [&>svg]:w-4", className), children: icon != null ? icon : /* @__PURE__ */ jsx40(IconFallback, {}) });
24921
24943
  var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
24922
24944
  const location = useLocation();
24923
24945
  const navScrollRef = useRef11(null);
@@ -24938,8 +24960,8 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
24938
24960
  })).filter((group) => group.items.length > 0);
24939
24961
  }, [normalizedQuery, resolvedGroups]);
24940
24962
  const visibleGroups = isCollapsed ? resolvedGroups : filteredGroups;
24941
- const resolvedExpandedLogo = logo != null ? logo : /* @__PURE__ */ jsx41(DsNavbarLogo, {});
24942
- const resolvedCollapsedLogo = collapsedLogo != null ? collapsedLogo : /* @__PURE__ */ jsx41(DsNavbarCompactLogo, {});
24963
+ const resolvedExpandedLogo = logo != null ? logo : DEFAULT_EXPANDED_LOGO_SLOT;
24964
+ const resolvedCollapsedLogo = collapsedLogo != null ? collapsedLogo : DEFAULT_COLLAPSED_LOGO_SLOT;
24943
24965
  useEffect15(() => {
24944
24966
  if (!openGroup && resolvedGroups.length > 0) {
24945
24967
  setOpenGroup(resolvedGroups[0].label);
@@ -24979,17 +25001,17 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
24979
25001
  window.cancelAnimationFrame(frame);
24980
25002
  };
24981
25003
  }, [location.pathname]);
24982
- return /* @__PURE__ */ jsx41(
25004
+ return /* @__PURE__ */ jsx40(
24983
25005
  motion.aside,
24984
25006
  {
24985
25007
  className: "fixed left-0 top-0 h-full z-30 p-2 overflow-hidden",
24986
25008
  animate: { width: isCollapsed ? 76 : 320 },
24987
25009
  transition: { duration: 0.25, ease: "easeInOut" },
24988
- children: /* @__PURE__ */ jsxs26("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: [
24989
- /* @__PURE__ */ jsx41("div", { className: cn("mb-3 flex min-h-11 items-center", isCollapsed ? "justify-center" : "justify-start px-1"), children: isCollapsed ? resolvedCollapsedLogo : resolvedExpandedLogo }),
24990
- !isCollapsed ? /* @__PURE__ */ jsxs26("div", { className: "relative mb-3", children: [
24991
- /* @__PURE__ */ jsx41(Search2, { className: "pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-ink/65" }),
24992
- /* @__PURE__ */ jsx41(
25010
+ children: /* @__PURE__ */ jsxs25("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: [
25011
+ /* @__PURE__ */ jsx40("div", { className: cn("mb-3 flex min-h-11 items-center", isCollapsed ? "justify-center" : "justify-start px-1"), children: isCollapsed ? resolvedCollapsedLogo : resolvedExpandedLogo }),
25012
+ !isCollapsed ? /* @__PURE__ */ jsxs25("div", { className: "relative mb-3", children: [
25013
+ /* @__PURE__ */ jsx40(Search2, { className: "pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-ink/65" }),
25014
+ /* @__PURE__ */ jsx40(
24993
25015
  "input",
24994
25016
  {
24995
25017
  type: "search",
@@ -25000,9 +25022,9 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
25000
25022
  }
25001
25023
  )
25002
25024
  ] }) : null,
25003
- /* @__PURE__ */ jsx41("div", { ref: navScrollRef, className: "cc-scrollbar cc-scrollbar-purple flex-1 overflow-y-auto overflow-x-hidden pr-1", children: isCollapsed ? /* @__PURE__ */ jsx41("div", { className: "flex flex-col items-center gap-2", children: resolvedGroups.map((group) => {
25025
+ /* @__PURE__ */ jsx40("div", { ref: navScrollRef, className: "cc-scrollbar cc-scrollbar-purple flex-1 overflow-y-auto overflow-x-hidden pr-1", children: isCollapsed ? /* @__PURE__ */ jsx40("div", { className: "flex flex-col items-center gap-2", children: resolvedGroups.map((group) => {
25004
25026
  const isActiveGroup = (activeGroup != null ? activeGroup : openGroup) === group.label;
25005
- return /* @__PURE__ */ jsx41(
25027
+ return /* @__PURE__ */ jsx40(
25006
25028
  "button",
25007
25029
  {
25008
25030
  type: "button",
@@ -25015,14 +25037,14 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
25015
25037
  isActiveGroup ? "bg-cupcode-purple shadow-md text-white" : "bg-white/10 hover:bg-[rgba(151,90,182,0.30)] text-ink"
25016
25038
  ),
25017
25039
  "aria-label": `Abrir grupo ${group.label}`,
25018
- children: /* @__PURE__ */ jsx41(IconSlot, { icon: group.icon, className: cn("[&>svg]:h-5 [&>svg]:w-5", isActiveGroup && "text-white") })
25040
+ children: /* @__PURE__ */ jsx40(IconSlot, { icon: group.icon, className: cn("[&>svg]:h-5 [&>svg]:w-5", isActiveGroup && "text-white") })
25019
25041
  },
25020
25042
  group.id
25021
25043
  );
25022
- }) }) : /* @__PURE__ */ jsx41("div", { className: "space-y-2", children: visibleGroups.length === 0 ? /* @__PURE__ */ jsx41("p", { className: "rounded-xl bg-white/20 px-3 py-3 text-xs text-ink-muted", children: "Nenhum item encontrado." }) : visibleGroups.map((group) => {
25044
+ }) }) : /* @__PURE__ */ jsx40("div", { className: "space-y-2", children: visibleGroups.length === 0 ? /* @__PURE__ */ jsx40("p", { className: "rounded-xl bg-white/20 px-3 py-3 text-xs text-ink-muted", children: "Nenhum item encontrado." }) : visibleGroups.map((group) => {
25023
25045
  const isOpen = openGroup === group.label;
25024
- return /* @__PURE__ */ jsxs26("section", { className: "rounded-xl bg-white/14", children: [
25025
- /* @__PURE__ */ jsxs26(
25046
+ return /* @__PURE__ */ jsxs25("section", { className: "rounded-xl bg-white/14", children: [
25047
+ /* @__PURE__ */ jsxs25(
25026
25048
  "button",
25027
25049
  {
25028
25050
  type: "button",
@@ -25030,13 +25052,13 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
25030
25052
  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)]",
25031
25053
  "aria-expanded": isOpen,
25032
25054
  children: [
25033
- /* @__PURE__ */ jsx41(IconSlot, { icon: group.icon, className: "h-8 w-8 rounded-xl bg-white/55 text-ink" }),
25034
- /* @__PURE__ */ jsx41("span", { className: "text-[11px] font-semibold uppercase tracking-[0.12em] text-ink/80", children: group.label }),
25035
- /* @__PURE__ */ jsx41(ChevronDown4, { className: cn("ml-auto h-4 w-4 text-ink/65 transition-transform", isOpen && "rotate-90") })
25055
+ /* @__PURE__ */ jsx40(IconSlot, { icon: group.icon, className: "h-8 w-8 rounded-xl bg-white/55 text-ink" }),
25056
+ /* @__PURE__ */ jsx40("span", { className: "text-[11px] font-semibold uppercase tracking-[0.12em] text-ink/80", children: group.label }),
25057
+ /* @__PURE__ */ jsx40(ChevronDown4, { className: cn("ml-auto h-4 w-4 text-ink/65 transition-transform", isOpen && "rotate-90") })
25036
25058
  ]
25037
25059
  }
25038
25060
  ),
25039
- /* @__PURE__ */ jsx41(AnimatePresence, { initial: false, children: isOpen ? /* @__PURE__ */ jsx41(
25061
+ /* @__PURE__ */ jsx40(AnimatePresence, { initial: false, children: isOpen ? /* @__PURE__ */ jsx40(
25040
25062
  motion.div,
25041
25063
  {
25042
25064
  initial: { height: 0 },
@@ -25044,9 +25066,9 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
25044
25066
  exit: { height: 0 },
25045
25067
  transition: { duration: 0.2, ease: "easeInOut" },
25046
25068
  className: "overflow-hidden",
25047
- children: /* @__PURE__ */ jsx41("nav", { className: "space-y-1 pb-2", children: group.items.map((item) => {
25069
+ children: /* @__PURE__ */ jsx40("nav", { className: "space-y-1 pb-2", children: group.items.map((item) => {
25048
25070
  const isActive = location.pathname === item.route;
25049
- return /* @__PURE__ */ jsxs26(
25071
+ return /* @__PURE__ */ jsxs25(
25050
25072
  NavLink,
25051
25073
  {
25052
25074
  to: item.route,
@@ -25055,7 +25077,7 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
25055
25077
  isActive && "bg-white/40 font-medium text-ink"
25056
25078
  ),
25057
25079
  children: [
25058
- /* @__PURE__ */ jsx41(
25080
+ /* @__PURE__ */ jsx40(
25059
25081
  IconSlot,
25060
25082
  {
25061
25083
  icon: item.icon,
@@ -25065,7 +25087,7 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
25065
25087
  )
25066
25088
  }
25067
25089
  ),
25068
- /* @__PURE__ */ jsx41("span", { className: cn("truncate", isActive && "font-medium"), children: item.label })
25090
+ /* @__PURE__ */ jsx40("span", { className: cn("truncate", isActive && "font-medium"), children: item.label })
25069
25091
  ]
25070
25092
  },
25071
25093
  item.id
@@ -25081,7 +25103,7 @@ var AppSidebar = ({ isCollapsed, onToggle, groups, logo, collapsedLogo }) => {
25081
25103
  };
25082
25104
 
25083
25105
  // src/components/layout/main-layout.tsx
25084
- import { jsx as jsx42, jsxs as jsxs27 } from "react/jsx-runtime";
25106
+ import { jsx as jsx41, jsxs as jsxs26 } from "react/jsx-runtime";
25085
25107
  var SIDEBAR_COLLAPSED_WIDTH = 76;
25086
25108
  var SIDEBAR_EXPANDED_WIDTH = 320;
25087
25109
  var SIDEBAR_COLLAPSED_STORAGE_KEY = "cc-layout-sidebar-collapsed";
@@ -25120,8 +25142,8 @@ var MainLayout = ({
25120
25142
  () => cn(navbarOffsetClassName, navbarProps == null ? void 0 : navbarProps.className),
25121
25143
  [navbarOffsetClassName, navbarProps == null ? void 0 : navbarProps.className]
25122
25144
  );
25123
- return /* @__PURE__ */ jsxs27("div", { className: cn("relative min-h-screen", className), children: [
25124
- /* @__PURE__ */ jsx42(
25145
+ return /* @__PURE__ */ jsxs26("div", { className: cn("relative min-h-screen", className), children: [
25146
+ /* @__PURE__ */ jsx41(
25125
25147
  AppSidebar,
25126
25148
  {
25127
25149
  isCollapsed: sidebarCollapsed,
@@ -25130,7 +25152,7 @@ var MainLayout = ({
25130
25152
  collapsedLogo: sidebarCollapsedLogo
25131
25153
  }
25132
25154
  ),
25133
- /* @__PURE__ */ jsx42(
25155
+ /* @__PURE__ */ jsx41(
25134
25156
  MainNavbar,
25135
25157
  {
25136
25158
  ...navbarProps,
@@ -25138,7 +25160,7 @@ var MainLayout = ({
25138
25160
  className: mergedNavbarClassName
25139
25161
  }
25140
25162
  ),
25141
- /* @__PURE__ */ jsx42(
25163
+ /* @__PURE__ */ jsx41(
25142
25164
  "div",
25143
25165
  {
25144
25166
  className: "fixed z-[210]",
@@ -25146,14 +25168,14 @@ var MainLayout = ({
25146
25168
  left: contentMarginLeft - 22,
25147
25169
  top: "calc(max(env(safe-area-inset-top), 0px) + 18px)"
25148
25170
  },
25149
- children: /* @__PURE__ */ jsx42(
25171
+ children: /* @__PURE__ */ jsx41(
25150
25172
  "button",
25151
25173
  {
25152
25174
  type: "button",
25153
25175
  onClick: toggleSidebar,
25154
25176
  "aria-label": sidebarCollapsed ? "Expandir sidebar" : "Recolher sidebar",
25155
25177
  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)]",
25156
- children: /* @__PURE__ */ jsx42(
25178
+ children: /* @__PURE__ */ jsx41(
25157
25179
  ChevronRight2,
25158
25180
  {
25159
25181
  className: cn(
@@ -25166,7 +25188,7 @@ var MainLayout = ({
25166
25188
  )
25167
25189
  }
25168
25190
  ),
25169
- /* @__PURE__ */ jsx42(
25191
+ /* @__PURE__ */ jsx41(
25170
25192
  "main",
25171
25193
  {
25172
25194
  className: cn("relative min-h-screen pt-24", contentClassName),
@@ -25183,7 +25205,7 @@ var MainLayout = ({
25183
25205
  // src/components/cupcode/ErrorBoundary.tsx
25184
25206
  import React24 from "react";
25185
25207
  import { AlertTriangle } from "lucide-react";
25186
- import { jsx as jsx43, jsxs as jsxs28 } from "react/jsx-runtime";
25208
+ import { jsx as jsx42, jsxs as jsxs27 } from "react/jsx-runtime";
25187
25209
  var ErrorBoundary = class extends React24.Component {
25188
25210
  constructor(props) {
25189
25211
  super(props);
@@ -25203,17 +25225,17 @@ var ErrorBoundary = class extends React24.Component {
25203
25225
  if (this.props.fallback) {
25204
25226
  return this.props.fallback;
25205
25227
  }
25206
- return /* @__PURE__ */ jsx43("div", { className: "min-h-screen flex items-center justify-center p-6 bg-gradient-to-br from-cupcode-surface to-muted", children: /* @__PURE__ */ jsxs28("div", { className: "max-w-md w-full glass rounded-xl p-8 text-center animate-scale-in", children: [
25207
- /* @__PURE__ */ jsx43("div", { className: "mb-6 flex justify-center", children: /* @__PURE__ */ jsx43("div", { className: "p-4 rounded-full bg-destructive/10", children: /* @__PURE__ */ jsx43(AlertTriangle, { className: "w-12 h-12 text-destructive" }) }) }),
25208
- /* @__PURE__ */ jsx43("h2", { className: "text-2xl font-display font-bold text-foreground mb-3", children: "Algo deu errado" }),
25209
- /* @__PURE__ */ jsx43("p", { className: "text-muted-foreground mb-6", children: "Desculpe, encontramos um erro inesperado. Por favor, tente novamente." }),
25210
- this.state.error && /* @__PURE__ */ jsxs28("details", { className: "mb-6 text-left", children: [
25211
- /* @__PURE__ */ jsx43("summary", { className: "cursor-pointer text-sm text-muted-foreground hover:text-foreground", children: "Detalhes t\xE9cnicos" }),
25212
- /* @__PURE__ */ jsx43("pre", { className: "mt-2 p-3 bg-muted rounded-md text-xs overflow-x-auto", children: this.state.error.message })
25228
+ return /* @__PURE__ */ jsx42("div", { className: "min-h-screen flex items-center justify-center p-6 bg-gradient-to-br from-cupcode-surface to-muted", children: /* @__PURE__ */ jsxs27("div", { className: "max-w-md w-full glass rounded-xl p-8 text-center animate-scale-in", children: [
25229
+ /* @__PURE__ */ jsx42("div", { className: "mb-6 flex justify-center", children: /* @__PURE__ */ jsx42("div", { className: "p-4 rounded-full bg-destructive/10", children: /* @__PURE__ */ jsx42(AlertTriangle, { className: "w-12 h-12 text-destructive" }) }) }),
25230
+ /* @__PURE__ */ jsx42("h2", { className: "text-2xl font-display font-bold text-foreground mb-3", children: "Algo deu errado" }),
25231
+ /* @__PURE__ */ jsx42("p", { className: "text-muted-foreground mb-6", children: "Desculpe, encontramos um erro inesperado. Por favor, tente novamente." }),
25232
+ this.state.error && /* @__PURE__ */ jsxs27("details", { className: "mb-6 text-left", children: [
25233
+ /* @__PURE__ */ jsx42("summary", { className: "cursor-pointer text-sm text-muted-foreground hover:text-foreground", children: "Detalhes t\xE9cnicos" }),
25234
+ /* @__PURE__ */ jsx42("pre", { className: "mt-2 p-3 bg-muted rounded-md text-xs overflow-x-auto", children: this.state.error.message })
25213
25235
  ] }),
25214
- /* @__PURE__ */ jsxs28("div", { className: "flex gap-3 justify-center", children: [
25215
- /* @__PURE__ */ jsx43(JellyButton, { onClick: this.handleReset, variant: "primary", children: "Tentar novamente" }),
25216
- /* @__PURE__ */ jsx43(JellyButton, { onClick: () => window.location.href = "/", variant: "secondary", children: "Ir para in\xEDcio" })
25236
+ /* @__PURE__ */ jsxs27("div", { className: "flex gap-3 justify-center", children: [
25237
+ /* @__PURE__ */ jsx42(JellyButton, { onClick: this.handleReset, variant: "primary", children: "Tentar novamente" }),
25238
+ /* @__PURE__ */ jsx42(JellyButton, { onClick: () => window.location.href = "/", variant: "secondary", children: "Ir para in\xEDcio" })
25217
25239
  ] })
25218
25240
  ] }) });
25219
25241
  }
@@ -25223,7 +25245,7 @@ var ErrorBoundary = class extends React24.Component {
25223
25245
 
25224
25246
  // src/components/cupcode/EyebrowCupcode.tsx
25225
25247
  import { forwardRef as forwardRef20 } from "react";
25226
- import { jsx as jsx44 } from "react/jsx-runtime";
25248
+ import { jsx as jsx43 } from "react/jsx-runtime";
25227
25249
  var Eyebrow = forwardRef20(
25228
25250
  ({ variant = "galaxy", glow = false, className, children, ...props }, ref) => {
25229
25251
  const baseClasses = cn(
@@ -25239,7 +25261,7 @@ var Eyebrow = forwardRef20(
25239
25261
  purple: "bg-cupcode-purple text-white shadow-[0_0_20px_rgba(124,91,187,0.4)]",
25240
25262
  outline: "border-2 border-cupcode-purple text-cupcode-purple bg-transparent"
25241
25263
  };
25242
- return /* @__PURE__ */ jsx44(
25264
+ return /* @__PURE__ */ jsx43(
25243
25265
  "div",
25244
25266
  {
25245
25267
  ref,
@@ -25253,7 +25275,7 @@ var Eyebrow = forwardRef20(
25253
25275
  Eyebrow.displayName = "Eyebrow";
25254
25276
 
25255
25277
  // src/components/cupcode/HeroTitle.tsx
25256
- import { jsx as jsx45, jsxs as jsxs29 } from "react/jsx-runtime";
25278
+ import { jsx as jsx44, jsxs as jsxs28 } from "react/jsx-runtime";
25257
25279
  var HeroTitle = ({
25258
25280
  eyebrow,
25259
25281
  smallPrefix,
@@ -25267,25 +25289,25 @@ var HeroTitle = ({
25267
25289
  3: "h3"
25268
25290
  };
25269
25291
  const Tag = headingTagMap[level];
25270
- return /* @__PURE__ */ jsxs29("div", { className: cn("space-y-3", className), children: [
25271
- eyebrow && /* @__PURE__ */ jsx45("span", { className: "span-destaque animate-fade-in", children: eyebrow }),
25272
- /* @__PURE__ */ jsxs29(Tag, { className: "font-display font-bold leading-tight animate-slide-up", children: [
25273
- smallPrefix && /* @__PURE__ */ jsx45("small", { className: "block text-base font-normal opacity-70 mb-1", children: smallPrefix }),
25274
- /* @__PURE__ */ jsx45("b", { className: "block bg-gradient-to-r from-cupcode-hover to-cupcode-purple bg-clip-text text-transparent", children: strong })
25292
+ return /* @__PURE__ */ jsxs28("div", { className: cn("space-y-3", className), children: [
25293
+ eyebrow && /* @__PURE__ */ jsx44("span", { className: "span-destaque animate-fade-in", children: eyebrow }),
25294
+ /* @__PURE__ */ jsxs28(Tag, { className: "font-display font-bold leading-tight animate-slide-up", children: [
25295
+ smallPrefix && /* @__PURE__ */ jsx44("small", { className: "block text-base font-normal opacity-70 mb-1", children: smallPrefix }),
25296
+ /* @__PURE__ */ jsx44("b", { className: "block bg-gradient-to-r from-cupcode-hover to-cupcode-purple bg-clip-text text-transparent", children: strong })
25275
25297
  ] })
25276
25298
  ] });
25277
25299
  };
25278
25300
 
25279
25301
  // src/components/cupcode/InputField.tsx
25280
25302
  import * as React25 from "react";
25281
- import { jsx as jsx46, jsxs as jsxs30 } from "react/jsx-runtime";
25303
+ import { jsx as jsx45, jsxs as jsxs29 } from "react/jsx-runtime";
25282
25304
  var InputField = React25.forwardRef(
25283
25305
  ({ className, type, label, error, leftIcon, rightIcon, ...props }, ref) => {
25284
- return /* @__PURE__ */ jsxs30("div", { className: "cc-stack space-2 w-full", children: [
25285
- label && /* @__PURE__ */ jsx46("label", { className: "text-sm font-semibold text-cupcode-ink", children: label }),
25286
- /* @__PURE__ */ jsxs30("div", { className: "relative", children: [
25287
- leftIcon && /* @__PURE__ */ jsx46("div", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-cupcode-purple opacity-60", children: leftIcon }),
25288
- /* @__PURE__ */ jsx46(
25306
+ return /* @__PURE__ */ jsxs29("div", { className: "cc-stack space-2 w-full", children: [
25307
+ label && /* @__PURE__ */ jsx45("label", { className: "text-sm font-semibold text-cupcode-ink", children: label }),
25308
+ /* @__PURE__ */ jsxs29("div", { className: "relative", children: [
25309
+ leftIcon && /* @__PURE__ */ jsx45("div", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-cupcode-purple opacity-60", children: leftIcon }),
25310
+ /* @__PURE__ */ jsx45(
25289
25311
  "input",
25290
25312
  {
25291
25313
  type,
@@ -25307,16 +25329,16 @@ var InputField = React25.forwardRef(
25307
25329
  ...props
25308
25330
  }
25309
25331
  ),
25310
- rightIcon && /* @__PURE__ */ jsx46("div", { className: "absolute right-3 top-1/2 -translate-y-1/2 text-cupcode-purple opacity-60", children: rightIcon })
25332
+ rightIcon && /* @__PURE__ */ jsx45("div", { className: "absolute right-3 top-1/2 -translate-y-1/2 text-cupcode-purple opacity-60", children: rightIcon })
25311
25333
  ] }),
25312
- error && /* @__PURE__ */ jsx46("p", { className: "text-xs font-medium text-destructive animate-fade-in", children: error })
25334
+ error && /* @__PURE__ */ jsx45("p", { className: "text-xs font-medium text-destructive animate-fade-in", children: error })
25313
25335
  ] });
25314
25336
  }
25315
25337
  );
25316
25338
  InputField.displayName = "InputField";
25317
25339
 
25318
25340
  // src/components/cupcode/LoadingSpinner.tsx
25319
- import { jsx as jsx47 } from "react/jsx-runtime";
25341
+ import { jsx as jsx46 } from "react/jsx-runtime";
25320
25342
  var sizes = {
25321
25343
  sm: "h-4 w-4 border-2",
25322
25344
  md: "h-8 w-8 border-3",
@@ -25326,7 +25348,7 @@ var LoadingSpinner = ({
25326
25348
  size = "md",
25327
25349
  className
25328
25350
  }) => {
25329
- return /* @__PURE__ */ jsx47(
25351
+ return /* @__PURE__ */ jsx46(
25330
25352
  "div",
25331
25353
  {
25332
25354
  className: cn(
@@ -25336,12 +25358,12 @@ var LoadingSpinner = ({
25336
25358
  ),
25337
25359
  role: "status",
25338
25360
  "aria-label": "Loading",
25339
- children: /* @__PURE__ */ jsx47("span", { className: "sr-only", children: "Loading..." })
25361
+ children: /* @__PURE__ */ jsx46("span", { className: "sr-only", children: "Loading..." })
25340
25362
  }
25341
25363
  );
25342
25364
  };
25343
25365
  var Skeleton2 = ({ className }) => {
25344
- return /* @__PURE__ */ jsx47(
25366
+ return /* @__PURE__ */ jsx46(
25345
25367
  "div",
25346
25368
  {
25347
25369
  className: cn(
@@ -25352,7 +25374,7 @@ var Skeleton2 = ({ className }) => {
25352
25374
  );
25353
25375
  };
25354
25376
  var SkeletonText = ({ lines = 3 }) => {
25355
- return /* @__PURE__ */ jsx47("div", { className: "space-y-2", children: Array.from({ length: lines }).map((_, i) => /* @__PURE__ */ jsx47(
25377
+ return /* @__PURE__ */ jsx46("div", { className: "space-y-2", children: Array.from({ length: lines }).map((_, i) => /* @__PURE__ */ jsx46(
25356
25378
  Skeleton2,
25357
25379
  {
25358
25380
  className: cn(
@@ -25365,7 +25387,7 @@ var SkeletonText = ({ lines = 3 }) => {
25365
25387
  };
25366
25388
 
25367
25389
  // src/components/cupcode/LoadingScreen.tsx
25368
- import { jsx as jsx48, jsxs as jsxs31 } from "react/jsx-runtime";
25390
+ import { jsx as jsx47, jsxs as jsxs30 } from "react/jsx-runtime";
25369
25391
  var LoadingScreen = ({
25370
25392
  message = "Carregando...",
25371
25393
  fullScreen = true,
@@ -25373,28 +25395,28 @@ var LoadingScreen = ({
25373
25395
  }) => {
25374
25396
  const containerClasses = fullScreen ? "fixed inset-0 z-50 flex items-center justify-center bg-background" : "flex items-center justify-center p-12";
25375
25397
  if (variant === "minimal") {
25376
- return /* @__PURE__ */ jsx48("div", { className: containerClasses, children: /* @__PURE__ */ jsx48(LoadingSpinner, { size: "lg" }) });
25398
+ return /* @__PURE__ */ jsx47("div", { className: containerClasses, children: /* @__PURE__ */ jsx47(LoadingSpinner, { size: "lg" }) });
25377
25399
  }
25378
25400
  if (variant === "galaxy") {
25379
- return /* @__PURE__ */ jsx48("div", { className: cn(containerClasses, "cc-gradient-galaxy"), children: /* @__PURE__ */ jsxs31("div", { className: "glass rounded-2xl p-8 flex flex-col items-center space-y-4 animate-scale-in", children: [
25380
- /* @__PURE__ */ jsxs31("div", { className: "relative", children: [
25381
- /* @__PURE__ */ jsx48(LoadingSpinner, { size: "lg" }),
25382
- /* @__PURE__ */ jsx48("div", { className: "absolute inset-0 blur-2xl bg-cupcode-hover/30 animate-pulse-scale" })
25401
+ return /* @__PURE__ */ jsx47("div", { className: cn(containerClasses, "cc-gradient-galaxy"), children: /* @__PURE__ */ jsxs30("div", { className: "glass rounded-2xl p-8 flex flex-col items-center space-y-4 animate-scale-in", children: [
25402
+ /* @__PURE__ */ jsxs30("div", { className: "relative", children: [
25403
+ /* @__PURE__ */ jsx47(LoadingSpinner, { size: "lg" }),
25404
+ /* @__PURE__ */ jsx47("div", { className: "absolute inset-0 blur-2xl bg-cupcode-hover/30 animate-pulse-scale" })
25383
25405
  ] }),
25384
- message && /* @__PURE__ */ jsx48("p", { className: "text-white font-semibold text-lg animate-pulse", children: message })
25406
+ message && /* @__PURE__ */ jsx47("p", { className: "text-white font-semibold text-lg animate-pulse", children: message })
25385
25407
  ] }) });
25386
25408
  }
25387
- return /* @__PURE__ */ jsx48("div", { className: containerClasses, children: /* @__PURE__ */ jsxs31("div", { className: "glass rounded-2xl p-8 flex flex-col items-center space-y-6 animate-scale-in max-w-sm", children: [
25388
- /* @__PURE__ */ jsxs31("div", { className: "relative", children: [
25389
- /* @__PURE__ */ jsx48("div", { className: "w-20 h-20 rounded-full cc-gradient-animated flex items-center justify-center", children: /* @__PURE__ */ jsx48("div", { className: "w-16 h-16 rounded-full bg-background flex items-center justify-center", children: /* @__PURE__ */ jsx48(LoadingSpinner, { size: "md" }) }) }),
25390
- /* @__PURE__ */ jsx48("div", { className: "absolute inset-0 blur-xl bg-cupcode-purple/20 animate-pulse-scale -z-10" })
25409
+ return /* @__PURE__ */ jsx47("div", { className: containerClasses, children: /* @__PURE__ */ jsxs30("div", { className: "glass rounded-2xl p-8 flex flex-col items-center space-y-6 animate-scale-in max-w-sm", children: [
25410
+ /* @__PURE__ */ jsxs30("div", { className: "relative", children: [
25411
+ /* @__PURE__ */ jsx47("div", { className: "w-20 h-20 rounded-full cc-gradient-animated flex items-center justify-center", children: /* @__PURE__ */ jsx47("div", { className: "w-16 h-16 rounded-full bg-background flex items-center justify-center", children: /* @__PURE__ */ jsx47(LoadingSpinner, { size: "md" }) }) }),
25412
+ /* @__PURE__ */ jsx47("div", { className: "absolute inset-0 blur-xl bg-cupcode-purple/20 animate-pulse-scale -z-10" })
25391
25413
  ] }),
25392
- message && /* @__PURE__ */ jsxs31("div", { className: "text-center space-y-2", children: [
25393
- /* @__PURE__ */ jsx48("p", { className: "font-bold text-lg cc-text-gradient-galaxy", children: message }),
25394
- /* @__PURE__ */ jsxs31("div", { className: "flex gap-1 justify-center", children: [
25395
- /* @__PURE__ */ jsx48("div", { className: "w-2 h-2 rounded-full bg-cupcode-hover animate-bounce", style: { animationDelay: "0ms" } }),
25396
- /* @__PURE__ */ jsx48("div", { className: "w-2 h-2 rounded-full bg-cupcode-purple animate-bounce", style: { animationDelay: "150ms" } }),
25397
- /* @__PURE__ */ jsx48("div", { className: "w-2 h-2 rounded-full bg-cupcode-hover animate-bounce", style: { animationDelay: "300ms" } })
25414
+ message && /* @__PURE__ */ jsxs30("div", { className: "text-center space-y-2", children: [
25415
+ /* @__PURE__ */ jsx47("p", { className: "font-bold text-lg cc-text-gradient-galaxy", children: message }),
25416
+ /* @__PURE__ */ jsxs30("div", { className: "flex gap-1 justify-center", children: [
25417
+ /* @__PURE__ */ jsx47("div", { className: "w-2 h-2 rounded-full bg-cupcode-hover animate-bounce", style: { animationDelay: "0ms" } }),
25418
+ /* @__PURE__ */ jsx47("div", { className: "w-2 h-2 rounded-full bg-cupcode-purple animate-bounce", style: { animationDelay: "150ms" } }),
25419
+ /* @__PURE__ */ jsx47("div", { className: "w-2 h-2 rounded-full bg-cupcode-hover animate-bounce", style: { animationDelay: "300ms" } })
25398
25420
  ] })
25399
25421
  ] })
25400
25422
  ] }) });
@@ -25404,12 +25426,12 @@ var LoadingScreen = ({
25404
25426
  import * as React26 from "react";
25405
25427
  import * as DialogPrimitive3 from "@radix-ui/react-dialog";
25406
25428
  import { X as X5 } from "lucide-react";
25407
- import { jsx as jsx49, jsxs as jsxs32 } from "react/jsx-runtime";
25429
+ import { jsx as jsx48, jsxs as jsxs31 } from "react/jsx-runtime";
25408
25430
  var Modal = DialogPrimitive3.Root;
25409
25431
  var ModalTrigger = DialogPrimitive3.Trigger;
25410
25432
  var ModalPortal = DialogPrimitive3.Portal;
25411
25433
  var ModalClose = DialogPrimitive3.Close;
25412
- var ModalOverlay = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
25434
+ var ModalOverlay = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
25413
25435
  DialogPrimitive3.Overlay,
25414
25436
  {
25415
25437
  ref,
@@ -25429,9 +25451,9 @@ var ModalContent = React26.forwardRef(({ className, children, size = "md", ...pr
25429
25451
  lg: "max-w-lg",
25430
25452
  xl: "max-w-xl"
25431
25453
  };
25432
- return /* @__PURE__ */ jsxs32(ModalPortal, { children: [
25433
- /* @__PURE__ */ jsx49(ModalOverlay, {}),
25434
- /* @__PURE__ */ jsxs32(
25454
+ return /* @__PURE__ */ jsxs31(ModalPortal, { children: [
25455
+ /* @__PURE__ */ jsx48(ModalOverlay, {}),
25456
+ /* @__PURE__ */ jsxs31(
25435
25457
  DialogPrimitive3.Content,
25436
25458
  {
25437
25459
  ref,
@@ -25446,9 +25468,9 @@ var ModalContent = React26.forwardRef(({ className, children, size = "md", ...pr
25446
25468
  ...props,
25447
25469
  children: [
25448
25470
  children,
25449
- /* @__PURE__ */ jsxs32(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: [
25450
- /* @__PURE__ */ jsx49(X5, { className: "h-4 w-4" }),
25451
- /* @__PURE__ */ jsx49("span", { className: "sr-only", children: "Close" })
25471
+ /* @__PURE__ */ jsxs31(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: [
25472
+ /* @__PURE__ */ jsx48(X5, { className: "h-4 w-4" }),
25473
+ /* @__PURE__ */ jsx48("span", { className: "sr-only", children: "Close" })
25452
25474
  ] })
25453
25475
  ]
25454
25476
  }
@@ -25459,7 +25481,7 @@ ModalContent.displayName = DialogPrimitive3.Content.displayName;
25459
25481
  var ModalHeader = ({
25460
25482
  className,
25461
25483
  ...props
25462
- }) => /* @__PURE__ */ jsx49(
25484
+ }) => /* @__PURE__ */ jsx48(
25463
25485
  "div",
25464
25486
  {
25465
25487
  className: cn("flex flex-col space-y-2 text-center sm:text-left mb-4", className),
@@ -25470,7 +25492,7 @@ ModalHeader.displayName = "ModalHeader";
25470
25492
  var ModalFooter = ({
25471
25493
  className,
25472
25494
  ...props
25473
- }) => /* @__PURE__ */ jsx49(
25495
+ }) => /* @__PURE__ */ jsx48(
25474
25496
  "div",
25475
25497
  {
25476
25498
  className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2 mt-6", className),
@@ -25478,7 +25500,7 @@ var ModalFooter = ({
25478
25500
  }
25479
25501
  );
25480
25502
  ModalFooter.displayName = "ModalFooter";
25481
- var ModalTitle = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
25503
+ var ModalTitle = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
25482
25504
  DialogPrimitive3.Title,
25483
25505
  {
25484
25506
  ref,
@@ -25487,7 +25509,7 @@ var ModalTitle = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE
25487
25509
  }
25488
25510
  ));
25489
25511
  ModalTitle.displayName = DialogPrimitive3.Title.displayName;
25490
- var ModalDescription = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
25512
+ var ModalDescription = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
25491
25513
  DialogPrimitive3.Description,
25492
25514
  {
25493
25515
  ref,
@@ -25499,7 +25521,7 @@ ModalDescription.displayName = DialogPrimitive3.Description.displayName;
25499
25521
 
25500
25522
  // src/components/cupcode/ParticleSystem.tsx
25501
25523
  import { useEffect as useEffect17, useRef as useRef12 } from "react";
25502
- import { jsx as jsx50 } from "react/jsx-runtime";
25524
+ import { jsx as jsx49 } from "react/jsx-runtime";
25503
25525
  function ParticleSystem({
25504
25526
  count: count2 = 50,
25505
25527
  variant = "stars",
@@ -25571,7 +25593,7 @@ function ParticleSystem({
25571
25593
  cancelAnimationFrame(animationId);
25572
25594
  };
25573
25595
  }, [count2, variant]);
25574
- return /* @__PURE__ */ jsx50(
25596
+ return /* @__PURE__ */ jsx49(
25575
25597
  "canvas",
25576
25598
  {
25577
25599
  ref: canvasRef,
@@ -25582,7 +25604,7 @@ function ParticleSystem({
25582
25604
 
25583
25605
  // src/components/cupcode/PricingCard.tsx
25584
25606
  import { Check as Check4 } from "lucide-react";
25585
- import { jsx as jsx51, jsxs as jsxs33 } from "react/jsx-runtime";
25607
+ import { jsx as jsx50, jsxs as jsxs32 } from "react/jsx-runtime";
25586
25608
  function PricingCard({
25587
25609
  title,
25588
25610
  price,
@@ -25594,7 +25616,7 @@ function PricingCard({
25594
25616
  buttonText = "Escolher plano",
25595
25617
  className
25596
25618
  }) {
25597
- return /* @__PURE__ */ jsxs33(
25619
+ return /* @__PURE__ */ jsxs32(
25598
25620
  CardGlass,
25599
25621
  {
25600
25622
  className: cn(
@@ -25604,17 +25626,17 @@ function PricingCard({
25604
25626
  className
25605
25627
  ),
25606
25628
  children: [
25607
- highlighted && /* @__PURE__ */ jsx51("div", { className: "absolute -top-4 left-1/2 -translate-x-1/2", children: /* @__PURE__ */ jsx51("span", { className: "bg-cupcode-purple text-white text-xs font-bold px-4 py-1 rounded-pill", children: "POPULAR" }) }),
25608
- /* @__PURE__ */ jsxs33("div", { className: "text-center mb-6", children: [
25609
- /* @__PURE__ */ jsx51("h3", { className: "text-2xl font-display font-bold text-foreground mb-2", children: title }),
25610
- description && /* @__PURE__ */ jsx51("p", { className: "text-sm text-muted-foreground", children: description })
25629
+ highlighted && /* @__PURE__ */ jsx50("div", { className: "absolute -top-4 left-1/2 -translate-x-1/2", children: /* @__PURE__ */ jsx50("span", { className: "bg-cupcode-purple text-white text-xs font-bold px-4 py-1 rounded-pill", children: "POPULAR" }) }),
25630
+ /* @__PURE__ */ jsxs32("div", { className: "text-center mb-6", children: [
25631
+ /* @__PURE__ */ jsx50("h3", { className: "text-2xl font-display font-bold text-foreground mb-2", children: title }),
25632
+ description && /* @__PURE__ */ jsx50("p", { className: "text-sm text-muted-foreground", children: description })
25611
25633
  ] }),
25612
- /* @__PURE__ */ jsx51("div", { className: "text-center mb-8", children: /* @__PURE__ */ jsxs33("div", { className: "flex items-baseline justify-center gap-2", children: [
25613
- /* @__PURE__ */ jsx51("span", { className: "text-5xl font-display font-bold cc-text-gradient-galaxy", children: price }),
25614
- /* @__PURE__ */ jsx51("span", { className: "text-muted-foreground", children: period })
25634
+ /* @__PURE__ */ jsx50("div", { className: "text-center mb-8", children: /* @__PURE__ */ jsxs32("div", { className: "flex items-baseline justify-center gap-2", children: [
25635
+ /* @__PURE__ */ jsx50("span", { className: "text-5xl font-display font-bold cc-text-gradient-galaxy", children: price }),
25636
+ /* @__PURE__ */ jsx50("span", { className: "text-muted-foreground", children: period })
25615
25637
  ] }) }),
25616
- /* @__PURE__ */ jsx51("ul", { className: "space-3 mb-8", children: features.map((feature, index) => /* @__PURE__ */ jsxs33("li", { className: "flex items-start gap-3", children: [
25617
- /* @__PURE__ */ jsx51(
25638
+ /* @__PURE__ */ jsx50("ul", { className: "space-3 mb-8", children: features.map((feature, index) => /* @__PURE__ */ jsxs32("li", { className: "flex items-start gap-3", children: [
25639
+ /* @__PURE__ */ jsx50(
25618
25640
  Check4,
25619
25641
  {
25620
25642
  className: cn(
@@ -25623,7 +25645,7 @@ function PricingCard({
25623
25645
  )
25624
25646
  }
25625
25647
  ),
25626
- /* @__PURE__ */ jsx51(
25648
+ /* @__PURE__ */ jsx50(
25627
25649
  "span",
25628
25650
  {
25629
25651
  className: cn(
@@ -25634,7 +25656,7 @@ function PricingCard({
25634
25656
  }
25635
25657
  )
25636
25658
  ] }, index)) }),
25637
- /* @__PURE__ */ jsx51(
25659
+ /* @__PURE__ */ jsx50(
25638
25660
  JellyButton,
25639
25661
  {
25640
25662
  onClick: onSelect,
@@ -25651,7 +25673,7 @@ function PricingCard({
25651
25673
  // src/components/cupcode/ProgressCupcode.tsx
25652
25674
  import * as React27 from "react";
25653
25675
  import * as ProgressPrimitive2 from "@radix-ui/react-progress";
25654
- import { jsx as jsx52, jsxs as jsxs34 } from "react/jsx-runtime";
25676
+ import { jsx as jsx51, jsxs as jsxs33 } from "react/jsx-runtime";
25655
25677
  var ProgressCupcode = React27.forwardRef(({ className, value, variant = "default", showLabel = false, size = "md", ...props }, ref) => {
25656
25678
  const sizeClasses2 = {
25657
25679
  sm: "h-2",
@@ -25665,15 +25687,15 @@ var ProgressCupcode = React27.forwardRef(({ className, value, variant = "default
25665
25687
  warning: "bg-warning",
25666
25688
  error: "bg-destructive"
25667
25689
  };
25668
- return /* @__PURE__ */ jsxs34("div", { className: "w-full space-y-2", children: [
25669
- showLabel && /* @__PURE__ */ jsxs34("div", { className: "flex items-center justify-between text-sm", children: [
25670
- /* @__PURE__ */ jsx52("span", { className: "font-semibold text-foreground", children: "Progresso" }),
25671
- /* @__PURE__ */ jsxs34("span", { className: "text-muted-foreground", children: [
25690
+ return /* @__PURE__ */ jsxs33("div", { className: "w-full space-y-2", children: [
25691
+ showLabel && /* @__PURE__ */ jsxs33("div", { className: "flex items-center justify-between text-sm", children: [
25692
+ /* @__PURE__ */ jsx51("span", { className: "font-semibold text-foreground", children: "Progresso" }),
25693
+ /* @__PURE__ */ jsxs33("span", { className: "text-muted-foreground", children: [
25672
25694
  value,
25673
25695
  "%"
25674
25696
  ] })
25675
25697
  ] }),
25676
- /* @__PURE__ */ jsx52(
25698
+ /* @__PURE__ */ jsx51(
25677
25699
  ProgressPrimitive2.Root,
25678
25700
  {
25679
25701
  ref,
@@ -25683,7 +25705,7 @@ var ProgressCupcode = React27.forwardRef(({ className, value, variant = "default
25683
25705
  className
25684
25706
  ),
25685
25707
  ...props,
25686
- children: /* @__PURE__ */ jsx52(
25708
+ children: /* @__PURE__ */ jsx51(
25687
25709
  ProgressPrimitive2.Indicator,
25688
25710
  {
25689
25711
  className: cn(
@@ -25701,7 +25723,7 @@ ProgressCupcode.displayName = "ProgressCupcode";
25701
25723
 
25702
25724
  // src/components/cupcode/ScrollbarTheme.tsx
25703
25725
  import * as React28 from "react";
25704
- import { jsx as jsx53 } from "react/jsx-runtime";
25726
+ import { jsx as jsx52 } from "react/jsx-runtime";
25705
25727
  var SCROLLBAR_COLOR_ATTR = "data-cc-scrollbar-color";
25706
25728
  var SCROLLBAR_THEME_ATTR = "data-cc-scrollbar-theme";
25707
25729
  var ScrollbarThemeProvider = ({
@@ -25740,7 +25762,7 @@ var ScrollbarThemeProvider = ({
25740
25762
  return null;
25741
25763
  };
25742
25764
  var ScrollbarArea = React28.forwardRef(
25743
- ({ color = "purple", theme = "auto", className, ...props }, ref) => /* @__PURE__ */ jsx53(
25765
+ ({ color = "purple", theme = "auto", className, ...props }, ref) => /* @__PURE__ */ jsx52(
25744
25766
  "div",
25745
25767
  {
25746
25768
  ref,
@@ -25761,11 +25783,11 @@ ScrollbarArea.displayName = "ScrollbarArea";
25761
25783
  import * as React29 from "react";
25762
25784
  import * as SelectPrimitive2 from "@radix-ui/react-select";
25763
25785
  import { Check as Check5, ChevronDown as ChevronDown5 } from "lucide-react";
25764
- import { jsx as jsx54, jsxs as jsxs35 } from "react/jsx-runtime";
25786
+ import { jsx as jsx53, jsxs as jsxs34 } from "react/jsx-runtime";
25765
25787
  var Select2 = SelectPrimitive2.Root;
25766
25788
  var SelectGroup2 = SelectPrimitive2.Group;
25767
25789
  var SelectValue2 = SelectPrimitive2.Value;
25768
- var SelectTrigger2 = React29.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs35(
25790
+ var SelectTrigger2 = React29.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs34(
25769
25791
  SelectPrimitive2.Trigger,
25770
25792
  {
25771
25793
  ref,
@@ -25783,12 +25805,12 @@ var SelectTrigger2 = React29.forwardRef(({ className, children, ...props }, ref)
25783
25805
  ...props,
25784
25806
  children: [
25785
25807
  children,
25786
- /* @__PURE__ */ jsx54(SelectPrimitive2.Icon, { asChild: true, children: /* @__PURE__ */ jsx54(ChevronDown5, { className: "h-4 w-4 opacity-50" }) })
25808
+ /* @__PURE__ */ jsx53(SelectPrimitive2.Icon, { asChild: true, children: /* @__PURE__ */ jsx53(ChevronDown5, { className: "h-4 w-4 opacity-50" }) })
25787
25809
  ]
25788
25810
  }
25789
25811
  ));
25790
25812
  SelectTrigger2.displayName = SelectPrimitive2.Trigger.displayName;
25791
- var SelectContent2 = React29.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx54(SelectPrimitive2.Portal, { children: /* @__PURE__ */ jsx54(
25813
+ var SelectContent2 = React29.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx53(SelectPrimitive2.Portal, { children: /* @__PURE__ */ jsx53(
25792
25814
  SelectPrimitive2.Content,
25793
25815
  {
25794
25816
  ref,
@@ -25805,7 +25827,7 @@ var SelectContent2 = React29.forwardRef(({ className, children, position = "popp
25805
25827
  ),
25806
25828
  position,
25807
25829
  ...props,
25808
- children: /* @__PURE__ */ jsx54(
25830
+ children: /* @__PURE__ */ jsx53(
25809
25831
  SelectPrimitive2.Viewport,
25810
25832
  {
25811
25833
  className: cn(
@@ -25818,7 +25840,7 @@ var SelectContent2 = React29.forwardRef(({ className, children, position = "popp
25818
25840
  }
25819
25841
  ) }));
25820
25842
  SelectContent2.displayName = SelectPrimitive2.Content.displayName;
25821
- var SelectItem2 = React29.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs35(
25843
+ var SelectItem2 = React29.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs34(
25822
25844
  SelectPrimitive2.Item,
25823
25845
  {
25824
25846
  ref,
@@ -25831,8 +25853,8 @@ var SelectItem2 = React29.forwardRef(({ className, children, ...props }, ref) =>
25831
25853
  ),
25832
25854
  ...props,
25833
25855
  children: [
25834
- /* @__PURE__ */ jsx54("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx54(SelectPrimitive2.ItemIndicator, { children: /* @__PURE__ */ jsx54(Check5, { className: "h-4 w-4 text-cupcode-purple" }) }) }),
25835
- /* @__PURE__ */ jsx54(SelectPrimitive2.ItemText, { children })
25856
+ /* @__PURE__ */ jsx53("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx53(SelectPrimitive2.ItemIndicator, { children: /* @__PURE__ */ jsx53(Check5, { className: "h-4 w-4 text-cupcode-purple" }) }) }),
25857
+ /* @__PURE__ */ jsx53(SelectPrimitive2.ItemText, { children })
25836
25858
  ]
25837
25859
  }
25838
25860
  ));
@@ -25846,21 +25868,21 @@ var SelectField = ({
25846
25868
  options,
25847
25869
  disabled
25848
25870
  }) => {
25849
- return /* @__PURE__ */ jsxs35("div", { className: "cc-stack space-2 w-full", children: [
25850
- label && /* @__PURE__ */ jsx54("label", { className: "text-sm font-semibold text-cupcode-ink", children: label }),
25851
- /* @__PURE__ */ jsxs35(Select2, { value, onValueChange, disabled, children: [
25852
- /* @__PURE__ */ jsx54(SelectTrigger2, { children: /* @__PURE__ */ jsx54(SelectValue2, { placeholder }) }),
25853
- /* @__PURE__ */ jsx54(SelectContent2, { children: /* @__PURE__ */ jsx54(SelectGroup2, { children: options.map((option) => /* @__PURE__ */ jsx54(SelectItem2, { value: option.value, children: option.label }, option.value)) }) })
25871
+ return /* @__PURE__ */ jsxs34("div", { className: "cc-stack space-2 w-full", children: [
25872
+ label && /* @__PURE__ */ jsx53("label", { className: "text-sm font-semibold text-cupcode-ink", children: label }),
25873
+ /* @__PURE__ */ jsxs34(Select2, { value, onValueChange, disabled, children: [
25874
+ /* @__PURE__ */ jsx53(SelectTrigger2, { children: /* @__PURE__ */ jsx53(SelectValue2, { placeholder }) }),
25875
+ /* @__PURE__ */ jsx53(SelectContent2, { children: /* @__PURE__ */ jsx53(SelectGroup2, { children: options.map((option) => /* @__PURE__ */ jsx53(SelectItem2, { value: option.value, children: option.label }, option.value)) }) })
25854
25876
  ] }),
25855
- error && /* @__PURE__ */ jsx54("p", { className: "text-xs font-medium text-destructive animate-fade-in", children: error })
25877
+ error && /* @__PURE__ */ jsx53("p", { className: "text-xs font-medium text-destructive animate-fade-in", children: error })
25856
25878
  ] });
25857
25879
  };
25858
25880
 
25859
25881
  // src/components/cupcode/SwitchField.tsx
25860
25882
  import * as React30 from "react";
25861
25883
  import * as SwitchPrimitives2 from "@radix-ui/react-switch";
25862
- import { jsx as jsx55, jsxs as jsxs36 } from "react/jsx-runtime";
25863
- var Switch2 = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
25884
+ import { jsx as jsx54, jsxs as jsxs35 } from "react/jsx-runtime";
25885
+ var Switch2 = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx54(
25864
25886
  SwitchPrimitives2.Root,
25865
25887
  {
25866
25888
  className: cn(
@@ -25875,7 +25897,7 @@ var Switch2 = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__
25875
25897
  ),
25876
25898
  ...props,
25877
25899
  ref,
25878
- children: /* @__PURE__ */ jsx55(
25900
+ children: /* @__PURE__ */ jsx54(
25879
25901
  SwitchPrimitives2.Thumb,
25880
25902
  {
25881
25903
  className: cn(
@@ -25891,21 +25913,21 @@ var Switch2 = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__
25891
25913
  ));
25892
25914
  Switch2.displayName = SwitchPrimitives2.Root.displayName;
25893
25915
  var SwitchField = ({ label, description, ...props }) => {
25894
- return /* @__PURE__ */ jsxs36("div", { className: "flex items-center justify-between space-x-4", children: [
25895
- /* @__PURE__ */ jsxs36("div", { className: "cc-stack space-1 flex-1", children: [
25896
- label && /* @__PURE__ */ jsx55("label", { className: "text-sm font-semibold text-cupcode-ink cursor-pointer", children: label }),
25897
- description && /* @__PURE__ */ jsx55("p", { className: "text-xs text-muted-foreground", children: description })
25916
+ return /* @__PURE__ */ jsxs35("div", { className: "flex items-center justify-between space-x-4", children: [
25917
+ /* @__PURE__ */ jsxs35("div", { className: "cc-stack space-1 flex-1", children: [
25918
+ label && /* @__PURE__ */ jsx54("label", { className: "text-sm font-semibold text-cupcode-ink cursor-pointer", children: label }),
25919
+ description && /* @__PURE__ */ jsx54("p", { className: "text-xs text-muted-foreground", children: description })
25898
25920
  ] }),
25899
- /* @__PURE__ */ jsx55(Switch2, { ...props })
25921
+ /* @__PURE__ */ jsx54(Switch2, { ...props })
25900
25922
  ] });
25901
25923
  };
25902
25924
 
25903
25925
  // src/components/cupcode/TabsCupcode.tsx
25904
25926
  import * as React31 from "react";
25905
25927
  import * as TabsPrimitive2 from "@radix-ui/react-tabs";
25906
- import { jsx as jsx56 } from "react/jsx-runtime";
25928
+ import { jsx as jsx55 } from "react/jsx-runtime";
25907
25929
  var Tabs2 = TabsPrimitive2.Root;
25908
- var TabsList2 = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx56(
25930
+ var TabsList2 = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
25909
25931
  TabsPrimitive2.List,
25910
25932
  {
25911
25933
  ref,
@@ -25918,7 +25940,7 @@ var TabsList2 = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE_
25918
25940
  }
25919
25941
  ));
25920
25942
  TabsList2.displayName = TabsPrimitive2.List.displayName;
25921
- var TabsTrigger2 = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx56(
25943
+ var TabsTrigger2 = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
25922
25944
  TabsPrimitive2.Trigger,
25923
25945
  {
25924
25946
  ref,
@@ -25940,7 +25962,7 @@ var TabsTrigger2 = React31.forwardRef(({ className, ...props }, ref) => /* @__PU
25940
25962
  }
25941
25963
  ));
25942
25964
  TabsTrigger2.displayName = TabsPrimitive2.Trigger.displayName;
25943
- var TabsContent2 = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx56(
25965
+ var TabsContent2 = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
25944
25966
  TabsPrimitive2.Content,
25945
25967
  {
25946
25968
  ref,
@@ -25957,12 +25979,12 @@ TabsContent2.displayName = TabsPrimitive2.Content.displayName;
25957
25979
 
25958
25980
  // src/components/cupcode/TextareaField.tsx
25959
25981
  import * as React32 from "react";
25960
- import { jsx as jsx57, jsxs as jsxs37 } from "react/jsx-runtime";
25982
+ import { jsx as jsx56, jsxs as jsxs36 } from "react/jsx-runtime";
25961
25983
  var TextareaField = React32.forwardRef(
25962
25984
  ({ className, label, error, ...props }, ref) => {
25963
- return /* @__PURE__ */ jsxs37("div", { className: "cc-stack space-2 w-full", children: [
25964
- label && /* @__PURE__ */ jsx57("label", { className: "text-sm font-semibold text-cupcode-ink", children: label }),
25965
- /* @__PURE__ */ jsx57(
25985
+ return /* @__PURE__ */ jsxs36("div", { className: "cc-stack space-2 w-full", children: [
25986
+ label && /* @__PURE__ */ jsx56("label", { className: "text-sm font-semibold text-cupcode-ink", children: label }),
25987
+ /* @__PURE__ */ jsx56(
25966
25988
  "textarea",
25967
25989
  {
25968
25990
  className: cn(
@@ -25982,7 +26004,7 @@ var TextareaField = React32.forwardRef(
25982
26004
  ...props
25983
26005
  }
25984
26006
  ),
25985
- error && /* @__PURE__ */ jsx57("p", { className: "text-xs font-medium text-destructive animate-fade-in", children: error })
26007
+ error && /* @__PURE__ */ jsx56("p", { className: "text-xs font-medium text-destructive animate-fade-in", children: error })
25986
26008
  ] });
25987
26009
  }
25988
26010
  );
@@ -25991,7 +26013,7 @@ TextareaField.displayName = "TextareaField";
25991
26013
  // src/components/cupcode/ThemeToggle.tsx
25992
26014
  import * as React33 from "react";
25993
26015
  import { Moon as Moon2, Sun as Sun2 } from "lucide-react";
25994
- import { jsx as jsx58, jsxs as jsxs38 } from "react/jsx-runtime";
26016
+ import { jsx as jsx57, jsxs as jsxs37 } from "react/jsx-runtime";
25995
26017
  var THEME_STORAGE_KEY2 = "cupcode-theme";
25996
26018
  function isThemeMode(value) {
25997
26019
  return value === "light" || value === "dark";
@@ -26019,13 +26041,25 @@ function applyThemeClass(theme) {
26019
26041
  const root = document.documentElement;
26020
26042
  root.classList.toggle("dark", theme === "dark");
26021
26043
  root.classList.toggle("light", theme === "light");
26044
+ root.dataset.theme = theme;
26045
+ root.style.colorScheme = theme;
26046
+ }
26047
+ function readThemeFromRoot() {
26048
+ var _a78;
26049
+ if (typeof document === "undefined") return null;
26050
+ const root = document.documentElement;
26051
+ const datasetTheme = (_a78 = root.dataset.theme) != null ? _a78 : null;
26052
+ if (isThemeMode(datasetTheme)) return datasetTheme;
26053
+ if (root.classList.contains("dark")) return "dark";
26054
+ if (root.classList.contains("light")) return "light";
26055
+ return null;
26022
26056
  }
26023
26057
  function resolveTheme(defaultTheme) {
26058
+ const rootTheme = readThemeFromRoot();
26059
+ if (rootTheme) return rootTheme;
26024
26060
  const storedTheme = readStoredTheme();
26025
26061
  if (storedTheme) return storedTheme;
26026
26062
  if (typeof document === "undefined") return defaultTheme;
26027
- if (document.documentElement.classList.contains("dark")) return "dark";
26028
- if (document.documentElement.classList.contains("light")) return "light";
26029
26063
  if (typeof window !== "undefined" && window.matchMedia("(prefers-color-scheme: dark)").matches) {
26030
26064
  return "dark";
26031
26065
  }
@@ -26038,43 +26072,57 @@ var ThemeToggle2 = ({
26038
26072
  onThemeChange
26039
26073
  }) => {
26040
26074
  var _a78;
26075
+ const themeContext = React33.useContext(ThemeContext);
26041
26076
  const [mounted, setMounted] = React33.useState(false);
26042
26077
  const [internalTheme, setInternalTheme] = React33.useState(defaultTheme);
26043
26078
  const isControlled = typeof theme !== "undefined";
26044
- const activeTheme = (_a78 = isControlled ? theme : internalTheme) != null ? _a78 : defaultTheme;
26079
+ const usesProviderTheme = !isControlled && themeContext !== null;
26080
+ const activeTheme = (_a78 = isControlled ? theme : usesProviderTheme ? themeContext.theme : internalTheme) != null ? _a78 : defaultTheme;
26045
26081
  React33.useEffect(() => {
26046
- if (!isControlled) {
26082
+ if (!isControlled && !usesProviderTheme) {
26047
26083
  setInternalTheme(resolveTheme(defaultTheme));
26048
26084
  }
26049
26085
  setMounted(true);
26050
- }, [defaultTheme, isControlled]);
26086
+ }, [defaultTheme, isControlled, usesProviderTheme]);
26051
26087
  React33.useEffect(() => {
26052
- if (!mounted) return;
26088
+ if (!mounted || usesProviderTheme) return;
26053
26089
  applyThemeClass(activeTheme);
26054
26090
  writeStoredTheme(activeTheme);
26055
- }, [activeTheme, mounted]);
26091
+ }, [activeTheme, mounted, usesProviderTheme]);
26056
26092
  React33.useEffect(() => {
26057
- if (isControlled || typeof document === "undefined") return;
26093
+ if (isControlled || usesProviderTheme || typeof document === "undefined") return;
26058
26094
  const observer = new MutationObserver(() => {
26059
26095
  const resolvedTheme = resolveTheme(defaultTheme);
26060
26096
  setInternalTheme((currentTheme) => currentTheme === resolvedTheme ? currentTheme : resolvedTheme);
26061
26097
  });
26062
- observer.observe(document.documentElement, { attributes: true, attributeFilter: ["class"] });
26098
+ observer.observe(document.documentElement, { attributes: true, attributeFilter: ["class", "data-theme"] });
26063
26099
  return () => observer.disconnect();
26064
- }, [defaultTheme, isControlled]);
26100
+ }, [defaultTheme, isControlled, usesProviderTheme]);
26065
26101
  if (!mounted) {
26066
- return /* @__PURE__ */ jsx58("div", { className: cn("w-10 h-10 rounded-lg bg-muted", className) });
26102
+ return /* @__PURE__ */ jsx57("div", { className: cn("w-10 h-10 rounded-lg bg-muted", className) });
26067
26103
  }
26068
- const handleToggle = () => {
26069
- const nextTheme = activeTheme === "dark" ? "light" : "dark";
26104
+ const handleToggle = (event) => {
26105
+ var _a79;
26106
+ const currentTheme = (_a79 = readThemeFromRoot()) != null ? _a79 : activeTheme;
26107
+ const nextTheme = currentTheme === "dark" ? "light" : "dark";
26108
+ if (usesProviderTheme) {
26109
+ themeContext.toggleTheme({
26110
+ x: event.clientX,
26111
+ y: event.clientY
26112
+ });
26113
+ onThemeChange == null ? void 0 : onThemeChange(nextTheme);
26114
+ return;
26115
+ }
26116
+ persistThemePreferenceSelection(nextTheme);
26070
26117
  if (!isControlled) {
26071
26118
  setInternalTheme(nextTheme);
26072
26119
  }
26073
26120
  onThemeChange == null ? void 0 : onThemeChange(nextTheme);
26074
26121
  };
26075
- return /* @__PURE__ */ jsxs38(
26122
+ return /* @__PURE__ */ jsxs37(
26076
26123
  "button",
26077
26124
  {
26125
+ type: "button",
26078
26126
  onClick: handleToggle,
26079
26127
  className: cn(
26080
26128
  "relative inline-flex items-center justify-center w-10 h-10",
@@ -26085,9 +26133,9 @@ var ThemeToggle2 = ({
26085
26133
  ),
26086
26134
  "aria-label": "Toggle theme",
26087
26135
  children: [
26088
- /* @__PURE__ */ jsx58(Sun2, { className: "h-5 w-5 text-cupcode-purple rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" }),
26089
- /* @__PURE__ */ jsx58(Moon2, { className: "absolute h-5 w-5 text-cupcode-hover rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" }),
26090
- /* @__PURE__ */ jsxs38("span", { className: "sr-only", children: [
26136
+ /* @__PURE__ */ jsx57(Sun2, { className: "h-5 w-5 text-cupcode-purple rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" }),
26137
+ /* @__PURE__ */ jsx57(Moon2, { className: "absolute h-5 w-5 text-cupcode-hover rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" }),
26138
+ /* @__PURE__ */ jsxs37("span", { className: "sr-only", children: [
26091
26139
  "Current theme: ",
26092
26140
  activeTheme
26093
26141
  ] })
@@ -26097,14 +26145,9 @@ var ThemeToggle2 = ({
26097
26145
  };
26098
26146
 
26099
26147
  // src/components/theme-provider.tsx
26100
- import {
26101
- useCallback as useCallback8,
26102
- useEffect as useEffect20,
26103
- useMemo as useMemo12,
26104
- useState as useState17
26105
- } from "react";
26148
+ import { useCallback as useCallback8, useEffect as useEffect20, useMemo as useMemo12, useState as useState17 } from "react";
26106
26149
  import { flushSync } from "react-dom";
26107
- import { jsx as jsx59 } from "react/jsx-runtime";
26150
+ import { jsx as jsx58 } from "react/jsx-runtime";
26108
26151
  var STORAGE_KEY2 = "cupcode-theme";
26109
26152
  var LEGACY_STORAGE_KEY = "theme";
26110
26153
  function getPreferredTheme() {
@@ -26121,6 +26164,27 @@ function getStoredTheme() {
26121
26164
  const storedTheme = (_a78 = window.localStorage.getItem(STORAGE_KEY2)) != null ? _a78 : window.localStorage.getItem(LEGACY_STORAGE_KEY);
26122
26165
  return storedTheme === "light" || storedTheme === "dark" ? storedTheme : null;
26123
26166
  }
26167
+ function getThemeFromRoot() {
26168
+ if (typeof document === "undefined") {
26169
+ return null;
26170
+ }
26171
+ const { documentElement: root } = document;
26172
+ const datasetTheme = root.dataset.theme;
26173
+ if (datasetTheme === "light" || datasetTheme === "dark") {
26174
+ return datasetTheme;
26175
+ }
26176
+ if (root.classList.contains("dark")) {
26177
+ return "dark";
26178
+ }
26179
+ if (root.classList.contains("light")) {
26180
+ return "light";
26181
+ }
26182
+ return null;
26183
+ }
26184
+ function resolveTheme2() {
26185
+ var _a78, _b7;
26186
+ return (_b7 = (_a78 = getThemeFromRoot()) != null ? _a78 : getStoredTheme()) != null ? _b7 : getPreferredTheme();
26187
+ }
26124
26188
  function applyThemeToRoot(theme) {
26125
26189
  const root = document.documentElement;
26126
26190
  root.classList.toggle("dark", theme === "dark");
@@ -26133,15 +26197,11 @@ function persistTheme(theme) {
26133
26197
  window.localStorage.setItem(LEGACY_STORAGE_KEY, theme);
26134
26198
  }
26135
26199
  function ThemeProvider({ children }) {
26136
- const [theme, setThemeState] = useState17(() => {
26137
- var _a78;
26138
- return (_a78 = getStoredTheme()) != null ? _a78 : getPreferredTheme();
26139
- });
26200
+ const [theme, setThemeState] = useState17(() => resolveTheme2());
26140
26201
  const [mounted, setMounted] = useState17(false);
26141
26202
  useEffect20(() => {
26142
- var _a78;
26143
- const initialTheme = (_a78 = getStoredTheme()) != null ? _a78 : getPreferredTheme();
26144
- setThemeState(initialTheme);
26203
+ const initialTheme = resolveTheme2();
26204
+ setThemeState((currentTheme) => currentTheme === initialTheme ? currentTheme : initialTheme);
26145
26205
  applyThemeToRoot(initialTheme);
26146
26206
  setMounted(true);
26147
26207
  }, []);
@@ -26149,8 +26209,14 @@ function ThemeProvider({ children }) {
26149
26209
  if (!mounted) {
26150
26210
  return;
26151
26211
  }
26152
- persistTheme(theme);
26153
- applyThemeToRoot(theme);
26212
+ const rootTheme = getThemeFromRoot();
26213
+ if (rootTheme !== theme) {
26214
+ applyThemeToRoot(theme);
26215
+ }
26216
+ const storedTheme = getStoredTheme();
26217
+ if (storedTheme !== theme) {
26218
+ persistTheme(theme);
26219
+ }
26154
26220
  }, [mounted, theme]);
26155
26221
  useEffect20(() => {
26156
26222
  if (typeof window === "undefined") {
@@ -26168,35 +26234,65 @@ function ThemeProvider({ children }) {
26168
26234
  mediaQuery.addEventListener("change", handleChange);
26169
26235
  return () => mediaQuery.removeEventListener("change", handleChange);
26170
26236
  }, []);
26171
- const setTheme = useCallback8((nextTheme) => {
26172
- setThemeState(nextTheme);
26237
+ useEffect20(() => {
26238
+ if (typeof document === "undefined") {
26239
+ return;
26240
+ }
26241
+ const root = document.documentElement;
26242
+ const observer = new MutationObserver(() => {
26243
+ const rootTheme = getThemeFromRoot();
26244
+ if (!rootTheme) {
26245
+ return;
26246
+ }
26247
+ setThemeState((currentTheme) => currentTheme === rootTheme ? currentTheme : rootTheme);
26248
+ });
26249
+ observer.observe(root, {
26250
+ attributes: true,
26251
+ attributeFilter: ["class", "data-theme"]
26252
+ });
26253
+ return () => observer.disconnect();
26173
26254
  }, []);
26174
- const toggleTheme = useCallback8((coords) => {
26255
+ const applyThemeSelection = useCallback8((nextTheme, coords) => {
26175
26256
  var _a78;
26176
26257
  const documentWithTransition = document;
26258
+ const root = document.documentElement;
26177
26259
  const prefersReducedMotion = window.matchMedia(
26178
26260
  "(prefers-reduced-motion: reduce)"
26179
26261
  ).matches;
26180
26262
  const supportsTransition = typeof documentWithTransition.startViewTransition === "function";
26181
- const flipTheme = () => {
26263
+ const commitTheme = () => {
26264
+ applyThemeToRoot(nextTheme);
26265
+ persistThemePreferenceSelection(nextTheme);
26182
26266
  setThemeState(
26183
- (currentTheme) => currentTheme === "light" ? "dark" : "light"
26267
+ (currentTheme) => currentTheme === nextTheme ? currentTheme : nextTheme
26184
26268
  );
26185
26269
  };
26186
- if (coords) {
26187
- document.documentElement.style.setProperty("--theme-x", `${coords.x}px`);
26188
- document.documentElement.style.setProperty("--theme-y", `${coords.y}px`);
26189
- }
26190
26270
  if (!supportsTransition || prefersReducedMotion) {
26191
- flipTheme();
26271
+ commitTheme();
26192
26272
  return;
26193
26273
  }
26274
+ if (coords) {
26275
+ root.style.setProperty("--theme-x", `${coords.x}px`);
26276
+ root.style.setProperty("--theme-y", `${coords.y}px`);
26277
+ } else {
26278
+ root.style.setProperty("--theme-x", "50%");
26279
+ root.style.setProperty("--theme-y", "50%");
26280
+ }
26194
26281
  (_a78 = documentWithTransition.startViewTransition) == null ? void 0 : _a78.call(documentWithTransition, () => {
26195
26282
  flushSync(() => {
26196
- flipTheme();
26283
+ commitTheme();
26197
26284
  });
26198
26285
  });
26199
26286
  }, []);
26287
+ const setTheme = useCallback8((nextTheme) => {
26288
+ applyThemeSelection(nextTheme);
26289
+ }, [applyThemeSelection]);
26290
+ const toggleTheme = useCallback8((coords) => {
26291
+ var _a78;
26292
+ const currentTheme = (_a78 = getThemeFromRoot()) != null ? _a78 : theme;
26293
+ const nextTheme = currentTheme === "light" ? "dark" : "light";
26294
+ applyThemeSelection(nextTheme, coords);
26295
+ }, [applyThemeSelection, theme]);
26200
26296
  const value = useMemo12(
26201
26297
  () => ({
26202
26298
  theme,
@@ -26205,7 +26301,7 @@ function ThemeProvider({ children }) {
26205
26301
  }),
26206
26302
  [theme, setTheme, toggleTheme]
26207
26303
  );
26208
- return /* @__PURE__ */ jsx59(ThemeContext.Provider, { value, children });
26304
+ return /* @__PURE__ */ jsx58(ThemeContext.Provider, { value, children });
26209
26305
  }
26210
26306
  function ThemeScript() {
26211
26307
  const script = `
@@ -26226,15 +26322,15 @@ function ThemeScript() {
26226
26322
  root.style.colorScheme = theme;
26227
26323
  })();
26228
26324
  `;
26229
- return /* @__PURE__ */ jsx59("script", { dangerouslySetInnerHTML: { __html: script } });
26325
+ return /* @__PURE__ */ jsx58("script", { dangerouslySetInnerHTML: { __html: script } });
26230
26326
  }
26231
26327
 
26232
26328
  // src/components/cupcode/TimelineCupcode.tsx
26233
- import { jsx as jsx60, jsxs as jsxs39 } from "react/jsx-runtime";
26329
+ import { jsx as jsx59, jsxs as jsxs38 } from "react/jsx-runtime";
26234
26330
  function Timeline({ items, variant = "vertical", className }) {
26235
26331
  if (variant === "horizontal") {
26236
- return /* @__PURE__ */ jsx60("div", { className: cn("flex items-start gap-4 overflow-x-auto pb-4", className), children: items.map((item, index) => /* @__PURE__ */ jsxs39("div", { className: "flex flex-col items-center min-w-[200px]", children: [
26237
- /* @__PURE__ */ jsx60(
26332
+ return /* @__PURE__ */ jsx59("div", { className: cn("flex items-start gap-4 overflow-x-auto pb-4", className), children: items.map((item, index) => /* @__PURE__ */ jsxs38("div", { className: "flex flex-col items-center min-w-[200px]", children: [
26333
+ /* @__PURE__ */ jsx59(
26238
26334
  "div",
26239
26335
  {
26240
26336
  className: cn(
@@ -26242,27 +26338,27 @@ function Timeline({ items, variant = "vertical", className }) {
26242
26338
  "transition-all duration-300",
26243
26339
  item.active ? "cc-gradient-galaxy text-white elevation-3 scale-110" : "bg-muted text-muted-foreground"
26244
26340
  ),
26245
- children: item.icon || /* @__PURE__ */ jsx60("span", { className: "text-sm font-bold", children: index + 1 })
26341
+ children: item.icon || /* @__PURE__ */ jsx59("span", { className: "text-sm font-bold", children: index + 1 })
26246
26342
  }
26247
26343
  ),
26248
- index < items.length - 1 && /* @__PURE__ */ jsx60("div", { className: cn(
26344
+ index < items.length - 1 && /* @__PURE__ */ jsx59("div", { className: cn(
26249
26345
  "h-1 w-full mb-3",
26250
26346
  item.active ? "bg-cupcode-purple" : "bg-muted"
26251
26347
  ) }),
26252
- /* @__PURE__ */ jsxs39("div", { className: "text-center", children: [
26253
- /* @__PURE__ */ jsx60("h4", { className: cn(
26348
+ /* @__PURE__ */ jsxs38("div", { className: "text-center", children: [
26349
+ /* @__PURE__ */ jsx59("h4", { className: cn(
26254
26350
  "font-display font-semibold mb-1",
26255
26351
  item.active ? "text-cupcode-purple" : "text-foreground"
26256
26352
  ), children: item.title }),
26257
- item.description && /* @__PURE__ */ jsx60("p", { className: "text-sm text-muted-foreground", children: item.description }),
26258
- item.date && /* @__PURE__ */ jsx60("p", { className: "text-xs text-muted-foreground mt-1", children: item.date })
26353
+ item.description && /* @__PURE__ */ jsx59("p", { className: "text-sm text-muted-foreground", children: item.description }),
26354
+ item.date && /* @__PURE__ */ jsx59("p", { className: "text-xs text-muted-foreground mt-1", children: item.date })
26259
26355
  ] })
26260
26356
  ] }, item.id)) });
26261
26357
  }
26262
- return /* @__PURE__ */ jsxs39("div", { className: cn("relative space-6", className), children: [
26263
- /* @__PURE__ */ jsx60("div", { className: "absolute left-6 top-0 bottom-0 w-0.5 bg-muted" }),
26264
- items.map((item, index) => /* @__PURE__ */ jsxs39("div", { className: "relative flex gap-6 pb-8 last:pb-0", children: [
26265
- /* @__PURE__ */ jsx60(
26358
+ return /* @__PURE__ */ jsxs38("div", { className: cn("relative space-6", className), children: [
26359
+ /* @__PURE__ */ jsx59("div", { className: "absolute left-6 top-0 bottom-0 w-0.5 bg-muted" }),
26360
+ items.map((item, index) => /* @__PURE__ */ jsxs38("div", { className: "relative flex gap-6 pb-8 last:pb-0", children: [
26361
+ /* @__PURE__ */ jsx59(
26266
26362
  "div",
26267
26363
  {
26268
26364
  className: cn(
@@ -26270,16 +26366,16 @@ function Timeline({ items, variant = "vertical", className }) {
26270
26366
  "transition-all duration-300",
26271
26367
  item.active ? "cc-gradient-galaxy text-white elevation-3" : "bg-muted text-muted-foreground"
26272
26368
  ),
26273
- children: item.icon || /* @__PURE__ */ jsx60("span", { className: "text-sm font-bold", children: index + 1 })
26369
+ children: item.icon || /* @__PURE__ */ jsx59("span", { className: "text-sm font-bold", children: index + 1 })
26274
26370
  }
26275
26371
  ),
26276
- /* @__PURE__ */ jsxs39("div", { className: "flex-1 pt-1", children: [
26277
- /* @__PURE__ */ jsx60("h4", { className: cn(
26372
+ /* @__PURE__ */ jsxs38("div", { className: "flex-1 pt-1", children: [
26373
+ /* @__PURE__ */ jsx59("h4", { className: cn(
26278
26374
  "font-display font-semibold mb-1",
26279
26375
  item.active ? "text-cupcode-purple" : "text-foreground"
26280
26376
  ), children: item.title }),
26281
- item.description && /* @__PURE__ */ jsx60("p", { className: "text-sm text-muted-foreground mb-2", children: item.description }),
26282
- item.date && /* @__PURE__ */ jsx60("p", { className: "text-xs text-muted-foreground", children: item.date })
26377
+ item.description && /* @__PURE__ */ jsx59("p", { className: "text-sm text-muted-foreground mb-2", children: item.description }),
26378
+ item.date && /* @__PURE__ */ jsx59("p", { className: "text-xs text-muted-foreground", children: item.date })
26283
26379
  ] })
26284
26380
  ] }, item.id))
26285
26381
  ] });
@@ -26287,7 +26383,7 @@ function Timeline({ items, variant = "vertical", className }) {
26287
26383
 
26288
26384
  // src/components/cupcode/ToastCupcode.tsx
26289
26385
  import { X as X6, CheckCircle, AlertCircle, Info as Info2, AlertTriangle as AlertTriangle2 } from "lucide-react";
26290
- import { jsx as jsx61, jsxs as jsxs40 } from "react/jsx-runtime";
26386
+ import { jsx as jsx60, jsxs as jsxs39 } from "react/jsx-runtime";
26291
26387
  var variantStyles2 = {
26292
26388
  success: {
26293
26389
  gradient: "from-success/20 to-success/5",
@@ -26322,7 +26418,7 @@ var ToastCupcode = ({
26322
26418
  }) => {
26323
26419
  const style = variantStyles2[variant];
26324
26420
  const Icon3 = style.icon;
26325
- return /* @__PURE__ */ jsx61(
26421
+ return /* @__PURE__ */ jsx60(
26326
26422
  "div",
26327
26423
  {
26328
26424
  className: cn(
@@ -26334,18 +26430,18 @@ var ToastCupcode = ({
26334
26430
  "min-w-[300px] max-w-[420px]",
26335
26431
  "animate-slide-up"
26336
26432
  ),
26337
- children: /* @__PURE__ */ jsxs40("div", { className: "flex items-start gap-3", children: [
26338
- /* @__PURE__ */ jsx61(Icon3, { className: cn("h-5 w-5 shrink-0 mt-0.5", style.iconColor) }),
26339
- /* @__PURE__ */ jsxs40("div", { className: "flex-1 space-y-1", children: [
26340
- /* @__PURE__ */ jsx61("p", { className: "text-sm font-semibold text-cupcode-ink", children: title }),
26341
- description && /* @__PURE__ */ jsx61("p", { className: "text-xs text-cupcode-ink/70", children: description })
26433
+ children: /* @__PURE__ */ jsxs39("div", { className: "flex items-start gap-3", children: [
26434
+ /* @__PURE__ */ jsx60(Icon3, { className: cn("h-5 w-5 shrink-0 mt-0.5", style.iconColor) }),
26435
+ /* @__PURE__ */ jsxs39("div", { className: "flex-1 space-y-1", children: [
26436
+ /* @__PURE__ */ jsx60("p", { className: "text-sm font-semibold text-cupcode-ink", children: title }),
26437
+ description && /* @__PURE__ */ jsx60("p", { className: "text-xs text-cupcode-ink/70", children: description })
26342
26438
  ] }),
26343
- onClose && /* @__PURE__ */ jsx61(
26439
+ onClose && /* @__PURE__ */ jsx60(
26344
26440
  "button",
26345
26441
  {
26346
26442
  onClick: onClose,
26347
26443
  className: "shrink-0 rounded-md p-1 hover:bg-cupcode-ink/10 transition-colors",
26348
- children: /* @__PURE__ */ jsx61(X6, { className: "h-4 w-4 text-cupcode-ink/50" })
26444
+ children: /* @__PURE__ */ jsx60(X6, { className: "h-4 w-4 text-cupcode-ink/50" })
26349
26445
  }
26350
26446
  )
26351
26447
  ] })
@@ -26354,12 +26450,12 @@ var ToastCupcode = ({
26354
26450
  };
26355
26451
 
26356
26452
  // src/components/cupcode/VideoWatchButton.tsx
26357
- import React35 from "react";
26358
- import { jsx as jsx62, jsxs as jsxs41 } from "react/jsx-runtime";
26359
- var PlayGlyph = () => /* @__PURE__ */ jsx62("svg", { viewBox: "0 0 18 18", "aria-hidden": "true", className: "h-[18px] w-[18px]", children: /* @__PURE__ */ jsx62("path", { d: "M6 4.5L13.5 9L6 13.5V4.5Z", fill: "currentColor" }) });
26360
- var VideoWatchButton = React35.forwardRef(
26453
+ import React34 from "react";
26454
+ import { jsx as jsx61, jsxs as jsxs40 } from "react/jsx-runtime";
26455
+ var PlayGlyph = () => /* @__PURE__ */ jsx61("svg", { viewBox: "0 0 18 18", "aria-hidden": "true", className: "h-[18px] w-[18px]", children: /* @__PURE__ */ jsx61("path", { d: "M6 4.5L13.5 9L6 13.5V4.5Z", fill: "currentColor" }) });
26456
+ var VideoWatchButton = React34.forwardRef(
26361
26457
  ({ className, label = "Assistir", type = "button", "aria-label": ariaLabel, ...props }, ref) => {
26362
- return /* @__PURE__ */ jsxs41(
26458
+ return /* @__PURE__ */ jsxs40(
26363
26459
  "button",
26364
26460
  {
26365
26461
  ref,
@@ -26368,18 +26464,18 @@ var VideoWatchButton = React35.forwardRef(
26368
26464
  className: cn("cc-video-watch-btn", className),
26369
26465
  ...props,
26370
26466
  children: [
26371
- /* @__PURE__ */ jsxs41("span", { className: "cc-video-watch-btn__bg", children: [
26372
- /* @__PURE__ */ jsx62("span", { className: "cc-video-watch-btn__icon", children: /* @__PURE__ */ jsx62(PlayGlyph, {}) }),
26373
- /* @__PURE__ */ jsx62("span", { className: "cc-video-watch-btn__label", children: label }),
26374
- /* @__PURE__ */ jsxs41("span", { className: "cc-video-watch-btn__mask", "aria-hidden": "true", children: [
26375
- /* @__PURE__ */ jsx62("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--1" }),
26376
- /* @__PURE__ */ jsx62("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--2" }),
26377
- /* @__PURE__ */ jsx62("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--3" }),
26378
- /* @__PURE__ */ jsx62("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--4" }),
26379
- /* @__PURE__ */ jsx62("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--5" })
26467
+ /* @__PURE__ */ jsxs40("span", { className: "cc-video-watch-btn__bg", children: [
26468
+ /* @__PURE__ */ jsx61("span", { className: "cc-video-watch-btn__icon", children: /* @__PURE__ */ jsx61(PlayGlyph, {}) }),
26469
+ /* @__PURE__ */ jsx61("span", { className: "cc-video-watch-btn__label", children: label }),
26470
+ /* @__PURE__ */ jsxs40("span", { className: "cc-video-watch-btn__mask", "aria-hidden": "true", children: [
26471
+ /* @__PURE__ */ jsx61("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--1" }),
26472
+ /* @__PURE__ */ jsx61("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--2" }),
26473
+ /* @__PURE__ */ jsx61("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--3" }),
26474
+ /* @__PURE__ */ jsx61("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--4" }),
26475
+ /* @__PURE__ */ jsx61("span", { className: "cc-video-watch-btn__blob cc-video-watch-btn__blob--5" })
26380
26476
  ] })
26381
26477
  ] }),
26382
- /* @__PURE__ */ jsx62("span", { className: "cc-video-watch-btn__glow", "aria-hidden": "true" })
26478
+ /* @__PURE__ */ jsx61("span", { className: "cc-video-watch-btn__glow", "aria-hidden": "true" })
26383
26479
  ]
26384
26480
  }
26385
26481
  );
@@ -26388,13 +26484,13 @@ var VideoWatchButton = React35.forwardRef(
26388
26484
  VideoWatchButton.displayName = "VideoWatchButton";
26389
26485
 
26390
26486
  // src/components/cupcode/TooltipCupcode.tsx
26391
- import * as React36 from "react";
26487
+ import * as React35 from "react";
26392
26488
  import * as TooltipPrimitive2 from "@radix-ui/react-tooltip";
26393
- import { jsx as jsx63 } from "react/jsx-runtime";
26489
+ import { jsx as jsx62 } from "react/jsx-runtime";
26394
26490
  var TooltipProvider2 = TooltipPrimitive2.Provider;
26395
26491
  var TooltipCupcode = TooltipPrimitive2.Root;
26396
26492
  var TooltipTrigger2 = TooltipPrimitive2.Trigger;
26397
- var TooltipContent2 = React36.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx63(
26493
+ var TooltipContent2 = React35.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx62(
26398
26494
  TooltipPrimitive2.Content,
26399
26495
  {
26400
26496
  ref,
@@ -26415,14 +26511,14 @@ var TooltipContent2 = React36.forwardRef(({ className, sideOffset = 4, ...props
26415
26511
  TooltipContent2.displayName = TooltipPrimitive2.Content.displayName;
26416
26512
 
26417
26513
  // src/components/ui/accordion.tsx
26418
- import * as React37 from "react";
26514
+ import * as React36 from "react";
26419
26515
  import * as AccordionPrimitive2 from "@radix-ui/react-accordion";
26420
26516
  import { ChevronDown as ChevronDown6 } from "lucide-react";
26421
- import { jsx as jsx64, jsxs as jsxs42 } from "react/jsx-runtime";
26517
+ import { jsx as jsx63, jsxs as jsxs41 } from "react/jsx-runtime";
26422
26518
  var Accordion = AccordionPrimitive2.Root;
26423
- var AccordionItem2 = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx64(AccordionPrimitive2.Item, { ref, className: cn("border-b", className), ...props }));
26519
+ var AccordionItem2 = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx63(AccordionPrimitive2.Item, { ref, className: cn("border-b", className), ...props }));
26424
26520
  AccordionItem2.displayName = "AccordionItem";
26425
- var AccordionTrigger2 = React37.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx64(AccordionPrimitive2.Header, { className: "flex", children: /* @__PURE__ */ jsxs42(
26521
+ var AccordionTrigger2 = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx63(AccordionPrimitive2.Header, { className: "flex", children: /* @__PURE__ */ jsxs41(
26426
26522
  AccordionPrimitive2.Trigger,
26427
26523
  {
26428
26524
  ref,
@@ -26433,26 +26529,26 @@ var AccordionTrigger2 = React37.forwardRef(({ className, children, ...props }, r
26433
26529
  ...props,
26434
26530
  children: [
26435
26531
  children,
26436
- /* @__PURE__ */ jsx64(ChevronDown6, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })
26532
+ /* @__PURE__ */ jsx63(ChevronDown6, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })
26437
26533
  ]
26438
26534
  }
26439
26535
  ) }));
26440
26536
  AccordionTrigger2.displayName = AccordionPrimitive2.Trigger.displayName;
26441
- var AccordionContent2 = React37.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx64(
26537
+ var AccordionContent2 = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx63(
26442
26538
  AccordionPrimitive2.Content,
26443
26539
  {
26444
26540
  ref,
26445
26541
  className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
26446
26542
  ...props,
26447
- children: /* @__PURE__ */ jsx64("div", { className: cn("pb-4 pt-0", className), children })
26543
+ children: /* @__PURE__ */ jsx63("div", { className: cn("pb-4 pt-0", className), children })
26448
26544
  }
26449
26545
  ));
26450
26546
  AccordionContent2.displayName = AccordionPrimitive2.Content.displayName;
26451
26547
 
26452
26548
  // src/components/ui/alert.tsx
26453
- import * as React38 from "react";
26549
+ import * as React37 from "react";
26454
26550
  import { cva as cva3 } from "class-variance-authority";
26455
- import { jsx as jsx65 } from "react/jsx-runtime";
26551
+ import { jsx as jsx64 } from "react/jsx-runtime";
26456
26552
  var alertVariants = cva3(
26457
26553
  "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",
26458
26554
  {
@@ -26467,14 +26563,14 @@ var alertVariants = cva3(
26467
26563
  }
26468
26564
  }
26469
26565
  );
26470
- var Alert = React38.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx65("div", { ref, role: "alert", className: cn(alertVariants({ variant }), className), ...props }));
26566
+ var Alert = React37.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx64("div", { ref, role: "alert", className: cn(alertVariants({ variant }), className), ...props }));
26471
26567
  Alert.displayName = "Alert";
26472
- var AlertTitle = React38.forwardRef(
26473
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx65("h5", { ref, className: cn("mb-1 font-medium leading-none tracking-tight", className), ...props })
26568
+ var AlertTitle = React37.forwardRef(
26569
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx64("h5", { ref, className: cn("mb-1 font-medium leading-none tracking-tight", className), ...props })
26474
26570
  );
26475
26571
  AlertTitle.displayName = "AlertTitle";
26476
- var AlertDescription = React38.forwardRef(
26477
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx65("div", { ref, className: cn("text-sm [&_p]:leading-relaxed", className), ...props })
26572
+ var AlertDescription = React37.forwardRef(
26573
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx64("div", { ref, className: cn("text-sm [&_p]:leading-relaxed", className), ...props })
26478
26574
  );
26479
26575
  AlertDescription.displayName = "AlertDescription";
26480
26576
 
@@ -26483,14 +26579,14 @@ import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
26483
26579
  var AspectRatio = AspectRatioPrimitive.Root;
26484
26580
 
26485
26581
  // src/components/ui/breadcrumb.tsx
26486
- import * as React39 from "react";
26582
+ import * as React38 from "react";
26487
26583
  import { Slot as Slot2 } from "@radix-ui/react-slot";
26488
26584
  import { ChevronRight as ChevronRight3, MoreHorizontal } from "lucide-react";
26489
- import { jsx as jsx66, jsxs as jsxs43 } from "react/jsx-runtime";
26490
- var Breadcrumb = React39.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx66("nav", { ref, "aria-label": "breadcrumb", ...props }));
26585
+ import { jsx as jsx65, jsxs as jsxs42 } from "react/jsx-runtime";
26586
+ var Breadcrumb = React38.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx65("nav", { ref, "aria-label": "breadcrumb", ...props }));
26491
26587
  Breadcrumb.displayName = "Breadcrumb";
26492
- var BreadcrumbList = React39.forwardRef(
26493
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx66(
26588
+ var BreadcrumbList = React38.forwardRef(
26589
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx65(
26494
26590
  "ol",
26495
26591
  {
26496
26592
  ref,
@@ -26503,17 +26599,17 @@ var BreadcrumbList = React39.forwardRef(
26503
26599
  )
26504
26600
  );
26505
26601
  BreadcrumbList.displayName = "BreadcrumbList";
26506
- var BreadcrumbItem = React39.forwardRef(
26507
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx66("li", { ref, className: cn("inline-flex items-center gap-1.5", className), ...props })
26602
+ var BreadcrumbItem = React38.forwardRef(
26603
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx65("li", { ref, className: cn("inline-flex items-center gap-1.5", className), ...props })
26508
26604
  );
26509
26605
  BreadcrumbItem.displayName = "BreadcrumbItem";
26510
- var BreadcrumbLink = React39.forwardRef(({ asChild, className, ...props }, ref) => {
26606
+ var BreadcrumbLink = React38.forwardRef(({ asChild, className, ...props }, ref) => {
26511
26607
  const Comp = asChild ? Slot2 : "a";
26512
- return /* @__PURE__ */ jsx66(Comp, { ref, className: cn("transition-colors hover:text-foreground", className), ...props });
26608
+ return /* @__PURE__ */ jsx65(Comp, { ref, className: cn("transition-colors hover:text-foreground", className), ...props });
26513
26609
  });
26514
26610
  BreadcrumbLink.displayName = "BreadcrumbLink";
26515
- var BreadcrumbPage = React39.forwardRef(
26516
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx66(
26611
+ var BreadcrumbPage = React38.forwardRef(
26612
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx65(
26517
26613
  "span",
26518
26614
  {
26519
26615
  ref,
@@ -26526,9 +26622,9 @@ var BreadcrumbPage = React39.forwardRef(
26526
26622
  )
26527
26623
  );
26528
26624
  BreadcrumbPage.displayName = "BreadcrumbPage";
26529
- var BreadcrumbSeparator = ({ children, className, ...props }) => /* @__PURE__ */ jsx66("li", { role: "presentation", "aria-hidden": "true", className: cn("[&>svg]:size-3.5", className), ...props, children: children != null ? children : /* @__PURE__ */ jsx66(ChevronRight3, {}) });
26625
+ var BreadcrumbSeparator = ({ children, className, ...props }) => /* @__PURE__ */ jsx65("li", { role: "presentation", "aria-hidden": "true", className: cn("[&>svg]:size-3.5", className), ...props, children: children != null ? children : /* @__PURE__ */ jsx65(ChevronRight3, {}) });
26530
26626
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
26531
- var BreadcrumbEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs43(
26627
+ var BreadcrumbEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs42(
26532
26628
  "span",
26533
26629
  {
26534
26630
  role: "presentation",
@@ -26536,8 +26632,8 @@ var BreadcrumbEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs43(
26536
26632
  className: cn("flex h-9 w-9 items-center justify-center", className),
26537
26633
  ...props,
26538
26634
  children: [
26539
- /* @__PURE__ */ jsx66(MoreHorizontal, { className: "h-4 w-4" }),
26540
- /* @__PURE__ */ jsx66("span", { className: "sr-only", children: "More" })
26635
+ /* @__PURE__ */ jsx65(MoreHorizontal, { className: "h-4 w-4" }),
26636
+ /* @__PURE__ */ jsx65("span", { className: "sr-only", children: "More" })
26541
26637
  ]
26542
26638
  }
26543
26639
  );
@@ -26546,9 +26642,9 @@ BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
26546
26642
  // src/components/ui/calendar.tsx
26547
26643
  import { ChevronLeft, ChevronRight as ChevronRight4 } from "lucide-react";
26548
26644
  import { DayPicker } from "react-day-picker";
26549
- import { jsx as jsx67 } from "react/jsx-runtime";
26645
+ import { jsx as jsx66 } from "react/jsx-runtime";
26550
26646
  function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
26551
- return /* @__PURE__ */ jsx67(
26647
+ return /* @__PURE__ */ jsx66(
26552
26648
  DayPicker,
26553
26649
  {
26554
26650
  showOutsideDays,
@@ -26583,9 +26679,9 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
26583
26679
  components: {
26584
26680
  Chevron: ({ orientation, className: className2, ...chevronProps }) => {
26585
26681
  if (orientation === "left") {
26586
- return /* @__PURE__ */ jsx67(ChevronLeft, { className: cn("h-4 w-4", className2), ...chevronProps });
26682
+ return /* @__PURE__ */ jsx66(ChevronLeft, { className: cn("h-4 w-4", className2), ...chevronProps });
26587
26683
  }
26588
- return /* @__PURE__ */ jsx67(ChevronRight4, { className: cn("h-4 w-4", className2), ...chevronProps });
26684
+ return /* @__PURE__ */ jsx66(ChevronRight4, { className: cn("h-4 w-4", className2), ...chevronProps });
26589
26685
  }
26590
26686
  },
26591
26687
  ...props
@@ -26595,45 +26691,45 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
26595
26691
  Calendar.displayName = "Calendar";
26596
26692
 
26597
26693
  // src/components/ui/card.tsx
26598
- import * as React40 from "react";
26599
- import { jsx as jsx68 } from "react/jsx-runtime";
26600
- var Card = React40.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx68("div", { ref, className: cn("rounded-lg border bg-card text-card-foreground shadow-sm", className), ...props }));
26694
+ import * as React39 from "react";
26695
+ import { jsx as jsx67 } from "react/jsx-runtime";
26696
+ var Card = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx67("div", { ref, className: cn("rounded-lg border bg-card text-card-foreground shadow-sm", className), ...props }));
26601
26697
  Card.displayName = "Card";
26602
- var CardHeader = React40.forwardRef(
26603
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx68("div", { ref, className: cn("flex flex-col space-y-1.5 p-6", className), ...props })
26698
+ var CardHeader = React39.forwardRef(
26699
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx67("div", { ref, className: cn("flex flex-col space-y-1.5 p-6", className), ...props })
26604
26700
  );
26605
26701
  CardHeader.displayName = "CardHeader";
26606
- var CardTitle = React40.forwardRef(
26607
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx68("h3", { ref, className: cn("text-2xl font-semibold leading-none tracking-tight", className), ...props })
26702
+ var CardTitle = React39.forwardRef(
26703
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx67("h3", { ref, className: cn("text-2xl font-semibold leading-none tracking-tight", className), ...props })
26608
26704
  );
26609
26705
  CardTitle.displayName = "CardTitle";
26610
- var CardDescription = React40.forwardRef(
26611
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx68("p", { ref, className: cn("text-sm text-muted-foreground", className), ...props })
26706
+ var CardDescription = React39.forwardRef(
26707
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx67("p", { ref, className: cn("text-sm text-muted-foreground", className), ...props })
26612
26708
  );
26613
26709
  CardDescription.displayName = "CardDescription";
26614
- var CardContent = React40.forwardRef(
26615
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx68("div", { ref, className: cn("p-6 pt-0", className), ...props })
26710
+ var CardContent = React39.forwardRef(
26711
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx67("div", { ref, className: cn("p-6 pt-0", className), ...props })
26616
26712
  );
26617
26713
  CardContent.displayName = "CardContent";
26618
- var CardFooter = React40.forwardRef(
26619
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx68("div", { ref, className: cn("flex items-center p-6 pt-0", className), ...props })
26714
+ var CardFooter = React39.forwardRef(
26715
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx67("div", { ref, className: cn("flex items-center p-6 pt-0", className), ...props })
26620
26716
  );
26621
26717
  CardFooter.displayName = "CardFooter";
26622
26718
 
26623
26719
  // src/components/ui/carousel.tsx
26624
- import * as React41 from "react";
26720
+ import * as React40 from "react";
26625
26721
  import useEmblaCarousel from "embla-carousel-react";
26626
26722
  import { ArrowLeft, ArrowRight } from "lucide-react";
26627
- import { jsx as jsx69, jsxs as jsxs44 } from "react/jsx-runtime";
26628
- var CarouselContext = React41.createContext(null);
26723
+ import { jsx as jsx68, jsxs as jsxs43 } from "react/jsx-runtime";
26724
+ var CarouselContext = React40.createContext(null);
26629
26725
  function useCarousel() {
26630
- const context = React41.useContext(CarouselContext);
26726
+ const context = React40.useContext(CarouselContext);
26631
26727
  if (!context) {
26632
26728
  throw new Error("useCarousel must be used within a <Carousel />");
26633
26729
  }
26634
26730
  return context;
26635
26731
  }
26636
- var Carousel = React41.forwardRef(
26732
+ var Carousel = React40.forwardRef(
26637
26733
  ({ orientation = "horizontal", opts, setApi, plugins, className, children, ...props }, ref) => {
26638
26734
  const [carouselRef, api] = useEmblaCarousel(
26639
26735
  {
@@ -26642,22 +26738,22 @@ var Carousel = React41.forwardRef(
26642
26738
  },
26643
26739
  plugins
26644
26740
  );
26645
- const [canScrollPrev, setCanScrollPrev] = React41.useState(false);
26646
- const [canScrollNext, setCanScrollNext] = React41.useState(false);
26647
- const onSelect = React41.useCallback((api2) => {
26741
+ const [canScrollPrev, setCanScrollPrev] = React40.useState(false);
26742
+ const [canScrollNext, setCanScrollNext] = React40.useState(false);
26743
+ const onSelect = React40.useCallback((api2) => {
26648
26744
  if (!api2) {
26649
26745
  return;
26650
26746
  }
26651
26747
  setCanScrollPrev(api2.canScrollPrev());
26652
26748
  setCanScrollNext(api2.canScrollNext());
26653
26749
  }, []);
26654
- const scrollPrev = React41.useCallback(() => {
26750
+ const scrollPrev = React40.useCallback(() => {
26655
26751
  api == null ? void 0 : api.scrollPrev();
26656
26752
  }, [api]);
26657
- const scrollNext = React41.useCallback(() => {
26753
+ const scrollNext = React40.useCallback(() => {
26658
26754
  api == null ? void 0 : api.scrollNext();
26659
26755
  }, [api]);
26660
- const handleKeyDown = React41.useCallback(
26756
+ const handleKeyDown = React40.useCallback(
26661
26757
  (event) => {
26662
26758
  if (event.key === "ArrowLeft") {
26663
26759
  event.preventDefault();
@@ -26669,13 +26765,13 @@ var Carousel = React41.forwardRef(
26669
26765
  },
26670
26766
  [scrollPrev, scrollNext]
26671
26767
  );
26672
- React41.useEffect(() => {
26768
+ React40.useEffect(() => {
26673
26769
  if (!api || !setApi) {
26674
26770
  return;
26675
26771
  }
26676
26772
  setApi(api);
26677
26773
  }, [api, setApi]);
26678
- React41.useEffect(() => {
26774
+ React40.useEffect(() => {
26679
26775
  if (!api) {
26680
26776
  return;
26681
26777
  }
@@ -26686,7 +26782,7 @@ var Carousel = React41.forwardRef(
26686
26782
  api == null ? void 0 : api.off("select", onSelect);
26687
26783
  };
26688
26784
  }, [api, onSelect]);
26689
- return /* @__PURE__ */ jsx69(
26785
+ return /* @__PURE__ */ jsx68(
26690
26786
  CarouselContext.Provider,
26691
26787
  {
26692
26788
  value: {
@@ -26699,7 +26795,7 @@ var Carousel = React41.forwardRef(
26699
26795
  canScrollPrev,
26700
26796
  canScrollNext
26701
26797
  },
26702
- children: /* @__PURE__ */ jsx69(
26798
+ children: /* @__PURE__ */ jsx68(
26703
26799
  "div",
26704
26800
  {
26705
26801
  ref,
@@ -26716,10 +26812,10 @@ var Carousel = React41.forwardRef(
26716
26812
  }
26717
26813
  );
26718
26814
  Carousel.displayName = "Carousel";
26719
- var CarouselContent = React41.forwardRef(
26815
+ var CarouselContent = React40.forwardRef(
26720
26816
  ({ className, ...props }, ref) => {
26721
26817
  const { carouselRef, orientation } = useCarousel();
26722
- return /* @__PURE__ */ jsx69("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ jsx69(
26818
+ return /* @__PURE__ */ jsx68("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ jsx68(
26723
26819
  "div",
26724
26820
  {
26725
26821
  ref,
@@ -26730,10 +26826,10 @@ var CarouselContent = React41.forwardRef(
26730
26826
  }
26731
26827
  );
26732
26828
  CarouselContent.displayName = "CarouselContent";
26733
- var CarouselItem = React41.forwardRef(
26829
+ var CarouselItem = React40.forwardRef(
26734
26830
  ({ className, ...props }, ref) => {
26735
26831
  const { orientation } = useCarousel();
26736
- return /* @__PURE__ */ jsx69(
26832
+ return /* @__PURE__ */ jsx68(
26737
26833
  "div",
26738
26834
  {
26739
26835
  ref,
@@ -26746,10 +26842,10 @@ var CarouselItem = React41.forwardRef(
26746
26842
  }
26747
26843
  );
26748
26844
  CarouselItem.displayName = "CarouselItem";
26749
- var CarouselPrevious = React41.forwardRef(
26845
+ var CarouselPrevious = React40.forwardRef(
26750
26846
  ({ className, variant = "outline", size = "icon", ...props }, ref) => {
26751
26847
  const { orientation, scrollPrev, canScrollPrev } = useCarousel();
26752
- return /* @__PURE__ */ jsxs44(
26848
+ return /* @__PURE__ */ jsxs43(
26753
26849
  Button,
26754
26850
  {
26755
26851
  ref,
@@ -26764,18 +26860,18 @@ var CarouselPrevious = React41.forwardRef(
26764
26860
  onClick: scrollPrev,
26765
26861
  ...props,
26766
26862
  children: [
26767
- /* @__PURE__ */ jsx69(ArrowLeft, { className: "h-4 w-4" }),
26768
- /* @__PURE__ */ jsx69("span", { className: "sr-only", children: "Previous slide" })
26863
+ /* @__PURE__ */ jsx68(ArrowLeft, { className: "h-4 w-4" }),
26864
+ /* @__PURE__ */ jsx68("span", { className: "sr-only", children: "Previous slide" })
26769
26865
  ]
26770
26866
  }
26771
26867
  );
26772
26868
  }
26773
26869
  );
26774
26870
  CarouselPrevious.displayName = "CarouselPrevious";
26775
- var CarouselNext = React41.forwardRef(
26871
+ var CarouselNext = React40.forwardRef(
26776
26872
  ({ className, variant = "outline", size = "icon", ...props }, ref) => {
26777
26873
  const { orientation, scrollNext, canScrollNext } = useCarousel();
26778
- return /* @__PURE__ */ jsxs44(
26874
+ return /* @__PURE__ */ jsxs43(
26779
26875
  Button,
26780
26876
  {
26781
26877
  ref,
@@ -26790,8 +26886,8 @@ var CarouselNext = React41.forwardRef(
26790
26886
  onClick: scrollNext,
26791
26887
  ...props,
26792
26888
  children: [
26793
- /* @__PURE__ */ jsx69(ArrowRight, { className: "h-4 w-4" }),
26794
- /* @__PURE__ */ jsx69("span", { className: "sr-only", children: "Next slide" })
26889
+ /* @__PURE__ */ jsx68(ArrowRight, { className: "h-4 w-4" }),
26890
+ /* @__PURE__ */ jsx68("span", { className: "sr-only", children: "Next slide" })
26795
26891
  ]
26796
26892
  }
26797
26893
  );
@@ -26800,22 +26896,22 @@ var CarouselNext = React41.forwardRef(
26800
26896
  CarouselNext.displayName = "CarouselNext";
26801
26897
 
26802
26898
  // src/components/ui/chart.tsx
26803
- import * as React42 from "react";
26899
+ import * as React41 from "react";
26804
26900
  import * as RechartsPrimitive from "recharts";
26805
- import { Fragment as Fragment6, jsx as jsx70, jsxs as jsxs45 } from "react/jsx-runtime";
26901
+ import { Fragment as Fragment6, jsx as jsx69, jsxs as jsxs44 } from "react/jsx-runtime";
26806
26902
  var THEMES = { light: "", dark: ".dark" };
26807
- var ChartContext = React42.createContext(null);
26903
+ var ChartContext = React41.createContext(null);
26808
26904
  function useChart() {
26809
- const context = React42.useContext(ChartContext);
26905
+ const context = React41.useContext(ChartContext);
26810
26906
  if (!context) {
26811
26907
  throw new Error("useChart must be used within a <ChartContainer />");
26812
26908
  }
26813
26909
  return context;
26814
26910
  }
26815
- var ChartContainer = React42.forwardRef(({ id, className, children, config, ...props }, ref) => {
26816
- const uniqueId = React42.useId();
26911
+ var ChartContainer = React41.forwardRef(({ id, className, children, config, ...props }, ref) => {
26912
+ const uniqueId = React41.useId();
26817
26913
  const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
26818
- return /* @__PURE__ */ jsx70(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ jsxs45(
26914
+ return /* @__PURE__ */ jsx69(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ jsxs44(
26819
26915
  "div",
26820
26916
  {
26821
26917
  "data-chart": chartId,
@@ -26826,8 +26922,8 @@ var ChartContainer = React42.forwardRef(({ id, className, children, config, ...p
26826
26922
  ),
26827
26923
  ...props,
26828
26924
  children: [
26829
- /* @__PURE__ */ jsx70(ChartStyle, { id: chartId, config }),
26830
- /* @__PURE__ */ jsx70(RechartsPrimitive.ResponsiveContainer, { children })
26925
+ /* @__PURE__ */ jsx69(ChartStyle, { id: chartId, config }),
26926
+ /* @__PURE__ */ jsx69(RechartsPrimitive.ResponsiveContainer, { children })
26831
26927
  ]
26832
26928
  }
26833
26929
  ) });
@@ -26838,7 +26934,7 @@ var ChartStyle = ({ id, config }) => {
26838
26934
  if (!colorConfig.length) {
26839
26935
  return null;
26840
26936
  }
26841
- return /* @__PURE__ */ jsx70(
26937
+ return /* @__PURE__ */ jsx69(
26842
26938
  "style",
26843
26939
  {
26844
26940
  dangerouslySetInnerHTML: {
@@ -26858,7 +26954,7 @@ ${colorConfig.map(([key, itemConfig]) => {
26858
26954
  );
26859
26955
  };
26860
26956
  var ChartTooltip = RechartsPrimitive.Tooltip;
26861
- var ChartTooltipContent = React42.forwardRef(
26957
+ var ChartTooltipContent = React41.forwardRef(
26862
26958
  ({
26863
26959
  active,
26864
26960
  payload,
@@ -26875,7 +26971,7 @@ var ChartTooltipContent = React42.forwardRef(
26875
26971
  labelKey
26876
26972
  }, ref) => {
26877
26973
  const { config } = useChart();
26878
- const tooltipLabel = React42.useMemo(() => {
26974
+ const tooltipLabel = React41.useMemo(() => {
26879
26975
  var _a78;
26880
26976
  if (hideLabel || !(payload == null ? void 0 : payload.length)) {
26881
26977
  return null;
@@ -26885,18 +26981,18 @@ var ChartTooltipContent = React42.forwardRef(
26885
26981
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
26886
26982
  const value = !labelKey && typeof label === "string" ? ((_a78 = config[label]) == null ? void 0 : _a78.label) || label : itemConfig == null ? void 0 : itemConfig.label;
26887
26983
  if (labelFormatter) {
26888
- return /* @__PURE__ */ jsx70("div", { className: cn("font-medium", labelClassName), children: labelFormatter(value, payload) });
26984
+ return /* @__PURE__ */ jsx69("div", { className: cn("font-medium", labelClassName), children: labelFormatter(value, payload) });
26889
26985
  }
26890
26986
  if (!value) {
26891
26987
  return null;
26892
26988
  }
26893
- return /* @__PURE__ */ jsx70("div", { className: cn("font-medium", labelClassName), children: value });
26989
+ return /* @__PURE__ */ jsx69("div", { className: cn("font-medium", labelClassName), children: value });
26894
26990
  }, [label, labelFormatter, payload, hideLabel, labelClassName, config, labelKey]);
26895
26991
  if (!active || !(payload == null ? void 0 : payload.length)) {
26896
26992
  return null;
26897
26993
  }
26898
26994
  const nestLabel = payload.length === 1 && indicator !== "dot";
26899
- return /* @__PURE__ */ jsxs45(
26995
+ return /* @__PURE__ */ jsxs44(
26900
26996
  "div",
26901
26997
  {
26902
26998
  ref,
@@ -26906,19 +27002,19 @@ var ChartTooltipContent = React42.forwardRef(
26906
27002
  ),
26907
27003
  children: [
26908
27004
  !nestLabel ? tooltipLabel : null,
26909
- /* @__PURE__ */ jsx70("div", { className: "grid gap-1.5", children: payload.map((item, index) => {
27005
+ /* @__PURE__ */ jsx69("div", { className: "grid gap-1.5", children: payload.map((item, index) => {
26910
27006
  const key = `${nameKey || item.name || item.dataKey || "value"}`;
26911
27007
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
26912
27008
  const indicatorColor = color || item.payload.fill || item.color;
26913
- return /* @__PURE__ */ jsx70(
27009
+ return /* @__PURE__ */ jsx69(
26914
27010
  "div",
26915
27011
  {
26916
27012
  className: cn(
26917
27013
  "flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground",
26918
27014
  indicator === "dot" && "items-center"
26919
27015
  ),
26920
- children: formatter && (item == null ? void 0 : item.value) !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ jsxs45(Fragment6, { children: [
26921
- (itemConfig == null ? void 0 : itemConfig.icon) ? /* @__PURE__ */ jsx70(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ jsx70(
27016
+ children: formatter && (item == null ? void 0 : item.value) !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ jsxs44(Fragment6, { children: [
27017
+ (itemConfig == null ? void 0 : itemConfig.icon) ? /* @__PURE__ */ jsx69(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ jsx69(
26922
27018
  "div",
26923
27019
  {
26924
27020
  className: cn("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]", {
@@ -26933,7 +27029,7 @@ var ChartTooltipContent = React42.forwardRef(
26933
27029
  }
26934
27030
  }
26935
27031
  ),
26936
- /* @__PURE__ */ jsxs45(
27032
+ /* @__PURE__ */ jsxs44(
26937
27033
  "div",
26938
27034
  {
26939
27035
  className: cn(
@@ -26941,11 +27037,11 @@ var ChartTooltipContent = React42.forwardRef(
26941
27037
  nestLabel ? "items-end" : "items-center"
26942
27038
  ),
26943
27039
  children: [
26944
- /* @__PURE__ */ jsxs45("div", { className: "grid gap-1.5", children: [
27040
+ /* @__PURE__ */ jsxs44("div", { className: "grid gap-1.5", children: [
26945
27041
  nestLabel ? tooltipLabel : null,
26946
- /* @__PURE__ */ jsx70("span", { className: "text-muted-foreground", children: (itemConfig == null ? void 0 : itemConfig.label) || item.name })
27042
+ /* @__PURE__ */ jsx69("span", { className: "text-muted-foreground", children: (itemConfig == null ? void 0 : itemConfig.label) || item.name })
26947
27043
  ] }),
26948
- item.value && /* @__PURE__ */ jsx70("span", { className: "font-mono font-medium tabular-nums text-foreground", children: item.value.toLocaleString() })
27044
+ item.value && /* @__PURE__ */ jsx69("span", { className: "font-mono font-medium tabular-nums text-foreground", children: item.value.toLocaleString() })
26949
27045
  ]
26950
27046
  }
26951
27047
  )
@@ -26961,12 +27057,12 @@ var ChartTooltipContent = React42.forwardRef(
26961
27057
  );
26962
27058
  ChartTooltipContent.displayName = "ChartTooltip";
26963
27059
  var ChartLegend = RechartsPrimitive.Legend;
26964
- var ChartLegendContent = React42.forwardRef(({ className, hideIcon = false, payload, verticalAlign = "bottom", nameKey }, ref) => {
27060
+ var ChartLegendContent = React41.forwardRef(({ className, hideIcon = false, payload, verticalAlign = "bottom", nameKey }, ref) => {
26965
27061
  const { config } = useChart();
26966
27062
  if (!(payload == null ? void 0 : payload.length)) {
26967
27063
  return null;
26968
27064
  }
26969
- return /* @__PURE__ */ jsx70(
27065
+ return /* @__PURE__ */ jsx69(
26970
27066
  "div",
26971
27067
  {
26972
27068
  ref,
@@ -26974,12 +27070,12 @@ var ChartLegendContent = React42.forwardRef(({ className, hideIcon = false, payl
26974
27070
  children: payload.map((item) => {
26975
27071
  const key = `${nameKey || item.dataKey || "value"}`;
26976
27072
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
26977
- return /* @__PURE__ */ jsxs45(
27073
+ return /* @__PURE__ */ jsxs44(
26978
27074
  "div",
26979
27075
  {
26980
27076
  className: cn("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),
26981
27077
  children: [
26982
- (itemConfig == null ? void 0 : itemConfig.icon) && !hideIcon ? /* @__PURE__ */ jsx70(itemConfig.icon, {}) : /* @__PURE__ */ jsx70(
27078
+ (itemConfig == null ? void 0 : itemConfig.icon) && !hideIcon ? /* @__PURE__ */ jsx69(itemConfig.icon, {}) : /* @__PURE__ */ jsx69(
26983
27079
  "div",
26984
27080
  {
26985
27081
  className: "h-2 w-2 shrink-0 rounded-[2px]",
@@ -27013,11 +27109,11 @@ function getPayloadConfigFromPayload(config, payload, key) {
27013
27109
  }
27014
27110
 
27015
27111
  // src/components/ui/checkbox.tsx
27016
- import * as React43 from "react";
27112
+ import * as React42 from "react";
27017
27113
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
27018
27114
  import { Check as Check6 } from "lucide-react";
27019
- import { jsx as jsx71 } from "react/jsx-runtime";
27020
- var Checkbox = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx71(
27115
+ import { jsx as jsx70 } from "react/jsx-runtime";
27116
+ var Checkbox = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx70(
27021
27117
  CheckboxPrimitive.Root,
27022
27118
  {
27023
27119
  ref,
@@ -27026,7 +27122,7 @@ var Checkbox = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__
27026
27122
  className
27027
27123
  ),
27028
27124
  ...props,
27029
- children: /* @__PURE__ */ jsx71(CheckboxPrimitive.Indicator, { className: cn("flex items-center justify-center text-current"), children: /* @__PURE__ */ jsx71(Check6, { className: "h-4 w-4" }) })
27125
+ children: /* @__PURE__ */ jsx70(CheckboxPrimitive.Indicator, { className: cn("flex items-center justify-center text-current"), children: /* @__PURE__ */ jsx70(Check6, { className: "h-4 w-4" }) })
27030
27126
  }
27031
27127
  ));
27032
27128
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
@@ -27038,11 +27134,11 @@ var CollapsibleTrigger2 = CollapsiblePrimitive.CollapsibleTrigger;
27038
27134
  var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
27039
27135
 
27040
27136
  // src/components/ui/command.tsx
27041
- import * as React44 from "react";
27137
+ import * as React43 from "react";
27042
27138
  import { Command as CommandPrimitive } from "cmdk";
27043
27139
  import { Search as Search3 } from "lucide-react";
27044
- import { jsx as jsx72, jsxs as jsxs46 } from "react/jsx-runtime";
27045
- var Command = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx72(
27140
+ import { jsx as jsx71, jsxs as jsxs45 } from "react/jsx-runtime";
27141
+ var Command = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx71(
27046
27142
  CommandPrimitive,
27047
27143
  {
27048
27144
  ref,
@@ -27055,11 +27151,11 @@ var Command = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__
27055
27151
  ));
27056
27152
  Command.displayName = CommandPrimitive.displayName;
27057
27153
  var CommandDialog = ({ children, ...props }) => {
27058
- return /* @__PURE__ */ jsx72(Dialog, { ...props, children: /* @__PURE__ */ jsx72(DialogContent, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ jsx72(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 }) }) });
27154
+ return /* @__PURE__ */ jsx71(Dialog, { ...props, children: /* @__PURE__ */ jsx71(DialogContent, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ jsx71(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 }) }) });
27059
27155
  };
27060
- var CommandInput = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs46("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
27061
- /* @__PURE__ */ jsx72(Search3, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
27062
- /* @__PURE__ */ jsx72(
27156
+ var CommandInput = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs45("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
27157
+ /* @__PURE__ */ jsx71(Search3, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
27158
+ /* @__PURE__ */ jsx71(
27063
27159
  CommandPrimitive.Input,
27064
27160
  {
27065
27161
  ref,
@@ -27072,7 +27168,7 @@ var CommandInput = React44.forwardRef(({ className, ...props }, ref) => /* @__PU
27072
27168
  )
27073
27169
  ] }));
27074
27170
  CommandInput.displayName = CommandPrimitive.Input.displayName;
27075
- var CommandList = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx72(
27171
+ var CommandList = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx71(
27076
27172
  CommandPrimitive.List,
27077
27173
  {
27078
27174
  ref,
@@ -27081,9 +27177,9 @@ var CommandList = React44.forwardRef(({ className, ...props }, ref) => /* @__PUR
27081
27177
  }
27082
27178
  ));
27083
27179
  CommandList.displayName = CommandPrimitive.List.displayName;
27084
- var CommandEmpty = React44.forwardRef((props, ref) => /* @__PURE__ */ jsx72(CommandPrimitive.Empty, { ref, className: "py-6 text-center text-sm", ...props }));
27180
+ var CommandEmpty = React43.forwardRef((props, ref) => /* @__PURE__ */ jsx71(CommandPrimitive.Empty, { ref, className: "py-6 text-center text-sm", ...props }));
27085
27181
  CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
27086
- var CommandGroup = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx72(
27182
+ var CommandGroup = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx71(
27087
27183
  CommandPrimitive.Group,
27088
27184
  {
27089
27185
  ref,
@@ -27095,9 +27191,9 @@ var CommandGroup = React44.forwardRef(({ className, ...props }, ref) => /* @__PU
27095
27191
  }
27096
27192
  ));
27097
27193
  CommandGroup.displayName = CommandPrimitive.Group.displayName;
27098
- var CommandSeparator = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx72(CommandPrimitive.Separator, { ref, className: cn("-mx-1 h-px bg-border", className), ...props }));
27194
+ var CommandSeparator = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx71(CommandPrimitive.Separator, { ref, className: cn("-mx-1 h-px bg-border", className), ...props }));
27099
27195
  CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
27100
- var CommandItem = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx72(
27196
+ var CommandItem = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx71(
27101
27197
  CommandPrimitive.Item,
27102
27198
  {
27103
27199
  ref,
@@ -27110,22 +27206,22 @@ var CommandItem = React44.forwardRef(({ className, ...props }, ref) => /* @__PUR
27110
27206
  ));
27111
27207
  CommandItem.displayName = CommandPrimitive.Item.displayName;
27112
27208
  var CommandShortcut = ({ className, ...props }) => {
27113
- return /* @__PURE__ */ jsx72("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
27209
+ return /* @__PURE__ */ jsx71("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
27114
27210
  };
27115
27211
  CommandShortcut.displayName = "CommandShortcut";
27116
27212
 
27117
27213
  // src/components/ui/context-menu.tsx
27118
- import * as React45 from "react";
27214
+ import * as React44 from "react";
27119
27215
  import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
27120
27216
  import { Check as Check7, ChevronRight as ChevronRight5, Circle as Circle3 } from "lucide-react";
27121
- import { jsx as jsx73, jsxs as jsxs47 } from "react/jsx-runtime";
27217
+ import { jsx as jsx72, jsxs as jsxs46 } from "react/jsx-runtime";
27122
27218
  var ContextMenu = ContextMenuPrimitive.Root;
27123
27219
  var ContextMenuTrigger = ContextMenuPrimitive.Trigger;
27124
27220
  var ContextMenuGroup = ContextMenuPrimitive.Group;
27125
27221
  var ContextMenuPortal = ContextMenuPrimitive.Portal;
27126
27222
  var ContextMenuSub = ContextMenuPrimitive.Sub;
27127
27223
  var ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;
27128
- var ContextMenuSubTrigger = React45.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs47(
27224
+ var ContextMenuSubTrigger = React44.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs46(
27129
27225
  ContextMenuPrimitive.SubTrigger,
27130
27226
  {
27131
27227
  ref,
@@ -27137,12 +27233,12 @@ var ContextMenuSubTrigger = React45.forwardRef(({ className, inset, children, ..
27137
27233
  ...props,
27138
27234
  children: [
27139
27235
  children,
27140
- /* @__PURE__ */ jsx73(ChevronRight5, { className: "ml-auto h-4 w-4" })
27236
+ /* @__PURE__ */ jsx72(ChevronRight5, { className: "ml-auto h-4 w-4" })
27141
27237
  ]
27142
27238
  }
27143
27239
  ));
27144
27240
  ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;
27145
- var ContextMenuSubContent = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx73(
27241
+ var ContextMenuSubContent = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx72(
27146
27242
  ContextMenuPrimitive.SubContent,
27147
27243
  {
27148
27244
  ref,
@@ -27154,7 +27250,7 @@ var ContextMenuSubContent = React45.forwardRef(({ className, ...props }, ref) =>
27154
27250
  }
27155
27251
  ));
27156
27252
  ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;
27157
- var ContextMenuContent = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx73(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx73(
27253
+ var ContextMenuContent = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx72(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx72(
27158
27254
  ContextMenuPrimitive.Content,
27159
27255
  {
27160
27256
  ref,
@@ -27166,7 +27262,7 @@ var ContextMenuContent = React45.forwardRef(({ className, ...props }, ref) => /*
27166
27262
  }
27167
27263
  ) }));
27168
27264
  ContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;
27169
- var ContextMenuItem = React45.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx73(
27265
+ var ContextMenuItem = React44.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx72(
27170
27266
  ContextMenuPrimitive.Item,
27171
27267
  {
27172
27268
  ref,
@@ -27179,7 +27275,7 @@ var ContextMenuItem = React45.forwardRef(({ className, inset, ...props }, ref) =
27179
27275
  }
27180
27276
  ));
27181
27277
  ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;
27182
- var ContextMenuCheckboxItem = React45.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs47(
27278
+ var ContextMenuCheckboxItem = React44.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs46(
27183
27279
  ContextMenuPrimitive.CheckboxItem,
27184
27280
  {
27185
27281
  ref,
@@ -27190,13 +27286,13 @@ var ContextMenuCheckboxItem = React45.forwardRef(({ className, children, checked
27190
27286
  checked,
27191
27287
  ...props,
27192
27288
  children: [
27193
- /* @__PURE__ */ jsx73("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx73(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx73(Check7, { className: "h-4 w-4" }) }) }),
27289
+ /* @__PURE__ */ jsx72("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx72(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx72(Check7, { className: "h-4 w-4" }) }) }),
27194
27290
  children
27195
27291
  ]
27196
27292
  }
27197
27293
  ));
27198
27294
  ContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;
27199
- var ContextMenuRadioItem = React45.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs47(
27295
+ var ContextMenuRadioItem = React44.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs46(
27200
27296
  ContextMenuPrimitive.RadioItem,
27201
27297
  {
27202
27298
  ref,
@@ -27206,13 +27302,13 @@ var ContextMenuRadioItem = React45.forwardRef(({ className, children, ...props }
27206
27302
  ),
27207
27303
  ...props,
27208
27304
  children: [
27209
- /* @__PURE__ */ jsx73("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx73(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx73(Circle3, { className: "h-2 w-2 fill-current" }) }) }),
27305
+ /* @__PURE__ */ jsx72("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx72(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx72(Circle3, { className: "h-2 w-2 fill-current" }) }) }),
27210
27306
  children
27211
27307
  ]
27212
27308
  }
27213
27309
  ));
27214
27310
  ContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;
27215
- var ContextMenuLabel = React45.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx73(
27311
+ var ContextMenuLabel = React44.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx72(
27216
27312
  ContextMenuPrimitive.Label,
27217
27313
  {
27218
27314
  ref,
@@ -27221,39 +27317,39 @@ var ContextMenuLabel = React45.forwardRef(({ className, inset, ...props }, ref)
27221
27317
  }
27222
27318
  ));
27223
27319
  ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;
27224
- var ContextMenuSeparator = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx73(ContextMenuPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-border", className), ...props }));
27320
+ var ContextMenuSeparator = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx72(ContextMenuPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-border", className), ...props }));
27225
27321
  ContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;
27226
27322
  var ContextMenuShortcut = ({ className, ...props }) => {
27227
- return /* @__PURE__ */ jsx73("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
27323
+ return /* @__PURE__ */ jsx72("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
27228
27324
  };
27229
27325
  ContextMenuShortcut.displayName = "ContextMenuShortcut";
27230
27326
 
27231
27327
  // src/components/ui/form.tsx
27232
- import * as React47 from "react";
27328
+ import * as React46 from "react";
27233
27329
  import { Slot as Slot3 } from "@radix-ui/react-slot";
27234
27330
  import { Controller, FormProvider, useFormContext } from "react-hook-form";
27235
27331
 
27236
27332
  // src/components/ui/label.tsx
27237
- import * as React46 from "react";
27333
+ import * as React45 from "react";
27238
27334
  import * as LabelPrimitive from "@radix-ui/react-label";
27239
27335
  import { cva as cva4 } from "class-variance-authority";
27240
- import { jsx as jsx74 } from "react/jsx-runtime";
27336
+ import { jsx as jsx73 } from "react/jsx-runtime";
27241
27337
  var labelVariants = cva4("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");
27242
- var Label4 = React46.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx74(LabelPrimitive.Root, { ref, className: cn(labelVariants(), className), ...props }));
27338
+ var Label4 = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx73(LabelPrimitive.Root, { ref, className: cn(labelVariants(), className), ...props }));
27243
27339
  Label4.displayName = LabelPrimitive.Root.displayName;
27244
27340
 
27245
27341
  // src/components/ui/form.tsx
27246
- import { jsx as jsx75 } from "react/jsx-runtime";
27342
+ import { jsx as jsx74 } from "react/jsx-runtime";
27247
27343
  var Form = FormProvider;
27248
- var FormFieldContext = React47.createContext({});
27344
+ var FormFieldContext = React46.createContext({});
27249
27345
  var FormField = ({
27250
27346
  ...props
27251
27347
  }) => {
27252
- return /* @__PURE__ */ jsx75(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx75(Controller, { ...props }) });
27348
+ return /* @__PURE__ */ jsx74(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx74(Controller, { ...props }) });
27253
27349
  };
27254
27350
  var useFormField = () => {
27255
- const fieldContext = React47.useContext(FormFieldContext);
27256
- const itemContext = React47.useContext(FormItemContext);
27351
+ const fieldContext = React46.useContext(FormFieldContext);
27352
+ const itemContext = React46.useContext(FormItemContext);
27257
27353
  const { getFieldState, formState } = useFormContext();
27258
27354
  const fieldState = getFieldState(fieldContext.name, formState);
27259
27355
  if (!fieldContext) {
@@ -27269,23 +27365,23 @@ var useFormField = () => {
27269
27365
  ...fieldState
27270
27366
  };
27271
27367
  };
27272
- var FormItemContext = React47.createContext({});
27273
- var FormItem = React47.forwardRef(
27368
+ var FormItemContext = React46.createContext({});
27369
+ var FormItem = React46.forwardRef(
27274
27370
  ({ className, ...props }, ref) => {
27275
- const id = React47.useId();
27276
- return /* @__PURE__ */ jsx75(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx75("div", { ref, className: cn("space-y-2", className), ...props }) });
27371
+ const id = React46.useId();
27372
+ return /* @__PURE__ */ jsx74(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx74("div", { ref, className: cn("space-y-2", className), ...props }) });
27277
27373
  }
27278
27374
  );
27279
27375
  FormItem.displayName = "FormItem";
27280
- var FormLabel = React47.forwardRef(({ className, ...props }, ref) => {
27376
+ var FormLabel = React46.forwardRef(({ className, ...props }, ref) => {
27281
27377
  const { error, formItemId } = useFormField();
27282
- return /* @__PURE__ */ jsx75(Label4, { ref, className: cn(error && "text-destructive", className), htmlFor: formItemId, ...props });
27378
+ return /* @__PURE__ */ jsx74(Label4, { ref, className: cn(error && "text-destructive", className), htmlFor: formItemId, ...props });
27283
27379
  });
27284
27380
  FormLabel.displayName = "FormLabel";
27285
- var FormControl = React47.forwardRef(
27381
+ var FormControl = React46.forwardRef(
27286
27382
  ({ ...props }, ref) => {
27287
27383
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
27288
- return /* @__PURE__ */ jsx75(
27384
+ return /* @__PURE__ */ jsx74(
27289
27385
  Slot3,
27290
27386
  {
27291
27387
  ref,
@@ -27298,42 +27394,42 @@ var FormControl = React47.forwardRef(
27298
27394
  }
27299
27395
  );
27300
27396
  FormControl.displayName = "FormControl";
27301
- var FormDescription = React47.forwardRef(
27397
+ var FormDescription = React46.forwardRef(
27302
27398
  ({ className, ...props }, ref) => {
27303
27399
  const { formDescriptionId } = useFormField();
27304
- return /* @__PURE__ */ jsx75("p", { ref, id: formDescriptionId, className: cn("text-sm text-muted-foreground", className), ...props });
27400
+ return /* @__PURE__ */ jsx74("p", { ref, id: formDescriptionId, className: cn("text-sm text-muted-foreground", className), ...props });
27305
27401
  }
27306
27402
  );
27307
27403
  FormDescription.displayName = "FormDescription";
27308
- var FormMessage = React47.forwardRef(
27404
+ var FormMessage = React46.forwardRef(
27309
27405
  ({ className, children, ...props }, ref) => {
27310
27406
  const { error, formMessageId } = useFormField();
27311
27407
  const body = error ? String(error == null ? void 0 : error.message) : children;
27312
27408
  if (!body) {
27313
27409
  return null;
27314
27410
  }
27315
- return /* @__PURE__ */ jsx75("p", { ref, id: formMessageId, className: cn("text-sm font-medium text-destructive", className), ...props, children: body });
27411
+ return /* @__PURE__ */ jsx74("p", { ref, id: formMessageId, className: cn("text-sm font-medium text-destructive", className), ...props, children: body });
27316
27412
  }
27317
27413
  );
27318
27414
  FormMessage.displayName = "FormMessage";
27319
27415
 
27320
27416
  // src/components/ui/glass-card.tsx
27321
- import * as React48 from "react";
27322
- import { jsx as jsx76 } from "react/jsx-runtime";
27323
- var GlassCard = React48.forwardRef(
27417
+ import * as React47 from "react";
27418
+ import { jsx as jsx75 } from "react/jsx-runtime";
27419
+ var GlassCard = React47.forwardRef(
27324
27420
  ({ className, ...props }, ref) => {
27325
- return /* @__PURE__ */ jsx76("div", { ref, className: cn("glass-card", className), ...props });
27421
+ return /* @__PURE__ */ jsx75("div", { ref, className: cn("glass-card", className), ...props });
27326
27422
  }
27327
27423
  );
27328
27424
  GlassCard.displayName = "GlassCard";
27329
27425
 
27330
27426
  // src/components/ui/hover-card.tsx
27331
- import * as React49 from "react";
27427
+ import * as React48 from "react";
27332
27428
  import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
27333
- import { jsx as jsx77 } from "react/jsx-runtime";
27429
+ import { jsx as jsx76 } from "react/jsx-runtime";
27334
27430
  var HoverCard = HoverCardPrimitive.Root;
27335
27431
  var HoverCardTrigger = HoverCardPrimitive.Trigger;
27336
- var HoverCardContent = React49.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx77(
27432
+ var HoverCardContent = React48.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx76(
27337
27433
  HoverCardPrimitive.Content,
27338
27434
  {
27339
27435
  ref,
@@ -27349,12 +27445,12 @@ var HoverCardContent = React49.forwardRef(({ className, align = "center", sideOf
27349
27445
  HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;
27350
27446
 
27351
27447
  // src/components/ui/input-otp.tsx
27352
- import * as React50 from "react";
27448
+ import * as React49 from "react";
27353
27449
  import { OTPInput, OTPInputContext } from "input-otp";
27354
27450
  import { Dot } from "lucide-react";
27355
- import { jsx as jsx78, jsxs as jsxs48 } from "react/jsx-runtime";
27356
- var InputOTP = React50.forwardRef(
27357
- ({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx78(
27451
+ import { jsx as jsx77, jsxs as jsxs47 } from "react/jsx-runtime";
27452
+ var InputOTP = React49.forwardRef(
27453
+ ({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx77(
27358
27454
  OTPInput,
27359
27455
  {
27360
27456
  ref,
@@ -27365,14 +27461,14 @@ var InputOTP = React50.forwardRef(
27365
27461
  )
27366
27462
  );
27367
27463
  InputOTP.displayName = "InputOTP";
27368
- var InputOTPGroup = React50.forwardRef(
27369
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx78("div", { ref, className: cn("flex items-center", className), ...props })
27464
+ var InputOTPGroup = React49.forwardRef(
27465
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx77("div", { ref, className: cn("flex items-center", className), ...props })
27370
27466
  );
27371
27467
  InputOTPGroup.displayName = "InputOTPGroup";
27372
- var InputOTPSlot = React50.forwardRef(({ index, className, ...props }, ref) => {
27373
- const inputOTPContext = React50.useContext(OTPInputContext);
27468
+ var InputOTPSlot = React49.forwardRef(({ index, className, ...props }, ref) => {
27469
+ const inputOTPContext = React49.useContext(OTPInputContext);
27374
27470
  const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
27375
- return /* @__PURE__ */ jsxs48(
27471
+ return /* @__PURE__ */ jsxs47(
27376
27472
  "div",
27377
27473
  {
27378
27474
  ref,
@@ -27384,28 +27480,28 @@ var InputOTPSlot = React50.forwardRef(({ index, className, ...props }, ref) => {
27384
27480
  ...props,
27385
27481
  children: [
27386
27482
  char,
27387
- hasFakeCaret && /* @__PURE__ */ jsx78("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx78("div", { className: "animate-caret-blink h-4 w-px bg-foreground duration-1000" }) })
27483
+ hasFakeCaret && /* @__PURE__ */ jsx77("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx77("div", { className: "animate-caret-blink h-4 w-px bg-foreground duration-1000" }) })
27388
27484
  ]
27389
27485
  }
27390
27486
  );
27391
27487
  });
27392
27488
  InputOTPSlot.displayName = "InputOTPSlot";
27393
- var InputOTPSeparator = React50.forwardRef(
27394
- ({ ...props }, ref) => /* @__PURE__ */ jsx78("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx78(Dot, {}) })
27489
+ var InputOTPSeparator = React49.forwardRef(
27490
+ ({ ...props }, ref) => /* @__PURE__ */ jsx77("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx77(Dot, {}) })
27395
27491
  );
27396
27492
  InputOTPSeparator.displayName = "InputOTPSeparator";
27397
27493
 
27398
27494
  // src/components/ui/menubar.tsx
27399
- import * as React51 from "react";
27495
+ import * as React50 from "react";
27400
27496
  import * as MenubarPrimitive from "@radix-ui/react-menubar";
27401
27497
  import { Check as Check8, ChevronRight as ChevronRight6, Circle as Circle4 } from "lucide-react";
27402
- import { jsx as jsx79, jsxs as jsxs49 } from "react/jsx-runtime";
27498
+ import { jsx as jsx78, jsxs as jsxs48 } from "react/jsx-runtime";
27403
27499
  var MenubarMenu = MenubarPrimitive.Menu;
27404
27500
  var MenubarGroup = MenubarPrimitive.Group;
27405
27501
  var MenubarPortal = MenubarPrimitive.Portal;
27406
27502
  var MenubarSub = MenubarPrimitive.Sub;
27407
27503
  var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
27408
- var Menubar = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx79(
27504
+ var Menubar = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
27409
27505
  MenubarPrimitive.Root,
27410
27506
  {
27411
27507
  ref,
@@ -27414,7 +27510,7 @@ var Menubar = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__
27414
27510
  }
27415
27511
  ));
27416
27512
  Menubar.displayName = MenubarPrimitive.Root.displayName;
27417
- var MenubarTrigger = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx79(
27513
+ var MenubarTrigger = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
27418
27514
  MenubarPrimitive.Trigger,
27419
27515
  {
27420
27516
  ref,
@@ -27426,7 +27522,7 @@ var MenubarTrigger = React51.forwardRef(({ className, ...props }, ref) => /* @__
27426
27522
  }
27427
27523
  ));
27428
27524
  MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
27429
- var MenubarSubTrigger = React51.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs49(
27525
+ var MenubarSubTrigger = React50.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs48(
27430
27526
  MenubarPrimitive.SubTrigger,
27431
27527
  {
27432
27528
  ref,
@@ -27438,12 +27534,12 @@ var MenubarSubTrigger = React51.forwardRef(({ className, inset, children, ...pro
27438
27534
  ...props,
27439
27535
  children: [
27440
27536
  children,
27441
- /* @__PURE__ */ jsx79(ChevronRight6, { className: "ml-auto h-4 w-4" })
27537
+ /* @__PURE__ */ jsx78(ChevronRight6, { className: "ml-auto h-4 w-4" })
27442
27538
  ]
27443
27539
  }
27444
27540
  ));
27445
27541
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
27446
- var MenubarSubContent = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx79(
27542
+ var MenubarSubContent = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
27447
27543
  MenubarPrimitive.SubContent,
27448
27544
  {
27449
27545
  ref,
@@ -27455,7 +27551,7 @@ var MenubarSubContent = React51.forwardRef(({ className, ...props }, ref) => /*
27455
27551
  }
27456
27552
  ));
27457
27553
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
27458
- var MenubarContent = React51.forwardRef(({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ jsx79(MenubarPrimitive.Portal, { children: /* @__PURE__ */ jsx79(
27554
+ var MenubarContent = React50.forwardRef(({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ jsx78(MenubarPrimitive.Portal, { children: /* @__PURE__ */ jsx78(
27459
27555
  MenubarPrimitive.Content,
27460
27556
  {
27461
27557
  ref,
@@ -27470,7 +27566,7 @@ var MenubarContent = React51.forwardRef(({ className, align = "start", alignOffs
27470
27566
  }
27471
27567
  ) }));
27472
27568
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
27473
- var MenubarItem = React51.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx79(
27569
+ var MenubarItem = React50.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx78(
27474
27570
  MenubarPrimitive.Item,
27475
27571
  {
27476
27572
  ref,
@@ -27483,7 +27579,7 @@ var MenubarItem = React51.forwardRef(({ className, inset, ...props }, ref) => /*
27483
27579
  }
27484
27580
  ));
27485
27581
  MenubarItem.displayName = MenubarPrimitive.Item.displayName;
27486
- var MenubarCheckboxItem = React51.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs49(
27582
+ var MenubarCheckboxItem = React50.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs48(
27487
27583
  MenubarPrimitive.CheckboxItem,
27488
27584
  {
27489
27585
  ref,
@@ -27494,13 +27590,13 @@ var MenubarCheckboxItem = React51.forwardRef(({ className, children, checked, ..
27494
27590
  checked,
27495
27591
  ...props,
27496
27592
  children: [
27497
- /* @__PURE__ */ jsx79("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx79(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx79(Check8, { className: "h-4 w-4" }) }) }),
27593
+ /* @__PURE__ */ jsx78("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx78(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx78(Check8, { className: "h-4 w-4" }) }) }),
27498
27594
  children
27499
27595
  ]
27500
27596
  }
27501
27597
  ));
27502
27598
  MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
27503
- var MenubarRadioItem = React51.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs49(
27599
+ var MenubarRadioItem = React50.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs48(
27504
27600
  MenubarPrimitive.RadioItem,
27505
27601
  {
27506
27602
  ref,
@@ -27510,13 +27606,13 @@ var MenubarRadioItem = React51.forwardRef(({ className, children, ...props }, re
27510
27606
  ),
27511
27607
  ...props,
27512
27608
  children: [
27513
- /* @__PURE__ */ jsx79("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx79(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx79(Circle4, { className: "h-2 w-2 fill-current" }) }) }),
27609
+ /* @__PURE__ */ jsx78("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx78(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx78(Circle4, { className: "h-2 w-2 fill-current" }) }) }),
27514
27610
  children
27515
27611
  ]
27516
27612
  }
27517
27613
  ));
27518
27614
  MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
27519
- var MenubarLabel = React51.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx79(
27615
+ var MenubarLabel = React50.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx78(
27520
27616
  MenubarPrimitive.Label,
27521
27617
  {
27522
27618
  ref,
@@ -27525,20 +27621,20 @@ var MenubarLabel = React51.forwardRef(({ className, inset, ...props }, ref) => /
27525
27621
  }
27526
27622
  ));
27527
27623
  MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
27528
- var MenubarSeparator = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx79(MenubarPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
27624
+ var MenubarSeparator = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(MenubarPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
27529
27625
  MenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;
27530
27626
  var MenubarShortcut = ({ className, ...props }) => {
27531
- return /* @__PURE__ */ jsx79("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
27627
+ return /* @__PURE__ */ jsx78("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
27532
27628
  };
27533
27629
  MenubarShortcut.displayname = "MenubarShortcut";
27534
27630
 
27535
27631
  // src/components/ui/navigation-menu.tsx
27536
- import * as React52 from "react";
27632
+ import * as React51 from "react";
27537
27633
  import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
27538
27634
  import { cva as cva5 } from "class-variance-authority";
27539
27635
  import { ChevronDown as ChevronDown7 } from "lucide-react";
27540
- import { jsx as jsx80, jsxs as jsxs50 } from "react/jsx-runtime";
27541
- var NavigationMenu = React52.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs50(
27636
+ import { jsx as jsx79, jsxs as jsxs49 } from "react/jsx-runtime";
27637
+ var NavigationMenu = React51.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs49(
27542
27638
  NavigationMenuPrimitive.Root,
27543
27639
  {
27544
27640
  ref,
@@ -27546,12 +27642,12 @@ var NavigationMenu = React52.forwardRef(({ className, children, ...props }, ref)
27546
27642
  ...props,
27547
27643
  children: [
27548
27644
  children,
27549
- /* @__PURE__ */ jsx80(NavigationMenuViewport, {})
27645
+ /* @__PURE__ */ jsx79(NavigationMenuViewport, {})
27550
27646
  ]
27551
27647
  }
27552
27648
  ));
27553
27649
  NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
27554
- var NavigationMenuList = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx80(
27650
+ var NavigationMenuList = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx79(
27555
27651
  NavigationMenuPrimitive.List,
27556
27652
  {
27557
27653
  ref,
@@ -27564,7 +27660,7 @@ var NavigationMenuItem = NavigationMenuPrimitive.Item;
27564
27660
  var navigationMenuTriggerStyle = cva5(
27565
27661
  "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"
27566
27662
  );
27567
- var NavigationMenuTrigger = React52.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs50(
27663
+ var NavigationMenuTrigger = React51.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs49(
27568
27664
  NavigationMenuPrimitive.Trigger,
27569
27665
  {
27570
27666
  ref,
@@ -27573,7 +27669,7 @@ var NavigationMenuTrigger = React52.forwardRef(({ className, children, ...props
27573
27669
  children: [
27574
27670
  children,
27575
27671
  " ",
27576
- /* @__PURE__ */ jsx80(
27672
+ /* @__PURE__ */ jsx79(
27577
27673
  ChevronDown7,
27578
27674
  {
27579
27675
  className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
@@ -27584,7 +27680,7 @@ var NavigationMenuTrigger = React52.forwardRef(({ className, children, ...props
27584
27680
  }
27585
27681
  ));
27586
27682
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
27587
- var NavigationMenuContent = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx80(
27683
+ var NavigationMenuContent = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx79(
27588
27684
  NavigationMenuPrimitive.Content,
27589
27685
  {
27590
27686
  ref,
@@ -27597,7 +27693,7 @@ var NavigationMenuContent = React52.forwardRef(({ className, ...props }, ref) =>
27597
27693
  ));
27598
27694
  NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
27599
27695
  var NavigationMenuLink = NavigationMenuPrimitive.Link;
27600
- var NavigationMenuViewport = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx80("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsx80(
27696
+ var NavigationMenuViewport = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx79("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsx79(
27601
27697
  NavigationMenuPrimitive.Viewport,
27602
27698
  {
27603
27699
  className: cn(
@@ -27609,7 +27705,7 @@ var NavigationMenuViewport = React52.forwardRef(({ className, ...props }, ref) =
27609
27705
  }
27610
27706
  ) }));
27611
27707
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
27612
- var NavigationMenuIndicator = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx80(
27708
+ var NavigationMenuIndicator = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx79(
27613
27709
  NavigationMenuPrimitive.Indicator,
27614
27710
  {
27615
27711
  ref,
@@ -27618,16 +27714,16 @@ var NavigationMenuIndicator = React52.forwardRef(({ className, ...props }, ref)
27618
27714
  className
27619
27715
  ),
27620
27716
  ...props,
27621
- children: /* @__PURE__ */ jsx80("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
27717
+ children: /* @__PURE__ */ jsx79("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
27622
27718
  }
27623
27719
  ));
27624
27720
  NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
27625
27721
 
27626
27722
  // src/components/ui/pagination.tsx
27627
- import * as React53 from "react";
27723
+ import * as React52 from "react";
27628
27724
  import { ChevronLeft as ChevronLeft2, ChevronRight as ChevronRight7, MoreHorizontal as MoreHorizontal2 } from "lucide-react";
27629
- import { jsx as jsx81, jsxs as jsxs51 } from "react/jsx-runtime";
27630
- var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx81(
27725
+ import { jsx as jsx80, jsxs as jsxs50 } from "react/jsx-runtime";
27726
+ var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx80(
27631
27727
  "nav",
27632
27728
  {
27633
27729
  role: "navigation",
@@ -27637,13 +27733,13 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx81(
27637
27733
  }
27638
27734
  );
27639
27735
  Pagination.displayName = "Pagination";
27640
- var PaginationContent = React53.forwardRef(
27641
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx81("ul", { ref, className: cn("flex flex-row items-center gap-1", className), ...props })
27736
+ var PaginationContent = React52.forwardRef(
27737
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx80("ul", { ref, className: cn("flex flex-row items-center gap-1", className), ...props })
27642
27738
  );
27643
27739
  PaginationContent.displayName = "PaginationContent";
27644
- var PaginationItem = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx81("li", { ref, className: cn("", className), ...props }));
27740
+ var PaginationItem = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx80("li", { ref, className: cn("", className), ...props }));
27645
27741
  PaginationItem.displayName = "PaginationItem";
27646
- var PaginationLink = ({ className, isActive, size = "icon", ...props }) => /* @__PURE__ */ jsx81(
27742
+ var PaginationLink = ({ className, isActive, size = "icon", ...props }) => /* @__PURE__ */ jsx80(
27647
27743
  "a",
27648
27744
  {
27649
27745
  "aria-current": isActive ? "page" : void 0,
@@ -27658,29 +27754,29 @@ var PaginationLink = ({ className, isActive, size = "icon", ...props }) => /* @_
27658
27754
  }
27659
27755
  );
27660
27756
  PaginationLink.displayName = "PaginationLink";
27661
- var PaginationPrevious = ({ className, ...props }) => /* @__PURE__ */ jsxs51(PaginationLink, { "aria-label": "Go to previous page", size: "default", className: cn("gap-1 pl-2.5", className), ...props, children: [
27662
- /* @__PURE__ */ jsx81(ChevronLeft2, { className: "h-4 w-4" }),
27663
- /* @__PURE__ */ jsx81("span", { children: "Previous" })
27757
+ var PaginationPrevious = ({ className, ...props }) => /* @__PURE__ */ jsxs50(PaginationLink, { "aria-label": "Go to previous page", size: "default", className: cn("gap-1 pl-2.5", className), ...props, children: [
27758
+ /* @__PURE__ */ jsx80(ChevronLeft2, { className: "h-4 w-4" }),
27759
+ /* @__PURE__ */ jsx80("span", { children: "Previous" })
27664
27760
  ] });
27665
27761
  PaginationPrevious.displayName = "PaginationPrevious";
27666
- var PaginationNext = ({ className, ...props }) => /* @__PURE__ */ jsxs51(PaginationLink, { "aria-label": "Go to next page", size: "default", className: cn("gap-1 pr-2.5", className), ...props, children: [
27667
- /* @__PURE__ */ jsx81("span", { children: "Next" }),
27668
- /* @__PURE__ */ jsx81(ChevronRight7, { className: "h-4 w-4" })
27762
+ var PaginationNext = ({ className, ...props }) => /* @__PURE__ */ jsxs50(PaginationLink, { "aria-label": "Go to next page", size: "default", className: cn("gap-1 pr-2.5", className), ...props, children: [
27763
+ /* @__PURE__ */ jsx80("span", { children: "Next" }),
27764
+ /* @__PURE__ */ jsx80(ChevronRight7, { className: "h-4 w-4" })
27669
27765
  ] });
27670
27766
  PaginationNext.displayName = "PaginationNext";
27671
- var PaginationEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs51("span", { "aria-hidden": true, className: cn("flex h-9 w-9 items-center justify-center", className), ...props, children: [
27672
- /* @__PURE__ */ jsx81(MoreHorizontal2, { className: "h-4 w-4" }),
27673
- /* @__PURE__ */ jsx81("span", { className: "sr-only", children: "More pages" })
27767
+ var PaginationEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs50("span", { "aria-hidden": true, className: cn("flex h-9 w-9 items-center justify-center", className), ...props, children: [
27768
+ /* @__PURE__ */ jsx80(MoreHorizontal2, { className: "h-4 w-4" }),
27769
+ /* @__PURE__ */ jsx80("span", { className: "sr-only", children: "More pages" })
27674
27770
  ] });
27675
27771
  PaginationEllipsis.displayName = "PaginationEllipsis";
27676
27772
 
27677
27773
  // src/components/ui/popover.tsx
27678
- import * as React54 from "react";
27774
+ import * as React53 from "react";
27679
27775
  import * as PopoverPrimitive from "@radix-ui/react-popover";
27680
- import { jsx as jsx82 } from "react/jsx-runtime";
27776
+ import { jsx as jsx81 } from "react/jsx-runtime";
27681
27777
  var Popover = PopoverPrimitive.Root;
27682
27778
  var PopoverTrigger = PopoverPrimitive.Trigger;
27683
- var PopoverContent = React54.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx82(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx82(
27779
+ var PopoverContent = React53.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx81(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx81(
27684
27780
  PopoverPrimitive.Content,
27685
27781
  {
27686
27782
  ref,
@@ -27696,16 +27792,16 @@ var PopoverContent = React54.forwardRef(({ className, align = "center", sideOffs
27696
27792
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
27697
27793
 
27698
27794
  // src/components/ui/radio-group.tsx
27699
- import * as React55 from "react";
27795
+ import * as React54 from "react";
27700
27796
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
27701
27797
  import { Circle as Circle5 } from "lucide-react";
27702
- import { jsx as jsx83 } from "react/jsx-runtime";
27703
- var RadioGroup4 = React55.forwardRef(({ className, ...props }, ref) => {
27704
- return /* @__PURE__ */ jsx83(RadioGroupPrimitive.Root, { className: cn("grid gap-2", className), ...props, ref });
27798
+ import { jsx as jsx82 } from "react/jsx-runtime";
27799
+ var RadioGroup4 = React54.forwardRef(({ className, ...props }, ref) => {
27800
+ return /* @__PURE__ */ jsx82(RadioGroupPrimitive.Root, { className: cn("grid gap-2", className), ...props, ref });
27705
27801
  });
27706
27802
  RadioGroup4.displayName = RadioGroupPrimitive.Root.displayName;
27707
- var RadioGroupItem = React55.forwardRef(({ className, ...props }, ref) => {
27708
- return /* @__PURE__ */ jsx83(
27803
+ var RadioGroupItem = React54.forwardRef(({ className, ...props }, ref) => {
27804
+ return /* @__PURE__ */ jsx82(
27709
27805
  RadioGroupPrimitive.Item,
27710
27806
  {
27711
27807
  ref,
@@ -27714,7 +27810,7 @@ var RadioGroupItem = React55.forwardRef(({ className, ...props }, ref) => {
27714
27810
  className
27715
27811
  ),
27716
27812
  ...props,
27717
- children: /* @__PURE__ */ jsx83(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx83(Circle5, { className: "h-2.5 w-2.5 fill-current text-current" }) })
27813
+ children: /* @__PURE__ */ jsx82(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx82(Circle5, { className: "h-2.5 w-2.5 fill-current text-current" }) })
27718
27814
  }
27719
27815
  );
27720
27816
  });
@@ -27723,8 +27819,8 @@ RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
27723
27819
  // src/components/ui/resizable.tsx
27724
27820
  import { GripVertical } from "lucide-react";
27725
27821
  import * as ResizablePrimitive from "react-resizable-panels";
27726
- import { jsx as jsx84 } from "react/jsx-runtime";
27727
- var ResizablePanelGroup = ({ className, ...props }) => /* @__PURE__ */ jsx84(
27822
+ import { jsx as jsx83 } from "react/jsx-runtime";
27823
+ var ResizablePanelGroup = ({ className, ...props }) => /* @__PURE__ */ jsx83(
27728
27824
  ResizablePrimitive.PanelGroup,
27729
27825
  {
27730
27826
  className: cn("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", className),
@@ -27736,7 +27832,7 @@ var ResizableHandle = ({
27736
27832
  withHandle,
27737
27833
  className,
27738
27834
  ...props
27739
- }) => /* @__PURE__ */ jsx84(
27835
+ }) => /* @__PURE__ */ jsx83(
27740
27836
  ResizablePrimitive.PanelResizeHandle,
27741
27837
  {
27742
27838
  className: cn(
@@ -27744,15 +27840,15 @@ var ResizableHandle = ({
27744
27840
  className
27745
27841
  ),
27746
27842
  ...props,
27747
- children: withHandle && /* @__PURE__ */ jsx84("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ jsx84(GripVertical, { className: "h-2.5 w-2.5" }) })
27843
+ children: withHandle && /* @__PURE__ */ jsx83("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ jsx83(GripVertical, { className: "h-2.5 w-2.5" }) })
27748
27844
  }
27749
27845
  );
27750
27846
 
27751
27847
  // src/components/ui/separator.tsx
27752
- import * as React56 from "react";
27848
+ import * as React55 from "react";
27753
27849
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
27754
- import { jsx as jsx85 } from "react/jsx-runtime";
27755
- var Separator5 = React56.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx85(
27850
+ import { jsx as jsx84 } from "react/jsx-runtime";
27851
+ var Separator5 = React55.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx84(
27756
27852
  SeparatorPrimitive.Root,
27757
27853
  {
27758
27854
  ref,
@@ -27768,13 +27864,13 @@ Separator5.displayName = SeparatorPrimitive.Root.displayName;
27768
27864
  import * as SheetPrimitive from "@radix-ui/react-dialog";
27769
27865
  import { cva as cva6 } from "class-variance-authority";
27770
27866
  import { X as X7 } from "lucide-react";
27771
- import * as React57 from "react";
27772
- import { jsx as jsx86, jsxs as jsxs52 } from "react/jsx-runtime";
27867
+ import * as React56 from "react";
27868
+ import { jsx as jsx85, jsxs as jsxs51 } from "react/jsx-runtime";
27773
27869
  var Sheet = SheetPrimitive.Root;
27774
27870
  var SheetTrigger = SheetPrimitive.Trigger;
27775
27871
  var SheetClose = SheetPrimitive.Close;
27776
27872
  var SheetPortal = SheetPrimitive.Portal;
27777
- var SheetOverlay = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx86(
27873
+ var SheetOverlay = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx85(
27778
27874
  SheetPrimitive.Overlay,
27779
27875
  {
27780
27876
  className: cn(
@@ -27802,7 +27898,7 @@ var sheetVariants = cva6(
27802
27898
  }
27803
27899
  }
27804
27900
  );
27805
- var SheetContent = React57.forwardRef(
27901
+ var SheetContent = React56.forwardRef(
27806
27902
  ({
27807
27903
  side = "right",
27808
27904
  className,
@@ -27811,11 +27907,11 @@ var SheetContent = React57.forwardRef(
27811
27907
  closeButtonClassName,
27812
27908
  closeButtonLabel = "Close",
27813
27909
  ...props
27814
- }, ref) => /* @__PURE__ */ jsxs52(SheetPortal, { children: [
27815
- /* @__PURE__ */ jsx86(SheetOverlay, {}),
27816
- /* @__PURE__ */ jsxs52(SheetPrimitive.Content, { ref, className: cn(sheetVariants({ side }), className), ...props, children: [
27910
+ }, ref) => /* @__PURE__ */ jsxs51(SheetPortal, { children: [
27911
+ /* @__PURE__ */ jsx85(SheetOverlay, {}),
27912
+ /* @__PURE__ */ jsxs51(SheetPrimitive.Content, { ref, className: cn(sheetVariants({ side }), className), ...props, children: [
27817
27913
  children,
27818
- showCloseButton ? /* @__PURE__ */ jsxs52(
27914
+ showCloseButton ? /* @__PURE__ */ jsxs51(
27819
27915
  SheetPrimitive.Close,
27820
27916
  {
27821
27917
  className: cn(
@@ -27823,8 +27919,8 @@ var SheetContent = React57.forwardRef(
27823
27919
  closeButtonClassName
27824
27920
  ),
27825
27921
  children: [
27826
- /* @__PURE__ */ jsx86(X7, { className: "h-4 w-4" }),
27827
- /* @__PURE__ */ jsx86("span", { className: "sr-only", children: closeButtonLabel })
27922
+ /* @__PURE__ */ jsx85(X7, { className: "h-4 w-4" }),
27923
+ /* @__PURE__ */ jsx85("span", { className: "sr-only", children: closeButtonLabel })
27828
27924
  ]
27829
27925
  }
27830
27926
  ) : null
@@ -27832,27 +27928,27 @@ var SheetContent = React57.forwardRef(
27832
27928
  ] })
27833
27929
  );
27834
27930
  SheetContent.displayName = SheetPrimitive.Content.displayName;
27835
- var SheetHeader = ({ className, ...props }) => /* @__PURE__ */ jsx86("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
27931
+ var SheetHeader = ({ className, ...props }) => /* @__PURE__ */ jsx85("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
27836
27932
  SheetHeader.displayName = "SheetHeader";
27837
- var SheetFooter = ({ className, ...props }) => /* @__PURE__ */ jsx86("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
27933
+ var SheetFooter = ({ className, ...props }) => /* @__PURE__ */ jsx85("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
27838
27934
  SheetFooter.displayName = "SheetFooter";
27839
- var SheetTitle = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx86(SheetPrimitive.Title, { ref, className: cn("text-lg font-semibold text-foreground", className), ...props }));
27935
+ var SheetTitle = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx85(SheetPrimitive.Title, { ref, className: cn("text-lg font-semibold text-foreground", className), ...props }));
27840
27936
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
27841
- var SheetDescription = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx86(SheetPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
27937
+ var SheetDescription = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx85(SheetPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
27842
27938
  SheetDescription.displayName = SheetPrimitive.Description.displayName;
27843
27939
 
27844
27940
  // src/components/ui/sidebar.tsx
27845
- import * as React59 from "react";
27941
+ import * as React58 from "react";
27846
27942
  import { Slot as Slot4 } from "@radix-ui/react-slot";
27847
27943
  import { cva as cva7 } from "class-variance-authority";
27848
27944
  import { PanelLeft as PanelLeft2 } from "lucide-react";
27849
27945
 
27850
27946
  // src/hooks/use-mobile.tsx
27851
- import * as React58 from "react";
27947
+ import * as React57 from "react";
27852
27948
  var MOBILE_BREAKPOINT = 768;
27853
27949
  function useIsMobile() {
27854
- const [isMobile, setIsMobile] = React58.useState(void 0);
27855
- React58.useEffect(() => {
27950
+ const [isMobile, setIsMobile] = React57.useState(void 0);
27951
+ React57.useEffect(() => {
27856
27952
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
27857
27953
  const onChange = () => {
27858
27954
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -27865,27 +27961,27 @@ function useIsMobile() {
27865
27961
  }
27866
27962
 
27867
27963
  // src/components/ui/sidebar.tsx
27868
- import { jsx as jsx87, jsxs as jsxs53 } from "react/jsx-runtime";
27964
+ import { jsx as jsx86, jsxs as jsxs52 } from "react/jsx-runtime";
27869
27965
  var SIDEBAR_COOKIE_NAME = "sidebar:state";
27870
27966
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
27871
27967
  var SIDEBAR_WIDTH = "16rem";
27872
27968
  var SIDEBAR_WIDTH_MOBILE = "18rem";
27873
27969
  var SIDEBAR_WIDTH_ICON = "3rem";
27874
27970
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
27875
- var SidebarContext = React59.createContext(null);
27971
+ var SidebarContext = React58.createContext(null);
27876
27972
  function useSidebar() {
27877
- const context = React59.useContext(SidebarContext);
27973
+ const context = React58.useContext(SidebarContext);
27878
27974
  if (!context) {
27879
27975
  throw new Error("useSidebar must be used within a SidebarProvider.");
27880
27976
  }
27881
27977
  return context;
27882
27978
  }
27883
- var SidebarProvider = React59.forwardRef(({ defaultOpen = true, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }, ref) => {
27979
+ var SidebarProvider = React58.forwardRef(({ defaultOpen = true, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }, ref) => {
27884
27980
  const isMobile = useIsMobile();
27885
- const [openMobile, setOpenMobile] = React59.useState(false);
27886
- const [_open, _setOpen] = React59.useState(defaultOpen);
27981
+ const [openMobile, setOpenMobile] = React58.useState(false);
27982
+ const [_open, _setOpen] = React58.useState(defaultOpen);
27887
27983
  const open = openProp != null ? openProp : _open;
27888
- const setOpen = React59.useCallback(
27984
+ const setOpen = React58.useCallback(
27889
27985
  (value) => {
27890
27986
  const openState = typeof value === "function" ? value(open) : value;
27891
27987
  if (setOpenProp) {
@@ -27897,10 +27993,10 @@ var SidebarProvider = React59.forwardRef(({ defaultOpen = true, open: openProp,
27897
27993
  },
27898
27994
  [setOpenProp, open]
27899
27995
  );
27900
- const toggleSidebar = React59.useCallback(() => {
27996
+ const toggleSidebar = React58.useCallback(() => {
27901
27997
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
27902
27998
  }, [isMobile, setOpen, setOpenMobile]);
27903
- React59.useEffect(() => {
27999
+ React58.useEffect(() => {
27904
28000
  const handleKeyDown = (event) => {
27905
28001
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
27906
28002
  event.preventDefault();
@@ -27911,7 +28007,7 @@ var SidebarProvider = React59.forwardRef(({ defaultOpen = true, open: openProp,
27911
28007
  return () => window.removeEventListener("keydown", handleKeyDown);
27912
28008
  }, [toggleSidebar]);
27913
28009
  const state = open ? "expanded" : "collapsed";
27914
- const contextValue = React59.useMemo(
28010
+ const contextValue = React58.useMemo(
27915
28011
  () => ({
27916
28012
  state,
27917
28013
  open,
@@ -27923,7 +28019,7 @@ var SidebarProvider = React59.forwardRef(({ defaultOpen = true, open: openProp,
27923
28019
  }),
27924
28020
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
27925
28021
  );
27926
- return /* @__PURE__ */ jsx87(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx87(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsx87(
28022
+ return /* @__PURE__ */ jsx86(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx86(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsx86(
27927
28023
  "div",
27928
28024
  {
27929
28025
  style: {
@@ -27939,10 +28035,10 @@ var SidebarProvider = React59.forwardRef(({ defaultOpen = true, open: openProp,
27939
28035
  ) }) });
27940
28036
  });
27941
28037
  SidebarProvider.displayName = "SidebarProvider";
27942
- var Sidebar = React59.forwardRef(({ side = "left", variant = "sidebar", collapsible = "offcanvas", className, children, ...props }, ref) => {
28038
+ var Sidebar = React58.forwardRef(({ side = "left", variant = "sidebar", collapsible = "offcanvas", className, children, ...props }, ref) => {
27943
28039
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
27944
28040
  if (collapsible === "none") {
27945
- return /* @__PURE__ */ jsx87(
28041
+ return /* @__PURE__ */ jsx86(
27946
28042
  "div",
27947
28043
  {
27948
28044
  className: cn("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground", className),
@@ -27953,7 +28049,7 @@ var Sidebar = React59.forwardRef(({ side = "left", variant = "sidebar", collapsi
27953
28049
  );
27954
28050
  }
27955
28051
  if (isMobile) {
27956
- return /* @__PURE__ */ jsx87(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsx87(
28052
+ return /* @__PURE__ */ jsx86(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsx86(
27957
28053
  SheetContent,
27958
28054
  {
27959
28055
  "data-sidebar": "sidebar",
@@ -27963,11 +28059,11 @@ var Sidebar = React59.forwardRef(({ side = "left", variant = "sidebar", collapsi
27963
28059
  "--sidebar-width": SIDEBAR_WIDTH_MOBILE
27964
28060
  },
27965
28061
  side,
27966
- children: /* @__PURE__ */ jsx87("div", { className: "flex h-full w-full flex-col", children })
28062
+ children: /* @__PURE__ */ jsx86("div", { className: "flex h-full w-full flex-col", children })
27967
28063
  }
27968
28064
  ) });
27969
28065
  }
27970
- return /* @__PURE__ */ jsxs53(
28066
+ return /* @__PURE__ */ jsxs52(
27971
28067
  "div",
27972
28068
  {
27973
28069
  ref,
@@ -27977,7 +28073,7 @@ var Sidebar = React59.forwardRef(({ side = "left", variant = "sidebar", collapsi
27977
28073
  "data-variant": variant,
27978
28074
  "data-side": side,
27979
28075
  children: [
27980
- /* @__PURE__ */ jsx87(
28076
+ /* @__PURE__ */ jsx86(
27981
28077
  "div",
27982
28078
  {
27983
28079
  className: cn(
@@ -27988,7 +28084,7 @@ var Sidebar = React59.forwardRef(({ side = "left", variant = "sidebar", collapsi
27988
28084
  )
27989
28085
  }
27990
28086
  ),
27991
- /* @__PURE__ */ jsx87(
28087
+ /* @__PURE__ */ jsx86(
27992
28088
  "div",
27993
28089
  {
27994
28090
  className: cn(
@@ -27999,7 +28095,7 @@ var Sidebar = React59.forwardRef(({ side = "left", variant = "sidebar", collapsi
27999
28095
  className
28000
28096
  ),
28001
28097
  ...props,
28002
- children: /* @__PURE__ */ jsx87(
28098
+ children: /* @__PURE__ */ jsx86(
28003
28099
  "div",
28004
28100
  {
28005
28101
  "data-sidebar": "sidebar",
@@ -28014,10 +28110,10 @@ var Sidebar = React59.forwardRef(({ side = "left", variant = "sidebar", collapsi
28014
28110
  );
28015
28111
  });
28016
28112
  Sidebar.displayName = "Sidebar";
28017
- var SidebarTrigger = React59.forwardRef(
28113
+ var SidebarTrigger = React58.forwardRef(
28018
28114
  ({ className, onClick, ...props }, ref) => {
28019
28115
  const { toggleSidebar } = useSidebar();
28020
- return /* @__PURE__ */ jsxs53(
28116
+ return /* @__PURE__ */ jsxs52(
28021
28117
  Button,
28022
28118
  {
28023
28119
  ref,
@@ -28031,18 +28127,18 @@ var SidebarTrigger = React59.forwardRef(
28031
28127
  },
28032
28128
  ...props,
28033
28129
  children: [
28034
- /* @__PURE__ */ jsx87(PanelLeft2, {}),
28035
- /* @__PURE__ */ jsx87("span", { className: "sr-only", children: "Toggle Sidebar" })
28130
+ /* @__PURE__ */ jsx86(PanelLeft2, {}),
28131
+ /* @__PURE__ */ jsx86("span", { className: "sr-only", children: "Toggle Sidebar" })
28036
28132
  ]
28037
28133
  }
28038
28134
  );
28039
28135
  }
28040
28136
  );
28041
28137
  SidebarTrigger.displayName = "SidebarTrigger";
28042
- var SidebarRail = React59.forwardRef(
28138
+ var SidebarRail = React58.forwardRef(
28043
28139
  ({ className, ...props }, ref) => {
28044
28140
  const { toggleSidebar } = useSidebar();
28045
- return /* @__PURE__ */ jsx87(
28141
+ return /* @__PURE__ */ jsx86(
28046
28142
  "button",
28047
28143
  {
28048
28144
  ref,
@@ -28066,8 +28162,8 @@ var SidebarRail = React59.forwardRef(
28066
28162
  }
28067
28163
  );
28068
28164
  SidebarRail.displayName = "SidebarRail";
28069
- var SidebarInset = React59.forwardRef(({ className, ...props }, ref) => {
28070
- return /* @__PURE__ */ jsx87(
28165
+ var SidebarInset = React58.forwardRef(({ className, ...props }, ref) => {
28166
+ return /* @__PURE__ */ jsx86(
28071
28167
  "main",
28072
28168
  {
28073
28169
  ref,
@@ -28081,9 +28177,9 @@ var SidebarInset = React59.forwardRef(({ className, ...props }, ref) => {
28081
28177
  );
28082
28178
  });
28083
28179
  SidebarInset.displayName = "SidebarInset";
28084
- var SidebarInput = React59.forwardRef(
28180
+ var SidebarInput = React58.forwardRef(
28085
28181
  ({ className, ...props }, ref) => {
28086
- return /* @__PURE__ */ jsx87(
28182
+ return /* @__PURE__ */ jsx86(
28087
28183
  Input,
28088
28184
  {
28089
28185
  ref,
@@ -28098,17 +28194,17 @@ var SidebarInput = React59.forwardRef(
28098
28194
  }
28099
28195
  );
28100
28196
  SidebarInput.displayName = "SidebarInput";
28101
- var SidebarHeader = React59.forwardRef(({ className, ...props }, ref) => {
28102
- return /* @__PURE__ */ jsx87("div", { ref, "data-sidebar": "header", className: cn("flex flex-col gap-2 p-2", className), ...props });
28197
+ var SidebarHeader = React58.forwardRef(({ className, ...props }, ref) => {
28198
+ return /* @__PURE__ */ jsx86("div", { ref, "data-sidebar": "header", className: cn("flex flex-col gap-2 p-2", className), ...props });
28103
28199
  });
28104
28200
  SidebarHeader.displayName = "SidebarHeader";
28105
- var SidebarFooter = React59.forwardRef(({ className, ...props }, ref) => {
28106
- return /* @__PURE__ */ jsx87("div", { ref, "data-sidebar": "footer", className: cn("flex flex-col gap-2 p-2", className), ...props });
28201
+ var SidebarFooter = React58.forwardRef(({ className, ...props }, ref) => {
28202
+ return /* @__PURE__ */ jsx86("div", { ref, "data-sidebar": "footer", className: cn("flex flex-col gap-2 p-2", className), ...props });
28107
28203
  });
28108
28204
  SidebarFooter.displayName = "SidebarFooter";
28109
- var SidebarSeparator = React59.forwardRef(
28205
+ var SidebarSeparator = React58.forwardRef(
28110
28206
  ({ className, ...props }, ref) => {
28111
- return /* @__PURE__ */ jsx87(
28207
+ return /* @__PURE__ */ jsx86(
28112
28208
  Separator5,
28113
28209
  {
28114
28210
  ref,
@@ -28120,8 +28216,8 @@ var SidebarSeparator = React59.forwardRef(
28120
28216
  }
28121
28217
  );
28122
28218
  SidebarSeparator.displayName = "SidebarSeparator";
28123
- var SidebarContent = React59.forwardRef(({ className, ...props }, ref) => {
28124
- return /* @__PURE__ */ jsx87(
28219
+ var SidebarContent = React58.forwardRef(({ className, ...props }, ref) => {
28220
+ return /* @__PURE__ */ jsx86(
28125
28221
  "div",
28126
28222
  {
28127
28223
  ref,
@@ -28135,8 +28231,8 @@ var SidebarContent = React59.forwardRef(({ className, ...props }, ref) => {
28135
28231
  );
28136
28232
  });
28137
28233
  SidebarContent.displayName = "SidebarContent";
28138
- var SidebarGroup = React59.forwardRef(({ className, ...props }, ref) => {
28139
- return /* @__PURE__ */ jsx87(
28234
+ var SidebarGroup = React58.forwardRef(({ className, ...props }, ref) => {
28235
+ return /* @__PURE__ */ jsx86(
28140
28236
  "div",
28141
28237
  {
28142
28238
  ref,
@@ -28147,10 +28243,10 @@ var SidebarGroup = React59.forwardRef(({ className, ...props }, ref) => {
28147
28243
  );
28148
28244
  });
28149
28245
  SidebarGroup.displayName = "SidebarGroup";
28150
- var SidebarGroupLabel = React59.forwardRef(
28246
+ var SidebarGroupLabel = React58.forwardRef(
28151
28247
  ({ className, asChild = false, ...props }, ref) => {
28152
28248
  const Comp = asChild ? Slot4 : "div";
28153
- return /* @__PURE__ */ jsx87(
28249
+ return /* @__PURE__ */ jsx86(
28154
28250
  Comp,
28155
28251
  {
28156
28252
  ref,
@@ -28166,10 +28262,10 @@ var SidebarGroupLabel = React59.forwardRef(
28166
28262
  }
28167
28263
  );
28168
28264
  SidebarGroupLabel.displayName = "SidebarGroupLabel";
28169
- var SidebarGroupAction = React59.forwardRef(
28265
+ var SidebarGroupAction = React58.forwardRef(
28170
28266
  ({ className, asChild = false, ...props }, ref) => {
28171
28267
  const Comp = asChild ? Slot4 : "button";
28172
- return /* @__PURE__ */ jsx87(
28268
+ return /* @__PURE__ */ jsx86(
28173
28269
  Comp,
28174
28270
  {
28175
28271
  ref,
@@ -28187,13 +28283,13 @@ var SidebarGroupAction = React59.forwardRef(
28187
28283
  }
28188
28284
  );
28189
28285
  SidebarGroupAction.displayName = "SidebarGroupAction";
28190
- var SidebarGroupContent = React59.forwardRef(
28191
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx87("div", { ref, "data-sidebar": "group-content", className: cn("w-full text-sm", className), ...props })
28286
+ var SidebarGroupContent = React58.forwardRef(
28287
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx86("div", { ref, "data-sidebar": "group-content", className: cn("w-full text-sm", className), ...props })
28192
28288
  );
28193
28289
  SidebarGroupContent.displayName = "SidebarGroupContent";
28194
- var SidebarMenu = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx87("ul", { ref, "data-sidebar": "menu", className: cn("flex w-full min-w-0 flex-col gap-1", className), ...props }));
28290
+ var SidebarMenu = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx86("ul", { ref, "data-sidebar": "menu", className: cn("flex w-full min-w-0 flex-col gap-1", className), ...props }));
28195
28291
  SidebarMenu.displayName = "SidebarMenu";
28196
- var SidebarMenuItem = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx87("li", { ref, "data-sidebar": "menu-item", className: cn("group/menu-item relative", className), ...props }));
28292
+ var SidebarMenuItem = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx86("li", { ref, "data-sidebar": "menu-item", className: cn("group/menu-item relative", className), ...props }));
28197
28293
  SidebarMenuItem.displayName = "SidebarMenuItem";
28198
28294
  var sidebarMenuButtonVariants = cva7(
28199
28295
  "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",
@@ -28215,10 +28311,10 @@ var sidebarMenuButtonVariants = cva7(
28215
28311
  }
28216
28312
  }
28217
28313
  );
28218
- var SidebarMenuButton = React59.forwardRef(({ asChild = false, isActive = false, variant = "default", size = "default", tooltip, className, ...props }, ref) => {
28314
+ var SidebarMenuButton = React58.forwardRef(({ asChild = false, isActive = false, variant = "default", size = "default", tooltip, className, ...props }, ref) => {
28219
28315
  const Comp = asChild ? Slot4 : "button";
28220
28316
  const { isMobile, state } = useSidebar();
28221
- const button = /* @__PURE__ */ jsx87(
28317
+ const button = /* @__PURE__ */ jsx86(
28222
28318
  Comp,
28223
28319
  {
28224
28320
  ref,
@@ -28237,15 +28333,15 @@ var SidebarMenuButton = React59.forwardRef(({ asChild = false, isActive = false,
28237
28333
  children: tooltip
28238
28334
  };
28239
28335
  }
28240
- return /* @__PURE__ */ jsxs53(Tooltip, { children: [
28241
- /* @__PURE__ */ jsx87(TooltipTrigger, { asChild: true, children: button }),
28242
- /* @__PURE__ */ jsx87(TooltipContent, { side: "right", align: "center", hidden: state !== "collapsed" || isMobile, ...tooltip })
28336
+ return /* @__PURE__ */ jsxs52(Tooltip, { children: [
28337
+ /* @__PURE__ */ jsx86(TooltipTrigger, { asChild: true, children: button }),
28338
+ /* @__PURE__ */ jsx86(TooltipContent, { side: "right", align: "center", hidden: state !== "collapsed" || isMobile, ...tooltip })
28243
28339
  ] });
28244
28340
  });
28245
28341
  SidebarMenuButton.displayName = "SidebarMenuButton";
28246
- var SidebarMenuAction = React59.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
28342
+ var SidebarMenuAction = React58.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
28247
28343
  const Comp = asChild ? Slot4 : "button";
28248
- return /* @__PURE__ */ jsx87(
28344
+ return /* @__PURE__ */ jsx86(
28249
28345
  Comp,
28250
28346
  {
28251
28347
  ref,
@@ -28266,8 +28362,8 @@ var SidebarMenuAction = React59.forwardRef(({ className, asChild = false, showOn
28266
28362
  );
28267
28363
  });
28268
28364
  SidebarMenuAction.displayName = "SidebarMenuAction";
28269
- var SidebarMenuBadge = React59.forwardRef(
28270
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx87(
28365
+ var SidebarMenuBadge = React58.forwardRef(
28366
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx86(
28271
28367
  "div",
28272
28368
  {
28273
28369
  ref,
@@ -28286,11 +28382,11 @@ var SidebarMenuBadge = React59.forwardRef(
28286
28382
  )
28287
28383
  );
28288
28384
  SidebarMenuBadge.displayName = "SidebarMenuBadge";
28289
- var SidebarMenuSkeleton = React59.forwardRef(({ className, showIcon = false, ...props }, ref) => {
28290
- const width = React59.useMemo(() => {
28385
+ var SidebarMenuSkeleton = React58.forwardRef(({ className, showIcon = false, ...props }, ref) => {
28386
+ const width = React58.useMemo(() => {
28291
28387
  return `${Math.floor(Math.random() * 40) + 50}%`;
28292
28388
  }, []);
28293
- return /* @__PURE__ */ jsxs53(
28389
+ return /* @__PURE__ */ jsxs52(
28294
28390
  "div",
28295
28391
  {
28296
28392
  ref,
@@ -28298,8 +28394,8 @@ var SidebarMenuSkeleton = React59.forwardRef(({ className, showIcon = false, ...
28298
28394
  className: cn("flex h-8 items-center gap-2 rounded-md px-2", className),
28299
28395
  ...props,
28300
28396
  children: [
28301
- showIcon && /* @__PURE__ */ jsx87(Skeleton, { className: "size-4 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
28302
- /* @__PURE__ */ jsx87(
28397
+ showIcon && /* @__PURE__ */ jsx86(Skeleton, { className: "size-4 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
28398
+ /* @__PURE__ */ jsx86(
28303
28399
  Skeleton,
28304
28400
  {
28305
28401
  className: "h-4 max-w-[--skeleton-width] flex-1",
@@ -28314,8 +28410,8 @@ var SidebarMenuSkeleton = React59.forwardRef(({ className, showIcon = false, ...
28314
28410
  );
28315
28411
  });
28316
28412
  SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
28317
- var SidebarMenuSub = React59.forwardRef(
28318
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx87(
28413
+ var SidebarMenuSub = React58.forwardRef(
28414
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx86(
28319
28415
  "ul",
28320
28416
  {
28321
28417
  ref,
@@ -28330,11 +28426,11 @@ var SidebarMenuSub = React59.forwardRef(
28330
28426
  )
28331
28427
  );
28332
28428
  SidebarMenuSub.displayName = "SidebarMenuSub";
28333
- var SidebarMenuSubItem = React59.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx87("li", { ref, ...props }));
28429
+ var SidebarMenuSubItem = React58.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx86("li", { ref, ...props }));
28334
28430
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
28335
- var SidebarMenuSubButton = React59.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
28431
+ var SidebarMenuSubButton = React58.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
28336
28432
  const Comp = asChild ? Slot4 : "a";
28337
- return /* @__PURE__ */ jsx87(
28433
+ return /* @__PURE__ */ jsx86(
28338
28434
  Comp,
28339
28435
  {
28340
28436
  ref,
@@ -28356,44 +28452,44 @@ var SidebarMenuSubButton = React59.forwardRef(({ asChild = false, size = "md", i
28356
28452
  SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
28357
28453
 
28358
28454
  // src/components/ui/slider.tsx
28359
- import * as React60 from "react";
28455
+ import * as React59 from "react";
28360
28456
  import * as SliderPrimitive from "@radix-ui/react-slider";
28361
- import { jsx as jsx88, jsxs as jsxs54 } from "react/jsx-runtime";
28362
- var Slider = React60.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs54(
28457
+ import { jsx as jsx87, jsxs as jsxs53 } from "react/jsx-runtime";
28458
+ var Slider = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs53(
28363
28459
  SliderPrimitive.Root,
28364
28460
  {
28365
28461
  ref,
28366
28462
  className: cn("relative flex w-full touch-none select-none items-center", className),
28367
28463
  ...props,
28368
28464
  children: [
28369
- /* @__PURE__ */ jsx88(SliderPrimitive.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-secondary", children: /* @__PURE__ */ jsx88(SliderPrimitive.Range, { className: "absolute h-full bg-primary" }) }),
28370
- /* @__PURE__ */ jsx88(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" })
28465
+ /* @__PURE__ */ jsx87(SliderPrimitive.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-secondary", children: /* @__PURE__ */ jsx87(SliderPrimitive.Range, { className: "absolute h-full bg-primary" }) }),
28466
+ /* @__PURE__ */ jsx87(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" })
28371
28467
  ]
28372
28468
  }
28373
28469
  ));
28374
28470
  Slider.displayName = SliderPrimitive.Root.displayName;
28375
28471
 
28376
28472
  // src/components/ui/table.tsx
28377
- import * as React61 from "react";
28378
- import { jsx as jsx89 } from "react/jsx-runtime";
28379
- var Table = React61.forwardRef(
28380
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx89("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx89("table", { ref, className: cn("w-full caption-bottom text-sm", className), ...props }) })
28473
+ import * as React60 from "react";
28474
+ import { jsx as jsx88 } from "react/jsx-runtime";
28475
+ var Table = React60.forwardRef(
28476
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx88("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx88("table", { ref, className: cn("w-full caption-bottom text-sm", className), ...props }) })
28381
28477
  );
28382
28478
  Table.displayName = "Table";
28383
- var TableHeader = React61.forwardRef(
28384
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx89("thead", { ref, className: cn("[&_tr]:border-b", className), ...props })
28479
+ var TableHeader = React60.forwardRef(
28480
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx88("thead", { ref, className: cn("[&_tr]:border-b", className), ...props })
28385
28481
  );
28386
28482
  TableHeader.displayName = "TableHeader";
28387
- var TableBody = React61.forwardRef(
28388
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx89("tbody", { ref, className: cn("[&_tr:last-child]:border-0", className), ...props })
28483
+ var TableBody = React60.forwardRef(
28484
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx88("tbody", { ref, className: cn("[&_tr:last-child]:border-0", className), ...props })
28389
28485
  );
28390
28486
  TableBody.displayName = "TableBody";
28391
- var TableFooter = React61.forwardRef(
28392
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx89("tfoot", { ref, className: cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", className), ...props })
28487
+ var TableFooter = React60.forwardRef(
28488
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx88("tfoot", { ref, className: cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", className), ...props })
28393
28489
  );
28394
28490
  TableFooter.displayName = "TableFooter";
28395
- var TableRow = React61.forwardRef(
28396
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx89(
28491
+ var TableRow = React60.forwardRef(
28492
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx88(
28397
28493
  "tr",
28398
28494
  {
28399
28495
  ref,
@@ -28403,8 +28499,8 @@ var TableRow = React61.forwardRef(
28403
28499
  )
28404
28500
  );
28405
28501
  TableRow.displayName = "TableRow";
28406
- var TableHead = React61.forwardRef(
28407
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx89(
28502
+ var TableHead = React60.forwardRef(
28503
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx88(
28408
28504
  "th",
28409
28505
  {
28410
28506
  ref,
@@ -28417,23 +28513,23 @@ var TableHead = React61.forwardRef(
28417
28513
  )
28418
28514
  );
28419
28515
  TableHead.displayName = "TableHead";
28420
- var TableCell = React61.forwardRef(
28421
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx89("td", { ref, className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className), ...props })
28516
+ var TableCell = React60.forwardRef(
28517
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx88("td", { ref, className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className), ...props })
28422
28518
  );
28423
28519
  TableCell.displayName = "TableCell";
28424
- var TableCaption = React61.forwardRef(
28425
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx89("caption", { ref, className: cn("mt-4 text-sm text-muted-foreground", className), ...props })
28520
+ var TableCaption = React60.forwardRef(
28521
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx88("caption", { ref, className: cn("mt-4 text-sm text-muted-foreground", className), ...props })
28426
28522
  );
28427
28523
  TableCaption.displayName = "TableCaption";
28428
28524
 
28429
28525
  // src/components/ui/toast.tsx
28430
- import * as React62 from "react";
28526
+ import * as React61 from "react";
28431
28527
  import * as ToastPrimitives from "@radix-ui/react-toast";
28432
28528
  import { cva as cva8 } from "class-variance-authority";
28433
28529
  import { X as X8 } from "lucide-react";
28434
- import { jsx as jsx90 } from "react/jsx-runtime";
28530
+ import { jsx as jsx89 } from "react/jsx-runtime";
28435
28531
  var ToastProvider = ToastPrimitives.Provider;
28436
- var ToastViewport = React62.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx90(
28532
+ var ToastViewport = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx89(
28437
28533
  ToastPrimitives.Viewport,
28438
28534
  {
28439
28535
  ref,
@@ -28459,11 +28555,11 @@ var toastVariants = cva8(
28459
28555
  }
28460
28556
  }
28461
28557
  );
28462
- var Toast = React62.forwardRef(({ className, variant, ...props }, ref) => {
28463
- return /* @__PURE__ */ jsx90(ToastPrimitives.Root, { ref, className: cn(toastVariants({ variant }), className), ...props });
28558
+ var Toast = React61.forwardRef(({ className, variant, ...props }, ref) => {
28559
+ return /* @__PURE__ */ jsx89(ToastPrimitives.Root, { ref, className: cn(toastVariants({ variant }), className), ...props });
28464
28560
  });
28465
28561
  Toast.displayName = ToastPrimitives.Root.displayName;
28466
- var ToastAction = React62.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx90(
28562
+ var ToastAction = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx89(
28467
28563
  ToastPrimitives.Action,
28468
28564
  {
28469
28565
  ref,
@@ -28475,7 +28571,7 @@ var ToastAction = React62.forwardRef(({ className, ...props }, ref) => /* @__PUR
28475
28571
  }
28476
28572
  ));
28477
28573
  ToastAction.displayName = ToastPrimitives.Action.displayName;
28478
- var ToastClose = React62.forwardRef(({ className, onClick, ...props }, ref) => /* @__PURE__ */ jsx90(
28574
+ var ToastClose = React61.forwardRef(({ className, onClick, ...props }, ref) => /* @__PURE__ */ jsx89(
28479
28575
  ToastPrimitives.Close,
28480
28576
  {
28481
28577
  ref,
@@ -28489,39 +28585,39 @@ var ToastClose = React62.forwardRef(({ className, onClick, ...props }, ref) => /
28489
28585
  },
28490
28586
  "toast-close": "",
28491
28587
  ...props,
28492
- children: /* @__PURE__ */ jsx90(X8, { className: "h-4 w-4" })
28588
+ children: /* @__PURE__ */ jsx89(X8, { className: "h-4 w-4" })
28493
28589
  }
28494
28590
  ));
28495
28591
  ToastClose.displayName = ToastPrimitives.Close.displayName;
28496
- var ToastTitle = React62.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx90(ToastPrimitives.Title, { ref, className: cn("text-sm font-semibold", className), ...props }));
28592
+ var ToastTitle = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx89(ToastPrimitives.Title, { ref, className: cn("text-sm font-semibold", className), ...props }));
28497
28593
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
28498
- var ToastDescription = React62.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx90(ToastPrimitives.Description, { ref, className: cn("text-sm opacity-90", className), ...props }));
28594
+ var ToastDescription = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx89(ToastPrimitives.Description, { ref, className: cn("text-sm opacity-90", className), ...props }));
28499
28595
  ToastDescription.displayName = ToastPrimitives.Description.displayName;
28500
28596
 
28501
28597
  // src/components/ui/toaster.tsx
28502
- import { jsx as jsx91, jsxs as jsxs55 } from "react/jsx-runtime";
28598
+ import { jsx as jsx90, jsxs as jsxs54 } from "react/jsx-runtime";
28503
28599
  function Toaster2() {
28504
28600
  const { toasts } = useToast();
28505
- return /* @__PURE__ */ jsxs55(ToastProvider, { children: [
28601
+ return /* @__PURE__ */ jsxs54(ToastProvider, { children: [
28506
28602
  toasts.map(function({ id, title, description, action, ...props }) {
28507
- return /* @__PURE__ */ jsxs55(Toast, { ...props, children: [
28508
- /* @__PURE__ */ jsxs55("div", { className: "grid gap-1", children: [
28509
- title && /* @__PURE__ */ jsx91(ToastTitle, { children: title }),
28510
- description && /* @__PURE__ */ jsx91(ToastDescription, { children: description })
28603
+ return /* @__PURE__ */ jsxs54(Toast, { ...props, children: [
28604
+ /* @__PURE__ */ jsxs54("div", { className: "grid gap-1", children: [
28605
+ title && /* @__PURE__ */ jsx90(ToastTitle, { children: title }),
28606
+ description && /* @__PURE__ */ jsx90(ToastDescription, { children: description })
28511
28607
  ] }),
28512
28608
  action,
28513
- /* @__PURE__ */ jsx91(ToastClose, {})
28609
+ /* @__PURE__ */ jsx90(ToastClose, {})
28514
28610
  ] }, id);
28515
28611
  }),
28516
- /* @__PURE__ */ jsx91(ToastViewport, {})
28612
+ /* @__PURE__ */ jsx90(ToastViewport, {})
28517
28613
  ] });
28518
28614
  }
28519
28615
 
28520
28616
  // src/components/ui/toggle.tsx
28521
- import * as React63 from "react";
28617
+ import * as React62 from "react";
28522
28618
  import * as TogglePrimitive from "@radix-ui/react-toggle";
28523
28619
  import { cva as cva9 } from "class-variance-authority";
28524
- import { jsx as jsx92 } from "react/jsx-runtime";
28620
+ import { jsx as jsx91 } from "react/jsx-runtime";
28525
28621
  var toggleVariants = cva9(
28526
28622
  "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",
28527
28623
  {
@@ -28542,22 +28638,22 @@ var toggleVariants = cva9(
28542
28638
  }
28543
28639
  }
28544
28640
  );
28545
- var Toggle = React63.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx92(TogglePrimitive.Root, { ref, className: cn(toggleVariants({ variant, size, className })), ...props }));
28641
+ var Toggle = React62.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx91(TogglePrimitive.Root, { ref, className: cn(toggleVariants({ variant, size, className })), ...props }));
28546
28642
  Toggle.displayName = TogglePrimitive.Root.displayName;
28547
28643
 
28548
28644
  // src/components/ui/toggle-group.tsx
28549
- import * as React64 from "react";
28645
+ import * as React63 from "react";
28550
28646
  import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
28551
- import { jsx as jsx93 } from "react/jsx-runtime";
28552
- var ToggleGroupContext = React64.createContext({
28647
+ import { jsx as jsx92 } from "react/jsx-runtime";
28648
+ var ToggleGroupContext = React63.createContext({
28553
28649
  size: "default",
28554
28650
  variant: "default"
28555
28651
  });
28556
- var ToggleGroup = React64.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx93(ToggleGroupPrimitive.Root, { ref, className: cn("flex items-center justify-center gap-1", className), ...props, children: /* @__PURE__ */ jsx93(ToggleGroupContext.Provider, { value: { variant, size }, children }) }));
28652
+ var ToggleGroup = React63.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx92(ToggleGroupPrimitive.Root, { ref, className: cn("flex items-center justify-center gap-1", className), ...props, children: /* @__PURE__ */ jsx92(ToggleGroupContext.Provider, { value: { variant, size }, children }) }));
28557
28653
  ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
28558
- var ToggleGroupItem = React64.forwardRef(({ className, children, variant, size, ...props }, ref) => {
28559
- const context = React64.useContext(ToggleGroupContext);
28560
- return /* @__PURE__ */ jsx93(
28654
+ var ToggleGroupItem = React63.forwardRef(({ className, children, variant, size, ...props }, ref) => {
28655
+ const context = React63.useContext(ToggleGroupContext);
28656
+ return /* @__PURE__ */ jsx92(
28561
28657
  ToggleGroupPrimitive.Item,
28562
28658
  {
28563
28659
  ref,
@@ -28665,8 +28761,8 @@ var useLayoutModeControl = () => {
28665
28761
  };
28666
28762
 
28667
28763
  // src/lib/auth.tsx
28668
- import { createContext as createContext7, useCallback as useCallback12, useContext as useContext8, useEffect as useEffect26, useMemo as useMemo15, useRef as useRef13, useState as useState23 } from "react";
28669
- import { jsx as jsx94 } from "react/jsx-runtime";
28764
+ import { createContext as createContext7, useCallback as useCallback12, useContext as useContext9, useEffect as useEffect26, useMemo as useMemo15, useRef as useRef13, useState as useState23 } from "react";
28765
+ import { jsx as jsx93 } from "react/jsx-runtime";
28670
28766
  var STORAGE_KEYS = {
28671
28767
  accessToken: "cc_access_token",
28672
28768
  idToken: "cc_id_token",
@@ -29554,10 +29650,10 @@ var AuthProvider = ({ children }) => {
29554
29650
  }),
29555
29651
  [status, user, accessToken, login, logout, completeLogin, getAccessToken, presenceStatus, setPresenceStatus]
29556
29652
  );
29557
- return /* @__PURE__ */ jsx94(AuthContext.Provider, { value, children });
29653
+ return /* @__PURE__ */ jsx93(AuthContext.Provider, { value, children });
29558
29654
  };
29559
29655
  var useAuth = () => {
29560
- const ctx = useContext8(AuthContext);
29656
+ const ctx = useContext9(AuthContext);
29561
29657
  if (!ctx) {
29562
29658
  throw new Error("useAuth deve ser usado dentro de AuthProvider.");
29563
29659
  }
@@ -29712,6 +29808,7 @@ export {
29712
29808
  DropdownMenuSubContent,
29713
29809
  DropdownMenuSubTrigger,
29714
29810
  DropdownMenuTrigger,
29811
+ EXPERIENCE_SETTINGS_STORAGE_KEY,
29715
29812
  EmptyState,
29716
29813
  ErrorBoundary,
29717
29814
  Eyebrow,
@@ -29735,6 +29832,7 @@ export {
29735
29832
  InputOTPSlot,
29736
29833
  JellyButton,
29737
29834
  JellyButtonOriginal,
29835
+ LEGACY_THEME_STORAGE_KEY,
29738
29836
  Label4 as Label,
29739
29837
  LoadingScreen,
29740
29838
  LoadingSpinner,
@@ -29851,6 +29949,9 @@ export {
29851
29949
  Toaster as SonnerToaster,
29852
29950
  Switch,
29853
29951
  SwitchField,
29952
+ THEME_PREFERENCE_CHANGE_EVENT,
29953
+ THEME_PREFERENCE_STORAGE_KEY,
29954
+ THEME_STORAGE_KEY,
29854
29955
  Table,
29855
29956
  TableBody,
29856
29957
  TableCaption,
@@ -29920,12 +30021,20 @@ export {
29920
30021
  getSupabase,
29921
30022
  getSupabasePublic,
29922
30023
  isRuntimeDev,
30024
+ isStoredThemeMode,
29923
30025
  navigationMenuTriggerStyle,
30026
+ normalizeStoredThemePreference,
29924
30027
  parseAssetId,
30028
+ parseStoredThemePreference,
30029
+ persistThemePreferenceSelection,
29925
30030
  readStoredLayoutMode,
30031
+ readStoredThemeMode,
29926
30032
  reducer,
30033
+ resolveAppliedThemeMode,
29927
30034
  resolveCupcodeAppVersion,
29928
30035
  resolveOidcEndpoints,
30036
+ resolveStoredThemePreference,
30037
+ resolveSystemThemeMode,
29929
30038
  resolveTelescupImageURL,
29930
30039
  responsiveSizeClasses,
29931
30040
  setCupcodeRuntimeEnv,