@mlw-packages/react-components 1.7.6 → 1.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -2246,67 +2246,80 @@ var Highlights = ({
2246
2246
  initial: "hidden",
2247
2247
  animate: "visible",
2248
2248
  exit: "exit",
2249
- children: /* @__PURE__ */ jsx21(
2250
- ButtonBase,
2251
- {
2252
- asChild: true,
2253
- variant: "ghost",
2254
- onClick: () => toggleHighlight(k),
2255
- title: isHighlighted ? `Desativar ${label}` : `Ativar ${label}`,
2256
- className: pillClasses,
2257
- style: { minWidth: showFullLabel ? void 0 : 36 },
2258
- "aria-pressed": isHighlighted,
2259
- children: /* @__PURE__ */ jsxs16(
2260
- motion8.button,
2261
- {
2262
- whileHover: { scale: isHighlighted ? 1.04 : 1.03 },
2263
- whileTap: { scale: 0.96 },
2264
- animate: isHighlighted ? { scale: 1.02 } : { scale: 1 },
2265
- className: "flex items-center gap-2 min-w-0 pr-2",
2266
- children: [
2267
- /* @__PURE__ */ jsx21(
2268
- motion8.span,
2269
- {
2270
- className: cn("w-3 h-3 rounded-sm flex-shrink-0 border"),
2271
- style: {
2272
- backgroundColor: color,
2273
- borderColor: isHighlighted ? color : "transparent",
2274
- boxShadow: isHighlighted ? `0 6px 20px ${color}33` : void 0
2275
- },
2276
- layout: true,
2277
- initial: { scale: 0.8, opacity: 0.9 },
2278
- animate: { scale: 1, opacity: 1 },
2279
- transition: { type: "spring", stiffness: 400, damping: 30 }
2280
- }
2281
- ),
2282
- showFullLabel ? /* @__PURE__ */ jsx21(motion8.span, { className: "truncate max-w-[10rem] pr-2", layout: true, children: label }) : showShortLabel ? /* @__PURE__ */ jsx21(
2283
- motion8.span,
2284
- {
2285
- className: "truncate max-w-[6rem] text-xs pr-2",
2286
- layout: true,
2287
- children: label
2288
- }
2289
- ) : null,
2290
- /* @__PURE__ */ jsx21(
2291
- motion8.span,
2292
- {
2293
- "aria-hidden": true,
2294
- initial: { opacity: 0, scale: 0.6 },
2295
- animate: isHighlighted ? { opacity: 1, scale: 1 } : { opacity: 0, scale: 0.6 },
2296
- transition: { type: "spring", stiffness: 450, damping: 28 },
2297
- className: cn(
2298
- "pointer-events-none absolute right-2 -translate-y-1/2 text-xs text-foreground flex items-center justify-center",
2299
- isHighlighted ? "" : "opacity-0 pointer-events-none"
2300
- ),
2301
- style: { width: 18, height: 18 },
2302
- children: /* @__PURE__ */ jsx21(CheckIcon5, {})
2249
+ children: (() => {
2250
+ const MotionButtonBase = motion8(
2251
+ ButtonBase
2252
+ );
2253
+ return /* @__PURE__ */ jsxs16(
2254
+ MotionButtonBase,
2255
+ {
2256
+ variant: "ghost",
2257
+ onClick: () => toggleHighlight(k),
2258
+ title: isHighlighted ? `Desativar ${label}` : `Ativar ${label}`,
2259
+ className: pillClasses,
2260
+ style: { minWidth: showFullLabel ? void 0 : 36 },
2261
+ "aria-pressed": isHighlighted,
2262
+ whileHover: { scale: isHighlighted ? 1.04 : 1.03 },
2263
+ whileTap: { scale: 0.96 },
2264
+ animate: isHighlighted ? { scale: 1.02 } : { scale: 1 },
2265
+ children: [
2266
+ /* @__PURE__ */ jsx21(
2267
+ motion8.span,
2268
+ {
2269
+ className: cn("w-3 h-3 rounded-sm flex-shrink-0 border"),
2270
+ style: {
2271
+ backgroundColor: color,
2272
+ borderColor: isHighlighted ? color : "transparent",
2273
+ boxShadow: isHighlighted ? `0 6px 20px ${color}33` : void 0
2274
+ },
2275
+ layout: true,
2276
+ initial: { scale: 0.8, opacity: 0.9 },
2277
+ animate: { scale: 1, opacity: 1 },
2278
+ transition: {
2279
+ type: "spring",
2280
+ stiffness: 400,
2281
+ damping: 30
2303
2282
  }
2304
- )
2305
- ]
2306
- }
2307
- )
2308
- }
2309
- )
2283
+ }
2284
+ ),
2285
+ showFullLabel ? /* @__PURE__ */ jsx21(
2286
+ motion8.span,
2287
+ {
2288
+ className: "truncate max-w-[10rem] pr-2",
2289
+ layout: true,
2290
+ children: label
2291
+ }
2292
+ ) : showShortLabel ? /* @__PURE__ */ jsx21(
2293
+ motion8.span,
2294
+ {
2295
+ className: "truncate max-w-[6rem] text-xs pr-2",
2296
+ layout: true,
2297
+ children: label
2298
+ }
2299
+ ) : null,
2300
+ /* @__PURE__ */ jsx21(
2301
+ motion8.span,
2302
+ {
2303
+ "aria-hidden": true,
2304
+ initial: { opacity: 0, scale: 0.6 },
2305
+ animate: isHighlighted ? { opacity: 1, scale: 1 } : { opacity: 0, scale: 0.6 },
2306
+ transition: {
2307
+ type: "spring",
2308
+ stiffness: 450,
2309
+ damping: 28
2310
+ },
2311
+ className: cn(
2312
+ "pointer-events-none absolute right-2 -translate-y-1/2 text-xs text-foreground flex items-center justify-center",
2313
+ isHighlighted ? "" : "opacity-0 pointer-events-none"
2314
+ ),
2315
+ style: { width: 18, height: 18 },
2316
+ children: /* @__PURE__ */ jsx21(CheckIcon5, {})
2317
+ }
2318
+ )
2319
+ ]
2320
+ }
2321
+ );
2322
+ })()
2310
2323
  },
2311
2324
  `pill-${k}`
2312
2325
  );
@@ -5641,7 +5654,7 @@ var AvatarFallbackBase = React16.forwardRef(({ className, ...props }, ref) => /*
5641
5654
  ));
5642
5655
  AvatarFallbackBase.displayName = AvatarPrimitive.Fallback.displayName;
5643
5656
 
5644
- // src/components/ui/data/BadgeBase.tsx
5657
+ // src/components/ui/data/Badge.tsx
5645
5658
  import { Slot as Slot3 } from "@radix-ui/react-slot";
5646
5659
  import { cva as cva2 } from "class-variance-authority";
5647
5660
  import { jsx as jsx32 } from "react/jsx-runtime";
@@ -5660,7 +5673,7 @@ var badgeVariants = cva2(
5660
5673
  }
5661
5674
  }
5662
5675
  );
5663
- function BadgeBase({
5676
+ function Badge({
5664
5677
  className,
5665
5678
  color,
5666
5679
  size = "md",
@@ -7157,64 +7170,78 @@ var CollapsibleContentBase = React25.forwardRef(({ className, children, ...props
7157
7170
  ),
7158
7171
  "data-slot": "collapsible-content",
7159
7172
  ...props,
7160
- children: /* @__PURE__ */ jsx44("div", { className: "pb-3 pt-1", children })
7173
+ children: /* @__PURE__ */ jsx44("div", { children })
7161
7174
  }
7162
7175
  );
7163
7176
  });
7164
7177
  CollapsibleContentBase.displayName = CollapsiblePrimitive.CollapsibleContent.displayName;
7165
7178
 
7166
- // src/components/ui/form/DebounceInput.tsx
7167
- import { useEffect as useEffect10, useState as useState11 } from "react";
7168
- import { CircleNotchIcon as CircleNotchIcon2 } from "@phosphor-icons/react";
7169
- import { jsx as jsx45 } from "react/jsx-runtime";
7170
-
7171
7179
  // src/components/ui/form/HoverCardBase.tsx
7180
+ import * as React26 from "react";
7172
7181
  import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
7173
- import { jsx as jsx46 } from "react/jsx-runtime";
7182
+ import { jsx as jsx45, jsxs as jsxs33 } from "react/jsx-runtime";
7174
7183
  function HoverCardBase(props) {
7175
- return /* @__PURE__ */ jsx46(HoverCardPrimitive.Root, { ...props });
7184
+ return /* @__PURE__ */ jsx45(HoverCardPrimitive.Root, { ...props });
7176
7185
  }
7177
7186
  function HoverCardTriggerBase(props) {
7178
- return /* @__PURE__ */ jsx46(HoverCardPrimitive.Trigger, { ...props });
7179
- }
7180
- function HoverCardContentBase({
7181
- className,
7182
- align = "center",
7183
- sideOffset = 4,
7184
- ...props
7185
- }) {
7186
- return /* @__PURE__ */ jsx46(HoverCardPrimitive.Portal, { children: /* @__PURE__ */ jsx46(
7187
- HoverCardPrimitive.Content,
7188
- {
7189
- align,
7190
- sideOffset,
7191
- className: cn(
7192
- "z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none",
7193
- "data-[state=open]:animate-in data-[state=closed]:animate-out",
7194
- "data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",
7195
- "data-[state=open]:zoom-in-95 data-[state=closed]:zoom-out-95",
7196
- "data-[side=bottom]:slide-in-from-top-2",
7197
- "data-[side=left]:slide-in-from-right-2",
7198
- "data-[side=right]:slide-in-from-left-2",
7199
- "data-[side=top]:slide-in-from-bottom-2",
7200
- className
7201
- ),
7202
- ...props
7203
- }
7204
- ) });
7187
+ return /* @__PURE__ */ jsx45(HoverCardPrimitive.Trigger, { ...props });
7205
7188
  }
7189
+ var HoverCardContentBase = React26.forwardRef(
7190
+ ({ className, align = "center", sideOffset = 6, children, ...props }, ref) => {
7191
+ return /* @__PURE__ */ jsx45(HoverCardPrimitive.Portal, { children: /* @__PURE__ */ jsxs33(
7192
+ HoverCardPrimitive.Content,
7193
+ {
7194
+ ref,
7195
+ align,
7196
+ sideOffset,
7197
+ className: cn(
7198
+ "z-50 w-64 max-w-[90vw] rounded-lg border bg-popover p-4 text-popover-foreground shadow-lg outline-none backdrop-blur-sm relative transform-gpu",
7199
+ "motion-safe:transition-all motion-safe:duration-200 motion-safe:ease-out",
7200
+ "motion-reduce:transition-none motion-reduce:transform-none",
7201
+ "data-[state=open]:scale-100 data-[state=closed]:scale-95",
7202
+ "data-[state=open]:shadow-2xl data-[state=closed]:shadow-lg",
7203
+ "data-[state=open]:animate-in data-[state=closed]:animate-out",
7204
+ "data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",
7205
+ "data-[state=open]:zoom-in-95 data-[state=closed]:zoom-out-95",
7206
+ "data-[side=bottom]:origin-top data-[side=top]:origin-bottom data-[side=left]:origin-right data-[side=right]:origin-left",
7207
+ "data-[side=bottom]:slide-in-from-top-2",
7208
+ "data-[side=left]:slide-in-from-right-2",
7209
+ "data-[side=right]:slide-in-from-left-2",
7210
+ "data-[side=top]:slide-in-from-bottom-2",
7211
+ className
7212
+ ),
7213
+ ...props,
7214
+ children: [
7215
+ /* @__PURE__ */ jsx45(
7216
+ HoverCardPrimitive.Arrow,
7217
+ {
7218
+ className: cn(
7219
+ "fill-popover stroke-[rgba(0,0,0,0.06)] dark:stroke-[rgba(255,255,255,0.06)]",
7220
+ "motion-safe:transition-transform motion-safe:duration-200",
7221
+ // subtle arrow nudge depending on side
7222
+ "data-[side=top]:-translate-y-1 data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1"
7223
+ )
7224
+ }
7225
+ ),
7226
+ /* @__PURE__ */ jsx45("div", { className: "relative z-10", children })
7227
+ ]
7228
+ }
7229
+ ) });
7230
+ }
7231
+ );
7232
+ HoverCardContentBase.displayName = HoverCardPrimitive.Content.displayName;
7206
7233
 
7207
7234
  // src/components/ui/form/Input-OTP-Base.tsx
7208
- import * as React26 from "react";
7235
+ import * as React27 from "react";
7209
7236
  import { OTPInput, OTPInputContext } from "input-otp";
7210
7237
  import { MinusIcon } from "@phosphor-icons/react";
7211
- import { jsx as jsx47, jsxs as jsxs33 } from "react/jsx-runtime";
7238
+ import { jsx as jsx46, jsxs as jsxs34 } from "react/jsx-runtime";
7212
7239
  function InputOTPBase({
7213
7240
  className,
7214
7241
  containerClassName,
7215
7242
  ...props
7216
7243
  }) {
7217
- return /* @__PURE__ */ jsx47(
7244
+ return /* @__PURE__ */ jsx46(
7218
7245
  OTPInput,
7219
7246
  {
7220
7247
  "data-slot": "input-otp",
@@ -7228,7 +7255,7 @@ function InputOTPBase({
7228
7255
  );
7229
7256
  }
7230
7257
  function InputOTPGroupBase({ className, ...props }) {
7231
- return /* @__PURE__ */ jsx47(
7258
+ return /* @__PURE__ */ jsx46(
7232
7259
  "div",
7233
7260
  {
7234
7261
  "data-slot": "input-otp-group",
@@ -7242,9 +7269,9 @@ function InputOTPSlotBase({
7242
7269
  className,
7243
7270
  ...props
7244
7271
  }) {
7245
- const inputOTPContext = React26.useContext(OTPInputContext);
7272
+ const inputOTPContext = React27.useContext(OTPInputContext);
7246
7273
  const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {};
7247
- return /* @__PURE__ */ jsxs33(
7274
+ return /* @__PURE__ */ jsxs34(
7248
7275
  "div",
7249
7276
  {
7250
7277
  "data-slot": "input-otp-slot",
@@ -7256,20 +7283,20 @@ function InputOTPSlotBase({
7256
7283
  ...props,
7257
7284
  children: [
7258
7285
  char,
7259
- hasFakeCaret && /* @__PURE__ */ jsx47("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx47("div", { className: "animate-caret-blink bg-foreground h-4 w-px duration-1000" }) })
7286
+ hasFakeCaret && /* @__PURE__ */ jsx46("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx46("div", { className: "animate-caret-blink bg-foreground h-4 w-px duration-1000" }) })
7260
7287
  ]
7261
7288
  }
7262
7289
  );
7263
7290
  }
7264
7291
  function InputOTPSeparatorBase({ ...props }) {
7265
- return /* @__PURE__ */ jsx47("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ jsx47(MinusIcon, {}) });
7292
+ return /* @__PURE__ */ jsx46("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ jsx46(MinusIcon, {}) });
7266
7293
  }
7267
7294
 
7268
7295
  // src/components/ui/form/SliderBase.tsx
7269
- import * as React27 from "react";
7296
+ import * as React28 from "react";
7270
7297
  import * as SliderPrimitive from "@radix-ui/react-slider";
7271
- import { jsx as jsx48, jsxs as jsxs34 } from "react/jsx-runtime";
7272
- var SlideBase = React27.forwardRef(
7298
+ import { jsx as jsx47, jsxs as jsxs35 } from "react/jsx-runtime";
7299
+ var SlideBase = React28.forwardRef(
7273
7300
  ({
7274
7301
  className,
7275
7302
  orientation = "horizontal",
@@ -7279,13 +7306,13 @@ var SlideBase = React27.forwardRef(
7279
7306
  ...props
7280
7307
  }, ref) => {
7281
7308
  const isVertical = orientation === "vertical";
7282
- return /* @__PURE__ */ jsxs34(
7309
+ return /* @__PURE__ */ jsxs35(
7283
7310
  "div",
7284
7311
  {
7285
7312
  className: cn("flex flex-col gap-1", isVertical ? "h-full " : "w-full"),
7286
7313
  children: [
7287
- label && /* @__PURE__ */ jsx48(LabelBase_default, { className: "py-2", children: label }),
7288
- /* @__PURE__ */ jsxs34(
7314
+ label && /* @__PURE__ */ jsx47(LabelBase_default, { className: "py-2", children: label }),
7315
+ /* @__PURE__ */ jsxs35(
7289
7316
  "div",
7290
7317
  {
7291
7318
  className: cn(
@@ -7293,8 +7320,8 @@ var SlideBase = React27.forwardRef(
7293
7320
  isVertical ? "flex-col h-full" : "flex-row items-center w-full"
7294
7321
  ),
7295
7322
  children: [
7296
- leftIcon && /* @__PURE__ */ jsx48("div", { className: "flex items-center justify-center", children: leftIcon }),
7297
- /* @__PURE__ */ jsxs34(
7323
+ leftIcon && /* @__PURE__ */ jsx47("div", { className: "flex items-center justify-center", children: leftIcon }),
7324
+ /* @__PURE__ */ jsxs35(
7298
7325
  SliderPrimitive.Root,
7299
7326
  {
7300
7327
  ref,
@@ -7306,14 +7333,14 @@ var SlideBase = React27.forwardRef(
7306
7333
  ),
7307
7334
  ...props,
7308
7335
  children: [
7309
- /* @__PURE__ */ jsx48(
7336
+ /* @__PURE__ */ jsx47(
7310
7337
  SliderPrimitive.Track,
7311
7338
  {
7312
7339
  className: cn(
7313
7340
  "relative overflow-hidden bg-primary/20 rounded-full",
7314
7341
  isVertical ? "w-1.5 h-full" : "h-1.5 w-full"
7315
7342
  ),
7316
- children: /* @__PURE__ */ jsx48(
7343
+ children: /* @__PURE__ */ jsx47(
7317
7344
  SliderPrimitive.Range,
7318
7345
  {
7319
7346
  className: cn(
@@ -7324,7 +7351,7 @@ var SlideBase = React27.forwardRef(
7324
7351
  )
7325
7352
  }
7326
7353
  ),
7327
- /* @__PURE__ */ jsx48(
7354
+ /* @__PURE__ */ jsx47(
7328
7355
  SliderPrimitive.Thumb,
7329
7356
  {
7330
7357
  className: cn(
@@ -7337,7 +7364,7 @@ var SlideBase = React27.forwardRef(
7337
7364
  ]
7338
7365
  }
7339
7366
  ),
7340
- rightIcon && /* @__PURE__ */ jsx48("div", { className: "flex items-center justify-center", children: rightIcon })
7367
+ rightIcon && /* @__PURE__ */ jsx47("div", { className: "flex items-center justify-center", children: rightIcon })
7341
7368
  ]
7342
7369
  }
7343
7370
  )
@@ -7349,7 +7376,7 @@ var SlideBase = React27.forwardRef(
7349
7376
  SlideBase.displayName = "SlideBase";
7350
7377
 
7351
7378
  // src/components/ui/form/SmallButtons.tsx
7352
- import * as React28 from "react";
7379
+ import * as React29 from "react";
7353
7380
  import {
7354
7381
  PencilSimpleIcon,
7355
7382
  FloppyDiskIcon,
@@ -7374,8 +7401,8 @@ import {
7374
7401
  LockOpenIcon,
7375
7402
  ArrowsLeftRightIcon
7376
7403
  } from "@phosphor-icons/react";
7377
- import { jsx as jsx49 } from "react/jsx-runtime";
7378
- var EditButton = React28.forwardRef(
7404
+ import { jsx as jsx48 } from "react/jsx-runtime";
7405
+ var EditButton = React29.forwardRef(
7379
7406
  ({
7380
7407
  disabled,
7381
7408
  onClick,
@@ -7386,7 +7413,7 @@ var EditButton = React28.forwardRef(
7386
7413
  variant = "default",
7387
7414
  size = "icon",
7388
7415
  ...props
7389
- }, ref) => /* @__PURE__ */ jsx49(
7416
+ }, ref) => /* @__PURE__ */ jsx48(
7390
7417
  ButtonBase,
7391
7418
  {
7392
7419
  ref,
@@ -7403,7 +7430,7 @@ var EditButton = React28.forwardRef(
7403
7430
  className
7404
7431
  ),
7405
7432
  ...props,
7406
- children: /* @__PURE__ */ jsx49(
7433
+ children: /* @__PURE__ */ jsx48(
7407
7434
  PencilSimpleIcon,
7408
7435
  {
7409
7436
  size: iconSize,
@@ -7415,7 +7442,7 @@ var EditButton = React28.forwardRef(
7415
7442
  )
7416
7443
  );
7417
7444
  EditButton.displayName = "EditButton";
7418
- var ChangeButton = React28.forwardRef(
7445
+ var ChangeButton = React29.forwardRef(
7419
7446
  ({
7420
7447
  disabled,
7421
7448
  onClick,
@@ -7426,7 +7453,7 @@ var ChangeButton = React28.forwardRef(
7426
7453
  variant = "default",
7427
7454
  size = "icon",
7428
7455
  ...props
7429
- }, ref) => /* @__PURE__ */ jsx49(
7456
+ }, ref) => /* @__PURE__ */ jsx48(
7430
7457
  ButtonBase,
7431
7458
  {
7432
7459
  ref,
@@ -7443,7 +7470,7 @@ var ChangeButton = React28.forwardRef(
7443
7470
  className
7444
7471
  ),
7445
7472
  ...props,
7446
- children: /* @__PURE__ */ jsx49(
7473
+ children: /* @__PURE__ */ jsx48(
7447
7474
  ArrowsLeftRightIcon,
7448
7475
  {
7449
7476
  size: iconSize,
@@ -7455,7 +7482,7 @@ var ChangeButton = React28.forwardRef(
7455
7482
  )
7456
7483
  );
7457
7484
  ChangeButton.displayName = "ChangeButton";
7458
- var SaveButton = React28.forwardRef(
7485
+ var SaveButton = React29.forwardRef(
7459
7486
  ({
7460
7487
  disabled,
7461
7488
  onClick,
@@ -7466,7 +7493,7 @@ var SaveButton = React28.forwardRef(
7466
7493
  variant = "default",
7467
7494
  size = "icon",
7468
7495
  ...props
7469
- }, ref) => /* @__PURE__ */ jsx49(
7496
+ }, ref) => /* @__PURE__ */ jsx48(
7470
7497
  ButtonBase,
7471
7498
  {
7472
7499
  ref,
@@ -7483,7 +7510,7 @@ var SaveButton = React28.forwardRef(
7483
7510
  className
7484
7511
  ),
7485
7512
  ...props,
7486
- children: /* @__PURE__ */ jsx49(
7513
+ children: /* @__PURE__ */ jsx48(
7487
7514
  FloppyDiskIcon,
7488
7515
  {
7489
7516
  size: iconSize,
@@ -7495,7 +7522,7 @@ var SaveButton = React28.forwardRef(
7495
7522
  )
7496
7523
  );
7497
7524
  SaveButton.displayName = "SaveButton";
7498
- var AddButton = React28.forwardRef(
7525
+ var AddButton = React29.forwardRef(
7499
7526
  ({
7500
7527
  disabled,
7501
7528
  onClick,
@@ -7506,7 +7533,7 @@ var AddButton = React28.forwardRef(
7506
7533
  variant = "default",
7507
7534
  size = "icon",
7508
7535
  ...props
7509
- }, ref) => /* @__PURE__ */ jsx49(
7536
+ }, ref) => /* @__PURE__ */ jsx48(
7510
7537
  ButtonBase,
7511
7538
  {
7512
7539
  ref,
@@ -7523,7 +7550,7 @@ var AddButton = React28.forwardRef(
7523
7550
  className
7524
7551
  ),
7525
7552
  ...props,
7526
- children: /* @__PURE__ */ jsx49(
7553
+ children: /* @__PURE__ */ jsx48(
7527
7554
  PlusIcon2,
7528
7555
  {
7529
7556
  size: iconSize,
@@ -7535,7 +7562,7 @@ var AddButton = React28.forwardRef(
7535
7562
  )
7536
7563
  );
7537
7564
  AddButton.displayName = "AddButton";
7538
- var CloseButton = React28.forwardRef(
7565
+ var CloseButton = React29.forwardRef(
7539
7566
  ({
7540
7567
  disabled,
7541
7568
  onClick,
@@ -7546,7 +7573,7 @@ var CloseButton = React28.forwardRef(
7546
7573
  variant = "ghost",
7547
7574
  size = "icon",
7548
7575
  ...props
7549
- }, ref) => /* @__PURE__ */ jsx49(
7576
+ }, ref) => /* @__PURE__ */ jsx48(
7550
7577
  ButtonBase,
7551
7578
  {
7552
7579
  ref,
@@ -7563,7 +7590,7 @@ var CloseButton = React28.forwardRef(
7563
7590
  className
7564
7591
  ),
7565
7592
  ...props,
7566
- children: /* @__PURE__ */ jsx49(
7593
+ children: /* @__PURE__ */ jsx48(
7567
7594
  XIcon7,
7568
7595
  {
7569
7596
  size: iconSize,
@@ -7580,7 +7607,7 @@ var DownloadButton = ({
7580
7607
  onClick,
7581
7608
  testid = "button-download",
7582
7609
  ...props
7583
- }) => /* @__PURE__ */ jsx49(
7610
+ }) => /* @__PURE__ */ jsx48(
7584
7611
  ButtonBase,
7585
7612
  {
7586
7613
  variant: "outline",
@@ -7595,7 +7622,7 @@ var DownloadButton = ({
7595
7622
  "disabled:hover:scale-100"
7596
7623
  ),
7597
7624
  ...props,
7598
- children: /* @__PURE__ */ jsx49(
7625
+ children: /* @__PURE__ */ jsx48(
7599
7626
  DownloadSimpleIcon,
7600
7627
  {
7601
7628
  size: 18,
@@ -7609,7 +7636,7 @@ var UploadButton = ({
7609
7636
  onClick,
7610
7637
  testid = "button-upload",
7611
7638
  ...props
7612
- }) => /* @__PURE__ */ jsx49(
7639
+ }) => /* @__PURE__ */ jsx48(
7613
7640
  ButtonBase,
7614
7641
  {
7615
7642
  variant: "outline",
@@ -7624,7 +7651,7 @@ var UploadButton = ({
7624
7651
  "disabled:hover:scale-100"
7625
7652
  ),
7626
7653
  ...props,
7627
- children: /* @__PURE__ */ jsx49(
7654
+ children: /* @__PURE__ */ jsx48(
7628
7655
  UploadSimpleIcon,
7629
7656
  {
7630
7657
  size: 18,
@@ -7638,7 +7665,7 @@ var CopyButton = ({
7638
7665
  onClick,
7639
7666
  testid = "button-copy",
7640
7667
  ...props
7641
- }) => /* @__PURE__ */ jsx49(
7668
+ }) => /* @__PURE__ */ jsx48(
7642
7669
  ButtonBase,
7643
7670
  {
7644
7671
  variant: "ghost",
@@ -7653,7 +7680,7 @@ var CopyButton = ({
7653
7680
  "disabled:hover:scale-100"
7654
7681
  ),
7655
7682
  ...props,
7656
- children: /* @__PURE__ */ jsx49(
7683
+ children: /* @__PURE__ */ jsx48(
7657
7684
  CopyIcon,
7658
7685
  {
7659
7686
  size: 18,
@@ -7667,7 +7694,7 @@ var RefreshButton = ({
7667
7694
  onClick,
7668
7695
  testid = "button-refresh",
7669
7696
  ...props
7670
- }) => /* @__PURE__ */ jsx49(
7697
+ }) => /* @__PURE__ */ jsx48(
7671
7698
  ButtonBase,
7672
7699
  {
7673
7700
  variant: "ghost",
@@ -7682,7 +7709,7 @@ var RefreshButton = ({
7682
7709
  "disabled:hover:scale-100"
7683
7710
  ),
7684
7711
  ...props,
7685
- children: /* @__PURE__ */ jsx49(
7712
+ children: /* @__PURE__ */ jsx48(
7686
7713
  ArrowClockwiseIcon,
7687
7714
  {
7688
7715
  size: 18,
@@ -7696,7 +7723,7 @@ var SearchButton = ({
7696
7723
  onClick,
7697
7724
  testid = "button-search",
7698
7725
  ...props
7699
- }) => /* @__PURE__ */ jsx49(
7726
+ }) => /* @__PURE__ */ jsx48(
7700
7727
  ButtonBase,
7701
7728
  {
7702
7729
  variant: "outline",
@@ -7711,7 +7738,7 @@ var SearchButton = ({
7711
7738
  "disabled:hover:scale-100"
7712
7739
  ),
7713
7740
  ...props,
7714
- children: /* @__PURE__ */ jsx49(
7741
+ children: /* @__PURE__ */ jsx48(
7715
7742
  MagnifyingGlassIcon2,
7716
7743
  {
7717
7744
  size: 18,
@@ -7725,7 +7752,7 @@ var BackButton = ({
7725
7752
  onClick,
7726
7753
  testid = "button-back",
7727
7754
  ...props
7728
- }) => /* @__PURE__ */ jsx49(
7755
+ }) => /* @__PURE__ */ jsx48(
7729
7756
  ButtonBase,
7730
7757
  {
7731
7758
  variant: "ghost",
@@ -7740,7 +7767,7 @@ var BackButton = ({
7740
7767
  "disabled:hover:scale-100"
7741
7768
  ),
7742
7769
  ...props,
7743
- children: /* @__PURE__ */ jsx49(
7770
+ children: /* @__PURE__ */ jsx48(
7744
7771
  ArrowLeftIcon,
7745
7772
  {
7746
7773
  size: 18,
@@ -7754,7 +7781,7 @@ var SettingsButton = ({
7754
7781
  onClick,
7755
7782
  testid = "button-settings",
7756
7783
  ...props
7757
- }) => /* @__PURE__ */ jsx49(
7784
+ }) => /* @__PURE__ */ jsx48(
7758
7785
  ButtonBase,
7759
7786
  {
7760
7787
  variant: "ghost",
@@ -7769,7 +7796,7 @@ var SettingsButton = ({
7769
7796
  "disabled:hover:scale-100"
7770
7797
  ),
7771
7798
  ...props,
7772
- children: /* @__PURE__ */ jsx49(
7799
+ children: /* @__PURE__ */ jsx48(
7773
7800
  GearIcon,
7774
7801
  {
7775
7802
  size: 18,
@@ -7783,7 +7810,7 @@ var NotificationButton = ({
7783
7810
  onClick,
7784
7811
  testid = "button-notification",
7785
7812
  ...props
7786
- }) => /* @__PURE__ */ jsx49(
7813
+ }) => /* @__PURE__ */ jsx48(
7787
7814
  ButtonBase,
7788
7815
  {
7789
7816
  variant: "ghost",
@@ -7798,7 +7825,7 @@ var NotificationButton = ({
7798
7825
  "disabled:hover:scale-100"
7799
7826
  ),
7800
7827
  ...props,
7801
- children: /* @__PURE__ */ jsx49(
7828
+ children: /* @__PURE__ */ jsx48(
7802
7829
  BellIcon,
7803
7830
  {
7804
7831
  size: 18,
@@ -7812,7 +7839,7 @@ var MoreButton = ({
7812
7839
  onClick,
7813
7840
  testid = "button-more",
7814
7841
  ...props
7815
- }) => /* @__PURE__ */ jsx49(
7842
+ }) => /* @__PURE__ */ jsx48(
7816
7843
  ButtonBase,
7817
7844
  {
7818
7845
  variant: "ghost",
@@ -7827,7 +7854,7 @@ var MoreButton = ({
7827
7854
  "disabled:hover:scale-100"
7828
7855
  ),
7829
7856
  ...props,
7830
- children: /* @__PURE__ */ jsx49(
7857
+ children: /* @__PURE__ */ jsx48(
7831
7858
  DotsThreeIcon2,
7832
7859
  {
7833
7860
  size: 18,
@@ -7841,7 +7868,7 @@ var CheckButton = ({
7841
7868
  onClick,
7842
7869
  testid = "button-check",
7843
7870
  ...props
7844
- }) => /* @__PURE__ */ jsx49(
7871
+ }) => /* @__PURE__ */ jsx48(
7845
7872
  ButtonBase,
7846
7873
  {
7847
7874
  variant: "default",
@@ -7856,7 +7883,7 @@ var CheckButton = ({
7856
7883
  "disabled:hover:scale-100"
7857
7884
  ),
7858
7885
  ...props,
7859
- children: /* @__PURE__ */ jsx49(
7886
+ children: /* @__PURE__ */ jsx48(
7860
7887
  CheckIcon8,
7861
7888
  {
7862
7889
  size: 18,
@@ -7876,7 +7903,7 @@ var FilterButton = ({
7876
7903
  variant,
7877
7904
  size = "icon",
7878
7905
  ...props
7879
- }) => /* @__PURE__ */ jsx49(
7906
+ }) => /* @__PURE__ */ jsx48(
7880
7907
  ButtonBase,
7881
7908
  {
7882
7909
  variant: variant || (active ? "default" : "outline"),
@@ -7892,7 +7919,7 @@ var FilterButton = ({
7892
7919
  className
7893
7920
  ),
7894
7921
  ...props,
7895
- children: /* @__PURE__ */ jsx49(
7922
+ children: /* @__PURE__ */ jsx48(
7896
7923
  FunnelIcon,
7897
7924
  {
7898
7925
  size: iconSize,
@@ -7914,7 +7941,7 @@ var LikeButton = ({
7914
7941
  variant = "ghost",
7915
7942
  size = "icon",
7916
7943
  ...props
7917
- }) => /* @__PURE__ */ jsx49(
7944
+ }) => /* @__PURE__ */ jsx48(
7918
7945
  ButtonBase,
7919
7946
  {
7920
7947
  variant,
@@ -7931,7 +7958,7 @@ var LikeButton = ({
7931
7958
  className
7932
7959
  ),
7933
7960
  ...props,
7934
- children: /* @__PURE__ */ jsx49(
7961
+ children: /* @__PURE__ */ jsx48(
7935
7962
  HeartIcon,
7936
7963
  {
7937
7964
  size: iconSize,
@@ -7953,7 +7980,7 @@ var FavoriteButton = ({
7953
7980
  variant = "ghost",
7954
7981
  size = "icon",
7955
7982
  ...props
7956
- }) => /* @__PURE__ */ jsx49(
7983
+ }) => /* @__PURE__ */ jsx48(
7957
7984
  ButtonBase,
7958
7985
  {
7959
7986
  variant,
@@ -7970,7 +7997,7 @@ var FavoriteButton = ({
7970
7997
  className
7971
7998
  ),
7972
7999
  ...props,
7973
- children: /* @__PURE__ */ jsx49(
8000
+ children: /* @__PURE__ */ jsx48(
7974
8001
  StarIcon,
7975
8002
  {
7976
8003
  size: iconSize,
@@ -7992,7 +8019,7 @@ var VisibilityButton = ({
7992
8019
  variant = "ghost",
7993
8020
  size = "icon",
7994
8021
  ...props
7995
- }) => /* @__PURE__ */ jsx49(
8022
+ }) => /* @__PURE__ */ jsx48(
7996
8023
  ButtonBase,
7997
8024
  {
7998
8025
  variant,
@@ -8008,14 +8035,14 @@ var VisibilityButton = ({
8008
8035
  className
8009
8036
  ),
8010
8037
  ...props,
8011
- children: isVisible ? /* @__PURE__ */ jsx49(
8038
+ children: isVisible ? /* @__PURE__ */ jsx48(
8012
8039
  EyeIcon,
8013
8040
  {
8014
8041
  size: iconSize,
8015
8042
  color: iconColor,
8016
8043
  className: "transition-opacity duration-200"
8017
8044
  }
8018
- ) : /* @__PURE__ */ jsx49(
8045
+ ) : /* @__PURE__ */ jsx48(
8019
8046
  EyeSlashIcon,
8020
8047
  {
8021
8048
  size: iconSize,
@@ -8025,8 +8052,8 @@ var VisibilityButton = ({
8025
8052
  )
8026
8053
  }
8027
8054
  );
8028
- var ViewButton = (props) => /* @__PURE__ */ jsx49(VisibilityButton, { isVisible: true, testid: "button-view", ...props });
8029
- var HideButton = (props) => /* @__PURE__ */ jsx49(VisibilityButton, { isVisible: false, testid: "button-hide", ...props });
8055
+ var ViewButton = (props) => /* @__PURE__ */ jsx48(VisibilityButton, { isVisible: true, testid: "button-view", ...props });
8056
+ var HideButton = (props) => /* @__PURE__ */ jsx48(VisibilityButton, { isVisible: false, testid: "button-hide", ...props });
8030
8057
  var LockButton = ({
8031
8058
  disabled,
8032
8059
  onClick,
@@ -8038,7 +8065,7 @@ var LockButton = ({
8038
8065
  variant = "ghost",
8039
8066
  size = "icon",
8040
8067
  ...props
8041
- }) => /* @__PURE__ */ jsx49(
8068
+ }) => /* @__PURE__ */ jsx48(
8042
8069
  ButtonBase,
8043
8070
  {
8044
8071
  variant,
@@ -8055,14 +8082,14 @@ var LockButton = ({
8055
8082
  className
8056
8083
  ),
8057
8084
  ...props,
8058
- children: isLocked ? /* @__PURE__ */ jsx49(
8085
+ children: isLocked ? /* @__PURE__ */ jsx48(
8059
8086
  LockIcon,
8060
8087
  {
8061
8088
  size: iconSize,
8062
8089
  color: iconColor,
8063
8090
  className: "transition-all duration-200 group-hover:scale-110"
8064
8091
  }
8065
- ) : /* @__PURE__ */ jsx49(
8092
+ ) : /* @__PURE__ */ jsx48(
8066
8093
  LockOpenIcon,
8067
8094
  {
8068
8095
  size: iconSize,
@@ -8072,14 +8099,14 @@ var LockButton = ({
8072
8099
  )
8073
8100
  }
8074
8101
  );
8075
- var UnlockButton = (props) => /* @__PURE__ */ jsx49(LockButton, { isLocked: false, testid: "button-unlock", ...props });
8102
+ var UnlockButton = (props) => /* @__PURE__ */ jsx48(LockButton, { isLocked: false, testid: "button-unlock", ...props });
8076
8103
 
8077
8104
  // src/components/ui/form/SwitchBase.tsx
8078
- import * as React29 from "react";
8105
+ import * as React30 from "react";
8079
8106
  import * as SwitchPrimitives from "@radix-ui/react-switch";
8080
- import { jsx as jsx50 } from "react/jsx-runtime";
8081
- var SwitchBase = React29.forwardRef(({ className, testid: dataTestId = "switch-base", ...props }, ref) => {
8082
- return /* @__PURE__ */ jsx50(
8107
+ import { jsx as jsx49 } from "react/jsx-runtime";
8108
+ var SwitchBase = React30.forwardRef(({ className, testid: dataTestId = "switch-base", ...props }, ref) => {
8109
+ return /* @__PURE__ */ jsx49(
8083
8110
  SwitchPrimitives.Root,
8084
8111
  {
8085
8112
  ...props,
@@ -8089,7 +8116,7 @@ var SwitchBase = React29.forwardRef(({ className, testid: dataTestId = "switch-b
8089
8116
  className
8090
8117
  ),
8091
8118
  "data-testid": dataTestId,
8092
- children: /* @__PURE__ */ jsx50(
8119
+ children: /* @__PURE__ */ jsx49(
8093
8120
  SwitchPrimitives.Thumb,
8094
8121
  {
8095
8122
  className: cn(
@@ -8107,18 +8134,18 @@ var SwitchBase = React29.forwardRef(({ className, testid: dataTestId = "switch-b
8107
8134
  SwitchBase.displayName = SwitchPrimitives.Root.displayName;
8108
8135
 
8109
8136
  // src/components/ui/form/TextAreaBase.tsx
8110
- import * as React30 from "react";
8137
+ import * as React31 from "react";
8111
8138
  import { motion as motion12 } from "framer-motion";
8112
8139
  import { TrashIcon as TrashIcon2 } from "@phosphor-icons/react";
8113
- import { jsx as jsx51, jsxs as jsxs35 } from "react/jsx-runtime";
8114
- var TextAreaBase = React30.forwardRef(
8140
+ import { jsx as jsx50, jsxs as jsxs36 } from "react/jsx-runtime";
8141
+ var TextAreaBase = React31.forwardRef(
8115
8142
  ({ className, clearable = false, onClear, ...props }, ref) => {
8116
- const [isFocused, setIsFocused] = React30.useState(false);
8117
- const [hasContent, setHasContent] = React30.useState(
8143
+ const [isFocused, setIsFocused] = React31.useState(false);
8144
+ const [hasContent, setHasContent] = React31.useState(
8118
8145
  !!props.value || !!props.defaultValue
8119
8146
  );
8120
- const [showConfirmTooltip, setShowConfirmTooltip] = React30.useState(false);
8121
- const textareaRef = React30.useRef(null);
8147
+ const [showConfirmTooltip, setShowConfirmTooltip] = React31.useState(false);
8148
+ const textareaRef = React31.useRef(null);
8122
8149
  const handleFocus = (e) => {
8123
8150
  setIsFocused(true);
8124
8151
  props.onFocus?.(e);
@@ -8154,12 +8181,12 @@ var TextAreaBase = React30.forwardRef(
8154
8181
  const handleCancelClear = () => {
8155
8182
  setShowConfirmTooltip(false);
8156
8183
  };
8157
- React30.useImperativeHandle(ref, () => textareaRef.current);
8158
- React30.useEffect(() => {
8184
+ React31.useImperativeHandle(ref, () => textareaRef.current);
8185
+ React31.useEffect(() => {
8159
8186
  setHasContent(!!props.value || !!props.defaultValue);
8160
8187
  }, [props.value, props.defaultValue]);
8161
- return /* @__PURE__ */ jsxs35("div", { className: "relative", children: [
8162
- /* @__PURE__ */ jsx51(
8188
+ return /* @__PURE__ */ jsxs36("div", { className: "relative", children: [
8189
+ /* @__PURE__ */ jsx50(
8163
8190
  "textarea",
8164
8191
  {
8165
8192
  className: cn(
@@ -8182,13 +8209,13 @@ var TextAreaBase = React30.forwardRef(
8182
8209
  ...props
8183
8210
  }
8184
8211
  ),
8185
- clearable && hasContent && /* @__PURE__ */ jsx51(TooltipProviderBase, { children: /* @__PURE__ */ jsxs35(
8212
+ clearable && hasContent && /* @__PURE__ */ jsx50(TooltipProviderBase, { children: /* @__PURE__ */ jsxs36(
8186
8213
  TooltipBase,
8187
8214
  {
8188
8215
  open: showConfirmTooltip,
8189
8216
  onOpenChange: setShowConfirmTooltip,
8190
8217
  children: [
8191
- /* @__PURE__ */ jsx51(TooltipTriggerBase, { asChild: true, children: /* @__PURE__ */ jsx51(
8218
+ /* @__PURE__ */ jsx50(TooltipTriggerBase, { asChild: true, children: /* @__PURE__ */ jsx50(
8192
8219
  motion12.button,
8193
8220
  {
8194
8221
  type: "button",
@@ -8206,18 +8233,18 @@ var TextAreaBase = React30.forwardRef(
8206
8233
  ),
8207
8234
  disabled: props.disabled,
8208
8235
  "aria-label": "Limpar texto",
8209
- children: /* @__PURE__ */ jsx51(TrashIcon2, { size: 16, weight: "regular" })
8236
+ children: /* @__PURE__ */ jsx50(TrashIcon2, { size: 16, weight: "regular" })
8210
8237
  }
8211
8238
  ) }),
8212
- /* @__PURE__ */ jsxs35(
8239
+ /* @__PURE__ */ jsxs36(
8213
8240
  TooltipContentBase,
8214
8241
  {
8215
8242
  side: "left",
8216
8243
  className: "bg-background border border-border shadow-lg p-3 flex flex-col gap-2",
8217
8244
  children: [
8218
- /* @__PURE__ */ jsx51("p", { className: "text-sm text-foreground font-medium mb-1", children: "Limpar todo o texto?" }),
8219
- /* @__PURE__ */ jsxs35("div", { className: "flex gap-2", children: [
8220
- /* @__PURE__ */ jsx51(
8245
+ /* @__PURE__ */ jsx50("p", { className: "text-sm text-foreground font-medium mb-1", children: "Limpar todo o texto?" }),
8246
+ /* @__PURE__ */ jsxs36("div", { className: "flex gap-2", children: [
8247
+ /* @__PURE__ */ jsx50(
8221
8248
  "button",
8222
8249
  {
8223
8250
  type: "button",
@@ -8231,7 +8258,7 @@ var TextAreaBase = React30.forwardRef(
8231
8258
  children: "Confirmar"
8232
8259
  }
8233
8260
  ),
8234
- /* @__PURE__ */ jsx51(
8261
+ /* @__PURE__ */ jsx50(
8235
8262
  "button",
8236
8263
  {
8237
8264
  type: "button",
@@ -8252,17 +8279,17 @@ var TextAreaBase = React30.forwardRef(
8252
8279
  ]
8253
8280
  }
8254
8281
  ) }),
8255
- /* @__PURE__ */ jsx51(
8282
+ /* @__PURE__ */ jsx50(
8256
8283
  motion12.div,
8257
8284
  {
8258
8285
  className: "pointer-events-none absolute inset-0 rounded-lg",
8259
8286
  initial: { opacity: 0 },
8260
8287
  animate: { opacity: isFocused ? 1 : 0 },
8261
8288
  transition: { duration: 0.3 },
8262
- children: /* @__PURE__ */ jsx51("div", { className: "absolute inset-0 rounded-lg bg-gradient-to-r from-ring/20 via-ring/10 to-ring/20 blur-sm" })
8289
+ children: /* @__PURE__ */ jsx50("div", { className: "absolute inset-0 rounded-lg bg-gradient-to-r from-ring/20 via-ring/10 to-ring/20 blur-sm" })
8263
8290
  }
8264
8291
  ),
8265
- isFocused && hasContent && props.maxLength && /* @__PURE__ */ jsxs35(
8292
+ isFocused && hasContent && props.maxLength && /* @__PURE__ */ jsxs36(
8266
8293
  motion12.div,
8267
8294
  {
8268
8295
  initial: { opacity: 0, y: -10 },
@@ -8282,13 +8309,13 @@ var TextAreaBase = React30.forwardRef(
8282
8309
  TextAreaBase.displayName = "TextAreaBase";
8283
8310
 
8284
8311
  // src/components/ui/layout/CarouselBase.tsx
8285
- import * as React31 from "react";
8312
+ import * as React32 from "react";
8286
8313
  import useEmblaCarousel from "embla-carousel-react";
8287
8314
  import { ArrowLeftIcon as ArrowLeftIcon2, ArrowRightIcon as ArrowRightIcon2 } from "@phosphor-icons/react";
8288
- import { jsx as jsx52, jsxs as jsxs36 } from "react/jsx-runtime";
8289
- var CarouselContext = React31.createContext(null);
8315
+ import { jsx as jsx51, jsxs as jsxs37 } from "react/jsx-runtime";
8316
+ var CarouselContext = React32.createContext(null);
8290
8317
  function useCarousel() {
8291
- const context = React31.useContext(CarouselContext);
8318
+ const context = React32.useContext(CarouselContext);
8292
8319
  if (!context) {
8293
8320
  throw new Error("useCarousel must be used within a <CarouselBase />");
8294
8321
  }
@@ -8310,20 +8337,20 @@ function CarouselBase({
8310
8337
  },
8311
8338
  plugins
8312
8339
  );
8313
- const [canScrollPrev, setCanScrollPrev] = React31.useState(false);
8314
- const [canScrollNext, setCanScrollNext] = React31.useState(false);
8315
- const onSelect = React31.useCallback((api2) => {
8340
+ const [canScrollPrev, setCanScrollPrev] = React32.useState(false);
8341
+ const [canScrollNext, setCanScrollNext] = React32.useState(false);
8342
+ const onSelect = React32.useCallback((api2) => {
8316
8343
  if (!api2) return;
8317
8344
  setCanScrollPrev(api2.canScrollPrev());
8318
8345
  setCanScrollNext(api2.canScrollNext());
8319
8346
  }, []);
8320
- const scrollPrev = React31.useCallback(() => {
8347
+ const scrollPrev = React32.useCallback(() => {
8321
8348
  api?.scrollPrev();
8322
8349
  }, [api]);
8323
- const scrollNext = React31.useCallback(() => {
8350
+ const scrollNext = React32.useCallback(() => {
8324
8351
  api?.scrollNext();
8325
8352
  }, [api]);
8326
- const handleKeyDown = React31.useCallback(
8353
+ const handleKeyDown = React32.useCallback(
8327
8354
  (event) => {
8328
8355
  if (event.key === "ArrowLeft") {
8329
8356
  event.preventDefault();
@@ -8335,11 +8362,11 @@ function CarouselBase({
8335
8362
  },
8336
8363
  [scrollPrev, scrollNext]
8337
8364
  );
8338
- React31.useEffect(() => {
8365
+ React32.useEffect(() => {
8339
8366
  if (!api || !setApi) return;
8340
8367
  setApi(api);
8341
8368
  }, [api, setApi]);
8342
- React31.useEffect(() => {
8369
+ React32.useEffect(() => {
8343
8370
  if (!api) return;
8344
8371
  onSelect(api);
8345
8372
  api.on("reInit", onSelect);
@@ -8348,7 +8375,7 @@ function CarouselBase({
8348
8375
  api?.off("select", onSelect);
8349
8376
  };
8350
8377
  }, [api, onSelect]);
8351
- return /* @__PURE__ */ jsx52(
8378
+ return /* @__PURE__ */ jsx51(
8352
8379
  CarouselContext.Provider,
8353
8380
  {
8354
8381
  value: {
@@ -8361,7 +8388,7 @@ function CarouselBase({
8361
8388
  canScrollPrev,
8362
8389
  canScrollNext
8363
8390
  },
8364
- children: /* @__PURE__ */ jsx52(
8391
+ children: /* @__PURE__ */ jsx51(
8365
8392
  "div",
8366
8393
  {
8367
8394
  onKeyDownCapture: handleKeyDown,
@@ -8381,13 +8408,13 @@ function CarouselContentBase({
8381
8408
  ...props
8382
8409
  }) {
8383
8410
  const { carouselRef, orientation } = useCarousel();
8384
- return /* @__PURE__ */ jsx52(
8411
+ return /* @__PURE__ */ jsx51(
8385
8412
  "div",
8386
8413
  {
8387
8414
  ref: carouselRef,
8388
8415
  className: "overflow-hidden",
8389
8416
  "data-slot": "carousel-content",
8390
- children: /* @__PURE__ */ jsx52(
8417
+ children: /* @__PURE__ */ jsx51(
8391
8418
  "div",
8392
8419
  {
8393
8420
  className: cn(
@@ -8406,7 +8433,7 @@ function CarouselItemBase({
8406
8433
  ...props
8407
8434
  }) {
8408
8435
  const { orientation } = useCarousel();
8409
- return /* @__PURE__ */ jsx52(
8436
+ return /* @__PURE__ */ jsx51(
8410
8437
  "div",
8411
8438
  {
8412
8439
  role: "group",
@@ -8421,30 +8448,32 @@ function CarouselItemBase({
8421
8448
  }
8422
8449
  );
8423
8450
  }
8424
- function CarouselPrevious({
8451
+ function CarouselPreviousBase({
8425
8452
  className,
8426
8453
  variant = "outline",
8427
8454
  size = "icon",
8428
8455
  ...props
8429
8456
  }) {
8430
8457
  const { orientation, scrollPrev, canScrollPrev } = useCarousel();
8431
- return /* @__PURE__ */ jsxs36(
8458
+ const btnRef = React32.useRef(null);
8459
+ return /* @__PURE__ */ jsxs37(
8432
8460
  ButtonBase,
8433
8461
  {
8434
8462
  "data-slot": "carousel-previous",
8435
8463
  variant,
8436
8464
  size,
8465
+ ref: btnRef,
8437
8466
  className: cn(
8438
- "absolute size-8 rounded-full",
8439
- orientation === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
8467
+ "absolute size-8 rounded-l-3xl px-6",
8468
+ orientation === "horizontal" ? "top-2 right-1" : "bottom-64 left-1/3 rotate-90",
8440
8469
  className
8441
8470
  ),
8442
8471
  disabled: !canScrollPrev,
8443
8472
  onClick: scrollPrev,
8444
8473
  ...props,
8445
8474
  children: [
8446
- /* @__PURE__ */ jsx52(ArrowLeftIcon2, {}),
8447
- /* @__PURE__ */ jsx52("span", { className: "sr-only", children: "Previous slide" })
8475
+ /* @__PURE__ */ jsx51(ArrowLeftIcon2, {}),
8476
+ /* @__PURE__ */ jsx51("span", { className: "sr-only", children: "Previous slide" })
8448
8477
  ]
8449
8478
  }
8450
8479
  );
@@ -8456,37 +8485,39 @@ function CarouselNextBase({
8456
8485
  ...props
8457
8486
  }) {
8458
8487
  const { orientation, scrollNext, canScrollNext } = useCarousel();
8459
- return /* @__PURE__ */ jsxs36(
8488
+ const btnRef = React32.useRef(null);
8489
+ return /* @__PURE__ */ jsxs37(
8460
8490
  ButtonBase,
8461
8491
  {
8462
8492
  "data-slot": "carousel-next",
8463
8493
  variant,
8464
8494
  size,
8495
+ ref: btnRef,
8465
8496
  className: cn(
8466
- "absolute size-8 rounded-full",
8467
- orientation === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
8497
+ "absolute size-8 rounded-r-3xl px-6",
8498
+ orientation === "horizontal" ? "top-2" : "left-14 -translate-x-1/2 rotate-90",
8468
8499
  className
8469
8500
  ),
8470
8501
  disabled: !canScrollNext,
8471
8502
  onClick: scrollNext,
8472
8503
  ...props,
8473
8504
  children: [
8474
- /* @__PURE__ */ jsx52(ArrowRightIcon2, {}),
8475
- /* @__PURE__ */ jsx52("span", { className: "sr-only", children: "Next slide" })
8505
+ /* @__PURE__ */ jsx51(ArrowRightIcon2, {}),
8506
+ /* @__PURE__ */ jsx51("span", { className: "sr-only", children: "Next slide" })
8476
8507
  ]
8477
8508
  }
8478
8509
  );
8479
8510
  }
8480
8511
 
8481
8512
  // src/components/ui/layout/SeparatorBase.tsx
8482
- import * as React32 from "react";
8513
+ import * as React33 from "react";
8483
8514
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
8484
8515
  import { motion as motion13 } from "framer-motion";
8485
- import { jsx as jsx53 } from "react/jsx-runtime";
8486
- var SeparatorBase = React32.forwardRef(
8516
+ import { jsx as jsx52 } from "react/jsx-runtime";
8517
+ var SeparatorBase = React33.forwardRef(
8487
8518
  ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => {
8488
8519
  const isHorizontal = orientation === "horizontal";
8489
- return /* @__PURE__ */ jsx53(
8520
+ return /* @__PURE__ */ jsx52(
8490
8521
  SeparatorPrimitive.Root,
8491
8522
  {
8492
8523
  ref,
@@ -8494,7 +8525,7 @@ var SeparatorBase = React32.forwardRef(
8494
8525
  orientation,
8495
8526
  asChild: true,
8496
8527
  ...props,
8497
- children: /* @__PURE__ */ jsx53(
8528
+ children: /* @__PURE__ */ jsx52(
8498
8529
  motion13.div,
8499
8530
  {
8500
8531
  className: cn(
@@ -8517,9 +8548,9 @@ var SeparatorBase = React32.forwardRef(
8517
8548
  SeparatorBase.displayName = SeparatorPrimitive.Root.displayName;
8518
8549
 
8519
8550
  // src/components/ui/layout/TableBase.tsx
8520
- import * as React33 from "react";
8521
- import { jsx as jsx54 } from "react/jsx-runtime";
8522
- var TableBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx54("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx54(
8551
+ import * as React34 from "react";
8552
+ import { jsx as jsx53 } from "react/jsx-runtime";
8553
+ var TableBase = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx53("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx53(
8523
8554
  "table",
8524
8555
  {
8525
8556
  ref,
@@ -8528,9 +8559,9 @@ var TableBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE_
8528
8559
  }
8529
8560
  ) }));
8530
8561
  TableBase.displayName = "TableBase";
8531
- var TableHeaderBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx54("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
8562
+ var TableHeaderBase = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx53("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
8532
8563
  TableHeaderBase.displayName = "TableHeaderBase";
8533
- var TableBodyBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx54(
8564
+ var TableBodyBase = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx53(
8534
8565
  "tbody",
8535
8566
  {
8536
8567
  ref,
@@ -8539,7 +8570,7 @@ var TableBodyBase = React33.forwardRef(({ className, ...props }, ref) => /* @__P
8539
8570
  }
8540
8571
  ));
8541
8572
  TableBodyBase.displayName = "TableBodyBase";
8542
- var TableFooterBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx54(
8573
+ var TableFooterBase = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx53(
8543
8574
  "tfoot",
8544
8575
  {
8545
8576
  ref,
@@ -8551,7 +8582,7 @@ var TableFooterBase = React33.forwardRef(({ className, ...props }, ref) => /* @_
8551
8582
  }
8552
8583
  ));
8553
8584
  TableFooterBase.displayName = "TableFooterBase";
8554
- var TableRowBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx54(
8585
+ var TableRowBase = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx53(
8555
8586
  "tr",
8556
8587
  {
8557
8588
  ref,
@@ -8563,7 +8594,7 @@ var TableRowBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PU
8563
8594
  }
8564
8595
  ));
8565
8596
  TableRowBase.displayName = "TableRowBase";
8566
- var TableHeadBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx54(
8597
+ var TableHeadBase = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx53(
8567
8598
  "th",
8568
8599
  {
8569
8600
  ref,
@@ -8575,7 +8606,7 @@ var TableHeadBase = React33.forwardRef(({ className, ...props }, ref) => /* @__P
8575
8606
  }
8576
8607
  ));
8577
8608
  TableHeadBase.displayName = "TableHeadBase";
8578
- var TableCellBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx54(
8609
+ var TableCellBase = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx53(
8579
8610
  "td",
8580
8611
  {
8581
8612
  ref,
@@ -8587,7 +8618,7 @@ var TableCellBase = React33.forwardRef(({ className, ...props }, ref) => /* @__P
8587
8618
  }
8588
8619
  ));
8589
8620
  TableCellBase.displayName = "TableCellBase";
8590
- var TableCaptionBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx54(
8621
+ var TableCaptionBase = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx53(
8591
8622
  "caption",
8592
8623
  {
8593
8624
  ref,
@@ -8598,11 +8629,11 @@ var TableCaptionBase = React33.forwardRef(({ className, ...props }, ref) => /* @
8598
8629
  TableCaptionBase.displayName = "TableCaptionBase";
8599
8630
 
8600
8631
  // src/components/ui/layout/TabsBase.tsx
8601
- import * as React34 from "react";
8632
+ import * as React35 from "react";
8602
8633
  import * as TabsPrimitive from "@radix-ui/react-tabs";
8603
- import { jsx as jsx55 } from "react/jsx-runtime";
8634
+ import { jsx as jsx54 } from "react/jsx-runtime";
8604
8635
  var TabsBase = TabsPrimitive.Root;
8605
- var TabsListBase = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
8636
+ var TabsListBase = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx54(
8606
8637
  TabsPrimitive.List,
8607
8638
  {
8608
8639
  ref,
@@ -8615,49 +8646,52 @@ var TabsListBase = React34.forwardRef(({ className, ...props }, ref) => /* @__PU
8615
8646
  }
8616
8647
  ));
8617
8648
  TabsListBase.displayName = TabsPrimitive.List.displayName;
8618
- var TabsTriggerBase = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
8619
- TabsPrimitive.Trigger,
8620
- {
8621
- ref,
8622
- className: cn(
8623
- "relative inline-flex items-center justify-center whitespace-nowrap px-4 py-2 text-sm font-medium",
8624
- "text-muted-foreground hover:text-foreground",
8625
- "transition-colors duration-300 ease-in-out",
8626
- "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
8627
- "disabled:pointer-events-none disabled:opacity-50",
8628
- "data-[state=active]:text-primary",
8629
- "after:absolute after:bottom-0 after:left-0 after:h-[2px] after:w-full",
8630
- "after:scale-x-0 after:bg-primary after:origin-left",
8631
- "after:transition-transform after:duration-500 after:ease-[cubic-bezier(0.34,1.56,0.64,1)]",
8632
- "data-[state=active]:after:scale-x-100",
8633
- className
8634
- ),
8635
- ...props
8636
- }
8637
- ));
8638
- var TabsContentBase = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
8639
- TabsPrimitive.Content,
8640
- {
8641
- ref,
8642
- className: cn(
8643
- "mt-4 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
8644
- "animate-in fade-in-0 duration-500 ease-in-out",
8645
- className
8646
- ),
8647
- ...props
8648
- }
8649
- ));
8649
+ var TabsTriggerBase = React35.forwardRef(({ className, animation = "default", ...props }, ref) => {
8650
+ const base = cn(
8651
+ "relative inline-flex items-center justify-center whitespace-nowrap px-4 py-2 text-sm font-medium",
8652
+ "text-muted-foreground hover:text-foreground",
8653
+ "transition-colors duration-300 ease-in-out",
8654
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
8655
+ "disabled:pointer-events-none disabled:opacity-50",
8656
+ "data-[state=active]:text-primary",
8657
+ className
8658
+ );
8659
+ const animationClasses = animation === "none" ? "" : animation === "scale" ? "transform transition-transform data-[state=active]:scale-105" : "after:absolute after:bottom-0 after:left-0 after:h-[2px] after:w-full after:scale-x-0 after:bg-primary after:origin-left after:transition-transform after:duration-500 after:ease-[cubic-bezier(0.34,1.56,0.64,1)] data-[state=active]:after:scale-x-100";
8660
+ return /* @__PURE__ */ jsx54(
8661
+ TabsPrimitive.Trigger,
8662
+ {
8663
+ ref,
8664
+ className: cn(base, animationClasses),
8665
+ ...props
8666
+ }
8667
+ );
8668
+ });
8669
+ var TabsContentBase = React35.forwardRef(({ className, animation = "default", ...props }, ref) => {
8670
+ const animationClasses = animation === "none" ? "" : animation === "slide" ? "animate-in slide-in-from-left-2 duration-500 ease-in-out" : "animate-in fade-in-0 duration-500 ease-in-out";
8671
+ return /* @__PURE__ */ jsx54(
8672
+ TabsPrimitive.Content,
8673
+ {
8674
+ ref,
8675
+ className: cn(
8676
+ "mt-4 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
8677
+ animationClasses,
8678
+ className
8679
+ ),
8680
+ ...props
8681
+ }
8682
+ );
8683
+ });
8650
8684
  TabsContentBase.displayName = TabsPrimitive.Content.displayName;
8651
8685
 
8652
8686
  // src/components/ui/navigation/BreadcrumbBase.tsx
8653
8687
  import { Slot as Slot4 } from "@radix-ui/react-slot";
8654
8688
  import { CaretRightIcon as CaretRightIcon3, DotsThreeIcon as DotsThreeIcon3 } from "@phosphor-icons/react";
8655
- import { jsx as jsx56, jsxs as jsxs37 } from "react/jsx-runtime";
8689
+ import { jsx as jsx55, jsxs as jsxs38 } from "react/jsx-runtime";
8656
8690
  function BreadcrumbBase({ ...props }) {
8657
- return /* @__PURE__ */ jsx56("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
8691
+ return /* @__PURE__ */ jsx55("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
8658
8692
  }
8659
8693
  function BreadcrumbListBase({ className, ...props }) {
8660
- return /* @__PURE__ */ jsx56(
8694
+ return /* @__PURE__ */ jsx55(
8661
8695
  "ol",
8662
8696
  {
8663
8697
  "data-slot": "breadcrumb-list",
@@ -8670,7 +8704,7 @@ function BreadcrumbListBase({ className, ...props }) {
8670
8704
  );
8671
8705
  }
8672
8706
  function BreadcrumbItemBase({ className, ...props }) {
8673
- return /* @__PURE__ */ jsx56(
8707
+ return /* @__PURE__ */ jsx55(
8674
8708
  "li",
8675
8709
  {
8676
8710
  "data-slot": "breadcrumb-item",
@@ -8685,7 +8719,7 @@ function BreadcrumbLinkBase({
8685
8719
  ...props
8686
8720
  }) {
8687
8721
  const Comp = asChild ? Slot4 : "a";
8688
- return /* @__PURE__ */ jsx56(
8722
+ return /* @__PURE__ */ jsx55(
8689
8723
  Comp,
8690
8724
  {
8691
8725
  "data-slot": "breadcrumb-link",
@@ -8695,7 +8729,7 @@ function BreadcrumbLinkBase({
8695
8729
  );
8696
8730
  }
8697
8731
  function BreadcrumbPageBase({ className, ...props }) {
8698
- return /* @__PURE__ */ jsx56(
8732
+ return /* @__PURE__ */ jsx55(
8699
8733
  "span",
8700
8734
  {
8701
8735
  "data-slot": "breadcrumb-page",
@@ -8712,7 +8746,7 @@ function BreadcrumbSeparatorBase({
8712
8746
  className,
8713
8747
  ...props
8714
8748
  }) {
8715
- return /* @__PURE__ */ jsx56(
8749
+ return /* @__PURE__ */ jsx55(
8716
8750
  "li",
8717
8751
  {
8718
8752
  "data-slot": "breadcrumb-separator",
@@ -8720,7 +8754,7 @@ function BreadcrumbSeparatorBase({
8720
8754
  "aria-hidden": "true",
8721
8755
  className: cn("[&>svg]:size-3.5", className),
8722
8756
  ...props,
8723
- children: children ?? /* @__PURE__ */ jsx56(CaretRightIcon3, {})
8757
+ children: children ?? /* @__PURE__ */ jsx55(CaretRightIcon3, {})
8724
8758
  }
8725
8759
  );
8726
8760
  }
@@ -8728,7 +8762,7 @@ function BreadcrumbEllipsisBase({
8728
8762
  className,
8729
8763
  ...props
8730
8764
  }) {
8731
- return /* @__PURE__ */ jsxs37(
8765
+ return /* @__PURE__ */ jsxs38(
8732
8766
  "span",
8733
8767
  {
8734
8768
  "data-slot": "breadcrumb-ellipsis",
@@ -8737,8 +8771,8 @@ function BreadcrumbEllipsisBase({
8737
8771
  className: cn("flex size-9 items-center justify-center", className),
8738
8772
  ...props,
8739
8773
  children: [
8740
- /* @__PURE__ */ jsx56(DotsThreeIcon3, { className: "size-4" }),
8741
- /* @__PURE__ */ jsx56("span", { className: "sr-only", children: "More" })
8774
+ /* @__PURE__ */ jsx55(DotsThreeIcon3, { className: "size-4" }),
8775
+ /* @__PURE__ */ jsx55("span", { className: "sr-only", children: "More" })
8742
8776
  ]
8743
8777
  }
8744
8778
  );
@@ -8747,14 +8781,14 @@ function BreadcrumbEllipsisBase({
8747
8781
  // src/components/ui/navigation/NavigationMenuBase.tsx
8748
8782
  import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
8749
8783
  import { CaretDownIcon as CaretDownIcon3 } from "@phosphor-icons/react";
8750
- import { jsx as jsx57, jsxs as jsxs38 } from "react/jsx-runtime";
8784
+ import { jsx as jsx56, jsxs as jsxs39 } from "react/jsx-runtime";
8751
8785
  function NavigationMenuBase({
8752
8786
  className,
8753
8787
  children,
8754
8788
  viewport = true,
8755
8789
  ...props
8756
8790
  }) {
8757
- return /* @__PURE__ */ jsxs38(
8791
+ return /* @__PURE__ */ jsxs39(
8758
8792
  NavigationMenuPrimitive.Root,
8759
8793
  {
8760
8794
  "data-slot": "navigation-menu",
@@ -8766,7 +8800,7 @@ function NavigationMenuBase({
8766
8800
  ...props,
8767
8801
  children: [
8768
8802
  children,
8769
- viewport && /* @__PURE__ */ jsx57(NavigationMenuViewportBase, {})
8803
+ viewport && /* @__PURE__ */ jsx56(NavigationMenuViewportBase, {})
8770
8804
  ]
8771
8805
  }
8772
8806
  );
@@ -8775,7 +8809,7 @@ function NavigationMenuListBase({
8775
8809
  className,
8776
8810
  ...props
8777
8811
  }) {
8778
- return /* @__PURE__ */ jsx57(
8812
+ return /* @__PURE__ */ jsx56(
8779
8813
  NavigationMenuPrimitive.List,
8780
8814
  {
8781
8815
  "data-slot": "navigation-menu-list",
@@ -8791,7 +8825,7 @@ function NavigationMenuItemBase({
8791
8825
  className,
8792
8826
  ...props
8793
8827
  }) {
8794
- return /* @__PURE__ */ jsx57(
8828
+ return /* @__PURE__ */ jsx56(
8795
8829
  NavigationMenuPrimitive.Item,
8796
8830
  {
8797
8831
  "data-slot": "navigation-menu-item",
@@ -8805,7 +8839,7 @@ function NavigationMenuTriggerBase({
8805
8839
  children,
8806
8840
  ...props
8807
8841
  }) {
8808
- return /* @__PURE__ */ jsxs38(
8842
+ return /* @__PURE__ */ jsxs39(
8809
8843
  NavigationMenuPrimitive.Trigger,
8810
8844
  {
8811
8845
  "data-slot": "navigation-menu-trigger",
@@ -8813,7 +8847,7 @@ function NavigationMenuTriggerBase({
8813
8847
  ...props,
8814
8848
  children: [
8815
8849
  children,
8816
- /* @__PURE__ */ jsx57(
8850
+ /* @__PURE__ */ jsx56(
8817
8851
  CaretDownIcon3,
8818
8852
  {
8819
8853
  className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
@@ -8828,7 +8862,7 @@ function NavigationMenuContentBase({
8828
8862
  className,
8829
8863
  ...props
8830
8864
  }) {
8831
- return /* @__PURE__ */ jsx57(
8865
+ return /* @__PURE__ */ jsx56(
8832
8866
  NavigationMenuPrimitive.Content,
8833
8867
  {
8834
8868
  "data-slot": "navigation-menu-content",
@@ -8845,7 +8879,7 @@ function NavigationMenuViewportBase({
8845
8879
  className,
8846
8880
  ...props
8847
8881
  }) {
8848
- return /* @__PURE__ */ jsx57("div", { className: cn("absolute top-full left-0 isolate z-50 flex justify-center"), children: /* @__PURE__ */ jsx57(
8882
+ return /* @__PURE__ */ jsx56("div", { className: cn("absolute top-full left-0 isolate z-50 flex justify-center"), children: /* @__PURE__ */ jsx56(
8849
8883
  NavigationMenuPrimitive.Viewport,
8850
8884
  {
8851
8885
  "data-slot": "navigation-menu-viewport",
@@ -8861,7 +8895,7 @@ function NavigationMenuLinkBase({
8861
8895
  className,
8862
8896
  ...props
8863
8897
  }) {
8864
- return /* @__PURE__ */ jsx57(
8898
+ return /* @__PURE__ */ jsx56(
8865
8899
  NavigationMenuPrimitive.Link,
8866
8900
  {
8867
8901
  "data-slot": "navigation-menu-link",
@@ -8877,7 +8911,7 @@ function NavigationMenuIndicatorBase({
8877
8911
  className,
8878
8912
  ...props
8879
8913
  }) {
8880
- return /* @__PURE__ */ jsx57(
8914
+ return /* @__PURE__ */ jsx56(
8881
8915
  NavigationMenuPrimitive.Indicator,
8882
8916
  {
8883
8917
  "data-slot": "navigation-menu-indicator",
@@ -8886,22 +8920,22 @@ function NavigationMenuIndicatorBase({
8886
8920
  className
8887
8921
  ),
8888
8922
  ...props,
8889
- children: /* @__PURE__ */ jsx57("div", { className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" })
8923
+ children: /* @__PURE__ */ jsx56("div", { className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" })
8890
8924
  }
8891
8925
  );
8892
8926
  }
8893
8927
 
8894
8928
  // src/components/ui/navigation/SidebarBase.tsx
8895
- import * as React37 from "react";
8929
+ import * as React38 from "react";
8896
8930
  import { Slot as Slot5 } from "@radix-ui/react-slot";
8897
8931
  import { cva as cva5 } from "class-variance-authority";
8898
8932
 
8899
8933
  // src/hooks/use-mobile.tsx
8900
- import * as React35 from "react";
8934
+ import * as React36 from "react";
8901
8935
  var MOBILE_BREAKPOINT = 768;
8902
8936
  function useIsMobile() {
8903
- const [isMobile, setIsMobile] = React35.useState(void 0);
8904
- React35.useEffect(() => {
8937
+ const [isMobile, setIsMobile] = React36.useState(void 0);
8938
+ React36.useEffect(() => {
8905
8939
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
8906
8940
  const onChange = () => {
8907
8941
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -8914,16 +8948,16 @@ function useIsMobile() {
8914
8948
  }
8915
8949
 
8916
8950
  // src/components/ui/overlays/SheetBase.tsx
8917
- import * as React36 from "react";
8951
+ import * as React37 from "react";
8918
8952
  import * as SheetPrimitive from "@radix-ui/react-dialog";
8919
8953
  import { cva as cva4 } from "class-variance-authority";
8920
8954
  import { XIcon as XIcon8 } from "@phosphor-icons/react";
8921
- import { jsx as jsx58, jsxs as jsxs39 } from "react/jsx-runtime";
8955
+ import { jsx as jsx57, jsxs as jsxs40 } from "react/jsx-runtime";
8922
8956
  var SheetBase = SheetPrimitive.Root;
8923
8957
  var SheetTriggerBase = SheetPrimitive.Trigger;
8924
8958
  var SheetCloseBase = SheetPrimitive.Close;
8925
8959
  var SheetPortalBase = SheetPrimitive.Portal;
8926
- var SheetOverlayBase = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx58(
8960
+ var SheetOverlayBase = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx57(
8927
8961
  SheetPrimitive.Overlay,
8928
8962
  {
8929
8963
  className: cn(
@@ -8951,18 +8985,18 @@ var sheetVariants = cva4(
8951
8985
  }
8952
8986
  }
8953
8987
  );
8954
- var SheetContentBase = React36.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs39(SheetPortalBase, { children: [
8955
- /* @__PURE__ */ jsx58(SheetOverlayBase, {}),
8956
- /* @__PURE__ */ jsxs39(
8988
+ var SheetContentBase = React37.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs40(SheetPortalBase, { children: [
8989
+ /* @__PURE__ */ jsx57(SheetOverlayBase, {}),
8990
+ /* @__PURE__ */ jsxs40(
8957
8991
  SheetPrimitive.Content,
8958
8992
  {
8959
8993
  ref,
8960
8994
  className: cn(sheetVariants({ side }), className),
8961
8995
  ...props,
8962
8996
  children: [
8963
- /* @__PURE__ */ jsxs39(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
8964
- /* @__PURE__ */ jsx58(XIcon8, { className: "h-4 w-4" }),
8965
- /* @__PURE__ */ jsx58("span", { className: "sr-only", children: "Close" })
8997
+ /* @__PURE__ */ jsxs40(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
8998
+ /* @__PURE__ */ jsx57(XIcon8, { className: "h-4 w-4" }),
8999
+ /* @__PURE__ */ jsx57("span", { className: "sr-only", children: "Close" })
8966
9000
  ] }),
8967
9001
  children
8968
9002
  ]
@@ -8973,7 +9007,7 @@ SheetContentBase.displayName = SheetPrimitive.Content.displayName;
8973
9007
  var SheetHeaderBase = ({
8974
9008
  className,
8975
9009
  ...props
8976
- }) => /* @__PURE__ */ jsx58(
9010
+ }) => /* @__PURE__ */ jsx57(
8977
9011
  "div",
8978
9012
  {
8979
9013
  className: cn(
@@ -8987,7 +9021,7 @@ SheetHeaderBase.displayName = "SheetHeaderBase";
8987
9021
  var SheetFooterBase = ({
8988
9022
  className,
8989
9023
  ...props
8990
- }) => /* @__PURE__ */ jsx58(
9024
+ }) => /* @__PURE__ */ jsx57(
8991
9025
  "div",
8992
9026
  {
8993
9027
  className: cn(
@@ -8998,7 +9032,7 @@ var SheetFooterBase = ({
8998
9032
  }
8999
9033
  );
9000
9034
  SheetFooterBase.displayName = "SheetFooterBase";
9001
- var SheetTitleBase = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx58(
9035
+ var SheetTitleBase = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx57(
9002
9036
  SheetPrimitive.Title,
9003
9037
  {
9004
9038
  ref,
@@ -9007,7 +9041,7 @@ var SheetTitleBase = React36.forwardRef(({ className, ...props }, ref) => /* @__
9007
9041
  }
9008
9042
  ));
9009
9043
  SheetTitleBase.displayName = SheetPrimitive.Title.displayName;
9010
- var SheetDescriptionBase = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx58(
9044
+ var SheetDescriptionBase = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx57(
9011
9045
  SheetPrimitive.Description,
9012
9046
  {
9013
9047
  ref,
@@ -9019,16 +9053,16 @@ SheetDescriptionBase.displayName = SheetPrimitive.Description.displayName;
9019
9053
 
9020
9054
  // src/components/ui/navigation/SidebarBase.tsx
9021
9055
  import { SidebarSimpleIcon } from "@phosphor-icons/react";
9022
- import { jsx as jsx59, jsxs as jsxs40 } from "react/jsx-runtime";
9056
+ import { jsx as jsx58, jsxs as jsxs41 } from "react/jsx-runtime";
9023
9057
  var SIDEBAR_COOKIE_NAME = "sidebar:state";
9024
9058
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
9025
9059
  var SIDEBAR_WIDTH = "16rem";
9026
9060
  var SIDEBAR_WIDTH_MOBILE = "18rem";
9027
9061
  var SIDEBAR_WIDTH_ICON = "3rem";
9028
9062
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
9029
- var SidebarContext = React37.createContext(null);
9063
+ var SidebarContext = React38.createContext(null);
9030
9064
  function UseSideBarBase() {
9031
- const context = React37.useContext(SidebarContext);
9065
+ const context = React38.useContext(SidebarContext);
9032
9066
  if (!context) {
9033
9067
  throw new Error(
9034
9068
  "UseSideBarBase must be used within a SidebarProviderBase."
@@ -9036,7 +9070,7 @@ function UseSideBarBase() {
9036
9070
  }
9037
9071
  return context;
9038
9072
  }
9039
- var SidebarProviderBase = React37.forwardRef(
9073
+ var SidebarProviderBase = React38.forwardRef(
9040
9074
  ({
9041
9075
  defaultOpen = true,
9042
9076
  open: openProp,
@@ -9047,10 +9081,10 @@ var SidebarProviderBase = React37.forwardRef(
9047
9081
  ...props
9048
9082
  }, ref) => {
9049
9083
  const isMobile = useIsMobile();
9050
- const [openMobile, setOpenMobile] = React37.useState(false);
9051
- const [_open, _setOpen] = React37.useState(defaultOpen);
9084
+ const [openMobile, setOpenMobile] = React38.useState(false);
9085
+ const [_open, _setOpen] = React38.useState(defaultOpen);
9052
9086
  const open = openProp ?? _open;
9053
- const setOpen = React37.useCallback(
9087
+ const setOpen = React38.useCallback(
9054
9088
  (value) => {
9055
9089
  const openState = typeof value === "function" ? value(open) : value;
9056
9090
  if (setOpenProp) {
@@ -9062,10 +9096,10 @@ var SidebarProviderBase = React37.forwardRef(
9062
9096
  },
9063
9097
  [setOpenProp, open]
9064
9098
  );
9065
- const toggleSidebar = React37.useCallback(() => {
9099
+ const toggleSidebar = React38.useCallback(() => {
9066
9100
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
9067
9101
  }, [isMobile, setOpen, setOpenMobile]);
9068
- React37.useEffect(() => {
9102
+ React38.useEffect(() => {
9069
9103
  const handleKeyDown = (event) => {
9070
9104
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
9071
9105
  event.preventDefault();
@@ -9076,7 +9110,7 @@ var SidebarProviderBase = React37.forwardRef(
9076
9110
  return () => window.removeEventListener("keydown", handleKeyDown);
9077
9111
  }, [toggleSidebar]);
9078
9112
  const state = open ? "expanded" : "collapsed";
9079
- const contextValue = React37.useMemo(
9113
+ const contextValue = React38.useMemo(
9080
9114
  () => ({
9081
9115
  state,
9082
9116
  open,
@@ -9088,7 +9122,7 @@ var SidebarProviderBase = React37.forwardRef(
9088
9122
  }),
9089
9123
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
9090
9124
  );
9091
- return /* @__PURE__ */ jsx59(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx59(TooltipProviderBase, { delayDuration: 0, children: /* @__PURE__ */ jsx59(
9125
+ return /* @__PURE__ */ jsx58(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx58(TooltipProviderBase, { delayDuration: 0, children: /* @__PURE__ */ jsx58(
9092
9126
  "div",
9093
9127
  {
9094
9128
  style: {
@@ -9108,7 +9142,7 @@ var SidebarProviderBase = React37.forwardRef(
9108
9142
  }
9109
9143
  );
9110
9144
  SidebarProviderBase.displayName = "SidebarProviderBase";
9111
- var SidebarBase = React37.forwardRef(
9145
+ var SidebarBase = React38.forwardRef(
9112
9146
  ({
9113
9147
  side = "left",
9114
9148
  variant = "sidebar",
@@ -9119,7 +9153,7 @@ var SidebarBase = React37.forwardRef(
9119
9153
  }, ref) => {
9120
9154
  const { isMobile, state, openMobile, setOpenMobile } = UseSideBarBase();
9121
9155
  if (collapsible === "none") {
9122
- return /* @__PURE__ */ jsx59(
9156
+ return /* @__PURE__ */ jsx58(
9123
9157
  "div",
9124
9158
  {
9125
9159
  className: cn(
@@ -9133,7 +9167,7 @@ var SidebarBase = React37.forwardRef(
9133
9167
  );
9134
9168
  }
9135
9169
  if (isMobile) {
9136
- return /* @__PURE__ */ jsx59(SheetBase, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsx59(
9170
+ return /* @__PURE__ */ jsx58(SheetBase, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsx58(
9137
9171
  SheetContentBase,
9138
9172
  {
9139
9173
  "data-sidebar": "sidebar",
@@ -9143,11 +9177,11 @@ var SidebarBase = React37.forwardRef(
9143
9177
  "--sidebar-width": SIDEBAR_WIDTH_MOBILE
9144
9178
  },
9145
9179
  side,
9146
- children: /* @__PURE__ */ jsx59("div", { className: "flex h-full w-full flex-col", children })
9180
+ children: /* @__PURE__ */ jsx58("div", { className: "flex h-full w-full flex-col", children })
9147
9181
  }
9148
9182
  ) });
9149
9183
  }
9150
- return /* @__PURE__ */ jsxs40(
9184
+ return /* @__PURE__ */ jsxs41(
9151
9185
  "div",
9152
9186
  {
9153
9187
  ref,
@@ -9157,7 +9191,7 @@ var SidebarBase = React37.forwardRef(
9157
9191
  "data-variant": variant,
9158
9192
  "data-side": side,
9159
9193
  children: [
9160
- /* @__PURE__ */ jsx59(
9194
+ /* @__PURE__ */ jsx58(
9161
9195
  "div",
9162
9196
  {
9163
9197
  className: cn(
@@ -9168,7 +9202,7 @@ var SidebarBase = React37.forwardRef(
9168
9202
  )
9169
9203
  }
9170
9204
  ),
9171
- /* @__PURE__ */ jsx59(
9205
+ /* @__PURE__ */ jsx58(
9172
9206
  "div",
9173
9207
  {
9174
9208
  className: cn(
@@ -9179,7 +9213,7 @@ var SidebarBase = React37.forwardRef(
9179
9213
  className
9180
9214
  ),
9181
9215
  ...props,
9182
- children: /* @__PURE__ */ jsx59(
9216
+ children: /* @__PURE__ */ jsx58(
9183
9217
  "div",
9184
9218
  {
9185
9219
  "data-sidebar": "sidebar",
@@ -9195,9 +9229,9 @@ var SidebarBase = React37.forwardRef(
9195
9229
  }
9196
9230
  );
9197
9231
  SidebarBase.displayName = "SidebarBase";
9198
- var SidebarTriggerBase = React37.forwardRef(({ className, onClick, ...props }, ref) => {
9232
+ var SidebarTriggerBase = React38.forwardRef(({ className, onClick, ...props }, ref) => {
9199
9233
  const { toggleSidebar } = UseSideBarBase();
9200
- return /* @__PURE__ */ jsx59("div", { children: /* @__PURE__ */ jsxs40(
9234
+ return /* @__PURE__ */ jsx58("div", { children: /* @__PURE__ */ jsxs41(
9201
9235
  ButtonBase,
9202
9236
  {
9203
9237
  ref,
@@ -9211,16 +9245,16 @@ var SidebarTriggerBase = React37.forwardRef(({ className, onClick, ...props }, r
9211
9245
  },
9212
9246
  ...props,
9213
9247
  children: [
9214
- /* @__PURE__ */ jsx59("span", { className: "sr-only", children: "Toggle SidebarBase" }),
9215
- /* @__PURE__ */ jsx59(SidebarSimpleIcon, {})
9248
+ /* @__PURE__ */ jsx58("span", { className: "sr-only", children: "Toggle SidebarBase" }),
9249
+ /* @__PURE__ */ jsx58(SidebarSimpleIcon, {})
9216
9250
  ]
9217
9251
  }
9218
9252
  ) });
9219
9253
  });
9220
9254
  SidebarTriggerBase.displayName = "SidebarTriggerBase";
9221
- var SidebarRailBase = React37.forwardRef(({ className, ...props }, ref) => {
9255
+ var SidebarRailBase = React38.forwardRef(({ className, ...props }, ref) => {
9222
9256
  const { toggleSidebar } = UseSideBarBase();
9223
- return /* @__PURE__ */ jsx59(
9257
+ return /* @__PURE__ */ jsx58(
9224
9258
  "button",
9225
9259
  {
9226
9260
  ref,
@@ -9243,8 +9277,8 @@ var SidebarRailBase = React37.forwardRef(({ className, ...props }, ref) => {
9243
9277
  );
9244
9278
  });
9245
9279
  SidebarRailBase.displayName = "SidebarRailBase";
9246
- var SidebarInsetBase = React37.forwardRef(({ className, ...props }, ref) => {
9247
- return /* @__PURE__ */ jsx59(
9280
+ var SidebarInsetBase = React38.forwardRef(({ className, ...props }, ref) => {
9281
+ return /* @__PURE__ */ jsx58(
9248
9282
  "main",
9249
9283
  {
9250
9284
  ref,
@@ -9258,8 +9292,8 @@ var SidebarInsetBase = React37.forwardRef(({ className, ...props }, ref) => {
9258
9292
  );
9259
9293
  });
9260
9294
  SidebarInsetBase.displayName = "SidebarInsetBase";
9261
- var SidebarInputBase = React37.forwardRef(({ className, ...props }, ref) => {
9262
- return /* @__PURE__ */ jsx59(
9295
+ var SidebarInputBase = React38.forwardRef(({ className, ...props }, ref) => {
9296
+ return /* @__PURE__ */ jsx58(
9263
9297
  InputBase,
9264
9298
  {
9265
9299
  ref,
@@ -9273,8 +9307,8 @@ var SidebarInputBase = React37.forwardRef(({ className, ...props }, ref) => {
9273
9307
  );
9274
9308
  });
9275
9309
  SidebarInputBase.displayName = "SidebarInputBase";
9276
- var SidebarHeaderBase = React37.forwardRef(({ className, ...props }, ref) => {
9277
- return /* @__PURE__ */ jsx59(
9310
+ var SidebarHeaderBase = React38.forwardRef(({ className, ...props }, ref) => {
9311
+ return /* @__PURE__ */ jsx58(
9278
9312
  "div",
9279
9313
  {
9280
9314
  ref,
@@ -9285,8 +9319,8 @@ var SidebarHeaderBase = React37.forwardRef(({ className, ...props }, ref) => {
9285
9319
  );
9286
9320
  });
9287
9321
  SidebarHeaderBase.displayName = "SidebarHeaderBase";
9288
- var SidebarFooterBase = React37.forwardRef(({ className, ...props }, ref) => {
9289
- return /* @__PURE__ */ jsx59(
9322
+ var SidebarFooterBase = React38.forwardRef(({ className, ...props }, ref) => {
9323
+ return /* @__PURE__ */ jsx58(
9290
9324
  "div",
9291
9325
  {
9292
9326
  ref,
@@ -9297,8 +9331,8 @@ var SidebarFooterBase = React37.forwardRef(({ className, ...props }, ref) => {
9297
9331
  );
9298
9332
  });
9299
9333
  SidebarFooterBase.displayName = "SidebarFooterBase";
9300
- var SidebarSeparatorBase = React37.forwardRef(({ className, ...props }, ref) => {
9301
- return /* @__PURE__ */ jsx59(
9334
+ var SidebarSeparatorBase = React38.forwardRef(({ className, ...props }, ref) => {
9335
+ return /* @__PURE__ */ jsx58(
9302
9336
  SeparatorBase,
9303
9337
  {
9304
9338
  ref,
@@ -9309,8 +9343,8 @@ var SidebarSeparatorBase = React37.forwardRef(({ className, ...props }, ref) =>
9309
9343
  );
9310
9344
  });
9311
9345
  SidebarSeparatorBase.displayName = "SidebarSeparatorBase";
9312
- var SidebarContentBase = React37.forwardRef(({ className, ...props }, ref) => {
9313
- return /* @__PURE__ */ jsx59(
9346
+ var SidebarContentBase = React38.forwardRef(({ className, ...props }, ref) => {
9347
+ return /* @__PURE__ */ jsx58(
9314
9348
  "div",
9315
9349
  {
9316
9350
  ref,
@@ -9324,8 +9358,8 @@ var SidebarContentBase = React37.forwardRef(({ className, ...props }, ref) => {
9324
9358
  );
9325
9359
  });
9326
9360
  SidebarContentBase.displayName = "SidebarContentBase";
9327
- var SidebarGroupBase = React37.forwardRef(({ className, ...props }, ref) => {
9328
- return /* @__PURE__ */ jsx59(
9361
+ var SidebarGroupBase = React38.forwardRef(({ className, ...props }, ref) => {
9362
+ return /* @__PURE__ */ jsx58(
9329
9363
  "div",
9330
9364
  {
9331
9365
  ref,
@@ -9336,9 +9370,9 @@ var SidebarGroupBase = React37.forwardRef(({ className, ...props }, ref) => {
9336
9370
  );
9337
9371
  });
9338
9372
  SidebarGroupBase.displayName = "SidebarGroupBase";
9339
- var SidebarGroupLabelBase = React37.forwardRef(({ className, asChild = false, ...props }, ref) => {
9373
+ var SidebarGroupLabelBase = React38.forwardRef(({ className, asChild = false, ...props }, ref) => {
9340
9374
  const Comp = asChild ? Slot5 : "div";
9341
- return /* @__PURE__ */ jsx59(
9375
+ return /* @__PURE__ */ jsx58(
9342
9376
  Comp,
9343
9377
  {
9344
9378
  ref,
@@ -9353,9 +9387,9 @@ var SidebarGroupLabelBase = React37.forwardRef(({ className, asChild = false, ..
9353
9387
  );
9354
9388
  });
9355
9389
  SidebarGroupLabelBase.displayName = "SidebarGroupLabelBase";
9356
- var SidebarGroupActionBase = React37.forwardRef(({ className, asChild = false, ...props }, ref) => {
9390
+ var SidebarGroupActionBase = React38.forwardRef(({ className, asChild = false, ...props }, ref) => {
9357
9391
  const Comp = asChild ? Slot5 : "button";
9358
- return /* @__PURE__ */ jsx59(
9392
+ return /* @__PURE__ */ jsx58(
9359
9393
  Comp,
9360
9394
  {
9361
9395
  ref,
@@ -9372,7 +9406,7 @@ var SidebarGroupActionBase = React37.forwardRef(({ className, asChild = false, .
9372
9406
  );
9373
9407
  });
9374
9408
  SidebarGroupActionBase.displayName = "SidebarGroupActionBase";
9375
- var SidebarGroupContentBase = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx59(
9409
+ var SidebarGroupContentBase = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx58(
9376
9410
  "div",
9377
9411
  {
9378
9412
  ref,
@@ -9382,7 +9416,7 @@ var SidebarGroupContentBase = React37.forwardRef(({ className, ...props }, ref)
9382
9416
  }
9383
9417
  ));
9384
9418
  SidebarGroupContentBase.displayName = "SidebarGroupContentBase";
9385
- var SidebarMenuBase = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx59(
9419
+ var SidebarMenuBase = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx58(
9386
9420
  "ul",
9387
9421
  {
9388
9422
  ref,
@@ -9392,7 +9426,7 @@ var SidebarMenuBase = React37.forwardRef(({ className, ...props }, ref) => /* @_
9392
9426
  }
9393
9427
  ));
9394
9428
  SidebarMenuBase.displayName = "SidebarMenuBase";
9395
- var SidebarMenuItemBase = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx59(
9429
+ var SidebarMenuItemBase = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx58(
9396
9430
  "li",
9397
9431
  {
9398
9432
  ref,
@@ -9422,7 +9456,7 @@ var sidebarMenuButtonVariants = cva5(
9422
9456
  }
9423
9457
  }
9424
9458
  );
9425
- var SidebarMenuButtonBase = React37.forwardRef(
9459
+ var SidebarMenuButtonBase = React38.forwardRef(
9426
9460
  ({
9427
9461
  asChild = false,
9428
9462
  isActive = false,
@@ -9434,7 +9468,7 @@ var SidebarMenuButtonBase = React37.forwardRef(
9434
9468
  }, ref) => {
9435
9469
  const Comp = asChild ? Slot5 : "button";
9436
9470
  const { isMobile, state } = UseSideBarBase();
9437
- const button = /* @__PURE__ */ jsx59(
9471
+ const button = /* @__PURE__ */ jsx58(
9438
9472
  Comp,
9439
9473
  {
9440
9474
  ref,
@@ -9453,9 +9487,9 @@ var SidebarMenuButtonBase = React37.forwardRef(
9453
9487
  children: tooltip
9454
9488
  };
9455
9489
  }
9456
- return /* @__PURE__ */ jsxs40(TooltipBase, { children: [
9457
- /* @__PURE__ */ jsx59(TooltipTriggerBase, { asChild: true, children: button }),
9458
- /* @__PURE__ */ jsx59(
9490
+ return /* @__PURE__ */ jsxs41(TooltipBase, { children: [
9491
+ /* @__PURE__ */ jsx58(TooltipTriggerBase, { asChild: true, children: button }),
9492
+ /* @__PURE__ */ jsx58(
9459
9493
  TooltipContentBase,
9460
9494
  {
9461
9495
  side: "right",
@@ -9468,9 +9502,9 @@ var SidebarMenuButtonBase = React37.forwardRef(
9468
9502
  }
9469
9503
  );
9470
9504
  SidebarMenuButtonBase.displayName = "SidebarMenuButtonBase";
9471
- var SidebarMenuActionBase = React37.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
9505
+ var SidebarMenuActionBase = React38.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
9472
9506
  const Comp = asChild ? Slot5 : "button";
9473
- return /* @__PURE__ */ jsx59(
9507
+ return /* @__PURE__ */ jsx58(
9474
9508
  Comp,
9475
9509
  {
9476
9510
  ref,
@@ -9491,7 +9525,7 @@ var SidebarMenuActionBase = React37.forwardRef(({ className, asChild = false, sh
9491
9525
  );
9492
9526
  });
9493
9527
  SidebarMenuActionBase.displayName = "SidebarMenuActionBase";
9494
- var SidebarMenuBadgeBase = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx59(
9528
+ var SidebarMenuBadgeBase = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx58(
9495
9529
  "div",
9496
9530
  {
9497
9531
  ref,
@@ -9509,11 +9543,11 @@ var SidebarMenuBadgeBase = React37.forwardRef(({ className, ...props }, ref) =>
9509
9543
  }
9510
9544
  ));
9511
9545
  SidebarMenuBadgeBase.displayName = "SidebarMenuBadgeBase";
9512
- var SidebarMenuSkeletonBase = React37.forwardRef(({ className, showIcon = false, ...props }, ref) => {
9513
- const width = React37.useMemo(() => {
9546
+ var SidebarMenuSkeletonBase = React38.forwardRef(({ className, showIcon = false, ...props }, ref) => {
9547
+ const width = React38.useMemo(() => {
9514
9548
  return `${Math.floor(Math.random() * 40) + 50}%`;
9515
9549
  }, []);
9516
- return /* @__PURE__ */ jsxs40(
9550
+ return /* @__PURE__ */ jsxs41(
9517
9551
  "div",
9518
9552
  {
9519
9553
  ref,
@@ -9521,14 +9555,14 @@ var SidebarMenuSkeletonBase = React37.forwardRef(({ className, showIcon = false,
9521
9555
  className: cn("flex h-8 items-center gap-2 rounded-md px-2", className),
9522
9556
  ...props,
9523
9557
  children: [
9524
- showIcon && /* @__PURE__ */ jsx59(
9558
+ showIcon && /* @__PURE__ */ jsx58(
9525
9559
  SkeletonBase,
9526
9560
  {
9527
9561
  className: "size-4 rounded-md",
9528
9562
  "data-sidebar": "menu-skeleton-icon"
9529
9563
  }
9530
9564
  ),
9531
- /* @__PURE__ */ jsx59(
9565
+ /* @__PURE__ */ jsx58(
9532
9566
  SkeletonBase,
9533
9567
  {
9534
9568
  className: "h-4 max-w-[--skeleton-width] flex-1",
@@ -9543,7 +9577,7 @@ var SidebarMenuSkeletonBase = React37.forwardRef(({ className, showIcon = false,
9543
9577
  );
9544
9578
  });
9545
9579
  SidebarMenuSkeletonBase.displayName = "SidebarMenuSkeletonBase";
9546
- var SidebarMenuSubBase = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx59(
9580
+ var SidebarMenuSubBase = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx58(
9547
9581
  "ul",
9548
9582
  {
9549
9583
  ref,
@@ -9557,11 +9591,11 @@ var SidebarMenuSubBase = React37.forwardRef(({ className, ...props }, ref) => /*
9557
9591
  }
9558
9592
  ));
9559
9593
  SidebarMenuSubBase.displayName = "SidebarMenuSubBase";
9560
- var SidebarMenuSubItemBase = React37.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx59("li", { ref, ...props }));
9594
+ var SidebarMenuSubItemBase = React38.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx58("li", { ref, ...props }));
9561
9595
  SidebarMenuSubItemBase.displayName = "SidebarMenuSubItemBase";
9562
- var SidebarMenuSubButtonBase = React37.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
9596
+ var SidebarMenuSubButtonBase = React38.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
9563
9597
  const Comp = asChild ? Slot5 : "a";
9564
- return /* @__PURE__ */ jsx59(
9598
+ return /* @__PURE__ */ jsx58(
9565
9599
  Comp,
9566
9600
  {
9567
9601
  ref,
@@ -9584,32 +9618,32 @@ SidebarMenuSubButtonBase.displayName = "SidebarMenuSubButtonBase";
9584
9618
 
9585
9619
  // src/components/ui/overlays/DrawerBase.tsx
9586
9620
  import { Drawer as DrawerPrimitive } from "vaul";
9587
- import { jsx as jsx60, jsxs as jsxs41 } from "react/jsx-runtime";
9621
+ import { jsx as jsx59, jsxs as jsxs42 } from "react/jsx-runtime";
9588
9622
  function DrawerBase({
9589
9623
  ...props
9590
9624
  }) {
9591
- return /* @__PURE__ */ jsx60(DrawerPrimitive.Root, { "data-slot": "drawer", ...props });
9625
+ return /* @__PURE__ */ jsx59(DrawerPrimitive.Root, { "data-slot": "drawer", ...props });
9592
9626
  }
9593
9627
  function DrawerTriggerBase({
9594
9628
  ...props
9595
9629
  }) {
9596
- return /* @__PURE__ */ jsx60(DrawerPrimitive.Trigger, { "data-slot": "drawer-trigger", ...props });
9630
+ return /* @__PURE__ */ jsx59(DrawerPrimitive.Trigger, { "data-slot": "drawer-trigger", ...props });
9597
9631
  }
9598
9632
  function DrawerPortalBase({
9599
9633
  ...props
9600
9634
  }) {
9601
- return /* @__PURE__ */ jsx60(DrawerPrimitive.Portal, { "data-slot": "drawer-portal", ...props });
9635
+ return /* @__PURE__ */ jsx59(DrawerPrimitive.Portal, { "data-slot": "drawer-portal", ...props });
9602
9636
  }
9603
9637
  function DrawerCloseBase({
9604
9638
  ...props
9605
9639
  }) {
9606
- return /* @__PURE__ */ jsx60(DrawerPrimitive.Close, { "data-slot": "drawer-close", ...props });
9640
+ return /* @__PURE__ */ jsx59(DrawerPrimitive.Close, { "data-slot": "drawer-close", ...props });
9607
9641
  }
9608
9642
  function DrawerOverlayBase({
9609
9643
  className,
9610
9644
  ...props
9611
9645
  }) {
9612
- return /* @__PURE__ */ jsx60(
9646
+ return /* @__PURE__ */ jsx59(
9613
9647
  DrawerPrimitive.Overlay,
9614
9648
  {
9615
9649
  "data-slot": "drawer-overlay",
@@ -9626,9 +9660,9 @@ function DrawerContentBase({
9626
9660
  children,
9627
9661
  ...props
9628
9662
  }) {
9629
- return /* @__PURE__ */ jsxs41(DrawerPortalBase, { children: [
9630
- /* @__PURE__ */ jsx60(DrawerOverlayBase, {}),
9631
- /* @__PURE__ */ jsxs41(
9663
+ return /* @__PURE__ */ jsxs42(DrawerPortalBase, { children: [
9664
+ /* @__PURE__ */ jsx59(DrawerOverlayBase, {}),
9665
+ /* @__PURE__ */ jsxs42(
9632
9666
  DrawerPrimitive.Content,
9633
9667
  {
9634
9668
  "data-slot": "drawer-content",
@@ -9642,7 +9676,7 @@ function DrawerContentBase({
9642
9676
  ),
9643
9677
  ...props,
9644
9678
  children: [
9645
- /* @__PURE__ */ jsx60("div", { className: "bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
9679
+ /* @__PURE__ */ jsx59("div", { className: "bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
9646
9680
  children
9647
9681
  ]
9648
9682
  }
@@ -9653,7 +9687,7 @@ function DrawerHeaderBase({
9653
9687
  className,
9654
9688
  ...props
9655
9689
  }) {
9656
- return /* @__PURE__ */ jsx60(
9690
+ return /* @__PURE__ */ jsx59(
9657
9691
  "div",
9658
9692
  {
9659
9693
  "data-slot": "drawer-header",
@@ -9669,7 +9703,7 @@ function DrawerFooterBase({
9669
9703
  className,
9670
9704
  ...props
9671
9705
  }) {
9672
- return /* @__PURE__ */ jsx60(
9706
+ return /* @__PURE__ */ jsx59(
9673
9707
  "div",
9674
9708
  {
9675
9709
  "data-slot": "drawer-footer",
@@ -9682,7 +9716,7 @@ function DrawerTitleBase({
9682
9716
  className,
9683
9717
  ...props
9684
9718
  }) {
9685
- return /* @__PURE__ */ jsx60(
9719
+ return /* @__PURE__ */ jsx59(
9686
9720
  DrawerPrimitive.Title,
9687
9721
  {
9688
9722
  "data-slot": "drawer-title",
@@ -9695,7 +9729,7 @@ function DrawerDescriptionBase({
9695
9729
  className,
9696
9730
  ...props
9697
9731
  }) {
9698
- return /* @__PURE__ */ jsx60(
9732
+ return /* @__PURE__ */ jsx59(
9699
9733
  DrawerPrimitive.Description,
9700
9734
  {
9701
9735
  "data-slot": "drawer-description",
@@ -9706,8 +9740,8 @@ function DrawerDescriptionBase({
9706
9740
  }
9707
9741
 
9708
9742
  // src/hooks/use-universal-tooltip.tsx
9709
- import { createContext as createContext4, useContext as useContext5, useState as useState16, useCallback as useCallback11, useEffect as useEffect15, useRef as useRef6 } from "react";
9710
- import { jsx as jsx61 } from "react/jsx-runtime";
9743
+ import { createContext as createContext4, useContext as useContext5, useState as useState15, useCallback as useCallback11, useEffect as useEffect14, useRef as useRef7 } from "react";
9744
+ import { jsx as jsx60 } from "react/jsx-runtime";
9711
9745
  var UniversalTooltipContext = createContext4(null);
9712
9746
  var useUniversalTooltip = () => {
9713
9747
  const context = useContext5(UniversalTooltipContext);
@@ -9765,7 +9799,7 @@ var useTooltip = () => {
9765
9799
 
9766
9800
  // src/components/ui/UniversalTooltipRenderer.tsx
9767
9801
  import { XIcon as XIcon9 } from "@phosphor-icons/react/dist/ssr";
9768
- import { jsx as jsx62, jsxs as jsxs42 } from "react/jsx-runtime";
9802
+ import { jsx as jsx61, jsxs as jsxs43 } from "react/jsx-runtime";
9769
9803
  var UniversalTooltipRenderer = ({
9770
9804
  className,
9771
9805
  showCloseButton = true,
@@ -9782,8 +9816,8 @@ var UniversalTooltipRenderer = ({
9782
9816
  clearAllTooltips
9783
9817
  } = useUniversalTooltip();
9784
9818
  const { removeTooltip, handleElementMouseDown } = useTooltip();
9785
- return /* @__PURE__ */ jsxs42("div", { className: cn("fixed inset-0 pointer-events-none z-50", className), children: [
9786
- showCloseAllButton && tooltips.length > 1 && /* @__PURE__ */ jsx62("div", { className: "fixed top-6 left-1/2 transform -translate-x-1/2 z-50 pointer-events-auto animate-in fade-in slide-in-from-top-2 duration-300", children: /* @__PURE__ */ jsxs42(
9819
+ return /* @__PURE__ */ jsxs43("div", { className: cn("fixed inset-0 pointer-events-none z-50", className), children: [
9820
+ showCloseAllButton && tooltips.length > 1 && /* @__PURE__ */ jsx61("div", { className: "fixed top-6 left-1/2 transform -translate-x-1/2 z-50 pointer-events-auto animate-in fade-in slide-in-from-top-2 duration-300", children: /* @__PURE__ */ jsxs43(
9787
9821
  "button",
9788
9822
  {
9789
9823
  onClick: clearAllTooltips,
@@ -9805,8 +9839,8 @@ var UniversalTooltipRenderer = ({
9805
9839
  const endX = isHorizontal ? Math.max(guide.sourceTooltip.left + guide.sourceTooltip.width / 2, guide.targetTooltip.left + guide.targetTooltip.width / 2) : guide.targetTooltip.left + guide.targetTooltip.width / 2;
9806
9840
  const startY = isHorizontal ? guide.sourceTooltip.top + guide.sourceTooltip.height / 2 : Math.min(guide.sourceTooltip.top + guide.sourceTooltip.height / 2, guide.targetTooltip.top + guide.targetTooltip.height / 2);
9807
9841
  const endY = isHorizontal ? guide.targetTooltip.top + guide.targetTooltip.height / 2 : Math.max(guide.sourceTooltip.top + guide.sourceTooltip.height / 2, guide.targetTooltip.top + guide.targetTooltip.height / 2);
9808
- return /* @__PURE__ */ jsxs42("div", { className: "pointer-events-none", children: [
9809
- /* @__PURE__ */ jsx62(
9842
+ return /* @__PURE__ */ jsxs43("div", { className: "pointer-events-none", children: [
9843
+ /* @__PURE__ */ jsx61(
9810
9844
  "div",
9811
9845
  {
9812
9846
  className: cn("fixed z-30", guideClassName),
@@ -9825,7 +9859,7 @@ var UniversalTooltipRenderer = ({
9825
9859
  }
9826
9860
  }
9827
9861
  ),
9828
- /* @__PURE__ */ jsx62(
9862
+ /* @__PURE__ */ jsx61(
9829
9863
  "div",
9830
9864
  {
9831
9865
  className: "fixed z-31",
@@ -9841,7 +9875,7 @@ var UniversalTooltipRenderer = ({
9841
9875
  }
9842
9876
  }
9843
9877
  ),
9844
- /* @__PURE__ */ jsx62(
9878
+ /* @__PURE__ */ jsx61(
9845
9879
  "div",
9846
9880
  {
9847
9881
  className: "fixed z-31",
@@ -9859,7 +9893,7 @@ var UniversalTooltipRenderer = ({
9859
9893
  )
9860
9894
  ] }, index);
9861
9895
  }),
9862
- tooltips.map((tooltip) => /* @__PURE__ */ jsxs42(
9896
+ tooltips.map((tooltip) => /* @__PURE__ */ jsxs43(
9863
9897
  "div",
9864
9898
  {
9865
9899
  className: cn(
@@ -9873,12 +9907,12 @@ var UniversalTooltipRenderer = ({
9873
9907
  },
9874
9908
  onMouseDown: (e) => handleElementMouseDown(tooltip.id, e),
9875
9909
  children: [
9876
- /* @__PURE__ */ jsxs42("div", { className: "flex items-center justify-between p-3 border-b bg-muted/20 rounded-t-lg", children: [
9877
- /* @__PURE__ */ jsxs42("div", { className: "flex items-center gap-2", children: [
9878
- /* @__PURE__ */ jsx62("div", { className: "w-2 h-2 bg-primary rounded-full" }),
9879
- /* @__PURE__ */ jsx62("span", { className: "text-sm font-medium text-muted-foreground", children: "Tooltip" })
9910
+ /* @__PURE__ */ jsxs43("div", { className: "flex items-center justify-between p-3 border-b bg-muted/20 rounded-t-lg", children: [
9911
+ /* @__PURE__ */ jsxs43("div", { className: "flex items-center gap-2", children: [
9912
+ /* @__PURE__ */ jsx61("div", { className: "w-2 h-2 bg-primary rounded-full" }),
9913
+ /* @__PURE__ */ jsx61("span", { className: "text-sm font-medium text-muted-foreground", children: "Tooltip" })
9880
9914
  ] }),
9881
- showCloseButton && /* @__PURE__ */ jsx62(
9915
+ showCloseButton && /* @__PURE__ */ jsx61(
9882
9916
  "button",
9883
9917
  {
9884
9918
  onClick: (e) => {
@@ -9889,11 +9923,11 @@ var UniversalTooltipRenderer = ({
9889
9923
  "text-muted-foreground hover:text-foreground transition-colors p-1 hover:bg-muted rounded",
9890
9924
  closeButtonClassName
9891
9925
  ),
9892
- children: /* @__PURE__ */ jsx62(XIcon9, { size: 16 })
9926
+ children: /* @__PURE__ */ jsx61(XIcon9, { size: 16 })
9893
9927
  }
9894
9928
  )
9895
9929
  ] }),
9896
- /* @__PURE__ */ jsx62("div", { className: "p-4", children: tooltip.content })
9930
+ /* @__PURE__ */ jsx61("div", { className: "p-4", children: tooltip.content })
9897
9931
  ]
9898
9932
  },
9899
9933
  tooltip.id
@@ -9905,7 +9939,7 @@ var UniversalTooltipRenderer = ({
9905
9939
  import { add, format } from "date-fns";
9906
9940
 
9907
9941
  // src/components/picker/calendar.tsx
9908
- import * as React39 from "react";
9942
+ import * as React40 from "react";
9909
9943
  import { DayPicker as DayPicker2 } from "react-day-picker";
9910
9944
  import {
9911
9945
  CaretLeftIcon as CaretLeftIcon2,
@@ -9914,35 +9948,35 @@ import {
9914
9948
  CalendarIcon
9915
9949
  } from "@phosphor-icons/react";
9916
9950
  import { AnimatePresence as AnimatePresence9 } from "framer-motion";
9917
- import { jsx as jsx63, jsxs as jsxs43 } from "react/jsx-runtime";
9951
+ import { jsx as jsx62, jsxs as jsxs44 } from "react/jsx-runtime";
9918
9952
  function CalendarBase2({
9919
9953
  className,
9920
9954
  classNames,
9921
9955
  showOutsideDays = true,
9922
9956
  ...props
9923
9957
  }) {
9924
- const [month, setMonth] = React39.useState(
9958
+ const [month, setMonth] = React40.useState(
9925
9959
  props.month || props.defaultMonth || /* @__PURE__ */ new Date()
9926
9960
  );
9927
- const [direction, setDirection] = React39.useState(1);
9961
+ const [direction, setDirection] = React40.useState(1);
9928
9962
  const handleMonthChange = (newMonth) => {
9929
9963
  const isNext = newMonth > month ? 1 : -1;
9930
9964
  setDirection(isNext);
9931
9965
  setMonth(newMonth);
9932
9966
  props.onMonthChange?.(newMonth);
9933
9967
  };
9934
- return /* @__PURE__ */ jsx63(
9968
+ return /* @__PURE__ */ jsx62(
9935
9969
  "div",
9936
9970
  {
9937
9971
  className: cn(
9938
9972
  "rounded-md border bg-background p-2 sm:p-3 md:p-4 overflow-hidden flex flex-col",
9939
9973
  className
9940
9974
  ),
9941
- children: /* @__PURE__ */ jsx63("div", { className: "relative flex-1 flex flex-col min-h-0", children: /* @__PURE__ */ jsx63(AnimatePresence9, { initial: false, mode: "wait", custom: direction, children: /* @__PURE__ */ jsx63(
9975
+ children: /* @__PURE__ */ jsx62("div", { className: "relative flex-1 flex flex-col min-h-0", children: /* @__PURE__ */ jsx62(AnimatePresence9, { initial: false, mode: "wait", custom: direction, children: /* @__PURE__ */ jsx62(
9942
9976
  "div",
9943
9977
  {
9944
9978
  className: "w-full h-full flex flex-col",
9945
- children: /* @__PURE__ */ jsx63(
9979
+ children: /* @__PURE__ */ jsx62(
9946
9980
  DayPicker2,
9947
9981
  {
9948
9982
  showOutsideDays,
@@ -9986,8 +10020,8 @@ function CalendarBase2({
9986
10020
  ...classNames
9987
10021
  },
9988
10022
  components: {
9989
- IconLeft: () => /* @__PURE__ */ jsx63(CaretLeftIcon2, { className: "h-4 w-4" }),
9990
- IconRight: () => /* @__PURE__ */ jsx63(CaretRightIcon4, { className: "h-4 w-4" })
10023
+ IconLeft: () => /* @__PURE__ */ jsx62(CaretLeftIcon2, { className: "h-4 w-4" }),
10024
+ IconRight: () => /* @__PURE__ */ jsx62(CaretRightIcon4, { className: "h-4 w-4" })
9991
10025
  },
9992
10026
  ...props
9993
10027
  }
@@ -10002,15 +10036,15 @@ CalendarBase2.displayName = "CalendarBase";
10002
10036
 
10003
10037
  // src/components/picker/DateTimePicker.tsx
10004
10038
  import { ptBR } from "date-fns/locale";
10005
- import { useEffect as useEffect16, useState as useState18 } from "react";
10039
+ import { useEffect as useEffect15, useState as useState17 } from "react";
10006
10040
 
10007
10041
  // src/components/picker/TimePicker.tsx
10008
10042
  import { motion as motion14, AnimatePresence as AnimatePresence10 } from "framer-motion";
10009
- import * as React41 from "react";
10043
+ import * as React42 from "react";
10010
10044
 
10011
10045
  // src/components/picker/TimePickerInput.tsx
10012
10046
  import { CaretUpIcon as CaretUpIcon2, CaretDownIcon as CaretDownIcon4 } from "@phosphor-icons/react";
10013
- import React40 from "react";
10047
+ import React41 from "react";
10014
10048
 
10015
10049
  // src/components/picker/utils/time-picker-utils.ts
10016
10050
  function isValidHour(value) {
@@ -10152,8 +10186,8 @@ function display12HourValue(hours) {
10152
10186
  }
10153
10187
 
10154
10188
  // src/components/picker/TimePickerInput.tsx
10155
- import { jsx as jsx64, jsxs as jsxs44 } from "react/jsx-runtime";
10156
- var TimePickerInput = React40.forwardRef(
10189
+ import { jsx as jsx63, jsxs as jsxs45 } from "react/jsx-runtime";
10190
+ var TimePickerInput = React41.forwardRef(
10157
10191
  ({
10158
10192
  className,
10159
10193
  type = "tel",
@@ -10172,10 +10206,10 @@ var TimePickerInput = React40.forwardRef(
10172
10206
  label,
10173
10207
  ...props
10174
10208
  }, ref) => {
10175
- const [flag, setFlag] = React40.useState(false);
10176
- const [prevIntKey, setPrevIntKey] = React40.useState("0");
10177
- const [isFocused, setIsFocused] = React40.useState(false);
10178
- React40.useEffect(() => {
10209
+ const [flag, setFlag] = React41.useState(false);
10210
+ const [prevIntKey, setPrevIntKey] = React41.useState("0");
10211
+ const [isFocused, setIsFocused] = React41.useState(false);
10212
+ React41.useEffect(() => {
10179
10213
  if (flag) {
10180
10214
  const timer = setTimeout(() => {
10181
10215
  setFlag(false);
@@ -10183,7 +10217,7 @@ var TimePickerInput = React40.forwardRef(
10183
10217
  return () => clearTimeout(timer);
10184
10218
  }
10185
10219
  }, [flag]);
10186
- const calculatedValue = React40.useMemo(() => {
10220
+ const calculatedValue = React41.useMemo(() => {
10187
10221
  return getDateByType(date, picker);
10188
10222
  }, [date, picker]);
10189
10223
  const calculateNewValue = (key) => {
@@ -10239,8 +10273,8 @@ var TimePickerInput = React40.forwardRef(
10239
10273
  const baseLabel = getPickerLabel();
10240
10274
  return `${baseLabel}, valor atual: ${calculatedValue}.`;
10241
10275
  };
10242
- return /* @__PURE__ */ jsxs44("div", { className: "relative group flex flex-col items-center", children: [
10243
- getPickerLabel() && /* @__PURE__ */ jsx64(
10276
+ return /* @__PURE__ */ jsxs45("div", { className: "relative group flex flex-col items-center", children: [
10277
+ getPickerLabel() && /* @__PURE__ */ jsx63(
10244
10278
  "label",
10245
10279
  {
10246
10280
  htmlFor: id || picker,
@@ -10248,7 +10282,7 @@ var TimePickerInput = React40.forwardRef(
10248
10282
  children: getPickerLabel()
10249
10283
  }
10250
10284
  ),
10251
- /* @__PURE__ */ jsxs44(
10285
+ /* @__PURE__ */ jsxs45(
10252
10286
  "div",
10253
10287
  {
10254
10288
  className: cn(
@@ -10256,7 +10290,7 @@ var TimePickerInput = React40.forwardRef(
10256
10290
  "transition-all duration-200"
10257
10291
  ),
10258
10292
  children: [
10259
- showArrows && /* @__PURE__ */ jsx64(
10293
+ showArrows && /* @__PURE__ */ jsx63(
10260
10294
  "button",
10261
10295
  {
10262
10296
  type: "button",
@@ -10272,11 +10306,11 @@ var TimePickerInput = React40.forwardRef(
10272
10306
  ),
10273
10307
  tabIndex: -1,
10274
10308
  "aria-label": `Incrementar ${getPickerLabel().toLowerCase()}`,
10275
- children: /* @__PURE__ */ jsx64(CaretUpIcon2, { size: 14, className: "sm:w-4 sm:h-4" })
10309
+ children: /* @__PURE__ */ jsx63(CaretUpIcon2, { size: 14, className: "sm:w-4 sm:h-4" })
10276
10310
  }
10277
10311
  ),
10278
- /* @__PURE__ */ jsxs44("div", { className: "relative", children: [
10279
- /* @__PURE__ */ jsx64(
10312
+ /* @__PURE__ */ jsxs45("div", { className: "relative", children: [
10313
+ /* @__PURE__ */ jsx63(
10280
10314
  "input",
10281
10315
  {
10282
10316
  ref,
@@ -10321,9 +10355,9 @@ var TimePickerInput = React40.forwardRef(
10321
10355
  ...props
10322
10356
  }
10323
10357
  ),
10324
- isFocused && /* @__PURE__ */ jsx64("div", { className: "absolute inset-0 rounded-lg ring-2 ring-primary/20 pointer-events-none animate-pulse" })
10358
+ isFocused && /* @__PURE__ */ jsx63("div", { className: "absolute inset-0 rounded-lg ring-2 ring-primary/20 pointer-events-none animate-pulse" })
10325
10359
  ] }),
10326
- showArrows && /* @__PURE__ */ jsx64(
10360
+ showArrows && /* @__PURE__ */ jsx63(
10327
10361
  "button",
10328
10362
  {
10329
10363
  type: "button",
@@ -10339,7 +10373,7 @@ var TimePickerInput = React40.forwardRef(
10339
10373
  ),
10340
10374
  tabIndex: -1,
10341
10375
  "aria-label": `Decrementar ${getPickerLabel().toLowerCase()}`,
10342
- children: /* @__PURE__ */ jsx64(CaretDownIcon4, { size: 14, className: "sm:w-4 sm:h-4" })
10376
+ children: /* @__PURE__ */ jsx63(CaretDownIcon4, { size: 14, className: "sm:w-4 sm:h-4" })
10343
10377
  }
10344
10378
  )
10345
10379
  ]
@@ -10351,16 +10385,16 @@ var TimePickerInput = React40.forwardRef(
10351
10385
  TimePickerInput.displayName = "TimePickerInput";
10352
10386
 
10353
10387
  // src/components/picker/TimePicker.tsx
10354
- import { Fragment as Fragment8, jsx as jsx65, jsxs as jsxs45 } from "react/jsx-runtime";
10388
+ import { Fragment as Fragment8, jsx as jsx64, jsxs as jsxs46 } from "react/jsx-runtime";
10355
10389
  function TimePicker({
10356
10390
  date,
10357
10391
  setDate,
10358
10392
  hideSeconds,
10359
10393
  enableButton
10360
10394
  }) {
10361
- const minuteRef = React41.useRef(null);
10362
- const hourRef = React41.useRef(null);
10363
- const secondRef = React41.useRef(null);
10395
+ const minuteRef = React42.useRef(null);
10396
+ const hourRef = React42.useRef(null);
10397
+ const secondRef = React42.useRef(null);
10364
10398
  const containerVariants = {
10365
10399
  hidden: { opacity: 0, y: 10 },
10366
10400
  visible: {
@@ -10376,7 +10410,7 @@ function TimePicker({
10376
10410
  hidden: { opacity: 0, y: 10 },
10377
10411
  visible: { opacity: 1, y: 0 }
10378
10412
  };
10379
- return /* @__PURE__ */ jsxs45(
10413
+ return /* @__PURE__ */ jsxs46(
10380
10414
  motion14.div,
10381
10415
  {
10382
10416
  variants: containerVariants,
@@ -10384,12 +10418,12 @@ function TimePicker({
10384
10418
  animate: "visible",
10385
10419
  className: "flex items-end justify-center gap-2 sm:gap-3 p-2 sm:p-3 md:p-4 rounded-lg bg-muted/20 border border-border/50 w-full max-w-full overflow-hidden",
10386
10420
  children: [
10387
- /* @__PURE__ */ jsx65(
10421
+ /* @__PURE__ */ jsx64(
10388
10422
  motion14.div,
10389
10423
  {
10390
10424
  variants: itemVariants2,
10391
10425
  className: "grid gap-1 sm:gap-2 text-center flex-shrink-0 min-w-0",
10392
- children: /* @__PURE__ */ jsx65(
10426
+ children: /* @__PURE__ */ jsx64(
10393
10427
  TimePickerInput,
10394
10428
  {
10395
10429
  picker: "hours",
@@ -10402,12 +10436,12 @@ function TimePicker({
10402
10436
  )
10403
10437
  }
10404
10438
  ),
10405
- /* @__PURE__ */ jsx65(
10439
+ /* @__PURE__ */ jsx64(
10406
10440
  motion14.div,
10407
10441
  {
10408
10442
  variants: itemVariants2,
10409
10443
  className: "grid gap-1 sm:gap-2 text-center flex-shrink-0 min-w-0",
10410
- children: /* @__PURE__ */ jsx65(
10444
+ children: /* @__PURE__ */ jsx64(
10411
10445
  TimePickerInput,
10412
10446
  {
10413
10447
  picker: "minutes",
@@ -10421,7 +10455,7 @@ function TimePicker({
10421
10455
  )
10422
10456
  }
10423
10457
  ),
10424
- /* @__PURE__ */ jsx65(AnimatePresence10, { children: !hideSeconds && /* @__PURE__ */ jsx65(Fragment8, { children: /* @__PURE__ */ jsx65(
10458
+ /* @__PURE__ */ jsx64(AnimatePresence10, { children: !hideSeconds && /* @__PURE__ */ jsx64(Fragment8, { children: /* @__PURE__ */ jsx64(
10425
10459
  motion14.div,
10426
10460
  {
10427
10461
  variants: itemVariants2,
@@ -10429,7 +10463,7 @@ function TimePicker({
10429
10463
  animate: "visible",
10430
10464
  exit: "hidden",
10431
10465
  className: "grid gap-1 sm:gap-2 text-center flex-shrink-0 min-w-0",
10432
- children: /* @__PURE__ */ jsx65(
10466
+ children: /* @__PURE__ */ jsx64(
10433
10467
  TimePickerInput,
10434
10468
  {
10435
10469
  picker: "seconds",
@@ -10449,7 +10483,7 @@ function TimePicker({
10449
10483
 
10450
10484
  // src/components/picker/DateTimePicker.tsx
10451
10485
  import { CalendarBlankIcon, ClockIcon } from "@phosphor-icons/react";
10452
- import { jsx as jsx66, jsxs as jsxs46 } from "react/jsx-runtime";
10486
+ import { jsx as jsx65, jsxs as jsxs47 } from "react/jsx-runtime";
10453
10487
  function DateTimePicker({
10454
10488
  label,
10455
10489
  date,
@@ -10463,9 +10497,9 @@ function DateTimePicker({
10463
10497
  className,
10464
10498
  error
10465
10499
  }) {
10466
- const [internalDate, setInternalDate] = useState18(date);
10467
- const [open, setOpen] = useState18(false);
10468
- const [timePickerOpen, setTimePickerOpen] = useState18(false);
10500
+ const [internalDate, setInternalDate] = useState17(date);
10501
+ const [open, setOpen] = useState17(false);
10502
+ const [timePickerOpen, setTimePickerOpen] = useState17(false);
10469
10503
  const handleSelect = (newDay) => {
10470
10504
  if (!newDay) return;
10471
10505
  if (!internalDate) {
@@ -10491,26 +10525,24 @@ function DateTimePicker({
10491
10525
  const timeFormat = getTimeFormat();
10492
10526
  if (displayFormat === true) {
10493
10527
  if (!timeFormat) return "dd/MM/yyyy";
10494
- return `dd/MM/yyyy ${timeFormat}`;
10528
+ return `dd/MM/yyyy - ${timeFormat}`;
10495
10529
  }
10496
10530
  if (!timeFormat) return "dd MMMM yyyy";
10497
- return `dd MMMM yyyy ${timeFormat}`;
10531
+ return `dd MMMM yyyy - ${timeFormat}`;
10498
10532
  };
10499
- useEffect16(() => {
10500
- if (date) {
10501
- setInternalDate(date);
10502
- }
10533
+ useEffect15(() => {
10534
+ setInternalDate(date);
10503
10535
  }, [date, open]);
10504
- return /* @__PURE__ */ jsxs46("div", { className: cn("space-y-2 w-full sm:w-auto", className), children: [
10505
- label && /* @__PURE__ */ jsx66(LabelBase_default, { children: label }),
10506
- /* @__PURE__ */ jsxs46(PopoverBase, { open, onOpenChange: setOpen, children: [
10507
- /* @__PURE__ */ jsx66(
10536
+ return /* @__PURE__ */ jsxs47("div", { className: cn("space-y-2 w-full sm:w-auto", className), children: [
10537
+ label && /* @__PURE__ */ jsx65(LabelBase_default, { children: label }),
10538
+ /* @__PURE__ */ jsxs47(PopoverBase, { open, onOpenChange: setOpen, children: [
10539
+ /* @__PURE__ */ jsx65(
10508
10540
  PopoverTriggerBase,
10509
10541
  {
10510
10542
  disabled,
10511
10543
  asChild: true,
10512
10544
  className: cn(error && "border-red-500"),
10513
- children: /* @__PURE__ */ jsxs46(
10545
+ children: /* @__PURE__ */ jsxs47(
10514
10546
  ButtonBase,
10515
10547
  {
10516
10548
  variant: "outline",
@@ -10519,7 +10551,7 @@ function DateTimePicker({
10519
10551
  !date && "text-muted-foreground"
10520
10552
  ),
10521
10553
  children: [
10522
- /* @__PURE__ */ jsx66(
10554
+ /* @__PURE__ */ jsx65(
10523
10555
  "span",
10524
10556
  {
10525
10557
  className: cn(
@@ -10529,14 +10561,14 @@ function DateTimePicker({
10529
10561
  children: date ? format(date, getDisplayFormat(), { locale: ptBR }) : "Selecione uma data"
10530
10562
  }
10531
10563
  ),
10532
- /* @__PURE__ */ jsx66(CalendarBlankIcon, { className: "flex-shrink-0 w-5 h-5 sm:w-6 sm:h-6" })
10564
+ /* @__PURE__ */ jsx65(CalendarBlankIcon, { className: "flex-shrink-0 w-5 h-5 sm:w-6 sm:h-6" })
10533
10565
  ]
10534
10566
  }
10535
10567
  )
10536
10568
  }
10537
10569
  ),
10538
- /* @__PURE__ */ jsx66(ErrorMessage_default, { error }),
10539
- /* @__PURE__ */ jsx66(
10570
+ /* @__PURE__ */ jsx65(ErrorMessage_default, { error }),
10571
+ /* @__PURE__ */ jsx65(
10540
10572
  PopoverContentBase,
10541
10573
  {
10542
10574
  className: "w-full p-0",
@@ -10545,28 +10577,28 @@ function DateTimePicker({
10545
10577
  side: "bottom",
10546
10578
  avoidCollisions: true,
10547
10579
  collisionPadding: 8,
10548
- children: /* @__PURE__ */ jsxs46("div", { className: "flex flex-col space-y-2 sm:space-y-3 p-2 sm:p-3 md:p-4 max-h-[calc(100vh-4rem)] overflow-y-auto", children: [
10549
- /* @__PURE__ */ jsx66(
10580
+ children: /* @__PURE__ */ jsxs47("div", { className: "flex flex-col space-y-2 sm:space-y-3 p-2 sm:p-3 md:p-4 max-h-[calc(100vh-4rem)] overflow-y-auto", children: [
10581
+ /* @__PURE__ */ jsx65(
10550
10582
  CalendarBase2,
10551
10583
  {
10552
10584
  mode: "single",
10553
10585
  locale: ptBR,
10554
10586
  selected: internalDate,
10555
- onSelect: (d) => handleSelect(d),
10587
+ onSelect: (d) => handleSelect(d ?? void 0),
10556
10588
  initialFocus: true,
10557
- defaultMonth: fromDate ?? toDate ?? internalDate,
10589
+ defaultMonth: fromDate ?? toDate ?? internalDate ?? void 0,
10558
10590
  fromDate,
10559
10591
  toDate,
10560
10592
  className: cn("w-full", hideTime && "border-0")
10561
10593
  }
10562
10594
  ),
10563
- !hideTime && /* @__PURE__ */ jsx66("div", { className: "flex justify-center w-full px-2", children: /* @__PURE__ */ jsxs46(
10595
+ !hideTime && /* @__PURE__ */ jsx65("div", { className: "flex justify-center w-full px-2", children: /* @__PURE__ */ jsxs47(
10564
10596
  PopoverBase,
10565
10597
  {
10566
10598
  open: timePickerOpen,
10567
10599
  onOpenChange: setTimePickerOpen,
10568
10600
  children: [
10569
- /* @__PURE__ */ jsx66(PopoverTriggerBase, { asChild: true, children: /* @__PURE__ */ jsxs46(
10601
+ /* @__PURE__ */ jsx65(PopoverTriggerBase, { asChild: true, children: /* @__PURE__ */ jsxs47(
10570
10602
  ButtonBase,
10571
10603
  {
10572
10604
  variant: "outline",
@@ -10582,14 +10614,14 @@ function DateTimePicker({
10582
10614
  "min-h-[36px] sm:min-h-[40px]"
10583
10615
  ),
10584
10616
  children: [
10585
- /* @__PURE__ */ jsx66(ClockIcon, { className: "text-primary flex-shrink-0 w-4 h-4 sm:w-5 sm:h-5" }),
10586
- /* @__PURE__ */ jsx66("span", { className: "text-black truncate", children: internalDate ? format(internalDate, getTimeFormat() || "HH:mm", {
10617
+ /* @__PURE__ */ jsx65(ClockIcon, { className: "text-primary flex-shrink-0 w-4 h-4 sm:w-5 sm:h-5" }),
10618
+ /* @__PURE__ */ jsx65("span", { className: "text-black truncate", children: internalDate ? format(internalDate, getTimeFormat() || "HH:mm", {
10587
10619
  locale: ptBR
10588
10620
  }) : "00:00" })
10589
10621
  ]
10590
10622
  }
10591
10623
  ) }),
10592
- /* @__PURE__ */ jsx66(
10624
+ /* @__PURE__ */ jsx65(
10593
10625
  PopoverContentBase,
10594
10626
  {
10595
10627
  className: "w-[calc(100vw-2rem)] max-w-sm p-3 sm:p-3 rounded-md",
@@ -10598,17 +10630,17 @@ function DateTimePicker({
10598
10630
  sideOffset: 8,
10599
10631
  avoidCollisions: true,
10600
10632
  collisionPadding: 8,
10601
- children: /* @__PURE__ */ jsxs46("div", { className: "flex flex-col items-center space-y-2 sm:space-y-3", children: [
10602
- /* @__PURE__ */ jsx66("h4", { className: "text-sm sm:text-base font-medium text-center", children: "Alterar Hor\xE1rio" }),
10603
- /* @__PURE__ */ jsx66(
10633
+ children: /* @__PURE__ */ jsxs47("div", { className: "flex flex-col items-center space-y-2 sm:space-y-3", children: [
10634
+ /* @__PURE__ */ jsx65("h4", { className: "text-sm sm:text-base font-medium text-center", children: "Alterar Hor\xE1rio" }),
10635
+ /* @__PURE__ */ jsx65(
10604
10636
  TimePicker,
10605
10637
  {
10606
- setDate: handleTimeChange,
10638
+ setDate: (d) => handleTimeChange(d ?? void 0),
10607
10639
  date: internalDate,
10608
10640
  hideSeconds
10609
10641
  }
10610
10642
  ),
10611
- /* @__PURE__ */ jsx66(
10643
+ /* @__PURE__ */ jsx65(
10612
10644
  ButtonBase,
10613
10645
  {
10614
10646
  size: "sm",
@@ -10632,7 +10664,7 @@ function DateTimePicker({
10632
10664
  }
10633
10665
 
10634
10666
  // src/components/picker/RangePicker.tsx
10635
- import * as React42 from "react";
10667
+ import * as React43 from "react";
10636
10668
  import {
10637
10669
  DayPicker as DayPicker3
10638
10670
  } from "react-day-picker";
@@ -10645,7 +10677,7 @@ import {
10645
10677
  } from "@phosphor-icons/react";
10646
10678
  import { motion as motion15, AnimatePresence as AnimatePresence11, useAnimation } from "framer-motion";
10647
10679
  import { CalendarDotIcon } from "@phosphor-icons/react/dist/ssr";
10648
- import { jsx as jsx67, jsxs as jsxs47 } from "react/jsx-runtime";
10680
+ import { jsx as jsx66, jsxs as jsxs48 } from "react/jsx-runtime";
10649
10681
  var dateFnsLocale = ptBR2?.default ?? ptBR2;
10650
10682
  function RangePicker({
10651
10683
  value,
@@ -10655,10 +10687,10 @@ function RangePicker({
10655
10687
  maxDate,
10656
10688
  error
10657
10689
  }) {
10658
- const [open, setOpen] = React42.useState(false);
10659
- const [range, setRange] = React42.useState(value);
10690
+ const [open, setOpen] = React43.useState(false);
10691
+ const [range, setRange] = React43.useState(value);
10660
10692
  const controls = useAnimation();
10661
- React42.useEffect(() => {
10693
+ React43.useEffect(() => {
10662
10694
  setRange(value);
10663
10695
  }, [value]);
10664
10696
  const handleSelect = (selected) => {
@@ -10669,20 +10701,20 @@ function RangePicker({
10669
10701
  setRange(void 0);
10670
10702
  onChange?.(void 0);
10671
10703
  };
10672
- return /* @__PURE__ */ jsxs47(PopoverBase, { open, onOpenChange: setOpen, children: [
10673
- /* @__PURE__ */ jsx67(PopoverTriggerBase, { asChild: true, children: /* @__PURE__ */ jsx67(
10704
+ return /* @__PURE__ */ jsxs48(PopoverBase, { open, onOpenChange: setOpen, children: [
10705
+ /* @__PURE__ */ jsx66(PopoverTriggerBase, { asChild: true, children: /* @__PURE__ */ jsx66(
10674
10706
  motion15.div,
10675
10707
  {
10676
10708
  whileTap: { scale: 0.97 },
10677
10709
  whileHover: { scale: open ? 1.03 : 1.01 },
10678
10710
  transition: { type: "spring", stiffness: 300, damping: 20 },
10679
- children: /* @__PURE__ */ jsxs47(
10711
+ children: /* @__PURE__ */ jsxs48(
10680
10712
  ButtonBase,
10681
10713
  {
10682
10714
  variant: "outline",
10683
10715
  className: "flex gap-2 transition-all duration-200 min-w-[250px] text-left justify-between items-center",
10684
10716
  children: [
10685
- /* @__PURE__ */ jsx67(
10717
+ /* @__PURE__ */ jsx66(
10686
10718
  motion15.span,
10687
10719
  {
10688
10720
  className: "text-sm font-medium",
@@ -10693,12 +10725,12 @@ function RangePicker({
10693
10725
  })} - ${format2(range.to, "P", { locale: dateFnsLocale })}` : label
10694
10726
  }
10695
10727
  ),
10696
- /* @__PURE__ */ jsx67(
10728
+ /* @__PURE__ */ jsx66(
10697
10729
  motion15.span,
10698
10730
  {
10699
10731
  animate: open ? { rotate: 8, scale: 1.15 } : { rotate: 0, scale: 1 },
10700
10732
  transition: { type: "spring", stiffness: 300, damping: 18 },
10701
- children: /* @__PURE__ */ jsx67(CalendarBlankIcon2, { className: "w-4 h-4 transition-transform group-hover:scale-110" })
10733
+ children: /* @__PURE__ */ jsx66(CalendarBlankIcon2, { className: "w-4 h-4 transition-transform group-hover:scale-110" })
10702
10734
  }
10703
10735
  )
10704
10736
  ]
@@ -10706,13 +10738,13 @@ function RangePicker({
10706
10738
  )
10707
10739
  }
10708
10740
  ) }),
10709
- /* @__PURE__ */ jsx67(ErrorMessage_default, { error }),
10710
- /* @__PURE__ */ jsx67(AnimatePresence11, { children: open && /* @__PURE__ */ jsx67(
10741
+ /* @__PURE__ */ jsx66(ErrorMessage_default, { error }),
10742
+ /* @__PURE__ */ jsx66(AnimatePresence11, { children: open && /* @__PURE__ */ jsx66(
10711
10743
  PopoverContentBase,
10712
10744
  {
10713
10745
  asChild: true,
10714
10746
  className: "w-auto min-w-[250px] p-0 shadow-xl overflow-y-hidden",
10715
- children: /* @__PURE__ */ jsxs47(
10747
+ children: /* @__PURE__ */ jsxs48(
10716
10748
  motion15.div,
10717
10749
  {
10718
10750
  initial: { opacity: 0, y: 16 },
@@ -10720,7 +10752,7 @@ function RangePicker({
10720
10752
  exit: { opacity: 0, y: 16 },
10721
10753
  transition: { duration: 0.18, ease: "easeOut" },
10722
10754
  children: [
10723
- /* @__PURE__ */ jsx67("div", { className: "p-4", children: /* @__PURE__ */ jsx67(
10755
+ /* @__PURE__ */ jsx66("div", { className: "p-4", children: /* @__PURE__ */ jsx66(
10724
10756
  motion15.div,
10725
10757
  {
10726
10758
  initial: { opacity: 0, y: 8 },
@@ -10728,7 +10760,7 @@ function RangePicker({
10728
10760
  exit: { opacity: 0, y: 8 },
10729
10761
  transition: { duration: 0.18 },
10730
10762
  className: "w-full",
10731
- children: /* @__PURE__ */ jsx67(
10763
+ children: /* @__PURE__ */ jsx66(
10732
10764
  DayPicker3,
10733
10765
  {
10734
10766
  mode: "range",
@@ -10775,20 +10807,20 @@ function RangePicker({
10775
10807
  day_hidden: "invisible"
10776
10808
  },
10777
10809
  components: {
10778
- IconLeft: () => /* @__PURE__ */ jsx67(CaretLeftIcon3, { className: "h-4 w-4" }),
10779
- IconRight: () => /* @__PURE__ */ jsx67(CaretRightIcon5, { className: "h-4 w-4" })
10810
+ IconLeft: () => /* @__PURE__ */ jsx66(CaretLeftIcon3, { className: "h-4 w-4" }),
10811
+ IconRight: () => /* @__PURE__ */ jsx66(CaretRightIcon5, { className: "h-4 w-4" })
10780
10812
  }
10781
10813
  }
10782
10814
  )
10783
10815
  }
10784
10816
  ) }),
10785
- /* @__PURE__ */ jsxs47("div", { className: "flex justify-end gap-2 px-4 pb-4", children: [
10786
- /* @__PURE__ */ jsx67("div", { style: { display: "inline-block" }, children: /* @__PURE__ */ jsx67(
10817
+ /* @__PURE__ */ jsxs48("div", { className: "flex justify-end gap-2 px-4 pb-4", children: [
10818
+ /* @__PURE__ */ jsx66("div", { style: { display: "inline-block" }, children: /* @__PURE__ */ jsx66(
10787
10819
  motion15.div,
10788
10820
  {
10789
10821
  whileHover: { scale: 1.03 },
10790
10822
  whileTap: { scale: 0.95 },
10791
- children: /* @__PURE__ */ jsx67(
10823
+ children: /* @__PURE__ */ jsx66(
10792
10824
  ButtonBase,
10793
10825
  {
10794
10826
  variant: "outline",
@@ -10798,17 +10830,17 @@ function RangePicker({
10798
10830
  to: /* @__PURE__ */ new Date()
10799
10831
  });
10800
10832
  },
10801
- children: /* @__PURE__ */ jsx67(CalendarDotIcon, {})
10833
+ children: /* @__PURE__ */ jsx66(CalendarDotIcon, {})
10802
10834
  }
10803
10835
  )
10804
10836
  }
10805
10837
  ) }),
10806
- /* @__PURE__ */ jsx67("div", { style: { display: "inline-block" }, children: /* @__PURE__ */ jsx67(
10838
+ /* @__PURE__ */ jsx66("div", { style: { display: "inline-block" }, children: /* @__PURE__ */ jsx66(
10807
10839
  motion15.div,
10808
10840
  {
10809
10841
  whileHover: { scale: 1.03 },
10810
10842
  whileTap: { scale: 0.95 },
10811
- children: /* @__PURE__ */ jsx67(
10843
+ children: /* @__PURE__ */ jsx66(
10812
10844
  ButtonBase,
10813
10845
  {
10814
10846
  variant: "outline",
@@ -10820,12 +10852,12 @@ function RangePicker({
10820
10852
  )
10821
10853
  }
10822
10854
  ) }),
10823
- /* @__PURE__ */ jsx67("div", { style: { display: "inline-block", width: "100%" }, children: /* @__PURE__ */ jsx67(
10855
+ /* @__PURE__ */ jsx66("div", { style: { display: "inline-block", width: "100%" }, children: /* @__PURE__ */ jsx66(
10824
10856
  motion15.div,
10825
10857
  {
10826
10858
  whileHover: { scale: 1.02 },
10827
10859
  whileTap: { scale: 0.98 },
10828
- children: /* @__PURE__ */ jsx67(
10860
+ children: /* @__PURE__ */ jsx66(
10829
10861
  ButtonBase,
10830
10862
  {
10831
10863
  className: "font-semibold w-full text-center",
@@ -10849,24 +10881,24 @@ RangePicker.displayName = "RangePicker";
10849
10881
  // src/components/ui/navigation/ContextMenuBase.tsx
10850
10882
  import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
10851
10883
  import { CaretRightIcon as CaretRightIcon6, CheckIcon as CheckIcon9, CircleIcon as CircleIcon2 } from "@phosphor-icons/react";
10852
- import { jsx as jsx68, jsxs as jsxs48 } from "react/jsx-runtime";
10884
+ import { jsx as jsx67, jsxs as jsxs49 } from "react/jsx-runtime";
10853
10885
  function ContextMenuBase(props) {
10854
- return /* @__PURE__ */ jsx68(ContextMenuPrimitive.Root, { "data-slot": "context-menu", ...props });
10886
+ return /* @__PURE__ */ jsx67(ContextMenuPrimitive.Root, { "data-slot": "context-menu", ...props });
10855
10887
  }
10856
10888
  function ContextMenuTriggerBase(props) {
10857
- return /* @__PURE__ */ jsx68(ContextMenuPrimitive.Trigger, { "data-slot": "context-menu-trigger", ...props });
10889
+ return /* @__PURE__ */ jsx67(ContextMenuPrimitive.Trigger, { "data-slot": "context-menu-trigger", ...props });
10858
10890
  }
10859
10891
  function ContextMenuGroupBase(props) {
10860
- return /* @__PURE__ */ jsx68(ContextMenuPrimitive.Group, { "data-slot": "context-menu-group", ...props });
10892
+ return /* @__PURE__ */ jsx67(ContextMenuPrimitive.Group, { "data-slot": "context-menu-group", ...props });
10861
10893
  }
10862
10894
  function ContextMenuPortalBase(props) {
10863
- return /* @__PURE__ */ jsx68(ContextMenuPrimitive.Portal, { "data-slot": "context-menu-portal", ...props });
10895
+ return /* @__PURE__ */ jsx67(ContextMenuPrimitive.Portal, { "data-slot": "context-menu-portal", ...props });
10864
10896
  }
10865
10897
  function ContextMenuSubBase(props) {
10866
- return /* @__PURE__ */ jsx68(ContextMenuPrimitive.Sub, { "data-slot": "context-menu-sub", ...props });
10898
+ return /* @__PURE__ */ jsx67(ContextMenuPrimitive.Sub, { "data-slot": "context-menu-sub", ...props });
10867
10899
  }
10868
10900
  function ContextMenuRadioGroupBase(props) {
10869
- return /* @__PURE__ */ jsx68(ContextMenuPrimitive.RadioGroup, { "data-slot": "context-menu-radio-group", ...props });
10901
+ return /* @__PURE__ */ jsx67(ContextMenuPrimitive.RadioGroup, { "data-slot": "context-menu-radio-group", ...props });
10870
10902
  }
10871
10903
  function ContextMenuSubTriggerBase({
10872
10904
  className,
@@ -10874,7 +10906,7 @@ function ContextMenuSubTriggerBase({
10874
10906
  children,
10875
10907
  ...props
10876
10908
  }) {
10877
- return /* @__PURE__ */ jsxs48(
10909
+ return /* @__PURE__ */ jsxs49(
10878
10910
  ContextMenuPrimitive.SubTrigger,
10879
10911
  {
10880
10912
  "data-slot": "context-menu-sub-trigger",
@@ -10890,7 +10922,7 @@ function ContextMenuSubTriggerBase({
10890
10922
  ...props,
10891
10923
  children: [
10892
10924
  children,
10893
- /* @__PURE__ */ jsx68(CaretRightIcon6, { className: "ml-auto" })
10925
+ /* @__PURE__ */ jsx67(CaretRightIcon6, { className: "ml-auto" })
10894
10926
  ]
10895
10927
  }
10896
10928
  );
@@ -10899,7 +10931,7 @@ function ContextMenuSubContentBase({
10899
10931
  className,
10900
10932
  ...props
10901
10933
  }) {
10902
- return /* @__PURE__ */ jsx68(
10934
+ return /* @__PURE__ */ jsx67(
10903
10935
  ContextMenuPrimitive.SubContent,
10904
10936
  {
10905
10937
  "data-slot": "context-menu-sub-content",
@@ -10919,7 +10951,7 @@ function ContextMenuContentBase({
10919
10951
  className,
10920
10952
  ...props
10921
10953
  }) {
10922
- return /* @__PURE__ */ jsx68(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx68(
10954
+ return /* @__PURE__ */ jsx67(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx67(
10923
10955
  ContextMenuPrimitive.Content,
10924
10956
  {
10925
10957
  "data-slot": "context-menu-content",
@@ -10942,7 +10974,7 @@ function ContextMenuItemBase({
10942
10974
  variant = "default",
10943
10975
  ...props
10944
10976
  }) {
10945
- return /* @__PURE__ */ jsx68(
10977
+ return /* @__PURE__ */ jsx67(
10946
10978
  ContextMenuPrimitive.Item,
10947
10979
  {
10948
10980
  "data-slot": "context-menu-item",
@@ -10970,7 +11002,7 @@ function ContextMenuCheckboxItemBase({
10970
11002
  checked,
10971
11003
  ...props
10972
11004
  }) {
10973
- return /* @__PURE__ */ jsxs48(
11005
+ return /* @__PURE__ */ jsxs49(
10974
11006
  ContextMenuPrimitive.CheckboxItem,
10975
11007
  {
10976
11008
  "data-slot": "context-menu-checkbox-item",
@@ -10985,7 +11017,7 @@ function ContextMenuCheckboxItemBase({
10985
11017
  checked,
10986
11018
  ...props,
10987
11019
  children: [
10988
- /* @__PURE__ */ jsx68("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx68(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx68(CheckIcon9, { className: "size-4" }) }) }),
11020
+ /* @__PURE__ */ jsx67("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx67(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx67(CheckIcon9, { className: "size-4" }) }) }),
10989
11021
  children
10990
11022
  ]
10991
11023
  }
@@ -10996,7 +11028,7 @@ function ContextMenuRadioItemBase({
10996
11028
  children,
10997
11029
  ...props
10998
11030
  }) {
10999
- return /* @__PURE__ */ jsxs48(
11031
+ return /* @__PURE__ */ jsxs49(
11000
11032
  ContextMenuPrimitive.RadioItem,
11001
11033
  {
11002
11034
  "data-slot": "context-menu-radio-item",
@@ -11010,7 +11042,7 @@ function ContextMenuRadioItemBase({
11010
11042
  ),
11011
11043
  ...props,
11012
11044
  children: [
11013
- /* @__PURE__ */ jsx68("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx68(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx68(CircleIcon2, { className: "size-2 fill-current" }) }) }),
11045
+ /* @__PURE__ */ jsx67("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx67(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx67(CircleIcon2, { className: "size-2 fill-current" }) }) }),
11014
11046
  children
11015
11047
  ]
11016
11048
  }
@@ -11021,7 +11053,7 @@ function ContextMenuLabelBase({
11021
11053
  inset,
11022
11054
  ...props
11023
11055
  }) {
11024
- return /* @__PURE__ */ jsx68(
11056
+ return /* @__PURE__ */ jsx67(
11025
11057
  ContextMenuPrimitive.Label,
11026
11058
  {
11027
11059
  "data-slot": "context-menu-label",
@@ -11035,7 +11067,7 @@ function ContextMenuSeparatorBase({
11035
11067
  className,
11036
11068
  ...props
11037
11069
  }) {
11038
- return /* @__PURE__ */ jsx68(
11070
+ return /* @__PURE__ */ jsx67(
11039
11071
  ContextMenuPrimitive.Separator,
11040
11072
  {
11041
11073
  "data-slot": "context-menu-separator",
@@ -11048,7 +11080,7 @@ function ContextMenuShortcutBase({
11048
11080
  className,
11049
11081
  ...props
11050
11082
  }) {
11051
- return /* @__PURE__ */ jsx68(
11083
+ return /* @__PURE__ */ jsx67(
11052
11084
  "span",
11053
11085
  {
11054
11086
  "data-slot": "context-menu-shortcut",
@@ -11071,9 +11103,9 @@ import {
11071
11103
  GearIcon as GearIcon2,
11072
11104
  TerminalIcon
11073
11105
  } from "@phosphor-icons/react";
11074
- import React43 from "react";
11106
+ import React44 from "react";
11075
11107
  import { Prism as SyntaxHighlighter } from "react-syntax-highlighter";
11076
- import { jsx as jsx69, jsxs as jsxs49 } from "react/jsx-runtime";
11108
+ import { jsx as jsx68, jsxs as jsxs50 } from "react/jsx-runtime";
11077
11109
  var CodeBlock = ({
11078
11110
  language,
11079
11111
  filename,
@@ -11083,11 +11115,11 @@ var CodeBlock = ({
11083
11115
  breadcrumb = [],
11084
11116
  showStats = true
11085
11117
  }) => {
11086
- const [copied, setCopied] = React43.useState(false);
11087
- const [activeTab, setActiveTab] = React43.useState(0);
11088
- const [isExpanded, setIsExpanded] = React43.useState(false);
11118
+ const [copied, setCopied] = React44.useState(false);
11119
+ const [activeTab, setActiveTab] = React44.useState(0);
11120
+ const [isExpanded, setIsExpanded] = React44.useState(false);
11089
11121
  const tabsExist = tabs.length > 0;
11090
- const cssVars = React43.useMemo(
11122
+ const cssVars = React44.useMemo(
11091
11123
  () => ({
11092
11124
  container: {
11093
11125
  backgroundColor: "hsl(var(--card))",
@@ -11152,12 +11184,12 @@ var CodeBlock = ({
11152
11184
  case "jsx":
11153
11185
  case "typescript":
11154
11186
  case "tsx":
11155
- return /* @__PURE__ */ jsx69(CodeIcon, { size: "1em", className: "text-yellow-400" });
11187
+ return /* @__PURE__ */ jsx68(CodeIcon, { size: "1em", className: "text-yellow-400" });
11156
11188
  case "bash":
11157
11189
  case "shell":
11158
- return /* @__PURE__ */ jsx69(TerminalIcon, { size: "1em", className: "text-green-400" });
11190
+ return /* @__PURE__ */ jsx68(TerminalIcon, { size: "1em", className: "text-green-400" });
11159
11191
  default:
11160
- return /* @__PURE__ */ jsx69(FileArchiveIcon, { size: "1em", className: "text-blue-400" });
11192
+ return /* @__PURE__ */ jsx68(FileArchiveIcon, { size: "1em", className: "text-blue-400" });
11161
11193
  }
11162
11194
  };
11163
11195
  const getCodeStats = (source) => {
@@ -11167,24 +11199,24 @@ var CodeBlock = ({
11167
11199
  return { lines, chars, words };
11168
11200
  };
11169
11201
  const stats = showStats ? getCodeStats(activeCodeSanitized) : null;
11170
- return /* @__PURE__ */ jsxs49(
11202
+ return /* @__PURE__ */ jsxs50(
11171
11203
  "div",
11172
11204
  {
11173
11205
  className: `relative w-full rounded-xl overflow-hidden shadow-sm border no-underline-code`,
11174
11206
  style: cssVars.container,
11175
11207
  children: [
11176
- /* @__PURE__ */ jsx69("style", { children: `.no-underline-code a { text-decoration: none !important; text-shadow: none !important; box-shadow: none !important; } .no-underline-code code a { text-decoration: none !important; }` }),
11177
- /* @__PURE__ */ jsxs49("div", { className: `flex items-stretch min-h-[3rem]`, style: cssVars.header, children: [
11178
- /* @__PURE__ */ jsxs49("div", { className: "flex-1 flex items-center min-w-0 px-3", children: [
11179
- /* @__PURE__ */ jsxs49("div", { className: "flex gap-2 mr-3 shrink-0", children: [
11180
- /* @__PURE__ */ jsx69("div", { className: "w-3 h-3 rounded-full bg-red-500" }),
11181
- /* @__PURE__ */ jsx69("div", { className: "w-3 h-3 rounded-full bg-yellow-500" }),
11182
- /* @__PURE__ */ jsx69("div", { className: "w-3 h-3 rounded-full bg-green-500" })
11208
+ /* @__PURE__ */ jsx68("style", { children: `.no-underline-code a { text-decoration: none !important; text-shadow: none !important; box-shadow: none !important; } .no-underline-code code a { text-decoration: none !important; }` }),
11209
+ /* @__PURE__ */ jsxs50("div", { className: `flex items-stretch min-h-[3rem]`, style: cssVars.header, children: [
11210
+ /* @__PURE__ */ jsxs50("div", { className: "flex-1 flex items-center min-w-0 px-3", children: [
11211
+ /* @__PURE__ */ jsxs50("div", { className: "flex gap-2 mr-3 shrink-0", children: [
11212
+ /* @__PURE__ */ jsx68("div", { className: "w-3 h-3 rounded-full bg-red-500" }),
11213
+ /* @__PURE__ */ jsx68("div", { className: "w-3 h-3 rounded-full bg-yellow-500" }),
11214
+ /* @__PURE__ */ jsx68("div", { className: "w-3 h-3 rounded-full bg-green-500" })
11183
11215
  ] }),
11184
- breadcrumb.length > 0 && /* @__PURE__ */ jsxs49("div", { className: "flex items-center min-w-0", children: [
11185
- /* @__PURE__ */ jsx69(FolderIcon, { size: "1em", style: cssVars.icon }),
11186
- /* @__PURE__ */ jsx69("div", { className: "flex items-center min-w-0 ml-2", children: breadcrumb.map((crumb, index) => /* @__PURE__ */ jsxs49(React43.Fragment, { children: [
11187
- /* @__PURE__ */ jsx69(
11216
+ breadcrumb.length > 0 && /* @__PURE__ */ jsxs50("div", { className: "flex items-center min-w-0", children: [
11217
+ /* @__PURE__ */ jsx68(FolderIcon, { size: "1em", style: cssVars.icon }),
11218
+ /* @__PURE__ */ jsx68("div", { className: "flex items-center min-w-0 ml-2", children: breadcrumb.map((crumb, index) => /* @__PURE__ */ jsxs50(React44.Fragment, { children: [
11219
+ /* @__PURE__ */ jsx68(
11188
11220
  "span",
11189
11221
  {
11190
11222
  className: "text-xs truncate",
@@ -11192,7 +11224,7 @@ var CodeBlock = ({
11192
11224
  children: crumb
11193
11225
  }
11194
11226
  ),
11195
- index < breadcrumb.length - 1 && /* @__PURE__ */ jsx69(
11227
+ index < breadcrumb.length - 1 && /* @__PURE__ */ jsx68(
11196
11228
  ArrowRightIcon3,
11197
11229
  {
11198
11230
  size: "0.75em",
@@ -11203,8 +11235,8 @@ var CodeBlock = ({
11203
11235
  ] }, index)) })
11204
11236
  ] })
11205
11237
  ] }),
11206
- /* @__PURE__ */ jsxs49("div", { className: "flex items-center justify-end shrink-0 px-2", children: [
11207
- stats && /* @__PURE__ */ jsxs49(
11238
+ /* @__PURE__ */ jsxs50("div", { className: "flex items-center justify-end shrink-0 px-2", children: [
11239
+ stats && /* @__PURE__ */ jsxs50(
11208
11240
  "div",
11209
11241
  {
11210
11242
  className: `text-xs mx-2 truncate hidden md:block`,
@@ -11217,44 +11249,44 @@ var CodeBlock = ({
11217
11249
  ]
11218
11250
  }
11219
11251
  ),
11220
- /* @__PURE__ */ jsxs49("div", { className: "flex", children: [
11221
- /* @__PURE__ */ jsx69(
11252
+ /* @__PURE__ */ jsxs50("div", { className: "flex", children: [
11253
+ /* @__PURE__ */ jsx68(
11222
11254
  "button",
11223
11255
  {
11224
11256
  onClick: () => setIsExpanded(!isExpanded),
11225
11257
  className: `p-2 transition-colors hover:bg-gray-200 dark:hover:bg-slate-700`,
11226
11258
  title: "Toggle fullscreen",
11227
- children: /* @__PURE__ */ jsx69(ArrowsOutIcon, { size: "1em", style: cssVars.icon })
11259
+ children: /* @__PURE__ */ jsx68(ArrowsOutIcon, { size: "1em", style: cssVars.icon })
11228
11260
  }
11229
11261
  ),
11230
- /* @__PURE__ */ jsx69(
11262
+ /* @__PURE__ */ jsx68(
11231
11263
  "button",
11232
11264
  {
11233
11265
  onClick: downloadCode,
11234
11266
  className: `p-2 transition-colors hover:bg-gray-200 dark:hover:bg-slate-700`,
11235
11267
  title: "Download code",
11236
- children: /* @__PURE__ */ jsx69(DownloadIcon, { size: "1em", style: cssVars.icon })
11268
+ children: /* @__PURE__ */ jsx68(DownloadIcon, { size: "1em", style: cssVars.icon })
11237
11269
  }
11238
11270
  ),
11239
- /* @__PURE__ */ jsx69(
11271
+ /* @__PURE__ */ jsx68(
11240
11272
  "button",
11241
11273
  {
11242
11274
  onClick: copyToClipboard,
11243
11275
  className: `p-2 transition-colors hover:bg-gray-200 dark:hover:bg-slate-700`,
11244
11276
  title: "Copy code",
11245
- children: copied ? /* @__PURE__ */ jsx69(
11277
+ children: copied ? /* @__PURE__ */ jsx68(
11246
11278
  CheckIcon10,
11247
11279
  {
11248
11280
  size: "1em",
11249
11281
  style: { color: "hsl(var(--primary))" }
11250
11282
  }
11251
- ) : /* @__PURE__ */ jsx69(CopyIcon2, { size: "1em", style: cssVars.icon })
11283
+ ) : /* @__PURE__ */ jsx68(CopyIcon2, { size: "1em", style: cssVars.icon })
11252
11284
  }
11253
11285
  )
11254
11286
  ] })
11255
11287
  ] })
11256
11288
  ] }),
11257
- tabsExist && /* @__PURE__ */ jsx69(
11289
+ tabsExist && /* @__PURE__ */ jsx68(
11258
11290
  "div",
11259
11291
  {
11260
11292
  className: `flex border-b overflow-x-auto`,
@@ -11262,7 +11294,7 @@ var CodeBlock = ({
11262
11294
  borderColor: "hsl(var(--border))",
11263
11295
  backgroundColor: "hsl(var(--popover))"
11264
11296
  },
11265
- children: tabs.map((tab, index) => /* @__PURE__ */ jsxs49(
11297
+ children: tabs.map((tab, index) => /* @__PURE__ */ jsxs50(
11266
11298
  "button",
11267
11299
  {
11268
11300
  onClick: () => setActiveTab(index),
@@ -11273,14 +11305,14 @@ var CodeBlock = ({
11273
11305
  } : void 0,
11274
11306
  children: [
11275
11307
  getLanguageIcon(tab.language || language),
11276
- /* @__PURE__ */ jsx69("span", { className: "truncate max-w-[10rem]", children: tab.name })
11308
+ /* @__PURE__ */ jsx68("span", { className: "truncate max-w-[10rem]", children: tab.name })
11277
11309
  ]
11278
11310
  },
11279
11311
  index
11280
11312
  ))
11281
11313
  }
11282
11314
  ),
11283
- !tabsExist && filename && /* @__PURE__ */ jsx69(
11315
+ !tabsExist && filename && /* @__PURE__ */ jsx68(
11284
11316
  "div",
11285
11317
  {
11286
11318
  className: "flex items-center px-3 py-2 border-b",
@@ -11288,9 +11320,9 @@ var CodeBlock = ({
11288
11320
  borderColor: "hsl(var(--border))",
11289
11321
  backgroundColor: "hsl(var(--popover))"
11290
11322
  },
11291
- children: /* @__PURE__ */ jsxs49("div", { className: "flex items-center gap-2 min-w-0", children: [
11323
+ children: /* @__PURE__ */ jsxs50("div", { className: "flex items-center gap-2 min-w-0", children: [
11292
11324
  getLanguageIcon(language),
11293
- /* @__PURE__ */ jsx69(
11325
+ /* @__PURE__ */ jsx68(
11294
11326
  "span",
11295
11327
  {
11296
11328
  className: "text-sm font-medium truncate",
@@ -11301,11 +11333,11 @@ var CodeBlock = ({
11301
11333
  ] })
11302
11334
  }
11303
11335
  ),
11304
- /* @__PURE__ */ jsx69(
11336
+ /* @__PURE__ */ jsx68(
11305
11337
  "div",
11306
11338
  {
11307
11339
  className: `relative ${isExpanded ? "max-h-screen overflow-auto" : "max-h-96 overflow-auto"}`,
11308
- children: /* @__PURE__ */ jsx69(
11340
+ children: /* @__PURE__ */ jsx68(
11309
11341
  SyntaxHighlighter,
11310
11342
  {
11311
11343
  language: activeLanguage,
@@ -11339,7 +11371,7 @@ var CodeBlock = ({
11339
11371
  )
11340
11372
  }
11341
11373
  ),
11342
- showStats && stats && /* @__PURE__ */ jsxs49(
11374
+ showStats && stats && /* @__PURE__ */ jsxs50(
11343
11375
  "div",
11344
11376
  {
11345
11377
  className: "px-3 py-2 border-t text-xs flex items-center justify-between min-h-[2.5rem]",
@@ -11349,20 +11381,20 @@ var CodeBlock = ({
11349
11381
  color: "hsl(var(--muted-foreground))"
11350
11382
  },
11351
11383
  children: [
11352
- /* @__PURE__ */ jsxs49("div", { className: "flex items-center gap-3 min-w-0", children: [
11353
- /* @__PURE__ */ jsx69("span", { className: "truncate", children: activeLanguage.toUpperCase() }),
11354
- /* @__PURE__ */ jsxs49("span", { className: "truncate hidden sm:inline", children: [
11384
+ /* @__PURE__ */ jsxs50("div", { className: "flex items-center gap-3 min-w-0", children: [
11385
+ /* @__PURE__ */ jsx68("span", { className: "truncate", children: activeLanguage.toUpperCase() }),
11386
+ /* @__PURE__ */ jsxs50("span", { className: "truncate hidden sm:inline", children: [
11355
11387
  stats.lines,
11356
11388
  " lines"
11357
11389
  ] }),
11358
- /* @__PURE__ */ jsxs49("span", { className: "truncate hidden md:inline", children: [
11390
+ /* @__PURE__ */ jsxs50("span", { className: "truncate hidden md:inline", children: [
11359
11391
  stats.chars,
11360
11392
  " chars"
11361
11393
  ] })
11362
11394
  ] }),
11363
- /* @__PURE__ */ jsxs49("div", { className: "flex items-center gap-1 shrink-0", children: [
11364
- /* @__PURE__ */ jsx69(GearIcon2, { size: "0.75em", style: cssVars.icon }),
11365
- /* @__PURE__ */ jsx69("span", { children: "UTF-8" })
11395
+ /* @__PURE__ */ jsxs50("div", { className: "flex items-center gap-1 shrink-0", children: [
11396
+ /* @__PURE__ */ jsx68(GearIcon2, { size: "0.75em", style: cssVars.icon }),
11397
+ /* @__PURE__ */ jsx68("span", { children: "UTF-8" })
11366
11398
  ] })
11367
11399
  ]
11368
11400
  }
@@ -11373,7 +11405,7 @@ var CodeBlock = ({
11373
11405
  };
11374
11406
 
11375
11407
  // src/components/ui/data/StatusIndicator.tsx
11376
- import { jsx as jsx70, jsxs as jsxs50 } from "react/jsx-runtime";
11408
+ import { jsx as jsx69, jsxs as jsxs51 } from "react/jsx-runtime";
11377
11409
  function StatusIndicator({
11378
11410
  color = "green",
11379
11411
  size = "sm",
@@ -11411,20 +11443,20 @@ function StatusIndicator({
11411
11443
  "flex-shrink-0"
11412
11444
  );
11413
11445
  if (position === "inline") {
11414
- return /* @__PURE__ */ jsxs50(
11446
+ return /* @__PURE__ */ jsxs51(
11415
11447
  "span",
11416
11448
  {
11417
11449
  className: cn("inline-flex items-center gap-2", className),
11418
11450
  ...props,
11419
11451
  children: [
11420
- show && /* @__PURE__ */ jsx70("span", { className: dotClass, "aria-hidden": !show }),
11421
- children && /* @__PURE__ */ jsx70("span", { className: "truncate", children })
11452
+ show && /* @__PURE__ */ jsx69("span", { className: dotClass, "aria-hidden": !show }),
11453
+ children && /* @__PURE__ */ jsx69("span", { className: "truncate", children })
11422
11454
  ]
11423
11455
  }
11424
11456
  );
11425
11457
  }
11426
- return /* @__PURE__ */ jsxs50("div", { className: cn("relative inline-flex", className), ...props, children: [
11427
- show && /* @__PURE__ */ jsx70(
11458
+ return /* @__PURE__ */ jsxs51("div", { className: cn("relative inline-flex", className), ...props, children: [
11459
+ show && /* @__PURE__ */ jsx69(
11428
11460
  "span",
11429
11461
  {
11430
11462
  "aria-hidden": !show,
@@ -11432,20 +11464,25 @@ function StatusIndicator({
11432
11464
  "pointer-events-none z-10",
11433
11465
  absolutePositionClasses[position]
11434
11466
  ),
11435
- children: /* @__PURE__ */ jsx70("span", { className: dotClass })
11467
+ children: /* @__PURE__ */ jsx69("span", { className: dotClass })
11436
11468
  }
11437
11469
  ),
11438
- /* @__PURE__ */ jsx70("div", { className: "min-w-0", children })
11470
+ /* @__PURE__ */ jsx69("div", { className: "min-w-0", children })
11439
11471
  ] });
11440
11472
  }
11441
11473
 
11474
+ // src/components/ui/form/DebouncedInput.tsx
11475
+ import { useEffect as useEffect17, useState as useState19 } from "react";
11476
+ import { CircleNotchIcon as CircleNotchIcon2 } from "@phosphor-icons/react";
11477
+ import { jsx as jsx70 } from "react/jsx-runtime";
11478
+
11442
11479
  // src/hooks/use-drag.tsx
11443
- import { useState as useState20, useCallback as useCallback12, useRef as useRef8, useEffect as useEffect18 } from "react";
11480
+ import { useState as useState20, useCallback as useCallback12, useRef as useRef9, useEffect as useEffect18 } from "react";
11444
11481
  var useDrag = (options = {}) => {
11445
11482
  const [isDragging, setIsDragging] = useState20(null);
11446
11483
  const [positions, setPositions] = useState20({});
11447
- const dragStartPos = useRef8(null);
11448
- const dragId = useRef8(null);
11484
+ const dragStartPos = useRef9(null);
11485
+ const dragId = useRef9(null);
11449
11486
  const handleMouseDown = useCallback12((id, e) => {
11450
11487
  e.preventDefault();
11451
11488
  const currentPosition = positions[id] || { top: 0, left: 0 };
@@ -11532,7 +11569,7 @@ export {
11532
11569
  AvatarFallbackBase,
11533
11570
  AvatarImageBase,
11534
11571
  BackButton,
11535
- BadgeBase,
11572
+ Badge,
11536
11573
  BarChart_default as BarChart,
11537
11574
  BreadcrumbBase,
11538
11575
  BreadcrumbEllipsisBase,
@@ -11554,7 +11591,7 @@ export {
11554
11591
  CarouselContentBase,
11555
11592
  CarouselItemBase,
11556
11593
  CarouselNextBase,
11557
- CarouselPrevious,
11594
+ CarouselPreviousBase,
11558
11595
  ChangeButton,
11559
11596
  Chart_default as Chart,
11560
11597
  CheckButton,