@bergetai/ui 0.14.0 → 0.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -134,6 +134,11 @@ __export(src_exports, {
134
134
  NavigationMenuList: () => NavigationMenuList,
135
135
  NavigationMenuPositioner: () => NavigationMenuPositioner,
136
136
  NavigationMenuTrigger: () => NavigationMenuTrigger,
137
+ Progress: () => Progress2,
138
+ ProgressIndicator: () => ProgressIndicator,
139
+ ProgressLabel: () => ProgressLabel,
140
+ ProgressTrack: () => ProgressTrack,
141
+ ProgressValue: () => ProgressValue,
137
142
  SearchInput: () => SearchInput,
138
143
  Select: () => Select,
139
144
  SelectContent: () => SelectContent,
@@ -1324,19 +1329,121 @@ var Skeleton2 = React11.forwardRef(({ className, ...props }, ref) => {
1324
1329
  });
1325
1330
  Skeleton2.displayName = "Skeleton";
1326
1331
 
1327
- // src/components/dialog/Dialog.tsx
1332
+ // src/components/progress/Progress.tsx
1328
1333
  var React12 = __toESM(require("react"), 1);
1334
+
1335
+ // src/primitives/progress.tsx
1336
+ var import_progress = require("@base-ui/react/progress");
1337
+ var import_cn5 = require("cn");
1338
+ var import_jsx_runtime16 = require("react/jsx-runtime");
1339
+ function Progress({
1340
+ className,
1341
+ children,
1342
+ value,
1343
+ ...props
1344
+ }) {
1345
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1346
+ import_progress.Progress.Root,
1347
+ {
1348
+ value,
1349
+ "data-slot": "progress",
1350
+ className: (0, import_cn5.cn)("flex flex-wrap gap-3", className),
1351
+ ...props,
1352
+ children: [
1353
+ children,
1354
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ProgressTrack, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ProgressIndicator, {}) })
1355
+ ]
1356
+ }
1357
+ );
1358
+ }
1359
+ function ProgressTrack({ className, ...props }) {
1360
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1361
+ import_progress.Progress.Track,
1362
+ {
1363
+ className: (0, import_cn5.cn)(
1364
+ // bg-secondary, not bg-muted: dark --muted resolves to granite-950,
1365
+ // the same value as --background (Bedrock) — the track would be
1366
+ // invisible on page backgrounds. --secondary stays visible on both
1367
+ // the base background and card surfaces, in both themes.
1368
+ "relative flex h-1 w-full items-center overflow-x-hidden rounded-full bg-secondary",
1369
+ className
1370
+ ),
1371
+ "data-slot": "progress-track",
1372
+ ...props
1373
+ }
1374
+ );
1375
+ }
1376
+ function ProgressIndicator({
1377
+ className,
1378
+ ...props
1379
+ }) {
1380
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1381
+ import_progress.Progress.Indicator,
1382
+ {
1383
+ "data-slot": "progress-indicator",
1384
+ className: (0, import_cn5.cn)("h-full bg-foreground transition-all", className),
1385
+ ...props
1386
+ }
1387
+ );
1388
+ }
1389
+ function ProgressLabel({ className, ...props }) {
1390
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1391
+ import_progress.Progress.Label,
1392
+ {
1393
+ className: (0, import_cn5.cn)("text-sm font-medium", className),
1394
+ "data-slot": "progress-label",
1395
+ ...props
1396
+ }
1397
+ );
1398
+ }
1399
+ function ProgressValue({ className, ...props }) {
1400
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1401
+ import_progress.Progress.Value,
1402
+ {
1403
+ className: (0, import_cn5.cn)(
1404
+ "ml-auto text-sm text-muted-foreground tabular-nums",
1405
+ className
1406
+ ),
1407
+ "data-slot": "progress-value",
1408
+ ...props
1409
+ }
1410
+ );
1411
+ }
1412
+
1413
+ // src/components/progress/Progress.tsx
1414
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1415
+ var Progress2 = React12.forwardRef(
1416
+ ({ className, value, ...props }, ref) => {
1417
+ const indeterminate = value == null;
1418
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1419
+ Progress,
1420
+ {
1421
+ ref,
1422
+ value,
1423
+ className: cn(
1424
+ indeterminate && "[&_[data-slot=progress-indicator]]:w-1/3 [&_[data-slot=progress-indicator]]:animate-progress-indeterminate",
1425
+ className
1426
+ ),
1427
+ ...props
1428
+ }
1429
+ );
1430
+ }
1431
+ );
1432
+ Progress2.displayName = "Progress";
1433
+
1434
+ // src/components/dialog/Dialog.tsx
1435
+ var React13 = __toESM(require("react"), 1);
1329
1436
  var import_dialog = require("@base-ui/react/dialog");
1330
1437
  var import_lucide_react2 = require("lucide-react");
1331
- var import_jsx_runtime16 = require("react/jsx-runtime");
1438
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1332
1439
  var Dialog = import_dialog.Dialog.Root;
1333
- var DialogTrigger = React12.forwardRef(
1334
- ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_dialog.Dialog.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1440
+ var DialogTrigger = React13.forwardRef(
1441
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_dialog.Dialog.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1335
1442
  );
1336
1443
  DialogTrigger.displayName = "DialogTrigger";
1337
1444
  var DialogPortal = import_dialog.Dialog.Portal;
1338
1445
  var DialogClose = import_dialog.Dialog.Close;
1339
- var DialogOverlay = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1446
+ var DialogOverlay = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1340
1447
  import_dialog.Dialog.Backdrop,
1341
1448
  {
1342
1449
  ref,
@@ -1348,9 +1455,9 @@ var DialogOverlay = React12.forwardRef(({ className, ...props }, ref) => /* @__P
1348
1455
  }
1349
1456
  ));
1350
1457
  DialogOverlay.displayName = "DialogOverlay";
1351
- var DialogContent = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(DialogPortal, { children: [
1352
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(DialogOverlay, {}),
1353
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1458
+ var DialogContent = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(DialogPortal, { children: [
1459
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(DialogOverlay, {}),
1460
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1354
1461
  import_dialog.Dialog.Popup,
1355
1462
  {
1356
1463
  ref,
@@ -1361,18 +1468,18 @@ var DialogContent = React12.forwardRef(({ className, children, ...props }, ref)
1361
1468
  ...props,
1362
1469
  children: [
1363
1470
  children,
1364
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_dialog.Dialog.Close, { className: "absolute right-4 top-4 rounded-berget-xs opacity-70 ring-offset-berget-dialog-bg transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-berget-focus-ring focus:ring-offset-2 disabled:pointer-events-none data-open:bg-berget-muted data-open:text-berget-muted-foreground", children: [
1365
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react2.X, { className: "size-4" }),
1366
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "sr-only", children: "Close" })
1471
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_dialog.Dialog.Close, { className: "absolute right-4 top-4 rounded-berget-xs opacity-70 ring-offset-berget-dialog-bg transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-berget-focus-ring focus:ring-offset-2 disabled:pointer-events-none data-open:bg-berget-muted data-open:text-berget-muted-foreground", children: [
1472
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react2.X, { className: "size-4" }),
1473
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "sr-only", children: "Close" })
1367
1474
  ] })
1368
1475
  ]
1369
1476
  }
1370
1477
  )
1371
1478
  ] }));
1372
1479
  DialogContent.displayName = "DialogContent";
1373
- var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
1480
+ var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
1374
1481
  DialogHeader.displayName = "DialogHeader";
1375
- var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1482
+ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1376
1483
  "div",
1377
1484
  {
1378
1485
  className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
@@ -1380,21 +1487,21 @@ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_r
1380
1487
  }
1381
1488
  );
1382
1489
  DialogFooter.displayName = "DialogFooter";
1383
- var DialogTitle = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1490
+ var DialogTitle = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1384
1491
  import_dialog.Dialog.Title,
1385
1492
  {
1386
1493
  ref,
1387
- render: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Typography, { variant: "h5", color: "default", as: "h2", className }),
1494
+ render: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Typography, { variant: "h5", color: "default", as: "h2", className }),
1388
1495
  ...props,
1389
1496
  children
1390
1497
  }
1391
1498
  ));
1392
1499
  DialogTitle.displayName = "DialogTitle";
1393
- var DialogDescription = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1500
+ var DialogDescription = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1394
1501
  import_dialog.Dialog.Description,
1395
1502
  {
1396
1503
  ref,
1397
- render: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Typography, { variant: "small", color: "muted", className }),
1504
+ render: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Typography, { variant: "small", color: "muted", className }),
1398
1505
  ...props,
1399
1506
  children
1400
1507
  }
@@ -1402,16 +1509,16 @@ var DialogDescription = React12.forwardRef(({ className, children, ...props }, r
1402
1509
  DialogDescription.displayName = "DialogDescription";
1403
1510
 
1404
1511
  // src/components/alert-dialog/AlertDialog.tsx
1405
- var React13 = __toESM(require("react"), 1);
1512
+ var React14 = __toESM(require("react"), 1);
1406
1513
  var import_alert_dialog = require("@base-ui/react/alert-dialog");
1407
- var import_jsx_runtime17 = require("react/jsx-runtime");
1514
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1408
1515
  var AlertDialog = import_alert_dialog.AlertDialog.Root;
1409
- var AlertDialogTrigger = React13.forwardRef(
1410
- ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_alert_dialog.AlertDialog.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1516
+ var AlertDialogTrigger = React14.forwardRef(
1517
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_alert_dialog.AlertDialog.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1411
1518
  );
1412
1519
  AlertDialogTrigger.displayName = "AlertDialogTrigger";
1413
1520
  var AlertDialogPortal = import_alert_dialog.AlertDialog.Portal;
1414
- var AlertDialogOverlay = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1521
+ var AlertDialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1415
1522
  import_alert_dialog.AlertDialog.Backdrop,
1416
1523
  {
1417
1524
  ref,
@@ -1423,9 +1530,9 @@ var AlertDialogOverlay = React13.forwardRef(({ className, ...props }, ref) => /*
1423
1530
  }
1424
1531
  ));
1425
1532
  AlertDialogOverlay.displayName = "AlertDialogOverlay";
1426
- var AlertDialogContent = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(AlertDialogPortal, { children: [
1427
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(AlertDialogOverlay, {}),
1428
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1533
+ var AlertDialogContent = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(AlertDialogPortal, { children: [
1534
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AlertDialogOverlay, {}),
1535
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1429
1536
  import_alert_dialog.AlertDialog.Popup,
1430
1537
  {
1431
1538
  ref,
@@ -1438,9 +1545,9 @@ var AlertDialogContent = React13.forwardRef(({ className, ...props }, ref) => /*
1438
1545
  )
1439
1546
  ] }));
1440
1547
  AlertDialogContent.displayName = "AlertDialogContent";
1441
- var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
1548
+ var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
1442
1549
  AlertDialogHeader.displayName = "AlertDialogHeader";
1443
- var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1550
+ var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1444
1551
  "div",
1445
1552
  {
1446
1553
  className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
@@ -1448,27 +1555,27 @@ var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_
1448
1555
  }
1449
1556
  );
1450
1557
  AlertDialogFooter.displayName = "AlertDialogFooter";
1451
- var AlertDialogTitle = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1558
+ var AlertDialogTitle = React14.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1452
1559
  import_alert_dialog.AlertDialog.Title,
1453
1560
  {
1454
1561
  ref,
1455
- render: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Typography, { variant: "h5", color: "default", as: "h2", className }),
1562
+ render: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Typography, { variant: "h5", color: "default", as: "h2", className }),
1456
1563
  ...props,
1457
1564
  children
1458
1565
  }
1459
1566
  ));
1460
1567
  AlertDialogTitle.displayName = "AlertDialogTitle";
1461
- var AlertDialogDescription = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1568
+ var AlertDialogDescription = React14.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1462
1569
  import_alert_dialog.AlertDialog.Description,
1463
1570
  {
1464
1571
  ref,
1465
- render: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Typography, { variant: "small", color: "muted", className }),
1572
+ render: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Typography, { variant: "small", color: "muted", className }),
1466
1573
  ...props,
1467
1574
  children
1468
1575
  }
1469
1576
  ));
1470
1577
  AlertDialogDescription.displayName = "AlertDialogDescription";
1471
- var AlertDialogAction = React13.forwardRef(({ className, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1578
+ var AlertDialogAction = React14.forwardRef(({ className, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1472
1579
  import_alert_dialog.AlertDialog.Close,
1473
1580
  {
1474
1581
  ref,
@@ -1479,7 +1586,7 @@ var AlertDialogAction = React13.forwardRef(({ className, asChild, children, ...p
1479
1586
  }
1480
1587
  ));
1481
1588
  AlertDialogAction.displayName = "AlertDialogAction";
1482
- var AlertDialogCancel = React13.forwardRef(({ className, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1589
+ var AlertDialogCancel = React14.forwardRef(({ className, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1483
1590
  import_alert_dialog.AlertDialog.Close,
1484
1591
  {
1485
1592
  ref,
@@ -1492,21 +1599,21 @@ var AlertDialogCancel = React13.forwardRef(({ className, asChild, children, ...p
1492
1599
  AlertDialogCancel.displayName = "AlertDialogCancel";
1493
1600
 
1494
1601
  // src/components/dropdown-menu/DropdownMenu.tsx
1495
- var React14 = __toESM(require("react"), 1);
1602
+ var React15 = __toESM(require("react"), 1);
1496
1603
 
1497
1604
  // src/primitives/dropdown-menu.tsx
1498
1605
  var import_menu = require("@base-ui/react/menu");
1499
- var import_cn5 = require("cn");
1606
+ var import_cn6 = require("cn");
1500
1607
  var import_lucide_react3 = require("lucide-react");
1501
- var import_jsx_runtime18 = require("react/jsx-runtime");
1608
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1502
1609
  function DropdownMenu({ ...props }) {
1503
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_menu.Menu.Root, { "data-slot": "dropdown-menu", ...props });
1610
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_menu.Menu.Root, { "data-slot": "dropdown-menu", ...props });
1504
1611
  }
1505
1612
  function DropdownMenuPortal({ ...props }) {
1506
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_menu.Menu.Portal, { "data-slot": "dropdown-menu-portal", ...props });
1613
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_menu.Menu.Portal, { "data-slot": "dropdown-menu-portal", ...props });
1507
1614
  }
1508
1615
  function DropdownMenuTrigger({ ...props }) {
1509
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_menu.Menu.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
1616
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_menu.Menu.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
1510
1617
  }
1511
1618
  function DropdownMenuContent({
1512
1619
  align = "start",
@@ -1516,7 +1623,7 @@ function DropdownMenuContent({
1516
1623
  className,
1517
1624
  ...props
1518
1625
  }) {
1519
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_menu.Menu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1626
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_menu.Menu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1520
1627
  import_menu.Menu.Positioner,
1521
1628
  {
1522
1629
  className: "isolate z-50 outline-none",
@@ -1524,11 +1631,11 @@ function DropdownMenuContent({
1524
1631
  alignOffset,
1525
1632
  side,
1526
1633
  sideOffset,
1527
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1634
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1528
1635
  import_menu.Menu.Popup,
1529
1636
  {
1530
1637
  "data-slot": "dropdown-menu-content",
1531
- className: (0, import_cn5.cn)("z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95", className),
1638
+ className: (0, import_cn6.cn)("z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95", className),
1532
1639
  ...props
1533
1640
  }
1534
1641
  )
@@ -1536,19 +1643,19 @@ function DropdownMenuContent({
1536
1643
  ) });
1537
1644
  }
1538
1645
  function DropdownMenuGroup({ ...props }) {
1539
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_menu.Menu.Group, { "data-slot": "dropdown-menu-group", ...props });
1646
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_menu.Menu.Group, { "data-slot": "dropdown-menu-group", ...props });
1540
1647
  }
1541
1648
  function DropdownMenuLabel({
1542
1649
  className,
1543
1650
  inset,
1544
1651
  ...props
1545
1652
  }) {
1546
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1653
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1547
1654
  import_menu.Menu.GroupLabel,
1548
1655
  {
1549
1656
  "data-slot": "dropdown-menu-label",
1550
1657
  "data-inset": inset,
1551
- className: (0, import_cn5.cn)(
1658
+ className: (0, import_cn6.cn)(
1552
1659
  "px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:pl-7",
1553
1660
  className
1554
1661
  ),
@@ -1562,13 +1669,13 @@ function DropdownMenuItem({
1562
1669
  variant = "default",
1563
1670
  ...props
1564
1671
  }) {
1565
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1672
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1566
1673
  import_menu.Menu.Item,
1567
1674
  {
1568
1675
  "data-slot": "dropdown-menu-item",
1569
1676
  "data-inset": inset,
1570
1677
  "data-variant": variant,
1571
- className: (0, import_cn5.cn)(
1678
+ className: (0, import_cn6.cn)(
1572
1679
  "group/dropdown-menu-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive",
1573
1680
  className
1574
1681
  ),
@@ -1577,7 +1684,7 @@ function DropdownMenuItem({
1577
1684
  );
1578
1685
  }
1579
1686
  function DropdownMenuSub({ ...props }) {
1580
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_menu.Menu.SubmenuRoot, { "data-slot": "dropdown-menu-sub", ...props });
1687
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_menu.Menu.SubmenuRoot, { "data-slot": "dropdown-menu-sub", ...props });
1581
1688
  }
1582
1689
  function DropdownMenuSubTrigger({
1583
1690
  className,
@@ -1585,19 +1692,19 @@ function DropdownMenuSubTrigger({
1585
1692
  children,
1586
1693
  ...props
1587
1694
  }) {
1588
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1695
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1589
1696
  import_menu.Menu.SubmenuTrigger,
1590
1697
  {
1591
1698
  "data-slot": "dropdown-menu-sub-trigger",
1592
1699
  "data-inset": inset,
1593
- className: (0, import_cn5.cn)(
1700
+ className: (0, import_cn6.cn)(
1594
1701
  "flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
1595
1702
  className
1596
1703
  ),
1597
1704
  ...props,
1598
1705
  children: [
1599
1706
  children,
1600
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react3.ChevronRightIcon, { className: "ml-auto" })
1707
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_lucide_react3.ChevronRightIcon, { className: "ml-auto" })
1601
1708
  ]
1602
1709
  }
1603
1710
  );
@@ -1610,11 +1717,11 @@ function DropdownMenuSubContent({
1610
1717
  className,
1611
1718
  ...props
1612
1719
  }) {
1613
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1720
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1614
1721
  DropdownMenuContent,
1615
1722
  {
1616
1723
  "data-slot": "dropdown-menu-sub-content",
1617
- className: (0, import_cn5.cn)("w-auto min-w-[96px] rounded-lg bg-popover p-1 text-popover-foreground shadow-lg ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
1724
+ className: (0, import_cn6.cn)("w-auto min-w-[96px] rounded-lg bg-popover p-1 text-popover-foreground shadow-lg ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
1618
1725
  align,
1619
1726
  alignOffset,
1620
1727
  side,
@@ -1630,24 +1737,24 @@ function DropdownMenuCheckboxItem({
1630
1737
  inset,
1631
1738
  ...props
1632
1739
  }) {
1633
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1740
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1634
1741
  import_menu.Menu.CheckboxItem,
1635
1742
  {
1636
1743
  "data-slot": "dropdown-menu-checkbox-item",
1637
1744
  "data-inset": inset,
1638
- className: (0, import_cn5.cn)(
1745
+ className: (0, import_cn6.cn)(
1639
1746
  "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
1640
1747
  className
1641
1748
  ),
1642
1749
  checked,
1643
1750
  ...props,
1644
1751
  children: [
1645
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1752
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1646
1753
  "span",
1647
1754
  {
1648
1755
  className: "pointer-events-none absolute right-2 flex items-center justify-center",
1649
1756
  "data-slot": "dropdown-menu-checkbox-item-indicator",
1650
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_menu.Menu.CheckboxItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1757
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_menu.Menu.CheckboxItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1651
1758
  import_lucide_react3.CheckIcon,
1652
1759
  {}
1653
1760
  ) })
@@ -1659,7 +1766,7 @@ function DropdownMenuCheckboxItem({
1659
1766
  );
1660
1767
  }
1661
1768
  function DropdownMenuRadioGroup({ ...props }) {
1662
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1769
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1663
1770
  import_menu.Menu.RadioGroup,
1664
1771
  {
1665
1772
  "data-slot": "dropdown-menu-radio-group",
@@ -1673,23 +1780,23 @@ function DropdownMenuRadioItem({
1673
1780
  inset,
1674
1781
  ...props
1675
1782
  }) {
1676
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1783
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1677
1784
  import_menu.Menu.RadioItem,
1678
1785
  {
1679
1786
  "data-slot": "dropdown-menu-radio-item",
1680
1787
  "data-inset": inset,
1681
- className: (0, import_cn5.cn)(
1788
+ className: (0, import_cn6.cn)(
1682
1789
  "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
1683
1790
  className
1684
1791
  ),
1685
1792
  ...props,
1686
1793
  children: [
1687
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1794
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1688
1795
  "span",
1689
1796
  {
1690
1797
  className: "pointer-events-none absolute right-2 flex items-center justify-center",
1691
1798
  "data-slot": "dropdown-menu-radio-item-indicator",
1692
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_menu.Menu.RadioItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1799
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_menu.Menu.RadioItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1693
1800
  import_lucide_react3.CheckIcon,
1694
1801
  {}
1695
1802
  ) })
@@ -1704,11 +1811,11 @@ function DropdownMenuSeparator({
1704
1811
  className,
1705
1812
  ...props
1706
1813
  }) {
1707
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1814
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1708
1815
  import_menu.Menu.Separator,
1709
1816
  {
1710
1817
  "data-slot": "dropdown-menu-separator",
1711
- className: (0, import_cn5.cn)("-mx-1 my-1 h-px bg-border", className),
1818
+ className: (0, import_cn6.cn)("-mx-1 my-1 h-px bg-border", className),
1712
1819
  ...props
1713
1820
  }
1714
1821
  );
@@ -1717,11 +1824,11 @@ function DropdownMenuShortcut({
1717
1824
  className,
1718
1825
  ...props
1719
1826
  }) {
1720
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1827
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1721
1828
  "span",
1722
1829
  {
1723
1830
  "data-slot": "dropdown-menu-shortcut",
1724
- className: (0, import_cn5.cn)(
1831
+ className: (0, import_cn6.cn)(
1725
1832
  "ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground",
1726
1833
  className
1727
1834
  ),
@@ -1731,13 +1838,13 @@ function DropdownMenuShortcut({
1731
1838
  }
1732
1839
 
1733
1840
  // src/components/dropdown-menu/DropdownMenu.tsx
1734
- var import_jsx_runtime19 = require("react/jsx-runtime");
1735
- var DropdownMenuTrigger2 = React14.forwardRef(
1736
- ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(DropdownMenuTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1841
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1842
+ var DropdownMenuTrigger2 = React15.forwardRef(
1843
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(DropdownMenuTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1737
1844
  );
1738
1845
  DropdownMenuTrigger2.displayName = "DropdownMenuTrigger";
1739
- var DropdownMenuSubTrigger2 = React14.forwardRef(
1740
- ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1846
+ var DropdownMenuSubTrigger2 = React15.forwardRef(
1847
+ ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1741
1848
  DropdownMenuSubTrigger,
1742
1849
  {
1743
1850
  ref,
@@ -1754,8 +1861,8 @@ var DropdownMenuSubTrigger2 = React14.forwardRef(
1754
1861
  )
1755
1862
  );
1756
1863
  DropdownMenuSubTrigger2.displayName = "DropdownMenuSubTrigger";
1757
- var DropdownMenuSubContent2 = React14.forwardRef(
1758
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1864
+ var DropdownMenuSubContent2 = React15.forwardRef(
1865
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1759
1866
  DropdownMenuSubContent,
1760
1867
  {
1761
1868
  ref,
@@ -1768,8 +1875,8 @@ var DropdownMenuSubContent2 = React14.forwardRef(
1768
1875
  )
1769
1876
  );
1770
1877
  DropdownMenuSubContent2.displayName = "DropdownMenuSubContent";
1771
- var DropdownMenuContent2 = React14.forwardRef(
1772
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1878
+ var DropdownMenuContent2 = React15.forwardRef(
1879
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1773
1880
  DropdownMenuContent,
1774
1881
  {
1775
1882
  ref,
@@ -1782,8 +1889,8 @@ var DropdownMenuContent2 = React14.forwardRef(
1782
1889
  )
1783
1890
  );
1784
1891
  DropdownMenuContent2.displayName = "DropdownMenuContent";
1785
- var DropdownMenuItem2 = React14.forwardRef(
1786
- ({ className, inset, asChild, children, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1892
+ var DropdownMenuItem2 = React15.forwardRef(
1893
+ ({ className, inset, asChild, children, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1787
1894
  DropdownMenuItem,
1788
1895
  {
1789
1896
  ref,
@@ -1801,8 +1908,8 @@ var DropdownMenuItem2 = React14.forwardRef(
1801
1908
  )
1802
1909
  );
1803
1910
  DropdownMenuItem2.displayName = "DropdownMenuItem";
1804
- var DropdownMenuCheckboxItem2 = React14.forwardRef(
1805
- ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1911
+ var DropdownMenuCheckboxItem2 = React15.forwardRef(
1912
+ ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1806
1913
  DropdownMenuCheckboxItem,
1807
1914
  {
1808
1915
  ref,
@@ -1815,8 +1922,8 @@ var DropdownMenuCheckboxItem2 = React14.forwardRef(
1815
1922
  )
1816
1923
  );
1817
1924
  DropdownMenuCheckboxItem2.displayName = "DropdownMenuCheckboxItem";
1818
- var DropdownMenuRadioItem2 = React14.forwardRef(
1819
- ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1925
+ var DropdownMenuRadioItem2 = React15.forwardRef(
1926
+ ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1820
1927
  DropdownMenuRadioItem,
1821
1928
  {
1822
1929
  ref,
@@ -1829,8 +1936,8 @@ var DropdownMenuRadioItem2 = React14.forwardRef(
1829
1936
  )
1830
1937
  );
1831
1938
  DropdownMenuRadioItem2.displayName = "DropdownMenuRadioItem";
1832
- var DropdownMenuLabel2 = React14.forwardRef(
1833
- ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1939
+ var DropdownMenuLabel2 = React15.forwardRef(
1940
+ ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1834
1941
  DropdownMenuLabel,
1835
1942
  {
1836
1943
  ref,
@@ -1846,8 +1953,8 @@ var DropdownMenuLabel2 = React14.forwardRef(
1846
1953
  )
1847
1954
  );
1848
1955
  DropdownMenuLabel2.displayName = "DropdownMenuLabel";
1849
- var DropdownMenuSeparator2 = React14.forwardRef(
1850
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1956
+ var DropdownMenuSeparator2 = React15.forwardRef(
1957
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1851
1958
  DropdownMenuSeparator,
1852
1959
  {
1853
1960
  ref,
@@ -1858,7 +1965,7 @@ var DropdownMenuSeparator2 = React14.forwardRef(
1858
1965
  );
1859
1966
  DropdownMenuSeparator2.displayName = "DropdownMenuSeparator";
1860
1967
  var DropdownMenuShortcut2 = ({ className, ...props }) => {
1861
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1968
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1862
1969
  DropdownMenuShortcut,
1863
1970
  {
1864
1971
  className: cn("text-berget-muted-foreground", className),
@@ -1869,17 +1976,17 @@ var DropdownMenuShortcut2 = ({ className, ...props }) => {
1869
1976
  DropdownMenuShortcut2.displayName = "DropdownMenuShortcut";
1870
1977
 
1871
1978
  // src/components/tooltip/Tooltip.tsx
1872
- var React15 = __toESM(require("react"), 1);
1979
+ var React16 = __toESM(require("react"), 1);
1873
1980
 
1874
1981
  // src/primitives/tooltip.tsx
1875
1982
  var import_tooltip = require("@base-ui/react/tooltip");
1876
- var import_cn6 = require("cn");
1877
- var import_jsx_runtime20 = require("react/jsx-runtime");
1983
+ var import_cn7 = require("cn");
1984
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1878
1985
  function TooltipProvider({
1879
1986
  delay = 0,
1880
1987
  ...props
1881
1988
  }) {
1882
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1989
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1883
1990
  import_tooltip.Tooltip.Provider,
1884
1991
  {
1885
1992
  "data-slot": "tooltip-provider",
@@ -1889,10 +1996,10 @@ function TooltipProvider({
1889
1996
  );
1890
1997
  }
1891
1998
  function Tooltip({ ...props }) {
1892
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_tooltip.Tooltip.Root, { "data-slot": "tooltip", ...props });
1999
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_tooltip.Tooltip.Root, { "data-slot": "tooltip", ...props });
1893
2000
  }
1894
2001
  function TooltipTrigger({ ...props }) {
1895
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_tooltip.Tooltip.Trigger, { "data-slot": "tooltip-trigger", ...props });
2002
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_tooltip.Tooltip.Trigger, { "data-slot": "tooltip-trigger", ...props });
1896
2003
  }
1897
2004
  function TooltipContent({
1898
2005
  className,
@@ -1903,7 +2010,7 @@ function TooltipContent({
1903
2010
  children,
1904
2011
  ...props
1905
2012
  }) {
1906
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_tooltip.Tooltip.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2013
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_tooltip.Tooltip.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1907
2014
  import_tooltip.Tooltip.Positioner,
1908
2015
  {
1909
2016
  align,
@@ -1911,18 +2018,18 @@ function TooltipContent({
1911
2018
  side,
1912
2019
  sideOffset,
1913
2020
  className: "isolate z-50",
1914
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
2021
+ children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
1915
2022
  import_tooltip.Tooltip.Popup,
1916
2023
  {
1917
2024
  "data-slot": "tooltip-content",
1918
- className: (0, import_cn6.cn)(
2025
+ className: (0, import_cn7.cn)(
1919
2026
  "z-50 inline-flex w-fit max-w-xs origin-(--transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
1920
2027
  className
1921
2028
  ),
1922
2029
  ...props,
1923
2030
  children: [
1924
2031
  children,
1925
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_tooltip.Tooltip.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })
2032
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_tooltip.Tooltip.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })
1926
2033
  ]
1927
2034
  }
1928
2035
  )
@@ -1931,13 +2038,13 @@ function TooltipContent({
1931
2038
  }
1932
2039
 
1933
2040
  // src/components/tooltip/Tooltip.tsx
1934
- var import_jsx_runtime21 = require("react/jsx-runtime");
1935
- var TooltipTrigger2 = React15.forwardRef(
1936
- ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(TooltipTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
2041
+ var import_jsx_runtime23 = require("react/jsx-runtime");
2042
+ var TooltipTrigger2 = React16.forwardRef(
2043
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(TooltipTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1937
2044
  );
1938
2045
  TooltipTrigger2.displayName = "TooltipTrigger";
1939
- var TooltipContent2 = React15.forwardRef(
1940
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2046
+ var TooltipContent2 = React16.forwardRef(
2047
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1941
2048
  TooltipContent,
1942
2049
  {
1943
2050
  ref,
@@ -1956,18 +2063,18 @@ var import_lucide_react5 = require("lucide-react");
1956
2063
  // src/primitives/navigation-menu.tsx
1957
2064
  var import_navigation_menu = require("@base-ui/react/navigation-menu");
1958
2065
  var import_class_variance_authority7 = require("class-variance-authority");
1959
- var import_cn7 = require("cn");
2066
+ var import_cn8 = require("cn");
1960
2067
  var import_lucide_react4 = require("lucide-react");
1961
- var import_jsx_runtime22 = require("react/jsx-runtime");
2068
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1962
2069
  function NavigationMenuList({
1963
2070
  className,
1964
2071
  ...props
1965
2072
  }) {
1966
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2073
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1967
2074
  import_navigation_menu.NavigationMenu.List,
1968
2075
  {
1969
2076
  "data-slot": "navigation-menu-list",
1970
- className: (0, import_cn7.cn)(
2077
+ className: (0, import_cn8.cn)(
1971
2078
  "group flex flex-1 list-none items-center justify-center gap-0",
1972
2079
  className
1973
2080
  ),
@@ -1979,11 +2086,11 @@ function NavigationMenuItem({
1979
2086
  className,
1980
2087
  ...props
1981
2088
  }) {
1982
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2089
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1983
2090
  import_navigation_menu.NavigationMenu.Item,
1984
2091
  {
1985
2092
  "data-slot": "navigation-menu-item",
1986
- className: (0, import_cn7.cn)("relative", className),
2093
+ className: (0, import_cn8.cn)("relative", className),
1987
2094
  ...props
1988
2095
  }
1989
2096
  );
@@ -1995,11 +2102,11 @@ function NavigationMenuContent({
1995
2102
  className,
1996
2103
  ...props
1997
2104
  }) {
1998
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2105
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1999
2106
  import_navigation_menu.NavigationMenu.Content,
2000
2107
  {
2001
2108
  "data-slot": "navigation-menu-content",
2002
- className: (0, import_cn7.cn)(
2109
+ className: (0, import_cn8.cn)(
2003
2110
  "data-ending-style:data-activation-direction=left:translate-x-[50%] data-ending-style:data-activation-direction=right:translate-x-[-50%] data-starting-style:data-activation-direction=left:translate-x-[-50%] data-starting-style:data-activation-direction=right:translate-x-[50%] h-full w-auto p-1 transition-[opacity,transform,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:rounded-lg group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:ring-foreground/10 group-data-[viewport=false]/navigation-menu:duration-300 data-ending-style:opacity-0 data-starting-style:opacity-0 data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95",
2004
2111
  className
2005
2112
  ),
@@ -2011,29 +2118,29 @@ function NavigationMenuIndicator({
2011
2118
  className,
2012
2119
  ...props
2013
2120
  }) {
2014
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2121
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2015
2122
  import_navigation_menu.NavigationMenu.Icon,
2016
2123
  {
2017
2124
  "data-slot": "navigation-menu-indicator",
2018
- className: (0, import_cn7.cn)(
2125
+ className: (0, import_cn8.cn)(
2019
2126
  "top-full z-1 flex h-1.5 items-end justify-center overflow-hidden data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:animate-in data-[state=visible]:fade-in",
2020
2127
  className
2021
2128
  ),
2022
2129
  ...props,
2023
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
2130
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
2024
2131
  }
2025
2132
  );
2026
2133
  }
2027
2134
 
2028
2135
  // src/components/navigation-menu/NavigationMenu.tsx
2029
- var import_jsx_runtime23 = require("react/jsx-runtime");
2136
+ var import_jsx_runtime25 = require("react/jsx-runtime");
2030
2137
  function NavigationMenu({
2031
2138
  align = "start",
2032
2139
  className,
2033
2140
  children,
2034
2141
  ...props
2035
2142
  }) {
2036
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2143
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2037
2144
  import_navigation_menu2.NavigationMenu.Root,
2038
2145
  {
2039
2146
  "data-slot": "navigation-menu",
@@ -2044,7 +2151,7 @@ function NavigationMenu({
2044
2151
  ...props,
2045
2152
  children: [
2046
2153
  children,
2047
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(NavigationMenuPositioner, { align })
2154
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(NavigationMenuPositioner, { align })
2048
2155
  ]
2049
2156
  }
2050
2157
  );
@@ -2057,7 +2164,7 @@ function NavigationMenuTrigger({
2057
2164
  children,
2058
2165
  ...props
2059
2166
  }) {
2060
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2167
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2061
2168
  import_navigation_menu2.NavigationMenu.Trigger,
2062
2169
  {
2063
2170
  "data-slot": "navigation-menu-trigger",
@@ -2066,7 +2173,7 @@ function NavigationMenuTrigger({
2066
2173
  children: [
2067
2174
  children,
2068
2175
  " ",
2069
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2176
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2070
2177
  import_lucide_react5.ChevronDown,
2071
2178
  {
2072
2179
  className: "relative top-px ml-1 size-3 transition duration-300 group-data-popup-open/navigation-menu-trigger:rotate-180 group-data-open/navigation-menu-trigger:rotate-180",
@@ -2078,7 +2185,7 @@ function NavigationMenuTrigger({
2078
2185
  );
2079
2186
  }
2080
2187
  function NavigationMenuLink({ className, ...props }) {
2081
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2188
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2082
2189
  import_navigation_menu2.NavigationMenu.Link,
2083
2190
  {
2084
2191
  "data-slot": "navigation-menu-link",
@@ -2098,7 +2205,7 @@ function NavigationMenuPositioner({
2098
2205
  alignOffset = 0,
2099
2206
  ...props
2100
2207
  }) {
2101
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_navigation_menu2.NavigationMenu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2208
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_navigation_menu2.NavigationMenu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2102
2209
  import_navigation_menu2.NavigationMenu.Positioner,
2103
2210
  {
2104
2211
  side,
@@ -2110,24 +2217,24 @@ function NavigationMenuPositioner({
2110
2217
  className
2111
2218
  ),
2112
2219
  ...props,
2113
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_navigation_menu2.NavigationMenu.Popup, { className: "data-[ending-style]:easing-[ease] xs:w-(--popup-width) relative h-(--popup-height) w-(--popup-width) origin-(--transform-origin) rounded-berget-xs bg-berget-popover text-berget-popover-foreground shadow-berget-lg ring-1 ring-berget-border transition-[opacity,transform,width,height,scale,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] outline-none data-ending-style:scale-90 data-ending-style:opacity-0 data-ending-style:duration-150 data-starting-style:scale-90 data-starting-style:opacity-0", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_navigation_menu2.NavigationMenu.Viewport, { className: "relative size-full overflow-hidden" }) })
2220
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_navigation_menu2.NavigationMenu.Popup, { className: "data-[ending-style]:easing-[ease] xs:w-(--popup-width) relative h-(--popup-height) w-(--popup-width) origin-(--transform-origin) rounded-berget-xs bg-berget-popover text-berget-popover-foreground shadow-berget-lg ring-1 ring-berget-border transition-[opacity,transform,width,height,scale,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] outline-none data-ending-style:scale-90 data-ending-style:opacity-0 data-ending-style:duration-150 data-starting-style:scale-90 data-starting-style:opacity-0", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_navigation_menu2.NavigationMenu.Viewport, { className: "relative size-full overflow-hidden" }) })
2114
2221
  }
2115
2222
  ) });
2116
2223
  }
2117
2224
 
2118
2225
  // src/primitives/sidebar.tsx
2119
- var React17 = __toESM(require("react"), 1);
2226
+ var React18 = __toESM(require("react"), 1);
2120
2227
  var import_merge_props = require("@base-ui/react/merge-props");
2121
2228
  var import_use_render = require("@base-ui/react/use-render");
2122
2229
  var import_class_variance_authority9 = require("class-variance-authority");
2123
- var import_cn11 = require("cn");
2230
+ var import_cn12 = require("cn");
2124
2231
 
2125
2232
  // src/hooks/use-mobile.tsx
2126
- var React16 = __toESM(require("react"), 1);
2233
+ var React17 = __toESM(require("react"), 1);
2127
2234
  var MOBILE_BREAKPOINT = 768;
2128
2235
  function useIsMobile() {
2129
- const [isMobile, setIsMobile] = React16.useState(void 0);
2130
- React16.useEffect(() => {
2236
+ const [isMobile, setIsMobile] = React17.useState(void 0);
2237
+ React17.useEffect(() => {
2131
2238
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
2132
2239
  const onChange = () => {
2133
2240
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -2141,15 +2248,15 @@ function useIsMobile() {
2141
2248
 
2142
2249
  // src/primitives/input.tsx
2143
2250
  var import_input = require("@base-ui/react/input");
2144
- var import_cn8 = require("cn");
2145
- var import_jsx_runtime24 = require("react/jsx-runtime");
2251
+ var import_cn9 = require("cn");
2252
+ var import_jsx_runtime26 = require("react/jsx-runtime");
2146
2253
  function Input({ className, type, ...props }) {
2147
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2254
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2148
2255
  import_input.Input,
2149
2256
  {
2150
2257
  type,
2151
2258
  "data-slot": "input",
2152
- className: (0, import_cn8.cn)(
2259
+ className: (0, import_cn9.cn)(
2153
2260
  "h-8 w-full min-w-0 rounded-lg border border-input bg-input/30 px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
2154
2261
  className
2155
2262
  ),
@@ -2160,19 +2267,19 @@ function Input({ className, type, ...props }) {
2160
2267
 
2161
2268
  // src/primitives/separator.tsx
2162
2269
  var import_separator = require("@base-ui/react/separator");
2163
- var import_cn9 = require("cn");
2164
- var import_jsx_runtime25 = require("react/jsx-runtime");
2270
+ var import_cn10 = require("cn");
2271
+ var import_jsx_runtime27 = require("react/jsx-runtime");
2165
2272
  function Separator({
2166
2273
  className,
2167
2274
  orientation = "horizontal",
2168
2275
  ...props
2169
2276
  }) {
2170
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2277
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2171
2278
  import_separator.Separator,
2172
2279
  {
2173
2280
  "data-slot": "separator",
2174
2281
  orientation,
2175
- className: (0, import_cn9.cn)(
2282
+ className: (0, import_cn10.cn)(
2176
2283
  "shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",
2177
2284
  className
2178
2285
  ),
@@ -2183,21 +2290,21 @@ function Separator({
2183
2290
 
2184
2291
  // src/primitives/sheet.tsx
2185
2292
  var import_dialog2 = require("@base-ui/react/dialog");
2186
- var import_cn10 = require("cn");
2293
+ var import_cn11 = require("cn");
2187
2294
  var import_lucide_react6 = require("lucide-react");
2188
- var import_jsx_runtime26 = require("react/jsx-runtime");
2295
+ var import_jsx_runtime28 = require("react/jsx-runtime");
2189
2296
  function Sheet({ ...props }) {
2190
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_dialog2.Dialog.Root, { "data-slot": "sheet", ...props });
2297
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_dialog2.Dialog.Root, { "data-slot": "sheet", ...props });
2191
2298
  }
2192
2299
  function SheetPortal({ ...props }) {
2193
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_dialog2.Dialog.Portal, { "data-slot": "sheet-portal", ...props });
2300
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_dialog2.Dialog.Portal, { "data-slot": "sheet-portal", ...props });
2194
2301
  }
2195
2302
  function SheetOverlay({ className, ...props }) {
2196
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2303
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2197
2304
  import_dialog2.Dialog.Backdrop,
2198
2305
  {
2199
2306
  "data-slot": "sheet-overlay",
2200
- className: (0, import_cn10.cn)(
2307
+ className: (0, import_cn11.cn)(
2201
2308
  "fixed inset-0 z-50 bg-black/10 transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs",
2202
2309
  className
2203
2310
  ),
@@ -2212,25 +2319,25 @@ function SheetContent({
2212
2319
  showCloseButton = true,
2213
2320
  ...props
2214
2321
  }) {
2215
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(SheetPortal, { children: [
2216
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(SheetOverlay, {}),
2217
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2322
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(SheetPortal, { children: [
2323
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SheetOverlay, {}),
2324
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
2218
2325
  import_dialog2.Dialog.Popup,
2219
2326
  {
2220
2327
  "data-slot": "sheet-content",
2221
2328
  "data-side": side,
2222
- className: (0, import_cn10.cn)(
2329
+ className: (0, import_cn11.cn)(
2223
2330
  "fixed z-50 flex flex-col gap-4 bg-popover bg-clip-padding text-sm text-popover-foreground shadow-lg transition duration-200 ease-in-out data-ending-style:opacity-0 data-starting-style:opacity-0 data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=bottom]:data-ending-style:translate-y-[2.5rem] data-[side=bottom]:data-starting-style:translate-y-[2.5rem] data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=left]:data-ending-style:translate-x-[-2.5rem] data-[side=left]:data-starting-style:translate-x-[-2.5rem] data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=right]:data-ending-style:translate-x-[2.5rem] data-[side=right]:data-starting-style:translate-x-[2.5rem] data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=top]:data-ending-style:translate-y-[-2.5rem] data-[side=top]:data-starting-style:translate-y-[-2.5rem] data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm",
2224
2331
  className
2225
2332
  ),
2226
2333
  ...props,
2227
2334
  children: [
2228
2335
  children,
2229
- showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2336
+ showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
2230
2337
  import_dialog2.Dialog.Close,
2231
2338
  {
2232
2339
  "data-slot": "sheet-close",
2233
- render: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2340
+ render: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2234
2341
  Button,
2235
2342
  {
2236
2343
  variant: "ghost",
@@ -2239,11 +2346,11 @@ function SheetContent({
2239
2346
  }
2240
2347
  ),
2241
2348
  children: [
2242
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2349
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2243
2350
  import_lucide_react6.XIcon,
2244
2351
  {}
2245
2352
  ),
2246
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "sr-only", children: "Close" })
2353
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "sr-only", children: "Close" })
2247
2354
  ]
2248
2355
  }
2249
2356
  )
@@ -2253,21 +2360,21 @@ function SheetContent({
2253
2360
  ] });
2254
2361
  }
2255
2362
  function SheetHeader({ className, ...props }) {
2256
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2363
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2257
2364
  "div",
2258
2365
  {
2259
2366
  "data-slot": "sheet-header",
2260
- className: (0, import_cn10.cn)("flex flex-col gap-0.5 p-4", className),
2367
+ className: (0, import_cn11.cn)("flex flex-col gap-0.5 p-4", className),
2261
2368
  ...props
2262
2369
  }
2263
2370
  );
2264
2371
  }
2265
2372
  function SheetTitle({ className, ...props }) {
2266
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2373
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2267
2374
  import_dialog2.Dialog.Title,
2268
2375
  {
2269
2376
  "data-slot": "sheet-title",
2270
- className: (0, import_cn10.cn)(
2377
+ className: (0, import_cn11.cn)(
2271
2378
  "text-base font-medium text-foreground",
2272
2379
  className
2273
2380
  ),
@@ -2279,11 +2386,11 @@ function SheetDescription({
2279
2386
  className,
2280
2387
  ...props
2281
2388
  }) {
2282
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2389
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2283
2390
  import_dialog2.Dialog.Description,
2284
2391
  {
2285
2392
  "data-slot": "sheet-description",
2286
- className: (0, import_cn10.cn)("text-sm text-muted-foreground", className),
2393
+ className: (0, import_cn11.cn)("text-sm text-muted-foreground", className),
2287
2394
  ...props
2288
2395
  }
2289
2396
  );
@@ -2291,16 +2398,16 @@ function SheetDescription({
2291
2398
 
2292
2399
  // src/primitives/sidebar.tsx
2293
2400
  var import_lucide_react7 = require("lucide-react");
2294
- var import_jsx_runtime27 = require("react/jsx-runtime");
2401
+ var import_jsx_runtime29 = require("react/jsx-runtime");
2295
2402
  var SIDEBAR_COOKIE_NAME = "sidebar_state";
2296
2403
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
2297
2404
  var SIDEBAR_WIDTH = "16rem";
2298
2405
  var SIDEBAR_WIDTH_MOBILE = "18rem";
2299
2406
  var SIDEBAR_WIDTH_ICON = "3rem";
2300
2407
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
2301
- var SidebarContext = React17.createContext(null);
2408
+ var SidebarContext = React18.createContext(null);
2302
2409
  function useSidebar() {
2303
- const context = React17.useContext(SidebarContext);
2410
+ const context = React18.useContext(SidebarContext);
2304
2411
  if (!context) {
2305
2412
  throw new Error("useSidebar must be used within a SidebarProvider.");
2306
2413
  }
@@ -2316,10 +2423,10 @@ function SidebarProvider({
2316
2423
  ...props
2317
2424
  }) {
2318
2425
  const isMobile = useIsMobile();
2319
- const [openMobile, setOpenMobile] = React17.useState(false);
2320
- const [_open, _setOpen] = React17.useState(defaultOpen);
2426
+ const [openMobile, setOpenMobile] = React18.useState(false);
2427
+ const [_open, _setOpen] = React18.useState(defaultOpen);
2321
2428
  const open = openProp ?? _open;
2322
- const setOpen = React17.useCallback(
2429
+ const setOpen = React18.useCallback(
2323
2430
  (value) => {
2324
2431
  const openState = typeof value === "function" ? value(open) : value;
2325
2432
  if (setOpenProp) {
@@ -2331,10 +2438,10 @@ function SidebarProvider({
2331
2438
  },
2332
2439
  [setOpenProp, open]
2333
2440
  );
2334
- const toggleSidebar = React17.useCallback(() => {
2441
+ const toggleSidebar = React18.useCallback(() => {
2335
2442
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
2336
2443
  }, [isMobile, setOpen, setOpenMobile]);
2337
- React17.useEffect(() => {
2444
+ React18.useEffect(() => {
2338
2445
  const handleKeyDown = (event) => {
2339
2446
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
2340
2447
  event.preventDefault();
@@ -2345,7 +2452,7 @@ function SidebarProvider({
2345
2452
  return () => window.removeEventListener("keydown", handleKeyDown);
2346
2453
  }, [toggleSidebar]);
2347
2454
  const state = open ? "expanded" : "collapsed";
2348
- const contextValue = React17.useMemo(
2455
+ const contextValue = React18.useMemo(
2349
2456
  () => ({
2350
2457
  state,
2351
2458
  open,
@@ -2357,7 +2464,7 @@ function SidebarProvider({
2357
2464
  }),
2358
2465
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
2359
2466
  );
2360
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2467
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2361
2468
  "div",
2362
2469
  {
2363
2470
  "data-slot": "sidebar-wrapper",
@@ -2366,7 +2473,7 @@ function SidebarProvider({
2366
2473
  "--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
2367
2474
  ...style
2368
2475
  },
2369
- className: (0, import_cn11.cn)(
2476
+ className: (0, import_cn12.cn)(
2370
2477
  "group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",
2371
2478
  className
2372
2479
  ),
@@ -2386,11 +2493,11 @@ function Sidebar({
2386
2493
  }) {
2387
2494
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
2388
2495
  if (collapsible === "none") {
2389
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2496
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2390
2497
  "div",
2391
2498
  {
2392
2499
  "data-slot": "sidebar",
2393
- className: (0, import_cn11.cn)(
2500
+ className: (0, import_cn12.cn)(
2394
2501
  "flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground",
2395
2502
  className
2396
2503
  ),
@@ -2400,7 +2507,7 @@ function Sidebar({
2400
2507
  );
2401
2508
  }
2402
2509
  if (isMobile) {
2403
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2510
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2404
2511
  SheetContent,
2405
2512
  {
2406
2513
  dir,
@@ -2413,16 +2520,16 @@ function Sidebar({
2413
2520
  },
2414
2521
  side,
2415
2522
  children: [
2416
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(SheetHeader, { className: "sr-only", children: [
2417
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SheetTitle, { children: "Sidebar" }),
2418
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
2523
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(SheetHeader, { className: "sr-only", children: [
2524
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SheetTitle, { children: "Sidebar" }),
2525
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
2419
2526
  ] }),
2420
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "flex h-full w-full flex-col", children })
2527
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "flex h-full w-full flex-col", children })
2421
2528
  ]
2422
2529
  }
2423
2530
  ) });
2424
2531
  }
2425
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2532
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2426
2533
  "div",
2427
2534
  {
2428
2535
  className: "group peer hidden text-sidebar-foreground md:block",
@@ -2432,11 +2539,11 @@ function Sidebar({
2432
2539
  "data-side": side,
2433
2540
  "data-slot": "sidebar",
2434
2541
  children: [
2435
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2542
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2436
2543
  "div",
2437
2544
  {
2438
2545
  "data-slot": "sidebar-gap",
2439
- className: (0, import_cn11.cn)(
2546
+ className: (0, import_cn12.cn)(
2440
2547
  "relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
2441
2548
  "group-data-[collapsible=offcanvas]:w-0",
2442
2549
  "group-data-[side=right]:rotate-180",
@@ -2444,19 +2551,19 @@ function Sidebar({
2444
2551
  )
2445
2552
  }
2446
2553
  ),
2447
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2554
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2448
2555
  "div",
2449
2556
  {
2450
2557
  "data-slot": "sidebar-container",
2451
2558
  "data-side": side,
2452
- className: (0, import_cn11.cn)(
2559
+ className: (0, import_cn12.cn)(
2453
2560
  "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear data-[side=left]:left-0 data-[side=left]:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] data-[side=right]:right-0 data-[side=right]:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)] md:flex",
2454
2561
  // Adjust the padding for floating and inset variants.
2455
2562
  variant === "floating" || variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",
2456
2563
  className
2457
2564
  ),
2458
2565
  ...props,
2459
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2566
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2460
2567
  "div",
2461
2568
  {
2462
2569
  "data-sidebar": "sidebar",
@@ -2477,29 +2584,29 @@ function SidebarTrigger({
2477
2584
  ...props
2478
2585
  }) {
2479
2586
  const { toggleSidebar } = useSidebar();
2480
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2587
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2481
2588
  Button,
2482
2589
  {
2483
2590
  "data-sidebar": "trigger",
2484
2591
  "data-slot": "sidebar-trigger",
2485
2592
  variant: "ghost",
2486
2593
  size: "icon-sm",
2487
- className: (0, import_cn11.cn)(className),
2594
+ className: (0, import_cn12.cn)(className),
2488
2595
  onClick: (event) => {
2489
2596
  onClick?.(event);
2490
2597
  toggleSidebar();
2491
2598
  },
2492
2599
  ...props,
2493
2600
  children: [
2494
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_lucide_react7.PanelLeftIcon, {}),
2495
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
2601
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react7.PanelLeftIcon, {}),
2602
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
2496
2603
  ]
2497
2604
  }
2498
2605
  );
2499
2606
  }
2500
2607
  function SidebarRail({ className, ...props }) {
2501
2608
  const { toggleSidebar } = useSidebar();
2502
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2609
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2503
2610
  "button",
2504
2611
  {
2505
2612
  "data-sidebar": "rail",
@@ -2508,7 +2615,7 @@ function SidebarRail({ className, ...props }) {
2508
2615
  tabIndex: -1,
2509
2616
  onClick: toggleSidebar,
2510
2617
  title: "Toggle Sidebar",
2511
- className: (0, import_cn11.cn)(
2618
+ className: (0, import_cn12.cn)(
2512
2619
  "absolute inset-y-0 z-20 hidden w-4 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:start-1/2 after:w-[2px] hover:after:bg-sidebar-border sm:flex ltr:-translate-x-1/2 rtl:-translate-x-1/2",
2513
2620
  "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
2514
2621
  "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
@@ -2522,11 +2629,11 @@ function SidebarRail({ className, ...props }) {
2522
2629
  );
2523
2630
  }
2524
2631
  function SidebarInset({ className, ...props }) {
2525
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2632
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2526
2633
  "main",
2527
2634
  {
2528
2635
  "data-slot": "sidebar-inset",
2529
- className: (0, import_cn11.cn)(
2636
+ className: (0, import_cn12.cn)(
2530
2637
  "relative flex w-full flex-1 flex-col bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
2531
2638
  className
2532
2639
  ),
@@ -2538,34 +2645,34 @@ function SidebarInput({
2538
2645
  className,
2539
2646
  ...props
2540
2647
  }) {
2541
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2648
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2542
2649
  Input,
2543
2650
  {
2544
2651
  "data-slot": "sidebar-input",
2545
2652
  "data-sidebar": "input",
2546
- className: (0, import_cn11.cn)("h-8 w-full bg-background shadow-none", className),
2653
+ className: (0, import_cn12.cn)("h-8 w-full bg-background shadow-none", className),
2547
2654
  ...props
2548
2655
  }
2549
2656
  );
2550
2657
  }
2551
2658
  function SidebarHeader({ className, ...props }) {
2552
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2659
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2553
2660
  "div",
2554
2661
  {
2555
2662
  "data-slot": "sidebar-header",
2556
2663
  "data-sidebar": "header",
2557
- className: (0, import_cn11.cn)("flex flex-col gap-2 p-2", className),
2664
+ className: (0, import_cn12.cn)("flex flex-col gap-2 p-2", className),
2558
2665
  ...props
2559
2666
  }
2560
2667
  );
2561
2668
  }
2562
2669
  function SidebarFooter({ className, ...props }) {
2563
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2670
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2564
2671
  "div",
2565
2672
  {
2566
2673
  "data-slot": "sidebar-footer",
2567
2674
  "data-sidebar": "footer",
2568
- className: (0, import_cn11.cn)("flex flex-col gap-2 p-2", className),
2675
+ className: (0, import_cn12.cn)("flex flex-col gap-2 p-2", className),
2569
2676
  ...props
2570
2677
  }
2571
2678
  );
@@ -2574,23 +2681,23 @@ function SidebarSeparator({
2574
2681
  className,
2575
2682
  ...props
2576
2683
  }) {
2577
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2684
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2578
2685
  Separator,
2579
2686
  {
2580
2687
  "data-slot": "sidebar-separator",
2581
2688
  "data-sidebar": "separator",
2582
- className: (0, import_cn11.cn)("mx-2 w-auto bg-sidebar-border", className),
2689
+ className: (0, import_cn12.cn)("mx-2 w-auto bg-sidebar-border", className),
2583
2690
  ...props
2584
2691
  }
2585
2692
  );
2586
2693
  }
2587
2694
  function SidebarContent({ className, ...props }) {
2588
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2695
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2589
2696
  "div",
2590
2697
  {
2591
2698
  "data-slot": "sidebar-content",
2592
2699
  "data-sidebar": "content",
2593
- className: (0, import_cn11.cn)(
2700
+ className: (0, import_cn12.cn)(
2594
2701
  "no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
2595
2702
  className
2596
2703
  ),
@@ -2599,12 +2706,12 @@ function SidebarContent({ className, ...props }) {
2599
2706
  );
2600
2707
  }
2601
2708
  function SidebarGroup({ className, ...props }) {
2602
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2709
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2603
2710
  "div",
2604
2711
  {
2605
2712
  "data-slot": "sidebar-group",
2606
2713
  "data-sidebar": "group",
2607
- className: (0, import_cn11.cn)("relative flex w-full min-w-0 flex-col p-2", className),
2714
+ className: (0, import_cn12.cn)("relative flex w-full min-w-0 flex-col p-2", className),
2608
2715
  ...props
2609
2716
  }
2610
2717
  );
@@ -2618,7 +2725,7 @@ function SidebarGroupLabel({
2618
2725
  defaultTagName: "div",
2619
2726
  props: (0, import_merge_props.mergeProps)(
2620
2727
  {
2621
- className: (0, import_cn11.cn)(
2728
+ className: (0, import_cn12.cn)(
2622
2729
  "flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
2623
2730
  className
2624
2731
  )
@@ -2641,7 +2748,7 @@ function SidebarGroupAction({
2641
2748
  defaultTagName: "button",
2642
2749
  props: (0, import_merge_props.mergeProps)(
2643
2750
  {
2644
- className: (0, import_cn11.cn)(
2751
+ className: (0, import_cn12.cn)(
2645
2752
  "absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0",
2646
2753
  className
2647
2754
  )
@@ -2659,34 +2766,34 @@ function SidebarGroupContent({
2659
2766
  className,
2660
2767
  ...props
2661
2768
  }) {
2662
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2769
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2663
2770
  "div",
2664
2771
  {
2665
2772
  "data-slot": "sidebar-group-content",
2666
2773
  "data-sidebar": "group-content",
2667
- className: (0, import_cn11.cn)("w-full text-sm", className),
2774
+ className: (0, import_cn12.cn)("w-full text-sm", className),
2668
2775
  ...props
2669
2776
  }
2670
2777
  );
2671
2778
  }
2672
2779
  function SidebarMenu({ className, ...props }) {
2673
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2780
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2674
2781
  "ul",
2675
2782
  {
2676
2783
  "data-slot": "sidebar-menu",
2677
2784
  "data-sidebar": "menu",
2678
- className: (0, import_cn11.cn)("flex w-full min-w-0 flex-col gap-0", className),
2785
+ className: (0, import_cn12.cn)("flex w-full min-w-0 flex-col gap-0", className),
2679
2786
  ...props
2680
2787
  }
2681
2788
  );
2682
2789
  }
2683
2790
  function SidebarMenuItem({ className, ...props }) {
2684
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2791
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2685
2792
  "li",
2686
2793
  {
2687
2794
  "data-slot": "sidebar-menu-item",
2688
2795
  "data-sidebar": "menu-item",
2689
- className: (0, import_cn11.cn)("group/menu-item relative", className),
2796
+ className: (0, import_cn12.cn)("group/menu-item relative", className),
2690
2797
  ...props
2691
2798
  }
2692
2799
  );
@@ -2725,11 +2832,11 @@ function SidebarMenuButton({
2725
2832
  defaultTagName: "button",
2726
2833
  props: (0, import_merge_props.mergeProps)(
2727
2834
  {
2728
- className: (0, import_cn11.cn)(sidebarMenuButtonVariants({ variant, size }), className)
2835
+ className: (0, import_cn12.cn)(sidebarMenuButtonVariants({ variant, size }), className)
2729
2836
  },
2730
2837
  props
2731
2838
  ),
2732
- render: !tooltip ? render : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(TooltipTrigger, { render }),
2839
+ render: !tooltip ? render : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(TooltipTrigger, { render }),
2733
2840
  state: {
2734
2841
  slot: "sidebar-menu-button",
2735
2842
  sidebar: "menu-button",
@@ -2745,9 +2852,9 @@ function SidebarMenuButton({
2745
2852
  children: tooltip
2746
2853
  };
2747
2854
  }
2748
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(Tooltip, { children: [
2855
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Tooltip, { children: [
2749
2856
  comp,
2750
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2857
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2751
2858
  TooltipContent,
2752
2859
  {
2753
2860
  side: "right",
@@ -2768,7 +2875,7 @@ function SidebarMenuAction({
2768
2875
  defaultTagName: "button",
2769
2876
  props: (0, import_merge_props.mergeProps)(
2770
2877
  {
2771
- className: (0, import_cn11.cn)(
2878
+ className: (0, import_cn12.cn)(
2772
2879
  "absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0",
2773
2880
  showOnHover && "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 peer-data-active/menu-button:text-sidebar-accent-foreground aria-expanded:opacity-100 md:opacity-0",
2774
2881
  className
@@ -2787,12 +2894,12 @@ function SidebarMenuBadge({
2787
2894
  className,
2788
2895
  ...props
2789
2896
  }) {
2790
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2897
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2791
2898
  "div",
2792
2899
  {
2793
2900
  "data-slot": "sidebar-menu-badge",
2794
2901
  "data-sidebar": "menu-badge",
2795
- className: (0, import_cn11.cn)(
2902
+ className: (0, import_cn12.cn)(
2796
2903
  "pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium text-sidebar-foreground tabular-nums select-none group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 peer-data-active/menu-button:text-sidebar-accent-foreground",
2797
2904
  className
2798
2905
  ),
@@ -2805,25 +2912,25 @@ function SidebarMenuSkeleton({
2805
2912
  showIcon = false,
2806
2913
  ...props
2807
2914
  }) {
2808
- const [width] = React17.useState(() => {
2915
+ const [width] = React18.useState(() => {
2809
2916
  return `${Math.floor(Math.random() * 40) + 50}%`;
2810
2917
  });
2811
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2918
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2812
2919
  "div",
2813
2920
  {
2814
2921
  "data-slot": "sidebar-menu-skeleton",
2815
2922
  "data-sidebar": "menu-skeleton",
2816
- className: (0, import_cn11.cn)("flex h-8 items-center gap-2 rounded-md px-2", className),
2923
+ className: (0, import_cn12.cn)("flex h-8 items-center gap-2 rounded-md px-2", className),
2817
2924
  ...props,
2818
2925
  children: [
2819
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2926
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2820
2927
  Skeleton,
2821
2928
  {
2822
2929
  className: "size-4 rounded-md",
2823
2930
  "data-sidebar": "menu-skeleton-icon"
2824
2931
  }
2825
2932
  ),
2826
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2933
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2827
2934
  Skeleton,
2828
2935
  {
2829
2936
  className: "h-4 max-w-(--skeleton-width) flex-1",
@@ -2838,12 +2945,12 @@ function SidebarMenuSkeleton({
2838
2945
  );
2839
2946
  }
2840
2947
  function SidebarMenuSub({ className, ...props }) {
2841
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2948
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2842
2949
  "ul",
2843
2950
  {
2844
2951
  "data-slot": "sidebar-menu-sub",
2845
2952
  "data-sidebar": "menu-sub",
2846
- className: (0, import_cn11.cn)(
2953
+ className: (0, import_cn12.cn)(
2847
2954
  "mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5 group-data-[collapsible=icon]:hidden",
2848
2955
  className
2849
2956
  ),
@@ -2855,12 +2962,12 @@ function SidebarMenuSubItem({
2855
2962
  className,
2856
2963
  ...props
2857
2964
  }) {
2858
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2965
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2859
2966
  "li",
2860
2967
  {
2861
2968
  "data-slot": "sidebar-menu-sub-item",
2862
2969
  "data-sidebar": "menu-sub-item",
2863
- className: (0, import_cn11.cn)("group/menu-sub-item relative", className),
2970
+ className: (0, import_cn12.cn)("group/menu-sub-item relative", className),
2864
2971
  ...props
2865
2972
  }
2866
2973
  );
@@ -2876,7 +2983,7 @@ function SidebarMenuSubButton({
2876
2983
  defaultTagName: "a",
2877
2984
  props: (0, import_merge_props.mergeProps)(
2878
2985
  {
2879
- className: (0, import_cn11.cn)(
2986
+ className: (0, import_cn12.cn)(
2880
2987
  "flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground ring-sidebar-ring outline-hidden group-data-[collapsible=icon]:hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[size=md]:text-sm data-[size=sm]:text-xs data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground",
2881
2988
  className
2882
2989
  )
@@ -2894,7 +3001,7 @@ function SidebarMenuSubButton({
2894
3001
  }
2895
3002
 
2896
3003
  // src/components/sidebar/Sidebar.tsx
2897
- var import_jsx_runtime28 = require("react/jsx-runtime");
3004
+ var import_jsx_runtime30 = require("react/jsx-runtime");
2898
3005
  var iconModeButtonClasses = "group-data-[collapsible=icon]:w-10! group-data-[collapsible=icon]:h-10! group-data-[collapsible=icon]:px-3!";
2899
3006
  var sizingMenuButtonClasses = "text-base px-3 py-2 h-auto";
2900
3007
  var sizingSubButtonClasses = "data-[size=md]:text-base data-[size=sm]:text-base px-3 py-2 h-auto";
@@ -2902,7 +3009,7 @@ function SidebarGroupLabel2({
2902
3009
  className,
2903
3010
  ...props
2904
3011
  }) {
2905
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3012
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2906
3013
  SidebarGroupLabel,
2907
3014
  {
2908
3015
  className: cn("px-3 uppercase tracking-caption", className),
@@ -2915,7 +3022,7 @@ function SidebarProvider2({
2915
3022
  style,
2916
3023
  ...props
2917
3024
  }) {
2918
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3025
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2919
3026
  SidebarProvider,
2920
3027
  {
2921
3028
  className,
@@ -2928,10 +3035,10 @@ function SidebarProvider2({
2928
3035
  );
2929
3036
  }
2930
3037
  function SidebarInset2({ className, ...props }) {
2931
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SidebarInset, { className: cn("min-w-0", className), ...props });
3038
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SidebarInset, { className: cn("min-w-0", className), ...props });
2932
3039
  }
2933
3040
  function SidebarGroup2({ className, ...props }) {
2934
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3041
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2935
3042
  SidebarGroup,
2936
3043
  {
2937
3044
  className: cn("group-data-[collapsible=icon]:px-2.5", className),
@@ -2943,7 +3050,7 @@ function SidebarFooter2({
2943
3050
  className,
2944
3051
  ...props
2945
3052
  }) {
2946
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3053
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2947
3054
  SidebarFooter,
2948
3055
  {
2949
3056
  className: cn(
@@ -2958,7 +3065,7 @@ function SidebarHeader2({
2958
3065
  className,
2959
3066
  ...props
2960
3067
  }) {
2961
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3068
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2962
3069
  SidebarHeader,
2963
3070
  {
2964
3071
  className: cn(
@@ -2970,8 +3077,8 @@ function SidebarHeader2({
2970
3077
  );
2971
3078
  }
2972
3079
  function SidebarLogo() {
2973
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SidebarHeader, { className: "px-0", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "relative flex h-15 items-center overflow-hidden px-5", children: [
2974
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3080
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SidebarHeader, { className: "px-0", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "relative flex h-15 items-center overflow-hidden px-5", children: [
3081
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2975
3082
  BergetLogo,
2976
3083
  {
2977
3084
  variant: "logotype",
@@ -2979,11 +3086,11 @@ function SidebarLogo() {
2979
3086
  className: "shrink-0 transition-[opacity,visibility] duration-150 group-data-[collapsible=icon]:pointer-events-none group-data-[collapsible=icon]:invisible group-data-[collapsible=icon]:opacity-0"
2980
3087
  }
2981
3088
  ),
2982
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "pointer-events-none invisible absolute inset-y-0 left-0 flex w-15 items-center pl-5 opacity-0 transition-[padding-left,opacity,visibility] duration-200 ease-linear group-data-[collapsible=icon]:visible group-data-[collapsible=icon]:pl-3 group-data-[collapsible=icon]:opacity-100", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(BergetLogo, { variant: "symbol", size: 32 }) })
3089
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "pointer-events-none invisible absolute inset-y-0 left-0 flex w-15 items-center pl-5 opacity-0 transition-[padding-left,opacity,visibility] duration-200 ease-linear group-data-[collapsible=icon]:visible group-data-[collapsible=icon]:pl-3 group-data-[collapsible=icon]:opacity-100", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(BergetLogo, { variant: "symbol", size: 32 }) })
2983
3090
  ] }) });
2984
3091
  }
2985
3092
  function SidebarPageHeader({ className, ...props }) {
2986
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3093
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2987
3094
  "header",
2988
3095
  {
2989
3096
  className: cn(
@@ -2995,7 +3102,7 @@ function SidebarPageHeader({ className, ...props }) {
2995
3102
  );
2996
3103
  }
2997
3104
  function SidebarMenuButton2({ className, ...props }) {
2998
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3105
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2999
3106
  SidebarMenuButton,
3000
3107
  {
3001
3108
  className: cn(sizingMenuButtonClasses, iconModeButtonClasses, className),
@@ -3004,7 +3111,7 @@ function SidebarMenuButton2({ className, ...props }) {
3004
3111
  );
3005
3112
  }
3006
3113
  function SidebarMenuSubButton2({ className, ...props }) {
3007
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3114
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3008
3115
  SidebarMenuSubButton,
3009
3116
  {
3010
3117
  className: cn(sizingSubButtonClasses, "[&>svg]:text-inherit", className),
@@ -3014,22 +3121,22 @@ function SidebarMenuSubButton2({ className, ...props }) {
3014
3121
  }
3015
3122
 
3016
3123
  // src/components/table/Table.tsx
3017
- var React18 = __toESM(require("react"), 1);
3124
+ var React19 = __toESM(require("react"), 1);
3018
3125
 
3019
3126
  // src/primitives/table.tsx
3020
- var import_cn12 = require("cn");
3021
- var import_jsx_runtime29 = require("react/jsx-runtime");
3127
+ var import_cn13 = require("cn");
3128
+ var import_jsx_runtime31 = require("react/jsx-runtime");
3022
3129
  function Table({ className, ...props }) {
3023
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3130
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3024
3131
  "div",
3025
3132
  {
3026
3133
  "data-slot": "table-container",
3027
3134
  className: "relative w-full overflow-x-auto",
3028
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3135
+ children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3029
3136
  "table",
3030
3137
  {
3031
3138
  "data-slot": "table",
3032
- className: (0, import_cn12.cn)("w-full caption-bottom text-sm", className),
3139
+ className: (0, import_cn13.cn)("w-full caption-bottom text-sm", className),
3033
3140
  ...props
3034
3141
  }
3035
3142
  )
@@ -3037,31 +3144,31 @@ function Table({ className, ...props }) {
3037
3144
  );
3038
3145
  }
3039
3146
  function TableHeader({ className, ...props }) {
3040
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3147
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3041
3148
  "thead",
3042
3149
  {
3043
3150
  "data-slot": "table-header",
3044
- className: (0, import_cn12.cn)("[&_tr]:border-b", className),
3151
+ className: (0, import_cn13.cn)("[&_tr]:border-b", className),
3045
3152
  ...props
3046
3153
  }
3047
3154
  );
3048
3155
  }
3049
3156
  function TableBody({ className, ...props }) {
3050
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3157
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3051
3158
  "tbody",
3052
3159
  {
3053
3160
  "data-slot": "table-body",
3054
- className: (0, import_cn12.cn)("[&_tr:last-child]:border-0", className),
3161
+ className: (0, import_cn13.cn)("[&_tr:last-child]:border-0", className),
3055
3162
  ...props
3056
3163
  }
3057
3164
  );
3058
3165
  }
3059
3166
  function TableFooter({ className, ...props }) {
3060
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3167
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3061
3168
  "tfoot",
3062
3169
  {
3063
3170
  "data-slot": "table-footer",
3064
- className: (0, import_cn12.cn)(
3171
+ className: (0, import_cn13.cn)(
3065
3172
  "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
3066
3173
  className
3067
3174
  ),
@@ -3070,11 +3177,11 @@ function TableFooter({ className, ...props }) {
3070
3177
  );
3071
3178
  }
3072
3179
  function TableRow({ className, ...props }) {
3073
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3180
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3074
3181
  "tr",
3075
3182
  {
3076
3183
  "data-slot": "table-row",
3077
- className: (0, import_cn12.cn)(
3184
+ className: (0, import_cn13.cn)(
3078
3185
  "border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",
3079
3186
  className
3080
3187
  ),
@@ -3083,11 +3190,11 @@ function TableRow({ className, ...props }) {
3083
3190
  );
3084
3191
  }
3085
3192
  function TableHead({ className, ...props }) {
3086
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3193
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3087
3194
  "th",
3088
3195
  {
3089
3196
  "data-slot": "table-head",
3090
- className: (0, import_cn12.cn)(
3197
+ className: (0, import_cn13.cn)(
3091
3198
  "h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",
3092
3199
  className
3093
3200
  ),
@@ -3096,11 +3203,11 @@ function TableHead({ className, ...props }) {
3096
3203
  );
3097
3204
  }
3098
3205
  function TableCell({ className, ...props }) {
3099
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3206
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3100
3207
  "td",
3101
3208
  {
3102
3209
  "data-slot": "table-cell",
3103
- className: (0, import_cn12.cn)(
3210
+ className: (0, import_cn13.cn)(
3104
3211
  "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",
3105
3212
  className
3106
3213
  ),
@@ -3112,23 +3219,23 @@ function TableCaption({
3112
3219
  className,
3113
3220
  ...props
3114
3221
  }) {
3115
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3222
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3116
3223
  "caption",
3117
3224
  {
3118
3225
  "data-slot": "table-caption",
3119
- className: (0, import_cn12.cn)("mt-4 text-sm text-muted-foreground", className),
3226
+ className: (0, import_cn13.cn)("mt-4 text-sm text-muted-foreground", className),
3120
3227
  ...props
3121
3228
  }
3122
3229
  );
3123
3230
  }
3124
3231
 
3125
3232
  // src/components/table/Table.tsx
3126
- var import_jsx_runtime30 = require("react/jsx-runtime");
3127
- var Table2 = React18.forwardRef(
3128
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Table, { ref, className, ...props })
3233
+ var import_jsx_runtime32 = require("react/jsx-runtime");
3234
+ var Table2 = React19.forwardRef(
3235
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Table, { ref, className, ...props })
3129
3236
  );
3130
3237
  Table2.displayName = "Table";
3131
- var TableHeader2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3238
+ var TableHeader2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3132
3239
  TableHeader,
3133
3240
  {
3134
3241
  ref,
@@ -3137,7 +3244,7 @@ var TableHeader2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PU
3137
3244
  }
3138
3245
  ));
3139
3246
  TableHeader2.displayName = "TableHeader";
3140
- var TableBody2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3247
+ var TableBody2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3141
3248
  TableBody,
3142
3249
  {
3143
3250
  ref,
@@ -3146,7 +3253,7 @@ var TableBody2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE
3146
3253
  }
3147
3254
  ));
3148
3255
  TableBody2.displayName = "TableBody";
3149
- var TableFooter2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3256
+ var TableFooter2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3150
3257
  TableFooter,
3151
3258
  {
3152
3259
  ref,
@@ -3158,8 +3265,8 @@ var TableFooter2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PU
3158
3265
  }
3159
3266
  ));
3160
3267
  TableFooter2.displayName = "TableFooter";
3161
- var TableRow2 = React18.forwardRef(
3162
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3268
+ var TableRow2 = React19.forwardRef(
3269
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3163
3270
  TableRow,
3164
3271
  {
3165
3272
  ref,
@@ -3172,7 +3279,7 @@ var TableRow2 = React18.forwardRef(
3172
3279
  )
3173
3280
  );
3174
3281
  TableRow2.displayName = "TableRow";
3175
- var TableHead2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3282
+ var TableHead2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3176
3283
  TableHead,
3177
3284
  {
3178
3285
  ref,
@@ -3184,7 +3291,7 @@ var TableHead2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE
3184
3291
  }
3185
3292
  ));
3186
3293
  TableHead2.displayName = "TableHead";
3187
- var TableCell2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3294
+ var TableCell2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3188
3295
  TableCell,
3189
3296
  {
3190
3297
  ref,
@@ -3193,7 +3300,7 @@ var TableCell2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE
3193
3300
  }
3194
3301
  ));
3195
3302
  TableCell2.displayName = "TableCell";
3196
- var TableCaption2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3303
+ var TableCaption2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3197
3304
  TableCaption,
3198
3305
  {
3199
3306
  ref,
@@ -3204,21 +3311,21 @@ var TableCaption2 = React18.forwardRef(({ className, ...props }, ref) => /* @__P
3204
3311
  TableCaption2.displayName = "TableCaption";
3205
3312
 
3206
3313
  // src/components/item/Item.tsx
3207
- var React19 = __toESM(require("react"), 1);
3314
+ var React20 = __toESM(require("react"), 1);
3208
3315
 
3209
3316
  // src/primitives/item.tsx
3210
3317
  var import_merge_props2 = require("@base-ui/react/merge-props");
3211
3318
  var import_use_render2 = require("@base-ui/react/use-render");
3212
3319
  var import_class_variance_authority10 = require("class-variance-authority");
3213
- var import_cn13 = require("cn");
3214
- var import_jsx_runtime31 = require("react/jsx-runtime");
3320
+ var import_cn14 = require("cn");
3321
+ var import_jsx_runtime33 = require("react/jsx-runtime");
3215
3322
  function ItemGroup({ className, ...props }) {
3216
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3323
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3217
3324
  "div",
3218
3325
  {
3219
3326
  role: "list",
3220
3327
  "data-slot": "item-group",
3221
- className: (0, import_cn13.cn)(
3328
+ className: (0, import_cn14.cn)(
3222
3329
  "group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2",
3223
3330
  className
3224
3331
  ),
@@ -3230,12 +3337,12 @@ function ItemSeparator({
3230
3337
  className,
3231
3338
  ...props
3232
3339
  }) {
3233
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3340
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3234
3341
  Separator,
3235
3342
  {
3236
3343
  "data-slot": "item-separator",
3237
3344
  orientation: "horizontal",
3238
- className: (0, import_cn13.cn)("my-2", className),
3345
+ className: (0, import_cn14.cn)("my-2", className),
3239
3346
  ...props
3240
3347
  }
3241
3348
  );
@@ -3272,7 +3379,7 @@ function Item({
3272
3379
  defaultTagName: "div",
3273
3380
  props: (0, import_merge_props2.mergeProps)(
3274
3381
  {
3275
- className: (0, import_cn13.cn)(itemVariants({ variant, size, className }))
3382
+ className: (0, import_cn14.cn)(itemVariants({ variant, size, className }))
3276
3383
  },
3277
3384
  props
3278
3385
  ),
@@ -3304,22 +3411,22 @@ function ItemMedia({
3304
3411
  variant = "default",
3305
3412
  ...props
3306
3413
  }) {
3307
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3414
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3308
3415
  "div",
3309
3416
  {
3310
3417
  "data-slot": "item-media",
3311
3418
  "data-variant": variant,
3312
- className: (0, import_cn13.cn)(itemMediaVariants({ variant, className })),
3419
+ className: (0, import_cn14.cn)(itemMediaVariants({ variant, className })),
3313
3420
  ...props
3314
3421
  }
3315
3422
  );
3316
3423
  }
3317
3424
  function ItemContent({ className, ...props }) {
3318
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3425
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3319
3426
  "div",
3320
3427
  {
3321
3428
  "data-slot": "item-content",
3322
- className: (0, import_cn13.cn)(
3429
+ className: (0, import_cn14.cn)(
3323
3430
  "flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none",
3324
3431
  className
3325
3432
  ),
@@ -3328,11 +3435,11 @@ function ItemContent({ className, ...props }) {
3328
3435
  );
3329
3436
  }
3330
3437
  function ItemTitle({ className, ...props }) {
3331
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3438
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3332
3439
  "div",
3333
3440
  {
3334
3441
  "data-slot": "item-title",
3335
- className: (0, import_cn13.cn)(
3442
+ className: (0, import_cn14.cn)(
3336
3443
  "line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4",
3337
3444
  className
3338
3445
  ),
@@ -3341,11 +3448,11 @@ function ItemTitle({ className, ...props }) {
3341
3448
  );
3342
3449
  }
3343
3450
  function ItemDescription({ className, ...props }) {
3344
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3451
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3345
3452
  "p",
3346
3453
  {
3347
3454
  "data-slot": "item-description",
3348
- className: (0, import_cn13.cn)(
3455
+ className: (0, import_cn14.cn)(
3349
3456
  "line-clamp-2 text-left text-sm leading-normal font-normal text-muted-foreground group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
3350
3457
  className
3351
3458
  ),
@@ -3354,21 +3461,21 @@ function ItemDescription({ className, ...props }) {
3354
3461
  );
3355
3462
  }
3356
3463
  function ItemActions({ className, ...props }) {
3357
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3464
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3358
3465
  "div",
3359
3466
  {
3360
3467
  "data-slot": "item-actions",
3361
- className: (0, import_cn13.cn)("flex items-center gap-2", className),
3468
+ className: (0, import_cn14.cn)("flex items-center gap-2", className),
3362
3469
  ...props
3363
3470
  }
3364
3471
  );
3365
3472
  }
3366
3473
  function ItemHeader({ className, ...props }) {
3367
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3474
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3368
3475
  "div",
3369
3476
  {
3370
3477
  "data-slot": "item-header",
3371
- className: (0, import_cn13.cn)(
3478
+ className: (0, import_cn14.cn)(
3372
3479
  "flex basis-full items-center justify-between gap-2",
3373
3480
  className
3374
3481
  ),
@@ -3377,11 +3484,11 @@ function ItemHeader({ className, ...props }) {
3377
3484
  );
3378
3485
  }
3379
3486
  function ItemFooter({ className, ...props }) {
3380
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3487
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3381
3488
  "div",
3382
3489
  {
3383
3490
  "data-slot": "item-footer",
3384
- className: (0, import_cn13.cn)(
3491
+ className: (0, import_cn14.cn)(
3385
3492
  "flex basis-full items-center justify-between gap-2",
3386
3493
  className
3387
3494
  ),
@@ -3391,9 +3498,9 @@ function ItemFooter({ className, ...props }) {
3391
3498
  }
3392
3499
 
3393
3500
  // src/components/item/Item.tsx
3394
- var import_jsx_runtime32 = require("react/jsx-runtime");
3501
+ var import_jsx_runtime34 = require("react/jsx-runtime");
3395
3502
  function Item2({ className, asChild, children, ...props }) {
3396
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3503
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3397
3504
  Item,
3398
3505
  {
3399
3506
  render: asChild ? children : void 0,
@@ -3412,8 +3519,8 @@ function Item2({ className, asChild, children, ...props }) {
3412
3519
  }
3413
3520
  );
3414
3521
  }
3415
- var ItemMedia2 = React19.forwardRef(({ className, ...props }, ref) => {
3416
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3522
+ var ItemMedia2 = React20.forwardRef(({ className, ...props }, ref) => {
3523
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3417
3524
  ItemMedia,
3418
3525
  {
3419
3526
  ref,
@@ -3423,8 +3530,8 @@ var ItemMedia2 = React19.forwardRef(({ className, ...props }, ref) => {
3423
3530
  );
3424
3531
  });
3425
3532
  ItemMedia2.displayName = "ItemMedia";
3426
- var ItemTitle2 = React19.forwardRef(({ className, ...props }, ref) => {
3427
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3533
+ var ItemTitle2 = React20.forwardRef(({ className, ...props }, ref) => {
3534
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3428
3535
  ItemTitle,
3429
3536
  {
3430
3537
  ref,
@@ -3434,8 +3541,8 @@ var ItemTitle2 = React19.forwardRef(({ className, ...props }, ref) => {
3434
3541
  );
3435
3542
  });
3436
3543
  ItemTitle2.displayName = "ItemTitle";
3437
- var ItemDescription2 = React19.forwardRef(({ className, ...props }, ref) => {
3438
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3544
+ var ItemDescription2 = React20.forwardRef(({ className, ...props }, ref) => {
3545
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3439
3546
  ItemDescription,
3440
3547
  {
3441
3548
  ref,
@@ -3445,8 +3552,8 @@ var ItemDescription2 = React19.forwardRef(({ className, ...props }, ref) => {
3445
3552
  );
3446
3553
  });
3447
3554
  ItemDescription2.displayName = "ItemDescription";
3448
- var ItemSeparator2 = React19.forwardRef(({ className, ...props }, ref) => {
3449
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3555
+ var ItemSeparator2 = React20.forwardRef(({ className, ...props }, ref) => {
3556
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3450
3557
  ItemSeparator,
3451
3558
  {
3452
3559
  ref,
@@ -3458,18 +3565,18 @@ var ItemSeparator2 = React19.forwardRef(({ className, ...props }, ref) => {
3458
3565
  ItemSeparator2.displayName = "ItemSeparator";
3459
3566
 
3460
3567
  // src/components/empty/Empty.tsx
3461
- var React20 = __toESM(require("react"), 1);
3568
+ var React21 = __toESM(require("react"), 1);
3462
3569
 
3463
3570
  // src/primitives/empty.tsx
3464
3571
  var import_class_variance_authority11 = require("class-variance-authority");
3465
- var import_cn14 = require("cn");
3466
- var import_jsx_runtime33 = require("react/jsx-runtime");
3572
+ var import_cn15 = require("cn");
3573
+ var import_jsx_runtime35 = require("react/jsx-runtime");
3467
3574
  function Empty({ className, ...props }) {
3468
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3575
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3469
3576
  "div",
3470
3577
  {
3471
3578
  "data-slot": "empty",
3472
- className: (0, import_cn14.cn)(
3579
+ className: (0, import_cn15.cn)(
3473
3580
  "flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",
3474
3581
  className
3475
3582
  ),
@@ -3478,11 +3585,11 @@ function Empty({ className, ...props }) {
3478
3585
  );
3479
3586
  }
3480
3587
  function EmptyHeader({ className, ...props }) {
3481
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3588
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3482
3589
  "div",
3483
3590
  {
3484
3591
  "data-slot": "empty-header",
3485
- className: (0, import_cn14.cn)("flex max-w-sm flex-col items-center gap-2", className),
3592
+ className: (0, import_cn15.cn)("flex max-w-sm flex-col items-center gap-2", className),
3486
3593
  ...props
3487
3594
  }
3488
3595
  );
@@ -3506,22 +3613,22 @@ function EmptyMedia({
3506
3613
  variant = "default",
3507
3614
  ...props
3508
3615
  }) {
3509
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3616
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3510
3617
  "div",
3511
3618
  {
3512
3619
  "data-slot": "empty-icon",
3513
3620
  "data-variant": variant,
3514
- className: (0, import_cn14.cn)(emptyMediaVariants({ variant, className })),
3621
+ className: (0, import_cn15.cn)(emptyMediaVariants({ variant, className })),
3515
3622
  ...props
3516
3623
  }
3517
3624
  );
3518
3625
  }
3519
3626
  function EmptyTitle({ className, ...props }) {
3520
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3627
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3521
3628
  "div",
3522
3629
  {
3523
3630
  "data-slot": "empty-title",
3524
- className: (0, import_cn14.cn)(
3631
+ className: (0, import_cn15.cn)(
3525
3632
  "text-sm font-medium tracking-tight",
3526
3633
  className
3527
3634
  ),
@@ -3530,11 +3637,11 @@ function EmptyTitle({ className, ...props }) {
3530
3637
  );
3531
3638
  }
3532
3639
  function EmptyDescription({ className, ...props }) {
3533
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3640
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3534
3641
  "div",
3535
3642
  {
3536
3643
  "data-slot": "empty-description",
3537
- className: (0, import_cn14.cn)(
3644
+ className: (0, import_cn15.cn)(
3538
3645
  "text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
3539
3646
  className
3540
3647
  ),
@@ -3543,11 +3650,11 @@ function EmptyDescription({ className, ...props }) {
3543
3650
  );
3544
3651
  }
3545
3652
  function EmptyContent({ className, ...props }) {
3546
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3653
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3547
3654
  "div",
3548
3655
  {
3549
3656
  "data-slot": "empty-content",
3550
- className: (0, import_cn14.cn)(
3657
+ className: (0, import_cn15.cn)(
3551
3658
  "flex w-full max-w-sm min-w-0 flex-col items-center gap-2.5 text-sm text-balance",
3552
3659
  className
3553
3660
  ),
@@ -3557,12 +3664,12 @@ function EmptyContent({ className, ...props }) {
3557
3664
  }
3558
3665
 
3559
3666
  // src/components/empty/Empty.tsx
3560
- var import_jsx_runtime34 = require("react/jsx-runtime");
3667
+ var import_jsx_runtime36 = require("react/jsx-runtime");
3561
3668
  function Empty2({ className, ...props }) {
3562
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Empty, { className, ...props });
3669
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Empty, { className, ...props });
3563
3670
  }
3564
- var EmptyMedia2 = React20.forwardRef(({ className, ...props }, ref) => {
3565
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3671
+ var EmptyMedia2 = React21.forwardRef(({ className, ...props }, ref) => {
3672
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3566
3673
  EmptyMedia,
3567
3674
  {
3568
3675
  ref,
@@ -3575,8 +3682,8 @@ var EmptyMedia2 = React20.forwardRef(({ className, ...props }, ref) => {
3575
3682
  );
3576
3683
  });
3577
3684
  EmptyMedia2.displayName = "EmptyMedia";
3578
- var EmptyTitle2 = React20.forwardRef(({ className, ...props }, ref) => {
3579
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3685
+ var EmptyTitle2 = React21.forwardRef(({ className, ...props }, ref) => {
3686
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3580
3687
  EmptyTitle,
3581
3688
  {
3582
3689
  ref,
@@ -3586,8 +3693,8 @@ var EmptyTitle2 = React20.forwardRef(({ className, ...props }, ref) => {
3586
3693
  );
3587
3694
  });
3588
3695
  EmptyTitle2.displayName = "EmptyTitle";
3589
- var EmptyDescription2 = React20.forwardRef(({ className, ...props }, ref) => {
3590
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3696
+ var EmptyDescription2 = React21.forwardRef(({ className, ...props }, ref) => {
3697
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3591
3698
  EmptyDescription,
3592
3699
  {
3593
3700
  ref,
@@ -3600,22 +3707,22 @@ EmptyDescription2.displayName = "EmptyDescription";
3600
3707
 
3601
3708
  // src/components/search-input/SearchInput.tsx
3602
3709
  var import_lucide_react8 = require("lucide-react");
3603
- var import_jsx_runtime35 = require("react/jsx-runtime");
3710
+ var import_jsx_runtime37 = require("react/jsx-runtime");
3604
3711
  var SearchInput = ({
3605
3712
  type = "search",
3606
3713
  placeholder = "Search...",
3607
3714
  className,
3608
3715
  ref,
3609
3716
  ...props
3610
- }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "relative flex w-full items-center", "data-slot": "search-input", children: [
3611
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3717
+ }) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "relative flex w-full items-center", "data-slot": "search-input", children: [
3718
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3612
3719
  import_lucide_react8.Search,
3613
3720
  {
3614
3721
  "aria-hidden": "true",
3615
3722
  className: "pointer-events-none absolute left-2.5 size-4 text-berget-muted-foreground"
3616
3723
  }
3617
3724
  ),
3618
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3725
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3619
3726
  Input,
3620
3727
  {
3621
3728
  ref,
@@ -3629,32 +3736,32 @@ var SearchInput = ({
3629
3736
  SearchInput.displayName = "SearchInput";
3630
3737
 
3631
3738
  // src/components/checkbox/Checkbox.tsx
3632
- var React21 = __toESM(require("react"), 1);
3739
+ var React22 = __toESM(require("react"), 1);
3633
3740
  var import_checkbox2 = require("@base-ui/react/checkbox");
3634
3741
  var import_lucide_react10 = require("lucide-react");
3635
3742
  var import_class_variance_authority12 = require("class-variance-authority");
3636
3743
 
3637
3744
  // src/primitives/checkbox.tsx
3638
3745
  var import_checkbox = require("@base-ui/react/checkbox");
3639
- var import_cn15 = require("cn");
3746
+ var import_cn16 = require("cn");
3640
3747
  var import_lucide_react9 = require("lucide-react");
3641
- var import_jsx_runtime36 = require("react/jsx-runtime");
3748
+ var import_jsx_runtime38 = require("react/jsx-runtime");
3642
3749
  function Checkbox({ className, ...props }) {
3643
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3750
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3644
3751
  import_checkbox.Checkbox.Root,
3645
3752
  {
3646
3753
  "data-slot": "checkbox",
3647
- className: (0, import_cn15.cn)(
3754
+ className: (0, import_cn16.cn)(
3648
3755
  "peer relative flex size-4 shrink-0 cursor-pointer items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary dark:data-checked:bg-primary",
3649
3756
  className
3650
3757
  ),
3651
3758
  ...props,
3652
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3759
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3653
3760
  import_checkbox.Checkbox.Indicator,
3654
3761
  {
3655
3762
  "data-slot": "checkbox-indicator",
3656
3763
  className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
3657
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3764
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3658
3765
  import_lucide_react9.CheckIcon,
3659
3766
  {}
3660
3767
  )
@@ -3665,7 +3772,7 @@ function Checkbox({ className, ...props }) {
3665
3772
  }
3666
3773
 
3667
3774
  // src/components/checkbox/Checkbox.tsx
3668
- var import_jsx_runtime37 = require("react/jsx-runtime");
3775
+ var import_jsx_runtime39 = require("react/jsx-runtime");
3669
3776
  var checkboxVariants = (0, import_class_variance_authority12.cva)(
3670
3777
  "inline-flex items-center justify-center rounded-berget-xs transition-all duration-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
3671
3778
  {
@@ -3687,7 +3794,7 @@ var checkboxVariants = (0, import_class_variance_authority12.cva)(
3687
3794
  }
3688
3795
  }
3689
3796
  );
3690
- var Checkbox2 = React21.forwardRef(
3797
+ var Checkbox2 = React22.forwardRef(
3691
3798
  ({
3692
3799
  "aria-label": ariaLabel,
3693
3800
  className,
@@ -3700,11 +3807,11 @@ var Checkbox2 = React21.forwardRef(
3700
3807
  disabled,
3701
3808
  ...props
3702
3809
  }, ref) => {
3703
- const generatedId = React21.useId();
3810
+ const generatedId = React22.useId();
3704
3811
  const checkboxId = id || generatedId;
3705
3812
  const errorId = `${checkboxId}-error`;
3706
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-start gap-3", children: [
3707
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3813
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex items-start gap-3", children: [
3814
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3708
3815
  Checkbox,
3709
3816
  {
3710
3817
  ref,
@@ -3720,7 +3827,7 @@ var Checkbox2 = React21.forwardRef(
3720
3827
  className
3721
3828
  ),
3722
3829
  ...props,
3723
- children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_checkbox2.Checkbox.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3830
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_checkbox2.Checkbox.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3724
3831
  import_lucide_react10.Check,
3725
3832
  {
3726
3833
  className: "h-4 w-4 text-current stroke-current",
@@ -3729,8 +3836,8 @@ var Checkbox2 = React21.forwardRef(
3729
3836
  ) })
3730
3837
  }
3731
3838
  ) }),
3732
- (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex flex-col gap-1", children: [
3733
- label && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3839
+ (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex flex-col gap-1", children: [
3840
+ label && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3734
3841
  "label",
3735
3842
  {
3736
3843
  htmlFor: checkboxId,
@@ -3742,8 +3849,8 @@ var Checkbox2 = React21.forwardRef(
3742
3849
  children: label
3743
3850
  }
3744
3851
  ),
3745
- description && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
3746
- error && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3852
+ description && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
3853
+ error && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3747
3854
  ] })
3748
3855
  ] });
3749
3856
  }
@@ -3751,10 +3858,10 @@ var Checkbox2 = React21.forwardRef(
3751
3858
  Checkbox2.displayName = "Checkbox";
3752
3859
 
3753
3860
  // src/components/switch/Switch.tsx
3754
- var React22 = __toESM(require("react"), 1);
3861
+ var React23 = __toESM(require("react"), 1);
3755
3862
  var import_switch = require("@base-ui/react/switch");
3756
3863
  var import_class_variance_authority13 = require("class-variance-authority");
3757
- var import_jsx_runtime38 = require("react/jsx-runtime");
3864
+ var import_jsx_runtime40 = require("react/jsx-runtime");
3758
3865
  var switchRootVariants = (0, import_class_variance_authority13.cva)(
3759
3866
  "peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-berget-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",
3760
3867
  {
@@ -3791,7 +3898,7 @@ var switchThumbVariants = (0, import_class_variance_authority13.cva)(
3791
3898
  }
3792
3899
  }
3793
3900
  );
3794
- var Switch = React22.forwardRef(
3901
+ var Switch = React23.forwardRef(
3795
3902
  ({
3796
3903
  "aria-label": ariaLabel,
3797
3904
  className,
@@ -3804,11 +3911,11 @@ var Switch = React22.forwardRef(
3804
3911
  disabled,
3805
3912
  ...props
3806
3913
  }, ref) => {
3807
- const generatedId = React22.useId();
3914
+ const generatedId = React23.useId();
3808
3915
  const switchId = id || generatedId;
3809
3916
  const errorId = `${switchId}-error`;
3810
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex items-center gap-3", children: [
3811
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3917
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex items-center gap-3", children: [
3918
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3812
3919
  import_switch.Switch.Root,
3813
3920
  {
3814
3921
  ref,
@@ -3823,11 +3930,11 @@ var Switch = React22.forwardRef(
3823
3930
  className
3824
3931
  ),
3825
3932
  ...props,
3826
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_switch.Switch.Thumb, { className: cn(switchThumbVariants({ size })) })
3933
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_switch.Switch.Thumb, { className: cn(switchThumbVariants({ size })) })
3827
3934
  }
3828
3935
  ),
3829
- (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex flex-col gap-1", children: [
3830
- label && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3936
+ (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex flex-col gap-1", children: [
3937
+ label && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3831
3938
  "label",
3832
3939
  {
3833
3940
  htmlFor: switchId,
@@ -3838,8 +3945,8 @@ var Switch = React22.forwardRef(
3838
3945
  children: label
3839
3946
  }
3840
3947
  ),
3841
- description && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
3842
- error && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3948
+ description && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
3949
+ error && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3843
3950
  ] })
3844
3951
  ] });
3845
3952
  }
@@ -3848,26 +3955,26 @@ Switch.displayName = "Switch";
3848
3955
 
3849
3956
  // src/primitives/select.tsx
3850
3957
  var import_select = require("@base-ui/react/select");
3851
- var import_cn16 = require("cn");
3958
+ var import_cn17 = require("cn");
3852
3959
  var import_lucide_react11 = require("lucide-react");
3853
- var import_jsx_runtime39 = require("react/jsx-runtime");
3960
+ var import_jsx_runtime41 = require("react/jsx-runtime");
3854
3961
  var Select = import_select.Select.Root;
3855
3962
  function SelectGroup({ className, ...props }) {
3856
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3963
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3857
3964
  import_select.Select.Group,
3858
3965
  {
3859
3966
  "data-slot": "select-group",
3860
- className: (0, import_cn16.cn)("scroll-my-1 p-1", className),
3967
+ className: (0, import_cn17.cn)("scroll-my-1 p-1", className),
3861
3968
  ...props
3862
3969
  }
3863
3970
  );
3864
3971
  }
3865
3972
  function SelectValue({ className, ...props }) {
3866
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3973
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3867
3974
  import_select.Select.Value,
3868
3975
  {
3869
3976
  "data-slot": "select-value",
3870
- className: (0, import_cn16.cn)("flex flex-1 text-left", className),
3977
+ className: (0, import_cn17.cn)("flex flex-1 text-left", className),
3871
3978
  ...props
3872
3979
  }
3873
3980
  );
@@ -3878,22 +3985,22 @@ function SelectTrigger({
3878
3985
  children,
3879
3986
  ...props
3880
3987
  }) {
3881
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
3988
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3882
3989
  import_select.Select.Trigger,
3883
3990
  {
3884
3991
  "data-slot": "select-trigger",
3885
3992
  "data-size": size,
3886
- className: (0, import_cn16.cn)(
3993
+ className: (0, import_cn17.cn)(
3887
3994
  "flex w-fit cursor-pointer items-center justify-between gap-1.5 rounded-lg border border-input bg-input/30 py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
3888
3995
  className
3889
3996
  ),
3890
3997
  ...props,
3891
3998
  children: [
3892
3999
  children,
3893
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4000
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3894
4001
  import_select.Select.Icon,
3895
4002
  {
3896
- render: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react11.ChevronDownIcon, { className: "pointer-events-none size-4 text-muted-foreground" })
4003
+ render: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react11.ChevronDownIcon, { className: "pointer-events-none size-4 text-muted-foreground" })
3897
4004
  }
3898
4005
  )
3899
4006
  ]
@@ -3910,7 +4017,7 @@ function SelectContent({
3910
4017
  alignItemWithTrigger = true,
3911
4018
  ...props
3912
4019
  }) {
3913
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_select.Select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4020
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_select.Select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3914
4021
  import_select.Select.Positioner,
3915
4022
  {
3916
4023
  side,
@@ -3919,17 +4026,17 @@ function SelectContent({
3919
4026
  alignOffset,
3920
4027
  alignItemWithTrigger,
3921
4028
  className: "isolate z-50",
3922
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
4029
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3923
4030
  import_select.Select.Popup,
3924
4031
  {
3925
4032
  "data-slot": "select-content",
3926
4033
  "data-align-trigger": alignItemWithTrigger,
3927
- className: (0, import_cn16.cn)("relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
4034
+ className: (0, import_cn17.cn)("relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
3928
4035
  ...props,
3929
4036
  children: [
3930
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(SelectScrollUpButton, {}),
3931
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_select.Select.List, { children }),
3932
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(SelectScrollDownButton, {})
4037
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(SelectScrollUpButton, {}),
4038
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_select.Select.List, { children }),
4039
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(SelectScrollDownButton, {})
3933
4040
  ]
3934
4041
  }
3935
4042
  )
@@ -3940,11 +4047,11 @@ function SelectLabel({
3940
4047
  className,
3941
4048
  ...props
3942
4049
  }) {
3943
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4050
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3944
4051
  import_select.Select.GroupLabel,
3945
4052
  {
3946
4053
  "data-slot": "select-label",
3947
- className: (0, import_cn16.cn)("px-1.5 py-1 text-xs text-muted-foreground", className),
4054
+ className: (0, import_cn17.cn)("px-1.5 py-1 text-xs text-muted-foreground", className),
3948
4055
  ...props
3949
4056
  }
3950
4057
  );
@@ -3954,22 +4061,22 @@ function SelectItem({
3954
4061
  children,
3955
4062
  ...props
3956
4063
  }) {
3957
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
4064
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3958
4065
  import_select.Select.Item,
3959
4066
  {
3960
4067
  "data-slot": "select-item",
3961
- className: (0, import_cn16.cn)(
4068
+ className: (0, import_cn17.cn)(
3962
4069
  "relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
3963
4070
  className
3964
4071
  ),
3965
4072
  ...props,
3966
4073
  children: [
3967
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_select.Select.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
3968
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4074
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_select.Select.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
4075
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3969
4076
  import_select.Select.ItemIndicator,
3970
4077
  {
3971
- render: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
3972
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react11.CheckIcon, { className: "pointer-events-none" })
4078
+ render: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
4079
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react11.CheckIcon, { className: "pointer-events-none" })
3973
4080
  }
3974
4081
  )
3975
4082
  ]
@@ -3980,11 +4087,11 @@ function SelectSeparator({
3980
4087
  className,
3981
4088
  ...props
3982
4089
  }) {
3983
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4090
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3984
4091
  import_select.Select.Separator,
3985
4092
  {
3986
4093
  "data-slot": "select-separator",
3987
- className: (0, import_cn16.cn)("pointer-events-none -mx-1 my-1 h-px bg-border", className),
4094
+ className: (0, import_cn17.cn)("pointer-events-none -mx-1 my-1 h-px bg-border", className),
3988
4095
  ...props
3989
4096
  }
3990
4097
  );
@@ -3993,16 +4100,16 @@ function SelectScrollUpButton({
3993
4100
  className,
3994
4101
  ...props
3995
4102
  }) {
3996
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4103
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3997
4104
  import_select.Select.ScrollUpArrow,
3998
4105
  {
3999
4106
  "data-slot": "select-scroll-up-button",
4000
- className: (0, import_cn16.cn)(
4107
+ className: (0, import_cn17.cn)(
4001
4108
  "top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
4002
4109
  className
4003
4110
  ),
4004
4111
  ...props,
4005
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4112
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4006
4113
  import_lucide_react11.ChevronUpIcon,
4007
4114
  {}
4008
4115
  )
@@ -4013,16 +4120,16 @@ function SelectScrollDownButton({
4013
4120
  className,
4014
4121
  ...props
4015
4122
  }) {
4016
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4123
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4017
4124
  import_select.Select.ScrollDownArrow,
4018
4125
  {
4019
4126
  "data-slot": "select-scroll-down-button",
4020
- className: (0, import_cn16.cn)(
4127
+ className: (0, import_cn17.cn)(
4021
4128
  "bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
4022
4129
  className
4023
4130
  ),
4024
4131
  ...props,
4025
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4132
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4026
4133
  import_lucide_react11.ChevronDownIcon,
4027
4134
  {}
4028
4135
  )
@@ -4031,19 +4138,19 @@ function SelectScrollDownButton({
4031
4138
  }
4032
4139
 
4033
4140
  // src/components/country-select/CountrySelect.tsx
4034
- var React24 = __toESM(require("react"), 1);
4141
+ var React25 = __toESM(require("react"), 1);
4035
4142
  var import_lucide_react14 = require("lucide-react");
4036
4143
 
4037
4144
  // src/components/icon/Icon.tsx
4038
- var React23 = __toESM(require("react"), 1);
4039
- var import_jsx_runtime40 = require("react/jsx-runtime");
4145
+ var React24 = __toESM(require("react"), 1);
4146
+ var import_jsx_runtime42 = require("react/jsx-runtime");
4040
4147
  var iconStrokeMap = {
4041
4148
  12: 1.4,
4042
4149
  16: 1.4,
4043
4150
  24: 1.6,
4044
4151
  32: 1.8
4045
4152
  };
4046
- var Icon = React23.forwardRef(
4153
+ var Icon = React24.forwardRef(
4047
4154
  ({
4048
4155
  icon: IconComponent,
4049
4156
  size,
@@ -4055,7 +4162,7 @@ var Icon = React23.forwardRef(
4055
4162
  const strokeWidth = iconStrokeMap[size];
4056
4163
  const sizeClass = size === 12 ? "w-3 h-3" : size === 16 ? "w-4 h-4" : size === 24 ? "w-6 h-6" : "w-8 h-8";
4057
4164
  const ariaAttributes = ariaLabel ? { "aria-label": ariaLabel } : { "aria-hidden": ariaHidden };
4058
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4165
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
4059
4166
  IconComponent,
4060
4167
  {
4061
4168
  ref,
@@ -4071,13 +4178,13 @@ Icon.displayName = "Icon";
4071
4178
 
4072
4179
  // src/primitives/popover.tsx
4073
4180
  var import_popover = require("@base-ui/react/popover");
4074
- var import_cn17 = require("cn");
4075
- var import_jsx_runtime41 = require("react/jsx-runtime");
4181
+ var import_cn18 = require("cn");
4182
+ var import_jsx_runtime43 = require("react/jsx-runtime");
4076
4183
  function Popover({ ...props }) {
4077
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_popover.Popover.Root, { "data-slot": "popover", ...props });
4184
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_popover.Popover.Root, { "data-slot": "popover", ...props });
4078
4185
  }
4079
4186
  function PopoverTrigger({ ...props }) {
4080
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_popover.Popover.Trigger, { "data-slot": "popover-trigger", ...props });
4187
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_popover.Popover.Trigger, { "data-slot": "popover-trigger", ...props });
4081
4188
  }
4082
4189
  function PopoverContent({
4083
4190
  className,
@@ -4087,7 +4194,7 @@ function PopoverContent({
4087
4194
  sideOffset = 4,
4088
4195
  ...props
4089
4196
  }) {
4090
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_popover.Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4197
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_popover.Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4091
4198
  import_popover.Popover.Positioner,
4092
4199
  {
4093
4200
  align,
@@ -4095,11 +4202,11 @@ function PopoverContent({
4095
4202
  side,
4096
4203
  sideOffset,
4097
4204
  className: "isolate z-50",
4098
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4205
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4099
4206
  import_popover.Popover.Popup,
4100
4207
  {
4101
4208
  "data-slot": "popover-content",
4102
- className: (0, import_cn17.cn)(
4209
+ className: (0, import_cn18.cn)(
4103
4210
  "z-50 flex w-72 origin-(--transform-origin) flex-col gap-2.5 rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
4104
4211
  className
4105
4212
  ),
@@ -4112,27 +4219,27 @@ function PopoverContent({
4112
4219
 
4113
4220
  // src/primitives/command.tsx
4114
4221
  var import_cmdk = require("cmdk");
4115
- var import_cn21 = require("cn");
4222
+ var import_cn22 = require("cn");
4116
4223
 
4117
4224
  // src/primitives/dialog.tsx
4118
4225
  var import_dialog3 = require("@base-ui/react/dialog");
4119
- var import_cn18 = require("cn");
4226
+ var import_cn19 = require("cn");
4120
4227
  var import_lucide_react12 = require("lucide-react");
4121
- var import_jsx_runtime42 = require("react/jsx-runtime");
4228
+ var import_jsx_runtime44 = require("react/jsx-runtime");
4122
4229
 
4123
4230
  // src/primitives/input-group.tsx
4124
4231
  var import_class_variance_authority14 = require("class-variance-authority");
4125
- var import_cn20 = require("cn");
4232
+ var import_cn21 = require("cn");
4126
4233
 
4127
4234
  // src/primitives/textarea.tsx
4128
- var import_cn19 = require("cn");
4129
- var import_jsx_runtime43 = require("react/jsx-runtime");
4235
+ var import_cn20 = require("cn");
4236
+ var import_jsx_runtime45 = require("react/jsx-runtime");
4130
4237
  function Textarea({ className, ...props }) {
4131
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4238
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4132
4239
  "textarea",
4133
4240
  {
4134
4241
  "data-slot": "textarea",
4135
- className: (0, import_cn19.cn)(
4242
+ className: (0, import_cn20.cn)(
4136
4243
  "flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-input/30 px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
4137
4244
  className
4138
4245
  ),
@@ -4142,14 +4249,14 @@ function Textarea({ className, ...props }) {
4142
4249
  }
4143
4250
 
4144
4251
  // src/primitives/input-group.tsx
4145
- var import_jsx_runtime44 = require("react/jsx-runtime");
4252
+ var import_jsx_runtime46 = require("react/jsx-runtime");
4146
4253
  function InputGroup({ className, ...props }) {
4147
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4254
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4148
4255
  "div",
4149
4256
  {
4150
4257
  "data-slot": "input-group",
4151
4258
  role: "group",
4152
- className: (0, import_cn20.cn)(
4259
+ className: (0, import_cn21.cn)(
4153
4260
  "group/input-group relative flex h-8 w-full min-w-0 items-center rounded-lg border border-input transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:bg-input/50 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-disabled:bg-input/80 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5",
4154
4261
  className
4155
4262
  ),
@@ -4178,13 +4285,13 @@ function InputGroupAddon({
4178
4285
  align = "inline-start",
4179
4286
  ...props
4180
4287
  }) {
4181
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4288
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4182
4289
  "div",
4183
4290
  {
4184
4291
  role: "group",
4185
4292
  "data-slot": "input-group-addon",
4186
4293
  "data-align": align,
4187
- className: (0, import_cn20.cn)(inputGroupAddonVariants({ align }), className),
4294
+ className: (0, import_cn21.cn)(inputGroupAddonVariants({ align }), className),
4188
4295
  onClick: (e) => {
4189
4296
  if (e.target.closest("button")) {
4190
4297
  return;
@@ -4214,16 +4321,16 @@ var inputGroupButtonVariants = (0, import_class_variance_authority14.cva)(
4214
4321
 
4215
4322
  // src/primitives/command.tsx
4216
4323
  var import_lucide_react13 = require("lucide-react");
4217
- var import_jsx_runtime45 = require("react/jsx-runtime");
4324
+ var import_jsx_runtime47 = require("react/jsx-runtime");
4218
4325
  function Command({
4219
4326
  className,
4220
4327
  ...props
4221
4328
  }) {
4222
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4329
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4223
4330
  import_cmdk.Command,
4224
4331
  {
4225
4332
  "data-slot": "command",
4226
- className: (0, import_cn21.cn)(
4333
+ className: (0, import_cn22.cn)(
4227
4334
  "flex size-full flex-col overflow-hidden rounded-xl! bg-popover p-1 text-popover-foreground",
4228
4335
  className
4229
4336
  ),
@@ -4235,30 +4342,30 @@ function CommandInput({
4235
4342
  className,
4236
4343
  ...props
4237
4344
  }) {
4238
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { "data-slot": "command-input-wrapper", className: "p-1 pb-0", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(InputGroup, { className: "h-8! rounded-lg! border-input/30 bg-input/30 shadow-none! *:data-[slot=input-group-addon]:pl-2!", children: [
4239
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4345
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { "data-slot": "command-input-wrapper", className: "p-1 pb-0", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(InputGroup, { className: "h-8! rounded-lg! border-input/30 bg-input/30 shadow-none! *:data-[slot=input-group-addon]:pl-2!", children: [
4346
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4240
4347
  import_cmdk.Command.Input,
4241
4348
  {
4242
4349
  "data-slot": "command-input",
4243
- className: (0, import_cn21.cn)(
4350
+ className: (0, import_cn22.cn)(
4244
4351
  "w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
4245
4352
  className
4246
4353
  ),
4247
4354
  ...props
4248
4355
  }
4249
4356
  ),
4250
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(InputGroupAddon, { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_lucide_react13.SearchIcon, { className: "size-4 shrink-0 opacity-50" }) })
4357
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(InputGroupAddon, { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react13.SearchIcon, { className: "size-4 shrink-0 opacity-50" }) })
4251
4358
  ] }) });
4252
4359
  }
4253
4360
  function CommandList({
4254
4361
  className,
4255
4362
  ...props
4256
4363
  }) {
4257
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4364
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4258
4365
  import_cmdk.Command.List,
4259
4366
  {
4260
4367
  "data-slot": "command-list",
4261
- className: (0, import_cn21.cn)(
4368
+ className: (0, import_cn22.cn)(
4262
4369
  "no-scrollbar max-h-72 scroll-py-1 overflow-x-hidden overflow-y-auto outline-none",
4263
4370
  className
4264
4371
  ),
@@ -4270,11 +4377,11 @@ function CommandEmpty({
4270
4377
  className,
4271
4378
  ...props
4272
4379
  }) {
4273
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4380
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4274
4381
  import_cmdk.Command.Empty,
4275
4382
  {
4276
4383
  "data-slot": "command-empty",
4277
- className: (0, import_cn21.cn)("py-6 text-center text-sm", className),
4384
+ className: (0, import_cn22.cn)("py-6 text-center text-sm", className),
4278
4385
  ...props
4279
4386
  }
4280
4387
  );
@@ -4283,11 +4390,11 @@ function CommandGroup({
4283
4390
  className,
4284
4391
  ...props
4285
4392
  }) {
4286
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4393
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4287
4394
  import_cmdk.Command.Group,
4288
4395
  {
4289
4396
  "data-slot": "command-group",
4290
- className: (0, import_cn21.cn)(
4397
+ className: (0, import_cn22.cn)(
4291
4398
  "overflow-hidden p-1 text-foreground **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium **:[[cmdk-group-heading]]:text-muted-foreground",
4292
4399
  className
4293
4400
  ),
@@ -4300,18 +4407,18 @@ function CommandItem({
4300
4407
  children,
4301
4408
  ...props
4302
4409
  }) {
4303
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
4410
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
4304
4411
  import_cmdk.Command.Item,
4305
4412
  {
4306
4413
  "data-slot": "command-item",
4307
- className: (0, import_cn21.cn)(
4414
+ className: (0, import_cn22.cn)(
4308
4415
  "group/command-item relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-muted data-selected:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-selected:*:[svg]:text-foreground",
4309
4416
  className
4310
4417
  ),
4311
4418
  ...props,
4312
4419
  children: [
4313
4420
  children,
4314
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_lucide_react13.CheckIcon, { className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })
4421
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react13.CheckIcon, { className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })
4315
4422
  ]
4316
4423
  }
4317
4424
  );
@@ -4459,8 +4566,8 @@ var isEUCountry = (countryCode) => {
4459
4566
  };
4460
4567
 
4461
4568
  // src/components/country-select/CountrySelect.tsx
4462
- var import_jsx_runtime46 = require("react/jsx-runtime");
4463
- var CountrySelect = React24.forwardRef(
4569
+ var import_jsx_runtime48 = require("react/jsx-runtime");
4570
+ var CountrySelect = React25.forwardRef(
4464
4571
  ({
4465
4572
  value,
4466
4573
  onValueChange,
@@ -4470,14 +4577,14 @@ var CountrySelect = React24.forwardRef(
4470
4577
  align = "center",
4471
4578
  sideOffset = 4
4472
4579
  }, ref) => {
4473
- const [open, setOpen] = React24.useState(false);
4474
- const selectedCountry = React24.useMemo(() => COUNTRIES.find((c) => c.code === value), [value]);
4475
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
4476
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4580
+ const [open, setOpen] = React25.useState(false);
4581
+ const selectedCountry = React25.useMemo(() => COUNTRIES.find((c) => c.code === value), [value]);
4582
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
4583
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
4477
4584
  PopoverTrigger,
4478
4585
  {
4479
4586
  ref,
4480
- render: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4587
+ render: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4481
4588
  "button",
4482
4589
  {
4483
4590
  type: "button",
@@ -4499,16 +4606,16 @@ var CountrySelect = React24.forwardRef(
4499
4606
  }
4500
4607
  ),
4501
4608
  children: [
4502
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "flex items-center gap-2 min-w-0 flex-1", children: selectedCountry ? /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_jsx_runtime46.Fragment, { children: [
4503
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "text-xl flex-shrink-0", children: selectedCountry.flag }),
4504
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "truncate", children: selectedCountry.name }),
4505
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("span", { className: "text-berget-muted-foreground text-xs flex-shrink-0", children: [
4609
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex items-center gap-2 min-w-0 flex-1", children: selectedCountry ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
4610
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "text-xl flex-shrink-0", children: selectedCountry.flag }),
4611
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "truncate", children: selectedCountry.name }),
4612
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("span", { className: "text-berget-muted-foreground text-xs flex-shrink-0", children: [
4506
4613
  "(",
4507
4614
  selectedCountry.code,
4508
4615
  ")"
4509
4616
  ] })
4510
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_jsx_runtime46.Fragment, { children: [
4511
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4617
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
4618
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4512
4619
  Icon,
4513
4620
  {
4514
4621
  icon: import_lucide_react14.Globe,
@@ -4516,9 +4623,9 @@ var CountrySelect = React24.forwardRef(
4516
4623
  className: "flex-shrink-0 text-berget-muted-foreground"
4517
4624
  }
4518
4625
  ),
4519
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "text-berget-muted-foreground truncate", children: placeholder })
4626
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "text-berget-muted-foreground truncate", children: placeholder })
4520
4627
  ] }) }),
4521
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4628
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4522
4629
  Icon,
4523
4630
  {
4524
4631
  icon: import_lucide_react14.ChevronDown,
@@ -4533,17 +4640,17 @@ var CountrySelect = React24.forwardRef(
4533
4640
  ]
4534
4641
  }
4535
4642
  ),
4536
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4643
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4537
4644
  PopoverContent,
4538
4645
  {
4539
4646
  align,
4540
4647
  sideOffset,
4541
4648
  className: "w-[var(--radix-popover-trigger-width)] p-0",
4542
- children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(Command, { children: [
4543
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(CommandInput, { placeholder: "Search country..." }),
4544
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(CommandList, { children: [
4545
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(CommandEmpty, { children: "No countries found." }),
4546
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(CommandGroup, { children: COUNTRIES.map((country) => /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4649
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Command, { children: [
4650
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CommandInput, { placeholder: "Search country..." }),
4651
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(CommandList, { children: [
4652
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CommandEmpty, { children: "No countries found." }),
4653
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CommandGroup, { children: COUNTRIES.map((country) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
4547
4654
  CommandItem,
4548
4655
  {
4549
4656
  value: `${country.name} ${country.code}`,
@@ -4557,12 +4664,12 @@ var CountrySelect = React24.forwardRef(
4557
4664
  value === country.code && "bg-berget-brand-granite-800/40"
4558
4665
  ),
4559
4666
  children: [
4560
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "text-xl flex-shrink-0", children: country.flag }),
4561
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "flex-1 min-w-0", children: [
4562
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "text-sm truncate", children: country.name }),
4563
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "text-xs text-berget-muted-foreground", children: country.code })
4667
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "text-xl flex-shrink-0", children: country.flag }),
4668
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex-1 min-w-0", children: [
4669
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "text-sm truncate", children: country.name }),
4670
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "text-xs text-berget-muted-foreground", children: country.code })
4564
4671
  ] }),
4565
- value === country.code && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "w-2 h-2 rounded-full bg-berget-brand-granite-400 flex-shrink-0" })
4672
+ value === country.code && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "w-2 h-2 rounded-full bg-berget-brand-granite-400 flex-shrink-0" })
4566
4673
  ]
4567
4674
  },
4568
4675
  country.code
@@ -4577,14 +4684,14 @@ var CountrySelect = React24.forwardRef(
4577
4684
  CountrySelect.displayName = "CountrySelect";
4578
4685
 
4579
4686
  // src/primitives/label.tsx
4580
- var import_cn22 = require("cn");
4581
- var import_jsx_runtime47 = require("react/jsx-runtime");
4687
+ var import_cn23 = require("cn");
4688
+ var import_jsx_runtime49 = require("react/jsx-runtime");
4582
4689
  function Label({ className, ...props }) {
4583
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4690
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
4584
4691
  "label",
4585
4692
  {
4586
4693
  "data-slot": "label",
4587
- className: (0, import_cn22.cn)(
4694
+ className: (0, import_cn23.cn)(
4588
4695
  "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
4589
4696
  className
4590
4697
  ),
@@ -4596,14 +4703,14 @@ function Label({ className, ...props }) {
4596
4703
  // src/primitives/field.tsx
4597
4704
  var import_react = require("react");
4598
4705
  var import_class_variance_authority15 = require("class-variance-authority");
4599
- var import_cn23 = require("cn");
4600
- var import_jsx_runtime48 = require("react/jsx-runtime");
4706
+ var import_cn24 = require("cn");
4707
+ var import_jsx_runtime50 = require("react/jsx-runtime");
4601
4708
  function FieldSet({ className, ...props }) {
4602
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4709
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4603
4710
  "fieldset",
4604
4711
  {
4605
4712
  "data-slot": "field-set",
4606
- className: (0, import_cn23.cn)(
4713
+ className: (0, import_cn24.cn)(
4607
4714
  "flex flex-col gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",
4608
4715
  className
4609
4716
  ),
@@ -4616,12 +4723,12 @@ function FieldLegend({
4616
4723
  variant = "legend",
4617
4724
  ...props
4618
4725
  }) {
4619
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4726
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4620
4727
  "legend",
4621
4728
  {
4622
4729
  "data-slot": "field-legend",
4623
4730
  "data-variant": variant,
4624
- className: (0, import_cn23.cn)(
4731
+ className: (0, import_cn24.cn)(
4625
4732
  "mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base",
4626
4733
  className
4627
4734
  ),
@@ -4630,11 +4737,11 @@ function FieldLegend({
4630
4737
  );
4631
4738
  }
4632
4739
  function FieldGroup({ className, ...props }) {
4633
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4740
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4634
4741
  "div",
4635
4742
  {
4636
4743
  "data-slot": "field-group",
4637
- className: (0, import_cn23.cn)(
4744
+ className: (0, import_cn24.cn)(
4638
4745
  "group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4",
4639
4746
  className
4640
4747
  ),
@@ -4662,23 +4769,23 @@ function Field({
4662
4769
  orientation = "vertical",
4663
4770
  ...props
4664
4771
  }) {
4665
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4772
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4666
4773
  "div",
4667
4774
  {
4668
4775
  role: "group",
4669
4776
  "data-slot": "field",
4670
4777
  "data-orientation": orientation,
4671
- className: (0, import_cn23.cn)(fieldVariants({ orientation }), className),
4778
+ className: (0, import_cn24.cn)(fieldVariants({ orientation }), className),
4672
4779
  ...props
4673
4780
  }
4674
4781
  );
4675
4782
  }
4676
4783
  function FieldContent({ className, ...props }) {
4677
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4784
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4678
4785
  "div",
4679
4786
  {
4680
4787
  "data-slot": "field-content",
4681
- className: (0, import_cn23.cn)(
4788
+ className: (0, import_cn24.cn)(
4682
4789
  "group/field-content flex flex-1 flex-col gap-0.5 leading-snug",
4683
4790
  className
4684
4791
  ),
@@ -4690,11 +4797,11 @@ function FieldLabel({
4690
4797
  className,
4691
4798
  ...props
4692
4799
  }) {
4693
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4800
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4694
4801
  Label,
4695
4802
  {
4696
4803
  "data-slot": "field-label",
4697
- className: (0, import_cn23.cn)(
4804
+ className: (0, import_cn24.cn)(
4698
4805
  "group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10",
4699
4806
  "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",
4700
4807
  className
@@ -4704,11 +4811,11 @@ function FieldLabel({
4704
4811
  );
4705
4812
  }
4706
4813
  function FieldTitle({ className, ...props }) {
4707
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4814
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4708
4815
  "div",
4709
4816
  {
4710
4817
  "data-slot": "field-label",
4711
- className: (0, import_cn23.cn)(
4818
+ className: (0, import_cn24.cn)(
4712
4819
  "flex w-fit items-center gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50",
4713
4820
  className
4714
4821
  ),
@@ -4717,11 +4824,11 @@ function FieldTitle({ className, ...props }) {
4717
4824
  );
4718
4825
  }
4719
4826
  function FieldDescription({ className, ...props }) {
4720
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4827
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4721
4828
  "p",
4722
4829
  {
4723
4830
  "data-slot": "field-description",
4724
- className: (0, import_cn23.cn)(
4831
+ className: (0, import_cn24.cn)(
4725
4832
  "text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5",
4726
4833
  "last:mt-0 nth-last-2:-mt-1",
4727
4834
  "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
@@ -4736,19 +4843,19 @@ function FieldSeparator({
4736
4843
  className,
4737
4844
  ...props
4738
4845
  }) {
4739
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
4846
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
4740
4847
  "div",
4741
4848
  {
4742
4849
  "data-slot": "field-separator",
4743
4850
  "data-content": !!children,
4744
- className: (0, import_cn23.cn)(
4851
+ className: (0, import_cn24.cn)(
4745
4852
  "relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2",
4746
4853
  className
4747
4854
  ),
4748
4855
  ...props,
4749
4856
  children: [
4750
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Separator, { className: "absolute inset-0 top-1/2" }),
4751
- children && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4857
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Separator, { className: "absolute inset-0 top-1/2" }),
4858
+ children && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4752
4859
  "span",
4753
4860
  {
4754
4861
  className: "relative mx-auto block w-fit bg-background px-2 text-muted-foreground",
@@ -4779,19 +4886,19 @@ function FieldError({
4779
4886
  if (uniqueErrors?.length == 1) {
4780
4887
  return uniqueErrors[0]?.message;
4781
4888
  }
4782
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
4783
- (error, index) => error?.message && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("li", { children: error.message }, index)
4889
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
4890
+ (error, index) => error?.message && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("li", { children: error.message }, index)
4784
4891
  ) });
4785
4892
  }, [children, errors]);
4786
4893
  if (!content) {
4787
4894
  return null;
4788
4895
  }
4789
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4896
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4790
4897
  "div",
4791
4898
  {
4792
4899
  role: "alert",
4793
4900
  "data-slot": "field-error",
4794
- className: (0, import_cn23.cn)("text-sm font-normal text-destructive", className),
4901
+ className: (0, import_cn24.cn)("text-sm font-normal text-destructive", className),
4795
4902
  ...props,
4796
4903
  children: content
4797
4904
  }
@@ -4799,10 +4906,10 @@ function FieldError({
4799
4906
  }
4800
4907
 
4801
4908
  // src/components/link/Link.tsx
4802
- var React25 = __toESM(require("react"), 1);
4909
+ var React26 = __toESM(require("react"), 1);
4803
4910
  var import_class_variance_authority16 = require("class-variance-authority");
4804
4911
  var import_lucide_react15 = require("lucide-react");
4805
- var import_jsx_runtime49 = require("react/jsx-runtime");
4912
+ var import_jsx_runtime51 = require("react/jsx-runtime");
4806
4913
  var linkVariants = (0, import_class_variance_authority16.cva)(
4807
4914
  "inline-flex cursor-pointer items-center gap-2 transition-all duration-200 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50",
4808
4915
  {
@@ -4827,7 +4934,7 @@ var linkVariants = (0, import_class_variance_authority16.cva)(
4827
4934
  }
4828
4935
  }
4829
4936
  );
4830
- var Link = React25.forwardRef(
4937
+ var Link = React26.forwardRef(
4831
4938
  ({
4832
4939
  className,
4833
4940
  variant,
@@ -4840,7 +4947,7 @@ var Link = React25.forwardRef(
4840
4947
  ...props
4841
4948
  }, ref) => {
4842
4949
  const isExternal = external || typeof props.href === "string" && (props.href.startsWith("http://") || props.href.startsWith("https://") || props.href.startsWith("mailto:") || props.href.startsWith("tel:"));
4843
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
4950
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
4844
4951
  "a",
4845
4952
  {
4846
4953
  ref,
@@ -4856,8 +4963,8 @@ var Link = React25.forwardRef(
4856
4963
  },
4857
4964
  children: [
4858
4965
  children,
4859
- icon && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "inline-flex items-center", children: icon }),
4860
- showExternalIcon && isExternal && !disabled && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon, { icon: import_lucide_react15.ExternalLink, size: 16 }) })
4966
+ icon && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "inline-flex items-center", children: icon }),
4967
+ showExternalIcon && isExternal && !disabled && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { icon: import_lucide_react15.ExternalLink, size: 16 }) })
4861
4968
  ]
4862
4969
  }
4863
4970
  );
@@ -4866,7 +4973,7 @@ var Link = React25.forwardRef(
4866
4973
  Link.displayName = "Link";
4867
4974
 
4868
4975
  // src/components/container/Container.tsx
4869
- var React26 = __toESM(require("react"), 1);
4976
+ var React27 = __toESM(require("react"), 1);
4870
4977
  var import_merge_props3 = require("@base-ui/react/merge-props");
4871
4978
  var import_use_render3 = require("@base-ui/react/use-render");
4872
4979
  var import_class_variance_authority17 = require("class-variance-authority");
@@ -4891,7 +4998,7 @@ var containerVariants = (0, import_class_variance_authority17.cva)("w-full mx-au
4891
4998
  padding: "md"
4892
4999
  }
4893
5000
  });
4894
- var Container = React26.forwardRef(
5001
+ var Container = React27.forwardRef(
4895
5002
  ({ className, size, padding, asChild = false, children, ...props }, ref) => {
4896
5003
  return (0, import_use_render3.useRender)({
4897
5004
  ref,
@@ -4910,7 +5017,7 @@ var Container = React26.forwardRef(
4910
5017
  Container.displayName = "Container";
4911
5018
 
4912
5019
  // src/components/grid/Grid.tsx
4913
- var React27 = __toESM(require("react"), 1);
5020
+ var React28 = __toESM(require("react"), 1);
4914
5021
  var import_class_variance_authority18 = require("class-variance-authority");
4915
5022
  var import_merge_props4 = require("@base-ui/react/merge-props");
4916
5023
  var import_use_render4 = require("@base-ui/react/use-render");
@@ -4936,7 +5043,7 @@ var gridVariants = (0, import_class_variance_authority18.cva)("grid", {
4936
5043
  justify: "start"
4937
5044
  }
4938
5045
  });
4939
- var Grid = React27.forwardRef(
5046
+ var Grid = React28.forwardRef(
4940
5047
  ({ className, align, justify, cols, rows, gap, gapX, gapY, asChild = false, children, ...props }, ref) => {
4941
5048
  return (0, import_use_render4.useRender)({
4942
5049
  ref,
@@ -4963,7 +5070,7 @@ var Grid = React27.forwardRef(
4963
5070
  Grid.displayName = "Grid";
4964
5071
 
4965
5072
  // src/components/box/Box.tsx
4966
- var React28 = __toESM(require("react"), 1);
5073
+ var React29 = __toESM(require("react"), 1);
4967
5074
  var import_class_variance_authority19 = require("class-variance-authority");
4968
5075
  var import_merge_props5 = require("@base-ui/react/merge-props");
4969
5076
  var import_use_render5 = require("@base-ui/react/use-render");
@@ -5003,7 +5110,7 @@ var boxVariants = (0, import_class_variance_authority19.cva)("flex", {
5003
5110
  wrap: "nowrap"
5004
5111
  }
5005
5112
  });
5006
- var Box = React28.forwardRef(
5113
+ var Box = React29.forwardRef(
5007
5114
  ({ className, direction, align, justify, wrap, gap, asChild = false, children, ...props }, ref) => {
5008
5115
  return (0, import_use_render5.useRender)({
5009
5116
  ref,
@@ -5026,22 +5133,22 @@ var Box = React28.forwardRef(
5026
5133
  Box.displayName = "Box";
5027
5134
 
5028
5135
  // src/components/language-select/LanguageSelect.tsx
5029
- var React29 = __toESM(require("react"), 1);
5136
+ var React30 = __toESM(require("react"), 1);
5030
5137
  var import_lucide_react16 = require("lucide-react");
5031
- var import_jsx_runtime50 = require("react/jsx-runtime");
5032
- var LanguageSelect = React29.forwardRef(
5138
+ var import_jsx_runtime52 = require("react/jsx-runtime");
5139
+ var LanguageSelect = React30.forwardRef(
5033
5140
  ({ className, options, value, onValueChange }, ref) => {
5034
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(DropdownMenu, { children: [
5035
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DropdownMenuTrigger2, { ref, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Button2, { variant: "outline", size: "icon", className, "aria-label": "Select language", children: [
5036
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "sr-only", children: "Select language" }),
5037
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Icon, { icon: import_lucide_react16.Globe, size: 16, "aria-hidden": true })
5141
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(DropdownMenu, { children: [
5142
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DropdownMenuTrigger2, { ref, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Button2, { variant: "outline", size: "icon", className, "aria-label": "Select language", children: [
5143
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "sr-only", children: "Select language" }),
5144
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { icon: import_lucide_react16.Globe, size: 16, "aria-hidden": true })
5038
5145
  ] }) }),
5039
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DropdownMenuContent2, { align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
5146
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DropdownMenuContent2, { align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5040
5147
  DropdownMenuRadioGroup,
5041
5148
  {
5042
5149
  value,
5043
5150
  onValueChange: onValueChange ? (v) => onValueChange(v) : void 0,
5044
- children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
5151
+ children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5045
5152
  DropdownMenuRadioItem2,
5046
5153
  {
5047
5154
  value: option.value,
@@ -5059,12 +5166,12 @@ var LanguageSelect = React29.forwardRef(
5059
5166
  LanguageSelect.displayName = "LanguageSelect";
5060
5167
 
5061
5168
  // src/components/list/List.tsx
5062
- var React31 = __toESM(require("react"), 1);
5169
+ var React32 = __toESM(require("react"), 1);
5063
5170
 
5064
5171
  // src/components/divider/Divider.tsx
5065
- var React30 = __toESM(require("react"), 1);
5172
+ var React31 = __toESM(require("react"), 1);
5066
5173
  var import_class_variance_authority20 = require("class-variance-authority");
5067
- var import_jsx_runtime51 = require("react/jsx-runtime");
5174
+ var import_jsx_runtime53 = require("react/jsx-runtime");
5068
5175
  var dividerVariants = (0, import_class_variance_authority20.cva)("", {
5069
5176
  variants: {
5070
5177
  variant: {
@@ -5085,7 +5192,7 @@ var dividerVariants = (0, import_class_variance_authority20.cva)("", {
5085
5192
  size: "thin"
5086
5193
  }
5087
5194
  });
5088
- var Divider = React30.forwardRef(
5195
+ var Divider = React31.forwardRef(
5089
5196
  ({
5090
5197
  className,
5091
5198
  orientation = "horizontal",
@@ -5096,16 +5203,16 @@ var Divider = React30.forwardRef(
5096
5203
  ...props
5097
5204
  }, ref) => {
5098
5205
  if (label) {
5099
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
5100
- labelPosition !== "right" && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5206
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
5207
+ labelPosition !== "right" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5101
5208
  Separator,
5102
5209
  {
5103
5210
  orientation: "horizontal",
5104
5211
  className: cn(dividerVariants({ variant, size }), "flex-1")
5105
5212
  }
5106
5213
  ),
5107
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
5108
- labelPosition !== "left" && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5214
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
5215
+ labelPosition !== "left" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5109
5216
  Separator,
5110
5217
  {
5111
5218
  orientation: "horizontal",
@@ -5114,7 +5221,7 @@ var Divider = React30.forwardRef(
5114
5221
  )
5115
5222
  ] });
5116
5223
  }
5117
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5224
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5118
5225
  Separator,
5119
5226
  {
5120
5227
  ref,
@@ -5132,19 +5239,19 @@ Divider.displayName = "Divider";
5132
5239
 
5133
5240
  // src/components/list/List.tsx
5134
5241
  var import_lucide_react17 = require("lucide-react");
5135
- var import_jsx_runtime52 = require("react/jsx-runtime");
5136
- var List = React31.forwardRef(
5242
+ var import_jsx_runtime54 = require("react/jsx-runtime");
5243
+ var List = React32.forwardRef(
5137
5244
  ({ className, children, ...props }, ref) => {
5138
- const childrenArray = React31.Children.toArray(children);
5139
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(React31.Fragment, { children: [
5245
+ const childrenArray = React32.Children.toArray(children);
5246
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(React32.Fragment, { children: [
5140
5247
  child,
5141
- index < childrenArray.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Divider, { variant: "subtle" })
5248
+ index < childrenArray.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Divider, { variant: "subtle" })
5142
5249
  ] }, index)) });
5143
5250
  }
5144
5251
  );
5145
5252
  List.displayName = "List";
5146
- var ListItem = React31.forwardRef(
5147
- ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
5253
+ var ListItem = React32.forwardRef(
5254
+ ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
5148
5255
  "div",
5149
5256
  {
5150
5257
  ref,
@@ -5155,15 +5262,15 @@ var ListItem = React31.forwardRef(
5155
5262
  ),
5156
5263
  ...props,
5157
5264
  children: [
5158
- icon && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
5159
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "flex-1 min-w-0", children })
5265
+ icon && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
5266
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "flex-1 min-w-0", children })
5160
5267
  ]
5161
5268
  }
5162
5269
  )
5163
5270
  );
5164
5271
  ListItem.displayName = "ListItem";
5165
- var ListHeader = React31.forwardRef(
5166
- ({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5272
+ var ListHeader = React32.forwardRef(
5273
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5167
5274
  "div",
5168
5275
  {
5169
5276
  ref,
@@ -5174,11 +5281,11 @@ var ListHeader = React31.forwardRef(
5174
5281
  )
5175
5282
  );
5176
5283
  ListHeader.displayName = "ListHeader";
5177
- var FeatureList = React31.forwardRef(
5284
+ var FeatureList = React32.forwardRef(
5178
5285
  ({ items, variant = "bullet", className, ...props }, ref) => {
5179
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("ul", { ref, className: cn("flex flex-col gap-fluid-md", className), ...props, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("li", { className: "flex items-start gap-fluid-md", children: [
5180
- variant === "bullet" ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { icon: import_lucide_react17.Check, size: 24, className: "text-berget-logo-light" }) }),
5181
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Typography, { variant: "body", color: "muted", children: item })
5286
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("ul", { ref, className: cn("flex flex-col gap-fluid-md", className), ...props, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("li", { className: "flex items-start gap-fluid-md", children: [
5287
+ variant === "bullet" ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { icon: import_lucide_react17.Check, size: 24, className: "text-berget-logo-light" }) }),
5288
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Typography, { variant: "body", color: "muted", children: item })
5182
5289
  ] }, index)) });
5183
5290
  }
5184
5291
  );
@@ -5227,7 +5334,7 @@ function getHighlighter() {
5227
5334
  }
5228
5335
 
5229
5336
  // src/components/code-block/CodeBlock.tsx
5230
- var import_jsx_runtime53 = require("react/jsx-runtime");
5337
+ var import_jsx_runtime55 = require("react/jsx-runtime");
5231
5338
  function CodeBlock({ code, language = "text", title, className }) {
5232
5339
  const [html, setHtml] = (0, import_react2.useState)(null);
5233
5340
  const [copied, setCopied] = (0, import_react2.useState)(false);
@@ -5243,16 +5350,16 @@ function CodeBlock({ code, language = "text", title, className }) {
5243
5350
  setCopied(true);
5244
5351
  setTimeout(() => setCopied(false), 2e3);
5245
5352
  }, [code]);
5246
- const copyButton = /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5353
+ const copyButton = /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5247
5354
  "button",
5248
5355
  {
5249
5356
  onClick: handleCopy,
5250
5357
  className: "flex items-center justify-center w-6 h-6 text-berget-muted-foreground hover:text-berget-foreground transition-colors",
5251
5358
  "aria-label": "Copy code",
5252
- children: copied ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_lucide_react18.Check, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_lucide_react18.Copy, { className: "w-3.5 h-3.5" })
5359
+ children: copied ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_lucide_react18.Check, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_lucide_react18.Copy, { className: "w-3.5 h-3.5" })
5253
5360
  }
5254
5361
  );
5255
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
5362
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
5256
5363
  "div",
5257
5364
  {
5258
5365
  className: cn(
@@ -5260,25 +5367,25 @@ function CodeBlock({ code, language = "text", title, className }) {
5260
5367
  className
5261
5368
  ),
5262
5369
  children: [
5263
- title && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "!h-10 flex items-center !px-4 !text-xs !leading-normal border-b border-berget-border bg-berget-codeblock-header-bg", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "text-berget-muted-foreground", children: title }) }),
5264
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
5265
- html ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5370
+ title && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "!h-10 flex items-center !px-4 !text-xs !leading-normal border-b border-berget-border bg-berget-codeblock-header-bg", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "text-berget-muted-foreground", children: title }) }),
5371
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
5372
+ html ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5266
5373
  "div",
5267
5374
  {
5268
5375
  className: "[&_.shiki]:!p-4 [&_.shiki]:!m-0 [&_.shiki]:overflow-x-auto [&_.shiki]:!text-sm [&_.shiki]:!leading-relaxed [&_.shiki]:bg-transparent",
5269
5376
  dangerouslySetInnerHTML: { __html: html }
5270
5377
  }
5271
- ) : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("code", { children: code }) })
5378
+ ) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("code", { children: code }) })
5272
5379
  ]
5273
5380
  }
5274
5381
  );
5275
5382
  }
5276
5383
 
5277
5384
  // src/components/window-frame/WindowFrame.tsx
5278
- var React32 = __toESM(require("react"), 1);
5385
+ var React33 = __toESM(require("react"), 1);
5279
5386
  var import_react3 = require("react");
5280
- var import_jsx_runtime54 = require("react/jsx-runtime");
5281
- var WindowFrame = React32.forwardRef(
5387
+ var import_jsx_runtime56 = require("react/jsx-runtime");
5388
+ var WindowFrame = React33.forwardRef(
5282
5389
  ({ title = "window", tabs, activeTab, onTabChange, children, className, ...props }, ref) => {
5283
5390
  const [internalActive, setInternalActive] = (0, import_react3.useState)(tabs?.[0]?.id ?? "");
5284
5391
  const currentTab = activeTab ?? internalActive;
@@ -5289,7 +5396,7 @@ var WindowFrame = React32.forwardRef(
5289
5396
  setInternalActive(id);
5290
5397
  }
5291
5398
  };
5292
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
5399
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
5293
5400
  "div",
5294
5401
  {
5295
5402
  ref,
@@ -5299,13 +5406,13 @@ var WindowFrame = React32.forwardRef(
5299
5406
  ),
5300
5407
  ...props,
5301
5408
  children: [
5302
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex items-center gap-2 px-4 py-3 border-b border-berget-brand-granite-700 bg-berget-brand-granite-900", children: [
5303
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
5304
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-muscaria-400" }),
5305
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-chanterelle-200" }),
5306
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-moss-400" })
5409
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-center gap-2 px-4 py-3 border-b border-berget-brand-granite-700 bg-berget-brand-granite-900", children: [
5410
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
5411
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-muscaria-400" }),
5412
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-chanterelle-200" }),
5413
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-moss-400" })
5307
5414
  ] }),
5308
- tabs && tabs.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5415
+ tabs && tabs.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5309
5416
  "button",
5310
5417
  {
5311
5418
  type: "button",
@@ -5317,9 +5424,9 @@ var WindowFrame = React32.forwardRef(
5317
5424
  children: tab.label
5318
5425
  },
5319
5426
  tab.id
5320
- )) }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
5427
+ )) }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
5321
5428
  ] }),
5322
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { children })
5429
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { children })
5323
5430
  ]
5324
5431
  }
5325
5432
  );
@@ -5329,7 +5436,7 @@ WindowFrame.displayName = "WindowFrame";
5329
5436
 
5330
5437
  // src/components/fog-illustration/FogIllustration.tsx
5331
5438
  var import_react4 = require("react");
5332
- var import_jsx_runtime55 = require("react/jsx-runtime");
5439
+ var import_jsx_runtime57 = require("react/jsx-runtime");
5333
5440
  var FOG_BRAND_PALETTE = {
5334
5441
  ink: "#171a1a",
5335
5442
  milk: "#f7f5ed",
@@ -5642,7 +5749,7 @@ var FogIllustration = ({ palette, speed = 1, className }) => {
5642
5749
  gl.deleteFramebuffer(fbo);
5643
5750
  };
5644
5751
  }, []);
5645
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("canvas", { ref, "aria-hidden": "true", className: cn("size-full", className) });
5752
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("canvas", { ref, "aria-hidden": "true", className: cn("size-full", className) });
5646
5753
  };
5647
5754
  // Annotate the CommonJS export names for ESM import in node:
5648
5755
  0 && (module.exports = {
@@ -5750,6 +5857,11 @@ var FogIllustration = ({ palette, speed = 1, className }) => {
5750
5857
  NavigationMenuList,
5751
5858
  NavigationMenuPositioner,
5752
5859
  NavigationMenuTrigger,
5860
+ Progress,
5861
+ ProgressIndicator,
5862
+ ProgressLabel,
5863
+ ProgressTrack,
5864
+ ProgressValue,
5753
5865
  SearchInput,
5754
5866
  Select,
5755
5867
  SelectContent,